FreeBSD Bugzilla – Attachment 146340 Details for
Bug 193042
[stage] net/nepenthes: Fix build on -current
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
net_nepenthes.diff
net_nepenthes.diff (text/plain), 81.45 KB, created by
tkato432
on 2014-08-26 18:40:34 UTC
(
hide
)
Description:
net_nepenthes.diff
Filename:
MIME Type:
Creator:
tkato432
Created:
2014-08-26 18:40:34 UTC
Size:
81.45 KB
patch
obsolete
>diff -urN /usr/ports/net/nepenthes/Makefile net/nepenthes/Makefile >--- /usr/ports/net/nepenthes/Makefile 2014-08-22 02:29:23.000000000 +0900 >+++ net/nepenthes/Makefile 2014-08-27 00:00:00.000000000 +0900 >@@ -10,37 +10,44 @@ > MAINTAINER= ports@FreeBSD.org > COMMENT= Determine the malware activity on a network > >-LIB_DEPENDS= libcurl.so:${PORTSDIR}/ftp/curl \ >- libmagic.so:${PORTSDIR}/sysutils/file \ >- libpcre.so:${PORTSDIR}/devel/pcre \ >- libadns.so:${PORTSDIR}/dns/adns >- >-.if defined(WITH_PRELUDE) >-LIB_DEPENDS+= libprelude.so:${PORTSDIR}/security/libprelude >-CONFIGURE_ARGS+= --enable-prelude >-.endif >- >-.if defined(WITH_DEBUG_LOGGING) >-CONFIGURE_ARGS+= --enable-debug-logging >-.endif >- >-USES= perl5 >+LIB_DEPENDS= libpcre.so:${PORTSDIR}/devel/pcre \ >+ libadns.so:${PORTSDIR}/dns/adns \ >+ libcurl.so:${PORTSDIR}/ftp/curl \ >+ libmagic.so:${PORTSDIR}/sysutils/file >+ >+USES= dos2unix libtool perl5 >+DOS2UNIX_FILE= modules/shellcode-generic/sch_generic_connect_trans.cpp >+USE_GCC= any > GNU_CONFIGURE= yes >+CONFIGURE_ARGS= --localstatedir=/var >+INSTALL_TARGET= install-strip >+ >+CPPFLAGS+= -I${LOCALBASE}/include >+LDFLAGS+= -L${LOCALBASE}/lib >+ >+OPTIONS_DEFINE= DEBUG_LOGGING PRELUDE > >-DOCS= README README.VFS logo-shaded.svg >-MAN8= nepenthes.8 >+DEBUG_LOGGING_CONFIGURE_ENABLE= debug-logging >+PRELUDE_LIB_DEPENDS= libprelude.so:${PORTSDIR}/security/libprelude >+PRELUDE_CONFIGURE_ENABLE= prelude > >-NO_STAGE= yes > post-patch: > @${FIND} ${WRKSRC} -name Makefile.in -print0 | ${XARGS} -0 \ >- ${REINPLACE_CMD} -e 's,-Werror,,' >- @${REINPLACE_CMD} -e '/<curl\/types.h>/d' \ >- ${WRKSRC}/modules/download-curl/download-curl.hpp \ >- ${WRKSRC}/modules/submit-http/HTTPSession.hpp \ >- ${WRKSRC}/modules/submit-http/HTTPSession.cpp \ >- ${WRKSRC}/modules/submit-http/submit-http.hpp \ >- ${WRKSRC}/modules/submit-mwserv/TransferSession.hpp \ >- ${WRKSRC}/modules/submit-mwserv/submit-mwserv.hpp \ >- ${WRKSRC}/modules/submit-norman/submit-norman.hpp >+ ${REINPLACE_CMD} -e \ >+ 's|-Werror|| ; \ >+ s|-D.*_GNU_SOURCE||' >+ @${FIND} ${WRKSRC}/modules -name "*.[ch]pp" -print0 | ${XARGS} -0 \ >+ ${REINPLACE_CMD} -e \ >+ '/<curl\/types.h>/d' >+ @${REINPLACE_CMD} -e \ >+ 's|-I/usr/local/include|| ; \ >+ s|-I/usr/src/contrib/file/|| ; \ >+ s|-L/usr/local/lib|| ; \ >+ s|-R/usr/local/lib||' ${WRKSRC}/configure >+ >+post-install: >+ @${MKDIR} ${STAGEDIR}${DATADIR}/signatures >+ (cd ${WRKSRC}/modules/shellcode-signatures && ${INSTALL_DATA} \ >+ shellcode-signatures.sc ${STAGEDIR}${DATADIR}/signatures) > > .include <bsd.port.mk> >diff -urN /usr/ports/net/nepenthes/files/patch-Makefile.in net/nepenthes/files/patch-Makefile.in >--- /usr/ports/net/nepenthes/files/patch-Makefile.in 2014-06-21 17:39:04.000000000 +0900 >+++ net/nepenthes/files/patch-Makefile.in 2014-08-27 00:00:00.000000000 +0900 >@@ -1,6 +1,6 @@ > --- Makefile.in.orig Sun Jan 14 13:34:14 2007 > +++ Makefile.in Sun Jan 14 13:34:40 2007 >-@@ -188,7 +188,7 @@ >+@@ -191,7 +191,7 @@ > build_vendor = @build_vendor@ > datadir = @datadir@ > datarootdir = @datarootdir@ >@@ -9,13 +9,34 @@ > dvidir = @dvidir@ > exec_prefix = @exec_prefix@ > host = @host@ >-@@ -219,7 +219,7 @@ >- SUBDIRS = nepenthes-core modules >+@@ -222,7 +222,7 @@ >+ SUBDIRS = nepenthes-core modules > #tools > EXTRA_DIST = configure.ac CHANGES doc/README.VFS doc/logo-shaded.svg doc/nepenthes.8 conf/nepenthes.conf.dist > -doc_DATA = doc/README.VFS doc/logo-shaded.svg > +doc_DATA = README doc/README.VFS doc/logo-shaded.svg >- >+ > #sysconf_DATA = conf/nepenthes.conf.dist > AM_CXXFLAGS = '' >- >+@@ -714,21 +714,6 @@ >+ $(mkinstalldirs) $(DESTDIR)$(mandir) >+ $(mkinstalldirs) $(DESTDIR)$(mandir)/man8 >+ $(INSTALL_DATA) $(srcdir)/doc/nepenthes.8 $(DESTDIR)$(mandir)/man8/nepenthes.8; >+- $(mkinstalldirs) $(DESTDIR)$(localstatedir)/cache >+- $(mkinstalldirs) $(DESTDIR)$(localstatedir)/cache/nepenthes >+- $(mkinstalldirs) $(DESTDIR)$(localstatedir)/cache/nepenthes/pcap >+- $(mkinstalldirs) $(DESTDIR)$(localstatedir)/cache/nepenthes/signatures >+- >+- $(INSTALL_DATA) modules/shellcode-signatures/shellcode-signatures.sc $(DESTDIR)$(localstatedir)/cache/nepenthes/signatures >+- >+- $(mkinstalldirs) $(DESTDIR)$(localstatedir)/spool >+- $(mkinstalldirs) $(DESTDIR)$(localstatedir)/spool/nepenthes >+- $(mkinstalldirs) $(DESTDIR)$(localstatedir)/spool/nepenthes/gotek >+- $(mkinstalldirs) $(DESTDIR)$(localstatedir)/spool/nepenthes/submitpostgres >+- $(mkinstalldirs) $(DESTDIR)$(localstatedir)/log >+- $(mkinstalldirs) $(DESTDIR)$(localstatedir)/log/pcap >+- $(mkinstalldirs) $(DESTDIR)$(localstatedir)/binaries >+- $(mkinstalldirs) $(DESTDIR)$(localstatedir)/hexdumps >+ # Tell versions [3.59,3.63) of GNU make to not export all variables. >+ # Otherwise a system limit (for SysV at least) may be exceeded. >+ .NOEXPORT: >diff -urN /usr/ports/net/nepenthes/files/patch-modules__dnsresolve-adns__dnsresolve-adns.cpp net/nepenthes/files/patch-modules__dnsresolve-adns__dnsresolve-adns.cpp >--- /usr/ports/net/nepenthes/files/patch-modules__dnsresolve-adns__dnsresolve-adns.cpp 1970-01-01 09:00:00.000000000 +0900 >+++ net/nepenthes/files/patch-modules__dnsresolve-adns__dnsresolve-adns.cpp 2014-08-27 00:00:00.000000000 +0900 >@@ -0,0 +1,12 @@ >+--- modules/dnsresolve-adns/dnsresolve-adns.cpp.orig >++++ modules/dnsresolve-adns/dnsresolve-adns.cpp >+@@ -28,7 +28,8 @@ >+ /* $Id: dnsresolve-adns.cpp 836 2007-02-06 15:16:50Z common $ */ >+ >+ #include <sys/poll.h> >+-#include <errno.h> >++#include <cstdlib> >++#include <cerrno> >+ >+ >+ #include "dnsresolve-adns.hpp" >diff -urN /usr/ports/net/nepenthes/files/patch-modules__download-creceive__CReceiveDialogue.cpp net/nepenthes/files/patch-modules__download-creceive__CReceiveDialogue.cpp >--- /usr/ports/net/nepenthes/files/patch-modules__download-creceive__CReceiveDialogue.cpp 1970-01-01 09:00:00.000000000 +0900 >+++ net/nepenthes/files/patch-modules__download-creceive__CReceiveDialogue.cpp 2014-08-27 00:00:00.000000000 +0900 >@@ -0,0 +1,11 @@ >+--- modules/download-creceive/CReceiveDialogue.cpp.orig >++++ modules/download-creceive/CReceiveDialogue.cpp >+@@ -27,6 +27,8 @@ >+ >+ /* $Id: CReceiveDialogue.cpp 836 2007-02-06 15:16:50Z common $ */ >+ >++#include <cstdio> >++ >+ #include "CReceiveDialogue.hpp" >+ >+ #include "SocketManager.hpp" >diff -urN /usr/ports/net/nepenthes/files/patch-modules__download-csend__CSendDialogue.cpp net/nepenthes/files/patch-modules__download-csend__CSendDialogue.cpp >--- /usr/ports/net/nepenthes/files/patch-modules__download-csend__CSendDialogue.cpp 1970-01-01 09:00:00.000000000 +0900 >+++ net/nepenthes/files/patch-modules__download-csend__CSendDialogue.cpp 2014-08-27 00:00:00.000000000 +0900 >@@ -0,0 +1,13 @@ >+--- modules/download-csend/CSendDialogue.cpp.orig >++++ modules/download-csend/CSendDialogue.cpp >+@@ -27,7 +27,10 @@ >+ >+ /* $Id: CSendDialogue.cpp 2271 2006-01-14 20:31:52Z common $ */ >+ >++#include <cstdlib> >+ #include <sys/types.h> >++#include <sys/socket.h> >++#include <arpa/inet.h> >+ #include <netinet/in.h> >+ >+ #include "CSendDialogue.hpp" >diff -urN /usr/ports/net/nepenthes/files/patch-modules__download-ftp__download-ftp.cpp net/nepenthes/files/patch-modules__download-ftp__download-ftp.cpp >--- /usr/ports/net/nepenthes/files/patch-modules__download-ftp__download-ftp.cpp 1970-01-01 09:00:00.000000000 +0900 >+++ net/nepenthes/files/patch-modules__download-ftp__download-ftp.cpp 2014-08-27 00:00:00.000000000 +0900 >@@ -0,0 +1,12 @@ >+--- modules/download-ftp/download-ftp.cpp.orig >++++ modules/download-ftp/download-ftp.cpp >+@@ -27,7 +27,8 @@ >+ >+ /* $Id: download-ftp.cpp 550 2006-05-04 10:25:35Z common $ */ >+ >+-#include <ctype.h> >++#include <cstdlib> >++#include <cctype> >+ >+ #include "download-ftp.hpp" >+ #include "CTRLDialogue.hpp" >diff -urN /usr/ports/net/nepenthes/files/patch-modules__download-http__HTTPDialogue.cpp net/nepenthes/files/patch-modules__download-http__HTTPDialogue.cpp >--- /usr/ports/net/nepenthes/files/patch-modules__download-http__HTTPDialogue.cpp 1970-01-01 09:00:00.000000000 +0900 >+++ net/nepenthes/files/patch-modules__download-http__HTTPDialogue.cpp 2014-08-27 00:00:00.000000000 +0900 >@@ -0,0 +1,13 @@ >+--- modules/download-http/HTTPDialogue.cpp.orig >++++ modules/download-http/HTTPDialogue.cpp >+@@ -27,6 +27,10 @@ >+ >+ /* $Id: HTTPDialogue.cpp 836 2007-02-06 15:16:50Z common $ */ >+ >++#include <cstdio> >++#include <cstdlib> >++#include <cstring> >++ >+ #include "HTTPDialogue.hpp" >+ >+ >diff -urN /usr/ports/net/nepenthes/files/patch-modules__download-rcp__RCPDialogue.cpp net/nepenthes/files/patch-modules__download-rcp__RCPDialogue.cpp >--- /usr/ports/net/nepenthes/files/patch-modules__download-rcp__RCPDialogue.cpp 1970-01-01 09:00:00.000000000 +0900 >+++ net/nepenthes/files/patch-modules__download-rcp__RCPDialogue.cpp 2014-08-27 00:00:00.000000000 +0900 >@@ -0,0 +1,17 @@ >+--- modules/download-rcp/RCPDialogue.cpp.orig >++++ modules/download-rcp/RCPDialogue.cpp >+@@ -27,9 +27,13 @@ >+ >+ /* $Id: RCPDialogue.cpp 1410 2007-10-12 13:07:23Z common $ */ >+ >++#include <cstdlib> >++#include <cstring> >+ #include <sys/types.h> >++#include <sys/socket.h> >++#include <arpa/inet.h> >+ #include <netinet/in.h> >+-#include <ctype.h> >++#include <cctype> >+ >+ #include "RCPDialogue.hpp" >+ >diff -urN /usr/ports/net/nepenthes/files/patch-modules__download-tftp__TFTPDialogue.cpp net/nepenthes/files/patch-modules__download-tftp__TFTPDialogue.cpp >--- /usr/ports/net/nepenthes/files/patch-modules__download-tftp__TFTPDialogue.cpp 1970-01-01 09:00:00.000000000 +0900 >+++ net/nepenthes/files/patch-modules__download-tftp__TFTPDialogue.cpp 2014-08-27 00:00:00.000000000 +0900 >@@ -0,0 +1,13 @@ >+--- modules/download-tftp/TFTPDialogue.cpp.orig >++++ modules/download-tftp/TFTPDialogue.cpp >+@@ -27,7 +27,10 @@ >+ >+ /* $Id: TFTPDialogue.cpp 550 2006-05-04 10:25:35Z common $ */ >+ >++#include <cstdlib> >++#include <cstring> >+ #include <sys/types.h> >++#include <sys/socket.h> >+ #include <arpa/tftp.h> >+ #include <netinet/in.h> >+ >diff -urN /usr/ports/net/nepenthes/files/patch-modules__log-prelude__log-prelude.cpp net/nepenthes/files/patch-modules__log-prelude__log-prelude.cpp >--- /usr/ports/net/nepenthes/files/patch-modules__log-prelude__log-prelude.cpp 1970-01-01 09:00:00.000000000 +0900 >+++ net/nepenthes/files/patch-modules__log-prelude__log-prelude.cpp 2014-08-27 00:00:00.000000000 +0900 >@@ -0,0 +1,14 @@ >+--- modules/log-prelude/log-prelude.cpp.orig >++++ modules/log-prelude/log-prelude.cpp >+@@ -27,7 +27,11 @@ >+ >+ /* $Id: log-prelude.cpp 1278 2007-05-29 16:04:00Z yoann $ */ >+ >++#include <cstdlib> >++#include <sys/types.h> >++#include <sys/socket.h> >+ #include <arpa/inet.h> >++#include <netinet/in.h> >+ #include "log-prelude.hpp" >+ #include "Nepenthes.hpp" >+ #include "LogManager.hpp" >diff -urN /usr/ports/net/nepenthes/files/patch-modules__log-surfnet__log-surfnet.cpp net/nepenthes/files/patch-modules__log-surfnet__log-surfnet.cpp >--- /usr/ports/net/nepenthes/files/patch-modules__log-surfnet__log-surfnet.cpp 1970-01-01 09:00:00.000000000 +0900 >+++ net/nepenthes/files/patch-modules__log-surfnet__log-surfnet.cpp 2014-08-27 00:00:00.000000000 +0900 >@@ -0,0 +1,10 @@ >+--- modules/log-surfnet/log-surfnet.cpp.orig >++++ modules/log-surfnet/log-surfnet.cpp >+@@ -27,6 +27,7 @@ >+ >+ /* $Id: log-surfnet.cpp 932 2007-02-21 14:16:50Z common $ */ >+ >++#include <cstdlib> >+ #include <sstream> >+ #include <sys/types.h> >+ #include <sys/socket.h> >diff -urN /usr/ports/net/nepenthes/files/patch-modules__module-honeytrap__PCAPSocket.cpp net/nepenthes/files/patch-modules__module-honeytrap__PCAPSocket.cpp >--- /usr/ports/net/nepenthes/files/patch-modules__module-honeytrap__PCAPSocket.cpp 1970-01-01 09:00:00.000000000 +0900 >+++ net/nepenthes/files/patch-modules__module-honeytrap__PCAPSocket.cpp 2014-08-27 00:00:00.000000000 +0900 >@@ -0,0 +1,19 @@ >+--- modules/module-honeytrap/PCAPSocket.cpp.orig >++++ modules/module-honeytrap/PCAPSocket.cpp >+@@ -28,12 +28,14 @@ >+ /* $Id: PCAPSocket.cpp 697 2006-11-11 09:17:19Z common $ */ >+ >+ #include <unistd.h> >+-#include <time.h> >++#include <cstdlib> >++#include <cstring> >++#include <ctime> >+ #include <sys/types.h> >+ #include <sys/socket.h> >+ #include <netinet/in.h> >+ #include <arpa/inet.h> >+-#include <errno.h> >++#include <cerrno> >+ >+ #include "LogManager.hpp" >+ #include "PCAPSocket.hpp" >diff -urN /usr/ports/net/nepenthes/files/patch-modules__module-perios__PeirosParser.cpp net/nepenthes/files/patch-modules__module-perios__PeirosParser.cpp >--- /usr/ports/net/nepenthes/files/patch-modules__module-perios__PeirosParser.cpp 1970-01-01 09:00:00.000000000 +0900 >+++ net/nepenthes/files/patch-modules__module-perios__PeirosParser.cpp 2014-08-27 00:00:00.000000000 +0900 >@@ -0,0 +1,14 @@ >+--- modules/module-peiros/PeirosParser.cpp.orig >++++ modules/module-peiros/PeirosParser.cpp >+@@ -18,8 +18,9 @@ >+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. >+ */ >+ >+-#include <ctype.h> >+-#include <stdio.h> >++#include <cctype> >++#include <cstdio> >++#include <cstdlib> >+ #include "PeirosParser.hpp" >+ #include "Nepenthes.hpp" >+ #include "LogManager.hpp" >diff -urN /usr/ports/net/nepenthes/files/patch-modules__module-portwatch__module-portwatch.cpp net/nepenthes/files/patch-modules__module-portwatch__module-portwatch.cpp >--- /usr/ports/net/nepenthes/files/patch-modules__module-portwatch__module-portwatch.cpp 1970-01-01 09:00:00.000000000 +0900 >+++ net/nepenthes/files/patch-modules__module-portwatch__module-portwatch.cpp 2014-08-27 00:00:00.000000000 +0900 >@@ -0,0 +1,12 @@ >+--- modules/module-portwatch/module-portwatch.cpp.orig >++++ modules/module-portwatch/module-portwatch.cpp >+@@ -27,7 +27,8 @@ >+ >+ /* $Id: module-portwatch.cpp 550 2006-05-04 10:25:35Z common $ */ >+ >+-#include <ctype.h> >++#include <cctype> >++#include <cstdlib> >+ >+ #include "module-portwatch.hpp" >+ #include "WatchDialogue.hpp" >diff -urN /usr/ports/net/nepenthes/files/patch-modules__shellcode-generic__sch_generic_cmd.cpp net/nepenthes/files/patch-modules__shellcode-generic__sch_generic_cmd.cpp >--- /usr/ports/net/nepenthes/files/patch-modules__shellcode-generic__sch_generic_cmd.cpp 1970-01-01 09:00:00.000000000 +0900 >+++ net/nepenthes/files/patch-modules__shellcode-generic__sch_generic_cmd.cpp 2014-08-27 00:00:00.000000000 +0900 >@@ -0,0 +1,11 @@ >+--- modules/shellcode-generic/sch_generic_cmd.cpp.orig >++++ modules/shellcode-generic/sch_generic_cmd.cpp >+@@ -30,6 +30,8 @@ >+ >+ >+ >++#include <cstring> >++ >+ #include "sch_generic_cmd.hpp" >+ >+ #include "Nepenthes.hpp" >diff -urN /usr/ports/net/nepenthes/files/patch-modules__shellcode-generic__sch_generic_connect_trans.cpp net/nepenthes/files/patch-modules__shellcode-generic__sch_generic_connect_trans.cpp >--- /usr/ports/net/nepenthes/files/patch-modules__shellcode-generic__sch_generic_connect_trans.cpp 1970-01-01 09:00:00.000000000 +0900 >+++ net/nepenthes/files/patch-modules__shellcode-generic__sch_generic_connect_trans.cpp 2014-08-27 00:00:00.000000000 +0900 >@@ -0,0 +1,10 @@ >+--- modules/shellcode-generic/sch_generic_connect_trans.cpp.orig >++++ modules/shellcode-generic/sch_generic_connect_trans.cpp >+@@ -27,6 +27,7 @@ >+ >+ /* $Id: sch_generic_connect_trans.cpp 550 2006-05-04 10:25:35Z common $ */ >+ >++#include <cstdio> >+ #include <sys/types.h> >+ #include <sys/socket.h> >+ #include <netinet/in.h> >diff -urN /usr/ports/net/nepenthes/files/patch-modules__shellcode-generic__sch_generic_createprocess.cpp net/nepenthes/files/patch-modules__shellcode-generic__sch_generic_createprocess.cpp >--- /usr/ports/net/nepenthes/files/patch-modules__shellcode-generic__sch_generic_createprocess.cpp 1970-01-01 09:00:00.000000000 +0900 >+++ net/nepenthes/files/patch-modules__shellcode-generic__sch_generic_createprocess.cpp 2014-08-27 00:00:00.000000000 +0900 >@@ -0,0 +1,12 @@ >+--- modules/shellcode-generic/sch_generic_createprocess.cpp.orig >++++ modules/shellcode-generic/sch_generic_createprocess.cpp >+@@ -40,6 +40,9 @@ >+ >+ >+ >++#include <cstdio> >++#include <cstring> >++ >+ #include "sch_generic_createprocess.hpp" >+ >+ #include "Nepenthes.hpp" >diff -urN /usr/ports/net/nepenthes/files/patch-modules__shellcode-generic__sch_generic_konstanz_xor.cpp net/nepenthes/files/patch-modules__shellcode-generic__sch_generic_konstanz_xor.cpp >--- /usr/ports/net/nepenthes/files/patch-modules__shellcode-generic__sch_generic_konstanz_xor.cpp 1970-01-01 09:00:00.000000000 +0900 >+++ net/nepenthes/files/patch-modules__shellcode-generic__sch_generic_konstanz_xor.cpp 2014-08-27 00:00:00.000000000 +0900 >@@ -0,0 +1,10 @@ >+--- modules/shellcode-generic/sch_generic_konstanz_xor.cpp.orig >++++ modules/shellcode-generic/sch_generic_konstanz_xor.cpp >+@@ -27,6 +27,7 @@ >+ >+ /* $Id: sch_generic_konstanz_xor.cpp 2215 2005-12-23 16:54:36Z common $ */ >+ >++#include <cstring> >+ #include "sch_generic_konstanz_xor.hpp" >+ #include "Nepenthes.hpp" >+ #include "Message.hpp" >diff -urN /usr/ports/net/nepenthes/files/patch-modules__shellcode-generic__sch_generic_leimbach_url_xor.cpp net/nepenthes/files/patch-modules__shellcode-generic__sch_generic_leimbach_url_xor.cpp >--- /usr/ports/net/nepenthes/files/patch-modules__shellcode-generic__sch_generic_leimbach_url_xor.cpp 1970-01-01 09:00:00.000000000 +0900 >+++ net/nepenthes/files/patch-modules__shellcode-generic__sch_generic_leimbach_url_xor.cpp 2014-08-27 00:00:00.000000000 +0900 >@@ -0,0 +1,11 @@ >+--- modules/shellcode-generic/sch_generic_leimbach_url_xor.cpp.orig >++++ modules/shellcode-generic/sch_generic_leimbach_url_xor.cpp >+@@ -27,6 +27,8 @@ >+ >+ /* $Id: sch_generic_leimbach_url_xor.cpp 836 2007-02-06 15:16:50Z common $ */ >+ >++#include <cstring> >++ >+ #include "sch_generic_xor.hpp" >+ #include "sch_generic_leimbach_url_xor.hpp" >+ >diff -urN /usr/ports/net/nepenthes/files/patch-modules__shellcode-generic__sch_generic_link_bind_trans.cpp net/nepenthes/files/patch-modules__shellcode-generic__sch_generic_link_bind_trans.cpp >--- /usr/ports/net/nepenthes/files/patch-modules__shellcode-generic__sch_generic_link_bind_trans.cpp 1970-01-01 09:00:00.000000000 +0900 >+++ net/nepenthes/files/patch-modules__shellcode-generic__sch_generic_link_bind_trans.cpp 2014-08-27 00:00:00.000000000 +0900 >@@ -0,0 +1,11 @@ >+--- modules/shellcode-generic/sch_generic_link_bind_trans.cpp.orig >++++ modules/shellcode-generic/sch_generic_link_bind_trans.cpp >+@@ -27,6 +27,8 @@ >+ >+ /* $Id: sch_generic_link_bind_trans.cpp 2271 2006-01-14 20:31:52Z common $ */ >+ >++#include <cstdio> >++#include <cstring> >+ #include <sys/types.h> >+ #include <sys/socket.h> >+ #include <netinet/in.h> >diff -urN /usr/ports/net/nepenthes/files/patch-modules__shellcode-generic__sch_generic_link_trans.cpp net/nepenthes/files/patch-modules__shellcode-generic__sch_generic_link_trans.cpp >--- /usr/ports/net/nepenthes/files/patch-modules__shellcode-generic__sch_generic_link_trans.cpp 1970-01-01 09:00:00.000000000 +0900 >+++ net/nepenthes/files/patch-modules__shellcode-generic__sch_generic_link_trans.cpp 2014-08-27 00:00:00.000000000 +0900 >@@ -0,0 +1,11 @@ >+--- modules/shellcode-generic/sch_generic_link_trans.cpp.orig >++++ modules/shellcode-generic/sch_generic_link_trans.cpp >+@@ -28,6 +28,8 @@ >+ /* $Id: sch_generic_link_trans.cpp 2271 2006-01-14 20:31:52Z common $ */ >+ >+ >++#include <cstdio> >++#include <cstring> >+ #include <sys/types.h> >+ #include <sys/socket.h> >+ #include <netinet/in.h> >diff -urN /usr/ports/net/nepenthes/files/patch-modules__shellcode-generic__sch_generic_linkxor.cpp net/nepenthes/files/patch-modules__shellcode-generic__sch_generic_linkxor.cpp >--- /usr/ports/net/nepenthes/files/patch-modules__shellcode-generic__sch_generic_linkxor.cpp 1970-01-01 09:00:00.000000000 +0900 >+++ net/nepenthes/files/patch-modules__shellcode-generic__sch_generic_linkxor.cpp 2014-08-27 00:00:00.000000000 +0900 >@@ -0,0 +1,10 @@ >+--- modules/shellcode-generic/sch_generic_linkxor.cpp.orig >++++ modules/shellcode-generic/sch_generic_linkxor.cpp >+@@ -27,6 +27,7 @@ >+ >+ /* $Id: sch_generic_linkxor.cpp 2215 2005-12-23 16:54:36Z common $ */ >+ >++#include <cstring> >+ #include "sch_generic_linkxor.hpp" >+ #include "Nepenthes.hpp" >+ #include "Message.hpp" >diff -urN /usr/ports/net/nepenthes/files/patch-modules__shellcode-generic__sch_generic_stuttgart.cpp net/nepenthes/files/patch-modules__shellcode-generic__sch_generic_stuttgart.cpp >--- /usr/ports/net/nepenthes/files/patch-modules__shellcode-generic__sch_generic_stuttgart.cpp 1970-01-01 09:00:00.000000000 +0900 >+++ net/nepenthes/files/patch-modules__shellcode-generic__sch_generic_stuttgart.cpp 2014-08-27 00:00:00.000000000 +0900 >@@ -0,0 +1,11 @@ >+--- modules/shellcode-generic/sch_generic_stuttgart.cpp.orig >++++ modules/shellcode-generic/sch_generic_stuttgart.cpp >+@@ -27,6 +27,8 @@ >+ >+ /* $Id: sch_generic_link_trans.cpp 1664 2005-07-15 03:33:39Z common $ */ >+ >++#include <cstdio> >++#include <cstring> >+ #include <sys/types.h> >+ #include <sys/socket.h> >+ #include <netinet/in.h> >diff -urN /usr/ports/net/nepenthes/files/patch-modules__shellcode-generic__sch_generic_unicode.cpp net/nepenthes/files/patch-modules__shellcode-generic__sch_generic_unicode.cpp >--- /usr/ports/net/nepenthes/files/patch-modules__shellcode-generic__sch_generic_unicode.cpp 1970-01-01 09:00:00.000000000 +0900 >+++ net/nepenthes/files/patch-modules__shellcode-generic__sch_generic_unicode.cpp 2014-08-27 00:00:00.000000000 +0900 >@@ -0,0 +1,12 @@ >+--- modules/shellcode-generic/sch_generic_unicode.cpp.orig >++++ modules/shellcode-generic/sch_generic_unicode.cpp >+@@ -28,6 +28,9 @@ >+ /* $Id: sch_generic_unicode.cpp 2245 2006-01-06 16:46:44Z common $ */ >+ >+ >++#include <cstdlib> >++#include <cstring> >++ >+ #include "sch_generic_unicode.hpp" >+ #include "LogManager.hpp" >+ #include "Message.hpp" >diff -urN /usr/ports/net/nepenthes/files/patch-modules__shellcode-generic__sch_generic_url.cpp net/nepenthes/files/patch-modules__shellcode-generic__sch_generic_url.cpp >--- /usr/ports/net/nepenthes/files/patch-modules__shellcode-generic__sch_generic_url.cpp 1970-01-01 09:00:00.000000000 +0900 >+++ net/nepenthes/files/patch-modules__shellcode-generic__sch_generic_url.cpp 2014-08-27 00:00:00.000000000 +0900 >@@ -0,0 +1,10 @@ >+--- modules/shellcode-generic/sch_generic_url.cpp.orig >++++ modules/shellcode-generic/sch_generic_url.cpp >+@@ -40,6 +40,7 @@ >+ >+ >+ >++#include <cstdio> >+ #include "sch_generic_url.hpp" >+ #include "LogManager.hpp" >+ #include "Message.hpp" >diff -urN /usr/ports/net/nepenthes/files/patch-modules__shellcode-generic__sch_generic_winexec.cpp net/nepenthes/files/patch-modules__shellcode-generic__sch_generic_winexec.cpp >--- /usr/ports/net/nepenthes/files/patch-modules__shellcode-generic__sch_generic_winexec.cpp 1970-01-01 09:00:00.000000000 +0900 >+++ net/nepenthes/files/patch-modules__shellcode-generic__sch_generic_winexec.cpp 2014-08-27 00:00:00.000000000 +0900 >@@ -0,0 +1,11 @@ >+--- modules/shellcode-generic/sch_generic_winexec.cpp.orig >++++ modules/shellcode-generic/sch_generic_winexec.cpp >+@@ -29,6 +29,8 @@ >+ >+ >+ >++#include <cstring> >++ >+ #include "sch_generic_winexec.hpp" >+ >+ #include "Nepenthes.hpp" >diff -urN /usr/ports/net/nepenthes/files/patch-modules__shellcode-generic__sch_generic_wuerzburg.cpp net/nepenthes/files/patch-modules__shellcode-generic__sch_generic_wuerzburg.cpp >--- /usr/ports/net/nepenthes/files/patch-modules__shellcode-generic__sch_generic_wuerzburg.cpp 1970-01-01 09:00:00.000000000 +0900 >+++ net/nepenthes/files/patch-modules__shellcode-generic__sch_generic_wuerzburg.cpp 2014-08-27 00:00:00.000000000 +0900 >@@ -0,0 +1,11 @@ >+--- modules/shellcode-generic/sch_generic_wuerzburg.cpp.orig >++++ modules/shellcode-generic/sch_generic_wuerzburg.cpp >+@@ -27,6 +27,8 @@ >+ >+ /* $Id: sch_generic_wuerzburg.cpp 2271 2006-01-14 20:31:52Z common $ */ >+ >++#include <cstdio> >++#include <cstring> >+ #include <sys/types.h> >+ #include <sys/socket.h> >+ #include <netinet/in.h> >diff -urN /usr/ports/net/nepenthes/files/patch-modules__shellcode-generic__sch_generic_xor.cpp net/nepenthes/files/patch-modules__shellcode-generic__sch_generic_xor.cpp >--- /usr/ports/net/nepenthes/files/patch-modules__shellcode-generic__sch_generic_xor.cpp 1970-01-01 09:00:00.000000000 +0900 >+++ net/nepenthes/files/patch-modules__shellcode-generic__sch_generic_xor.cpp 2014-08-27 00:00:00.000000000 +0900 >@@ -0,0 +1,11 @@ >+--- modules/shellcode-generic/sch_generic_xor.cpp.orig >++++ modules/shellcode-generic/sch_generic_xor.cpp >+@@ -40,6 +40,8 @@ >+ >+ >+ >++#include <cstdio> >++ >+ #include "sch_generic_xor.hpp" >+ >+ #include "Nepenthes.hpp" >diff -urN /usr/ports/net/nepenthes/files/patch-modules__shellcode-signatures__sch_engine_unicode.cpp net/nepenthes/files/patch-modules__shellcode-signatures__sch_engine_unicode.cpp >--- /usr/ports/net/nepenthes/files/patch-modules__shellcode-signatures__sch_engine_unicode.cpp 1970-01-01 09:00:00.000000000 +0900 >+++ net/nepenthes/files/patch-modules__shellcode-signatures__sch_engine_unicode.cpp 2014-08-27 00:00:00.000000000 +0900 >@@ -0,0 +1,10 @@ >+--- modules/shellcode-signatures/sch_engine_unicode.cpp.orig >++++ modules/shellcode-signatures/sch_engine_unicode.cpp >+@@ -27,6 +27,7 @@ >+ >+ /* $Id: sch_engine_unicode.cpp 443 2006-03-27 19:55:16Z common $ */ >+ >++#include <cstring> >+ #include <stdint.h> >+ >+ #include "sch_engine_unicode.hpp" >diff -urN /usr/ports/net/nepenthes/files/patch-modules__shellcode-signatures__sch_namespace_alphanumericxor.cpp net/nepenthes/files/patch-modules__shellcode-signatures__sch_namespace_alphanumericxor.cpp >--- /usr/ports/net/nepenthes/files/patch-modules__shellcode-signatures__sch_namespace_alphanumericxor.cpp 1970-01-01 09:00:00.000000000 +0900 >+++ net/nepenthes/files/patch-modules__shellcode-signatures__sch_namespace_alphanumericxor.cpp 2014-08-27 00:00:00.000000000 +0900 >@@ -0,0 +1,11 @@ >+--- modules/shellcode-signatures/sch_namespace_alphanumericxor.cpp.orig >++++ modules/shellcode-signatures/sch_namespace_alphanumericxor.cpp >+@@ -28,6 +28,8 @@ >+ /* $Id: sch_namespace_alphanumericxor.cpp 520 2006-04-18 23:18:17Z common $ */ >+ >+ >++#include <cstring> >++ >+ #include "sch_namespace_alphanumericxor.hpp" >+ >+ #include "Nepenthes.hpp" >diff -urN /usr/ports/net/nepenthes/files/patch-modules__shellcode-signatures__sch_namespace_base64.cpp net/nepenthes/files/patch-modules__shellcode-signatures__sch_namespace_base64.cpp >--- /usr/ports/net/nepenthes/files/patch-modules__shellcode-signatures__sch_namespace_base64.cpp 1970-01-01 09:00:00.000000000 +0900 >+++ net/nepenthes/files/patch-modules__shellcode-signatures__sch_namespace_base64.cpp 2014-08-27 00:00:00.000000000 +0900 >@@ -0,0 +1,11 @@ >+--- modules/shellcode-signatures/sch_namespace_base64.cpp.orig >++++ modules/shellcode-signatures/sch_namespace_base64.cpp >+@@ -27,6 +27,8 @@ >+ >+ /* $Id: sch_namespace_base64.cpp 693 2006-11-02 19:35:43Z common $ */ >+ >++#include <cstring> >++ >+ #include "sch_namespace_base64.hpp" >+ >+ #include "Nepenthes.hpp" >diff -urN /usr/ports/net/nepenthes/files/patch-modules__shellcode-signatures__sch_namespace_bindfiletransfer.cpp net/nepenthes/files/patch-modules__shellcode-signatures__sch_namespace_bindfiletransfer.cpp >--- /usr/ports/net/nepenthes/files/patch-modules__shellcode-signatures__sch_namespace_bindfiletransfer.cpp 1970-01-01 09:00:00.000000000 +0900 >+++ net/nepenthes/files/patch-modules__shellcode-signatures__sch_namespace_bindfiletransfer.cpp 2014-08-27 00:00:00.000000000 +0900 >@@ -0,0 +1,10 @@ >+--- modules/shellcode-signatures/sch_namespace_bindfiletransfer.cpp.orig >++++ modules/shellcode-signatures/sch_namespace_bindfiletransfer.cpp >+@@ -27,6 +27,7 @@ >+ >+ /* $Id: sch_namespace_bindfiletransfer.cpp 499 2006-04-08 18:40:14Z common $ */ >+ >++#include <cstdio> >+ #include <sys/types.h> >+ #include <sys/socket.h> >+ #include <netinet/in.h> >diff -urN /usr/ports/net/nepenthes/files/patch-modules__shellcode-signatures__sch_namespace_connectbackfiletransfer.cpp net/nepenthes/files/patch-modules__shellcode-signatures__sch_namespace_connectbackfiletransfer.cpp >--- /usr/ports/net/nepenthes/files/patch-modules__shellcode-signatures__sch_namespace_connectbackfiletransfer.cpp 1970-01-01 09:00:00.000000000 +0900 >+++ net/nepenthes/files/patch-modules__shellcode-signatures__sch_namespace_connectbackfiletransfer.cpp 2014-08-27 00:00:00.000000000 +0900 >@@ -0,0 +1,10 @@ >+--- modules/shellcode-signatures/sch_namespace_connectbackfiletransfer.cpp.orig >++++ modules/shellcode-signatures/sch_namespace_connectbackfiletransfer.cpp >+@@ -27,6 +27,7 @@ >+ >+ /* $Id: sch_namespace_connectbackfiletransfer.cpp 499 2006-04-08 18:40:14Z common $ */ >+ >++#include <cstdio> >+ #include <sys/types.h> >+ #include <sys/socket.h> >+ #include <netinet/in.h> >diff -urN /usr/ports/net/nepenthes/files/patch-modules__shellcode-signatures__sch_namespace_execute.cpp net/nepenthes/files/patch-modules__shellcode-signatures__sch_namespace_execute.cpp >--- /usr/ports/net/nepenthes/files/patch-modules__shellcode-signatures__sch_namespace_execute.cpp 1970-01-01 09:00:00.000000000 +0900 >+++ net/nepenthes/files/patch-modules__shellcode-signatures__sch_namespace_execute.cpp 2014-08-27 00:00:00.000000000 +0900 >@@ -0,0 +1,11 @@ >+--- modules/shellcode-signatures/sch_namespace_execute.cpp.orig >++++ modules/shellcode-signatures/sch_namespace_execute.cpp >+@@ -27,6 +27,8 @@ >+ >+ /* $Id: sch_namespace_execute.cpp 550 2006-05-04 10:25:35Z common $ */ >+ >++#include <cstring> >++ >+ #include "sch_namespace_execute.hpp" >+ >+ #include "Nepenthes.hpp" >diff -urN /usr/ports/net/nepenthes/files/patch-modules__shellcode-signatures__sch_namespace_konstanzxor.cpp net/nepenthes/files/patch-modules__shellcode-signatures__sch_namespace_konstanzxor.cpp >--- /usr/ports/net/nepenthes/files/patch-modules__shellcode-signatures__sch_namespace_konstanzxor.cpp 1970-01-01 09:00:00.000000000 +0900 >+++ net/nepenthes/files/patch-modules__shellcode-signatures__sch_namespace_konstanzxor.cpp 2014-08-27 00:00:00.000000000 +0900 >@@ -0,0 +1,11 @@ >+--- modules/shellcode-signatures/sch_namespace_konstanzxor.cpp.orig >++++ modules/shellcode-signatures/sch_namespace_konstanzxor.cpp >+@@ -27,6 +27,8 @@ >+ >+ /* $Id: sch_namespace_konstanzxor.cpp 499 2006-04-08 18:40:14Z common $ */ >+ >++#include <cstring> >++ >+ #include "sch_namespace_konstanzxor.hpp" >+ >+ #include "Nepenthes.hpp" >diff -urN /usr/ports/net/nepenthes/files/patch-modules__shellcode-signatures__sch_namespace_linkxor.cpp net/nepenthes/files/patch-modules__shellcode-signatures__sch_namespace_linkxor.cpp >--- /usr/ports/net/nepenthes/files/patch-modules__shellcode-signatures__sch_namespace_linkxor.cpp 1970-01-01 09:00:00.000000000 +0900 >+++ net/nepenthes/files/patch-modules__shellcode-signatures__sch_namespace_linkxor.cpp 2014-08-27 00:00:00.000000000 +0900 >@@ -0,0 +1,11 @@ >+--- modules/shellcode-signatures/sch_namespace_linkxor.cpp.orig >++++ modules/shellcode-signatures/sch_namespace_linkxor.cpp >+@@ -28,6 +28,8 @@ >+ /* $Id: sch_namespace_linkxor.cpp 654 2006-09-27 12:01:16Z common $ */ >+ >+ >++#include <cstring> >++ >+ #include "sch_namespace_linkxor.hpp" >+ >+ #include "Nepenthes.hpp" >diff -urN /usr/ports/net/nepenthes/files/patch-modules__shellcode-signatures__sch_namespace_xor.cpp net/nepenthes/files/patch-modules__shellcode-signatures__sch_namespace_xor.cpp >--- /usr/ports/net/nepenthes/files/patch-modules__shellcode-signatures__sch_namespace_xor.cpp 1970-01-01 09:00:00.000000000 +0900 >+++ net/nepenthes/files/patch-modules__shellcode-signatures__sch_namespace_xor.cpp 2014-08-27 00:00:00.000000000 +0900 >@@ -0,0 +1,11 @@ >+--- modules/shellcode-signatures/sch_namespace_xor.cpp.orig >++++ modules/shellcode-signatures/sch_namespace_xor.cpp >+@@ -28,6 +28,8 @@ >+ /* $Id: sch_namespace_xor.cpp 499 2006-04-08 18:40:14Z common $ */ >+ >+ >++#include <cstring> >++ >+ #include "sch_namespace_xor.hpp" >+ >+ #include "Nepenthes.hpp" >diff -urN /usr/ports/net/nepenthes/files/patch-modules__shellemu-winnt__VFS.cpp net/nepenthes/files/patch-modules__shellemu-winnt__VFS.cpp >--- /usr/ports/net/nepenthes/files/patch-modules__shellemu-winnt__VFS.cpp 1970-01-01 09:00:00.000000000 +0900 >+++ net/nepenthes/files/patch-modules__shellemu-winnt__VFS.cpp 2014-08-27 00:00:00.000000000 +0900 >@@ -0,0 +1,13 @@ >+--- modules/shellemu-winnt/VFS.cpp.orig >++++ modules/shellemu-winnt/VFS.cpp >+@@ -21,7 +21,9 @@ >+ *******************************************************************************/ >+ >+ >+-#include <ctype.h> >++#include <cctype> >++#include <cstdio> >++#include <cstring> >+ >+ #include "VFS.hpp" >+ #include "VFSNode.hpp" >diff -urN /usr/ports/net/nepenthes/files/patch-modules__shellemu-winnt__VFSCommand.hpp net/nepenthes/files/patch-modules__shellemu-winnt__VFSCommand.hpp >--- /usr/ports/net/nepenthes/files/patch-modules__shellemu-winnt__VFSCommand.hpp 1970-01-01 09:00:00.000000000 +0900 >+++ net/nepenthes/files/patch-modules__shellemu-winnt__VFSCommand.hpp 2014-08-27 00:00:00.000000000 +0900 >@@ -0,0 +1,10 @@ >+--- modules/shellemu-winnt/VFSCommand.hpp.orig >++++ modules/shellemu-winnt/VFSCommand.hpp >+@@ -33,6 +33,7 @@ >+ #include <list> >+ #include <string> >+ #include <vector> >++#include <inttypes.h> >+ >+ #include "VFSNode.hpp" >+ >diff -urN /usr/ports/net/nepenthes/files/patch-modules__shellemu-winnt__VFSCommandCMD.cpp net/nepenthes/files/patch-modules__shellemu-winnt__VFSCommandCMD.cpp >--- /usr/ports/net/nepenthes/files/patch-modules__shellemu-winnt__VFSCommandCMD.cpp 1970-01-01 09:00:00.000000000 +0900 >+++ net/nepenthes/files/patch-modules__shellemu-winnt__VFSCommandCMD.cpp 2014-08-27 00:00:00.000000000 +0900 >@@ -0,0 +1,11 @@ >+--- modules/shellemu-winnt/VFSCommandCMD.cpp.orig >++++ modules/shellemu-winnt/VFSCommandCMD.cpp >+@@ -27,6 +27,8 @@ >+ >+ /* $Id: VFSCommandCMD.cpp 1956 2005-09-10 15:32:08Z common $ */ >+ >++#include <cstring> >++ >+ #include "VFSCommandCMD.hpp" >+ #include "VFSNode.hpp" >+ #include "VFSDir.hpp" >diff -urN /usr/ports/net/nepenthes/files/patch-modules__shellemu-winnt__VFSCommandFTP.cpp net/nepenthes/files/patch-modules__shellemu-winnt__VFSCommandFTP.cpp >--- /usr/ports/net/nepenthes/files/patch-modules__shellemu-winnt__VFSCommandFTP.cpp 1970-01-01 09:00:00.000000000 +0900 >+++ net/nepenthes/files/patch-modules__shellemu-winnt__VFSCommandFTP.cpp 2014-08-27 00:00:00.000000000 +0900 >@@ -0,0 +1,12 @@ >+--- modules/shellemu-winnt/VFSCommandFTP.cpp.orig >++++ modules/shellemu-winnt/VFSCommandFTP.cpp >+@@ -27,7 +27,8 @@ >+ >+ /* $Id: VFSCommandFTP.cpp 1410 2007-10-12 13:07:23Z common $ */ >+ >+-#include <ctype.h> >++#include <cctype> >++#include <cstring> >+ >+ #include "VFSCommandFTP.hpp" >+ #include "VFSNode.hpp" >diff -urN /usr/ports/net/nepenthes/files/patch-modules__shellemu-winnt__VFSCommandRCP.cpp net/nepenthes/files/patch-modules__shellemu-winnt__VFSCommandRCP.cpp >--- /usr/ports/net/nepenthes/files/patch-modules__shellemu-winnt__VFSCommandRCP.cpp 1970-01-01 09:00:00.000000000 +0900 >+++ net/nepenthes/files/patch-modules__shellemu-winnt__VFSCommandRCP.cpp 2014-08-27 00:00:00.000000000 +0900 >@@ -0,0 +1,11 @@ >+--- modules/shellemu-winnt/VFSCommandRCP.cpp.orig >++++ modules/shellemu-winnt/VFSCommandRCP.cpp >+@@ -27,6 +27,8 @@ >+ >+ /* $Id: VFSCommandRCP.cpp 550 2006-05-04 10:25:35Z common $ */ >+ >++#include <cstdio> >++#include <cstring> >+ #include "VFSCommandRCP.hpp" >+ #include "VFSNode.hpp" >+ #include "VFSDir.hpp" >diff -urN /usr/ports/net/nepenthes/files/patch-modules__shellemu-winnt__VFSDir.cpp net/nepenthes/files/patch-modules__shellemu-winnt__VFSDir.cpp >--- /usr/ports/net/nepenthes/files/patch-modules__shellemu-winnt__VFSDir.cpp 1970-01-01 09:00:00.000000000 +0900 >+++ net/nepenthes/files/patch-modules__shellemu-winnt__VFSDir.cpp 2014-08-27 00:00:00.000000000 +0900 >@@ -0,0 +1,11 @@ >+--- modules/shellemu-winnt/VFSDir.cpp.orig >++++ modules/shellemu-winnt/VFSDir.cpp >+@@ -28,6 +28,8 @@ >+ /* $Id: VFSDir.cpp 1947 2005-09-08 17:30:06Z common $ */ >+ >+ >++#include <cstring> >++ >+ #include "VFSDir.hpp" >+ #include "VFSFile.hpp" >+ #include "LogManager.hpp" >diff -urN /usr/ports/net/nepenthes/files/patch-modules__shellemu-winnt__WinNTShellDialogue.cpp net/nepenthes/files/patch-modules__shellemu-winnt__WinNTShellDialogue.cpp >--- /usr/ports/net/nepenthes/files/patch-modules__shellemu-winnt__WinNTShellDialogue.cpp 1970-01-01 09:00:00.000000000 +0900 >+++ net/nepenthes/files/patch-modules__shellemu-winnt__WinNTShellDialogue.cpp 2014-08-27 00:00:00.000000000 +0900 >@@ -0,0 +1,12 @@ >+--- modules/shellemu-winnt/WinNTShellDialogue.cpp.orig >++++ modules/shellemu-winnt/WinNTShellDialogue.cpp >+@@ -28,7 +28,8 @@ >+ /* $Id: WinNTShellDialogue.cpp 2221 2005-12-23 17:01:33Z common $ */ >+ >+ //#include <arpa/inet.h> >+-#include <errno.h> >++#include <cerrno> >++#include <cstring> >+ #include <string> >+ >+ #include "WinNTShellDialogue.hpp" >diff -urN /usr/ports/net/nepenthes/files/patch-modules__submit-file__submit-file.cpp net/nepenthes/files/patch-modules__submit-file__submit-file.cpp >--- /usr/ports/net/nepenthes/files/patch-modules__submit-file__submit-file.cpp 1970-01-01 09:00:00.000000000 +0900 >+++ net/nepenthes/files/patch-modules__submit-file__submit-file.cpp 2014-08-27 00:00:00.000000000 +0900 >@@ -0,0 +1,15 @@ >+--- modules/submit-file/submit-file.cpp.orig >++++ modules/submit-file/submit-file.cpp >+@@ -26,10 +26,11 @@ >+ *******************************************************************************/ >+ >+ /* $Id: submit-file.cpp 550 2006-05-04 10:25:35Z common $ */ >++#include <cstdio> >+ #include <sys/types.h> >+ #include <sys/stat.h> >+ #include <unistd.h> >+-#include <errno.h> >++#include <cerrno> >+ >+ #include "submit-file.hpp" >+ #include "Download.hpp" >diff -urN /usr/ports/net/nepenthes/files/patch-modules__submit-gotek__submit-gotek.cpp net/nepenthes/files/patch-modules__submit-gotek__submit-gotek.cpp >--- /usr/ports/net/nepenthes/files/patch-modules__submit-gotek__submit-gotek.cpp 1970-01-01 09:00:00.000000000 +0900 >+++ net/nepenthes/files/patch-modules__submit-gotek__submit-gotek.cpp 2014-08-27 00:00:00.000000000 +0900 >@@ -0,0 +1,26 @@ >+--- modules/submit-gotek/submit-gotek.cpp.orig >++++ modules/submit-gotek/submit-gotek.cpp >+@@ -26,16 +26,18 @@ >+ *******************************************************************************/ >+ >+ /* $Id: submit-gotek.cpp 550 2006-05-04 10:25:35Z common $ */ >++#include <cstdlib> >+ #include <sys/types.h> >+ #include <sys/stat.h> >+ #include <unistd.h> >+-#include <errno.h> >++#include <cerrno> >+ #include <arpa/inet.h> >+-#include <time.h> >++#include <netinet/in.h> >++#include <ctime> >+ #include <dirent.h> >+-#include <string.h> >+-#include <errno.h> >+-#include <assert.h> >++#include <cstring> >++#include <cerrno> >++#include <cassert> >+ >+ #include "submit-gotek.hpp" >+ #include "gotekCTRLDialogue.hpp" >diff -urN /usr/ports/net/nepenthes/files/patch-modules__submit-http__HTTPSession.cpp net/nepenthes/files/patch-modules__submit-http__HTTPSession.cpp >--- /usr/ports/net/nepenthes/files/patch-modules__submit-http__HTTPSession.cpp 1970-01-01 09:00:00.000000000 +0900 >+++ net/nepenthes/files/patch-modules__submit-http__HTTPSession.cpp 2014-08-27 00:00:00.000000000 +0900 >@@ -0,0 +1,13 @@ >+--- modules/submit-http/HTTPSession.cpp.orig >++++ modules/submit-http/HTTPSession.cpp >+@@ -31,6 +31,10 @@ >+ #include <curl/types.h> /* new for v7 */ >+ #include <curl/easy.h> /* new for v7 */ >+ #include <sstream> >++#include <cstring> >++#include <sys/types.h> >++#include <sys/socket.h> >++#include <arpa/inet.h> >+ #include <netinet/in.h> >+ >+ #include "HTTPSession.hpp" >diff -urN /usr/ports/net/nepenthes/files/patch-modules__submit-norman__submit-norman.cpp net/nepenthes/files/patch-modules__submit-norman__submit-norman.cpp >--- /usr/ports/net/nepenthes/files/patch-modules__submit-norman__submit-norman.cpp 1970-01-01 09:00:00.000000000 +0900 >+++ net/nepenthes/files/patch-modules__submit-norman__submit-norman.cpp 2014-08-27 00:00:00.000000000 +0900 >@@ -0,0 +1,11 @@ >+--- modules/submit-norman/submit-norman.cpp.orig >++++ modules/submit-norman/submit-norman.cpp >+@@ -28,6 +28,8 @@ >+ /* $Id: submit-norman.cpp 674 2006-10-23 01:31:53Z common $ */ >+ >+ >++#include <cstdlib> >++ >+ #include "submit-norman.hpp" >+ #include "Download.hpp" >+ #include "DownloadUrl.hpp" >diff -urN /usr/ports/net/nepenthes/files/patch-modules__submit-norman__submit-norman.hpp net/nepenthes/files/patch-modules__submit-norman__submit-norman.hpp >--- /usr/ports/net/nepenthes/files/patch-modules__submit-norman__submit-norman.hpp 1970-01-01 09:00:00.000000000 +0900 >+++ net/nepenthes/files/patch-modules__submit-norman__submit-norman.hpp 2014-08-27 00:00:00.000000000 +0900 >@@ -0,0 +1,11 @@ >+--- modules/submit-norman/submit-norman.hpp.orig >++++ modules/submit-norman/submit-norman.hpp >+@@ -28,6 +28,8 @@ >+ /* $Id: submit-norman.hpp 674 2006-10-23 01:31:53Z common $ */ >+ >+ >++#include <cstring> >++ >+ #include <curl/curl.h> >+ #include <curl/types.h> /* new for v7 */ >+ #include <curl/easy.h> /* new for v7 */ >diff -urN /usr/ports/net/nepenthes/files/patch-modules__submit-postgres__PGDownloadContext.cpp net/nepenthes/files/patch-modules__submit-postgres__PGDownloadContext.cpp >--- /usr/ports/net/nepenthes/files/patch-modules__submit-postgres__PGDownloadContext.cpp 1970-01-01 09:00:00.000000000 +0900 >+++ net/nepenthes/files/patch-modules__submit-postgres__PGDownloadContext.cpp 2014-08-27 00:00:00.000000000 +0900 >@@ -0,0 +1,17 @@ >+--- modules/submit-postgres/PGDownloadContext.cpp.orig >++++ modules/submit-postgres/PGDownloadContext.cpp >+@@ -38,9 +38,11 @@ >+ #include <sys/stat.h> >+ #include <unistd.h> >+ >+-#include <time.h> >+-#include <errno.h> >+-#include <string.h> >++#include <cstdio> >++#include <cstdlib> >++#include <ctime> >++#include <cerrno> >++#include <cstring> >+ >+ #include <sstream> >+ #include <map> >diff -urN /usr/ports/net/nepenthes/files/patch-modules__submit-postgres__PGDownloadContext.hpp net/nepenthes/files/patch-modules__submit-postgres__PGDownloadContext.hpp >--- /usr/ports/net/nepenthes/files/patch-modules__submit-postgres__PGDownloadContext.hpp 1970-01-01 09:00:00.000000000 +0900 >+++ net/nepenthes/files/patch-modules__submit-postgres__PGDownloadContext.hpp 2014-08-27 00:00:00.000000000 +0900 >@@ -0,0 +1,10 @@ >+--- modules/submit-postgres/PGDownloadContext.hpp.orig >++++ modules/submit-postgres/PGDownloadContext.hpp >+@@ -30,6 +30,7 @@ >+ #ifndef HAVE_PGDOWNLOADCONTEXT_HPP >+ #define HAVE_PGDOWNLOADCONTEXT_HPP >+ >++#include <cstring> >+ #include <string> >+ #include <stdint.h> >+ >diff -urN /usr/ports/net/nepenthes/files/patch-modules__vuln-asn1__IISDialogue.cpp net/nepenthes/files/patch-modules__vuln-asn1__IISDialogue.cpp >--- /usr/ports/net/nepenthes/files/patch-modules__vuln-asn1__IISDialogue.cpp 1970-01-01 09:00:00.000000000 +0900 >+++ net/nepenthes/files/patch-modules__vuln-asn1__IISDialogue.cpp 2014-08-27 00:00:00.000000000 +0900 >@@ -0,0 +1,12 @@ >+--- modules/vuln-asn1/IISDialogue.cpp.orig >++++ modules/vuln-asn1/IISDialogue.cpp >+@@ -27,7 +27,8 @@ >+ >+ /* $Id: IISDialogue.cpp 836 2007-02-06 15:16:50Z common $ */ >+ >+-#include <ctype.h> >++#include <cctype> >++#include <cstring> >+ >+ #include "IISDialogue.hpp" >+ >diff -urN /usr/ports/net/nepenthes/files/patch-modules__vuln-asn1__SMBDialogue.cpp net/nepenthes/files/patch-modules__vuln-asn1__SMBDialogue.cpp >--- /usr/ports/net/nepenthes/files/patch-modules__vuln-asn1__SMBDialogue.cpp 1970-01-01 09:00:00.000000000 +0900 >+++ net/nepenthes/files/patch-modules__vuln-asn1__SMBDialogue.cpp 2014-08-27 00:00:00.000000000 +0900 >@@ -0,0 +1,12 @@ >+--- modules/vuln-asn1/SMBDialogue.cpp.orig >++++ modules/vuln-asn1/SMBDialogue.cpp >+@@ -27,7 +27,8 @@ >+ >+ /* $Id: SMBDialogue.cpp 836 2007-02-06 15:16:50Z common $ */ >+ >+-#include <ctype.h> >++#include <cctype> >++#include <cstring> >+ >+ #include "SMBDialogue.hpp" >+ #include "asn1-shellcodes.h" >diff -urN /usr/ports/net/nepenthes/files/patch-modules__vuln-bagle__vuln-bagle.cpp net/nepenthes/files/patch-modules__vuln-bagle__vuln-bagle.cpp >--- /usr/ports/net/nepenthes/files/patch-modules__vuln-bagle__vuln-bagle.cpp 1970-01-01 09:00:00.000000000 +0900 >+++ net/nepenthes/files/patch-modules__vuln-bagle__vuln-bagle.cpp 2014-08-27 00:00:00.000000000 +0900 >@@ -0,0 +1,12 @@ >+--- modules/vuln-bagle/vuln-bagle.cpp.orig >++++ modules/vuln-bagle/vuln-bagle.cpp >+@@ -27,7 +27,8 @@ >+ >+ /* $Id: vuln-bagle.cpp 550 2006-05-04 10:25:35Z common $ */ >+ >+-#include <ctype.h> >++#include <cctype> >++#include <cstdlib> >+ >+ #include "vuln-bagle.hpp" >+ #include "BagleDialogue.hpp" >diff -urN /usr/ports/net/nepenthes/files/patch-modules__vuln-dameware__vuln-dameware.cpp net/nepenthes/files/patch-modules__vuln-dameware__vuln-dameware.cpp >--- /usr/ports/net/nepenthes/files/patch-modules__vuln-dameware__vuln-dameware.cpp 1970-01-01 09:00:00.000000000 +0900 >+++ net/nepenthes/files/patch-modules__vuln-dameware__vuln-dameware.cpp 2014-08-27 00:00:00.000000000 +0900 >@@ -0,0 +1,12 @@ >+--- modules/vuln-dameware/vuln-dameware.cpp.orig >++++ modules/vuln-dameware/vuln-dameware.cpp >+@@ -27,7 +27,8 @@ >+ >+ /* $Id: vuln-dameware.cpp 550 2006-05-04 10:25:35Z common $ */ >+ >+-#include <ctype.h> >++#include <cctype> >++#include <cstdlib> >+ >+ #include "vuln-dameware.hpp" >+ #include "DWDialogue.hpp" >diff -urN /usr/ports/net/nepenthes/files/patch-modules__vuln-dcom__vuln-dcom.cpp net/nepenthes/files/patch-modules__vuln-dcom__vuln-dcom.cpp >--- /usr/ports/net/nepenthes/files/patch-modules__vuln-dcom__vuln-dcom.cpp 1970-01-01 09:00:00.000000000 +0900 >+++ net/nepenthes/files/patch-modules__vuln-dcom__vuln-dcom.cpp 2014-08-27 00:00:00.000000000 +0900 >@@ -0,0 +1,12 @@ >+--- modules/vuln-dcom/vuln-dcom.cpp.orig >++++ modules/vuln-dcom/vuln-dcom.cpp >+@@ -28,7 +28,8 @@ >+ /* $Id: vuln-dcom.cpp 550 2006-05-04 10:25:35Z common $ */ >+ >+ >+-#include <ctype.h> >++#include <cctype> >++#include <cstdlib> >+ >+ #include "vuln-dcom.hpp" >+ >diff -urN /usr/ports/net/nepenthes/files/patch-modules__vuln-iis__vuln-iis.cpp net/nepenthes/files/patch-modules__vuln-iis__vuln-iis.cpp >--- /usr/ports/net/nepenthes/files/patch-modules__vuln-iis__vuln-iis.cpp 1970-01-01 09:00:00.000000000 +0900 >+++ net/nepenthes/files/patch-modules__vuln-iis__vuln-iis.cpp 2014-08-27 00:00:00.000000000 +0900 >@@ -0,0 +1,12 @@ >+--- modules/vuln-iis/vuln-iis.cpp.orig >++++ modules/vuln-iis/vuln-iis.cpp >+@@ -27,7 +27,8 @@ >+ >+ /* $Id: vuln-iis.cpp 550 2006-05-04 10:25:35Z common $ */ >+ >+-#include <ctype.h> >++#include <cctype> >++#include <cstdlib> >+ >+ #include "vuln-iis.hpp" >+ #include "IISDialogue.hpp" >diff -urN /usr/ports/net/nepenthes/files/patch-modules__vuln-kuang2__vuln-kuang2.cpp net/nepenthes/files/patch-modules__vuln-kuang2__vuln-kuang2.cpp >--- /usr/ports/net/nepenthes/files/patch-modules__vuln-kuang2__vuln-kuang2.cpp 1970-01-01 09:00:00.000000000 +0900 >+++ net/nepenthes/files/patch-modules__vuln-kuang2__vuln-kuang2.cpp 2014-08-27 00:00:00.000000000 +0900 >@@ -0,0 +1,12 @@ >+--- modules/vuln-kuang2/vuln-kuang2.cpp.orig >++++ modules/vuln-kuang2/vuln-kuang2.cpp >+@@ -27,7 +27,8 @@ >+ >+ /* $Id: vuln-kuang2.cpp 550 2006-05-04 10:25:35Z common $ */ >+ >+-#include <ctype.h> >++#include <cctype> >++#include <cstdlib> >+ >+ #include "vuln-kuang2.hpp" >+ #include "Kuang2Dialogue.hpp" >diff -urN /usr/ports/net/nepenthes/files/patch-modules__vuln-lsass__vuln-lsass.cpp net/nepenthes/files/patch-modules__vuln-lsass__vuln-lsass.cpp >--- /usr/ports/net/nepenthes/files/patch-modules__vuln-lsass__vuln-lsass.cpp 1970-01-01 09:00:00.000000000 +0900 >+++ net/nepenthes/files/patch-modules__vuln-lsass__vuln-lsass.cpp 2014-08-27 00:00:00.000000000 +0900 >@@ -0,0 +1,12 @@ >+--- modules/vuln-lsass/vuln-lsass.cpp.orig >++++ modules/vuln-lsass/vuln-lsass.cpp >+@@ -27,7 +27,8 @@ >+ >+ /* $Id: vuln-lsass.cpp 550 2006-05-04 10:25:35Z common $ */ >+ >+-#include <ctype.h> >++#include <cctype> >++#include <cstdlib> >+ >+ #include "vuln-lsass.hpp" >+ #include "LSASSDialogue.hpp" >diff -urN /usr/ports/net/nepenthes/files/patch-modules__vuln-msdtc__vuln-msdtc.cpp net/nepenthes/files/patch-modules__vuln-msdtc__vuln-msdtc.cpp >--- /usr/ports/net/nepenthes/files/patch-modules__vuln-msdtc__vuln-msdtc.cpp 1970-01-01 09:00:00.000000000 +0900 >+++ net/nepenthes/files/patch-modules__vuln-msdtc__vuln-msdtc.cpp 2014-08-27 00:00:00.000000000 +0900 >@@ -0,0 +1,12 @@ >+--- modules/vuln-msdtc/vuln-msdtc.cpp.orig >++++ modules/vuln-msdtc/vuln-msdtc.cpp >+@@ -27,7 +27,8 @@ >+ >+ /* $Id: vuln-msdtc.cpp 550 2006-05-04 10:25:35Z common $ */ >+ >+-#include <ctype.h> >++#include <cctype> >++#include <cstdlib> >+ >+ #include "vuln-msdtc.hpp" >+ #include "MSDTCDialogue.hpp" >diff -urN /usr/ports/net/nepenthes/files/patch-modules__vuln-msmq__vuln-msmq.cpp net/nepenthes/files/patch-modules__vuln-msmq__vuln-msmq.cpp >--- /usr/ports/net/nepenthes/files/patch-modules__vuln-msmq__vuln-msmq.cpp 1970-01-01 09:00:00.000000000 +0900 >+++ net/nepenthes/files/patch-modules__vuln-msmq__vuln-msmq.cpp 2014-08-27 00:00:00.000000000 +0900 >@@ -0,0 +1,12 @@ >+--- modules/vuln-msmq/vuln-msmq.cpp.orig >++++ modules/vuln-msmq/vuln-msmq.cpp >+@@ -27,7 +27,8 @@ >+ >+ /* $Id: vuln-msmq.cpp 550 2006-05-04 10:25:35Z common $ */ >+ >+-#include <ctype.h> >++#include <cctype> >++#include <cstdlib> >+ >+ #include "vuln-msmq.hpp" >+ #include "MSMQDialogue.hpp" >diff -urN /usr/ports/net/nepenthes/files/patch-modules__vuln-mssql__MSSQLDialogue.cpp net/nepenthes/files/patch-modules__vuln-mssql__MSSQLDialogue.cpp >--- /usr/ports/net/nepenthes/files/patch-modules__vuln-mssql__MSSQLDialogue.cpp 1970-01-01 09:00:00.000000000 +0900 >+++ net/nepenthes/files/patch-modules__vuln-mssql__MSSQLDialogue.cpp 2014-08-27 00:00:00.000000000 +0900 >@@ -0,0 +1,12 @@ >+--- modules/vuln-mssql/MSSQLDialogue.cpp.orig >++++ modules/vuln-mssql/MSSQLDialogue.cpp >+@@ -27,7 +27,8 @@ >+ >+ /* $Id: MSSQLDialogue.cpp 836 2007-02-06 15:16:50Z common $ */ >+ >+-#include <ctype.h> >++#include <cctype> >++#include <cstring> >+ >+ #include "MSSQLDialogue.hpp" >+ #include "vuln-mssql.hpp" >diff -urN /usr/ports/net/nepenthes/files/patch-modules__vuln-mydoom__vuln-mydoom.cpp net/nepenthes/files/patch-modules__vuln-mydoom__vuln-mydoom.cpp >--- /usr/ports/net/nepenthes/files/patch-modules__vuln-mydoom__vuln-mydoom.cpp 1970-01-01 09:00:00.000000000 +0900 >+++ net/nepenthes/files/patch-modules__vuln-mydoom__vuln-mydoom.cpp 2014-08-27 00:00:00.000000000 +0900 >@@ -0,0 +1,12 @@ >+--- modules/vuln-mydoom/vuln-mydoom.cpp.orig >++++ modules/vuln-mydoom/vuln-mydoom.cpp >+@@ -29,7 +29,8 @@ >+ >+ >+ >+-#include <ctype.h> >++#include <cctype> >++#include <cstdlib> >+ >+ #include "vuln-mydoom.hpp" >+ #include "MydoomDialogue.hpp" >diff -urN /usr/ports/net/nepenthes/files/patch-modules__vuln-netbiosname__SMBNameDialogue.cpp net/nepenthes/files/patch-modules__vuln-netbiosname__SMBNameDialogue.cpp >--- /usr/ports/net/nepenthes/files/patch-modules__vuln-netbiosname__SMBNameDialogue.cpp 1970-01-01 09:00:00.000000000 +0900 >+++ net/nepenthes/files/patch-modules__vuln-netbiosname__SMBNameDialogue.cpp 2014-08-27 00:00:00.000000000 +0900 >@@ -0,0 +1,12 @@ >+--- modules/vuln-netbiosname/SMBNameDialogue.cpp.orig >++++ modules/vuln-netbiosname/SMBNameDialogue.cpp >+@@ -27,7 +27,8 @@ >+ >+ /* $Id: SMBNameDialogue.cpp 836 2007-02-06 15:16:50Z common $ */ >+ >+-#include <ctype.h> >++#include <cctype> >++#include <cstring> >+ >+ #include "SMBNameDialogue.hpp" >+ #include "vuln-netbiosname.hpp" >diff -urN /usr/ports/net/nepenthes/files/patch-modules__vuln-netdde__NETDDEDialogue.cpp net/nepenthes/files/patch-modules__vuln-netdde__NETDDEDialogue.cpp >--- /usr/ports/net/nepenthes/files/patch-modules__vuln-netdde__NETDDEDialogue.cpp 1970-01-01 09:00:00.000000000 +0900 >+++ net/nepenthes/files/patch-modules__vuln-netdde__NETDDEDialogue.cpp 2014-08-27 00:00:00.000000000 +0900 >@@ -0,0 +1,12 @@ >+--- modules/vuln-netdde/NETDDEDialogue.cpp.orig >++++ modules/vuln-netdde/NETDDEDialogue.cpp >+@@ -27,7 +27,8 @@ >+ >+ /* $Id: NETDDEDialogue.cpp 836 2007-02-06 15:16:50Z common $ */ >+ >+-#include <ctype.h> >++#include <cctype> >++#include <cstring> >+ >+ #include "NETDDEDialogue.hpp" >+ #include "vuln-netdde.hpp" >diff -urN /usr/ports/net/nepenthes/files/patch-modules__vuln-optix__vuln-optix.cpp net/nepenthes/files/patch-modules__vuln-optix__vuln-optix.cpp >--- /usr/ports/net/nepenthes/files/patch-modules__vuln-optix__vuln-optix.cpp 1970-01-01 09:00:00.000000000 +0900 >+++ net/nepenthes/files/patch-modules__vuln-optix__vuln-optix.cpp 2014-08-27 00:00:00.000000000 +0900 >@@ -0,0 +1,12 @@ >+--- modules/vuln-optix/vuln-optix.cpp.orig >++++ modules/vuln-optix/vuln-optix.cpp >+@@ -29,7 +29,8 @@ >+ >+ >+ >+-#include <ctype.h> >++#include <cctype> >++#include <cstdlib> >+ >+ #include "vuln-optix.hpp" >+ #include "OPTIXShellDialogue.hpp" >diff -urN /usr/ports/net/nepenthes/files/patch-modules__vuln-pnp__vuln-pnp.cpp net/nepenthes/files/patch-modules__vuln-pnp__vuln-pnp.cpp >--- /usr/ports/net/nepenthes/files/patch-modules__vuln-pnp__vuln-pnp.cpp 1970-01-01 09:00:00.000000000 +0900 >+++ net/nepenthes/files/patch-modules__vuln-pnp__vuln-pnp.cpp 2014-08-27 00:00:00.000000000 +0900 >@@ -0,0 +1,12 @@ >+--- modules/vuln-pnp/vuln-pnp.cpp.orig >++++ modules/vuln-pnp/vuln-pnp.cpp >+@@ -27,7 +27,8 @@ >+ >+ /* $Id: vuln-pnp.cpp 550 2006-05-04 10:25:35Z common $ */ >+ >+-#include <ctype.h> >++#include <cctype> >++#include <cstdlib> >+ >+ #include "vuln-pnp.hpp" >+ #include "PNPDialogue.hpp" >diff -urN /usr/ports/net/nepenthes/files/patch-modules__vuln-sasserftpd__SasserFTPDialogue.cpp net/nepenthes/files/patch-modules__vuln-sasserftpd__SasserFTPDialogue.cpp >--- /usr/ports/net/nepenthes/files/patch-modules__vuln-sasserftpd__SasserFTPDialogue.cpp 1970-01-01 09:00:00.000000000 +0900 >+++ net/nepenthes/files/patch-modules__vuln-sasserftpd__SasserFTPDialogue.cpp 2014-08-27 00:00:00.000000000 +0900 >@@ -0,0 +1,12 @@ >+--- modules/vuln-sasserftpd/SasserFTPDDialogue.cpp.orig >++++ modules/vuln-sasserftpd/SasserFTPDDialogue.cpp >+@@ -27,7 +27,8 @@ >+ >+ /* $Id: SasserFTPDDialogue.cpp 836 2007-02-06 15:16:50Z common $ */ >+ >+-#include <ctype.h> >++#include <cctype> >++#include <cstring> >+ >+ #include "SasserFTPDDialogue.hpp" >+ #include "vuln-sasserftpd.hpp" >diff -urN /usr/ports/net/nepenthes/files/patch-modules__vuln-sub7__vuln-sub7.cpp net/nepenthes/files/patch-modules__vuln-sub7__vuln-sub7.cpp >--- /usr/ports/net/nepenthes/files/patch-modules__vuln-sub7__vuln-sub7.cpp 1970-01-01 09:00:00.000000000 +0900 >+++ net/nepenthes/files/patch-modules__vuln-sub7__vuln-sub7.cpp 2014-08-27 00:00:00.000000000 +0900 >@@ -0,0 +1,12 @@ >+--- modules/vuln-sub7/vuln-sub7.cpp.orig >++++ modules/vuln-sub7/vuln-sub7.cpp >+@@ -27,7 +27,8 @@ >+ >+ /* $Id: vuln-sub7.cpp 550 2006-05-04 10:25:35Z common $ */ >+ >+-#include <ctype.h> >++#include <cctype> >++#include <cstdlib> >+ >+ #include "vuln-sub7.hpp" >+ #include "SUB7Dialogue.hpp" >diff -urN /usr/ports/net/nepenthes/files/patch-modules__vuln-wins__vuln-wins.cpp net/nepenthes/files/patch-modules__vuln-wins__vuln-wins.cpp >--- /usr/ports/net/nepenthes/files/patch-modules__vuln-wins__vuln-wins.cpp 1970-01-01 09:00:00.000000000 +0900 >+++ net/nepenthes/files/patch-modules__vuln-wins__vuln-wins.cpp 2014-08-27 00:00:00.000000000 +0900 >@@ -0,0 +1,12 @@ >+--- modules/vuln-wins/vuln-wins.cpp.orig >++++ modules/vuln-wins/vuln-wins.cpp >+@@ -27,7 +27,8 @@ >+ >+ /* $Id: vuln-wins.cpp 550 2006-05-04 10:25:35Z common $ */ >+ >+-#include <ctype.h> >++#include <cctype> >++#include <cstdlib> >+ >+ #include "vuln-wins.hpp" >+ >diff -urN /usr/ports/net/nepenthes/files/patch-modules__x-5__x-5.cpp net/nepenthes/files/patch-modules__x-5__x-5.cpp >--- /usr/ports/net/nepenthes/files/patch-modules__x-5__x-5.cpp 1970-01-01 09:00:00.000000000 +0900 >+++ net/nepenthes/files/patch-modules__x-5__x-5.cpp 2014-08-27 00:00:00.000000000 +0900 >@@ -0,0 +1,10 @@ >+--- modules/x-5/x-5.cpp.orig >++++ modules/x-5/x-5.cpp >+@@ -27,6 +27,7 @@ >+ >+ /* $Id: x-5.cpp 1410 2007-10-12 13:07:23Z common $ */ >+ >++#include <cstdlib> >+ #include "x-5.hpp" >+ #include "LogManager.hpp" >+ #include "EventManager.hpp" >diff -urN /usr/ports/net/nepenthes/files/patch-modules__x-6__x-6.cpp net/nepenthes/files/patch-modules__x-6__x-6.cpp >--- /usr/ports/net/nepenthes/files/patch-modules__x-6__x-6.cpp 1970-01-01 09:00:00.000000000 +0900 >+++ net/nepenthes/files/patch-modules__x-6__x-6.cpp 2014-08-27 00:00:00.000000000 +0900 >@@ -0,0 +1,13 @@ >+--- modules/x-6/x-6.cpp.orig >++++ modules/x-6/x-6.cpp >+@@ -27,7 +27,9 @@ >+ >+ /* $Id: x-6.cpp 343 2006-02-20 17:11:57Z common $ */ >+ >+-#include <ctype.h> >++#include <cctype> >++#include <cstdlib> >++#include <cstring> >+ >+ #include "x-6.hpp" >+ >diff -urN /usr/ports/net/nepenthes/files/patch-modules__x-9__x-9.cpp net/nepenthes/files/patch-modules__x-9__x-9.cpp >--- /usr/ports/net/nepenthes/files/patch-modules__x-9__x-9.cpp 1970-01-01 09:00:00.000000000 +0900 >+++ net/nepenthes/files/patch-modules__x-9__x-9.cpp 2014-08-27 00:00:00.000000000 +0900 >@@ -0,0 +1,12 @@ >+--- modules/x-9/x-9.cpp.orig >++++ modules/x-9/x-9.cpp >+@@ -27,7 +27,8 @@ >+ >+ /* $Id: x-9.cpp 658 2006-10-08 15:04:17Z common $ */ >+ >+-#include <ctype.h> >++#include <cctype> >++#include <cstring> >+ >+ #include "x-9.hpp" >+ >diff -urN /usr/ports/net/nepenthes/files/patch-nepenthes-core__include__Config.hpp net/nepenthes/files/patch-nepenthes-core__include__Config.hpp >--- /usr/ports/net/nepenthes/files/patch-nepenthes-core__include__Config.hpp 1970-01-01 09:00:00.000000000 +0900 >+++ net/nepenthes/files/patch-nepenthes-core__include__Config.hpp 2014-08-27 00:00:00.000000000 +0900 >@@ -0,0 +1,18 @@ >+--- nepenthes-core/include/Config.hpp.orig >++++ nepenthes-core/include/Config.hpp >+@@ -44,12 +44,14 @@ >+ #include <sys/stat.h> >+ #include <unistd.h> >+ // errno() >+-#include <errno.h> >++#include <cerrno> >+ // open() >+ #include <fcntl.h> >+ >+ #include <stdint.h> >+ >++#include <cstring> >++ >+ #endif >+ >+ using namespace std; >diff -urN /usr/ports/net/nepenthes/files/patch-nepenthes-core__include__EventHandler.hpp net/nepenthes/files/patch-nepenthes-core__include__EventHandler.hpp >--- /usr/ports/net/nepenthes/files/patch-nepenthes-core__include__EventHandler.hpp 1970-01-01 09:00:00.000000000 +0900 >+++ net/nepenthes/files/patch-nepenthes-core__include__EventHandler.hpp 2014-08-27 00:00:00.000000000 +0900 >@@ -0,0 +1,11 @@ >+--- nepenthes-core/include/EventHandler.hpp.orig >++++ nepenthes-core/include/EventHandler.hpp >+@@ -44,6 +44,8 @@ >+ #ifdef WIN32 >+ #include <time.h> >+ #include <sys/timeb.h> >++#else >++#include <ctime> >+ #endif >+ >+ //#include "Event.hpp" >diff -urN /usr/ports/net/nepenthes/files/patch-nepenthes-core__include__Nepenthes.hpp net/nepenthes/files/patch-nepenthes-core__include__Nepenthes.hpp >--- /usr/ports/net/nepenthes/files/patch-nepenthes-core__include__Nepenthes.hpp 1970-01-01 09:00:00.000000000 +0900 >+++ net/nepenthes/files/patch-nepenthes-core__include__Nepenthes.hpp 2014-08-27 00:00:00.000000000 +0900 >@@ -0,0 +1,10 @@ >+--- nepenthes-core/include/Nepenthes.hpp.orig >++++ nepenthes-core/include/Nepenthes.hpp >+@@ -40,6 +40,7 @@ >+ >+ #include <stdint.h> >+ #include <string> >++#include <sys/types.h> >+ >+ typedef unsigned char byte; >+ >diff -urN /usr/ports/net/nepenthes/files/patch-nepenthes-core__include__SocketManager.hpp net/nepenthes/files/patch-nepenthes-core__include__SocketManager.hpp >--- /usr/ports/net/nepenthes/files/patch-nepenthes-core__include__SocketManager.hpp 1970-01-01 09:00:00.000000000 +0900 >+++ net/nepenthes/files/patch-nepenthes-core__include__SocketManager.hpp 2014-08-27 00:00:00.000000000 +0900 >@@ -0,0 +1,10 @@ >+--- nepenthes-core/include/SocketManager.hpp.orig >++++ nepenthes-core/include/SocketManager.hpp >+@@ -32,6 +32,7 @@ >+ >+ #include <list> >+ #include <stdint.h> >++#include <ctime> >+ >+ #include "Manager.hpp" >+ >diff -urN /usr/ports/net/nepenthes/files/patch-nepenthes-core__src__DNSManager.cpp net/nepenthes/files/patch-nepenthes-core__src__DNSManager.cpp >--- /usr/ports/net/nepenthes/files/patch-nepenthes-core__src__DNSManager.cpp 1970-01-01 09:00:00.000000000 +0900 >+++ net/nepenthes/files/patch-nepenthes-core__src__DNSManager.cpp 2014-08-27 00:00:00.000000000 +0900 >@@ -0,0 +1,12 @@ >+--- nepenthes-core/src/DNSManager.cpp.orig >++++ nepenthes-core/src/DNSManager.cpp >+@@ -33,7 +33,8 @@ >+ #include <poll.h> >+ #endif >+ >+-#include <errno.h> >++#include <cstring> >++#include <cerrno> >+ #include "DNSManager.hpp" >+ #include "DNSCallback.hpp" >+ #include "DNSResult.hpp" >diff -urN /usr/ports/net/nepenthes/files/patch-nepenthes-core__src__DNSResult.cpp net/nepenthes/files/patch-nepenthes-core__src__DNSResult.cpp >--- /usr/ports/net/nepenthes/files/patch-nepenthes-core__src__DNSResult.cpp 1970-01-01 09:00:00.000000000 +0900 >+++ net/nepenthes/files/patch-nepenthes-core__src__DNSResult.cpp 2014-08-27 00:00:00.000000000 +0900 >@@ -0,0 +1,10 @@ >+--- nepenthes-core/src/DNSResult.cpp.orig >++++ nepenthes-core/src/DNSResult.cpp >+@@ -27,6 +27,7 @@ >+ >+ /* $Id: DNSResult.cpp 836 2007-02-06 15:16:50Z common $ */ >+ >++#include <cstring> >+ #include "DNSResult.hpp" >+ #include "Nepenthes.hpp" >+ #include "LogManager.hpp" >diff -urN /usr/ports/net/nepenthes/files/patch-nepenthes-core__src__Download.cpp net/nepenthes/files/patch-nepenthes-core__src__Download.cpp >--- /usr/ports/net/nepenthes/files/patch-nepenthes-core__src__Download.cpp 1970-01-01 09:00:00.000000000 +0900 >+++ net/nepenthes/files/patch-nepenthes-core__src__Download.cpp 2014-08-27 00:00:00.000000000 +0900 >@@ -0,0 +1,10 @@ >+--- nepenthes-core/src/Download.cpp.orig >++++ nepenthes-core/src/Download.cpp >+@@ -27,6 +27,7 @@ >+ >+ /* $Id: Download.cpp 2099 2005-10-23 22:12:52Z common $ */ >+ >++#include <cstring> >+ #include "Download.hpp" >+ #include "DownloadUrl.hpp" >+ #include "DownloadBuffer.hpp" >diff -urN /usr/ports/net/nepenthes/files/patch-nepenthes-core__src__DownloadBuffer.cpp net/nepenthes/files/patch-nepenthes-core__src__DownloadBuffer.cpp >--- /usr/ports/net/nepenthes/files/patch-nepenthes-core__src__DownloadBuffer.cpp 1970-01-01 09:00:00.000000000 +0900 >+++ net/nepenthes/files/patch-nepenthes-core__src__DownloadBuffer.cpp 2014-08-27 00:00:00.000000000 +0900 >@@ -0,0 +1,14 @@ >+--- nepenthes-core/src/DownloadBuffer.cpp.orig >++++ nepenthes-core/src/DownloadBuffer.cpp >+@@ -26,8 +26,9 @@ >+ *******************************************************************************/ >+ >+ >+-#include <stdlib.h> >+-#include <errno.h> >++#include <cstdlib> >++#include <cstring> >++#include <cerrno> >+ >+ #include "DownloadBuffer.hpp" >+ #include "Nepenthes.hpp" >diff -urN /usr/ports/net/nepenthes/files/patch-nepenthes-core__src__DownloadManager.cpp net/nepenthes/files/patch-nepenthes-core__src__DownloadManager.cpp >--- /usr/ports/net/nepenthes/files/patch-nepenthes-core__src__DownloadManager.cpp 1970-01-01 09:00:00.000000000 +0900 >+++ net/nepenthes/files/patch-nepenthes-core__src__DownloadManager.cpp 2014-08-27 00:00:00.000000000 +0900 >@@ -0,0 +1,12 @@ >+--- nepenthes-core/src/DownloadManager.cpp.orig >++++ nepenthes-core/src/DownloadManager.cpp >+@@ -27,6 +27,9 @@ >+ >+ /* $Id: DownloadManager.cpp 1548 2008-02-14 11:18:18Z common $ */ >+ >++#include <cstdio> >++#include <cstdlib> >++#include <cstring> >+ #include <string> >+ #include <sys/param.h> >+ >diff -urN /usr/ports/net/nepenthes/files/patch-nepenthes-core__src__DownloadUrl.cpp net/nepenthes/files/patch-nepenthes-core__src__DownloadUrl.cpp >--- /usr/ports/net/nepenthes/files/patch-nepenthes-core__src__DownloadUrl.cpp 1970-01-01 09:00:00.000000000 +0900 >+++ net/nepenthes/files/patch-nepenthes-core__src__DownloadUrl.cpp 2014-08-27 00:00:00.000000000 +0900 >@@ -0,0 +1,11 @@ >+--- nepenthes-core/src/DownloadUrl.cpp.orig >++++ nepenthes-core/src/DownloadUrl.cpp >+@@ -26,6 +26,8 @@ >+ *******************************************************************************/ >+ /* $id */ >+ >++#include <cstdlib> >++ >+ #ifdef WIN32 >+ >+ #else >diff -urN /usr/ports/net/nepenthes/files/patch-nepenthes-core__src__EventManager.cpp net/nepenthes/files/patch-nepenthes-core__src__EventManager.cpp >--- /usr/ports/net/nepenthes/files/patch-nepenthes-core__src__EventManager.cpp 1970-01-01 09:00:00.000000000 +0900 >+++ net/nepenthes/files/patch-nepenthes-core__src__EventManager.cpp 2014-08-27 00:00:00.000000000 +0900 >@@ -0,0 +1,11 @@ >+--- nepenthes-core/src/EventManager.cpp.orig >++++ nepenthes-core/src/EventManager.cpp >+@@ -27,6 +27,8 @@ >+ >+ /* $Id: EventManager.cpp 1410 2007-10-12 13:07:23Z common $ */ >+ >++#include <cstdlib> >++ >+ #include "EventManager.hpp" >+ #include "EventHandler.hpp" >+ #include "Nepenthes.hpp" >diff -urN /usr/ports/net/nepenthes/files/patch-nepenthes-core__src__FileLogger.cpp net/nepenthes/files/patch-nepenthes-core__src__FileLogger.cpp >--- /usr/ports/net/nepenthes/files/patch-nepenthes-core__src__FileLogger.cpp 1970-01-01 09:00:00.000000000 +0900 >+++ net/nepenthes/files/patch-nepenthes-core__src__FileLogger.cpp 2014-08-27 00:00:00.000000000 +0900 >@@ -0,0 +1,23 @@ >+--- nepenthes-core/src/FileLogger.cpp.orig >++++ nepenthes-core/src/FileLogger.cpp >+@@ -27,15 +27,17 @@ >+ >+ /* $Id: FileLogger.cpp 697 2006-11-11 09:17:19Z common $ */ >+ >+-#include <time.h> >++#include <ctime> >+ >+ >+-#include <stdio.h> >++#include <cstdio> >++#include <cstdlib> >++#include <cstring> >+ #include <string> >+ #include <sys/types.h> >+ #include <sys/stat.h> >+ #include <unistd.h> >+-#include <errno.h> >++#include <cerrno> >+ #include <pwd.h> >+ #include <grp.h> >+ #include "FileLogger.hpp" >diff -urN /usr/ports/net/nepenthes/files/patch-nepenthes-core__src__LogManager.cpp net/nepenthes/files/patch-nepenthes-core__src__LogManager.cpp >--- /usr/ports/net/nepenthes/files/patch-nepenthes-core__src__LogManager.cpp 1970-01-01 09:00:00.000000000 +0900 >+++ net/nepenthes/files/patch-nepenthes-core__src__LogManager.cpp 2014-08-27 00:00:00.000000000 +0900 >@@ -0,0 +1,17 @@ >+--- nepenthes-core/src/LogManager.cpp.orig >++++ nepenthes-core/src/LogManager.cpp >+@@ -27,9 +27,11 @@ >+ >+ /* $Id: LogManager.cpp 836 2007-02-06 15:16:50Z common $ */ >+ >+-#include <stdarg.h> >+-#include <assert.h> >+-#include <stdio.h> >++#include <cstdarg> >++#include <cassert> >++#include <cstdio> >++#include <cstdlib> >++#include <cstring> >+ #include "LogManager.hpp" >+ #include "LogHandlerEntry.hpp" >+ #include "LogHandler.hpp" >diff -urN /usr/ports/net/nepenthes/files/patch-nepenthes-core__src__ModuleManager.cpp net/nepenthes/files/patch-nepenthes-core__src__ModuleManager.cpp >--- /usr/ports/net/nepenthes/files/patch-nepenthes-core__src__ModuleManager.cpp 1970-01-01 09:00:00.000000000 +0900 >+++ net/nepenthes/files/patch-nepenthes-core__src__ModuleManager.cpp 2014-08-27 00:00:00.000000000 +0900 >@@ -0,0 +1,11 @@ >+--- nepenthes-core/src/ModuleManager.cpp.orig >++++ nepenthes-core/src/ModuleManager.cpp >+@@ -27,6 +27,8 @@ >+ >+ /* $Id: ModuleManager.cpp 612 2006-08-10 15:31:56Z common $ */ >+ >++#include <cstdio> >++#include <cstdlib> >+ #include <dlfcn.h> >+ >+ #include "ModuleManager.hpp" >diff -urN /usr/ports/net/nepenthes/files/patch-nepenthes-core__src__Nepenthes.cpp net/nepenthes/files/patch-nepenthes-core__src__Nepenthes.cpp >--- /usr/ports/net/nepenthes/files/patch-nepenthes-core__src__Nepenthes.cpp 1970-01-01 09:00:00.000000000 +0900 >+++ net/nepenthes/files/patch-nepenthes-core__src__Nepenthes.cpp 2014-08-27 00:00:00.000000000 +0900 >@@ -0,0 +1,25 @@ >+--- nepenthes-core/src/Nepenthes.cpp.orig >++++ nepenthes-core/src/Nepenthes.cpp >+@@ -35,16 +35,17 @@ >+ #include <getopt.h> >+ #endif /* WIN32 */ >+ >+-#include <stdio.h> >+-#include <signal.h> >++#include <cstdio> >++#include <cstdlib> >++#include <csignal> >+ #include <sys/types.h> >+ #include <pwd.h> >+ #include <grp.h> >+ #include <dirent.h> >+ #include <sys/utsname.h> >+-#include <ctype.h> >+-#include <errno.h> >+-#include <string.h> >++#include <cctype> >++#include <cerrno> >++#include <cstring> >+ >+ #ifdef HAVE_LIBCAP >+ #undef _POSIX_SOURCE >diff -urN /usr/ports/net/nepenthes/files/patch-nepenthes-core__src__RingFileLogger.cpp net/nepenthes/files/patch-nepenthes-core__src__RingFileLogger.cpp >--- /usr/ports/net/nepenthes/files/patch-nepenthes-core__src__RingFileLogger.cpp 1970-01-01 09:00:00.000000000 +0900 >+++ net/nepenthes/files/patch-nepenthes-core__src__RingFileLogger.cpp 2014-08-27 00:00:00.000000000 +0900 >@@ -0,0 +1,26 @@ >+--- nepenthes-core/src/RingFileLogger.cpp.orig >++++ nepenthes-core/src/RingFileLogger.cpp >+@@ -27,18 +27,16 @@ >+ >+ /* $Id: RingFileLogger.cpp 697 2006-11-11 09:17:19Z common $ */ >+ >+-#include <time.h> >++#include <ctime> >+ >+ #include <sys/types.h> >+ #include <sys/stat.h> >+ #include <unistd.h> >+-#include <stdio.h> >++#include <cstdio> >++#include <cstdlib> >++#include <cstring> >+ #include <string> >+-#include <errno.h> >+-#include <sys/types.h> >+-#include <sys/stat.h> >+-#include <unistd.h> >+-#include <errno.h> >++#include <cerrno> >+ #include <pwd.h> >+ #include <grp.h> >+ >diff -urN /usr/ports/net/nepenthes/files/patch-nepenthes-core__src__ShellcodeManager.cpp net/nepenthes/files/patch-nepenthes-core__src__ShellcodeManager.cpp >--- /usr/ports/net/nepenthes/files/patch-nepenthes-core__src__ShellcodeManager.cpp 1970-01-01 09:00:00.000000000 +0900 >+++ net/nepenthes/files/patch-nepenthes-core__src__ShellcodeManager.cpp 2014-08-27 00:00:00.000000000 +0900 >@@ -0,0 +1,10 @@ >+--- nepenthes-core/src/ShellcodeManager.cpp.orig >++++ nepenthes-core/src/ShellcodeManager.cpp >+@@ -27,6 +27,7 @@ >+ >+ /* $Id: ShellcodeManager.cpp 505 2006-04-09 16:39:36Z oxff $ */ >+ >++#include <cstdio> >+ #include "ShellcodeManager.hpp" >+ #include "ShellcodeHandler.hpp" >+ #include "Nepenthes.hpp" >diff -urN /usr/ports/net/nepenthes/files/patch-nepenthes-core__src__Socket.cpp net/nepenthes/files/patch-nepenthes-core__src__Socket.cpp >--- /usr/ports/net/nepenthes/files/patch-nepenthes-core__src__Socket.cpp 1970-01-01 09:00:00.000000000 +0900 >+++ net/nepenthes/files/patch-nepenthes-core__src__Socket.cpp 2014-08-27 00:00:00.000000000 +0900 >@@ -0,0 +1,17 @@ >+--- nepenthes-core/src/Socket.cpp.orig >++++ nepenthes-core/src/Socket.cpp >+@@ -27,10 +27,13 @@ >+ >+ /* $Id: Socket.cpp 699 2006-11-11 09:20:15Z common $ */ >+ >++#include <cstdio> >++#include <cstdlib> >++#include <cstring> >+ #include <string> >+ #include <sstream> >+ >+-#include <time.h> >++#include <ctime> >+ >+ #include <sys/types.h> >+ #include <sys/socket.h> >diff -urN /usr/ports/net/nepenthes/files/patch-nepenthes-core__src__SocketManager.cpp net/nepenthes/files/patch-nepenthes-core__src__SocketManager.cpp >--- /usr/ports/net/nepenthes/files/patch-nepenthes-core__src__SocketManager.cpp 1970-01-01 09:00:00.000000000 +0900 >+++ net/nepenthes/files/patch-nepenthes-core__src__SocketManager.cpp 2014-08-27 00:00:00.000000000 +0900 >@@ -0,0 +1,12 @@ >+--- nepenthes-core/src/SocketManager.cpp.orig >++++ nepenthes-core/src/SocketManager.cpp >+@@ -36,7 +36,8 @@ >+ #include <poll.h> >+ #include <sys/types.h> >+ #include <sys/socket.h> >+-#include <errno.h> >++#include <cstdlib> >++#include <cerrno> >+ #include <netinet/in.h> >+ #include <net/if.h> >+ #include <arpa/inet.h> >diff -urN /usr/ports/net/nepenthes/files/patch-nepenthes-core__src__TCPSocket.cpp net/nepenthes/files/patch-nepenthes-core__src__TCPSocket.cpp >--- /usr/ports/net/nepenthes/files/patch-nepenthes-core__src__TCPSocket.cpp 1970-01-01 09:00:00.000000000 +0900 >+++ net/nepenthes/files/patch-nepenthes-core__src__TCPSocket.cpp 2014-08-27 00:00:00.000000000 +0900 >@@ -0,0 +1,10 @@ >+--- nepenthes-core/src/TCPSocket.cpp.orig >++++ nepenthes-core/src/TCPSocket.cpp >+@@ -29,6 +29,7 @@ >+ >+ #include "config.h" >+ >++#include <cstring> >+ #include <sys/types.h> >+ >+ #ifdef WIN32 >diff -urN /usr/ports/net/nepenthes/files/patch-nepenthes-core__src__UDPSocket.cpp net/nepenthes/files/patch-nepenthes-core__src__UDPSocket.cpp >--- /usr/ports/net/nepenthes/files/patch-nepenthes-core__src__UDPSocket.cpp 1970-01-01 09:00:00.000000000 +0900 >+++ net/nepenthes/files/patch-nepenthes-core__src__UDPSocket.cpp 2014-08-27 00:00:00.000000000 +0900 >@@ -0,0 +1,12 @@ >+--- nepenthes-core/src/UDPSocket.cpp.orig >++++ nepenthes-core/src/UDPSocket.cpp >+@@ -27,7 +27,8 @@ >+ >+ /* $Id: UDPSocket.cpp 1410 2007-10-12 13:07:23Z common $ */ >+ >+-#include <errno.h> >++#include <cstring> >++#include <cerrno> >+ #include <sys/types.h> >+ >+ #ifdef WIN32 >diff -urN /usr/ports/net/nepenthes/files/patch-nepenthes-core__src__Utilities.cpp net/nepenthes/files/patch-nepenthes-core__src__Utilities.cpp >--- /usr/ports/net/nepenthes/files/patch-nepenthes-core__src__Utilities.cpp 1970-01-01 09:00:00.000000000 +0900 >+++ net/nepenthes/files/patch-nepenthes-core__src__Utilities.cpp 2014-08-27 00:00:00.000000000 +0900 >@@ -0,0 +1,17 @@ >+--- nepenthes-core/src/Utilities.cpp.orig >++++ nepenthes-core/src/Utilities.cpp >+@@ -33,10 +33,12 @@ >+ #endif >+ >+ >+-#include <string.h> >++#include <cstdio> >++#include <cstdlib> >++#include <cstring> >+ #include <sys/types.h> >+ #include <inttypes.h> >+-#include <ctype.h> >++#include <cctype> >+ >+ #include "Utilities.hpp" >+ #include "LogManager.hpp" >diff -urN /usr/ports/net/nepenthes/pkg-deinstall net/nepenthes/pkg-deinstall >--- /usr/ports/net/nepenthes/pkg-deinstall 1970-01-01 09:00:00.000000000 +0900 >+++ net/nepenthes/pkg-deinstall 2014-08-27 00:00:00.000000000 +0900 >@@ -0,0 +1,46 @@ >+#!/bin/sh >+ >+if [ "$2" != "DEINSTALL" ]; then >+ exit 0 >+fi >+ >+if cmp -s ${PKG_PREFIX}/share/nepenthes/signatures/shellcode-signatures.sc \ >+ /var/cache/nepenthes/signatures/shellcode-signatures.sc; then >+ rm -f /var/cache/nepenthes/signatures/shellcode-signatures.sc >+fi >+ >+if [ -d /var/spool/nepenthes/submitpostgres ]; then >+ rmdir /var/spool/nepenthes/submitpostgres 2>/dev/null || true >+fi >+ >+if [ -d /var/spool/nepenthes/gotek ]; then >+ rmdir /var/spool/nepenthes/gotek 2>/dev/null || true >+fi >+ >+if [ -d /var/spool/nepenthes ]; then >+ rmdir /var/spool/nepenthes 2>/dev/null || true >+fi >+ >+if [ -d /var/log/pcap ]; then >+ rmdir /var/log/pcap 2>/dev/null || true >+fi >+ >+if [ -d /var/hexdumps ]; then >+ rmdir /var/hexdumps 2>/dev/null || true >+fi >+ >+if [ -d /var/cache/nepenthes/signatures ]; then >+ rmdir /var/cache/nepenthes/signatures 2>/dev/null || true >+fi >+ >+if [ -d /var/cache/nepenthes/pcap ]; then >+ rmdir /var/cache/nepenthes/pcap 2>/dev/null || true >+fi >+ >+if [ -d /var/cache/nepenthes ]; then >+ rmdir /var/cache/nepenthes 2>/dev/null || true >+fi >+ >+if [ -d /var/binaries ]; then >+ rmdir /var/binaries 2>/dev/null || true >+fi >diff -urN /usr/ports/net/nepenthes/pkg-descr net/nepenthes/pkg-descr >--- /usr/ports/net/nepenthes/pkg-descr 2014-06-21 17:39:04.000000000 +0900 >+++ net/nepenthes/pkg-descr 2014-08-27 00:00:00.000000000 +0900 >@@ -1,6 +1,6 @@ >-Nepenthes can determine the malware activity on a network >-by deploying a nepenthes sensor (i.e. honey pot). The programm >-emulates different well known vulnerabilities waiting for >-malicious connections trying to exploit them. >+Nepenthes can determine the malware activity on a network by deploying >+a nepenthes sensor (i.e. honey pot). The programm emulates different >+well known vulnerabilities waiting for malicious connections trying to >+exploit them. > >-WWW: http://nepenthes.sourceforge.net/ >+WWW: http://nepenthes.carnivore.it/ >diff -urN /usr/ports/net/nepenthes/pkg-install net/nepenthes/pkg-install >--- /usr/ports/net/nepenthes/pkg-install 1970-01-01 09:00:00.000000000 +0900 >+++ net/nepenthes/pkg-install 2014-08-27 00:00:00.000000000 +0900 >@@ -0,0 +1,46 @@ >+#!/bin/sh >+ >+if [ "$2" != "POST-INSTALL" ]; then >+ exit 0 >+fi >+ >+if [ ! -d /var/binaries ]; then >+ install -d /var/binaries >+fi >+ >+if [ ! -d /var/cache/nepenthes ]; then >+ install -d /var/cache/nepenthes >+fi >+ >+if [ ! -d /var/cache/nepenthes/pcap ]; then >+ install -d /var/cache/nepenthes/pcap >+fi >+ >+if [ ! -d /var/cache/nepenthes/signatures ]; then >+ install -d /var/cache/nepenthes/signatures >+fi >+ >+if [ ! -d /var/hexdumps ]; then >+ install -d /var/hexdumps >+fi >+ >+if [ ! -d /var/log/pcap ]; then >+ install -d /var/log/pcap >+fi >+ >+if [ ! -d /var/binaries ]; then >+ install -d /var/spool/nepenthes >+fi >+ >+if [ ! -d /var/binaries ]; then >+ install -d /var/spool/nepenthes/gotek >+fi >+ >+if [ ! -d /var/binaries ]; then >+ install -d /var/spool/nepenthes/submitpostgres >+fi >+ >+if [ ! -f /var/cache/nepenthes/signatures/shellcode-signatures.sc ]; then >+ install -c ${PKG_PREFIX}/share/nepenthes/signatures/shellcode-signatures.sc \ >+ /var/cache/nepenthes/signatures >+fi >diff -urN /usr/ports/net/nepenthes/pkg-plist net/nepenthes/pkg-plist >--- /usr/ports/net/nepenthes/pkg-plist 2014-06-21 17:39:04.000000000 +0900 >+++ net/nepenthes/pkg-plist 2014-08-27 00:00:00.000000000 +0900 >@@ -1,226 +1,170 @@ > bin/nepenthes >-etc/nepenthes/download-csend.conf >-etc/nepenthes/download-curl.conf >-etc/nepenthes/download-ftp.conf >-etc/nepenthes/download-link.conf >-etc/nepenthes/download-tftp.conf >-etc/nepenthes/log-download.conf >-etc/nepenthes/log-irc.conf >-etc/nepenthes/log-prelude.conf >-etc/nepenthes/log-surfnet.conf >-etc/nepenthes/module-honeytrap.conf >-etc/nepenthes/module-portwatch.conf >-etc/nepenthes/nepenthes.conf >-etc/nepenthes/nepenthes.conf.dist >-etc/nepenthes/shellcode-generic.conf >-etc/nepenthes/submit-file.conf >-etc/nepenthes/submit-gotek.conf >-etc/nepenthes/submit-http.conf >-etc/nepenthes/submit-mwserv.conf >-etc/nepenthes/submit-postgres.conf >-etc/nepenthes/submit-norman.conf >-etc/nepenthes/vuln-asn1.conf >-etc/nepenthes/vuln-bagle.conf >-etc/nepenthes/vuln-dameware.conf >-etc/nepenthes/vuln-dcom.conf >-etc/nepenthes/vuln-ftpd.conf >-etc/nepenthes/vuln-iis.conf >-etc/nepenthes/vuln-kuang2.conf >-etc/nepenthes/vuln-lsass.conf >-etc/nepenthes/vuln-msdtc.conf >-etc/nepenthes/vuln-msmq.conf >-etc/nepenthes/vuln-mssql.conf >-etc/nepenthes/vuln-mydoom.conf >-etc/nepenthes/vuln-netbiosname.conf >-etc/nepenthes/vuln-netdde.conf >-etc/nepenthes/vuln-optix.conf >-etc/nepenthes/vuln-pnp.conf >-etc/nepenthes/vuln-sasserftpd.conf >-etc/nepenthes/vuln-sub7.conf >-etc/nepenthes/vuln-upnp.conf >-etc/nepenthes/vuln-veritas.conf >-etc/nepenthes/vuln-wins.conf >-etc/nepenthes/x-2.conf >+%%ETCDIR%%/download-csend.conf >+%%ETCDIR%%/download-curl.conf >+%%ETCDIR%%/download-ftp.conf >+%%ETCDIR%%/download-link.conf >+%%ETCDIR%%/download-tftp.conf >+%%ETCDIR%%/log-download.conf >+%%ETCDIR%%/log-irc.conf >+%%ETCDIR%%/log-prelude.conf >+%%ETCDIR%%/log-surfnet.conf >+%%ETCDIR%%/module-honeytrap.conf >+%%ETCDIR%%/module-portwatch.conf >+%%ETCDIR%%/nepenthes.conf >+%%ETCDIR%%/nepenthes.conf.dist >+%%ETCDIR%%/shellcode-generic.conf >+%%ETCDIR%%/submit-file.conf >+%%ETCDIR%%/submit-gotek.conf >+%%ETCDIR%%/submit-http.conf >+%%ETCDIR%%/submit-mwserv.conf >+%%ETCDIR%%/submit-norman.conf >+%%ETCDIR%%/submit-postgres.conf >+%%ETCDIR%%/vuln-asn1.conf >+%%ETCDIR%%/vuln-bagle.conf >+%%ETCDIR%%/vuln-dameware.conf >+%%ETCDIR%%/vuln-dcom.conf >+%%ETCDIR%%/vuln-ftpd.conf >+%%ETCDIR%%/vuln-iis.conf >+%%ETCDIR%%/vuln-kuang2.conf >+%%ETCDIR%%/vuln-lsass.conf >+%%ETCDIR%%/vuln-msdtc.conf >+%%ETCDIR%%/vuln-msmq.conf >+%%ETCDIR%%/vuln-mssql.conf >+%%ETCDIR%%/vuln-mydoom.conf >+%%ETCDIR%%/vuln-netbiosname.conf >+%%ETCDIR%%/vuln-netdde.conf >+%%ETCDIR%%/vuln-optix.conf >+%%ETCDIR%%/vuln-pnp.conf >+%%ETCDIR%%/vuln-sasserftpd.conf >+%%ETCDIR%%/vuln-sub7.conf >+%%ETCDIR%%/vuln-upnp.conf >+%%ETCDIR%%/vuln-veritas.conf >+%%ETCDIR%%/vuln-wins.conf >+%%ETCDIR%%/x-2.conf > lib/nepenthes/dnsresolveadns.a >-lib/nepenthes/dnsresolveadns.la > lib/nepenthes/dnsresolveadns.so > lib/nepenthes/downloadcreceive.a >-lib/nepenthes/downloadcreceive.la > lib/nepenthes/downloadcreceive.so > lib/nepenthes/downloadcsend.a >-lib/nepenthes/downloadcsend.la > lib/nepenthes/downloadcsend.so > lib/nepenthes/downloadcurl.a >-lib/nepenthes/downloadcurl.la > lib/nepenthes/downloadcurl.so > lib/nepenthes/downloadftp.a >-lib/nepenthes/downloadftp.la > lib/nepenthes/downloadftp.so > lib/nepenthes/downloadhttp.a >-lib/nepenthes/downloadhttp.la > lib/nepenthes/downloadhttp.so > lib/nepenthes/downloadlink.a >-lib/nepenthes/downloadlink.la > lib/nepenthes/downloadlink.so > lib/nepenthes/downloadrcp.a >-lib/nepenthes/downloadrcp.la > lib/nepenthes/downloadrcp.so > lib/nepenthes/downloadtftp.a >-lib/nepenthes/downloadtftp.la > lib/nepenthes/downloadtftp.so > lib/nepenthes/logdownload.a >-lib/nepenthes/logdownload.la > lib/nepenthes/logdownload.so > lib/nepenthes/loghexdump.a >-lib/nepenthes/loghexdump.la > lib/nepenthes/loghexdump.so > lib/nepenthes/logirc.a >-lib/nepenthes/logirc.la > lib/nepenthes/logirc.so > lib/nepenthes/logprelude.a >-lib/nepenthes/logprelude.la > lib/nepenthes/logprelude.so > lib/nepenthes/logsurfnet.a >-lib/nepenthes/logsurfnet.la > lib/nepenthes/logsurfnet.so > lib/nepenthes/modulebridge.a >-lib/nepenthes/modulebridge.la > lib/nepenthes/modulebridge.so > lib/nepenthes/modulehoneytrap.a >-lib/nepenthes/modulehoneytrap.la > lib/nepenthes/modulehoneytrap.so > lib/nepenthes/modulepeiros.a >-lib/nepenthes/modulepeiros.la > lib/nepenthes/modulepeiros.so > lib/nepenthes/moduleportwatch.a >-lib/nepenthes/moduleportwatch.la > lib/nepenthes/moduleportwatch.so > lib/nepenthes/shellcodegeneric.a >-lib/nepenthes/shellcodegeneric.la > lib/nepenthes/shellcodegeneric.so > lib/nepenthes/shellcodesignatures.a >-lib/nepenthes/shellcodesignatures.la > lib/nepenthes/shellcodesignatures.so > lib/nepenthes/shellemuwinnt.a >-lib/nepenthes/shellemuwinnt.la > lib/nepenthes/shellemuwinnt.so > lib/nepenthes/sqlhandlerpostgres.a >-lib/nepenthes/sqlhandlerpostgres.la > lib/nepenthes/sqlhandlerpostgres.so > lib/nepenthes/submitfile.a >-lib/nepenthes/submitfile.la > lib/nepenthes/submitfile.so > lib/nepenthes/submitgotek.a >-lib/nepenthes/submitgotek.la > lib/nepenthes/submitgotek.so > lib/nepenthes/submithttp.a >-lib/nepenthes/submithttp.la > lib/nepenthes/submithttp.so > lib/nepenthes/submitmwserv.a >-lib/nepenthes/submitmwserv.la > lib/nepenthes/submitmwserv.so > lib/nepenthes/submitnorman.a >-lib/nepenthes/submitnorman.la > lib/nepenthes/submitnorman.so > lib/nepenthes/submitpostgres.a >-lib/nepenthes/submitpostgres.la > lib/nepenthes/submitpostgres.so > lib/nepenthes/vulnasn1.a >-lib/nepenthes/vulnasn1.la > lib/nepenthes/vulnasn1.so > lib/nepenthes/vulnbagle.a >-lib/nepenthes/vulnbagle.la > lib/nepenthes/vulnbagle.so > lib/nepenthes/vulndameware.a >-lib/nepenthes/vulndameware.la > lib/nepenthes/vulndameware.so > lib/nepenthes/vulndcom.a >-lib/nepenthes/vulndcom.la > lib/nepenthes/vulndcom.so > lib/nepenthes/vulnftpd.a >-lib/nepenthes/vulnftpd.la > lib/nepenthes/vulnftpd.so > lib/nepenthes/vulniis.a >-lib/nepenthes/vulniis.la > lib/nepenthes/vulniis.so > lib/nepenthes/vulnkuang2.a >-lib/nepenthes/vulnkuang2.la > lib/nepenthes/vulnkuang2.so > lib/nepenthes/vulnlsass.a >-lib/nepenthes/vulnlsass.la > lib/nepenthes/vulnlsass.so > lib/nepenthes/vulnmsdtc.a >-lib/nepenthes/vulnmsdtc.la > lib/nepenthes/vulnmsdtc.so > lib/nepenthes/vulnmsmq.a >-lib/nepenthes/vulnmsmq.la > lib/nepenthes/vulnmsmq.so > lib/nepenthes/vulnmssql.a >-lib/nepenthes/vulnmssql.la > lib/nepenthes/vulnmssql.so > lib/nepenthes/vulnmydoom.a >-lib/nepenthes/vulnmydoom.la > lib/nepenthes/vulnmydoom.so > lib/nepenthes/vulnnetbiosname.a >-lib/nepenthes/vulnnetbiosname.la > lib/nepenthes/vulnnetbiosname.so > lib/nepenthes/vulnnetdde.a >-lib/nepenthes/vulnnetdde.la > lib/nepenthes/vulnnetdde.so > lib/nepenthes/vulnoptix.a >-lib/nepenthes/vulnoptix.la > lib/nepenthes/vulnoptix.so > lib/nepenthes/vulnpnp.a >-lib/nepenthes/vulnpnp.la > lib/nepenthes/vulnpnp.so > lib/nepenthes/vulnrealvnc.a >-lib/nepenthes/vulnrealvnc.la > lib/nepenthes/vulnrealvnc.so > lib/nepenthes/vulnsasserftpd.a >-lib/nepenthes/vulnsasserftpd.la > lib/nepenthes/vulnsasserftpd.so > lib/nepenthes/vulnsav.a >-lib/nepenthes/vulnsav.la > lib/nepenthes/vulnsav.so > lib/nepenthes/vulnssh.a >-lib/nepenthes/vulnssh.la > lib/nepenthes/vulnssh.so > lib/nepenthes/vulnsub7.a >-lib/nepenthes/vulnsub7.la > lib/nepenthes/vulnsub7.so > lib/nepenthes/vulnupnp.a >-lib/nepenthes/vulnupnp.la > lib/nepenthes/vulnupnp.so > lib/nepenthes/vulnveritas.a >-lib/nepenthes/vulnveritas.la > lib/nepenthes/vulnveritas.so > lib/nepenthes/vulnwins.a >-lib/nepenthes/vulnwins.la > lib/nepenthes/vulnwins.so > lib/nepenthes/x1.a >-lib/nepenthes/x1.la > lib/nepenthes/x1.so > lib/nepenthes/x2.a >-lib/nepenthes/x2.la > lib/nepenthes/x2.so > lib/nepenthes/x3.a >-lib/nepenthes/x3.la > lib/nepenthes/x3.so > lib/nepenthes/x4.a >-lib/nepenthes/x4.la > lib/nepenthes/x4.so > lib/nepenthes/x5.a >-lib/nepenthes/x5.la > lib/nepenthes/x5.so > lib/nepenthes/x6.a >-lib/nepenthes/x6.la > lib/nepenthes/x6.so > lib/nepenthes/x9.a >-lib/nepenthes/x9.la > lib/nepenthes/x9.so >+man/man8/nepenthes.8.gz > %%DATADIR%%/README > %%DATADIR%%/README.VFS > %%DATADIR%%/logo-shaded.svg >-@dirrm etc/nepenthes >-@dirrm lib/nepenthes >+%%DATADIR%%/signatures/shellcode-signatures.sc >+@dirrm %%DATADIR%%/signatures > @dirrm %%DATADIR%% >+@dirrm lib/nepenthes >+@dirrm %%ETCDIR%%
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 193042
: 146340