diff options
author | root <root@rshg054.dnsready.net> | 2013-07-17 00:58:52 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-07-17 00:58:52 -0700 |
commit | dee9f17b595ea903a982d31d1124b302bb17e2ff (patch) | |
tree | 295fdab78e28e1952fbc13ce824d57c88ede4e3b /community/pptpd | |
parent | 380530d02a5449fdef97b63b394a6743c3de0092 (diff) |
Wed Jul 17 00:58:51 PDT 2013
Diffstat (limited to 'community/pptpd')
-rw-r--r-- | community/pptpd/ChangeLog | 3 | ||||
-rw-r--r-- | community/pptpd/PKGBUILD | 49 | ||||
-rw-r--r-- | community/pptpd/pptpd.service | 10 | ||||
-rw-r--r-- | community/pptpd/unrecognized-opt.patch | 13 |
4 files changed, 0 insertions, 75 deletions
diff --git a/community/pptpd/ChangeLog b/community/pptpd/ChangeLog deleted file mode 100644 index 53b159c09..000000000 --- a/community/pptpd/ChangeLog +++ /dev/null @@ -1,3 +0,0 @@ -2007-06-29 tardo <tardo@nagi-fanboi.net> -* Built for x86_64 -* Added autoreconf to help with proper installation of libs diff --git a/community/pptpd/PKGBUILD b/community/pptpd/PKGBUILD deleted file mode 100644 index 8a3a1bd05..000000000 --- a/community/pptpd/PKGBUILD +++ /dev/null @@ -1,49 +0,0 @@ -# $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=13 -pkgdesc="Poptop server" -arch=(i686 x86_64) -url="http://poptop.sourceforge.net/" -license=('GPL') -depends=(ppp glibc) -backup=(etc/pptpd.conf) -source=(http://downloads.sourceforge.net/sourceforge/poptop/pptpd-$pkgver.tar.gz - pptpd.service - unrecognized-opt.patch) -md5sums=('b38df9c431041922c997c1148bedf591' - 'f17df2a137282adbd04c75dd25784a9c' - 'cfa02c86d0413eb94fac15599986f54c') - -build() { - local _pppver=`pacman -Q ppp` - _pppver=${_pppver%-*} - _pppver=${_pppver#ppp } - - 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 \ - --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 - sed -i 's|?=|=|g' plugins/Makefile -} - -package() { - cd $srcdir/$pkgname-$pkgver - 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 -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/ -} diff --git a/community/pptpd/pptpd.service b/community/pptpd/pptpd.service deleted file mode 100644 index c907c0b9f..000000000 --- a/community/pptpd/pptpd.service +++ /dev/null @@ -1,10 +0,0 @@ -[Unit] -Description=PPTP Server -After=network.target - -[Service] -ExecStart=/usr/bin/pptpd -c /etc/pptpd.conf -p /var/run/pptpd.pid -f -StandardOutput=null - -[Install] -WantedBy=multi-user.target diff --git a/community/pptpd/unrecognized-opt.patch b/community/pptpd/unrecognized-opt.patch deleted file mode 100644 index 17ec49e52..000000000 --- a/community/pptpd/unrecognized-opt.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff -wbBur pptpd-1.3.4/pptpctrl.c pptpd-1.3.4.my/pptpctrl.c ---- pptpd-1.3.4/pptpctrl.c 2006-12-08 03:01:40.000000000 +0300 -+++ pptpd-1.3.4.my/pptpctrl.c 2012-05-09 21:13:30.000000000 +0400 -@@ -759,8 +759,8 @@ - syslog(LOG_DEBUG, "CTRL (PPPD Launcher): remote address = %s", pppaddrs[1]); - } - -- if (*pppaddrs[0] || *pppaddrs[1]) { - char pppInterfaceIPs[33]; -+ if (*pppaddrs[0] || *pppaddrs[1]) { - sprintf(pppInterfaceIPs, "%s:%s", pppaddrs[0], pppaddrs[1]); - pppd_argv[an++] = pppInterfaceIPs; - } |