summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorjoerg <joerg>2010-06-26 00:59:35 +0000
committerjoerg <joerg>2010-06-26 00:59:35 +0000
commitd0f44b5cb3113a113dba545ae6458e3246cc7d41 (patch)
tree797e743914c55ff5782a9a7668a763a2802ab812 /net
parent99a89d1a573deb1c6a31954f5bb3f7b2ac6073c3 (diff)
downloadpkgsrc-d0f44b5cb3113a113dba545ae6458e3246cc7d41.tar.gz
Fix permissions for configuration directory. Don't require quagga user
during early installation. Bump revision.
Diffstat (limited to 'net')
-rw-r--r--net/quagga-devel/Makefile5
-rw-r--r--net/quagga/Makefile6
2 files changed, 6 insertions, 5 deletions
diff --git a/net/quagga-devel/Makefile b/net/quagga-devel/Makefile
index 855f0ac1c59..764078c28aa 100644
--- a/net/quagga-devel/Makefile
+++ b/net/quagga-devel/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.14 2010/03/10 19:57:06 gdt Exp $
+# $NetBSD: Makefile,v 1.15 2010/06/26 00:59:35 joerg Exp $
#
DISTNAME= quagga-0.99.16
+PKGREVISION= 1
CATEGORIES= net
MASTER_SITES= http://www.quagga.net/download/
@@ -35,6 +36,7 @@ RCD_SCRIPTS= zebra bgpd ospfd ripd
PKG_GROUPS= quagga
PKG_USERS= quagga:quagga
+PKG_SYSCONFDIR_PERMS= quagga quagga 750
# log_syslog.conf is used as a template for each config file
.for _file_ in vtysh.conf zebra.conf bgpd.conf ospfd.conf ripd.conf
CONF_FILES_PERMS+= ${PREFIX}/share/examples/quagga/log_syslog.conf \
@@ -53,7 +55,6 @@ RCD_SCRIPT_SRC.${_script_}?= ${WRKSRC}/pkgsrc/${_script_}.sh
post-install:
@${CHMOD} a+r ${DESTDIR}${PREFIX}/share/examples/quagga/*
- ${INSTALL} -d -o quagga -g quagga -m 750 ${DESTDIR}${PKG_SYSCONFDIR}
${INSTALL_DATA} ${FILESDIR}/log_syslog.conf ${DESTDIR}${PREFIX}/share/examples/quagga
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/quagga
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/quagga/mpls
diff --git a/net/quagga/Makefile b/net/quagga/Makefile
index 980e42e46bf..1eb00bebc51 100644
--- a/net/quagga/Makefile
+++ b/net/quagga/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.34 2010/03/10 20:05:38 gdt Exp $
+# $NetBSD: Makefile,v 1.35 2010/06/26 00:59:35 joerg Exp $
#
DISTNAME= quagga-0.98.6
-PKGREVISION= 3
+PKGREVISION= 4
CATEGORIES= net
MASTER_SITES= http://www.quagga.net/download/
@@ -36,6 +36,7 @@ RCD_SCRIPTS= zebra bgpd ospfd ripd
PKG_GROUPS= quagga
PKG_USERS= quagga:quagga
+PKG_SYSCONFDIR_PERMS= quagga quagga 750
# log_syslog.conf is used as a template for each config file
.for _file_ in vtysh.conf zebra.conf bgpd.conf ospfd.conf ripd.conf
CONF_FILES_PERMS+= ${PREFIX}/share/examples/quagga/log_syslog.conf \
@@ -54,7 +55,6 @@ RCD_SCRIPT_SRC.${_script_}?= ${WRKSRC}/pkgsrc/${_script_}.sh
post-install:
@${CHMOD} a+r ${DESTDIR}${PREFIX}/share/examples/quagga/*
- ${INSTALL} -d -o quagga -g quagga -m 750 ${DESTDIR}${PKG_SYSCONFDIR}
${INSTALL_DATA} ${FILESDIR}/log_syslog.conf ${DESTDIR}${PREFIX}/share/examples/quagga
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/quagga
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/quagga/mpls