Open
update to version 4.99.4 #37
Funda WangAdd on May 20
update to version 4.99.4 #37
Open
Merged fromfundawang/eximmasterintosrc-openeuler/eximmaster
Total: 6 files changed+24-8
Binary files do not support preview
| @@ -0,0 +1,3 @@ | |||
| 1 | +version https://git-lfs.github.com/spec/v1 | ||
| 2 | +oid sha256:87ff38815700dfb1ee4eb7e8dba7916df7a755905354d2d0faa1ae1790c4fd9d | ||
| 3 | +size 1961412 | ||
| @@ -3,16 +3,17 @@ | |||
| 3 | 3 | ||
| 4 | Summary: The exim mail transfer agent | 4 | Summary: The exim mail transfer agent |
| 5 | Name: exim | 5 | Name: exim |
| 6 | -Version: 4.99.1 | 6 | +Version: 4.99.4 |
| 7 | Release: 1 | 7 | Release: 1 |
| 8 | -License: GPLv2+ | 8 | +License: GPL-2.0-or-later |
| 9 | Url: https://www.exim.org/ | 9 | Url: https://www.exim.org/ |
| 10 | 10 | ||
| 11 | Provides: MTA smtpd smtpdaemon server(smtp) | 11 | Provides: MTA smtpd smtpdaemon server(smtp) |
| 12 | -Requires(post): /sbin/restorecon %{_sbindir}/alternatives systemd | 12 | +Requires(post): /sbin/restorecon %{_sbindir}/alternatives |
| 13 | -Requires(preun): %{_sbindir}/alternatives systemd | 13 | +Requires(preun): %{_sbindir}/alternatives |
| 14 | -Requires(postun): %{_sbindir}/alternatives systemd | 14 | +Requires(postun): %{_sbindir}/alternatives |
| 15 | -Requires(pre): %{_sbindir}/groupadd, %{_sbindir}/useradd | 15 | +%{?systemd_requires} |
| 16 | +%{?sysusers_requires_compat} | ||
| 16 | 17 | ||
| 17 | %if %{with clamav} | 18 | %if %{with clamav} |
| 18 | BuildRequires: clamd | 19 | BuildRequires: clamd |
| @@ -34,6 +35,7 @@ Source10: exim.service | |||
| 34 | # The exim-gen-cert is used to generate the certificate | 35 | # The exim-gen-cert is used to generate the certificate |
| 35 | Source11: exim-gen-cert | 36 | Source11: exim-gen-cert |
| 36 | Source12: clamd.exim.service | 37 | Source12: clamd.exim.service |
| 38 | +Source13: exim.sysusers.conf | ||
| 37 | 39 | ||
| 38 | Patch0: exim-4.99.1-config.patch | 40 | Patch0: exim-4.99.1-config.patch |
| 39 | Patch1: exim-4.94-libdir.patch | 41 | Patch1: exim-4.94-libdir.patch |
| @@ -315,12 +317,14 @@ install -m755 %{SOURCE8} $RPM_BUILD_ROOT/%_sysconfdir/cron.daily/greylist-tidy.s | |||
| 315 | install -m644 %{SOURCE9} $RPM_BUILD_ROOT/%_sysconfdir/exim/trusted-configs | 317 | install -m644 %{SOURCE9} $RPM_BUILD_ROOT/%_sysconfdir/exim/trusted-configs |
| 316 | touch $RPM_BUILD_ROOT/%_var/spool/exim/db/greylist.db | 318 | touch $RPM_BUILD_ROOT/%_var/spool/exim/db/greylist.db |
| 317 | 319 | ||
| 320 | +install -m0644 -D %{SOURCE13} %{buildroot}%{_sysusersdir}/exim.conf | ||
| 321 | + | ||
| 318 | %check | 322 | %check |
| 319 | build-`scripts/os-type`-`scripts/arch-type`/exim -C src/configure.default -bV | 323 | build-`scripts/os-type`-`scripts/arch-type`/exim -C src/configure.default -bV |
| 320 | 324 | ||
| 321 | %pre | 325 | %pre |
| 322 | -%{_sbindir}/groupadd -g 93 exim 2>/dev/null | 326 | +%sysusers_create_compat %{S:13} |
| 323 | -%{_sbindir}/useradd -d %{_var}/spool/exim -s /sbin/nologin -G mail -M -r -u 93 -g exim exim 2>/dev/null | 327 | + |
| 324 | # Copy TLS certs from old location to new -- don't move them, because the | 328 | # Copy TLS certs from old location to new -- don't move them, because the |
| 325 | # config file may be modified and may be pointing to the old location. | 329 | # config file may be modified and may be pointing to the old location. |
| 326 | if [ ! -f /etc/pki/tls/certs/exim.pem -a -f %{_datadir}/ssl/certs/exim.pem ] ; then | 330 | if [ ! -f /etc/pki/tls/certs/exim.pem -a -f %{_datadir}/ssl/certs/exim.pem ] ; then |
| @@ -426,6 +430,7 @@ fi | |||
| 426 | %attr(0755,root,root) %ghost /usr/lib/sendmail | 430 | %attr(0755,root,root) %ghost /usr/lib/sendmail |
| 427 | %ghost %{_sysconfdir}/pam.d/smtp | 431 | %ghost %{_sysconfdir}/pam.d/smtp |
| 428 | %ghost %{_mandir}/man1/mailq.1.gz | 432 | %ghost %{_mandir}/man1/mailq.1.gz |
| 433 | +%{_sysusersdir}/exim.conf | ||
| 429 | 434 | ||
| 430 | %files mysql | 435 | %files mysql |
| 431 | %{_libdir}/exim/%{version}-%{release}/lookups/mysql.so | 436 | %{_libdir}/exim/%{version}-%{release}/lookups/mysql.so |
| @@ -478,6 +483,9 @@ fi | |||
| 478 | %{_sysconfdir}/cron.daily/greylist-tidy.sh | 483 | %{_sysconfdir}/cron.daily/greylist-tidy.sh |
| 479 | 484 | ||
| 480 | %changelog | 485 | %changelog |
| 486 | +* Sat May 30 2026 Funda Wang <fundawang@yeah.net> - 4.99.4-1 | ||
| 487 | +- update to 4.99.4 | ||
| 488 | + | ||
| 481 | * Fri Jan 30 2026 zhuchao <tom_toworld@163.com> - 4.99.1-1 | 489 | * Fri Jan 30 2026 zhuchao <tom_toworld@163.com> - 4.99.1-1 |
| 482 | - Upgrade to 4.99.1 to fix CVE-2025-67896 (Remote heap corruption) | 490 | - Upgrade to 4.99.1 to fix CVE-2025-67896 (Remote heap corruption) |
| 483 | - Adapted all patches for 4.99.1 compatibility | 491 | - Adapted all patches for 4.99.1 compatibility |