=================================================================== RCS file: /cvs/openbsd/update_openbsd/upload_release,v retrieving revision 1.7 retrieving revision 1.10 diff -u -r1.7 -r1.10 --- openbsd/update_openbsd/upload_release 2010/04/21 23:21:22 1.7 +++ openbsd/update_openbsd/upload_release 2013/01/03 03:29:10 1.10 @@ -11,14 +11,22 @@ fi fi -RELEASEDIR=/usr/release +. /etc/release.conf +RELEASEDIR=$RELEASE ls $RELEASEDIR | grep -v '^site' > $RELEASEDIR/index.txt rsync -avP $RELEASEDIR/ \ --files-from ${RELEASEDIR}/index.txt \ - us.holligan.net:/var/www/ftp/pub/OpenBSD/`uname -r`/`machine`/ + us.holligan.net:/var/www/ftp/pub/OpenBSD-stable/`uname -r`/`machine`/ +rsync -avP /usr/ports/packages/`machine`/ftp/ \ + us.holligan.net:/var/www/ftp/pub/OpenBSD-stable/`uname -r`/packages/`machine`/ + ls $RELEASEDIR > $RELEASEDIR/index.txt rsync -avP $RELEASEDIR/ \ --files-from ${RELEASEDIR}/index.txt \ - rrlhcmp30100:/home/ftp/pub/OpenBSD/`uname -r`/`machine`/ + rrlhcsta0100:/var/www/ftp/pub/OpenBSD/`uname -r`/`machine`/ + +rsync -avP /usr/ports/packages/`machine`/all/ \ + rrlhcsta0100:/var/www/ftp/pub/OpenBSD/`uname -r`/packages/`machine`/ +