summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-connectivity/samba/samba-4.1.12/19-systemd-daemon-is-contained-by-libsystemd.patch
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2015-11-15 16:18:39 +0100
committerMartin Jansa <Martin.Jansa@gmail.com>2015-11-16 21:50:10 +0100
commit0e525daafe2958504674a9910bbed7c1b4d3fd38 (patch)
treeab265ec69054c64bc7c16a7b7bb55610531d5039 /meta-oe/recipes-connectivity/samba/samba-4.1.12/19-systemd-daemon-is-contained-by-libsystemd.patch
parentdf552bed28c6ed983a94ebad4185bc9b2d04486f (diff)
downloadmeta-openembedded-0e525daafe2958504674a9910bbed7c1b4d3fd38.tar.gz
samba, ctdb, libldb, libtdb, libtevent, talloc: move to meta-networking
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-connectivity/samba/samba-4.1.12/19-systemd-daemon-is-contained-by-libsystemd.patch')
-rw-r--r--meta-oe/recipes-connectivity/samba/samba-4.1.12/19-systemd-daemon-is-contained-by-libsystemd.patch42
1 files changed, 0 insertions, 42 deletions
diff --git a/meta-oe/recipes-connectivity/samba/samba-4.1.12/19-systemd-daemon-is-contained-by-libsystemd.patch b/meta-oe/recipes-connectivity/samba/samba-4.1.12/19-systemd-daemon-is-contained-by-libsystemd.patch
deleted file mode 100644
index 8c4e2ad53..000000000
--- a/meta-oe/recipes-connectivity/samba/samba-4.1.12/19-systemd-daemon-is-contained-by-libsystemd.patch
+++ /dev/null
@@ -1,42 +0,0 @@
1systemd-daemon is contained by libsystemd, so we just need link libsystemd to
2obtain the implementation of systemd-daemon's function.
3
4Signed-off-by: Bian Naimeng <biannm@cn.fujitsu.com>
5
6diff -Nurp samba-4.1.12.orig/lib/util/wscript_build samba-4.1.12/lib/util/wscript_build
7--- samba-4.1.12.orig/lib/util/wscript_build 2014-09-08 18:26:14.000000000 +0900
8+++ samba-4.1.12/lib/util/wscript_build 2015-04-29 16:16:58.303000207 +0900
9@@ -10,7 +10,7 @@ bld.SAMBA_LIBRARY('samba-util',
10 server_id.c dprintf.c parmlist.c bitmap.c pidfile.c
11 tevent_debug.c util_process.c memcache.c''',
12 deps='DYNCONFIG',
13- public_deps='talloc tevent execinfo uid_wrapper pthread LIBCRYPTO charset util_setid systemd-daemon',
14+ public_deps='talloc tevent execinfo uid_wrapper pthread LIBCRYPTO charset util_setid systemd',
15 public_headers='debug.h attr.h byteorder.h data_blob.h memory.h safe_string.h time.h talloc_stack.h xfile.h dlinklist.h samba_util.h string_wrappers.h',
16 header_path= [ ('dlinklist.h samba_util.h', '.'), ('*', 'util') ],
17 local_include=False,
18diff -Nurp samba-4.1.12.orig/wscript samba-4.1.12/wscript
19--- samba-4.1.12.orig/wscript 2014-07-28 16:13:45.000000000 +0900
20+++ samba-4.1.12/wscript 2015-04-29 16:17:52.338000264 +0900
21@@ -183,16 +183,16 @@ def configure(conf):
22 conf.env['ENABLE_PIE'] = True
23
24 if Options.options.enable_systemd != False:
25- conf.check_cfg(package='libsystemd-daemon', args='--cflags --libs',
26- msg='Checking for libsystemd-daemon', uselib_store="SYSTEMD-DAEMON")
27- conf.CHECK_HEADERS('systemd/sd-daemon.h', lib='systemd-daemon')
28- conf.CHECK_LIB('systemd-daemon', shlib=True)
29+ conf.check_cfg(package='libsystemd', args='--cflags --libs',
30+ msg='Checking for libsystemd', uselib_store="SYSTEMD-DAEMON")
31+ conf.CHECK_HEADERS('systemd/sd-daemon.h', lib='systemd')
32+ conf.CHECK_LIB('systemd', shlib=True)
33
34 if conf.CONFIG_SET('HAVE_SYSTEMD_SD_DAEMON_H'):
35 conf.DEFINE('HAVE_SYSTEMD', '1')
36 conf.env['ENABLE_SYSTEMD'] = True
37 else:
38- conf.SET_TARGET_TYPE('systemd-daemon', 'EMPTY')
39+ conf.SET_TARGET_TYPE('systemd', 'EMPTY')
40 conf.undefine('HAVE_SYSTEMD')
41
42 conf.SAMBA_CONFIG_H('include/config.h')