[arch-commits] Commit in networkmanager-openvpn/repos (10 files)

Jan Steffens heftig at archlinux.org
Mon Oct 3 16:40:09 UTC 2016


    Date: Monday, October 3, 2016 @ 16:40:08
  Author: heftig
Revision: 277581

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

Added:
  networkmanager-openvpn/repos/extra-i686/PKGBUILD
    (from rev 277580, networkmanager-openvpn/trunk/PKGBUILD)
  networkmanager-openvpn/repos/extra-i686/networkmanager-openvpn.install
    (from rev 277580, networkmanager-openvpn/trunk/networkmanager-openvpn.install)
  networkmanager-openvpn/repos/extra-x86_64/PKGBUILD
    (from rev 277580, networkmanager-openvpn/trunk/PKGBUILD)
  networkmanager-openvpn/repos/extra-x86_64/networkmanager-openvpn.install
    (from rev 277580, networkmanager-openvpn/trunk/networkmanager-openvpn.install)
Deleted:
  networkmanager-openvpn/repos/extra-i686/PKGBUILD
  networkmanager-openvpn/repos/extra-i686/buildfix.patch
  networkmanager-openvpn/repos/extra-i686/networkmanager-openvpn.install
  networkmanager-openvpn/repos/extra-x86_64/PKGBUILD
  networkmanager-openvpn/repos/extra-x86_64/buildfix.patch
  networkmanager-openvpn/repos/extra-x86_64/networkmanager-openvpn.install

---------------------------------------------+
 /PKGBUILD                                   |   84 ++++++++++++++++++++++++++
 /networkmanager-openvpn.install             |   18 +++++
 extra-i686/PKGBUILD                         |   38 -----------
 extra-i686/buildfix.patch                   |   18 -----
 extra-i686/networkmanager-openvpn.install   |    9 --
 extra-x86_64/PKGBUILD                       |   38 -----------
 extra-x86_64/buildfix.patch                 |   18 -----
 extra-x86_64/networkmanager-openvpn.install |    9 --
 8 files changed, 102 insertions(+), 130 deletions(-)

Deleted: extra-i686/PKGBUILD
===================================================================
--- extra-i686/PKGBUILD	2016-10-03 16:39:13 UTC (rev 277580)
+++ extra-i686/PKGBUILD	2016-10-03 16:40:08 UTC (rev 277581)
@@ -1,38 +0,0 @@
-# $Id$
-# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
-# Contributor: Ionut Biru <ibiru at archlinux.org>
-
-pkgname=networkmanager-openvpn
-pkgver=1.2.4
-pkgrel=1
-pkgdesc="NetworkManager VPN plugin for OpenVPN"
-url="https://wiki.gnome.org/Projects/NetworkManager"
-arch=(i686 x86_64)
-license=(GPL)
-depends=(libnm-gtk libsecret openvpn)
-makedepends=(intltool python)
-install=networkmanager-openvpn.install
-source=(http://ftp.gnome.org/pub/GNOME/sources/NetworkManager-openvpn/${pkgver::3}/NetworkManager-openvpn-${pkgver}.tar.xz
-        buildfix.patch)
-sha256sums=('db6b4d5bc49c68990703c90f2cfbdc6a94e16f702b0740085017d5c06d3e5b9d'
-            'd300dde598151646554a610256282fc12d098c3bcd19c44e3768efdaa66cea32')
-
-prepare() {
-  cd NetworkManager-openvpn-$pkgver
-  patch -Np1 -i ../buildfix.patch
-  autoreconf -fvi
-}
-
-build() {
-  cd NetworkManager-openvpn-$pkgver
-  ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
-    --libexecdir=/usr/lib/networkmanager \
-    --enable-more-warnings=yes \
-    --disable-static
-  make
-}
-
-package() {
-  cd NetworkManager-openvpn-$pkgver
-  make DESTDIR="$pkgdir" install
-}

Copied: networkmanager-openvpn/repos/extra-i686/PKGBUILD (from rev 277580, networkmanager-openvpn/trunk/PKGBUILD)
===================================================================
--- extra-i686/PKGBUILD	                        (rev 0)
+++ extra-i686/PKGBUILD	2016-10-03 16:40:08 UTC (rev 277581)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Contributor: Ionut Biru <ibiru at archlinux.org>
+
+pkgname=networkmanager-openvpn
+pkgver=1.2.6
+pkgrel=1
+pkgdesc="NetworkManager VPN plugin for OpenVPN"
+url="https://wiki.gnome.org/Projects/NetworkManager"
+arch=(i686 x86_64)
+license=(GPL)
+depends=(libnm-glib libsecret openvpn)
+makedepends=(libnm-gtk intltool python git)
+install=networkmanager-openvpn.install
+_commit=41d2ad56b6436e6e6fa5c41609fd64fb60e33b48  # tags/1.2.7-dev~1
+source=("git://git.gnome.org/network-manager-openvpn#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+  cd network-manager-openvpn
+  git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+  cd network-manager-openvpn
+  NOCONFIGURE=1 ./autogen.sh
+}
+
+build() {
+  cd network-manager-openvpn
+  ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
+    --libexecdir=/usr/lib/networkmanager \
+    --enable-more-warnings=yes \
+    --disable-static
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+  make
+}
+
+package() {
+  cd network-manager-openvpn
+  make DESTDIR="$pkgdir" install
+}

