Compare commits
No commits in common. "rawhide" and "f20" have entirely different histories.
1 changed files with 46 additions and 109 deletions
155
arj.spec
155
arj.spec
|
|
@ -1,32 +1,32 @@
|
||||||
Summary: Archiver for .arj files
|
Summary: Archiver for .arj files
|
||||||
Name: arj
|
Name: arj
|
||||||
Version: 3.10.22
|
Version: 3.10.22
|
||||||
Release: 45%{?dist}
|
Release: 22%{?dist}
|
||||||
License: GPL-2.0-or-later
|
License: GPL+
|
||||||
URL: https://arj.sourceforge.net/
|
Group: Applications/Archiving
|
||||||
Source0: https://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
|
URL: http://arj.sourceforge.net/
|
||||||
|
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
|
||||||
# unarj.* from Debian
|
# unarj.* from Debian
|
||||||
Source1: unarj.sh
|
Source1: unarj.sh
|
||||||
Source2: unarj.1
|
Source2: unarj.1
|
||||||
Patch0: arj-3.10.22-arches_align.patch
|
Patch0: arj-3.10.22-arches_align.patch
|
||||||
Patch1: arj-3.10.22-no_remove_static_const.patch
|
Patch1: arj-3.10.22-no_remove_static_const.patch
|
||||||
Patch2: arj-3.10.22-64_bit_clean.patch
|
Patch2: arj-3.10.22-64_bit_clean.patch
|
||||||
Patch3: arj-3.10.22-parallel_build.patch
|
Patch3: arj-3.10.22-parallel_build.patch
|
||||||
Patch4: arj-3.10.22-use_safe_strcpy.patch
|
Patch4: arj-3.10.22-use_safe_strcpy.patch
|
||||||
Patch5: arj-3.10.22-doc_refer_robert_k_jung.patch
|
Patch5: arj-3.10.22-doc_refer_robert_k_jung.patch
|
||||||
Patch6: arj-3.10.22-security_format.patch
|
Patch6: arj-3.10.22-security_format.patch
|
||||||
Patch7: arj-3.10.22-missing-protos.patch
|
Patch7: arj-3.10.22-missing-protos.patch
|
||||||
Patch8: arj-3.10.22-custom-printf.patch
|
Patch8: arj-3.10.22-custom-printf.patch
|
||||||
# Filed into upstream bugtracker as https://sourceforge.net/tracker/?func=detail&aid=2853421&group_id=49820&atid=457566
|
# Filed into upstream bugtracker as https://sourceforge.net/tracker/?func=detail&aid=2853421&group_id=49820&atid=457566
|
||||||
Patch9: arj-3.10.22-quotes.patch
|
Patch9: arj-3.10.22-quotes.patch
|
||||||
Patch10: arj-3.10.22-security-afl.patch
|
Patch10: arj-3.10.22-security-afl.patch
|
||||||
Patch11: arj-3.10.22-security-traversal-dir.patch
|
Patch11: arj-3.10.22-security-traversal-dir.patch
|
||||||
Patch12: arj-3.10.22-security-traversal-symlink.patch
|
Patch12: arj-3.10.22-security-traversal-symlink.patch
|
||||||
BuildRequires: gcc
|
BuildRequires: autoconf
|
||||||
BuildRequires: autoconf
|
Provides: unarj = %{version}-%{release}
|
||||||
BuildRequires: make
|
Obsoletes: unarj < 3
|
||||||
Provides: unarj = %{version}-%{release}
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
Obsoletes: unarj < 3
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This package is an open source version of the arj archiver. It has
|
This package is an open source version of the arj archiver. It has
|
||||||
|
|
@ -36,19 +36,19 @@ Software, Inc.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch -P0 -p1
|
%patch0 -p1
|
||||||
%patch -P1 -p1
|
%patch1 -p1
|
||||||
%patch -P2 -p1
|
%patch2 -p1
|
||||||
%patch -P3 -p1
|
%patch3 -p1
|
||||||
%patch -P4 -p1
|
%patch4 -p1
|
||||||
%patch -P5 -p1
|
%patch5 -p1
|
||||||
%patch -P6 -p1
|
%patch6 -p1
|
||||||
%patch -P7 -p1
|
%patch7 -p1
|
||||||
%patch -P8 -p1
|
%patch8 -p1
|
||||||
%patch -P9 -p1
|
%patch9 -p1
|
||||||
%patch -P10 -p1
|
%patch10 -p1
|
||||||
%patch -P11 -p1
|
%patch11 -p1
|
||||||
%patch -P12 -p1
|
%patch12 -p1
|
||||||
|
|
||||||
pushd gnu
|
pushd gnu
|
||||||
autoconf
|
autoconf
|
||||||
|
|
@ -60,10 +60,11 @@ pushd gnu
|
||||||
popd
|
popd
|
||||||
|
|
||||||
# Disable binary strippings
|
# Disable binary strippings
|
||||||
%make_build ADD_LDFLAGS=""
|
make %{?_smp_mflags} ADD_LDFLAGS=""
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%make_install
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
make DESTDIR=$RPM_BUILD_ROOT install
|
||||||
|
|
||||||
install -D -p -m 644 resource/rearj.cfg.example $RPM_BUILD_ROOT%{_sysconfdir}/rearj.cfg
|
install -D -p -m 644 resource/rearj.cfg.example $RPM_BUILD_ROOT%{_sysconfdir}/rearj.cfg
|
||||||
install -p -m 755 %{SOURCE1} $RPM_BUILD_ROOT%{_bindir}/unarj
|
install -p -m 755 %{SOURCE1} $RPM_BUILD_ROOT%{_bindir}/unarj
|
||||||
|
|
@ -73,84 +74,20 @@ install -p -m 644 %{SOURCE2} $RPM_BUILD_ROOT%{_mandir}/man1/unarj.1
|
||||||
rm -f $RPM_BUILD_ROOT%{_bindir}/arj-register
|
rm -f $RPM_BUILD_ROOT%{_bindir}/arj-register
|
||||||
rm -f $RPM_BUILD_ROOT%{_mandir}/man1/arj-register.1*
|
rm -f $RPM_BUILD_ROOT%{_mandir}/man1/arj-register.1*
|
||||||
|
|
||||||
|
%clean
|
||||||
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
%files
|
%files
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%{!?_licensedir:%global license %%doc}
|
||||||
%license doc/COPYING
|
%license doc/COPYING
|
||||||
%doc ChangeLog* doc/rev_hist.txt
|
%doc ChangeLog* doc/rev_hist.txt
|
||||||
%config(noreplace) %{_sysconfdir}/rearj.cfg
|
%config(noreplace) %{_sysconfdir}/rearj.cfg
|
||||||
%{_bindir}/*arj*
|
%{_bindir}/*arj*
|
||||||
%{_libdir}/arj/
|
%{_libdir}/arj/
|
||||||
%{_mandir}/man1/*arj*.1*
|
%{_mandir}/man1/*arj*1.*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Fri Jan 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 3.10.22-45
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild
|
|
||||||
|
|
||||||
* Wed Jul 23 2025 Fedora Release Engineering <releng@fedoraproject.org> - 3.10.22-44
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
|
|
||||||
|
|
||||||
* Thu Jan 16 2025 Fedora Release Engineering <releng@fedoraproject.org> - 3.10.22-43
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
|
|
||||||
|
|
||||||
* Wed Jul 17 2024 Fedora Release Engineering <releng@fedoraproject.org> - 3.10.22-42
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
|
||||||
|
|
||||||
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 3.10.22-41
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
||||||
|
|
||||||
* Fri Jan 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 3.10.22-40
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
||||||
|
|
||||||
* Wed Jul 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3.10.22-39
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
||||||
|
|
||||||
* Wed Jan 18 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3.10.22-38
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
||||||
|
|
||||||
* Wed Jul 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.10.22-37
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
||||||
|
|
||||||
* Wed Jan 19 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.10.22-36
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
||||||
|
|
||||||
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.10.22-35
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
||||||
|
|
||||||
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.10.22-34
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
||||||
|
|
||||||
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.10.22-33
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
||||||
|
|
||||||
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.10.22-32
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
||||||
|
|
||||||
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.10.22-31
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
||||||
|
|
||||||
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.10.22-30
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
||||||
|
|
||||||
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.10.22-29
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
||||||
|
|
||||||
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.10.22-28
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
||||||
|
|
||||||
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.10.22-27
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
||||||
|
|
||||||
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.10.22-26
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
||||||
|
|
||||||
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.10.22-25
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
||||||
|
|
||||||
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 3.10.22-24
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
||||||
|
|
||||||
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.10.22-23
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
||||||
|
|
||||||
* Fri Apr 03 2015 Robert Scheck <robert@fedoraproject.org> 3.10.22-22
|
* Fri Apr 03 2015 Robert Scheck <robert@fedoraproject.org> 3.10.22-22
|
||||||
- Added patch from Debian to avoid free on invalid pointer due to a
|
- Added patch from Debian to avoid free on invalid pointer due to a
|
||||||
buffer overflow (#1196751, #1207180)
|
buffer overflow (#1196751, #1207180)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue