[arch-commits] Commit in xl2tpd/trunk (PKGBUILD xl2tpd.rc)
Sergej Pupykin
spupykin at nymeria.archlinux.org
Mon May 13 14:41:30 UTC 2013
Date: Monday, May 13, 2013 @ 16:41:29
Author: spupykin
Revision: 90738
upgpkg: xl2tpd 1.3.1-2
upd
Modified:
xl2tpd/trunk/PKGBUILD
Deleted:
xl2tpd/trunk/xl2tpd.rc
-----------+
PKGBUILD | 5 +----
xl2tpd.rc | 39 ---------------------------------------
2 files changed, 1 insertion(+), 43 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2013-05-13 14:41:25 UTC (rev 90737)
+++ PKGBUILD 2013-05-13 14:41:29 UTC (rev 90738)
@@ -4,7 +4,7 @@
pkgname=xl2tpd
pkgver=1.3.1
-pkgrel=1
+pkgrel=2
pkgdesc="an open source implementation of the L2TP maintained by Xelerance Corporation"
arch=('i686' 'x86_64')
url="http://www.xelerance.com/services/software/xl2tpd/"
@@ -13,7 +13,6 @@
options=(emptydirs zipman docs)
backup=(etc/ppp/options.l2tpd)
source=($pkgname-$pkgver.tar.gz::https://github.com/xelerance/xl2tpd/archive/v$pkgver.tar.gz
- xl2tpd.rc
xl2tpd.conf.client-example
xl2tpd.conf.server-example
options.l2tpd
@@ -21,7 +20,6 @@
xl2tpd.tmpfiles
ipparam.patch)
md5sums=('38c2461d3562f98b08454ca403706886'
- '1439d13084fc09c2a19c97b24a834345'
'5f0ae07026e61a3dd15a76fd4144a6d5'
'16ed0886115d4dcc21072cfb847250bb'
'ed57eb67335cdf246251285dad502cc7'
@@ -42,7 +40,6 @@
make KERNELSRC=/usr/src/linux-`uname -r` PREFIX=/usr DESTDIR=$pkgdir install
- install -D -m0755 $srcdir/xl2tpd.rc $pkgdir/etc/rc.d/xl2tpd
install -D -m0644 $srcdir/xl2tpd.conf.client-example $pkgdir/etc/xl2tpd/xl2tpd.conf.client-example
install -D -m0644 $srcdir/xl2tpd.conf.server-example $pkgdir/etc/xl2tpd/xl2tpd.conf.server-example
install -D -m0644 $srcdir/options.l2tpd $pkgdir/etc/ppp/options.l2tpd
Deleted: xl2tpd.rc
===================================================================
--- xl2tpd.rc 2013-05-13 14:41:25 UTC (rev 90737)
+++ xl2tpd.rc 2013-05-13 14:41:29 UTC (rev 90738)
@@ -1,39 +0,0 @@
-#!/bin/bash
-
-# general config
-. /etc/rc.conf
-. /etc/rc.d/functions
-
-case "$1" in
- start)
- [ -d /var/run/xl2tpd ] || mkdir -p /var/run/xl2tpd
- stat_busy "Starting xl2tpd"
- /usr/sbin/xl2tpd
- if [ $? -gt 0 ]; then
- stat_fail
- else
- add_daemon xl2tpd
- stat_done
- fi
- ;;
- stop)
- stat_busy "Stopping xl2tpd"
- [ -f /var/run/xl2tpd.pid ] && kill `cat /var/run/xl2tpd.pid`
- if [ $? -gt 0 ]; then
- stat_fail
- else
- rm -f /var/run/xl2tpd.pid
- rm_daemon xl2tpd
- 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