# ChangeLog for sys-freebsd/freebsd-libexec
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-libexec/ChangeLog,v 1.19 2006/11/19 01:37:43 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-libexec/ChangeLog,v 1.20 2006/11/20 14:27:10 flameeyes Exp $
+
+ 20 Nov 2006; Diego Pettenò <flameeyes@gentoo.org> +files/bootpd.confd,
+ +files/bootpd.initd, freebsd-libexec-6.2_rc1.ebuild:
+ Add init script for bootp.
*freebsd-libexec-6.2_rc1 (19 Nov 2006)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
+AUX bootpd.confd 308 RMD160 7dff83be49f40dbf2a429bfeebe0dc87818851e0 SHA1 243b929b6d30e24eb6b23378f0082c47a46704dd SHA256 469ab9c83c4ca6f13efd175b0a04acc61e2da8d9852d6b4444750026bfaa4391
+MD5 2bb09c900d93c1b68c53ec1bbb09414d files/bootpd.confd 308
+RMD160 7dff83be49f40dbf2a429bfeebe0dc87818851e0 files/bootpd.confd 308
+SHA256 469ab9c83c4ca6f13efd175b0a04acc61e2da8d9852d6b4444750026bfaa4391 files/bootpd.confd 308
+AUX bootpd.initd 677 RMD160 747874a3342339d5ef813d9109c7de1ee12d9f01 SHA1 828f409e109a9c95e6c44a6623d37b8c635f9c88 SHA256 c272bcf298cb8b1e6514b4e7ff05d29f015f98e4da5192d354610184065f9fb8
+MD5 3bdf77601aaec8c10fa5ae95d1f25ce8 files/bootpd.initd 677
+RMD160 747874a3342339d5ef813d9109c7de1ee12d9f01 files/bootpd.initd 677
+SHA256 c272bcf298cb8b1e6514b4e7ff05d29f015f98e4da5192d354610184065f9fb8 files/bootpd.initd 677
AUX freebsd-libexec-5.3_rc1-ypxfr-makefile.patch 263 RMD160 40b586d5036d1456df7479339a3a11d82fae038e SHA1 4dee4c5dc1fff2262c91ef6c2eae30eea5267d4f SHA256 15903b83aff510790a8d3c18c3c34e352f35a5d8d07528ce0e243a07bf1cdb08
MD5 5d5db03a0ec099511d480ed697158c2f files/freebsd-libexec-5.3_rc1-ypxfr-makefile.patch 263
RMD160 40b586d5036d1456df7479339a3a11d82fae038e files/freebsd-libexec-5.3_rc1-ypxfr-makefile.patch 263
MD5 8469dd545c9fd6b56b833d3e925bad22 freebsd-libexec-6.2_beta3.ebuild 1705
RMD160 4b17def096ce608f0976b3f0102d07e7990f5b46 freebsd-libexec-6.2_beta3.ebuild 1705
SHA256 f4b25737b0d24690ece5ba56302eacb813aa3ed4f6f5f09242bd15e29c53f6d4 freebsd-libexec-6.2_beta3.ebuild 1705
-EBUILD freebsd-libexec-6.2_rc1.ebuild 1703 RMD160 69d1ff6d816d09c446221a6f4e5a2bc311f66e4f SHA1 ec70b8e79e7e3c5e0ab4a1c308a7f3d7cae5869f SHA256 36f59e0eef05d28d3f51b72bfdaba0abbc9aeba08b419677553add4c7c9da39c
-MD5 4be4814b36499abe92df50c96dbf4a4a freebsd-libexec-6.2_rc1.ebuild 1703
-RMD160 69d1ff6d816d09c446221a6f4e5a2bc311f66e4f freebsd-libexec-6.2_rc1.ebuild 1703
-SHA256 36f59e0eef05d28d3f51b72bfdaba0abbc9aeba08b419677553add4c7c9da39c freebsd-libexec-6.2_rc1.ebuild 1703
-MISC ChangeLog 5349 RMD160 e706b9f0ffe0b46723c0442e89546e61bac71945 SHA1 4999364a110dcf8640387e974b4405d809bafd84 SHA256 78f80588592e16f3ef1cab8c661c6a24322b77c5f5ae93103e95896bd15cad2e
-MD5 2614ed1dd3752b7d0beb6c6d43e2a5fe ChangeLog 5349
-RMD160 e706b9f0ffe0b46723c0442e89546e61bac71945 ChangeLog 5349
-SHA256 78f80588592e16f3ef1cab8c661c6a24322b77c5f5ae93103e95896bd15cad2e ChangeLog 5349
+EBUILD freebsd-libexec-6.2_rc1.ebuild 1778 RMD160 e1cbda932e03677754c10a02e39f84335ca778bf SHA1 26496eaf6fce2b8ccd912345995219114c5769ec SHA256 7a4944960c005ea15ac8defe1ac1b5c46db66930b2a15fa3d7da7ac438cf21e2
+MD5 9b2d2af3ed9c65a0d25331b82eaf46ac freebsd-libexec-6.2_rc1.ebuild 1778
+RMD160 e1cbda932e03677754c10a02e39f84335ca778bf freebsd-libexec-6.2_rc1.ebuild 1778
+SHA256 7a4944960c005ea15ac8defe1ac1b5c46db66930b2a15fa3d7da7ac438cf21e2 freebsd-libexec-6.2_rc1.ebuild 1778
+MISC ChangeLog 5508 RMD160 3184c8cf3d042ac6da80248e5369683d9198a937 SHA1 c433bcf98e4e1773d9c3a7c96057baf03a388ccf SHA256 6cf9c94abacf1898075d883187451827ed2e6ccd59c756476f9c6c999b376d77
+MD5 54ee7d0fd5f60703b76f246585c21f10 ChangeLog 5508
+RMD160 3184c8cf3d042ac6da80248e5369683d9198a937 ChangeLog 5508
+SHA256 6cf9c94abacf1898075d883187451827ed2e6ccd59c756476f9c6c999b376d77 ChangeLog 5508
MISC metadata.xml 156 RMD160 60b5820a08275f307e5bd936d78f5afd1f141086 SHA1 d9d9d4f2b5afc58339ea3e562fca490156935f1f SHA256 30ab515d6ac492d3d6c36ac3c675511742c2149e56a6b3228c8d22ab8edb3ff7
MD5 2bd48a5ae413433cbb36110b219ce97c metadata.xml 156
RMD160 60b5820a08275f307e5bd936d78f5afd1f141086 metadata.xml 156
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
-iD8DBQFFX7V5AiZjviIA2XgRAiZeAJwNR/ThXmX3j6byqJayOE2fEzFmzACgkwNX
-3Th8xRGIvTN18dF2AjzOuZY=
-=3D3+
+iD8DBQFFYbtMAiZjviIA2XgRAsz0AKCeReCRaFjbdwqZLw0D8NE7VFCMZACgmpOA
+gtVhAGC0WKfHp9hJTngj6s8=
+=ZWsU
-----END PGP SIGNATURE-----
--- /dev/null
+#!/sbin/runscript
+# Copyright 2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-libexec/files/bootpd.initd,v 1.1 2006/11/20 14:27:10 flameeyes Exp $
+
+depend() {
+ need net
+}
+
+start() {
+ local bootptab=${BOOTPTAB_FILE:-/etc/bootptab}
+
+ if ! [[ -f ${bootptab} ]]; then
+ eerror "Unable to find the bootptab file: ${bootptab}"
+ eend 1
+ return 1
+ fi
+
+ ebegin "Starting BOOTP server"
+ start-stop-daemon --start --exec /usr/libexec/bootpd -- ${BOOTPD_OPTS} ${bootptab}
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping BOOTP server"
+ start-stop-daemon --stop --exec /usr/libexec/bootpd
+ eend $?
+}