summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2011-11-04 17:43:05 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-11-08 21:44:37 +0000
commit09fd35f1eadc744288302ba911fac77c1ad8e37a (patch)
treee08f520e13591f7d3762d3de3221095bf2ae2f06 /meta
parent3e9cb80371a74bc04463242c1f341f4024f57c12 (diff)
downloadpoky-09fd35f1eadc744288302ba911fac77c1ad8e37a.tar.gz
dhcp: drop unused dhcp3.inc file
(From OE-Core rev: 625ca73a16f6ef1da7a5c42450af715e41172e52) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-connectivity/dhcp/dhcp3.inc49
1 files changed, 0 insertions, 49 deletions
diff --git a/meta/recipes-connectivity/dhcp/dhcp3.inc b/meta/recipes-connectivity/dhcp/dhcp3.inc
deleted file mode 100644
index 6c7483eae1..0000000000
--- a/meta/recipes-connectivity/dhcp/dhcp3.inc
+++ /dev/null
@@ -1,49 +0,0 @@
1SECTION = "console/network"
2DESCRIPTION = "Internet Software Consortium DHCP package"
3HOMEPAGE = "http://www.isc.org/"
4
5LICENSE = "ISC"
6LIC_FILES_CHKSUM = "file://LICENSE;beginline=4;md5=bb6fd41f5895b67088ebea61ad365e74"
7
8SRC_URI = "ftp://ftp.isc.org/isc/dhcp/dhcp-${PV}.tar.gz \
9 file://init-relay file://default-relay \
10 file://init-server file://default-server \
11 file://dhclient.conf file://dhcpd.conf"
12
13inherit autotools
14
15TARGET_CFLAGS += "-D_GNU_SOURCE"
16
17do_compile() {
18 make RANLIB=${RANLIB} PREDEFINES='-D_PATH_DHCPD_DB=\"/var/lib/dhcp/dhcpd.leases\" \
19 -D_PATH_DHCLIENT_DB=\"/var/lib/dhcp/dhclient.leases\" \
20 -D_PATH_DHCLIENT_SCRIPT=\"/sbin/dhclient-script\" \
21 -D_PATH_DHCPD_CONF=\"/etc/dhcp/dhcpd.conf\" \
22 -D_PATH_DHCLIENT_CONF=\"/etc/dhcp/dhclient.conf\"'
23}
24
25do_install() {
26 make -e DESTDIR=${D} USRMANDIR=${mandir}/man1 ADMMANDIR=${mandir}/man8 FFMANDIR=${mandir}/man5 LIBMANDIR=${mandir}/man3 LIBDIR=${libdir} INCDIR=${includedir} install
27 install -d ${D}${sysconfdir}/init.d
28 install -d ${D}${sysconfdir}/default
29 install -d ${D}${sysconfdir}/dhcp
30 install -m 0755 ${WORKDIR}/init-relay ${D}${sysconfdir}/init.d/dhcp-relay
31 install -m 0644 ${WORKDIR}/default-relay ${D}${sysconfdir}/default/dhcp-relay
32 install -m 0755 ${WORKDIR}/init-server ${D}${sysconfdir}/init.d/dhcp-server
33 install -m 0644 ${WORKDIR}/default-server ${D}${sysconfdir}/default/dhcp-server
34 install -m 0644 ${WORKDIR}/dhclient.conf ${D}${sysconfdir}/dhcp/dhclient.conf
35 install -m 0644 ${WORKDIR}/dhcpd.conf ${D}${sysconfdir}/dhcp/dhcpd.conf
36 install -d ${D}${base_sbindir}/
37 mv ${D}${sbindir}/dhclient ${D}${base_sbindir}/
38 install -m 0755 ${S}/client/scripts/linux ${D}${base_sbindir}/dhclient-script
39}
40
41PACKAGES += "dhcp-server dhcp-client dhcp-relay dhcp-omshell"
42FILES_${PN} = ""
43FILES_dhcp-server = "${sbindir}/dhcpd ${sysconfdir}/init.d/dhcp-server ${sysconfdir}/default/dhcp-server ${sysconfdir}/dhcp/dhcpd.conf"
44FILES_dhcp-relay = "${sbindir}/dhcrelay ${sysconfdir}/init.d/dhcp-relay ${sysconfdir}/default/dhcp-relay"
45
46FILES_dhcp-client = "${base_sbindir}/dhclient ${base_sbindir}/dhclient-script ${sysconfdir}/dhcp/dhclient.conf"
47RDEPENDS_dhcp-client = "bash"
48
49FILES_dhcp-omshell = "${bindir}/omshell"