.*- I've attached a diff to update archivers/arc from 5.21n to 5.21o; this bugfix release appeared shortly after the port was last updated.
Tests fine on i386/-current. -- o--------------------------{ Will Maier }--------------------------o | jabber:[EMAIL PROTECTED] | [EMAIL PROTECTED] | | freenode:..............lt_kije | freenode:........#madlug,#wilug | *------------------[ BSD Unix: Live Free or Die ]------------------*
Index: Makefile =================================================================== RCS file: /cvs/ports/archivers/arc/Makefile,v retrieving revision 1.25 diff -u -r1.25 Makefile --- Makefile 13 Oct 2005 18:05:20 -0000 1.25 +++ Makefile 18 Jun 2006 19:22:03 -0000 @@ -2,7 +2,7 @@ COMMENT= "create & extract files from DOS .ARC files" -DISTNAME= arc-5.21n +DISTNAME= arc-5.21o CATEGORIES= archivers # GPL Index: distinfo =================================================================== RCS file: /cvs/ports/archivers/arc/distinfo,v retrieving revision 1.3 diff -u -r1.3 distinfo --- distinfo 13 Oct 2005 18:05:20 -0000 1.3 +++ distinfo 18 Jun 2006 19:22:03 -0000 @@ -1,4 +1,4 @@ -MD5 (arc-5.21n.tgz) = 160eb7b7db1fa0c4b39296b6366a7b66 -RMD160 (arc-5.21n.tgz) = 942e219ae1b22331f717d9279b80ad4193b02399 -SHA1 (arc-5.21n.tgz) = 91d1aeb13bbc1e4ad35a6cd8dcf920f70290c04f -SIZE (arc-5.21n.tgz) = 82213 +MD5 (arc-5.21o.tgz) = 3b30c739b42b2fe8ac4ec0a05f34f284 +RMD160 (arc-5.21o.tgz) = 2897f62452f59efcb757cd5447d6d330df0cfdd1 +SHA1 (arc-5.21o.tgz) = 4b803eae04976072fae88d4dbfc4b3e45796f8f3 +SIZE (arc-5.21o.tgz) = 82386 Index: patches/patch-arcext_c =================================================================== RCS file: /cvs/ports/archivers/arc/patches/patch-arcext_c,v retrieving revision 1.2 diff -u -r1.2 patch-arcext_c --- patches/patch-arcext_c 13 Oct 2005 18:05:20 -0000 1.2 +++ patches/patch-arcext_c 18 Jun 2006 19:22:03 -0000 @@ -1,6 +1,6 @@ $OpenBSD: patch-arcext_c,v 1.2 2005/10/13 18:05:20 naddy Exp $ ---- arcext.c.orig Tue Oct 11 23:47:29 2005 -+++ arcext.c Tue Oct 11 23:47:45 2005 +--- arcext.c.orig Wed Oct 12 10:22:18 2005 ++++ arcext.c Sun Jun 18 13:34:33 2006 @@ -143,7 +143,7 @@ extfile(hdr, path, prt) /* extract a fi if (note) printf("Extracting file: %s\n", fix); @@ -10,7 +10,7 @@ if ((f = fopen(fix, "r"))) { /* see if it exists */ fclose(f); printf("WARNING: File %s already exists!", fix); -@@ -190,7 +190,7 @@ extfile(hdr, path, prt) /* extract a fi +@@ -191,7 +191,7 @@ extfile(hdr, path, prt) /* extract a fi if (!f) #endif { Index: patches/patch-arcio_c =================================================================== RCS file: /cvs/ports/archivers/arc/patches/patch-arcio_c,v retrieving revision 1.2 diff -u -r1.2 patch-arcio_c --- patches/patch-arcio_c 13 Oct 2005 18:05:20 -0000 1.2 +++ patches/patch-arcio_c 18 Jun 2006 19:22:03 -0000 @@ -1,6 +1,6 @@ $OpenBSD: patch-arcio_c,v 1.2 2005/10/13 18:05:20 naddy Exp $ ---- arcio.c.orig Tue Oct 11 23:47:55 2005 -+++ arcio.c Tue Oct 11 23:48:12 2005 +--- arcio.c.orig Wed Oct 12 10:22:18 2005 ++++ arcio.c Sun Jun 18 13:34:33 2006 @@ -46,7 +46,7 @@ readhdr(hdr, f) /* read a header from return 0; /* then signal end of archive */ @@ -10,7 +10,7 @@ printf("An entry in %s has a bad header.\n", arcname); nerrs++; } -@@ -63,10 +63,10 @@ readhdr(hdr, f) /* read a header from +@@ -67,10 +67,10 @@ readhdr(hdr, f) /* read a header from if (feof(f) && first) arcdie("%s is not an archive", arcname); Index: patches/patch-arcrun_c =================================================================== RCS file: /cvs/ports/archivers/arc/patches/patch-arcrun_c,v retrieving revision 1.2 diff -u -r1.2 patch-arcrun_c --- patches/patch-arcrun_c 13 Oct 2005 18:05:20 -0000 1.2 +++ patches/patch-arcrun_c 18 Jun 2006 19:22:03 -0000 @@ -1,6 +1,6 @@ $OpenBSD: patch-arcrun_c,v 1.2 2005/10/13 18:05:20 naddy Exp $ ---- arcrun.c.orig Tue Oct 11 23:48:39 2005 -+++ arcrun.c Tue Oct 11 23:48:59 2005 +--- arcrun.c.orig Wed Oct 12 10:22:18 2005 ++++ arcrun.c Sun Jun 18 13:37:16 2006 @@ -98,7 +98,7 @@ runfile(hdr, num, arg) /* run a file */ strcpy(sys, buf); @@ -27,11 +27,11 @@ + if (arcwarn) if ((tmp = fopen(buf, "r"))) arcdie("Temporary file %s already exists", buf); - if (!(tmp = fopen(buf, OPEN_W))) -@@ -148,7 +148,7 @@ runfile(hdr, num, arg) /* run a file */ + if (!(tmp = tmpopen(buf))) +@@ -146,7 +146,7 @@ runfile(hdr, num, arg) /* run a file */ + if (system(buf)) /* try to invoke it */ + arcdie("Execution failed for %s", buf); #endif - chdir(dir); - free(dir); /* return to whence we started */ - if (unlink(buf) && warn) { + if (unlink(buf) && arcwarn) { printf("Cannot unsave temporary file %s\n", buf); Index: patches/patch-arcunp_c =================================================================== RCS file: /cvs/ports/archivers/arc/patches/patch-arcunp_c,v retrieving revision 1.2 diff -u -r1.2 patch-arcunp_c --- patches/patch-arcunp_c 13 Oct 2005 18:05:20 -0000 1.2 +++ patches/patch-arcunp_c 18 Jun 2006 19:22:03 -0000 @@ -1,6 +1,6 @@ -$OpenBSD: patch-arcunp_c,v 1.2 2005/10/13 18:05:20 naddy Exp $ ---- arcunp.c.orig Tue Oct 11 23:49:09 2005 -+++ arcunp.c Tue Oct 11 23:49:30 2005 +$OpenBSD$ +--- arcunp.c.orig Sun Jun 18 13:39:16 2006 ++++ arcunp.c Sun Jun 18 13:39:29 2006 @@ -122,7 +122,7 @@ unpack(f, t, hdr) /* unpack an archive break;