Skip to content
Merged
5 changes: 4 additions & 1 deletion deps-packaging/git/cfbuild-git.spec
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
%define git_version 2.51.2
%define git_version 2.52.0

Summary: CFEngine Build Automation -- git
Name: cfbuild-git
Expand Down Expand Up @@ -36,6 +36,9 @@ case "$OS" in
;;
esac

# On RHEL the macro PATH_MAX is in linux/limits.h, not limits.h
patch -p1 < %{_topdir}/SOURCES/fixed-undeclared-identifier-PATH_MAX.patch

make CURL_LDFLAGS="-lcurl"

%install
Expand Down
2 changes: 1 addition & 1 deletion deps-packaging/git/distfiles
Original file line number Diff line number Diff line change
@@ -1 +1 @@
9b44c2b337ec838e10aad42439d390963904449710d30c9e7e4ba449f45da98f git-2.51.2.tar.gz
6880cb1e737e26f81cf7db9957ab2b5bb2aa1490d87619480b860816e0c10c32 git-2.52.0.tar.gz
13 changes: 13 additions & 0 deletions deps-packaging/git/fixed-undeclared-identifier-PATH_MAX.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
--- git-2.52.0/t/unit-tests/clar/clar.h 2025-11-17 17:38:17.000000000 +0100
+++ git-2.52.0-modified/t/unit-tests/clar/clar.h 2025-11-24 15:10:35.362508135 +0100
@@ -10,6 +10,10 @@
#include <stdlib.h>
#include <limits.h>

+#ifndef PATH_MAX
+#define PATH_MAX 4096
+#endif
+
#if defined(_WIN32) && defined(CLAR_WIN32_LONGPATHS)
# define CLAR_MAX_PATH 4096
#elif defined(_WIN32)
2 changes: 1 addition & 1 deletion deps-packaging/libcurl-hub/cfbuild-libcurl-hub.spec
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
%define curl_version 8.16.0
%define curl_version 8.17.0

Summary: CFEngine Build Automation -- libcurl
Name: cfbuild-libcurl-hub
Expand Down
2 changes: 1 addition & 1 deletion deps-packaging/libcurl-hub/distfiles
Original file line number Diff line number Diff line change
@@ -1 +1 @@
a21e20476e39eca5a4fc5cfb00acf84bbc1f5d8443ec3853ad14c26b3c85b970 curl-8.16.0.tar.gz
e8e74cdeefe5fb78b3ae6e90cd542babf788fa9480029cfcee6fd9ced42b7910 curl-8.17.0.tar.gz
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
diff -ruN curl-8.17.0/configure curl-8.17.0-modified/configure
--- curl-8.17.0/configure 2025-11-05 08:00:46.000000000 +0100
+++ curl-8.17.0-modified/configure 2025-11-24 10:30:02.624381820 +0100
@@ -44414,7 +44414,7 @@

case $host in
*-hp-hpux*)
- CFLAGS="$CFLAGS -mt"
+ USE_THREADS_POSIX=""
;;
*)
;;
5 changes: 1 addition & 4 deletions deps-packaging/libcurl/cfbuild-libcurl.spec
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
%define curl_version 8.16.0
%define curl_version 8.17.0

Summary: CFEngine Build Automation -- libcurl
Name: cfbuild-libcurl
Expand Down Expand Up @@ -46,9 +46,6 @@ mkdir -p %{_builddir}

%build

# Fix implicit declaration of function 'fopen' after upgrading to curl 8.16.0.
patch -p1 < %{_topdir}/SOURCES/implicit-decl-fopen.patch

make

%install
Expand Down
2 changes: 1 addition & 1 deletion deps-packaging/libcurl/distfiles
Original file line number Diff line number Diff line change
@@ -1 +1 @@
a21e20476e39eca5a4fc5cfb00acf84bbc1f5d8443ec3853ad14c26b3c85b970 curl-8.16.0.tar.gz
e8e74cdeefe5fb78b3ae6e90cd542babf788fa9480029cfcee6fd9ced42b7910 curl-8.17.0.tar.gz
4 changes: 4 additions & 0 deletions deps-packaging/libcurl/hpux/build
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ TTD=${BUILD_ROOT}/cfbuild-libcurl-devel${PREFIX}

# Build

# This patch effectively reverts commit https://github.com/curl/curl/commit/74fdc1185f40c2fe2253043ff3f563fbbd4b43ed
# that does not work for us, since we use the gcc compiler.
$PATCH -p1 < 'Revert-configure-add-mt-for-pthread-support-on-HP-UX.patch'

# autotools on hpux 11.23 with gcc 4.2.3 uses -std=gnu99 which excludes _LARGEFILE_SOURCE required for fseeko()
# see https://www.gnu.org/software/libc/manual/html_node/Feature-Test-Macros.html for reference on _LARGEFILE_SOURCE

Expand Down
20 changes: 0 additions & 20 deletions deps-packaging/libcurl/implicit-decl-fopen.patch

This file was deleted.

2 changes: 1 addition & 1 deletion deps-packaging/postgresql/cfbuild-postgresql.spec
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
%define postgresql_version 18.0
%define postgresql_version 18.1

Summary: CFEngine Build Automation -- postgresql
Name: cfbuild-postgresql
Expand Down
2 changes: 1 addition & 1 deletion deps-packaging/postgresql/distfiles
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0d5b903b1e5fe361bca7aa9507519933773eb34266b1357c4e7780fdee6d6078 postgresql-18.0.tar.bz2
ff86675c336c46e98ac991ebb306d1b67621ece1d06787beaade312c2c915d54 postgresql-18.1.tar.bz2
2 changes: 1 addition & 1 deletion deps-packaging/postgresql/source
Original file line number Diff line number Diff line change
@@ -1 +1 @@
https://ftp.postgresql.org/pub/source/v18.0/
https://ftp.postgresql.org/pub/source/v18.1/