diff options
author | Oyvind Repvik <nail@nslu2-linux.org> | 2006-09-02 17:57:34 +0000 |
---|---|---|
committer | Oyvind Repvik <nail@nslu2-linux.org> | 2006-09-02 17:57:34 +0000 |
commit | db39c0f2f3257233b415fa9443eae90a471e29af (patch) | |
tree | ec37515ce0826a3a54f9c5e92ba511cb17685d99 | |
parent | 358f48301ec25e4f35daf798eb41cfd767f2cab8 (diff) |
samba: Remove duplicate files
-rw-r--r-- | packages/samba/samba-3.0.23c/Managing-Samba.txt | 40 | ||||
-rw-r--r-- | packages/samba/samba-3.0.23c/cifs.patch | 10 | ||||
-rw-r--r-- | packages/samba/samba-3.0.23c/config-lfs.patch | 47 | ||||
-rw-r--r-- | packages/samba/samba-3.0.23c/init | 58 | ||||
-rw-r--r-- | packages/samba/samba-3.0.23c/init-essential | 68 | ||||
-rw-r--r-- | packages/samba/samba-3.0.23c/quota.patch | 11 | ||||
-rw-r--r-- | packages/samba/samba-3.0.23c/smb-essential-inactive.conf | 34 | ||||
-rw-r--r-- | packages/samba/samba-3.0.23c/smb-essential.conf | 82 |
8 files changed, 0 insertions, 350 deletions
diff --git a/packages/samba/samba-3.0.23c/Managing-Samba.txt b/packages/samba/samba-3.0.23c/Managing-Samba.txt deleted file mode 100644 index 01f7592824..0000000000 --- a/packages/samba/samba-3.0.23c/Managing-Samba.txt +++ /dev/null @@ -1,40 +0,0 @@ -This device is running a bare-bone Samba server which allows easy
-transfer of files and directories between any networked desktop PC and
-your networked PDA.
-
-Since it is generally a bad idea to allow everyone read and write access
-to your PDA, you will have to configure at least one user to get access to
-any shared folder.
-
-How to create a Samba user with password:
-
-- If you haven't already created a non-root user, do so now:
- root@poodle:/usr/bin# adduser testuser
- Changing password for testuser
- Enter the new password (minimum of 5, maximum of 8 characters)
- Please use a combination of upper and lower case letters and numbers.
- Enter new password:
- Bad password: too short.
-
- Warning: weak password (continuing).
- Re-enter new password:
- Password changed.
- root@poodle:/usr/bin#
-
-- Note that the password you entered will _not_ be your samba password.
- Samba uses its own password database.
-
-- Add a Samba password for your user:
- root@poodle:/usr/bin# smbpasswd -a testuser
- New SMB password:
- Retype new SMB password:
- Added user testuser.
- root@poodle:/usr/bin#
-
-- After you have added your new samba user, you'll have to restart the samba
- server by running "/etc/init.d/samba restart" or by rebooting the device
-
-- Use the newly created username / password combination to access your network
- shares. Please note the the Samba username must also exist as a unix username!
-
-
diff --git a/packages/samba/samba-3.0.23c/cifs.patch b/packages/samba/samba-3.0.23c/cifs.patch deleted file mode 100644 index ee6dab567f..0000000000 --- a/packages/samba/samba-3.0.23c/cifs.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- source/client/mount.cifs.c.old 2004-11-28 02:33:52.000000000 +1030 -+++ source/client/mount.cifs.c 2004-11-28 02:33:59.000000000 +1030 -@@ -36,6 +36,7 @@ - #include <string.h> - #include <mntent.h> - #include <fcntl.h> -+#include <linux/limits.h> - - #define MOUNT_CIFS_VERSION_MAJOR "1" - #define MOUNT_CIFS_VERSION_MINOR "2" diff --git a/packages/samba/samba-3.0.23c/config-lfs.patch b/packages/samba/samba-3.0.23c/config-lfs.patch deleted file mode 100644 index b37ed690ce..0000000000 --- a/packages/samba/samba-3.0.23c/config-lfs.patch +++ /dev/null @@ -1,47 +0,0 @@ -Cache the check for Linux LFS support, so it can be prepopulated from -the site cache for configure variables for cross-compiling. Without this, -samba gets the idea that it can use dirent64 and friends without defining -the flags it needs to get it, such as _GNU_SOURCE and _LARGEFILE64_SOURCE. - -Symptoms of getting the configuration wrong on cross-compile inculde -warnings such as - - smbd/trans2.c: In function `get_lanman2_dir_entry': - smbd/trans2.c:1065: warning: right shift count >= width of type - -and errors like - - smbd/vfs.c:630: error: dereferencing pointer to incomplete type - -(when trying to dereference dirent64.) - ---- source/configure.in.orig 2005-05-29 14:46:18.000000000 -0700 -+++ source/configure.in 2005-05-29 14:51:57.000000000 -0700 -@@ -588,7 +588,7 @@ - # Tests for linux LFS support. Need kernel 2.4 and glibc2.2 or greater support. - # - *linux*) -- AC_MSG_CHECKING([for LFS support]) -+ AC_CACHE_CHECK([for LFS support], samba_cv_LINUX_LFS_SUPPORT,[ - old_CPPFLAGS="$CPPFLAGS" - CPPFLAGS="-D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE $CPPFLAGS" - AC_TRY_RUN([ -@@ -627,15 +627,14 @@ - exit(1); - #endif - } --], [LINUX_LFS_SUPPORT=yes], [LINUX_LFS_SUPPORT=no], [LINUX_LFS_SUPPORT=cross]) -- CPPFLAGS="$old_CPPFLAGS" -- if test x$LINUX_LFS_SUPPORT = xyes ; then -+], [samba_cv_LINUX_LFS_SUPPORT=yes], [samba_cv_LINUX_LFS_SUPPORT=no], [samba_cv_LINUX_LFS_SUPPORT=cross]) -+ CPPFLAGS="$old_CPPFLAGS"]) -+ if test x"$samba_cv_LINUX_LFS_SUPPORT" = x"yes" ; then - CPPFLAGS="-D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE $CPPFLAGS" - AC_DEFINE(_LARGEFILE64_SOURCE, 1, [Whether to enable large file support]) - AC_DEFINE(_FILE_OFFSET_BITS, 64, [File offset bits]) - AC_DEFINE(_GNU_SOURCE, 1, [Whether to use GNU libc extensions]) - fi -- AC_MSG_RESULT([$LINUX_LFS_SUPPORT]) - ;; - - # diff --git a/packages/samba/samba-3.0.23c/init b/packages/samba/samba-3.0.23c/init deleted file mode 100644 index cb57b17de4..0000000000 --- a/packages/samba/samba-3.0.23c/init +++ /dev/null @@ -1,58 +0,0 @@ -#! /bin/sh -# -# This is an init script for openembedded -# Copy it to /etc/init.d/samba and type -# > update-rc.d samba defaults 60 -# - - -smbd=/usr/sbin/smbd -test -x "$smbd" || exit 0 -nmbd=/usr/sbin/nmbd -test -x "$nmbd" || exit 0 - - -case "$1" in - start) - echo -n "Starting Samba: smbd" - start-stop-daemon --start --quiet --exec $smbd - echo -n " nmbd" - start-stop-daemon --start --quiet --exec $nmbd - echo "." - ;; - stop) - echo -n "Stopping Samba: smbd" - start-stop-daemon --stop --quiet --pidfile /var/run/smbd.pid - echo -n " nmbd" - start-stop-daemon --stop --quiet --pidfile /var/run/nmbd.pid - echo "." - ;; - reload|force-reload) - start-stop-daemon --stop --quiet --signal 1 --exec $smbd - start-stop-daemon --stop --quiet --signal 1 --exec $nmbd - ;; - restart) - echo -n "Stopping Samba: smbd" - start-stop-daemon --stop --quiet --pidfile /var/run/smbd.pid - echo -n " nmbd" - start-stop-daemon --stop --quiet --pidfile /var/run/nmbd.pid - echo "" - echo -n "Waiting for samba processes to die off" - for i in 1 2 3 ; - do - sleep 1 - echo -n "." - done - echo "" - echo -n "Starting Samba: smbd" - start-stop-daemon --start --quiet --exec $smbd - echo -n " nmbd" - start-stop-daemon --start --quiet --exec $nmbd - echo "." - ;; - *) - echo "Usage: /etc/init.d/samba {start|stop|reload|restart|force-reload}" - exit 1 -esac - -exit 0
\ No newline at end of file diff --git a/packages/samba/samba-3.0.23c/init-essential b/packages/samba/samba-3.0.23c/init-essential deleted file mode 100644 index 59184ce733..0000000000 --- a/packages/samba/samba-3.0.23c/init-essential +++ /dev/null @@ -1,68 +0,0 @@ -#! /bin/sh -# -# This is an init script for openembedded -# Copy it to /etc/init.d/samba and type -# > update-rc.d samba defaults 60 -# - - -smbd=/usr/sbin/smbd -test -x "$smbd" || exit 0 -nmbd=/usr/sbin/nmbd -test -x "$nmbd" || exit 0 - - -if test -e /etc/samba/private/smbpasswd -then - if test -n "`cat /etc/samba/private/smbpasswd`" - then - CONFIG_FILE="/etc/samba/smb.conf" - fi -fi - -test -z "$CONFIG_FILE" && CONFIG_FILE="/etc/samba/smb-essential-inactive.conf" - -case "$1" in - start) - echo -n "Starting Samba: smbd" - start-stop-daemon --start --quiet --exec $smbd -- -s $CONFIG_FILE - echo -n " nmbd" - start-stop-daemon --start --quiet --exec $nmbd -- -s $CONFIG_FILE - echo "." - ;; - stop) - echo -n "Stopping Samba: smbd" - start-stop-daemon --stop --quiet --pidfile /var/run/smbd.pid - echo -n " nmbd" - start-stop-daemon --stop --quiet --pidfile /var/run/nmbd.pid - echo "." - ;; - reload|force-reload) - start-stop-daemon --stop --quiet --signal 1 --exec $smbd -- -s $CONFIG_FILE - start-stop-daemon --stop --quiet --signal 1 --exec $nmbd -- -s $CONFIG_FILE - ;; - restart) - echo -n "Stopping Samba: smbd" - start-stop-daemon --stop --quiet --pidfile /var/run/smbd.pid - echo -n " nmbd" - start-stop-daemon --stop --quiet --pidfile /var/run/nmbd.pid - echo "" - echo -n "Waiting for samba processes to die off" - for i in 1 2 3 ; - do - sleep 1 - echo -n "." - done - echo "" - echo -n "Starting Samba: smbd" - start-stop-daemon --start --quiet --exec $smbd -- -s $CONFIG_FILE - echo -n " nmbd" - start-stop-daemon --start --quiet --exec $nmbd -- -s $CONFIG_FILE - echo "." - ;; - *) - echo "Usage: /etc/init.d/samba {start|stop|reload|restart|force-reload}" - exit 1 -esac - -exit 0 diff --git a/packages/samba/samba-3.0.23c/quota.patch b/packages/samba/samba-3.0.23c/quota.patch deleted file mode 100644 index 6f42ff868f..0000000000 --- a/packages/samba/samba-3.0.23c/quota.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- lib/sysquotas_4A.c.old 2005-07-03 17:16:00.000000000 +0200 -+++ lib/sysquotas_4A.c 2005-07-03 17:10:09.000000000 +0200 -@@ -28,6 +28,8 @@ - /* long quotactl(int cmd, char *special, qid_t id, caddr_t addr) */ - /* this is used by: HPUX,IRIX */ - -+ #define _LINUX_QUOTA_VERSION 1 -+ - #ifdef HAVE_SYS_TYPES_H - #include <sys/types.h> - #endif diff --git a/packages/samba/samba-3.0.23c/smb-essential-inactive.conf b/packages/samba/samba-3.0.23c/smb-essential-inactive.conf deleted file mode 100644 index d42d63cb9a..0000000000 --- a/packages/samba/samba-3.0.23c/smb-essential-inactive.conf +++ /dev/null @@ -1,34 +0,0 @@ - - -[global] - workgroup = MYWORKGROUP - server string = OpenZaurus Samba Server - - netbios name = %L-INACTIVE - - security = share - - load printers = no - - socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 - - dns proxy = yes - - -#============================ Share Definitions ============================== - -[Samba-Help] - comment = How to enable Samba - path = /usr/share/samba/help - writable = no - public = yes - printable = no - -[printers] - comment = All Printers - path = /usr/spool/samba - guest ok = no - writable = no - printable = yes - browseable = no - diff --git a/packages/samba/samba-3.0.23c/smb-essential.conf b/packages/samba/samba-3.0.23c/smb-essential.conf deleted file mode 100644 index 24cb2a56cb..0000000000 --- a/packages/samba/samba-3.0.23c/smb-essential.conf +++ /dev/null @@ -1,82 +0,0 @@ - - -[global] - workgroup = MYWORKGROUP - server string = OpenZaurus Samba Server - - security = user - - load printers = no - -; guest account = pcguest - - log file = /var/log.%m - - max log size = 50 - - socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 - - dns proxy = yes - - -#============================ Share Definitions ============================== -[homes] - comment = Home Directory for %U - browseable = no - writable = yes - follow symlinks = yes - include = /etc/test.%U - -# This one is useful for people to share files -;[tmp] -; comment = Temporary file space -; path = /tmp -; read only = no -; public = yes - -[printers] - comment = All Printers - path = /usr/spool/samba - guest ok = no - writable = no - printable = yes - browseable = no - -[CompactFlash] - comment = Compact Flash Storage - path = /media/cf - writable = yes - printable = no - public = no - -[SD-MMC] - comment = SD & MMC Storage - path = /media/card - writable = yes - printable = no - public = no - -[RootFS] - comment = Zaurus Rootfs - path = / - writable = yes - printable = no - public = no - follow symlinks = yes - -[Home] - comment = "User Home Directories" - path = /home - writable = yes - printable = no - public = no - follow symlinks = yes - -[Samba-Help] - comment = How to configure Samba - path = /usr/share/samba/help - writable = no - public = yes - printable = no - - |