pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/quagga quagga-0.96, fork of zebra



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a88aefeca5f4
branches:  trunk
changeset: 459961:a88aefeca5f4
user:      itojun <itojun%pkgsrc.org@localhost>
date:      Wed Aug 13 07:26:57 2003 +0000

description:
quagga-0.96, fork of zebra

diffstat:

 net/quagga/DESCR            |  16 ++++++++++
 net/quagga/Makefile         |  66 +++++++++++++++++++++++++++++++++++++++++++++
 net/quagga/PLIST            |  20 +++++++++++++
 net/quagga/PLIST.v6         |   7 ++++
 net/quagga/PLIST.vtysh      |   2 +
 net/quagga/distinfo         |  11 +++++++
 net/quagga/patches/patch-aa |  27 ++++++++++++++++++
 net/quagga/patches/patch-ab |  27 ++++++++++++++++++
 net/quagga/patches/patch-ac |  28 +++++++++++++++++++
 net/quagga/patches/patch-ad |  27 ++++++++++++++++++
 net/quagga/patches/patch-ae |  27 ++++++++++++++++++
 net/quagga/patches/patch-af |  27 ++++++++++++++++++
 net/quagga/patches/patch-ag |  16 ++++++++++
 13 files changed, 301 insertions(+), 0 deletions(-)

diffs (truncated from 353 to 300 lines):

