Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package ksh for openSUSE:Factory checked in 
at 2026-09-02 17:04:36
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ksh (Old)
 and      /work/SRC/openSUSE:Factory/.ksh.new.1265 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ksh"

Wed Sep  2 17:04:36 2026 rev:121 rq:1375387 version:93vu

Changes:
--------
--- /work/SRC/openSUSE:Factory/ksh/ksh.changes  2026-06-17 16:23:49.892898306 
+0200
+++ /work/SRC/openSUSE:Factory/.ksh.new.1265/ksh.changes        2026-09-02 
17:05:01.876086998 +0200
@@ -1,0 +2,9 @@
+Fri Aug  7 18:36:33 UTC 2026 - Bernhard Wiedemann <[email protected]>
+
+- Make the package build reproducible:
+  new patch: ksh93-license-year.dif to not embed the build year
+  in the copyright notices of generated ast headers
+  new patch: ksh93-child_max.dif to not embed the build host's
+  memory-dependent CHILD_MAX value
+
+-------------------------------------------------------------------

New:
----
  ksh93-child_max.dif
  ksh93-license-year.dif

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ ksh.spec ++++++
--- /var/tmp/diff_new_pack.Iourve/_old  2026-09-02 17:05:03.328137732 +0200
+++ /var/tmp/diff_new_pack.Iourve/_new  2026-09-02 17:05:03.329137767 +0200
@@ -171,6 +171,10 @@
 Patch58:        ksh93-putval.dif
 Patch59:        ksh93-untrustedenv.dif
 Patch60:        ksh93-edit_strcpy.dif
+# PATCH-FIX-OPENSUSE make build reproducible
+Patch61:        ksh93-license-year.dif
+# PATCH-FIX-OPENSUSE make build reproducible
+Patch64:        ksh93-child_max.dif
 Patch62:        ksh-locale.patch
 Patch63:        cpp.patch
 
@@ -286,6 +290,8 @@
 %patch -P 58
 %patch -P 59
 %patch -P 60
+%patch -P 61
+%patch -P 64
 
 %patch -P 63 -p 1
 

++++++ ksh93-child_max.dif ++++++
CHILD_MAX is a dynamic limit: sysconf(_SC_CHILD_MAX) follows
RLIMIT_NPROC, which the kernel derives from available RAM. Probing it
with getconf at build time bakes a build-host-specific number into
ast_limits.h, conftab and libshell, making the build unreproducible.
Skip the probe and use the POSIX minimum like on hosts without getconf;
at runtime astconf() still queries sysconf() for the real value.

--- src/lib/libast/comp/conf.tab
+++ src/lib/libast/comp/conf.tab
@@ -64,7 +64,7 @@
 CHAR_MAX                       C       XX 1 L
 CHAR_MIN                       C       XX 1 L
 CHAR_TERM                      POSIX   SC 2 FUW
-CHILD_MAX                      POSIX   SC 1 CDLMUX     6       cc{
+CHILD_MAX                      POSIX   SC 1 CDLMU      6       cc{
        #if _lib_fork
        #define child()         fork()
        #else

++++++ ksh93-license-year.dif ++++++
Use the ast-base release date as the copyright end year in generated
headers instead of the build date, matching the notices in the shipped
source files. Otherwise the build date leaks into ksh-devel headers,
making the build unreproducible.

--- lib/package/ast.lic
+++ lib/package/ast.lic
@@ -2,4 +2,5 @@
 . epl.def
 license+=(
        start=2011
+       source=2012
 )

Reply via email to