>Synopsis:      man ports says set PLIST_DB but PLIST_DB is deprecated
>Category:      man pages
>Environment:
        System      : OpenBSD 6.5
        Details     : OpenBSD 6.5-current (GENERIC.MP) #22: Wed Jun 12 20:26:15 
MDT 2019
                         
[email protected]:/usr/src/sys/arch/amd64/compile/GENERIC.MP

        Architecture: OpenBSD.amd64
        Machine     : amd64
>Description:
        In USING A READ_ONLY PORTS tree section of man ports, it says set 
PLIST_DB but (I believe it) should say set PLIST_REPOSITORY
        Please note that man bsd.port.mk says PLIST_DB is deprecated. Also, 
setting PLIST_DB in /etc/mk.conf
        doesn't change permissions when one runs make fix-permissions, but make 
fix-permissions does work if
        one sets PLIST_REPOSITORY in /etc/mk.conf. This occurs because 
/usr/ports/infrastructure/mk/bsd.port.mk in the
        fix-permissions sections affects PLIST_REPOSITORY but not PLIST_DB.
>How-To-Repeat:
        set PLIST_DB in /etc/mk.conf and then run make fix-permissions in 
/usr/ports. The directory permissions for PLIST_DB are
        not changed. But if PLIST_REPOSITORY is set in /etc/mk.conf and make 
fix-permissions in /usr/ports is run, the permissions
        are changed appropriately.
>Fix:
Index: share/man/man7/ports.7
===================================================================
RCS file: /cvs/src/share/man/man7/ports.7,v
retrieving revision 1.126
diff -u -p -u -r1.126 ports.7
--- share/man/man7/ports.7      30 May 2019 09:24:08 -0000      1.126
+++ share/man/man7/ports.7      16 Jun 2019 12:12:42 -0000
@@ -641,7 +641,7 @@ Set
 .Ev UPDATE_COOKIES_DIR ,
 .Ev DISTDIR ,
 and
-.Ev PLIST_DB
+.Ev PLIST_REPOSITORY
 in
 .Pa /etc/mk.conf
 accordingly.

Reply via email to