summaryrefslogtreecommitdiff
path: root/community/quagga/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/quagga/PKGBUILD')
-rw-r--r--community/quagga/PKGBUILD28
1 files changed, 8 insertions, 20 deletions
diff --git a/community/quagga/PKGBUILD b/community/quagga/PKGBUILD
index 5c4edc8d6..84f921a81 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 <seblu@aur.archlinux.org>
+# $Id: PKGBUILD 83621 2013-02-04 00:43:11Z seblu $
+# Maintainer: Sébastien Luttringer <seblu@archlinux.org>
pkgname=quagga
pkgver=0.99.21
-pkgrel=2
+pkgrel=3
pkgdesc='BGP/OSPF/ISIS/RIP/RIPNG routing daemon suite'
arch=('i686' 'x86_64' 'mips64el')
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: