diff options
author | Eldad Zack <eldad@gentoo.org> | 2004-11-22 16:26:37 +0000 |
---|---|---|
committer | Eldad Zack <eldad@gentoo.org> | 2004-11-22 16:26:37 +0000 |
commit | 079aa32642409f90c86aefd3d621924c723994ca (patch) | |
tree | cf16b8981e32e90b8f1f7373a6ddf8e8b657e869 /net-analyzer/netselect | |
parent | x86. (Manifest recommit) (diff) | |
download | gentoo-2-079aa32642409f90c86aefd3d621924c723994ca.tar.gz gentoo-2-079aa32642409f90c86aefd3d621924c723994ca.tar.bz2 gentoo-2-079aa32642409f90c86aefd3d621924c723994ca.zip |
Fix to use bind-now for suid binaries. Using dobin instead of make install.
Diffstat (limited to 'net-analyzer/netselect')
-rw-r--r-- | net-analyzer/netselect/ChangeLog | 5 | ||||
-rw-r--r-- | net-analyzer/netselect/netselect-0.3-r1.ebuild | 15 |
2 files changed, 12 insertions, 8 deletions
diff --git a/net-analyzer/netselect/ChangeLog b/net-analyzer/netselect/ChangeLog index 62f47dc817cb..f85e86652c71 100644 --- a/net-analyzer/netselect/ChangeLog +++ b/net-analyzer/netselect/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for net-analyzer/netselect # Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/netselect/ChangeLog,v 1.19 2004/10/19 10:40:35 absinthe Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/netselect/ChangeLog,v 1.20 2004/11/22 16:26:37 eldad Exp $ + + 22 Nov 2004; Eldad Zack <eldad@gentoo.org> netselect-0.3-r1.ebuild: + Fix to use bind-now for suid binaries. Using dobin instead of make install. 19 Oct 2004; Dylan Carlson <absinthe@gentoo.org> netselect-0.3-r1.ebuild: Stable on amd64. diff --git a/net-analyzer/netselect/netselect-0.3-r1.ebuild b/net-analyzer/netselect/netselect-0.3-r1.ebuild index e5811d4150cf..a1d02c1ad329 100644 --- a/net-analyzer/netselect/netselect-0.3-r1.ebuild +++ b/net-analyzer/netselect/netselect-0.3-r1.ebuild @@ -1,6 +1,8 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/netselect/netselect-0.3-r1.ebuild,v 1.7 2004/10/19 10:40:35 absinthe Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/netselect/netselect-0.3-r1.ebuild,v 1.8 2004/11/22 16:26:37 eldad Exp $ + +inherit flag-o-matic DESCRIPTION="Ultrafast implementation of ping." HOMEPAGE="http://www.worldvisions.ca/~apenwarr/netselect/" @@ -13,24 +15,23 @@ IUSE="" S="${WORKDIR}/${PN}" -src_unpack() { - unpack ${A} - cd "${S}" +src_compile() { + append-ldflags "-Wl,-z,now" + sed -i \ -e "s:PREFIX =.*:PREFIX = ${D}usr:" \ -e "s:CFLAGS =.*:CFLAGS = -Wall -I. -g ${CFLAGS}:" \ + -e "s:LDFLAGS =.*:LDFLAGS = -g ${LDFLAGS}:" \ -e '23,27d' \ -e '34d' \ Makefile \ || die "sed Makefile failed" -} -src_compile() { emake || die "emake failed" } src_install () { - make install || die "make install failed" + dobin netselect || die "dobin failed" fowners root:wheel /usr/bin/netselect fperms 4710 /usr/bin/netselect dodoc ChangeLog HISTORY README* |