diff options
author | Juergen Daubert <jue@jue.li> | 2007-11-21 11:32:43 +0100 |
---|---|---|
committer | Juergen Daubert <jue@jue.li> | 2007-11-21 11:32:43 +0100 |
commit | 22cf9918664d174120b971c3f7eea108e1980fe4 (patch) | |
tree | e2a8ea87db1c16426568fefa48082b3d9f7f8472 /samba/Pkgfile | |
parent | c5d37b3d205050fbdc027735e89f01928c3399de (diff) | |
download | opt-22cf9918664d174120b971c3f7eea108e1980fe4.tar.gz opt-22cf9918664d174120b971c3f7eea108e1980fe4.tar.xz |
[notify] samba: update to 3.0.27a
Security update, see http://news.samba.org/releases/3.0.27/
Diffstat (limited to 'samba/Pkgfile')
-rw-r--r-- | samba/Pkgfile | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/samba/Pkgfile b/samba/Pkgfile index b2902d1ea..046f278f5 100644 --- a/samba/Pkgfile +++ b/samba/Pkgfile @@ -4,14 +4,16 @@ # Depends on: ncurses, readline name=samba -version=3.0.26a +version=3.0.27a release=1 source=(http://www.samba.org/samba/ftp/stable/$name-$version.tar.gz \ samba-config.patch samba) build () { cd $name-$version/source - patch -d $SRC -p0 -i $SRC/samba-config.patch + + patch -d .. -p1 -i $SRC/samba-config.patch + ./configure --prefix=/usr \ --with-fhs \ --with-smbmount \ @@ -20,14 +22,15 @@ build () { --with-piddir=/var/run/samba \ --with-mandir=/usr/man \ --with-logfilebase=/var/log/samba + make -j1 make DESTDIR=$PKG install - + # symlinks (cd $PKG/usr/lib ln -s samba/libsmbclient.so libsmbclient.so ln -s samba/libsmbclient.so libsmbclient.so.0) - + # nsswitch extensions install -d $PKG/lib install nsswitch/libnss_win{s,bind}.so $PKG/lib @@ -37,11 +40,11 @@ build () { # spool/log directory install -d $PKG/var/log/samba install -d -m 1777 $PKG/var/spool/samba - + # config-file and start-script cp ../examples/smb.conf.default $PKG/etc/samba install -D -m 755 $SRC/samba $PKG/etc/rc.d/samba - + # cleanup rm -r $PKG/usr/{var,lib/samba/*.msg} chmod -x $PKG/usr/include/* |