diff options
author | Achim Gottinger <achim@gentoo.org> | 2000-09-20 16:11:12 +0000 |
---|---|---|
committer | Achim Gottinger <achim@gentoo.org> | 2000-09-20 16:11:12 +0000 |
commit | 2ee316b12037c93fb6271c7fbf4a7da1274e0496 (patch) | |
tree | 3d42d044c4a77b1d2f9b1fe07bb6031f649d4652 /net-analyzer/nessus | |
parent | *** empty log message *** (diff) | |
download | historical-2ee316b12037c93fb6271c7fbf4a7da1274e0496.tar.gz historical-2ee316b12037c93fb6271c7fbf4a7da1274e0496.tar.bz2 historical-2ee316b12037c93fb6271c7fbf4a7da1274e0496.zip |
*** empty log message ***
Diffstat (limited to 'net-analyzer/nessus')
-rw-r--r-- | net-analyzer/nessus/files/digest-nessus-1.0.4-r1 | 5 | ||||
-rw-r--r-- | net-analyzer/nessus/files/digest-nessus-1.0.5 | 5 | ||||
-rwxr-xr-x | net-analyzer/nessus/files/nessusd | 33 | ||||
-rw-r--r-- | net-analyzer/nessus/nessus-1.0.5.ebuild (renamed from net-analyzer/nessus/nessus-1.0.4-r1.ebuild) | 28 |
4 files changed, 49 insertions, 22 deletions
diff --git a/net-analyzer/nessus/files/digest-nessus-1.0.4-r1 b/net-analyzer/nessus/files/digest-nessus-1.0.4-r1 deleted file mode 100644 index 80fa82965a3c..000000000000 --- a/net-analyzer/nessus/files/digest-nessus-1.0.4-r1 +++ /dev/null @@ -1,5 +0,0 @@ -MD5 1fe60e282532c6018ed402a275903c15 nessus-libraries-1.0.4.tar.gz -MD5 b6d66f613b3c45526195df9e0087dd63 nessus-core-1.0.4.tar.gz -MD5 dc6a2758761428f3bf66d0a06806d66a nessus-plugins-1.0.4.tar.gz -MD5 3a91b6d6a42b8b73124990a13bbd0da2 libnasl-1.0.4.tar.gz -MD5 a5588935d8d656de4ac3b95e8d3484ea libnasl-patch-1 diff --git a/net-analyzer/nessus/files/digest-nessus-1.0.5 b/net-analyzer/nessus/files/digest-nessus-1.0.5 new file mode 100644 index 000000000000..30d6a61a8e14 --- /dev/null +++ b/net-analyzer/nessus/files/digest-nessus-1.0.5 @@ -0,0 +1,5 @@ +MD5 f34c510ab6e05119b3d6cf66558adb7d nessus-libraries-1.0.5.tar.gz +MD5 e5636b91642588c4bff8c69b582e3e01 nessus-core-1.0.5.tar.gz +MD5 a805e3195d52353beffb74900052ddaa nessus-plugins-1.0.5.tar.gz +MD5 cd64d77103817b562e0c4e8a77b8856e libnasl-1.0.5.tar.gz +MD5 a5588935d8d656de4ac3b95e8d3484ea libnasl-patch-1 diff --git a/net-analyzer/nessus/files/nessusd b/net-analyzer/nessus/files/nessusd new file mode 100755 index 000000000000..c81a4ffa2ec8 --- /dev/null +++ b/net-analyzer/nessus/files/nessusd @@ -0,0 +1,33 @@ +#!/bin/sh +#RCUPDATE:2 3 4:75:This line is required for script management + +. /etc/rc.d/config/functions + +SERVICE="Nessus" +opts="start stop restart" + +EXE=/usr/sbin/nessusd + +start() { + + ebegin "Starting $SERVICE..." + start-stop-daemon --start --quiet --exec $EXE + eend $? "Started $SERVICE." "Error Starting $SERVICE." +} + +stop() { + ebegin "Stopping $SERVICE..." + start-stop-daemon --stop --quiet --exec $EXE + eend $? "Stopped $SERVICE." "Error Stopping $SERVICE." +} + +restart() { + + stop + start + +} + +doservice ${@} + + diff --git a/net-analyzer/nessus/nessus-1.0.4-r1.ebuild b/net-analyzer/nessus/nessus-1.0.5.ebuild index 11da834878af..7f299c3edca3 100644 --- a/net-analyzer/nessus/nessus-1.0.4-r1.ebuild +++ b/net-analyzer/nessus/nessus-1.0.5.ebuild @@ -3,27 +3,17 @@ # It's better to split it in four different packages -P=nessus-1.0.4 -A="nessus-libraries-1.0.4.tar.gz nessus-core-1.0.4.tar.gz - nessus-plugins-1.0.4.tar.gz libnasl-1.0.4.tar.gz libnasl-patch-1" +A="nessus-libraries-${PV}.tar.gz nessus-core-${PV}.tar.gz + nessus-plugins-${PV}.tar.gz libnasl-${PV}.tar.gz" S=${WORKDIR} -DESCRIPTION="Nessus" -SRC_URI="ftp://ftp.nessus.org/pub/nessus/nessus-1.0.4/src/nessus-libraries-1.0.4.tar.gz - ftp://ftp.nessus.org/pub/nessus/nessus-1.0.4/src/nessus-core-1.0.4.tar.gz - ftp://ftp.nessus.org/pub/nessus/nessus-1.0.4/src/nessus-plugins-1.0.4.tar.gz - ftp://ftp.nessus.org/pub/nessus/nessus-1.0.4/src/libnasl-1.0.4.tar.gz - ftp://ftp.nessus.org/pub/nessus/nessus-1.0.4/src/libnasl-patch-1" +DESCRIPTION="A remote security scanner for Linux" +SRC_URI="ftp://ftp.nessus.org/pub/nessus/nessus-${PV}/src/nessus-libraries-${PV}.tar.gz + ftp://ftp.nessus.org/pub/nessus/nessus-${PV}/src/nessus-core-${PV}.tar.gz + ftp://ftp.nessus.org/pub/nessus/nessus-${PV}/src/nessus-plugins-${PV}.tar.gz + ftp://ftp.nessus.org/pub/nessus/nessus-${PV}/src/libnasl-${PV}.tar.gz" HOMEPAGE="http://www.nessus.org/" -src_unpack () { - unpack nessus-libraries-1.0.4.tar.gz - unpack nessus-core-1.0.4.tar.gz - unpack nessus-plugins-1.0.4.tar.gz - unpack libnasl-1.0.4.tar.gz - cd ${S}/libnasl/nasl - patch -p0 < ${DISTDIR}/libnasl-patch-1 -} src_compile() { export PATH=${D}/usr/bin:$PATH @@ -93,6 +83,10 @@ src_install() { docinto nessus-plugins dodoc docs/*.txt plugins/accounts/accounts.txt prepman + + insinto /etc/rc.d/init.d + insopts -m 755 + doins ${FILESDIR}/nessusd } |