Skip to content
/ pkg_depts Public

Determine reverse OpenBSD package dependencies

License

Notifications You must be signed in to change notification settings

mpfr/pkg_depts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 

Repository files navigation

pkg_depts

Figures out which OpenBSD packages directly or indirectly depend on the package(s) in question.

For further information, please have a look at the manpage.

Note: Only installed packages are considered.

How to install

First of all, make sure you're running OpenBSD-current. Otherwise, one of the following branches might be more appropriate:

Then, make sure your user (e.g. mpfr) has sufficient doas permissions.

$ cat /etc/doas.conf
permit nopass mpfr

Download and extract the source files into the user's home directory, here /home/mpfr.

$ cd
$ pwd
/home/mpfr
$ doas rm -rf pkg_depts-current/
$ ftp -Vo - https://codeload.github.com/mpfr/pkg_depts/tar.gz/current | tar xzvf -
pkg_depts-current
pkg_depts-current/LICENSE
pkg_depts-current/README.md
pkg_depts-current/docs
pkg_depts-current/docs/pkg_depts.1.html
pkg_depts-current/src
pkg_depts-current/src/Makefile
pkg_depts-current/src/pkg_depts.1
pkg_depts-current/src/pkg_depts.sh
pkg_depts-current/src/pkg_info_1.pl

Install tool and manpage.

$ cd pkg_depts-current/src
$ doas make install
install -c -o root -g bin -m 555  /home/mpfr/pkg_depts-current/src/pkg_depts.sh ...
install -c -o root -g bin -m 555  /home/mpfr/pkg_depts-current/src/pkg_info_1...
install -c -o root -g bin -m 444  pkg_depts.1 ...

How to uninstall

$ cd ~/pkg_depts-current/src
$ doas make uninstall
rm /usr/local/sbin/pkg_depts /usr/local/sbin/pkg_info_1 /usr/local/man/man1/...

About

Determine reverse OpenBSD package dependencies

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published