ports/182157: pkgng fails to add a package from stdin

Jan Mikkelsen janm at transactionware.com
Mon Sep 16 16:00:01 UTC 2013


>Number:         182157
>Category:       ports
>Synopsis:       pkgng fails to add a package from stdin
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Sep 16 16:00:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Jan Mikkelsen
>Release:        9.2-RC2
>Organization:
Transactionware
>Environment:
FreeBSD vanaheim.transactionware.com 9.2-RC2 FreeBSD 9.2-RC2 #0: Thu Aug 22 12:09:25 EST 2013     root at vanaheim.transactionware.com:/home/janm/p4/freebsd-image-std-2013.1/work/base-freebsd/home/janm/p4/freebsd-image-std-2013.1/FreeBSD/src/sys/TW  amd64
>Description:
Using "pkg add" from pkgng (aka ports-mgmt/pkg) fails when the package file comes from stdin.

For example:

# pkg add /dev/stdin < /tmp/pcre-8.33.txz 
Installing pcre-8.33...pkg: /dev/stdin has no extension

This is a clear regression over the traditional tools. It is also a pain when you build the packages in one jail, and then execute "pkg add" in a different jail when stdin coming from a file outside the jail environment.

>How-To-Repeat:

>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-ports-bugs mailing list