Skip site navigation (1)Skip section navigation (2)
Date:      1 Feb 2010 23:05:52 +0300
From:      "Alexey V.Degtyarev" <alexey@renatasystems.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/143450: dns/rbldnsd - fix installation permissions, take the maintainership.
Message-ID:  <20100201200552.24579.qmail@hs-9.renatasystems.org>
Resent-Message-ID: <201002012010.o11KA2ee052498@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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@FreeBSD.org
+MAINTAINER=	alexey@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100201200552.24579.qmail>