Update HOMEPAGE, MASTER_SITES. Set USE_GNU_READLINE to catch up to 2012Q3 devel/readline builtin detection. 0.99.22.3 basically contains a security bugfix for OSPF-API. 0.99.22.2 was not released. 0.99.22.1 contains a few non-security bugfixes. Changes in 0.99.22 since 0.99.21: - [bgpd] The semantics of default-originate route-map have changed. The route-map is now used to advertise the default route conditionally. The old behaviour which allowed to set attributes on the originated default route is no longer supported. - [bgpd] There is now a replace-as option to neighbor ... local-as ... no-prepend. For details, refer to the user documentation. - [zebra] An FPM interface has been added. This provides an alternate interface to routing information and is geared at OpenFlow & co. - [snmp] AgentX is now supported; the old smux backend is considered deprecated. ospf6d has also had OSPFV3-MIB added. - [*] several issues with configuration save/load/apply have been fixed, in particular on ospf "max-metric router-lsa administrative" and "distribute-list", bgpd "no neighbor activate", isisd "metric-style", - [*] a lot of bugs have been fixed, please refer to the git log
64 lines
2 KiB
Makefile
64 lines
2 KiB
Makefile
# $NetBSD: Makefile,v 1.46 2013/08/07 14:05:15 gdt Exp $
|
|
#
|
|
|
|
DISTNAME= quagga-0.99.22.3
|
|
CATEGORIES= net
|
|
MASTER_SITES= http://download.savannah.gnu.org/releases/quagga/
|
|
|
|
MAINTAINER= gdt@NetBSD.org
|
|
HOMEPAGE= http://www.nongnu.org/quagga/
|
|
COMMENT= Free multithreaded routing daemon software
|
|
LICENSE= gnu-gpl-v2
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
GNU_CONFIGURE= YES
|
|
USE_TOOLS+= gawk 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= yes
|
|
|
|
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 \
|
|
${PKG_SYSCONFDIR}/${_file_} quagga quagga 0600
|
|
.endfor
|
|
|
|
.include "options.mk"
|
|
|
|
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 ${DESTDIR}${PREFIX}/share/examples/quagga/*
|
|
${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
|
|
${INSTALL_DATA} ${WRKSRC}/doc/BGP-TypeCode ${DESTDIR}${PREFIX}/share/doc/quagga
|
|
${INSTALL_DATA} ${WRKSRC}/doc/draft-zebra-00.txt ${DESTDIR}${PREFIX}/share/doc/quagga
|
|
${INSTALL_DATA} ${WRKSRC}/doc/mpls/* ${DESTDIR}${PREFIX}/share/doc/quagga/mpls
|
|
${CAT} ${PLIST_CAT} > ${PLIST_SRC}
|
|
(cd ${DESTDIR}${PREFIX}; ${FIND} share/doc/quagga -type f -print ) >> ${PLIST_SRC}
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|