summaryrefslogtreecommitdiff
path: root/doc/pkgsrc.txt
diff options
context:
space:
mode:
authorleot <leot@pkgsrc.org>2018-07-05 10:05:17 +0000
committerleot <leot@pkgsrc.org>2018-07-05 10:05:17 +0000
commit1a20812ad1b6ae33e2a94b73cb2a0301ed9fda11 (patch)
treec5d326f310e148993d4901901bce766b8329bfa0 /doc/pkgsrc.txt
parentcc11b68d46e8564c89409682ad4d8376c8e7e679 (diff)
downloadpkgsrc-1a20812ad1b6ae33e2a94b73cb2a0301ed9fda11.tar.gz
doc/pkgsrc.*: regen
Diffstat (limited to 'doc/pkgsrc.txt')
-rw-r--r--doc/pkgsrc.txt15
1 files changed, 9 insertions, 6 deletions
diff --git a/doc/pkgsrc.txt b/doc/pkgsrc.txt
index 2f37aa23113..5fbc81e41a8 100644
--- a/doc/pkgsrc.txt
+++ b/doc/pkgsrc.txt
@@ -799,7 +799,7 @@ Before you download any pkgsrc files, you should decide whether you want the
current branch or the stable branch. The latter is forked on a quarterly basis
from the current branch and only gets modified for security updates. The names
of the stable branches are built from the year and the quarter, for example
-2018Q1.
+2018Q2.
The second step is to decide how you want to download pkgsrc. You can get it as
a tar file or via CVS. Both ways are described here.
@@ -822,12 +822,12 @@ published at pkgsrc.tar.bz2 and pkgsrc.tar.xz respectively.
You can fetch the same files using FTP.
-The tar file for the stable branch 2018Q1 is in the directory pkgsrc-2018Q1 and
+The tar file for the stable branch 2018Q2 is in the directory pkgsrc-2018Q2 and
is also called pkgsrc.tar.gz.
To download the latest pkgsrc stable tarball, run:
-$ ftp ftp://ftp.NetBSD.org/pub/pkgsrc/pkgsrc-2018Q1/pkgsrc.tar.gz
+$ ftp ftp://ftp.NetBSD.org/pub/pkgsrc/pkgsrc-2018Q2/pkgsrc.tar.gz
If you prefer, you can also fetch it using "wget", "curl", or your web browser.
@@ -846,7 +846,7 @@ $ ftp ftp://ftp.NetBSD.org/pub/pkgsrc/current/pkgsrc.tar.gz
To fetch a specific pkgsrc stable branch, run:
-$ cd /usr && cvs -q -z2 -d anoncvs@anoncvs.NetBSD.org:/cvsroot checkout -r pkgsrc-2018Q1 -P pkgsrc
+$ cd /usr && cvs -q -z2 -d anoncvs@anoncvs.NetBSD.org:/cvsroot checkout -r pkgsrc-2018Q2 -P pkgsrc
This will create the directory pkgsrc/ in your /usr/ directory and all the
package source will be stored under /usr/pkgsrc/.
@@ -928,7 +928,7 @@ When updating pkgsrc, the CVS program keeps track of the branch you selected.
But if you, for whatever reason, want to switch from the stable branch to the
current one, you can do it by adding the option "-A" after the "update"
keyword. To switch from the current branch back to the stable branch, add the "
--rpkgsrc-2018Q1" option.
+-rpkgsrc-2018Q2" option.
2.2.2.2. What happens to my changes when updating?
@@ -3511,7 +3511,10 @@ echo command may additionally interpret strings with a leading dash or those
containing backslashes.
Example 3 can handle arbitrary strings, since printf(1) only interprets the
-format string, but not the next argument.
+format string, but not the next argument. The trailing single quotes handle the
+case when the string is empty. In that case, the :Q modifier would result in an
+empty string too, which would then be skipped by the shell. For printf(1) this
+doesn't make a difference, but other programs may care.
In example 4, the EXAMPLE_ENV does not need to be quoted because the quoting
has already been done when adding elements to the list.