The branch, master has been updated via ec1d5d56 Add `--with-nobody-user=FOO` configure option. via 26befd9c Cygwin python3 is now 3.8 w/o commonmark lib. [buildall] from a28c4558 Fix spelling error in man page. (#124)
https://git.samba.org/?p=rsync.git;a=shortlog;h=master - Log ----------------------------------------------------------------- commit ec1d5d564cb6b7942796fe6de9a074147b196479 Author: Wayne Davison <wa...@opencoder.net> Date: Fri Jan 15 07:38:49 2021 -0800 Add `--with-nobody-user=FOO` configure option. commit 26befd9c6ca03f23e5b2587b2b7618ca1dafc5a2 Author: Wayne Davison <wa...@opencoder.net> Date: Fri Jan 1 09:29:07 2021 -0800 Cygwin python3 is now 3.8 w/o commonmark lib. [buildall] ----------------------------------------------------------------------- Summary of changes: .github/workflows/build.yml | 4 +++- INSTALL.md | 6 +++++- configure.ac | 7 ++++++- 3 files changed, 14 insertions(+), 3 deletions(-) Changeset truncated at 500 lines: diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a1e5996f..8074c311 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -91,9 +91,11 @@ jobs: args: install -y --no-progress cygwin cyg-get - name: prep run: | - cyg-get make autoconf automake gcc-core attr libattr-devel python3 python36-commonmark libzstd-devel liblz4-devel libssl-devel libxxhash0 libxxhash-devel + cyg-get make autoconf automake gcc-core attr libattr-devel python3 python38-pip libzstd-devel liblz4-devel libssl-devel libxxhash0 libxxhash-devel curl.exe -o git-version.h https://download.samba.org/pub/rsync/generated-files/git-version.h echo "C:/tools/cygwin/bin" >>$Env:GITHUB_PATH + - name: pip3 + run: bash -c 'pip3 install --user commonmark' - name: configure run: bash -c './configure' - name: make diff --git a/INSTALL.md b/INSTALL.md index a654b025..4cb29522 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -141,12 +141,16 @@ like. - For Cygwin (with all cygwin programs stopped, run the appropriate setup program from a cmd shell): - > setup-x86_64 --quiet-mode -P make,gawk,autoconf,automake,gcc-core,python3,python36-commonmark + > setup-x86_64 --quiet-mode -P make,gawk,autoconf,automake,gcc-core,python3,python38-pip > setup-x86_64 --quiet-mode -P attr,libattr-devel > setup-x86_64 --quiet-mode -P libzstd-devel > setup-x86_64 --quiet-mode -P liblz4-devel > setup-x86_64 --quiet-mode -P libssl-devel + Then, from a bash shell as your build user: + + > pip3 install --user commonmark + ## Build and install After installing the various libraries, you need to configure, build, and diff --git a/configure.ac b/configure.ac index 0f8e38f3..b81cfe33 100644 --- a/configure.ac +++ b/configure.ac @@ -194,6 +194,11 @@ AC_DEFINE_UNQUOTED(RSYNC_RSH, "$RSYNC_RSH", [default -e command]) AC_PATH_PROG(SHELL_PATH, sh, /bin/sh, [/usr/xpg4/bin$PATH_SEPARATOR$PATH]) AC_PATH_PROG(FAKEROOT_PATH, fakeroot, /usr/bin/fakeroot, [/usr/xpg4/bin$PATH_SEPARATOR$PATH]) +AC_ARG_WITH(nobody-user, + AS_HELP_STRING([--with-nobody-user=USER],[set the default unprivileged user (default nobody)]), + [ NOBODY_USER="$with_nobody_user" ], + [ NOBODY_USER="nobody" ]) + AC_ARG_WITH(nobody-group, AS_HELP_STRING([--with-nobody-group=GROUP],[set the default unprivileged group (default nobody or nogroup)]), [ NOBODY_GROUP="$with_nobody_group" ]) @@ -210,7 +215,7 @@ if test x"$with_nobody_group" = x; then AC_MSG_RESULT($NOBODY_GROUP) fi -AC_DEFINE_UNQUOTED(NOBODY_USER, "nobody", [unprivileged user--e.g. nobody]) +AC_DEFINE_UNQUOTED(NOBODY_USER, "$NOBODY_USER", [unprivileged user--e.g. nobody]) AC_DEFINE_UNQUOTED(NOBODY_GROUP, "$NOBODY_GROUP", [unprivileged group for unprivileged user]) # SIMD optimizations -- The rsync repository. _______________________________________________ rsync-cvs mailing list rsync-cvs@lists.samba.org https://lists.samba.org/mailman/listinfo/rsync-cvs