summaryrefslogtreecommitdiffstats
path: root/rules/samba.in
diff options
context:
space:
mode:
authorMarc Kleine-Budde <mkl@pengutronix.de>2009-07-15 22:19:41 +0000
committerMarc Kleine-Budde <mkl@pengutronix.de>2009-07-15 22:19:41 +0000
commitd849e1ebdf7929494b075693c86026633a2cfaac (patch)
tree4cbc0ff3e09527eb621affee24aecb727441c321 /rules/samba.in
parente76e1a908db3d39f48deb6cf7f5e33f20fa89b22 (diff)
downloadptxdist-d849e1ebdf7929494b075693c86026633a2cfaac.tar.gz
ptxdist-d849e1ebdf7929494b075693c86026633a2cfaac.tar.xz
[samba] rework + version bump to 3.0.35
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@10963 33e552b5-05e3-0310-8538-816dae2090ed
Diffstat (limited to 'rules/samba.in')
-rw-r--r--rules/samba.in149
1 files changed, 67 insertions, 82 deletions
diff --git a/rules/samba.in b/rules/samba.in
index 9c5c18aed..f41b8c820 100644
--- a/rules/samba.in
+++ b/rules/samba.in
@@ -1,11 +1,11 @@
## SECTION=disk_and_file
-# samba configuration
menuconfig SAMBA
tristate
prompt "samba "
select LIBC_NSL
select LIBC_RESOLV
+ select READLINE
select BUSYBOX_START_STOP_DAEMON if SAMBA_STARTSCRIPT
help
Samba is an Open Source/Free Software suite that has, since
@@ -84,86 +84,71 @@ menuconfig SAMBA
if SAMBA
- config SAMBA_COMMON
- bool
- default y
- prompt "Samba common files"
- help
- Install smbd daemon on target.
-
- config ROOTFS_ETC_SAMBA_CONFIG
- bool
- depends on SAMBA_SERVER
- choice
- prompt "Kind of samba config file"
- depends on SAMBA_COMMON
- default ROOTFS_ETC_SAMBA_CONFIG_DEFAULT
-
- config ROOTFS_ETC_SAMBA_CONFIG_DEFAULT
- bool
- prompt "Use generic"
- help
- Installs a generic /etc/samba/smb.conf file.
-
- config ROOTFS_ETC_SAMBA_CONFIG_USER
- bool
- prompt "User defined"
- help
- This uses a user defined config file. Will use
- the file out of projectroot/etc/samba/smb.conf
- endchoice
-
- config SAMBA_SERVER
- bool
- select SAMBA_COMMON
- prompt "Samba server"
- help
- Installs samba server. ATTENTION: You need rw access to your
- rootfs before starting the samba server!
-
- config ROOTFS_ETC_SAMBA_SECRETS_USER
- bool
- depends on SAMBA_SERVER
- prompt "User defined smb password Database"
- help
- This will install the /etc/samba/secrets.tdb from
- projectroot/etc/samba/secrets.tdb. If you wish to run samba
- in user security level and use you own userdatabase. You will
- have to enable this. If you say n here. The samba server will
- generates his own secrets.tdb after initialisation.
-
- config SAMBA_CLIENT
- bool
- select SAMBA_COMMON
- prompt "Samba client"
- help
- Installs some client components of the Samba suite.
-
- config SAMBA_LIBCLIENT
- bool
- select SAMBA_COMMON
- prompt "Samba client library"
- help
- Installs the libsmbclient shared library.
-
- config SAMBA_SMBFS
- bool
- select SAMBA_COMMON
- prompt "Samba file system"
- help
- Enables the sytem to mount windows share via SMB protocol
-
- config SAMBA_CUPS
- bool
- depends on BROKEN
- prompt "cups support"
- help
- Turn on CUPS support
-
- config SAMBA_STARTSCRIPT
- bool
- default y
- depends on SAMBA_SERVER
- prompt "install /etc/init.d/samba"
+config SAMBA_COMMON
+ bool
+ default y
+ prompt "Samba common files"
+ help
+ Install common samba files.
+
+config SAMBA_SMB_CONF
+ bool
+ default y
+ prompt "install /etc/samba/smb.conf"
+
+config SAMBA_SERVER
+ bool
+ select SAMBA_COMMON
+ prompt "Samba server"
+ help
+ Installs samba server. ATTENTION: You need rw access to your
+ rootfs before starting the samba server!
+
+if SAMBA_SERVER
+
+config SAMBA_SECRETS_USER
+ bool
+ prompt "User defined smb password Database"
+ help
+ This will install the /etc/samba/secrets.tdb from
+ projectroot/etc/samba/secrets.tdb. If you wish to run samba
+ in user security level and use you own userdatabase. You will
+ have to enable this. If you say n here. The samba server will
+ generates his own secrets.tdb after initialisation.
+endif
+
+config SAMBA_CLIENT
+ bool
+ select SAMBA_COMMON
+ prompt "Samba client"
+ help
+ Installs some client components of the Samba suite.
+
+config SAMBA_LIBCLIENT
+ bool
+ select SAMBA_COMMON
+ prompt "Samba client library"
+ help
+ Installs the libsmbclient shared library.
+
+config SAMBA_SMBFS
+ bool
+ select SAMBA_COMMON
+ prompt "Samba file system"
+ help
+ Enables the sytem to mount windows share via SMB protocol
+
+config SAMBA_CUPS
+ bool
+ depends on BROKEN
+ prompt "cups support"
+ help
+ Turn on CUPS support
+
+config SAMBA_STARTSCRIPT
+ bool
+ default y
+ depends on SAMBA_SERVER
+ prompt "install /etc/init.d/samba"
endif