Hi,

Klemens asked me to provide the tarball as a release asset, so that it
won't get randomly re-created by Github's infrastructure.

The attached patch moves to an asset as the distfile. I used the weird
DISTFILE/DISTNAME split because otherwise the version of the port would
change from 4 to v5, and I'm not sure how that'd be handled by the ports
infrastructure. If that'd indeed be okay, I'll provide an updated,
smaller patch.

-- 
        Gregor


Index: net/wireless/Makefile
===================================================================
RCS file: /home/cvs/ports/net/wireless/Makefile,v
retrieving revision 1.3
diff -u -p -r1.3 Makefile
--- net/wireless/Makefile       3 Jan 2018 23:27:01 -0000       1.3
+++ net/wireless/Makefile       6 May 2018 11:06:54 -0000
@@ -1,9 +1,14 @@
 # $OpenBSD: Makefile,v 1.3 2018/01/03 23:27:01 danj Exp $
 
 COMMENT =      automatically scan for and configure wireless networks
-GH_ACCOUNT =   farhaven
-GH_PROJECT =   wireless
-GH_TAGNAME =   v4
+
+HOMEPAGE =     https://github.com/farhaven/wireless
+
+V =    5
+
+MASTER_SITES = https://github.com/farhaven/wireless/releases/download/v$V/
+DISTFILES =    wireless-v$V.tar.gz
+DISTNAME =     wireless-$V
 
 CATEGORIES =   net
 
Index: net/wireless/distinfo
===================================================================
RCS file: /home/cvs/ports/net/wireless/distinfo,v
retrieving revision 1.2
diff -u -p -r1.2 distinfo
--- net/wireless/distinfo       3 Jan 2018 23:27:01 -0000       1.2
+++ net/wireless/distinfo       6 May 2018 11:03:51 -0000
@@ -1,2 +1,2 @@
-SHA256 (wireless-4.tar.gz) = HXWoFCCVh2O+ykHfDHdsDjc/iBh9iQs9Rj1v3NYry1s=
-SIZE (wireless-4.tar.gz) = 9117
+SHA256 (wireless-v5.tar.gz) = 9rz1YkU/l3Go7v916SWBPJHBSLaPuoYpHaNvPA74INY=
+SIZE (wireless-v5.tar.gz) = 9160

Reply via email to