[notify] samba: update to 3.0.27a
Security update, see http://news.samba.org/releases/3.0.27/
This commit is contained in:
parent
c5d37b3d20
commit
22cf991866
@ -1,3 +1,3 @@
|
||||
448caca4745aef1a842f4fdb1aa62e1e samba
|
||||
16b47e6add332e5ac4523fc88c381d06 samba-3.0.26a.tar.gz
|
||||
57aedd342cafddbb28e2936c15dde96b samba-3.0.27a.tar.gz
|
||||
fbaccda19afc8f75f6f0123cab82c87e samba-config.patch
|
||||
|
@ -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/*
|
||||
|
Loading…
x
Reference in New Issue
Block a user