From: Jakub Bogusz Date: Thu, 22 Sep 2011 17:24:16 +0000 (+0000) Subject: - updated to 5.21p (fixes CAN-2005-2945 CAN-2005-2992; bugs actually fixed in 5.21m... X-Git-Tag: auto/th/arc-5_21p-1 X-Git-Url: http://git.pld-linux.org/cgi-bin/gitweb.cgi?p=packages%2Farc.git;a=commitdiff_plain - updated to 5.21p (fixes CAN-2005-2945 CAN-2005-2992; bugs actually fixed in 5.21m, 21 Sep 2005) - removed outdated gcc4 patch - updated Source0 URL, added URL (of UNIX port) - UNIX port is GPLed since 2003 Changed files: arc-gcc4.patch -> 1.2 arc.spec -> 1.20 --- diff --git a/arc-gcc4.patch b/arc-gcc4.patch deleted file mode 100644 index bd86ccb..0000000 --- a/arc-gcc4.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- arc-5.21j/marc.c~ 2003-10-31 03:22:36.000000000 +0100 -+++ arc-5.21j/marc.c 2005-09-19 01:23:14.000000000 +0200 -@@ -48,7 +48,7 @@ - int nargs; /* number of arguments */ - char *arg[]; /* pointers to arguments */ - { -- char *makefnam(); /* filename fixup routine */ -+// char *makefnam(); /* filename fixup routine */ - char *envfind(); - #if !_MTS - char *arctemp2, *mktemp(); /* temp file stuff */ diff --git a/arc.spec b/arc.spec index a573d84..1f7c3ef 100644 --- a/arc.spec +++ b/arc.spec @@ -1,14 +1,14 @@ Summary: Arc archiver Summary(pl.UTF-8): Archiwizer arc Name: arc -Version: 5.21j +Version: 5.21p Release: 1 -License: distributable if unmodified +License: GPL v2 Group: Applications/Archiving -Source0: ftp://ftp.freebsd.org/pub/FreeBSD/distfiles/%{name}-%{version}.tar.gz -# Source0-md5: b3c12bbc71c440df19d3a8a653d4baf5 +Source0: http://downloads.sourceforge.net/arc/%{name}-%{version}.tar.gz +# Source0-md5: 902ce24b23422880d474df6f1d9eba5e Patch0: %{name}-time.patch -Patch1: %{name}-gcc4.patch +URL: http://arc.sourceforge.net/ BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description @@ -23,7 +23,6 @@ stare archiwa .arc. %prep %setup -q %patch0 -p1 -%patch1 -p1 %build %{__make} \ @@ -36,13 +35,15 @@ install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1} install arc marc $RPM_BUILD_ROOT%{_bindir} -install arc.1 $RPM_BUILD_ROOT%{_mandir}/man1 +install arc.1 marc.1 $RPM_BUILD_ROOT%{_mandir}/man1 %clean rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) -%doc Arc521.doc Arcinfo Changes.521 Readme -%attr(755,root,root) %{_bindir}/* +%doc Arc521.doc Arcinfo Changelog LICENSE Readme +%attr(755,root,root) %{_bindir}/arc +%attr(755,root,root) %{_bindir}/marc %{_mandir}/man1/arc.1* +%{_mandir}/man1/marc.1*