[arch-commits] Commit in wireguard/repos/community-x86_64 (3 files)
Christian Hesse
eworm at archlinux.org
Thu Dec 19 08:07:32 UTC 2019
Date: Thursday, December 19, 2019 @ 08:07:32
Author: eworm
Revision: 538368
archrelease: copy trunk to community-x86_64
Added:
wireguard/repos/community-x86_64/PKGBUILD
(from rev 538367, wireguard/trunk/PKGBUILD)
Deleted:
wireguard/repos/community-x86_64/PKGBUILD
wireguard/repos/community-x86_64/kernel-5.4.5.patch
--------------------+
PKGBUILD | 126 ++++++++++++++++++++++++---------------------------
kernel-5.4.5.patch | 12 ----
2 files changed, 61 insertions(+), 77 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2019-12-19 08:07:29 UTC (rev 538367)
+++ PKGBUILD 2019-12-19 08:07:32 UTC (rev 538368)
@@ -1,65 +0,0 @@
-# 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.20191212
-pkgrel=2
-pkgdesc='next generation secure network tunnel'
-arch=('x86_64')
-url='http://www.wireguard.com/'
-license=('GPL')
-makedepends=('git' 'libmnl')
-validpgpkeys=('AB9942E6D4A4CFC3412620A749FC7012A5DE03AE') # Jason A. Donenfeld <Jason at zx2c4.com>
-source=("https://git.zx2c4.com/WireGuard/snapshot/WireGuard-${pkgver}.tar"{.xz,.asc}
- kernel-5.4.5.patch)
-sha256sums=('b0d718380f7a8822b2f12d75e462fa4eafa3a77871002981f367cd4fe2a1b071'
- 'SKIP'
- '603e53fb70ef0b40601924f699c3629c65c879e03c57b3e628e5fea47ac710ba')
-
-prepare() {
- cd WireGuard-${pkgver}/
-
- patch -Np1 -i ../kernel-5.4.5.patch
-
- 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')
- optdepends=('openresolv: for DNS functionality'
- 'wireguard-dkms: wireguard module, built by dkms'
- 'wireguard-arch: wireguard module for linux'
- 'wireguard-lts: wireguard module for linux-lts')
-
- 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 538367, wireguard/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2019-12-19 08:07:32 UTC (rev 538368)
@@ -0,0 +1,61 @@
+# 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.20191219
+pkgrel=1
+pkgdesc='next generation secure network tunnel'
+arch=('x86_64')
+url='http://www.wireguard.com/'
+license=('GPL')
+makedepends=('git' 'libmnl')
+validpgpkeys=('AB9942E6D4A4CFC3412620A749FC7012A5DE03AE') # Jason A. Donenfeld <Jason at zx2c4.com>
+source=("https://git.zx2c4.com/WireGuard/snapshot/WireGuard-${pkgver}.tar"{.xz,.asc})
+sha256sums=('5aba6f0c38e97faa0b155623ba594bb0e4bd5e29deacd8d5ed8bda8d8283b0e7'
+ 'SKIP')
+
+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')
+ optdepends=('openresolv: for DNS functionality'
+ 'wireguard-dkms: wireguard module, built by dkms'
+ 'wireguard-arch: wireguard module for linux'
+ 'wireguard-lts: wireguard module for linux-lts')
+
+ 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: kernel-5.4.5.patch
===================================================================
--- kernel-5.4.5.patch 2019-12-19 08:07:29 UTC (rev 538367)
+++ kernel-5.4.5.patch 2019-12-19 08:07:32 UTC (rev 538368)
@@ -1,12 +0,0 @@
-diff -u -r WireGuard-0.0.20191212/src/compat/compat.h WireGuard-0.0.20191212-linux-5.4.5/src/compat/compat.h
---- WireGuard-0.0.20191212/src/compat/compat.h 2019-12-12 11:24:51.000000000 +0000
-+++ WireGuard-0.0.20191212-linux-5.4.5/src/compat/compat.h 2019-12-18 20:40:30.831102200 +0000
-@@ -861,7 +861,7 @@
- })
- #endif
-
--#if LINUX_VERSION_CODE < KERNEL_VERSION(5, 5, 0)
-+#if LINUX_VERSION_CODE < KERNEL_VERSION(5, 4, 5)
- #define ipv6_dst_lookup_flow(a, b, c, d) ipv6_dst_lookup(a, b, &dst, c) + (void *)0 ?: dst
- #endif
-
More information about the arch-commits
mailing list