36 Commits

Author SHA1 Message Date
sthen
a98e0e6666 remove rcs IDs in ports that I maintain 2022-03-07 21:36:41 +00:00
sthen
d2670ca223 not sure what happened, reposync's bundled ssh_known_hosts was blank. regen.
reported by Martin Vahlensieck and probably also responsible for a problem
seen by krw@.
2021-12-11 13:04:47 +00:00
sthen
66e4fb636a update reposync: allow -4 / -6 to force IP version 2021-12-06 11:10:11 +00:00
sthen
c04c3ea6e8 update reposync (only change, split the time displayed in the "slow rsync"
warning into min/sec instead of just sec)
2021-10-07 14:57:24 +00:00
sthen
ae5c69b17b reposync, fix -w: oops, do a numeric comparison not alpha 2021-06-09 10:10:41 +00:00
sthen
ea0bd455aa update reposync, add -w $seconds to print and exit with an error code if
the sync took longer than $seconds
2021-06-09 08:46:38 +00:00
sthen
7a7711347d update reposync (no script change, just update anoncvs server fingerprints) 2021-06-06 22:38:31 +00:00
sthen
de3f904cb8 update reposync, resolve relative paths for the local repo following a
note from Martin Vahlensieck
2021-01-13 09:40:23 +00:00
sthen
6cc9779250 switch my maintainer email addresses to my own domain 2020-07-11 22:54:35 +00:00
sthen
80860a8ba9 update to reposync-20200524, -q tweak from miod 2020-05-24 20:57:57 +00:00
sthen
a0c7c9f864 reposync: following feedback from naddy@, adjust the readme's advice
about creating a new uid so that it has its own gid.
2020-05-16 16:41:44 +00:00
sthen
3155c9e807 mention datasize limits in login.conf, the defaults aren't enough for some updates 2020-05-16 11:50:20 +00:00
sthen
0b3fecbcf1 update to reposync-20200423, including "should work by default for
official mirrors" handling for ssh hostkeys fixing a problem mentioned
by several including most recently solene@. add pkg-readme.
2020-04-23 13:49:31 +00:00
sthen
dfce0f85dd update to reposync-20200410 2020-04-10 21:32:28 +00:00
sthen
d527d028a9 update reposync - no script change, but the known_hosts fragment was
broken when i was testing something
2020-03-14 15:16:34 +00:00
sthen
c99969527d fix an ugly error at exit when -p is used, from bluhm@ 2020-02-18 18:51:46 +00:00
sthen
82b0090589 update reposync to use controlmaster; diff from dlg with magic from djm 2020-02-13 23:04:31 +00:00
sthen
b6d35315a7 use BatchMode=yes on reposync ssh commands 2020-01-25 22:27:00 +00:00
sthen
81ca6b3195 update reposync 2019-12-12 16:34:19 +00:00
sthen
c69b16d605 update to 0.16, manpage fix only 2019-12-09 14:50:06 +00:00
sthen
a4b28b2c87 allow fetching only a subset of trees, requested by guenther@ stsp@ 2019-12-04 14:40:37 +00:00
sthen
a0f08e66f4 quieter -q, req'd by kmos@ 2019-11-22 21:38:17 +00:00
sthen
451403b121 support -q to be quiet, requested by miod 2019-11-20 21:41:51 +00:00
sthen
4d2ac4a488 update reposync, neater post-getopt check from naddy, doc fix from jj@,
other tweaks from me
2019-11-19 09:50:07 +00:00
sthen
a05ad7b91d reposync tweaks:
update version
fix whitespace
use a proper distfile
set MAINTAINER which I forgot before
2019-11-15 00:17:39 +00:00
kn
d0a33ba305 Fix manual nits found with mandoc -Tlint
mandoc: ./reposync.1:78:2: ERROR: skipping end of block that is not open: El
mandoc: ./reposync.1:69:5: STYLE: possible typo in section name: Sh EXAMPLE instead of EXAMPLES
2019-11-14 21:43:26 +00:00
kn
b9a9aae9d0 $destdir holds user input so quote it; since ksh(1) not sh(1) is used,
use [[ instead of [ consistently to disable word splitting.

Mention /cvs in the manual being the default destination, move -p
without argument before -l and sync script usage with manual synopsis.

Delimit rm(1) options from paths just to be sure.

While here, files/reposync has nothing to SUBSTitute, so use
INSTALL_SCRIPT in do-install directly and check syntax for sanity.

More style fixes and proper use of rsync's --exlude from naddy
OK naddy
2019-11-14 21:39:11 +00:00
espie
7a023d2bb4 this is arch-independent 2019-11-14 13:21:42 +00:00
sthen
e20e0062ea nicer error if the mirror doesn't support ssh forwarding 2019-11-10 13:53:38 +00:00
sthen
6a5adc6f87 whitespace nits 2019-11-10 13:37:49 +00:00
sthen
797addee1f Now that some more second-level repository mirrors support ssh
port-forwarding (i.e. connect to localhost:873 on the mirror to tunnel
the rsync protocol), change the default to use this.

reposync still supports use of plaintext as a non-default option for now,
this may change in the future.
2019-11-10 13:36:32 +00:00
sthen
06b026089f tie the hash of the CVSROOT directory listing to the rsync repo address,
so switching server will trigger a full sync.
2019-11-08 21:58:58 +00:00
sthen
4ce0173ff7 I had an @ask-update to warn about the syntax change, but have now decided
it's not worth it because "make update" from ports doesn't agree with this.
2019-11-08 14:03:43 +00:00
sthen
52d74a7d7d add getopt parsing and move SSH port-forwarding username from special
rsync://username@host/path syntax to "reposync -l username rsync://host/path",
also add -f to force an update even if ChangeLog didn't change.

change in port-forwarding syntax done to stop depending on an undocumented
rsync feature tracked down by naddy@.
2019-11-08 13:57:10 +00:00
sthen
56a43d1648 check that reposync is run by uid owning the repo 2019-11-08 09:56:21 +00:00
sthen
91d03e1ff1 import sysutils/reposync, a script to assist syncing the OpenBSD cvs repo
from an rsync mirror. if updates are done frequently, the CVSROOT directory
is checked for changes, skipping some updates if there is likely to be no
change to reduce io.  feedback jasper@ ok aja@
2019-10-07 10:20:09 +00:00