--- etc/pkgtools.conf.orig 2020-03-09 00:05:06 UTC +++ etc/pkgtools.conf @@ -13,6 +13,7 @@ # Useful predefined constants: # # Name: Example values: +# OS_NAME: "FreeBSD" "BSDSUniX" # OS_RELEASE: "7.0-CURRENT" "6.1-RELEASE-p8" # OS_REVISION: "7.0" "6.1" # OS_MAJOR: "7" "6" @@ -42,9 +43,9 @@ # Returns an URI of the packages directory on the preferred mirror site; # where is any quoted string. # Equivalent to: -# sprintf('%s/pub/FreeBSD/ports/%s/packages-%s/', +# sprintf('%s/pub/%s/ports/%s/packages-%s/', # root || ENV['PACKAGEROOT'] || 'ftp://ftp.FreeBSD.org', -# OS_PLATFORM, OS_PKGBRANCH) +# OS_NAME, OS_PLATFORM, OS_PKGBRANCH) # # pkg_site_primary() # Returns an URI of the packages directory on the primary FTP site;