wok-next rev 2287
*-pam: remove duplicate stuff/
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Feb 21 21:46:09 2009 +0000 (2009-02-21) |
parents | 297964ebacad |
children | 62384d6ba510 |
files | cyrus-sasl-pam/receipt cyrus-sasl-pam/stuff/etc/init.d/cyrus-sasl dropbear-pam/receipt dropbear-pam/stuff/dropbear/banner dropbear-pam/stuff/init.d/dropbear netatalk-pam/receipt netatalk-pam/stuff/netatalk-2.0.3-newer-db.patch openssh-pam/receipt openssh-pam/stuff/openssh pure-ftpd-pam/receipt pure-ftpd-pam/stuff/pure-ftpd samba-pam/receipt samba-pam/stuff/etc/init.d/samba samba-pam/stuff/etc/samba/smb.conf samba-pam/stuff/smbclient.files-list sudo-pam/receipt sudo-pam/stuff/sudoers |
line diff
1.1 --- a/cyrus-sasl-pam/receipt Sat Feb 21 21:27:14 2009 +0000 1.2 +++ b/cyrus-sasl-pam/receipt Sat Feb 21 21:46:09 2009 +0000 1.3 @@ -31,5 +31,5 @@ 1.4 cp -a $_pkg/usr/sbin $fs/usr 1.5 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib 1.6 cp -a $_pkg/usr/lib/sasl2/*.so* $fs/usr/lib/sasl2 1.7 - cp -a stuff/etc $fs 1.8 + cp -a ../$SOURCE/stuff/etc $fs 1.9 }
2.1 --- a/cyrus-sasl-pam/stuff/etc/init.d/cyrus-sasl Sat Feb 21 21:27:14 2009 +0000 2.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 2.3 @@ -1,56 +0,0 @@ 2.4 -#!/bin/sh 2.5 -# /etc/init.d/cyrus-sasl : Start, stop and restart SASL server on SliTaz, at 2.6 -# boot time or with the command line. 2.7 -# 2.8 -# To start SASL server at boot time, just put cyrus-sasl in the $RUN_DAEMONS 2.9 -# variable of /etc/rcS.conf and configure options with /etc/daemons.conf 2.10 -# 2.11 -. /etc/init.d/rc.functions 2.12 -. /etc/daemons.conf 2.13 - 2.14 -NAME=cyrus-sasl 2.15 -DESC="SASL server" 2.16 -DAEMON=/usr/sbin/saslauthd 2.17 -OPTIONS=$CYRUS_OPTIONS 2.18 -PIDFILE=/var/state/saslauthd/saslauthd.pid 2.19 -[ -n "$OPTIONS" ] || OPTIONS="-a shadow" 2.20 - 2.21 -case "$1" in 2.22 - start) 2.23 - if [ -f $PIDFILE ] ; then 2.24 - echo "$NAME already running." 2.25 - exit 1 2.26 - fi 2.27 - echo -n "Starting $DESC: $NAME... " 2.28 - $DAEMON $OPTIONS 2.29 - status 2.30 - ;; 2.31 - stop) 2.32 - if [ ! -f $PIDFILE ] ; then 2.33 - echo "$NAME is not running." 2.34 - exit 1 2.35 - fi 2.36 - echo -n "Stopping $DESC: $NAME... " 2.37 - kill `cat $PIDFILE` 2.38 - status 2.39 - ;; 2.40 - restart) 2.41 - if [ ! -f $PIDFILE ] ; then 2.42 - echo "$NAME is not running." 2.43 - exit 1 2.44 - fi 2.45 - echo -n "Restarting $DESC: $NAME... " 2.46 - kill `cat $PIDFILE` 2.47 - sleep 2 2.48 - $DAEMON $OPTIONS 2.49 - status 2.50 - ;; 2.51 - *) 2.52 - echo "" 2.53 - echo -e "\033[1mUsage:\033[0m /etc/init.d/`basename $0` [start|stop|restart]" 2.54 - echo "" 2.55 - exit 1 2.56 - ;; 2.57 -esac 2.58 - 2.59 -exit 0
3.1 --- a/dropbear-pam/receipt Sat Feb 21 21:27:14 2009 +0000 3.2 +++ b/dropbear-pam/receipt Sat Feb 21 21:46:09 2009 +0000 3.3 @@ -47,8 +47,8 @@ 3.4 strip -s $fs/usr/sbin/* 3.5 # Config file and init script. 3.6 mkdir -p $fs/etc 3.7 - cp -a stuff/dropbear $fs/etc 3.8 - cp -a stuff/init.d $fs/etc 3.9 + cp -a ../$SOURCE/stuff/dropbear $fs/etc 3.10 + cp -a ../$SOURCE/stuff/init.d $fs/etc 3.11 cp -a stuff/pam.d $fs/etc 3.12 touch $fs/etc/dropbear/dropbear_dss_host_key \ 3.13 $fs/etc/dropbear/dropbear_rsa_host_key
4.1 --- a/dropbear-pam/stuff/dropbear/banner Sat Feb 21 21:27:14 2009 +0000 4.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 4.3 @@ -1,2 +0,0 @@ 4.4 - 4.5 -Secure login on SliTaz GNU/Linux powered by Dropbear SSH server.
5.1 --- a/dropbear-pam/stuff/init.d/dropbear Sat Feb 21 21:27:14 2009 +0000 5.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 5.3 @@ -1,70 +0,0 @@ 5.4 -#!/bin/sh 5.5 -# /etc/init.d/dropbear : Start, stop and restart SSH server on SliTaz, at 5.6 -# boot time or with the command line. 5.7 -# 5.8 -# To start SSH server at boot time, just put dropbear in the $RUN_DAEMONS 5.9 -# variable of /etc/rcS.conf and configure options with /etc/daemons.conf 5.10 -# 5.11 -. /etc/init.d/rc.functions 5.12 -. /etc/daemons.conf 5.13 - 5.14 -NAME=Dropbear 5.15 -DESC="SSH server" 5.16 -DAEMON=/usr/sbin/dropbear 5.17 -OPTIONS=$DROPBEAR_OPTIONS 5.18 -PIDFILE=/var/run/dropbear.pid 5.19 - 5.20 -case "$1" in 5.21 - start) 5.22 - # We need rsa and dss host key file to start dropbear. 5.23 - if [ ! -s /etc/dropbear/dropbear_rsa_host_key ] ; then 5.24 - echo -n "Generating $NAME rsa key... " 5.25 - # Need to delete key before creating it. 5.26 - rm -f /etc/dropbear/dropbear_rsa_host_key 5.27 - dropbearkey -t rsa -f /etc/dropbear/dropbear_rsa_host_key > /dev/null 2>&1 5.28 - status 5.29 - fi 5.30 - if [ ! -s /etc/dropbear/dropbear_dss_host_key ] ; then 5.31 - echo -n "Generating $NAME dss key... " 5.32 - # Need to delete key before creating it. 5.33 - rm -f /etc/dropbear/dropbear_dss_host_key 5.34 - dropbearkey -t dss -f /etc/dropbear/dropbear_dss_host_key > /dev/null 2>&1 5.35 - status 5.36 - fi 5.37 - if [ -f $PIDFILE ] ; then 5.38 - echo "$NAME already running." 5.39 - exit 1 5.40 - fi 5.41 - echo -n "Starting $DESC: $NAME... " 5.42 - $DAEMON $OPTIONS 5.43 - status 5.44 - ;; 5.45 - stop) 5.46 - if [ ! -f $PIDFILE ] ; then 5.47 - echo "$NAME is not running." 5.48 - exit 1 5.49 - fi 5.50 - echo -n "Stopping $DESC: $NAME... " 5.51 - kill `cat $PIDFILE` 5.52 - status 5.53 - ;; 5.54 - restart) 5.55 - if [ ! -f $PIDFILE ] ; then 5.56 - echo "$NAME is not running." 5.57 - exit 1 5.58 - fi 5.59 - echo -n "Restarting $DESC: $NAME... " 5.60 - kill `cat $PIDFILE` 5.61 - sleep 2 5.62 - $DAEMON $OPTIONS 5.63 - status 5.64 - ;; 5.65 - *) 5.66 - echo "" 5.67 - echo -e "\033[1mUsage:\033[0m /etc/init.d/`basename $0` [start|stop|restart]" 5.68 - echo "" 5.69 - exit 1 5.70 - ;; 5.71 -esac 5.72 - 5.73 -exit 0
6.1 --- a/netatalk-pam/receipt Sat Feb 21 21:27:14 2009 +0000 6.2 +++ b/netatalk-pam/receipt Sat Feb 21 21:46:09 2009 +0000 6.3 @@ -19,7 +19,7 @@ 6.4 { 6.5 cd $src 6.6 [ -f done.netatalk-2.0.3-newer-db.patch ] || \ 6.7 - patch -p1 < ../stuff/netatalk-2.0.3-newer-db.patch 6.8 + patch -p1 < ../../$SOURCE/stuff/netatalk-2.0.3-newer-db.patch 6.9 touch done.netatalk-2.0.3-newer-db.patch 6.10 ./configure --with-pam --prefix=/usr --sysconfdir=/etc \ 6.11 --mandir=/usr/share/man $CONFIGURE_ARGS &&
7.1 --- a/netatalk-pam/stuff/netatalk-2.0.3-newer-db.patch Sat Feb 21 21:27:14 2009 +0000 7.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 7.3 @@ -1,94 +0,0 @@ 7.4 -diff -urN netatalk-2.0.3.orig/bin/cnid/cnid_index.c netatalk-2.0.3/bin/cnid/cnid_index.c 7.5 ---- netatalk-2.0.3.orig/bin/cnid/cnid_index.c 2005-04-10 12:49:18.000000000 +0000 7.6 -+++ netatalk-2.0.3/bin/cnid/cnid_index.c 2007-08-11 17:01:38.000000000 +0000 7.7 -@@ -1,5 +1,5 @@ 7.8 - /* 7.9 -- * $Id: cnid_index.c,v 1.1.2.4 2005/04/10 12:49:18 didg Exp $ 7.10 -+ * $Id: cnid_index.c,v 1.1.2.5 2005/09/13 16:57:44 didg Exp $ 7.11 - * 7.12 - * All Rights Reserved. See COPYING. 7.13 - */ 7.14 -@@ -274,7 +274,11 @@ 7.15 - DB_BTREE_STAT *sp; 7.16 - DB *db = db_table[dbi].db; 7.17 - 7.18 -+#if DB_VERSION_MAJOR > 4 || (DB_VERSION_MAJOR == 4 && DB_VERSION_MINOR >= 3) 7.19 -+ ret = db->stat(db, db_txn, &sp, 0); 7.20 -+#else 7.21 - ret = db->stat(db, &sp, 0); 7.22 -+#endif 7.23 - 7.24 - if (ret) { 7.25 - LOG(log_error, logtype_cnid, "error getting stat infotmation on database: %s", db_strerror(errno)); 7.26 -diff -urN netatalk-2.0.3.orig/etc/cnid_dbd/dbif.c netatalk-2.0.3/etc/cnid_dbd/dbif.c 7.27 ---- netatalk-2.0.3.orig/etc/cnid_dbd/dbif.c 2004-12-21 13:36:12.000000000 +0000 7.28 -+++ netatalk-2.0.3/etc/cnid_dbd/dbif.c 2007-08-11 17:10:19.000000000 +0000 7.29 -@@ -1,5 +1,5 @@ 7.30 - /* 7.31 -- * $Id: dbif.c,v 1.1.4.15.2.1 2004/12/21 13:36:12 didg Exp $ 7.32 -+ * $Id: dbif.c,v 1.1.4.15.2.2 2005/09/13 16:57:45 didg Exp $ 7.33 - * 7.34 - * Copyright (C) Joerg Lenneis 2003 7.35 - * All Rights Reserved. See COPYING. 7.36 -@@ -514,7 +514,11 @@ 7.37 - DB_BTREE_STAT *sp; 7.38 - DB *db = db_table[dbi].db; 7.39 - 7.40 -+#if DB_VERSION_MAJOR > 4 || (DB_VERSION_MAJOR == 4 && DB_VERSION_MINOR >= 3) 7.41 -+ ret = db->stat(db, db_txn, &sp, 0); 7.42 -+#else 7.43 - ret = db->stat(db, &sp, 0); 7.44 -+#endif 7.45 - 7.46 - if (ret) { 7.47 - LOG(log_error, logtype_cnid, "error getting stat infotmation on database: %s", db_strerror(errno)); 7.48 -diff -urN netatalk-2.0.3.orig/macros/db3-check.m4 netatalk-2.0.3/macros/db3-check.m4 7.49 ---- netatalk-2.0.3.orig/macros/db3-check.m4 2004-08-11 03:01:11.000000000 +0000 7.50 -+++ netatalk-2.0.3/macros/db3-check.m4 2007-08-11 16:57:02.000000000 +0000 7.51 -@@ -1,4 +1,4 @@ 7.52 --dnl $Id: db3-check.m4,v 1.11.6.9 2004/08/11 03:01:11 bfernhomberg Exp $ 7.53 -+dnl $Id: db3-check.m4,v 1.11.6.9.2.2 2006/09/09 01:36:39 didg Exp $ 7.54 - dnl Autoconf macros to check for the Berkeley DB library 7.55 - 7.56 - 7.57 -@@ -111,7 +111,12 @@ 7.58 - CFLAGS="$savedcflags" 7.59 - ]) 7.60 - 7.61 -- 7.62 -+dnl I don't understand this stuff below 7.63 -+dnl AFAIK it works for 4.1 and 4.2 and (4.3 xor 4.4) 7.64 -+dnl you can have 4.2 and 4.3 installed 7.65 -+dnl but If you have 4.3 and 4.4 it won't work with 4.3 7.66 -+dnl only 4.4 7.67 -+dnl didier 7.68 - AC_DEFUN([NETATALK_BERKELEY_LINK], 7.69 - [ 7.70 - atalk_cv_lib_db=no 7.71 -@@ -119,6 +124,17 @@ 7.72 - NETATALK_BDB_LINK_TRY(atalk_cv_db_db42,[-ldb42]) 7.73 - NETATALK_BDB_LINK_TRY(atalk_cv_db_db_42,[-ldb-42]) 7.74 - NETATALK_BDB_LINK_TRY(atalk_cv_db_db_4_2,[-ldb-4-2]) 7.75 -+ 7.76 -+NETATALK_BDB_LINK_TRY(atalk_cv_db_db_4_dot_2,[-ldb-4.4]) 7.77 -+NETATALK_BDB_LINK_TRY(atalk_cv_db_db42,[-ldb44]) 7.78 -+NETATALK_BDB_LINK_TRY(atalk_cv_db_db_42,[-ldb-44]) 7.79 -+NETATALK_BDB_LINK_TRY(atalk_cv_db_db_4_2,[-ldb-4-4]) 7.80 -+ 7.81 -+NETATALK_BDB_LINK_TRY(atalk_cv_db_db_4_dot_2,[-ldb-4.3]) 7.82 -+NETATALK_BDB_LINK_TRY(atalk_cv_db_db42,[-ldb43]) 7.83 -+NETATALK_BDB_LINK_TRY(atalk_cv_db_db_42,[-ldb-43]) 7.84 -+NETATALK_BDB_LINK_TRY(atalk_cv_db_db_4_2,[-ldb-4-3]) 7.85 -+ 7.86 - NETATALK_BDB_LINK_TRY(atalk_cv_db_db_4_dot_1,[-ldb-4.1]) 7.87 - NETATALK_BDB_LINK_TRY(atalk_cv_db_db41,[-ldb41]) 7.88 - NETATALK_BDB_LINK_TRY(atalk_cv_db_db_41,[-ldb-41]) 7.89 -@@ -134,7 +150,7 @@ 7.90 - trybdbdir="" 7.91 - dobdbsearch=yes 7.92 - bdb_search_dirs="/usr/local/include /usr/include" 7.93 -- search_subdirs="/db4.2 /db42 /db4.1 /db41 /db4 /" 7.94 -+ search_subdirs="/db4.2 /db42 /db4.3 /db43 /db4.4 /db44 /db4.1 /db41 /db4 /" 7.95 - 7.96 - dnl required BDB version 7.97 - DB_MAJOR_REQ=4
8.1 --- a/openssh-pam/receipt Sat Feb 21 21:27:14 2009 +0000 8.2 +++ b/openssh-pam/receipt Sat Feb 21 21:46:09 2009 +0000 8.3 @@ -32,6 +32,6 @@ 8.4 cp -a $_pkg/usr/share/Ssh.bin $fs/usr/share 8.5 cp -a $_pkg/usr/sbin $_pkg/usr/bin $fs/usr 8.6 cp -a $_pkg/etc $fs 8.7 - cp stuff/openssh $fs/etc/init.d 8.8 + cp ../$SOURCE/stuff/openssh $fs/etc/init.d 8.9 } 8.10
9.1 --- a/openssh-pam/stuff/openssh Sat Feb 21 21:27:14 2009 +0000 9.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 9.3 @@ -1,64 +0,0 @@ 9.4 -#!/bin/sh 9.5 -# /etc/init.d/openssh : Start, stop and restart OpenSSH server on SliTaz, at 9.6 -# boot time or with the command line. 9.7 -# 9.8 -# To start OpenSSH server at boot time, just put openssh in the $RUN_DAEMONS 9.9 -# variable of /etc/rcS.conf and configure options with /etc/daemons.conf 9.10 -# 9.11 -. /etc/init.d/rc.functions 9.12 -. /etc/daemons.conf 9.13 - 9.14 -NAME=OpenSSH 9.15 -DESC="OpenSSH server" 9.16 -DAEMON=/usr/sbin/sshd 9.17 -OPTIONS=$OPENSSH_OPTIONS 9.18 -PIDFILE=/var/run/sshd.pid 9.19 - 9.20 -case "$1" in 9.21 - start) 9.22 - # We need rsa and dsa host key file to start dropbear. 9.23 - if [ ! -f /etc/ssh/ssh_host_rsa_key ] ; then 9.24 - echo "Generating $NAME rsa key... " 9.25 - ssh-keygen -t rsa -f /etc/ssh/ssh_host_rsa_key -C '' -N '' 9.26 - fi 9.27 - if [ ! -f /etc/ssh/ssh_host_dsa_key ] ; then 9.28 - echo "Generating $NAME dsa key... " 9.29 - ssh-keygen -t dsa -f /etc/ssh/ssh_host_dsa_key -C '' -N '' 9.30 - fi 9.31 - if [ -f $PIDFILE ] ; then 9.32 - echo "$NAME already running." 9.33 - exit 1 9.34 - fi 9.35 - echo -n "Starting $DESC: $NAME... " 9.36 - $DAEMON $OPTIONS 9.37 - status 9.38 - ;; 9.39 - stop) 9.40 - if [ ! -f $PIDFILE ] ; then 9.41 - echo "$NAME is not running." 9.42 - exit 1 9.43 - fi 9.44 - echo -n "Stopping $DESC: $NAME... " 9.45 - kill `cat $PIDFILE` 9.46 - status 9.47 - ;; 9.48 - restart) 9.49 - if [ ! -f $PIDFILE ] ; then 9.50 - echo "$NAME is not running." 9.51 - exit 1 9.52 - fi 9.53 - echo -n "Restarting $DESC: $NAME... " 9.54 - kill `cat $PIDFILE` 9.55 - sleep 2 9.56 - $DAEMON $OPTIONS 9.57 - status 9.58 - ;; 9.59 - *) 9.60 - echo "" 9.61 - echo -e "\033[1mUsage:\033[0m /etc/init.d/`basename $0` [start|stop|restart]" 9.62 - echo "" 9.63 - exit 1 9.64 - ;; 9.65 -esac 9.66 - 9.67 -exit 0
10.1 --- a/pure-ftpd-pam/receipt Sat Feb 21 21:27:14 2009 +0000 10.2 +++ b/pure-ftpd-pam/receipt Sat Feb 21 21:46:09 2009 +0000 10.3 @@ -28,7 +28,7 @@ 10.4 mkdir -p $fs/usr $fs/etc/init.d 10.5 cp -a $_pkg/usr/bin $fs/usr 10.6 cp -a $_pkg/usr/sbin $fs/usr 10.7 - install -g root -o root -m 0755 stuff/pure-ftpd $fs/etc/init.d 10.8 + install -g root -o root -m 0755 ../$SOURCE/stuff/pure-ftpd $fs/etc/init.d 10.9 } 10.10 10.11 post_install()
11.1 --- a/pure-ftpd-pam/stuff/pure-ftpd Sat Feb 21 21:27:14 2009 +0000 11.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 11.3 @@ -1,62 +0,0 @@ 11.4 -#!/bin/sh 11.5 -# /etc/init.d/pure-ftpd : Start, stop and restart pure-FTPd daemon on SliTaz, at 11.6 -# boot time or with the command line. 11.7 -# 11.8 -# To start pure-FTPd server at boot time, just put pure-ftpd in the $RUN_DAEMONS 11.9 -# variable of /etc/rcS.conf and configure options with /etc/daemons.conf 11.10 -# 11.11 -. /etc/init.d/rc.functions 11.12 -. /etc/daemons.conf 11.13 - 11.14 -NAME=pure-ftpd 11.15 -DESC="pure-FTPd Server Daemon" 11.16 -DAEMON=/usr/sbin/$NAME 11.17 - 11.18 -PIDFILE=/var/run/$NAME.pid 11.19 - 11.20 -# Options: 11.21 -# -4 IPV4 Only 11.22 -# -H Don't resolve 11.23 -# -A Chroot Everyone 11.24 -# -B Daemonize 11.25 -OPTIONS="-4 -H -A -B" 11.26 - 11.27 -case "$1" in 11.28 - start) 11.29 - if [ -f $PIDFILE ] ; then 11.30 - echo "$NAME already running." 11.31 - exit 1 11.32 - fi 11.33 - echo -n "Starting $DESC: $NAME... " 11.34 - $DAEMON $OPTIONS 11.35 - status 11.36 - ;; 11.37 - stop) 11.38 - if [ ! -f $PIDFILE ] ; then 11.39 - echo "$NAME is not running." 11.40 - exit 1 11.41 - fi 11.42 - echo -n "Stopping $DESC: $NAME... " 11.43 - kill `cat $PIDFILE` 11.44 - status 11.45 - ;; 11.46 - restart) 11.47 - if [ ! -f $PIDFILE ] ; then 11.48 - echo "$NAME is not running." 11.49 - exit 1 11.50 - fi 11.51 - echo -n "Restarting $DESC: $NAME... " 11.52 - kill `cat $PIDFILE` 11.53 - sleep 2 11.54 - $DAEMON $OPTIONS 11.55 - status 11.56 - ;; 11.57 - *) 11.58 - echo "" 11.59 - echo -e "\033[1mUsage:\033[0m /etc/init.d/`basename $0` [start|stop|restart]" 11.60 - echo "" 11.61 - exit 1 11.62 - ;; 11.63 -esac 11.64 - 11.65 -exit 0
12.1 --- a/samba-pam/receipt Sat Feb 21 21:27:14 2009 +0000 12.2 +++ b/samba-pam/receipt Sat Feb 21 21:46:09 2009 +0000 12.3 @@ -31,7 +31,7 @@ 12.4 make DESTDIR=$PWD/../_pkg install || return 1 12.5 rm -f ../_pkg/usr/*bin/*.old 12.6 ln -s libwbclient.so $PWD/../_pkg/usr/lib/libwbclient.so.0 12.7 - cp ../../stuff/*.files-list .. 12.8 + cp ../../../$SOURCE/stuff/*.files-list .. 12.9 } 12.10 12.11 # Rules to gen a SliTaz package suitable for Tazpkg. 12.12 @@ -43,7 +43,7 @@ 12.13 cp -a $_pkg/usr/lib $fs/usr 12.14 cp -a $_pkg/usr/sbin $fs/usr 12.15 cp -a $_pkg/usr/bin $fs/usr 12.16 - cp -a stuff/etc $fs 12.17 + cp -a ../$SOURCE/stuff/etc $fs 12.18 cat $src/*.files-list | while read file; do 12.19 rm -rf $fs$file 12.20 done
13.1 --- a/samba-pam/stuff/etc/init.d/samba Sat Feb 21 21:27:14 2009 +0000 13.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 13.3 @@ -1,76 +0,0 @@ 13.4 -#!/bin/sh 13.5 -# /etc/init.d/samba : Start, stop and restart Samba server on SliTaz, at 13.6 -# boot time or with the command line. 13.7 -# 13.8 -# To start Samba server at boot time, just put samba in the $RUN_DAEMONS 13.9 -# variable of /etc/rcS.conf and configure options with /etc/daemons.conf 13.10 -# 13.11 -. /etc/init.d/rc.functions 13.12 -. /etc/daemons.conf 13.13 - 13.14 -NAME=Samba 13.15 -DESC="Samba server" 13.16 -SMBD=/usr/sbin/smbd 13.17 -NMBD=/usr/sbin/nmbd 13.18 -NMBPIDFILE=/var/run/samba/nmbd.pid 13.19 -SMBPIDFILE=/var/run/samba/smbd.pid 13.20 - 13.21 -case "$1" in 13.22 - start) 13.23 - if [ -f $SMBPIDFILE ] ; then 13.24 - echo "$NAME already running." 13.25 - exit 1 13.26 - fi 13.27 - echo -n "Starting $DESC: $SMBD... " 13.28 - $SMBD -D 13.29 - status 13.30 - echo -n "Starting $DESC: $NMBD... " 13.31 - $NMBD -D 13.32 - status 13.33 - ;; 13.34 - stop) 13.35 - if [ ! -f $SMBPIDFILE ] ; then 13.36 - echo "$NAME is not running." 13.37 - exit 1 13.38 - fi 13.39 - echo -n "Stopping $DESC: $SMBD... " 13.40 - kill `cat $SMBPIDFILE` 13.41 - status 13.42 - echo -n "Stopping $DESC: $NMBD... " 13.43 - kill `cat $NMBPIDFILE` 13.44 - status 13.45 - ;; 13.46 - restart) 13.47 - if [ ! -f $SMBPIDFILE ] ; then 13.48 - echo "$NAME is not running." 13.49 - exit 1 13.50 - fi 13.51 - echo -n "Restarting $DESC: $SMBD... " 13.52 - kill `cat $SMBPIDFILE` 13.53 - sleep 2 13.54 - $SMBD -D 13.55 - status 13.56 - echo -n "Restarting $DESC: $NMBD... " 13.57 - kill `cat $NMBPIDFILE` 13.58 - sleep 2 13.59 - $NMBD -D 13.60 - status 13.61 - ;; 13.62 - reload) 13.63 - if [ ! -f $SMBPIDFILE ] ; then 13.64 - echo "$NAME is not running." 13.65 - exit 1 13.66 - fi 13.67 - echo -n "Reloading $DESC: $SMBD... " 13.68 - kill -HUP `cat $SMBPIDFILE` 13.69 - status 13.70 - ;; 13.71 - *) 13.72 - echo "" 13.73 - echo -e "\033[1mUsage:\033[0m /etc/init.d/`basename $0` [start|stop|restart!reload]" 13.74 - echo "" 13.75 - exit 1 13.76 - ;; 13.77 -esac 13.78 - 13.79 -exit 0
14.1 --- a/samba-pam/stuff/etc/samba/smb.conf Sat Feb 21 21:27:14 2009 +0000 14.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 14.3 @@ -1,10 +0,0 @@ 14.4 -[global] 14.5 -workgroup = SLITAZ 14.6 -security = SHARE 14.7 - 14.8 -[homes] 14.9 -comment = Home Directories 14.10 -valid users = %S 14.11 -read only = No 14.12 -browseable = No 14.13 -
15.1 --- a/samba-pam/stuff/smbclient.files-list Sat Feb 21 21:27:14 2009 +0000 15.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 15.3 @@ -1,9 +0,0 @@ 15.4 -/usr/lib/libwbclient.so* 15.5 -/usr/bin/smbclient 15.6 -/usr/bin/smbspool 15.7 -/usr/bin/smbget 15.8 -/usr/bin/smbtree 15.9 -/usr/bin/smbcacls 15.10 -/usr/bin/smbcquotas 15.11 -/usr/bin/smbtar 15.12 -/usr/bin/rpcclient
16.1 --- a/sudo-pam/receipt Sat Feb 21 21:27:14 2009 +0000 16.2 +++ b/sudo-pam/receipt Sat Feb 21 21:46:09 2009 +0000 16.3 @@ -38,7 +38,7 @@ 16.4 cp -a $_pkg/usr/bin $fs/usr 16.5 cp -a $_pkg/usr/sbin $fs/usr 16.6 cp -a $_pkg/usr/lib/*.so $fs/usr/lib 16.7 - cp -a stuff/sudoers $fs/etc 16.8 + cp -a ../$SOURCE/stuff/sudoers $fs/etc 16.9 strip -s $fs/usr/bin/* 16.10 strip -s $fs/usr/sbin/* 16.11 strip -s $fs/usr/lib/sudo_noexec.so
17.1 --- a/sudo-pam/stuff/sudoers Sat Feb 21 21:27:14 2009 +0000 17.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 17.3 @@ -1,15 +0,0 @@ 17.4 -# 17.5 -# This file MUST be edited with the 'visudo' command as root. 17.6 -# 17.7 -# See the man page for details on how to write a sudoers file. 17.8 -# 17.9 - 17.10 -# Host alias specification 17.11 - 17.12 -# User alias specification 17.13 - 17.14 -# Cmnd alias specification 17.15 - 17.16 -# User privilege specification 17.17 -root ALL=(ALL) ALL 17.18 -