diff options
author | Chris White <chriswhite@gentoo.org> | 2005-11-30 10:14:41 +0000 |
---|---|---|
committer | Chris White <chriswhite@gentoo.org> | 2005-11-30 10:14:41 +0000 |
commit | 06b73af769fa91ca1e4183af479438603318049a (patch) | |
tree | 6c0ad0d0b4cb2a0e7d5c38075f8cfc76a007e25b /net-analyzer/nbaudit/nbaudit-1.0.ebuild | |
parent | (no commit message) (diff) | |
download | gentoo-2-import-1.1.1.tar.gz gentoo-2-import-1.1.1.tar.bz2 gentoo-2-import-1.1.1.zip |
*** empty log message ***import-1.1.1
Diffstat (limited to 'net-analyzer/nbaudit/nbaudit-1.0.ebuild')
-rw-r--r-- | net-analyzer/nbaudit/nbaudit-1.0.ebuild | 55 |
1 files changed, 27 insertions, 28 deletions
diff --git a/net-analyzer/nbaudit/nbaudit-1.0.ebuild b/net-analyzer/nbaudit/nbaudit-1.0.ebuild index d5a9e2158783..c88c44f48190 100644 --- a/net-analyzer/nbaudit/nbaudit-1.0.ebuild +++ b/net-analyzer/nbaudit/nbaudit-1.0.ebuild @@ -1,40 +1,39 @@ -# Copyright 1999-2000 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License, v2 or later -# Author Bruce A. Locke <blocke@shivan.org> +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nbaudit/nbaudit-1.0.ebuild,v 1.1.1.1 2005/11/30 10:12:14 chriswhite Exp $ -# Its officially called nat10 but the name conflicts with other projects +inherit eutils + +# It is officially called nat10 but the name conflicts with other projects # so I'm following the *BSDs suggestion of calling it nbaudit -A=nat10.tgz -P=nat10 -S=${WORKDIR}/${P} +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/${A}" -HOMEPAGE="http://www.tux.org/pub/security/secnet/tools/nat10" - -DEPEND="" - -src_compile() { - - cd ${S} +SRC_URI="http://www.tux.org/pub/security/secnet/tools/nat10/${MY_P}.tgz" +HOMEPAGE="http://www.tux.org/pub/security/secnet/tools/nat10/" - mv Makefile Makefile.old - sed -e "s/# FLAGSM = -DLINUX -DSHADOW_PWD/FLAGSM = -DLINUX -DSHADOW_PWD -DNO_ASMSIGNALH/" -e "s/# LIBSM = -lshadow/LIBSM = -lshadow/" Makefile.old > Makefile +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~ppc sparc x86" +IUSE="" - # sed seems to hang if I do all three at once... oh well - mv Makefile Makefile.old - sed -e "s/CFLAGS = /CFLAGS = ${CFLAGS} /" Makefile.old > Makefile +DEPEND=">=sys-apps/sed-4" +RDEPEND="virtual/libc" - try make all +src_unpack() { + unpack ${A} + cd ${S} + epatch ${FILESDIR}/${P}-gentoo.diff +} +src_compile() { + # NOTE: DO NOT SET CFLAGS OR THE PROGRAM WILL SEGFAULT + make all || die "make failed" } src_install () { - cd ${S} - - into /usr - - dobin nat - doman nat.1 - dodoc README COPYING + newbin nat nbaudit + newman nat.1 nbaudit.1 + dodoc README COPYING } |