From 1663ceae89b0b4d89c5c416375028e0b340659dd Mon Sep 17 00:00:00 2001 From: joerg Date: Sat, 26 Jun 2010 00:59:35 +0000 Subject: Fix permissions for configuration directory. Don't require quagga user during early installation. Bump revision. --- net/quagga-devel/Makefile | 5 +++-- net/quagga/Makefile | 6 +++--- 2 files changed, 6 insertions(+), 5 deletions(-) (limited to 'net') 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 -- cgit v1.2.3