ports/181288: [maintainer update] dns/rbldnsd - update to 0.997a
Alexey Degtyarev
alexey at renatasystems.org
Wed Aug 14 13:00:00 UTC 2013
>Number: 181288
>Category: ports
>Synopsis: [maintainer update] dns/rbldnsd - update to 0.997a
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Wed Aug 14 13:00:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator: Alexey Degtyarev
>Release: FreeBSD 9.0-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD home.renatasystems.org 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Mon Jan 30 09:54:00 UTC 2012 root at amd64-builder.renatasystems.org:/usr/obj/usr/src/sys/GENERIC amd64
>Description:
This will update dns/rbldnsd to latest version: 0.997a.
Full changelog: http://www.corpit.ru/mjt/rbldnsd/changelog
Also small fixes in port's structure:
1. Do not install .html document (actually this is not a single document but
rather manpage converted to HTML).
2. Convert to new options markup.
3. Set my FTP as slave mirror.
4. Convert port's options names to OptionsNG.
5. Cosmetic fixes.
>How-To-Repeat:
>Fix:
--- rbldnsd-0.997a.diff begins here ---
Index: rbldnsd/distinfo
===================================================================
--- rbldnsd/distinfo (revision 324676)
+++ rbldnsd/distinfo (working copy)
@@ -1,3 +1,2 @@
-SHA256 (rbldnsd_0.996b.tar.gz) = 475afe5be8729a76b7c23e2f3d5ce1c773775140406a58bfb7477fac5a528342
-SIZE (rbldnsd_0.996b.tar.gz) = 113128
-SHA256 (rbldnsd.html) = IGNORE
+SHA256 (rbldnsd-0.997a.tar.gz) = 9c17c6bde6995058204a66805444039d31523a7d4ef40cec059e505a0882a8ef
+SIZE (rbldnsd-0.997a.tar.gz) = 144771
Index: rbldnsd/files/pkg-message.in
===================================================================
--- rbldnsd/files/pkg-message.in (revision 324676)
+++ rbldnsd/files/pkg-message.in (working copy)
@@ -1,6 +1,4 @@
========================================================================
- NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE NOTICE
-========================================================================
The rbldnsd port has been installed with an example zone file, located
in %%PREFIX%%/etc/rbldnsd/.
Index: rbldnsd/files/rbldnsd.in
===================================================================
--- rbldnsd/files/rbldnsd.in (revision 324676)
+++ rbldnsd/files/rbldnsd.in (working copy)
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $Id$
+# $FreeBSD$
#
# PROVIDE: rbldnsd
@@ -36,7 +36,7 @@
# set defaults, enforce pidfile by making it last option before db
rbldnsd_enable=${rbldnsd_enable:-"NO"}
-rbldnsd_flags=${rbldnsd_flags:-"-r /usr/local/etc/rbldnsd -b 127.0.0.1 bl.example.com:ip4set:example"}
+rbldnsd_flags=${rbldnsd_flags:-"-r %%PREFIX%%/etc/rbldnsd -b 127.0.0.1 bl.example.com:ip4set:example"}
rbldnsd_flags="-p $pidfile ${rbldnsd_flags}"
run_rc_command "$1"
Index: rbldnsd/pkg-plist
===================================================================
--- rbldnsd/pkg-plist (revision 324676)
+++ rbldnsd/pkg-plist (working copy)
@@ -8,6 +8,5 @@
%%PORTDOCS%%%%DOCSDIR%%/rbldnsd.default
%%PORTDOCS%%%%DOCSDIR%%/rbldnsd.init
%%PORTDOCS%%%%DOCSDIR%%/rbldnsd.spec
-%%PORTDOCS%%%%DOCSDIR%%/rbldnsd.html
%%PORTDOCS%%@dirrm %%DOCSDIR%%
@dirrmtry etc/rbldnsd/
Index: rbldnsd/Makefile
===================================================================
--- rbldnsd/Makefile (revision 324676)
+++ rbldnsd/Makefile (working copy)
@@ -1,29 +1,15 @@
-# New ports collection makefile for: rbldnsd
-# Date created: Fri Jun 13 05:30:12 EDT 2003
-# Whom: Paul Chvostek <paul at it.ca>
-#
+# Created by: Paul Chvostek <paul at it.ca>
# $FreeBSD$
-#
PORTNAME= rbldnsd
-PORTVERSION= 0.996b
-PORTREVISION= 1
+PORTVERSION= 0.997a
CATEGORIES= dns
-MASTER_SITES= http://www.corpit.ru/mjt/rbldnsd/:0 \
- http://www.it.ca/~paul/src/:0
-DISTFILES= ${PORTNAME}_${PORTVERSION}${EXTRACT_SUFX}:0
+MASTER_SITES= http://www.corpit.ru/mjt/rbldnsd/ \
+ ftp://ftp.renatasystems.org/pub/FreeBSD/ports/distfiles/
MAINTAINER= alexey at renatasystems.org
COMMENT= Small and fast DNS daemon especially for DNSBL zones
-.if !defined(NOPORTDOCS)
-EXTRACT_ONLY+= ${PORTNAME}_${PORTVERSION}${EXTRACT_SUFX}
-MASTER_SITES+= http://www.corpit.ru/mjt/:1 \
- http://www.it.ca/~paul/src/:1
-DISTFILES+= rbldnsd.html:1
-IGNOREFILES+= rbldnsd.html
-.endif
-
RBLDNSUSER= rbldns
RBLDNSGROUP= ${RBLDNSUSER}
ROOTDIR= ${PREFIX}/etc/rbldnsd/
@@ -37,6 +23,8 @@
PKGMESSAGE= ${WRKDIR}/pkg-message
SUB_FILES= pkg-message
+.include <bsd.port.pre.mk>
+
do-install:
@if [ ! -d ${ROOTDIR} ]; then \
${MKDIR} ${ROOTDIR}; \
@@ -47,7 +35,7 @@
${FILESDIR}/example ${PREFIX}/etc/rbldnsd/
@${INSTALL_PROGRAM} ${WRKSRC}/rbldnsd ${PREFIX}/sbin/
@${INSTALL_MAN} ${WRKSRC}/rbldnsd.8 ${PREFIX}/man/man8/
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}/
@${INSTALL_DATA} ${WRKSRC}/CHANGES-0.81 ${DOCSDIR}
@${INSTALL_DATA} ${WRKSRC}/TODO ${DOCSDIR}
@@ -57,7 +45,6 @@
@${INSTALL_DATA} ${WRKSRC}/debian/rbldnsd.default ${DOCSDIR}
@${INSTALL_DATA} ${WRKSRC}/debian/rbldnsd.init ${DOCSDIR}
@${INSTALL_DATA} ${WRKSRC}/rbldnsd.spec ${DOCSDIR}
- @${INSTALL_DATA} ${DISTDIR}/rbldnsd.html ${DOCSDIR}
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
--- rbldnsd-0.997a.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list