freebsd-skq/contrib/libpcap/FREEBSD-upgrade
2006-09-04 19:54:49 +00:00

36 lines
1.3 KiB
Plaintext

$FreeBSD$
This directory contains virgin copies of the original distribution files
on a "vendor" branch. Do not, under any circumstances, attempt to upgrade
the files in this directory via patches and a cvs commit.
To upgrade to a newer version of libpcap, when it is available:
1. Unpack the new version into an empty directory.
[Do not make ANY changes to the files.]
2. Use the command:
cvs import -m 'Import of libpcap v<version>' \
-I SUNOS4 -I msdos -I Win32 -I missing \
-I ChmodBPF -I linux-include \
src/contrib/libpcap TCPDUMP_ORG v<version>
For example, to do the import of version 0.9.4, I typed:
cvs import -m 'Import of libpcap v0.9.4 \
-I SUNOS4 -I msdos -I Win32 -I missing \
-I ChmodBPF -I linux-include \
src/contrib/libpcap TCPDUMP_ORG v0_9_4
3. Follow the instructions printed out in step 2 to resolve any
conflicts between local FreeBSD changes and the newer version.
4. Bump __FreeBSD_version in sys/param.h as appropriate
Do not, under any circumstances, deviate from this procedure.
To make local changes to libpcap, simply patch and commit to the main
branch (aka HEAD). Never make local changes on the TCPDUMP_ORG branch.
All local changes should be submitted to "tcpdump-workers@tcpdump.org" for
inclusion in the next vendor release of tcpdump and libpcap.
sam@freebsd.org - 4 September 2006