aboutsummaryrefslogtreecommitdiffstats
path: root/dns
diff options
context:
space:
mode:
authorpi <pi@FreeBSD.org>2016-11-13 22:14:59 +0800
committerpi <pi@FreeBSD.org>2016-11-13 22:14:59 +0800
commit8848ce11f394999bfa75f8b0c3de58147c39afca (patch)
treeb5979e6cc91087eb1ce4bcab1304a9d579849951 /dns
parent31e88c0acdb8dc1893ee135d83956636e33eeb4e (diff)
downloadfreebsd-ports-gnome-8848ce11f394999bfa75f8b0c3de58147c39afca.tar.gz
freebsd-ports-gnome-8848ce11f394999bfa75f8b0c3de58147c39afca.tar.zst
freebsd-ports-gnome-8848ce11f394999bfa75f8b0c3de58147c39afca.zip
dns/rbldnsd: update 0.997a -> 0.998
- use ${ETCDIR} - don't install RPM spec and debian packege spec - they are no use on FreeBSD - install example zone file with default permissions (readable to all users) there is no need to limit access to examples PR: 214426 Changes: http://www.corpit.ru/mjt/rbldnsd/NEWS Submitted by: Anton Yuzhaninov <citrin+pr@citrin.ru> Approved by: Alexey Degtyarev <alexey@renatasystems.org> (maintainer)
Diffstat (limited to 'dns')
-rw-r--r--dns/rbldnsd/Makefile16
-rw-r--r--dns/rbldnsd/distinfo5
-rw-r--r--dns/rbldnsd/pkg-plist7
3 files changed, 7 insertions, 21 deletions
diff --git a/dns/rbldnsd/Makefile b/dns/rbldnsd/Makefile
index 466f0141ad5b..1f8754944b3b 100644
--- a/dns/rbldnsd/Makefile
+++ b/dns/rbldnsd/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= rbldnsd
-PORTVERSION= 0.997a
+PORTVERSION= 0.998
CATEGORIES= dns
MASTER_SITES= http://www.corpit.ru/mjt/rbldnsd/ \
ftp://ftp.renatasystems.org/pub/FreeBSD/ports/distfiles/
@@ -12,8 +12,6 @@ COMMENT= Small and fast DNS daemon especially for DNSBL zones
LICENSE= GPLv2
-ROOTDIR= ${STAGEDIR}${PREFIX}/etc/rbldnsd
-
HAS_CONFIGURE= yes
USE_RC_SUBR= rbldnsd
USERS= rbldns
@@ -24,11 +22,8 @@ SUB_FILES= pkg-message
OPTIONS_DEFINE= DOCS
do-install:
- if [ ! -d ${ROOTDIR} ]; then \
- ${INSTALL} -d -m 710 ${ROOTDIR}; \
- fi
- ${INSTALL_DATA} -m 640 \
- ${FILESDIR}/example ${ROOTDIR}
+ @${MKDIR} ${STAGEDIR}${ETCDIR}
+ ${INSTALL_DATA} ${FILESDIR}/example ${STAGEDIR}${ETCDIR}/
${INSTALL_PROGRAM} ${WRKSRC}/rbldnsd ${STAGEDIR}${PREFIX}/sbin
${INSTALL_MAN} ${WRKSRC}/rbldnsd.8 ${STAGEDIR}${PREFIX}/man/man8
@@ -37,10 +32,5 @@ do-install-DOCS-on:
${INSTALL_DATA} ${WRKSRC}/CHANGES-0.81 ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/TODO ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/NEWS ${STAGEDIR}${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/debian/changelog ${STAGEDIR}${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/debian/copyright ${STAGEDIR}${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/debian/rbldnsd.default ${STAGEDIR}${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/debian/rbldnsd.init ${STAGEDIR}${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/rbldnsd.spec ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
diff --git a/dns/rbldnsd/distinfo b/dns/rbldnsd/distinfo
index ce296fa085cb..c0625e546f34 100644
--- a/dns/rbldnsd/distinfo
+++ b/dns/rbldnsd/distinfo
@@ -1,2 +1,3 @@
-SHA256 (rbldnsd-0.997a.tar.gz) = 9c17c6bde6995058204a66805444039d31523a7d4ef40cec059e505a0882a8ef
-SIZE (rbldnsd-0.997a.tar.gz) = 144771
+TIMESTAMP = 1478845478
+SHA256 (rbldnsd-0.998.tar.gz) = bc36082d46828ecdc0c9e3f8f009596746e1242b2b4002ab9cf9b93fe36e4924
+SIZE (rbldnsd-0.998.tar.gz) = 145363
diff --git a/dns/rbldnsd/pkg-plist b/dns/rbldnsd/pkg-plist
index 5ad8562a0114..7ef181a263bf 100644
--- a/dns/rbldnsd/pkg-plist
+++ b/dns/rbldnsd/pkg-plist
@@ -1,13 +1,8 @@
@owner rbldns
@group rbldns
sbin/rbldnsd
-etc/rbldnsd/example
+%%ETCDIR%%/example
man/man8/rbldnsd.8.gz
%%PORTDOCS%%%%DOCSDIR%%/CHANGES-0.81
%%PORTDOCS%%%%DOCSDIR%%/NEWS
%%PORTDOCS%%%%DOCSDIR%%/TODO
-%%PORTDOCS%%%%DOCSDIR%%/changelog
-%%PORTDOCS%%%%DOCSDIR%%/copyright
-%%PORTDOCS%%%%DOCSDIR%%/rbldnsd.default
-%%PORTDOCS%%%%DOCSDIR%%/rbldnsd.init
-%%PORTDOCS%%%%DOCSDIR%%/rbldnsd.spec