[quagga-users 941] NetBSD pkgsrc update to 0.96.4

Greg Troxel gdt at ir.bbn.com
Fri Nov 21 20:44:38 GMT 2003


The following updates NetBSD pkgsrc to 0.96.4 (plus patches aa-af and
ah need to be deleted).

Notables changes/issues:

  * fetch and use the 'exampledir' patch from [quagga-dev 496].
    Makefile.am structure changed, and it is hard to apply the old
    patches to put example files in the pkgsrc-approved place

  * ripngd does not work due to some unknown problems in the 'drop
    privs' code.  Adding group root and using '-u root' worked for
    me.  This is not a pkgsrc problem, but a quagga problem (quagga
    bug 63 at http://bugzilla.quagga.net/).

  * Sending router advertisements is broken.  This is bug 62 in quagga
    bugzilla.  Use rtadvd instead :-(

  * the package installs /var/db/zebra and chowns it to quagga:quagga,
    to hold zserv.api and pid files.

Index: Makefile
===================================================================
RCS file: /NETBSD-CVS/pkgsrc/net/quagga/Makefile,v
retrieving revision 1.8
diff -u -r1.8 Makefile
--- Makefile	18 Nov 2003 16:34:49 -0000	1.8
+++ Makefile	21 Nov 2003 18:45:58 -0000
@@ -2,8 +2,7 @@
 # Based on KAME Id: Makefile,v 1.1.2.1.2.1.10.2 1999/01/05 11:03:50 itojun Exp
 #
 
-DISTNAME=	quagga-0.96.3
-PKGREVISION=	1
+DISTNAME=	quagga-0.96.4
 CATEGORIES=	net
 MASTER_SITES=	http://www.quagga.net/download/
 
@@ -11,6 +10,10 @@
 HOMEPAGE=	http://www.quagga.net/
 COMMENT=	Free multithreaded routing daemon software (fork of zebra)
 
+PATCHFILES+=		quagga-exampledir
+PATCH_SITES+=		http://www.ir.bbn.com/~gdt/
+PATCH_DIST_STRIP=	-p1
+
 .include "../../mk/bsd.prefs.mk"
 
 AUTOMAKE_REQD=		1.6.2
@@ -18,6 +21,7 @@
 GNU_CONFIGURE=		# defined
 PKG_SYSCONFSUBDIR?=	zebra
 CONFIGURE_ARGS+=	--sysconfdir=${PKG_SYSCONFDIR}
+CONFIGURE_ARGS+=	--enable-exampledir=${PREFIX}/share/examples/quagga
 CONFIGURE_ARGS+=	--localstatedir=/var/run/zebra
 # you might need debugging, it's a developer release !
 #CFLAGS+=	-g
@@ -58,7 +62,7 @@
 
 pre-configure:
 	cd ${WRKSRC} && ${AUTORECONF} --force
-#	cd ${WRKSRC} && ${AUTOMAKE}
+	cd ${WRKSRC} && ${AUTOMAKE}
 
 #post-build:
 #	cd ${WRKSRC}/doc ; \
@@ -66,7 +70,8 @@
 #	${MAKEINFO} --no-split quagga.texi
 
 post-install:
-	@${CHMOD} a+r ${PREFIX}/share/examples/quagga/*
+	@${MKDIR} -p /var/run/zebra
+	@${CHOWN} quagga:quagga /var/run/zebra
 
 .include "../../mk/automake.mk"
 .include "../../mk/bsd.pkg.mk"
Index: distinfo
===================================================================
RCS file: /NETBSD-CVS/pkgsrc/net/quagga/distinfo,v
retrieving revision 1.4
diff -u -r1.4 distinfo
--- distinfo	18 Nov 2003 16:34:49 -0000	1.4
+++ distinfo	21 Nov 2003 18:45:58 -0000
@@ -1,12 +1,7 @@
 $NetBSD: distinfo,v 1.4 2003/11/18 16:34:49 wiz Exp $
 
-SHA1 (quagga-0.96.3.tar.gz) = 0be8baf3c175ef8df31ec254009d8d7ac4ba412f
-Size (quagga-0.96.3.tar.gz) = 1464239 bytes
-SHA1 (patch-aa) = b6ae546885a4101cce71e09f41bd509b3808ac8d
-SHA1 (patch-ab) = 5a88348acc8a93ab1fee94a25cb424f5754cb413
-SHA1 (patch-ac) = b0fb9f234c4eacfda0808496576037b63c4f3934
-SHA1 (patch-ad) = ac4ebd252cffa3f290fe76609004aaef0958dcf7
-SHA1 (patch-ae) = bd96350270d0bb09a549af02fd706a59f1dd6002
-SHA1 (patch-af) = 5b0e15f21e874273fbd120829708d7fd8d744605
+SHA1 (quagga-0.96.4.tar.gz) = eb1bd4d29638cc451a03d6caa8b69485e964510d
+Size (quagga-0.96.4.tar.gz) = 1401066 bytes
+SHA1 (quagga-exampledir) = f30e09969c242ace67b495b044f57e4400a7717d
+Size (quagga-exampledir) = 3688 bytes
 SHA1 (patch-ag) = 7f0265cd88e78b1b7e938a6d446f788242f7e886
-SHA1 (patch-ah) = a714f939352caca3ec60934532a6561d85446b3a



-- 
        Greg Troxel <gdt at ir.bbn.com>


More information about the Quagga-users mailing list