summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/guestfs-internal.h3
-rw-r--r--src/inspect.c1
-rw-r--r--src/inspect_apps.c1
3 files changed, 4 insertions, 1 deletions
diff --git a/src/guestfs-internal.h b/src/guestfs-internal.h
index cee3048a..eacf5021 100644
--- a/src/guestfs-internal.h
+++ b/src/guestfs-internal.h
@@ -284,7 +284,8 @@ enum inspect_os_package_format {
OS_PACKAGE_FORMAT_DEB,
OS_PACKAGE_FORMAT_PACMAN,
OS_PACKAGE_FORMAT_EBUILD,
- OS_PACKAGE_FORMAT_PISI
+ OS_PACKAGE_FORMAT_PISI,
+ OS_PACKAGE_FORMAT_PKGSRC,
};
enum inspect_os_package_management {
diff --git a/src/inspect.c b/src/inspect.c
index 62cbc855..14327357 100644
--- a/src/inspect.c
+++ b/src/inspect.c
@@ -456,6 +456,7 @@ guestfs__inspect_get_package_format (guestfs_h *g, const char *root)
case OS_PACKAGE_FORMAT_PACMAN: ret = safe_strdup (g, "pacman"); break;
case OS_PACKAGE_FORMAT_EBUILD: ret = safe_strdup (g, "ebuild"); break;
case OS_PACKAGE_FORMAT_PISI: ret = safe_strdup (g, "pisi"); break;
+ case OS_PACKAGE_FORMAT_PKGSRC: ret = safe_strdup (g, "pkgsrc"); break;
case OS_PACKAGE_FORMAT_UNKNOWN:
default:
ret = safe_strdup (g, "unknown");
diff --git a/src/inspect_apps.c b/src/inspect_apps.c
index ba272476..a77da735 100644
--- a/src/inspect_apps.c
+++ b/src/inspect_apps.c
@@ -90,6 +90,7 @@ guestfs__inspect_list_applications (guestfs_h *g, const char *root)
case OS_PACKAGE_FORMAT_PACMAN:
case OS_PACKAGE_FORMAT_EBUILD:
case OS_PACKAGE_FORMAT_PISI:
+ case OS_PACKAGE_FORMAT_PKGSRC:
case OS_PACKAGE_FORMAT_UNKNOWN:
default:
/* nothing - keep GCC happy */;