add samba4 and required recipe
cover add samba4 and required recipe
Samba4 has already been supported by some distro such as Fedora, RHEL, Ubuntu, So maybe Yocot project should provide samba4 recipe.
Bian Naimeng (7):
wafsamba: add class
samba4: add samba4 recipe
ctdb: add new recipe
libldb: add new recipe
libtalloc: add new recipe
libtdb: add new recipe
libtevent: add new recipe
meta-oe/classes/wafsamba.bbclass | 55 + .../samba-4.1.12/00-fix-typos-in-man-pages.patch | 108 + .../samba-4.1.12/01-fix-force-user-sec-ads.patch | 1448 + .../samba/samba-4.1.12/02-fix-ipv6-join.patch | 266 + .../samba-4.1.12/03-net-ads-kerberos-pac.patch | 962 + .../samba/samba-4.1.12/04-ipv6-workaround.patch | 211 + .../05-fix-gecos-field-with-samlogon.patch | 29894 +++++++++++++++++++ .../06-fix-nmbd-systemd-status-update.patch | 97 + .../07-fix-idmap-ad-getgroups-without-gid.patch | 42 + .../08-fix-idmap-ad-sfu-with-trusted-domains.patch | 44 + .../09-fix-smbclient-echo-cmd-segfault.patch | 35 + ...improve-service-principal-guessing-in-net.patch | 180 + ...x-overwriting-of-spns-during-net-ads-join.patch | 329 + ...ted-spns-from-AD-during-keytab-generation.patch | 159 + .../samba/samba-4.1.12/13-fix-aes-enctype.patch | 988 + .../samba/samba-4.1.12/14-fix-dnsupdate.patch | 51 + .../15-fix-netbios-name-truncation.patch | 154 + .../16-do-not-check-xsltproc-manpages.patch | 52 + .../samba-4.1.12/17-execute-prog-by-qemu.patch | 22 + .../18-avoid-get-config-by-native-ncurses.patch | 22 + ...systemd-daemon-is-contained-by-libsystemd.patch | 42 + ...-do-not-import-target-module-in-configure.patch | 28 + meta-oe/recipes-connectivity/samba/samba_4.1.12.bb | 155 + .../01-support-cross-compile-for-linux-os.patch | 24 + .../ctdb/02-link-rep_snprintf-for-ltdbtool.patch | 16 + meta-oe/recipes-support/ctdb/ctdb_2.5.1.bb | 43 + .../do-not-import-target-module-in-configure.patch | 32 + meta-oe/recipes-support/libldb/libldb_1.1.17.bb | 45 + .../recipes-support/libtalloc/libtalloc_2.1.1.bb | 42 + .../libtdb/do-not-check-xsltproc-manpages.patch | 15 + meta-oe/recipes-support/libtdb/libtdb_1.3.0.bb | 30 + .../libtevent/do-not-check-xsltproc-manpages.patch | 16 + .../recipes-support/libtevent/libtevent_0.9.21.bb | 30 + 33 files changed, 35637 insertions(+) create mode 100644 meta-oe/classes/wafsamba.bbclass create mode 100644 meta-oe/recipes-connectivity/samba/samba-4.1.12/00-fix-typos-in-man-pages.patch create mode 100644 meta-oe/recipes-connectivity/samba/samba-4.1.12/01-fix-force-user-sec-ads.patch create mode 100644 meta-oe/recipes-connectivity/samba/samba-4.1.12/02-fix-ipv6-join.patch create mode 100644 meta-oe/recipes-connectivity/samba/samba-4.1.12/03-net-ads-kerberos-pac.patch create mode 100644 meta-oe/recipes-connectivity/samba/samba-4.1.12/04-ipv6-workaround.patch create mode 100644 meta-oe/recipes-connectivity/samba/samba-4.1.12/05-fix-gecos-field-with-samlogon.patch create mode 100644 meta-oe/recipes-connectivity/samba/samba-4.1.12/06-fix-nmbd-systemd-status-update.patch create mode 100644 meta-oe/recipes-connectivity/samba/samba-4.1.12/07-fix-idmap-ad-getgroups-without-gid.patch create mode 100644 meta-oe/recipes-connectivity/samba/samba-4.1.12/08-fix-idmap-ad-sfu-with-trusted-domains.patch create mode 100644 meta-oe/recipes-connectivity/samba/samba-4.1.12/09-fix-smbclient-echo-cmd-segfault.patch create mode 100644 meta-oe/recipes-connectivity/samba/samba-4.1.12/10-improve-service-principal-guessing-in-net.patch create mode 100644 meta-oe/recipes-connectivity/samba/samba-4.1.12/11-fix-overwriting-of-spns-during-net-ads-join.patch create mode 100644 meta-oe/recipes-connectivity/samba/samba-4.1.12/12-add-precreated-spns-from-AD-during-keytab-generation.patch create mode 100644 meta-oe/recipes-connectivity/samba/samba-4.1.12/13-fix-aes-enctype.patch create mode 100644 meta-oe/recipes-connectivity/samba/samba-4.1.12/14-fix-dnsupdate.patch create mode 100644 meta-oe/recipes-connectivity/samba/samba-4.1.12/15-fix-netbios-name-truncation.patch create mode 100644 meta-oe/recipes-connectivity/samba/samba-4.1.12/16-do-not-check-xsltproc-manpages.patch create mode 100644 meta-oe/recipes-connectivity/samba/samba-4.1.12/17-execute-prog-by-qemu.patch create mode 100644 meta-oe/recipes-connectivity/samba/samba-4.1.12/18-avoid-get-config-by-native-ncurses.patch create mode 100644 meta-oe/recipes-connectivity/samba/samba-4.1.12/19-systemd-daemon-is-contained-by-libsystemd.patch create mode 100644 meta-oe/recipes-connectivity/samba/samba-4.1.12/20-do-not-import-target-module-in-configure.patch create mode 100644 meta-oe/recipes-connectivity/samba/samba_4.1.12.bb create mode 100644 meta-oe/recipes-support/ctdb/ctdb/01-support-cross-compile-for-linux-os.patch create mode 100644 meta-oe/recipes-support/ctdb/ctdb/02-link-rep_snprintf-for-ltdbtool.patch create mode 100644 meta-oe/recipes-support/ctdb/ctdb_2.5.1.bb create mode 100644 meta-oe/recipes-support/libldb/libldb/do-not-import-target-module-in-configure.patch create mode 100644 meta-oe/recipes-support/libldb/libldb_1.1.17.bb create mode 100644 meta-oe/recipes-support/libtalloc/libtalloc_2.1.1.bb create mode 100644 meta-oe/recipes-support/libtdb/libtdb/do-not-check-xsltproc-manpages.patch create mode 100644 meta-oe/recipes-support/libtdb/libtdb_1.3.0.bb create mode 100644 meta-oe/recipes-support/libtevent/libtevent/do-not-check-xsltproc-manpages.patch create mode 100644 meta-oe/recipes-support/libtevent/libtevent_0.9.21.bb
Signature · 1 line
1.8.4.2
PATCH 1/7 wafsamba: add class
wafsamba is a build system used by samba related software
--- meta-oe/classes/wafsamba.bbclass | 55 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 meta-oe/classes/wafsamba.bbclass
meta-oe/classes/wafsamba.bbclass new file +55 -0
@@ -0,0 +1,55 @@ +# waf is a build system which is used by samba related project. +# Obtain details from https://wiki.samba.org/index.php/Waf +# +inherit qemu pythonnative + +DEPENDS += "qemu-native libxslt-native docbook-xsl-stylesheets-native python" + +CONFIGUREOPTS = " --prefix=${prefix} \ + --bindir=${bindir} \ + --sbindir=${sbindir} \ + --libexecdir=${libexecdir} \ + --datadir=${datadir} \ + --sysconfdir=${sysconfdir} \ + --sharedstatedir=${sharedstatedir} \ + --localstatedir=${localstatedir} \ + --libdir=${libdir} \ + --includedir=${includedir} \ + --oldincludedir=${oldincludedir} \ + --infodir=${infodir} \ + --mandir=${mandir} \ + " + +do_configure() { + qemu_binary="${@qemu_target_binary(d)}" + if [ ${qemu_binary} == "qemu-allarch" ]; then + qemu_binary="qemuwrapper" + fi + + libdir_qemu="${STAGING_DIR_HOST}/${libdir}" + base_libdir_qemu="${STAGING_DIR_HOST}/${base_libdir}" + oldest_kernel_qemu=${OLDEST_KERNEL} + + CROSS_EXEC="${qemu_binary} \ + -r ${oldest_kernel_qemu} \ + -L ${STAGING_DIR_HOST} \ + -E LD_LIBRARY_PATH=${libdir_qemu}:${base_libdir_qemu}" + + export BUILD_SYS=${BUILD_SYS} + export HOST_SYS=${HOST_SYS} + export BUILD_ARCH=${BUILD_ARCH} + export HOST_ARCH=${HOST_ARCH} + export STAGING_LIBDIR=${STAGING_LIBDIR} + export STAGING_INCDIR=${STAGING_INCDIR} + export PYTHONPATH=${STAGING_DIR_HOST}${PYTHON_SITEPACKAGES_DIR} + + ./configure ${CONFIGUREOPTS} ${EXTRA_OECONF} --cross-compile --cross-execute="${CROSS_EXEC}" +} + +do_compile () { + base_do_compile +} + +do_install() { + oe_runmake install DESTDIR=${D} +}
Signature · 1 line
1.8.4.2
Re: [meta-oe][PATCH 1/7] wafsamba: add class
Hi Bian,
meta-oe/classes/wafsamba.bbclass
Quoted 13 lines · On Monday 15 June 2015 16:52:10 Bian Naimeng wrote:
wafsamba is a build system used by samba related software
Signed-off-by Bian Naimeng <[email protected]>--- meta-oe/classes/wafsamba.bbclass | 55 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 meta-oe/classes/wafsamba.bbclass(quoted diff) +0
-0b/meta-oe/classes/wafsamba.bbclass new file mode 100644 index 0000000..764b530
meta-oe/classes/wafsamba.bbclass new file +0
-0
This should really be named waf-samba.bbclass. I'm also wondering how this relates to waf.bbclass that we have in OE-Core - they do look quite different though.
Quoted 43 lines
meta-oe/classes/wafsamba.bbclass new file +6
-0@@ -0,0 +1,55 @@ +# waf is a build system which is used by samba related project. +# Obtain details from https://wiki.samba.org/index.php/Waf +# +inherit qemu pythonnative + +DEPENDS += "qemu-native libxslt-native docbook-xsl-stylesheets-nativepython"
meta-oe/classes/wafsamba.bbclass new file +35
-0+ +CONFIGUREOPTS = " --prefix=${prefix} \ + --bindir=${bindir} \ + --sbindir=${sbindir} \ + --libexecdir=${libexecdir} \ + --datadir=${datadir} \ + --sysconfdir=${sysconfdir} \ + --sharedstatedir=${sharedstatedir} \ + --localstatedir=${localstatedir} \ + --libdir=${libdir} \ + --includedir=${includedir} \ + --oldincludedir=${oldincludedir} \ + --infodir=${infodir} \ + --mandir=${mandir} \ + " + +do_configure() { + qemu_binary="${@qemu_target_binary(d)}" + if [ ${qemu_binary} == "qemu-allarch" ]; then + qemu_binary="qemuwrapper" + fi + + libdir_qemu="${STAGING_DIR_HOST}/${libdir}" + base_libdir_qemu="${STAGING_DIR_HOST}/${base_libdir}" + oldest_kernel_qemu=${OLDEST_KERNEL} + + CROSS_EXEC="${qemu_binary} \ + -r ${oldest_kernel_qemu} \ + -L ${STAGING_DIR_HOST} \ + -E LD_LIBRARY_PATH=${libdir_qemu}:${base_libdir_qemu}" + + export BUILD_SYS=${BUILD_SYS} + export HOST_SYS=${HOST_SYS} + export BUILD_ARCH=${BUILD_ARCH} + export HOST_ARCH=${HOST_ARCH}
meta-oe/classes/wafsamba.bbclass line 51
Quoted 10 lines
meta-oe/classes/wafsamba.bbclass new file +9
-1+ export STAGING_LIBDIR=${STAGING_LIBDIR} + export STAGING_INCDIR=${STAGING_INCDIR} + export PYTHONPATH=${STAGING_DIR_HOST}${PYTHON_SITEPACKAGES_DIR} + + ./configure ${CONFIGUREOPTS} ${EXTRA_OECONF} --cross-compile --cross-execute="${CROSS_EXEC}" +} + +do_compile () { + base_do_compile +}
Is this do_compile really needed? AFAICT this isn't doing anything because base_do_compile will already be being run by way of EXPORT_FUNCTIONS.
Cheers,
Paul
Signature · 2 lines
Paul Eggleton Intel Open Source Technology Centre
Re: [meta-oe][PATCH 1/7] wafsamba: add class
Hi Paul
Thanks for your comments.
Quoted 19 lines
-----Original Message-----
From: Paul Eggleton [mailto:[email protected]]
Sent: Monday, June 15, 2015 8:53 PM
To: Bian, Naimeng/卞 乃猛
Cc: [email protected]
Subject: Re: [oe] [meta-oe][PATCH 1/7] wafsamba: add classHi Bian,
Quoted 9 lines · On Monday 15 June 2015 16:52:10 Bian Naimeng wrote:
wafsamba is a build system used by samba related software
Signed-off-by Bian Naimeng <[email protected]>--- meta-oe/classes/wafsamba.bbclass | 55 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 55 ++++++++++++++++++++++++++++++++++++++++ insertions(+) create mode 100644 meta-oe/classes/wafsamba.bbclass
Quoted 10 lines
meta-oe/classes/wafsamba.bbclass
Quoted 5 lines
(quoted diff) +0
-0b/meta-oe/classes/wafsamba.bbclass new file mode 100644 index 0000000..764b530
meta-oe/classes/wafsamba.bbclass new file +0
-0This should really be named waf-samba.bbclass. I'm also wondering how this relates to waf.bbclass that we have in OE-Core - they do look quite different though.
I will rename it to waf-samba.bbclass.
I don't know what's the relationship between waf.bbclass and waf-samba.bbclass clearly, waf.bbclass is a basic class for waf build system, but it does not work for samba4 directly.
I just create waf-samba.bbclass according to https://wiki.samba.org/index.php/Waf,
especially the section 'cross-compiling'.
Quoted 48 lines
Quoted 48 lines
meta-oe/classes/wafsamba.bbclass new file +6
-0@@ -0,0 +1,55 @@ +# waf is a build system which is used by samba related project. +# Obtain details from https://wiki.samba.org/index.php/Waf +# +inherit qemu pythonnative + +DEPENDS += "qemu-native libxslt-native docbook-xsl-stylesheets-nativepython"
meta-oe/classes/wafsamba.bbclass new file +40
-0+ +CONFIGUREOPTS = " --prefix=${prefix} \ + --bindir=${bindir} \ + --sbindir=${sbindir} \ + --libexecdir=${libexecdir} \ + --datadir=${datadir} \ + --sysconfdir=${sysconfdir} \ + --sharedstatedir=${sharedstatedir} \ + --localstatedir=${localstatedir} \ + --libdir=${libdir} \ + --includedir=${includedir} \ + --oldincludedir=${oldincludedir} \ + --infodir=${infodir} \ + --mandir=${mandir} \ + " + +do_configure() { + qemu_binary="${@qemu_target_binary(d)}" + if [ ${qemu_binary} == "qemu-allarch" ]; then + qemu_binary="qemuwrapper" + fi + + libdir_qemu="${STAGING_DIR_HOST}/${libdir}" + base_libdir_qemu="${STAGING_DIR_HOST}/${base_libdir}" + oldest_kernel_qemu=${OLDEST_KERNEL} + + CROSS_EXEC="${qemu_binary} \ + -r ${oldest_kernel_qemu} \ + -L ${STAGING_DIR_HOST} \ + -E LD_LIBRARY_PATH=${libdir_qemu}:${base_libdir_qemu}" + + export BUILD_SYS=${BUILD_SYS} + export HOST_SYS=${HOST_SYS} + export BUILD_ARCH=${BUILD_ARCH} + export HOST_ARCH=${HOST_ARCH} + export STAGING_LIBDIR=${STAGING_LIBDIR} + export STAGING_INCDIR=${STAGING_INCDIR} + export PYTHONPATH=${STAGING_DIR_HOST}${PYTHON_SITEPACKAGES_DIR} + + ./configure ${CONFIGUREOPTS} ${EXTRA_OECONF} --cross-compile
Quoted 9 lines
meta-oe/classes/wafsamba.bbclass line 51
Quoted 5 lines
--cross-execute="${CROSS_EXEC}" +}
meta-oe/classes/wafsamba.bbclass new file +4
-0+ +do_compile () { + base_do_compile +}Is this
do_compilereally needed? AFAICT this isn't doing anything becausebase_do_compilewill already be being run by way ofEXPORT_FUNCTIONS.
Yes, it's right, I will remove it in the V2 patch.
Thanks
Bian
Quoted 7 lines
Cheers,
Paul--
Paul Eggleton
Intel Open Source Technology Centre
PATCH 2/7 samba4: add samba4 recipe
In reply to Bian Naimeng--- .../samba-4.1.12/00-fix-typos-in-man-pages.patch | 108 + .../samba-4.1.12/01-fix-force-user-sec-ads.patch | 1448 + .../samba/samba-4.1.12/02-fix-ipv6-join.patch | 266 + .../samba-4.1.12/03-net-ads-kerberos-pac.patch | 962 + .../samba/samba-4.1.12/04-ipv6-workaround.patch | 211 + .../05-fix-gecos-field-with-samlogon.patch | 29894 +++++++++++++++++++ .../06-fix-nmbd-systemd-status-update.patch | 97 + .../07-fix-idmap-ad-getgroups-without-gid.patch | 42 + .../08-fix-idmap-ad-sfu-with-trusted-domains.patch | 44 + .../09-fix-smbclient-echo-cmd-segfault.patch | 35 + ...improve-service-principal-guessing-in-net.patch | 180 + ...x-overwriting-of-spns-during-net-ads-join.patch | 329 + ...ted-spns-from-AD-during-keytab-generation.patch | 159 + .../samba/samba-4.1.12/13-fix-aes-enctype.patch | 988 + .../samba/samba-4.1.12/14-fix-dnsupdate.patch | 51 + .../15-fix-netbios-name-truncation.patch | 154 + .../16-do-not-check-xsltproc-manpages.patch | 52 + .../samba-4.1.12/17-execute-prog-by-qemu.patch | 22 + .../18-avoid-get-config-by-native-ncurses.patch | 22 + ...systemd-daemon-is-contained-by-libsystemd.patch | 42 + ...-do-not-import-target-module-in-configure.patch | 28 + meta-oe/recipes-connectivity/samba/samba_4.1.12.bb | 155 + 22 files changed, 35289 insertions(+) create mode 100644 meta-oe/recipes-connectivity/samba/samba-4.1.12/00-fix-typos-in-man-pages.patch create mode 100644 meta-oe/recipes-connectivity/samba/samba-4.1.12/01-fix-force-user-sec-ads.patch create mode 100644 meta-oe/recipes-connectivity/samba/samba-4.1.12/02-fix-ipv6-join.patch create mode 100644 meta-oe/recipes-connectivity/samba/samba-4.1.12/03-net-ads-kerberos-pac.patch create mode 100644 meta-oe/recipes-connectivity/samba/samba-4.1.12/04-ipv6-workaround.patch create mode 100644 meta-oe/recipes-connectivity/samba/samba-4.1.12/05-fix-gecos-field-with-samlogon.patch create mode 100644 meta-oe/recipes-connectivity/samba/samba-4.1.12/06-fix-nmbd-systemd-status-update.patch create mode 100644 meta-oe/recipes-connectivity/samba/samba-4.1.12/07-fix-idmap-ad-getgroups-without-gid.patch create mode 100644 meta-oe/recipes-connectivity/samba/samba-4.1.12/08-fix-idmap-ad-sfu-with-trusted-domains.patch create mode 100644 meta-oe/recipes-connectivity/samba/samba-4.1.12/09-fix-smbclient-echo-cmd-segfault.patch create mode 100644 meta-oe/recipes-connectivity/samba/samba-4.1.12/10-improve-service-principal-guessing-in-net.patch create mode 100644 meta-oe/recipes-connectivity/samba/samba-4.1.12/11-fix-overwriting-of-spns-during-net-ads-join.patch create mode 100644 meta-oe/recipes-connectivity/samba/samba-4.1.12/12-add-precreated-spns-from-AD-during-keytab-generation.patch create mode 100644 meta-oe/recipes-connectivity/samba/samba-4.1.12/13-fix-aes-enctype.patch create mode 100644 meta-oe/recipes-connectivity/samba/samba-4.1.12/14-fix-dnsupdate.patch create mode 100644 meta-oe/recipes-connectivity/samba/samba-4.1.12/15-fix-netbios-name-truncation.patch create mode 100644 meta-oe/recipes-connectivity/samba/samba-4.1.12/16-do-not-check-xsltproc-manpages.patch create mode 100644 meta-oe/recipes-connectivity/samba/samba-4.1.12/17-execute-prog-by-qemu.patch create mode 100644 meta-oe/recipes-connectivity/samba/samba-4.1.12/18-avoid-get-config-by-native-ncurses.patch create mode 100644 meta-oe/recipes-connectivity/samba/samba-4.1.12/19-systemd-daemon-is-contained-by-libsystemd.patch create mode 100644 meta-oe/recipes-connectivity/samba/samba-4.1.12/20-do-not-import-target-module-in-configure.patch create mode 100644 meta-oe/recipes-connectivity/samba/samba_4.1.12.bb
meta-oe/recipes-connectivity/samba/samba-4.1.12/00-fix-typos-in-man-pages.patch new file +108 -0
@@ -0,0 +1,108 @@ +From 1573638212a9733a44939a4d38a226f38dca36f1 Mon Sep 17 00:00:00 2001 +From: Michele Baldessari <[email protected]> +Date: Tue, 9 Jul 2013 23:23:33 +0200 +Subject: [PATCH] Fix typos in man-pages + +Fix some typos in the man-pages. + +Signed-off-by: Michele Baldessari <[email protected]> +Reviewed-by: Simo Sorce <[email protected]> + +Autobuild-User(master): Simo Sorce <[email protected]> +Autobuild-Date(master): Wed Jul 10 16:45:07 CEST 2013 on sn-devel-104 +--- + docs-xml/manpages/dbwrap_tool.1.xml | 2 +- + docs-xml/manpages/idmap_autorid.8.xml | 2 +- + docs-xml/manpages/net.8.xml | 2 +- + docs-xml/manpages/pdbedit.8.xml | 2 +- + docs-xml/manpages/samba.7.xml | 2 +- + docs-xml/manpages/smbclient.1.xml | 2 +- + docs-xml/manpages/smbpasswd.5.xml | 2 +- + docs-xml/manpages/vfs_smb_traffic_analyzer.8.xml | 2 +- + 8 files changed, 8 insertions(+), 8 deletions(-) + +Index: samba-4.1.11/docs-xml/manpages/smbstatus.1.xml +=================================================================== +--- samba-4.1.11.orig/docs-xml/manpages/smbstatus.1.xml ++++ samba-4.1.11/docs-xml/manpages/smbstatus.1.xml +@@ -137,6 +137,13 @@ + </listitem> + </varlistentry> + ++ <varlistentry> ++ <term>-n|--numeric</term> ++ <listitem><para>causes smbstatus to display numeric UIDs and GIDs instead of ++ resolving them to names.</para> ++ </listitem> ++ </varlistentry> ++ + </variablelist> + </refsect1> + +Index: samba-4.1.11/docs-xml/manpages/sharesec.1.xml +=================================================================== +--- samba-4.1.11.orig/docs-xml/manpages/sharesec.1.xml ++++ samba-4.1.11/docs-xml/manpages/sharesec.1.xml +@@ -129,6 +129,13 @@ + </para></listitem> + </varlistentry> + ++ <varlistentry> ++ <term>-S|--setsddl=STRING</term> ++ <listitem><para> ++ Set security descriptor by providing ACL in SDDL format. ++ </para></listitem> ++ </varlistentry> ++ + &stdarg.help; + &stdarg.server.debug; + &popt.common.samba; +Index: samba-4.1.11/docs-xml/build/DTD/samba.entities +=================================================================== +--- samba-4.1.11.orig/docs-xml/build/DTD/samba.entities ++++ samba-4.1.11/docs-xml/build/DTD/samba.entities +@@ -270,6 +270,44 @@ file. + &popt.common.samba; + '> + ++<!ENTITY stdarg.signing ' ++<varlistentry> ++<term>-S|--signing on|off|required</term> ++<listitem><para>Set the client signing state. ++</para></listitem> ++</varlistentry> ++'> ++ ++<!ENTITY stdarg.machinepass ' ++<varlistentry> ++<term>-P|--machine-pass</term> ++<listitem><para>Use stored machine account password. ++</para></listitem> ++</varlistentry> ++'> ++ ++<!ENTITY stdarg.encrypt ' ++<varlistentry> ++<term>-e|--encrypt</term> ++<listitem><para> ++This command line parameter requires the remote ++server support the UNIX extensions or that the SMB3 protocol has been selected. ++Requests that the connection be encrypted. Negotiates SMB encryption using either ++SMB3 or POSIX extensions via GSSAPI. Uses the given credentials for ++the encryption negotiation (either kerberos or NTLMv1/v2 if given ++domain/username/password triple. Fails the connection if encryption ++cannot be negotiated. ++</para></listitem> ++</varlistentry> ++'> ++ ++<!ENTITY stdarg.pwnthash ' ++<varlistentry> ++<term>--pw-nt-hash</term> ++<listitem><para>The supplied password is the NT hash. ++</para></listitem> ++</varlistentry> ++'> + + <!ENTITY stdarg.resolve.order ' + <varlistentry>
meta-oe/recipes-connectivity/samba/samba-4.1.12/01-fix-force-user-sec-ads.patch new file +1448 -0
1,448 lines not on this page · raw message
meta-oe/recipes-connectivity/samba/samba-4.1.12/02-fix-ipv6-join.patch new file +266 -0
266 lines not on this page · raw message
meta-oe/recipes-connectivity/samba/samba-4.1.12/03-net-ads-kerberos-pac.patch new file +962 -0
962 lines not on this page · raw message
meta-oe/recipes-connectivity/samba/samba-4.1.12/04-ipv6-workaround.patch new file +211 -0
211 lines not on this page · raw message
meta-oe/recipes-connectivity/samba/samba-4.1.12/05-fix-gecos-field-with-samlogon.patch new file +29894 -0
5 lines not on this page · raw message
meta-oe/recipes-connectivity/samba/samba-4.1.12/06-fix-nmbd-systemd-status-update.patch new file +97 -0
97 lines not on this page · raw message
meta-oe/recipes-connectivity/samba/samba-4.1.12/07-fix-idmap-ad-getgroups-without-gid.patch new file +42 -0
42 lines not on this page · raw message
meta-oe/recipes-connectivity/samba/samba-4.1.12/08-fix-idmap-ad-sfu-with-trusted-domains.patch new file +44 -0
44 lines not on this page · raw message
meta-oe/recipes-connectivity/samba/samba-4.1.12/09-fix-smbclient-echo-cmd-segfault.patch new file +35 -0
Lines of this file are not shown. View the raw message.
meta-oe/recipes-connectivity/samba/samba-4.1.12/10-improve-service-principal-guessing-in-net.patch new file +180 -0
180 lines not on this page · raw message
meta-oe/recipes-connectivity/samba/samba-4.1.12/11-fix-overwriting-of-spns-during-net-ads-join.patch new file +329 -0
329 lines not on this page · raw message
meta-oe/recipes-connectivity/samba/samba-4.1.12/12-add-precreated-spns-from-AD-during-keytab-generation.patch new file +159 -0
159 lines not on this page · raw message
meta-oe/recipes-connectivity/samba/samba-4.1.12/13-fix-aes-enctype.patch new file +988 -0
988 lines not on this page · raw message
meta-oe/recipes-connectivity/samba/samba-4.1.12/14-fix-dnsupdate.patch new file +51 -0
51 lines not on this page · raw message
meta-oe/recipes-connectivity/samba/samba-4.1.12/15-fix-netbios-name-truncation.patch new file +154 -0
154 lines not on this page · raw message
meta-oe/recipes-connectivity/samba/samba-4.1.12/16-do-not-check-xsltproc-manpages.patch new file +52 -0
52 lines not on this page · raw message
meta-oe/recipes-connectivity/samba/samba-4.1.12/17-execute-prog-by-qemu.patch new file +22 -0
Lines of this file are not shown. View the raw message.
meta-oe/recipes-connectivity/samba/samba-4.1.12/18-avoid-get-config-by-native-ncurses.patch new file +22 -0
Lines of this file are not shown. View the raw message.
meta-oe/recipes-connectivity/samba/samba-4.1.12/19-systemd-daemon-is-contained-by-libsystemd.patch new file +42 -0
42 lines not on this page · raw message
meta-oe/recipes-connectivity/samba/samba-4.1.12/20-do-not-import-target-module-in-configure.patch new file +28 -0
Lines of this file are not shown. View the raw message.
meta-oe/recipes-connectivity/samba/samba_4.1.12.bb new file +155 -0
155 lines not on this page · raw message
The rest of this diff is not shown. View the raw message.
Signature · 1 line
1.8.4.2
Part of the diff is not shown here. View the raw message.
PATCH 3/7 ctdb: add new recipe
In reply to Bian Naimengctdb is required by samba4
--- .../01-support-cross-compile-for-linux-os.patch | 24 ++++++++++++ .../ctdb/02-link-rep_snprintf-for-ltdbtool.patch | 16 ++++++++ meta-oe/recipes-support/ctdb/ctdb_2.5.1.bb | 43 ++++++++++++++++++++++ 3 files changed, 83 insertions(+) create mode 100644 meta-oe/recipes-support/ctdb/ctdb/01-support-cross-compile-for-linux-os.patch create mode 100644 meta-oe/recipes-support/ctdb/ctdb/02-link-rep_snprintf-for-ltdbtool.patch create mode 100644 meta-oe/recipes-support/ctdb/ctdb_2.5.1.bb
meta-oe/recipes-support/ctdb/ctdb/01-support-cross-compile-for-linux-os.patch new file +24 -0
@@ -0,0 +1,24 @@ +support cross-compile for linux-os. + +Signed-off-by: Bian Naimeng <[email protected]> + +diff -Nurp ctdb-2.5.1.orig/configure ctdb-2.5.1/configure +--- ctdb-2.5.1.orig/configure 2015-05-07 16:24:28.545000238 +0900 ++++ ctdb-2.5.1/configure 2015-05-07 16:28:20.894000244 +0900 +@@ -10692,10 +10692,16 @@ if test x"$libreplace_cv_HAVE_GETADDRINF + # see bug 5910, use our replacements if we detect + # a broken system. + if test "$cross_compiling" = yes; then : ++ case "$target_os" in ++ *linux*) ++ ;; ++ *) + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 + $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} + as_fn_error $? "cannot run test program while cross compiling + See \`config.log' for more details" "$LINENO" 5; } ++ ;; ++ esac + else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */
meta-oe/recipes-support/ctdb/ctdb/02-link-rep_snprintf-for-ltdbtool.patch new file +16 -0
@@ -0,0 +1,16 @@ +link rep_snprintf from lib/replace/snprintf.o for ltdbtool + +Signed-off-by: Bian Naimeng <[email protected]> + +diff -Nurp ctdb-2.5.1.orig/Makefile.in ctdb-2.5.1/Makefile.in +--- ctdb-2.5.1.orig/Makefile.in 2015-05-07 16:43:39.276000236 +0900 ++++ ctdb-2.5.1/Makefile.in 2015-05-07 16:44:09.627000237 +0900 +@@ -170,7 +170,7 @@ bin/ctdb: $(CTDB_CLIENT_OBJ) tools/ctdb. + @echo Linking $@ + $(WRAPPER) $(CC) $(CFLAGS) -o $@ tools/ctdb.o tools/ctdb_vacuum.o $(CTDB_CLIENT_OBJ) $(LIB_FLAGS) + +-bin/ltdbtool: tools/ltdbtool.o $(TDB_OBJ) ++bin/ltdbtool: tools/ltdbtool.o $(TDB_OBJ) lib/replace/snprintf.o + @echo Linking $@ + $(WRAPPER) $(CC) $(CFLAGS) -o $@ $+ $(TDB_LIBS) $(LIB_FLAGS) +
meta-oe/recipes-support/ctdb/ctdb_2.5.1.bb new file +43 -0
43 lines not on this page · raw message
Signature · 1 line
1.8.4.2
Re: [meta-oe][PATCH 3/7] ctdb: add new recipe
Quoted 1 line · Bian Naimeng
ctdb is required by samba4
it causes new QA warning, please fix it:
ctdb-2.5.1: /usr/bin/onnode_ctdb contained in package ctdb requires /bin/bash, but no providers found in its RDEPENDS [file-rdeps]
ideally by removing bashisms and changing shebang
Quoted 119 lines
Signed-off-by Bian Naimeng <[email protected]>--- .../01-support-cross-compile-for-linux-os.patch | 24 ++++++++++++ .../ctdb/02-link-rep_snprintf-for-ltdbtool.patch | 16 ++++++++ meta-oe/recipes-support/ctdb/ctdb_2.5.1.bb | 43 ++++++++++++++++++++++ 3 files changed, 83 insertions(+) create mode 100644 meta-oe/recipes-support/ctdb/ctdb/01-support-cross-compile-for-linux-os.patch create mode 100644 meta-oe/recipes-support/ctdb/ctdb/02-link-rep_snprintf-for-ltdbtool.patch create mode 100644 meta-oe/recipes-support/ctdb/ctdb_2.5.1.bbmeta-oe/recipes-support/ctdb/ctdb/01-support-cross-compile-for-linux-os.patch new file +24
-0@@ -0,0 +1,24 @@ +support cross-compile for linux-os. + +Signed-off-by: Bian Naimeng <[email protected]> + +diff -Nurp ctdb-2.5.1.orig/configure ctdb-2.5.1/configure +--- ctdb-2.5.1.orig/configure 2015-05-07 16:24:28.545000238 +0900 ++++ ctdb-2.5.1/configure 2015-05-07 16:28:20.894000244 +0900 +@@ -10692,10 +10692,16 @@ if test x"$libreplace_cv_HAVE_GETADDRINF + # see bug 5910, use our replacements if we detect + # a broken system. + if test "$cross_compiling" = yes; then : ++ case "$target_os" in ++ *linux*) ++ ;; ++ *) + { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 + $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} + as_fn_error $? "cannot run test program while cross compiling + See \`config.log' for more details" "$LINENO" 5; } ++ ;; ++ esac + else + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */meta-oe/recipes-support/ctdb/ctdb/02-link-rep_snprintf-for-ltdbtool.patch new file +16
-0@@ -0,0 +1,16 @@ +link rep_snprintf from lib/replace/snprintf.o for ltdbtool + +Signed-off-by: Bian Naimeng <[email protected]> + +diff -Nurp ctdb-2.5.1.orig/Makefile.in ctdb-2.5.1/Makefile.in +--- ctdb-2.5.1.orig/Makefile.in 2015-05-07 16:43:39.276000236 +0900 ++++ ctdb-2.5.1/Makefile.in 2015-05-07 16:44:09.627000237 +0900 +@@ -170,7 +170,7 @@ bin/ctdb: $(CTDB_CLIENT_OBJ) tools/ctdb. + @echo Linking $@ + $(WRAPPER) $(CC) $(CFLAGS) -o $@ tools/ctdb.o tools/ctdb_vacuum.o $(CTDB_CLIENT_OBJ) $(LIB_FLAGS) + +-bin/ltdbtool: tools/ltdbtool.o $(TDB_OBJ) ++bin/ltdbtool: tools/ltdbtool.o $(TDB_OBJ) lib/replace/snprintf.o + @echo Linking $@ + $(WRAPPER) $(CC) $(CFLAGS) -o $@ $+ $(TDB_LIBS) $(LIB_FLAGS) +meta-oe/recipes-support/ctdb/ctdb_2.5.1.bb new file +43
-0@@ -0,0 +1,43 @@ +DESCRIPTION = "CTDB is a cluster implementation of the TDB database \ +used by Samba and other projects to store temporary data. If an \ +application is already using TDB for temporary data it is very easy \ +to convert that application to be cluster aware and use CTDB instead." +DESCRIPTION = "CTDB is a cluster implementation of the TDB database \ +used by Samba and other projects to store temporary data. If an \ +application is already using TDB for temporary data it is very easy \ +to convert that application to be cluster aware and use CTDB instead." +HOMEPAGE = "https://ctdb.samba.org/" +LICENSE = "GPL-2.0+ & LGPL-3.0+ & GPL-3.0+" + +LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504 \ + file://${COREBASE}/meta/files/common-licenses/LGPL-3.0;md5=bfccfe952269fff2b407dd11f2f3083b \ + file://${COREBASE}/meta/files/common-licenses/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6 \ + " + +SRC_URI = "https://ftp.samba.org/pub/${PN}/${BP}.tar.gz \ + file://01-support-cross-compile-for-linux-os.patch \ + file://02-link-rep_snprintf-for-ltdbtool.patch \ + " + +SRC_URI[md5sum] = "d0cd91726ff4ca2229e1b21859c94717" +SRC_URI[sha256sum] = "d5bf3f674cae986bb6178b1db215a703ac94adc5f75fadfdcff63dcbb5e98ab5" + +inherit autotools-brokensep pkgconfig systemd + +PARALLEL_MAKE = "" + +DEPENDS += "popt libtevent libtalloc" + +do_configure() { + oe_runconf +} + +do_install_append() { + install -d ${D}${systemd_unitdir}/system + install -m 0644 ${S}/config/ctdb.service ${D}${systemd_unitdir}/system + sed -i -e 's,/usr/sbin/,${sbindir}/,' ${D}${systemd_unitdir}/system/ctdb.service +} + +SYSTEMD_SERVICE_${PN} = "ctdb.service" + +FILES_${PN} += "/run"Signature · 7 lines
1.8.4.2 -- _______________________________________________ Openembedded-devel mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Signature · 1 line
Martin 'JaMa' Jansa jabber: [email protected]
PATCH 4/7 libldb: add new recipe
In reply to Bian Naimenglibldb is required by samba4
--- .../do-not-import-target-module-in-configure.patch | 32 +++++++++++++++ meta-oe/recipes-support/libldb/libldb_1.1.17.bb | 45 ++++++++++++++++++++++ 2 files changed, 77 insertions(+) create mode 100644 meta-oe/recipes-support/libldb/libldb/do-not-import-target-module-in-configure.patch create mode 100644 meta-oe/recipes-support/libldb/libldb_1.1.17.bb
meta-oe/recipes-support/libldb/libldb/do-not-import-target-module-in-configure.patch new file +32 -0
@@ -0,0 +1,32 @@ +Some module can be loaded while cross compile, we jst check whether the module exist + +Signed-off-by: Bian Naimeng <[email protected]> + +--- ldb-1.1.17.orig/buildtools/wafsamba/samba_bundled.py 2014-05-05 17:00:41.000000000 +0900 ++++ ldb-1.1.17/buildtools/wafsamba/samba_bundled.py 2015-06-15 10:09:50.210000217 +0900 +@@ -1,7 +1,7 @@ + # functions to support bundled libraries + + from Configure import conf +-import sys, Logs ++import sys, Logs, imp + from samba_utils import * + + def PRIVATE_NAME(bld, name, private_extension, private_library): +@@ -222,6 +222,16 @@ def CHECK_BUNDLED_SYSTEM_PYTHON(conf, li + m = __import__(modulename) + except ImportError: + found = False ++ ++ build_arch = os.environ["BUILD_ARCH"] ++ host_arch = os.environ["HOST_ARCH"] ++ if build_arch != host_arch: ++ # Some modules maybe can not be imported while cross compile ++ # We just check whether the module exist ++ stuff = imp.find_module(modulename, [os.environ["PYTHONPATH"]]) ++ if stuff != None: ++ Logs.warn('Cross module[%s] has been found, but can not be loaded.' % (stuff[1])) ++ found = True + else: + try: + version = m.__version__
meta-oe/recipes-support/libldb/libldb_1.1.17.bb new file +45 -0
45 lines not on this page · raw message
Signature · 1 line
1.8.4.2
PATCH 5/7 libtalloc: add new recipe
In reply to Bian Naimenglibtalloc >= 2.0.8 is required by samba4
--- .../recipes-support/libtalloc/libtalloc_2.1.1.bb | 42 ++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 meta-oe/recipes-support/libtalloc/libtalloc_2.1.1.bb
meta-oe/recipes-support/libtalloc/libtalloc_2.1.1.bb new file +42 -0
@@ -0,0 +1,42 @@ +SUMMARY = "Hierarchical, reference counted memory pool system with destructors" +HOMEPAGE = "http://talloc.samba.org" +SECTION = "libs" +LICENSE = "LGPL-3.0+ & GPL-3.0+" + +SRC_URI = "http://samba.org/ftp/talloc/talloc-${PV}.tar.gz" +LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/LGPL-3.0;md5=bfccfe952269fff2b407dd11f2f3083b \ + file://${COREBASE}/meta/files/common-licenses/GPL-3.0;md5=c79ff39f19dfec6d293b95dea7b07891" + +SRC_URI[md5sum] = "5dffb86414218a91864ed4453ba9be07" +SRC_URI[sha256sum] = "3e29ce6c3ba3c4f7c2d57ce8cf0fbc24c86618c519f2b2fb6a459025488b6174" + +inherit wafsamba + +S = "${WORKDIR}/talloc-${PV}" + +EXTRA_OECONF += "--disable-rpath \ + --disable-rpath-install \ + --bundled-libraries=NONE \ + --builtin-libraries=replace \ + --disable-silent-rules \ + --with-libiconv=${STAGING_DIR_HOST}${prefix}\ + " + +PACKAGES += "pytalloc pytalloc-dbg pytalloc-dev" + +FILE_${PN} = "${libdir}/libtalloc.so.2 \ + ${libdir}/libtalloc.so.2.1.1" +FILES_${PN}-dbg = "/usr/src/debug/ \ + ${libdir}/.debug/libtalloc.so.2.1.1" +FILES_${PN}-dev = "${includedir}/ \ + ${libdir}/libtalloc.so \ + ${libdir}/pkgconfig/" + +FILES_pytalloc = "${libdir}/python${PYTHON_BASEVERSION}/site-packages/* \ + ${libdir}/libpytalloc-util.so.2 \ + ${libdir}/libpytalloc-util.so.2.1.1 \ + " +FILES_pytalloc-dbg = "${libdir}/python${PYTHON_BASEVERSION}/site-packages/.debug \ + ${libdir}/.debug/libpytalloc-util.so.2.1.1" +FILES_pytalloc-dev = "${libdir}/libpytalloc-util.so" +RDEPENDS_pytalloc = "python"
Signature · 1 line
1.8.4.2
Re: [meta-oe][PATCH 5/7] libtalloc: add new recipe
Quoted 1 line · Bian Naimeng
libtalloc >= 2.0.8 is required by samba4
We already have
./meta-oe/recipes-support/talloc/talloc_2.0.1.bb
so you should just upgrade it.
Quoted 63 lines
Signed-off-by Bian Naimeng <[email protected]>--- .../recipes-support/libtalloc/libtalloc_2.1.1.bb | 42 ++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 meta-oe/recipes-support/libtalloc/libtalloc_2.1.1.bbmeta-oe/recipes-support/libtalloc/libtalloc_2.1.1.bb new file +42
-0@@ -0,0 +1,42 @@ +SUMMARY = "Hierarchical, reference counted memory pool system with destructors" +HOMEPAGE = "http://talloc.samba.org" +SECTION = "libs" +LICENSE = "LGPL-3.0+ & GPL-3.0+" + +SRC_URI = "http://samba.org/ftp/talloc/talloc-${PV}.tar.gz" +LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/LGPL-3.0;md5=bfccfe952269fff2b407dd11f2f3083b \ + file://${COREBASE}/meta/files/common-licenses/GPL-3.0;md5=c79ff39f19dfec6d293b95dea7b07891" + +SRC_URI[md5sum] = "5dffb86414218a91864ed4453ba9be07" +SRC_URI[sha256sum] = "3e29ce6c3ba3c4f7c2d57ce8cf0fbc24c86618c519f2b2fb6a459025488b6174" + +inherit wafsamba + +S = "${WORKDIR}/talloc-${PV}" + +EXTRA_OECONF += "--disable-rpath \ + --disable-rpath-install \ + --bundled-libraries=NONE \ + --builtin-libraries=replace \ + --disable-silent-rules \ + --with-libiconv=${STAGING_DIR_HOST}${prefix}\ + " + +PACKAGES += "pytalloc pytalloc-dbg pytalloc-dev" + +FILE_${PN} = "${libdir}/libtalloc.so.2 \ + ${libdir}/libtalloc.so.2.1.1" +FILES_${PN}-dbg = "/usr/src/debug/ \ + ${libdir}/.debug/libtalloc.so.2.1.1" +FILES_${PN}-dev = "${includedir}/ \ + ${libdir}/libtalloc.so \ + ${libdir}/pkgconfig/" + +FILES_pytalloc = "${libdir}/python${PYTHON_BASEVERSION}/site-packages/* \ + ${libdir}/libpytalloc-util.so.2 \ + ${libdir}/libpytalloc-util.so.2.1.1 \ + " +FILES_pytalloc-dbg = "${libdir}/python${PYTHON_BASEVERSION}/site-packages/.debug \ + ${libdir}/.debug/libpytalloc-util.so.2.1.1" +FILES_pytalloc-dev = "${libdir}/libpytalloc-util.so" +RDEPENDS_pytalloc = "python"Signature · 7 lines
1.8.4.2 -- _______________________________________________ Openembedded-devel mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Signature · 1 line
Martin 'JaMa' Jansa jabber: [email protected]
Re: [meta-oe][PATCH 5/7] libtalloc: add new recipe
Quoted 8 lines
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Martin Jansa
Sent: Monday, June 15, 2015 8:19 PM
To: [email protected]
Subject: Re: [oe] [meta-oe][PATCH 5/7] libtalloc: add new recipe
Quoted 7 lines
Quoted 1 line · Bian Naimeng
libtalloc >= 2.0.8 is required by samba4
We already have
./meta-oe/recipes-support/talloc/talloc_2.0.1.bb
so you should just upgrade it.
I will try to upgrade it, and send V2 patch.
Thanks
bian
Quoted 80 lines
Quoted 4 lines
Signed-off-by Bian Naimeng <[email protected]>--- .../recipes-support/libtalloc/libtalloc_2.1.1.bb | 42++++++++++++++++++++++
Review
Quoted 4 lines
1 file changed, 42 insertions(+) create mode 100644 meta-oe/recipes-support/libtalloc/libtalloc_2.1.1.bb(quoted diff) +0
-0b/meta-oe/recipes-support/libtalloc/libtalloc_2.1.1.bb
meta-oe/recipes-support/libtalloc/libtalloc_2.1.1.bb line 1
Quoted 6 lines
new file mode 100644
index 0000000..6285a3cmeta-oe/recipes-support/libtalloc/libtalloc_2.1.1.bb new file +1
-0@@ -0,0 +1,42 @@ +SUMMARY = "Hierarchical, reference counted memory pool system withdestructors"
meta-oe/recipes-support/libtalloc/libtalloc_2.1.1.bb
Quoted 6 lines
meta-oe/recipes-support/libtalloc/libtalloc_2.1.1.bb new file +6
-0+HOMEPAGE = "http://talloc.samba.org" +SECTION = "libs" +LICENSE = "LGPL-3.0+ & GPL-3.0+" + +SRC_URI = "http://samba.org/ftp/talloc/talloc-${PV}.tar.gz" +LIC_FILES_CHKSUM ="file://${COREBASE}/meta/files/common-licenses/LGPL-3.0;md5=bfccfe952269ff
f2b407dd11f2f3083b\meta-oe/recipes-support/libtalloc/libtalloc_2.1.1.bb line 8
Quoted 1 line
meta-oe/recipes-support/libtalloc/libtalloc_2.1.1.bb new file +1
-0+file://${COREBASE}/meta/files/common-licenses/GPL-3.0;md5=c79ff39f19dfec6d
293b95dea7b07891"meta-oe/recipes-support/libtalloc/libtalloc_2.1.1.bb
Quoted 3 lines
meta-oe/recipes-support/libtalloc/libtalloc_2.1.1.bb new file +3
-0+ +SRC_URI[md5sum] = "5dffb86414218a91864ed4453ba9be07" +SRC_URI[sha256sum] ="
3e29ce6c3ba3c4f7c2d57ce8cf0fbc24c86618c519f2b2fb6a459025488b6174"Quoted 18 lines
meta-oe/recipes-support/libtalloc/libtalloc_2.1.1.bb new file +18
-0+ +inherit wafsamba + +S = "${WORKDIR}/talloc-${PV}" + +EXTRA_OECONF += "--disable-rpath \ + --disable-rpath-install \ + --bundled-libraries=NONE \ + --builtin-libraries=replace \ + --disable-silent-rules \ + --with-libiconv=${STAGING_DIR_HOST}${prefix}\ + " + +PACKAGES += "pytalloc pytalloc-dbg pytalloc-dev" + +FILE_${PN} = "${libdir}/libtalloc.so.2 \ + ${libdir}/libtalloc.so.2.1.1" +FILES_${PN}-dbg = "/usr/src/debug/ \meta-oe/recipes-support/libtalloc/libtalloc_2.1.1.bb
Quoted 10 lines
meta-oe/recipes-support/libtalloc/libtalloc_2.1.1.bb new file +10
-0+ ${libdir}/.debug/libtalloc.so.2.1.1" +FILES_${PN}-dev = "${includedir}/ \ + ${libdir}/libtalloc.so \ + ${libdir}/pkgconfig/" + +FILES_pytalloc = "${libdir}/python${PYTHON_BASEVERSION}/site-packages/* \ + ${libdir}/libpytalloc-util.so.2 \ + ${libdir}/libpytalloc-util.so.2.1.1 \ + " +FILES_pytalloc-dbg ="${libdir}/python${PYTHON_BASEVERSION}/site-packages/.debug \
Quoted 11 lines
meta-oe/recipes-support/libtalloc/libtalloc_2.1.1.bb new file +3
-1+ ${libdir}/.debug/libpytalloc-util.so.2.1.1" +FILES_pytalloc-dev = "${libdir}/libpytalloc-util.so" +RDEPENDS_pytalloc = "python" --1.8.4.2
--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel--
Martin 'JaMa' Jansa jabber: [email protected]
--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
PATCH 6/7 libtdb: add new recipe
In reply to Bian Naimenglibtdb is required by samba4
--- .../libtdb/do-not-check-xsltproc-manpages.patch | 15 +++++++++++ meta-oe/recipes-support/libtdb/libtdb_1.3.0.bb | 30 ++++++++++++++++++++++ 2 files changed, 45 insertions(+) create mode 100644 meta-oe/recipes-support/libtdb/libtdb/do-not-check-xsltproc-manpages.patch create mode 100644 meta-oe/recipes-support/libtdb/libtdb_1.3.0.bb
meta-oe/recipes-support/libtdb/libtdb/do-not-check-xsltproc-manpages.patch new file +15 -0
@@ -0,0 +1,15 @@ +Don't check manpages for xsltproc. + +Signed-off-by: Bian Naimeng <[email protected]> + +--- tdb-1.3.0.orig/wscript 2015-04-22 09:52:32.366000222 +0900 ++++ tdb-1.3.0/wscript 2015-04-22 09:51:57.720000205 +0900 +@@ -90,7 +90,7 @@ def configure(conf): + not conf.env.disable_tdb_mutex_locking): + conf.define('USE_TDB_MUTEX_LOCKING', 1) + +- conf.CHECK_XSLTPROC_MANPAGES() ++ conf.find_program('xsltproc', var='XSLTPROC') + + if not conf.env.disable_python: + # also disable if we don't have the python libs installed
meta-oe/recipes-support/libtdb/libtdb_1.3.0.bb new file +30 -0
@@ -0,0 +1,30 @@ +SUMMARY = "The tdb library" +SECTION = "libs" +LICENSE = "LGPL-3.0+ & GPL-3.0+" + +LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/LGPL-3.0;md5=bfccfe952269fff2b407dd11f2f3083b \ + file://${COREBASE}/meta/files/common-licenses/GPL-3.0;md5=c79ff39f19dfec6d293b95dea7b07891" + +SRC_URI = "http://samba.org/ftp/tdb/tdb-${PV}.tar.gz \ + file://do-not-check-xsltproc-manpages.patch" + +SRC_URI[md5sum] = "f18cd6afc4f5670edfe58f72d2665f94" +SRC_URI[sha256sum] = "04bee48d405ab7815810575a6e0cb364cc0eea6187b54b18c84e9c18a768ba20" + +S = "${WORKDIR}/tdb-${PV}" + +inherit wafsamba + +EXTRA_OECONF += "--disable-rpath \ + --bundled-libraries=NONE \ + --builtin-libraries=replace \ + --with-libiconv=${STAGING_DIR_HOST}${prefix}\ + " + +PACKAGES += "tdb-tools python-tdb python-tdb-dbg" + +FILES_${PN} = "${libdir}/*.so.*" +FILES_tdb-tools = "${bindir}/*" +FILES_python-tdb = "${libdir}/python${PYTHON_BASEVERSION}/site-packages/*" +FILES_python-tdb-dbg = "${libdir}/python${PYTHON_BASEVERSION}/site-packages/.debug/*" +RDEPENDS_python-tdb = "python"
Signature · 1 line
1.8.4.2
Re: [meta-oe][PATCH 6/7] libtdb: add new recipe
Quoted 1 line · Bian Naimeng
libtdb is required by samba4
It conflicts with samba3, should we just replace samba_3* with samba_4?
NOTE: recipe libtdb-1.3.0-r0: task do_populate_sysroot: Started
ERROR: The recipe libtdb is trying to install files into a shared area when those files already exist. Those files and their manifest location are:
/home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/qemuarm/pkgdata/runtime-rprovides/libtdb/libtdb
Matched in manifest-qemuarm-samba.packagedata
/home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/qemuarm/pkgdata/runtime-reverse/libtdb1
Matched in manifest-qemuarm-samba.packagedata
/home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/qemuarm/pkgdata/runtime/libtdb.packaged
Matched in manifest-qemuarm-samba.packagedata
/home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/qemuarm/pkgdata/runtime/libtdb
Matched in manifest-qemuarm-samba.packagedata
/home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/qemuarm/pkgdata/shlibs2/libtdb.list
Matched in manifest-qemuarm-samba.packagedata
Please verify which recipe should provide the above files.
The build has stopped as continuing in this scenario WILL break things, if not now, possibly in the future (we've seen builds fail several months later). If the system knew how to recover from this automatically it would however there are several different scenarios which can result in this and we don't know which one this is. It may be you have switched providers of something like virtual/kernel (e.g. from linux-yocto to linux-yocto-dev), in that case you need to execute the clean task for both recipes and it will resolve this error. It may be you changed DISTRO_FEATURES from systemd to udev or vice versa. Cleaning those recipes should again resolve this error however switching DISTRO_FEATURES on an existing build directory is not supported, you should really clean out tmp and rebuild (reusing sstate should be safe). It could be the overlapping files detected are harmless in which case adding them to SSTATE_DUPWHITELIST may be the correct solution. It could also be your build is including two different conflicting versions of things (e.g. bluez 4 and bluez 5 and the correct solution for that would be to resolve the conflict. If in doubt, please ask on the mailing list, sharing the error and filelist above.
ERROR: If the above message is too much, the simpler version is you're advised to wipe out tmp and rebuild (reusing sstate is fine). That will likely fix things in most (but not all) cases.
ERROR: Function failed: sstate_task_postfunc
ERROR: Logfile of failure stored in: /home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/libtdb/1.3.0-r0/temp/log.do_packagedata.27608
NOTE: recipe libtdb-1.3.0-r0: task do_packagedata: Failed
ERROR: Task 27734 (/home/jenkins/oe/world/shr-core/meta-openembedded/meta-oe/recipes-support/libtdb/libtdb_1.3.0.bb, do_packagedata) failed with exit code '1'
NOTE: Running task 20344 of 31972 (ID: 27663, /home/jenkins/oe/world/shr-core/meta-openembedded/meta-gnome/recipes-gnome/evince/evince_2.32.0.bb, do_package)
ERROR: The recipe libtdb is trying to install files into a shared area when those files already exist. Those files and their manifest location are:
/home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/qemuarm/usr/lib/libtdb.so.1
Matched in manifest-qemuarm-samba.populate_sysroot
/home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/qemuarm/usr/lib/libtdb.so
Matched in manifest-qemuarm-samba.populate_sysroot
/home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/qemuarm/usr/lib/pkgconfig/tdb.pc
Matched in manifest-qemuarm-samba.populate_sysroot
/home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/qemuarm/usr/include/tdb.h
Matched in manifest-qemuarm-samba.populate_sysroot
Please verify which recipe should provide the above files.
The build has stopped as continuing in this scenario WILL break things, if not now, possibly in the future (we've seen builds fail several months later). If the system knew how to recover from this automatically it would however there are several different scenarios which can result in this and we don't know which one this is. It may be you have switched providers of something like virtual/kernel (e.g. from linux-yocto to linux-yocto-dev), in that case you need to execute the clean task for both recipes and it will resolve this error. It may be you changed DISTRO_FEATURES from systemd to udev or vice versa. Cleaning those recipes should again resolve this error however switching DISTRO_FEATURES on an existing build directory is not supported, you should really clean out tmp and rebuild (reusing sstate should be safe). It could be the overlapping files detected are harmless in which case adding them to SSTATE_DUPWHITELIST may be the correct solution. It could also be your build is including two different conflicting versions of things (e.g. bluez 4 and bluez 5 and the correct solution for that would be to resolve the conflict. If in doubt, please ask on the mailing list, sharing the error and filelist above.
ERROR: If the above message is too much, the simpler version is you're advised to wipe out tmp and rebuild (reusing sstate is fine). That will likely fix things in most (but not all) cases.
ERROR: Function failed: sstate_task_postfunc
ERROR: Logfile of failure stored in: /home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/libtdb/1.3.0-r0/temp/log.do_populate_sysroot.27647
NOTE: recipe libtdb-1.3.0-r0: task do_populate_sysroot: Failed
ERROR: Task 27729 (/home/jenkins/oe/world/shr-core/meta-openembedded/meta-oe/recipes-support/libtdb/libtdb_1.3.0.bb, do_populate_sysroot) failed with exit code '1'
Quoted 74 lines
Signed-off-by Bian Naimeng <[email protected]>--- .../libtdb/do-not-check-xsltproc-manpages.patch | 15 +++++++++++ meta-oe/recipes-support/libtdb/libtdb_1.3.0.bb | 30 ++++++++++++++++++++++ 2 files changed, 45 insertions(+) create mode 100644 meta-oe/recipes-support/libtdb/libtdb/do-not-check-xsltproc-manpages.patch create mode 100644 meta-oe/recipes-support/libtdb/libtdb_1.3.0.bbmeta-oe/recipes-support/libtdb/libtdb/do-not-check-xsltproc-manpages.patch new file +15
-0@@ -0,0 +1,15 @@ +Don't check manpages for xsltproc. + +Signed-off-by: Bian Naimeng <[email protected]> + +--- tdb-1.3.0.orig/wscript 2015-04-22 09:52:32.366000222 +0900 ++++ tdb-1.3.0/wscript 2015-04-22 09:51:57.720000205 +0900 +@@ -90,7 +90,7 @@ def configure(conf): + not conf.env.disable_tdb_mutex_locking): + conf.define('USE_TDB_MUTEX_LOCKING', 1) + +- conf.CHECK_XSLTPROC_MANPAGES() ++ conf.find_program('xsltproc', var='XSLTPROC') + + if not conf.env.disable_python: + # also disable if we don't have the python libs installedmeta-oe/recipes-support/libtdb/libtdb_1.3.0.bb new file +30
-0@@ -0,0 +1,30 @@ +SUMMARY = "The tdb library" +SECTION = "libs" +LICENSE = "LGPL-3.0+ & GPL-3.0+" + +LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/LGPL-3.0;md5=bfccfe952269fff2b407dd11f2f3083b \ + file://${COREBASE}/meta/files/common-licenses/GPL-3.0;md5=c79ff39f19dfec6d293b95dea7b07891" + +SRC_URI = "http://samba.org/ftp/tdb/tdb-${PV}.tar.gz \ + file://do-not-check-xsltproc-manpages.patch" + +SRC_URI[md5sum] = "f18cd6afc4f5670edfe58f72d2665f94" +SRC_URI[sha256sum] = "04bee48d405ab7815810575a6e0cb364cc0eea6187b54b18c84e9c18a768ba20" + +S = "${WORKDIR}/tdb-${PV}" + +inherit wafsamba + +EXTRA_OECONF += "--disable-rpath \ + --bundled-libraries=NONE \ + --builtin-libraries=replace \ + --with-libiconv=${STAGING_DIR_HOST}${prefix}\ + " + +PACKAGES += "tdb-tools python-tdb python-tdb-dbg" + +FILES_${PN} = "${libdir}/*.so.*" +FILES_tdb-tools = "${bindir}/*" +FILES_python-tdb = "${libdir}/python${PYTHON_BASEVERSION}/site-packages/*" +FILES_python-tdb-dbg = "${libdir}/python${PYTHON_BASEVERSION}/site-packages/.debug/*" +RDEPENDS_python-tdb = "python"Signature · 7 lines
1.8.4.2 -- _______________________________________________ Openembedded-devel mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Signature · 1 line
Martin 'JaMa' Jansa jabber: [email protected]
Re: [meta-oe][PATCH 6/7] libtdb: add new recipe
Thanks for your test.
Quoted 8 lines
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Martin Jansa
Sent: Tuesday, June 16, 2015 7:44 PM
To: [email protected]
Subject: Re: [oe] [meta-oe][PATCH 6/7] libtdb: add new recipe
Quoted 5 lines
Quoted 1 line · Bian Naimeng
libtdb is required by samba4
It conflicts with samba3, should we just replace samba_3* with
samba_4?
Replacing samba_3* with samba_4 is good to me.
Thanks
Bian
Quoted 201 lines
NOTE: recipe libtdb-1.3.0-r0: task
do_populate_sysroot: Started
ERROR: The recipe libtdb is trying to install files into a shared area when those files already exist. Those files and their manifest location are:
/home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/qemuarm/pkgdata/runtime-rprovides/libtdb/libtdb
Matched in manifest-qemuarm-samba.packagedata
/home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/qemuarm/pkgdata/runtime-reverse/libtdb1
Matched in manifest-qemuarm-samba.packagedata
/home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/qemuarm/pkgdata/runtime/libtdb.packaged
Matched in manifest-qemuarm-samba.packagedata
/home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/qemuarm/pkgdata/runtime/libtdb
Matched in manifest-qemuarm-samba.packagedata
/home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/qemuarm/pkgdata/shlibs2/libtdb.list
Matched in manifest-qemuarm-samba.packagedata
Please verify which recipe should provide the above files.
The build has stopped as continuing in this scenario WILL break things, if not now, possibly in the future (we've seen builds fail several months later). If the system knew how to recover from this automatically it would however there are several different scenarios which can result in this and we don't know which one this is. It may be you have switched providers of something like virtual/kernel (e.g. from linux-yocto to linux-yocto-dev), in that case you need to execute the clean task for both recipes and it will resolve this error. It may be you changedDISTRO_FEATURESfrom systemd to udev or vice versa. Cleaning those recipes should again resolve this error however switchingDISTRO_FEATURESon an existing build directory is not supported, you should really clean out tmp and rebuild (reusing sstate should be safe). It could be the overlapping files detected are harmless in which case adding them toSSTATE_DUPWHITELISTmay be the correct solution. It could also be your buil d is including two different conflicting versions of things (e.g. bluez 4 and bluez 5 and the correct solution for that would be to resolve the conflict. If in doubt, please ask on the mailing list, sharing the error and filelist above.
ERROR: If the above message is too much, the simpler version is you're advised to wipe out tmp and rebuild (reusing sstate is fine). That will likely fix things in most (but not all) cases.
ERROR: Function failed:sstate_task_postfunc
ERROR: Logfile of failure stored in:/home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/libtdb/1.3.0-r0/temp/log.do_packagedata.27608
NOTE: recipe libtdb-1.3.0-r0: taskdo_packagedata: Failed
ERROR: Task 27734 (/home/jenkins/oe/world/shr-core/meta-openembedded/meta-oe/recipes-support/libtdb/libtdb_1.3.0.bb,do_packagedata) failed with exit code '1'
NOTE: Running task 20344 of 31972 (ID: 27663,/home/jenkins/oe/world/shr-core/meta-openembedded/meta-gnome/recipes-gnome/evince/evince_2.32.0.bb,do_package)
ERROR: The recipe libtdb is trying to install files into a shared area when those files already exist. Those files and their manifest location are:
/home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/qemuarm/usr/lib/libtdb. so.1
Matched in manifest-qemuarm-samba.populate_sysroot
/home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/qemuarm/usr/lib/libtdb. so
Matched in manifest-qemuarm-samba.populate_sysroot
/home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/qemuarm/usr/lib/pkgconfig/tdb.pc
Matched in manifest-qemuarm-samba.populate_sysroot
/home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/qemuarm/usr/include/tdb.h
Matched in manifest-qemuarm-samba.populate_sysroot
Please verify which recipe should provide the above files.
The build has stopped as continuing in this scenario WILL break things, if not now, possibly in the future (we've seen builds fail several months later). If the system knew how to recover from this automatically it would however there are several different scenarios which can result in this and we don't know which one this is. It may be you have switched providers of something like virtual/kernel (e.g. from linux-yocto to linux-yocto-dev), in that case you need to execute the clean task for both recipes and it will resolve this error. It may be you changedDISTRO_FEATURESfrom systemd to udev or vice versa. Cleaning those recipes should again resolve this error however switchingDISTRO_FEATURESon an existing build directory is not supported, you should really clean out tmp and rebuild (reusing sstate should be safe). It could be the overlapping files detected are harmless in which case adding them toSSTATE_DUPWHITELISTmay be the correct solution. It could also be your buil d is including two different conflicting versions of things (e.g. bluez 4 and bluez 5 and the correct solution for that would be to resolve the conflict. If in doubt, please ask on the mailing list, sharing the error and filelist above.
ERROR: If the above message is too much, the simpler version is you're advised to wipe out tmp and rebuild (reusing sstate is fine). That will likely fix things in most (but not all) cases.
ERROR: Function failed:sstate_task_postfunc
ERROR: Logfile of failure stored in:/home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/libtdb/1.3.0-r0/temp/log.do_populate_sysroot.27647
NOTE: recipe libtdb-1.3.0-r0: taskdo_populate_sysroot: Failed
ERROR: Task 27729 (/home/jenkins/oe/world/shr-core/meta-openembedded/meta-oe/recipes-support/libtdb/libtdb_1.3.0.bb,do_populate_sysroot) failed with exit code '1'Quoted 5 lines
Signed-off-by Bian Naimeng <[email protected]>--- .../libtdb/do-not-check-xsltproc-manpages.patch | 15 +++++++++++ meta-oe/recipes-support/libtdb/libtdb_1.3.0.bb | 30++++++++++++++++++++++
Quoted 39 lines
2 files changed, 45 insertions(+) create mode 100644meta-oe/recipes-support/libtdb/libtdb/do-not-check-xsltproc-manpages.p atch create mode 100644 meta-oe/recipes-support/libtdb/libtdb_1.3.0.bb
diff --git a/meta-oe/recipes-support/libtdb/libtdb/do-not-check-xsltproc-manpages .patch b/meta-oe/recipes-support/libtdb/libtdb/do-not-check-xsltproc-manpages .patch
new file mode 100644
index 0000000..bcc45c9meta-oe/recipes-support/libtdb/libtdb/do-not-check-xsltproc-manp new file +16
-0+++ ages.patch@@ -0,0 +1,15 @@ +Don't check manpages for xsltproc. + +Signed-off-by: Bian Naimeng <[email protected]> + +--- tdb-1.3.0.orig/wscript 2015-04-22 09:52:32.366000222 +0900 ++++ tdb-1.3.0/wscript 2015-04-22 09:51:57.720000205 +0900 +@@ -90,7 +90,7 @@ def configure(conf): + not conf.env.disable_tdb_mutex_locking): + conf.define('USE_TDB_MUTEX_LOCKING', 1) + +- conf.CHECK_XSLTPROC_MANPAGES() ++ conf.find_program('xsltproc', var='XSLTPROC') + + if not conf.env.disable_python: + # also disable if we don't have the python libs installedmeta-oe/recipes-support/libtdb/libtdb_1.3.0.bb new file +0
-0meta-oe/recipes-support/libtdb/libtdb_1.3.0.bb line 5
Quoted 5 lines
meta-oe/recipes-support/libtdb/libtdb_1.3.0.bb new file +5
-0@@ -0,0 +1,30 @@ +SUMMARY = "The tdb library" +SECTION = "libs" +LICENSE = "LGPL-3.0+ & GPL-3.0+" + +LIC_FILES_CHKSUM ="file://${COREBASE}/meta/files/common-licenses/LGPL-3.0;md5=bfccfe952269ff
f2b407dd11f2f3083b\meta-oe/recipes-support/libtdb/libtdb_1.3.0.bb line 6
Quoted 1 line
meta-oe/recipes-support/libtdb/libtdb_1.3.0.bb new file +1
-0+file://${COREBASE}/meta/files/common-licenses/GPL-3.0;md5=c79ff39f19dfec6d
293b95dea7b07891"meta-oe/recipes-support/libtdb/libtdb_1.3.0.bb
Quoted 6 lines
meta-oe/recipes-support/libtdb/libtdb_1.3.0.bb new file +6
-0+ +SRC_URI = "http://samba.org/ftp/tdb/tdb-${PV}.tar.gz \ + file://do-not-check-xsltproc-manpages.patch" + +SRC_URI[md5sum] = "f18cd6afc4f5670edfe58f72d2665f94" +SRC_URI[sha256sum] ="
04bee48d405ab7815810575a6e0cb364cc0eea6187b54b18c84e9c18a768ba20"Quoted 6 lines
meta-oe/recipes-support/libtdb/libtdb_1.3.0.bb new file +6
-0+ +S = "${WORKDIR}/tdb-${PV}" + +inherit wafsamba + +EXTRA_OECONF += "--disable-rpath \meta-oe/recipes-support/libtdb/libtdb_1.3.0.bb
Quoted 10 lines
meta-oe/recipes-support/libtdb/libtdb_1.3.0.bb new file +10
-0+ --bundled-libraries=NONE \ + --builtin-libraries=replace \ + --with-libiconv=${STAGING_DIR_HOST}${prefix}\ + " + +PACKAGES += "tdb-tools python-tdb python-tdb-dbg" + +FILES_${PN} = "${libdir}/*.so.*" +FILES_tdb-tools = "${bindir}/*" +FILES_python-tdb ="${libdir}/python${PYTHON_BASEVERSION}/site-packages/*"
meta-oe/recipes-support/libtdb/libtdb_1.3.0.bb line 29
Quoted 1 line
meta-oe/recipes-support/libtdb/libtdb_1.3.0.bb new file +1
-0+FILES_python-tdb-dbg ="${libdir}/python${PYTHON_BASEVERSION}/site-packages/.debug/*"
Quoted 9 lines
meta-oe/recipes-support/libtdb/libtdb_1.3.0.bb new file +1
-1+RDEPENDS_python-tdb = "python" --1.8.4.2
--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel--
Martin 'JaMa' Jansa jabber: [email protected]
--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
PATCH 7/7 libtevent: add new recipe
In reply to Bian Naimenglibtevent is required by samba4
--- .../libtevent/do-not-check-xsltproc-manpages.patch | 16 ++++++++++++ .../recipes-support/libtevent/libtevent_0.9.21.bb | 30 ++++++++++++++++++++++ 2 files changed, 46 insertions(+) create mode 100644 meta-oe/recipes-support/libtevent/libtevent/do-not-check-xsltproc-manpages.patch create mode 100644 meta-oe/recipes-support/libtevent/libtevent_0.9.21.bb
meta-oe/recipes-support/libtevent/libtevent/do-not-check-xsltproc-manpages.patch new file +16 -0
@@ -0,0 +1,16 @@ +Don't check manpages for xsltproc. + +Signed-off-by: Bian Naimeng <[email protected]> + +diff -Nurp tevent-0.9.21.orig/lib/talloc/wscript tevent-0.9.21/lib/talloc/wscript +--- tevent-0.9.21.orig/lib/talloc/wscript 2013-09-08 21:24:14.000000000 +0900 ++++ tevent-0.9.21/lib/talloc/wscript 2015-04-24 16:28:04.085000230 +0900 +@@ -55,7 +55,7 @@ def configure(conf): + if conf.env.standalone_talloc: + conf.env.TALLOC_COMPAT1 = Options.options.TALLOC_COMPAT1 + +- conf.CHECK_XSLTPROC_MANPAGES() ++ conf.find_program('xsltproc', var='XSLTPROC') + + if not conf.env.disable_python: + # also disable if we don't have the python libs installed
meta-oe/recipes-support/libtevent/libtevent_0.9.21.bb new file +30 -0
@@ -0,0 +1,30 @@ +SUMMARY = "Hierarchical, reference counted memory pool system with destructors" +HOMEPAGE = "http://tevent.samba.org" +SECTION = "libs" +LICENSE = "LGPLv3+" + +DEPENDS += "libtalloc" +RDEPENDS_${PN} += "libtalloc" +RDEPENDS_python-tevent = "python" + +SRC_URI = "http://samba.org/ftp/tevent/tevent-${PV}.tar.gz" +LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/LGPL-3.0;md5=bfccfe952269fff2b407dd11f2f3083b" + +SRC_URI[md5sum] = "3d5a76c0a1b5f724842d785fd055633f" +SRC_URI[sha256sum] = "f2be7463573dab2d8210cb57fe7e7e2aeb323274cbdc865a6e29ddcfb977f0f4" + +inherit wafsamba + +S = "${WORKDIR}/tevent-${PV}" + +EXTRA_OECONF += "--disable-rpath \ + --bundled-libraries=NONE \ + --builtin-libraries=replace \ + --with-libiconv=${STAGING_DIR_HOST}${prefix}\ + --without-gettext \ + " + +PACKAGES += "python-tevent python-tevent-dbg" + +FILES_python-tevent = "${libdir}/python${PYTHON_BASEVERSION}/site-packages/*" +FILES_python-tevent-dbg = "${libdir}/python${PYTHON_BASEVERSION}/site-packages/.debug"
Signature · 1 line
1.8.4.2