- Switch OpenBSD upstream to a level 2 mirror as requested by upstream.
(Adam Suhl)
- Keep OpenBSD's upstream timestamp. (Adam Suhl)
Signed-off-by: Lizhou Sha <slz@mit.edu>
#!/bin/sh
-RSYNCSOURCE=rsync://mirrors.nycbug.org/OpenBSD
+RSYNCSOURCE=rsync://openbsd.cs.toronto.edu/openbsd
BASEDIR=${MIRRORDIR}/pub/OpenBSD
mkdir -p ${BASEDIR}
rsync --archive --delete --stats --verbose \
- --exclude='/timestamp' \
--exclude='.~tmp~' \
${RSYNCSOURCE} ${BASEDIR}
-date +%s > ${BASEDIR}/timestamp