[prev in list] [next in list] [prev in thread] [next in thread]
List: crux
Subject: ports/opt (2.3): [notify] samba: update to 3.0.27a
From: crux () crux ! nu
Date: 2007-11-21 10:32:54
Message-ID: 47440956.S9ZOjp7S9dDejT00%crux () crux ! nu
[Download RAW message or body]
commit 22cf9918664d174120b971c3f7eea108e1980fe4
Author: Juergen Daubert <jue@jue.li>
Date: Wed Nov 21 11:32:43 2007 +0100
[notify] samba: update to 3.0.27a
Security update, see http://news.samba.org/releases/3.0.27/
diff --git a/samba/.md5sum b/samba/.md5sum
index ed25db0..9a47a4a 100644
--- a/samba/.md5sum
+++ b/samba/.md5sum
@@ -1,3 +1,3 @@
448caca4745aef1a842f4fdb1aa62e1e samba
-16b47e6add332e5ac4523fc88c381d06 samba-3.0.26a.tar.gz
+57aedd342cafddbb28e2936c15dde96b samba-3.0.27a.tar.gz
fbaccda19afc8f75f6f0123cab82c87e samba-config.patch
diff --git a/samba/Pkgfile b/samba/Pkgfile
index b2902d1..046f278 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/*
_______________________________________________
CRUX mailing list
CRUX@lists.crux.nu
http://lists.crux.nu/mailman/listinfo/crux
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic