Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (168e9ca9e82ee8a6f5357801345fb79e681eff1c)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Vlad Glagolev <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (168e9ca9e82ee8a6f5357801345fb79e681eff1c)
  • Date: Sat, 11 Nov 2017 14:46:46 +0000

GIT changes to master grimoire by Vlad Glagolev <stealth AT sourcemage.org>:

net/wireguard/DETAILS | 5 ++---
net/wireguard/HISTORY | 4 ++++
net/wireguard/PRE_BUILD | 2 --
net/wireguard/funcfix.patch | 40 ----------------------------------------
4 files changed, 6 insertions(+), 45 deletions(-)

New commits:
commit 168e9ca9e82ee8a6f5357801345fb79e681eff1c
Author: Vlad Glagolev <stealth AT sourcemage.org>
Commit: Vlad Glagolev <stealth AT sourcemage.org>

wireguard: => 0.0.20171111

diff --git a/net/wireguard/DETAILS b/net/wireguard/DETAILS
index 32f7dbf..b81c030 100755
--- a/net/wireguard/DETAILS
+++ b/net/wireguard/DETAILS
@@ -1,10 +1,9 @@
SPELL=wireguard
SPELLX=WireGuard
- VERSION=0.0.20171101
- PATCHLEVEL=1
+ VERSION=0.0.20171111
SOURCE=${SPELLX}-${VERSION}.tar.xz
SOURCE_URL[0]=https://git.zx2c4.com/${SPELLX}/snapshot/${SOURCE}
-
SOURCE_HASH=sha512:c3a394256cf3cc2dce75dcb299f54969f74d4076a351b61972f10fb3e69191756c0c32552a5acc7e0cd5919c248f12035e6a33f15e43fdad64c6cf1230511ee3
+
SOURCE_HASH=sha512:2424c3923555d72a0b5910fc86071b2554934267d4c6521bc40076770984173b2cef55f4276dd4b5a446ea62f7c52424cd89b046f205314cff2919ff7de30e6b
SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELLX}-${VERSION}"
WEB_SITE=https://www.wireguard.com/
ENTERED=20171104
diff --git a/net/wireguard/HISTORY b/net/wireguard/HISTORY
index 8561929..a0b4ca3 100644
--- a/net/wireguard/HISTORY
+++ b/net/wireguard/HISTORY
@@ -1,3 +1,7 @@
+2017-11-11 Vlad Glagolev <stealth AT sourcemage.org>
+ * DETAILS: updated spell to 0.0.20171111
+ * funcfix.patch: dropped, fixed by upstream
+
2017-11-05 Vlad Glagolev <stealth AT sourcemage.org>
* DETAILS: PATCHLEVEL=1
* TRIGGERS: added, to trigger on linux cast
diff --git a/net/wireguard/PRE_BUILD b/net/wireguard/PRE_BUILD
index 448181b..a237506 100755
--- a/net/wireguard/PRE_BUILD
+++ b/net/wireguard/PRE_BUILD
@@ -1,8 +1,6 @@
default_pre_build &&
cd "${SOURCE_DIRECTORY}" &&

-patch -p1 < "${SPELL_DIRECTORY}/funcfix.patch" &&
-
if spell_ok gcc && is_version_less $(installed_version gcc) 4.8; then
sedit "s:-std=gnu11:-std=c99:g" src/tools/Makefile
fi
diff --git a/net/wireguard/funcfix.patch b/net/wireguard/funcfix.patch
deleted file mode 100644
index fe74e48..0000000
--- a/net/wireguard/funcfix.patch
+++ /dev/null
@@ -1,40 +0,0 @@
-From cc310a5dd1899417971e993d61d1230b14fe4f87 Mon Sep 17 00:00:00 2001
-From: "Jason A. Donenfeld" <Jason AT zx2c4.com>
-Date: Thu, 2 Nov 2017 16:07:26 +0100
-Subject: global: revert checkpatch.pl changes
-
-These changes were suggested by checkpatch.pl, but actually cause big
-problems depending on the options. Revert.
----
- src/noise.c | 2 +-
- src/peer.c | 2 +-
- 2 files changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/src/noise.c b/src/noise.c
-index a0bea29..6ce9b78 100644
---- a/src/noise.c
-+++ b/src/noise.c
-@@ -118,7 +118,7 @@ void noise_keypair_put(struct noise_keypair *keypair)
-
- struct noise_keypair *noise_keypair_get(struct noise_keypair *keypair)
- {
-- RCU_LOCKDEP_WARN(!rcu_read_lock_bh_held(), "Calling " __func__ "
without holding the RCU BH read lock");
-+ RCU_LOCKDEP_WARN(!rcu_read_lock_bh_held(), "Taking noise keypair
reference without holding the RCU BH read lock");
- if (unlikely(!keypair || !kref_get_unless_zero(&keypair->refcount)))
- return NULL;
- return keypair;
-diff --git a/src/peer.c b/src/peer.c
-index 1580262..81b71d4 100644
---- a/src/peer.c
-+++ b/src/peer.c
-@@ -58,7 +58,7 @@ struct wireguard_peer *peer_create(struct wireguard_device
*wg, const u8 public_
-
- struct wireguard_peer *peer_get(struct wireguard_peer *peer)
- {
-- RCU_LOCKDEP_WARN(!rcu_read_lock_bh_held(), "Calling " __func__ "
without holding the RCU read lock");
-+ RCU_LOCKDEP_WARN(!rcu_read_lock_bh_held(), "Taking peer reference
without holding the RCU read lock");
- if (unlikely(!peer || !kref_get_unless_zero(&peer->refcount)))
- return NULL;
- return peer;
---
-cgit v1.1-33-gc3c0



  • [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (168e9ca9e82ee8a6f5357801345fb79e681eff1c), Vlad Glagolev, 11/11/2017

Archive powered by MHonArc 2.6.24.

Top of Page