summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2019-03-18 04:32:31 +0000
committerderaadt <deraadt@openbsd.org>2019-03-18 04:32:31 +0000
commite762119d89c1e7962a3e6febf3d4d255d1f3ba13 (patch)
treec0d280b30ded5180999f7f08b85c96e5454732cf
parentenable mpip(4) (diff)
downloadwireguard-openbsd-e762119d89c1e7962a3e6febf3d4d255d1f3ba13.tar.xz
wireguard-openbsd-e762119d89c1e7962a3e6febf3d4d255d1f3ba13.zip
install rsync as openrsync, so that people can easily familiarize
themselves with using it (as front end -- it will talk to the installed 'rsync' on the remote side). this will allow folks to give it a shot, identify weaknesses, collaborate, etc etc etc discussed with benno
-rw-r--r--usr.bin/Makefile4
-rw-r--r--usr.bin/rsync/Makefile11
2 files changed, 10 insertions, 5 deletions
diff --git a/usr.bin/Makefile b/usr.bin/Makefile
index 81388b5c655..d27b8652eb3 100644
--- a/usr.bin/Makefile
+++ b/usr.bin/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.159 2018/11/30 07:08:24 ratchov Exp $
+# $OpenBSD: Makefile,v 1.160 2019/03/18 04:32:31 deraadt Exp $
.include <bsd.own.mk>
@@ -20,7 +20,7 @@ SUBDIR= apply arch at aucat audioctl awk banner \
nfsstat nice nm nl nohup openssl pagesize passwd paste patch pctr \
pkg-config pkill \
pr printenv printf quota radioctl rcs rdist rdistd \
- readlink renice rev rpcgen rpcinfo rs rup rusers rwall \
+ readlink renice rev rpcgen rpcinfo rs rsync rup rusers rwall \
sdiff script sed sendbug shar showmount signify skey \
skeyaudit skeyinfo skeyinit sndiod \
sort spell split ssh stat su systat \
diff --git a/usr.bin/rsync/Makefile b/usr.bin/rsync/Makefile
index 92af70ab62f..3e8c28dac50 100644
--- a/usr.bin/rsync/Makefile
+++ b/usr.bin/rsync/Makefile
@@ -1,13 +1,18 @@
-# $OpenBSD: Makefile,v 1.7 2019/03/06 18:37:22 deraadt Exp $
+# $OpenBSD: Makefile,v 1.8 2019/03/18 04:32:31 deraadt Exp $
-PROG= rsync
+PROG= openrsync
SRCS= blocks.c client.c downloader.c fargs.c flist.c hash.c ids.c \
io.c log.c mkpath.c mktemp.c receiver.c sender.c server.c session.c \
socket.c symlinks.c uploader.c main.c
LDADD+= -lcrypto -lm
DPADD+= ${LIBCRYPTO} ${LIBM}
-xMAN= rsync.1
+MAN= openrsync.1
CFLAGS+=-g -W -Wall -Wextra -Wno-unused-parameter
+openrsync.1: rsync.1
+ ln -sf ${.CURDIR}/rsync.1 openrsync.1
+
+CLEANFILES+= openrsync.1
+
.include <bsd.prog.mk>