[arch-commits] Commit in wireguard/repos (6 files)

Christian Hesse eworm at archlinux.org
Wed Jul 26 07:25:20 UTC 2017


    Date: Wednesday, July 26, 2017 @ 07:25:20
  Author: eworm
Revision: 246401

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

Added:
  wireguard/repos/community-i686/PKGBUILD
    (from rev 246400, wireguard/trunk/PKGBUILD)
  wireguard/repos/community-x86_64/PKGBUILD
    (from rev 246400, wireguard/trunk/PKGBUILD)
Deleted:
  wireguard/repos/community-i686/0001-compat-priv_destructor-got-backported.patch
  wireguard/repos/community-i686/PKGBUILD
  wireguard/repos/community-x86_64/0001-compat-priv_destructor-got-backported.patch
  wireguard/repos/community-x86_64/PKGBUILD

-------------------------------------------------------------------+
 /PKGBUILD                                                         |  112 ++++++++++
 community-i686/0001-compat-priv_destructor-got-backported.patch   |   53 ----
 community-i686/PKGBUILD                                           |   56 -----
 community-x86_64/0001-compat-priv_destructor-got-backported.patch |   53 ----
 community-x86_64/PKGBUILD                                         |   56 -----
 5 files changed, 112 insertions(+), 218 deletions(-)

