summaryrefslogtreecommitdiff
path: root/samba/Pkgfile
diff options
context:
space:
mode:
authorJuergen Daubert <jue@jue.li>2010-03-25 11:13:43 +0100
committerJuergen Daubert <jue@jue.li>2010-03-25 11:13:43 +0100
commit0329990259ca485342b0508929445e3a487d7f8e (patch)
tree4e3ee5d8e349c1ea86152e0379ba1cf4bad012ac /samba/Pkgfile
parentbe80d948c8754b35453edf09423a67d26989d262 (diff)
downloadopt-0329990259ca485342b0508929445e3a487d7f8e.tar.gz
opt-0329990259ca485342b0508929445e3a487d7f8e.tar.xz
[notify] samba: update to 3.5.1
Beginning with this new major version, samba is configured to use an external tdb, thus depends on opt/tdb now. Unfortunately this breaks the build of samba, because you have to do a forced-install of tdb first and update samba afterwards, or remove samba first, next install tdb and samba.
Diffstat (limited to 'samba/Pkgfile')
-rw-r--r--samba/Pkgfile18
1 files changed, 8 insertions, 10 deletions
diff --git a/samba/Pkgfile b/samba/Pkgfile
index 7427ae265..cbf1e84c7 100644
--- a/samba/Pkgfile
+++ b/samba/Pkgfile
@@ -1,10 +1,10 @@
# Description: SMB server and client for unix
# URL: http://www.samba.org
# Maintainer: Juergen Daubert, juergen dot daubert at t-online dot de
-# Depends on: ncurses openssl readline zlib
+# Depends on: ncurses openssl readline zlib tdb libcap
name=samba
-version=3.4.7
+version=3.5.1
release=1
source=(http://www.samba.org/samba/ftp/stable/$name-$version.tar.gz \
samba-config.patch samba)
@@ -15,7 +15,6 @@ build () {
patch -d .. -p1 -i $SRC/samba-config.patch
./configure --prefix=/usr \
- --libdir=/usr/lib/samba \
--localstatedir=/var \
--with-fhs \
--with-configdir=/etc/samba \
@@ -24,17 +23,16 @@ build () {
--with-piddir=/var/run/samba \
--with-mandir=/usr/man \
--with-logfilebase=/var/log/samba \
- --disable-swat
+ --disable-swat \
+ --with-included-popt \
+ --with-cifs{mount,umount} \
+ --enable-external-libtdb
- make -j1
+ make
make DESTDIR=$PKG install
install -d $PKG/sbin
mv $PKG/usr/sbin/*.cifs $PKG/sbin
- ln -s samba/libsmbclient.so.0 $PKG/usr/lib/libsmbclient.so
-
- install -d $PKG/etc/ld.so.conf.d
- echo "/usr/lib/samba" > $PKG/etc/ld.so.conf.d/samba.conf
# nsswitch extensions
install -d $PKG/lib
@@ -52,5 +50,5 @@ build () {
# cleanup
rm -r $PKG/usr/share
- rm -r $PKG/usr/man/man8/swat.8
+ rm $PKG/usr/man/man8/{swat.8,tdb*.8}
}

Generated by cgit