freebsd-dev/contrib/less/FREEBSD-upgrade

28 lines
1.1 KiB
Plaintext
Raw Normal View History

$FreeBSD$
1. Download latest less(1) tarball. The homepage of less(1) is at:
http://www.greenwoodsoftware.com/less/
2009-05-09 01:35:27 +00:00
2. Checkout $FSVN/vendor/less/ into less/
3. Extract new code to, say, less/lessv429
4. cd less/dist
5. svn list -R | grep -v '/$' | sort >../old
6. cd ../lessv429
7. find . -type f | cut -c 3- | sort >../new
8. tar cf - . | tar xf - -C ../dist
9. cd ../dist
10. comm -23 ../old ../new | xargs svn rm
11. comm -13 ../old ../new | xargs svn add
12. Check svn status output and make sure that all changes are appropriate.
13. Commit and tag the result.
14. Resolve any conflicts that happen in head/contrib/less.
15. Regenerate defines.h:
./configure --prefix=/ --bindir=/usr/bin --sbindir=/usr/sbin \
--libexecdir=/usr/libexec --datarootdir=/usr/share
2009-05-09 01:35:27 +00:00
16. Manually merge changes into src/usr.bin/less/defines.h; adjust
Makefile glue to reflect added/removed files.
2009-05-09 01:35:27 +00:00
17. Replace your src/contrib/less with the merged copy, and do a ``make
universe'' to make sure that nothing was broken;
2009-05-09 01:35:27 +00:00
18. Commit the result.
2009-05-09 01:35:27 +00:00
delphij@FreeBSD.org - May 08, 2009