Bug 230642

Summary: Article "Introduction to NanoBSD" still refers to pkg_add
Product: Documentation Reporter: f.toscan
Component: Books & ArticlesAssignee: freebsd-doc (Nobody) <doc>
Status: Closed FIXED    
Severity: Affects Many People CC: carlavilla
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
Patch none

Description f.toscan 2018-08-15 11:21:22 UTC
Created attachment 196215 [details]
Patch

Section 2.3 of Introduction to NanoBSD article shows how to write a custom function to install packages using pkg_add.

Since 9.X is unsupported and NanoBSD flavors cust_pkgng, the howto could be updated to list cust_pkgng in section 2.3.2 and remove the example above.

Patch attached.
Comment 1 commit-hook freebsd_committer freebsd_triage 2022-11-06 17:31:04 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/doc/commit/?id=988b560031973b356cba26d06fd01ebdeb813785

commit 988b560031973b356cba26d06fd01ebdeb813785
Author:     Sergio Carlavilla Delgado <carlavilla@FreeBSD.org>
AuthorDate: 2022-11-06 17:28:51 +0000
Commit:     Sergio Carlavilla Delgado <carlavilla@FreeBSD.org>
CommitDate: 2022-11-06 17:28:51 +0000

    Add cust_pkgng to NanoBSD

    PR:             230642
    Patch by:       <f.toscan@hotmail.it> and converted to AsciiDoc by
                    carlavilla@

 documentation/content/en/articles/nanobsd/_index.adoc | 1 +
 1 file changed, 1 insertion(+)
Comment 2 Sergio Carlavilla Delgado freebsd_committer freebsd_triage 2022-11-06 17:34:37 UTC
Fixed. Thanks!