[packages/opensmtpd] Up to 7.9.0p0. Follow upstream libasr recomendation.

arekm arekm at pld-linux.org
Thu Oct 29 08:57:30 CET 2026


commit e759fb0708005005f004e60758234f8e569229f6
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Thu Oct 29 02:53:16 2026 +0100

    Up to 7.9.0p0. Follow upstream libasr recomendation.
    
    Fixes CVE-2025-62875, CVE-2023-29323.

 opensmtpd-ac.patch | 11 -----------
 opensmtpd.spec     | 26 ++++++++++++--------------
 2 files changed, 12 insertions(+), 25 deletions(-)
---
diff --git a/opensmtpd.spec b/opensmtpd.spec
index 65656e0..e24e59e 100644
--- a/opensmtpd.spec
+++ b/opensmtpd.spec
@@ -8,25 +8,20 @@
 Summary:	Free implementation of the server-side SMTP protocol as defined by RFC 5321
 Summary(pl.UTF-8):	Wolnodostępna implementacja strony serwerowej protokołu SMTP wg RFC 5321
 Name:		opensmtpd
-Version:	6.8.0p2
-Release:	2
+Version:	7.9.0p0
+Release:	1
 License:	ISC
 Group:		Daemons
 Source0:	https://www.opensmtpd.org/archives/%{name}-%{version}.tar.gz
-# Source0-md5:	57209fc2bedf540b4649a42eb95341c5
+# Source0-md5:	4d695c62007b25c379527da78bdc7704
 Source1:	%{name}.service
 Source2:	%{name}.init
 Source3:	%{name}.pam
 Source4:	aliases
-Patch0:		%{name}-ac.patch
 URL:		https://www.opensmtpd.org/
-BuildRequires:	autoconf >= 2.69
-BuildRequires:	automake
 BuildRequires:	bison
 %{?with_table_db:BuildRequires:	db-devel}
-BuildRequires:	libasr-devel
 BuildRequires:	libevent-devel
-BuildRequires:	libtool >= 2:2
 BuildRequires:	openssl-devel
 %{?with_pam:BuildRequires:	pam-devel}
 BuildRequires:	rpmbuild(macros) >= 1.228
@@ -68,14 +63,8 @@ re-usable by everyone under an ISC license.
 
 %prep
 %setup -q
-%patch -P0 -p1
 
 %build
-%{__libtoolize}
-%{__aclocal} -I m4
-%{__autoconf}
-%{__autoheader}
-%{__automake}
 %configure \
 	--sysconfdir=%{_sysconfdir}/mail \
 	%{?with_pam:--with-auth-pam=smtp} \
@@ -83,6 +72,7 @@ re-usable by everyone under an ISC license.
 	--with-mantype=man \
 	--with-path-CAfile=%{certsdir}/ca-certificates.crt \
 	--with-path-empty=%{privsepdir} \
+	--without-libbsd \
 	%{?with_table_db:--with-table-db} \
 	--with-user-queue=smtpq \
 	--with-user-smtpd=smtpd
@@ -168,11 +158,19 @@ fi
 %attr(755,root,root) %{_sbindir}/smtpctl
 %attr(755,root,root) %{_sbindir}/smtpd
 %attr(755,root,root) %{_prefix}/lib/sendmail
+%{_mandir}/man1/lockspool.1*
 %{_mandir}/man1/smtp.1*
 %{_mandir}/man5/aliases.5*
 %{_mandir}/man5/forward.5*
 %{_mandir}/man5/smtpd.conf.5*
 %{_mandir}/man5/table.5*
+%{_mandir}/man7/smtpd-filters.7*
+%{_mandir}/man7/smtpd-tables.7*
+%{_mandir}/man8/mail.lmtp.8*
+%{_mandir}/man8/mail.local.8*
+%{_mandir}/man8/mail.maildir.8*
+%{_mandir}/man8/mail.mboxfile.8*
+%{_mandir}/man8/mail.mda.8*
 %{_mandir}/man8/sendmail.8*
 %{_mandir}/man8/smtpctl.8*
 %{_mandir}/man8/smtpd.8*
diff --git a/opensmtpd-ac.patch b/opensmtpd-ac.patch
deleted file mode 100644
index 90d9486..0000000
--- a/opensmtpd-ac.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- opensmtpd-6.4.2p1/configure.ac.orig	2019-09-28 17:12:18.247895541 +0200
-+++ opensmtpd-6.4.2p1/configure.ac	2019-09-28 18:08:49.759522146 +0200
-@@ -1073,7 +1073,7 @@
- 			fi
- 
- 			if test "x$ac_cv_header_security_pam_appl_h" != "xyes" -a \
--			   test "x$ac_cv_header_pam_pam_appl_h" != "xyes"; then
-+			   "x$ac_cv_header_pam_pam_appl_h" != "xyes"; then
- 				AC_MSG_ERROR([PAM headers not found])
- 			fi
- 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/opensmtpd.git/commitdiff/e759fb0708005005f004e60758234f8e569229f6



More information about the pld-cvs-commit mailing list