2024-01-06 06:53:02 +01:00
|
|
|
Name: mailx
|
2024-01-06 06:53:03 +01:00
|
|
|
Version: 12.5
|
2024-01-06 06:53:04 +01:00
|
|
|
Release: 3mamba
|
2024-01-06 06:53:02 +01:00
|
|
|
Summary: A simple mail user agent for Unix systems derived from Berkeley Mail
|
|
|
|
Group: Applications/Networking
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-01-06 06:53:04 +01:00
|
|
|
URL: https://heirloom.sourceforge.net/mailx.html
|
2024-01-06 06:53:03 +01:00
|
|
|
Source: http://ftp.debian.org/debian/pool/main/h/heirloom-mailx/heirloom-mailx_%{version}.orig.tar.gz
|
2024-01-06 06:53:03 +01:00
|
|
|
Patch0: mailx-12.5-openssl-1.1.patch
|
2024-01-06 06:53:04 +01:00
|
|
|
Patch1: mailx-12.5-config.patch
|
|
|
|
Patch2: mailx-12.5-pager.patch
|
|
|
|
Patch3: mailx-12.5-lzw.patch
|
|
|
|
Patch4: mailx-12.5-collect.patch
|
|
|
|
Patch5: mailx-12.5-usage.patch
|
|
|
|
Patch6: mailx-12.5-man-page-fixes.patch
|
|
|
|
Patch7: mailx-12.5-outof-Introduce-expandaddr-flag.patch
|
|
|
|
Patch8: mailx-12.5-Unconditionally-require-wordexp-support.patch
|
|
|
|
Patch9: mailx-12.5-globname-Invoke-wordexp-with-WRDE_NOCMD-CVE-2004-277.patch
|
|
|
|
Patch10: mailx-12.5-unpack-Disable-option-processing-for-email-addresses.patch
|
|
|
|
Patch11: mailx-12.5-fname-null.patch
|
|
|
|
Patch12: mailx-12.5-empty-from.patch
|
|
|
|
Patch13: mailx-12.5-nss-hostname-matching.patch
|
|
|
|
Patch14: mailx-12.5-encsplit.patch
|
|
|
|
Patch15: mailx-12.5-no-SSLv3.patch
|
|
|
|
License: GPL
|
2024-01-06 06:53:02 +01:00
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: libgss-devel
|
|
|
|
BuildRequires: libopenssl-devel
|
|
|
|
## AUTOBUILDREQ-END
|
2024-01-06 06:53:04 +01:00
|
|
|
Provides: /bin/mailx
|
2024-01-06 06:53:02 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
Heirloom mailx (previously known as nail) is a mail user agent for Unix systems. Highlights are:
|
|
|
|
- Derived from Berkeley Mail 8.1. An interface like the original Berkeley one is still optionally available;
|
|
|
|
- Is a free implementation of the System V mailx command and features an interface like that by default.
|
|
|
|
|
2024-01-06 06:53:03 +01:00
|
|
|
%debug_package
|
|
|
|
|
2024-01-06 06:53:02 +01:00
|
|
|
%prep
|
2024-01-06 06:53:03 +01:00
|
|
|
%setup -q -n heirloom-mailx-%{version}
|
2024-01-06 06:53:04 +01:00
|
|
|
%define _default_patch_fuzz 2
|
|
|
|
%patch 0 -p1
|
|
|
|
%patch 1 -p1 -b .config
|
|
|
|
%patch 2 -p1 -b .pager
|
|
|
|
%patch 3 -p1 -b .lzw
|
|
|
|
%patch 4 -p1 -b .collect
|
|
|
|
%patch 5 -p1 -b .usage
|
|
|
|
%patch 6 -p1 -b .man-page-fixes
|
|
|
|
%patch 7 -p1 -b .outof-Introduce-expandaddr-flag
|
|
|
|
%patch 8 -p1 -b .Unconditionally-require-wordexp-support
|
|
|
|
%patch 9 -p1 -b .globname-Invoke-wordexp-with-WRDE_NOCMD-CVE-2004-277
|
|
|
|
%patch 10 -p1 -b .unpack-Disable-option-processing-for-email-addresses
|
|
|
|
%patch 11 -p1 -b .fname-null
|
|
|
|
%patch 12 -p1 -b .empty-from
|
|
|
|
%patch 13 -p1 -b .nss-hostname-matching
|
|
|
|
%patch 14 -p1 -b .encsplit
|
|
|
|
%patch 15 -p1 -b .no-SSLv3
|
2024-01-06 06:53:02 +01:00
|
|
|
|
|
|
|
%build
|
2024-01-06 06:53:04 +01:00
|
|
|
%make PREFIX=%{_prefix}
|
2024-01-06 06:53:02 +01:00
|
|
|
|
|
|
|
%install
|
2024-01-06 06:53:03 +01:00
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%makeinstall \
|
2024-01-06 06:53:04 +01:00
|
|
|
PREFIX=%{_prefix} \
|
2024-01-06 06:53:03 +01:00
|
|
|
MANDIR=%{_mandir} \
|
|
|
|
UCBINSTALL=%{__install} \
|
|
|
|
DESTDIR=%{buildroot} \
|
|
|
|
STRIP=/bin/true
|
2024-01-06 06:53:02 +01:00
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%config(noreplace) %{_sysconfdir}/nail.rc
|
2024-01-06 06:53:04 +01:00
|
|
|
%{_bindir}/mailx
|
2024-01-06 06:53:03 +01:00
|
|
|
%{_mandir}/man1/mailx.1*
|
2024-01-06 06:53:02 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-01-06 06:53:04 +01:00
|
|
|
* Mon Apr 17 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 12.5-3mamba
|
|
|
|
- rebuilt in bindir
|
|
|
|
- applied patch set from Fedora
|
|
|
|
|
2024-01-06 06:53:03 +01:00
|
|
|
* Tue Dec 15 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 12.5-2mamba
|
|
|
|
- rebuilt with debug package and openssl 1.1 patch
|
|
|
|
|
2024-01-06 06:53:03 +01:00
|
|
|
* Sat Apr 30 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 12.5-1mamba
|
|
|
|
- update to 12.5
|
|
|
|
|
|
|
|
* Sat Apr 30 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 12.4-3mamba
|
|
|
|
- rebuilt with openssl 1.0.2g
|
|
|
|
|
2024-01-06 06:53:02 +01:00
|
|
|
* Mon Mar 14 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 12.4-2mamba
|
|
|
|
- rebuilt with openssl 1.0
|
|
|
|
|
|
|
|
* Tue Sep 30 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 12.4-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Sun May 20 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 12.2-2mamba
|
|
|
|
- rebuilt
|
|
|
|
|
|
|
|
* Sat May 19 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 12.2-1mamba
|
|
|
|
- update to 12.2
|
|
|
|
|
|
|
|
* Tue Jun 17 2003 Silvan Calarco <silvan.calarco@qinet.it> 8.1.1-2qilnx
|
|
|
|
- added /bin/mailx symlink to /bin/mail
|
|
|
|
|
2024-01-06 06:53:03 +01:00
|
|
|
* Thu Jun 12 2003 Silvan Calarco <silvan.calarco@qinet.it> 8.1.1-1qilnx
|
2024-01-06 06:53:02 +01:00
|
|
|
- first build
|