summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetre Rodan <kaiowas@gentoo.org>2005-09-14 10:53:16 +0000
committerPetre Rodan <kaiowas@gentoo.org>2005-09-14 10:53:16 +0000
commitafc95ef1bbbcf51613b2379309a463eedc9d525e (patch)
treef7bcc062a206fb125c732f8b2cddde1455fa999d /net-analyzer
parentVersion bump (diff)
downloadgentoo-2-afc95ef1bbbcf51613b2379309a463eedc9d525e.tar.gz
gentoo-2-afc95ef1bbbcf51613b2379309a463eedc9d525e.tar.bz2
gentoo-2-afc95ef1bbbcf51613b2379309a463eedc9d525e.zip
version bump
(Portage version: 2.0.52-r1)
Diffstat (limited to 'net-analyzer')
-rw-r--r--net-analyzer/nepenthes/Manifest18
-rw-r--r--net-analyzer/nepenthes/files/digest-nepenthes-0.1.21
-rw-r--r--net-analyzer/nepenthes/nepenthes-0.1.2.ebuild66
3 files changed, 72 insertions, 13 deletions
diff --git a/net-analyzer/nepenthes/Manifest b/net-analyzer/nepenthes/Manifest
index 83044bea40ea..955dd3d6bff2 100644
--- a/net-analyzer/nepenthes/Manifest
+++ b/net-analyzer/nepenthes/Manifest
@@ -1,17 +1,9 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
+MD5 121e52302b508d741d68a51265135609 metadata.xml 387
MD5 01b4875d75bfe246ad16d3c8fde97f23 ChangeLog 428
+MD5 5c937dbc7f597effd30fdba0983e668d nepenthes-0.1.1.ebuild 1947
+MD5 60f0441ac5251dd546b389e4ed5747ca nepenthes-0.1.2.ebuild 1747
MD5 1f59aae5e0641b494e1ce286b9f2a341 files/digest-nepenthes-0.1.1 68
-MD5 a8d80c4c2501a34c72e31e2a5315c014 files/magic.patch 694
MD5 9f779f5117afae2b26f1e4fbff55ff4b files/nepenthes.confd 123
MD5 1c20696c1b6d548688b9a9db60ad74c8 files/nepenthes.initd 538
-MD5 121e52302b508d741d68a51265135609 metadata.xml 387
-MD5 5c937dbc7f597effd30fdba0983e668d nepenthes-0.1.1.ebuild 1947
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.2 (GNU/Linux)
-
-iD8DBQFDIf8TI1lqEGTUzyQRAjb4AJ4xHbO2FvF9QYAe6qa3gHWGnvlq8gCgrYUo
-1i0xRLhC7ntGSzYKRGzwteE=
-=TnWa
------END PGP SIGNATURE-----
+MD5 a8d80c4c2501a34c72e31e2a5315c014 files/magic.patch 694
+MD5 efe8deb0307daa08f8956fe1f29a61bd files/digest-nepenthes-0.1.2 68
diff --git a/net-analyzer/nepenthes/files/digest-nepenthes-0.1.2 b/net-analyzer/nepenthes/files/digest-nepenthes-0.1.2
new file mode 100644
index 000000000000..18727314a088
--- /dev/null
+++ b/net-analyzer/nepenthes/files/digest-nepenthes-0.1.2
@@ -0,0 +1 @@
+MD5 395d41281ca541c276576a1e4a3c7b2b nepenthes-0.1.2.tar.bz2 431647
diff --git a/net-analyzer/nepenthes/nepenthes-0.1.2.ebuild b/net-analyzer/nepenthes/nepenthes-0.1.2.ebuild
new file mode 100644
index 000000000000..3d660177adc5
--- /dev/null
+++ b/net-analyzer/nepenthes/nepenthes-0.1.2.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nepenthes/nepenthes-0.1.2.ebuild,v 1.1 2005/09/14 10:53:16 kaiowas Exp $
+
+inherit eutils
+
+DESCRIPTION="Nepenthes is a low interaction honeypot that captures worms by emulating known vulnerabilities"
+HOMEPAGE="http://nepenthes.sourceforge.net"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE="selinux"
+
+DEPEND="net-misc/curl
+ sys-apps/file
+ dev-libs/libpcre
+ net-libs/adns"
+
+RDEPEND=""
+#RDEPEND=" selinux? ( sec-policy/selinux-nepenthes )"
+
+pkg_setup() {
+ enewgroup nepenthes
+ enewuser nepenthes -1 -1 /dev/null nepenthes
+}
+
+src_unpack() {
+ unpack ${P}.tar.bz2
+
+ sed -i 's|var/log/nepenthes.log|/var/log/nepenthes/nepenthes.log|' "${S}/nepenthes-core/src/Nepenthes.cpp"
+ sed -i 's|var/log/hexdumps/|/var/lib/nepenthes/hexdumps/|' "${S}/nepenthes-core/src/Utilities.cpp"
+}
+
+src_compile() {
+ econf --sysconfdir=/etc --localstatedir=/var/lib/nepenthes || die
+ emake || die "make failed"
+}
+
+src_install() {
+ dodoc doc/README doc/README.VFS AUTHORS
+ dosbin nepenthes-core/src/nepenthes || die "dosbin failed"
+
+ make DESTDIR="${D}" install || die "make install failed"
+
+ for i in ${D}/etc/nepenthes/*; do
+ sed -i 's|"var/binaries|"/var/lib/nepenthes/binaries|;s|"var/log|"/var/log/nepenthes|;s|"lib/nepenthes|"/usr/lib/nepenthes|;s|"etc|"/etc|' $i
+ done
+
+ rm ${D}/usr/bin/nepenthes
+ rm ${D}/usr/share/doc/README
+ rm ${D}/usr/share/doc/README.VFS
+ rm ${D}/usr/share/doc/logo-shaded.svg
+
+ newinitd ${FILESDIR}/${PN}.initd ${PN} || die
+ newconfd ${FILESDIR}/${PN}.confd ${PN} || die
+
+ diropts -m 755 -o nepenthes -g nepenthes
+ keepdir /var/log/nepenthes
+ keepdir /var/lib/nepenthes
+ keepdir /var/lib/nepenthes/binaries
+ keepdir /var/lib/nepenthes/hexdumps
+
+}
+