diff --git a/.cvsignore b/.cvsignore index 174f979..35beac6 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -arc-5.21j.tar.gz +arc-5.21m.tar.gz diff --git a/arc-fe.patch b/arc-fe.patch new file mode 100644 index 0000000..c6ab137 --- /dev/null +++ b/arc-fe.patch @@ -0,0 +1,11 @@ +diff -uNr arc-5.21m.orig/arcrun.c arc-5.21m/arcrun.c +--- arc-5.21m.orig/arcrun.c 2005-09-21 18:39:57.000000000 +0200 ++++ arc-5.21m/arcrun.c 2005-10-08 12:27:46.000000000 +0200 +@@ -25,7 +25,6 @@ + VOID rempath(), openarc(), closearc(), arcdie(); + int readhdr(), match(), unpack(); + static VOID runfile(); +-char *strcat(); + + VOID + runarc(num, arg) /* run file from archive */ diff --git a/arc-gcc4.patch b/arc-gcc4.patch deleted file mode 100644 index 5d4f214..0000000 --- a/arc-gcc4.patch +++ /dev/null @@ -1,18 +0,0 @@ ---- arc-5.21j/marc.c.gcc4 2005-05-25 17:17:58.000000000 -0400 -+++ arc-5.21j/marc.c 2005-05-25 17:18:39.000000000 -0400 -@@ -28,6 +28,7 @@ - #if UNIX - #include - #include -+#include - #endif - - #ifndef __STDC__ -@@ -48,7 +49,6 @@ - int nargs; /* number of arguments */ - char *arg[]; /* pointers to arguments */ - { -- char *makefnam(); /* filename fixup routine */ - char *envfind(); - #if !_MTS - char *arctemp2, *mktemp(); /* temp file stuff */ diff --git a/arc.spec b/arc.spec index 48b726e..7460fad 100644 --- a/arc.spec +++ b/arc.spec @@ -1,14 +1,14 @@ Name: arc -Version: 5.21j -Release: 4 +Version: 5.21m +Release: 1%{dist} Summary: Arc archiver Group: Applications/Archiving License: GPL -URL: ftp://ftp.freebsd.org/pub/FreeBSD/distfiles/ -Source: ftp://ftp.freebsd.org/pub/FreeBSD/distfiles/%{name}-%{version}.tar.gz -Patch0: arc-gcc4.patch +URL: http://arc.sourceforge.net/ +Source: http://heanet.dl.sourceforge.net/sourceforge/%{name}/%{name}-%{version}.tar.gz +Patch0: arc-fe.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) %description @@ -17,7 +17,7 @@ but useful if you have old .arc files you need to unpack. %prep %setup -q -%patch0 -p1 -b .gcc4 +%patch0 -p1 -b .fe sed -i \ -e 's,^OPT =.*$,OPT = ${RPM_OPT_FLAGS},' \ @@ -37,11 +37,15 @@ rm -fr %{buildroot} %files %defattr(0644, root, root, 0755) -%doc LICENSE COPYING PATCHLEVEL Changes.521 Readme Arc521.doc +%doc LICENSE COPYING PATCHLEVEL Readme Arc521.doc %doc %{_mandir}/man1/* %attr (0755,root,root) %{_bindir}/* %changelog +* Sat Oct 8 2005 Nicolas Mailhot 5.21m-1 +- update to 5.21m (CAN-2005-2945, CAN-2005-2992, #168945) +- last maintained package for now (-> orphan) + * Wed May 25 2005 Jeremy Katz - 5.21j-4 - fix build with gcc4, patch from Nicolas Mailhot (#156225) diff --git a/sources b/sources index 386d7af..5e13c5b 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -b3c12bbc71c440df19d3a8a653d4baf5 arc-5.21j.tar.gz +6e1a3031d13b9157386b7e1c101ca8da arc-5.21m.tar.gz