[arch-commits] Commit in pptpclient/repos (4 files)

Pierre Schmitz pierre at archlinux.org
Sat Nov 5 06:12:06 EDT 2011


    Date: Saturday, November 5, 2011 @ 06:12:06
  Author: pierre
Revision: 142106

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  pptpclient/repos/testing-i686/
  pptpclient/repos/testing-i686/PKGBUILD
    (from rev 142105, pptpclient/trunk/PKGBUILD)
  pptpclient/repos/testing-x86_64/
  pptpclient/repos/testing-x86_64/PKGBUILD
    (from rev 142105, pptpclient/trunk/PKGBUILD)

-------------------------+
 testing-i686/PKGBUILD   |   33 +++++++++++++++++++++++++++++++++
 testing-x86_64/PKGBUILD |   33 +++++++++++++++++++++++++++++++++
 2 files changed, 66 insertions(+)

Copied: pptpclient/repos/testing-i686/PKGBUILD (from rev 142105, pptpclient/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2011-11-05 10:12:06 UTC (rev 142106)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Daniel Isenmann <daniel @ archlinux.org>
+# Contributor: Mark Nikkel <mnikkel at gmail.com>
+
+pkgname=pptpclient
+pkgver=1.7.2
+pkgrel=4
+pkgdesc="Client for the proprietary Microsoft Point-to-Point Tunneling Protocol, PPTP."
+arch=('i686' 'x86_64')
+url="http://pptpclient.sourceforge.net/"
+license=('GPL')
+depends=('ppp' 'iproute2')
+backup=('etc/ppp/options.pptp')
+source=("http://downloads.sourceforge.net/sourceforge/pptpclient/pptp-$pkgver.tar.gz")
+md5sums=('4c3d19286a37459a632c7128c92a9857')
+
+build() {
+  cd $srcdir/pptp-$pkgver
+
+  # use our CFLAGS and LDFLAGS
+  sed -i -e "/CFLAGS  =/ c\CFLAGS = ${CFLAGS}" Makefile
+  sed -i -e "/LDFLAGS =/ c\LDFLAGS = ${LDFLAGS}" Makefile
+
+  # adjust ip path
+  sed -i 's#/bin/ip#/usr/sbin/ip#' routing.c
+
+  make 
+}
+
+package() {
+  cd $srcdir/pptp-$pkgver
+  make DESTDIR=$pkgdir install
+}

Copied: pptpclient/repos/testing-x86_64/PKGBUILD (from rev 142105, pptpclient/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2011-11-05 10:12:06 UTC (rev 142106)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Daniel Isenmann <daniel @ archlinux.org>
+# Contributor: Mark Nikkel <mnikkel at gmail.com>
+
+pkgname=pptpclient
+pkgver=1.7.2
+pkgrel=4
+pkgdesc="Client for the proprietary Microsoft Point-to-Point Tunneling Protocol, PPTP."
+arch=('i686' 'x86_64')
+url="http://pptpclient.sourceforge.net/"
+license=('GPL')
+depends=('ppp' 'iproute2')
+backup=('etc/ppp/options.pptp')
+source=("http://downloads.sourceforge.net/sourceforge/pptpclient/pptp-$pkgver.tar.gz")
+md5sums=('4c3d19286a37459a632c7128c92a9857')
+
+build() {
+  cd $srcdir/pptp-$pkgver
+
+  # use our CFLAGS and LDFLAGS
+  sed -i -e "/CFLAGS  =/ c\CFLAGS = ${CFLAGS}" Makefile
+  sed -i -e "/LDFLAGS =/ c\LDFLAGS = ${LDFLAGS}" Makefile
+
+  # adjust ip path
+  sed -i 's#/bin/ip#/usr/sbin/ip#' routing.c
+
+  make 
+}
+
+package() {
+  cd $srcdir/pptp-$pkgver
+  make DESTDIR=$pkgdir install
+}



More information about the arch-commits mailing list