dhcpcd: Add upgrade notes to README.DRAGONFLY
[dragonfly.git] / contrib / dhcpcd / README.DRAGONFLY
1 DHCPCD
2 ======
3
4 Original source can be downloaded from:
5 https://github.com/rsmarples/dhcpcd/releases
6
7 file = dhcpcd-dhcpcd-7.0.8.tar.gz
8 date = 2018 August 20
9 size = 282415
10 sha1 = 2bc716dae8a9393240757a09c4356458bd584a05
11
12 The file README.DELETED contains a list of deleted files and directories.
13
14 Use "git diff vendor/DHCPCD contrib/dhcpcd" to see local modifications.
15
16 The program and hook scripts are installed by 'sbin/dhcpcd', and the
17 configuration file is installed by 'etc/Makefile'.
18
19
20 Upgrade notes
21 -------------
22 1. Generate 'src/dhcpcd-embedded.[ch]':
23
24     $ cd src
25     $ ./genembedc > dhcpcd-embedded.c
26     $ ./genembedh > dhcpcd-embedded.h
27     $ rm genembed[ch] dhcpcd-embedded.[ch].in dhcpcd-definitions.conf
28
29 2. Patch the following files:
30
31     * src/if-bsd.c
32     * src/if.c
33     * src/ipv6.c
34
35 3. Update the 'config.h' and 'Makefile' at 'sbin/dhcpcd' accordingly.