The little script behind this package helps figuring out reverse package dependencies.
Comments, tests and commits are welcome. Index: sysutils/Makefile =================================================================== RCS file: /cvs/ports/sysutils/Makefile,v retrieving revision 1.576 diff -u -p -u -p -r1.576 Makefile --- sysutils/Makefile 11 Aug 2020 14:54:41 -0000 1.576 +++ sysutils/Makefile 15 Sep 2020 09:50:40 -0000 @@ -242,6 +242,7 @@ SUBDIR += perp SUBDIR += pftop SUBDIR += pick + SUBDIR += pkg_depts SUBDIR += pkg_mgr SUBDIR += polkit SUBDIR += prometheus Index: sysutils/pkg_depts/Makefile =================================================================== RCS file: sysutils/pkg_depts/Makefile diff -N sysutils/pkg_depts/Makefile --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ sysutils/pkg_depts/Makefile 15 Sep 2020 09:50:40 -0000 @@ -0,0 +1,19 @@ +# $OpenBSD$ + +COMMENT = determine reverse package dependencies + +VERSION = 0.1.0 +DISTNAME = pkg_depts-${VERSION} +CATEGORIES = sysutils +MAINTAINER = Matthias Pressfreund <pkg_de...@mpfr.net> + +HOMEPAGE = https://github.com/mpfr/pkg_depts/ + +PERMIT_PACKAGE = Yes + +MASTER_SITES = https://mpfr.net/downloads/ \ + ${HOMEPAGE}releases/download/v${VERSION}/ + +NO_TEST = Yes + +.include <bsd.port.mk> Index: sysutils/pkg_depts/distinfo =================================================================== RCS file: sysutils/pkg_depts/distinfo diff -N sysutils/pkg_depts/distinfo --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ sysutils/pkg_depts/distinfo 15 Sep 2020 09:50:40 -0000 @@ -0,0 +1,2 @@ +SHA256 (pkg_depts-0.1.0.tar.gz) = vDM8K30zm28zeghJYuMTJ7YD2dIbI30G5+OB5zftKnM= +SIZE (pkg_depts-0.1.0.tar.gz) = 3182 Index: sysutils/pkg_depts/pkg/DESCR =================================================================== RCS file: sysutils/pkg_depts/pkg/DESCR diff -N sysutils/pkg_depts/pkg/DESCR --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ sysutils/pkg_depts/pkg/DESCR 15 Sep 2020 09:50:40 -0000 @@ -0,0 +1,3 @@ +The pkg_depts(1) utility determines package dependents, i.e. which +packages directly or indirectly depend on the package(s) in question. +The result will be printed to stdout. Index: sysutils/pkg_depts/pkg/PLIST =================================================================== RCS file: sysutils/pkg_depts/pkg/PLIST diff -N sysutils/pkg_depts/pkg/PLIST --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ sysutils/pkg_depts/pkg/PLIST 15 Sep 2020 09:50:40 -0000 @@ -0,0 +1,3 @@ +@comment $OpenBSD: PLIST,v$ +@man man/man1/pkg_depts.1 +@bin sbin/pkg_depts