summaryrefslogtreecommitdiff
path: root/community/quagga
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-05-01 00:01:20 +0000
committerroot <root@rshg054.dnsready.net>2012-05-01 00:01:20 +0000
commit752015395fc8b95cc4a86b68189cb747fe9a8499 (patch)
tree3e64f1f739447b52eab8498bf13bcbc9410cde8e /community/quagga
parentb7cd4b184f75d3d2b54b356e08f296df3a9afb38 (diff)
Tue May 1 00:01:20 UTC 2012
Diffstat (limited to 'community/quagga')
-rw-r--r--community/quagga/PKGBUILD12
-rw-r--r--community/quagga/quagga.rc13
2 files changed, 12 insertions, 13 deletions
diff --git a/community/quagga/PKGBUILD b/community/quagga/PKGBUILD
index b6d8915ba..0e4ead5f6 100644
--- a/community/quagga/PKGBUILD
+++ b/community/quagga/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id$
+# $Id: PKGBUILD 70110 2012-04-29 20:23:17Z seblu $
# Maintainer: Sébastien Luttringer <seblu@aur.archlinux.org>
pkgname=quagga
-pkgver=0.99.20
-pkgrel=3
+pkgver=0.99.20.1
+pkgrel=1
pkgdesc='BGP/OSPF/ISIS/RIP/RIPNG routing daemon suite'
arch=('i686' 'x86_64')
url='http://www.quagga.net'
@@ -12,11 +12,11 @@ depends=('libcap' 'net-snmp' 'readline' 'ncurses')
options=('!libtool' '!buildflags')
backup=()
install=quagga.install
-source=("http://www.quagga.net/download/$pkgname-$pkgver.tar.gz"
+source=("http://download.savannah.gnu.org/releases/$pkgname/$pkgname-$pkgver.tar.gz"
'quagga.rc'
'quagga.conf')
-md5sums=('64cc29394eb8a4e24649d19dac868f64'
- '6ebd2be39c45361eabe3e278bb21efa0'
+md5sums=('270ddd464407f8ce6fa8ada8bc1abbd7'
+ '71d474228a1e02d698cd24e9fd55ca38'
'0c4f2dd13c7dac1b73de923d1d5e4e17')
build() {
diff --git a/community/quagga/quagga.rc b/community/quagga/quagga.rc
index f938c6f8a..ad6614b14 100644
--- a/community/quagga/quagga.rc
+++ b/community/quagga/quagga.rc
@@ -4,19 +4,18 @@
. /etc/rc.d/functions
. /etc/conf.d/${0##*/}
-NAME=${0##*/}
-DAEMON=/usr/sbin/$NAME
+DAEMON=/usr/sbin/${0##*/}
PID=$(pidof -o %PPID $DAEMON)
case "$1" in
start)
- stat_busy "Starting Quagga $NAME daemon"
- [[ ! $PID ]] && $DAEMON $DAEMON_OPTS && add_daemon $NAME && stat_done && exit 0
+ stat_busy "Starting ${0##*/} daemon"
+ [[ ! $PID ]] && $DAEMON $DAEMON_OPTS && add_daemon ${0##*/} && stat_done && exit 0
stat_fail
;;
stop)
- stat_busy "Stopping $NAME daemon"
- [[ $PID ]] && kill $PID &> /dev/null && rm_daemon $NAME && stat_done && exit 0
+ stat_busy "Stopping ${0##*/} daemon"
+ [[ $PID ]] && kill $PID &> /dev/null && rm_daemon ${0##*/} && stat_done && exit 0
stat_fail
;;
restart)
@@ -24,7 +23,7 @@ case "$1" in
$0 start
exit 0
;;
- *)
+ *)
echo "usage: ${0##*/} {start|stop|restart}" >&2
;;
esac