Commit a808081b authored by Natanael Copa's avatar Natanael Copa

main/samba: upgrade to 3.4.8

fixes #370
parent 96848a5e
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=samba
pkgver=3.4.7
pkgver=3.4.8
pkgrel=0
pkgdesc="Tools to access a server's filespace and printers via SMB"
url="http://www.samba.org"
......@@ -13,9 +13,17 @@ source="http://us1.$pkgname.org/$pkgname/ftp/stable/$pkgname-$pkgver.tar.gz
samba.initd
samba.confd
samba.logrotate
samba-uclibc-fstab.patch
"
pkggroups="winbind"
prepare() {
cd "$srcdir"/$pkgname-$pkgver/source3
for i in "$srcdir"/*.patch; do
patch -p1 -i "$i" || return 1
done
}
build() {
cd "$srcdir"/$pkgname-$pkgver/source3
./configure --prefix=/usr \
......@@ -108,7 +116,8 @@ tdb() {
usr/bin/tdb*
}
md5sums="f5e11690d54466c143f4598bcce2a8bb samba-3.4.7.tar.gz
md5sums="fe1f6c77be289fd65e19419c1bcaa42c samba-3.4.8.tar.gz
c8a7f6ac5df2f73dbf023e25ea39927b samba.initd
c150433426e18261e6e3eed3930e1a76 samba.confd
b7cafabfb4fa5b3ab5f2e857d8d1c733 samba.logrotate"
b7cafabfb4fa5b3ab5f2e857d8d1c733 samba.logrotate
811e5a3f570d0053cf27a73248be4ae6 samba-uclibc-fstab.patch"
--- ./client/mount.cifs.c.orig
+++ ./client/mount.cifs.c
@@ -39,7 +39,11 @@
#include <mntent.h>
#include <fcntl.h>
#include <limits.h>
-#include <fstab.h>
+#if defined(__UCLIBC__)
+ #define _PATH_FSTAB "/etc/fstab"
+#else
+ #include <fstab.h>
+#endif
#include "mount.h"
#define MOUNT_CIFS_VERSION_MAJOR "1"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment