[MacPorts] #42858: [NEW] suricata 1.4.7

MacPorts noreply at macports.org
Sun Apr 20 00:45:31 PDT 2014


#42858: [NEW] suricata 1.4.7
-------------------------+--------------------------------
  Reporter:  jul_bsd@…   |      Owner:  macports-tickets@…
      Type:  submission  |     Status:  new
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.2.1
Resolution:              |   Keywords:
      Port:  suricata    |
-------------------------+--------------------------------

Comment (by cal@…):

 - `--prefix=${prefix}` is automatically passed configure in
 `configure.pre_args` by MacPorts. You don't have to pass it again.
  - `--sysconfdir` defaults to `PREFIX/etc`, so passing
 `--sysconfdir=${prefix}/etc` isn't necessary.
  - The same applies to `--localstatedir`.
  - `revision 0` is the default and can be omitted.
  - Don't set `configure.compiler` directly unless absolutely necessary.
 Instead, use `compiler.blacklist` to blacklist the compilers that will
 fail to compile suricata and let MacPorts choose a fallback. Even better
 would be fixing the build with clang.
  - Conflicts should be specified both ways, so the suricata subport should
 `conflicts ${name}-devel`
  - Instead of listing a variant that does nothing, consider commenting it.
  - I'm not sure hardcoding the startupitem to the `en1` interface is a
 good solution. I don't have a better idea either, though.
  - When adding optional features with dependencies in variants you need to
 make sure the configure script doesn't autodetect the presence of the
 dependency and links against libraries when the dependency isn't
 specified. For example, suricata must not link against libgeoip when
 installed without the geoip variant even when the libgeoip port is
 installed. To do this, pass `--disable-geoip` in the default
 `configure.args` and replace it with `--enable-geoip` in the geoip
 variant.

-- 
Ticket URL: <https://trac.macports.org/ticket/42858#comment:2>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list