ports/143450: dns/rbldnsd - fix installation permissions, take the maintainership.

Alexey V.Degtyarev alexey at renatasystems.org
Mon Feb 1 20:10:03 UTC 2010


>Number:         143450
>Category:       ports
>Synopsis:       dns/rbldnsd - fix installation permissions, take the maintainership.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Feb 01 20:10:02 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Alexey V. Degtyarev
>Release:        FreeBSD 8.0-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD renatasystems.org 8.0-RELEASE FreeBSD 8.0-RELEASE #0: Sat Nov 21 15:02:08 UTC 2009 root at mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64


	
>Description:
	
Allow write permissions on rbldns root directory to rbldnsd user. It's okay if
scripts under rbldns could rsync datafeeds onto this directory.

Also I'd like to take the maintainership on this port.
>How-To-Repeat:
	
>Fix:

	

--- rbldnsd.patch begins here ---
diff -u rbldnsd.orig/Makefile rbldnsd/Makefile
--- rbldnsd.orig/Makefile	2009-08-17 05:08:44.000000000 +0000
+++ rbldnsd/Makefile	2010-01-31 12:06:35.000000000 +0000
@@ -12,7 +12,7 @@
 		http://www.it.ca/~paul/src/:0
 DISTFILES=	${PORTNAME}_${PORTVERSION}${EXTRACT_SUFX}:0
 
-MAINTAINER=	ports at FreeBSD.org
+MAINTAINER=	alexey at renatasystems.org
 COMMENT=	Small and fast DNS daemon especially for DNSBL zones
 
 .if !defined(NOPORTDOCS)
@@ -42,9 +42,10 @@
 		@if [ ! -d ${ROOTDIR} ]; then \
 			${MKDIR} ${ROOTDIR}; \
 			${CHMOD} 710 ${ROOTDIR}; \
-			${CHGRP} ${RBLDNSGROUP} ${ROOTDIR}; \
+			${CHOWN} ${RBLDNSUSER}:${RBLDNSGROUP} ${ROOTDIR}; \
 		fi
-		@${INSTALL_DATA} -g ${RBLDNSUSER} -m 640 ${FILESDIR}/example ${PREFIX}/etc/rbldnsd/
+		@${INSTALL_DATA} -u ${RBLDNSUSER} -g ${RBLDNSGROUP} -m 640 \
+			${FILESDIR}/example ${PREFIX}/etc/rbldnsd/
 		@${INSTALL_PROGRAM} ${WRKSRC}/rbldnsd ${PREFIX}/sbin/
 		@${INSTALL_MAN} ${WRKSRC}/rbldnsd.8 ${PREFIX}/man/man8/
 .if !defined(NOPORTDOCS)
Common subdirectories: rbldnsd.orig/files and rbldnsd/files
--- rbldnsd.patch ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list