- Update to 1.5.9.5

- Use REINPLACE_CMD instead simple patch
- Use PORTDOCS
- Take maintainership
This commit is contained in:
Renato Botelho 2005-09-30 12:37:37 +00:00
parent 29cce7361b
commit e16bd8d84a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=143834
8 changed files with 24 additions and 54 deletions

View file

@ -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

View file

@ -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

View file

@ -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"

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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"

View file

@ -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