Subject: pkg/29172: pkg_tarup doesn't works with OpenBSD's tar.
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <pancake@phreaker.net>
List: pkgsrc-bugs
Date: 01/31/2005 15:31:00
>Number:         29172
>Category:       pkg
>Synopsis:       pkg_tarup doesn't works with OpenBSD's tar
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jan 31 15:31:00 +0000 2005
>Originator:     pancake@phreaker.net
>Release:        OpenBSD 3.5
>Organization:
	
>Environment:
	
	
OpenBSD beegnu.beegnu 3.5 GENERIC#34 i386
Architecture: i386
Machine: i386
>Description:
	pkg_tarup uses -T flag of tar, this flag isn't implemented in OpenBSD's
	version of tar.
	
>How-To-Repeat:
# pkg_tarup pkgfind                                                            
Creating binary package: pkgfind-20050127
Creating package /tmp/pkgfind-20050127.tgz
Registering depends:.
Registering conflicts:.
tar: unknown option -- T
usage: tar [-]{crtux}[-befhmopqsvwzHLOPXZ014578] [blocksize] [archive] [replstr] [-C directory] [-I file] [file ...]
pkg_create: /bin/tar command failed with code 256
# 

>Fix:
	* choose:
	- use `cat file` instead of -T file
	- add gtar as dependency
	

>Unformatted: