summaryrefslogtreecommitdiff
path: root/pkgtools/pkg_install/files/info
diff options
context:
space:
mode:
authorreed <reed@pkgsrc.org>2009-05-02 16:14:37 +0000
committerreed <reed@pkgsrc.org>2009-05-02 16:14:37 +0000
commitd547799b004296fcbd3fbfa69fb52c9b7aea87b1 (patch)
treeb8e551d288115ca01aaeaa5aaeda4fb227e85ca5 /pkgtools/pkg_install/files/info
parent5282370e78c7b395926c59e5c7ad49d700ff6ddf (diff)
downloadpkgsrc-d547799b004296fcbd3fbfa69fb52c9b7aea87b1.tar.gz
Add new metadata: PREV_PKGPATH and SUPERSEDES.
These will be available from pkg_summary(5) database. To be used to find previous packages when a package is moved or renamed. (Even though that is not recommended.) Documented in pkgsrc Guide and in the pkg_summary(5) manual page. Upcoming commit will have some packages modified to add them.
Diffstat (limited to 'pkgtools/pkg_install/files/info')
-rw-r--r--pkgtools/pkg_install/files/info/show.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/pkgtools/pkg_install/files/info/show.c b/pkgtools/pkg_install/files/info/show.c
index a7a621e3fc4..57a9167c901 100644
--- a/pkgtools/pkg_install/files/info/show.c
+++ b/pkgtools/pkg_install/files/info/show.c
@@ -1,4 +1,4 @@
-/* $NetBSD: show.c,v 1.28 2009/04/24 14:00:25 joerg Exp $ */
+/* $NetBSD: show.c,v 1.29 2009/05/02 16:14:37 reed Exp $ */
#if HAVE_CONFIG_H
#include "config.h"
@@ -7,7 +7,7 @@
#if HAVE_SYS_CDEFS_H
#include <sys/cdefs.h>
#endif
-__RCSID("$NetBSD: show.c,v 1.28 2009/04/24 14:00:25 joerg Exp $");
+__RCSID("$NetBSD: show.c,v 1.29 2009/05/02 16:14:37 reed Exp $");
/*
* FreeBSD install - a package for the installation and maintainance
@@ -334,6 +334,8 @@ show_summary(struct pkg_meta *meta, package_t *plist, const char *binpkgfile)
"HOMEPAGE",
"PKGTOOLS_VERSION",
"BUILD_DATE",
+ "PREV_PKGPATH",
+ "SUPERSEDES",
NULL
};