Date: Sat, 21 Aug 2004 23:55:58 GMT From: SANETO Takanori <sanewo@ba2.so-net.ne.jp> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/70806: oinkmaster use tar options incompatible to bsdtar Message-ID: <200408212355.i7LNtw58075003@www.freebsd.org> Resent-Message-ID: <200408220000.i7M00h9d012341@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 70806 >Category: ports >Synopsis: oinkmaster use tar options incompatible to bsdtar >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Aug 22 00:00:43 GMT 2004 >Closed-Date: >Last-Modified: >Originator: SANETO Takanori >Release: 5.2-CURRENT as of Aug 16 >Organization: an individual >Environment: FreeBSD muse.sanewo.ddo.jp 5.2-CURRENT FreeBSD 5.2-CURRENT #321: Mon Aug 16 23:41:11 JST 2004 root@muse.sanewo.ddo.jp:/export/usr/obj/usr/src/sys/MUSE i386 >Description: oinkmaster uses option "tPf" to tar. It is OK for gtar, but bsdtar does not permit -P to be used with -t. On -CURRENT, /usr/bin/tar is bsdtar by default (as of Jul 17), this is problem. >How-To-Repeat: Run oinkmaster and you will get following error: Loading /usr/local/etc/oinkmaster.conf Downloading file from http://www.snort.org/dl/rules/snortrules-snapshot-2_1.tar.gz... done. tar: Option -P is not permitted in mode -t /usr/local/bin/oinkmaster: Error: could not list files in tar archive (is it broken?) >Fix: Following fix solved the problem: diff -u -r1.7 Makefile --- Makefile 2 Jul 2004 07:54:15 -0000 1.7 +++ Makefile 21 Aug 2004 23:27:18 -0000 @@ -29,6 +29,7 @@ post-patch: @${REINPLACE_CMD} -e 's,/usr/bin/perl,${PERL},g' \ + -e 's,system("tar",system("gtar",g' \ ${WRKSRC}/oinkmaster.pl do-install: >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200408212355.i7LNtw58075003>