rsync: fix path to /var/run/rsyncd.lock
This commit is contained in:
parent
a220fffe4a
commit
568a0b755a
@ -2,7 +2,7 @@ TERMUX_PKG_HOMEPAGE=https://rsync.samba.org/
|
||||
TERMUX_PKG_DESCRIPTION="Utility that provides fast incremental file transfer"
|
||||
TERMUX_PKG_LICENSE="GPL-3.0"
|
||||
TERMUX_PKG_VERSION=3.1.3
|
||||
TERMUX_PKG_REVISION=1
|
||||
TERMUX_PKG_REVISION=2
|
||||
TERMUX_PKG_SHA256=55cc554efec5fdaad70de921cd5a5eeb6c29a95524c715f3bbf849235b0800c0
|
||||
TERMUX_PKG_SRCURL=https://rsync.samba.org/ftp/rsync/src/rsync-${TERMUX_PKG_VERSION}.tar.gz
|
||||
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--with-rsyncd-conf=$TERMUX_PREFIX/etc/rsyncd.conf --with-included-zlib=no --disable-debug"
|
||||
|
12
packages/rsync/rsync.h.patch
Normal file
12
packages/rsync/rsync.h.patch
Normal file
@ -0,0 +1,12 @@
|
||||
diff -uNr rsync-3.1.3/rsync.h rsync-3.1.3.mod/rsync.h
|
||||
--- rsync-3.1.3/rsync.h 2018-01-15 20:58:31.000000000 +0200
|
||||
+++ rsync-3.1.3.mod/rsync.h 2019-03-01 22:40:29.926940976 +0200
|
||||
@@ -29,7 +29,7 @@
|
||||
/* RSYNCD_SYSCONF is now set in config.h */
|
||||
#define RSYNCD_USERCONF "rsyncd.conf"
|
||||
|
||||
-#define DEFAULT_LOCK_FILE "/var/run/rsyncd.lock"
|
||||
+#define DEFAULT_LOCK_FILE "@TERMUX_PREFIX@/var/run/rsyncd.lock"
|
||||
#define URL_PREFIX "rsync://"
|
||||
|
||||
#define SYMLINK_PREFIX "/rsyncd-munged/" /* This MUST have a trailing slash! */
|
Loading…
Reference in New Issue
Block a user