diff mbox

[002/131] samba: Add samba 3.6.15

Message ID 64fd4a039f9aae2088a5b3dd9bcda9ce051b36c0.1389702652.git.christian.braunersorensen@prevas.dk
State Accepted
Delegated to: Esben Haabendal
Headers show

Commit Message

christian.braunersorensen@prevas.dk Jan. 14, 2014, 12:32 p.m. UTC
From: Christian Sørensen <christian.braunersorensen@prevas.dk>

---
 recipes/samba/samba-3.6.15/bug-8410-workaround.patch | 15 +++++++++++++++
 recipes/samba/samba_3.6.15.oe                        |  8 ++++++++
 recipes/samba/samba_3.6.15.oe.sig                    |  1 +
 3 files changed, 24 insertions(+)
 create mode 100644 recipes/samba/samba-3.6.15/bug-8410-workaround.patch
 create mode 100644 recipes/samba/samba_3.6.15.oe
 create mode 100644 recipes/samba/samba_3.6.15.oe.sig
diff mbox

Patch

diff --git a/recipes/samba/samba-3.6.15/bug-8410-workaround.patch b/recipes/samba/samba-3.6.15/bug-8410-workaround.patch
new file mode 100644
index 0000000..d8a9866
--- /dev/null
+++ b/recipes/samba/samba-3.6.15/bug-8410-workaround.patch
@@ -0,0 +1,15 @@ 
+diff -urN samba-3.6.9~orig/source3/configure samba-3.6.9/source3/configure
+--- samba-3.6.9~orig/source3/configure	2012-10-29 10:24:29.000000000 +0100
++++ samba-3.6.9/source3/configure	2012-11-01 14:53:52.421825646 +0100
+@@ -13270,10 +13270,7 @@
+ 	# see bug 5910, use our replacements if we detect
+ 	# a broken system.
+ 	if test "$cross_compiling" = yes; then :
+-  { { $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; }
++$as_echo "assuming valid getaddrinfo without bug 5910" >&2
+ else
+   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+ /* end confdefs.h.  */
diff --git a/recipes/samba/samba_3.6.15.oe b/recipes/samba/samba_3.6.15.oe
new file mode 100644
index 0000000..4befbac
--- /dev/null
+++ b/recipes/samba/samba_3.6.15.oe
@@ -0,0 +1,8 @@ 
+# -*- mode:python; -*-
+require samba.inc
+require samba-basic.inc
+LICENSE = "GPL-3.0+"
+S = "${SRCDIR}/samba-${PV}/source3"
+
+## https://bugzilla.samba.org/show_bug.cgi?id=8410
+SRC_URI += "file://bug-8410-workaround.patch;striplevel=2"
diff --git a/recipes/samba/samba_3.6.15.oe.sig b/recipes/samba/samba_3.6.15.oe.sig
new file mode 100644
index 0000000..0bc55b2
--- /dev/null
+++ b/recipes/samba/samba_3.6.15.oe.sig
@@ -0,0 +1 @@ 
+59d528427eaf401cf387205f1fb9806dae282e55  samba-3.6.15.tar.gz