pkgsrc-Changes archive

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

CVS commit: pkgsrc/net/taskserver



Module Name:    pkgsrc
Committed By:   wiz
Date:           Wed Aug 20 06:49:39 UTC 2025

Modified Files:
        pkgsrc/net/taskserver: Makefile distinfo
Added Files:
        pkgsrc/net/taskserver/patches: patch-CMakeLists.txt

Log Message:
taskserver: fix build with cmake 4


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 pkgsrc/net/taskserver/Makefile
cvs rdiff -u -r1.4 -r1.5 pkgsrc/net/taskserver/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/net/taskserver/patches/patch-CMakeLists.txt

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

Modified files:

Index: pkgsrc/net/taskserver/Makefile
diff -u pkgsrc/net/taskserver/Makefile:1.20 pkgsrc/net/taskserver/Makefile:1.21
--- pkgsrc/net/taskserver/Makefile:1.20 Thu Apr 17 21:52:04 2025
+++ pkgsrc/net/taskserver/Makefile      Wed Aug 20 06:49:38 2025
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.20 2025/04/17 21:52:04 wiz Exp $
+# $NetBSD: Makefile,v 1.21 2025/08/20 06:49:38 wiz Exp $
 
 DISTNAME=      taskd-1.1.0
 PKGNAME=       ${DISTNAME:S/taskd/taskserver/}
@@ -11,11 +11,11 @@ HOMEPAGE=   https://taskwarrior.org/downlo
 COMMENT=       Lightweight, secure server providing access to task data
 LICENSE=       mit
 
-USE_CMAKE=     yes
 USE_LANGUAGES= c c++
 
 CMAKE_CONFIGURE_ARGS+= -DTASKD_MAN1DIR=${PREFIX}/${PKGMANDIR}/man1
 CMAKE_CONFIGURE_ARGS+= -DTASKD_MAN5DIR=${PREFIX}/${PKGMANDIR}/man5
+CMAKE_CONFIGURE_ARGS+= -DCMAKE_POLICY_VERSION_MINIMUM=3.5
 
 LDFLAGS.SunOS+=        -lsocket -lnsl
 
@@ -59,6 +59,7 @@ post-install:
        ${INSTALL_DATA} ${WRKSRC}/${file} ${DESTDIR}${EGDIR}/${file}
 .endfor
 
+.include "../../devel/cmake/build.mk"
 .include "../../devel/libuuid/buildlink3.mk"
 .include "../../security/gnutls/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/net/taskserver/distinfo
diff -u pkgsrc/net/taskserver/distinfo:1.4 pkgsrc/net/taskserver/distinfo:1.5
--- pkgsrc/net/taskserver/distinfo:1.4  Tue Oct 26 11:06:59 2021
+++ pkgsrc/net/taskserver/distinfo      Wed Aug 20 06:49:38 2025
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.4 2021/10/26 11:06:59 nia Exp $
+$NetBSD: distinfo,v 1.5 2025/08/20 06:49:38 wiz Exp $
 
 BLAKE2s (taskd-1.1.0.tar.gz) = d248f7df726b6929c803c44982403ffca7620e6eb4f82a6b27acc19d52eb7d76
 SHA512 (taskd-1.1.0.tar.gz) = df2349c354258fd1b014b1a9c78f68dc10c9e5a48357e282e8a760cf4e4aaf4d36486796ad094ee2b050e7506195b778e3316c90ef543a2f8242de313daa13aa
 Size (taskd-1.1.0.tar.gz) = 120115 bytes
+SHA1 (patch-CMakeLists.txt) = df2f814da09848cc9a83961ddee99915ac666734
 SHA1 (patch-src_TLSServer.cpp) = 6e47c0ef59dc6c265539152b7abce75b5e518d45
 SHA1 (patch-src_taskdctl) = 539aee5b4e5a3c32203dcc4cec2d3980ef1c3397

Added files:

Index: pkgsrc/net/taskserver/patches/patch-CMakeLists.txt
diff -u /dev/null pkgsrc/net/taskserver/patches/patch-CMakeLists.txt:1.1
--- /dev/null   Wed Aug 20 06:49:39 2025
+++ pkgsrc/net/taskserver/patches/patch-CMakeLists.txt  Wed Aug 20 06:49:38 2025
@@ -0,0 +1,15 @@
+$NetBSD: patch-CMakeLists.txt,v 1.1 2025/08/20 06:49:38 wiz Exp $
+
+Fix build with cmake 4.
+
+--- CMakeLists.txt.orig        2025-08-20 06:45:02.268320141 +0000
++++ CMakeLists.txt
+@@ -1,8 +1,5 @@
+ cmake_minimum_required (VERSION 2.8)
+ set(CMAKE_LEGACY_CYGWIN_WIN32 0) # Remove when CMake >= 2.8.4 is required
+-if(POLICY CMP0037)
+-  cmake_policy(SET CMP0037 OLD)
+-endif()
+ 
+ include (CheckFunctionExists)
+ include (CheckStructHasMember)



Home | Main Index | Thread Index | Old Index