pkgng/pkgng — Issue #122: Implement pkg version -T
Author: crees
Created: 2011-12-27 13:40:07+00:00
State: open

Hi all,

I've written a few lines to implement a subset of pkg_install's pkg_version -T option.

http://www.bayofrum.net/~crees/patches/pkgng--T-option.diff

Without this code, bsd.port.mk gets upset when it searches for vulnerabilities:

search for -T on:
http://www.freebsd.org/cgi/cvsweb.cgi/ports/Mk/bsd.port.mk.diff?r1=1.483;r2=1.484

This patch doesn't implement the '-' argument to use stdin, but for this use case it works.