# --- T2-COPYRIGHT-NOTE-BEGIN --- # T2 SDE: package/*/dhcp/dhcp.conf # Copyright (C) 2004 - 2021 The T2 SDE Project # Copyright (C) 1998 - 2003 ROCK Linux Project # # This Copyright note is generated by scripts/Create-CopyPatch, # more information can be found in the files COPYING and README. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License version 2. # --- T2-COPYRIGHT-NOTE-END --- prefix= set_confopt hook_add prepatch 5 "tar -C bind -xf bind/bind.tar.gz" premake_dhcp() { mkdir -p $root${mandir}/ja_JP.eucJP/man5 mkdir -p $root${mandir}/ja_JP.eucJP/man8 cp -v doc/ja_JP.eucJP/*.5 $root${mandir}/ja_JP.eucJP/man5 cp -v doc/ja_JP.eucJP/*.8 $root${mandir}/ja_JP.eucJP/man8 rm -rf doc/ja_JP.eucJP } hook_add premake 5 "premake_dhcp" postmake_dhcp() { cp -vr doc/* client/dhclient.conf.example server/dhcpd.conf.example $root$docdir/ install -m 0755 client/scripts/linux $root$sbindir/dhclient-script } hook_add postmake 5 "postmake_dhcp" atstage cross && var_append extraconfopt ' ' '--with-randomdev=/dev/urandom' var_append makeopt ' ' 'CC_OPTIONS="-DPARANOIA -DEARLY_CHROOT"'