CVS commit: pkgsrc/net/coturn

"Greg Troxel" <[email protected]> Wed, 5 Aug 2026 12:20:03 +0000
Newsgroups gmane.os.netbsd.devel.pkgsrc.cvs
Message-ID <[email protected]>
Module Name:	pkgsrc
Committed By:	gdt
Date:		Wed Aug  5 12:20:03 UTC 2026

Modified Files:
	pkgsrc/net/coturn: Makefile distinfo
Added Files:
	pkgsrc/net/coturn/patches: patch-configure

Log Message:
net/coturn: Patch out use of ginstall

Upstream configure inexplicably searches for ginstall (which I view as
a pkgsrcism for layering of coreutils), and then uses it without mode
flags, resulting in man pages with executable bits.


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 pkgsrc/net/coturn/Makefile
cvs rdiff -u -r1.7 -r1.8 pkgsrc/net/coturn/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/net/coturn/patches/patch-configure

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
(unnamed) (text/x-diff, 2 KB)
Modified files:

Index: pkgsrc/net/coturn/Makefile
diff -u pkgsrc/net/coturn/Makefile:1.17 pkgsrc/net/coturn/Makefile:1.18
--- pkgsrc/net/coturn/Makefile:1.17	Wed Aug  5 11:52:05 2026
+++ pkgsrc/net/coturn/Makefile	Wed Aug  5 12:20:03 2026
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.17 2026/08/05 11:52:05 gdt Exp $
+# $NetBSD: Makefile,v 1.18 2026/08/05 12:20:03 gdt Exp $
 
 DISTNAME=	coturn-4.17.0
+PKGREVISION=	1
 CATEGORIES=	net
 MASTER_SITES=	${MASTER_SITE_GITHUB:=coturn/}
 

Index: pkgsrc/net/coturn/distinfo
diff -u pkgsrc/net/coturn/distinfo:1.7 pkgsrc/net/coturn/distinfo:1.8
--- pkgsrc/net/coturn/distinfo:1.7	Wed Aug  5 11:52:05 2026
+++ pkgsrc/net/coturn/distinfo	Wed Aug  5 12:20:03 2026
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.7 2026/08/05 11:52:05 gdt Exp $
+$NetBSD: distinfo,v 1.8 2026/08/05 12:20:03 gdt Exp $
 
 BLAKE2s (coturn-4.17.0.tar.gz) = b491afb6c800f65fa965acffcbcf343ab35d787c8409bc845b75644698db02c1
 SHA512 (coturn-4.17.0.tar.gz) = 891e72b8f5c5a96de427306c033b61ff995aff50de42ec8d0f6ead1ed9d5a2f51b8936898cec954fd1ffd0196c276ee64e1ac864bcf4f55d34a2c734dd7597c8
 Size (coturn-4.17.0.tar.gz) = 811670 bytes
+SHA1 (patch-configure) = 48ae0d494da73c43e27c866b1365905d75efd527

Added files:

Index: pkgsrc/net/coturn/patches/patch-configure
diff -u /dev/null pkgsrc/net/coturn/patches/patch-configure:1.1
--- /dev/null	Wed Aug  5 12:20:03 2026
+++ pkgsrc/net/coturn/patches/patch-configure	Wed Aug  5 12:20:03 2026
@@ -0,0 +1,18 @@
+$NetBSD: patch-configure,v 1.1 2026/08/05 12:20:03 gdt Exp $
+
+When ginstall is found (because coreutils is installed) and used, man
+pages end up installed with executable bits set.
+
+https://github.com/coturn/coturn/issues/2037
+
+--- configure.orig	2026-08-05 12:03:05.112985341 +0000
++++ configure
+@@ -450,7 +450,7 @@ fi
+ # Install shell commands
+ ###########################
+ 
+-type ginstall 2>>/dev/null
++type ginstall-avoid-because-man-pages-executable 2>>/dev/null
+ ER=$?
+ if [ ${ER} -eq 0 ] ; then
+ 	INSTALL_PROGRAM="ginstall"