summaryrefslogtreecommitdiff
path: root/community/xl2tpd
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-05-24 00:06:06 -0700
committerroot <root@rshg054.dnsready.net>2013-05-24 00:06:06 -0700
commit0520c5091743d9910278e53fa32470b096825fb3 (patch)
treece32603cb0eb8456aef2a5eb66fddc98f246857c /community/xl2tpd
parente0c1bfae73539aac5627d73dd70a299d274a0c10 (diff)
Fri May 24 00:06:06 PDT 2013
Diffstat (limited to 'community/xl2tpd')
-rw-r--r--community/xl2tpd/PKGBUILD10
-rw-r--r--community/xl2tpd/xl2tpd.service4
2 files changed, 7 insertions, 7 deletions
diff --git a/community/xl2tpd/PKGBUILD b/community/xl2tpd/PKGBUILD
index b6e76d97c..2c513c4fb 100644
--- a/community/xl2tpd/PKGBUILD
+++ b/community/xl2tpd/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 90739 2013-05-13 14:42:05Z spupykin $
+# $Id: PKGBUILD 91508 2013-05-23 10:16:34Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Hengfu <rhfcaesar@gmail.com>
pkgname=xl2tpd
pkgver=1.3.1
-pkgrel=2
+pkgrel=3
pkgdesc="an open source implementation of the L2TP maintained by Xelerance Corporation"
arch=('i686' 'x86_64')
url="http://www.xelerance.com/services/software/xl2tpd/"
@@ -23,7 +23,7 @@ md5sums=('38c2461d3562f98b08454ca403706886'
'5f0ae07026e61a3dd15a76fd4144a6d5'
'16ed0886115d4dcc21072cfb847250bb'
'ed57eb67335cdf246251285dad502cc7'
- '5ba9ddaf66c9827fe4a2caef67cf61c2'
+ '219942dd098ce4fdba37d1db327baf57'
'2e95e4fc03e1521ab20fd7e249efab5a'
'4d258a58cc109d5c4d96af8f81d481cf')
@@ -32,13 +32,13 @@ build() {
patch -p1 <$srcdir/ipparam.patch
- make KERNELSRC=/usr/src/linux-`uname -r` PREFIX=/usr
+ make KERNELSRC=/usr/src/linux-`uname -r` PREFIX=/usr SBINDIR=/usr/bin
}
package() {
cd "$srcdir/$pkgname-$pkgver"
- make KERNELSRC=/usr/src/linux-`uname -r` PREFIX=/usr DESTDIR=$pkgdir install
+ make KERNELSRC=/usr/src/linux-`uname -r` PREFIX=/usr DESTDIR=$pkgdir SBINDIR=$pkgdir/usr/bin install
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
diff --git a/community/xl2tpd/xl2tpd.service b/community/xl2tpd/xl2tpd.service
index b47cadf02..e55b9cb12 100644
--- a/community/xl2tpd/xl2tpd.service
+++ b/community/xl2tpd/xl2tpd.service
@@ -7,8 +7,8 @@ After=ipsec.service
[Service]
Type=simple
-PIDFile=/var/run/xl2tpd/xl2tpd.pid
-ExecStart=/usr/sbin/xl2tpd -D
+PIDFile=/run/xl2tpd/xl2tpd.pid
+ExecStart=/usr/bin/xl2tpd -D
Restart=on-abort
[Install]