public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/postfix] f44: New version
Date: Mon, 17 Aug 2026 18:34:02 GMT	[thread overview]
Message-ID: <178699164220.1.11642835254758304437.rpms-postfix-9bdd5f554b17@fedoraproject.org> (raw)

          A new commit has been pushed.

          Repo   : rpms/postfix
          Branch : f44
          Commit : 9bdd5f554b1731b1ebcb46a7bf36f446f0d22a57
          Author : Jaroslav Škarvada <jskarvad@redhat.com>
          Date   : 2026-08-17T20:33:53+02:00
          Stats  : +28/-4 in 2 file(s)
          URL    : https://src.fedoraproject.org/rpms/postfix/c/9bdd5f554b1731b1ebcb46a7bf36f446f0d22a57?branch=f44

          Log:
          New version

Resolves: rhbz#2513537

---
diff --git a/postfix-3.10.13-linux-7-fix.patch b/postfix-3.10.13-linux-7-fix.patch
new file mode 100644
index 0000000..6f8e1d3
--- /dev/null
+++ b/postfix-3.10.13-linux-7-fix.patch
@@ -0,0 +1,26 @@
+diff --git a/makedefs b/makedefs
+index 186a3b9..d6a2eb8 100644
+--- a/makedefs
++++ b/makedefs
+@@ -682,7 +682,7 @@ EOF
+ 		: ${SHLIB_ENV="LD_LIBRARY_PATH=`pwd`/lib"}
+ 		: ${PLUGIN_LD="${CC-gcc} -shared"}
+ 		;;
+-    Linux.[3456].*)
++    Linux.[34567].*)
+ 		SYSTYPE=LINUX$RELEASE_MAJOR
+ 		case "$CCARGS" in
+ 		 *-DNO_DB*) ;;
+diff --git a/src/util/sys_defs.h b/src/util/sys_defs.h
+index 3c1e93c..a6a2808 100644
+--- a/src/util/sys_defs.h
++++ b/src/util/sys_defs.h
+@@ -764,7 +764,7 @@ extern int initgroups(const char *, int);
+   * LINUX.
+   */
+ #if defined(LINUX2) || defined(LINUX3) || defined(LINUX4) || defined(LINUX5) \
+-	|| defined(LINUX6)
++	|| defined(LINUX6) || defined(LINUX7)
+ #define SUPPORTED
+ #define UINT32_TYPE	unsigned int
+ #define UINT16_TYPE	unsigned short

diff --git a/postfix.spec b/postfix.spec
index b3ee0fa..26c25c0 100644
--- a/postfix.spec
+++ b/postfix.spec
@@ -101,6 +101,7 @@ Patch2: postfix-3.9.0-files.patch
 Patch3: postfix-3.9.0-alternatives.patch
 # probably rhbz#428996
 Patch4: postfix-3.10.10-large-fs.patch
+Patch5: postfix-3.10.13-linux-7-fix.patch
 # rhbz#1931403, sent upstream
 Patch9: pflogsumm-1.1.6-syslog-name-underscore-fix.patch
 Patch11: postfix-3.4.4-chroot-example-fix.patch
@@ -263,6 +264,7 @@ maps with Postfix, you need this.
 %patch -P2 -p1 -b .files
 %patch -P3 -p1 -b .alternatives
 %patch -P4 -p1 -b .large-fs
+%patch -P5 -p1 -b .linux-7-fix
 
 # Change DEF_SHLIB_DIR according to build host
 sed -i \
@@ -281,10 +283,6 @@ popd
 %patch -P12 -p1 -b .warning
 %endif
 
-# Backport 3.8-20221006 fix for uname -r detection
-sed -i makedefs -e '\@Linux\.@s|345|3456|'
-sed -i src/util/sys_defs.h -e 's@defined(LINUX5)@defined(LINUX5) || defined(LINUX6)@'
-
 for f in README_FILES/TLS_{LEGACY_,}README TLS_ACKNOWLEDGEMENTS; do
 	iconv -f iso8859-1 -t utf8 -o ${f}{_,} &&
 		touch -r ${f}{,_} && mv -f ${f}{_,}

             reply	other threads:[~2026-08-17 18:34 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-17 18:34  [this message]
  -- strict thread matches above, loose matches on Subject: below --
2026-09-08 15:45 [rpms/postfix] f44: New version 
2026-08-17 17:51 

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178699164220.1.11642835254758304437.rpms-postfix-9bdd5f554b17@fedoraproject.org \
    --to=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox