aboutsummaryrefslogtreecommitdiff
path: root/net/rwhois
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2005-09-30 12:37:37 +0000
committerRenato Botelho <garga@FreeBSD.org>2005-09-30 12:37:37 +0000
commite16bd8d84a45c0dffa86adb918f2a9344634fab6 (patch)
tree21ae5c97f33564d1d1cc069046a8be1b0b6e6c94 /net/rwhois
parent29cce7361b7b637c109fcbc3a86518aa85aecf15 (diff)
Notes
Diffstat (limited to 'net/rwhois')
-rw-r--r--net/rwhois/Makefile15
-rw-r--r--net/rwhois/distinfo4
-rw-r--r--net/rwhois/files/patch-sample.data_rwhoisd.conf11
-rw-r--r--net/rwhois/pkg-plist9
4 files changed, 12 insertions, 27 deletions
diff --git a/net/rwhois/Makefile b/net/rwhois/Makefile
index f6e10b904675..131f873d6a5d 100644
--- a/net/rwhois/Makefile
+++ b/net/rwhois/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/rwhois/distinfo b/net/rwhois/distinfo
index 9fc37a8e81d9..bd10d9baf3cc 100644
--- a/net/rwhois/distinfo
+++ b/net/rwhois/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/rwhois/files/patch-sample.data_rwhoisd.conf b/net/rwhois/files/patch-sample.data_rwhoisd.conf
deleted file mode 100644
index 6e242cb96ad5..000000000000
--- a/net/rwhois/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/rwhois/pkg-plist b/net/rwhois/pkg-plist
index 09546ac4040d..07ea527bb07c 100644
--- a/net/rwhois/pkg-plist
+++ b/net/rwhois/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