diff options
author | Mike Frysinger <vapier@gentoo.org> | 2003-08-03 03:23:17 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2003-08-03 03:23:17 +0000 |
commit | 62594b1946ec6927febd50edf7a19d99203b869f (patch) | |
tree | 89aabd260ea251c275c8c3e2315fecc65463becc /net-analyzer/nessus-core | |
parent | use epatch for patches (diff) | |
download | historical-62594b1946ec6927febd50edf7a19d99203b869f.tar.gz historical-62594b1946ec6927febd50edf7a19d99203b869f.tar.bz2 historical-62594b1946ec6927febd50edf7a19d99203b869f.zip |
$DEBUGBUILD -> use debug
Diffstat (limited to 'net-analyzer/nessus-core')
8 files changed, 22 insertions, 184 deletions
diff --git a/net-analyzer/nessus-core/files/digest-nessus-core-1.2.4 b/net-analyzer/nessus-core/files/digest-nessus-core-1.2.4 deleted file mode 100644 index 390620a886c1..000000000000 --- a/net-analyzer/nessus-core/files/digest-nessus-core-1.2.4 +++ /dev/null @@ -1 +0,0 @@ -MD5 9b19ff966ad35b631ebde067f9b35f54 nessus-core-1.2.4.tar.gz 587832 diff --git a/net-analyzer/nessus-core/files/digest-nessus-core-1.2.7 b/net-analyzer/nessus-core/files/digest-nessus-core-1.2.7 deleted file mode 100644 index 5ce656cc43a8..000000000000 --- a/net-analyzer/nessus-core/files/digest-nessus-core-1.2.7 +++ /dev/null @@ -1 +0,0 @@ -MD5 0dff0b28cc53144a186a1886f4590d5b nessus-core-1.2.7.tar.gz 713738 diff --git a/net-analyzer/nessus-core/files/digest-nessus-core-2.0.6a b/net-analyzer/nessus-core/files/digest-nessus-core-2.0.6a deleted file mode 100644 index 22e441a7907c..000000000000 --- a/net-analyzer/nessus-core/files/digest-nessus-core-2.0.6a +++ /dev/null @@ -1 +0,0 @@ -MD5 2dd997d65d1785526fe9d87393ce0417 nessus-core-2.0.6a.tar.gz 648798 diff --git a/net-analyzer/nessus-core/nessus-core-1.2.4.ebuild b/net-analyzer/nessus-core/nessus-core-1.2.4.ebuild deleted file mode 100644 index beab118d4da0..000000000000 --- a/net-analyzer/nessus-core/nessus-core-1.2.4.ebuild +++ /dev/null @@ -1,54 +0,0 @@ -# Copyright 1999-2003 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nessus-core/nessus-core-1.2.4.ebuild,v 1.10 2003/02/13 13:45:28 vapier Exp $ - -IUSE="X gtk" - -S=${WORKDIR}/${PN} - -DESCRIPTION="A remote security scanner for Linux (nessus-core)" -HOMEPAGE="http://www.nessus.org/" -SRC_URI="ftp://ftp.nessus.org/pub/nessus/nessus-${PV}/src/${P}.tar.gz" - -DEPEND="=net-analyzer/libnasl-1.2.4 - X? ( x11-base/xfree ) - gtk? ( =x11-libs/gtk+-1.2* )" - -SLOT="0" -LICENSE="GPL-2" -KEYWORDS="x86 ppc -sparc alpha" - -src_compile() { - - use X && myconf="--with-x" || myconf="--without-x" - - use gtk && myconf="--enable-gtk" || myconf="--disable-gtk" - - econf || die "configure failed" - - emake || die "emake failed" - -} - -src_install() { - - make \ - prefix=${D}/usr \ - sysconfdir=${D}/etc \ - localstatedir=${D}/var/lib \ - mandir=${D}/usr/share/man \ - install || die "Install failed nessus-core" - - cd ${S} - docinto nessus-core - dodoc README* UPGRADE_README CHANGES - dodoc doc/*.txt doc/ntp/* - - insinto /etc/init.d - insopts -m 755 - newins ${FILESDIR}/nessusd-r6 nessusd - - keepdir /var/lib/nessus/logs - keepdir /var/lib/nessus/users - -} diff --git a/net-analyzer/nessus-core/nessus-core-1.2.7.ebuild b/net-analyzer/nessus-core/nessus-core-1.2.7.ebuild deleted file mode 100644 index ce3e38755799..000000000000 --- a/net-analyzer/nessus-core/nessus-core-1.2.7.ebuild +++ /dev/null @@ -1,56 +0,0 @@ -# Copyright 1999-2003 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nessus-core/nessus-core-1.2.7.ebuild,v 1.4 2003/07/09 15:54:47 mholzer Exp $ - -IUSE="tcpd X gtk gtk2" -S=${WORKDIR}/${PN} -DESCRIPTION="A remote security scanner for Linux (nessus-core)" -HOMEPAGE="http://www.nessus.org/" -SRC_URI="ftp://ftp.nessus.org/pub/nessus/nessus-${PV}/src/${P}.tar.gz" -DEPEND="=net-analyzer/libnasl-${PV} - tcpd? ( sys-apps/tcp-wrappers ) - X? ( x11-base/xfree ) - gtk? ( =x11-libs/gtk+-1.2* ) - gtk2? ( =x11-libs/gtk+-2* )" -SLOT="0" -LICENSE="GPL-2" -KEYWORDS="x86 ~ppc -sparc ~alpha" - -src_compile() { - local myconf - use X && myconf="--with-x" || myconf="--without-x" - if [ `use gtk` ]; then - myconf="${myconf} --enable-gtk" - elif [ `use gtk2` ]; then - myconf="${myconf} --enable-gtk" - else - myconf="${myconf} --disable-gtk" - fi - use tcpd && myconf="${myconf} --enable-tcpwrappers" \ - || myconf="${myconf} --disable-tcpwrappers" - if [ ! -z $DEBUGBUILD ]; then - myconf="${myconf} --enable-debug" - else - myconf="${myconf} --disable-debug" - fi - econf ${myconf} || die "configure failed" - emake || die "emake failed" - -} - -src_install() { - make \ - prefix=${D}/usr \ - sysconfdir=${D}/etc \ - localstatedir=${D}/var/lib \ - mandir=${D}/usr/share/man \ - install || die "Install failed nessus-core" - cd ${S} - dodoc README* UPGRADE_README CHANGES - dodoc doc/*.txt doc/ntp/* - insinto /etc/init.d - insopts -m 755 - newins ${FILESDIR}/nessusd-r6 nessusd - keepdir /var/lib/nessus/logs - keepdir /var/lib/nessus/users -} diff --git a/net-analyzer/nessus-core/nessus-core-2.0.6a-r1.ebuild b/net-analyzer/nessus-core/nessus-core-2.0.6a-r1.ebuild index 293863314e7f..b7e54d59f736 100644 --- a/net-analyzer/nessus-core/nessus-core-2.0.6a-r1.ebuild +++ b/net-analyzer/nessus-core/nessus-core-2.0.6a-r1.ebuild @@ -1,24 +1,27 @@ # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nessus-core/nessus-core-2.0.6a-r1.ebuild,v 1.1 2003/07/17 08:38:57 phosphan Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nessus-core/nessus-core-2.0.6a-r1.ebuild,v 1.2 2003/08/03 03:23:17 vapier Exp $ -IUSE="tcpd X gtk gtk2" -S=${WORKDIR}/${PN} DESCRIPTION="A remote security scanner for Linux (nessus-core)" HOMEPAGE="http://www.nessus.org/" SRC_URI="ftp://ftp.nessus.org/pub/nessus/nessus-${PV}/src/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="x86 ppc -sparc alpha" +IUSE="tcpd X gtk gtk2 debug" + DEPEND="=net-analyzer/libnasl-${PV} tcpd? ( sys-apps/tcp-wrappers ) X? ( x11-base/xfree ) gtk? ( =x11-libs/gtk+-1.2* ) gtk2? ( =x11-libs/gtk+-2* )" -SLOT="0" -LICENSE="GPL-2" -KEYWORDS="x86 ppc -sparc alpha" + +S=${WORKDIR}/${PN} src_unpack() { unpack ${A} - patch -p0 < ${FILESDIR}/${PN}-${PV}.patch || die "patch failed" + epatch ${FILESDIR}/${PN}-${PV}.patch } src_compile() { @@ -32,7 +35,7 @@ src_compile() { myconf="${myconf} --disable-gtk" fi myconf="${myconf} `use_enable tcpd tcpwrappers`" - if [ ! -z $DEBUGBUILD ]; then + if [ `use debug` ]; then myconf="${myconf} --enable-debug" else myconf="${myconf} --disable-debug" diff --git a/net-analyzer/nessus-core/nessus-core-2.0.6a.ebuild b/net-analyzer/nessus-core/nessus-core-2.0.6a.ebuild deleted file mode 100644 index 81251357fb19..000000000000 --- a/net-analyzer/nessus-core/nessus-core-2.0.6a.ebuild +++ /dev/null @@ -1,55 +0,0 @@ -# Copyright 1999-2003 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nessus-core/nessus-core-2.0.6a.ebuild,v 1.4 2003/07/17 07:27:39 phosphan Exp $ - -IUSE="tcpd X gtk gtk2" -S=${WORKDIR}/${PN} -DESCRIPTION="A remote security scanner for Linux (nessus-core)" -HOMEPAGE="http://www.nessus.org/" -SRC_URI="ftp://ftp.nessus.org/pub/nessus/nessus-${PV}/src/${P}.tar.gz" -DEPEND="=net-analyzer/libnasl-${PV} - tcpd? ( sys-apps/tcp-wrappers ) - X? ( x11-base/xfree ) - gtk? ( =x11-libs/gtk+-1.2* ) - gtk2? ( =x11-libs/gtk+-2* )" -SLOT="0" -LICENSE="GPL-2" -KEYWORDS="x86 ppc -sparc alpha" - -src_compile() { - local myconf - use X && myconf="--with-x" || myconf="--without-x" - if [ `use gtk` ]; then - myconf="${myconf} --enable-gtk" - elif [ `use gtk2` ]; then - myconf="${myconf} --enable-gtk" - else - myconf="${myconf} --disable-gtk" - fi - myconf="${myconf} `use_enable tcpd tcpwrappers`" - if [ ! -z $DEBUGBUILD ]; then - myconf="${myconf} --enable-debug" - else - myconf="${myconf} --disable-debug" - fi - econf ${myconf} || die "configure failed" - emake || die "emake failed" - -} - -src_install() { - make \ - prefix=${D}/usr \ - sysconfdir=${D}/etc \ - localstatedir=${D}/var/lib \ - mandir=${D}/usr/share/man \ - install || die "Install failed nessus-core" - cd ${S} - dodoc README* UPGRADE_README CHANGES - dodoc doc/*.txt doc/ntp/* - insinto /etc/init.d - insopts -m 755 - newins ${FILESDIR}/nessusd-r6 nessusd - keepdir /var/lib/nessus/logs - keepdir /var/lib/nessus/users -} diff --git a/net-analyzer/nessus-core/nessus-core-2.0.7.ebuild b/net-analyzer/nessus-core/nessus-core-2.0.7.ebuild index 586fe4e14cf9..c4e70d86ff18 100644 --- a/net-analyzer/nessus-core/nessus-core-2.0.7.ebuild +++ b/net-analyzer/nessus-core/nessus-core-2.0.7.ebuild @@ -1,24 +1,27 @@ # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nessus-core/nessus-core-2.0.7.ebuild,v 1.2 2003/07/17 08:38:57 phosphan Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nessus-core/nessus-core-2.0.7.ebuild,v 1.3 2003/08/03 03:23:17 vapier Exp $ -IUSE="tcpd X gtk gtk2" -S=${WORKDIR}/${PN} DESCRIPTION="A remote security scanner for Linux (nessus-core)" HOMEPAGE="http://www.nessus.org/" SRC_URI="ftp://ftp.nessus.org/pub/nessus/nessus-${PV}/src/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~ppc -sparc ~alpha" +IUSE="tcpd X gtk gtk2 debug" + DEPEND="=net-analyzer/libnasl-${PV} tcpd? ( sys-apps/tcp-wrappers ) X? ( x11-base/xfree ) gtk? ( =x11-libs/gtk+-1.2* ) gtk2? ( =x11-libs/gtk+-2* )" -SLOT="0" -LICENSE="GPL-2" -KEYWORDS="~x86 ~ppc -sparc ~alpha" + +S=${WORKDIR}/${PN} src_unpack() { unpack ${A} - patch -p0 < ${FILESDIR}/${PN}-${PV}.patch || die "patch failed" + epatch ${FILESDIR}/${PN}-${PV}.patch } src_compile() { @@ -32,7 +35,7 @@ src_compile() { myconf="${myconf} --disable-gtk" fi myconf="${myconf} `use_enable tcpd tcpwrappers`" - if [ ! -z $DEBUGBUILD ]; then + if [ `use debug` ]; then myconf="${myconf} --enable-debug" else myconf="${myconf} --disable-debug" |