dhcp-vl.spec 60 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608
  1. %bcond_with systemd
  2. # vendor string (e.g., Fedora, EL)
  3. %define vvendor Vine
  4. %define pversion 4.1.ESV.R16.P1
  5. %define sversion 4.1-ESV-R16-P1
  6. Summary: DHCP (Dynamic Host Configuration Protocol) server and relay agent
  7. Summary(ja): DHCP (動的ホスト設定プロトコル) サーバおよびリレーエージェント
  8. Name: dhcp
  9. # ---- historical reason of epoch ------------------------------------------
  10. # NEVER CHANGE THE EPOCH on this package. The previous maintainer (prior to
  11. # dcantrell maintaining the package) made incorrect use of the epoch and
  12. # that's why it is at 12 now. It should have never been used, but it was.
  13. # So we are stuck with it.
  14. # --------------------------------------------------------------------------
  15. Epoch: 13
  16. Version: %{pversion}
  17. Release: 2%{?_dist_release}%{?with_systemd:.systemd}
  18. Group: daemons
  19. Vendor: Project Vine
  20. Distribution: Vine Linux
  21. Packager: daisuke, iwamoto
  22. License: ISC
  23. URL: https://isc.org/products/DHCP/
  24. Source0: https://downloads.isc.org/isc/dhcp/%{sversion}/dhcp-%{sversion}.tar.gz
  25. Source1: dhcpd.init
  26. Source2: dhcrelay.init
  27. Source5: README.ldap
  28. Source6: draft-ietf-dhc-ldap-schema-01.txt
  29. Source7: dhcpd-conf-to-ldap
  30. Source8: dhclient-script
  31. Source9: dhcp.schema
  32. Source10: get-ldap-patch.sh
  33. Source11: dhcpd6.init
  34. Source101: dhcpd.service
  35. Source111: dhcpd6.service
  36. Source102: dhcrelay.service
  37. Patch0: 0001-errwarn-message.patch
  38. Patch1: 0002-ldap-configuration.patch
  39. Patch3: 0003-options.patch
  40. Patch4: 0004-release-by-ifup.patch
  41. Patch5: 0005-dhclient-decline-backoff.patch
  42. Patch6: 0006-unicast-bootp.patch
  43. Patch7: 0007-failover-ports.patch
  44. Patch8: 0008-dhclient-usage.patch
  45. Patch9: 0009-default-requested-options.patch
  46. Patch11: 0010-dhclient-anycast.patch
  47. Patch12: 0011-manpages.patch
  48. Patch13: 0012-paths.patch
  49. Patch15: 0013-inherit-leases.patch
  50. Patch16: 0014-garbage-chars.patch
  51. Patch19: 0015-dhclient-option.patch
  52. # security patches
  53. # None..
  54. # Vine Patch
  55. Patch1000: %{name}-4.1-ESV-R6-openssl.patch
  56. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
  57. BuildRequires: autoconf
  58. BuildRequires: automake
  59. BuildRequires: groff
  60. BuildRequires: libtool
  61. BuildRequires: openldap-devel
  62. BuildRequires: openssl-devel
  63. %if %{with systemd}
  64. BuildRequires: systemd-devel
  65. %{?systemd_requires}
  66. %else
  67. Requires(post): chkconfig
  68. Requires(preun): chkconfig
  69. Requires(preun): initscripts
  70. Requires(postun): initscripts
  71. %endif
  72. %description
  73. DHCP (Dynamic Host Configuration Protocol) is a protocol which allows
  74. individual devices on an IP network to get their own network
  75. configuration information (IP address, subnetmask, broadcast address,
  76. etc.) from a DHCP server. The overall purpose of DHCP is to make it
  77. easier to administer a large network. The dhcp package includes the
  78. ISC DHCP service and relay agent.
  79. To use DHCP on your network, install a DHCP service (or relay agent),
  80. and on clients run a DHCP client daemon. The dhcp package provides
  81. the ISC DHCP service and relay agent.
  82. %package -n dhclient
  83. Summary: Provides the dhclient ISC DHCP client daemon and dhclient-script
  84. Summary(ja): DHCP クライアントデーモンと dhclient スクリプト
  85. Group: system
  86. %if %{with systemd}
  87. %else
  88. Requires: initscripts >= 6.75
  89. %endif
  90. #Obsoletes: dhcpcd <= 1.3.22pl1-7
  91. #Provides: dhcpcd = 1.3.22pl1-8
  92. Obsoletes: dhcpcd <= 1.3.22pl4-0vl3
  93. %description -n dhclient
  94. DHCP (Dynamic Host Configuration Protocol) is a protocol which allows
  95. individual devices on an IP network to get their own network
  96. configuration information (IP address, subnetmask, broadcast address,
  97. etc.) from a DHCP server. The overall purpose of DHCP is to make it
  98. easier to administer a large network.
  99. To use DHCP on your network, install a DHCP service (or relay agent),
  100. and on clients run a DHCP client daemon. The dhclient package
  101. provides the ISC DHCP client daemon.
  102. %package devel
  103. Summary: Development headers and libraries for interfacing to the DHCP server
  104. Summary(ja): DHCP サーバ用インタフェースライブラリとヘッダファイル
  105. Group: programming
  106. %description devel
  107. Header files and API documentation for using the ISC DHCP libraries. The
  108. libdhcpctl and libomapi static libraries are also included in this package.
  109. %debug_package
  110. %prep
  111. %setup -q -n %{name}-%{sversion}
  112. # Replace the standard ISC warning message about requesting help with an
  113. # explanation that this is a patched build of ISC DHCP and bugs should be
  114. # reported through bugzilla.redhat.com
  115. %patch0 -p1
  116. # Add support for dhcpd.conf data in LDAP
  117. # NOTE: Use get-ldap-patch.sh to pull down latest LDAP patch and then modify
  118. # it for this package.
  119. %patch1 -p1
  120. # Add more dhclient options (-I, -B, -H, -F, -timeout, -V, and -R)
  121. %patch3 -p1
  122. # Handle releasing interfaces requested by /sbin/ifup
  123. # pid file is assumed to be /var/run/dhclient-$interface.pid
  124. %patch4 -p1
  125. # If we receive a DHCP offer in dhclient and it's DECLINEd in dhclient-script,
  126. # backoff for an amount of time before trying again
  127. %patch5 -p1
  128. # Support unicast BOOTP for IBM pSeries systems (and maybe others)
  129. %patch6 -p1
  130. # Use the following IANA-registered failover ports:
  131. # dhcp-failover 647/tcp
  132. # dhcp-failover 647/udp
  133. # dhcp-failover 847/tcp
  134. # dhcp-failover 847/udp
  135. %patch7 -p1
  136. # Update the usage screen for dhclient(8) indicating new options
  137. # Use printf() rather than log_info() to display the information
  138. # Also, return EXIT_FAILURE when the usage() screen is displayed (stop parsing)
  139. %patch8 -p1
  140. # Add NIS domain, NIS servers, and NTP servers to the list of default
  141. # requested DHCP options
  142. %patch9 -p1
  143. # Add anycast support to dhclient (for OLPC)
  144. %patch11 -p1
  145. # Patch man page contents
  146. #%patch12 -p1
  147. # Change paths to conform to our standards
  148. %patch13 -p1
  149. # If we have an active lease, do not down the interface (#453982)
  150. %patch15 -p1
  151. # Fix 'garbage in format string' error (#450052)
  152. %patch16 -p1
  153. %patch19 -p1
  154. # Vine Patch
  155. %patch1000 -p1
  156. # Copy in documentation and example scripts for LDAP patch to dhcpd
  157. %{__install} -p -m 0644 %{SOURCE5} .
  158. %{__install} -p -m 0644 %{SOURCE6} doc/
  159. %{__install} -p -m 0755 %{SOURCE7} contrib/
  160. # Copy in the Fedora/RHEL dhclient script
  161. %{__install} -p -m 0755 %{SOURCE8} client/scripts/linux
  162. # Ensure we don't pick up Perl as a dependency from the scripts and modules
  163. # in the contrib directory (we copy this to /usr/share/doc in the final
  164. # package).
  165. %{__cp} -pR contrib __fedora_contrib
  166. pushd __fedora_contrib
  167. %{__chmod} -x 3.0b1-lease-convert dhclient-tz-exithook.sh dhcpd-conf-to-ldap
  168. %{__chmod} -x sethostname.sh solaris.init
  169. %{__mv} ms2isc/Registry.pm ms2isc/Registry.perlmodule
  170. %{__rm} -f dhcp.spec
  171. # We want UNIX-style line endings
  172. %{__sed} -i -e 's/\r//' ms2isc/readme.txt
  173. %{__sed} -i -e 's/\r//' ms2isc/Registry.perlmodule
  174. %{__sed} -i -e 's/\r//' ms2isc/ms2isc.pl
  175. popd
  176. # Replace @PRODUCTNAME@
  177. %{__sed} -i -e 's|@PRODUCTNAME@|%{vvendor}|g' common/dhcp-options.5
  178. %{__sed} -i -e 's|@PRODUCTNAME@|%{vvendor}|g' configure.ac
  179. # Update paths in all man pages
  180. for page in client/dhclient.conf.5 client/dhclient.leases.5 \
  181. client/dhclient-script.8 client/dhclient.8 ; do
  182. %{__sed} -i -e 's|CLIENTBINDIR|/sbin|g' \
  183. -e 's|RUNDIR|%{_localstatedir}/run|g' \
  184. -e 's|DBDIR|%{_localstatedir}/db/dhclient|g' \
  185. -e 's|ETCDIR|%{_sysconfdir}/dhcp|g' $page
  186. done
  187. for page in server/dhcpd.conf.5 server/dhcpd.leases.5 server/dhcpd.8 ; do
  188. %{__sed} -i -e 's|CLIENTBINDIR|/sbin|g' \
  189. -e 's|RUNDIR|%{_localstatedir}/run|g' \
  190. -e 's|DBDIR|%{_localstatedir}/db/dhcpd|g' \
  191. -e 's|ETCDIR|%{_sysconfdir}/dhcp|g' $page
  192. done
  193. autoreconf -ivf
  194. %build
  195. CFLAGS="%{optflags} -fPIC -fno-strict-aliasing -fcommon" \
  196. %configure \
  197. --enable-dhcpv6 \
  198. --with-srv-lease-file=%{_localstatedir}/lib/dhcpd/dhcpd.leases \
  199. --with-srv6-lease-file=%{_localstatedir}/lib/dhcpd/dhcpd6.leases \
  200. --with-cli-lease-file=%{_localstatedir}/lib/dhclient/dhclient.leases \
  201. --with-cli6-lease-file=%{_localstatedir}/lib/dhclient/dhclient6.leases \
  202. --with-srv-pid-file=%{_localstatedir}/run/dhcp/dhcpd.pid \
  203. --with-srv6-pid-file=%{_localstatedir}/run/dhcp/dhcpd6.pid \
  204. --with-cli-pid-file=%{_localstatedir}/run/dhclient.pid \
  205. --with-cli6-pid-file=%{_localstatedir}/run/dhclient6.pid \
  206. --with-relay-pid-file=%{_localstatedir}/run/dhcp/dhcrelay.pid \
  207. --with-ldap \
  208. --with-ldapcrypto \
  209. --enable-log-pid \
  210. --enable-paranoia --enable-early-chroot \
  211. %if %{with systemd}
  212. --with-systemd
  213. %endif
  214. %{nil}
  215. %{__make} %{?_smp_mflags}
  216. %install
  217. %{__rm} -rf %{buildroot}
  218. %{__make} install DESTDIR=%{buildroot}
  219. # Remove files we don't want
  220. %{__rm} -f %{buildroot}%{_sysconfdir}/dhclient.conf*
  221. %{__rm} -f %{buildroot}%{_sysconfdir}/dhcpd.conf*
  222. # Install correct dhclient-script
  223. %{__mkdir} -p %{buildroot}/sbin
  224. %{__mv} %{buildroot}%{_sbindir}/dhclient %{buildroot}/sbin/dhclient
  225. %{__install} -p -m 0755 client/scripts/linux %{buildroot}/sbin/dhclient-script
  226. %if %{with systemd}
  227. %{__mkdir} -p %{buildroot}%{_unitdir}
  228. %{__install} -p -m 0644 %{SOURCE101} %{buildroot}%{_unitdir}/
  229. %{__install} -p -m 0644 %{SOURCE111} %{buildroot}%{_unitdir}/
  230. %{__install} -p -m 0644 %{SOURCE102} %{buildroot}%{_unitdir}/
  231. %else
  232. # Install init scripts
  233. %{__mkdir} -p %{buildroot}%{_localstatedir}/run/dhcp
  234. %{__mkdir} -p %{buildroot}%{_initrddir}
  235. %{__install} -p -m 0755 %{SOURCE1} %{buildroot}%{_initrddir}/dhcpd
  236. %{__install} -p -m 0755 %{SOURCE11} %{buildroot}%{_initrddir}/dhcpd6
  237. %{__install} -p -m 0755 %{SOURCE2} %{buildroot}%{_initrddir}/dhcrelay
  238. %endif
  239. # Start empty lease databases
  240. %{__mkdir} -p %{buildroot}%{_localstatedir}/lib/dhcpd/
  241. touch %{buildroot}%{_localstatedir}/lib/dhcpd/dhcpd.leases
  242. touch %{buildroot}%{_localstatedir}/lib/dhcpd/dhcpd6.leases
  243. %{__mkdir} -p %{buildroot}%{_localstatedir}/lib/dhclient/
  244. # Create default sysconfig files for dhcpd and dhcrelay
  245. %{__mkdir} -p %{buildroot}%{_sysconfdir}/sysconfig
  246. %{__cat} << EOF > %{buildroot}%{_sysconfdir}/sysconfig/dhcrelay
  247. # Command line options here
  248. INTERFACES=""
  249. DHCPSERVERS=""
  250. EOF
  251. %{__cat} <<EOF > %{buildroot}%{_sysconfdir}/sysconfig/dhcpd
  252. # Command line options here
  253. DHCPDARGS=
  254. EOF
  255. %{__cat} <<EOF > %{buildroot}%{_sysconfdir}/sysconfig/dhcpd6
  256. # Command line options here
  257. DHCPDARGS=
  258. EOF
  259. # Copy sample conf files into position (called by doc macro)
  260. %{__cp} -p client/dhclient.conf.example dhclient.conf.sample
  261. %{__cp} -p server/dhcpd.conf.example dhcpd.conf.sample
  262. %{__cp} -p doc/examples/dhclient-dhcpv6.conf dhclient6.conf.sample
  263. %{__cp} -p doc/examples/dhcpd-dhcpv6.conf dhcpd6.conf.sample
  264. # Install default (empty) dhcpd.conf:
  265. %{__mkdir} -p %{buildroot}%{_sysconfdir}/dhcp
  266. %{__cat} << EOF > %{buildroot}%{_sysconfdir}/dhcp/dhcpd.conf
  267. #
  268. # DHCP Server Configuration file.
  269. # see /usr/share/doc/dhcp*/dhcpd.conf.sample
  270. # see 'man 5 dhcpd.conf'
  271. #
  272. EOF
  273. # Install default (empty) dhcpd6.conf:
  274. %{__cat} << EOF > %{buildroot}%{_sysconfdir}/dhcp/dhcpd6.conf
  275. #
  276. # DHCP for IPv6 Server Configuration file.
  277. # see /usr/share/doc/dhcp*/dhcpd6.conf.sample
  278. # see 'man 5 dhcpd.conf'
  279. # run 'service dhcpd6 start' or 'dhcpd -6 -cf /etc/dhcp/dhcpd6.conf'
  280. #
  281. EOF
  282. # Install dhcp.schema for LDAP configuration
  283. %{__mkdir} -p %{buildroot}%{_sysconfdir}/openldap/schema
  284. %{__install} -p -m 0644 -D %{SOURCE9} %{buildroot}%{_sysconfdir}/openldap/schema
  285. # Install empty directory for dhclient.d scripts
  286. %{__mkdir} -p %{buildroot}%{_sysconfdir}/dhcp/dhclient.d
  287. # remove perl module (depend perl(Win32API::Registry))
  288. %{__rm} -rf __fedora_contrib/ms2isc
  289. %clean
  290. %{__rm} -rf %{buildroot}
  291. %pre
  292. %global gid_uid 177
  293. getent group dhcpd >/dev/null || groupadd --force --gid %{gid_uid} --system dhcpd
  294. if ! getent passwd dhcpd >/dev/null ; then
  295. if ! getent passwd %{gid_uid} >/dev/null ; then
  296. useradd --system --uid %{gid_uid} --gid dhcpd --home / --shell /sbin/nologin --comment "DHCP server" dhcpd
  297. else
  298. useradd --system --gid dhcpd --home / --shell /sbin/nologin --comment "DHCP server" dhcpd
  299. fi
  300. fi
  301. exit 0
  302. %post
  303. if [ -f /etc/dhcpd.conf -a ! -f /etc/dhcp/dhcpd.conf ]; then
  304. /bin/cp -a /etc/dhcpd.conf /etc/dhcp/dhcpd.conf >/dev/null 2>&1
  305. /bin/rm -f /etc/dhcpd.conf >/dev/null 2>&1
  306. fi
  307. %if %{with systemd}
  308. %systemd_post dhcpd.service dhcpd6.service dhcrelay.service
  309. %else
  310. /sbin/chkconfig --add dhcpd
  311. /sbin/chkconfig --add dhcpd6
  312. /sbin/chkconfig --add dhcrelay || :
  313. %endif
  314. %post -n dhclient
  315. /bin/ls -1 /etc/dhclient* >/dev/null 2>&1
  316. if [ $? = 0 ]; then
  317. /bin/ls -1 /etc/dhclient* 2>/dev/null | while read etcfile ; do
  318. cf="$(/bin/basename ${etcfile})"
  319. if [ ! -f /etc/dhcp/${cf} ]; then
  320. /bin/cp -a "${etcfile}" /etc/dhcp
  321. /bin/rm -f "${etcfile}"
  322. fi
  323. done || :
  324. fi || :
  325. %preun
  326. %if %{with systemd}
  327. %systemd_preun dhcpd.service dhcpd6.service dhcrelay.service
  328. %else
  329. if [ $1 = 0 -o -x /bin/systemctl ]; then
  330. /sbin/service dhcpd status >/dev/null 2>&1
  331. if [ $? = 3 ]; then
  332. /sbin/service dhcpd stop >/dev/null 2>&1
  333. fi
  334. /sbin/service dhcpd6 status >/dev/null 2>&1
  335. if [ $? = 3 ]; then
  336. /sbin/service dhcpd6 stop >/dev/null 2>&1
  337. fi
  338. /sbin/service dhcrelay status >/dev/null 2>&1
  339. if [ $? = 3 ]; then
  340. /sbin/service dhcrelay stop >/dev/null 2>&1
  341. fi
  342. /sbin/chkconfig --del dhcpd
  343. /sbin/chkconfig --del dhcpd6
  344. /sbin/chkconfig --del dhcrelay || :
  345. fi
  346. %endif
  347. %postun
  348. %if %{with systemd}
  349. %systemd_postun_with_restart dhcpd.service dhcpd6.service dhcrelay.service
  350. %else
  351. if [ $1 -ge 1 ]; then
  352. /sbin/service dhcpd condrestart >/dev/null 2>&1
  353. /sbin/service dhcpd6 condrestart >/dev/null 2>&1
  354. /sbin/service dhcrelay condrestart >/dev/null 2>&1 || :
  355. fi
  356. %endif
  357. %files
  358. %defattr(-,root,root,-)
  359. %doc LICENSE README README.ldap RELNOTES dhcpd*.conf.sample
  360. %doc doc/IANA-arp-parameters doc/api+protocol doc/*.txt __fedora_contrib/*
  361. %dir %{_localstatedir}/lib/dhcpd
  362. %dir %{_sysconfdir}/dhcp
  363. %verify(not size md5 mtime) %config(noreplace) %{_localstatedir}/lib/dhcpd/dhcpd.leases
  364. %verify(not size md5 mtime) %config(noreplace) %{_localstatedir}/lib/dhcpd/dhcpd6.leases
  365. %config(noreplace) %{_sysconfdir}/sysconfig/dhcpd
  366. %config(noreplace) %{_sysconfdir}/sysconfig/dhcpd6
  367. %config(noreplace) %{_sysconfdir}/sysconfig/dhcrelay
  368. %config(noreplace) %{_sysconfdir}/dhcp/dhcpd.conf
  369. %config(noreplace) %{_sysconfdir}/dhcp/dhcpd6.conf
  370. %config(noreplace) %{_sysconfdir}/openldap/schema/dhcp.schema
  371. %if %{with systemd}
  372. %{_unitdir}/*.service
  373. %else
  374. %{_initrddir}/dhcpd
  375. %{_initrddir}/dhcpd6
  376. %{_initrddir}/dhcrelay
  377. %attr(0755,dhcpd,dhcpd) %dir %{_localstatedir}/run/dhcp
  378. %endif
  379. %{_bindir}/omshell
  380. %{_sbindir}/dhcpd
  381. %{_sbindir}/dhcrelay
  382. %attr(0644,root,root) %{_mandir}/man1/omshell.1.gz
  383. %attr(0644,root,root) %{_mandir}/man5/dhcpd.conf.5.gz
  384. %attr(0644,root,root) %{_mandir}/man5/dhcpd.leases.5.gz
  385. %attr(0644,root,root) %{_mandir}/man8/dhcpd.8.gz
  386. %attr(0644,root,root) %{_mandir}/man8/dhcrelay.8.gz
  387. %attr(0644,root,root) %{_mandir}/man5/dhcp-options.5.gz
  388. %attr(0644,root,root) %{_mandir}/man5/dhcp-eval.5.gz
  389. %files -n dhclient
  390. %defattr(-,root,root,-)
  391. %doc dhclient.conf.sample
  392. %dir %{_sysconfdir}/dhcp
  393. %dir %{_sysconfdir}/dhcp/dhclient.d
  394. %dir %{_localstatedir}/lib/dhclient
  395. /sbin/dhclient
  396. /sbin/dhclient-script
  397. %attr(0644,root,root) %{_mandir}/man5/dhclient.conf.5.gz
  398. %attr(0644,root,root) %{_mandir}/man5/dhclient.leases.5.gz
  399. %attr(0644,root,root) %{_mandir}/man8/dhclient.8.gz
  400. %attr(0644,root,root) %{_mandir}/man8/dhclient-script.8.gz
  401. %attr(0644,root,root) %{_mandir}/man5/dhcp-options.5.gz
  402. %attr(0644,root,root) %{_mandir}/man5/dhcp-eval.5.gz
  403. %files devel
  404. %defattr(-,root,root,-)
  405. %{_includedir}/dhcpctl
  406. %{_includedir}/isc-dhcp
  407. %{_includedir}/omapip
  408. %{_libdir}/libdhcpctl.a
  409. %{_libdir}/libomapi.a
  410. %{_libdir}/libdst.a
  411. %attr(0644,root,root) %{_mandir}/man3/dhcpctl.3.gz
  412. %attr(0644,root,root) %{_mandir}/man3/omapi.3.gz
  413. %changelog
  414. * Sat Oct 16 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.1.ESV.R16.P1-2
  415. - rebuilt with openssl-3.0.0.
  416. * Thu Jun 10 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.1.ESV.R16.P1-1
  417. - new upstream release.
  418. - added systemd support (disabled as default).
  419. * Mon Apr 13 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.1.ESV.R16-1
  420. - new upstream release.
  421. * Sun Nov 11 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.1.ESV.R15.P1-1
  422. - new upstream release.
  423. - dropped Patch10.
  424. - updated patches.
  425. * Sat Jun 21 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 4.1.ESV.R9-1
  426. - new upstream release.
  427. - re-enabled dhcpv6.
  428. * Tue Dec 24 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.1.ESV.R6-2
  429. - rebuild with VineSeed environment
  430. - add Patch1000 (dhcp-4.1-ESV-R6-openssl.patch)
  431. * Mon Jul 30 2012 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp>
  432. - 13:4.1.ESV.R6-1
  433. - update to Extended Support Version with security fixes (CVE-2012-3571,3954)
  434. - fix changelog typos
  435. * Thu Dec 8 2011 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp>
  436. - 13:4.1.ESV.R4-1
  437. - update to Extended Support Version with security fix (CVE-2011-4539)
  438. * Fri Aug 12 2011 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp>
  439. - 13:4.1.ESV.R3-1
  440. - update to Extended Support Version with security fix (CVE-2011-2748,2749)
  441. - update patch1,3,8,10,11 to fit ESV.R3.......
  442. * Wed Apr 13 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 13:4.1.ESV.R2-1
  443. - update to Extended Support Version
  444. - increment Epoch
  445. * Mon Jan 10 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 12:4.1.0p1-4
  446. - rebuild with openssl-1.0.0c
  447. * Sat Jan 01 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 12:4.1.0p1-3
  448. - add patch19 (dhcp-4.1.0-dhclient-option.patch)
  449. * Sat Nov 20 2010 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 12:4.1.0p1-2
  450. - add patch100 for fix CVE-2009-1892
  451. - add patch110 for fix CVE-2010-2156
  452. - add patch120 for fix CVE-2010-3611
  453. - patch100, 110 are from mkd, Thanks.
  454. - add BR: openssl-devel, vendor/dist tags
  455. * Wed Jul 15 2009 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 12:4.1.0p1-1
  456. - new upstream release with security fix (CVE-2009-0692)
  457. * Sun Mar 01 2009 NAKAMURA Kenta <kenta@vinelinux.org> 12:4.1.0-4
  458. - rebuilt with openldap-2.4.11
  459. * Wed Feb 04 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 12:4.1.0-3
  460. - add /etc/dhcp for new config directory
  461. - update/add post scriptlet to move configs to /etc/dhcp
  462. - move /etc/dhclient.conf to /etc/dhcp/dhclient.conf
  463. - move /etc/dhcpd.conf to /etc/dhcp/dhcpd.conf
  464. - update init script header to reference /etc/dhcp/dhcpd.conf
  465. * Wed Jan 28 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 12:4.1.0-2
  466. - remove libdhcp4client
  467. * Mon Jan 12 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 12:4.1.0-1
  468. - new upstream release
  469. - update patches
  470. * Fri Jun 20 2008 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 12:4.0.0-16
  471. - new upstream version 4.0.0 based on 4.0.0-15 from Fedora
  472. - Obsoletes: dhcpcd <= 1.3.22pl4-0vl3
  473. - changelogs for previous Vine package as follows:
  474. - Tue May 22 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 2:3.0.4-0vl2
  475. - rebuild with new environment
  476. - add "-fPIC -fno-strict-aliasing -fvisivility=hidden" to COPTS
  477. - Thu May 04 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2:3.0.4-0vl1
  478. - new upstream release
  479. - import some FC patches and upstream patches
  480. - Fri Feb 20 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 1:3.0pl2-6vl1
  481. - new upstream version
  482. - merged with fedora package.
  483. - Wed Mar 3 2002 Seiya Nishizawa <seiya@kugi.kyoto-u.ac.jp>
  484. - Fix type for dhcpd.leases
  485. - Fri Aug 24 2001 Toru Sagami <sagami@vinelinux.org>
  486. - 2.0pl5-6vl0: was ported to Vine with _localstatedir defined as /var
  487. * Fri May 16 2008 David Cantrell <dcantrell@redhat.com> - 12:4.0.0-15
  488. - Set close-on-exec on dhclient.leases for SELinux (#446632)
  489. * Tue Apr 01 2008 David Cantrell <dcantrell@redhat.com> - 12:4.0.0-14
  490. - Avoid dhclient crash when run via NetworkManager (#439796)
  491. * Tue Mar 25 2008 David Cantrell <dcantrell@redhat.com> - 12:4.0.0-13
  492. - Update dhclient-script to handle domain-search correctly (#437840)
  493. * Tue Mar 25 2008 David Cantrell <dcantrell@redhat.com> - 12:4.0.0-12
  494. - Remove Requires on openldap-server (#432180)
  495. - Replace CLIENTBINDIR, ETCDIR, DBDIR, and RUNDIR in the man pages with the
  496. correct paths
  497. * Wed Feb 13 2008 David Cantrell <dcantrell@redhat.com> - 12:4.0.0-11
  498. - Add missing newline to usage() screen in dhclient
  499. * Thu Feb 07 2008 David Cantrell <dcantrell@redhat.com> - 12:4.0.0-10
  500. - Save conf files adding '.predhclient.$interface' to the name (#306381)
  501. - Only restore conf files on EXPIRE/FAIL/RELEASE/STOP if there are no other
  502. dhclient processes running (#306381)
  503. * Wed Feb 06 2008 David Cantrell <dcantrell@redhat.com> - 12:4.0.0-9
  504. - Match LDAP server option values in stables.c and dhcpd.h (#431003)
  505. - Fix invalid sprintf() statement in server/ldap.c (#431003)
  506. * Wed Feb 06 2008 David Cantrell <dcantrell@redhat.com> - 12:4.0.0-8
  507. - Remove invalid fclose() patch
  508. * Tue Feb 05 2008 David Cantrell <dcantrell@redhat.com> - 12:4.0.0-7
  509. - Don't leak /var/lib/dhclient/dhclient.leases file descriptors (#429890)
  510. * Tue Jan 22 2008 David Cantrell <dcantrell@redhat.com> - 12:4.0.0-6
  511. - read_function() comes from the LDAP patch, so fix it there
  512. - Init new struct universe structs in libdhcp4client so we don't crash on
  513. multiple DHCP attempts (#428203)
  514. * Thu Jan 17 2008 David Cantrell <dcantrell@redhat.com> - 12:4.0.0-5
  515. - Patch read_function() to handle size_t from read() correctly (#429207)
  516. * Wed Jan 16 2008 David Cantrell <dcantrell@redhat.com> - 12:4.0.0-4
  517. - Fix dhclient.lease file parsing problems (#428785)
  518. - Disable IPv6 support for now as we already ship dhcpv6 (#428987)
  519. * Tue Jan 15 2008 David Cantrell <dcantrell@redhat.com> - 12:4.0.0-3
  520. - Fix segfault in next_iface4() and next_iface6() (#428870)
  521. * Mon Jan 14 2008 David Cantrell <dcantrell@redhat.com> - 12:4.0.0-2
  522. - -fvisibility fails me again
  523. * Mon Jan 14 2008 David Cantrell <dcantrell@redhat.com> - 12:4.0.0-1
  524. - Upgrade to ISC dhcp-4.0.0 (#426634)
  525. - first ISC release to incorporate DHCPv6 protocol support
  526. - source tree now uses GNU autoconf/automake
  527. - Removed the libdhcp4client-static package
  528. * Tue Dec 04 2007 David Cantrell <dcantrell@redhat.com> - 12:3.1.0-12
  529. - Requires line fixes
  530. * Tue Dec 04 2007 David Cantrell <dcantrell@redhat.com> - 12:3.1.0-11
  531. - Postinstall script fixes
  532. * Mon Nov 19 2007 David Cantrell <dcantrell@redhat.com> - 12:3.1.0-10
  533. - Remove dhcdbd check from dhcpd init script
  534. * Thu Nov 15 2007 David Cantrell <dcantrell@redhat.com> - 12:3.1.0-9
  535. - Fix chkconfig lines in dhcpd and dhcrelay init scripts (#384431)
  536. - Improve preun scriptlet
  537. * Mon Nov 12 2007 David Cantrell <dcantrell@redhat.com> - 12:3.1.0-8
  538. - Put dhcp.schema in /etc/openldap/schema (#330471)
  539. - Remove manpages patch and keep modified man pages as Source files
  540. - Improve dhclient.8 man page to list options in a style consistent
  541. with most other man pages on the planet
  542. - Upgrade to latest dhcp LDAP patch, which brings in a new dhcpd-conf-to-ldap
  543. script, updated schema file, and other bug fixes including SSL support for
  544. LDAP authentication (#375711)
  545. - Do not run dhcpd and dhcrelay services by default (#362321)
  546. * Fri Oct 26 2007 David Cantrell <dcantrell@redhat.com> - 12:3.1.0-7
  547. - libdhcp4client-devel requires openldap-devel
  548. * Thu Oct 25 2007 David Cantrell <dcantrell@redhat.com> - 12:3.1.0-6
  549. - Rename Makefile.dist to Makefile.libdhcp4client
  550. - Spec file cleanups
  551. - Include stdarg.h in libdhcp_control.h
  552. * Thu Oct 25 2007 David Cantrell <dcantrell@redhat.com> - 12:3.1.0-5
  553. - Remove chkconfig usage for ypbind in dhclient-script (#351211)
  554. - Combine dhcp-static and dhcp-devel packages since there are no shared
  555. libraries offered
  556. - Remove Requires: openldap-devel on dhcp-devel and libdhcp4client-devel
  557. - Make libdhcp4client-devel require dhcp-devel (for libdhcp_control.h)
  558. - Do not make dhcp-devel require the dhcp package, those are independent
  559. * Wed Oct 24 2007 David Cantrell <dcantrell@redhat.com> - 12:3.1.0-4
  560. - Install libdhcp_control.h to /usr/include/isc-dhcp/libdhcp_control.h
  561. - Update libdhcp4client patch to use new libdhcp_control.h location
  562. - Remove __fedora_contrib/ subdirectory in /usr/share/doc/dhcp-3.1.0,
  563. install those docs to /usr/share/doc/dhcp-3.1.0
  564. * Wed Oct 24 2007 David Cantrell <dcantrell@redhat.com> - 12:3.1.0-3
  565. - Remove ISC.Cflags variable from libdhcp4client.pc
  566. * Wed Oct 24 2007 David Cantrell <dcantrell@redhat.com> - 12:3.1.0-2
  567. - Fix 'restart' mode in init script (#349341)
  568. * Tue Oct 23 2007 David Cantrell <dcantrell@redhat.com> - 12:3.1.0-1
  569. - Upgrade to ISC dhcp-3.1.0
  570. - Remove unnecessary /usr/include/dhcp4client/isc_dhcp headers
  571. - Make sure restorecon is run on /var/lib/dhcpd/dhcpd.leases (#251688)
  572. - Install dhcp.schema to /etc/openldap/dhcp.schema (#330471)
  573. * Mon Oct 08 2007 David Cantrell <dcantrell@redhat.com> - 12:3.0.6-8
  574. - Init script fixes (#320761)
  575. - Removed linux.dbus-example script since we aren't using dhcdbd now
  576. - Remove dhcdbd leftovers from dhclient-script (#306381)
  577. * Wed Sep 26 2007 David Cantrell <dcantrell@redhat.com> - 12:3.0.6-7
  578. - In dhcp.conf.5, explain that if no next-server statement applies to the
  579. requesting client, the address 0.0.0.0 is used (#184484).
  580. * Wed Sep 26 2007 David Cantrell <dcantrell@redhat.com> - 12:3.0.6-6
  581. - Init script fixes for dhcpd and dhcrelay (#278601)
  582. * Mon Sep 10 2007 David Cantrell <dcantrell@redhat.com> - 12:3.0.6-5
  583. - Fix typos in ldap.c and correct LDAP macros (#283391)
  584. * Tue Sep 04 2007 David Cantrell <dcantrell@redhat.com> - 12:3.0.6-4
  585. - Do not override manually configured NTP servers in /etc/ntp.conf (#274761)
  586. * Wed Aug 15 2007 David Cantrell <dcantrell@redhat.com> - 12:3.0.6-3
  587. - Remove the -x switch enabling extended new option info. If given to
  588. dhclient now, it's ignored.
  589. * Wed Jul 18 2007 Florian La Roche <laroche@redhat.com> - 12:3.0.6-2
  590. - use a new macro name vendor -> vvendor to not overwrite the
  591. RPMTAG_VENDOR setting
  592. * Tue Jul 10 2007 David Cantrell <dcantrell@redhat.com> - 12:3.0.6-1
  593. - Upgrade to ISC dhcp-3.0.6
  594. - Remove the -TERM option from killproc command (#245317)
  595. * Wed Jun 20 2007 David Cantrell <dcantrell@redhat.com> - 12:3.0.5-37
  596. - For init script functions, echo new line after OK or FAIL msg (#244956)
  597. * Fri Jun 15 2007 David Cantrell <dcantrell@redhat.com> - 12:3.0.5-36
  598. - BOOTP_BROADCAST_ALWAYS is not the same as ATSFP, fixed
  599. - Added anycast mac support to dhclient for OLPC
  600. * Tue May 22 2007 David Cantrell <dcantrell@redhat.com> - 12:3.0.5-35
  601. - Disable -fvisibility=hidden for now as it breaks dhcpv4_client() from
  602. the shared library (#240804)
  603. * Thu Apr 26 2007 David Cantrell <dcantrell@redhat.com> - 12:3.0.5-34
  604. - Init script fixes (#237985, #237983)
  605. - Reference correct scripts in dhclient-script.8 man page (#238036)
  606. * Fri Apr 20 2007 David Cantrell <dcantrell@redhat.com> - 12:3.0.5-33
  607. - Rename -devel-static packages to -static (#225691)
  608. * Tue Apr 17 2007 David Cantrell <dcantrell@redhat.com> - 12:3.0.5-32
  609. - Added missing newline on usage() screen in dhclient
  610. * Thu Apr 12 2007 David Cantrell <dcantrell@redhat.com> - 12:3.0.5-31
  611. - Spec file cleanups (#225691)
  612. - Put libdhcpctl.a and libomapi.a in dhcp-devel-static package
  613. - Put libdhcp4client.a in libdhcp4client-devel-static package
  614. * Wed Apr 11 2007 David Cantrell <dcantrell@redhat.com> - 12:3.0.5-30
  615. - Enable Xen patch again, kernel bits present (#231444)
  616. * Tue Apr 10 2007 David Cantrell <dcantrell@redhat.com> - 12:3.0.5-29
  617. - Spec file cleanups (#225691)
  618. * Mon Apr 09 2007 David Cantrell <dcantrell@redhat.com> - 12:3.0.5-28
  619. - Remove Xen patch (#235649, from RHEL-5, doesn't work correctly for Fedora)
  620. * Sun Apr 01 2007 David Cantrell <dcantrell@redhat.com> - 12:3.0.5-27
  621. - Ensure that Perl and Perl modules are not added as dependencies (#234688)
  622. - Reorganize patches by feature/bug per packaging guidelines (#225691)
  623. - Move the following files from patches to source files:
  624. linux.dbus-example, linux, Makefile.dist, dhcp4client.h, libdhcp_control.h
  625. - Compile with -fno-strict-aliasing as ISC coding standards generally don't
  626. agree well with gcc 4.x.x
  627. * Wed Mar 21 2007 David Cantrell <dcantrell@redhat.com> - 12:3.0.5-26
  628. - Fix formatting problems in dhclient man page (#233076).
  629. * Mon Mar 05 2007 David Cantrell <dcantrell@redhat.com> - 12:3.0.5-25
  630. - Man pages need 0644 permissions (#222572)
  631. * Thu Mar 01 2007 David Cantrell <dcantrell@redhat.com> - 12:3.0.5-24
  632. - Include contrib/ subdirectory in /usr/share/doc (#230476)
  633. - Added back Requires for perl since dhcpd-conf-to-ldap needs it (#225691)
  634. - Put copies of dhcp-options and dhcp-eval man pages in the dhcp and
  635. dhclient packages rather than having the elaborate symlink collection
  636. - Explicitly name man pages in the %%files listings
  637. - Use the %%{_sysconfdir} and %%{_initrddir} macros (#225691)
  638. - Use macros for commands in %%build and %%install
  639. - Split README.ldap, draft-ietf-dhc-ldap-schema-01.txt, and
  640. dhcpd-conf-to-ldap.pl out of the LDAP patch
  641. - Split linux.dbus-example script out of the extended new option info patch
  642. - Remove unnecessary changes from the Makefile patch
  643. * Wed Feb 28 2007 David Cantrell <dcantrell@redhat.com> - 12:3.0.5-23
  644. - Update Xen partial checksums patch
  645. - Remove perl Requires (#225691)
  646. - Make dhcp-devel depend on dhcp = e:v-r (#225691)
  647. - libdhcp4client-devel Requires pkgconfig (#225691)
  648. - Do not add to RPM_OPT_FLAGS, use COPTS variable instead (#225691)
  649. - Use %%{buildroot} macro instead of RPM_BUILD_ROOT variable (#225691)
  650. - Preserve timestamps on all installed data files (#225691)
  651. - Remove dhcp-options.5.gz and dhcp-eval.5.gz symlinking in post (#225691)
  652. - Use %%defattr(-,root,root,-) (#225691)
  653. - Do not flag init scripts as %%config in %%files section (#225691)
  654. * Tue Feb 27 2007 David Cantrell <dcantrell@redhat.com> - 12:3.0.5-22
  655. - Change license field to say ISC
  656. * Sat Feb 17 2007 David Cantrell <dcantrell@redhat.com> - 12:3.0.5-21
  657. - Obsoletes dhcpcd <= 1.3.22 (#225691)
  658. * Fri Feb 16 2007 David Cantrell <dcantrell@redhat.com> - 12:3.0.5-20
  659. - Review cleanups (#225691)
  660. * Fri Feb 09 2007 David Cantrell <dcantrell@redhat.com> - 12:3.0.5-19
  661. - Require openldap-devel on dhcp-devel and libdhcp4client-devel packages
  662. * Thu Feb 08 2007 David Cantrell <dcantrell@redhat.com> - 12:3.0.5-18
  663. - Fix libdhcp4client visibility _again_ (#198496)
  664. * Thu Feb 08 2007 David Cantrell <dcantrell@redhat.com> - 12:3.0.5-17
  665. - Remove period from summary line (package review)
  666. - Use preferred BuildRoot (package review)
  667. * Sun Feb 04 2007 David Cantrell <dcantrell@redhat.com> - 12:3.0.5-16
  668. - Disable xen-checksums patch for now as it breaks dhclient (#227266)
  669. - Updated fix-warnings patch
  670. * Sun Feb 04 2007 David Woodhouse <dwmw2@redhat.com> - 12:3.0.5-15
  671. - Fix broken file reading due to LDAP patch
  672. * Fri Feb 02 2007 David Cantrell <dcantrell@redhat.com> - 12:3.0.5-14
  673. - Only export the symbols we want in libdhcp4client (#198496)
  674. * Wed Jan 31 2007 David Cantrell <dcantrell@redhat.com> - 12:3.0.5-13
  675. - Add support for dhcpd(8) to read dhcpd.conf from an LDAP server (#224352)
  676. - Remove invalid ja_JP.eucJP man pages from /usr/share/doc
  677. * Wed Jan 31 2007 David Cantrell <dcantrell@redhat.com> - 12:3.0.5-12
  678. - Rebuild
  679. * Tue Jan 30 2007 David Cantrell <dcantrell@redhat.com> - 12:3.0.5-11
  680. - Remove FORTIFY_SOURCE=0 leftovers from testing last week (whoops)
  681. * Tue Jan 30 2007 David Cantrell <dcantrell@redhat.com> - 12:3.0.5-10
  682. - Fix Xen networking problems with partial checksums (#221964)
  683. * Mon Jan 29 2007 David Cantrell <dcantrell@redhat.com> - 12:3.0.5-9
  684. - Remove dhcptables.pl from the source package
  685. - Mark libres.a symbols hidden (#198496)
  686. - Set DT_SONAME on libdhcp4client to libdhcp4client-VERSION.so.0
  687. - Make function definition for dst_hmac_md5_init() match the prototype
  688. * Wed Nov 29 2006 David Cantrell <dcantrell@redhat.com> - 12:3.0.5-8
  689. - Roll md5 patch in to libdhcp4client patch since it's related
  690. - Do not overwrite /etc/ntp/step-tickers (#217663)
  691. - Resolves: rhbz#217663
  692. * Wed Nov 22 2006 Peter Jones <pjones@redhat.com> - 12:3.0.5-7
  693. - Build the MD5 functions we link against.
  694. * Thu Nov 16 2006 David Cantrell <dcantrell@redhat.com> - 12:3.0.5-6
  695. - Set permission of libdhcp4client.so.1 to 0755 (#215910)
  696. * Tue Nov 14 2006 David Cantrell <dcantrell@redhat.com> - 12:3.0.5-5
  697. - Do not link res_query.o in to libdhcp4client (#215501)
  698. * Mon Nov 13 2006 David Cantrell <dcantrell@redhat.com> - 12:3.0.5-4
  699. - Enable relinquish_timeouts() and cancel_all_timeouts() even when
  700. DEBUG_MEMORY_LEAKAGE_ON_EXIT is not defined
  701. - Add prototypes for b64_pton() and b64_ntop in dst/
  702. - Move variable declarations and labels around in the fix-warnings patch
  703. - Expand the list of objects needed for libdhcp4client (#215328)
  704. - Use libres.a in libdhcp4client since it gives correct minires objects
  705. - Remove the dhcp options table in C, Perl, Python, and text format (these
  706. were reference files added to /usr/share/doc)
  707. * Mon Nov 13 2006 David Cantrell <dcantrell@redhat.com> - 12:3.0.5-3
  708. - Remove struct universe *universe from envadd_state in the client patch
  709. - Add struct universe *universe to envadd_state in the enoi patch
  710. - Add example dbusified dhclient-script in the enoi patch
  711. * Fri Nov 10 2006 David Cantrell <dcantrell@redhat.com> - 12:3.0.5-2
  712. - Change the way libdhcp4client is compiled (patch main source, create new
  713. Makefile rather than copy and patch code after main patches)
  714. - Fix up problems generating compiler warnings
  715. - Use 'gcc' for making dependencies
  716. - Pass -fPIC instead of -fpie/-fPIE in compiler flags
  717. - Combine the extended new option info changes in to one patch file (makes
  718. it easier for outside projects that want to use dhcdbd and NetworkManager)
  719. * Tue Nov 07 2006 David Cantrell <dcantrell@redhat.com> - 12:3.0.5-1
  720. - Upgrade to ISC dhcp-3.0.5
  721. * Fri Oct 27 2006 David Cantrell <dcantrell@redhat.com> - 12:3.0.4-24
  722. - Put typedef for dhcp_state_e before it's used in libdhcp_control.h (#212612)
  723. - Remove dhcpctl.3 from minires/Makefile.dist because it's in dhcpctl
  724. - Remove findptrsize.c and just set compiler flag for ppc64 and s390x
  725. * Sat Oct 14 2006 David Cantrell <dcantrell@redhat.com> - 12:3.0.4-23
  726. - Remove NODEBUGINFO junk from the spec file as well as old/unused code
  727. - Rolled all 68 patches in to one patch since more than half of them get
  728. overridden by later patches anyway.
  729. * Fri Oct 13 2006 David Cantrell <dcantrell@redhat.com> - 12:3.0.4-22
  730. - Send usage() screen in dhclient to stdout rather than the syslog (#210524)
  731. * Mon Sep 11 2006 David Cantrell <dcantrell@redhat.com> - 12:3.0.4-21
  732. - Rebuild (#205505)
  733. * Fri Aug 18 2006 Jesse Keating <jkeating@redhat.com> - 12:3.0.4-20
  734. - rebuilt with latest binutils to pick up 64K -z commonpagesize on ppc*
  735. (#203001)
  736. * Thu Aug 17 2006 David Cantrell <dcantrell@redhat.com> - 12:3.0.4-19
  737. - Fix mkdir problem in libdhcp4client.Makefile
  738. * Thu Aug 17 2006 David Cantrell <dcantrell@redhat.com> - 12:3.0.4-18
  739. - Fix dhclient on s390x platform (#202911)
  740. * Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 12:3.0.4-17.1
  741. - rebuild
  742. * Wed Jun 28 2006 Peter Jones <pjones@redhat.com> - 12:3.0.4-17
  743. - export timeout cancellation functions in libdhcp4client
  744. * Wed Jun 28 2006 Florian La Roche <laroche@redhat.com> - 12:3.0.4-16
  745. - add proper coreutils requires for the scripts
  746. * Thu Jun 22 2006 Peter Jones <pjones@redhat.com> - 12:3.0.4-15
  747. - Make timeout dispatch code not recurse while traversing a linked
  748. list, so it doesn't try to free an entries that have been removed.
  749. (bz #195723)
  750. - Don't patch in a makefile, do it in the spec.
  751. * Thu Jun 08 2006 Jason Vas Dias <jvdias@redhat.com> - 12:3.0.4-14
  752. - fix bug 191461: preserve ntp.conf local clock fudge statements
  753. - fix bug 193047: both dhcp and dhclient need to ship common
  754. man-pages: dhcp-options(5) dhcp-eval(5)
  755. * Tue May 30 2006 Jason Vas Dias <jvdias@redhat.com> - 12:3.0.4-12
  756. - Make -R option take effect in per-interface client configs
  757. * Fri May 26 2006 Jason Vas Dias <jvdias@redhat.com> - 12:3.0.4-10
  758. - fix bug 193047: allow $METRIC to be specified for dhclient routes
  759. - add a '-R <request option list>' dhclient argument
  760. * Fri May 26 2006 Jason Vas Dias <jvdias@redhat.com> - 12:3.0.4-8.1
  761. - fix a libdhcp4client memory leak (1 strdup) and
  762. fill in client->packet.siaddr before bind_lease() for pump
  763. nextServer option.
  764. * Fri May 19 2006 Jason Vas Dias <jvdias@redhat.com> - 12:3.0.4-8
  765. - Make libdhcp4client a versioned .so (BZ 192146)
  766. * Wed May 17 2006 Jason Vas Dias <jvdias@redhat.com> - 12:3.0.4-4
  767. - Enable libdhcp4client build
  768. * Tue May 16 2006 Jason Vas Dias <jvdias@redhat.com> - 12:3.0.4-2
  769. - Fix bug 191470: prevent dhcpd writing 8 byte dhcp-lease-time
  770. option in packets on 64-bit platforms
  771. * Sun May 14 2006 Jason Vas Dias <jvdias@redhat.com> - 12:3.0.4-2
  772. - Add the libdhcp4client library package for use by the new libdhcp
  773. package, which enables dhclient to be invoked by programs in a
  774. single process from the library. The normal dhclient code is
  775. unmodified by this.
  776. * Mon May 08 2006 Jason Vas Dias <jvdias@redhat.com> - 12:3.0.4-2
  777. - Add new dhclient command line argument:
  778. -V <vendor-class-identifier>
  779. * Sat May 06 2006 Jason Vas Dias <jvdias@redhat.com> - 12:3.0.4-1
  780. - Upgrade to upstream version 3.0.4, released Friday 2006-05-05 .
  781. - Add new dhclient command line arguments:
  782. -H <host-name> : parse as dhclient.conf 'send host-name "<host-name>";'
  783. -F <fqdn> : parse as dhclient.conf 'send fqdn.fqdn "<fqdn>";'
  784. -T <timeout> : parse as dhclient.conf 'timeout <timeout>;'
  785. * Thu Mar 02 2006 Jason Vas Dias <jvdias@redhat.com> - 11:3.0.3-26
  786. - fix bug 181908: enable dhclient to operate on IBM zSeries z/OS linux guests:
  787. o add -I <dhcp-client-identifier> dhclient command line option
  788. o add -B "always broadcast" dhclient command line option
  789. o add 'bootp-broadcast-always;' dhclient.conf statement
  790. * Mon Feb 20 2006 Jason Vas Dias <jvdias@redhat.com> - 11:3.0.3-24
  791. - Apply upstream fix for bug 176615 / ISC RT#15811
  792. * Tue Feb 14 2006 Jason Vas Dias <jvdias@redhat.com> - 11:3.0.3-22
  793. - fix bug 181482: resolv.conf not updated on RENEW :
  794. since dhcp-3.0.1rc12-RHScript.patch: "$new_domain_servers" should have
  795. been "$new_domain_name_servers" :-(
  796. * Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 11:3.0.3-21.1.1
  797. - bump again for double-long bug on ppc(64)
  798. * Mon Feb 06 2006 Jason Vas Dias <jvdias@redhat.com> - 11:3.0.3-21.1
  799. - Rebuild for new gcc, glibc and glibc-kernheaders
  800. * Sun Jan 22 2006 Dan Williams <dcbw@redhat.com> - 11:3.0.3-21
  801. - Fix dhclient-script to use /bin/dbus-send now that all dbus related
  802. binaries are in /bin rather than /usr/bin
  803. * Mon Jan 16 2006 Jason Vas Dias <jvdias@redhat.com> - 11:3.0.3-20
  804. - fix bug 177845: allow client ip-address as default router
  805. - fix bug 176615: fix DDNS update when Windows-NT client sends
  806. host-name with trailing nul
  807. * Tue Dec 20 2005 Jason Vas Dias <jvdias@redhat.com> - 11:3.0.3-18
  808. - fix bug 176270: allow routers with an octet of 255 in their IP address
  809. * Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
  810. - rebuilt
  811. * Mon Dec 05 2005 Jason Vas Dias <jvdias@redhat.com> - 11:3.0.3-16
  812. - fix gcc 4.1 compile warnings (-Werror)
  813. * Sat Nov 19 2005 Jason Vas Dias <jvdias@redhat.com> - 11:3.0.3-12
  814. - fix bug 173619: dhclient-script should reconfig on RENEW if
  815. subnet-mask, broadcast-address, mtu, routers, etc.
  816. have changed
  817. - apply upstream improvements to trailing nul options fix of bug 160655
  818. * Tue Nov 15 2005 Jason Vas Dias <jvdias@redhat.com> - 11:3.0.3-11
  819. - Rebuild for FC-5
  820. - fix bug 167028 - test IBM's unicast bootp patch (from xma@us.ibm.com)
  821. - fix bug 171312 - silence chkconfig error message if ypbind not installed
  822. - fix dhcpd.init when -cf arg given to dhcpd
  823. - make dhcpd init touch /var/lib/dhcpd/dhcpd.leases, not /var/lib/dhcp/dhcpd.leases
  824. * Tue Oct 18 2005 Jason Vas Dias <jvdias@redhat.com> - 11:3.0.3-10
  825. - Allow dhclient route metrics to be specified with DHCP options:
  826. The dhcp-options(5) man-page states:
  827. 'option routers ... Routers should be listed in order of preference'
  828. and
  829. 'option static-routes ... are listed in descending order of priority' .
  830. No preference / priority could be set with previous dhclient-script .
  831. Now, dhclient-script provides:
  832. Default Gateway (option 'routers') metrics:
  833. Instead of allowing only one default gateway, if more than one router
  834. is specified in the routers option, routers following the first router
  835. will have a 'metric' of their position in the list (1,...N>1).
  836. Option static-routes metrics:
  837. If a target appears in the list more than once, routes for duplicate
  838. targets will have successively greater metrics, starting at 1.
  839. * Mon Oct 17 2005 Jason Vas Dias <jvdias@redhat.com> - 11:3.0.3-8
  840. - further fix for bug 160655 / ISC bug 15293 - upstream patch:
  841. do NOT always strip trailing nulls in the dhcpd server
  842. - handle static-routes option properly in dhclient-script :
  843. trailing 0 octets in the 'target' IP specify the class -
  844. ie '172.16.0.0 w.x.y.z' specifies '172.16/16 via w.x.y.z'.
  845. * Fri Sep 23 2005 Jason Vas Dias <jvdias@redhat.com> - 11:3.0.3-7
  846. - fix bug 169164: separate /var/lib/{dhcpd,dhclient} directories
  847. - fix bug 167292: update failover port info in dhcpd.conf.5; give
  848. failover ports default values in server/confpars.c
  849. * Mon Sep 12 2005 Jason Vas Dias <jvdias@redhat.com> - 11:3.0.3-6
  850. - fix bug 167273: time-offset should not set timezone by default
  851. tzdata's Etc/* files are named with reverse sign
  852. for hours west - ie. 'GMT+5' is GMT offset -18000seconds.
  853. * Mon Aug 29 2005 Jason Vas Dias <jvdias@redhat.com> - 11:3.0.3-4
  854. - fix bug 166926: make dhclient-script handle interface-mtu option
  855. make dhclient-script support /etc/dhclient{,-$IF}-{up,down}-hooks scripts
  856. to allow easy customization to support other non-default DHCP options -
  857. documented in 'man 8 dhclient-script' .
  858. - handle the 'time-offset' DHCP option, requested by default.
  859. * Tue Aug 23 2005 Jason Vas Dias <jvdias@redhat.com> - 11:3.0.3-3
  860. - fix bug 160655: strip trailing '\0' bytes from text options before append
  861. - fix gcc4 compiler warnings ; now compiles with -Werror
  862. - add RPM_OPT_FLAGS to link as suggested in gcc man-page on '-pie' option
  863. - change ISC version string to 'V3.0.3-RedHat' at request of ISC
  864. * Tue Aug 9 2005 Jeremy Katz <katzj@redhat.com> - 11:3.0.3-2
  865. - don't explicitly require 2.2 era kernel, it's fairly overkill at this point
  866. * Fri Jul 29 2005 Jason Vas Dias <jvdias@redhat.com> 11:3.0.3-1
  867. - Upgrade to upstream version 3.0.3
  868. - Don't apply the 'default boot file server' patch: legacy
  869. dhcp behaviour broke RFC 2131, which requires that the siaddr
  870. field only be non-zero if the next-server or tftp-server-name
  871. options are specified.
  872. - Try removing the 1-5 second wait on dhclient startup altogether.
  873. - fix bug 163367: supply default configuration file for dhcpd
  874. * Thu Jul 14 2005 Jason Vas Dias <jvdias@redhat.com> 10:3.0.3rc1-1
  875. - Upgrade to upstream version 3.0.3rc1
  876. - fix bug 163203: silence ISC blurb on configtest
  877. - fix default 'boot file server' value (packet->siaddr):
  878. In dhcp-3.0.2(-), this was defaulted to the server address;
  879. now it defaults to 0.0.0.0 (a rather silly default!) and
  880. must be specified with the 'next-server' option (not the tftp-boot-server
  881. option ?!?) which causes PXE boot clients to fail to load anything after
  882. the boot file.
  883. * Fri Jul 08 2005 Jason Vas Dias <jvdias@redhat.com> 10:3.0.2-14.FC5
  884. - Allow package to compile with glibc-headers-2.3.5-11 (tr.c's use of __u16)
  885. * Tue May 10 2005 Jason Vas Dias <jvdias@redhat.com> 10:3.0.2-14
  886. - Fix bug 159929: prevent dhclient flooding network on repeated DHCPDECLINE
  887. - dhclient fast startup:
  888. remove dhclient's random 1-5 second delay on startup if only
  889. configuring one interface
  890. remove dhclient_script's "sleep 1" on PREINIT
  891. - fix new gcc-4.0.0-11 compiler warnings for binding_state_t
  892. * Tue May 03 2005 Jason Vas Dias <jvdias@redhat.com> 10:3.0.2-12
  893. - Rebuild for new glibc
  894. - Fix dhcdbd set for multiple interfaces
  895. * Wed Apr 27 2005 Jason Vas Dias <jvdias@redhat.com> 10:3.0.2-11
  896. - as pointed out by Peter Jones, dhclient-script spews
  897. - 'chkconfig: Usage' if run in init state 1 (runlevel returns "unknown".)
  898. - this is now corrected.
  899. * Mon Apr 25 2005 Jason Vas Dias <jvdias@redhat.com> 10:3.0.2-10
  900. - dhclient-script dhcdbd extensions.
  901. - Tested to have no effect unless dhcdbd invokes dhclient.
  902. * Thu Apr 21 2005 Jason Vas Dias <jvdias@redhat.com> 10:3.0.2-9
  903. - bugs 153244 & 155143 are now fixed with SELinux policy;
  904. autotrans now works for dhcpc_t, so restorecons are not required,
  905. and dhclient runs OK under dhcpc_t with SELinux enforcing.
  906. - fix bug 155506: 'predhclien' typo (emacs!).
  907. * Mon Apr 18 2005 Jason Vas Dias <jvdias@redhat.com> 10:3.0.2-8
  908. - Fix bugs 153244 & 155143:
  909. o restore dhclient-script 'restorecon's
  910. o give dhclient and dhclient-script an exec context of
  911. 'system_u:object_r:sbin_t' that allows them to run
  912. domainname / hostname and to update configuration files
  913. in dhclient post script.
  914. - Prevent dhclient emitting verbose ISC 'blurb' on error exit in -q mode
  915. * Mon Apr 04 2005 Jason Vas Dias <jvdias@redhat.com> 10:3.0.2-7
  916. - Add '-x' "extended option environment" dhclient argument:
  917. - When -x option given to dhclient:
  918. - dhclient enables arbitrary option processing by writing information
  919. - about user or vendor defined option space options to environment.
  920. -
  921. - fix bug 153244: dhclient should not use restorecon
  922. - fix bug 151023: dhclient no 'headers & libraries'
  923. - fix bug 149780: add 'DHCLIENT_IGNORE_GATEWAY' variable
  924. - remove all usage of /sbin/route from dhclient-script
  925. * Thu Mar 24 2005 Florian La Roche <laroche@redhat.com>
  926. - add "exit 0" to post script
  927. * Mon Mar 07 2005 Jason Vas Dias <jvdias@redhat.com> 10.3.0.2-3
  928. - rebuild for gcc4/glibc-2.3.4-14; fix bad memset
  929. * Thu Feb 24 2005 Jason Vas Dias <jvdias@redhat.com> 10:3.0.2-2
  930. - Fix bug 143640: do not allow more than one dhclient to configure an interface
  931. * Mon Feb 21 2005 Jason Vas Dias <jvdias@redhat.com> 10:3.0.2-1
  932. - Upgrade to ISC 3.0.2 Final Release (documentation change only).
  933. * Mon Feb 14 2005 Jason Vas Dias <jvdias@redhat.com> 8:3.0.2rc3-8
  934. - Add better execshield security link options
  935. - fix dhcpd.init when no /etc/dhcpd.conf exists and -cf in DHCPDARGS
  936. * Mon Feb 14 2005 Jason Vas Dias <jvdias@redhat.com> 8:3.0.2rc3-4
  937. - make dhclient-script TIMEOUT mode do exactly the same configuration
  938. - as BOUND / RENEW / REBIND / REBOOT if router ping succeeds
  939. * Mon Feb 14 2005 Jason Vas Dias <jvdias@redhat.com> 3.0.2rc3-4
  940. - fix bug 147926: dhclient-script should do restorecon for modified conf files
  941. - optimize execshield protection
  942. * Thu Feb 10 2005 Jason Vas Dias <jvdias@redhat.com> 8.3.0.4rc3-3
  943. - fix bug 147375: dhcpd heap corruption on 32-bit 'subnet' masks
  944. - fix bug 147502: dhclient should honor GATEWAYDEV and GATEWAY settings
  945. - fix bug 146600: dhclient's timeout mode ping should use -I
  946. - fix bug 146524: dhcpd.init should discard dhcpd's initial output message
  947. - fix bug 147739: dhcpd.init configtest should honor -cf in DHCPDARGS
  948. * Mon Jan 24 2005 Jason Vas Dias <jvdias@redhat.com> 8:3.0.2rc3-2
  949. - fix bug 145997: allow hex 32-bit integers in user specified options
  950. * Thu Jan 06 2005 Jason Vas Dias <jvdias@redhat.com> 8:3.0.2rc3-1
  951. - still need an epoch to get past nvre test
  952. * Thu Jan 06 2005 Jason Vas Dias <jvdias@redhat.com> 3.0.2rc3-1
  953. - fix bug 144417: much improved dhclient-script
  954. * Thu Jan 06 2005 Jason Vas Dias <jvdias@redhat.com> 3.0.2rc3-1
  955. - Upgrade to latest release from ISC, which includes most of our
  956. - recent patches anyway.
  957. * Thu Jan 06 2005 Jason Vas Dias <jvdias@redhat.com> 7:3.0.1-17
  958. - fix bug 144250: gcc-3.4.3-11 is broken :
  959. - log_error ("Lease with bogus binding state: %%d size: %%d",
  960. - comp -> binding_state,
  961. - sizeof(comp->binding_state));
  962. - prints: 'Lease with bogus binding state: 257 1' !
  963. - compiling with gcc33 (compat-gcc-8-3.3.4.2 fixes for now).
  964. * Mon Jan 03 2005 Jason Vas Dias <jvdias@redhat.com> 7:3.0.1-16
  965. - fix bug 143704: dhclient -r does not work if lease held by
  966. - dhclient run from ifup . dhclient will now look for the pid
  967. - files created by ifup.
  968. * Wed Nov 17 2004 Jason Vas Dias <jvdias@redhat.com> 7:3.0.1-14
  969. - NTP: fix bug 139715: merge in new ntp servers only rather than replace
  970. - all the ntp configuration files; restart ntpd if configuration changed.
  971. * Tue Nov 16 2004 Jason Vas Dias <jvdias@redhat.com> 7:3.0.1-12
  972. - fix bug 138181 & bug 139468: do not attempt to listen/send on
  973. - unconfigured loopback, point-to-point or non-broadcast
  974. - interfaces (don't generate annoying log messages)
  975. - fix bug 138869: dhclient-script: check if '$new_routers' is
  976. - empty before doing 'set $new_routers;...;ping ... $1'
  977. * Wed Oct 06 2004 Jason Vas Dias <jvdias@redhat.com> 7:3.0.1-11
  978. - dhcp-3.0.2b1 came out today. A diff of the 'ack_lease' function
  979. - Dave Hankins and I patched exposed a missing '!' on an if clause
  980. - that got dropped with the 'new-host' patch. Replacing the '!'.
  981. - Also found one missing host_dereference.
  982. * Wed Oct 06 2004 Jason Vas Dias <jvdias@redhat.com> 7:3.0.1-10
  983. - clean-up last patch: new-host.patch adds host_reference(host)
  984. - without host_dereference(host) before returns in ack_lease
  985. - (dhcp-3.0.1-host_dereference.patch)
  986. * Mon Sep 27 2004 Jason Vas Dias <jvdias@redhat.com> 7:3.0.1-9
  987. - Fix bug 133522:
  988. - PXE Boot clients with static leases not given 'file' option
  989. - 104 by server - PXE booting was disabled for 'fixed-address'
  990. - clients.
  991. * Fri Sep 10 2004 Jason Vas Dias <jvdias@redhat.com> 7:3.0.1-8
  992. - Fix bug 131212:
  993. - If "deny booting" is defined for some group of hosts,
  994. - then after one of those hosts is denied booting, all
  995. - hosts are denied booting, because of a pointer not being
  996. - cleared in the lease record.
  997. - An upstream patch was obtained which will be in dhcp-3.0.2.
  998. * Mon Aug 16 2004 Jason Vas Dias <jvdias@redhat.com> 7:3.0.1-7
  999. - Forward DNS update by client was disabled by a bug that I
  1000. - found in code where 'client->sent_options' was being
  1001. - freed too early.
  1002. - Re-enabled it after contacting upstream maintainer
  1003. - who confirmed that this was a bug (bug #130069) -
  1004. - submitted patch dhcp-3.0.1.preserve-sent-options.patch.
  1005. - Upstream maintainer informs me this patch will be in dhcp-3.0.2 .
  1006. * Tue Aug 3 2004 Jason Vas Dias <jvdias@redhat.com> 6:3.0.1-6
  1007. - Allow 2.0 kernels to obtain default gateway via dhcp
  1008. * Mon Aug 2 2004 Jason Vas Dias <jvdias@redhat.com> 5:3.0.1-5
  1009. - Invoke 'change_resolv_conf' function to change resolv.conf
  1010. * Fri Jul 16 2004 Jason Vas Dias <jvdias@redhat.com> 3:3.0.1
  1011. - Upgraded to new ISC 3.0.1 version
  1012. * Thu Jun 24 2004 Dan Walsh <dwalsh@redhat.com> 1:3.0.1rc14-5
  1013. - Allow dhclient-script to continue without a config file.
  1014. - It will use default values.
  1015. * Wed Jun 23 2004 Dan Walsh <dwalsh@redhat.com> 1:3.0.1rc14-4
  1016. - fix inherit-leases patch
  1017. * Tue Jun 22 2004 Dan Walsh <dwalsh@redhat.com> 1:3.0.1rc14-2
  1018. - Turn on inherit-leases patch
  1019. * Tue Jun 22 2004 Dan Walsh <dwalsh@redhat.com> 1:3.0.1rc14-1
  1020. - User kernelversion instead of uname-r
  1021. - Update to latest package from ISC
  1022. - Remove inherit-leases patch for now.
  1023. * Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
  1024. - rebuilt
  1025. * Thu Jun 10 2004 Dan Walsh <dwalsh@redhat.com> 1:3.0.1rc13-1
  1026. - Update to latest package from ISC
  1027. * Thu Jun 10 2004 Dan Walsh <dwalsh@redhat.com> 1:3.0.1rc12-9
  1028. - add route back in after route up call
  1029. * Wed Jun 9 2004 Dan Walsh <dwalsh@redhat.com> 1:3.0.1rc12-8
  1030. - add alex's dhcp-3.0.1rc12-inherit-leases.patch patch
  1031. * Tue Jun 8 2004 Bill Nottingham <notting@redhat.com> 1:3.0.1rc12-7
  1032. - set device on default gateway route
  1033. * Mon May 17 2004 Thomas Woerner <twoerner@redhat.com> 1:3.0.1rc12-6
  1034. - compiling dhcpd PIE
  1035. * Thu Mar 25 2004 Dan Walsh <dwalsh@redhat.com> 1:3.0.1rc12-5
  1036. - Add static routes patch to dhclient-script
  1037. * Thu Mar 25 2004 Dan Walsh <dwalsh@redhat.com> 1:3.0.1rc12-4
  1038. - Fix init to check config during restart
  1039. * Wed Mar 24 2004 Dan Walsh <dwalsh@redhat.com> 1:3.0.1rc12-3
  1040. - Fix init script to create leases file if missing
  1041. * Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
  1042. - rebuilt
  1043. * Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
  1044. - rebuilt
  1045. * Wed Jan 21 2004 Dan Walsh <dwalsh@redhat.com> 1:3.0pl2-6.20
  1046. - Fix initialization of memory to prevent compiler error
  1047. * Mon Jan 5 2004 Dan Walsh <dwalsh@redhat.com> 1:3.0pl2-6.19
  1048. - Close leaseFile before exec, to fix selinux error message
  1049. * Mon Dec 29 2003 Dan Walsh <dwalsh@redhat.com> 1:3.0pl2-6.18
  1050. - Add BuildRequires groff
  1051. - Replace resolv.conf if renew and data changes
  1052. * Sun Nov 30 2003 Dan Walsh <dwalsh@redhat.com> 1:3.0pl2-6.17
  1053. - Add obsoletes dhcpcd
  1054. * Wed Oct 8 2003 Dan Walsh <dwalsh@redhat.com> 1:3.0pl2-6.16
  1055. - Fix location of ntp driftfile
  1056. * Fri Sep 5 2003 Dan Walsh <dwalsh@redhat.com> 1:3.0pl2-6.15
  1057. - Bump Release
  1058. * Fri Sep 5 2003 Dan Walsh <dwalsh@redhat.com> 1:3.0pl2-6.14
  1059. - Add div0 patch
  1060. * Wed Aug 20 2003 Dan Walsh <dwalsh@redhat.com> 1:3.0pl2-6.13
  1061. - Add SEARCH to client script
  1062. * Wed Aug 20 2003 Dan Walsh <dwalsh@redhat.com> 1:3.0pl2-6.12
  1063. - Bump Release
  1064. * Wed Aug 20 2003 Dan Walsh <dwalsh@redhat.com> 1:3.0pl2-6.11
  1065. - Add configtest
  1066. * Fri Aug 1 2003 Dan Walsh <dwalsh@redhat.com> 1:3.0pl2-6.10
  1067. - increment for base
  1068. * Fri Aug 1 2003 Dan Walsh <dwalsh@redhat.com> 1:3.0pl2-6.9
  1069. - Don't update resolv.conf on renewals
  1070. * Tue Jul 29 2003 Dan Walsh <dwalsh@redhat.com> 1:3.0pl2-6.8
  1071. - increment for base
  1072. * Tue Jul 29 2003 Dan Walsh <dwalsh@redhat.com> 1:3.0pl2-6.7
  1073. - Fix name of driftfile
  1074. * Tue Jul 29 2003 Dan Walsh <dwalsh@redhat.com> 1:3.0pl2-6.6
  1075. - increment for base
  1076. * Tue Jul 29 2003 Dan Walsh <dwalsh@redhat.com> 1:3.0pl2-6.5
  1077. - Change dhcrelay script to check DHCPSERVERS
  1078. * Mon Jul 7 2003 Dan Walsh <dwalsh@redhat.com> 1:3.0pl2-6.4
  1079. - increment for base
  1080. * Mon Jul 7 2003 Dan Walsh <dwalsh@redhat.com> 1:3.0pl2-6.3
  1081. - Fix dhclient-script to support PEERNTP and PEERNIS flags.
  1082. - patch submitted by aoliva@redhat.com
  1083. * Sun Jun 8 2003 Tim Powers <timp@redhat.com> 1:3.0pl2-6.1
  1084. - add epoch to dhcp-devel versioned requires on dhcp
  1085. - build for RHEL
  1086. * Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
  1087. - rebuilt
  1088. * Tue May 27 2003 Dan Walsh <dwalsh@redhat.com> 3.0pl2-5
  1089. - Fix memory leak in parser.
  1090. * Mon May 19 2003 Dan Walsh <dwalsh@redhat.com> 3.0pl2-4
  1091. - Change Rev for RHEL
  1092. * Mon May 19 2003 Dan Walsh <dwalsh@redhat.com> 3.0pl2-3
  1093. - Change example to not give out 255 address.
  1094. * Tue Apr 29 2003 Dan Walsh <dwalsh@redhat.com> 3.0pl2-2
  1095. - Change Rev for RHEL
  1096. * Mon Apr 28 2003 Dan Walsh <dwalsh@redhat.com> 3.0pl2-1
  1097. - upgrade to 3.0pl2
  1098. * Wed Mar 26 2003 Dan Walsh <dwalsh@redhat.com> 3.0pl1-26
  1099. - add usage for dhcprelay -c
  1100. - add man page for dhcprelay -c
  1101. * Fri Mar 7 2003 Dan Walsh <dwalsh@redhat.com> 3.0pl1-25
  1102. - Fix man dhcpd.conf man page
  1103. * Tue Mar 4 2003 Dan Walsh <dwalsh@redhat.com> 3.0pl1-24
  1104. - Fix man dhcpctl.3 page
  1105. * Mon Feb 3 2003 Dan Walsh <dwalsh@redhat.com> 3.0pl1-23
  1106. - fix script to handle ntp.conf correctly
  1107. * Wed Jan 29 2003 Dan Walsh <dwalsh@redhat.com> 3.0pl1-22
  1108. - Increment release to add to 8.1
  1109. * Wed Jan 29 2003 Dan Walsh <dwalsh@redhat.com> 3.0pl1-21
  1110. - Implement max hops patch
  1111. * Wed Jan 29 2003 Dan Walsh <dwalsh@redhat.com> 3.0pl1-20
  1112. - It has now been decided to just have options within dhclient kit
  1113. * Sun Jan 26 2003 Florian La Roche <Florian.LaRoche@redhat.de>
  1114. - add defattr() to have files not owned by root
  1115. * Fri Jan 24 2003 Dan Walsh <dwalsh@redhat.com> 3.0pl1-17
  1116. - require kernel version
  1117. * Fri Jan 24 2003 Dan Walsh <dwalsh@redhat.com> 3.0pl1-16
  1118. - move dhcp-options to separate package
  1119. * Wed Jan 22 2003 Tim Powers <timp@redhat.com>
  1120. - rebuilt
  1121. * Thu Jan 9 2003 Dan Walsh <dwalsh@redhat.com> 3.0pl1-15
  1122. - eliminate dhcp-options from dhclient in order to get errata out
  1123. * Wed Jan 8 2003 Dan Walsh <dwalsh@redhat.com> 3.0pl1-14
  1124. - VU#284857 - ISC DHCPD minires library contains multiple buffer overflows
  1125. * Mon Jan 6 2003 Dan Walsh <dwalsh@redhat.com> 3.0pl1-13
  1126. - Fix when ntp is not installed.
  1127. * Mon Jan 6 2003 Dan Walsh <dwalsh@redhat.com> 3.0pl1-12
  1128. - Fix #73079 (dhcpctl man page)
  1129. * Thu Nov 14 2002 Elliot Lee <sopwith@redhat.com> 3.0pl1-11
  1130. - Use generic PTRSIZE_64BIT detection instead of ifarch.
  1131. * Thu Nov 14 2002 Preston Brown <pbrown@redhat.com> 3.0pl1-10
  1132. - fix parsing of command line args in dhclient. It was missing a few.
  1133. * Mon Oct 07 2002 Florian La Roche <Florian.LaRoche@redhat.de>
  1134. - work on 64bit archs
  1135. * Wed Aug 28 2002 Elliot Lee <sopwith@redhat.com> 3.0pl1-9
  1136. - Fix #72795
  1137. * Mon Aug 26 2002 Elliot Lee <sopwith@redhat.com> 3.0pl1-8
  1138. - More #68650 (modify requested options)
  1139. - Fix #71453 (dhcpctl man page) and #71474 (include libdst.a) and
  1140. #72622 (hostname setting)
  1141. * Thu Aug 15 2002 Elliot Lee <sopwith@redhat.com> 3.0pl1-7
  1142. - More #68650 (modify existing patch to also set NIS domain)
  1143. * Tue Aug 13 2002 Elliot Lee <sopwith@redhat.com> 3.0pl1-6
  1144. - Patch102 (dhcp-3.0pl1-dhcpctlman-69731.patch) to fix #69731
  1145. * Tue Aug 13 2002 Elliot Lee <sopwith@redhat.com> 3.0pl1-5
  1146. - Patch101 (dhcp-3.0pl1-dhhostname-68650.patch) to fix #68650
  1147. * Fri Jul 12 2002 Elliot Lee <sopwith@redhat.com> 3.0pl1-4
  1148. - Fix unaligned accesses when decoding a UDP packet
  1149. * Thu Jul 11 2002 Elliot Lee <sopwith@redhat.com> 3.0pl1-3
  1150. - No apparent reason for the dhclient -> dhcp dep mentioned in #68001,
  1151. so removed it
  1152. * Thu Jun 27 2002 David Sainty <saint@redhat.com> 3.0pl1-2
  1153. - Move dhclient.conf.sample from dhcp to dhclient
  1154. * Tue Jun 25 2002 David Sainty <saint@redhat.com> 3.0pl1-1
  1155. - Change to dhclient, dhcp, dhcp-devel packaging
  1156. - Move to 3.0pl1, do not strip binaries
  1157. - Drop in sysconfig-enabled dhclient-script
  1158. * Thu May 23 2002 Tim Powers <timp@redhat.com>
  1159. - automated rebuild
  1160. * Sat Jan 26 2002 Florian La Roche <Florian.LaRoche@redhat.de>
  1161. - prereq chkconfig
  1162. * Tue Jan 22 2002 Elliot Lee <sopwith@redhat.com> 3.0-5
  1163. - Split headers/libs into a devel subpackage (#58656)
  1164. * Wed Jan 09 2002 Tim Powers <timp@redhat.com>
  1165. - automated rebuild
  1166. * Fri Dec 28 2001 Elliot Lee <sopwith@redhat.com> 3.0-3
  1167. - Fix the #52856 nit.
  1168. - Include dhcrelay scripts from #49186
  1169. * Thu Dec 20 2001 Elliot Lee <sopwith@redhat.com> 3.0-2
  1170. - Update to 3.0, include devel files installed by it (as part of the main
  1171. package).
  1172. * Sun Aug 26 2001 Elliot Lee <sopwith@redhat.com> 2.0pl5-8
  1173. - Fix #26446
  1174. * Mon Aug 20 2001 Elliot Lee <sopwith@redhat.com>
  1175. - Fix #5405 for real - it is dhcpd.leases not dhcp.leases.
  1176. * Mon Jul 16 2001 Elliot Lee <sopwith@redhat.com>
  1177. - /etc/sysconfig/dhcpd
  1178. - Include dhcp.leases file (#5405)
  1179. * Sun Jun 24 2001 Elliot Lee <sopwith@redhat.com>
  1180. - Bump release + rebuild.
  1181. * Wed Feb 14 2001 Tim Waugh <twaugh@redhat.com>
  1182. - Fix initscript typo (bug #27624).
  1183. * Wed Feb 7 2001 Trond Eivind Glomsrød <teg@redhat.com>
  1184. - Improve spec file i18n
  1185. * Mon Feb 5 2001 Bernhard Rosenkraenzer <bero@redhat.com>
  1186. - i18nize init script (#26084)
  1187. * Sun Sep 10 2000 Florian La Roche <Florian.LaRoche@redhat.de>
  1188. - update to 2.0pl5
  1189. - redo buildroot patch
  1190. * Wed Aug 30 2000 Matt Wilson <msw@redhat.com>
  1191. - rebuild to cope with glibc locale binary incompatibility, again
  1192. * Mon Aug 14 2000 Preston Brown <pbrown@redhat.com>
  1193. - check for existence of /var/lib/dhcpd.leases in initscript before starting
  1194. * Wed Jul 19 2000 Jakub Jelinek <jakub@redhat.com>
  1195. - rebuild to cope with glibc locale binary incompatibility
  1196. * Sat Jul 15 2000 Bill Nottingham <notting@redhat.com>
  1197. - move initscript back
  1198. * Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
  1199. - automatic rebuild
  1200. * Fri Jul 7 2000 Florian La Roche <Florian.LaRoche@redhat.com>
  1201. - /etc/rc.d/init.d -> /etc/init.d
  1202. - fix /var/state/dhcp -> /var/lib/dhcp
  1203. * Fri Jun 16 2000 Preston Brown <pbrown@redhat.com>
  1204. - condrestart for initscript, graceful upgrades.
  1205. * Thu Feb 03 2000 Erik Troan <ewt@redhat.com>
  1206. - gzipped man pages
  1207. - marked /etc/rc.d/init.d/dhcp as a config file
  1208. * Mon Jan 24 2000 Jakub Jelinek <jakub@redhat.com>
  1209. - fix booting of JavaStations
  1210. (reported by Pete Zaitcev <zaitcev@metabyte.com>).
  1211. - fix SIGBUS crashes on SPARC (apparently gcc is too clever).
  1212. * Fri Sep 10 1999 Bill Nottingham <notting@redhat.com>
  1213. - chkconfig --del in %%preun, not %%postun
  1214. * Mon Aug 16 1999 Bill Nottingham <notting@redhat.com>
  1215. - initscript munging
  1216. * Fri Jun 25 1999 Jeff Johnson <jbj@redhat.com>
  1217. - update to 2.0.
  1218. * Fri Jun 18 1999 Bill Nottingham <notting@redhat.com>
  1219. - don't run by default
  1220. * Wed Jun 2 1999 Jeff Johnson <jbj@redhat.com>
  1221. - update to 2.0b1pl28.
  1222. * Tue Apr 06 1999 Preston Brown <pbrown@redhat.com>
  1223. - strip binaries
  1224. * Mon Apr 05 1999 Cristian Gafton <gafton@redhat.com>
  1225. - copy the source file in prep, not move
  1226. * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
  1227. - auto rebuild in the new build environment (release 4)
  1228. * Mon Jan 11 1999 Erik Troan <ewt@redhat.com>
  1229. - added a sample dhcpd.conf file
  1230. - we don't need to dump rfc's in /usr/doc
  1231. * Sun Sep 13 1998 Cristian Gafton <gafton@redhat.com>
  1232. - modify dhcpd.init to exit if /etc/dhcpd.conf is not present
  1233. * Sat Jun 27 1998 Jeff Johnson <jbj@redhat.com>
  1234. - Upgraded to 2.0b1pl6 (patch1 no longer needed).
  1235. * Thu Jun 11 1998 Erik Troan <ewt@redhat.com>
  1236. - applied patch from Chris Evans which makes the server a bit more paranoid
  1237. about dhcp requests coming in from the wire
  1238. * Mon Jun 01 1998 Erik Troan <ewt@redhat.com>
  1239. - updated to dhcp 2.0b1pl1
  1240. - got proper man pages in the package
  1241. * Tue Mar 31 1998 Erik Troan <ewt@redhat.com>
  1242. - updated to build in a buildroot properly
  1243. - don't package up the client, as it doens't work very well <sigh>
  1244. * Tue Mar 17 1998 Bryan C. Andregg <bandregg@redhat.com>
  1245. - Build rooted and corrected file listing.
  1246. * Mon Mar 16 1998 Mike Wangsmo <wanger@redhat.com>
  1247. - removed the actual inet.d links (chkconfig takes care of this for us)
  1248. and made the %%postun section handle upgrades.
  1249. * Mon Mar 16 1998 Bryan C. Andregg <bandregg@redhat.com>
  1250. - First package.