diff options
author | Petre Rodan <kaiowas@gentoo.org> | 2005-11-28 10:16:18 +0000 |
---|---|---|
committer | Petre Rodan <kaiowas@gentoo.org> | 2005-11-28 10:16:18 +0000 |
commit | 3eeeac1e30e09ae0f1feeee776dc5baac0d3916f (patch) | |
tree | 301a7429c927e97e02b6d5062e004c87b0ec36b9 /net-analyzer/nepenthes | |
parent | Version bump for 2.24, removed 2.17 and 2.20 (diff) | |
download | historical-3eeeac1e30e09ae0f1feeee776dc5baac0d3916f.tar.gz historical-3eeeac1e30e09ae0f1feeee776dc5baac0d3916f.tar.bz2 historical-3eeeac1e30e09ae0f1feeee776dc5baac0d3916f.zip |
yet another patch from the sf.net tracker
Package-Manager: portage-2.0.53_rc7
Diffstat (limited to 'net-analyzer/nepenthes')
-rw-r--r-- | net-analyzer/nepenthes/ChangeLog | 9 | ||||
-rw-r--r-- | net-analyzer/nepenthes/Manifest | 11 | ||||
-rw-r--r-- | net-analyzer/nepenthes/files/digest-nepenthes-0.1.3-r2 | 1 | ||||
-rw-r--r-- | net-analyzer/nepenthes/files/nepenthes-0.1.3_xor_and_additional_bindshell_patch.diff.bz2 | bin | 0 -> 3381 bytes | |||
-rw-r--r-- | net-analyzer/nepenthes/nepenthes-0.1.3-r2.ebuild | 78 |
5 files changed, 94 insertions, 5 deletions
diff --git a/net-analyzer/nepenthes/ChangeLog b/net-analyzer/nepenthes/ChangeLog index b5bbc2aeead7..f075e61c20c8 100644 --- a/net-analyzer/nepenthes/ChangeLog +++ b/net-analyzer/nepenthes/ChangeLog @@ -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) diff --git a/net-analyzer/nepenthes/Manifest b/net-analyzer/nepenthes/Manifest index 66e7f081b15b..bbef14ac0309 100644 --- a/net-analyzer/nepenthes/Manifest +++ b/net-analyzer/nepenthes/Manifest @@ -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 index 000000000000..981e53015270 --- /dev/null +++ b/net-analyzer/nepenthes/files/digest-nepenthes-0.1.3-r2 @@ -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 Binary files differnew file mode 100644 index 000000000000..10429d8a8ab1 --- /dev/null +++ b/net-analyzer/nepenthes/files/nepenthes-0.1.3_xor_and_additional_bindshell_patch.diff.bz2 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 index 000000000000..cf9fe84e7967 --- /dev/null +++ b/net-analyzer/nepenthes/nepenthes-0.1.3-r2.ebuild @@ -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 + +} + |