summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Gabert <pappy@gentoo.org>2003-10-10 18:45:20 +0000
committerAlexander Gabert <pappy@gentoo.org>2003-10-10 18:45:20 +0000
commit226de592a0f3b86d4c4e80912b9c51a286382bba (patch)
tree0e68a4dcc6068a65819169accaa1fb712b5586ed /sys-libs/libcap
parentchanged hardened-gcc flags (diff)
downloadgentoo-2-226de592a0f3b86d4c4e80912b9c51a286382bba.tar.gz
gentoo-2-226de592a0f3b86d4c4e80912b9c51a286382bba.tar.bz2
gentoo-2-226de592a0f3b86d4c4e80912b9c51a286382bba.zip
changed hardened-gcc flags
Diffstat (limited to 'sys-libs/libcap')
-rw-r--r--sys-libs/libcap/ChangeLog5
-rw-r--r--sys-libs/libcap/Manifest4
-rw-r--r--sys-libs/libcap/libcap-1.10.ebuild17
3 files changed, 8 insertions, 18 deletions
diff --git a/sys-libs/libcap/ChangeLog b/sys-libs/libcap/ChangeLog
index 5d13d0b1f527..a567e9f17951 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.11 2003/10/09 19:41:15 pappy Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/libcap/ChangeLog,v 1.12 2003/10/10 18:45:14 pappy Exp $
+
+ 10 Oct 2003; Alexander Gabert <pappy@gentoo.org> libcap-1.10.ebuild:
+ changed hardened-gcc flags
09 Oct 2003; Alexander Gabert <pappy@gentoo.org> libcap-1.10.ebuild:
added new hardened-gcc flags for hppa
diff --git a/sys-libs/libcap/Manifest b/sys-libs/libcap/Manifest
index ce6b8f40a4cb..4bc114287dfc 100644
--- a/sys-libs/libcap/Manifest
+++ b/sys-libs/libcap/Manifest
@@ -1,7 +1,7 @@
MD5 8af7d585afc6f4423a4edcad47bf5aec libcap-1.10-r3.ebuild 1782
-MD5 77976ea5331c75e28d9b887fb5c88f94 libcap-1.10.ebuild 1783
+MD5 94afb72a4c909d5e0056e9e23e098b1a libcap-1.10.ebuild 1783
MD5 510725e722e6c593968f928c994b0d9d libcap-1.10-r2.ebuild 1610
-MD5 14791b4176d671dd7a7ad9e47682047e ChangeLog 1931
+MD5 549e527c586634b86e88c7ad63c7e881 ChangeLog 1931
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 1cfadbfd8e0f..031ee3a34a0f 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.10 2003/10/09 19:41:15 pappy Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/libcap/libcap-1.10.ebuild,v 1.11 2003/10/10 18:45:14 pappy Exp $
inherit base flag-o-matic
@@ -37,20 +37,7 @@ src_compile() {
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
+ has_version "sys-devel/hardened-gcc" && append-flags "-yet_exec"
emake COPTFLAG="${CFLAGS}" DEBUG="" ${myflags} || die
}