ports/184329: dns/yadifa: fails to install

Leo Vandewoestijne freebsd at dns-lab.com
Wed Nov 27 14:20:01 UTC 2013


>Number:         184329
>Category:       ports
>Synopsis:       dns/yadifa: fails to install
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Nov 27 14:20:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Leo Vandewoestijne
>Release:        9.1-RELEASE
>Organization:
DNS-Lab
>Environment:
>Description:
When install Yadifa port I encounter:

Creating bzip'd tar ball in '/usr/ports/dns/yadifa/work/yadifa-1.0.3_1.tbz'
tar: share/examples/yadifa/yadifad-master.conf.example: Cannot stat: No such file or directory
tar: share/examples/yadifa/yadifad-slave.conf.example: Cannot stat: No such file or directory
tar: share/examples/yadifa/yadifad.conf.example: Cannot stat: No such file or directory
tar: /var/yadifa/masters/0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa.zone: Cannot stat: No such file or directory
tar: /var/yadifa/masters/0.0.127.in-addr.arpa.zone: Cannot stat: No such file or directory
tar: /var/yadifa/masters/localhost.zone: Cannot stat: No such file or directory
tar: /var/yadifa/masters/localhost6.zone: Cannot stat: No such file or directory
tar: /var/yadifa/masters/somedomain.eu.zone: Cannot stat: No such file or directory
tar: Error exit delayed from previous errors.
pkg_create: make_dist: tar command failed with code 256

>How-To-Repeat:
cd /usr/ports/dns/yadifa
make install
>Fix:
Removing them from pkg-plist "solves" the problem, and doesn't leave garbage on uninstall.

Patch attached with submission follows:

diff -rup yadifa.old/Makefile yadifa/Makefile
--- yadifa.old/Makefile	2013-11-27 12:37:17.000000000 +0000
+++ yadifa/Makefile	2013-11-27 13:57:21.000000000 +0000
@@ -3,10 +3,11 @@
 
 PORTNAME=	yadifa
 PORTVERSION=	1.0.3
-PORTREVISION=	1
 DISTVERSIONSUFFIX=	-2880
+PORTREVISION=	2
 CATEGORIES=	dns ipv6
-MASTER_SITES=	http://cdn.yadifa.eu/sites/default/files/releases/
+MASTER_SITES=	http://cdn.yadifa.eu/sites/default/files/releases/ \
+		http://dns-lab.com/www/downloads/yadifa/
 
 MAINTAINER=	mat at FreeBSD.org
 COMMENT=	YADIFA is an authoritative Name Server with DNSSEC capabilities
@@ -15,6 +16,8 @@ LICENSE=	BSD
 
 OPTIONS_DEFINE=	DOCS EXAMPLES TCL
 
+NEED_ROOT=	yes
+
 GNU_CONFIGURE=	yes
 USE_AUTOTOOLS=	libtool
 USE_OPENSSL=	yes
diff -rup yadifa.old/pkg-plist yadifa/pkg-plist
--- yadifa.old/pkg-plist	2013-11-27 12:37:17.000000000 +0000
+++ yadifa/pkg-plist	2013-11-27 13:10:48.000000000 +0000
@@ -139,14 +139,6 @@ lib/libdnszone.la
 man/man1/yadifad.1.gz
 man/man5/yadifad.conf.5.gz
 sbin/yadifad
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/yadifad-master.conf.example
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/yadifad-slave.conf.example
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/yadifad.conf.example
-/var/yadifa/masters/0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa.zone
-/var/yadifa/masters/0.0.127.in-addr.arpa.zone
-/var/yadifa/masters/localhost.zone
-/var/yadifa/masters/localhost6.zone
-/var/yadifa/masters/somedomain.eu.zone
 @unexec rmdir >/dev/null 2>&1 /var/yadifa/xfr || :
 @unexec rmdir >/dev/null 2>&1 /var/yadifa/slaves || :
 @unexec rmdir >/dev/null 2>&1 /var/yadifa/masters || :


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


More information about the freebsd-ports-bugs mailing list