Date: Mon, 2 May 2005 04:02:45 GMT From: sylvio cesar <sylvioc@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/80524: [MAINTAINER] archivers/sharutils: update to 4.3.80 Message-ID: <200505020402.j4242jUU039144@www.freebsd.org> Resent-Message-ID: <200505020410.j424A4jY029356@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 80524 >Category: ports >Synopsis: [MAINTAINER] archivers/sharutils: update to 4.3.80 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Mon May 02 04:10:04 GMT 2005 >Closed-Date: >Last-Modified: >Originator: sylvio cesar >Release: FreeBSD 5.4-STABLE i386 >Organization: >Environment: System: FreeBSD sylvioc.gmail.com 5.4-STABLE FreeBSD 5.4-STABLE #0: Fri Apr 22 14:34:28 BRT 2005 >Description: - Update to 4.3.80 Removed file(s): - files/patch-src_unshar.c Generated with FreeBSD Port Tools 0.63 >How-To-Repeat: >Fix: --- sharutils-4.3.80_1.patch begins here --- Index: Makefile =================================================================== RCS file: /home/ncvs/ports/archivers/sharutils/Makefile,v retrieving revision 1.27 diff -u -r1.27 Makefile --- Makefile 22 Apr 2005 02:12:54 -0000 1.27 +++ Makefile 2 May 2005 04:00:04 -0000 @@ -6,11 +6,11 @@ # PORTNAME= sharutils -PORTVERSION= 4.3.77 +PORTVERSION= 4.3.80 PORTREVISION= 1 CATEGORIES= archivers MASTER_SITES= ${MASTER_SITE_GNU} -MASTER_SITE_SUBDIR= ${PORTNAME}/${PORTVERSION} +MASTER_SITE_SUBDIR= ${PORTNAME}/REL-4.3.80 MAINTAINER= sylvioc@gmail.com COMMENT= Pack, send and unpack shell archives; synchronize via e-mail Index: distinfo =================================================================== RCS file: /home/ncvs/ports/archivers/sharutils/distinfo,v retrieving revision 1.6 diff -u -r1.6 distinfo --- distinfo 20 Apr 2005 20:55:03 -0000 1.6 +++ distinfo 2 May 2005 04:00:04 -0000 @@ -1,2 +1,2 @@ -MD5 (sharutils-4.3.77.tar.gz) = 813e7d2d119fc807286b1e01448cf450 -SIZE (sharutils-4.3.77.tar.gz) = 686211 +MD5 (sharutils-4.3.80.tar.gz) = 1a9e41753998cb20cfa4484ed21d7fc9 +SIZE (sharutils-4.3.80.tar.gz) = 799351 Index: files/patch-src_unshar.c =================================================================== RCS file: files/patch-src_unshar.c diff -N files/patch-src_unshar.c --- files/patch-src_unshar.c 20 Apr 2005 20:55:03 -0000 1.1 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,36 +0,0 @@ ---- src/unshar.c.orig 1995-11-21 17:22:14.000000000 +0100 -+++ src/unshar.c 2004-09-29 15:09:44.682469264 +0200 -@@ -346,8 +346,8 @@ - { - size_t size_read; - FILE *file; -- char name_buffer[NAME_BUFFER_SIZE]; -- char copy_buffer[NAME_BUFFER_SIZE]; -+ char name_buffer[NAME_BUFFER_SIZE] = {'\0'}; -+ char copy_buffer[NAME_BUFFER_SIZE] = {'\0'}; - int optchar; - - program_name = argv[0]; -@@ -409,14 +409,14 @@ - if (optind < argc) - for (; optind < argc; optind++) - { -- if (argv[optind][0] == '/') -- stpcpy (name_buffer, argv[optind]); -- else -- { -- char *cp = stpcpy (name_buffer, current_directory); -- *cp++ = '/'; -- stpcpy (cp, argv[optind]); -- } -+ if (argv[optind][0] == '/') { -+ strncpy (name_buffer, argv[optind], sizeof(name_buffer)); -+ name_buffer[sizeof(name_buffer)-1] = '\0'; -+ } -+ else { -+ snprintf(name_buffer, sizeof(name_buffer),"%s/%s", current_directory, argv[optind]); -+ name_buffer[sizeof(name_buffer)-1] = '\0'; -+ } - if (file = fopen (name_buffer, "r"), !file) - error (EXIT_FAILURE, errno, name_buffer); - unarchive_shar_file (name_buffer, file); --- sharutils-4.3.80_1.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200505020402.j4242jUU039144>