On 2020/01/21 15:40, Eric Zylstra wrote: > > > > On Jan 21, 2020, at 1:45 PM, Stuart Henderson <[email protected]> wrote: > > > > On 2020-01-18, Eric Zylstra <[email protected]> wrote: > >> > >> > >>> On Jan 18, 2020, at 6:42 AM, Antoine Jacoutot <[email protected]> > >>> wrote: > >>> > >>> On Fri, Jan 17, 2020 at 11:24:22PM -0600, Eric Zylstra wrote: > >>>> OpenBSD 6.6 Generic.MP amd64 > >>>> Stable. > >>>> > >>>> I installed suricata using pkg_add. Having trouble with starting it. > > > > pkg_add pointed you at the pkg-readme file when you installed suricata. > > Did you follow the instructions in that file? > > > > > > The file /usr/local/share/doc/suricata/README is an empty file.
Hmm, yes all the files in /usr/local/share/doc/suricata seem completely useless in the current version. $ grep -R . /usr/local/share/doc/suricata /usr/local/share/doc/suricata/NEWS:https://suricata-ids.org/news/ /usr/local/share/doc/suricata/TODO:Plenty, and you're welcome to help! /usr/local/share/doc/suricata/TODO:https://suricata-ids.org/participate/ /usr/local/share/doc/suricata/AUTHORS:Team: /usr/local/share/doc/suricata/AUTHORS:https://suricata-ids.org/about/team/ /usr/local/share/doc/suricata/AUTHORS:All contributors: /usr/local/share/doc/suricata/AUTHORS:https://www.ohloh.net/p/suricata-engine/contributors/summary CC'ing port maintainers, can I just remove them? (Diff below). I am pretty certain that the OpenBSD-specific pkg-readme (which you let me know you found after writing this mail) has enough to fix the problem you're running into. Index: Makefile =================================================================== RCS file: /cvs/ports/security/suricata/Makefile,v retrieving revision 1.27 diff -u -p -r1.27 Makefile --- Makefile 16 Dec 2019 15:33:27 -0000 1.27 +++ Makefile 21 Jan 2020 21:55:02 -0000 @@ -4,6 +4,7 @@ COMMENT = high performance network IDS, SURICATA_V = 5.0.1 SUPDATE_V = 1.1.1 +REVISION = 0 DISTNAME = suricata-${SURICATA_V} CATEGORIES = security @@ -72,8 +73,6 @@ post-install: ${INSTALL_DATA} ${WRKSRC}/*.config ${PREFIX}/share/examples/suricata ${INSTALL_DATA} ${WRKSRC}/suricata.yaml ${PREFIX}/share/examples/suricata ${INSTALL_DATA} ${WRKSRC}/rules/*.rules ${PREFIX}/share/examples/suricata/rules - rm ${PREFIX}/share/doc/suricata/{*.txt,GITGUIDE,INSTALL*} - ${INSTALL_DATA} ${WRKSRC}/doc/{AUTHORS,NEWS,README,TODO} \ - ${PREFIX}/share/doc/suricata + rm -r ${PREFIX}/share/doc/suricata # nothing particularly useful in there as of 5.0.1 .include <bsd.port.mk> Index: pkg/PLIST =================================================================== RCS file: /cvs/ports/security/suricata/pkg/PLIST,v retrieving revision 1.11 diff -u -p -r1.11 PLIST --- pkg/PLIST 16 Dec 2019 15:33:27 -0000 1.11 +++ pkg/PLIST 21 Jan 2020 21:55:02 -0000 @@ -150,11 +150,6 @@ ${MODPY_COMMENT}lib/python${MODPY_VERSIO lib/python${MODPY_VERSION}/site-packages/suricatasc/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}pyc @man man/man1/suricata.1 share/doc/pkg-readmes/${PKGSTEM} -share/doc/suricata/ -share/doc/suricata/AUTHORS -share/doc/suricata/NEWS -share/doc/suricata/README -share/doc/suricata/TODO @sample ${SYSCONFDIR}/suricata/ @sample ${SYSCONFDIR}/suricata/rules/ share/examples/suricata/

