0.99.20: The primary focus of this release is a fix of SEGV regression in ospfd, which was introduced in 0.99.19. It also features a series of minor improvements, including better RFC compliance in bgpd, better support of FreeBSD and some enhancements to isisd. 0.99.19: This release provides security fixes, which address assorted vulnerabilities in bgpd, ospfd and ospf6d (CVE-2011-3323, CVE-2011-3324, CVE-2011-3325, CVE-2011-3326 and CVE-2011-3327). 0.99.18: This release fixes 2 denial of services in bgpd, which can be remotely triggered by malformed AS-Pathlimit or Extended-Community attributes. These issues have been assigned CVE-2010-1674 and CVE-2010-1675. Support for AS-Pathlimit has been removed with this release. The release includes a number of bug-fixes and enhancements, primarily for ospfd, ospf6d and bgpd.
66 lines
2 KiB
Makefile
66 lines
2 KiB
Makefile
# $NetBSD: Makefile,v 1.38 2011/12/05 17:52:37 gdt Exp $
|
|
#
|
|
|
|
DISTNAME= quagga-0.99.20
|
|
CATEGORIES= net
|
|
MASTER_SITES= http://www.quagga.net/download/
|
|
|
|
MAINTAINER= gdt@NetBSD.org
|
|
HOMEPAGE= http://www.quagga.net/
|
|
COMMENT= Free multithreaded routing daemon software
|
|
LICENSE= gnu-gpl-v2
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
.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= # PLIST
|
|
|
|
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"
|