diff options
author | Jeroen Roovers <jer@gentoo.org> | 2010-07-14 03:47:51 +0000 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2010-07-14 03:47:51 +0000 |
commit | a7aae4d66932a756213f0118b3cd96a7e7e3dcd7 (patch) | |
tree | 6752ae89e8c17b416f845b153f312de220c288de | |
parent | Respect CC, CXX, LDFLAGS. (diff) | |
download | historical-a7aae4d66932a756213f0118b3cd96a7e7e3dcd7.tar.gz historical-a7aae4d66932a756213f0118b3cd96a7e7e3dcd7.tar.bz2 historical-a7aae4d66932a756213f0118b3cd96a7e7e3dcd7.zip |
Respect LDFLAGS.
Package-Manager: portage-2.2_rc67/cvs/Linux i686
-rw-r--r-- | net-analyzer/netcat/ChangeLog | 7 | ||||
-rw-r--r-- | net-analyzer/netcat/Manifest | 13 | ||||
-rw-r--r-- | net-analyzer/netcat/netcat-110-r9.ebuild | 47 |
3 files changed, 55 insertions, 12 deletions
diff --git a/net-analyzer/netcat/ChangeLog b/net-analyzer/netcat/ChangeLog index 1c29071b52a4..b6130093c4ef 100644 --- a/net-analyzer/netcat/ChangeLog +++ b/net-analyzer/netcat/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-analyzer/netcat # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/netcat/ChangeLog,v 1.39 2010/01/16 02:08:11 abcd Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/netcat/ChangeLog,v 1.40 2010/07/14 03:47:50 jer Exp $ + +*netcat-110-r9 (14 Jul 2010) + + 14 Jul 2010; Jeroen Roovers <jer@gentoo.org> +netcat-110-r9.ebuild: + Respect LDFLAGS. 16 Jan 2010; Jonathan Callen <abcd@gentoo.org> netcat-110-r8.ebuild: Add prefix keywords diff --git a/net-analyzer/netcat/Manifest b/net-analyzer/netcat/Manifest index 3df0b89a3ba0..af8b92663ded 100644 --- a/net-analyzer/netcat/Manifest +++ b/net-analyzer/netcat/Manifest @@ -1,16 +1,7 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - DIST nc-v6-20000918.patch.gz 8740 RMD160 f2506613b4ed89362c82bb9b9e8d7507c0d389f5 SHA1 e1a559792ac117074d3809e523e07d5157f3af5c SHA256 7f0d5d05f4ed98f61f7efb167ef29cb25aa71e0df42c1f0cc8472e1ed660cb9a DIST nc110.tgz 75267 RMD160 3e891fa094d921940e53035fb6721e2f0c04efdb SHA1 f8ec3a39796b141b6654d39b7957b863c7f79a95 SHA256 5b3fda14e972d908896a605293f4634a72e2968278117410e12d8b3faf9a3976 DIST netcat-110-patches-1.0.tar.bz2 25751 RMD160 543647b3a3919059dbd8a03e4223379719ef0617 SHA1 d32aac7357c60b7c798baa9dd5fb0e0470b96f31 SHA256 809517592616b4ca81c7b49541faa6a252ceb93384886d99b83163e9feeca96c EBUILD netcat-110-r8.ebuild 1557 RMD160 15714a6a7fd94f5f3ddfadb35d8fe390474c9ebc SHA1 f77b83b6179b0a22b6392cb2a1e5807149df14d5 SHA256 0c95223193572523d662d2a3d3d78214b5a7a5bf2fae3182c23e4270099641e5 -MISC ChangeLog 5330 RMD160 b3f073a4b370ec72420ac9af4d886969f9ba7555 SHA1 b7b8255a86ec85fa38389a0b15f76509eeb657db SHA256 072b00a42db3e9d4229c38a9264710ab0576f0d987cf8cc0a2ba1b8953362b1d +EBUILD netcat-110-r9.ebuild 1579 RMD160 6fab36d644798698af78a5944ec991e907ed3bb8 SHA1 7c7a987717729dd6060624047c81823a24053662 SHA256 441544c88fb170def18ac0b4440f839ad3001015f793573e887784f7142bd907 +MISC ChangeLog 5449 RMD160 392cca88f2b38d74e6e18fec1ca87e209c179ccb SHA1 e594d48a7835e91a4bd21647f8cfc16f08a00034 SHA256 00c904dfbfc739b0eb1d99c55ba12c8d1252c84345aef37e5eaffe02a123a60d MISC metadata.xml 284 RMD160 cf6d467583778d0d506f54bc10c62a8fb7da08c5 SHA1 ec9612af16e1e66f71f5d032214549bdda3b5e75 SHA256 59de75dd5bf2ff23dae284268c6ecf2035a0517a0a6b7974acbbc9d9d549692a ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.14 (GNU/Linux) - -iEYEARECAAYFAktRH5EACgkQOypDUo0oQOqlawCcDFAXuVOL0hdeDedP+oSAi4QU -p2cAn1z+NjkqU0MSjo0bxD8UTY29VPic -=jMW7 ------END PGP SIGNATURE----- diff --git a/net-analyzer/netcat/netcat-110-r9.ebuild b/net-analyzer/netcat/netcat-110-r9.ebuild new file mode 100644 index 000000000000..c8cb3d7026d5 --- /dev/null +++ b/net-analyzer/netcat/netcat-110-r9.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/netcat/netcat-110-r9.ebuild,v 1.1 2010/07/14 03:47:51 jer Exp $ + +inherit eutils toolchain-funcs flag-o-matic + +PATCH_VER="1.0" +MY_P=nc${PV} +DESCRIPTION="the network swiss army knife" +HOMEPAGE="http://nc110.sourceforge.net/" +SRC_URI="mirror://sourceforge/nc110/${MY_P}.tgz + ftp://sith.mimuw.edu.pl/pub/users/baggins/IPv6/nc-v6-20000918.patch.gz + mirror://gentoo/${P}-patches-${PATCH_VER}.tar.bz2" + +LICENSE="as-is" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc64-solaris ~x64-solaris" +IUSE="crypt ipv6 static" + +DEPEND="crypt? ( dev-libs/libmix )" + +S=${WORKDIR} + +src_unpack() { + unpack ${MY_P}.tgz ${P}-patches-${PATCH_VER}.tar.bz2 + epatch "${DISTDIR}"/nc-v6-20000918.patch.gz patch + sed -i 's:#define HAVE_BIND:#undef HAVE_BIND:' netcat.c + sed -i 's:#define FD_SETSIZE 16:#define FD_SETSIZE 1024:' netcat.c #34250 +} + +src_compile() { + export XLIBS="" + export XFLAGS="-DLINUX -DTELNET -DGAPING_SECURITY_HOLE" + use ipv6 && XFLAGS="${XFLAGS} -DINET6" + use static && export STATIC="-static" + use crypt && XFLAGS="${XFLAGS} -DAESCRYPT" && XLIBS="${XLIBS} -lmix" + [[ ${CHOST} == *-solaris* ]] && XLIBS="${XLIBS} -lnsl -lsocket" + make -e CC="$(tc-getCC) ${CFLAGS} ${LDFLAGS}" nc || die +} + +src_install() { + dobin nc || die "dobin failed" + dodoc README* netcat.blurb debian-* + doman nc.1 + docinto scripts + dodoc scripts/* +} |