diff options
author | Alexander Gabert <pappy@gentoo.org> | 2004-07-21 23:54:03 +0000 |
---|---|---|
committer | Alexander Gabert <pappy@gentoo.org> | 2004-07-21 23:54:03 +0000 |
commit | 358c7bca9e1427787e62017e72f39203cc2dcc68 (patch) | |
tree | f9342c8d896572ad6488ee66e7604e097369cd90 /sys-apps/cpufreqd | |
parent | Add ~amd64 after testing per req: from langthang (Manifest recommit) (diff) | |
download | gentoo-2-358c7bca9e1427787e62017e72f39203cc2dcc68.tar.gz gentoo-2-358c7bca9e1427787e62017e72f39203cc2dcc68.tar.bz2 gentoo-2-358c7bca9e1427787e62017e72f39203cc2dcc68.zip |
library load errors and segfaults when built as automatic PIE, disabling PIE support for all packages
Diffstat (limited to 'sys-apps/cpufreqd')
-rw-r--r-- | sys-apps/cpufreqd/ChangeLog | 7 | ||||
-rw-r--r-- | sys-apps/cpufreqd/Manifest | 8 | ||||
-rw-r--r-- | sys-apps/cpufreqd/cpufreqd-1.1.1.ebuild | 12 | ||||
-rw-r--r-- | sys-apps/cpufreqd/cpufreqd-1.1.2.ebuild | 12 | ||||
-rw-r--r-- | sys-apps/cpufreqd/cpufreqd-1.1.ebuild | 12 |
5 files changed, 37 insertions, 14 deletions
diff --git a/sys-apps/cpufreqd/ChangeLog b/sys-apps/cpufreqd/ChangeLog index c0ef49bf0d16..d76c960d5b89 100644 --- a/sys-apps/cpufreqd/ChangeLog +++ b/sys-apps/cpufreqd/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-apps/cpufreqd # Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/cpufreqd/ChangeLog,v 1.12 2004/07/20 19:40:03 solar Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/cpufreqd/ChangeLog,v 1.13 2004/07/21 23:54:03 pappy Exp $ + + 22 Jul 2004; Alexander Gabert <pappy@gentoo.org> cpufreqd-1.1.1.ebuild, + cpufreqd-1.1.2.ebuild, cpufreqd-1.1.ebuild: + library load errors and segfaults when built as automatic PIE, disabling PIE + support for all packages *cpufreqd-1.1.2 (20 Jul 2004) diff --git a/sys-apps/cpufreqd/Manifest b/sys-apps/cpufreqd/Manifest index 5dce7cd8f7be..eb73dfe56a74 100644 --- a/sys-apps/cpufreqd/Manifest +++ b/sys-apps/cpufreqd/Manifest @@ -1,7 +1,7 @@ -MD5 f1ec2814a85ec96deb667fe046154b60 cpufreqd-1.1.2.ebuild 1202 -MD5 2b9858c5194193d73b5551c3becf0b17 cpufreqd-1.1.ebuild 1160 -MD5 6eb00d510c552285f401ca236744ec6b cpufreqd-1.1.1.ebuild 1089 -MD5 d8f1de56f1c51aa03630c390bba6575b ChangeLog 1580 +MD5 ded015bf6f137512aa68ccdf1f4729ea ChangeLog 1807 +MD5 2ea230b196ff250572018dfb0d6e0da0 cpufreqd-1.1.1.ebuild 1211 +MD5 f90e383307ee9133453048c5b28f534f cpufreqd-1.1.2.ebuild 1277 +MD5 564908e56cc6714da17f3ecb13d49bdf cpufreqd-1.1.ebuild 1282 MD5 9a09f8d531c582e78977dbfd96edc1f2 metadata.xml 164 MD5 8917ce64fc2e2eb0da260929ea971f98 files/digest-cpufreqd-1.1 71 MD5 82e5687ec7d54db66926a515248a0d72 files/digest-cpufreqd-1.1.1 66 diff --git a/sys-apps/cpufreqd/cpufreqd-1.1.1.ebuild b/sys-apps/cpufreqd/cpufreqd-1.1.1.ebuild index ce57df957ded..20e3f8316990 100644 --- a/sys-apps/cpufreqd/cpufreqd-1.1.1.ebuild +++ b/sys-apps/cpufreqd/cpufreqd-1.1.1.ebuild @@ -1,8 +1,8 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/cpufreqd/cpufreqd-1.1.1.ebuild,v 1.3 2004/06/30 14:47:21 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/cpufreqd/cpufreqd-1.1.1.ebuild,v 1.4 2004/07/21 23:54:03 pappy Exp $ -inherit eutils +inherit eutils flag-o-matic DESCRIPTION="Daemon to adjust CPU speed for power saving" HOMEPAGE="http://sourceforge.net/projects/cpufreqd/" @@ -12,12 +12,18 @@ DEPEND=">=sys-apps/sed-4" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86 ~ppc" -IUSE="" +IUSE="pie hardened" src_unpack() { unpack ${A} cd ${S} sed -i '/^DAEMON=/s:/sbin/:/usr/sbin/:' scripts/gentoo/cpufreqd + + if ( use hardened || use pie ) + then + append-flags "-fno-pie" + append-ldflags "-fno-pie" + fi } src_install() { diff --git a/sys-apps/cpufreqd/cpufreqd-1.1.2.ebuild b/sys-apps/cpufreqd/cpufreqd-1.1.2.ebuild index 5428417dd954..7fa6fbdbd3a6 100644 --- a/sys-apps/cpufreqd/cpufreqd-1.1.2.ebuild +++ b/sys-apps/cpufreqd/cpufreqd-1.1.2.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/cpufreqd/cpufreqd-1.1.2.ebuild,v 1.1 2004/07/20 19:40:03 solar Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/cpufreqd/cpufreqd-1.1.2.ebuild,v 1.2 2004/07/21 23:54:03 pappy Exp $ inherit eutils flag-o-matic @@ -12,7 +12,7 @@ DEPEND=">=sys-apps/sed-4" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86 ~ppc" -IUSE="pie" +IUSE="pie hardened" src_unpack() { unpack ${A} @@ -22,7 +22,13 @@ src_unpack() { src_compile() { cd ${S} - use pie && append-flags -fno-pie + + if ( use hardened || use pie ) + then + append-flags "-fno-pie" + append-ldflags "-fno-pie" + fi + econf || die "econf failed for ${P}" } diff --git a/sys-apps/cpufreqd/cpufreqd-1.1.ebuild b/sys-apps/cpufreqd/cpufreqd-1.1.ebuild index b601fdd72205..06e0cfd81dd5 100644 --- a/sys-apps/cpufreqd/cpufreqd-1.1.ebuild +++ b/sys-apps/cpufreqd/cpufreqd-1.1.ebuild @@ -1,8 +1,8 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/cpufreqd/cpufreqd-1.1.ebuild,v 1.3 2004/06/30 14:47:21 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/cpufreqd/cpufreqd-1.1.ebuild,v 1.4 2004/07/21 23:54:03 pappy Exp $ -inherit eutils +inherit eutils flag-o-matic S=${WORKDIR}/${P/_/-}.orig DESCRIPTION="Daemon to adjust CPU speed for power saving" @@ -13,13 +13,19 @@ DEPEND=">=sys-apps/sed-4" LICENSE="GPL-2" SLOT="0" KEYWORDS="-* x86 ppc" -IUSE="" +IUSE="pie hardened" src_unpack() { unpack ${A} cd ${S} #correct the init-script sed -i -e s:/bin/cpufreqd:/usr/sbin/cpufreqd: ${S}/scripts/gentoo/cpufreqd + + if ( use hardened || use pie ) + then + append-flags "-fno-pie" + append-ldflags "-fno-pie" + fi } src_install() { |