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/files
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/files')
-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
8 files changed, 875 insertions, 0 deletions
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 $?
+}
+