diff options
author | Mark Loeser <halcy0n@gentoo.org> | 2008-05-17 19:36:36 +0000 |
---|---|---|
committer | Mark Loeser <halcy0n@gentoo.org> | 2008-05-17 19:36:36 +0000 |
commit | 72456496900ebaabf269f3c8d05d7568ece6b421 (patch) | |
tree | 881a639a12da0ca9116f3e559fb43fb71a13d26f /sys-libs | |
parent | Removing the gxs profile as this should be developed in an overlay before com... (diff) | |
download | gentoo-2-72456496900ebaabf269f3c8d05d7568ece6b421.tar.gz gentoo-2-72456496900ebaabf269f3c8d05d7568ece6b421.tar.bz2 gentoo-2-72456496900ebaabf269f3c8d05d7568ece6b421.zip |
Removing gxslib as it is very experimental in nature and should be developed in a chroot before coming to the main tree
Diffstat (limited to 'sys-libs')
-rw-r--r-- | sys-libs/gxslibc/ChangeLog | 16 | ||||
-rw-r--r-- | sys-libs/gxslibc/Manifest | 7 | ||||
-rw-r--r-- | sys-libs/gxslibc/gxslibc-2.6.1-r3.ebuild | 234 | ||||
-rw-r--r-- | sys-libs/gxslibc/metadata.xml | 5 |
4 files changed, 0 insertions, 262 deletions
diff --git a/sys-libs/gxslibc/ChangeLog b/sys-libs/gxslibc/ChangeLog deleted file mode 100644 index 2cc1a45429ca..000000000000 --- a/sys-libs/gxslibc/ChangeLog +++ /dev/null @@ -1,16 +0,0 @@ -# ChangeLog for sys-libs/gxslibc -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/gxslibc/ChangeLog,v 1.2 2008/05/17 18:22:13 pappy Exp $ - - 17 May 2008; <pappy@gentoo.org> gxslibc-2.6.1-r3.ebuild: - adding -r3 version with better CHOST handling and edited - for some eminent QA issues, thanks to Halcy0n and Betelgeuse - and special thanks to drac for helping with epatch - added check for crosscompile handling not supported - - 17 May 2008; <pappy@gentoo.org> gxslibc-2.6.1-r2.ebuild: - removed for QA issues regarding ebuild sanity and CHOST - - 17 May 2008; <pappy@gentoo.org> gxslibc-2.6.1-r2.ebuild: - integrate the gxslibc with the gxs/linux - portage profile for Gentoo Linux and GXS diff --git a/sys-libs/gxslibc/Manifest b/sys-libs/gxslibc/Manifest deleted file mode 100644 index 21eb42413a57..000000000000 --- a/sys-libs/gxslibc/Manifest +++ /dev/null @@ -1,7 +0,0 @@ -DIST glibc-2.6.1-gxs-GENTOOPATCHES.patch.gz 829226 RMD160 c1a2586d3698d70d497213762e1b4612a4d2256c SHA1 4b76792d7c02809105252cba0602c8410cabef02 SHA256 3e8f2de55fd181a550da4306f21aa9387d02ee58f6fefe1dd051b5c5b4919b34 -DIST glibc-2.6.1-gxs-LOCALEGEN_NSCD.patch.gz 8354 RMD160 583781b729108718a234f1ea7b38ca84f41728b0 SHA1 c735e59c610e5e994c8543d8e5dfbfd65d2ae987 SHA256 9cfbdc04efe0437c96dd6e1066c27366cb7f17715d2a5cb945fc46ab4a881cb7 -DIST glibc-2.6.1.tar.bz2 15767401 RMD160 a58226e394780a6996d608febf5881134990919e SHA1 85573fee8d79180165e9466a1fc25133b5792190 SHA256 3ded3a3c3ba2cf02d72479a5cc0829c7c261a9d0934e49a79233de9fa276ec22 -DIST gxslibc-2.6.1-r3-ssp.patch.gz 1992 RMD160 3d0e86c640471bfdcd9638dc186b18a009fa5420 SHA1 c881fa25e9da7300ee97e71047cf5fc61460f66e SHA256 ab71fe5c3c5af2b4b2a307694b9c7666f0ee1121732529792b543abe5c2dac0e -EBUILD gxslibc-2.6.1-r3.ebuild 6079 RMD160 c05b912d13317daed675b30705e3e7a36b008232 SHA1 c71724659a83e69bf473a56a5e4ebafd69d59360 SHA256 83e8de8a7e3a05f43e49635721e5b64b7e6f381fd13df5372d5475c4a1833adb -MISC ChangeLog 756 RMD160 c6529ce9ace4730d8912181d97f4b3cd7d2e70a2 SHA1 309e8fc50af5d39d998eba01b974d48cc3dec3cf SHA256 9477e4f9d1786544216136c188f7ebd44faca7a8b60c94ecf5c8ecc7f6330505 -MISC metadata.xml 169 RMD160 823736fb636fd5ec00dafde495974dcede4b52e1 SHA1 2d5df6d9707b05261f4bd015b22858fdfb490c9f SHA256 2d4a1d18ff3a746ef2fb99436fba1ab4da97cc1d39a817929c38aecd0327b310 diff --git a/sys-libs/gxslibc/gxslibc-2.6.1-r3.ebuild b/sys-libs/gxslibc/gxslibc-2.6.1-r3.ebuild deleted file mode 100644 index 9346cc59ea00..000000000000 --- a/sys-libs/gxslibc/gxslibc-2.6.1-r3.ebuild +++ /dev/null @@ -1,234 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/gxslibc/gxslibc-2.6.1-r3.ebuild,v 1.1 2008/05/17 18:22:13 pappy Exp $ - -inherit eutils - -# the main installation routine and patches -# from http://www.linuxfromscratch.org/hlfs - -DESCRIPTION="The Gentoo Linux Extreme Security version of the GNU libc6" -HOMEPAGE="http://www.gentoo.org/proj/en/extreme-security/" - -RELEASE="2.6.1" - -KERNELVER="2.6.18" - -GNU_MIRROR="ftp://ftp.gnu.org/gnu" - -PATCHDIST="http://dev.gentoo.org/~pappy/dist/gxs" -PATCHPATH="sys-libs/gxslibc/files/${RELEASE}" - -MYPATCHES="glibc-${RELEASE}-gxs-GENTOOPATCHES.patch" -LOCALEGEN="glibc-${RELEASE}-gxs-LOCALEGEN_NSCD.patch" -GXSSPATCH="gxslibc-${RELEASE}-r3-ssp.patch" - -## the default upstream glibc -SRC_URI="${SRC_URI} ${GNU_MIRROR}/glibc/glibc-${RELEASE}.tar.bz2" - -# comment out - already provided by gentoo patches -# ${GNU_MIRROR}/glibc/glibc-libidn-${RELEASE}.tar.bz2" - -## contains a jumbo file with all patches from -## sys-libs/glibc for this particular glibc setup -SRC_URI="${SRC_URI} ${PATCHDIST}/${PATCHPATH}/${MYPATCHES}.gz" - -## uses locale-gen from sys-libs/glibc -## which in turn was taken from Debian -SRC_URI="${SRC_URI} ${PATCHDIST}/${PATCHPATH}/${LOCALEGEN}.gz" - -## GXS backport of SSP for >=glibc-2.4 -SRC_URI="${SRC_URI} ${PATCHDIST}/${PATCHPATH}/${GXSSPATCH}.gz" - -LICENSE="LGPL-2" - -SLOT="1" - -KEYWORDS="~x86" - -# remove the remaining non-colliding -# files from the orig sys-libs/glibc -# package with the following command -# when finished emerging this glibc: -# -# CONFIG_PROTECT="$(echo -n $(equery files sys-libs/gxslibc))" \ -# emerge -C sys-libs/glibc -# -# you also need to emerge gentoolkit -# to run the equery inside the shell -# command for setting up the env var -PROVIDE="virtual/libc" - -RESTRICT="strip" #46186 - -# we share a header file with gettext which seems -# to make net-tools and busybox fail with linking -# errors regarding to a libintl_gettext not found -DEPEND=">=sys-devel/binutils-2.15.94 - >=sys-devel/gcc-config-1.3.12 - >=app-misc/pax-utils-0.1.10 - virtual/os-headers - >=sys-apps/portage-2.1.2 - !sys-devel/gettext" - -pkg_setup() { - - if [[ "x${CHOST}y" == "xy" ]] - then - eerror "your CHOST does not exist, bailing out." - exit 1 - fi - - if [[ "x${CBUILD}y" != "xy" && "${CHOST}" != "${CBUILD}" ]] - then - eerror "cross compiling currently not supported" - exit 1 - fi - - if [[ "x${CTARGET}y" != "xy" && "${CHOST}" != "${CTARGET}" ]] - then - eerror "cross compiling currently not supported" - exit 1 - fi - - einfo "setting CFLAGS and CXXFLAGS to GXS toolchain defaults" - export CFLAGS="-O2 -pipe -fforce-addr -g -ggdb" - export CXXFLAGS="${CFLAGS}" - - einfo "clearing CPPFLAGS ASFLAGS LDFLAGS" - export CPPFLAGS="" - export ASFLAGS="" - export LDFLAGS="" - - if [[ "x${MAKEOPTS}y" == "xy" ]] - then - einfo "setting MAKEOPTS for ebuild" - export MAKEOPTS="-j4" - fi - - einfo "using CHOST:${CHOST}" - einfo "using C(XX)FLAGS:${CXXFLAGS}" - einfo "using MAKEOPTS:${MAKEOPTS}" -} - -src_unpack() { - - unpack ${A} - - mkdir -p "${WORKDIR}/glibc-${RELEASE}/gentoo/etc" - mkdir -p "${WORKDIR}/glibc-${RELEASE}/gentoo/locale" - - cd "${WORKDIR}/glibc-${RELEASE}" - - for p in "${WORKDIR}/${MYPATCHES}" \ - "${WORKDIR}/${LOCALEGEN}" \ - "${WORKDIR}/${GXSSPATCH}" - do - # epatch seems to have issues with - # at least the ${LOCALEGEN} patch file - # therefore we need custom EPATCH options - # thx to drac@gentoo.org - EPATCH_OPTS="-p1 -d ${WORKDIR}/glibc-${RELEASE}" \ - epatch "${p}" || die "failed ${p}" - done -} - -src_compile() { - - mkdir -p "${WORKDIR}/glibc-build" - cd "${WORKDIR}/glibc-build" - - "${WORKDIR}/glibc-${PV}/configure" \ - --target="${CHOST}" \ - --prefix=/usr \ - --enable-bind-now \ - --without-gd \ - --disable-profile \ - --disable-libssp \ - --disable-nls \ - --enable-add-ons=nptl,libidn \ - --without-selinux \ - --with-tls \ - --with-__thread \ - --enable-kernel="${KERNELVER}" \ - --without-cvs || die "configuration failed" - - make || die "compile failed" -} - -src_install() { - cd "${WORKDIR}/glibc-build" - - make install_root="${D}" install || die "make install failed" - - insinto "${ROOT}/etc" - - local configfiles="${WORKDIR}/glibc-${PV}/gentoo" - - # install the locale-gen helper utility and config file - dosbin "${configfiles}/locale/locale-gen" || \ - die "locale-gen helper script could not be installed" - - doins "${configfiles}/locale/locale.gen" || \ - die "locale.gen config file could not be installed" - - # install the nscd startup script - doinitd "${configfiles}/etc/nscd" || \ - die "nscd run level startup script could not be installed" - - # install the config files for glibc - doins "${configfiles}"/etc/*.conf || \ - die "glibc config files could not be installed" - - # make sure the localtime is not overwritten by glibc emerges - rm "${D}/etc/localtime" -} - -# NOTE: the locales are not in the .tbz2 file of the binpackage -# NOTE: but will be generated in the postinst routine from here -pkg_postinst() { - # make sure the file exists on the installed system - touch "${ROOT}/etc/ld.so.conf" - - # install locales (logic taken from sys-libs/glibc) - local locale_list="${ROOT}/etc/locale.gen" - if [[ -z $(locale-gen --list --config "${locale_list}") ]] - then - locale_list="${ROOT}/usr/share/i18n/SUPPORTED" - fi - - # find the number of jobs available - local x jobs - for x in ${MAKEOPTS} ; do [[ "${x}" == -j* ]] && jobs=${x#-j} ; done - - # generate the locales - locale-gen -j ${jobs:-2} --config "${locale_list}" - - # set the timezone automatically if not found - if [[ ! -f "${ROOT}/etc/localtime" ]] - then - einfo "timezone not found: setting timezone to UTC" - cp --remove-destination \ - "${ROOT}/usr/share/zoneinfo/UTC" \ - "${ROOT}/etc/localtime" - fi - - einfo "tuning directory and file permissions" - chown -v root:root "${ROOT}/etc/locale.gen" - chmod -v 0644 "${ROOT}/etc/locale.gen" - - for TDIR in "${ROOT}/" \ - "${ROOT}/etc" - do - chown -v root:root "${TDIR}" - chmod -v 0755 "${TDIR}" - done - - for FILE in "${ROOT}/etc/locale.gen" \ - "${ROOT}/etc/nscd.conf" - do - chown -v root:root "${FILE}" - chmod -v 0644 "${FILE}" - done -} -#eof# diff --git a/sys-libs/gxslibc/metadata.xml b/sys-libs/gxslibc/metadata.xml deleted file mode 100644 index a9c084362a62..000000000000 --- a/sys-libs/gxslibc/metadata.xml +++ /dev/null @@ -1,5 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> -<herd>extreme-security</herd> -</pkgmetadata> |