From 22cf9918664d174120b971c3f7eea108e1980fe4 Mon Sep 17 00:00:00 2001 From: Juergen Daubert Date: Wed, 21 Nov 2007 11:32:43 +0100 Subject: [notify] samba: update to 3.0.27a Security update, see http://news.samba.org/releases/3.0.27/ --- samba/Pkgfile | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) (limited to 'samba/Pkgfile') 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/* -- cgit v1.2.3