pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/quagga-devel quagga is a multiprotocol routing suite.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5107280c23e9
branches:  trunk
changeset: 509283:5107280c23e9
user:      gdt <gdt%pkgsrc.org@localhost>
date:      Wed Mar 08 01:46:05 2006 +0000

description:
quagga is a multiprotocol routing suite.
This is 0.99.3, a development snapshot.

diffstat:

 net/quagga-devel/DESCR                 |   8 ++
 net/quagga-devel/Makefile              |  96 ++++++++++++++++++++++++++++++++++
 net/quagga-devel/PLIST                 |  83 +++++++++++++++++++++++++++++
 net/quagga-devel/PLIST.opaquelsa       |   5 +
 net/quagga-devel/PLIST.v6              |   5 +
 net/quagga-devel/PLIST.vtysh           |   3 +
 net/quagga-devel/distinfo              |   5 +
 net/quagga-devel/files/log_syslog.conf |   3 +
 8 files changed, 208 insertions(+), 0 deletions(-)

diffs (240 lines):

diff -r ba7755936dd4 -r 5107280c23e9 net/quagga-devel/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/quagga-devel/DESCR    Wed Mar 08 01:46:05 2006 +0000
@@ -0,0 +1,8 @@
+Quagga is a routing software suite, providing implementations of
+OSPFv2, OSPFv3, RIP v1 and v2, RIPv3 and BGPv4 for Unix platforms,
+including NetBSD, FreeBSD, OpenBSD, Linux, and Solaris.
+Quagga is a fork of GNU Zebra which was developed by Kunihiro
+Ishiguro. The Quagga tree aims to build a more involved community
+around Quagga than the current centralised model of GNU Zebra.
+
+This package provides a development snapshot of quagga.
diff -r ba7755936dd4 -r 5107280c23e9 net/quagga-devel/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/quagga-devel/Makefile Wed Mar 08 01:46:05 2006 +0000
@@ -0,0 +1,96 @@
+# $NetBSD: Makefile,v 1.1.1.1 2006/03/08 01:46:05 gdt 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.99.3
+CATEGORIES=    net
+MASTER_SITES=  http://www.quagga.net/download/
+
+MAINTAINER=    gdt%NetBSD.org@localhost
+HOMEPAGE=      http://www.quagga.net/
+COMMENT=       Free multithreaded routing daemon software (fork of zebra)
+
+.include "../../mk/bsd.prefs.mk"
+
+GNU_CONFIGURE=         YES
+USE_TOOLS+=            gmake perl
+USE_LIBTOOL=           YES
+
+PKG_SYSCONFSUBDIR?=    zebra
+CONFIGURE_ARGS+=       --sysconfdir=${PKG_SYSCONFDIR:Q}
+CONFIGURE_ARGS+=       --enable-exampledir=${PREFIX}/share/examples/quagga
+#CONFIGURE_ARGS+=      --enable-pkgsrcrcdir=${PREFIX}/${RCD_SCRIPTS_EXAMPLEDIR}
+CONFIGURE_ARGS+=       --localstatedir=${VARBASE}/run/zebra
+
+CONFLICTS+=            zebra-[0-9]*
+
+PLIST_SRC=             ${WRKDIR}/PLIST
+PLIST_CAT=             # empty
+
+INFO_FILES=    quagga.info
+
+RCD_SCRIPTS=   zebra bgpd ospfd ripd
+PKG_GROUPS=    quagga
+PKG_USERS=     quagga:quagga
+
+# 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 \
+                       ${PKG_SYSCONFDIR}/${_file_} quagga quagga 0600
+.endfor
+
+BUILD_DEFS+=                   USE_ZEBRA_VTYSH USE_ZEBRA_OSPF_OPAQUELSA
+USE_ZEBRA_VTYSH?=              YES
+USE_ZEBRA_OSPF_OPAQUELSA?=     YES
+
+.if defined(USE_ZEBRA_VTYSH) && ${USE_ZEBRA_VTYSH} == "YES"
+USE_GNU_READLINE=      # uses rl_pending_input
+.  include "../../devel/readline/buildlink3.mk"
+CONFIGURE_ARGS+=       --enable-vtysh
+PLIST_CAT+=            ${PKGDIR}/PLIST.vtysh
+.else
+CONFIGURE_ARGS+=       --disable-vtysh
+.endif
+
+.if defined(USE_ZEBRA_OSPF_OPAQUELSA) && ${USE_ZEBRA_OSPF_OPAQUELSA} == "YES"
+CONFIGURE_ARGS+=       --enable-opaque-lsa
+PLIST_CAT+=            ${PKGDIR}/PLIST.opaquelsa
+.endif
+
+BUILD_DEFS+=           USE_INET6
+
+.if defined(USE_INET6) && ${USE_INET6} == YES
+PLIST_CAT+=            ${PKGDIR}/PLIST.v6
+RCD_SCRIPTS+=          ospf6d ripngd
+.for _file_ in ospf6d.conf ripngd.conf
+CONF_FILES_PERMS+=     ${PREFIX}/share/examples/quagga/log_syslog.conf \
+                       ${PKG_SYSCONFDIR}/${_file_} quagga quagga 0600
+.endfor
+.else
+CONFIGURE_ARGS+=       --disable-ospf6d
+CONFIGURE_ARGS+=       --disable-ripngd
+.endif
+
+PLIST_CAT+=            ${PKGDIR}/PLIST
+
+LIBS+=                 ${LDFLAGS}
+
+.for _script_ in ${RCD_SCRIPTS}
+RCD_SCRIPT_SRC.${_script_}?=   ${WRKSRC}/pkgsrc/${_script_}.sh
+.endfor
+
+post-install:
+       @${CHMOD} a+r ${PREFIX}/share/examples/quagga/*
+       ${INSTALL} -d -o quagga -g quagga -m 750 ${PKG_SYSCONFDIR}
+       ${INSTALL_DATA} ${FILESDIR}/log_syslog.conf ${PREFIX}/share/examples/quagga
+       ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/quagga
+       ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/quagga/mpls
+       ${INSTALL_DATA} ${WRKSRC}/doc/BGP-TypeCode ${PREFIX}/share/doc/quagga
+       ${INSTALL_DATA} ${WRKSRC}/doc/draft-zebra-00.txt ${PREFIX}/share/doc/quagga
+       ${INSTALL_DATA} ${WRKSRC}/doc/mpls/* ${PREFIX}/share/doc/quagga/mpls
+       ${CAT} ${PLIST_CAT} > ${PLIST_SRC}
+       (cd ${PREFIX}; ${FIND} share/doc/quagga -type f -print ) >> ${PLIST_SRC}
+       (cd ${PREFIX}; ${FIND} share/doc/quagga -type d -print ) | \
+               ${SED} -e 's/^/@dirrm /' | ${SORT} -r >> ${PLIST_SRC}
+
+.include "../../mk/bsd.pkg.mk"
diff -r ba7755936dd4 -r 5107280c23e9 net/quagga-devel/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/quagga-devel/PLIST    Wed Mar 08 01:46:05 2006 +0000
@@ -0,0 +1,83 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2006/03/08 01:46:05 gdt Exp $
+include/quagga/buffer.h
+include/quagga/checksum.h
+include/quagga/command.h
+include/quagga/distribute.h
+include/quagga/filter.h
+include/quagga/getopt.h
+include/quagga/hash.h
+include/quagga/if.h
+include/quagga/if_rmap.h
+include/quagga/jhash.h
+include/quagga/keychain.h
+include/quagga/linklist.h
+include/quagga/log.h
+include/quagga/md5.h
+include/quagga/memory.h
+include/quagga/memtypes.h
+include/quagga/network.h
+include/quagga/ospfd/ospf_api.h
+include/quagga/ospfd/ospf_asbr.h
+include/quagga/ospfd/ospf_dump.h
+include/quagga/ospfd/ospf_ism.h
+include/quagga/ospfd/ospf_lsa.h
+include/quagga/ospfd/ospf_lsdb.h
+include/quagga/ospfd/ospf_nsm.h
+include/quagga/ospfd/ospf_opaque.h
+include/quagga/ospfd/ospfd.h
+include/quagga/plist.h
+include/quagga/pqueue.h
+include/quagga/prefix.h
+include/quagga/privs.h
+include/quagga/routemap.h
+include/quagga/sigevent.h
+include/quagga/smux.h
+include/quagga/sockopt.h
+include/quagga/sockunion.h
+include/quagga/str.h
+include/quagga/stream.h
+include/quagga/table.h
+include/quagga/thread.h
+include/quagga/vector.h
+include/quagga/version.h
+include/quagga/vty.h
+include/quagga/workqueue.h
+include/quagga/zassert.h
+include/quagga/zclient.h
+include/quagga/zebra.h
+lib/libospf.la
+lib/libzebra.la
+man/man1/vtysh.1
+man/man8/bgpd.8
+man/man8/isisd.8
+man/man8/ospf6d.8
+man/man8/ospfd.8
+man/man8/ripd.8
+man/man8/ripngd.8
+man/man8/zebra.8
+sbin/bgpd
+sbin/ospfd
+sbin/ripd
+sbin/watchquagga
+sbin/zebra
+share/doc/quagga/BGP-TypeCode
+share/doc/quagga/draft-zebra-00.txt
+share/doc/quagga/mpls/ChangeLog.opaque.txt
+share/doc/quagga/mpls/cli_summary.txt
+share/doc/quagga/mpls/opaque_lsa.txt
+share/doc/quagga/mpls/ospfd.conf
+share/examples/quagga/bgpd.conf.sample
+share/examples/quagga/bgpd.conf.sample2
+share/examples/quagga/log_syslog.conf
+share/examples/quagga/ospfd.conf.sample
+share/examples/quagga/ripd.conf.sample
+share/examples/quagga/zebra.conf.sample
+share/examples/rc.d/bgpd
+share/examples/rc.d/ospf6d
+share/examples/rc.d/ospfd
+share/examples/rc.d/ripd
+share/examples/rc.d/ripngd
+share/examples/rc.d/zebra
+@dirrm share/examples/quagga
+@dirrm include/quagga/ospfd
+@dirrm include/quagga
diff -r ba7755936dd4 -r 5107280c23e9 net/quagga-devel/PLIST.opaquelsa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/quagga-devel/PLIST.opaquelsa  Wed Mar 08 01:46:05 2006 +0000
@@ -0,0 +1,5 @@
+@comment $NetBSD: PLIST.opaquelsa,v 1.1.1.1 2006/03/08 01:46:05 gdt Exp $
+include/quagga/ospfapi/ospf_apiclient.h
+lib/libospfapiclient.la
+sbin/ospfclient
+@dirrm include/quagga/ospfapi
diff -r ba7755936dd4 -r 5107280c23e9 net/quagga-devel/PLIST.v6
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/quagga-devel/PLIST.v6 Wed Mar 08 01:46:05 2006 +0000
@@ -0,0 +1,5 @@
+@comment $NetBSD: PLIST.v6,v 1.1.1.1 2006/03/08 01:46:05 gdt Exp $
+sbin/ospf6d
+sbin/ripngd
+share/examples/quagga/ospf6d.conf.sample
+share/examples/quagga/ripngd.conf.sample
diff -r ba7755936dd4 -r 5107280c23e9 net/quagga-devel/PLIST.vtysh
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/quagga-devel/PLIST.vtysh      Wed Mar 08 01:46:05 2006 +0000
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST.vtysh,v 1.1.1.1 2006/03/08 01:46:05 gdt Exp $
+bin/vtysh
+share/examples/quagga/vtysh.conf.sample
diff -r ba7755936dd4 -r 5107280c23e9 net/quagga-devel/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/quagga-devel/distinfo Wed Mar 08 01:46:05 2006 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2006/03/08 01:46:05 gdt Exp $
+
+SHA1 (quagga-0.99.3.tar.gz) = ab892eaa5e46fda8c7a552370905ec98e59857d5
+RMD160 (quagga-0.99.3.tar.gz) = d66b2c80608739adb9e22680837242391629ba1e
+Size (quagga-0.99.3.tar.gz) = 2203788 bytes
diff -r ba7755936dd4 -r 5107280c23e9 net/quagga-devel/files/log_syslog.conf
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/quagga-devel/files/log_syslog.conf    Wed Mar 08 01:46:05 2006 +0000
@@ -0,0 +1,3 @@
+!
+log syslog
+!



Home | Main Index | Thread Index | Old Index