1173589Sdelphij$FreeBSD$ 2173589Sdelphij 3173589Sdelphij 1. Download latest less(1) tarball. The homepage of less(1) is at: 4173589Sdelphij http://www.greenwoodsoftware.com/less/ 5191930Sdelphij 2. Checkout $FSVN/vendor/less/ into less/ 6191930Sdelphij 3. Extract new code to, say, less/lessv429 7191930Sdelphij 4. cd less/dist 8191930Sdelphij 5. svn list -R | grep -v '/$' | sort >../old 9191930Sdelphij 6. cd ../lessv429 10191930Sdelphij 7. find . -type f | cut -c 3- | sort >../new 11191930Sdelphij 8. tar cf - . | tar xf - -C ../dist 12191930Sdelphij 9. cd ../dist 13191930Sdelphij10. comm -23 ../old ../new | xargs svn rm 14191930Sdelphij11. comm -13 ../old ../new | xargs svn add 15191930Sdelphij12. Check svn status output and make sure that all changes are appropriate. 16191930Sdelphij13. Commit and tag the result. 17191930Sdelphij14. Resolve any conflicts that happen in head/contrib/less. 18191930Sdelphij15. Regenerate defines.h: 19173589Sdelphij ./configure --prefix=/ --bindir=/usr/bin --sbindir=/usr/sbin \ 20173589Sdelphij --libexecdir=/usr/libexec --datarootdir=/usr/share 21191930Sdelphij16. Manually merge changes into src/usr.bin/less/defines.h; adjust 22173589Sdelphij Makefile glue to reflect added/removed files. 23191930Sdelphij17. Replace your src/contrib/less with the merged copy, and do a ``make 24173589Sdelphij universe'' to make sure that nothing was broken; 25191930Sdelphij18. Commit the result. 26173589Sdelphij 27191930Sdelphijdelphij@FreeBSD.org - May 08, 2009 28