summaryrefslogtreecommitdiffstats
path: root/source/n/samba
diff options
context:
space:
mode:
Diffstat (limited to 'source/n/samba')
-rwxr-xr-xsource/n/samba/samba.SlackBuild32
-rw-r--r--source/n/samba/slack-desc8
2 files changed, 7 insertions, 33 deletions
diff --git a/source/n/samba/samba.SlackBuild b/source/n/samba/samba.SlackBuild
index b7cbeefdd..16db23417 100755
--- a/source/n/samba/samba.SlackBuild
+++ b/source/n/samba/samba.SlackBuild
@@ -1,6 +1,6 @@
#!/bin/sh
-# Copyright 2008, 2009, 2010 Patrick J. Volkerding, Sebeka, Minnesota, USA
+# Copyright 2008, 2009, 2010, 2012 Patrick J. Volkerding, Sebeka, Minnesota, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -101,8 +101,6 @@ CFLAGS="$SLKCFLAGS" \
--enable-shared=yes \
--with-acl-support=yes \
--with-automount \
- --with-cifsmount \
- --with-cifsumount \
--with-quotas \
--with-syslog \
--with-utmp \
@@ -137,37 +135,13 @@ cp -a ../nsswitch/libnss_wins.so $PKG/lib${LIBDIRSUFFIX}/libnss_wins.so.2
ln -sf libnss_wins.so.2 libnss_wins.so
)
-# Install a pkgconfig file for libtalloc:
+# Install pkgconfig files:
mkdir -p $PKG/usr/lib${LIBDIRSUFFIX}/pkgconfig
+cp -a pkgconfig/*.pc $PKG/usr/lib${LIBDIRSUFFIX}/pkgconfig
if [ ! -r $PKG/usr/lib${LIBDIRSUFFIX}/pkgconfig/talloc.pc ]; then
cat $CWD/talloc.pc | sed -e "s/\/lib/\/lib${LIBDIRSUFFIX}/" > $PKG/usr/lib${LIBDIRSUFFIX}/pkgconfig/talloc.pc
fi
-## Make sure that other programs can link against libsmbclient:
-#( cd $PKG/usr/lib${LIBDIRSUFFIX}
-# for FILE in samba/libsmbclient.so* ; do
-# ln -sf $FILE
-# done
-#)
-
-# Add some (u)mount links:
-mkdir -p $PKG/sbin
-( cd $PKG/sbin
- # SMBFS is obsolete in the kernel now -- use mount.cifs
- #rm -f mount.smbfs ; ln -sf /usr/bin/smbmount mount.smbfs
- # Add a wrapper script from Debian that's included in the upstream Samba
- # sources to help out people (like me ;-) who don't read every speck of
- # documentation:
- cat $TMP/samba-$VERSION/examples/scripts/mount/mount.smbfs > mount.smbfs
- chmod 755 $PKG/sbin/mount.smbfs
- # I suppose this wouldn't be the worst idea in the world, either:
- ( cd $PKG/usr/bin ; ln -sf /sbin/mount.smbfs smbmount )
- rm -f mount.cifs ; ln -sf /usr/sbin/mount.cifs mount.cifs
- # smbumount was giving me problems so it seems wise to play it safe
- #rm -f umount.smbfs ; ln -sf /usr/bin/smbumount umount.smbfs
- #rm -f umount.cifs ; ln -sf /usr/sbin/umount.cifs umount.cifs
-)
-
# Add a sample config file:
cat $CWD/smb.conf.default > $PKG/etc/samba/smb.conf-sample
diff --git a/source/n/samba/slack-desc b/source/n/samba/slack-desc
index c06b485d9..f4352c607 100644
--- a/source/n/samba/slack-desc
+++ b/source/n/samba/slack-desc
@@ -6,11 +6,11 @@
# customary to leave one space after the ':'.
|-----handy-ruler------------------------------------------------------|
-samba: samba (SMB/CIFS file and print server)
+samba: samba (CIFS file and print server)
samba:
-samba: Samba is an SMB/CIFS file and print server for SMB and CIFS clients.
-samba: It allows you to make file space or printers on a Samba host
-samba: available to SMB/CIFS clients (such as PCs running Windows).
+samba: Samba is a CIFS file and print server for CIFS clients. It allows
+samba: you to make file space or printers on a Samba host available to CIFS
+samba: clients (such as PCs running Windows).
samba:
samba: If you have any Windows file servers, you may be able to replace them
samba: or supplement them with Samba. One of Samba's big strengths is