diff options
Diffstat (limited to 'meta-lsb/packages/xinetd/xinetd_2.3.14.bb')
-rw-r--r-- | meta-lsb/packages/xinetd/xinetd_2.3.14.bb | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/meta-lsb/packages/xinetd/xinetd_2.3.14.bb b/meta-lsb/packages/xinetd/xinetd_2.3.14.bb new file mode 100644 index 0000000000..02e68f2d34 --- /dev/null +++ b/meta-lsb/packages/xinetd/xinetd_2.3.14.bb | |||
@@ -0,0 +1,47 @@ | |||
1 | DESCRIPTION = "Highly configurable, modular and secure inetd" | ||
2 | HOMEPAGE = "http://www.xinetd.org" | ||
3 | |||
4 | # xinetd is a BSD-like license | ||
5 | LICENSE = "xinetd" | ||
6 | LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=8ad8615198542444f84d28a6cf226dd8" | ||
7 | |||
8 | DEPENDS = "" | ||
9 | PR ="r0" | ||
10 | |||
11 | SRC_URI = "http://www.xinetd.org/xinetd-${PV}.tar.gz \ | ||
12 | file://xinetd.init \ | ||
13 | file://xinetd.conf \ | ||
14 | file://Various-fixes-from-the-previous-maintainer.patch \ | ||
15 | file://Disable-services-from-inetd.conf-if-a-service-with-t.patch \ | ||
16 | file://xinetd-should-be-able-to-listen-on-IPv6-even-in-ine.patch \ | ||
17 | " | ||
18 | |||
19 | inherit autotools update-rc.d | ||
20 | |||
21 | INITSCRIPT_NAME = "xinetd" | ||
22 | INITSCRIPT_PARAMS = "defaults" | ||
23 | |||
24 | EXTRA_OECONF="--disable-nls" | ||
25 | |||
26 | do_configure() { | ||
27 | # Looks like configure.in is broken, so we are skipping | ||
28 | # rebuilding configure and are just using the shipped one | ||
29 | oe_runconf | ||
30 | } | ||
31 | |||
32 | INHIBIT_AUTO_STAGE = "1" | ||
33 | |||
34 | do_install() { | ||
35 | # Same here, the Makefile does some really stupid things, | ||
36 | # but since we only want two files why not override | ||
37 | # do_install from autotools and doing it ourselfs? | ||
38 | install -d "${D}/usr/sbin" | ||
39 | install -d "${D}/etc/init.d" | ||
40 | install -d "${D}/etc/xinetd.d" | ||
41 | install -m 644 "${WORKDIR}/xinetd.conf" "${D}/etc" | ||
42 | install -m 755 "${WORKDIR}/xinetd.init" "${D}/etc/init.d/xinetd" | ||
43 | install -m 755 "${S}/xinetd/xinetd" "${D}/usr/sbin" | ||
44 | install -m 755 "${S}/xinetd/itox" "${D}/usr/sbin" | ||
45 | } | ||
46 | |||
47 | CONFFILES_${PN} = "${sysconfdir}/xinetd.conf" | ||