Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/pkgsrc/doc/pkgsrc.txt,v rcsdiff: /ftp/cvs/cvsroot/pkgsrc/doc/pkgsrc.txt,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.261 retrieving revision 1.262 diff -u -p -r1.261 -r1.262 --- pkgsrc/doc/pkgsrc.txt 2019/03/03 21:37:20 1.261 +++ pkgsrc/doc/pkgsrc.txt 2019/04/03 23:54:00 1.262 @@ -809,10 +809,11 @@ CVS at any later time. 2.1.1. As tar archive -The primary download location for all pkgsrc files is http://ftp.NetBSD.org/pub -/pkgsrc/ or ftp://ftp.NetBSD.org/pub/pkgsrc/ (it points to the same location). -There are a number of subdirectories for different purposes, which are -described in detail in Appendix C, Directory layout of the pkgsrc FTP server. +The primary download location for all pkgsrc files is https://cdn.NetBSD.org/ +pub/pkgsrc/ or ftp://ftp.NetBSD.org/pub/pkgsrc/ (it points to the same +location). There are a number of subdirectories for different purposes, which +are described in detail in Appendix C, Directory layout of the pkgsrc FTP +server. The tar archive for the current branch is in the directory current and is called pkgsrc.tar.gz. It is autogenerated weekly. @@ -1014,7 +1015,7 @@ packages from someone else. 4.1. Using binary packages -On the ftp.NetBSD.org server and its mirrors, there are collections of binary +On the cdn.NetBSD.org site and mirrors, there are collections of binary packages, ready to be installed. These binary packages have been built using the default settings for the directories, that is: @@ -1058,7 +1059,7 @@ To install packages directly from an FTP commands in a Bourne-compatible shell (be sure to su to root first): # PATH="/usr/pkg/sbin:$PATH" -# PKG_PATH="ftp://ftp.NetBSD.org/pub/pkgsrc/packages/OPSYS/ARCH/VERSIONS/All/" +# PKG_PATH="http://cdn.NetBSD.org/pub/pkgsrc/packages/OPSYS/ARCH/VERSIONS/All/" # export PATH PKG_PATH Instead of URLs, you can also use local paths, for example if you are @@ -1108,8 +1109,8 @@ files. The NetBSD Security-Officer and Packages Groups maintain a list of known security vulnerabilities to packages which are (or have been) included in -pkgsrc. The list is available from the NetBSD FTP site at ftp://ftp.NetBSD.org/ -pub/pkgsrc/distfiles/vulnerabilities. +pkgsrc. The list is available from the NetBSD FTP site at http://ftp.NetBSD.org +/pub/pkgsrc/distfiles/vulnerabilities. Through pkg_admin fetch-pkg-vulnerabilities, this list can be downloaded automatically, and a security audit of all packages installed on a system can @@ -1723,8 +1724,8 @@ Create a user with name "pbulk". Fetch and extract pkgsrc. Use a command like one of these: -# (cd /usr && ftp -o - http://ftp.NetBSD.org/pub/pkgsrc/current/pkgsrc.tar.gz | tar -zxf-) -# (cd /usr && fetch -o - http://ftp.NetBSD.org/pub/pkgsrc/current/pkgsrc.tar.gz | tar -zxf-) +# (cd /usr && ftp -o - https://cdn.NetBSD.org/pub/pkgsrc/current/pkgsrc.tar.gz | tar -zxf-) +# (cd /usr && fetch -o - https://cdn.NetBSD.org/pub/pkgsrc/current/pkgsrc.tar.gz | tar -zxf-) # (cd /usr && cvs -Q -z3 -d anoncvs@anoncvs.NetBSD.org:/cvsroot get -P pkgsrc) Or any other way that fits (e.g., curl, wget).