Hello, attached is an update to snort 2.9.13.
A new library libsf_sorules appeared in an example directory. Questions about it went unanswered on snort-devel. I disabled it for now. Rest is mostly regenerated patches. Please test / comment and evetnually commit. Regards Markus
Index: Makefile =================================================================== RCS file: /cvs/ports/net/snort/Makefile,v retrieving revision 1.101 diff -u -p -u -p -r1.101 Makefile --- Makefile 12 Feb 2019 22:19:52 -0000 1.101 +++ Makefile 31 May 2019 13:54:27 -0000 @@ -2,8 +2,8 @@ COMMENT = highly flexible sniffer/NIDS -DISTNAME = snort-2.9.12 -RULESV = 29120 +DISTNAME = snort-2.9.13 +RULESV = 29130 SUBST_VARS = RULESV CATEGORIES = net security Index: distinfo =================================================================== RCS file: /cvs/ports/net/snort/distinfo,v retrieving revision 1.38 diff -u -p -u -p -r1.38 distinfo --- distinfo 12 Feb 2019 22:19:52 -0000 1.38 +++ distinfo 31 May 2019 13:54:27 -0000 @@ -1,2 +1,2 @@ -SHA256 (snort-2.9.12.tar.gz) = ewLhGYfGy09tedcnmcqa0rS9Wcwdlrt9bJFUn5kNmdA= -SIZE (snort-2.9.12.tar.gz) = 6456877 +SHA256 (snort-2.9.13.tar.gz) = MURzk9FShrhIgQ3XirLLOtIx/NHxZj+VlYdpDu6nVBM= +SIZE (snort-2.9.13.tar.gz) = 6553425 Index: patches/patch-src_dynamic-plugins_sf_engine_Makefile_in =================================================================== RCS file: /cvs/ports/net/snort/patches/patch-src_dynamic-plugins_sf_engine_Makefile_in,v retrieving revision 1.11 diff -u -p -u -p -r1.11 patch-src_dynamic-plugins_sf_engine_Makefile_in --- patches/patch-src_dynamic-plugins_sf_engine_Makefile_in 28 Jan 2018 03:09:12 -0000 1.11 +++ patches/patch-src_dynamic-plugins_sf_engine_Makefile_in 31 May 2019 13:54:27 -0000 @@ -11,3 +11,12 @@ Index: src/dynamic-plugins/sf_engine/Mak @BUILD_OPENSSL_MD5_TRUE@OPENSSL_MD5 = \ @BUILD_OPENSSL_MD5_TRUE@ md5.c md5.h +@@ -529,7 +529,7 @@ massage_ipv6_headers = \ + $(sed_ipv6_headers); \ + fi + +-SUBDIRS = examples ++SUBDIRS = + all: $(BUILT_SOURCES) + $(MAKE) $(AM_MAKEFLAGS) all-recursive + Index: patches/patch-src_dynamic-preprocessors_Makefile_in =================================================================== RCS file: /cvs/ports/net/snort/patches/patch-src_dynamic-preprocessors_Makefile_in,v retrieving revision 1.17 diff -u -p -u -p -r1.17 patch-src_dynamic-preprocessors_Makefile_in --- patches/patch-src_dynamic-preprocessors_Makefile_in 28 Jan 2018 03:09:12 -0000 1.17 +++ patches/patch-src_dynamic-preprocessors_Makefile_in 31 May 2019 13:54:27 -0000 @@ -2,7 +2,7 @@ $OpenBSD: patch-src_dynamic-preprocessor Index: src/dynamic-preprocessors/Makefile.in --- src/dynamic-preprocessors/Makefile.in.orig +++ src/dynamic-preprocessors/Makefile.in -@@ -1635,19 +1635,8 @@ clean-local: +@@ -1647,19 +1647,8 @@ clean-local: rm -rf include build install-data-local: Index: patches/patch-src_dynamic-preprocessors_appid_Makefile_in =================================================================== RCS file: /cvs/ports/net/snort/patches/patch-src_dynamic-preprocessors_appid_Makefile_in,v retrieving revision 1.1 diff -u -p -u -p -r1.1 patch-src_dynamic-preprocessors_appid_Makefile_in --- patches/patch-src_dynamic-preprocessors_appid_Makefile_in 12 Feb 2019 22:19:52 -0000 1.1 +++ patches/patch-src_dynamic-preprocessors_appid_Makefile_in 31 May 2019 13:54:27 -0000 @@ -3,7 +3,7 @@ $OpenBSD: patch-src_dynamic-preprocessor Index: src/dynamic-preprocessors/appid/Makefile.in --- src/dynamic-preprocessors/appid/Makefile.in.orig +++ src/dynamic-preprocessors/appid/Makefile.in -@@ -583,7 +583,7 @@ APPID_SOURCES = $(APPID_SRC_DIR)/commonAppMatcher.c \ +@@ -586,7 +586,7 @@ APPID_SOURCES = $(APPID_SRC_DIR)/commonAppMatcher.c \ $(APPID_SRC_DIR)/util/sfutil.c $(APPID_SRC_DIR)/util/sfutil.h dynamicpreprocessordir = ${libdir}/snort_dynamicpreprocessor dynamicpreprocessor_LTLIBRARIES = libsf_appid_preproc.la Index: patches/patch-src_dynamic-preprocessors_dcerpc2_Makefile_in =================================================================== RCS file: /cvs/ports/net/snort/patches/patch-src_dynamic-preprocessors_dcerpc2_Makefile_in,v retrieving revision 1.14 diff -u -p -u -p -r1.14 patch-src_dynamic-preprocessors_dcerpc2_Makefile_in --- patches/patch-src_dynamic-preprocessors_dcerpc2_Makefile_in 28 Jan 2018 03:09:12 -0000 1.14 +++ patches/patch-src_dynamic-preprocessors_dcerpc2_Makefile_in 31 May 2019 13:54:27 -0000 @@ -11,7 +11,7 @@ Index: src/dynamic-preprocessors/dcerpc2 @SO_WITH_STATIC_LIB_TRUE@libsf_dce2_preproc_la_LIBADD = \ @SO_WITH_STATIC_LIB_TRUE@ ../libsf_dynamic_preproc.la \ @SO_WITH_STATIC_LIB_TRUE@ $(am__append_1) -@@ -605,7 +605,7 @@ distdir: $(DISTFILES) +@@ -608,7 +608,7 @@ distdir-am: $(DISTFILES) done check-am: all-am check: check-am Index: patches/patch-src_dynamic-preprocessors_dnp3_Makefile_in =================================================================== RCS file: /cvs/ports/net/snort/patches/patch-src_dynamic-preprocessors_dnp3_Makefile_in,v retrieving revision 1.12 diff -u -p -u -p -r1.12 patch-src_dynamic-preprocessors_dnp3_Makefile_in --- patches/patch-src_dynamic-preprocessors_dnp3_Makefile_in 28 Jan 2018 03:09:12 -0000 1.12 +++ patches/patch-src_dynamic-preprocessors_dnp3_Makefile_in 31 May 2019 13:54:27 -0000 @@ -11,7 +11,7 @@ Index: src/dynamic-preprocessors/dnp3/Ma @SO_WITH_STATIC_LIB_TRUE@libsf_dnp3_preproc_la_LIBADD = \ @SO_WITH_STATIC_LIB_TRUE@ ../libsf_dynamic_preproc.la \ @SO_WITH_STATIC_LIB_TRUE@ $(am__append_1) -@@ -588,7 +588,7 @@ distdir: $(DISTFILES) +@@ -591,7 +591,7 @@ distdir-am: $(DISTFILES) done check-am: all-am check: check-am Index: patches/patch-src_dynamic-preprocessors_dns_Makefile_in =================================================================== RCS file: /cvs/ports/net/snort/patches/patch-src_dynamic-preprocessors_dns_Makefile_in,v retrieving revision 1.16 diff -u -p -u -p -r1.16 patch-src_dynamic-preprocessors_dns_Makefile_in --- patches/patch-src_dynamic-preprocessors_dns_Makefile_in 28 Jan 2018 03:09:12 -0000 1.16 +++ patches/patch-src_dynamic-preprocessors_dns_Makefile_in 31 May 2019 13:54:27 -0000 @@ -11,7 +11,7 @@ Index: src/dynamic-preprocessors/dns/Mak @SO_WITH_STATIC_LIB_TRUE@libsf_dns_preproc_la_LIBADD = ../libsf_dynamic_preproc.la @SO_WITH_STATIC_LIB_FALSE@nodist_libsf_dns_preproc_la_SOURCES = \ @SO_WITH_STATIC_LIB_FALSE@../include/sf_dynamic_preproc_lib.c \ -@@ -542,7 +542,7 @@ distdir: $(DISTFILES) +@@ -545,7 +545,7 @@ distdir-am: $(DISTFILES) done check-am: all-am check: check-am Index: patches/patch-src_dynamic-preprocessors_ftptelnet_Makefile_in =================================================================== RCS file: /cvs/ports/net/snort/patches/patch-src_dynamic-preprocessors_ftptelnet_Makefile_in,v retrieving revision 1.17 diff -u -p -u -p -r1.17 patch-src_dynamic-preprocessors_ftptelnet_Makefile_in --- patches/patch-src_dynamic-preprocessors_ftptelnet_Makefile_in 28 Jan 2018 03:09:12 -0000 1.17 +++ patches/patch-src_dynamic-preprocessors_ftptelnet_Makefile_in 31 May 2019 13:54:27 -0000 @@ -11,7 +11,7 @@ Index: src/dynamic-preprocessors/ftpteln @SO_WITH_STATIC_LIB_TRUE@libsf_ftptelnet_preproc_la_LIBADD = ../libsf_dynamic_preproc.la ../libsf_dynamic_utils.la @SO_WITH_STATIC_LIB_FALSE@nodist_libsf_ftptelnet_preproc_la_SOURCES = \ @SO_WITH_STATIC_LIB_FALSE@../include/sf_dynamic_preproc_lib.c \ -@@ -603,7 +603,7 @@ distdir: $(DISTFILES) +@@ -606,7 +606,7 @@ distdir-am: $(DISTFILES) done check-am: all-am check: check-am Index: patches/patch-src_dynamic-preprocessors_gtp_Makefile_in =================================================================== RCS file: /cvs/ports/net/snort/patches/patch-src_dynamic-preprocessors_gtp_Makefile_in,v retrieving revision 1.12 diff -u -p -u -p -r1.12 patch-src_dynamic-preprocessors_gtp_Makefile_in --- patches/patch-src_dynamic-preprocessors_gtp_Makefile_in 28 Jan 2018 03:09:12 -0000 1.12 +++ patches/patch-src_dynamic-preprocessors_gtp_Makefile_in 31 May 2019 13:54:27 -0000 @@ -11,7 +11,7 @@ Index: src/dynamic-preprocessors/gtp/Mak @SO_WITH_STATIC_LIB_TRUE@libsf_gtp_preproc_la_LIBADD = ../libsf_dynamic_preproc.la @SO_WITH_STATIC_LIB_FALSE@nodist_libsf_gtp_preproc_la_SOURCES = \ @SO_WITH_STATIC_LIB_FALSE@../include/sf_dynamic_preproc_lib.c \ -@@ -547,7 +547,7 @@ distdir: $(DISTFILES) +@@ -550,7 +550,7 @@ distdir-am: $(DISTFILES) done check-am: all-am check: check-am Index: patches/patch-src_dynamic-preprocessors_imap_Makefile_in =================================================================== RCS file: /cvs/ports/net/snort/patches/patch-src_dynamic-preprocessors_imap_Makefile_in,v retrieving revision 1.12 diff -u -p -u -p -r1.12 patch-src_dynamic-preprocessors_imap_Makefile_in --- patches/patch-src_dynamic-preprocessors_imap_Makefile_in 28 Jan 2018 03:09:12 -0000 1.12 +++ patches/patch-src_dynamic-preprocessors_imap_Makefile_in 31 May 2019 13:54:27 -0000 @@ -11,7 +11,7 @@ Index: src/dynamic-preprocessors/imap/Ma @SO_WITH_STATIC_LIB_TRUE@libsf_imap_preproc_la_LIBADD = ../libsf_dynamic_preproc.la @SO_WITH_STATIC_LIB_FALSE@nodist_libsf_imap_preproc_la_SOURCES = \ @SO_WITH_STATIC_LIB_FALSE@../include/sf_dynamic_preproc_lib.c \ -@@ -590,7 +590,7 @@ distdir: $(DISTFILES) +@@ -593,7 +593,7 @@ distdir-am: $(DISTFILES) done check-am: all-am check: check-am Index: patches/patch-src_dynamic-preprocessors_modbus_Makefile_in =================================================================== RCS file: /cvs/ports/net/snort/patches/patch-src_dynamic-preprocessors_modbus_Makefile_in,v retrieving revision 1.12 diff -u -p -u -p -r1.12 patch-src_dynamic-preprocessors_modbus_Makefile_in --- patches/patch-src_dynamic-preprocessors_modbus_Makefile_in 28 Jan 2018 03:09:12 -0000 1.12 +++ patches/patch-src_dynamic-preprocessors_modbus_Makefile_in 31 May 2019 13:54:27 -0000 @@ -11,7 +11,7 @@ Index: src/dynamic-preprocessors/modbus/ @SO_WITH_STATIC_LIB_TRUE@libsf_modbus_preproc_la_LIBADD = ../libsf_dynamic_preproc.la @SO_WITH_STATIC_LIB_FALSE@nodist_libsf_modbus_preproc_la_SOURCES = \ @SO_WITH_STATIC_LIB_FALSE@../include/sf_dynamic_preproc_lib.c \ -@@ -548,7 +548,7 @@ distdir: $(DISTFILES) +@@ -551,7 +551,7 @@ distdir-am: $(DISTFILES) done check-am: all-am check: check-am Index: patches/patch-src_dynamic-preprocessors_pop_Makefile_in =================================================================== RCS file: /cvs/ports/net/snort/patches/patch-src_dynamic-preprocessors_pop_Makefile_in,v retrieving revision 1.12 diff -u -p -u -p -r1.12 patch-src_dynamic-preprocessors_pop_Makefile_in --- patches/patch-src_dynamic-preprocessors_pop_Makefile_in 28 Jan 2018 03:09:12 -0000 1.12 +++ patches/patch-src_dynamic-preprocessors_pop_Makefile_in 31 May 2019 13:54:27 -0000 @@ -11,7 +11,7 @@ Index: src/dynamic-preprocessors/pop/Mak @SO_WITH_STATIC_LIB_TRUE@libsf_pop_preproc_la_LIBADD = ../libsf_dynamic_preproc.la @SO_WITH_STATIC_LIB_FALSE@nodist_libsf_pop_preproc_la_SOURCES = \ @SO_WITH_STATIC_LIB_FALSE@../include/sf_dynamic_preproc_lib.c \ -@@ -588,7 +588,7 @@ distdir: $(DISTFILES) +@@ -591,7 +591,7 @@ distdir-am: $(DISTFILES) done check-am: all-am check: check-am Index: patches/patch-src_dynamic-preprocessors_reputation_Makefile_in =================================================================== RCS file: /cvs/ports/net/snort/patches/patch-src_dynamic-preprocessors_reputation_Makefile_in,v retrieving revision 1.11 diff -u -p -u -p -r1.11 patch-src_dynamic-preprocessors_reputation_Makefile_in --- patches/patch-src_dynamic-preprocessors_reputation_Makefile_in 28 Jan 2018 03:09:12 -0000 1.11 +++ patches/patch-src_dynamic-preprocessors_reputation_Makefile_in 31 May 2019 13:54:27 -0000 @@ -11,7 +11,7 @@ Index: src/dynamic-preprocessors/reputat @SO_WITH_STATIC_LIB_TRUE@libsf_reputation_preproc_la_LIBADD = ../libsf_dynamic_preproc.la @SO_WITH_STATIC_LIB_FALSE@nodist_libsf_reputation_preproc_la_SOURCES = \ @SO_WITH_STATIC_LIB_FALSE@../include/sf_dynamic_preproc_lib.c \ -@@ -620,7 +620,7 @@ distdir: $(DISTFILES) +@@ -623,7 +623,7 @@ distdir-am: $(DISTFILES) done check-am: all-am check: check-am Index: patches/patch-src_dynamic-preprocessors_sdf_Makefile_in =================================================================== RCS file: /cvs/ports/net/snort/patches/patch-src_dynamic-preprocessors_sdf_Makefile_in,v retrieving revision 1.12 diff -u -p -u -p -r1.12 patch-src_dynamic-preprocessors_sdf_Makefile_in --- patches/patch-src_dynamic-preprocessors_sdf_Makefile_in 28 Jan 2018 03:09:12 -0000 1.12 +++ patches/patch-src_dynamic-preprocessors_sdf_Makefile_in 31 May 2019 13:54:27 -0000 @@ -11,7 +11,7 @@ Index: src/dynamic-preprocessors/sdf/Mak @SO_WITH_STATIC_LIB_TRUE@libsf_sdf_preproc_la_LIBADD = ../libsf_dynamic_preproc.la @SO_WITH_STATIC_LIB_FALSE@nodist_libsf_sdf_preproc_la_SOURCES = \ @SO_WITH_STATIC_LIB_FALSE@../include/sf_dynamic_preproc_lib.c \ -@@ -547,7 +547,7 @@ distdir: $(DISTFILES) +@@ -550,7 +550,7 @@ distdir-am: $(DISTFILES) done check-am: all-am check: check-am Index: patches/patch-src_dynamic-preprocessors_sip_Makefile_in =================================================================== RCS file: /cvs/ports/net/snort/patches/patch-src_dynamic-preprocessors_sip_Makefile_in,v retrieving revision 1.12 diff -u -p -u -p -r1.12 patch-src_dynamic-preprocessors_sip_Makefile_in --- patches/patch-src_dynamic-preprocessors_sip_Makefile_in 28 Jan 2018 03:09:12 -0000 1.12 +++ patches/patch-src_dynamic-preprocessors_sip_Makefile_in 31 May 2019 13:54:27 -0000 @@ -11,7 +11,7 @@ Index: src/dynamic-preprocessors/sip/Mak @SO_WITH_STATIC_LIB_TRUE@libsf_sip_preproc_la_LIBADD = \ @SO_WITH_STATIC_LIB_TRUE@ ../libsf_dynamic_preproc.la \ @SO_WITH_STATIC_LIB_TRUE@ $(am__append_1) -@@ -583,7 +583,7 @@ distdir: $(DISTFILES) +@@ -586,7 +586,7 @@ distdir-am: $(DISTFILES) done check-am: all-am check: check-am Index: patches/patch-src_dynamic-preprocessors_smtp_Makefile_in =================================================================== RCS file: /cvs/ports/net/snort/patches/patch-src_dynamic-preprocessors_smtp_Makefile_in,v retrieving revision 1.16 diff -u -p -u -p -r1.16 patch-src_dynamic-preprocessors_smtp_Makefile_in --- patches/patch-src_dynamic-preprocessors_smtp_Makefile_in 28 Jan 2018 03:09:12 -0000 1.16 +++ patches/patch-src_dynamic-preprocessors_smtp_Makefile_in 31 May 2019 13:54:27 -0000 @@ -11,7 +11,7 @@ Index: src/dynamic-preprocessors/smtp/Ma @SO_WITH_STATIC_LIB_TRUE@libsf_smtp_preproc_la_LIBADD = ../libsf_dynamic_preproc.la @SO_WITH_STATIC_LIB_FALSE@nodist_libsf_smtp_preproc_la_SOURCES = \ @SO_WITH_STATIC_LIB_FALSE@../include/sf_dynamic_preproc_lib.c \ -@@ -596,7 +596,7 @@ distdir: $(DISTFILES) +@@ -599,7 +599,7 @@ distdir-am: $(DISTFILES) done check-am: all-am check: check-am Index: patches/patch-src_dynamic-preprocessors_ssh_Makefile_in =================================================================== RCS file: /cvs/ports/net/snort/patches/patch-src_dynamic-preprocessors_ssh_Makefile_in,v retrieving revision 1.15 diff -u -p -u -p -r1.15 patch-src_dynamic-preprocessors_ssh_Makefile_in --- patches/patch-src_dynamic-preprocessors_ssh_Makefile_in 28 Jan 2018 03:09:12 -0000 1.15 +++ patches/patch-src_dynamic-preprocessors_ssh_Makefile_in 31 May 2019 13:54:27 -0000 @@ -11,7 +11,7 @@ Index: src/dynamic-preprocessors/ssh/Mak @SO_WITH_STATIC_LIB_TRUE@libsf_ssh_preproc_la_LIBADD = ../libsf_dynamic_preproc.la @SO_WITH_STATIC_LIB_FALSE@nodist_libsf_ssh_preproc_la_SOURCES = \ @SO_WITH_STATIC_LIB_FALSE@../include/sf_dynamic_preproc_lib.c \ -@@ -542,7 +542,7 @@ distdir: $(DISTFILES) +@@ -545,7 +545,7 @@ distdir-am: $(DISTFILES) done check-am: all-am check: check-am Index: patches/patch-src_dynamic-preprocessors_ssl_Makefile_in =================================================================== RCS file: /cvs/ports/net/snort/patches/patch-src_dynamic-preprocessors_ssl_Makefile_in,v retrieving revision 1.14 diff -u -p -u -p -r1.14 patch-src_dynamic-preprocessors_ssl_Makefile_in --- patches/patch-src_dynamic-preprocessors_ssl_Makefile_in 28 Jan 2018 03:09:12 -0000 1.14 +++ patches/patch-src_dynamic-preprocessors_ssl_Makefile_in 31 May 2019 13:54:27 -0000 @@ -11,7 +11,7 @@ Index: src/dynamic-preprocessors/ssl/Mak @SO_WITH_STATIC_LIB_TRUE@libsf_ssl_preproc_la_LIBADD = ../libsf_dynamic_preproc.la @SO_WITH_STATIC_LIB_FALSE@nodist_libsf_ssl_preproc_la_SOURCES = \ @SO_WITH_STATIC_LIB_FALSE@../include/sf_dynamic_preproc_lib.c \ -@@ -560,7 +560,7 @@ distdir: $(DISTFILES) +@@ -563,7 +563,7 @@ distdir-am: $(DISTFILES) done check-am: all-am check: check-am Index: patches/patch-src_preprocessors_Stream6_snort_stream_tcp_c =================================================================== RCS file: /cvs/ports/net/snort/patches/patch-src_preprocessors_Stream6_snort_stream_tcp_c,v retrieving revision 1.6 diff -u -p -u -p -r1.6 patch-src_preprocessors_Stream6_snort_stream_tcp_c --- patches/patch-src_preprocessors_Stream6_snort_stream_tcp_c 12 Feb 2019 22:19:52 -0000 1.6 +++ patches/patch-src_preprocessors_Stream6_snort_stream_tcp_c 31 May 2019 13:54:27 -0000 @@ -2,7 +2,7 @@ $OpenBSD: patch-src_preprocessors_Stream Index: src/preprocessors/Stream6/snort_stream_tcp.c --- src/preprocessors/Stream6/snort_stream_tcp.c.orig +++ src/preprocessors/Stream6/snort_stream_tcp.c -@@ -8530,7 +8530,7 @@ static int ProcessTcp(SessionControlBlock *scb, Packet +@@ -8562,7 +8562,7 @@ static int ProcessTcp(SessionControlBlock *scb, Packet char src_addr[17]; char dst_addr[17]; memset((char *)timestamp, 0, TIMEBUF_SIZE); Index: patches/patch-src_preprocessors_spp_sfportscan_c =================================================================== RCS file: /cvs/ports/net/snort/patches/patch-src_preprocessors_spp_sfportscan_c,v retrieving revision 1.12 diff -u -p -u -p -r1.12 patch-src_preprocessors_spp_sfportscan_c --- patches/patch-src_preprocessors_spp_sfportscan_c 28 Jan 2018 03:09:12 -0000 1.12 +++ patches/patch-src_preprocessors_spp_sfportscan_c 31 May 2019 13:54:27 -0000 @@ -2,7 +2,7 @@ $OpenBSD: patch-src_preprocessors_spp_sf Index: src/preprocessors/spp_sfportscan.c --- src/preprocessors/spp_sfportscan.c.orig +++ src/preprocessors/spp_sfportscan.c -@@ -280,7 +280,7 @@ static int LogPortscanAlert(Packet *p, const char *msg +@@ -281,7 +281,7 @@ static int LogPortscanAlert(Packet *p, const char *msg return 0; } Index: patches/patch-src_util_c =================================================================== RCS file: /cvs/ports/net/snort/patches/patch-src_util_c,v retrieving revision 1.9 diff -u -p -u -p -r1.9 patch-src_util_c --- patches/patch-src_util_c 24 Jan 2015 03:52:53 -0000 1.9 +++ patches/patch-src_util_c 31 May 2019 13:54:27 -0000 @@ -1,7 +1,8 @@ $OpenBSD: patch-src_util_c,v 1.9 2015/01/24 03:52:53 lteo Exp $ ---- src/util.c.orig Tue Sep 16 20:24:43 2014 -+++ src/util.c Sat Oct 25 16:33:34 2014 -@@ -225,12 +225,13 @@ int DisplayBanner(void) +Index: src/util.c +--- src/util.c.orig ++++ src/util.c +@@ -226,12 +226,13 @@ int DisplayBanner(void) * Returns: void function * ****************************************************************************/ @@ -16,7 +17,7 @@ $OpenBSD: patch-src_util_c,v 1.9 2015/01 struct timezone tz; struct tm *lt; /* place to stick the adjusted clock data */ -@@ -240,7 +241,9 @@ void ts_print(register const struct timeval *tvp, char +@@ -241,7 +242,9 @@ void ts_print(register const struct timeval *tvp, char /* manual page (for linux) says tz is never used, so.. */ memset((char *) &tz, 0, sizeof(tz)); gettimeofday(&tv, &tz); Index: patches/patch-src_util_h =================================================================== RCS file: /cvs/ports/net/snort/patches/patch-src_util_h,v retrieving revision 1.7 diff -u -p -u -p -r1.7 patch-src_util_h --- patches/patch-src_util_h 30 Jan 2014 03:23:48 -0000 1.7 +++ patches/patch-src_util_h 31 May 2019 13:54:27 -0000 @@ -1,15 +1,16 @@ $OpenBSD: patch-src_util_h,v 1.7 2014/01/30 03:23:48 lteo Exp $ ---- src/util.h.orig Tue Dec 31 17:07:54 2013 -+++ src/util.h Thu Jan 23 23:02:21 2014 +Index: src/util.h +--- src/util.h.orig ++++ src/util.h @@ -50,6 +50,7 @@ #include "sflsq.h" #include "sfutil/sf_ipvar.h" #include "ipv6_port.h" +#include "pcap_pkthdr32.h" + #include "control/sfcontrol.h" /* Macros *********************************************************************/ - -@@ -161,7 +162,7 @@ typedef struct _IntervalStats +@@ -162,7 +163,7 @@ typedef struct _IntervalStats void StoreSnortInfoStrings(void); int DisplayBanner(void); int gmt2local(time_t);