aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorgarga <garga@FreeBSD.org>2006-06-25 23:33:56 +0800
committergarga <garga@FreeBSD.org>2006-06-25 23:33:56 +0800
commit197c6e703f7e4ade298dd9be3b21fc057eb4fc48 (patch)
tree6089207853e182e0cad9e08917877428ade18b7c /net
parente47aff2ef30d1eec1f708e75fe81b8e3ea6ca323 (diff)
downloadfreebsd-ports-gnome-197c6e703f7e4ade298dd9be3b21fc057eb4fc48.tar.gz
freebsd-ports-gnome-197c6e703f7e4ade298dd9be3b21fc057eb4fc48.tar.zst
freebsd-ports-gnome-197c6e703f7e4ade298dd9be3b21fc057eb4fc48.zip
- Add OPTIONS to disable ipv6 and enable largefile support
- RCng´ify - Make it hier(7) complaint, moving config files to ${PREFIX}/etc, logs to /var/log/rwhoisd and pid to /var/run/rwhoisd - Bump PORTREVISION PR: ports/99304 (based on) Submitted by: Jo Rhett <jrhett@svcolo.com>
Diffstat (limited to 'net')
-rw-r--r--net/rwhois/Makefile37
-rw-r--r--net/rwhois/files/rwhoisd.in31
-rw-r--r--net/rwhois/files/rwhoisd.sh23
-rw-r--r--net/rwhois/pkg-plist136
-rw-r--r--net/rwhoisd/Makefile37
-rw-r--r--net/rwhoisd/files/rwhoisd.in31
-rw-r--r--net/rwhoisd/files/rwhoisd.sh23
-rw-r--r--net/rwhoisd/pkg-plist136
8 files changed, 252 insertions, 202 deletions
diff --git a/net/rwhois/Makefile b/net/rwhois/Makefile
index 609cdf9619e4..11dd846e0415 100644
--- a/net/rwhois/Makefile
+++ b/net/rwhois/Makefile
@@ -7,6 +7,7 @@
PORTNAME= rwhois
PORTVERSION= 1.5.9.6
+PORTREVISION= 1
CATEGORIES= net ipv6
MASTER_SITES= http://www.rwhois.net/ftp/ \
http://www.rwhois.net/ftp/older_releases/
@@ -15,10 +16,13 @@ DISTNAME= ${PORTNAME}d-${PORTVERSION}
MAINTAINER= garga@FreeBSD.org
COMMENT= The Internic referral whois server
+OPTIONS= IPV6 "Enable IPV6 support" On \
+ LARGEFILE "Enable largefile support (> 2Gb)" Off
+
HAS_CONFIGURE= yes
-CONFIGURE_ARGS= --prefix=${PREFIX}/lib/rwhois
-MAKE_ENV= RWHOIS_ROOT_DIR=${PREFIX}/lib/rwhois
-MAKE_ARGS= -E RWHOIS_ROOT_DIR
+CONFIGURE_ARGS= --prefix=${PREFIX}
+
+USE_RC_SUBR= rwhoisd
BINOWN= bin
BINGRP= bin
@@ -28,20 +32,35 @@ MAN8= rwhois_indexer.8 rwhoisd.8
PORTDOCS= INSTALL.html TODO UPGRADE operations_guide.html \
operations_guide.txt rfc2167.txt security.html security.txt
+.include <bsd.port.pre.mk>
+
+.if defined(WITHOUT_IPV6)
+CONFIGURE_ARGS+= --disable-ipv6
+.endif
+
+.if defined(WITH_LARGEFILE)
+CONFIGURE_ARGS+= --enable-largefile
+.endif
+
post-patch:
+ @${REINPLACE_CMD} -e 's,rwhoisd/samples,rwhoisd,' \
+ ${WRKSRC}/sample.data/Makefile.in
@${REINPLACE_CMD} -e 's,userid: rwhoisd,userid: nobody,' \
+ -e 's,pid-file: rwhoisd.pid,pid-file: /var/run/rwhoisd/rwhoisd.pid,' \
${WRKSRC}/sample.data/rwhoisd.conf
+ @${REINPLACE_CMD} -E 's,"(.*\.log)","/var/log/rwhoisd/\1",g' \
+ ${WRKSRC}/common/conf.h
post-install:
+ @${MKDIR} /var/log/rwhoisd /var/run/rwhoisd
+ @${CHOWN} -R nobody /var/log/rwhoisd /var/run/rwhoisd
${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 ${PORTDOCS}
- ${INSTALL_DATA} ${WRKSRC}/doc/${file} ${DOCSDIR}
-.endfor
+. for f in ${PORTDOCS}
+ ${INSTALL_DATA} ${WRKSRC}/doc/${f} ${DOCSDIR}
+. endfor
.endif
- @${ECHO_MSG} "Installing ${PREFIX}/etc/rc.d/rwhoisd.sh startup file..."
- ${INSTALL_SCRIPT} -m 751 ${FILESDIR}/rwhoisd.sh ${PREFIX}/etc/rc.d/rwhoisd.sh
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/net/rwhois/files/rwhoisd.in b/net/rwhois/files/rwhoisd.in
new file mode 100644
index 000000000000..01ea89e25f7c
--- /dev/null
+++ b/net/rwhois/files/rwhoisd.in
@@ -0,0 +1,31 @@
+#!/bin/sh
+
+# PROVIDE: rwhoisd
+# REQUIRE: LOGIN
+#
+# Add the following lines to /etc/rc.conf.local or /etc/rc.conf
+# to enable this service:
+#
+# rwhoisd_enable (bool): Set to NO by default.
+# Set it to YES to enable rwhoisd.
+# rwhoisd_config (path): Set to %%PREFIX%%/etc/rwhoisd/rwhoisd.conf
+# by default.
+#
+
+. %%RC_SUBR%%
+
+name="rwhoisd"
+rcvar=${name}_enable
+
+command=%%PREFIX%%/sbin/${name}
+pidfile=${rwhoisd_pidfile}
+
+load_rc_config $name
+
+: ${rwhoisd_enable="NO"}
+: ${rwhoisd_config="%%PREFIX%%/etc/rwhoisd/rwhoisd.conf"}
+: ${rwhoisd_pidfile="/var/run/${name}/${name}.pid"}
+
+command_args="-d -c $rwhoisd_config"
+
+run_rc_command "$1"
diff --git a/net/rwhois/files/rwhoisd.sh b/net/rwhois/files/rwhoisd.sh
deleted file mode 100644
index cc977b591234..000000000000
--- a/net/rwhois/files/rwhoisd.sh
+++ /dev/null
@@ -1,23 +0,0 @@
-#!/bin/sh
-
-if ! PREFIX=$(expr $0 : "\(/.*\)/etc/rc\.d/$(basename $0)\$"); then
- echo "$0: Cannot determine the PREFIX" >&2
- exit 1
-fi
-
-case "$1" in
-start)
- # remove or comment the following line and uncomment the one below it once you have
- # configured your server's data
- echo "rwhoisd not started; sample data still in place. See ${PREFIX}/share/doc/rwhois for details."
- #if [ -x ${PREFIX}/lib/rwhois/sbin/rwhoisd ]; then (${PREFIX}/lib/rwhois/sbin/rwhoisd -c ${PREFIX}/lib/rwhois/rwhoisd.conf &); echo -n ' rwhoisd'; fi
- ;;
-stop)
- # killall rwhoisd && echo -n ' rwhoisd
- ;;
-*)
- echo "Usage: `basename $0` {start|stop}" >&2
- ;;
-esac
-
-exit 0
diff --git a/net/rwhois/pkg-plist b/net/rwhois/pkg-plist
index 07ea527bb07c..1125aa9f123a 100644
--- a/net/rwhois/pkg-plist
+++ b/net/rwhois/pkg-plist
@@ -1,69 +1,67 @@
-etc/rc.d/rwhoisd.sh
-lib/rwhois/a.com/attribute_defs/asn.tmpl
-lib/rwhois/a.com/attribute_defs/contact.tmpl
-lib/rwhois/a.com/attribute_defs/domain.tmpl
-lib/rwhois/a.com/attribute_defs/guardian.tmpl
-lib/rwhois/a.com/attribute_defs/host.tmpl
-lib/rwhois/a.com/attribute_defs/org.tmpl
-lib/rwhois/a.com/attribute_defs/referral.tmpl
-lib/rwhois/a.com/data/asn/asn.txt
-lib/rwhois/a.com/data/contact/contact.txt
-lib/rwhois/a.com/data/domain/domain.txt
-lib/rwhois/a.com/data/guardian/guardian.txt
-lib/rwhois/a.com/data/host/host.txt
-lib/rwhois/a.com/data/org/org.txt
-lib/rwhois/a.com/data/referral/referral.txt
-lib/rwhois/a.com/schema
-lib/rwhois/a.com/soa
-lib/rwhois/bin/rwhois_deleter
-lib/rwhois/bin/rwhois_indexer
-lib/rwhois/bin/rwhois_repack
-lib/rwhois/net-10.0.0.0-8/attribute_defs/contact.tmpl
-lib/rwhois/net-10.0.0.0-8/attribute_defs/guardian.tmpl
-lib/rwhois/net-10.0.0.0-8/attribute_defs/host.tmpl
-lib/rwhois/net-10.0.0.0-8/attribute_defs/network.tmpl
-lib/rwhois/net-10.0.0.0-8/attribute_defs/referral.tmpl
-lib/rwhois/net-10.0.0.0-8/data/network/network.txt
-lib/rwhois/net-10.0.0.0-8/data/referral/referral.txt
-lib/rwhois/net-10.0.0.0-8/schema
-lib/rwhois/net-10.0.0.0-8/soa
-lib/rwhois/net-fd00:1234::-32/attribute_defs/host.tmpl
-lib/rwhois/net-fd00:1234::-32/attribute_defs/referral.tmpl
-lib/rwhois/net-fd00:1234::-32/attribute_defs/contact.tmpl
-lib/rwhois/net-fd00:1234::-32/attribute_defs/guardian.tmpl
-lib/rwhois/net-fd00:1234::-32/attribute_defs/network.tmpl
-lib/rwhois/net-fd00:1234::-32/data/referral/referral.txt
-lib/rwhois/net-fd00:1234::-32/data/network/network.txt
-lib/rwhois/net-fd00:1234::-32/soa
-lib/rwhois/net-fd00:1234::-32/schema
-lib/rwhois/rwhoisd.allow
-lib/rwhois/rwhoisd.auth_area
-lib/rwhois/rwhoisd.conf
-lib/rwhois/rwhoisd.deny
-lib/rwhois/rwhoisd.dir
-lib/rwhois/rwhoisd.root
-lib/rwhois/rwhoisd.x.dir
-lib/rwhois/sbin/rwhoisd
-@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
-@dirrm lib/rwhois/net-10.0.0.0-8/data
-@dirrm lib/rwhois/net-10.0.0.0-8/attribute_defs
-@dirrm lib/rwhois/net-10.0.0.0-8
-@dirrm lib/rwhois/net-fd00:1234::-32/attribute_defs
-@dirrm lib/rwhois/net-fd00:1234::-32/data/referral
-@dirrm lib/rwhois/net-fd00:1234::-32/data/network
-@dirrm lib/rwhois/net-fd00:1234::-32/data
-@dirrm lib/rwhois/net-fd00:1234::-32
-@dirrm lib/rwhois/bin
-@dirrm lib/rwhois/a.com/data/referral
-@dirrm lib/rwhois/a.com/data/org
-@dirrm lib/rwhois/a.com/data/host
-@dirrm lib/rwhois/a.com/data/guardian
-@dirrm lib/rwhois/a.com/data/domain
-@dirrm lib/rwhois/a.com/data/contact
-@dirrm lib/rwhois/a.com/data/asn
-@dirrm lib/rwhois/a.com/data
-@dirrm lib/rwhois/a.com/attribute_defs
-@dirrm lib/rwhois/a.com
-@dirrm lib/rwhois
+bin/rwhois_deleter
+bin/rwhois_indexer
+bin/rwhois_repack
+sbin/rwhoisd
+etc/rwhoisd/a.com/attribute_defs/asn.tmpl
+etc/rwhoisd/a.com/attribute_defs/contact.tmpl
+etc/rwhoisd/a.com/attribute_defs/domain.tmpl
+etc/rwhoisd/a.com/attribute_defs/guardian.tmpl
+etc/rwhoisd/a.com/attribute_defs/host.tmpl
+etc/rwhoisd/a.com/attribute_defs/org.tmpl
+etc/rwhoisd/a.com/attribute_defs/referral.tmpl
+etc/rwhoisd/a.com/data/asn/asn.txt
+etc/rwhoisd/a.com/data/contact/contact.txt
+etc/rwhoisd/a.com/data/domain/domain.txt
+etc/rwhoisd/a.com/data/guardian/guardian.txt
+etc/rwhoisd/a.com/data/host/host.txt
+etc/rwhoisd/a.com/data/org/org.txt
+etc/rwhoisd/a.com/data/referral/referral.txt
+etc/rwhoisd/a.com/schema
+etc/rwhoisd/a.com/soa
+etc/rwhoisd/net-10.0.0.0-8/attribute_defs/contact.tmpl
+etc/rwhoisd/net-10.0.0.0-8/attribute_defs/guardian.tmpl
+etc/rwhoisd/net-10.0.0.0-8/attribute_defs/host.tmpl
+etc/rwhoisd/net-10.0.0.0-8/attribute_defs/network.tmpl
+etc/rwhoisd/net-10.0.0.0-8/attribute_defs/referral.tmpl
+etc/rwhoisd/net-10.0.0.0-8/data/network/network.txt
+etc/rwhoisd/net-10.0.0.0-8/data/referral/referral.txt
+etc/rwhoisd/net-10.0.0.0-8/schema
+etc/rwhoisd/net-10.0.0.0-8/soa
+etc/rwhoisd/net-fd00:1234::-32/attribute_defs/host.tmpl
+etc/rwhoisd/net-fd00:1234::-32/attribute_defs/referral.tmpl
+etc/rwhoisd/net-fd00:1234::-32/attribute_defs/contact.tmpl
+etc/rwhoisd/net-fd00:1234::-32/attribute_defs/guardian.tmpl
+etc/rwhoisd/net-fd00:1234::-32/attribute_defs/network.tmpl
+etc/rwhoisd/net-fd00:1234::-32/data/referral/referral.txt
+etc/rwhoisd/net-fd00:1234::-32/data/network/network.txt
+etc/rwhoisd/net-fd00:1234::-32/soa
+etc/rwhoisd/net-fd00:1234::-32/schema
+etc/rwhoisd/rwhoisd.allow
+etc/rwhoisd/rwhoisd.auth_area
+etc/rwhoisd/rwhoisd.conf
+etc/rwhoisd/rwhoisd.deny
+etc/rwhoisd/rwhoisd.dir
+etc/rwhoisd/rwhoisd.root
+etc/rwhoisd/rwhoisd.x.dir
+@dirrm etc/rwhoisd/net-10.0.0.0-8/data/referral
+@dirrm etc/rwhoisd/net-10.0.0.0-8/data/network
+@dirrm etc/rwhoisd/net-10.0.0.0-8/data
+@dirrm etc/rwhoisd/net-10.0.0.0-8/attribute_defs
+@dirrm etc/rwhoisd/net-10.0.0.0-8
+@dirrm etc/rwhoisd/net-fd00:1234::-32/attribute_defs
+@dirrm etc/rwhoisd/net-fd00:1234::-32/data/referral
+@dirrm etc/rwhoisd/net-fd00:1234::-32/data/network
+@dirrm etc/rwhoisd/net-fd00:1234::-32/data
+@dirrm etc/rwhoisd/net-fd00:1234::-32
+@dirrm etc/rwhoisd/a.com/data/referral
+@dirrm etc/rwhoisd/a.com/data/org
+@dirrm etc/rwhoisd/a.com/data/host
+@dirrm etc/rwhoisd/a.com/data/guardian
+@dirrm etc/rwhoisd/a.com/data/domain
+@dirrm etc/rwhoisd/a.com/data/contact
+@dirrm etc/rwhoisd/a.com/data/asn
+@dirrm etc/rwhoisd/a.com/data
+@dirrm etc/rwhoisd/a.com/attribute_defs
+@dirrm etc/rwhoisd/a.com
+@dirrmtry etc/rwhoisd
+@exec mkdir -p /var/log/rwhoisd /var/run/rwhoisd; chown -R nobody /var/log/rwhoisd /var/run/rwhoisd
diff --git a/net/rwhoisd/Makefile b/net/rwhoisd/Makefile
index 609cdf9619e4..11dd846e0415 100644
--- a/net/rwhoisd/Makefile
+++ b/net/rwhoisd/Makefile
@@ -7,6 +7,7 @@
PORTNAME= rwhois
PORTVERSION= 1.5.9.6
+PORTREVISION= 1
CATEGORIES= net ipv6
MASTER_SITES= http://www.rwhois.net/ftp/ \
http://www.rwhois.net/ftp/older_releases/
@@ -15,10 +16,13 @@ DISTNAME= ${PORTNAME}d-${PORTVERSION}
MAINTAINER= garga@FreeBSD.org
COMMENT= The Internic referral whois server
+OPTIONS= IPV6 "Enable IPV6 support" On \
+ LARGEFILE "Enable largefile support (> 2Gb)" Off
+
HAS_CONFIGURE= yes
-CONFIGURE_ARGS= --prefix=${PREFIX}/lib/rwhois
-MAKE_ENV= RWHOIS_ROOT_DIR=${PREFIX}/lib/rwhois
-MAKE_ARGS= -E RWHOIS_ROOT_DIR
+CONFIGURE_ARGS= --prefix=${PREFIX}
+
+USE_RC_SUBR= rwhoisd
BINOWN= bin
BINGRP= bin
@@ -28,20 +32,35 @@ MAN8= rwhois_indexer.8 rwhoisd.8
PORTDOCS= INSTALL.html TODO UPGRADE operations_guide.html \
operations_guide.txt rfc2167.txt security.html security.txt
+.include <bsd.port.pre.mk>
+
+.if defined(WITHOUT_IPV6)
+CONFIGURE_ARGS+= --disable-ipv6
+.endif
+
+.if defined(WITH_LARGEFILE)
+CONFIGURE_ARGS+= --enable-largefile
+.endif
+
post-patch:
+ @${REINPLACE_CMD} -e 's,rwhoisd/samples,rwhoisd,' \
+ ${WRKSRC}/sample.data/Makefile.in
@${REINPLACE_CMD} -e 's,userid: rwhoisd,userid: nobody,' \
+ -e 's,pid-file: rwhoisd.pid,pid-file: /var/run/rwhoisd/rwhoisd.pid,' \
${WRKSRC}/sample.data/rwhoisd.conf
+ @${REINPLACE_CMD} -E 's,"(.*\.log)","/var/log/rwhoisd/\1",g' \
+ ${WRKSRC}/common/conf.h
post-install:
+ @${MKDIR} /var/log/rwhoisd /var/run/rwhoisd
+ @${CHOWN} -R nobody /var/log/rwhoisd /var/run/rwhoisd
${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 ${PORTDOCS}
- ${INSTALL_DATA} ${WRKSRC}/doc/${file} ${DOCSDIR}
-.endfor
+. for f in ${PORTDOCS}
+ ${INSTALL_DATA} ${WRKSRC}/doc/${f} ${DOCSDIR}
+. endfor
.endif
- @${ECHO_MSG} "Installing ${PREFIX}/etc/rc.d/rwhoisd.sh startup file..."
- ${INSTALL_SCRIPT} -m 751 ${FILESDIR}/rwhoisd.sh ${PREFIX}/etc/rc.d/rwhoisd.sh
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/net/rwhoisd/files/rwhoisd.in b/net/rwhoisd/files/rwhoisd.in
new file mode 100644
index 000000000000..01ea89e25f7c
--- /dev/null
+++ b/net/rwhoisd/files/rwhoisd.in
@@ -0,0 +1,31 @@
+#!/bin/sh
+
+# PROVIDE: rwhoisd
+# REQUIRE: LOGIN
+#
+# Add the following lines to /etc/rc.conf.local or /etc/rc.conf
+# to enable this service:
+#
+# rwhoisd_enable (bool): Set to NO by default.
+# Set it to YES to enable rwhoisd.
+# rwhoisd_config (path): Set to %%PREFIX%%/etc/rwhoisd/rwhoisd.conf
+# by default.
+#
+
+. %%RC_SUBR%%
+
+name="rwhoisd"
+rcvar=${name}_enable
+
+command=%%PREFIX%%/sbin/${name}
+pidfile=${rwhoisd_pidfile}
+
+load_rc_config $name
+
+: ${rwhoisd_enable="NO"}
+: ${rwhoisd_config="%%PREFIX%%/etc/rwhoisd/rwhoisd.conf"}
+: ${rwhoisd_pidfile="/var/run/${name}/${name}.pid"}
+
+command_args="-d -c $rwhoisd_config"
+
+run_rc_command "$1"
diff --git a/net/rwhoisd/files/rwhoisd.sh b/net/rwhoisd/files/rwhoisd.sh
deleted file mode 100644
index cc977b591234..000000000000
--- a/net/rwhoisd/files/rwhoisd.sh
+++ /dev/null
@@ -1,23 +0,0 @@
-#!/bin/sh
-
-if ! PREFIX=$(expr $0 : "\(/.*\)/etc/rc\.d/$(basename $0)\$"); then
- echo "$0: Cannot determine the PREFIX" >&2
- exit 1
-fi
-
-case "$1" in
-start)
- # remove or comment the following line and uncomment the one below it once you have
- # configured your server's data
- echo "rwhoisd not started; sample data still in place. See ${PREFIX}/share/doc/rwhois for details."
- #if [ -x ${PREFIX}/lib/rwhois/sbin/rwhoisd ]; then (${PREFIX}/lib/rwhois/sbin/rwhoisd -c ${PREFIX}/lib/rwhois/rwhoisd.conf &); echo -n ' rwhoisd'; fi
- ;;
-stop)
- # killall rwhoisd && echo -n ' rwhoisd
- ;;
-*)
- echo "Usage: `basename $0` {start|stop}" >&2
- ;;
-esac
-
-exit 0
diff --git a/net/rwhoisd/pkg-plist b/net/rwhoisd/pkg-plist
index 07ea527bb07c..1125aa9f123a 100644
--- a/net/rwhoisd/pkg-plist
+++ b/net/rwhoisd/pkg-plist
@@ -1,69 +1,67 @@
-etc/rc.d/rwhoisd.sh
-lib/rwhois/a.com/attribute_defs/asn.tmpl
-lib/rwhois/a.com/attribute_defs/contact.tmpl
-lib/rwhois/a.com/attribute_defs/domain.tmpl
-lib/rwhois/a.com/attribute_defs/guardian.tmpl
-lib/rwhois/a.com/attribute_defs/host.tmpl
-lib/rwhois/a.com/attribute_defs/org.tmpl
-lib/rwhois/a.com/attribute_defs/referral.tmpl
-lib/rwhois/a.com/data/asn/asn.txt
-lib/rwhois/a.com/data/contact/contact.txt
-lib/rwhois/a.com/data/domain/domain.txt
-lib/rwhois/a.com/data/guardian/guardian.txt
-lib/rwhois/a.com/data/host/host.txt
-lib/rwhois/a.com/data/org/org.txt
-lib/rwhois/a.com/data/referral/referral.txt
-lib/rwhois/a.com/schema
-lib/rwhois/a.com/soa
-lib/rwhois/bin/rwhois_deleter
-lib/rwhois/bin/rwhois_indexer
-lib/rwhois/bin/rwhois_repack
-lib/rwhois/net-10.0.0.0-8/attribute_defs/contact.tmpl
-lib/rwhois/net-10.0.0.0-8/attribute_defs/guardian.tmpl
-lib/rwhois/net-10.0.0.0-8/attribute_defs/host.tmpl
-lib/rwhois/net-10.0.0.0-8/attribute_defs/network.tmpl
-lib/rwhois/net-10.0.0.0-8/attribute_defs/referral.tmpl
-lib/rwhois/net-10.0.0.0-8/data/network/network.txt
-lib/rwhois/net-10.0.0.0-8/data/referral/referral.txt
-lib/rwhois/net-10.0.0.0-8/schema
-lib/rwhois/net-10.0.0.0-8/soa
-lib/rwhois/net-fd00:1234::-32/attribute_defs/host.tmpl
-lib/rwhois/net-fd00:1234::-32/attribute_defs/referral.tmpl
-lib/rwhois/net-fd00:1234::-32/attribute_defs/contact.tmpl
-lib/rwhois/net-fd00:1234::-32/attribute_defs/guardian.tmpl
-lib/rwhois/net-fd00:1234::-32/attribute_defs/network.tmpl
-lib/rwhois/net-fd00:1234::-32/data/referral/referral.txt
-lib/rwhois/net-fd00:1234::-32/data/network/network.txt
-lib/rwhois/net-fd00:1234::-32/soa
-lib/rwhois/net-fd00:1234::-32/schema
-lib/rwhois/rwhoisd.allow
-lib/rwhois/rwhoisd.auth_area
-lib/rwhois/rwhoisd.conf
-lib/rwhois/rwhoisd.deny
-lib/rwhois/rwhoisd.dir
-lib/rwhois/rwhoisd.root
-lib/rwhois/rwhoisd.x.dir
-lib/rwhois/sbin/rwhoisd
-@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
-@dirrm lib/rwhois/net-10.0.0.0-8/data
-@dirrm lib/rwhois/net-10.0.0.0-8/attribute_defs
-@dirrm lib/rwhois/net-10.0.0.0-8
-@dirrm lib/rwhois/net-fd00:1234::-32/attribute_defs
-@dirrm lib/rwhois/net-fd00:1234::-32/data/referral
-@dirrm lib/rwhois/net-fd00:1234::-32/data/network
-@dirrm lib/rwhois/net-fd00:1234::-32/data
-@dirrm lib/rwhois/net-fd00:1234::-32
-@dirrm lib/rwhois/bin
-@dirrm lib/rwhois/a.com/data/referral
-@dirrm lib/rwhois/a.com/data/org
-@dirrm lib/rwhois/a.com/data/host
-@dirrm lib/rwhois/a.com/data/guardian
-@dirrm lib/rwhois/a.com/data/domain
-@dirrm lib/rwhois/a.com/data/contact
-@dirrm lib/rwhois/a.com/data/asn
-@dirrm lib/rwhois/a.com/data
-@dirrm lib/rwhois/a.com/attribute_defs
-@dirrm lib/rwhois/a.com
-@dirrm lib/rwhois
+bin/rwhois_deleter
+bin/rwhois_indexer
+bin/rwhois_repack
+sbin/rwhoisd
+etc/rwhoisd/a.com/attribute_defs/asn.tmpl
+etc/rwhoisd/a.com/attribute_defs/contact.tmpl
+etc/rwhoisd/a.com/attribute_defs/domain.tmpl
+etc/rwhoisd/a.com/attribute_defs/guardian.tmpl
+etc/rwhoisd/a.com/attribute_defs/host.tmpl
+etc/rwhoisd/a.com/attribute_defs/org.tmpl
+etc/rwhoisd/a.com/attribute_defs/referral.tmpl
+etc/rwhoisd/a.com/data/asn/asn.txt
+etc/rwhoisd/a.com/data/contact/contact.txt
+etc/rwhoisd/a.com/data/domain/domain.txt
+etc/rwhoisd/a.com/data/guardian/guardian.txt
+etc/rwhoisd/a.com/data/host/host.txt
+etc/rwhoisd/a.com/data/org/org.txt
+etc/rwhoisd/a.com/data/referral/referral.txt
+etc/rwhoisd/a.com/schema
+etc/rwhoisd/a.com/soa
+etc/rwhoisd/net-10.0.0.0-8/attribute_defs/contact.tmpl
+etc/rwhoisd/net-10.0.0.0-8/attribute_defs/guardian.tmpl
+etc/rwhoisd/net-10.0.0.0-8/attribute_defs/host.tmpl
+etc/rwhoisd/net-10.0.0.0-8/attribute_defs/network.tmpl
+etc/rwhoisd/net-10.0.0.0-8/attribute_defs/referral.tmpl
+etc/rwhoisd/net-10.0.0.0-8/data/network/network.txt
+etc/rwhoisd/net-10.0.0.0-8/data/referral/referral.txt
+etc/rwhoisd/net-10.0.0.0-8/schema
+etc/rwhoisd/net-10.0.0.0-8/soa
+etc/rwhoisd/net-fd00:1234::-32/attribute_defs/host.tmpl
+etc/rwhoisd/net-fd00:1234::-32/attribute_defs/referral.tmpl
+etc/rwhoisd/net-fd00:1234::-32/attribute_defs/contact.tmpl
+etc/rwhoisd/net-fd00:1234::-32/attribute_defs/guardian.tmpl
+etc/rwhoisd/net-fd00:1234::-32/attribute_defs/network.tmpl
+etc/rwhoisd/net-fd00:1234::-32/data/referral/referral.txt
+etc/rwhoisd/net-fd00:1234::-32/data/network/network.txt
+etc/rwhoisd/net-fd00:1234::-32/soa
+etc/rwhoisd/net-fd00:1234::-32/schema
+etc/rwhoisd/rwhoisd.allow
+etc/rwhoisd/rwhoisd.auth_area
+etc/rwhoisd/rwhoisd.conf
+etc/rwhoisd/rwhoisd.deny
+etc/rwhoisd/rwhoisd.dir
+etc/rwhoisd/rwhoisd.root
+etc/rwhoisd/rwhoisd.x.dir
+@dirrm etc/rwhoisd/net-10.0.0.0-8/data/referral
+@dirrm etc/rwhoisd/net-10.0.0.0-8/data/network
+@dirrm etc/rwhoisd/net-10.0.0.0-8/data
+@dirrm etc/rwhoisd/net-10.0.0.0-8/attribute_defs
+@dirrm etc/rwhoisd/net-10.0.0.0-8
+@dirrm etc/rwhoisd/net-fd00:1234::-32/attribute_defs
+@dirrm etc/rwhoisd/net-fd00:1234::-32/data/referral
+@dirrm etc/rwhoisd/net-fd00:1234::-32/data/network
+@dirrm etc/rwhoisd/net-fd00:1234::-32/data
+@dirrm etc/rwhoisd/net-fd00:1234::-32
+@dirrm etc/rwhoisd/a.com/data/referral
+@dirrm etc/rwhoisd/a.com/data/org
+@dirrm etc/rwhoisd/a.com/data/host
+@dirrm etc/rwhoisd/a.com/data/guardian
+@dirrm etc/rwhoisd/a.com/data/domain
+@dirrm etc/rwhoisd/a.com/data/contact
+@dirrm etc/rwhoisd/a.com/data/asn
+@dirrm etc/rwhoisd/a.com/data
+@dirrm etc/rwhoisd/a.com/attribute_defs
+@dirrm etc/rwhoisd/a.com
+@dirrmtry etc/rwhoisd
+@exec mkdir -p /var/log/rwhoisd /var/run/rwhoisd; chown -R nobody /var/log/rwhoisd /var/run/rwhoisd