| Both sides previous revision Previous revision Next revision | Previous revision |
| pkg [2022/04/23 15:16] – Add pkg(7). Describe the complementary nature of issues and PRs in GitHub. Jazz things up a little, hopefully not too verbose. GrahamPerrin | pkg [2023/01/29 14:12] (current) – &manpath=freebsd-ports GrahamPerrin |
|---|
| |
| Essential manual pages: | Essential manual pages: |
| * [[https://www.freebsd.org/cgi/man.cgi?query=pkg&sektion=7&manpath=FreeBSD|pkg(7)]] – integral to %%FreeBSD%%, primarily for bootstrapping | * [[https://man.freebsd.org/cgi/man.cgi?query=pkg&sektion=7&manpath=freebsd-release|pkg(7)]] – integral to %%FreeBSD%%, primarily for bootstrapping |
| * [[https://www.freebsd.org/cgi/man.cgi?query=pkg&sektion=8&manpath=FreeBSD-Ports|pkg(8)]] – best known, with features available as a result of bootstrapping. | * [[https://man.freebsd.org/cgi/man.cgi?query=pkg&sektion=8&manpath=freebsd-ports|pkg(8)]] – best known, with features available as a result of bootstrapping. |
| |
| Hint: | In %%FreshPorts%%: |
| * [[https://www.freebsd.org/cgi/man.cgi?query=pkg-alias&sektion=8&manpath=FreeBSD-Ports|pkg-alias(8)]] is amongst the valuable pages that are sometimes overlooked. | |
| | |
| %%FreshPorts%% listing: | |
| * https://www.freshports.org/ports-mgmt/pkg/ | * https://www.freshports.org/ports-mgmt/pkg/ |
| |
| In %%GitHub%%: | In %%GitHub%%: |
| * https://github.com/freebsd/pkg | * https://github.com/freebsd/pkg |
| * includes issues and pull requests (PRs) that are complementary to bug reports (BRs) in Bugzilla, which can be [[https://bugs.freebsd.org/bugzilla/buglist.cgi?component=Individual%20Port%28s%29&list_id=28394&product=Ports%20%26%20Packages&query_format=advanced&resolution=---&short_desc=ports-mgmt%2Fpkg&short_desc_type=allwordssubstr|found]] and created through FreshPorts. | * issues and pull requests (PRs) that are complementary to bug reports (BRs also known as PRs) in Bugzilla. |
| | |
| | ===== Hints ===== |
| | |
| | [[https://man.freebsd.org/cgi/man.cgi?query=pkg-alias&sektion=8&manpath=freebsd-ports|pkg-alias(8)]] is amongst the valuable pages that are sometimes overlooked. |
| | |
| | [[https://www.freshports.org/ports-mgmt/pkg-provides/|ports-mgmt/pkg-provides]] can be plugged in to ''%%pkg%%''. An example: |
| | |
| | <code> |
| | % pkg provides bin/mkntfs$ |
| | Name : fusefs-ntfs-2017.3.23 |
| | Desc : Mount NTFS partitions (read/write) and disk images |
| | Repo : FreeBSD |
| | Filename: usr/local/sbin/mkntfs |
| | % |
| | </code> |
| | |
| | – for more examples, see [[https://man.freebsd.org/cgi/man.cgi?query=pkg-provides&sektion=8&manpath=freebsd-ports|pkg-provides(8)]]. |
| | |
| | BRs can be [[https://bugs.freebsd.org/bugzilla/buglist.cgi?component=Individual%20Port%28s%29&list_id=28394&product=Ports%20%26%20Packages&query_format=advanced&resolution=---&short_desc=ports-mgmt%2Fpkg&short_desc_type=allwordssubstr|found]] and created through %%FreshPorts%%. |
| |
| ===== History ===== | ===== History ===== |
| |
| Historically: ''%%pkg_info%%'', ''%%pkg_create%%'' and ''%%pkg_add%%'' were used for registration of local packages and provision of remote packages. | ''%%pkg_info%%'', ''%%pkg_create%%'' and ''%%pkg_add%%'' were used for registration of local packages and provision of remote packages. |
| | |
| | ''%%pkgng%%'' provided a new generation (//ng//) of commands. |
| |
| ''%%pkgng%%'' provided a new generation (//ng//) of commands. Eventually, ''%%pkgng%%'' became known as ''%%pkg%%''. | ''%%pkgng%%'' became known as ''%%pkg%%''. |
| |