Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Sep 2013 15:50:38 GMT
From:      Jan Mikkelsen <janm@transactionware.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/182157: pkgng fails to add a package from stdin
Message-ID:  <201309161550.r8GFoccJ073364@oldred.freebsd.org>
Resent-Message-ID: <201309161600.r8GG00vY011851@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201309161550.r8GFoccJ073364>