Opened 10 years ago
Closed 10 years ago
#44227 closed submission (duplicate)
suricata 2.0.2
Reported by: | Schamschula (Marius Schamschula) | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.3.1 |
Keywords: | Cc: | ||
Port: | suricata |
Description
suricata version 2.0.2.
Suricata is a high performance Network IDS, IPS and Network Security Monitoring engine. Open Source and owned by a community run non-profit foundation, the Open Information Security Foundation (OISF).
Attachments (5)
Change History (12)
Changed 10 years ago by Schamschula (Marius Schamschula)
Attachment: | patch-src-suricata-common.h.diff added |
---|
Changed 10 years ago by Schamschula (Marius Schamschula)
Attachment: | patch-src-util-strlcatu.c.diff added |
---|
Changed 10 years ago by Schamschula (Marius Schamschula)
Attachment: | patch-src-util-strlcpyu.c.diff added |
---|
comment:1 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)
Changed 10 years ago by Schamschula (Marius Schamschula)
Attachment: | patch-Makefile.in.diff added |
---|
comment:2 follow-up: 3 Changed 10 years ago by Schamschula (Marius Schamschula)
Ryan,
A bunch of great catches. I fixed the following:
- Detabed and cleaned up some whitespace issues
- Substituted libmagic for file (outside of MacPorts they are one and the same)
- Removed the ipfw variant.
- Made sure geoip is not enabled by default (actually needed to add configure.args for default)
- Added comment to
patch-Makefile.in.diff
to note open issue regarding ${DESTDIR} upstream.
The only unresolved issues are the matters of HAVE_STRLCAT and HAVE_STRLCPY: ./configure does not test for these. This issue was reported by the Homebrew maintainer on 5/15/2014: https://redmine.openinfosecfoundation.org/issues/1192 and will be resolved by the next release (2.0.3). I currently only have access to Mavericks MacPorts machines, so I have no way of testing on older OSs. Of course, this is a clang issue, so a Mountain Lion machine with the current version of Xcode will see this issue as well.
comment:3 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)
Replying to mschamschula@…:
- Substituted libmagic for file (outside of MacPorts they are one and the same)
You changed the dependency to "magic", which is an unrelated software package for circuit design. You want "libmagic" instead.
Replying to mschamschula@…:
- Made sure geoip is not enabled by default (actually needed to add configure.args for default)
You used configure.args-remove
, which is not a MacPorts command; configure.args-delete
is; however, consider using configure.args-replace
instead.
comment:4 Changed 10 years ago by Schamschula (Marius Schamschula)
Fixed the incorrect lib name and replaced the two configure.args statements with configure.args-replace.
Changed 10 years ago by Schamschula (Marius Schamschula)
comment:5 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)
Configure fails:
checking for HASH_Begin in -lnss3... no ERROR! libnss library not found, go get it from Mozilla or your distribution: Ubuntu: apt-get install libnss3-dev Fedora: yum install nss-devel
I do have the nss port installed.
comment:6 Changed 10 years ago by jul_bsd@…
Duplicate work cf #42858 which has 1.x, 2.0.x and 2.1/-devel: I merged part of the patch
comment:7 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → duplicate |
---|---|
Status: | new → closed |
Thanks. Some initial comments:
file
program, or does it use the magic library? If the latter, depend on port:libmagic.#define HAVE_STRLCPY 1
. Is that correct for all versions of OS X? I thought that had only been added to OS X recently. Isn't that kind of#define
supposed to get set in config.h by running./configure
?