pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/net/openconnect



Module Name:    pkgsrc
Committed By:   schmonz
Date:           Thu Oct 20 19:12:57 UTC 2022

Modified Files:
        pkgsrc/net/openconnect: Makefile distinfo
Added Files:
        pkgsrc/net/openconnect/patches: patch-main.c

Log Message:
Define environ before it's used, to fix build on at least NetBSD.
Take MAINTAINER.


To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 pkgsrc/net/openconnect/Makefile
cvs rdiff -u -r1.14 -r1.15 pkgsrc/net/openconnect/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/net/openconnect/patches/patch-main.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/net/openconnect/Makefile
diff -u pkgsrc/net/openconnect/Makefile:1.23 pkgsrc/net/openconnect/Makefile:1.24
--- pkgsrc/net/openconnect/Makefile:1.23        Tue Oct 18 01:18:10 2022
+++ pkgsrc/net/openconnect/Makefile     Thu Oct 20 19:12:57 2022
@@ -1,11 +1,11 @@
-# $NetBSD: Makefile,v 1.23 2022/10/18 01:18:10 schmonz Exp $
+# $NetBSD: Makefile,v 1.24 2022/10/20 19:12:57 schmonz Exp $
 
 DISTNAME=      openconnect-9.01
 CATEGORIES=    net security
 MASTER_SITES=  https://www.infradead.org/openconnect/download/ \
                ftp://ftp.infradead.org/pub/openconnect/
 
-MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+MAINTAINER=    schmonz%NetBSD.org@localhost
 HOMEPAGE=      http://www.infradead.org/openconnect/
 COMMENT=       Open source VPN client
 LICENSE=       gnu-lgpl-v2.1

Index: pkgsrc/net/openconnect/distinfo
diff -u pkgsrc/net/openconnect/distinfo:1.14 pkgsrc/net/openconnect/distinfo:1.15
--- pkgsrc/net/openconnect/distinfo:1.14        Tue Oct 18 01:18:10 2022
+++ pkgsrc/net/openconnect/distinfo     Thu Oct 20 19:12:57 2022
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.14 2022/10/18 01:18:10 schmonz Exp $
+$NetBSD: distinfo,v 1.15 2022/10/20 19:12:57 schmonz Exp $
 
 BLAKE2s (openconnect-9.01.tar.gz) = a56f3914b696aa3a11ea5a1732dec1b77c2aa8d6de72c3fb8f8abb3f9078ccfd
 SHA512 (openconnect-9.01.tar.gz) = b7428847a90f8ca9d1f1f61653c1f2486f0a07989f3b7435b746c5e901998194f4ee2b4f9569a548a23bba368bb1e9f273674c0759aac9df30208d2a6a303c34
 Size (openconnect-9.01.tar.gz) = 2718526 bytes
+SHA1 (patch-main.c) = 040fb724052c5bf2e007b322f103d37f06a2bfb2

Added files:

Index: pkgsrc/net/openconnect/patches/patch-main.c
diff -u /dev/null pkgsrc/net/openconnect/patches/patch-main.c:1.1
--- /dev/null   Thu Oct 20 19:12:57 2022
+++ pkgsrc/net/openconnect/patches/patch-main.c Thu Oct 20 19:12:57 2022
@@ -0,0 +1,15 @@
+$NetBSD: patch-main.c,v 1.1 2022/10/20 19:12:57 schmonz Exp $
+
+Define environ before it's used. Fixes build on at least NetBSD.
+
+--- main.c.orig        2022-04-29 15:36:04.000000000 +0000
++++ main.c
+@@ -899,6 +899,8 @@ static BOOL WINAPI console_ctrl_handler(
+ #endif
+ 
+ #ifdef HAVE_POSIX_SPAWN
++extern char **environ;
++
+ static int spawn_browser(struct openconnect_info *vpninfo, const char *url, void *cbdata)
+ {
+       vpn_progress(vpninfo, PRG_TRACE,



Home | Main Index | Thread Index | Old Index