yet another patch from the sf.net tracker
authorPetre Rodan <kaiowas@gentoo.org>
Mon, 28 Nov 2005 10:16:18 +0000 (10:16 +0000)
committerPetre Rodan <kaiowas@gentoo.org>
Mon, 28 Nov 2005 10:16:18 +0000 (10:16 +0000)
Package-Manager: portage-2.0.53_rc7

net-analyzer/nepenthes/ChangeLog
net-analyzer/nepenthes/Manifest
net-analyzer/nepenthes/files/digest-nepenthes-0.1.3-r2 [new file with mode: 0644]
net-analyzer/nepenthes/files/nepenthes-0.1.3_xor_and_additional_bindshell_patch.diff.bz2 [new file with mode: 0644]
net-analyzer/nepenthes/nepenthes-0.1.3-r2.ebuild [new file with mode: 0644]

index b5bbc2aeead7e3b0dbdfd8fdce7035cd590bc898..f075e61c20c8ef2f819e90c4888f2cb79c2f121c 100644 (file)
@@ -1,6 +1,13 @@
 # ChangeLog for net-analyzer/nepenthes
 # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nepenthes/ChangeLog,v 1.4 2005/11/24 13:12:00 kaiowas Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nepenthes/ChangeLog,v 1.5 2005/11/28 10:16:18 kaiowas Exp $
+
+*nepenthes-0.1.3-r2 (28 Nov 2005)
+
+  28 Nov 2005; petre rodan <kaiowas@gentoo.org>
+  +files/nepenthes-0.1.3_xor_and_additional_bindshell_patch.diff.bz2,
+  +nepenthes-0.1.3-r2.ebuild:
+  yet another patch from the sf.net tracker
 
 *nepenthes-0.1.3-r1 (24 Nov 2005)
 
index 66e7f081b15bdb995c48b9f6889b67aaf82b8ce0..bbef14ac0309bdbb7cedddca08730766a2f7d8a3 100644 (file)
@@ -1,19 +1,22 @@
 -----BEGIN PGP SIGNED MESSAGE-----
 Hash: SHA1
 
-MD5 0e8217cb89047de03df8455f50ea519b ChangeLog 905
+MD5 4d72da243de028c26e44737b16e6e4d9 ChangeLog 1133
 MD5 efe8deb0307daa08f8956fe1f29a61bd files/digest-nepenthes-0.1.2 68
 MD5 e70d90d840e9b0cf5a13a1d89579a12a files/digest-nepenthes-0.1.3-r1 67
+MD5 e70d90d840e9b0cf5a13a1d89579a12a files/digest-nepenthes-0.1.3-r2 67
 MD5 36de348442276c89753ddb1e44349744 files/nepenthes-0.1.3_logger_path.diff 1593
+MD5 5e20b2af7c7de3f437095f80c0e3c7fd files/nepenthes-0.1.3_xor_and_additional_bindshell_patch.diff.bz2 3381
 MD5 9f779f5117afae2b26f1e4fbff55ff4b files/nepenthes.confd 123
 MD5 1c20696c1b6d548688b9a9db60ad74c8 files/nepenthes.initd 538
 MD5 121e52302b508d741d68a51265135609 metadata.xml 387
 MD5 c40f13ca3d1b386950410d60c26d8363 nepenthes-0.1.2.ebuild 1801
 MD5 f5eba70ad4fb2ad4ce55afdde1a90a4b nepenthes-0.1.3-r1.ebuild 2243
+MD5 22bea974f2b45e7dabb3f971a43e82c0 nepenthes-0.1.3-r2.ebuild 2330
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.2.6 (GNU/Linux)
 
-iD8DBQFDhcEPGSBEIeh4AEYRAuV4AJ9tCoaEAiOcgKKFeaphjbaVlr+guwCeIKlw
-xWIScTI3XtE3SnWHTWXVNwU=
-=STEd
+iD4DBQFDisu5GSBEIeh4AEYRAk5mAJ9Kf/mSlKnjC7kxHF0jJgkfPSDjrACYo+qS
+z6AbhB8jFxlCAW16o+Kl4w==
+=qZE0
 -----END PGP SIGNATURE-----
diff --git a/net-analyzer/nepenthes/files/digest-nepenthes-0.1.3-r2 b/net-analyzer/nepenthes/files/digest-nepenthes-0.1.3-r2
new file mode 100644 (file)
index 0000000..981e530
--- /dev/null
@@ -0,0 +1 @@
+MD5 19ea7bb0f300d89ead1f3ce35728e53e nepenthes-0.1.3.tar.gz 774548
diff --git a/net-analyzer/nepenthes/files/nepenthes-0.1.3_xor_and_additional_bindshell_patch.diff.bz2 b/net-analyzer/nepenthes/files/nepenthes-0.1.3_xor_and_additional_bindshell_patch.diff.bz2
new file mode 100644 (file)
index 0000000..10429d8
Binary files /dev/null and b/net-analyzer/nepenthes/files/nepenthes-0.1.3_xor_and_additional_bindshell_patch.diff.bz2 differ
diff --git a/net-analyzer/nepenthes/nepenthes-0.1.3-r2.ebuild b/net-analyzer/nepenthes/nepenthes-0.1.3-r2.ebuild
new file mode 100644 (file)
index 0000000..cf9fe84
--- /dev/null
@@ -0,0 +1,78 @@
+# 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.3-r2.ebuild,v 1.1 2005/11/28 10:16:18 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.gz"
+
+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_compile() {
+       local myconf="--sysconfdir=/etc --localstatedir=/var/lib/nepenthes"
+#      use mysql && myconf="$myconf --with-mysql \
+#              --with-mysql-lib=/usr/$(get_libdir)/mysql --with-mysql-include=/usr/include/mysql" \
+#              || myconf="$myconf --without-mysql"
+#      use postgres && myconf="$myconf --with-postgre \
+#              --with-postgre-lib=/usr/$(get_libdir) --with-postgre-include=/usr/include" \
+#              || myconf="$myconf --without-postgre"
+
+       epatch ${FILESDIR}/nepenthes-0.1.3_logger_path.diff || die
+       epatch ${FILESDIR}/nepenthes-0.1.3_xor_and_additional_bindshell_patch.diff.bz2 || die
+
+       econf ${myconf} || die
+       emake || die "make failed"
+}
+
+src_install() {
+
+       einstall || die "make install failed"
+
+       for i in ${D}/etc/nepenthes/*; do
+               sed -i \
+                       -e 's|"var/binaries|"/var/lib/nepenthes/binaries|' \
+                       -e 's|"var/hexdumps|"/var/lib/nepenthes/hexdumps|' \
+                       -e 's|"var/cache/nepenthes|"/var/lib/nepenthes/cache|' \
+                       -e 's|"var/log|"/var/log/nepenthes|' \
+                       -e 's|"lib/nepenthes|"/usr/lib/nepenthes|' \
+                       -e 's|"etc|"/etc|' $i
+       done
+
+       dodoc doc/README doc/README.VFS AUTHORS
+       dosbin nepenthes-core/src/nepenthes || die "dosbin failed"
+       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}
+       newconfd ${FILESDIR}/${PN}.confd ${PN}
+
+       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
+       keepdir /var/lib/nepenthes/cache
+       keepdir /var/lib/nepenthes/cache/geolocation
+
+}
+