summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /net-analyzer/nepenthes
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'net-analyzer/nepenthes')
-rw-r--r--net-analyzer/nepenthes/Manifest2
-rw-r--r--net-analyzer/nepenthes/files/nepenthes-0.2.2-Werror.patch649
-rw-r--r--net-analyzer/nepenthes/files/nepenthes-0.2.2-cachedir.patch11
-rw-r--r--net-analyzer/nepenthes/files/nepenthes-0.2.2-curl_types_h.patch70
-rw-r--r--net-analyzer/nepenthes/files/nepenthes-0.2.2-gcc4.patch26
-rw-r--r--net-analyzer/nepenthes/files/nepenthes-0.2.2-libdir.patch16
-rw-r--r--net-analyzer/nepenthes/files/nepenthes-0.2.2-sysconfdir.patch77
-rw-r--r--net-analyzer/nepenthes/files/nepenthes.confd5
-rw-r--r--net-analyzer/nepenthes/files/nepenthes.initd21
-rw-r--r--net-analyzer/nepenthes/metadata.xml12
-rw-r--r--net-analyzer/nepenthes/nepenthes-0.2.2-r1.ebuild75
-rw-r--r--net-analyzer/nepenthes/nepenthes-0.2.2.ebuild82
12 files changed, 1046 insertions, 0 deletions
diff --git a/net-analyzer/nepenthes/Manifest b/net-analyzer/nepenthes/Manifest
new file mode 100644
index 000000000000..fed5a4b24987
--- /dev/null
+++ b/net-analyzer/nepenthes/Manifest
@@ -0,0 +1,2 @@
+DIST nepenthes-0.2.2-gcc44.patch.bz2 1786 SHA256 2e8ecf67df2f90273a8b29a3dae0e7f9afef7ddd279a5e7981362dc1d4c12e83 SHA512 d77ea31971bcbff261e28242a59f1e2351136aae6c3e809dc827045ce8e4cfe5b67b9c12a1e3b3a04868bdbcdbd37e5bc7aaeee334838a8f485500914b3b0c6e WHIRLPOOL 33d149aae88bccc5c8d595641462654d5bc915e4c6d853ee507a28719275ac8dd2bdc885ae3181eefed229d747fdeab78bdc4eb39d77007179b7c9f494178901
+DIST nepenthes-0.2.2.tar.bz2 580491 SHA256 70d4ec64a3651eba18e2aa623326c27d888d588f75525fe87577a5eb28ae6a12 SHA512 b22d139a22aef2648a3d9e87e425f1d02404e30126eb7265ef2d584e1b5db62cc8cb92027212394576bedf53b3692ded7a2b6b3544c03f0828faf94c9553b70d WHIRLPOOL 769f4c4a561465c7baf82afd12d7f862ad4faea82c436bf81aeb947d215a4e36ccbc73aedef396945647972234a0ab949d2f02b0874bc3c570a88a5181ca40a9
diff --git a/net-analyzer/nepenthes/files/nepenthes-0.2.2-Werror.patch b/net-analyzer/nepenthes/files/nepenthes-0.2.2-Werror.patch
new file mode 100644
index 000000000000..3037e85e875a
--- /dev/null
+++ b/net-analyzer/nepenthes/files/nepenthes-0.2.2-Werror.patch
@@ -0,0 +1,649 @@
+--- a/nepenthes-core/src/Makefile.am
++++ b/nepenthes-core/src/Makefile.am
+@@ -4,7 +4,7 @@
+
+ AUTOMAKE_OPTIONS = foreign
+
+-AM_CPPFLAGS = -I../include -I ../.. -Wall -Werror
++AM_CPPFLAGS = -I../include -I ../.. -Wall
+ AM_LDFLAGS = ${LIB_MAGIC} ${LIB_CAP} ${LIB_DL}
+
+ bin_PROGRAMS = nepenthes
+--- a/modules/x-3/Makefile.am
++++ b/modules/x-3/Makefile.am
+@@ -5,7 +5,7 @@
+ AUTOMAKE_OPTIONS = foreign
+
+ AM_CPPFLAGS = -I$(top_srcdir)/nepenthes-core/include -I$(top_srcdir)/nepenthes-core/src -pipe -D _GNU_SOURCE
+-AM_CXXFLAGS = -Wall -Werror
++AM_CXXFLAGS = -Wall
+
+
+ pkglib_LTLIBRARIES = x3.la
+--- a/modules/vuln-ftpd/Makefile.am
++++ b/modules/vuln-ftpd/Makefile.am
+@@ -5,7 +5,7 @@
+ AUTOMAKE_OPTIONS = foreign
+
+ AM_CPPFLAGS = -I$(top_srcdir)/nepenthes-core/include -I$(top_srcdir)/nepenthes-core/src -pipe -D _GNU_SOURCE
+-AM_CXXFLAGS = -Wall -Werror
++AM_CXXFLAGS = -Wall
+
+
+ pkglib_LTLIBRARIES = vulnftpd.la
+--- a/modules/download-link/Makefile.am
++++ b/modules/download-link/Makefile.am
+@@ -5,7 +5,7 @@
+ AUTOMAKE_OPTIONS = foreign
+
+ AM_CPPFLAGS = -I$(top_srcdir)/nepenthes-core/include -I$(top_srcdir)/nepenthes-core/src -pipe -D _GNU_SOURCE
+-AM_CXXFLAGS = -Wall -Werror
++AM_CXXFLAGS = -Wall
+
+
+ pkglib_LTLIBRARIES = downloadlink.la
+--- a/modules/vuln-netbiosname/Makefile.am
++++ b/modules/vuln-netbiosname/Makefile.am
+@@ -5,7 +5,7 @@
+ AUTOMAKE_OPTIONS = foreign
+
+ AM_CPPFLAGS = -I$(top_srcdir)/nepenthes-core/include -I$(top_srcdir)/nepenthes-core/src -pipe -D _GNU_SOURCE
+-AM_CXXFLAGS = -Wall -Werror
++AM_CXXFLAGS = -Wall
+
+
+ pkglib_LTLIBRARIES = vulnnetbiosname.la
+--- a/modules/submit-http/Makefile.am
++++ b/modules/submit-http/Makefile.am
+@@ -1,7 +1,7 @@
+ AUTOMAKE_OPTIONS = foreign
+
+ AM_CPPFLAGS = -I$(top_srcdir)/nepenthes-core/include -I$(top_srcdir)/nepenthes-core/src -pipe -D _GNU_SOURCE
+-AM_CXXFLAGS = -Wall -Werror
++AM_CXXFLAGS = -Wall
+
+ AM_LDFLAGS = $(LIB_CURL)
+
+--- a/modules/download-creceive/Makefile.am
++++ b/modules/download-creceive/Makefile.am
+@@ -5,7 +5,7 @@
+ AUTOMAKE_OPTIONS = foreign
+
+ AM_CPPFLAGS = -I$(top_srcdir)/nepenthes-core/include -I$(top_srcdir)/nepenthes-core/src -pipe -D _GNU_SOURCE
+-AM_CXXFLAGS = -Wall -Werror
++AM_CXXFLAGS = -Wall
+
+
+ pkglib_LTLIBRARIES = downloadcreceive.la
+--- a/modules/module-bridge/Makefile.am
++++ b/modules/module-bridge/Makefile.am
+@@ -5,7 +5,7 @@
+ AUTOMAKE_OPTIONS = foreign
+
+ AM_CPPFLAGS = -I$(top_srcdir)/nepenthes-core/include -I$(top_srcdir)/nepenthes-core/src -pipe -D _GNU_SOURCE
+-AM_CXXFLAGS = -Wall -Werror
++AM_CXXFLAGS = -Wall
+
+
+ pkglib_LTLIBRARIES = modulebridge.la
+--- a/modules/vuln-sub7/Makefile.am
++++ b/modules/vuln-sub7/Makefile.am
+@@ -5,7 +5,7 @@
+ AUTOMAKE_OPTIONS = foreign
+
+ AM_CPPFLAGS = -I$(top_srcdir)/nepenthes-core/include -I$(top_srcdir)/nepenthes-core/src -pipe -D _GNU_SOURCE
+-AM_CXXFLAGS = -Wall -Werror
++AM_CXXFLAGS = -Wall
+
+
+ pkglib_LTLIBRARIES = vulnsub7.la
+--- a/modules/x-9/Makefile.am
++++ b/modules/x-9/Makefile.am
+@@ -5,7 +5,7 @@
+ AUTOMAKE_OPTIONS = foreign
+
+ AM_CPPFLAGS = -I$(top_srcdir)/nepenthes-core/include -I$(top_srcdir)/nepenthes-core/src -pipe -D _GNU_SOURCE
+-AM_CXXFLAGS = -Wall -Werror
++AM_CXXFLAGS = -Wall
+
+
+ pkglib_LTLIBRARIES = x9.la
+--- a/modules/module-honeytrap/Makefile.am
++++ b/modules/module-honeytrap/Makefile.am
+@@ -5,7 +5,7 @@
+ AUTOMAKE_OPTIONS = foreign
+
+ AM_CPPFLAGS = -I$(top_srcdir)/nepenthes-core/include -I$(top_srcdir)/nepenthes-core/src -pipe -D _GNU_SOURCE -I/usr/include/libipq
+-AM_CXXFLAGS = -Wall -Werror
++AM_CXXFLAGS = -Wall
+ AM_LDFLAGS = ${LIB_PCAP} ${LIB_IPQ}
+
+ pkglib_LTLIBRARIES = modulehoneytrap.la
+--- a/modules/x-6/Makefile.am
++++ b/modules/x-6/Makefile.am
+@@ -5,7 +5,7 @@
+ AUTOMAKE_OPTIONS = foreign
+
+ AM_CPPFLAGS = -I$(top_srcdir)/nepenthes-core/include -I$(top_srcdir)/nepenthes-core/src -pipe -D _GNU_SOURCE
+-AM_CXXFLAGS = -Wall -Werror
++AM_CXXFLAGS = -Wall
+
+
+ pkglib_LTLIBRARIES = x6.la
+--- a/modules/log-hexdump/Makefile.am
++++ b/modules/log-hexdump/Makefile.am
+@@ -5,7 +5,7 @@
+ AUTOMAKE_OPTIONS = foreign
+
+ AM_CPPFLAGS = -I$(top_srcdir)/nepenthes-core/include -I$(top_srcdir)/nepenthes-core/src -pipe -D _GNU_SOURCE
+-AM_CXXFLAGS = -Wall -Werror
++AM_CXXFLAGS = -Wall
+
+
+ pkglib_LTLIBRARIES = loghexdump.la
+--- a/modules/submit-gotek/Makefile.am
++++ b/modules/submit-gotek/Makefile.am
+@@ -5,7 +5,7 @@
+ AUTOMAKE_OPTIONS = foreign
+
+ AM_CPPFLAGS = -I$(top_srcdir)/nepenthes-core/include -I$(top_srcdir)/nepenthes-core/src -pipe -D _GNU_SOURCE
+-AM_CXXFLAGS = -Wall -Werror
++AM_CXXFLAGS = -Wall
+
+
+ pkglib_LTLIBRARIES = submitgotek.la
+--- a/modules/dnsresolve-adns/Makefile.am
++++ b/modules/dnsresolve-adns/Makefile.am
+@@ -5,7 +5,7 @@
+ AUTOMAKE_OPTIONS = foreign
+
+ AM_CPPFLAGS = -I$(top_srcdir)/nepenthes-core/include -I$(top_srcdir)/nepenthes-core/src -pipe -D _GNU_SOURCE
+-AM_CXXFLAGS = -Wall -Werror
++AM_CXXFLAGS = -Wall
+ AM_LDFLAGS = ${LIB_ADNS}
+
+ pkglib_LTLIBRARIES = dnsresolveadns.la
+--- a/modules/download-ftp/Makefile.am
++++ b/modules/download-ftp/Makefile.am
+@@ -5,7 +5,7 @@
+ AUTOMAKE_OPTIONS = foreign
+
+ AM_CPPFLAGS = -I$(top_srcdir)/nepenthes-core/include -I$(top_srcdir)/nepenthes-core/src -pipe -D _GNU_SOURCE
+-AM_CXXFLAGS = -Wall -Werror
++AM_CXXFLAGS = -Wall
+
+
+ pkglib_LTLIBRARIES = downloadftp.la
+--- a/modules/vuln-realvnc/Makefile.am
++++ b/modules/vuln-realvnc/Makefile.am
+@@ -5,7 +5,7 @@
+ AUTOMAKE_OPTIONS = foreign
+
+ AM_CPPFLAGS = -I$(top_srcdir)/nepenthes-core/include -I$(top_srcdir)/nepenthes-core/src -pipe -D _GNU_SOURCE
+-AM_CXXFLAGS = -Wall -Werror
++AM_CXXFLAGS = -Wall
+
+
+ pkglib_LTLIBRARIES = vulnrealvnc.la
+--- a/modules/module-peiros/Makefile.am
++++ b/modules/module-peiros/Makefile.am
+@@ -5,7 +5,7 @@
+ AUTOMAKE_OPTIONS = foreign
+
+ AM_CPPFLAGS = -I$(top_srcdir)/nepenthes-core/include -I$(top_srcdir)/nepenthes-core/src -pipe -D _GNU_SOURCE
+-AM_CXXFLAGS = -Wall -Werror
++AM_CXXFLAGS = -Wall
+
+
+ pkglib_LTLIBRARIES = modulepeiros.la
+--- a/modules/submit-postgres/Makefile.am
++++ b/modules/submit-postgres/Makefile.am
+@@ -5,7 +5,7 @@
+ AUTOMAKE_OPTIONS = foreign
+
+ AM_CPPFLAGS = -I$(top_srcdir)/nepenthes-core/include -I$(top_srcdir)/nepenthes-core/src -pipe -D _GNU_SOURCE
+-AM_CXXFLAGS = -Wall -Werror
++AM_CXXFLAGS = -Wall
+
+
+ pkglib_LTLIBRARIES = submitpostgres.la
+--- a/modules/download-curl/Makefile.am
++++ b/modules/download-curl/Makefile.am
+@@ -5,7 +5,7 @@
+ AUTOMAKE_OPTIONS = foreign
+
+ AM_CPPFLAGS = -I$(top_srcdir)/nepenthes-core/include -I$(top_srcdir)/nepenthes-core/src -pipe -D _GNU_SOURCE
+-AM_CXXFLAGS = -Wall -Werror
++AM_CXXFLAGS = -Wall
+ AM_LDFLAGS = ${LIB_CURL}
+
+ pkglib_LTLIBRARIES = downloadcurl.la
+--- a/modules/download-http/Makefile.am
++++ b/modules/download-http/Makefile.am
+@@ -5,7 +5,7 @@
+ AUTOMAKE_OPTIONS = foreign
+
+ AM_CPPFLAGS = -I$(top_srcdir)/nepenthes-core/include -I$(top_srcdir)/nepenthes-core/src -pipe -D _GNU_SOURCE
+-AM_CXXFLAGS = -Wall -Werror
++AM_CXXFLAGS = -Wall
+
+
+ pkglib_LTLIBRARIES = downloadhttp.la
+--- a/modules/log-surfnet/Makefile.am
++++ b/modules/log-surfnet/Makefile.am
+@@ -5,7 +5,7 @@
+ AUTOMAKE_OPTIONS = foreign
+
+ AM_CPPFLAGS = -I$(top_srcdir)/nepenthes-core/include -I$(top_srcdir)/nepenthes-core/src -I/usr/include/postgresql -pipe -D _GNU_SOURCE
+-AM_CXXFLAGS = -Wall -Werror
++AM_CXXFLAGS = -Wall
+
+ pkglib_LTLIBRARIES = logsurfnet.la
+
+--- a/modules/log-download/Makefile.am
++++ b/modules/log-download/Makefile.am
+@@ -5,7 +5,7 @@
+ AUTOMAKE_OPTIONS = foreign
+
+ AM_CPPFLAGS = -I$(top_srcdir)/nepenthes-core/include -I$(top_srcdir)/nepenthes-core/src -pipe -D _GNU_SOURCE
+-AM_CXXFLAGS = -Wall -Werror
++AM_CXXFLAGS = -Wall
+
+
+ pkglib_LTLIBRARIES = logdownload.la
+--- a/modules/download-csend/Makefile.am
++++ b/modules/download-csend/Makefile.am
+@@ -5,7 +5,7 @@
+ AUTOMAKE_OPTIONS = foreign
+
+ AM_CPPFLAGS = -I$(top_srcdir)/nepenthes-core/include -I$(top_srcdir)/nepenthes-core/src -pipe -D _GNU_SOURCE
+-AM_CXXFLAGS = -Wall -Werror
++AM_CXXFLAGS = -Wall
+
+
+ pkglib_LTLIBRARIES = downloadcsend.la
+--- a/modules/submit-mwserv/Makefile.am
++++ b/modules/submit-mwserv/Makefile.am
+@@ -5,7 +5,7 @@
+ AUTOMAKE_OPTIONS = foreign
+
+ AM_CPPFLAGS = -I$(top_srcdir)/nepenthes-core/include -I$(top_srcdir)/nepenthes-core/src -pipe -D _GNU_SOURCE
+-AM_CXXFLAGS = -Wall -Werror
++AM_CXXFLAGS = -Wall
+
+ AM_LDFLAGS = $(LIB_CURL)
+
+--- a/modules/vuln-wins/Makefile.am
++++ b/modules/vuln-wins/Makefile.am
+@@ -5,7 +5,7 @@
+ AUTOMAKE_OPTIONS = foreign
+
+ AM_CPPFLAGS = -I$(top_srcdir)/nepenthes-core/include -I$(top_srcdir)/nepenthes-core/src -pipe -D _GNU_SOURCE
+-AM_CXXFLAGS = -Wall -Werror
++AM_CXXFLAGS = -Wall
+
+
+ pkglib_LTLIBRARIES = vulnwins.la
+--- a/modules/x-2/Makefile.am
++++ b/modules/x-2/Makefile.am
+@@ -5,7 +5,7 @@
+ AUTOMAKE_OPTIONS = foreign
+
+ AM_CPPFLAGS = -I$(top_srcdir)/nepenthes-core/include -I$(top_srcdir)/nepenthes-core/src -pipe -D _GNU_SOURCE
+-AM_CXXFLAGS = -Wall -Werror
++AM_CXXFLAGS = -Wall
+
+
+ pkglib_LTLIBRARIES = x2.la
+--- a/modules/vuln-pnp/Makefile.am
++++ b/modules/vuln-pnp/Makefile.am
+@@ -5,7 +5,7 @@
+ AUTOMAKE_OPTIONS = foreign
+
+ AM_CPPFLAGS = -I$(top_srcdir)/nepenthes-core/include -I$(top_srcdir)/nepenthes-core/src -pipe -D _GNU_SOURCE
+-AM_CXXFLAGS = -Wall -Werror
++AM_CXXFLAGS = -Wall
+
+
+ pkglib_LTLIBRARIES = vulnpnp.la
+--- a/modules/vuln-upnp/Makefile.am
++++ b/modules/vuln-upnp/Makefile.am
+@@ -5,7 +5,7 @@
+ AUTOMAKE_OPTIONS = foreign
+
+ AM_CPPFLAGS = -I$(top_srcdir)/nepenthes-core/include -I$(top_srcdir)/nepenthes-core/src -pipe -D _GNU_SOURCE
+-AM_CXXFLAGS = -Wall -Werror
++AM_CXXFLAGS = -Wall
+
+
+ pkglib_LTLIBRARIES = vulnupnp.la
+--- a/modules/vuln-msmq/Makefile.am
++++ b/modules/vuln-msmq/Makefile.am
+@@ -5,7 +5,7 @@
+ AUTOMAKE_OPTIONS = foreign
+
+ AM_CPPFLAGS = -I$(top_srcdir)/nepenthes-core/include -I$(top_srcdir)/nepenthes-core/src -pipe -D _GNU_SOURCE
+-AM_CXXFLAGS = -Wall -Werror
++AM_CXXFLAGS = -Wall
+
+
+ pkglib_LTLIBRARIES = vulnmsmq.la
+--- a/modules/vuln-dcom/Makefile.am
++++ b/modules/vuln-dcom/Makefile.am
+@@ -5,7 +5,7 @@
+ AUTOMAKE_OPTIONS = foreign
+
+ AM_CPPFLAGS = -I$(top_srcdir)/nepenthes-core/include -I$(top_srcdir)/nepenthes-core/src -pipe -D _GNU_SOURCE
+-AM_CXXFLAGS = -Wall -Werror
++AM_CXXFLAGS = -Wall
+
+
+ pkglib_LTLIBRARIES = vulndcom.la
+--- a/modules/vuln-mydoom/Makefile.am
++++ b/modules/vuln-mydoom/Makefile.am
+@@ -5,7 +5,7 @@
+ AUTOMAKE_OPTIONS = foreign
+
+ AM_CPPFLAGS = -I$(top_srcdir)/nepenthes-core/include -I$(top_srcdir)/nepenthes-core/src -pipe -D _GNU_SOURCE
+-AM_CXXFLAGS = -Wall -Werror
++AM_CXXFLAGS = -Wall
+
+
+ pkglib_LTLIBRARIES = vulnmydoom.la
+--- a/modules/submit-norman/Makefile.am
++++ b/modules/submit-norman/Makefile.am
+@@ -5,7 +5,7 @@
+ AUTOMAKE_OPTIONS = foreign
+
+ AM_CPPFLAGS = -I$(top_srcdir)/nepenthes-core/include -I$(top_srcdir)/nepenthes-core/src -pipe -D _GNU_SOURCE
+-AM_CXXFLAGS = -Wall -Werror
++AM_CXXFLAGS = -Wall
+ AM_LDFLAGS = ${LIB_CURL}
+
+ pkglib_LTLIBRARIES = submitnorman.la
+--- a/modules/vuln-asn1/Makefile.am
++++ b/modules/vuln-asn1/Makefile.am
+@@ -5,7 +5,7 @@
+ AUTOMAKE_OPTIONS = foreign
+
+ AM_CPPFLAGS = -I$(top_srcdir)/nepenthes-core/include -I$(top_srcdir)/nepenthes-core/src -pipe -D _GNU_SOURCE
+-AM_CXXFLAGS = -Wall -Werror
++AM_CXXFLAGS = -Wall
+
+
+ pkglib_LTLIBRARIES = vulnasn1.la
+--- a/modules/vuln-lsass/Makefile.am
++++ b/modules/vuln-lsass/Makefile.am
+@@ -5,7 +5,7 @@
+ AUTOMAKE_OPTIONS = foreign
+
+ AM_CPPFLAGS = -I$(top_srcdir)/nepenthes-core/include -I$(top_srcdir)/nepenthes-core/src -pipe -D _GNU_SOURCE
+-AM_CXXFLAGS = -Wall -Werror
++AM_CXXFLAGS = -Wall
+
+
+ pkglib_LTLIBRARIES = vulnlsass.la
+--- a/modules/log-irc/Makefile.am
++++ b/modules/log-irc/Makefile.am
+@@ -5,7 +5,7 @@
+ AUTOMAKE_OPTIONS = foreign
+
+ AM_CPPFLAGS = -I$(top_srcdir)/nepenthes-core/include -I$(top_srcdir)/nepenthes-core/src -pipe -D _GNU_SOURCE
+-AM_CXXFLAGS = -Wall -Werror
++AM_CXXFLAGS = -Wall
+
+
+ pkglib_LTLIBRARIES = logirc.la
+--- a/modules/vuln-netdde/Makefile.am
++++ b/modules/vuln-netdde/Makefile.am
+@@ -5,7 +5,7 @@
+ AUTOMAKE_OPTIONS = foreign
+
+ AM_CPPFLAGS = -I$(top_srcdir)/nepenthes-core/include -I$(top_srcdir)/nepenthes-core/src -pipe -D _GNU_SOURCE
+-AM_CXXFLAGS = -Wall -Werror
++AM_CXXFLAGS = -Wall
+
+
+ pkglib_LTLIBRARIES = vulnnetdde.la
+--- a/modules/vuln-optix/Makefile.am
++++ b/modules/vuln-optix/Makefile.am
+@@ -5,7 +5,7 @@
+ AUTOMAKE_OPTIONS = foreign
+
+ AM_CPPFLAGS = -I$(top_srcdir)/nepenthes-core/include -I$(top_srcdir)/nepenthes-core/src -pipe -D _GNU_SOURCE
+-AM_CXXFLAGS = -Wall -Werror
++AM_CXXFLAGS = -Wall
+ AM_LDFLAGS = ${LIB_PCRE}
+
+ pkglib_LTLIBRARIES = vulnoptix.la
+--- a/modules/vuln-sav/Makefile.am
++++ b/modules/vuln-sav/Makefile.am
+@@ -5,7 +5,7 @@
+ AUTOMAKE_OPTIONS = foreign
+
+ AM_CPPFLAGS = -I$(top_srcdir)/nepenthes-core/include -I$(top_srcdir)/nepenthes-core/src -pipe -D _GNU_SOURCE
+-AM_CXXFLAGS = -Wall -Werror
++AM_CXXFLAGS = -Wall
+
+ pkglib_LTLIBRARIES = vulnsav.la
+
+--- a/modules/vuln-sasserftpd/Makefile.am
++++ b/modules/vuln-sasserftpd/Makefile.am
+@@ -5,7 +5,7 @@
+ AUTOMAKE_OPTIONS = foreign
+
+ AM_CPPFLAGS = -I$(top_srcdir)/nepenthes-core/include -I$(top_srcdir)/nepenthes-core/src -pipe -D _GNU_SOURCE
+-AM_CXXFLAGS = -Wall -Werror
++AM_CXXFLAGS = -Wall
+
+
+ pkglib_LTLIBRARIES = vulnsasserftpd.la
+--- a/modules/submit-file/Makefile.am
++++ b/modules/submit-file/Makefile.am
+@@ -5,7 +5,7 @@
+ AUTOMAKE_OPTIONS = foreign
+
+ AM_CPPFLAGS = -I$(top_srcdir)/nepenthes-core/include -I$(top_srcdir)/nepenthes-core/src -pipe -D _GNU_SOURCE
+-AM_CXXFLAGS = -Wall -Werror
++AM_CXXFLAGS = -Wall
+
+
+ pkglib_LTLIBRARIES = submitfile.la
+--- a/modules/vuln-bagle/Makefile.am
++++ b/modules/vuln-bagle/Makefile.am
+@@ -5,7 +5,7 @@
+ AUTOMAKE_OPTIONS = foreign
+
+ AM_CPPFLAGS = -I$(top_srcdir)/nepenthes-core/include -I$(top_srcdir)/nepenthes-core/src -pipe -D _GNU_SOURCE
+-AM_CXXFLAGS = -Wall -Werror
++AM_CXXFLAGS = -Wall
+
+ pkglib_LTLIBRARIES = vulnbagle.la
+
+--- a/modules/vuln-ssh/Makefile.am
++++ b/modules/vuln-ssh/Makefile.am
+@@ -5,7 +5,7 @@
+ AUTOMAKE_OPTIONS = foreign
+
+ AM_CPPFLAGS = -I$(top_srcdir)/nepenthes-core/include -I$(top_srcdir)/nepenthes-core/src -pipe -D _GNU_SOURCE
+-AM_CXXFLAGS = -Wall -Werror
++AM_CXXFLAGS = -Wall
+ AM_LDFLAGS = ${LIB_SSH}
+
+ pkglib_LTLIBRARIES = vulnssh.la
+--- a/modules/vuln-kuang2/Makefile.am
++++ b/modules/vuln-kuang2/Makefile.am
+@@ -5,7 +5,7 @@
+ AUTOMAKE_OPTIONS = foreign
+
+ AM_CPPFLAGS = -I$(top_srcdir)/nepenthes-core/include -I$(top_srcdir)/nepenthes-core/src -pipe -D _GNU_SOURCE
+-AM_CXXFLAGS = -Wall -Werror
++AM_CXXFLAGS = -Wall
+
+
+ pkglib_LTLIBRARIES = vulnkuang2.la
+--- a/modules/vuln-msdtc/Makefile.am
++++ b/modules/vuln-msdtc/Makefile.am
+@@ -5,7 +5,7 @@
+ AUTOMAKE_OPTIONS = foreign
+
+ AM_CPPFLAGS = -I$(top_srcdir)/nepenthes-core/include -I$(top_srcdir)/nepenthes-core/src -pipe -D _GNU_SOURCE
+-AM_CXXFLAGS = -Wall -Werror
++AM_CXXFLAGS = -Wall
+
+
+ pkglib_LTLIBRARIES = vulnmsdtc.la
+--- a/modules/x-5/Makefile.am
++++ b/modules/x-5/Makefile.am
+@@ -5,7 +5,7 @@
+ AUTOMAKE_OPTIONS = foreign
+
+ AM_CPPFLAGS = -I$(top_srcdir)/nepenthes-core/include -I$(top_srcdir)/nepenthes-core/src -pipe -D _GNU_SOURCE
+-AM_CXXFLAGS = -Wall -Werror
++AM_CXXFLAGS = -Wall
+
+
+ pkglib_LTLIBRARIES = x5.la
+--- a/modules/shellemu-winnt/Makefile.am
++++ b/modules/shellemu-winnt/Makefile.am
+@@ -5,7 +5,7 @@
+ AUTOMAKE_OPTIONS = foreign
+
+ AM_CPPFLAGS = -I$(top_srcdir)/nepenthes-core/include -I$(top_srcdir)/nepenthes-core/src -pipe -D _GNU_SOURCE
+-AM_CXXFLAGS = -Wall -Werror
++AM_CXXFLAGS = -Wall
+
+
+ pkglib_LTLIBRARIES = shellemuwinnt.la
+--- a/modules/x-1/Makefile.am
++++ b/modules/x-1/Makefile.am
+@@ -5,7 +5,7 @@
+ AUTOMAKE_OPTIONS = foreign
+
+ AM_CPPFLAGS = -I$(top_srcdir)/nepenthes-core/include -I$(top_srcdir)/nepenthes-core/src -pipe -D _GNU_SOURCE
+-AM_CXXFLAGS = -Wall -Werror
++AM_CXXFLAGS = -Wall
+
+
+ pkglib_LTLIBRARIES = x1.la
+--- a/modules/x-4/Makefile.am
++++ b/modules/x-4/Makefile.am
+@@ -5,7 +5,7 @@
+ AUTOMAKE_OPTIONS = foreign
+
+ AM_CPPFLAGS = -I$(top_srcdir)/nepenthes-core/include -I$(top_srcdir)/nepenthes-core/src -pipe -D _GNU_SOURCE
+-AM_CXXFLAGS = -Wall -Werror
++AM_CXXFLAGS = -Wall
+
+
+ pkglib_LTLIBRARIES = x4.la
+--- a/modules/vuln-mssql/Makefile.am
++++ b/modules/vuln-mssql/Makefile.am
+@@ -5,7 +5,7 @@
+ AUTOMAKE_OPTIONS = foreign
+
+ AM_CPPFLAGS = -I$(top_srcdir)/nepenthes-core/include -I$(top_srcdir)/nepenthes-core/src -pipe -D _GNU_SOURCE
+-AM_CXXFLAGS = -Wall -Werror
++AM_CXXFLAGS = -Wall
+
+ pkglib_LTLIBRARIES = vulnmssql.la
+
+--- a/modules/shellcode-signatures/Makefile.am
++++ b/modules/shellcode-signatures/Makefile.am
+@@ -5,7 +5,7 @@
+ AUTOMAKE_OPTIONS = foreign
+
+ AM_CPPFLAGS = -I$(top_srcdir)/nepenthes-core/include -I$(top_srcdir)/nepenthes-core/src -pipe -D _GNU_SOURCE
+-AM_CXXFLAGS = -Wall -Werror
++AM_CXXFLAGS = -Wall
+ AM_CFLAGS = -Wall
+ AM_LDFLAGS = ${LIB_PCRE} @LEXLIB@ ${LIB_LIBY}
+
+--- a/modules/download-rcp/Makefile.am
++++ b/modules/download-rcp/Makefile.am
+@@ -5,7 +5,7 @@
+ AUTOMAKE_OPTIONS = foreign
+
+ AM_CPPFLAGS = -I$(top_srcdir)/nepenthes-core/include -I$(top_srcdir)/nepenthes-core/src -pipe -D _GNU_SOURCE
+-AM_CXXFLAGS = -Wall -Werror
++AM_CXXFLAGS = -Wall
+
+
+ pkglib_LTLIBRARIES = downloadrcp.la
+--- a/modules/shellcode-generic/Makefile.am
++++ b/modules/shellcode-generic/Makefile.am
+@@ -5,7 +5,7 @@
+ AUTOMAKE_OPTIONS = foreign
+
+ AM_CPPFLAGS = -I$(top_srcdir)/nepenthes-core/include -I$(top_srcdir)/nepenthes-core/src -pipe -D _GNU_SOURCE
+-AM_CXXFLAGS = -Wall -Werror
++AM_CXXFLAGS = -Wall
+ AM_LDFLAGS = ${LIB_PCRE}
+
+ pkglib_LTLIBRARIES = shellcodegeneric.la
+--- a/modules/module-portwatch/Makefile.am
++++ b/modules/module-portwatch/Makefile.am
+@@ -5,7 +5,7 @@
+ AUTOMAKE_OPTIONS = foreign
+
+ AM_CPPFLAGS = -I$(top_srcdir)/nepenthes-core/include -I$(top_srcdir)/nepenthes-core/src -pipe -D _GNU_SOURCE
+-AM_CXXFLAGS = -Wall -Werror
++AM_CXXFLAGS = -Wall
+
+
+ pkglib_LTLIBRARIES = moduleportwatch.la
+--- a/modules/vuln-dameware/Makefile.am
++++ b/modules/vuln-dameware/Makefile.am
+@@ -5,7 +5,7 @@
+ AUTOMAKE_OPTIONS = foreign
+
+ AM_CPPFLAGS = -I$(top_srcdir)/nepenthes-core/include -I$(top_srcdir)/nepenthes-core/src -pipe -D _GNU_SOURCE
+-AM_CXXFLAGS = -Wall -Werror
++AM_CXXFLAGS = -Wall
+
+
+ pkglib_LTLIBRARIES = vulndameware.la
+--- a/modules/sqlhandler-postgres/Makefile.am
++++ b/modules/sqlhandler-postgres/Makefile.am
+@@ -5,7 +5,7 @@
+ AUTOMAKE_OPTIONS = foreign
+
+ AM_CPPFLAGS = -I$(top_srcdir)/nepenthes-core/include -I$(top_srcdir)/nepenthes-core/src -pipe -D _GNU_SOURCE
+-AM_CXXFLAGS = -Wall -Werror
++AM_CXXFLAGS = -Wall
+ AM_LDFLAGS = ${LIB_POSTGRES}
+
+ pkglib_LTLIBRARIES = sqlhandlerpostgres.la
+--- a/modules/vuln-iis/Makefile.am
++++ b/modules/vuln-iis/Makefile.am
+@@ -5,7 +5,7 @@
+ AUTOMAKE_OPTIONS = foreign
+
+ AM_CPPFLAGS = -I$(top_srcdir)/nepenthes-core/include -I$(top_srcdir)/nepenthes-core/src -pipe -D _GNU_SOURCE
+-AM_CXXFLAGS = -Wall -Werror
++AM_CXXFLAGS = -Wall
+
+
+ pkglib_LTLIBRARIES = vulniis.la
+--- a/modules/download-tftp/Makefile.am
++++ b/modules/download-tftp/Makefile.am
+@@ -5,7 +5,7 @@
+ AUTOMAKE_OPTIONS = foreign
+
+ AM_CPPFLAGS = -I$(top_srcdir)/nepenthes-core/include -I$(top_srcdir)/nepenthes-core/src -pipe -D _GNU_SOURCE
+-AM_CXXFLAGS = -Wall -Werror
++AM_CXXFLAGS = -Wall
+
+
+ pkglib_LTLIBRARIES = downloadtftp.la
+--- a/modules/vuln-veritas/Makefile.am
++++ b/modules/vuln-veritas/Makefile.am
+@@ -5,7 +5,7 @@
+ AUTOMAKE_OPTIONS = foreign
+
+ AM_CPPFLAGS = -I$(top_srcdir)/nepenthes-core/include -I$(top_srcdir)/nepenthes-core/src -pipe -D _GNU_SOURCE
+-AM_CXXFLAGS = -Wall -Werror
++AM_CXXFLAGS = -Wall
+
+
+ pkglib_LTLIBRARIES = vulnveritas.la
diff --git a/net-analyzer/nepenthes/files/nepenthes-0.2.2-cachedir.patch b/net-analyzer/nepenthes/files/nepenthes-0.2.2-cachedir.patch
new file mode 100644
index 000000000000..dfebe3b33f65
--- /dev/null
+++ b/net-analyzer/nepenthes/files/nepenthes-0.2.2-cachedir.patch
@@ -0,0 +1,11 @@
+--- a/modules/shellcode-signatures/shellcode-signatures.cpp
++++ b/modules/shellcode-signatures/shellcode-signatures.cpp
+@@ -80,7 +80,7 @@
+ m_ModuleManager = m_Nepenthes->getModuleMgr();
+
+ g_Nepenthes->getShellcodeMgr()->registerShellcodeHandler(new EngineUnicode());
+- return loadSignaturesFromFile(string("var/cache/nepenthes/signatures/shellcode-signatures.sc"));
++ return loadSignaturesFromFile(string("/var/lib/nepenthes/cache/signatures/shellcode-signatures.sc"));
+ }
+
+ bool SignatureShellcodeHandler::Exit()
diff --git a/net-analyzer/nepenthes/files/nepenthes-0.2.2-curl_types_h.patch b/net-analyzer/nepenthes/files/nepenthes-0.2.2-curl_types_h.patch
new file mode 100644
index 000000000000..39a6026010aa
--- /dev/null
+++ b/net-analyzer/nepenthes/files/nepenthes-0.2.2-curl_types_h.patch
@@ -0,0 +1,70 @@
+--- a/modules/submit-http/submit-http.hpp
++++ b/modules/submit-http/submit-http.hpp
+@@ -29,7 +29,6 @@
+ /* $Id$ */
+
+ #include <curl/curl.h>
+-#include <curl/types.h> /* new for v7 */
+ #include <curl/easy.h> /* new for v7 */
+
+ #include "Nepenthes.hpp"
+--- a/modules/submit-http/HTTPSession.cpp
++++ b/modules/submit-http/HTTPSession.cpp
+@@ -28,7 +28,6 @@
+
+
+ #include <curl/curl.h>
+-#include <curl/types.h> /* new for v7 */
+ #include <curl/easy.h> /* new for v7 */
+ #include <sstream>
+ #include <netinet/in.h>
+--- a/modules/submit-http/HTTPSession.hpp
++++ b/modules/submit-http/HTTPSession.hpp
+@@ -29,7 +29,6 @@
+ /* $Id$ */
+
+ #include <curl/curl.h>
+-#include <curl/types.h>
+
+ #include "Download.hpp"
+
+--- a/modules/download-curl/download-curl.hpp
++++ b/modules/download-curl/download-curl.hpp
+@@ -28,7 +28,6 @@
+ /* $Id$ */
+
+ #include <curl/curl.h>
+-#include <curl/types.h> /* new for v7 */
+ #include <curl/easy.h> /* new for v7 */
+
+ #include "Module.hpp"
+--- a/modules/submit-mwserv/submit-mwserv.hpp
++++ b/modules/submit-mwserv/submit-mwserv.hpp
+@@ -27,7 +27,6 @@
+ *******************************************************************************/
+
+ #include <curl/curl.h>
+-#include <curl/types.h>
+ #include <curl/easy.h>
+
+ #include "Nepenthes.hpp"
+--- a/modules/submit-mwserv/TransferSession.hpp
++++ b/modules/submit-mwserv/TransferSession.hpp
+@@ -27,7 +27,6 @@
+ *******************************************************************************/
+
+ #include <curl/curl.h>
+-#include <curl/types.h>
+ #include <curl/easy.h>
+
+ #include <string>
+--- a/modules/submit-norman/submit-norman.hpp
++++ b/modules/submit-norman/submit-norman.hpp
+@@ -29,7 +29,6 @@
+
+
+ #include <curl/curl.h>
+-#include <curl/types.h> /* new for v7 */
+ #include <curl/easy.h> /* new for v7 */
+
+ #include "Module.hpp"
diff --git a/net-analyzer/nepenthes/files/nepenthes-0.2.2-gcc4.patch b/net-analyzer/nepenthes/files/nepenthes-0.2.2-gcc4.patch
new file mode 100644
index 000000000000..621907b64141
--- /dev/null
+++ b/net-analyzer/nepenthes/files/nepenthes-0.2.2-gcc4.patch
@@ -0,0 +1,26 @@
+=== modified file 'nepenthes-core/include/Config.hpp'
+--- a/nepenthes-core/include/Config.hpp
++++ b/nepenthes-core/include/Config.hpp
+@@ -32,6 +32,8 @@
+
+ #include <vector>
+ #include <map>
++#include <cstring>
++#include <stdlib.h>
+
+ // mmap()
+ #ifdef WIN32
+
+=== modified file 'nepenthes-core/include/Nepenthes.hpp'
+--- a/nepenthes-core/include/Nepenthes.hpp
++++ b/nepenthes-core/include/Nepenthes.hpp
+@@ -40,6 +40,8 @@
+
+ #include <stdint.h>
+ #include <string>
++#include <cstring>
++#include <cstdlib>
+
+ typedef unsigned char byte;
+
+
diff --git a/net-analyzer/nepenthes/files/nepenthes-0.2.2-libdir.patch b/net-analyzer/nepenthes/files/nepenthes-0.2.2-libdir.patch
new file mode 100644
index 000000000000..30b88f3d7d35
--- /dev/null
+++ b/net-analyzer/nepenthes/files/nepenthes-0.2.2-libdir.patch
@@ -0,0 +1,16 @@
+--- a/configure.ac
++++ b/configure.ac
+@@ -27,11 +27,11 @@
+ *-*-freebsd*)
+ # FreeBSD forgot to install magic.h in a sane location. Bug or Feature?
+ CPPFLAGS="$CPPFLAGS -I/usr/local/include -I/usr/src/contrib/file/"
+- LDFLAGS="$LDFLAGS -L/usr/local/lib -R/usr/local/lib"
++ LDFLAGS="$LDFLAGS -L/usr/local/lib "
+ ;;
+ *-*-linux*)
+ CPPFLAGS="$CPPFLAGS -D _GNU_SOURCE -I/usr/local/include"
+- LDFLAGS="$LDFLAGS -L/usr/local/lib -R/usr/local/lib"
++ LDFLAGS="$LDFLAGS -L/usr/local/lib "
+ ;;
+ *-*-darwin*)
+ CPPFLAGS="$CPPFLAGS -I/opt/local/include"
diff --git a/net-analyzer/nepenthes/files/nepenthes-0.2.2-sysconfdir.patch b/net-analyzer/nepenthes/files/nepenthes-0.2.2-sysconfdir.patch
new file mode 100644
index 000000000000..d86bf31c0a06
--- /dev/null
+++ b/net-analyzer/nepenthes/files/nepenthes-0.2.2-sysconfdir.patch
@@ -0,0 +1,77 @@
+--- a/modules/module-honeytrap/module-honeytrap.conf.dist
++++ b/modules/module-honeytrap/module-honeytrap.conf.dist
+@@ -20,7 +20,7 @@
+ pcap_dump_options
+ {
+ min_packets "3"; // minimum of packets, else the dump gets removed
+- path "var/log/pcap/"; // path for pcap files relative to basedir
++ path "/var/log/nepenthes/pcap/"; // path for pcap files relative to basedir
+ };
+
+ };
+--- a/modules/log-download/log-download.conf.dist
++++ b/modules/log-download/log-download.conf.dist
+@@ -1,5 +1,5 @@
+ log-download
+ {
+- downloadfile "var/log/logged_downloads"; // log download attempts
+- submitfile "var/log/logged_submissions"; // log successfull downloads
++ downloadfile "/var/log/nepenthes/logged_downloads"; // log download attempts
++ submitfile "/var/log/nepenthes/logged_submissions"; // log successfull downloads
+ };
+--- a/modules/submit-file/submit-file.conf.dist
++++ b/modules/submit-file/submit-file.conf.dist
+@@ -1,5 +1,5 @@
+ submit-file
+ {
+- path "var/binaries/";
++ path "/var/lib/nepenthes/binaries/";
+ };
+
+--- a/conf/nepenthes.conf.dist
++++ b/conf/nepenthes.conf.dist
+@@ -3,8 +3,8 @@
+
+ nepenthes
+ {
+- moduledir "lib/nepenthes"; // relative to workdir
+- moduleconfigdir "etc/nepenthes"; // relative to workdir
++ moduledir "/usr/lib/nepenthes"; // relative to workdir
++ moduleconfigdir "/etc/nepenthes"; // relative to workdir
+
+ modules(
+ // module name (in moduledir) config file (in moduleconfigdir)
+@@ -90,8 +90,8 @@
+
+ logmanager
+ {
+- ring_logging_file "var/log/nepenthes.%d.log";
+- file_logging_file "var/log/nepenthes.log";
++ ring_logging_file "/var/log/nepenthes/nepenthes.%d.log";
++ file_logging_file "/var/log/nepenthes/nepenthes.log";
+ };
+
+ modulemanager
+@@ -103,7 +103,7 @@
+ {
+ strictfiletype "1";
+ // where does submit-file write to? set this to the same dir
+- filesdir "var/binaries/";
++ filesdir "/var/lib/nepenthes/binaries/";
+ };
+
+ downloadmanager
+@@ -122,11 +122,11 @@
+
+ utilities
+ {
+- hexdump_path "var/hexdumps/";
++ hexdump_path "/var/lib/nepenthes/hexdumps/";
+ };
+
+ geolocationmanager
+ {
+- cache_path "var/cache/nepenthes/geolocation/";
++ cache_path "/var/lib/nepenthes/cache/geolocation/";
+ };
+ };
diff --git a/net-analyzer/nepenthes/files/nepenthes.confd b/net-analyzer/nepenthes/files/nepenthes.confd
new file mode 100644
index 000000000000..d5ccb515940f
--- /dev/null
+++ b/net-analyzer/nepenthes/files/nepenthes.confd
@@ -0,0 +1,5 @@
+# Config file for /etc/init.d/nepenthes
+
+# Set preferred options here
+NEPENTHES_OPTS="--user nepenthes --group nepenthes"
+
diff --git a/net-analyzer/nepenthes/files/nepenthes.initd b/net-analyzer/nepenthes/files/nepenthes.initd
new file mode 100644
index 000000000000..1ff1bff1ab3e
--- /dev/null
+++ b/net-analyzer/nepenthes/files/nepenthes.initd
@@ -0,0 +1,21 @@
+#!/sbin/runscript
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+depend() {
+ need net
+}
+
+start() {
+ ebegin "Starting nepenthes"
+ start-stop-daemon --start --quiet --background --exec /usr/sbin/nepenthes -- ${NEPENTHES_OPTS}
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping nepenthes"
+ start-stop-daemon --stop --quiet --retry 5 --exec /usr/sbin/nepenthes
+ eend $?
+}
+
diff --git a/net-analyzer/nepenthes/metadata.xml b/net-analyzer/nepenthes/metadata.xml
new file mode 100644
index 000000000000..bab70ebde71d
--- /dev/null
+++ b/net-analyzer/nepenthes/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>netmon</herd>
+ <longdescription lang="en">
+ Nepenthes is a low interaction honeypot that captures worms by emulating
+ known vulnerabilities.
+ </longdescription>
+ <upstream>
+ <remote-id type="sourceforge">nepenthes</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/net-analyzer/nepenthes/nepenthes-0.2.2-r1.ebuild b/net-analyzer/nepenthes/nepenthes-0.2.2-r1.ebuild
new file mode 100644
index 000000000000..eb60c7f8000d
--- /dev/null
+++ b/net-analyzer/nepenthes/nepenthes-0.2.2-r1.ebuild
@@ -0,0 +1,75 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit autotools eutils user
+
+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
+ https://dev.gentoo.org/~jer/${P}-gcc44.patch.bz2
+"
+# The gcc44 patch includes CVS headers so we do not put it in the tree
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+
+RDEPEND="
+ >=net-misc/curl-7.22.0
+ dev-libs/libpcre
+ net-libs/adns
+ sys-apps/file
+"
+DEPEND="${RDEPEND}"
+
+pkg_setup() {
+ enewgroup nepenthes
+ enewuser nepenthes -1 -1 /dev/null nepenthes
+}
+
+src_prepare() {
+ epatch \
+ "${FILESDIR}"/${P}-Werror.patch \
+ "${FILESDIR}"/${P}-cachedir.patch \
+ "${FILESDIR}"/${P}-curl_types_h.patch \
+ "${FILESDIR}"/${P}-gcc4.patch \
+ "${FILESDIR}"/${P}-libdir.patch \
+ "${FILESDIR}"/${P}-sysconfdir.patch \
+ "${WORKDIR}"/${P}-gcc44.patch
+
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ --disable-static \
+ --enable-capabilities \
+ --localstatedir=/var/lib/nepenthes \
+ --sysconfdir=/etc
+}
+
+src_install() {
+ default
+
+ dodoc doc/README.VFS AUTHORS
+ dosbin nepenthes-core/src/nepenthes
+ rm "${D}"/usr/bin/nepenthes
+ 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
+
+ prune_libtool_files
+}
diff --git a/net-analyzer/nepenthes/nepenthes-0.2.2.ebuild b/net-analyzer/nepenthes/nepenthes-0.2.2.ebuild
new file mode 100644
index 000000000000..500ee35a2b9f
--- /dev/null
+++ b/net-analyzer/nepenthes/nepenthes-0.2.2.ebuild
@@ -0,0 +1,82 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="2"
+inherit autotools eutils user
+
+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
+ mirror://gentoo/${P}-gcc44.patch.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~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_prepare() {
+ epatch "${FILESDIR}"/${P}-gcc4.patch
+ epatch "${WORKDIR}"/${P}-gcc44.patch
+ sed -i modules/shellcode-signatures/shellcode-signatures.cpp \
+ -e 's|var/cache|/var/lib/cache|' || die
+ sed -i configure.ac \
+ -e 's|-R/usr/local/lib||g' || die
+ find . -name Makefile.am -exec sed 's: -Werror::' -i '{}' \;
+
+ # fix for bug #426482
+ has_version ">=net-misc/curl-7.22.0" && find . -type f -exec sed '/#include <curl\/types.h>/d' -i '{}' \;
+
+ eautoreconf
+}
+
+src_configure() {
+ econf --sysconfdir=/etc \
+ --localstatedir=/var/lib/nepenthes \
+ --enable-capabilities
+}
+
+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.VFS AUTHORS
+ dosbin nepenthes-core/src/nepenthes || die "dosbin failed"
+ rm "${D}"/usr/bin/nepenthes
+ 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
+}