diff options
author | Patrick Lauer <patrick@gentoo.org> | 2009-09-08 21:22:03 +0000 |
---|---|---|
committer | Patrick Lauer <patrick@gentoo.org> | 2009-09-08 21:22:03 +0000 |
commit | 1e759599d6bf49983885a2a98c3087a6388f92e2 (patch) | |
tree | 27361f6829851d08528381ba05bf1b1b97d38422 /net-analyzer | |
parent | Fix kde4 headers detection, moc and uic checks, Import patch from Linux Alt t... (diff) | |
download | gentoo-2-1e759599d6bf49983885a2a98c3087a6388f92e2.tar.gz gentoo-2-1e759599d6bf49983885a2a98c3087a6388f92e2.tar.bz2 gentoo-2-1e759599d6bf49983885a2a98c3087a6388f92e2.zip |
Adding /bin/nc symlink and blocking normal netcat for libvirt #280650
(Portage version: 2.2_rc40/cvs/Linux x86_64)
Diffstat (limited to 'net-analyzer')
-rw-r--r-- | net-analyzer/netcat6/ChangeLog | 7 | ||||
-rw-r--r-- | net-analyzer/netcat6/netcat6-1.0-r2.ebuild | 44 |
2 files changed, 50 insertions, 1 deletions
diff --git a/net-analyzer/netcat6/ChangeLog b/net-analyzer/netcat6/ChangeLog index add05a418889..5a560e0881e7 100644 --- a/net-analyzer/netcat6/ChangeLog +++ b/net-analyzer/netcat6/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-analyzer/netcat6 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/netcat6/ChangeLog,v 1.20 2009/07/19 18:53:52 nixnut Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/netcat6/ChangeLog,v 1.21 2009/09/08 21:22:03 patrick Exp $ + +*netcat6-1.0-r2 (08 Sep 2009) + + 08 Sep 2009; Patrick Lauer <patrick@gentoo.org> +netcat6-1.0-r2.ebuild: + Adding /bin/nc symlink and blocking normal netcat for libvirt #280650 19 Jul 2009; nixnut <nixnut@gentoo.org> netcat6-1.0-r1.ebuild: ppc stable #275386 diff --git a/net-analyzer/netcat6/netcat6-1.0-r2.ebuild b/net-analyzer/netcat6/netcat6-1.0-r2.ebuild new file mode 100644 index 000000000000..b36a07854901 --- /dev/null +++ b/net-analyzer/netcat6/netcat6-1.0-r2.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/netcat6/netcat6-1.0-r2.ebuild,v 1.1 2009/09/08 21:22:03 patrick Exp $ + +inherit eutils autotools + +DESCRIPTION="netcat clone with better IPv6 support, improved code, etc..." +HOMEPAGE="http://netcat6.sourceforge.net/" +SRC_URI="ftp://ftp.deepspace6.net/pub/ds6/sources/nc6/nc6-${PV}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" +IUSE="ipv6 nls bluetooth" + +# need to block netcat as we provide the "nc" file now too +DEPEND="bluetooth? ( || ( net-wireless/bluez net-wireless/bluez-libs ) ) + !net-analyzer/netcat" +RDEPEND="${DEPEND}" + +S=${WORKDIR}/nc6-${PV} + +src_unpack() { + unpack ${A} + cd "${S}" + + epatch "${FILESDIR}/netcat6-1.0-unix-sockets.patch" + eautoreconf +} + +src_compile() { + econf \ + $(use_enable ipv6) \ + $(use_enable bluetooth bluez) \ + $(use_enable nls) + emake || die +} + +src_install() { + make DESTDIR="${D}" install || die + dodir /usr/bin + dosym /usr/bin/nc6 /usr/bin/nc + dodoc AUTHORS BUGS README NEWS TODO CREDITS ChangeLog +} |