summaryrefslogtreecommitdiff
path: root/community/pptpd/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-05-14 01:18:40 -0700
committerroot <root@rshg054.dnsready.net>2013-05-14 01:18:40 -0700
commit2e5b72e5e8dfb5199a9b0da7c76d052a456662c2 (patch)
treefa055d4e2f367acb518de6c4e06b77b6d8cbef75 /community/pptpd/PKGBUILD
parent66cb4a487ad73063c6b000279a5d5558fb7603f5 (diff)
Tue May 14 01:18:40 PDT 2013
Diffstat (limited to 'community/pptpd/PKGBUILD')
-rw-r--r--community/pptpd/PKGBUILD8
1 files changed, 3 insertions, 5 deletions
diff --git a/community/pptpd/PKGBUILD b/community/pptpd/PKGBUILD
index d7e98e032..fdfbfa4de 100644
--- a/community/pptpd/PKGBUILD
+++ b/community/pptpd/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 77852 2012-10-15 09:47:33Z spupykin $
+# $Id: PKGBUILD 90707 2013-05-13 14:34:48Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
pkgname=pptpd
pkgver=1.3.4
-pkgrel=11
+pkgrel=12
pkgdesc="Poptop server"
arch=(i686 x86_64)
url="http://poptop.sourceforge.net/"
@@ -11,11 +11,9 @@ license=('GPL')
depends=(ppp glibc)
backup=(etc/pptpd.conf)
source=(http://downloads.sourceforge.net/sourceforge/poptop/pptpd-$pkgver.tar.gz
- pptpd
pptpd.service
unrecognized-opt.patch)
md5sums=('b38df9c431041922c997c1148bedf591'
- 'e09f81beb5d59a0fdfba94e3a60d992b'
'144c17c7d5c1b95cfb3450eb73aa2e50'
'cfa02c86d0413eb94fac15599986f54c')
@@ -26,6 +24,7 @@ build() {
cd $srcdir/$pkgname-$pkgver
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
sed -i "s|#define VERSION.*|#define VERSION \"${_pppver}\"|" plugins/patchlevel.h
@@ -39,7 +38,6 @@ package() {
make DESTDIR=$pkgdir install
mkdir -p $pkgdir/etc/
echo -e "# Read man pptpd.conf, see samples in /usr/share/doc/pptpd\n# and write your pptpd configuration here" >$pkgdir/etc/pptpd.conf
- install -Dm0755 ../pptpd $pkgdir/etc/rc.d/pptpd
install -Dm0644 $srcdir/$pkgname.service $pkgdir/usr/lib/systemd/system/$pkgname.service
mkdir -p $pkgdir/usr/share/doc/pptpd
cp -a samples $pkgdir/usr/share/doc/pptpd/