Subject: pkg/28854: package for dillo does not include dpidrc conf file
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Alexander Becher <abecher@kawo2.rwth-aachen.de>
List: pkgsrc-bugs
Date: 01/04/2005 01:24:00
>Number:         28854
>Category:       pkg
>Synopsis:       package for dillo does not include dpidrc conf file
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jan 04 01:24:00 +0000 2005
>Originator:     Alexander Becher
>Release:        NetBSD 2.0
>Organization:
	
>Environment:
	
	
System: NetBSD abn 2.0 NetBSD 2.0 (kernel) #3: Thu Dec 30 18:05:29 CET 2004 alex@abn:/home/alex/kernel i386
Architecture: i386
Machine: i386
>Description:
The package for dillo-0.8.3 does not include the file
/usr/pkg/etc/dpidrc. The file is installed when installing from source,
but not when installing from a binary package from a bulk build.

Consequently, dillo cannot start the dpi daemon, and bookmarks and file:
URIs do not work.
>How-To-Repeat:
	rm /usr/pkg/etc/dpidrc
	pkg_delete dillo
	pkg_add dillo
	dillo file://localhost/
	# watch the ERROR: ... message in the status bar
>Fix:
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/www/dillo/Makefile,v
retrieving revision 1.22
diff -u -r1.22 Makefile
--- Makefile	8 Nov 2004 11:00:24 -0000	1.22
+++ Makefile	4 Jan 2005 00:28:27 -0000
@@ -18,6 +18,7 @@
 
 EGDIR=		${PREFIX}/share/examples/dillo
 CONF_FILES=	${EGDIR}/dillorc.default ${PKG_SYSCONFDIR}/dillorc
+CONF_FILES+=	${EGDIR}/dpidrc ${PKG_SYSCONFDIR}/dpidrc
 
 .include "../../mk/bsd.prefs.mk"
 
@@ -31,6 +32,7 @@
 	${INSTALL_DATA} ${WRKSRC}/doc/* ${PREFIX}/share/doc/dillo
 	${INSTALL_DATA_DIR} ${EGDIR}
 	${INSTALL_DATA} ${WRKSRC}/dillorc ${EGDIR}/dillorc.default
+	${INSTALL_DATA} ${PKG_SYSCONFDIR}/dpidrc ${EGDIR}
 
 .include "../../graphics/jpeg/buildlink3.mk"
 .include "../../graphics/png/buildlink3.mk"
Index: PLIST
===================================================================
RCS file: /cvsroot/pkgsrc/www/dillo/PLIST,v
retrieving revision 1.9
diff -u -r1.9 PLIST
--- PLIST	8 Nov 2004 11:00:24 -0000	1.9
+++ PLIST	4 Jan 2005 00:28:27 -0000
@@ -28,6 +28,7 @@
 share/doc/dillo/README
 share/doc/dillo/Selection.txt
 share/examples/dillo/dillorc.default
+share/examples/dillo/dpidrc
 @dirrm share/examples/dillo
 @dirrm share/doc/dillo
 @dirrm lib/dillo/dpi/https

>Unformatted: