All of lore.kernel.org
 help / color / mirror / Atom feed
From: Paul Eggleton <paul.eggleton@linux.intel.com>
To: yocto@yoctoproject.org
Subject: [meta-baryon] [PATCH 3/4] samba: merge with meta-oe
Date: Wed, 11 Jul 2012 18:51:59 +0100	[thread overview]
Message-ID: <bc4c30fe5e82bd861f21051e83520012118daf27.1342029029.git.paul.eggleton@linux.intel.com> (raw)
In-Reply-To: <cover.1342029029.git.paul.eggleton@linux.intel.com>
In-Reply-To: <cover.1342029029.git.paul.eggleton@linux.intel.com>

Merge this recipe with the current version from meta-oe. This brings the
following improvements:

* Fix a configure failure due to python host contamination
* Split some components out to their own packages
* Tidy up some cruft left over from the OE-Classic recipe

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
---
 recipes-connectivity/samba/samba-basic.inc |   12 ++++--------
 recipes-connectivity/samba/samba_3.5.6.bb  |   18 +++++++-----------
 2 files changed, 11 insertions(+), 19 deletions(-)

diff --git a/recipes-connectivity/samba/samba-basic.inc b/recipes-connectivity/samba/samba-basic.inc
index 362762a..f0a9bd7 100644
--- a/recipes-connectivity/samba/samba-basic.inc
+++ b/recipes-connectivity/samba/samba-basic.inc
@@ -8,15 +8,11 @@ EXTRA_OECONF += "\
         --without-ldap \
         --without-krb5"
 
-PACKAGES =+ "libsmbclient libsmbclient-dev cifs cifs-doc swat"
-
-RCONFLICTS_${PN} = "samba-ads"
-RCONFLICTS_libsmbclient = "libsmbclient-ads"
-RCONFLICTS_libsmbclient-dev = "libsmbclient-ads-dev"
-RCONFLICTS_cifs = "cifs-ads"
-RCONFLICTS_cifs-doc = "cifs-ads-doc"
-RCONFLICTS_swat = "swat-ads"
+PACKAGES =+ "libnetapi libtdb libsmbsharemodes libsmbclient libsmbclient-dev cifs cifs-doc swat"
 
+FILES_libnetapi = "${libdir}/libnetapi.so.*"
+FILES_libsmbsharemodes = "${libdir}/libsmbsharemodes.so.*"
+FILES_libtdb = "${libdir}/libtdb.so.*"
 FILES_cifs = "${base_sbindir}/mount.cifs ${base_sbindir}/umount.cifs"
 FILES_cifs-doc = "${mandir}/man8/mount.cifs.8 ${mandir}/man8/umount.cifs.8"
 FILES_libsmbclient = "${libdir}/libsmbclient.so.*"
diff --git a/recipes-connectivity/samba/samba_3.5.6.bb b/recipes-connectivity/samba/samba_3.5.6.bb
index a76eabb..6b617ef 100644
--- a/recipes-connectivity/samba/samba_3.5.6.bb
+++ b/recipes-connectivity/samba/samba_3.5.6.bb
@@ -3,20 +3,19 @@ require samba-basic.inc
 LICENSE = "GPLv3"
 LIC_FILES_CHKSUM = "file://../COPYING;md5=d32239bcb673463ab874e80d47fae504"
 
-S = "${WORKDIR}/samba-${PV}/source3"
-
-# 3.3.0 and newer will upgrade your tdb database to a
-# new version that you can not downgrade to use with older
-# releases. More testing will happen before this is removed
-# should there be further issues. Appears to work though :)
-DEFAULT_PREFERENCE = "-1"
+PR = "r1"
 
 SRC_URI += "file://config-h.patch \
             file://tdbheaderfix.patch;patchdir=.."
 
-PR = "r0"
+SRC_URI[md5sum] = "bf6c09ea497a166df8bd672db1d8da8f"
+SRC_URI[sha256sum] = "466410868375d19a286ac3fc5d9f3c267ce359189f8e0d76e72ec10bd54247da"
+
+S = "${WORKDIR}/samba-${PV}/source3"
 
 EXTRA_OECONF += "\
+	ac_cv_path_PYTHON=/not/exist \
+	ac_cv_path_PYTHON_CONFIG=/not/exist \
 	SMB_BUILD_CC_NEGATIVE_ENUM_VALUES=yes \
 	samba_cv_CC_NEGATIVE_ENUM_VALUES=yes \
 	linux_getgrouplist_ok=no \
@@ -36,9 +35,6 @@ do_compile () {
 	base_do_compile
 }
 
-SRC_URI[md5sum] = "bf6c09ea497a166df8bd672db1d8da8f"
-SRC_URI[sha256sum] = "466410868375d19a286ac3fc5d9f3c267ce359189f8e0d76e72ec10bd54247da"
-
 pkg_postinst_${PN} () {
     if [ "x$D" != "x" ] ; then
         exit 1
-- 
1.7.9.5



  parent reply	other threads:[~2012-07-11 17:52 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-11 17:51 [meta-baryon] [PATCH 0/4] Baryon build fixes Paul Eggleton
2012-07-11 17:51 ` [meta-baryon] [PATCH 1/4] faad2: split out staticdev files Paul Eggleton
2012-07-11 17:51 ` [meta-baryon] [PATCH 2/4] faac: " Paul Eggleton
2012-07-11 17:51 ` Paul Eggleton [this message]
2012-07-11 17:52 ` [meta-baryon] [PATCH 4/4] baryon-image: use IMAGE_INSTALL instead of CORE_IMAGE_EXTRA_INSTALL Paul Eggleton
2012-07-13 16:32 ` [meta-baryon] [PATCH 0/4] Baryon build fixes Paul Eggleton

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bc4c30fe5e82bd861f21051e83520012118daf27.1342029029.git.paul.eggleton@linux.intel.com \
    --to=paul.eggleton@linux.intel.com \
    --cc=yocto@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.