summaryrefslogtreecommitdiff
path: root/recipes/samba/samba-basic.inc
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/samba/samba-basic.inc')
-rw-r--r--recipes/samba/samba-basic.inc24
1 files changed, 24 insertions, 0 deletions
diff --git a/recipes/samba/samba-basic.inc b/recipes/samba/samba-basic.inc
new file mode 100644
index 0000000000..f1bda65286
--- /dev/null
+++ b/recipes/samba/samba-basic.inc
@@ -0,0 +1,24 @@
+SRC_URI += "file://config-lfs.patch;patch=1 \
+ file://quota.patch;patch=1;pnum=0 \
+ "
+
+EXTRA_OECONF += "\
+ --without-ads \
+ --without-winbind \
+ --without-ldap \
+ --without-krb5"
+
+PACKAGES =+ "libsmbclient libsmbclient-dev cifs cifs-doc swat"
+
+RCONFLICTS_${PN} = "samba-ads"
+RCONFLICTS_libsmbclient = "libsmbclient-ads"
+RCONFLICTS_libsmbclient-dev = "libsmbclient-ads-dev"
+RCONFLICTS_cifs = "cifs-ads"
+RCONFLICTS_cifs-doc = "cifs-ads-doc"
+RCONFLICTS_swat = "swat-ads"
+
+FILES_cifs = "${base_sbindir}/mount.cifs ${base_sbindir}/umount.cifs"
+FILES_cifs-doc = "${mandir}/man8/mount.cifs.8 ${mandir}/man8/umount.cifs.8"
+FILES_libsmbclient = "${libdir}/libsmbclient.so.*"
+FILES_libsmbclient-dev = "${libdir}/libsmbclient.so ${includedir}"
+FILES_swat = "${sbindir}/swat ${datadir}/swat ${libdir}/*.msg"