diff options
author | Jackie Huang <jackie.huang@windriver.com> | 2016-08-15 13:45:12 +0800 |
---|---|---|
committer | Joe MacDonald <joe_macdonald@mentor.com> | 2016-08-16 21:26:12 -0400 |
commit | 174a083a3b3fcc870a42f4457820bb5adf0ac802 (patch) | |
tree | b01b3510667848282c50a3b8dcf63daf30d199bb /meta-networking/recipes-support/ctdb/ctdb_2.5.1.bb | |
parent | e37d93f2e5ef1cb5d8861d2542cd1fc6c685ff9a (diff) | |
download | meta-openembedded-174a083a3b3fcc870a42f4457820bb5adf0ac802.tar.gz |
ctdb: upgrade to 2.5.6
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
Diffstat (limited to 'meta-networking/recipes-support/ctdb/ctdb_2.5.1.bb')
-rw-r--r-- | meta-networking/recipes-support/ctdb/ctdb_2.5.1.bb | 54 |
1 files changed, 0 insertions, 54 deletions
diff --git a/meta-networking/recipes-support/ctdb/ctdb_2.5.1.bb b/meta-networking/recipes-support/ctdb/ctdb_2.5.1.bb deleted file mode 100644 index 5d757847a..000000000 --- a/meta-networking/recipes-support/ctdb/ctdb_2.5.1.bb +++ /dev/null | |||
@@ -1,54 +0,0 @@ | |||
1 | DESCRIPTION = "CTDB is a cluster implementation of the TDB database \ | ||
2 | used by Samba and other projects to store temporary data. If an \ | ||
3 | application is already using TDB for temporary data it is very easy \ | ||
4 | to convert that application to be cluster aware and use CTDB instead." | ||
5 | HOMEPAGE = "https://ctdb.samba.org/" | ||
6 | LICENSE = "GPL-2.0+ & LGPL-3.0+ & GPL-3.0+" | ||
7 | |||
8 | LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504 \ | ||
9 | file://${COREBASE}/meta/files/common-licenses/LGPL-3.0;md5=bfccfe952269fff2b407dd11f2f3083b \ | ||
10 | file://${COREBASE}/meta/files/common-licenses/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6 \ | ||
11 | " | ||
12 | |||
13 | SRC_URI = "https://ftp.samba.org/pub/${PN}/${BP}.tar.gz \ | ||
14 | file://01-support-cross-compile-for-linux-os.patch \ | ||
15 | file://02-link-rep_snprintf-for-ltdbtool.patch \ | ||
16 | file://service-ensure-the-PID-directory-is-created.patch \ | ||
17 | " | ||
18 | |||
19 | SRC_URI[md5sum] = "d0cd91726ff4ca2229e1b21859c94717" | ||
20 | SRC_URI[sha256sum] = "d5bf3f674cae986bb6178b1db215a703ac94adc5f75fadfdcff63dcbb5e98ab5" | ||
21 | |||
22 | inherit autotools-brokensep pkgconfig systemd | ||
23 | |||
24 | PACKAGECONFIG ??= "" | ||
25 | PACKAGECONFIG[libtdb] = "--without-included-tdb,--with-included-tdb,libtdb" | ||
26 | |||
27 | PARALLEL_MAKE = "" | ||
28 | |||
29 | DEPENDS += "popt libtevent libtalloc libldb" | ||
30 | |||
31 | # ctdbd_wrapper requires pgrep, hence procps | ||
32 | RDEPENDS_${PN} += "procps" | ||
33 | |||
34 | do_configure() { | ||
35 | oe_runconf | ||
36 | } | ||
37 | |||
38 | do_install_append() { | ||
39 | install -d ${D}${systemd_unitdir}/system | ||
40 | install -m 0644 ${S}/config/ctdb.service ${D}${systemd_unitdir}/system | ||
41 | sed -i -e 's,/usr/sbin/,${sbindir}/,' ${D}${systemd_unitdir}/system/ctdb.service | ||
42 | sed -i -e 's,\([=\ ]\)/run/,\1${localstatedir}/run/,' ${D}${systemd_unitdir}/system/ctdb.service | ||
43 | |||
44 | rm -r ${D}/${localstatedir}/run | ||
45 | } | ||
46 | |||
47 | # The systemd service is disabled by default, as the service will fail to | ||
48 | # start without /etc/ctdb/nodes. If the user supplies this, they can re-enable | ||
49 | # the service. | ||
50 | SYSTEMD_AUTO_ENABLE = "disable" | ||
51 | SYSTEMD_SERVICE_${PN} = "ctdb.service" | ||
52 | |||
53 | # onnode is a shell script with bashisms and bash #! | ||
54 | RDEPENDS_${PN} += "bash" | ||