summaryrefslogtreecommitdiff
path: root/community/pptpd
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/pptpd
parente0c1bfae73539aac5627d73dd70a299d274a0c10 (diff)
Fri May 24 00:06:06 PDT 2013
Diffstat (limited to 'community/pptpd')
-rw-r--r--community/pptpd/PKGBUILD13
-rw-r--r--community/pptpd/pptpd.service2
2 files changed, 10 insertions, 5 deletions
diff --git a/community/pptpd/PKGBUILD b/community/pptpd/PKGBUILD
index fdfbfa4de..8a3a1bd05 100644
--- a/community/pptpd/PKGBUILD
+++ b/community/pptpd/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 90707 2013-05-13 14:34:48Z spupykin $
+# $Id: PKGBUILD 91528 2013-05-23 11:16:52Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
pkgname=pptpd
pkgver=1.3.4
-pkgrel=12
+pkgrel=13
pkgdesc="Poptop server"
arch=(i686 x86_64)
url="http://poptop.sourceforge.net/"
@@ -14,7 +14,7 @@ source=(http://downloads.sourceforge.net/sourceforge/poptop/pptpd-$pkgver.tar.gz
pptpd.service
unrecognized-opt.patch)
md5sums=('b38df9c431041922c997c1148bedf591'
- '144c17c7d5c1b95cfb3450eb73aa2e50'
+ 'f17df2a137282adbd04c75dd25784a9c'
'cfa02c86d0413eb94fac15599986f54c')
build() {
@@ -26,7 +26,12 @@ build() {
patch -p1 <$srcdir/unrecognized-opt.patch
sed -i 's|AM_CONFIG_HEADER|AC_CONFIG_HEADER|g' configure.in
autoreconf -i
- ./configure --prefix=/usr --libdir=/usr/lib --exec-prefix=/usr --mandir=/usr/share/man
+ ./configure \
+ --prefix=/usr \
+ --libdir=/usr/lib \
+ --sbindir=/usr/bin \
+ --exec-prefix=/usr \
+ --mandir=/usr/share/man
sed -i "s|#define VERSION.*|#define VERSION \"${_pppver}\"|" plugins/patchlevel.h
make
sed -i 's|install -o root|install|g' plugins/Makefile
diff --git a/community/pptpd/pptpd.service b/community/pptpd/pptpd.service
index 739508b60..c907c0b9f 100644
--- a/community/pptpd/pptpd.service
+++ b/community/pptpd/pptpd.service
@@ -3,7 +3,7 @@ Description=PPTP Server
After=network.target
[Service]
-ExecStart=/usr/sbin/pptpd -c /etc/pptpd.conf -p /var/run/pptpd.pid -f
+ExecStart=/usr/bin/pptpd -c /etc/pptpd.conf -p /var/run/pptpd.pid -f
StandardOutput=null
[Install]