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