* [Buildroot] [PATCH 1/1] package/samba4: bump version to 4.7.4
@ 2018-01-06 17:50 Bernd Kuhls
2018-01-07 14:12 ` Thomas Petazzoni
0 siblings, 1 reply; 2+ messages in thread
From: Bernd Kuhls @ 2018-01-06 17:50 UTC (permalink / raw)
To: buildroot
Release notes: https://www.samba.org/samba/history/samba-4.7.4.html
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
...-patch-source3__libads__kerberos_keytab.c.patch | 31 ++++++++++++++++++++++
package/samba4/samba4.hash | 2 +-
package/samba4/samba4.mk | 2 +-
3 files changed, 33 insertions(+), 2 deletions(-)
create mode 100644 package/samba4/0002-patch-source3__libads__kerberos_keytab.c.patch
diff --git a/package/samba4/0002-patch-source3__libads__kerberos_keytab.c.patch b/package/samba4/0002-patch-source3__libads__kerberos_keytab.c.patch
new file mode 100644
index 0000000000..1213659c8d
--- /dev/null
+++ b/package/samba4/0002-patch-source3__libads__kerberos_keytab.c.patch
@@ -0,0 +1,31 @@
+From: Timur I. Bakeyev <timur@freebsd.org>
+Subject: Fix compilation of Samba 4.7.4 with disabled ADS
+
+Downloaded from upstream mailinglist
+https://lists.samba.org/archive/samba-technical/2017-December/124629.html
+
+Patch originates from FreeBSD:
+https://svnweb.freebsd.org/ports/head/net/samba47/files/patch-source3__libads__kerberos_keytab.c?revision=457119&view=markup
+
+Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
+
+--- a/source3/libads/kerberos_keytab.c.orig 2017-12-23 14:23:53.247467000 +0100
++++ b/source3/libads/kerberos_keytab.c 2017-12-23 18:57:07.135340000 +0100
+@@ -32,8 +32,6 @@
+
+ #ifdef HAVE_KRB5
+
+-#ifdef HAVE_ADS
+-
+ /* This MAX_NAME_LEN is a constant defined in krb5.h */
+ #ifndef MAX_KEYTAB_NAME_LEN
+ #define MAX_KEYTAB_NAME_LEN 1100
+@@ -85,6 +83,8 @@
+ return ret;
+ }
+
++#ifdef HAVE_ADS
++
+ /**********************************************************************
+ Adds a single service principal, i.e. 'host' to the system keytab
+ ***********************************************************************/
diff --git a/package/samba4/samba4.hash b/package/samba4/samba4.hash
index 49122c60cb..28765440d1 100644
--- a/package/samba4/samba4.hash
+++ b/package/samba4/samba4.hash
@@ -1,3 +1,3 @@
# Locally calculated
-sha256 06e4152ca1cb803f005e92eb6baedb6cc874998b44ee37c2a7819e77a55bfd2c samba-4.7.3.tar.gz
+sha256 fb12d0c4452f85b67b78bbeabd4c762d8feb8ff83e39d044d285120c2c488247 samba-4.7.4.tar.gz
sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING
diff --git a/package/samba4/samba4.mk b/package/samba4/samba4.mk
index ba31d4ccd9..6f3207fb64 100644
--- a/package/samba4/samba4.mk
+++ b/package/samba4/samba4.mk
@@ -4,7 +4,7 @@
#
################################################################################
-SAMBA4_VERSION = 4.7.3
+SAMBA4_VERSION = 4.7.4
SAMBA4_SITE = https://download.samba.org/pub/samba/stable
SAMBA4_SOURCE = samba-$(SAMBA4_VERSION).tar.gz
SAMBA4_INSTALL_STAGING = YES
--
2.11.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [Buildroot] [PATCH 1/1] package/samba4: bump version to 4.7.4
2018-01-06 17:50 [Buildroot] [PATCH 1/1] package/samba4: bump version to 4.7.4 Bernd Kuhls
@ 2018-01-07 14:12 ` Thomas Petazzoni
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2018-01-07 14:12 UTC (permalink / raw)
To: buildroot
Hello,
On Sat, 6 Jan 2018 18:50:20 +0100, Bernd Kuhls wrote:
> Release notes: https://www.samba.org/samba/history/samba-4.7.4.html
>
> Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
> ---
> ...-patch-source3__libads__kerberos_keytab.c.patch | 31 ++++++++++++++++++++++
> package/samba4/samba4.hash | 2 +-
> package/samba4/samba4.mk | 2 +-
> 3 files changed, 33 insertions(+), 2 deletions(-)
> create mode 100644 package/samba4/0002-patch-source3__libads__kerberos_keytab.c.patch
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-01-07 14:12 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-01-06 17:50 [Buildroot] [PATCH 1/1] package/samba4: bump version to 4.7.4 Bernd Kuhls
2018-01-07 14:12 ` Thomas Petazzoni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox