[arch-commits] Commit in networkmanager-l2tp/repos/community-x86_64 (2 files)

Alexander Rødseth arodseth at archlinux.org
Mon Feb 8 14:04:13 UTC 2021


    Date: Monday, February 8, 2021 @ 14:04:13
  Author: arodseth
Revision: 849112

archrelease: copy trunk to community-x86_64

Added:
  networkmanager-l2tp/repos/community-x86_64/PKGBUILD
    (from rev 849111, networkmanager-l2tp/trunk/PKGBUILD)
Deleted:
  networkmanager-l2tp/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   85 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 43 insertions(+), 42 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-02-08 14:04:08 UTC (rev 849111)
+++ PKGBUILD	2021-02-08 14:04:13 UTC (rev 849112)
@@ -1,42 +0,0 @@
-# Maintainer: Alexander F. Rødseth <xyproto at archlinux.org>
-# Contributor: Miles McLean <mills00013 at gmail.com>
-# Contributor: Andrea Scarpino <andrea at archlinux.org>
-# Contributor: Brad Pitcher <bradpitcher at gmail.com>
-# Contributor: Moritz Lipp <mlq at pwmt.org>
-
-pkgname=networkmanager-l2tp
-pkgver=1.8.6
-_pppver=2.4.8
-pkgrel=1
-pkgdesc='L2TP support for NetworkManager'
-arch=(x86_64)
-url='https://github.com/nm-l2tp/NetworkManager-l2tp'
-license=(GPL2)
-depends=(libnm libsecret nss openssl "ppp=$_pppver" xl2tpd)
-makedepends=(intltool libnma python)
-optdepends=('libreswan: IPSec support (recommended)'
-            'strongswan: IPSec support')
-source=("$pkgname-$pkgver.tar.gz"::"$url/archive/$pkgver.tar.gz")
-sha256sums=('1455b2bc0dd802522e79a176c654d1a19482b6a26d7c3a9c0fce2ee2dbb892e2')
-
-prepare() {
-  ln -sf NetworkManager-l2tp-$pkgver $pkgname
-  cd $pkgname
-  NOCONFIGURE=1 ./autogen.sh
-}
-
-build() {
-  cd $pkgname
-  ./configure \
-    --localstatedir=/var \
-    --libexecdir=/usr/lib/NetworkManager \
-    --prefix=/usr \
-    --sysconfdir=/etc \
-    --with-pppd-plugin-dir=/usr/lib/pppd/$_pppver
-  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
-  make
-}
-
-package() {
-  make -C $pkgname DESTDIR="$pkgdir" install
-}

Copied: networkmanager-l2tp/repos/community-x86_64/PKGBUILD (from rev 849111, networkmanager-l2tp/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-02-08 14:04:13 UTC (rev 849112)
@@ -0,0 +1,43 @@
+# Maintainer: Alexander F. Rødseth <xyproto at archlinux.org>
+# Contributor: Miles McLean <mills00013 at gmail.com>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: Brad Pitcher <bradpitcher at gmail.com>
+# Contributor: Moritz Lipp <mlq at pwmt.org>
+
+pkgname=networkmanager-l2tp
+pkgver=1.8.6
+_pppver=2.4.8
+pkgrel=4
+pkgdesc='L2TP support for NetworkManager'
+arch=(x86_64)
+url='https://github.com/nm-l2tp/NetworkManager-l2tp'
+license=(GPL2)
+depends=(libnma libsecret openssl "ppp=$_pppver" xl2tpd)
+makedepends=(intltool python)
+optdepends=('libreswan: IPSec support (recommended)'
+            'strongswan: IPSec support')
+source=("$pkgname-$pkgver.tar.gz"::"$url/archive/$pkgver.tar.gz")
+sha256sums=('1455b2bc0dd802522e79a176c654d1a19482b6a26d7c3a9c0fce2ee2dbb892e2')
+
+prepare() {
+  ln -sf NetworkManager-l2tp-$pkgver $pkgname
+  cd $pkgname
+  NOCONFIGURE=1 ./autogen.sh
+}
+
+build() {
+  cd $pkgname
+  ./configure \
+    --localstatedir=/var \
+    --libexecdir=/usr/lib/NetworkManager \
+    --prefix=/usr \
+    --sysconfdir=/etc \
+    --with-pppd-plugin-dir=/usr/lib/pppd/$_pppver
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+  make
+}
+
+package() {
+  make -C $pkgname DESTDIR="$pkgdir" install
+  install -Dm644 $pkgname/NEWS "$pkgdir/usr/share/doc/$pkgname/NEWS"
+}


More information about the arch-commits mailing list