diff options
-rw-r--r-- | net-analyzer/nepenthes/ChangeLog | 11 | ||||
-rw-r--r-- | net-analyzer/nepenthes/Manifest | 18 | ||||
-rw-r--r-- | net-analyzer/nepenthes/files/digest-nepenthes-0.1.3-r1 | 1 | ||||
-rw-r--r-- | net-analyzer/nepenthes/files/digest-nepenthes-0.1.3-r2 | 1 | ||||
-rw-r--r-- | net-analyzer/nepenthes/files/digest-nepenthes-0.1.5 | 1 | ||||
-rw-r--r-- | net-analyzer/nepenthes/files/nepenthes-0.1.3_logger_path.diff | 76 | ||||
-rw-r--r-- | net-analyzer/nepenthes/files/nepenthes-0.1.3_xor_and_additional_bindshell_patch.diff.bz2 | bin | 3381 -> 0 bytes | |||
-rw-r--r-- | net-analyzer/nepenthes/nepenthes-0.1.3-r2.ebuild | 78 | ||||
-rw-r--r-- | net-analyzer/nepenthes/nepenthes-0.1.5.ebuild (renamed from net-analyzer/nepenthes/nepenthes-0.1.3-r1.ebuild) | 6 |
9 files changed, 15 insertions, 177 deletions
diff --git a/net-analyzer/nepenthes/ChangeLog b/net-analyzer/nepenthes/ChangeLog index ea031702f725..a1a42140bda8 100644 --- a/net-analyzer/nepenthes/ChangeLog +++ b/net-analyzer/nepenthes/ChangeLog @@ -1,6 +1,15 @@ # 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.6 2005/12/02 20:39:59 kaiowas Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nepenthes/ChangeLog,v 1.7 2005/12/20 19:16:25 kaiowas Exp $ + +*nepenthes-0.1.5 (20 Dec 2005) + + 20 Dec 2005; petre rodan <kaiowas@gentoo.org> + -files/nepenthes-0.1.3_logger_path.diff, + -files/nepenthes-0.1.3_xor_and_additional_bindshell_patch.diff.bz2, + -nepenthes-0.1.3-r1.ebuild, -nepenthes-0.1.3-r2.ebuild, + +nepenthes-0.1.5.ebuild: + version bump *nepenthes-0.1.4 (02 Dec 2005) diff --git a/net-analyzer/nepenthes/Manifest b/net-analyzer/nepenthes/Manifest index f90dce126573..2c2495c2e59c 100644 --- a/net-analyzer/nepenthes/Manifest +++ b/net-analyzer/nepenthes/Manifest @@ -1,22 +1,8 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - MD5 e62276b23fdba49e061d07b2d7c0ee50 ChangeLog 1281 -MD5 e70d90d840e9b0cf5a13a1d89579a12a files/digest-nepenthes-0.1.3-r1 67 -MD5 e70d90d840e9b0cf5a13a1d89579a12a files/digest-nepenthes-0.1.3-r2 67 MD5 654afc1f2eb8f0994568b6d7df35c428 files/digest-nepenthes-0.1.4 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 cbec0db31276274f6101a9ab9cc625b3 files/digest-nepenthes-0.1.5 68 MD5 9f779f5117afae2b26f1e4fbff55ff4b files/nepenthes.confd 123 MD5 1c20696c1b6d548688b9a9db60ad74c8 files/nepenthes.initd 538 MD5 121e52302b508d741d68a51265135609 metadata.xml 387 -MD5 f5eba70ad4fb2ad4ce55afdde1a90a4b nepenthes-0.1.3-r1.ebuild 2243 -MD5 22bea974f2b45e7dabb3f971a43e82c0 nepenthes-0.1.3-r2.ebuild 2330 MD5 cfc92c45c39b90b809943583a8f6d67d nepenthes-0.1.4.ebuild 2179 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.2.6 (GNU/Linux) - -iD4DBQFDkLu8GSBEIeh4AEYRAnMgAJ4xmJRJnKmT7CQqlkYA66lufFnvngCWMCCr -eqadBYZ/48RWyxAE9+288A== -=Lvm6 ------END PGP SIGNATURE----- +MD5 ba3eb7de801017548ced6d31aeab889b nepenthes-0.1.5.ebuild 2180 diff --git a/net-analyzer/nepenthes/files/digest-nepenthes-0.1.3-r1 b/net-analyzer/nepenthes/files/digest-nepenthes-0.1.3-r1 deleted file mode 100644 index 981e53015270..000000000000 --- a/net-analyzer/nepenthes/files/digest-nepenthes-0.1.3-r1 +++ /dev/null @@ -1 +0,0 @@ -MD5 19ea7bb0f300d89ead1f3ce35728e53e nepenthes-0.1.3.tar.gz 774548 diff --git a/net-analyzer/nepenthes/files/digest-nepenthes-0.1.3-r2 b/net-analyzer/nepenthes/files/digest-nepenthes-0.1.3-r2 deleted file mode 100644 index 981e53015270..000000000000 --- a/net-analyzer/nepenthes/files/digest-nepenthes-0.1.3-r2 +++ /dev/null @@ -1 +0,0 @@ -MD5 19ea7bb0f300d89ead1f3ce35728e53e nepenthes-0.1.3.tar.gz 774548 diff --git a/net-analyzer/nepenthes/files/digest-nepenthes-0.1.5 b/net-analyzer/nepenthes/files/digest-nepenthes-0.1.5 new file mode 100644 index 000000000000..40b83b3c0668 --- /dev/null +++ b/net-analyzer/nepenthes/files/digest-nepenthes-0.1.5 @@ -0,0 +1 @@ +MD5 3279378a2f3f5a2eace79bf2774aab85 nepenthes-0.1.5.tar.bz2 468625 diff --git a/net-analyzer/nepenthes/files/nepenthes-0.1.3_logger_path.diff b/net-analyzer/nepenthes/files/nepenthes-0.1.3_logger_path.diff deleted file mode 100644 index 6a5388016743..000000000000 --- a/net-analyzer/nepenthes/files/nepenthes-0.1.3_logger_path.diff +++ /dev/null @@ -1,76 +0,0 @@ -Index: nepenthes-core/include/FileLogger.hpp -=================================================================== ---- nepenthes-core/include/FileLogger.hpp (Revision 2145) -+++ nepenthes-core/include/FileLogger.hpp (Arbeitskopie) -@@ -47,7 +47,7 @@ - virtual void setLogFile(const char *filename); - - private: -- const char *m_Filename; -+ char *m_Filename; - }; - - } -Index: nepenthes-core/src/FileLogger.cpp -=================================================================== ---- nepenthes-core/src/FileLogger.cpp (Revision 2145) -+++ nepenthes-core/src/FileLogger.cpp (Arbeitskopie) -@@ -51,12 +51,18 @@ - - FileLogger::~FileLogger() - { -+ if( m_Filename != NULL) -+ free(m_Filename); -+ - } - - - void FileLogger::setLogFile(const char *filename) - { -- m_Filename = filename; -+ if( m_Filename != NULL) -+ free(m_Filename); -+ -+ m_Filename = strdup(filename); - } - - -Index: nepenthes-core/src/RingFileLogger.cpp -=================================================================== ---- nepenthes-core/src/RingFileLogger.cpp (Revision 2145) -+++ nepenthes-core/src/RingFileLogger.cpp (Arbeitskopie) -@@ -57,14 +57,31 @@ - - RingFileLogger::~RingFileLogger() - { -- free(m_FirstFile); -+ if (m_FileFormat != NULL) -+ { -+ free(m_FileFormat); -+ } -+ -+ if (m_FirstFile != NULL) -+ { -+ free(m_FirstFile); -+ } - } - - - void RingFileLogger::setLogFileFormat(char *fmt) - { -- m_FileFormat = fmt; -- free(m_FirstFile); -+ if (m_FileFormat != NULL) -+ { -+ free(m_FileFormat); -+ } -+ m_FileFormat = strdup(fmt); -+ -+ -+ if (m_FirstFile != NULL) -+ { -+ free(m_FirstFile); -+ } - asprintf(&m_FirstFile, m_FileFormat, 0); - } - 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 differdeleted file mode 100644 index 10429d8a8ab1..000000000000 --- a/net-analyzer/nepenthes/files/nepenthes-0.1.3_xor_and_additional_bindshell_patch.diff.bz2 +++ /dev/null diff --git a/net-analyzer/nepenthes/nepenthes-0.1.3-r2.ebuild b/net-analyzer/nepenthes/nepenthes-0.1.3-r2.ebuild deleted file mode 100644 index cf9fe84e7967..000000000000 --- a/net-analyzer/nepenthes/nepenthes-0.1.3-r2.ebuild +++ /dev/null @@ -1,78 +0,0 @@ -# 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 - -} - diff --git a/net-analyzer/nepenthes/nepenthes-0.1.3-r1.ebuild b/net-analyzer/nepenthes/nepenthes-0.1.5.ebuild index fff52fdd5847..731a8c4ef72d 100644 --- a/net-analyzer/nepenthes/nepenthes-0.1.3-r1.ebuild +++ b/net-analyzer/nepenthes/nepenthes-0.1.5.ebuild @@ -1,12 +1,12 @@ # 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-r1.ebuild,v 1.1 2005/11/24 13:12:00 kaiowas Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nepenthes/nepenthes-0.1.5.ebuild,v 1.1 2005/12/20 19:16:25 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" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" LICENSE="GPL-2" SLOT="0" @@ -35,8 +35,6 @@ src_compile() { # --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 - econf ${myconf} || die emake || die "make failed" } |