diff options
author | sobomax <sobomax@FreeBSD.org> | 2000-10-23 07:01:31 +0000 |
---|---|---|
committer | sobomax <sobomax@FreeBSD.org> | 2000-10-23 07:01:31 +0000 |
commit | 9b13a9d87f9d762af930834991a0e99fefcb5150 (patch) | |
tree | c87847a1fde45e5f178915210741f4f763ddcf7b /usr.sbin/pkg_install/info/perform.c | |
parent | dbf37d2b925089e15674c27ae4cdec103578ba88 (diff) | |
download | FreeBSD-src-9b13a9d87f9d762af930834991a0e99fefcb5150.zip FreeBSD-src-9b13a9d87f9d762af930834991a0e99fefcb5150.tar.gz |
Add "-o" option to pkg_create(1) and pkg_info(1). This option intended to record
a path of the port from which package has been created within FreeBSD Ports
Collection and will be used to improve pkg_version(1) and similar tools.
Reviewed by: ports@FreeBSD.org, jkh
Approved by: jkh
Diffstat (limited to 'usr.sbin/pkg_install/info/perform.c')
-rw-r--r-- | usr.sbin/pkg_install/info/perform.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/usr.sbin/pkg_install/info/perform.c b/usr.sbin/pkg_install/info/perform.c index 81c16f1..e9fa6d5 100644 --- a/usr.sbin/pkg_install/info/perform.c +++ b/usr.sbin/pkg_install/info/perform.c @@ -205,6 +205,8 @@ pkg_do(char *pkg) show_files("Files:\n", &plist); if ((Flags & SHOW_SIZE) && installed) show_size("Package Size:\n", &plist); + if (Flags & SHOW_ORIGIN) + show_origin("Origin:\n", &plist); if (!Quiet) puts(InfoPrefix); } |