FreeBSD Bugzilla – Attachment 208906 Details for
Bug 241751
security/sshguard: Remove redundant pidfile check
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Proposed patch
sshguard.diff (text/plain), 1.37 KB, created by
Xin LI
on 2019-11-06 05:39:20 UTC
(
hide
)
Description:
Proposed patch
Filename:
MIME Type:
Creator:
Xin LI
Created:
2019-11-06 05:39:20 UTC
Size:
1.37 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 516860) >+++ Makefile (working copy) >@@ -3,7 +3,7 @@ > > PORTNAME= sshguard > PORTVERSION= 2.4.0 >-PORTREVISION= 1 >+PORTREVISION= 2 > PORTEPOCH= 1 > CATEGORIES= security > MASTER_SITES= SF/sshguard/sshguard/${PORTVERSION} >Index: files/patch-src_sshguard.in >=================================================================== >--- files/patch-src_sshguard.in (nonexistent) >+++ files/patch-src_sshguard.in (working copy) >@@ -0,0 +1,19 @@ >+--- src/sshguard.in.orig 2019-05-23 22:25:17 UTC >++++ src/sshguard.in >+@@ -97,14 +97,8 @@ elif [ -z "$tailcmd" ]; then >+ exit 1 >+ fi >+ >+-if [ ! -z "$PID_FILE" ]; then >+- if [ ! -e "$PID_FILE" ]; then >+- echo "$$" > $PID_FILE >+- else >+- err "$PID_FILE already exists; is SSHGuard already running?" >+- exit 1 >+- fi >+-fi >++# Already checked by rc(8) >++echo "$$" > $PID_FILE >+ >+ # Make sure to kill entire process group (subshell) on exit/interrupts. >+ trap "clean_and_exit" INT TERM > >Property changes on: files/patch-src_sshguard.in >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
koobs
:
maintainer-approval+
Actions:
View
|
Diff
Attachments on
bug 241751
: 208906