From 98ef806210634013366f23ca1eb122f36d242c65 Mon Sep 17 00:00:00 2001 From: MSVSphere Packaging Team Date: Tue, 26 Nov 2024 19:14:15 +0300 Subject: [PATCH] import s-nail-14.9.24-11.el10 --- .gitignore | 1 + .s-nail.metadata | 1 + SOURCES/s-nail-14.9.24.tar.xz.asc | 16 +++ SOURCES/s-nail-makeflags.patch | 21 +++ SOURCES/steffen.asc | 62 +++++++++ SPECS/s-nail.spec | 209 ++++++++++++++++++++++++++++++ 6 files changed, 310 insertions(+) create mode 100644 .gitignore create mode 100644 .s-nail.metadata create mode 100644 SOURCES/s-nail-14.9.24.tar.xz.asc create mode 100644 SOURCES/s-nail-makeflags.patch create mode 100644 SOURCES/steffen.asc create mode 100644 SPECS/s-nail.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..eac1f85 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/s-nail-14.9.24.tar.xz diff --git a/.s-nail.metadata b/.s-nail.metadata new file mode 100644 index 0000000..8bc3543 --- /dev/null +++ b/.s-nail.metadata @@ -0,0 +1 @@ +11bafd0dbb78b45f36f802693233499a9f307e37 SOURCES/s-nail-14.9.24.tar.xz diff --git a/SOURCES/s-nail-14.9.24.tar.xz.asc b/SOURCES/s-nail-14.9.24.tar.xz.asc new file mode 100644 index 0000000..b13e420 --- /dev/null +++ b/SOURCES/s-nail-14.9.24.tar.xz.asc @@ -0,0 +1,16 @@ +-----BEGIN PGP SIGNATURE----- + +iQIcBAABCgAGBQJiPzRPAAoJEN8IL2ruyML/fxEP/3YeumLoT1/szWF/qYxlhY9F +s5tjXJMheqwKn0XCNGeZMo305ob76VVj6ECT6UUZVfjL4qOVxm3Av/yqvnrbDlFX +Ekm7ZZ2rx04cYYOvdenEFCoX1SfAqSvSd2mtSbDAgMRkp8Qzt6tJYTmDuJ55GKtC +9xYskO7jprl4qm+gqXa4Z3QHP0rn5a3pNUTQOQuylzeG42MqviJa0jp9CaxRi0qv +tkWp5z0nTTmI4StCZiSVNXCt52dKOoM0NbrqRc4LVVZE/em3hR5nhyqj/p/Jg2Xq +eO4Xr/JlRD7JEqyVDfeGZZZd7PnjgQmwxMBKFhssuCka1teg+n5nZYGIT98uEBsz +M+5PfewpDt4y+zJLiO8GKI1Z2ILYc+LByliMr7ssSxy2dOPC9e22w2NlbZhmWztG +T87aBmgORm9HWYwtFrrWLpua91AeLYvxUY5nGLPy/z8OTj1kZUFBbv1pJ6PJs85S +AI5lrl3sdAp1a3pLqtNhvg9iZ5oCCb3VfZCrxC4GMWYUT3qxRuDwDLR0MH3aZCfQ +zn2ICNDr+TM1uSNIUb4kyqTXfj4T9SHl5esrlSnU5EcB8CrOWEVDe1CIWoYfKnDs +zmADD0k7CT8QkEL8D8IrphBfk3Jrc+F6D1qbpA7nzPHcBV7MKggrAyt2txdV9EGt +hQm4vgHCDVw9XmH94RPF +=muRn +-----END PGP SIGNATURE----- diff --git a/SOURCES/s-nail-makeflags.patch b/SOURCES/s-nail-makeflags.patch new file mode 100644 index 0000000..8f63477 --- /dev/null +++ b/SOURCES/s-nail-makeflags.patch @@ -0,0 +1,21 @@ +commit 6b2c08bcd0e1c34db4b1bf9946a201f03595e36d +Author: Tomas Korbar +Date: Thu Apr 13 10:20:08 2023 +0200 + + Remove sync-mutex from MAKEFLAGS + +diff --git a/mk/make-config.sh b/mk/make-config.sh +index 2d7c619..c12d317 100644 +--- a/mk/make-config.sh ++++ b/mk/make-config.sh +@@ -1555,6 +1555,10 @@ if feat_yes DOTLOCK; then + printf "#real below OPTIONAL_PS_DOTLOCK = \$(VAL_PS_DOTLOCK)\n" >> ${newmk} + fi + ++ ++# remove sync-mutex option ++MAKEFLAGS=$(printf %b "${MAKEFLAGS}" | ${sed} -e "s#--sync-mutex=[a-zA-Z0-9:/]*##") ++ + for i in \ + CWDDIR TOPDIR OBJDIR INCDIR SRCDIR \ + MX_CWDDIR MX_INCDIR MX_SRCDIR \ diff --git a/SOURCES/steffen.asc b/SOURCES/steffen.asc new file mode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zjZJNYHlA/cHQ6PYCHxTahMFhMBOM6TIvBcuzT7iIbqF2EjXLfiESslAT +vit7n3R/ActSu7pabcRE2Ep7UzUY28+xGkfdFOrm9X/65tGo39F2UELes4EjMvNh +jWfR0Y7grjIF9SK3o+QgN7niM6lEvXRDXwh+RLpG4MAisJsFYbMvX6v/27HmCVEK +ZLVOdXxPDTBmK2ap6qnIct8otCNSTB3VauSd4p/IIksP2gynWjvdzIO5p+O0M/pi +xzvvK3OknRt2S02ShCHm8nIkGzElRhUQahSMCfT1NhWpn5IUpkpepo2WH3m0OTlA +zbpvtn+ZmsgzCf8Ap8SmXgLR/XGQSYnYuwqA0M3tp6DM1zM9D1xtu/2/m3tsLusW ++NwJ97yZ50yoOUKd2hmKWmPH2JAea4ZtKwIE15Cq2u/1wDAqVoAKLnM5cd6yI7+B +tbTgqI+dojGKYirC/Z5RqyvwQfmzNCcoYQLjY1g9mY7ACkBKK10tmkJ1K3SMLrwY +kmQ2QWxpdN2N68BJ7A4GxZrT4yICuJlbXshKw3QrbAUD9CUSO7MtJFkoaIjIoHZ5 +V0T07f+MbJVGC4WaNX+cCT/V7vyMm2ue +=GCaq +-----END PGP PUBLIC KEY BLOCK----- diff --git a/SPECS/s-nail.spec b/SPECS/s-nail.spec new file mode 100644 index 0000000..8d5dc19 --- /dev/null +++ b/SPECS/s-nail.spec @@ -0,0 +1,209 @@ +Name: s-nail +Version: 14.9.24 +Release: 11%{?dist} +Summary: Environment for sending and receiving mail, providing functionality of POSIX mailx + +# Everything is ISC except parts coming from the original Heirloom mailx which are BSD +License: ISC AND BSD-4-Clause-UC AND BSD-3-Clause AND HPND-sell-variant +URL: https://www.sdaoden.eu/code.html#s-nail +Source0: https://www.sdaoden.eu/downloads/%{name}-%{version}.tar.xz +Source1: https://www.sdaoden.eu/downloads/%{name}-%{version}.tar.xz.asc +# https://ftp.sdaoden.eu/steffen.asc +Source2: steffen.asc + +# https://bugzilla.redhat.com/show_bug.cgi?id=2171723 +Patch0: s-nail-makeflags.patch + +BuildRequires: make +BuildRequires: gnupg2 +BuildRequires: gcc +BuildRequires: openssl +BuildRequires: openssl-devel +BuildRequires: krb5-devel +BuildRequires: libidn2-devel +BuildRequires: ncurses-devel + +Requires(pre): %{_sbindir}/update-alternatives + +Provides: mailx = %{version}-%{release} +Obsoletes: mailx < 12.6 + +# For backwards compatibility +Provides: /bin/mail +Provides: /bin/mailx + + +%description +S-nail provides a simple and friendly environment for sending +and receiving mail. It is intended to provide the functionality +of the POSIX mailx(1) command, but is MIME capable and optionally offers +extensions for line editing, S/MIME, SMTP and POP3, among others. +S-nail divides incoming mail into its constituent messages and allows +the user to deal with them in any order. It offers many commands +and internal variables for manipulating messages and sending mail. +It provides the user simple editing capabilities to ease the composition +of outgoing messages, and increasingly powerful and reliable +non-interactive scripting capabilities. + + +%prep +%{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}' + +%autosetup -p1 + +cat <>nail.rc + +# Fedora-specific defaults +set bsdcompat +set noemptystart +set prompt='& ' +EOF + + +%build +%make_build \ + CFLAGS="%{build_cflags}" \ + LDFLAGS="%{build_ldflags}" \ + OPT_AUTOCC=no \ + OPT_DEBUG=yes \ + OPT_NOMEMDBG=yes \ + OPT_DOTLOCK=no \ + VAL_PREFIX=%{_prefix} \ + VAL_SYSCONFDIR=%{_sysconfdir} \ + VAL_MAIL=%{_localstatedir}/mail \ + config + +%make_build build + + +%install +%make_install + +# s-nail binary is installed with 0555 permissions, fix that +chmod 0755 %{buildroot}%{_bindir}/%{name} + +# compatibility symlinks +for f in Mail mail mailx nail; do + ln -s %{_bindir}/%{name} %{buildroot}%{_bindir}/$f + ln -s %{_mandir}/man1/%{name}.1 %{buildroot}%{_mandir}/man1/$f.1 +done + + +%check +%if %{defined rhel} +# SHA-1 is disabled as insecure by RHEL default policies, but used in tests +export OPENSSL_ENABLE_SHA1_SIGNATURES=yes +%endif +make test + + +%pre +%{_sbindir}/update-alternatives --remove-all mailx >/dev/null 2>&1 || : + + +%files +%license COPYING +%doc README +%{_bindir}/Mail +%{_bindir}/mail +%{_bindir}/nail +%{_bindir}/mailx +%{_bindir}/%{name} +%config(noreplace) %{_sysconfdir}/%{name}.rc +%{_mandir}/man1/Mail.1* +%{_mandir}/man1/mail.1* +%{_mandir}/man1/nail.1* +%{_mandir}/man1/mailx.1* +%{_mandir}/man1/%{name}.1* + + +%changelog +* Mon Jun 24 2024 Troy Dawson - 14.9.24-11 +- Bump release for June 2024 mass rebuild + +* Tue Jun 04 2024 Tomas Korbar - 14.9.24-10 +- Remove RSA-MD from License tag +- Resolves: RHEL-35725 + +* Sat Jan 27 2024 Fedora Release Engineering - 14.9.24-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Mon Dec 11 2023 Nikola Forró - 14.9.24-8 +- Replace and obsolete mailx + +* Wed Nov 01 2023 Tomas Korbar - 14.9.24-7 +- Add licenses to fully conform to SPDX + +* Sat Jul 22 2023 Fedora Release Engineering - 14.9.24-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Fri Apr 21 2023 Tomas Korbar - 14.9.24-5 +- Fix s-nail installation without docs +- Resolves: rhbz#2188620 + +* Thu Apr 13 2023 Tomas Korbar - 14.9.24-4 +- Fix s-nail makeflags +- Resolves: rhbz#2171723 + +* Sat Jan 21 2023 Fedora Release Engineering - 14.9.24-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Sat Jul 23 2022 Fedora Release Engineering - 14.9.24-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Sun Mar 27 2022 Nikola Forró - 14.9.24-1 +- New upstream release 14.9.24 + resolves: #2068768 + +* Sat Jan 22 2022 Fedora Release Engineering - 14.9.23-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Fri Nov 12 2021 Nikola Forró - 14.9.23-1 +- New upstream release 14.9.23 + resolves: #2022552 + +* Tue Sep 14 2021 Sahana Prasad - 14.9.22-6 +- Rebuilt with OpenSSL 3.0.0 + +* Fri Jul 23 2021 Fedora Release Engineering - 14.9.22-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Fri May 07 2021 Nikola Forró - 14.9.22-4 +- Provide /bin/mail{,x} for backwards compatibility + +* Wed Apr 14 2021 Nikola Forró - 14.9.22-3 +- Remove globs in %%files + +* Tue Mar 16 2021 Nikola Forró - 14.9.22-2 +- Fix alternatives + related: #1897928 + +* Wed Feb 24 2021 Nikola Forró - 14.9.22-1 +- New upstream release 14.9.22 + resolves: #1932122 + +* Wed Jan 27 2021 Fedora Release Engineering - 14.9.21-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Fri Jan 22 2021 Nikola Forró - 14.9.21-1 +- New upstream release 14.9.21 + resolves: #1919030 + +* Mon Dec 14 2020 Nikola Forró - 14.9.20-1 +- New upstream release 14.9.20 + resolves: #1907112 + +* Wed Jul 29 2020 Fedora Release Engineering - 14.9.19-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Mon Apr 27 2020 Nikola Forró - 14.9.19-1 +- New upstream release 14.9.19 +- Adjust default configuration to be closer to Heirloom mailx +- Provide alternativized binaries and man pages + resolves: #1827969 + +* Thu Apr 23 2020 Nikola Forró - 14.9.18-1 +- Update to the latest upstream release + +* Thu Apr 09 2020 Nikola Forró - 14.9.17-1 +- Initial package