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/nessus-1.0.4-r1.ebuild | |
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/nessus-1.0.4-r1.ebuild')
-rw-r--r-- | net-analyzer/nessus/nessus-1.0.4-r1.ebuild | 100 |
1 files changed, 0 insertions, 100 deletions
diff --git a/net-analyzer/nessus/nessus-1.0.4-r1.ebuild b/net-analyzer/nessus/nessus-1.0.4-r1.ebuild deleted file mode 100644 index 11da834878af..000000000000 --- a/net-analyzer/nessus/nessus-1.0.4-r1.ebuild +++ /dev/null @@ -1,100 +0,0 @@ -#Copyright 2000 Achim Gottinger -#Distributed under the GPL - -# 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" -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" - -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 - export LD_LIBRARY_PATH=${D}/usr/lib:$LD_LIBRARY_PATH - echo "Compiling libraries..." - cd ${S}/nessus-libraries - try ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var/state - try make - try make prefix=${D}/usr sysconfdir=${D}/etc localstatedir=${D}/var/state install - cd ${D}/usr/bin - cp nessus-config nessus-config.orig - sed -e "s:^PREFIX=:PREFIX=${D}:" \ - -e "s:-I/usr:-I${D}/usr: " nessus-config.orig > nessus-config - - echo "Compiling libnasl..." - cd ${S}/libnasl - try ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var/state - try make - try make prefix=${D}/usr sysconfdir=${D}/etc localstatedir=${D}/var/state install - cd ${D}/usr/bin - cp nasl-config nasl-config.orig - sed -e "s:^PREFIX=:PREFIX=${D}:" nasl-config.orig > nasl-config - - echo "Compiling core..." - cd ${S}/nessus-core - try ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var/state - try make - try make prefix=${D}/usr sysconfdir=${D}/etc localstatedir=${D}/var/state install - - - echo "Compiling plugins..." - cd ${S}/nessus-plugins - try ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var/state - try make - try make prefix=${D}/usr sysconfdir=${D}/etc localstatedir=${D}/var/state install - -} - -src_install() { - cd ${S}/nessus-libraries - try make prefix=${D}/usr sysconfdir=${D}/etc localstatedir=${D}/var/state install - - cd ${S}/libnasl - try make prefix=${D}/usr sysconfdir=${D}/etc localstatedir=${D}/var/state install - - cd ${S}/nessus-core - try make prefix=${D}/usr sysconfdir=${D}/etc localstatedir=${D}/var/state install - cp ${ROOT}/config/nessusd.conf ${D}/etc/nessus/ - - cd ${S}/nessus-plugins - try make prefix=${D}/usr sysconfdir=${D}/etc localstatedir=${D}/var/state install - - cd ${S}/nessus-libraries - docinto nessus-libraries - dodoc README* - - cd ${S}/libnasl - docinto libnasl - dodoc COPYING TODO - - cd ${S}/nessus-core - docinto nessus-core - dodoc README* UPGRADE_README CHANGES - dodoc doc/*.txt doc/ntp/* - - cd ${S}/nessus-plugins - docinto nessus-plugins - dodoc docs/*.txt plugins/accounts/accounts.txt - prepman -} - - - - |