diff options
Diffstat (limited to 'sys-libs')
-rw-r--r-- | sys-libs/glibc/ChangeLog | 6 | ||||
-rw-r--r-- | sys-libs/glibc/Manifest | 6 | ||||
-rw-r--r-- | sys-libs/glibc/glibc-2.3.1-r4.ebuild | 21 | ||||
-rw-r--r-- | sys-libs/glibc/glibc-2.3.2-r1.ebuild | 21 | ||||
-rw-r--r-- | sys-libs/libcap/ChangeLog | 5 | ||||
-rw-r--r-- | sys-libs/libcap/Manifest | 4 | ||||
-rw-r--r-- | sys-libs/libcap/libcap-1.10.ebuild | 19 |
7 files changed, 62 insertions, 20 deletions
diff --git a/sys-libs/glibc/ChangeLog b/sys-libs/glibc/ChangeLog index 8bb34a683b71..b7213ad98652 100644 --- a/sys-libs/glibc/ChangeLog +++ b/sys-libs/glibc/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for sys-libs/glibc # Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/ChangeLog,v 1.87 2003/10/09 19:20:15 pappy Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/ChangeLog,v 1.88 2003/10/09 19:39:25 pappy Exp $ + + 09 Oct 2003; Alexander Gabert <pappy@gentoo.org> glibc-2.3.1-r4.ebuild, + glibc-2.3.2-r1.ebuild: + added new hardened-gcc flags for hppa 09 Oct 2003; Alexander Gabert <pappy@gentoo.org> glibc-2.3.1-r4.ebuild, glibc-2.3.2-r1.ebuild: diff --git a/sys-libs/glibc/Manifest b/sys-libs/glibc/Manifest index 1b2f5375b7c6..2cbfae13c081 100644 --- a/sys-libs/glibc/Manifest +++ b/sys-libs/glibc/Manifest @@ -1,12 +1,12 @@ MD5 1e8074131f0afe3b08b9c2b07eccd001 glibc-2.3.2-r4.ebuild 17343 MD5 2286fe6ad49bebfcf288cecf47097995 glibc-2.3.2-r6.ebuild 17129 -MD5 0f3e7da17898f81e6c41aeb4bfe5adae glibc-2.3.2-r1.ebuild 16910 -MD5 46e0abe71308c2ca248cad3e5d12ad50 glibc-2.3.1-r4.ebuild 10790 +MD5 0b16af7118badaf0dee6f6b6a635e3ae glibc-2.3.2-r1.ebuild 16910 +MD5 de878e03c9cf52674ffccfb0b7231e87 glibc-2.3.1-r4.ebuild 10790 MD5 ec652c5641efa40df96db52e3b00f91e glibc-2.2.5-r8.ebuild 9682 MD5 89f63166320e4607f935b2930c3b45d9 glibc-2.3.2-r3.ebuild 17330 MD5 4ed49e594e024c91fcc2a74385a7fab4 glibc-2.3.2-r5.ebuild 16984 MD5 faecaafd64455df8f1a0b21b657581a3 glibc-2.3.2-r2.ebuild 17616 -MD5 02918ddf14050ff979f470c6b9c9198b ChangeLog 17969 +MD5 1994e4c053f8fcdfbb281ee851f00e0b ChangeLog 17969 MD5 82be016c42c7cc353ee563fcbcbc4769 files/nscd 840 MD5 135f8145885a2f4f9876fe973f33ddf6 files/glibc-2.2.4-string2.h.diff 5221 MD5 d688e44731d6e4b757382d7646c492c3 files/glibc-xdr_security.patch 6612 diff --git a/sys-libs/glibc/glibc-2.3.1-r4.ebuild b/sys-libs/glibc/glibc-2.3.1-r4.ebuild index ab866d6c701e..e7b1b4695a5a 100644 --- a/sys-libs/glibc/glibc-2.3.1-r4.ebuild +++ b/sys-libs/glibc/glibc-2.3.1-r4.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/glibc-2.3.1-r4.ebuild,v 1.17 2003/10/09 19:20:15 pappy Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/glibc-2.3.1-r4.ebuild,v 1.18 2003/10/09 19:39:25 pappy Exp $ IUSE="nls pic build" @@ -201,10 +201,21 @@ src_compile() { # This should not be done for: ia64 s390 s390x # use x86 && CFLAGS="${CFLAGS} -freorder-blocks" - if [ "${ARCH}" == "sparc" ] || [ "${ARCH}" == "sparc64" ] || [ "${ARCH}" == "ppc" ] || [ "${ARCH}" == "ppc64" ] - then - has_version "sys-devel/hardened-gcc" && export CC="${CC} -yet_exec -fstack-protector" - fi + # http://www.gentoo.org/proj/en/hardened/etdyn-ssp.xml or #gentoo-hardened/irc.freenode + if [ "${ARCH}" != "hppa" ] && [ "${ARCH}" != "hppa64" ] && has_version "sys-devel/hardened-gcc" + then + append-flags "-yet_exec -fstack-protector" + fi + + if [ "${ARCH}" == "hppa" ] && has_version 'sys-devel/hardened-gcc' + then + append-flags "-yet_exec" + fi + + if [ "${ARCH}" == "hppa64" ] && has_version 'sys-devel/hardened-gcc' + then + append-flags "-yet_exec" + fi einfo "Configuring GLIBC..." rm -rf buildhere diff --git a/sys-libs/glibc/glibc-2.3.2-r1.ebuild b/sys-libs/glibc/glibc-2.3.2-r1.ebuild index 27c4e17520b4..51bcdccbcadf 100644 --- a/sys-libs/glibc/glibc-2.3.2-r1.ebuild +++ b/sys-libs/glibc/glibc-2.3.2-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/glibc-2.3.2-r1.ebuild,v 1.29 2003/10/09 19:20:15 pappy Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-libs/glibc/glibc-2.3.2-r1.ebuild,v 1.30 2003/10/09 19:39:25 pappy Exp $ IUSE="nls pic build nptl" @@ -397,10 +397,21 @@ src_compile() { fi fi - if [ "${ARCH}" == "sparc" ] || [ "${ARCH}" == "sparc64" ] || [ "${ARCH}" == "ppc" ] || [ "${ARCH}" == "ppc64" ] - then - has_version "sys-devel/hardened-gcc" && export CC="${CC} -yet_exec -fstack-protector" - fi + # http://www.gentoo.org/proj/en/hardened/etdyn-ssp.xml or #gentoo-hardened/irc.freenode + if [ "${ARCH}" != "hppa" ] && [ "${ARCH}" != "hppa64" ] && has_version "sys-devel/hardened-gcc" + then + append-flags "-yet_exec -fstack-protector" + fi + + if [ "${ARCH}" == "hppa" ] && has_version 'sys-devel/hardened-gcc' + then + append-flags "-yet_exec" + fi + + if [ "${ARCH}" == "hppa64" ] && has_version 'sys-devel/hardened-gcc' + then + append-flags "-yet_exec" + fi einfo "Configuring GLIBC..." rm -rf ${S}/buildhere diff --git a/sys-libs/libcap/ChangeLog b/sys-libs/libcap/ChangeLog index 03537731b525..5d13d0b1f527 100644 --- a/sys-libs/libcap/ChangeLog +++ b/sys-libs/libcap/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for sys-libs/libcap # Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/libcap/ChangeLog,v 1.10 2003/10/09 12:17:04 tuxus Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-libs/libcap/ChangeLog,v 1.11 2003/10/09 19:41:15 pappy Exp $ + + 09 Oct 2003; Alexander Gabert <pappy@gentoo.org> libcap-1.10.ebuild: + added new hardened-gcc flags for hppa 09 Oct 2003; <tuxus@gentoo.org> libcap-1.10-r2.ebuild: stable on mips diff --git a/sys-libs/libcap/Manifest b/sys-libs/libcap/Manifest index d9d03a82bad8..693039c62d3a 100644 --- a/sys-libs/libcap/Manifest +++ b/sys-libs/libcap/Manifest @@ -1,7 +1,7 @@ MD5 8af7d585afc6f4423a4edcad47bf5aec libcap-1.10-r3.ebuild 1782 -MD5 87998451d82b833ddcc20932599f7938 libcap-1.10.ebuild 2128 +MD5 131008efce7d6e1c79760eca7ab18483 libcap-1.10.ebuild 2128 MD5 510725e722e6c593968f928c994b0d9d libcap-1.10-r2.ebuild 1610 -MD5 953181190914a063ad66ddf3a90aa92e ChangeLog 1830 +MD5 84d0c5cf319ba85c9b9052130aca59f7 ChangeLog 1830 MD5 3aa7335821ba75c0994083995b0331f2 files/libcap-1.10-syscall.patch 1051 MD5 8f279ebf325d1b8efb6ad3c3a0d8cb5d files/libcap-1.10-python.patch 3353 MD5 f55c8f8c068940da50e21f4d4b840422 files/digest-libcap-1.10-r2 63 diff --git a/sys-libs/libcap/libcap-1.10.ebuild b/sys-libs/libcap/libcap-1.10.ebuild index 1cfa602cc18c..1cfadbfd8e0f 100644 --- a/sys-libs/libcap/libcap-1.10.ebuild +++ b/sys-libs/libcap/libcap-1.10.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/libcap/libcap-1.10.ebuild,v 1.9 2003/10/01 11:05:34 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-libs/libcap/libcap-1.10.ebuild,v 1.10 2003/10/09 19:41:15 pappy Exp $ inherit base flag-o-matic @@ -36,8 +36,21 @@ src_compile() { CFLAGS="${CFLAGS} -I/usr/include/python${PYTHONVER}" fi - has_version 'sys-devel/hardened-gcc' && \ - append-flags "-yet_exec -fstack-protector -Wl,$(gcc-config -L)/libgcc.a -Wl,/lib/libc.so.6" + # http://www.gentoo.org/proj/en/hardened/etdyn-ssp.xml or #gentoo-hardened/irc.freenode + if [ "${ARCH}" != "hppa" ] && [ "${ARCH}" != "hppa64" ] && has_version "sys-devel/hardened-gcc" + then + append-flags "-yet_exec -fstack-protector" + fi + + if [ "${ARCH}" == "hppa" ] && has_version 'sys-devel/hardened-gcc' + then + append-flags "-yet_exec" + fi + + if [ "${ARCH}" == "hppa64" ] && has_version 'sys-devel/hardened-gcc' + then + append-flags "-yet_exec" + fi emake COPTFLAG="${CFLAGS}" DEBUG="" ${myflags} || die } |