Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 391872 Details for
Bug 519716
net-firewall/fwknop-2.6.6 version bump
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
fwknop-2.6.5-remove-extra-run-from-paths.patch
fwknop-2.6.5-remove-extra-run-from-paths.patch (text/plain), 5.15 KB, created by
Coacher
on 2014-12-17 18:40:31 UTC
(
hide
)
Description:
fwknop-2.6.5-remove-extra-run-from-paths.patch
Filename:
MIME Type:
Creator:
Coacher
Created:
2014-12-17 18:40:31 UTC
Size:
5.15 KB
patch
obsolete
>diff --git a/doc/fwknopd.man.asciidoc b/doc/fwknopd.man.asciidoc >index 7707be2..29e1c28 100644 >--- a/doc/fwknopd.man.asciidoc >+++ b/doc/fwknopd.man.asciidoc >@@ -68,7 +68,7 @@ COMMAND-LINE OPTIONS > *-d, --digest-file*='<digest-file>':: > Specify the location of the 'digest.cache' file. If this option is > not given, 'fwknopd' will use the compile-time default location (typically >- '@localstatedir@/run/fwknop/digest.cache'). >+ '@localstatedir@/fwknop/digest.cache'). > > *-D, --dump-config*:: > Dump the configuration values that *fwknopd* derives from the >@@ -131,7 +131,7 @@ COMMAND-LINE OPTIONS > *-p, --pid-file*='<pid-file>':: > Specify the location of the 'fwknopd.pid' file. If this option is > not given, 'fwknopd' will use the compile-time default location (typically >- '@localstatedir@/run/fwknop/fwknopd.pid). >+ '@localstatedir@/fwknop/fwknopd.pid). > > *-P, --pcap-filter*='<filter>':: > Specify a Berkeley packet filter statement on the *fwknopd* command >@@ -165,11 +165,11 @@ COMMAND-LINE OPTIONS > *--rotate-digest-cache*:: > Rotate the digest cache file by renaming it to ``<name>-old'', and > starting a new one. The digest cache file is typically found in >- '@localstatedir@/run/fwknop/digest.cache'. >+ '@localstatedir@/fwknop/digest.cache'. > > *-r, --run-dir*='<path>':: > Specify the directory where *fwknopd* writes run time state files. The >- default is '@localstatedir@/run'. >+ default is '@localstatedir@'. > > *-S, --status*:: > Display the status of any *fwknopd* processes that may or not be >@@ -396,7 +396,7 @@ See the '@sysconfdir@/fwknop/fwknopd.conf' file for the full list and correspond > > *FWKNOP_RUN_DIR* '<path>':: > Specify the directory where *fwknopd* writes run time state files. The >- default is '@localstatedir@/run'. >+ default is '@localstatedir@'. > > ACCESS.CONF VARIABLES > ~~~~~~~~~~~~~~~~~~~~~ >diff --git a/extras/apparmor/usr.sbin.fwknopd b/extras/apparmor/usr.sbin.fwknopd >index e967a56..cacf767 100644 >--- a/extras/apparmor/usr.sbin.fwknopd >+++ b/extras/apparmor/usr.sbin.fwknopd >@@ -1,6 +1,4 @@ > # Last Modified: Sun Aug 18 22:54:57 2013 >-# Assumes fwknopd was built with: >-# './configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var' > #include <tunables/global> > > /usr/sbin/fwknopd { >diff --git a/fwknop.spec b/fwknop.spec >index b6d5d85..818ea05 100644 >--- a/fwknop.spec >+++ b/fwknop.spec >@@ -8,7 +8,7 @@ > %define _libdir /usr/lib > %endif > %define _sysconfdir /etc >-%define _localstatedir /var >+%define _localstatedir /run > %define _infodir /usr/share/info > %define _mandir /usr/share/man > >diff --git a/server/fwknopd.8.in b/server/fwknopd.8.in >index 5c28cb3..baff019 100644 >--- a/server/fwknopd.8.in >+++ b/server/fwknopd.8.in >@@ -94,7 +94,7 @@ Specify the location of the > file\&. If this option is not given, > \fIfwknopd\fR > will use the compile\-time default location (typically >-\fI@localstatedir@/run/fwknop/digest\&.cache\fR)\&. >+\fI@localstatedir@/fwknop/digest\&.cache\fR)\&. > .RE > .PP > \fB\-D, \-\-dump\-config\fR >@@ -196,7 +196,7 @@ Specify the location of the > \fIfwknopd\&.pid\fR > file\&. If this option is not given, > \fIfwknopd\fR >-will use the compile\-time default location (typically \*(Aq@localstatedir@/run/fwknop/fwknopd\&.pid)\&. >+will use the compile\-time default location (typically \*(Aq@localstatedir@/fwknop/fwknopd\&.pid)\&. > .RE > .PP > \fB\-P, \-\-pcap\-filter\fR=\fI<filter>\fR >@@ -244,7 +244,7 @@ files\&. This will also force a flush of the current \(lqFWKNOP\(rq iptables cha > \fB\-\-rotate\-digest\-cache\fR > .RS 4 > Rotate the digest cache file by renaming it to \(lq<name>\-old\(rq, and starting a new one\&. The digest cache file is typically found in >-\fI@localstatedir@/run/fwknop/digest\&.cache\fR\&. >+\fI@localstatedir@/fwknop/digest\&.cache\fR\&. > .RE > .PP > \fB\-r, \-\-run\-dir\fR=\fI<path>\fR >@@ -252,7 +252,7 @@ Rotate the digest cache file by renaming it to \(lq<name>\-old\(rq, and starting > Specify the directory where > \fBfwknopd\fR > writes run time state files\&. The default is >-\fI@localstatedir@/run\fR\&. >+\fI@localstatedir@\fR\&. > .RE > .PP > \fB\-S, \-\-status\fR >@@ -524,7 +524,7 @@ Override syslog facility\&. The \(lqSYSLOG_FACILITY\(rq variable can be set to > Specify the directory where > \fBfwknopd\fR > writes run time state files\&. The default is >-\fI@localstatedir@/run\fR\&. >+\fI@localstatedir@\fR\&. > .RE > .PP > \fBENABLE_DESTINATION_RULE\fR \fI<Y/N>\fR >diff --git a/server/fwknopd.conf b/server/fwknopd.conf >index 29ec9e2..93dc68d 100644 >--- a/server/fwknopd.conf >+++ b/server/fwknopd.conf >@@ -494,7 +494,7 @@ > > # Directories - These can override compile-time defaults. > # >-#FWKNOP_RUN_DIR /var/run/fwknop; >+#FWKNOP_RUN_DIR /run/fwknop; > #FWKNOP_CONF_DIR /etc/fwknop; > > # Files >diff --git a/server/fwknopd_common.h b/server/fwknopd_common.h >index 84ebc01..fa850ff 100644 >--- a/server/fwknopd_common.h >+++ b/server/fwknopd_common.h >@@ -70,7 +70,7 @@ > /* Our default run directory is based on LOCALSTATEDIR as set by the > * configure script. This is where we put the PID and digest cache files. > */ >- #define DEF_RUN_DIR SYSRUNDIR"/run/"PACKAGE_NAME >+ #define DEF_RUN_DIR SYSRUNDIR"/"PACKAGE_NAME > #endif > > /* More Conf defaults
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
Actions:
View
|
Diff
Attachments on
bug 519716
:
382742
|
382744
|
389730
|
389732
|
389734
|
389736
|
389738
|
391870
|
391872
|
391874
|
391876
|
402084
|
402086
|
402262
|
402266