Subject: pkg/15598: zebra should look for ${PKG_SYSCONFDIR}
To: None <gnats-bugs@gnats.netbsd.org>
From: None <hiramatu@boreas.dti.ne.jp>
List: netbsd-bugs
Date: 02/13/2002 23:31:47
>Number: 15598
>Category: pkg
>Synopsis: net/zebra should look for ${PKG_SYSCONFDIR}
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Feb 13 06:34:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator: Hiramatsu Yoshifumi
>Release: -current 1.5Z
>Organization:
>Environment:
<machine, os, target, libraries (multiple lines)>
System: NetBSD river.my.domain 1.5Z NetBSD 1.5Z (River) #0: Wed Dec 19 18:52:25 JST 2001 root@river.my.domain:/usr/src/sys/arch/i386/compile/River i386
Architecture: i386
Machine: i386
>Description:
net/zebra uses /etc/zebra for its config directory. But this should
be ${PKG_SYSCONFDIR}.
>How-To-Repeat:
>Fix:
This patch changes zebra's config directory to "${PKG_SYSCONFBASE}/zebra".
diff -bur zebra.orig/Makefile zebra/Makefile
--- zebra.orig/Makefile Wed Feb 13 22:48:54 2002
+++ zebra/Makefile Wed Feb 13 22:49:09 2002
@@ -17,7 +17,8 @@
USE_BUILDLINK_ONLY= # defined
GNU_CONFIGURE= # defined
-CONFIGURE_ARGS+= --sysconfdir=/etc/zebra
+PKG_SYSCONFSUBDIR?= zebra
+CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
# you might need debugging, it's a developer release !
#CFLAGS+= -g
>Release-Note:
>Audit-Trail:
>Unformatted: