samba: Remove duplicate files
authorOyvind Repvik <nail@nslu2-linux.org>
Sat, 2 Sep 2006 17:57:34 +0000 (17:57 +0000)
committerOyvind Repvik <nail@nslu2-linux.org>
Sat, 2 Sep 2006 17:57:34 +0000 (17:57 +0000)
packages/samba/samba-3.0.23c/Managing-Samba.txt [deleted file]
packages/samba/samba-3.0.23c/cifs.patch [deleted file]
packages/samba/samba-3.0.23c/config-lfs.patch [deleted file]
packages/samba/samba-3.0.23c/init [deleted file]
packages/samba/samba-3.0.23c/init-essential [deleted file]
packages/samba/samba-3.0.23c/quota.patch [deleted file]
packages/samba/samba-3.0.23c/smb-essential-inactive.conf [deleted file]
packages/samba/samba-3.0.23c/smb-essential.conf [deleted file]

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 (file)
index 01f7592..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-This device is running a bare-bone Samba server which allows easy\r
-transfer of files and directories between any networked desktop PC and\r
-your networked PDA.\r
-\r
-Since it is generally a bad idea to allow everyone read and write access\r
-to your PDA, you will have to configure at least one user to get access to\r
-any shared folder.\r
-\r
-How to create a Samba user with password:\r
-\r
-- If you haven't already created a non-root user, do so now:\r
-       root@poodle:/usr/bin# adduser testuser\r
-       Changing password for testuser\r
-       Enter the new password (minimum of 5, maximum of 8 characters)\r
-       Please use a combination of upper and lower case letters and numbers.\r
-       Enter new password: \r
-       Bad password: too short.\r
-\r
-       Warning: weak password (continuing).\r
-       Re-enter new password: \r
-       Password changed.\r
-       root@poodle:/usr/bin# \r
-       \r
-- Note that the password you entered will _not_ be your samba password.\r
-  Samba uses its own password database.\r
-  \r
-- Add a Samba password for your user:\r
-       root@poodle:/usr/bin# smbpasswd -a testuser\r
-       New SMB password:\r
-       Retype new SMB password:\r
-       Added user testuser.\r
-       root@poodle:/usr/bin# \r
-\r
-- After you have added your new samba user, you'll have to restart the samba\r
-  server by running "/etc/init.d/samba restart" or by rebooting the device\r
-  \r
-- Use the newly created username / password combination to access your network\r
-  shares. Please note the the Samba username must also exist as a unix username!\r
-  \r
-  \r
diff --git a/packages/samba/samba-3.0.23c/cifs.patch b/packages/samba/samba-3.0.23c/cifs.patch
deleted file mode 100644 (file)
index ee6dab5..0000000
+++ /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 (file)
index b37ed69..0000000
+++ /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 (file)
index cb57b17..0000000
+++ /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 (file)
index 59184ce..0000000
+++ /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 (file)
index 6f42ff8..0000000
+++ /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 (file)
index d42d63c..0000000
+++ /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 (file)
index 24cb2a5..0000000
+++ /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  
-  
-