Hi folks,

We recently moved to a new repo for the tools upstream and bumped the
version number. This patch below adjusts the ports makefile.

Reference: https://lists.zx2c4.com/pipermail/wireguard/2019-December/004787.html

I haven't checked that this works on a real OpenBSD machine, though it
should. If something's broken, Jasper can fix it up and resubmit.

Thanks,
Jason

Index: Makefile
===================================================================
RCS file: /cvs/ports/net/wireguard-tools/Makefile,v
retrieving revision 1.12
diff -u -r1.12 Makefile
--- Makefile    14 Dec 2019 14:13:23 -0000      1.12
+++ Makefile    27 Dec 2019 16:33:38 -0000
@@ -2,8 +2,8 @@
 
 COMMENT =      fast and secure VPN
 
-V =            0.0.20191212
-DISTNAME =     WireGuard-$V
+V =            1.0.20191226
+DISTNAME =     wireguard-tools-$V
 PKGNAME =      wireguard-tools-$V
 EPOCH =                0
 
@@ -18,7 +18,7 @@
 
 WANTLIB += c
 
-MASTER_SITES =         https://git.zx2c4.com/WireGuard/snapshot/
+MASTER_SITES =         https://git.zx2c4.com/wireguard-tools/snapshot/
 
 EXTRACT_SUFX =         .tar.xz
 
@@ -37,7 +37,7 @@
 
 NO_TEST =              Yes
 
-WRKSRC =               ${WRKDIST}/src/tools
+WRKSRC =               ${WRKDIST}/src
 
 ALL_TARGET =           wg
 
Index: distinfo
===================================================================
RCS file: /cvs/ports/net/wireguard-tools/distinfo,v
retrieving revision 1.8
diff -u -r1.8 distinfo
--- distinfo    14 Dec 2019 14:13:23 -0000      1.8
+++ distinfo    27 Dec 2019 16:33:38 -0000
@@ -1,2 +1,2 @@
-SHA256 (WireGuard-0.0.20191212.tar.xz) = 
sNcYOA96iCKy8S115GL6Tq+jp3hxACmB82fNT+KhsHE=
-SIZE (WireGuard-0.0.20191212.tar.xz) = 333024
+SHA256 (wireguard-tools-1.0.20191226.tar.xz) = 
qorw/cmHLTadjIkKhNvCokZrVXldzNW0dyGy2XZEsE8= 
+SIZE (wireguard-tools-1.0.20191226.tar.xz) = 90720

Reply via email to