summaryrefslogtreecommitdiffstats
path: root/extra/samba3/Pkgfile
diff options
context:
space:
mode:
authortnut <tnut at nutyx dot com>2011-08-21 20:28:21 +0200
committertnut <tnut at nutyx dot com>2011-08-21 20:28:21 +0200
commit7918b262e9ea610bb85c5d19184c923ac1caf66a (patch)
tree1e0903e4f91d2e68d5d1954dd1a92e6462aabd12 /extra/samba3/Pkgfile
parentda752f508ec427e561f20f123abf6ce91043c0d3 (diff)
downloadnutyx-extra-7918b262e9ea610bb85c5d19184c923ac1caf66a.tar.gz
nutyx-extra-7918b262e9ea610bb85c5d19184c923ac1caf66a.tar.bz2
nutyx-extra-7918b262e9ea610bb85c5d19184c923ac1caf66a.tar.xz
nutyx-extra-7918b262e9ea610bb85c5d19184c923ac1caf66a.zip
samba3, maj 3.6.0-1
Diffstat (limited to 'extra/samba3/Pkgfile')
-rwxr-xr-xextra/samba3/Pkgfile24
1 files changed, 13 insertions, 11 deletions
diff --git a/extra/samba3/Pkgfile b/extra/samba3/Pkgfile
index 478c784ab..b9334360c 100755
--- a/extra/samba3/Pkgfile
+++ b/extra/samba3/Pkgfile
@@ -6,10 +6,10 @@
# Run on: talloc,libcups,gamin,kerberos,libcap
name=samba3
-version=3.5.9
+version=3.6.0
release=1
localname=samba
-source=( http://us6.samba.org/samba/ftp/stable/$localname-$version.tar.gz)
+source=( http://ftp.samba.org/pub/samba/stable/$localname-$version.tar.gz)
build() {
@@ -19,8 +19,7 @@ build() {
--sysconfdir=/etc \
--with-piddir=/var/run \
--with-pammodulesdir=/lib/security \
- --with-fhs --with-syslog \
- --with-cifsumount --with-cifsmount
+ --with-fhs --with-syslog
make
make DESTDIR=$PKG install
@@ -33,17 +32,20 @@ build() {
ln -v -sf libnss_wins.so $PKG/lib/libnss_wins.so.2
install -v -m644 ../examples/smb.conf.default $PKG/etc/samba/smb.conf.default
- chmod -v 4755 $PKG/usr/sbin/{,u}mount.cifs
+ # chmod -v 4755 $PKG/usr/sbin/{,u}mount.cifs
# cups
cd $PKG/usr/lib/
install -d cups/backend
ln -v -sf /usr/bin/smbspool $PKG/usr/lib/cups/backend/smb
rm -r $PKG/{var,etc,usr/share/samba}
rm -r $PKG/usr/sbin/{nmbd,smbd,swat,winbindd}
- # Ne garder que les mans de mount.cifs
- mv $PKG/usr/share/man/man8/{u,}mount.cifs.8 .
- rm -r $PKG/usr/share/man/man8
- mkdir -p $PKG/usr/share/man/man8
- mv {u,}mount.cifs.8 $PKG/usr/share/man/man8/
+ # Ne garder que les mans de mount.cifs si ils existent
+ if [ -f $PKG/usr/share/man/man8/umount.cifs.8 ]; then
+ mv $PKG/usr/share/man/man8/{u,}mount.cifs.8 .
+ rm -r $PKG/usr/share/man/man8
+ mkdir -p $PKG/usr/share/man/man8
+ mv {u,}mount.cifs.8 $PKG/usr/share/man/man8/
+ else
+ rm -r $PKG/usr/share/man/man8
+ fi
}
-