Deleted: community-i686/0001-compat-priv_destructor-got-backported.patch
===================================================================
--- community-i686/0001-compat-priv_destructor-got-backported.patch	2017-07-26 07:25:15 UTC (rev 246400)
+++ community-i686/0001-compat-priv_destructor-got-backported.patch	2017-07-26 07:25:20 UTC (rev 246401)
@@ -1,53 +0,0 @@
-From a421219ea718761ed235b501da6e322fc2a05ee0 Mon Sep 17 00:00:00 2001
-From: "Jason A. Donenfeld" <Jason at zx2c4.com>
-Date: Thu, 6 Jul 2017 13:26:18 +0200
-Subject: [PATCH 1/1] compat: priv_destructor got backported
----
- src/device.c | 12 +++++++-----
- 1 file changed, 7 insertions(+), 5 deletions(-)
-
-diff --git a/src/device.c b/src/device.c
-index c299d19..fb5f148 100644
---- a/src/device.c
-+++ b/src/device.c
-@@ -240,7 +240,7 @@ static void destruct(struct net_device *dev)
- 	put_net(wg->creating_net);
- 
- 	pr_debug("%s: Interface deleted\n", dev->name);
--#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 12, 0)
-+#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 11, 9)
- 	free_netdev(dev);
- #endif
- }
-@@ -251,7 +251,7 @@ static void setup(struct net_device *dev)
- 	enum { WG_NETDEV_FEATURES = NETIF_F_HW_CSUM | NETIF_F_RXCSUM | NETIF_F_SG | NETIF_F_GSO | NETIF_F_GSO_SOFTWARE | NETIF_F_HIGHDMA };
- 
- 	dev->netdev_ops = &netdev_ops;
--#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 12, 0)
-+#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 11, 9)
- 	dev->destructor = destruct;
- #else
- 	dev->priv_destructor = destruct;
-@@ -337,17 +337,19 @@ static int newlink(struct net *src_net, struct net_device *dev, struct nlattr *t
- 	if (ret < 0)
- 		goto error_8;
- 
-+	list_add(&wg->device_list, &device_list);
-+
- 	ret = register_netdevice(dev);
--#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 12, 0)
-+#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 11, 9)
- 	if (ret < 0)
- 		goto error_9;
- #endif
--	list_add(&wg->device_list, &device_list);
- 	pr_debug("%s: Interface created\n", dev->name);
- 	return ret;
- 
--#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 12, 0)
-+#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 11, 9)
- error_9:
-+	list_del(&wg->device_list);
- 	ratelimiter_uninit();
- #endif
- error_8:

Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD	2017-07-26 07:25:15 UTC (rev 246400)
+++ community-i686/PKGBUILD	2017-07-26 07:25:20 UTC (rev 246401)
@@ -1,56 +0,0 @@
-# $Id$
-# Maintainer: Christian Hesse <mail at eworm.de>
-# Contributor: Jason A. Donenfeld <Jason at zx2c4.com>
-
-pkgbase=wireguard
-pkgname=(wireguard-dkms wireguard-tools)
-pkgver=0.0.20170706
-pkgrel=1
-pkgdesc='next generation secure network tunnel'
-arch=('x86_64' 'i686')
-url='http://www.wireguard.io/'
-license=('GPL')
-makedepends=('git' 'libmnl')
-source=("${pkgbase}-${pkgver}.tar.xz::https://git.zx2c4.com/WireGuard/snapshot/WireGuard-${pkgver}.tar.xz")
-sha256sums=('5763b9436265421a67f92cb82142042867fc87c573ecc18033d40c1476146c33')
-
-prepare() {
-	cd WireGuard-${pkgver}/
-
-	find contrib/examples/ -name '.gitignore' -delete
-}
-
-build() {
-	cd WireGuard-${pkgver}/
-
-	make -C src/tools/
-}
-
-package_wireguard-dkms() {
-	depends=('dkms')
-	provides=('WIREGUARD-MODULE')
-
-	cd WireGuard-${pkgver}/
-
-	make -C src/ \
-		DESTDIR="${pkgdir}/" \
-		DKMSDIR="/usr/src/wireguard-${pkgver}/" \
-		dkms-install
-}
-
-package_wireguard-tools() {
-	depends=('libmnl' 'WIREGUARD-MODULE')
-
-	cd WireGuard-${pkgver}/
-
-	make -C src/tools/ \
-		DESTDIR="${pkgdir}/" \
-		WITH_BASHCOMPLETION=yes \
-                WITH_WGQUICK=yes \
-                WITH_SYSTEMDUNITS=yes \
-                install
-
-	install -d -m0755 "${pkgdir}"/usr/share/${pkgbase}/
-	cp -r contrib/examples/ "${pkgdir}"/usr/share/${pkgbase}/
-}
-

Copied: wireguard/repos/community-i686/PKGBUILD (from rev 246400, wireguard/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2017-07-26 07:25:20 UTC (rev 246401)
@@ -0,0 +1,56 @@
+# $Id$
+# Maintainer: Christian Hesse <mail at eworm.de>
+# Contributor: Jason A. Donenfeld <Jason at zx2c4.com>
+
+pkgbase=wireguard
+pkgname=(wireguard-dkms wireguard-tools)
+pkgver=0.0.20170726
+pkgrel=1
+pkgdesc='next generation secure network tunnel'
+arch=('x86_64' 'i686')
+url='http://www.wireguard.io/'
+license=('GPL')
+makedepends=('git' 'libmnl')
+source=("${pkgbase}-${pkgver}.tar.xz::https://git.zx2c4.com/WireGuard/snapshot/WireGuard-${pkgver}.tar.xz")
+sha256sums=('db91452b6b5ec28049721a520fe4fd0683825bad45b7383d12d7b819668201db')
+
+prepare() {
+	cd WireGuard-${pkgver}/
+
+	find contrib/examples/ -name '.gitignore' -delete
+}
+
+build() {
+	cd WireGuard-${pkgver}/
+
+	make -C src/tools/
+}
+
+package_wireguard-dkms() {
+	depends=('dkms')
+	provides=('WIREGUARD-MODULE')
+
+	cd WireGuard-${pkgver}/
+
+	make -C src/ \
+		DESTDIR="${pkgdir}/" \
+		DKMSDIR="/usr/src/wireguard-${pkgver}/" \
+		dkms-install
+}
+
+package_wireguard-tools() {
+	depends=('libmnl' 'WIREGUARD-MODULE')
+
+	cd WireGuard-${pkgver}/
+
+	make -C src/tools/ \
+		DESTDIR="${pkgdir}/" \
+		WITH_BASHCOMPLETION=yes \
+                WITH_WGQUICK=yes \
+                WITH_SYSTEMDUNITS=yes \
+                install
+
+	install -d -m0755 "${pkgdir}"/usr/share/${pkgbase}/
+	cp -r contrib/examples/ "${pkgdir}"/usr/share/${pkgbase}/
+}
+

Deleted: community-x86_64/0001-compat-priv_destructor-got-backported.patch
===================================================================
--- community-x86_64/0001-compat-priv_destructor-got-backported.patch	2017-07-26 07:25:15 UTC (rev 246400)
+++ community-x86_64/0001-compat-priv_destructor-got-backported.patch	2017-07-26 07:25:20 UTC (rev 246401)
@@ -1,53 +0,0 @@
-From a421219ea718761ed235b501da6e322fc2a05ee0 Mon Sep 17 00:00:00 2001
-From: "Jason A. Donenfeld" <Jason at zx2c4.com>
-Date: Thu, 6 Jul 2017 13:26:18 +0200
-Subject: [PATCH 1/1] compat: priv_destructor got backported
----
- src/device.c | 12 +++++++-----
- 1 file changed, 7 insertions(+), 5 deletions(-)
-
-diff --git a/src/device.c b/src/device.c
-index c299d19..fb5f148 100644
---- a/src/device.c
-+++ b/src/device.c
-@@ -240,7 +240,7 @@ static void destruct(struct net_device *dev)
- 	put_net(wg->creating_net);
- 
- 	pr_debug("%s: Interface deleted\n", dev->name);
--#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 12, 0)
-+#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 11, 9)
- 	free_netdev(dev);
- #endif
- }
-@@ -251,7 +251,7 @@ static void setup(struct net_device *dev)
- 	enum { WG_NETDEV_FEATURES = NETIF_F_HW_CSUM | NETIF_F_RXCSUM | NETIF_F_SG | NETIF_F_GSO | NETIF_F_GSO_SOFTWARE | NETIF_F_HIGHDMA };
- 
- 	dev->netdev_ops = &netdev_ops;
--#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 12, 0)
-+#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 11, 9)
- 	dev->destructor = destruct;
- #else
- 	dev->priv_destructor = destruct;
-@@ -337,17 +337,19 @@ static int newlink(struct net *src_net, struct net_device *dev, struct nlattr *t
- 	if (ret < 0)
- 		goto error_8;
- 
-+	list_add(&wg->device_list, &device_list);
-+
- 	ret = register_netdevice(dev);
--#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 12, 0)
-+#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 11, 9)
- 	if (ret < 0)
- 		goto error_9;
- #endif
--	list_add(&wg->device_list, &device_list);
- 	pr_debug("%s: Interface created\n", dev->name);
- 	return ret;
- 
--#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 12, 0)
-+#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 11, 9)
- error_9:
-+	list_del(&wg->device_list);
- 	ratelimiter_uninit();
- #endif
- error_8:

Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD	2017-07-26 07:25:15 UTC (rev 246400)
+++ community-x86_64/PKGBUILD	2017-07-26 07:25:20 UTC (rev 246401)
@@ -1,56 +0,0 @@
-# $Id$
-# Maintainer: Christian Hesse <mail at eworm.de>
-# Contributor: Jason A. Donenfeld <Jason at zx2c4.com>
-
-pkgbase=wireguard
-pkgname=(wireguard-dkms wireguard-tools)
-pkgver=0.0.20170706
-pkgrel=1
-pkgdesc='next generation secure network tunnel'
-arch=('x86_64' 'i686')
-url='http://www.wireguard.io/'
-license=('GPL')
-makedepends=('git' 'libmnl')
-source=("${pkgbase}-${pkgver}.tar.xz::https://git.zx2c4.com/WireGuard/snapshot/WireGuard-${pkgver}.tar.xz")
-sha256sums=('5763b9436265421a67f92cb82142042867fc87c573ecc18033d40c1476146c33')
-
-prepare() {
-	cd WireGuard-${pkgver}/
-
-	find contrib/examples/ -name '.gitignore' -delete
-}
-
-build() {
-	cd WireGuard-${pkgver}/
-
-	make -C src/tools/
-}
-
-package_wireguard-dkms() {
-	depends=('dkms')
-	provides=('WIREGUARD-MODULE')
-
-	cd WireGuard-${pkgver}/
-
-	make -C src/ \
-		DESTDIR="${pkgdir}/" \
-		DKMSDIR="/usr/src/wireguard-${pkgver}/" \
-		dkms-install
-}
-
-package_wireguard-tools() {
-	depends=('libmnl' 'WIREGUARD-MODULE')
-
-	cd WireGuard-${pkgver}/
-
-	make -C src/tools/ \
-		DESTDIR="${pkgdir}/" \
-		WITH_BASHCOMPLETION=yes \
-                WITH_WGQUICK=yes \
-                WITH_SYSTEMDUNITS=yes \
-                install
-
-	install -d -m0755 "${pkgdir}"/usr/share/${pkgbase}/
-	cp -r contrib/examples/ "${pkgdir}"/usr/share/${pkgbase}/
-}
-

Copied: wireguard/repos/community-x86_64/PKGBUILD (from rev 246400, wireguard/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2017-07-26 07:25:20 UTC (rev 246401)
@@ -0,0 +1,56 @@
+# $Id$
+# Maintainer: Christian Hesse <mail at eworm.de>
+# Contributor: Jason A. Donenfeld <Jason at zx2c4.com>
+
+pkgbase=wireguard
+pkgname=(wireguard-dkms wireguard-tools)
+pkgver=0.0.20170726
+pkgrel=1
+pkgdesc='next generation secure network tunnel'
+arch=('x86_64' 'i686')
+url='http://www.wireguard.io/'
+license=('GPL')
+makedepends=('git' 'libmnl')
+source=("${pkgbase}-${pkgver}.tar.xz::https://git.zx2c4.com/WireGuard/snapshot/WireGuard-${pkgver}.tar.xz")
+sha256sums=('db91452b6b5ec28049721a520fe4fd0683825bad45b7383d12d7b819668201db')
+
+prepare() {
+	cd WireGuard-${pkgver}/
+
+	find contrib/examples/ -name '.gitignore' -delete
+}
+
+build() {
+	cd WireGuard-${pkgver}/
+
+	make -C src/tools/
+}
+
+package_wireguard-dkms() {
+	depends=('dkms')
+	provides=('WIREGUARD-MODULE')
+
+	cd WireGuard-${pkgver}/
+
+	make -C src/ \
+		DESTDIR="${pkgdir}/" \
+		DKMSDIR="/usr/src/wireguard-${pkgver}/" \
+		dkms-install
+}
+
+package_wireguard-tools() {
+	depends=('libmnl' 'WIREGUARD-MODULE')
+
+	cd WireGuard-${pkgver}/
+
+	make -C src/tools/ \
+		DESTDIR="${pkgdir}/" \
+		WITH_BASHCOMPLETION=yes \
+                WITH_WGQUICK=yes \
+                WITH_SYSTEMDUNITS=yes \
+                install
+
+	install -d -m0755 "${pkgdir}"/usr/share/${pkgbase}/
+	cp -r contrib/examples/ "${pkgdir}"/usr/share/${pkgbase}/
+}
+



More information about the arch-commits mailing list