Deleted: extra-i686/buildfix.patch
===================================================================
--- extra-i686/buildfix.patch	2016-10-03 16:39:13 UTC (rev 277580)
+++ extra-i686/buildfix.patch	2016-10-03 16:40:08 UTC (rev 277581)
@@ -1,18 +0,0 @@
-diff -u -r NetworkManager-openvpn-1.2.4/properties/tests/Makefile.am NetworkManager-openvpn-1.2.4-buildfix/properties/tests/Makefile.am
---- NetworkManager-openvpn-1.2.4/properties/tests/Makefile.am	2016-07-02 11:28:03.000000000 +0200
-+++ NetworkManager-openvpn-1.2.4-buildfix/properties/tests/Makefile.am	2016-07-10 20:45:57.976832915 +0200
-@@ -23,12 +23,12 @@
- 	$(LIBNMA_CFLAGS)
- 
- test_import_export_LDADD = \
-+	$(top_builddir)/properties/libnm-vpn-plugin-openvpn-test.la \
- 	$(GTHREAD_LIBS) \
- 	$(GTK_LIBS) \
- 	$(LIBNM_LIBS) \
- 	$(LIBNMA_LIBS) \
--	-ldl \
--	$(top_builddir)/properties/libnm-vpn-plugin-openvpn-test.la
-+	-ldl
- 
- 
- test_import_export_glib_SOURCES = \

Deleted: extra-i686/networkmanager-openvpn.install
===================================================================
--- extra-i686/networkmanager-openvpn.install	2016-10-03 16:39:13 UTC (rev 277580)
+++ extra-i686/networkmanager-openvpn.install	2016-10-03 16:40:08 UTC (rev 277581)
@@ -1,9 +0,0 @@
-post_install() {
-  if ! getent passwd nm-openvpn >/dev/null; then
-    useradd -r -U -d / -c 'NetworkManager OpenVPN' -s /usr/bin/nologin nm-openvpn
-  fi
-}
-
-post_upgrade() {
-  post_install $1
-}

Copied: networkmanager-openvpn/repos/extra-i686/networkmanager-openvpn.install (from rev 277580, networkmanager-openvpn/trunk/networkmanager-openvpn.install)
===================================================================
--- extra-i686/networkmanager-openvpn.install	                        (rev 0)
+++ extra-i686/networkmanager-openvpn.install	2016-10-03 16:40:08 UTC (rev 277581)
@@ -0,0 +1,9 @@
+post_install() {
+  if ! getent passwd nm-openvpn >/dev/null; then
+    useradd -r -U -d / -c 'NetworkManager OpenVPN' -s /usr/bin/nologin nm-openvpn
+  fi
+}
+
+post_upgrade() {
+  post_install $1
+}

Deleted: extra-x86_64/PKGBUILD
===================================================================
--- extra-x86_64/PKGBUILD	2016-10-03 16:39:13 UTC (rev 277580)
+++ extra-x86_64/PKGBUILD	2016-10-03 16:40:08 UTC (rev 277581)
@@ -1,38 +0,0 @@
-# $Id$
-# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
-# Contributor: Ionut Biru <ibiru at archlinux.org>
-
-pkgname=networkmanager-openvpn
-pkgver=1.2.4
-pkgrel=1
-pkgdesc="NetworkManager VPN plugin for OpenVPN"
-url="https://wiki.gnome.org/Projects/NetworkManager"
-arch=(i686 x86_64)
-license=(GPL)
-depends=(libnm-gtk libsecret openvpn)
-makedepends=(intltool python)
-install=networkmanager-openvpn.install
-source=(http://ftp.gnome.org/pub/GNOME/sources/NetworkManager-openvpn/${pkgver::3}/NetworkManager-openvpn-${pkgver}.tar.xz
-        buildfix.patch)
-sha256sums=('db6b4d5bc49c68990703c90f2cfbdc6a94e16f702b0740085017d5c06d3e5b9d'
-            'd300dde598151646554a610256282fc12d098c3bcd19c44e3768efdaa66cea32')
-
-prepare() {
-  cd NetworkManager-openvpn-$pkgver
-  patch -Np1 -i ../buildfix.patch
-  autoreconf -fvi
-}
-
-build() {
-  cd NetworkManager-openvpn-$pkgver
-  ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
-    --libexecdir=/usr/lib/networkmanager \
-    --enable-more-warnings=yes \
-    --disable-static
-  make
-}
-
-package() {
-  cd NetworkManager-openvpn-$pkgver
-  make DESTDIR="$pkgdir" install
-}

