[MacPorts] #42531: snort: update to 2.9.6.0

MacPorts noreply at macports.org
Sat Jun 21 18:31:41 PDT 2014


#42531: snort: update to 2.9.6.0
--------------------------+---------------------
  Reporter:  jul_bsd@…    |      Owner:  markd@…
      Type:  enhancement  |     Status:  new
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:
Resolution:               |   Keywords:
      Port:  snort        |
--------------------------+---------------------

Comment (by jmr@…):

 This:
 {{{
 post-configure {
             addgroup snort
             add_users snort gid=[existsgroup snort]
 home=${prefix}/var/snort shell=/sbin/nologin realname=Snort\ user
 }
 }}}
 needs to change to this:
 {{{
 add_users snort group=snort home=${prefix}/var/snort shell=/sbin/nologin
 realname=Snort\ user
 }}}
 because the whole point of the add_users variable is to allow base to
 automatically to call the adduser and addgroup procs for you at the right
 times. Setting the variable inside a phase can mean it’s not set until
 after base checks it, or not set at all in cases where you run configure
 and destroot in separate commands.

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


More information about the macports-tickets mailing list