flatpak: Fix the build of samba

Since 4.10, Samba supports python3. Therefore we updated "Samba"
here. That required us to bundle lmdb since it is a samba build
dependency. See
https://wiki.samba.org/index.php/Samba_4.10_Features_added/changed

We also disable pam and json to speedup the build and require
less bundled dependencies.
This commit is contained in:
Felipe Borges 2019-10-08 18:08:22 +02:00 committed by Robert Ancell
parent b0008e61a0
commit 3f3384c42c

View file

@ -493,13 +493,32 @@
]
},
{
"name" : "samba",
"buildsystem" : "autotools",
"name" : "lmdb",
"buildsystem" : "simple",
"build-commands" : [
"cd libraries/liblmdb/ && make prefix=/app install"
],
"sources" : [
{
"type" : "archive",
"url" : "https://download.samba.org/pub/samba/stable/samba-4.8.1.tar.gz",
"sha256" : "8ef7367507f16b7a5e2f6aed5bcdbd1143feca79aa2a07c9b21292b17d7f789d"
"url" : "https://github.com/LMDB/lmdb/archive/LMDB_0.9.23.tar.gz",
"sha256" : "abf42e91f046787ed642d9eb21812a5c473f3ba5854124484d16eadbe0aa9c81"
}
]
},
{
"name" : "samba",
"buildsystem" : "autotools",
"config-opts" : [
"--without-json",
"--without-ad-dc",
"--without-pam"
],
"sources" : [
{
"type" : "archive",
"url" : "https://download.samba.org/pub/samba/stable/samba-4.11.0.tar.gz",
"sha256" : "6adf1c74afff1f3f7e14060cc5a36111a6721d644ea51ed1b22da46051e48e9c"
}
]
},