From b91dca65217b7c35be84df053692c9fd1b012560 Mon Sep 17 00:00:00 2001 From: root Date: Tue, 5 Feb 2013 00:07:38 -0800 Subject: Tue Feb 5 00:07:38 PST 2013 --- community/quagga/PKGBUILD | 28 ++++++++-------------------- 1 file changed, 8 insertions(+), 20 deletions(-) (limited to 'community/quagga/PKGBUILD') diff --git a/community/quagga/PKGBUILD b/community/quagga/PKGBUILD index d24c91df3..0b3dd2afe 100644 --- a/community/quagga/PKGBUILD +++ b/community/quagga/PKGBUILD @@ -1,20 +1,17 @@ -# $Id: PKGBUILD 73818 2012-07-15 23:51:42Z seblu $ -# Maintainer: Sébastien Luttringer +# $Id: PKGBUILD 83621 2013-02-04 00:43:11Z seblu $ +# Maintainer: Sébastien Luttringer pkgname=quagga pkgver=0.99.21 -pkgrel=2 +pkgrel=3 pkgdesc='BGP/OSPF/ISIS/RIP/RIPNG routing daemon suite' arch=('i686' 'x86_64') url='http://www.quagga.net' license=('GPL2') depends=('libcap' 'net-snmp' 'readline' 'ncurses') options=('!libtool' '!buildflags') -backup=() install=quagga.install source=("http://download.savannah.gnu.org/releases/$pkgname/$pkgname-$pkgver.tar.gz" - 'quagga.rc' - 'quagga.conf' 'babeld.service' 'bgpd.service' 'isisd.service' @@ -26,8 +23,6 @@ source=("http://download.savannah.gnu.org/releases/$pkgname/$pkgname-$pkgver.tar '0001-isisd-fix-typo-in-topology-generator-BZ-731.patch' '0002-CVE-2012-1820.patch') md5sums=('99840adbe57047c90dfba6b6ed9aec7f' - '71d474228a1e02d698cd24e9fd55ca38' - '0c4f2dd13c7dac1b73de923d1d5e4e17' '45d8bf56a426b0e7ebe429547be8a27a' 'ab31ed8dafd7a92137f4f00ad0937b4f' '4c05d0105cd0db23a2583bd75a1bde4d' @@ -35,7 +30,7 @@ md5sums=('99840adbe57047c90dfba6b6ed9aec7f' 'c5f8a729685cebf8fc5b1a1552d37b6d' 'e721b334bb0b31983642b307033c63d0' 'effeb26ff78ffcafe7808596ddc5d3fc' - 'a4bf0a090747bd7dc4094a1e6e96e6ad' + 'f0c0b99346b2c373a74158e45f04cf91' 'c80174f7bdd32cd84550d52451e8f495' '44f39016d81f3b13b2744f7dcd93289d') @@ -76,21 +71,14 @@ package() { install -D -m 644 redhat/$pkgname.logrotate "$pkgdir/etc/logrotate.d/$pkgname" sed -ri 's,/var/run/quagga,/run/quagga,g' "$pkgdir/etc/logrotate.d/$pkgname" - # initscripts files + # systemd cd "$srcdir" - for d in zebra ripd ripngd bgpd ospfd ospf6d isisd babeld; do - install -D -m 755 $pkgname.rc "$pkgdir/etc/rc.d/$d" - install -D -m 644 $pkgname.conf "$pkgdir/etc/conf.d/$d" - backup+=("etc/conf.d/$d") - done - - # systemd stuff - for d in zebra ripd ripngd bgpd ospfd ospf6d isisd babeld; do - install -D -m 644 $d.service "$pkgdir/usr/lib/systemd/system/$d.service" + for _d in zebra ripd ripngd bgpd ospfd ospf6d isisd babeld; do + install -D -m 644 $_d.service "$pkgdir/usr/lib/systemd/system/$_d.service" done install -D -m 644 /dev/null "$pkgdir/usr/lib/tmpfiles.d/$pkgname.conf" echo "d /run/$pkgname 0750 $pkgname $pkgname" > "$pkgdir/usr/lib/tmpfiles.d/$pkgname.conf" } -# vim:set ts=2 sw=2 ft=sh et: +# vim:set ts=2 sw=2 et: -- cgit v1.2.3-54-g00ecf