summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorgdt <gdt@pkgsrc.org>2010-03-10 20:05:38 +0000
committergdt <gdt@pkgsrc.org>2010-03-10 20:05:38 +0000
commit5f8084d0832ee839d9b6ee8b867b37db56c70c44 (patch)
treeed6647efbc19ad58953c62c9ecb98ea6b0d9068e /net
parentc8977f32012f5ee4db99a3bcebce0e1d685bd3ad (diff)
downloadpkgsrc-5f8084d0832ee839d9b6ee8b867b37db56c70c44.tar.gz
DESTDIR support. Note in DESCR that most people should use 0.99.x
instead.
Diffstat (limited to 'net')
-rw-r--r--net/quagga/DESCR10
-rw-r--r--net/quagga/Makefile25
2 files changed, 16 insertions, 19 deletions
diff --git a/net/quagga/DESCR b/net/quagga/DESCR
index 638d635e612..37de6717a63 100644
--- a/net/quagga/DESCR
+++ b/net/quagga/DESCR
@@ -5,11 +5,5 @@ 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.
-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 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.
+This version, while tagged stable, is generally considered obsolete
+and most users are better server by 0.99.x.
diff --git a/net/quagga/Makefile b/net/quagga/Makefile
index 834f59eb281..980e42e46bf 100644
--- a/net/quagga/Makefile
+++ b/net/quagga/Makefile
@@ -1,14 +1,17 @@
-# $NetBSD: Makefile,v 1.33 2009/06/14 22:58:07 joerg Exp $
+# $NetBSD: Makefile,v 1.34 2010/03/10 20:05:38 gdt Exp $
#
DISTNAME= quagga-0.98.6
-PKGREVISION= 2
+PKGREVISION= 3
CATEGORIES= net
MASTER_SITES= http://www.quagga.net/download/
MAINTAINER= gdt@NetBSD.org
HOMEPAGE= http://www.quagga.net/
COMMENT= Free multithreaded routing daemon software (fork of zebra)
+LICENSE= gnu-gpl-v2
+
+PKG_DESTDIR_SUPPORT= user-destdir
.include "../../mk/bsd.prefs.mk"
@@ -50,15 +53,15 @@ 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
+ @${CHMOD} a+r ${DESTDIR}${PREFIX}/share/examples/quagga/*
+ ${INSTALL} -d -o quagga -g quagga -m 750 ${DESTDIR}${PKG_SYSCONFDIR}
+ ${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 ${PREFIX}; ${FIND} share/doc/quagga -type f -print ) >> ${PLIST_SRC}
+ (cd ${DESTDIR}${PREFIX}; ${FIND} share/doc/quagga -type f -print ) >> ${PLIST_SRC}
.include "../../mk/bsd.pkg.mk"