summaryrefslogtreecommitdiffstats
path: root/extra/samba3/Pkgfile
diff options
context:
space:
mode:
authortnut <thierryn1 at hispeed dot ch>2010-04-28 17:14:03 +0200
committertnut <thierryn1 at hispeed dot ch>2010-04-28 17:14:03 +0200
commitb838228424c55c4d42e0e8366c21b4dc98110e8c (patch)
tree790a6342f4d174e9add92b3ec9d761de0c1e69be /extra/samba3/Pkgfile
parent514cac6685e3a9393bdb2d8e5619205ca48e1c45 (diff)
downloadnutyx-pakxe-b838228424c55c4d42e0e8366c21b4dc98110e8c.tar.gz
nutyx-pakxe-b838228424c55c4d42e0e8366c21b4dc98110e8c.tar.bz2
nutyx-pakxe-b838228424c55c4d42e0e8366c21b4dc98110e8c.tar.xz
nutyx-pakxe-b838228424c55c4d42e0e8366c21b4dc98110e8c.zip
maj samba3#3.5.2-1
Diffstat (limited to 'extra/samba3/Pkgfile')
-rwxr-xr-xextra/samba3/Pkgfile16
1 files changed, 7 insertions, 9 deletions
diff --git a/extra/samba3/Pkgfile b/extra/samba3/Pkgfile
index ec0bf3fae..688bb3369 100755
--- a/extra/samba3/Pkgfile
+++ b/extra/samba3/Pkgfile
@@ -5,23 +5,22 @@
# Depends on: libcups, gamin
name=samba3
-version=3.3.7
-release=2
+version=3.5.2
+release=1
localname=samba
source=( http://us6.samba.org/samba/ftp/stable/$localname-$version.tar.gz\
smb.conf)
build() {
- cd $localname-$version/source
+ cd $localname-$version/source3
./configure --prefix=/usr \
--localstatedir=/var \
--sysconfdir=/etc \
--with-piddir=/var/run \
--with-pammodulesdir=/lib/security \
- --with-fhs \
- --with-cups \
- --with-smbmount
+ --with-fhs --with-cups --with-syslog \
+ --with-cifsumount --with-cifsmount
make -j3
make DESTDIR=$PKG install
@@ -29,13 +28,12 @@ build() {
chmod -v 644 $PKG/usr/include/libsmbclient.h
install -d $PKG/lib
- install -v -m755 nsswitch/libnss_win{s,bind}.so $PKG/lib
+ install -v -m755 $SRC/$localname-$version/nsswitch/libnss_win{s,bind}.so $PKG/lib
ln -v -sf libnss_winbind.so $PKG/lib/libnss_winbind.so.2
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
cp $SRC/smb.conf $PKG/etc/samba/
# cups
cd $PKG/usr/lib/