summaryrefslogtreecommitdiff
path: root/community/bird
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-05-15 01:14:48 -0700
committerroot <root@rshg054.dnsready.net>2013-05-15 01:14:48 -0700
commit51c18483cd98db045391ee9a0c7b9b6ad5d4ab3a (patch)
tree00044126c105926c03e23c9611be579689db2b8b /community/bird
parent2e5b72e5e8dfb5199a9b0da7c76d052a456662c2 (diff)
Wed May 15 01:14:48 PDT 2013
Diffstat (limited to 'community/bird')
-rw-r--r--community/bird/PKGBUILD27
-rw-r--r--community/bird/bird6.service4
2 files changed, 22 insertions, 9 deletions
diff --git a/community/bird/PKGBUILD b/community/bird/PKGBUILD
index 3a4f77974..364c7186a 100644
--- a/community/bird/PKGBUILD
+++ b/community/bird/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 90491 2013-05-12 22:34:17Z seblu $
+# $Id: PKGBUILD 90843 2013-05-14 17:50:10Z seblu $
# Maintainer: Sébastien Luttringer
pkgbase=bird
pkgname=('bird' 'bird6')
pkgver=1.3.10
-pkgrel=2
+pkgrel=4
arch=('i686' 'x86_64')
url='http://bird.network.cz/'
license=('GPL2')
@@ -14,7 +14,7 @@ source=("ftp://bird.network.cz/pub/bird/${pkgname}-${pkgver}.tar.gz"
'bird6.service')
md5sums=('553c331b32bca9e926519cb2f67d68be'
'01360e3b71ff2ed2223e87a3176e0659'
- '13a5f066a39f82136291f1461458651c')
+ 'b895b473cbc98cfd54751f737536eb1e')
build() {
cd $pkgbase-$pkgver
@@ -24,12 +24,23 @@ build() {
# build ipv4 bird
cd _build4
- ../configure
+ ../configure \
+ --prefix=/usr \
+ --sbindir=/usr/bin \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --docdir=/usr/share/doc/$pkgname
make
# build ipv6 bird
cd ../_build6
- ../configure --enable-ipv6
+ ../configure \
+ --prefix=/usr \
+ --sbindir=/usr/bin \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --docdir=/usr/share/doc/$pkgname \
+ --enable-ipv6
make
}
@@ -43,8 +54,9 @@ package_bird () {
sysconfdir="$pkgdir/etc" \
sbindir="$pkgdir/usr/bin" \
localstatedir="$pkgdir/var" \
+ docdir="$pkgdir/usr/share/doc/$pkgname" \
install
- make docdir="$pkgdir/usr/share/doc/$pkgname" install-docs
+ #make docdir="$pkgdir/usr/share/doc/$pkgname" install-docs
# no /var inside pkg
rm -r "$pkgdir/var"
@@ -63,8 +75,9 @@ package_bird6 () {
sysconfdir="$pkgdir/etc" \
sbindir="$pkgdir/usr/bin" \
localstatedir="$pkgdir/var" \
+ docdir="$pkgdir/usr/share/doc/$pkgname" \
install
- make docdir="$pkgdir/usr/share/doc/$pkgname" install-docs
+ #make docdir="$pkgdir/usr/share/doc/$pkgname" install-docs
# no /var inside pkg
rm -r "$pkgdir/var"
diff --git a/community/bird/bird6.service b/community/bird/bird6.service
index 8eb1dd505..d852fb52c 100644
--- a/community/bird/bird6.service
+++ b/community/bird/bird6.service
@@ -4,8 +4,8 @@ After=network.target
[Service]
ExecStart=/usr/bin/bird6 -d
-ExecReload=/usr/bin/bird6c configure
-ExecStop=/usr/bin/bird6c down
+ExecReload=/usr/bin/birdc6 configure
+ExecStop=/usr/bin/birdc6 down
[Install]
WantedBy=multi-user.target