[arch-commits] Commit in freeradius/trunk (PKGBUILD radiusd)
Sergej Pupykin
spupykin at nymeria.archlinux.org
Mon May 13 14:23:32 UTC 2013
Date: Monday, May 13, 2013 @ 16:23:32
Author: spupykin
Revision: 90664
upgpkg: freeradius 2.2.0-6
upd
Modified:
freeradius/trunk/PKGBUILD
Deleted:
freeradius/trunk/radiusd
----------+
PKGBUILD | 7 ++-----
radiusd | 43 -------------------------------------------
2 files changed, 2 insertions(+), 48 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2013-05-13 14:23:23 UTC (rev 90663)
+++ PKGBUILD 2013-05-13 14:23:32 UTC (rev 90664)
@@ -4,7 +4,7 @@
pkgname=freeradius
pkgver=2.2.0
-pkgrel=5
+pkgrel=6
pkgdesc="The premier open source RADIUS server"
arch=('i686' 'x86_64')
url="http://www.freeradius.org/"
@@ -15,13 +15,11 @@
options=('!libtool' '!makeflags')
install=$pkgname.install
source=("ftp://ftp.freeradius.org/pub/radius/freeradius-server-$pkgver.tar.bz2"{,.sig}
- radiusd
freeradius.tmpfiles
freeradius.service
krb5-build-fix.patch)
md5sums=('0fb333fe6a64eb2b1dd6ef67f7bca119'
- '5dd57af81ba075102581fec45316ba7b'
- 'f1a6530b1b69d2fa793aa45b2de379bb'
+ 'SKIP'
'f959e89812bedfc9f8308076f78cd74e'
'39eba6d34f8249781e9e917646465632'
'c6a61de7576933f59154a53bfc12a2d2')
@@ -43,7 +41,6 @@
package() {
cd $srcdir/freeradius-server-$pkgver
make install R=$pkgdir
- install -D -m755 ../radiusd $pkgdir/etc/rc.d/radiusd
chmod o+r $pkgdir/etc/raddb/*
mv $pkgdir/etc/raddb $pkgdir/etc/raddb.default
rm -rf $pkgdir/var/run
Deleted: radiusd
===================================================================
--- radiusd 2013-05-13 14:23:23 UTC (rev 90663)
+++ radiusd 2013-05-13 14:23:32 UTC (rev 90664)
@@ -1,43 +0,0 @@
-#!/bin/bash
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-
-PID=`pidof -o %PPID /usr/sbin/radiusd`
-case "$1" in
- start)
- stat_busy "Starting radiusd Server"
-
- [ -d /var/run/radiusd ] || mkdir -p /var/run/radiusd
- [ -f /var/run/radiusd/radiusd.pid ] || touch /var/run/radiusd/radiusd.pid
- chown -R radiusd.radiusd /var/run/radiusd
-
- [ -z "$PID" ] && /usr/sbin/radiusd
- if [ $? -gt 0 ]; then
- stat_fail
- else
- echo $PID > /var/run/radiusd.pid
- add_daemon radiusd
- stat_done
- fi
- ;;
- stop)
- stat_busy "Stopping radiusd Server"
- [ ! -z "$PID" ] && kill $PID &> /dev/null
- if [ $? -gt 0 ]; then
- stat_fail
- else
- rm /var/run/radiusd.pid
- rm_daemon radiusd
- stat_done
- fi
- ;;
- restart)
- $0 stop
- sleep 1
- $0 start
- ;;
- *)
- echo "usage: $0 {start|stop|restart}"
-esac
-exit 0
More information about the arch-commits
mailing list