Copied: networkmanager-openvpn/repos/extra-x86_64/PKGBUILD (from rev 277580, networkmanager-openvpn/trunk/PKGBUILD)
===================================================================
--- extra-x86_64/PKGBUILD	                        (rev 0)
+++ extra-x86_64/PKGBUILD	2016-10-03 16:40:08 UTC (rev 277581)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Contributor: Ionut Biru <ibiru at archlinux.org>
+
+pkgname=networkmanager-openvpn
+pkgver=1.2.6
+pkgrel=1
+pkgdesc="NetworkManager VPN plugin for OpenVPN"
+url="https://wiki.gnome.org/Projects/NetworkManager"
+arch=(i686 x86_64)
+license=(GPL)
+depends=(libnm-glib libsecret openvpn)
+makedepends=(libnm-gtk intltool python git)
+install=networkmanager-openvpn.install
+_commit=41d2ad56b6436e6e6fa5c41609fd64fb60e33b48  # tags/1.2.7-dev~1
+source=("git://git.gnome.org/network-manager-openvpn#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+  cd network-manager-openvpn
+  git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+  cd network-manager-openvpn
+  NOCONFIGURE=1 ./autogen.sh
+}
+
+build() {
+  cd network-manager-openvpn
+  ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
+    --libexecdir=/usr/lib/networkmanager \
+    --enable-more-warnings=yes \
+    --disable-static
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+  make
+}
+
+package() {
+  cd network-manager-openvpn
+  make DESTDIR="$pkgdir" install
+}

Deleted: extra-x86_64/buildfix.patch
===================================================================
--- extra-x86_64/buildfix.patch	2016-10-03 16:39:13 UTC (rev 277580)
+++ extra-x86_64/buildfix.patch	2016-10-03 16:40:08 UTC (rev 277581)
@@ -1,18 +0,0 @@
-diff -u -r NetworkManager-openvpn-1.2.4/properties/tests/Makefile.am NetworkManager-openvpn-1.2.4-buildfix/properties/tests/Makefile.am
---- NetworkManager-openvpn-1.2.4/properties/tests/Makefile.am	2016-07-02 11:28:03.000000000 +0200
-+++ NetworkManager-openvpn-1.2.4-buildfix/properties/tests/Makefile.am	2016-07-10 20:45:57.976832915 +0200
-@@ -23,12 +23,12 @@
- 	$(LIBNMA_CFLAGS)
- 
- test_import_export_LDADD = \
-+	$(top_builddir)/properties/libnm-vpn-plugin-openvpn-test.la \
- 	$(GTHREAD_LIBS) \
- 	$(GTK_LIBS) \
- 	$(LIBNM_LIBS) \
- 	$(LIBNMA_LIBS) \
--	-ldl \
--	$(top_builddir)/properties/libnm-vpn-plugin-openvpn-test.la
-+	-ldl
- 
- 
- test_import_export_glib_SOURCES = \

Deleted: extra-x86_64/networkmanager-openvpn.install
===================================================================
--- extra-x86_64/networkmanager-openvpn.install	2016-10-03 16:39:13 UTC (rev 277580)
+++ extra-x86_64/networkmanager-openvpn.install	2016-10-03 16:40:08 UTC (rev 277581)
@@ -1,9 +0,0 @@
-post_install() {
-  if ! getent passwd nm-openvpn >/dev/null; then
-    useradd -r -U -d / -c 'NetworkManager OpenVPN' -s /usr/bin/nologin nm-openvpn
-  fi
-}
-
-post_upgrade() {
-  post_install $1
-}

Copied: networkmanager-openvpn/repos/extra-x86_64/networkmanager-openvpn.install (from rev 277580, networkmanager-openvpn/trunk/networkmanager-openvpn.install)
===================================================================
--- extra-x86_64/networkmanager-openvpn.install	                        (rev 0)
+++ extra-x86_64/networkmanager-openvpn.install	2016-10-03 16:40:08 UTC (rev 277581)
@@ -0,0 +1,9 @@
+post_install() {
+  if ! getent passwd nm-openvpn >/dev/null; then
+    useradd -r -U -d / -c 'NetworkManager OpenVPN' -s /usr/bin/nologin nm-openvpn
+  fi
+}
+
+post_upgrade() {
+  post_install $1
+}



More information about the arch-commits mailing list