Date: Friday, March 9, 2012 @ 08:35:22
  Author: heftig
Revision: 152742

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  samba/repos/testing-i686/PKGBUILD
    (from rev 152741, samba/trunk/PKGBUILD)
  samba/repos/testing-i686/samba
    (from rev 152741, samba/trunk/samba)
  samba/repos/testing-i686/samba.conf.d
    (from rev 152741, samba/trunk/samba.conf.d)
  samba/repos/testing-i686/samba.logrotate
    (from rev 152741, samba/trunk/samba.logrotate)
  samba/repos/testing-i686/samba.pam
    (from rev 152741, samba/trunk/samba.pam)
  samba/repos/testing-i686/swat.xinetd
    (from rev 152741, samba/trunk/swat.xinetd)
  samba/repos/testing-x86_64/PKGBUILD
    (from rev 152741, samba/trunk/PKGBUILD)
  samba/repos/testing-x86_64/samba
    (from rev 152741, samba/trunk/samba)
  samba/repos/testing-x86_64/samba.conf.d
    (from rev 152741, samba/trunk/samba.conf.d)
  samba/repos/testing-x86_64/samba.logrotate
    (from rev 152741, samba/trunk/samba.logrotate)
  samba/repos/testing-x86_64/samba.pam
    (from rev 152741, samba/trunk/samba.pam)
  samba/repos/testing-x86_64/swat.xinetd
    (from rev 152741, samba/trunk/swat.xinetd)
Deleted:
  samba/repos/testing-i686/PKGBUILD
  samba/repos/testing-i686/samba
  samba/repos/testing-i686/samba.conf.d
  samba/repos/testing-i686/samba.logrotate
  samba/repos/testing-i686/samba.pam
  samba/repos/testing-i686/swat.xinetd
  samba/repos/testing-x86_64/PKGBUILD
  samba/repos/testing-x86_64/samba
  samba/repos/testing-x86_64/samba.conf.d
  samba/repos/testing-x86_64/samba.logrotate
  samba/repos/testing-x86_64/samba.pam
  samba/repos/testing-x86_64/swat.xinetd

--------------------------------+
 testing-i686/PKGBUILD          |  306 +++++++++++++++++++--------------------
 testing-i686/samba             |  114 +++++++-------
 testing-i686/samba.conf.d      |   14 -
 testing-i686/samba.logrotate   |   18 +-
 testing-i686/samba.pam         |    6 
 testing-i686/swat.xinetd       |   20 +-
 testing-x86_64/PKGBUILD        |  306 +++++++++++++++++++--------------------
 testing-x86_64/samba           |  114 +++++++-------
 testing-x86_64/samba.conf.d    |   14 -
 testing-x86_64/samba.logrotate |   18 +-
 testing-x86_64/samba.pam       |    6 
 testing-x86_64/swat.xinetd     |   20 +-
 12 files changed, 478 insertions(+), 478 deletions(-)

