summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2012-01-13 15:32:27 +0100
committerAndreas Schneider <asn@cryptomilk.org>2012-01-13 15:32:27 +0100
commit884f7097792869e74a098d77d6084b143e2c538a (patch)
treea702d26a2eb63b64fc6b58025861a507ed4ad6c4
parent2ee3b5d1085f82ebf0853ad3a041774db0b0106b (diff)
downloadsamba4-884f7097792869e74a098d77d6084b143e2c538a.tar.gz
samba4-884f7097792869e74a098d77d6084b143e2c538a.tar.xz
samba4-884f7097792869e74a098d77d6084b143e2c538a.zip
Build more shared modules.
-rw-r--r--samba4.spec11
1 files changed, 8 insertions, 3 deletions
diff --git a/samba4.spec b/samba4.spec
index 6f2544b..a2b8fb3 100644
--- a/samba4.spec
+++ b/samba4.spec
@@ -348,6 +348,13 @@ The samba-dc package provides AD Domain Controller functionality
%define _samba4_libraries heimdal,!tdb,!zlib%_talloc_lib%_tevent_lib%_ldb_lib
+%define _samba4_idmap_modules idmap_ad,idmap_rid,idmap_adex,idmap_hash,idmap_tdb2
+%define _samba4_pdb_modules pdb_tdbsam,pdb_ldap,pdb_ads,pdb_smbpasswd,pdb_wbc_sam,pdb_samba4
+%define _samba4_auth_modules auth_sam,auth_unix,auth_winbind,auth_wbc,auth_server,auth_builtin,auth_netlogond,auth_script,auth_samba4
+# auth_domain needs to be static
+
+%define _samba4_modules %{_samba4_idmap_modules},%{_samba4_pdb_modules},%{_samba4_auth_modules}
+
%configure \
--enable-fhs \
--with-piddir=/var/run \
@@ -357,14 +364,12 @@ The samba-dc package provides AD Domain Controller functionality
--with-lockdir=/var/lib/samba \
--disable-gnutls \
--disable-rpath-install \
- --with-shared-modules=idmap_ad,idmap_rid,idmap_adex,idmap_hash,idmap_tdb2,pdb_tdbsam,pdb_ads,pdb_smbpasswd,pdb_wbc_sam,pdb_samba4 \
+ --with-shared-modules=%{_samba4_modules} \
--builtin-libraries=ccan \
--bundled-libraries=%{_samba4_libraries} \
%if ! %with_pam_smbpass
--without-pam_smbpass
%endif
-# --with-shared-modules=idmap_ad,idmap_rid,idmap_adex,idmap_hash,idmap_tdb2,pdb_tdbsam,pdb_ldap,pdb_ads,pdb_smbpasswd,pdb_wbc_sam,pdb_samba4 \
-# --bundled-libraries=heimdal,!talloc,!tdb,!tevent,!ldb,!zlib
# --with-modulesdir=%{_libdir}/{name} \
# --with-lockdir=/var/lib/%{name} \