Opened 12 years ago

Closed 12 years ago

#31805 closed update (duplicate)

sshguard-ipfw: update

Reported by: nefar@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.0.3
Keywords: haspatch maintainer Cc: nonstop.server@…
Port: sshguard-ipfw

Description


Attachments (2)

Portfile.patch (1005 bytes) - added by nefar@… 12 years ago.
patch-Portfile-sshguard-ipfw.diff (4.6 KB) - added by pixilla (Bradley Giesbrecht) 12 years ago.

Download all attachments as: .zip

Change History (7)

Changed 12 years ago by nefar@…

Attachment: Portfile.patch added

comment:1 Changed 12 years ago by pixilla (Bradley Giesbrecht)

As of sshguard version 1.5 there is a new feature named "Log Sucker".
I have been using sshguard-ipfw version 1.5 with this feature since August 2011.
I have yet to make the startup command configurable which I think it should be.
nefar: Any thoughts regarding a new startup command?

Changed 12 years ago by pixilla (Bradley Giesbrecht)

comment:2 Changed 12 years ago by pixilla (Bradley Giesbrecht)

nefar: I wrote a wrapper script ${prefix}/sbin/sshguard-start to call sshguard with options read from ${prefix}/etc/sshguard-ipfw/options.
In post-activate, if ${prefix}/etc/sshguard-ipfw/options does not exist I copy the example into place.
If the +startupitem variant is given sudo port load will load the wrapper script.
Seems to work for me though I have not tested over time.
All the files are created in the Portfile. These can be moved to the files/ dir and use reinplace to fix paths if that is preferable.

comment:3 Changed 12 years ago by nefar@…

Any reason you're using a shell script instead of launchctl and a plist file?

comment:4 Changed 12 years ago by nonstop.server@…

Cc: nonstop.server@… added

Cc Me!

comment:5 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: duplicate
Status: newclosed

Duplicate of #28523.

Note: See TracTickets for help on using tickets.