diff -r f864b3edcdd5 -r a88aefeca5f4 net/quagga/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/quagga/DESCR  Wed Aug 13 07:26:57 2003 +0000
@@ -0,0 +1,16 @@
+GNU Zebra is a free software (distributed under GNU Generic Public
+License) which manages TCP/IP based routing protocols.
+
+It supports BGP-4 protocol as described in RFC1771 (A Border Gateway
+Protocol 4) and RIPv1, RIPv2 and OSPFv2.
+
+Zebra uses multithread technology under multithread supported UNIX
+kernels.  However it can be run under not-multithread supported
+UNIX kernels.
+
+Zebra is intended to be used as a Route Server and a Route Reflector.
+Zebra is not a toolkit, it provides full routing power under a new
+architecture.
+
+If you want to build with IPv6 support, install with:
+       # make USE_INET6=YES install
diff -r f864b3edcdd5 -r a88aefeca5f4 net/quagga/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/quagga/Makefile       Wed Aug 13 07:26:57 2003 +0000
@@ -0,0 +1,66 @@
+# $NetBSD: Makefile,v 1.1.1.1 2003/08/13 07:26:57 itojun Exp $
+# 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
+CATEGORIES=    net
+MASTER_SITES=  http://www.quagga.net/download/
+
+MAINTAINER=    itojun%itojun.org@localhost
+HOMEPAGE=      http://www.quagga.net/
+COMMENT=       Free multithreaded routing daemon software (fork of zebra)
+
+.include "../../mk/bsd.prefs.mk"
+
+AUTOMAKE_REQD=         1.6.2
+USE_BUILDLINK2=                # defined
+GNU_CONFIGURE=         # defined
+PKG_SYSCONFSUBDIR?=    quagga
+CONFIGURE_ARGS+=       --sysconfdir=${PKG_SYSCONFDIR}
+# you might need debugging, it's a developer release !
+#CFLAGS+=      -g
+
+CONFLICTS+=            zebra-[0-9]*
+
+PLIST_SRC=             # empty
+
+INFO_FILES=    quagga.info
+
+.if defined(USE_ZEBRA_VTYSH) && ${USE_ZEBRA_VTYSH} == "YES"
+USE_GNU_READLINE=      # uses rl_pending_input
+.  include "../../devel/readline/buildlink2.mk"
+CONFIGURE_ARGS+=       --enable-vtysh
+PLIST_SRC+=            ${PKGDIR}/PLIST.vtysh
+.else
+CONFIGURE_ARGS+=       --disable-vtysh
+.endif
+
+USE_GMAKE=             # defined
+
+BUILD_DEFS+=           USE_INET6
+
+.if defined(USE_INET6) && ${USE_INET6} == YES
+PLIST_SRC+=            ${PKGDIR}/PLIST.v6
+.else
+CONFIGURE_ARGS+=       --disable-ospf6d
+CONFIGURE_ARGS+=       --disable-ripngd
+.endif
+
+PLIST_SRC+=            ${PKGDIR}/PLIST
+
+LIBS+=                 ${LDFLAGS}
+
+pre-configure:
+       cd ${WRKSRC} && ${AUTORECONF} --force
+#      cd ${WRKSRC} && ${AUTOMAKE}
+
+#post-build:
+#      cd ${WRKSRC}/doc ; \
+#      ${TOUCH} quagga.texi ; \
+#      ${MAKEINFO} --no-split quagga.texi
+
+post-install:
+       @${CHMOD} a+r ${PREFIX}/share/examples/quagga/*
+
+.include "../../mk/automake.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r f864b3edcdd5 -r a88aefeca5f4 net/quagga/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/quagga/PLIST  Wed Aug 13 07:26:57 2003 +0000
@@ -0,0 +1,20 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2003/08/13 07:26:57 itojun Exp $
+info/quagga.info
+man/man1/vtysh.1
+man/man8/bgpd.8
+man/man8/ospfd.8
+man/man8/ripd.8
+man/man8/zebra.8
+sbin/bgpd
+sbin/ospfd
+sbin/ripd
+sbin/zebra
+share/examples/quagga/bgpd.conf.sample
+share/examples/quagga/bgpd.conf.sample2
+share/examples/quagga/ripd.conf.sample
+share/examples/quagga/zebra.conf.sample
+info/quagga.info-1
+info/quagga.info-2
+info/quagga.info-3
+info/quagga.info-4
+@dirrm share/examples/quagga
diff -r f864b3edcdd5 -r a88aefeca5f4 net/quagga/PLIST.v6
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/quagga/PLIST.v6       Wed Aug 13 07:26:57 2003 +0000
@@ -0,0 +1,7 @@
+@comment $NetBSD: PLIST.v6,v 1.1.1.1 2003/08/13 07:26:57 itojun Exp $
+man/man8/ospf6d.8
+man/man8/ripngd.8
+sbin/ospf6d
+sbin/ripngd
+share/examples/quagga/ospf6d.conf.sample
+share/examples/quagga/ripngd.conf.sample
diff -r f864b3edcdd5 -r a88aefeca5f4 net/quagga/PLIST.vtysh
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/quagga/PLIST.vtysh    Wed Aug 13 07:26:57 2003 +0000
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST.vtysh,v 1.1.1.1 2003/08/13 07:26:57 itojun Exp $
+bin/vtysh
diff -r f864b3edcdd5 -r a88aefeca5f4 net/quagga/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/quagga/distinfo       Wed Aug 13 07:26:57 2003 +0000
@@ -0,0 +1,11 @@
+$NetBSD: distinfo,v 1.1.1.1 2003/08/13 07:26:57 itojun Exp $
+
+SHA1 (quagga-0.96.tar.gz) = fda0ca5f47558be2334312844d64dcae4029e7be
+Size (quagga-0.96.tar.gz) = 1462165 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 (patch-ag) = 7f0265cd88e78b1b7e938a6d446f788242f7e886
diff -r f864b3edcdd5 -r a88aefeca5f4 net/quagga/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/quagga/patches/patch-aa       Wed Aug 13 07:26:57 2003 +0000
@@ -0,0 +1,27 @@
+$NetBSD: patch-aa,v 1.1.1.1 2003/08/13 07:26:57 itojun Exp $
+
+--- bgpd/Makefile.am.orig      Wed Jun 19 04:05:04 2002
++++ bgpd/Makefile.am   Wed Jul 10 08:34:31 2002
+@@ -30,15 +30,17 @@
+ 
+ EXTRA_DIST = $(sysconf_DATA) BGP4-MIB.txt
+ 
++sysconfdatadir=$(datadir)/examples/quagga
++
+ install-sysconfDATA: $(sysconf_DATA)
+       @$(NORMAL_INSTALL)
+-      $(mkinstalldirs) $(DESTDIR)$(sysconfdir)
++      $(mkinstalldirs) $(DESTDIR)$(sysconfdatadir)
+       @list='$(sysconf_DATA)'; for p in $$list; do \
+         if test -f $(srcdir)/$$p; then \
+-          echo " $(INSTALL_SDATA) $(srcdir)/$$p $(DESTDIR)$(sysconfdir)/$$p"; \
+-          $(INSTALL_SDATA) $(srcdir)/$$p $(DESTDIR)$(sysconfdir)/$$p; \
++          echo " $(INSTALL_SDATA) $(srcdir)/$$p $(DESTDIR)$(sysconfdatadir)/$$p"; \
++          $(INSTALL_SDATA) $(srcdir)/$$p $(DESTDIR)$(sysconfdatadir)/$$p; \
+         else if test -f $$p; then \
+-          echo " $(INSTALL_SDATA) $$p $(DESTDIR)$(sysconfdir)/$$p"; \
+-          $(INSTALL_SDATA) $$p $(DESTDIR)$(sysconfdir)/$$p; \
++          echo " $(INSTALL_SDATA) $$p $(DESTDIR)$(sysconfdatadir)/$$p"; \
++          $(INSTALL_SDATA) $$p $(DESTDIR)$(sysconfdatadir)/$$p; \
+         fi; fi; \
+       done
diff -r f864b3edcdd5 -r a88aefeca5f4 net/quagga/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/quagga/patches/patch-ab       Wed Aug 13 07:26:57 2003 +0000
@@ -0,0 +1,27 @@
+$NetBSD: patch-ab,v 1.1.1.1 2003/08/13 07:26:57 itojun Exp $
+
+--- ospf6d/Makefile.am.orig    Sat Jun 29 15:20:39 2002
++++ ospf6d/Makefile.am Wed Jul 10 08:34:31 2002
+@@ -34,15 +34,17 @@
+ 
+ EXTRA_DIST = $(sysconf_DATA)
+ 
++sysconfdatadir=$(datadir)/examples/quagga
++
+ install-sysconfDATA: $(sysconf_DATA)
+       @$(NORMAL_INSTALL)
+-      $(mkinstalldirs) $(DESTDIR)$(sysconfdir)
++      $(mkinstalldirs) $(DESTDIR)$(sysconfdatadir)
+       @list='$(sysconf_DATA)'; for p in $$list; do \
+         if test -f $(srcdir)/$$p; then \
+-          echo " $(INSTALL_SDATA) $(srcdir)/$$p $(DESTDIR)$(sysconfdir)/$$p"; \
+-          $(INSTALL_SDATA) $(srcdir)/$$p $(DESTDIR)$(sysconfdir)/$$p; \
++          echo " $(INSTALL_SDATA) $(srcdir)/$$p $(DESTDIR)$(sysconfdatadir)/$$p"; \
++          $(INSTALL_SDATA) $(srcdir)/$$p $(DESTDIR)$(sysconfdatadir)/$$p; \
+         else if test -f $$p; then \
+-          echo " $(INSTALL_SDATA) $$p $(DESTDIR)$(sysconfdir)/$$p"; \
+-          $(INSTALL_SDATA) $$p $(DESTDIR)$(sysconfdir)/$$p; \
++          echo " $(INSTALL_SDATA) $$p $(DESTDIR)$(sysconfdatadir)/$$p"; \
++          $(INSTALL_SDATA) $$p $(DESTDIR)$(sysconfdatadir)/$$p; \
+         fi; fi; \
+       done
diff -r f864b3edcdd5 -r a88aefeca5f4 net/quagga/patches/patch-ac
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/quagga/patches/patch-ac       Wed Aug 13 07:26:57 2003 +0000
@@ -0,0 +1,28 @@
+$NetBSD: patch-ac,v 1.1.1.1 2003/08/13 07:26:57 itojun Exp $
+
+--- ospfd/Makefile.am.orig     2003-06-05 12:07:34.000000000 +0900
++++ ospfd/Makefile.am  2003-08-13 16:12:15.000000000 +0900
+@@ -34,15 +34,17 @@
+ 
+ EXTRA_DIST = $(sysconf_DATA) OSPF-MIB.txt OSPF-TRAP-MIB.txt ChangeLog.opaque.txt
+ 
++sysconfdatadir=$(datadir)/examples/quagga
++
+ install-sysconfDATA: $(sysconf_DATA)
+       @$(NORMAL_INSTALL)
+-      $(mkinstalldirs) $(DESTDIR)$(sysconfdir)
+-      @list='$(sysconf_DATA)'; for p in $$list; do \
++      $(mkinstalldirs) $(DESTDIR)$(sysconfdatadatadir)
++      @list='$(sysconfdata_DATA)'; for p in $$list; do \
+         if test -f $(srcdir)/$$p; then \
+-          echo " $(INSTALL_SDATA) $(srcdir)/$$p $(DESTDIR)$(sysconfdir)/$$p"; \
+-          $(INSTALL_SDATA) $(srcdir)/$$p $(DESTDIR)$(sysconfdir)/$$p; \
++          echo " $(INSTALL_SDATA) $(srcdir)/$$p $(DESTDIR)$(sysconfdatadir)/$$p"; \
++          $(INSTALL_SDATA) $(srcdir)/$$p $(DESTDIR)$(sysconfdatadir)/$$p; \
+         else if test -f $$p; then \
+-          echo " $(INSTALL_SDATA) $$p $(DESTDIR)$(sysconfdir)/$$p"; \
+-          $(INSTALL_SDATA) $$p $(DESTDIR)$(sysconfdir)/$$p; \
++          echo " $(INSTALL_SDATA) $$p $(DESTDIR)$(sysconfdatadir)/$$p"; \
++          $(INSTALL_SDATA) $$p $(DESTDIR)$(sysconfdatadir)/$$p; \
+         fi; fi; \
+       done
diff -r f864b3edcdd5 -r a88aefeca5f4 net/quagga/patches/patch-ad
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/quagga/patches/patch-ad       Wed Aug 13 07:26:57 2003 +0000
@@ -0,0 +1,27 @@
+$NetBSD: patch-ad,v 1.1.1.1 2003/08/13 07:26:57 itojun Exp $
+
+--- ripd/Makefile.am.orig      Wed Jun 19 04:06:18 2002
++++ ripd/Makefile.am   Wed Jul 10 08:34:31 2002
+@@ -23,15 +23,17 @@
+ 
+ EXTRA_DIST = $(sysconf_DATA) RIPv2-MIB.txt
+ 
++sysconfdatadir=$(datadir)/examples/quagga
++
+ install-sysconfDATA: $(sysconf_DATA)
+       @$(NORMAL_INSTALL)
+-      $(mkinstalldirs) $(DESTDIR)$(sysconfdir)
++      $(mkinstalldirs) $(DESTDIR)$(sysconfdatadir)
+       @list='$(sysconf_DATA)'; for p in $$list; do \
+         if test -f $(srcdir)/$$p; then \
+-          echo " $(INSTALL_SDATA) $(srcdir)/$$p $(DESTDIR)$(sysconfdir)/$$p"; \
+-          $(INSTALL_SDATA) $(srcdir)/$$p $(DESTDIR)$(sysconfdir)/$$p; \
++          echo " $(INSTALL_SDATA) $(srcdir)/$$p $(DESTDIR)$(sysconfdatadir)/$$p"; \
++          $(INSTALL_SDATA) $(srcdir)/$$p $(DESTDIR)$(sysconfdatadir)/$$p; \
+         else if test -f $$p; then \
+-          echo " $(INSTALL_SDATA) $$p $(DESTDIR)$(sysconfdir)/$$p"; \
+-          $(INSTALL_SDATA) $$p $(DESTDIR)$(sysconfdir)/$$p; \
++          echo " $(INSTALL_SDATA) $$p $(DESTDIR)$(sysconfdatadir)/$$p"; \
++          $(INSTALL_SDATA) $$p $(DESTDIR)$(sysconfdatadir)/$$p; \
+         fi; fi; \
+       done
diff -r f864b3edcdd5 -r a88aefeca5f4 net/quagga/patches/patch-ae
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/quagga/patches/patch-ae       Wed Aug 13 07:26:57 2003 +0000
@@ -0,0 +1,27 @@
+$NetBSD: patch-ae,v 1.1.1.1 2003/08/13 07:26:57 itojun Exp $
+
+--- ripngd/Makefile.am.orig    Wed Jun 19 04:06:33 2002
++++ ripngd/Makefile.am Wed Jul 10 08:34:31 2002
+@@ -23,15 +23,17 @@
+ 
+ EXTRA_DIST = $(sysconf_DATA)
+ 
++sysconfdatadir=$(datadir)/examples/quagga
++
+ install-sysconfDATA: $(sysconf_DATA)
+       @$(NORMAL_INSTALL)
+-      $(mkinstalldirs) $(DESTDIR)$(sysconfdir)
++      $(mkinstalldirs) $(DESTDIR)$(sysconfdatadir)
+       @list='$(sysconf_DATA)'; for p in $$list; do \
+         if test -f $(srcdir)/$$p; then \
+-          echo " $(INSTALL_SDATA) $(srcdir)/$$p $(DESTDIR)$(sysconfdir)/$$p"; \
+-          $(INSTALL_SDATA) $(srcdir)/$$p $(DESTDIR)$(sysconfdir)/$$p; \
++          echo " $(INSTALL_SDATA) $(srcdir)/$$p $(DESTDIR)$(sysconfdatadir)/$$p"; \
++          $(INSTALL_SDATA) $(srcdir)/$$p $(DESTDIR)$(sysconfdatadir)/$$p; \
+         else if test -f $$p; then \
+-          echo " $(INSTALL_SDATA) $$p $(DESTDIR)$(sysconfdir)/$$p"; \
+-          $(INSTALL_SDATA) $$p $(DESTDIR)$(sysconfdir)/$$p; \
++          echo " $(INSTALL_SDATA) $$p $(DESTDIR)$(sysconfdatadir)/$$p"; \
++          $(INSTALL_SDATA) $$p $(DESTDIR)$(sysconfdatadir)/$$p; \



Home | Main Index | Thread Index | Old Index