- Add LICENSE

- Switch to options helpers
- Regenerate patches with `make makepatch`
This commit is contained in:
Dmitry Marakasov 2016-04-05 15:48:22 +00:00
parent f9305f8707
commit 7154204064
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=412562
5 changed files with 25 additions and 19 deletions

View file

@ -9,6 +9,9 @@ MASTER_SITES= http://www.dynamical-systems.org/ipfw/
MAINTAINER= ports@FreeBSD.org
COMMENT= DShield client for ipfw logs
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
PORTDOCS= CHANGES README.html README.txt
OPTIONS_DEFINE= DOCS
@ -20,7 +23,7 @@ post-patch:
${WRKSRC}/ipaddr/Makefile \
${WRKSRC}/strpdate/Makefile
post-install:
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}

View file

@ -1,5 +1,5 @@
--- Makefile.orig 2004-05-29 16:27:21.000000000 +0200
+++ Makefile 2014-07-11 00:00:21.463847887 +0200
--- Makefile.orig 2004-05-29 14:27:21 UTC
+++ Makefile
@@ -4,7 +4,8 @@
RMCMD = rm -f
INSTALL = install
@ -10,7 +10,7 @@
sbindir = $(prefix)/sbin
SUBDIRS = ipaddr strpdate
@@ -28,13 +29,13 @@
@@ -28,13 +29,13 @@ $(RC):
install: $(RC)
@for subdir in $(SUBDIRS); do (cd $$subdir && make install) ; done
@[ -d $(sbindir) ] || mkdir -vp $(sbindir)

View file

@ -1,6 +1,6 @@
--- README.html.orig Tue Jun 1 23:51:53 2004
+++ README.html Wed Jun 9 12:46:58 2004
@@ -38,9 +38,22 @@
--- README.html.orig 2004-06-01 21:52:15 UTC
+++ README.html
@@ -38,11 +38,24 @@ This will install the following files:
/usr/local/bin/ipaddr<br>
~/.ipfw2dshield.rc.sample
</dd></dl>
@ -13,13 +13,15 @@
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>
+
<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>
+<p>
+
The script creates a stampfile in <em>/var/tmp</em> where it stores date
and time information which will be accessed on a subsequent run to prevent
multiple submission of log records.

View file

@ -1,6 +1,6 @@
--- README.txt.orig Tue Jun 1 23:51:53 2004
+++ README.txt Wed Jun 9 12:46:58 2004
@@ -21,9 +21,17 @@
--- README.txt.orig 2004-06-01 21:52:15 UTC
+++ README.txt
@@ -21,10 +21,18 @@ This will install the following files:
/usr/local/bin/ipaddr
~/.ipfw2dshield.rc.sample
@ -11,10 +11,11 @@
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
submission of log records. Hence this file should remain untouched for correct

View file

@ -1,6 +1,6 @@
--- ipfw2dshield.orig Sat Oct 9 10:53:48 2004
+++ ipfw2dshield Wed Nov 24 21:46:41 2004
@@ -279,7 +279,8 @@
--- ipfw2dshield.orig 2004-10-09 08:54:10 UTC
+++ ipfw2dshield
@@ -279,7 +279,8 @@ else
fi
# Suck in the config file.