summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/distcc/distcc_3.2.bb
diff options
context:
space:
mode:
authorHongxu Jia <hongxu.jia@windriver.com>2018-05-12 00:15:20 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-05-29 21:07:12 +0100
commit074b2e8c2f8cef4e75e0c36811655d71aad50c53 (patch)
tree945ce93797bf3898774354204f800b549c02c173 /meta/recipes-devtools/distcc/distcc_3.2.bb
parent1bd65698fc52f9596851ef9f9b8381ed3680ec35 (diff)
downloadpoky-074b2e8c2f8cef4e75e0c36811655d71aad50c53.tar.gz
distcc: update to 3.3
* update to version 3.3 * Remove 0001-zeroconf-Include-fcntl.h.patch since it's included in v3.3 * Add update-distcc-symlinks into FILES. (From OE-Core rev: dea59aab5d785d4f892cc26a8ea06eb4a6c554b3) Signed-off-by: Jackie Huang <jackie.huang@windriver.com> * Correct upstream SRC_URI and SRCREV to v3.3 * Correct default to fix starting distccd service failed It caused by upstream commit: https://github.com/distcc/distcc/commit/920e8b922addea8c54e68cc29c1416753f532f78 ... commit 920e8b922addea8c54e68cc29c1416753f532f78 Author: Shawn Landden <slandden@gmail.com> Date: Mon Feb 26 11:29:14 2018 -0800 daemon: warn when masquerade is not setup ... Add option --make-me-a-botnet to disable the warning. * Use localhost to replace 192.168.7.0/24 which is inappropriate for runqemu slirp. [YOCTO #12741] Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/distcc/distcc_3.2.bb')
-rw-r--r--meta/recipes-devtools/distcc/distcc_3.2.bb69
1 files changed, 0 insertions, 69 deletions
diff --git a/meta/recipes-devtools/distcc/distcc_3.2.bb b/meta/recipes-devtools/distcc/distcc_3.2.bb
deleted file mode 100644
index 66046480b9..0000000000
--- a/meta/recipes-devtools/distcc/distcc_3.2.bb
+++ /dev/null
@@ -1,69 +0,0 @@
1SUMMARY = "A parallel build system"
2DESCRIPTION = "distcc is a parallel build system that distributes \
3compilation of C/C++/ObjC code across machines on a network."
4SECTION = "devel"
5LICENSE = "GPLv2"
6LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
7
8DEPENDS = "avahi binutils"
9
10PACKAGECONFIG ??= "popt"
11PACKAGECONFIG[gtk] = "--with-gtk,--without-gtk --without-gnome,gtk+"
12# use system popt by default
13PACKAGECONFIG[popt] = "--without-included-popt,--with-included-popt,popt"
14
15RRECOMMENDS_${PN} = "avahi-daemon"
16
17SRC_URI = "git://github.com/akuster/distcc.git;branch=${PV} \
18 file://separatebuilddir.patch \
19 file://0001-zeroconf-Include-fcntl.h.patch \
20 file://default \
21 file://distccmon-gnome.desktop \
22 file://distcc \
23 file://distcc.service"
24SRCREV = "d8b18df3e9dcbe4f092bed565835d3975e99432c"
25S = "${WORKDIR}/git"
26
27inherit autotools pkgconfig update-rc.d useradd systemd
28
29EXTRA_OECONF += "--disable-Werror PYTHON='' --disable-pump-mode"
30
31USERADD_PACKAGES = "${PN}"
32USERADD_PARAM_${PN} = "--system \
33 --home /dev/null \
34 --no-create-home \
35 --gid nogroup \
36 distcc"
37
38INITSCRIPT_NAME = "distcc"
39
40SYSTEMD_PACKAGES = "${PN}"
41SYSTEMD_SERVICE_${PN} = "distcc.service"
42
43do_install() {
44 # Improve reproducibility: compress w/o timestamps
45 oe_runmake 'DESTDIR=${D}' "GZIP_BIN=gzip -n" install
46 install -d ${D}${sysconfdir}/init.d/
47 install -d ${D}${sysconfdir}/default
48 install -m 0755 ${WORKDIR}/distcc ${D}${sysconfdir}/init.d/
49 install -m 0755 ${WORKDIR}/default ${D}${sysconfdir}/default/distcc
50 install -d ${D}${systemd_unitdir}/system/
51 install -m 0644 ${WORKDIR}/distcc.service ${D}${systemd_unitdir}/system
52 sed -i -e 's,@BINDIR@,${bindir},g' ${D}${systemd_unitdir}/system/distcc.service
53 ${DESKTOPINSTALL}
54}
55DESKTOPINSTALL = ""
56DESKTOPINSTALL_libc-glibc () {
57 install -d ${D}${datadir}/distcc/
58 install -m 0644 ${WORKDIR}/distccmon-gnome.desktop ${D}${datadir}/distcc/
59}
60PACKAGES += "distcc-distmon-gnome"
61
62FILES_${PN} = " ${sysconfdir} \
63 ${bindir}/distcc \
64 ${bindir}/lsdistcc \
65 ${bindir}/distccd \
66 ${bindir}/distccmon-text \
67 ${systemd_unitdir}/system/distcc.service"
68FILES_distcc-distmon-gnome = " ${bindir}/distccmon-gnome \
69 ${datadir}/distcc"