=================================================================== RCS file: /cvs/openbsd/update_openbsd/upload_release,v retrieving revision 1.9 retrieving revision 1.11 diff -u -r1.9 -r1.11 --- openbsd/update_openbsd/upload_release 2011/06/08 17:38:31 1.9 +++ openbsd/update_openbsd/upload_release 2015/10/12 00:35:14 1.11 @@ -3,7 +3,7 @@ RSYNC=`which rsync` if [ $? != 0 ]; then - sudo pkg_add -i rsync + doas pkg_add -i rsync RSYNC=`which rsync` if [ $? != 0 ]; then echo RSYNC not installed! @@ -17,9 +17,16 @@ 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 \ 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`/ +