[Pkg-samba-maint] [samba] 01/02: ctdb: Fix detection of gnukfreebsd (Closes: #802621)

Andrew Bartlett abartlet-guest at moszumanska.debian.org
Wed Apr 13 02:32:34 UTC 2016


This is an automated email from the git hooks/post-receive script.

abartlet-guest pushed a commit to branch stable-update
in repository samba.

commit e84aab844661db284b58cf6449f25b6e313f30e5
Author: Steven Chamberlain <steven at pyro.eu.org>
Date:   Thu Feb 11 02:27:29 2016 +0000

    ctdb: Fix detection of gnukfreebsd (Closes: #802621)
    
    GNU/kFreeBSD's platform name is 'gnukfreebsd', not just 'kfreebsd'.
---
 .../ctdb-Fix-detection-of-gnukfreebsd.patch        | 34 ++++++++++++++++++++++
 debian/patches/series                              |  1 +
 2 files changed, 35 insertions(+)

diff --git a/debian/patches/ctdb-Fix-detection-of-gnukfreebsd.patch b/debian/patches/ctdb-Fix-detection-of-gnukfreebsd.patch
new file mode 100644
index 0000000..fa6a22b
--- /dev/null
+++ b/debian/patches/ctdb-Fix-detection-of-gnukfreebsd.patch
@@ -0,0 +1,34 @@
+From: Steven Chamberlain <steven at pyro.eu.org>
+Date: Thu, 11 Feb 2016 02:27:29 +0000
+Subject: [PATCH] ctdb: Fix detection of gnukfreebsd
+
+GNU/kFreeBSD's platform name is 'gnukfreebsd', not just 'kfreebsd'.
+
+Reviewed-by: Andrew Bartlett <abartlet at samba.org>
+Reviewed-by: Garming Sam <garming at catalyst.net.nz>
+
+Autobuild-User(master): Garming Sam <garming at samba.org>
+Autobuild-Date(master): Tue Mar  1 05:42:23 CET 2016 on sn-devel-144
+
+Bug: https://github.com/samba-team/samba/pull/55
+Debian-Bug: https://bugs.debian.org/802621
+---
+ ctdb/wscript | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/ctdb/wscript b/ctdb/wscript
+index 055c853..6e07aed 100755
+--- a/ctdb/wscript
++++ b/ctdb/wscript
+@@ -306,7 +306,7 @@ def build(bld):
+         CTDB_SYSTEM_SRC = bld.SUBDIR('common', 'system_aix.c')
+     elif sys.platform.startswith('freebsd'):
+         CTDB_SYSTEM_SRC = bld.SUBDIR('common', 'system_freebsd.c')
+-    elif sys.platform == 'kfreebsd':
++    elif sys.platform.startswith('gnukfreebsd'):
+         CTDB_SYSTEM_SRC = bld.SUBDIR('common', 'system_kfreebsd.c')
+     elif sys.platform == 'gnu':
+         CTDB_SYSTEM_SRC = bld.SUBDIR('common', 'system_gnu.c')
+-- 
+2.8.0.rc3
+
diff --git a/debian/patches/series b/debian/patches/series
index 136f68b..bf60be3 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -21,3 +21,4 @@ security-2016-04-12-prerequisite-v4-2-regression-fixes.metze01.txt
 disable-socketwrapper.diff
 sockets-with-htons.patch
 unprivate-samba-debug.patch
+ctdb-Fix-detection-of-gnukfreebsd.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-samba/samba.git




More information about the Pkg-samba-maint mailing list