summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-04-29 11:40:18 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2014-04-29 11:40:18 +0200
commit77826cce54a79049a8fb009c454518a849bd575d (patch)
tree27101b7b76713488835a8c40bcaaec49c1371e3b /package
parent7a10f4931bad2ef02fcf41e6d83d7b3e843f7ce2 (diff)
finetune package
Diffstat (limited to 'package')
-rw-r--r--package/samba/Makefile4
-rw-r--r--package/samba/files/smb.conf6
-rw-r--r--package/samba/files/swat.postinst6
3 files changed, 6 insertions, 10 deletions
diff --git a/package/samba/Makefile b/package/samba/Makefile
index 7279063b9..ab3334163 100644
--- a/package/samba/Makefile
+++ b/package/samba/Makefile
@@ -5,7 +5,7 @@ include ${TOPDIR}/rules.mk
PKG_NAME:= samba
PKG_VERSION:= 3.6.23
-PKG_RELEASE:= 2
+PKG_RELEASE:= 3
PKG_MD5SUM:= 2f7aee1dc5d31aefcb364600915b31dc
PKG_DESCR:= NetBIOS/SMB file and print server
PKG_SECTION:= net/fs
@@ -14,6 +14,8 @@ PKG_DEPENDS:= samba-lib libuuid libpopt
PKG_URL:= http://www.samba.org/
PKG_SITES:= http://samba.org/samba/ftp/stable/
+PKG_CFLINE_SAMBA:= select ADK_KERNEL_INOTIFY_USER
+
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
PKG_SUBPKGS:= SAMBA SAMBA_CLIENT SAMBA_PASSWD SAMBA_LIB
diff --git a/package/samba/files/smb.conf b/package/samba/files/smb.conf
index 90ebf2bb4..8cae4dc2c 100644
--- a/package/samba/files/smb.conf
+++ b/package/samba/files/smb.conf
@@ -1,12 +1,12 @@
[global]
- syslog = 3
+ syslog = 2
syslog only = yes
- log level = 2
+ log level = 1
workgroup = OpenADK
server string = OpenADK Samba Server
security = user
encrypt passwords = yes
- guest account = root
+ guest account = nobody
local master = yes
name resolve order = hosts bcast
pid directory = /var/run/samba
diff --git a/package/samba/files/swat.postinst b/package/samba/files/swat.postinst
deleted file mode 100644
index 85c2d226e..000000000
--- a/package/samba/files/swat.postinst
+++ /dev/null
@@ -1,6 +0,0 @@
-#!/bin/sh
-. $IPKG_INSTROOT/etc/functions.sh
-add_service swat 901/tcp
-grep -qe '^swat ' -e '^#swat ' $IPKG_INSTROOT/etc/inetd.conf 2>&- || \
- echo '#swat stream tcp nowait.400 root /usr/bin/swat swat' \
- >>$IPKG_INSTROOT/etc/inetd.conf