On Wed 22/07/2020 09:33, Bjorn Ketelaars wrote:
> Update vpnc-scripts to the latest version. While here:
> - Change HOMEPAGE and MASTER_SITES. Upstream has moved to gitlab.com
> - Take MAINTAINER
>
> Tested with openconnect connecting to ocserv.
>
> Comments/OK?
Ping!
Diff enclosed for your convenience:
diff --git Makefile Makefile
index 53594609664..b0830063fa8 100644
--- Makefile
+++ Makefile
@@ -2,27 +2,26 @@
COMMENT= connect scripts for use with vpnc and openconnect
-PKGNAME= vpnc-scripts-20140401
-DISTNAME= a78b3ddfc56ab457104c88e94dca72d8738f4fad
-REVISION= 1
-
-DISTFILES= ${PKGNAME}{${DISTNAME}}${EXTRACT_SUFX}
+C= e6a8fac7f7e8bf3c391787a3e0672f741603a9c9
+DISTNAME= vpnc-scripts-${C}
+PKGNAME= vpnc-scripts-20200317
CATEGORIES= net
-HOMEPAGE= http://www.infradead.org/openconnect/
+HOMEPAGE= https://gitlab.com/openconnect/vpnc-scripts/
+
+MAINTAINER= Bjorn Ketelaars <[email protected]>
# GPLv2+
PERMIT_PACKAGE= Yes
-MASTER_SITES= http://git.infradead.org/users/dwmw2/vpnc-scripts.git/snapshot/
-WRKDIST= ${WRKDIR}/vpnc-scripts-${DISTNAME:C/([0-9a-f]{7}).*/\1/}
-
-PKG_ARCH= *
+MASTER_SITES= https://gitlab.com/openconnect/vpnc-scripts/-/archive/${C}/
NO_BUILD= Yes
NO_TEST= Yes
+PKG_ARCH= *
+
do-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/vpnc-scripts/
cd ${WRKSRC}; ${INSTALL_SCRIPT} COPYING vpnc-script{,-ptrtd,-sshd} \
diff --git distinfo distinfo
index cef4725ccf1..66de56b4103 100644
--- distinfo
+++ distinfo
@@ -1,2 +1,2 @@
-SHA256 (vpnc-scripts-20140401.tar.gz) =
Aqx7nViW7xrRFQmXZRxPEFTU5x6ShobfXYGWDWedDm4=
-SIZE (vpnc-scripts-20140401.tar.gz) = 19944
+SHA256 (vpnc-scripts-e6a8fac7f7e8bf3c391787a3e0672f741603a9c9.tar.gz) =
WhGv6qO/eaABubl6WSpU3ShA6WBD+O+hAjCGkgyxSNA=
+SIZE (vpnc-scripts-e6a8fac7f7e8bf3c391787a3e0672f741603a9c9.tar.gz) = 21646