Deleted: testing-i686/PKGBUILD
===================================================================
--- testing-i686/PKGBUILD       2012-03-09 13:31:36 UTC (rev 152741)
+++ testing-i686/PKGBUILD       2012-03-09 13:35:22 UTC (rev 152742)
@@ -1,153 +0,0 @@
-# $Id$
-# Maintainer: Tobias Powalowski <tp...@archlinux.org>
-# Contributor: judd <jvi...@zeroflux.org>
-pkgbase=samba
-pkgname=('libwbclient' 'smbclient' 'samba')
-pkgver=3.6.3
-# We use the 'A' to fake out pacman's version comparators.  Samba chooses
-# to append 'a','b',etc to their subsequent releases, which pamcan
-# misconstrues as alpha, beta, etc.  Bad samba!
-_realver=3.6.3
-pkgrel=3
-arch=(i686 x86_64)
-url="http://www.samba.org";
-license=('GPL3')
-makedepends=('db' 'popt' 'libcups' 'acl' 'libldap' 'libcap' 'krb5' 'pam' 
'gamin' 'gnutls>=2.4.1' 'talloc' 'tdb')
-source=(http://us1.samba.org/samba/ftp/stable/${pkgbase}-${_realver}.tar.gz
-        samba samba.logrotate
-        swat.xinetd
-        samba.pam
-        samba.conf.d)
-### UNINSTALL dmapi package before building!!!
-
-build() {
-  cd ${srcdir}/${pkgbase}-${_realver}/source3
-  ./configure --prefix=/usr \
-              --libdir=/usr/lib/ \
-              --localstatedir=/var \
-              --with-configdir=/etc/samba \
-              --with-lockdir=/var/cache/samba \
-              --with-piddir=/var/run/samba \
-              --with-fhs \
-              --with-pam \
-              --with-pam_smbpass \
-              --with-pammodulesdir=/lib/security \
-              --with-dnsupdate \
-              --with-automount \
-              --with-quotas \
-              --with-ads \
-              --with-acl-support \
-              --with-libsmbclient \
-              --with-syslog \
-              --enable-external-libtalloc \
-              --disable-dnssd \
-              --disable-avahi \
-              
--with-shared-modules=idmap_ad,idmap_adex,idmap_rid,idmap_hash,idmap_tdb2 \
-              --enable-external-libtdb
-  make
-}
-
-package_libwbclient () {
-pkgdesc="Samba winbind client library"
-depends=('glibc')
-  cd ${srcdir}/${pkgbase}-${_realver}/source3
-  mkdir -p ${pkgdir}/usr/lib  
-  for i in libwbclient*; do
-      cp  -a bin/${i}*.so* ${pkgdir}/usr/lib/
-  done
-}
-
-package_smbclient () {
-pkgdesc="Tools to access a server's filespace and printers via SMB"
-depends=('readline' 'popt' 'libldap' 'cifs-utils' 'libcap' 'krb5' 'db' 
'e2fsprogs' 'tdb' 'talloc' 'libwbclient')
-  cd ${srcdir}/${pkgbase}-${_realver}/source3
-  mkdir -p ${pkgdir}/usr/bin ${pkgdir}/usr/lib
-  install -m755 
bin/{smbclient,rpcclient,smbspool,smbtree,smbcacls,smbcquotas,smbget,net,nmblookup}
 ${pkgdir}/usr/bin/
-  for i in libnetapi* libsmbclient*;do
-      cp  -a bin/${i}*.so* ${pkgdir}/usr/lib/
-  done
-  install -m755 script/smbtar ${pkgdir}/usr/bin/
-  mkdir -p ${pkgdir}/usr/lib/cups/backend
-  ln -sf /usr/bin/smbspool ${pkgdir}/usr/lib/cups/backend/smb
-  mkdir -p ${pkgdir}/usr/include
-  install -m644 include/libsmbclient.h ${pkgdir}/usr/include/
-  install -m644 lib/netapi/netapi.h ${pkgdir}/usr/include/
-  mkdir -p ${pkgdir}/usr/share/man/man{1,7}
-  for man in rpcclient smbcacls smbclient smbcquotas smbget \
-      smbtree smbtar nmblookup; do
-      install -m644 ../docs/manpages/${man}.1 ${pkgdir}/usr/share/man/man1/
-  done
-  install -m644 ../docs/manpages/libsmbclient.7 ${pkgdir}/usr/share/man/man7/
-}
-
-package_samba () {
-pkgdesc="Tools to access a server's filespace and printers via SMB"
-backup=(etc/logrotate.d/samba
-        etc/pam.d/samba
-        etc/samba/smb.conf
-        etc/xinetd.d/swat
-        etc/conf.d/samba)
-depends=('db' 'popt' 'libcups' 'acl' 'libldap' "smbclient>=$pkgver" 'libcap' 
'krb5' 'pam' 'gamin' 'gnutls' 'e2fsprogs' 'tdb' 'talloc')
-  cd ${srcdir}/samba-${_realver}/source3
-  mkdir -p ${pkgdir}/etc/samba/private
-  chmod 700 ${pkgdir}/etc/samba/private
-  make DESTDIR=${pkgdir} install
-  chmod 644 ${pkgdir}/usr/include/*.h
-  rm -rf ${pkgdir}/usr/var
-  rm -rf ${pkgdir}/var/run/samba
-  (cd script; cp installbin.sh i; cat i | sed 's/\/sbin\///' > installbin.sh)
-  install -D -m755 ../../samba ${pkgdir}/etc/rc.d/samba
-  install -D -m644 ../../samba.conf.d ${pkgdir}/etc/conf.d/samba
-  mkdir -p ${pkgdir}/etc/samba
-  cat ../examples/smb.conf.default | \
-    sed 's|log file = .*$|log file = /var/log/samba/log.%m|g' 
>${pkgdir}/etc/samba/smb.conf.default
-  install -D -m644 ../../samba.logrotate ${pkgdir}/etc/logrotate.d/samba
-  install -D -m644 ../../swat.xinetd ${pkgdir}/etc/xinetd.d/swat
-  install -D -m644 ../../samba.pam ${pkgdir}/etc/pam.d/samba
-  # spool directory
-  install -d -m1777 ${pkgdir}/var/spool/samba
-  sed -i 's|/usr/spool/samba|/var/spool/samba|g' 
${pkgdir}/etc/samba/smb.conf.default
-  # fix logrotate
-  sed -i -e 's|log.%m|%m.log|g' ${pkgdir}/etc/samba/smb.conf.default
-  # nsswitch libraries
-  install -D -m755 ${srcdir}/samba-${_realver}/nsswitch/libnss_wins.so 
${pkgdir}/lib/libnss_wins.so
-  ln -s libnss_wins.so ${pkgdir}/lib/libnss_wins.so.2
-  install -D -m755 ${srcdir}/samba-${_realver}/nsswitch/libnss_winbind.so 
${pkgdir}/lib/libnss_winbind.so
-  ln -s libnss_winbind.so ${pkgdir}/lib/libnss_winbind.so.2
-  # winbind krb5 locator
-  mkdir -p ${pkgdir}/usr/lib/krb5/plugins/libkrb5
-  install -d -m 0755 ${pkgdir}/usr/lib/krb5/plugins/libkrb5
-  install -m 755 bin/winbind_krb5_locator.so 
${pkgdir}/usr/lib/krb5/plugins/libkrb5/winbind_krb5_locator.so
-  # remove conflict files of smbclient
-  for man in libsmbclient smbspool \
-      mount.cifs net cifs.upcall; do
-      rm -f ${pkgdir}/usr/share/man/man8/${man}.8
-  done
-  for i in libnetapi* libwbclient* libsmbclient* winbind_krb5*;do
-      rm -f ${pkgdir}/usr/lib/$i
-  done
-  for bin in net \
-      nmblookup rpcclient smbcacls smbclient \
-      smbcquotas smbget smbspool smbtar smbtree; do
-      rm -f ${pkgdir}/usr/bin/$bin
-  done
-  rm -f ${pkgdir}/usr/sbin/cifs.upcall
-  rm -f ${pkgdir}/usr/include/netapi.h
-  for man in rpcclient smbcacls smbclient smbcquotas \
-      smbtree smbtar nmblookup smbget; do
-      rm -f ${pkgdir}/usr/share/man/man1/${man}.1
-  done
-  for man in tdbbackup tdbdump tdbtool; do
-      rm -f ${pkgdir}/usr/share/man/man8/${man}.8
-  done
-  rm -f ${pkgdir}/usr/share/man/man7/libsmbclient.7
-  rm -f ${pkgdir}/usr/include/libsmbclient.h
-  # copy ldap example
-  install -D -m644 ${srcdir}/samba-${_realver}/examples/LDAP/samba.schema 
${pkgdir}/usr/share/doc/samba/examples/LDAP/samba.schema
-}
-md5sums=('98ac9db9f4b6ebfc3f013aa193ffb0d1'
-         'dfc6f9018c556b9783c7140de183727f'
-         '5697da77590ec092cc8a883bae06093c'
-         'a4bbfa39fee95bba2e7ad6b535fae7e6'
-         '96f82c38f3f540b53f3e5144900acf17'
-         'f2f2e348acd1ccb566e95fa8a561b828')

Copied: samba/repos/testing-i686/PKGBUILD (from rev 152741, 
samba/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD                               (rev 0)
+++ testing-i686/PKGBUILD       2012-03-09 13:35:22 UTC (rev 152742)
@@ -0,0 +1,153 @@
+# $Id$
+# Maintainer: Tobias Powalowski <tp...@archlinux.org>
+# Contributor: judd <jvi...@zeroflux.org>
+pkgbase=samba
+pkgname=('libwbclient' 'smbclient' 'samba')
+pkgver=3.6.3
+# We use the 'A' to fake out pacman's version comparators.  Samba chooses
+# to append 'a','b',etc to their subsequent releases, which pamcan
+# misconstrues as alpha, beta, etc.  Bad samba!
+_realver=3.6.3
+pkgrel=4
+arch=(i686 x86_64)
+url="http://www.samba.org";
+license=('GPL3')
+makedepends=('db' 'popt' 'libcups' 'acl' 'libldap' 'libcap' 'krb5' 'pam' 
'gamin' 'gnutls>=2.4.1' 'talloc' 'tdb')
+source=(http://us1.samba.org/samba/ftp/stable/${pkgbase}-${_realver}.tar.gz
+        samba samba.logrotate
+        swat.xinetd
+        samba.pam
+        samba.conf.d)
+### UNINSTALL dmapi package before building!!!
+
+build() {
+  cd ${srcdir}/${pkgbase}-${_realver}/source3
+  ./configure --prefix=/usr \
+              --libdir=/usr/lib/ \
+              --localstatedir=/var \
+              --with-configdir=/etc/samba \
+              --with-lockdir=/var/cache/samba \
+              --with-piddir=/var/run/samba \
+              --with-fhs \
+              --with-pam \
+              --with-pam_smbpass \
+              --with-pammodulesdir=/lib/security \
+              --with-dnsupdate \
+              --with-automount \
+              --with-quotas \
+              --with-ads \
+              --with-acl-support \
+              --with-libsmbclient \
+              --with-syslog \
+              --enable-external-libtalloc \
+              --disable-dnssd \
+              --disable-avahi \
+              
--with-shared-modules=idmap_ad,idmap_adex,idmap_rid,idmap_hash,idmap_tdb2 \
+              --enable-external-libtdb
+  make
+}
+
+package_libwbclient () {
+pkgdesc="Samba winbind client library"
+depends=('glibc')
+  cd ${srcdir}/${pkgbase}-${_realver}/source3
+  mkdir -p ${pkgdir}/usr/lib  
+  for i in libwbclient*; do
+      cp  -a bin/${i}*.so* ${pkgdir}/usr/lib/
+  done
+}
+
+package_smbclient () {
+pkgdesc="Tools to access a server's filespace and printers via SMB"
+depends=('readline' 'popt' 'libldap' 'cifs-utils' 'libcap' 'krb5' 'db' 
'e2fsprogs' 'tdb' 'talloc' 'libwbclient')
+  cd ${srcdir}/${pkgbase}-${_realver}/source3
+  mkdir -p ${pkgdir}/usr/bin ${pkgdir}/usr/lib
+  install -m755 
bin/{smbclient,rpcclient,smbspool,smbtree,smbcacls,smbcquotas,smbget,net,nmblookup}
 ${pkgdir}/usr/bin/
+  for i in libnetapi* libsmbclient*;do
+      cp  -a bin/${i}*.so* ${pkgdir}/usr/lib/
+  done
+  install -m755 script/smbtar ${pkgdir}/usr/bin/
+  mkdir -p ${pkgdir}/usr/lib/cups/backend
+  ln -sf /usr/bin/smbspool ${pkgdir}/usr/lib/cups/backend/smb
+  mkdir -p ${pkgdir}/usr/include
+  install -m644 include/libsmbclient.h ${pkgdir}/usr/include/
+  install -m644 lib/netapi/netapi.h ${pkgdir}/usr/include/
+  mkdir -p ${pkgdir}/usr/share/man/man{1,7}
+  for man in rpcclient smbcacls smbclient smbcquotas smbget \
+      smbtree smbtar nmblookup; do
+      install -m644 ../docs/manpages/${man}.1 ${pkgdir}/usr/share/man/man1/
+  done
+  install -m644 ../docs/manpages/libsmbclient.7 ${pkgdir}/usr/share/man/man7/
+}
+
+package_samba () {
+pkgdesc="Tools to access a server's filespace and printers via SMB"
+backup=(etc/logrotate.d/samba
+        etc/pam.d/samba
+        etc/samba/smb.conf
+        etc/xinetd.d/swat
+        etc/conf.d/samba)
+depends=('db' 'popt' 'libcups' 'acl' 'libldap' "smbclient>=$pkgver" 'libcap' 
'krb5' 'pam' 'gamin' 'gnutls' 'e2fsprogs' 'tdb' 'talloc')
+  cd ${srcdir}/samba-${_realver}/source3
+  mkdir -p ${pkgdir}/etc/samba/private
+  chmod 700 ${pkgdir}/etc/samba/private
+  make DESTDIR=${pkgdir} install
+  chmod 644 ${pkgdir}/usr/include/*.h
+  rm -rf ${pkgdir}/usr/var
+  rm -rf ${pkgdir}/var/run/samba
+  (cd script; cp installbin.sh i; cat i | sed 's/\/sbin\///' > installbin.sh)
+  install -D -m755 ../../samba ${pkgdir}/etc/rc.d/samba
+  install -D -m644 ../../samba.conf.d ${pkgdir}/etc/conf.d/samba
+  mkdir -p ${pkgdir}/etc/samba
+  cat ../examples/smb.conf.default | \
+    sed 's|log file = .*$|log file = /var/log/samba/log.%m|g' 
>${pkgdir}/etc/samba/smb.conf.default
+  install -D -m644 ../../samba.logrotate ${pkgdir}/etc/logrotate.d/samba
+  install -D -m644 ../../swat.xinetd ${pkgdir}/etc/xinetd.d/swat
+  install -D -m644 ../../samba.pam ${pkgdir}/etc/pam.d/samba
+  # spool directory
+  install -d -m1777 ${pkgdir}/var/spool/samba
+  sed -i 's|/usr/spool/samba|/var/spool/samba|g' 
${pkgdir}/etc/samba/smb.conf.default
+  # fix logrotate
+  sed -i -e 's|log.%m|%m.log|g' ${pkgdir}/etc/samba/smb.conf.default
+  # nsswitch libraries
+  install -D -m755 ${srcdir}/samba-${_realver}/nsswitch/libnss_wins.so 
${pkgdir}/lib/libnss_wins.so
+  ln -s libnss_wins.so ${pkgdir}/lib/libnss_wins.so.2
+  install -D -m755 ${srcdir}/samba-${_realver}/nsswitch/libnss_winbind.so 
${pkgdir}/lib/libnss_winbind.so
+  ln -s libnss_winbind.so ${pkgdir}/lib/libnss_winbind.so.2
+  # winbind krb5 locator
+  mkdir -p ${pkgdir}/usr/lib/krb5/plugins/libkrb5
+  install -d -m 0755 ${pkgdir}/usr/lib/krb5/plugins/libkrb5
+  install -m 755 bin/winbind_krb5_locator.so 
${pkgdir}/usr/lib/krb5/plugins/libkrb5/winbind_krb5_locator.so
+  # remove conflict files of smbclient
+  for man in libsmbclient smbspool \
+      mount.cifs net cifs.upcall; do
+      rm -f ${pkgdir}/usr/share/man/man8/${man}.8
+  done
+  for i in libnetapi* libwbclient* libsmbclient* winbind_krb5*;do
+      rm -f ${pkgdir}/usr/lib/$i
+  done
+  for bin in net \
+      nmblookup rpcclient smbcacls smbclient \
+      smbcquotas smbget smbspool smbtar smbtree; do
+      rm -f ${pkgdir}/usr/bin/$bin
+  done
+  rm -f ${pkgdir}/usr/sbin/cifs.upcall
+  rm -f ${pkgdir}/usr/include/netapi.h
+  for man in rpcclient smbcacls smbclient smbcquotas \
+      smbtree smbtar nmblookup smbget; do
+      rm -f ${pkgdir}/usr/share/man/man1/${man}.1
+  done
+  for man in tdbbackup tdbdump tdbtool; do
+      rm -f ${pkgdir}/usr/share/man/man8/${man}.8
+  done
+  rm -f ${pkgdir}/usr/share/man/man7/libsmbclient.7
+  rm -f ${pkgdir}/usr/include/libsmbclient.h
+  # copy ldap example
+  install -D -m644 ${srcdir}/samba-${_realver}/examples/LDAP/samba.schema 
${pkgdir}/usr/share/doc/samba/examples/LDAP/samba.schema
+}
+md5sums=('98ac9db9f4b6ebfc3f013aa193ffb0d1'
+         'dfc6f9018c556b9783c7140de183727f'
+         '5697da77590ec092cc8a883bae06093c'
+         'a4bbfa39fee95bba2e7ad6b535fae7e6'
+         '96f82c38f3f540b53f3e5144900acf17'
+         'f2f2e348acd1ccb566e95fa8a561b828')

Deleted: testing-i686/samba
===================================================================
--- testing-i686/samba  2012-03-09 13:31:36 UTC (rev 152741)
+++ testing-i686/samba  2012-03-09 13:35:22 UTC (rev 152742)
@@ -1,57 +0,0 @@
-#!/bin/bash
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-[ -f /etc/conf.d/samba ] && . /etc/conf.d/samba
-
-[ -z "$SAMBA_DAEMONS" ] && SAMBA_DAEMONS=(smbd nmbd)
-
-case "$1" in
-       start)
-               rc=0
-               stat_busy "Starting Samba Server"
-               if [ ! -x /var/run/samba ] ; then
-                       install -m755 -d /var/run/samba
-               fi
-                if [ ! -x /var/log/samba ] ; then
-                        install -m755 -d /var/log/samba
-                fi
-               for d in ${SAMBA_DAEMONS[@]}; do
-                       PID=`pidof -o %PPID /usr/sbin/$d`
-                       [ -z "$PID" ] && /usr/sbin/$d -D
-                       rc=$(($rc+$?))
-               done
-               if [ $rc -gt 0 ]; then
-                       stat_fail
-               else
-                       add_daemon samba
-                       stat_done
-               fi
-       ;;
-       stop)
-               rc=0
-               stat_busy "Stopping Samba Server"
-               for d in ${SAMBA_DAEMONS[@]}; do
-                       PID=`pidof -o %PPID /usr/sbin/$d`
-                       [ -z "$PID" ] || kill $PID &> /dev/null
-                       rc=$(($rc+$?))
-               done
-               if [ $rc -gt 0 ]; then
-                       stat_fail
-               else
-                       rm /var/run/samba/smbd.pid &>/dev/null
-                       rm /var/run/samba/nmbd.pid &>/dev/null
-                       rm /var/run/samba/winbindd.pid &>/dev/null
-                       rm_daemon samba
-                       stat_done
-               fi
-       ;;
-       restart)
-               $0 stop
-               sleep 1
-               $0 start
-       ;;
-       *)
-               echo "usage: $0 {start|stop|restart}"
-esac
-exit 0

Copied: samba/repos/testing-i686/samba (from rev 152741, samba/trunk/samba)
===================================================================
--- testing-i686/samba                          (rev 0)
+++ testing-i686/samba  2012-03-09 13:35:22 UTC (rev 152742)
@@ -0,0 +1,57 @@
+#!/bin/bash
+
+. /etc/rc.conf
+. /etc/rc.d/functions
+[ -f /etc/conf.d/samba ] && . /etc/conf.d/samba
+
+[ -z "$SAMBA_DAEMONS" ] && SAMBA_DAEMONS=(smbd nmbd)
+
+case "$1" in
+       start)
+               rc=0
+               stat_busy "Starting Samba Server"
+               if [ ! -x /var/run/samba ] ; then
+                       install -m755 -d /var/run/samba
+               fi
+                if [ ! -x /var/log/samba ] ; then
+                        install -m755 -d /var/log/samba
+                fi
+               for d in ${SAMBA_DAEMONS[@]}; do
+                       PID=`pidof -o %PPID /usr/sbin/$d`
+                       [ -z "$PID" ] && /usr/sbin/$d -D
+                       rc=$(($rc+$?))
+               done
+               if [ $rc -gt 0 ]; then
+                       stat_fail
+               else
+                       add_daemon samba
+                       stat_done
+               fi
+       ;;
+       stop)
+               rc=0
+               stat_busy "Stopping Samba Server"
+               for d in ${SAMBA_DAEMONS[@]}; do
+                       PID=`pidof -o %PPID /usr/sbin/$d`
+                       [ -z "$PID" ] || kill $PID &> /dev/null
+                       rc=$(($rc+$?))
+               done
+               if [ $rc -gt 0 ]; then
+                       stat_fail
+               else
+                       rm /var/run/samba/smbd.pid &>/dev/null
+                       rm /var/run/samba/nmbd.pid &>/dev/null
+                       rm /var/run/samba/winbindd.pid &>/dev/null
+                       rm_daemon samba
+                       stat_done
+               fi
+       ;;
+       restart)
+               $0 stop
+               sleep 1
+               $0 start
+       ;;
+       *)
+               echo "usage: $0 {start|stop|restart}"
+esac
+exit 0

Deleted: testing-i686/samba.conf.d
===================================================================
--- testing-i686/samba.conf.d   2012-03-09 13:31:36 UTC (rev 152741)
+++ testing-i686/samba.conf.d   2012-03-09 13:35:22 UTC (rev 152742)
@@ -1,7 +0,0 @@
-#
-# Configuration for the samba init script
-#
-
-# space separated list of daemons to launch
-SAMBA_DAEMONS=(smbd nmbd)
-#SAMBA_DAEMONS=(smbd nmbd winbindd)

Copied: samba/repos/testing-i686/samba.conf.d (from rev 152741, 
samba/trunk/samba.conf.d)
===================================================================
--- testing-i686/samba.conf.d                           (rev 0)
+++ testing-i686/samba.conf.d   2012-03-09 13:35:22 UTC (rev 152742)
@@ -0,0 +1,7 @@
+#
+# Configuration for the samba init script
+#
+
+# space separated list of daemons to launch
+SAMBA_DAEMONS=(smbd nmbd)
+#SAMBA_DAEMONS=(smbd nmbd winbindd)

Deleted: testing-i686/samba.logrotate
===================================================================
--- testing-i686/samba.logrotate        2012-03-09 13:31:36 UTC (rev 152741)
+++ testing-i686/samba.logrotate        2012-03-09 13:35:22 UTC (rev 152742)
@@ -1,9 +0,0 @@
-/var/log/samba/log.smbd /var/log/samba/log.nmbd /var/log/samba/*.log {
-   notifempty
-   missingok
-   sharedscripts
-   copytruncate
-   postrotate
-      /bin/kill -HUP `cat /var/run/samba/*.pid 2>/dev/null` 2>/dev/null || true
-   endscript
-}

Copied: samba/repos/testing-i686/samba.logrotate (from rev 152741, 
samba/trunk/samba.logrotate)
===================================================================
--- testing-i686/samba.logrotate                                (rev 0)
+++ testing-i686/samba.logrotate        2012-03-09 13:35:22 UTC (rev 152742)
@@ -0,0 +1,9 @@
+/var/log/samba/log.smbd /var/log/samba/log.nmbd /var/log/samba/*.log {
+   notifempty
+   missingok
+   sharedscripts
+   copytruncate
+   postrotate
+      /bin/kill -HUP `cat /var/run/samba/*.pid 2>/dev/null` 2>/dev/null || true
+   endscript
+}

Deleted: testing-i686/samba.pam
===================================================================
--- testing-i686/samba.pam      2012-03-09 13:31:36 UTC (rev 152741)
+++ testing-i686/samba.pam      2012-03-09 13:35:22 UTC (rev 152742)
@@ -1,3 +0,0 @@
-auth           required        pam_unix.so
-account                required        pam_unix.so
-session                required        pam_unix.so

Copied: samba/repos/testing-i686/samba.pam (from rev 152741, 
samba/trunk/samba.pam)
===================================================================
--- testing-i686/samba.pam                              (rev 0)
+++ testing-i686/samba.pam      2012-03-09 13:35:22 UTC (rev 152742)
@@ -0,0 +1,3 @@
+auth           required        pam_unix.so
+account                required        pam_unix.so
+session                required        pam_unix.so

Deleted: testing-i686/swat.xinetd
===================================================================
--- testing-i686/swat.xinetd    2012-03-09 13:31:36 UTC (rev 152741)
+++ testing-i686/swat.xinetd    2012-03-09 13:35:22 UTC (rev 152742)
@@ -1,10 +0,0 @@
-service swat
-{
-        socket_type             = stream
-        wait                    = no
-        user                    = root
-        server                  = /usr/sbin/swat
-        log_on_success  += HOST DURATION
-        log_on_failure  += HOST
-        disable                 = yes
-}

Copied: samba/repos/testing-i686/swat.xinetd (from rev 152741, 
samba/trunk/swat.xinetd)
===================================================================
--- testing-i686/swat.xinetd                            (rev 0)
+++ testing-i686/swat.xinetd    2012-03-09 13:35:22 UTC (rev 152742)
@@ -0,0 +1,10 @@
+service swat
+{
+        socket_type             = stream
+        wait                    = no
+        user                    = root
+        server                  = /usr/sbin/swat
+        log_on_success  += HOST DURATION
+        log_on_failure  += HOST
+        disable                 = yes
+}

Deleted: testing-x86_64/PKGBUILD
===================================================================
--- testing-x86_64/PKGBUILD     2012-03-09 13:31:36 UTC (rev 152741)
+++ testing-x86_64/PKGBUILD     2012-03-09 13:35:22 UTC (rev 152742)
@@ -1,153 +0,0 @@
-# $Id$
-# Maintainer: Tobias Powalowski <tp...@archlinux.org>
-# Contributor: judd <jvi...@zeroflux.org>
-pkgbase=samba
-pkgname=('libwbclient' 'smbclient' 'samba')
-pkgver=3.6.3
-# We use the 'A' to fake out pacman's version comparators.  Samba chooses
-# to append 'a','b',etc to their subsequent releases, which pamcan
-# misconstrues as alpha, beta, etc.  Bad samba!
-_realver=3.6.3
-pkgrel=3
-arch=(i686 x86_64)
-url="http://www.samba.org";
-license=('GPL3')
-makedepends=('db' 'popt' 'libcups' 'acl' 'libldap' 'libcap' 'krb5' 'pam' 
'gamin' 'gnutls>=2.4.1' 'talloc' 'tdb')
-source=(http://us1.samba.org/samba/ftp/stable/${pkgbase}-${_realver}.tar.gz
-        samba samba.logrotate
-        swat.xinetd
-        samba.pam
-        samba.conf.d)
-### UNINSTALL dmapi package before building!!!
-
-build() {
-  cd ${srcdir}/${pkgbase}-${_realver}/source3
-  ./configure --prefix=/usr \
-              --libdir=/usr/lib/ \
-              --localstatedir=/var \
-              --with-configdir=/etc/samba \
-              --with-lockdir=/var/cache/samba \
-              --with-piddir=/var/run/samba \
-              --with-fhs \
-              --with-pam \
-              --with-pam_smbpass \
-              --with-pammodulesdir=/lib/security \
-              --with-dnsupdate \
-              --with-automount \
-              --with-quotas \
-              --with-ads \
-              --with-acl-support \
-              --with-libsmbclient \
-              --with-syslog \
-              --enable-external-libtalloc \
-              --disable-dnssd \
-              --disable-avahi \
-              
--with-shared-modules=idmap_ad,idmap_adex,idmap_rid,idmap_hash,idmap_tdb2 \
-              --enable-external-libtdb
-  make
-}
-
-package_libwbclient () {
-pkgdesc="Samba winbind client library"
-depends=('glibc')
-  cd ${srcdir}/${pkgbase}-${_realver}/source3
-  mkdir -p ${pkgdir}/usr/lib  
-  for i in libwbclient*; do
-      cp  -a bin/${i}*.so* ${pkgdir}/usr/lib/
-  done
-}
-
-package_smbclient () {
-pkgdesc="Tools to access a server's filespace and printers via SMB"
-depends=('readline' 'popt' 'libldap' 'cifs-utils' 'libcap' 'krb5' 'db' 
'e2fsprogs' 'tdb' 'talloc' 'libwbclient')
-  cd ${srcdir}/${pkgbase}-${_realver}/source3
-  mkdir -p ${pkgdir}/usr/bin ${pkgdir}/usr/lib
-  install -m755 
bin/{smbclient,rpcclient,smbspool,smbtree,smbcacls,smbcquotas,smbget,net,nmblookup}
 ${pkgdir}/usr/bin/
-  for i in libnetapi* libsmbclient*;do
-      cp  -a bin/${i}*.so* ${pkgdir}/usr/lib/
-  done
-  install -m755 script/smbtar ${pkgdir}/usr/bin/
-  mkdir -p ${pkgdir}/usr/lib/cups/backend
-  ln -sf /usr/bin/smbspool ${pkgdir}/usr/lib/cups/backend/smb
-  mkdir -p ${pkgdir}/usr/include
-  install -m644 include/libsmbclient.h ${pkgdir}/usr/include/
-  install -m644 lib/netapi/netapi.h ${pkgdir}/usr/include/
-  mkdir -p ${pkgdir}/usr/share/man/man{1,7}
-  for man in rpcclient smbcacls smbclient smbcquotas smbget \
-      smbtree smbtar nmblookup; do
-      install -m644 ../docs/manpages/${man}.1 ${pkgdir}/usr/share/man/man1/
-  done
-  install -m644 ../docs/manpages/libsmbclient.7 ${pkgdir}/usr/share/man/man7/
-}
-
-package_samba () {
-pkgdesc="Tools to access a server's filespace and printers via SMB"
-backup=(etc/logrotate.d/samba
-        etc/pam.d/samba
-        etc/samba/smb.conf
-        etc/xinetd.d/swat
-        etc/conf.d/samba)
-depends=('db' 'popt' 'libcups' 'acl' 'libldap' "smbclient>=$pkgver" 'libcap' 
'krb5' 'pam' 'gamin' 'gnutls' 'e2fsprogs' 'tdb' 'talloc')
-  cd ${srcdir}/samba-${_realver}/source3
-  mkdir -p ${pkgdir}/etc/samba/private
-  chmod 700 ${pkgdir}/etc/samba/private
-  make DESTDIR=${pkgdir} install
-  chmod 644 ${pkgdir}/usr/include/*.h
-  rm -rf ${pkgdir}/usr/var
-  rm -rf ${pkgdir}/var/run/samba
-  (cd script; cp installbin.sh i; cat i | sed 's/\/sbin\///' > installbin.sh)
-  install -D -m755 ../../samba ${pkgdir}/etc/rc.d/samba
-  install -D -m644 ../../samba.conf.d ${pkgdir}/etc/conf.d/samba
-  mkdir -p ${pkgdir}/etc/samba
-  cat ../examples/smb.conf.default | \
-    sed 's|log file = .*$|log file = /var/log/samba/log.%m|g' 
>${pkgdir}/etc/samba/smb.conf.default
-  install -D -m644 ../../samba.logrotate ${pkgdir}/etc/logrotate.d/samba
-  install -D -m644 ../../swat.xinetd ${pkgdir}/etc/xinetd.d/swat
-  install -D -m644 ../../samba.pam ${pkgdir}/etc/pam.d/samba
-  # spool directory
-  install -d -m1777 ${pkgdir}/var/spool/samba
-  sed -i 's|/usr/spool/samba|/var/spool/samba|g' 
${pkgdir}/etc/samba/smb.conf.default
-  # fix logrotate
-  sed -i -e 's|log.%m|%m.log|g' ${pkgdir}/etc/samba/smb.conf.default
-  # nsswitch libraries
-  install -D -m755 ${srcdir}/samba-${_realver}/nsswitch/libnss_wins.so 
${pkgdir}/lib/libnss_wins.so
-  ln -s libnss_wins.so ${pkgdir}/lib/libnss_wins.so.2
-  install -D -m755 ${srcdir}/samba-${_realver}/nsswitch/libnss_winbind.so 
${pkgdir}/lib/libnss_winbind.so
-  ln -s libnss_winbind.so ${pkgdir}/lib/libnss_winbind.so.2
-  # winbind krb5 locator
-  mkdir -p ${pkgdir}/usr/lib/krb5/plugins/libkrb5
-  install -d -m 0755 ${pkgdir}/usr/lib/krb5/plugins/libkrb5
-  install -m 755 bin/winbind_krb5_locator.so 
${pkgdir}/usr/lib/krb5/plugins/libkrb5/winbind_krb5_locator.so
-  # remove conflict files of smbclient
-  for man in libsmbclient smbspool \
-      mount.cifs net cifs.upcall; do
-      rm -f ${pkgdir}/usr/share/man/man8/${man}.8
-  done
-  for i in libnetapi* libwbclient* libsmbclient* winbind_krb5*;do
-      rm -f ${pkgdir}/usr/lib/$i
-  done
-  for bin in net \
-      nmblookup rpcclient smbcacls smbclient \
-      smbcquotas smbget smbspool smbtar smbtree; do
-      rm -f ${pkgdir}/usr/bin/$bin
-  done
-  rm -f ${pkgdir}/usr/sbin/cifs.upcall
-  rm -f ${pkgdir}/usr/include/netapi.h
-  for man in rpcclient smbcacls smbclient smbcquotas \
-      smbtree smbtar nmblookup smbget; do
-      rm -f ${pkgdir}/usr/share/man/man1/${man}.1
-  done
-  for man in tdbbackup tdbdump tdbtool; do
-      rm -f ${pkgdir}/usr/share/man/man8/${man}.8
-  done
-  rm -f ${pkgdir}/usr/share/man/man7/libsmbclient.7
-  rm -f ${pkgdir}/usr/include/libsmbclient.h
-  # copy ldap example
-  install -D -m644 ${srcdir}/samba-${_realver}/examples/LDAP/samba.schema 
${pkgdir}/usr/share/doc/samba/examples/LDAP/samba.schema
-}
-md5sums=('98ac9db9f4b6ebfc3f013aa193ffb0d1'
-         'dfc6f9018c556b9783c7140de183727f'
-         '5697da77590ec092cc8a883bae06093c'
-         'a4bbfa39fee95bba2e7ad6b535fae7e6'
-         '96f82c38f3f540b53f3e5144900acf17'
-         'f2f2e348acd1ccb566e95fa8a561b828')

Copied: samba/repos/testing-x86_64/PKGBUILD (from rev 152741, 
samba/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD                             (rev 0)
+++ testing-x86_64/PKGBUILD     2012-03-09 13:35:22 UTC (rev 152742)
@@ -0,0 +1,153 @@
+# $Id$
+# Maintainer: Tobias Powalowski <tp...@archlinux.org>
+# Contributor: judd <jvi...@zeroflux.org>
+pkgbase=samba
+pkgname=('libwbclient' 'smbclient' 'samba')
+pkgver=3.6.3
+# We use the 'A' to fake out pacman's version comparators.  Samba chooses
+# to append 'a','b',etc to their subsequent releases, which pamcan
+# misconstrues as alpha, beta, etc.  Bad samba!
+_realver=3.6.3
+pkgrel=4
+arch=(i686 x86_64)
+url="http://www.samba.org";
+license=('GPL3')
+makedepends=('db' 'popt' 'libcups' 'acl' 'libldap' 'libcap' 'krb5' 'pam' 
'gamin' 'gnutls>=2.4.1' 'talloc' 'tdb')
+source=(http://us1.samba.org/samba/ftp/stable/${pkgbase}-${_realver}.tar.gz
+        samba samba.logrotate
+        swat.xinetd
+        samba.pam
+        samba.conf.d)
+### UNINSTALL dmapi package before building!!!
+
+build() {
+  cd ${srcdir}/${pkgbase}-${_realver}/source3
+  ./configure --prefix=/usr \
+              --libdir=/usr/lib/ \
+              --localstatedir=/var \
+              --with-configdir=/etc/samba \
+              --with-lockdir=/var/cache/samba \
+              --with-piddir=/var/run/samba \
+              --with-fhs \
+              --with-pam \
+              --with-pam_smbpass \
+              --with-pammodulesdir=/lib/security \
+              --with-dnsupdate \
+              --with-automount \
+              --with-quotas \
+              --with-ads \
+              --with-acl-support \
+              --with-libsmbclient \
+              --with-syslog \
+              --enable-external-libtalloc \
+              --disable-dnssd \
+              --disable-avahi \
+              
--with-shared-modules=idmap_ad,idmap_adex,idmap_rid,idmap_hash,idmap_tdb2 \
+              --enable-external-libtdb
+  make
+}
+
+package_libwbclient () {
+pkgdesc="Samba winbind client library"
+depends=('glibc')
+  cd ${srcdir}/${pkgbase}-${_realver}/source3
+  mkdir -p ${pkgdir}/usr/lib  
+  for i in libwbclient*; do
+      cp  -a bin/${i}*.so* ${pkgdir}/usr/lib/
+  done
+}
+
+package_smbclient () {
+pkgdesc="Tools to access a server's filespace and printers via SMB"
+depends=('readline' 'popt' 'libldap' 'cifs-utils' 'libcap' 'krb5' 'db' 
'e2fsprogs' 'tdb' 'talloc' 'libwbclient')
+  cd ${srcdir}/${pkgbase}-${_realver}/source3
+  mkdir -p ${pkgdir}/usr/bin ${pkgdir}/usr/lib
+  install -m755 
bin/{smbclient,rpcclient,smbspool,smbtree,smbcacls,smbcquotas,smbget,net,nmblookup}
 ${pkgdir}/usr/bin/
+  for i in libnetapi* libsmbclient*;do
+      cp  -a bin/${i}*.so* ${pkgdir}/usr/lib/
+  done
+  install -m755 script/smbtar ${pkgdir}/usr/bin/
+  mkdir -p ${pkgdir}/usr/lib/cups/backend
+  ln -sf /usr/bin/smbspool ${pkgdir}/usr/lib/cups/backend/smb
+  mkdir -p ${pkgdir}/usr/include
+  install -m644 include/libsmbclient.h ${pkgdir}/usr/include/
+  install -m644 lib/netapi/netapi.h ${pkgdir}/usr/include/
+  mkdir -p ${pkgdir}/usr/share/man/man{1,7}
+  for man in rpcclient smbcacls smbclient smbcquotas smbget \
+      smbtree smbtar nmblookup; do
+      install -m644 ../docs/manpages/${man}.1 ${pkgdir}/usr/share/man/man1/
+  done
+  install -m644 ../docs/manpages/libsmbclient.7 ${pkgdir}/usr/share/man/man7/
+}
+
+package_samba () {
+pkgdesc="Tools to access a server's filespace and printers via SMB"
+backup=(etc/logrotate.d/samba
+        etc/pam.d/samba
+        etc/samba/smb.conf
+        etc/xinetd.d/swat
+        etc/conf.d/samba)
+depends=('db' 'popt' 'libcups' 'acl' 'libldap' "smbclient>=$pkgver" 'libcap' 
'krb5' 'pam' 'gamin' 'gnutls' 'e2fsprogs' 'tdb' 'talloc')
+  cd ${srcdir}/samba-${_realver}/source3
+  mkdir -p ${pkgdir}/etc/samba/private
+  chmod 700 ${pkgdir}/etc/samba/private
+  make DESTDIR=${pkgdir} install
+  chmod 644 ${pkgdir}/usr/include/*.h
+  rm -rf ${pkgdir}/usr/var
+  rm -rf ${pkgdir}/var/run/samba
+  (cd script; cp installbin.sh i; cat i | sed 's/\/sbin\///' > installbin.sh)
+  install -D -m755 ../../samba ${pkgdir}/etc/rc.d/samba
+  install -D -m644 ../../samba.conf.d ${pkgdir}/etc/conf.d/samba
+  mkdir -p ${pkgdir}/etc/samba
+  cat ../examples/smb.conf.default | \
+    sed 's|log file = .*$|log file = /var/log/samba/log.%m|g' 
>${pkgdir}/etc/samba/smb.conf.default
+  install -D -m644 ../../samba.logrotate ${pkgdir}/etc/logrotate.d/samba
+  install -D -m644 ../../swat.xinetd ${pkgdir}/etc/xinetd.d/swat
+  install -D -m644 ../../samba.pam ${pkgdir}/etc/pam.d/samba
+  # spool directory
+  install -d -m1777 ${pkgdir}/var/spool/samba
+  sed -i 's|/usr/spool/samba|/var/spool/samba|g' 
${pkgdir}/etc/samba/smb.conf.default
+  # fix logrotate
+  sed -i -e 's|log.%m|%m.log|g' ${pkgdir}/etc/samba/smb.conf.default
+  # nsswitch libraries
+  install -D -m755 ${srcdir}/samba-${_realver}/nsswitch/libnss_wins.so 
${pkgdir}/lib/libnss_wins.so
+  ln -s libnss_wins.so ${pkgdir}/lib/libnss_wins.so.2
+  install -D -m755 ${srcdir}/samba-${_realver}/nsswitch/libnss_winbind.so 
${pkgdir}/lib/libnss_winbind.so
+  ln -s libnss_winbind.so ${pkgdir}/lib/libnss_winbind.so.2
+  # winbind krb5 locator
+  mkdir -p ${pkgdir}/usr/lib/krb5/plugins/libkrb5
+  install -d -m 0755 ${pkgdir}/usr/lib/krb5/plugins/libkrb5
+  install -m 755 bin/winbind_krb5_locator.so 
${pkgdir}/usr/lib/krb5/plugins/libkrb5/winbind_krb5_locator.so
+  # remove conflict files of smbclient
+  for man in libsmbclient smbspool \
+      mount.cifs net cifs.upcall; do
+      rm -f ${pkgdir}/usr/share/man/man8/${man}.8
+  done
+  for i in libnetapi* libwbclient* libsmbclient* winbind_krb5*;do
+      rm -f ${pkgdir}/usr/lib/$i
+  done
+  for bin in net \
+      nmblookup rpcclient smbcacls smbclient \
+      smbcquotas smbget smbspool smbtar smbtree; do
+      rm -f ${pkgdir}/usr/bin/$bin
+  done
+  rm -f ${pkgdir}/usr/sbin/cifs.upcall
+  rm -f ${pkgdir}/usr/include/netapi.h
+  for man in rpcclient smbcacls smbclient smbcquotas \
+      smbtree smbtar nmblookup smbget; do
+      rm -f ${pkgdir}/usr/share/man/man1/${man}.1
+  done
+  for man in tdbbackup tdbdump tdbtool; do
+      rm -f ${pkgdir}/usr/share/man/man8/${man}.8
+  done
+  rm -f ${pkgdir}/usr/share/man/man7/libsmbclient.7
+  rm -f ${pkgdir}/usr/include/libsmbclient.h
+  # copy ldap example
+  install -D -m644 ${srcdir}/samba-${_realver}/examples/LDAP/samba.schema 
${pkgdir}/usr/share/doc/samba/examples/LDAP/samba.schema
+}
+md5sums=('98ac9db9f4b6ebfc3f013aa193ffb0d1'
+         'dfc6f9018c556b9783c7140de183727f'
+         '5697da77590ec092cc8a883bae06093c'
+         'a4bbfa39fee95bba2e7ad6b535fae7e6'
+         '96f82c38f3f540b53f3e5144900acf17'
+         'f2f2e348acd1ccb566e95fa8a561b828')

Deleted: testing-x86_64/samba
===================================================================
--- testing-x86_64/samba        2012-03-09 13:31:36 UTC (rev 152741)
+++ testing-x86_64/samba        2012-03-09 13:35:22 UTC (rev 152742)
@@ -1,57 +0,0 @@
-#!/bin/bash
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-[ -f /etc/conf.d/samba ] && . /etc/conf.d/samba
-
-[ -z "$SAMBA_DAEMONS" ] && SAMBA_DAEMONS=(smbd nmbd)
-
-case "$1" in
-       start)
-               rc=0
-               stat_busy "Starting Samba Server"
-               if [ ! -x /var/run/samba ] ; then
-                       install -m755 -d /var/run/samba
-               fi
-                if [ ! -x /var/log/samba ] ; then
-                        install -m755 -d /var/log/samba
-                fi
-               for d in ${SAMBA_DAEMONS[@]}; do
-                       PID=`pidof -o %PPID /usr/sbin/$d`
-                       [ -z "$PID" ] && /usr/sbin/$d -D
-                       rc=$(($rc+$?))
-               done
-               if [ $rc -gt 0 ]; then
-                       stat_fail
-               else
-                       add_daemon samba
-                       stat_done
-               fi
-       ;;
-       stop)
-               rc=0
-               stat_busy "Stopping Samba Server"
-               for d in ${SAMBA_DAEMONS[@]}; do
-                       PID=`pidof -o %PPID /usr/sbin/$d`
-                       [ -z "$PID" ] || kill $PID &> /dev/null
-                       rc=$(($rc+$?))
-               done
-               if [ $rc -gt 0 ]; then
-                       stat_fail
-               else
-                       rm /var/run/samba/smbd.pid &>/dev/null
-                       rm /var/run/samba/nmbd.pid &>/dev/null
-                       rm /var/run/samba/winbindd.pid &>/dev/null
-                       rm_daemon samba
-                       stat_done
-               fi
-       ;;
-       restart)
-               $0 stop
-               sleep 1
-               $0 start
-       ;;
-       *)
-               echo "usage: $0 {start|stop|restart}"
-esac
-exit 0

Copied: samba/repos/testing-x86_64/samba (from rev 152741, samba/trunk/samba)
===================================================================
--- testing-x86_64/samba                                (rev 0)
+++ testing-x86_64/samba        2012-03-09 13:35:22 UTC (rev 152742)
@@ -0,0 +1,57 @@
+#!/bin/bash
+
+. /etc/rc.conf
+. /etc/rc.d/functions
+[ -f /etc/conf.d/samba ] && . /etc/conf.d/samba
+
+[ -z "$SAMBA_DAEMONS" ] && SAMBA_DAEMONS=(smbd nmbd)
+
+case "$1" in
+       start)
+               rc=0
+               stat_busy "Starting Samba Server"
+               if [ ! -x /var/run/samba ] ; then
+                       install -m755 -d /var/run/samba
+               fi
+                if [ ! -x /var/log/samba ] ; then
+                        install -m755 -d /var/log/samba
+                fi
+               for d in ${SAMBA_DAEMONS[@]}; do
+                       PID=`pidof -o %PPID /usr/sbin/$d`
+                       [ -z "$PID" ] && /usr/sbin/$d -D
+                       rc=$(($rc+$?))
+               done
+               if [ $rc -gt 0 ]; then
+                       stat_fail
+               else
+                       add_daemon samba
+                       stat_done
+               fi
+       ;;
+       stop)
+               rc=0
+               stat_busy "Stopping Samba Server"
+               for d in ${SAMBA_DAEMONS[@]}; do
+                       PID=`pidof -o %PPID /usr/sbin/$d`
+                       [ -z "$PID" ] || kill $PID &> /dev/null
+                       rc=$(($rc+$?))
+               done
+               if [ $rc -gt 0 ]; then
+                       stat_fail
+               else
+                       rm /var/run/samba/smbd.pid &>/dev/null
+                       rm /var/run/samba/nmbd.pid &>/dev/null
+                       rm /var/run/samba/winbindd.pid &>/dev/null
+                       rm_daemon samba
+                       stat_done
+               fi
+       ;;
+       restart)
+               $0 stop
+               sleep 1
+               $0 start
+       ;;
+       *)
+               echo "usage: $0 {start|stop|restart}"
+esac
+exit 0

Deleted: testing-x86_64/samba.conf.d
===================================================================
--- testing-x86_64/samba.conf.d 2012-03-09 13:31:36 UTC (rev 152741)
+++ testing-x86_64/samba.conf.d 2012-03-09 13:35:22 UTC (rev 152742)
@@ -1,7 +0,0 @@
-#
-# Configuration for the samba init script
-#
-
-# space separated list of daemons to launch
-SAMBA_DAEMONS=(smbd nmbd)
-#SAMBA_DAEMONS=(smbd nmbd winbindd)

Copied: samba/repos/testing-x86_64/samba.conf.d (from rev 152741, 
samba/trunk/samba.conf.d)
===================================================================
--- testing-x86_64/samba.conf.d                         (rev 0)
+++ testing-x86_64/samba.conf.d 2012-03-09 13:35:22 UTC (rev 152742)
@@ -0,0 +1,7 @@
+#
+# Configuration for the samba init script
+#
+
+# space separated list of daemons to launch
+SAMBA_DAEMONS=(smbd nmbd)
+#SAMBA_DAEMONS=(smbd nmbd winbindd)

Deleted: testing-x86_64/samba.logrotate
===================================================================
--- testing-x86_64/samba.logrotate      2012-03-09 13:31:36 UTC (rev 152741)
+++ testing-x86_64/samba.logrotate      2012-03-09 13:35:22 UTC (rev 152742)
@@ -1,9 +0,0 @@
-/var/log/samba/log.smbd /var/log/samba/log.nmbd /var/log/samba/*.log {
-   notifempty
-   missingok
-   sharedscripts
-   copytruncate
-   postrotate
-      /bin/kill -HUP `cat /var/run/samba/*.pid 2>/dev/null` 2>/dev/null || true
-   endscript
-}

Copied: samba/repos/testing-x86_64/samba.logrotate (from rev 152741, 
samba/trunk/samba.logrotate)
===================================================================
--- testing-x86_64/samba.logrotate                              (rev 0)
+++ testing-x86_64/samba.logrotate      2012-03-09 13:35:22 UTC (rev 152742)
@@ -0,0 +1,9 @@
+/var/log/samba/log.smbd /var/log/samba/log.nmbd /var/log/samba/*.log {
+   notifempty
+   missingok
+   sharedscripts
+   copytruncate
+   postrotate
+      /bin/kill -HUP `cat /var/run/samba/*.pid 2>/dev/null` 2>/dev/null || true
+   endscript
+}

Deleted: testing-x86_64/samba.pam
===================================================================
--- testing-x86_64/samba.pam    2012-03-09 13:31:36 UTC (rev 152741)
+++ testing-x86_64/samba.pam    2012-03-09 13:35:22 UTC (rev 152742)
@@ -1,3 +0,0 @@
-auth           required        pam_unix.so
-account                required        pam_unix.so
-session                required        pam_unix.so

Copied: samba/repos/testing-x86_64/samba.pam (from rev 152741, 
samba/trunk/samba.pam)
===================================================================
--- testing-x86_64/samba.pam                            (rev 0)
+++ testing-x86_64/samba.pam    2012-03-09 13:35:22 UTC (rev 152742)
@@ -0,0 +1,3 @@
+auth           required        pam_unix.so
+account                required        pam_unix.so
+session                required        pam_unix.so

Deleted: testing-x86_64/swat.xinetd
===================================================================
--- testing-x86_64/swat.xinetd  2012-03-09 13:31:36 UTC (rev 152741)
+++ testing-x86_64/swat.xinetd  2012-03-09 13:35:22 UTC (rev 152742)
@@ -1,10 +0,0 @@
-service swat
-{
-        socket_type             = stream
-        wait                    = no
-        user                    = root
-        server                  = /usr/sbin/swat
-        log_on_success  += HOST DURATION
-        log_on_failure  += HOST
-        disable                 = yes
-}

Copied: samba/repos/testing-x86_64/swat.xinetd (from rev 152741, 
samba/trunk/swat.xinetd)
===================================================================
--- testing-x86_64/swat.xinetd                          (rev 0)
+++ testing-x86_64/swat.xinetd  2012-03-09 13:35:22 UTC (rev 152742)
@@ -0,0 +1,10 @@
+service swat
+{
+        socket_type             = stream
+        wait                    = no
+        user                    = root
+        server                  = /usr/sbin/swat
+        log_on_success  += HOST DURATION
+        log_on_failure  += HOST
+        disable                 = yes
+}

Reply via email to