summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2010-09-02 17:59:12 +0000
committerJeroen Roovers <jer@gentoo.org>2010-09-02 17:59:12 +0000
commit6093b08c7da0dcb8cdf1f459de155b4565c4b57e (patch)
treec93a34e09a4a0253e896c7729911a366aafa60e3 /net-analyzer
parentFix bad patch after upstream review. (diff)
downloadhistorical-6093b08c7da0dcb8cdf1f459de155b4565c4b57e.tar.gz
historical-6093b08c7da0dcb8cdf1f459de155b4565c4b57e.tar.bz2
historical-6093b08c7da0dcb8cdf1f459de155b4565c4b57e.zip
Respect CFLAGS (bug #240860). Respect LDFLAGS (bug #335528). Respect CC.
Package-Manager: portage-2.2_rc72/cvs/Linux i686
Diffstat (limited to 'net-analyzer')
-rw-r--r--net-analyzer/nbaudit/ChangeLog9
-rw-r--r--net-analyzer/nbaudit/Manifest3
-rw-r--r--net-analyzer/nbaudit/nbaudit-1.0-r2.ebuild42
3 files changed, 51 insertions, 3 deletions
diff --git a/net-analyzer/nbaudit/ChangeLog b/net-analyzer/nbaudit/ChangeLog
index b7218f8c12e1..44ac1fb0911c 100644
--- a/net-analyzer/nbaudit/ChangeLog
+++ b/net-analyzer/nbaudit/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-analyzer/nbaudit
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nbaudit/ChangeLog,v 1.15 2009/10/28 04:19:14 robbat2 Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nbaudit/ChangeLog,v 1.16 2010/09/02 17:59:12 jer Exp $
+
+*nbaudit-1.0-r2 (02 Sep 2010)
+
+ 02 Sep 2010; Jeroen Roovers <jer@gentoo.org> +nbaudit-1.0-r2.ebuild:
+ Respect CFLAGS (bug #240860). Respect LDFLAGS (bug #335528). Respect CC.
28 Oct 2009; Robin H. Johnson <robbat2@gentoo.org> nbaudit-1.0-r1.ebuild:
Keyword for ~amd64.
diff --git a/net-analyzer/nbaudit/Manifest b/net-analyzer/nbaudit/Manifest
index df676189225d..8db18a8d6016 100644
--- a/net-analyzer/nbaudit/Manifest
+++ b/net-analyzer/nbaudit/Manifest
@@ -1,5 +1,6 @@
AUX nbaudit-1.0-gentoo.diff 2517 RMD160 9022c2ff3ae4c2841aa32c2f4a4a3a722d378658 SHA1 f3d92af2371032fd1f1ce8cb0169518902e0402d SHA256 c1bdbfca5e426e459c6439bf6791682f8da2aa0412be11a6b3cc1f2c2da0c9e9
DIST nat10.tgz 111835 RMD160 2536130fb43eea48c7fe33a04dda108425efaa73 SHA1 67132bc7bebf127237e767a6f9c1f1edd2d6995d SHA256 378bf98b220592dacf6c850f094b71ef9b18d991d536e6f0938c10c0303bbb22
EBUILD nbaudit-1.0-r1.ebuild 1000 RMD160 92a8cba8cd5e407a1c6a6c8a3d78db81566c9295 SHA1 e25ff98ec398a6a1c7bd855f30902a4c35fb079f SHA256 fa5f2138afbe918db604793c012df5f92d0255d273363eb30ea48fbd70387c0e
-MISC ChangeLog 2118 RMD160 5d81647c110b3171192d8f1753cd57075192e398 SHA1 dac7444222423775382e86fd556cf7d97b866de9 SHA256 cca5d90acd07a3c9eed81a88722abadcd1caf2af051ea5580fe648b00fc2dd18
+EBUILD nbaudit-1.0-r2.ebuild 1075 RMD160 77c328587348a5e0a3b51a66cbd7f67b091a4d17 SHA1 f87d3c3a1de6aa2924de0164e55b090a6a3da2b2 SHA256 22c61c9734744635453c312b803d7180ce3ebecd7e04e16bf1f3870fe625d428
+MISC ChangeLog 2292 RMD160 bf8b2038551fb2a0e5165a7d3f2ff7f3d19ace1d SHA1 905103e75db97e414e031465105b20076e68c84d SHA256 52da62294d36581ff7f03b752e16914a364c71318e437f4d72b79f3aee5abd51
MISC metadata.xml 240 RMD160 3729f3134d687d4c107cdd9491aaefb79dbb66d3 SHA1 60622e88bf14bff16b1aef26e40f2d76cdc70175 SHA256 92e206ec38ba7cb970cfea03c5c337c94951ef6e03a0e61e61a703174fb83394
diff --git a/net-analyzer/nbaudit/nbaudit-1.0-r2.ebuild b/net-analyzer/nbaudit/nbaudit-1.0-r2.ebuild
new file mode 100644
index 000000000000..dc86bedeb803
--- /dev/null
+++ b/net-analyzer/nbaudit/nbaudit-1.0-r2.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nbaudit/nbaudit-1.0-r2.ebuild,v 1.1 2010/09/02 17:59:12 jer Exp $
+
+EAPI="2"
+
+inherit eutils toolchain-funcs
+
+# It is officially called nat10 but the name conflicts with other projects
+# so I'm following the *BSDs suggestion of calling it nbaudit
+
+MY_P=nat10
+S=${WORKDIR}/${MY_P}
+DESCRIPTION="NetBIOS file sharing services scanner (nat10)"
+SRC_URI="http://www.tux.org/pub/security/secnet/tools/nat10/${MY_P}.tgz"
+HOMEPAGE="http://www.tux.org/pub/security/secnet/tools/nat10/"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+IUSE=""
+
+DEPEND=">=sys-apps/sed-4"
+
+src_prepare() {
+ epatch ${FILESDIR}/${P}-gentoo.diff
+ sed -i Makefile \
+ -e 's:-lshadow::' \
+ -e 's|^CFLAGS = |CFLAGS +=|g' \
+ -e 's| $(CFLAGS) -o | $(LDFLAGS) &|g' \
+ || die "sed Makefile"
+}
+
+src_compile() {
+ emake CC=$(tc-getCC) all || die "make failed"
+}
+
+src_install () {
+ newbin nat nbaudit
+ newman nat.1 nbaudit.1
+ dodoc README COPYING
+}