aboutsummaryrefslogtreecommitdiffstats
path: root/net/rwhoisd
diff options
context:
space:
mode:
authorgarga <garga@FreeBSD.org>2005-09-30 20:37:37 +0800
committergarga <garga@FreeBSD.org>2005-09-30 20:37:37 +0800
commitc94a20fa2660b1cdc4a300851f0115dd7ede7f1a (patch)
tree831832e39bbadef6b2728f9adbb575211bc2ca1b /net/rwhoisd
parent751b4feb7e17402bdbaf7688fb394b563a8913d1 (diff)
downloadfreebsd-ports-gnome-c94a20fa2660b1cdc4a300851f0115dd7ede7f1a.tar.gz
freebsd-ports-gnome-c94a20fa2660b1cdc4a300851f0115dd7ede7f1a.tar.zst
freebsd-ports-gnome-c94a20fa2660b1cdc4a300851f0115dd7ede7f1a.zip
- Update to 1.5.9.5
- Use REINPLACE_CMD instead simple patch - Use PORTDOCS - Take maintainership
Diffstat (limited to 'net/rwhoisd')
-rw-r--r--net/rwhoisd/Makefile15
-rw-r--r--net/rwhoisd/distinfo4
-rw-r--r--net/rwhoisd/files/patch-sample.data_rwhoisd.conf11
-rw-r--r--net/rwhoisd/pkg-plist9
4 files changed, 12 insertions, 27 deletions
diff --git a/net/rwhoisd/Makefile b/net/rwhoisd/Makefile
index f6e10b904675..131f873d6a5d 100644
--- a/net/rwhoisd/Makefile
+++ b/net/rwhoisd/Makefile
@@ -6,15 +6,16 @@
#
PORTNAME= rwhois
-PORTVERSION= 1.5.9.3
+PORTVERSION= 1.5.9.5
CATEGORIES= net ipv6
MASTER_SITES= http://www.rwhois.net/ftp/ \
- http://www.rwhois.net/ftp/older_releases/
+ http://www.rwhois.net/ftp/older_releases/
DISTNAME= ${PORTNAME}d-${PORTVERSION}
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= garga@FreeBSD.org
COMMENT= The Internic referral whois server
+USE_REINPLACE= yes
HAS_CONFIGURE= yes
CONFIGURE_ARGS= --prefix=${PREFIX}/lib/rwhois
MAKE_ENV= RWHOIS_ROOT_DIR=${PREFIX}/lib/rwhois
@@ -25,15 +26,19 @@ BINGRP= bin
MAN8= rwhois_indexer.8 rwhoisd.8
-MYPORTDOCS= INSTALL.html TODO UPGRADE operations_guide.html \
+PORTDOCS= INSTALL.html TODO UPGRADE operations_guide.html \
operations_guide.txt rfc2167.txt security.html security.txt
+post-patch:
+ @${REINPLACE_CMD} -e 's,userid: rwhoisd,userid: nobody,' \
+ ${WRKSRC}/sample.data/rwhoisd.conf
+
post-install:
${INSTALL_MAN} ${WRKSRC}/doc/rwhois_indexer.8 ${PREFIX}/man/man8
${INSTALL_MAN} ${WRKSRC}/doc/rwhoisd.8 ${PREFIX}/man/man8
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
-.for file in ${MYPORTDOCS}
+.for file in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/doc/${file} ${DOCSDIR}
.endfor
.endif
diff --git a/net/rwhoisd/distinfo b/net/rwhoisd/distinfo
index 9fc37a8e81d9..bd10d9baf3cc 100644
--- a/net/rwhoisd/distinfo
+++ b/net/rwhoisd/distinfo
@@ -1,2 +1,2 @@
-MD5 (rwhoisd-1.5.9.3.tar.gz) = f815090232d76c81ffbd384632e6b9d2
-SIZE (rwhoisd-1.5.9.3.tar.gz) = 525436
+MD5 (rwhoisd-1.5.9.5.tar.gz) = 08ab91152726f00c0e3bbccd54703f71
+SIZE (rwhoisd-1.5.9.5.tar.gz) = 491600
diff --git a/net/rwhoisd/files/patch-sample.data_rwhoisd.conf b/net/rwhoisd/files/patch-sample.data_rwhoisd.conf
deleted file mode 100644
index 6e242cb96ad5..000000000000
--- a/net/rwhoisd/files/patch-sample.data_rwhoisd.conf
+++ /dev/null
@@ -1,11 +0,0 @@
---- sample.data/rwhoisd.conf.orig Thu Apr 14 15:28:24 2005
-+++ sample.data/rwhoisd.conf Thu Apr 14 15:28:32 2005
-@@ -109,7 +109,7 @@ security-deny: rwhoisd.deny
- # users group, as found in /etc/passwd.
- # note that this really, really should be an unprivileged user
- # this options doesn't have a default.
--userid: rwhoisd
-+userid: nobody
-
- # pid-file: where to put the file containing the pid of the server.
- # normal default is "rwhoisd.pid"
diff --git a/net/rwhoisd/pkg-plist b/net/rwhoisd/pkg-plist
index 09546ac4040d..07ea527bb07c 100644
--- a/net/rwhoisd/pkg-plist
+++ b/net/rwhoisd/pkg-plist
@@ -44,15 +44,6 @@ lib/rwhois/rwhoisd.dir
lib/rwhois/rwhoisd.root
lib/rwhois/rwhoisd.x.dir
lib/rwhois/sbin/rwhoisd
-%%PORTDOCS%%%%DOCSDIR%%/INSTALL.html
-%%PORTDOCS%%%%DOCSDIR%%/TODO
-%%PORTDOCS%%%%DOCSDIR%%/UPGRADE
-%%PORTDOCS%%%%DOCSDIR%%/operations_guide.html
-%%PORTDOCS%%%%DOCSDIR%%/operations_guide.txt
-%%PORTDOCS%%%%DOCSDIR%%/rfc2167.txt
-%%PORTDOCS%%%%DOCSDIR%%/security.html
-%%PORTDOCS%%%%DOCSDIR%%/security.txt
-%%PORTDOCS%%@dirrm %%DOCSDIR%%
@dirrm lib/rwhois/sbin
@dirrm lib/rwhois/net-10.0.0.0-8/data/referral
@dirrm lib/rwhois/net-10.0.0.0-8/data/network