diff options
Diffstat (limited to 'security/ipfw2dshield/files')
-rw-r--r-- | security/ipfw2dshield/files/patch-Makefile | 27 | ||||
-rw-r--r-- | security/ipfw2dshield/files/patch-README.html | 25 | ||||
-rw-r--r-- | security/ipfw2dshield/files/patch-README.txt | 20 | ||||
-rw-r--r-- | security/ipfw2dshield/files/patch-ipfw2dshield | 12 |
4 files changed, 84 insertions, 0 deletions
diff --git a/security/ipfw2dshield/files/patch-Makefile b/security/ipfw2dshield/files/patch-Makefile new file mode 100644 index 000000000000..0cfcba8f9a38 --- /dev/null +++ b/security/ipfw2dshield/files/patch-Makefile @@ -0,0 +1,27 @@ +--- Makefile.orig Sat May 29 16:27:21 2004 ++++ Makefile Fri Jun 11 15:41:20 2004 +@@ -4,7 +4,8 @@ + RMCMD = rm -f + INSTALL = install + +-prefix = /usr/local ++prefix = ${PREFIX} ++etcdir = $(prefix)/etc + sbindir = $(prefix)/sbin + + SUBDIRS = ipaddr strpdate +@@ -29,12 +30,12 @@ + @for subdir in $(SUBDIRS); do (cd $$subdir && make install) ; done + @[ -d $(sbindir) ] || mkdir -vp $(sbindir) + $(INSTALL) -c -m 700 -o root $(PROGRAM) $(sbindir) +- $(INSTALL) -c -m 600 -o root $(RC) $(HOME)/.$(RC).sample ++ $(INSTALL) -c -m 600 -o root $(RC) $(etcdir)/$(RC).sample + + uninstall: + @for subdir in $(SUBDIRS); do (cd $$subdir && make uninstall) ; done + -$(RMCMD) $(sbindir)/$(PROGRAM) +- -$(RMCMD) $(HOME)/.$(RC).sample ++ -$(RMCMD) $(etcdir)/$(RC).sample + + clean: + -$(RMCMD) *~ *.bak diff --git a/security/ipfw2dshield/files/patch-README.html b/security/ipfw2dshield/files/patch-README.html new file mode 100644 index 000000000000..43c6b5c0e6e6 --- /dev/null +++ b/security/ipfw2dshield/files/patch-README.html @@ -0,0 +1,25 @@ +--- README.html.orig Tue Jun 1 23:51:53 2004 ++++ README.html Wed Jun 9 12:46:58 2004 +@@ -38,9 +38,22 @@ + /usr/local/bin/ipaddr<br> + ~/.ipfw2dshield.rc.sample + </dd></dl> ++<b>Note:</b> For the FreeBSD ports version the sample configuration file is ++instead ++<dl><dt><dt> ++<dd> ++/usr/local/etc/ipfw2dshield.rc.sample ++</dd></dl> + Copy or rename the sample configuration file to <em>~/.ipfw2dshield.rc</em> + and edit this latter file to fit your local demands. Please read section 2 + below for an explanation of the configuration entries. ++<p> ++ ++<b>Note:</b> The FreeBSD ports version does also accept ++<nobr><em>/usr/local/etc/ipfw2dshield.rc</em></nobr> ++as its configuration file. However, the preference is for ++<nobr><em>~/.ipfw2dshield.rc</em></nobr> ++in case that both these files exist. + <p> + + The script creates a stampfile in <em>/var/tmp</em> where it stores date diff --git a/security/ipfw2dshield/files/patch-README.txt b/security/ipfw2dshield/files/patch-README.txt new file mode 100644 index 000000000000..a54b342053c8 --- /dev/null +++ b/security/ipfw2dshield/files/patch-README.txt @@ -0,0 +1,20 @@ +--- README.txt.orig Tue Jun 1 23:51:53 2004 ++++ README.txt Wed Jun 9 12:46:58 2004 +@@ -21,9 +21,17 @@ + /usr/local/bin/ipaddr + ~/.ipfw2dshield.rc.sample + ++NNoottee:: For the FreeBSD ports version the sample configuration file is instead ++ ++ /usr/local/etc/ipfw2dshield.rc.sample ++ + Copy or rename the sample configuration file to ~~//..iippffww22ddsshhiieelldd..rrcc and edit + this latter file to fit your local demands. Please read section 2 below for an + explanation of the configuration entries. ++ ++NNoottee:: The FreeBSD ports version does also accept //uussrr//llooccaall//eettcc//iippffww22ddsshhiieelldd..rrcc ++as its configuration file. However, the preference is for ~~//..iippffww22ddsshhiieelldd..rrcc in ++case that both these files exist. + + The script creates a stampfile in //vvaarr//ttmmpp where it stores date and time + information which will be accessed on a subsequent run to prevent multiple diff --git a/security/ipfw2dshield/files/patch-ipfw2dshield b/security/ipfw2dshield/files/patch-ipfw2dshield new file mode 100644 index 000000000000..b57625f0667c --- /dev/null +++ b/security/ipfw2dshield/files/patch-ipfw2dshield @@ -0,0 +1,12 @@ +--- ipfw2dshield.orig Sat May 29 16:26:59 2004 ++++ ipfw2dshield Tue Jun 8 23:11:07 2004 +@@ -247,7 +247,8 @@ + fi + + # Suck in the config file. +-rc=~/.$prog.rc ++rc=%%PREFIX%%/etc/$prog.rc ++[ -e ~/.$prog.rc ] && rc=~/.$prog.rc + [ -r $rc ] || bye "Permission denied: $rc" + . $rc + _logdir=$logdir |