1
0
forked from ports/opt

samba: update to 4.8.1

This commit is contained in:
Juergen Daubert 2018-04-26 15:02:34 +02:00
parent ef5ce91151
commit 069f89fbc7
5 changed files with 21 additions and 59 deletions

View File

@ -4,7 +4,7 @@ drwxr-xr-x root/root etc/rc.d/
drwxr-xr-x root/root etc/revdep.d/
-rw-r--r-- root/root etc/revdep.d/samba
drwxr-xr-x root/root etc/samba/
drwxr-xr-x root/root etc/samba/private/
drwx------ root/root etc/samba/private/
-rw------- root/root etc/samba/smb.conf.default
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/bin/
@ -181,9 +181,9 @@ lrwxrwxrwx root/root usr/lib/libsamba-util.so.0 -> libsamba-util.so.0.0.1
lrwxrwxrwx root/root usr/lib/libsamdb.so -> libsamdb.so.0.0.1
lrwxrwxrwx root/root usr/lib/libsamdb.so.0 -> libsamdb.so.0.0.1
-rwxr-xr-x root/root usr/lib/libsamdb.so.0.0.1
lrwxrwxrwx root/root usr/lib/libsmbclient.so -> libsmbclient.so.0.2.3
lrwxrwxrwx root/root usr/lib/libsmbclient.so.0 -> libsmbclient.so.0.2.3
-rwxr-xr-x root/root usr/lib/libsmbclient.so.0.2.3
lrwxrwxrwx root/root usr/lib/libsmbclient.so -> libsmbclient.so.0.3.1
lrwxrwxrwx root/root usr/lib/libsmbclient.so.0 -> libsmbclient.so.0.3.1
-rwxr-xr-x root/root usr/lib/libsmbclient.so.0.3.1
lrwxrwxrwx root/root usr/lib/libsmbconf.so -> libsmbconf.so.0
-rwxr-xr-x root/root usr/lib/libsmbconf.so.0
lrwxrwxrwx root/root usr/lib/libtevent-util.so -> libtevent-util.so.0.0.1
@ -261,7 +261,7 @@ lrwxrwxrwx root/root usr/lib/samba/libcom_err-samba4.so.0 -> libcom_err-samba4.s
-rwxr-xr-x root/root usr/lib/samba/libflag-mapping-samba4.so
-rwxr-xr-x root/root usr/lib/samba/libgenrand-samba4.so
-rwxr-xr-x root/root usr/lib/samba/libgensec-samba4.so
-rwxr-xr-x root/root usr/lib/samba/libgpo-samba4.so
-rwxr-xr-x root/root usr/lib/samba/libgpext-samba4.so
-rwxr-xr-x root/root usr/lib/samba/libgse-samba4.so
lrwxrwxrwx root/root usr/lib/samba/libgssapi-samba4.so.2 -> libgssapi-samba4.so.2.0.0
-rwxr-xr-x root/root usr/lib/samba/libgssapi-samba4.so.2.0.0
@ -285,8 +285,8 @@ lrwxrwxrwx root/root usr/lib/samba/libkrb5-samba4.so.26 -> libkrb5-samba4.so.26.
-rwxr-xr-x root/root usr/lib/samba/libkrb5-samba4.so.26.0.0
-rwxr-xr-x root/root usr/lib/samba/libkrb5samba-samba4.so
-rwxr-xr-x root/root usr/lib/samba/libldb-cmdline-samba4.so
lrwxrwxrwx root/root usr/lib/samba/libldb.so.1 -> libldb.so.1.2.3
-rwxr-xr-x root/root usr/lib/samba/libldb.so.1.2.3
lrwxrwxrwx root/root usr/lib/samba/libldb.so.1 -> libldb.so.1.3.2
-rwxr-xr-x root/root usr/lib/samba/libldb.so.1.3.2
-rwxr-xr-x root/root usr/lib/samba/libldbsamba-samba4.so
-rwxr-xr-x root/root usr/lib/samba/liblibcli-lsa3-samba4.so
-rwxr-xr-x root/root usr/lib/samba/liblibcli-netlogon3-samba4.so
@ -347,7 +347,6 @@ drwxr-xr-x root/root usr/lib/samba/vfs/
-rwxr-xr-x root/root usr/lib/samba/vfs/acl_tdb.so
-rwxr-xr-x root/root usr/lib/samba/vfs/acl_xattr.so
-rwxr-xr-x root/root usr/lib/samba/vfs/aio_fork.so
-rwxr-xr-x root/root usr/lib/samba/vfs/aio_linux.so
-rwxr-xr-x root/root usr/lib/samba/vfs/aio_pthread.so
-rwxr-xr-x root/root usr/lib/samba/vfs/audit.so
-rwxr-xr-x root/root usr/lib/samba/vfs/btrfs.so
@ -379,11 +378,13 @@ drwxr-xr-x root/root usr/lib/samba/vfs/
-rwxr-xr-x root/root usr/lib/samba/vfs/syncops.so
-rwxr-xr-x root/root usr/lib/samba/vfs/time_audit.so
-rwxr-xr-x root/root usr/lib/samba/vfs/unityed_media.so
-rwxr-xr-x root/root usr/lib/samba/vfs/virusfilter.so
-rwxr-xr-x root/root usr/lib/samba/vfs/worm.so
-rwxr-xr-x root/root usr/lib/samba/vfs/xattr_tdb.so
-rwxr-xr-x root/root usr/lib/winbind_krb5_locator.so
drwxr-xr-x root/root usr/sbin/
-rwxr-xr-x root/root usr/sbin/nmbd
-rwxr-xr-x root/root usr/sbin/samba_gpoupdate
-rwxr-xr-x root/root usr/sbin/smbd
-rwxr-xr-x root/root usr/sbin/winbindd
drwxr-xr-x root/root usr/share/
@ -419,6 +420,8 @@ drwxr-xr-x root/root usr/share/man/man5/
drwxr-xr-x root/root usr/share/man/man7/
-rw-r--r-- root/root usr/share/man/man7/libsmbclient.7.gz
-rw-r--r-- root/root usr/share/man/man7/samba.7.gz
-rw-r--r-- root/root usr/share/man/man7/traffic_learner.7.gz
-rw-r--r-- root/root usr/share/man/man7/traffic_replay.7.gz
-rw-r--r-- root/root usr/share/man/man7/winbind_krb5_locator.7.gz
drwxr-xr-x root/root usr/share/man/man8/
-rw-r--r-- root/root usr/share/man/man8/cifsdd.8.gz
@ -447,7 +450,6 @@ drwxr-xr-x root/root usr/share/man/man8/
-rw-r--r-- root/root usr/share/man/man8/vfs_acl_tdb.8.gz
-rw-r--r-- root/root usr/share/man/man8/vfs_acl_xattr.8.gz
-rw-r--r-- root/root usr/share/man/man8/vfs_aio_fork.8.gz
-rw-r--r-- root/root usr/share/man/man8/vfs_aio_linux.8.gz
-rw-r--r-- root/root usr/share/man/man8/vfs_aio_pthread.8.gz
-rw-r--r-- root/root usr/share/man/man8/vfs_audit.8.gz
-rw-r--r-- root/root usr/share/man/man8/vfs_btrfs.8.gz
@ -469,6 +471,7 @@ drwxr-xr-x root/root usr/share/man/man8/
-rw-r--r-- root/root usr/share/man/man8/vfs_linux_xfs_sgid.8.gz
-rw-r--r-- root/root usr/share/man/man8/vfs_media_harmony.8.gz
-rw-r--r-- root/root usr/share/man/man8/vfs_netatalk.8.gz
-rw-r--r-- root/root usr/share/man/man8/vfs_nfs4acl_xattr.8.gz
-rw-r--r-- root/root usr/share/man/man8/vfs_offline.8.gz
-rw-r--r-- root/root usr/share/man/man8/vfs_prealloc.8.gz
-rw-r--r-- root/root usr/share/man/man8/vfs_preopen.8.gz
@ -485,6 +488,7 @@ drwxr-xr-x root/root usr/share/man/man8/
-rw-r--r-- root/root usr/share/man/man8/vfs_time_audit.8.gz
-rw-r--r-- root/root usr/share/man/man8/vfs_tsmsm.8.gz
-rw-r--r-- root/root usr/share/man/man8/vfs_unityed_media.8.gz
-rw-r--r-- root/root usr/share/man/man8/vfs_virusfilter.8.gz
-rw-r--r-- root/root usr/share/man/man8/vfs_worm.8.gz
-rw-r--r-- root/root usr/share/man/man8/vfs_xattr_tdb.8.gz
-rw-r--r-- root/root usr/share/man/man8/vfs_zfsacl.8.gz
@ -494,6 +498,7 @@ drwxr-xr-x root/root var/cache/
drwxr-xr-x root/root var/cache/samba/
drwxr-xr-x root/root var/lib/
drwxr-xr-x root/root var/lib/samba/
drwxrwx--- root/root var/lib/samba/bind-dns/
drwxrwxrwt root/root var/lock/
drwxr-xr-x root/root var/lock/samba/
drwxr-xr-x root/root var/log/

View File

@ -1,3 +1,2 @@
b23b1a37fa9a0c6881b2ee9cbba169a1 fix-build-without-ads.patch
1869ebd29f3e277b405e3e4cd9423ccf samba
e22d9447b9f5eabfcc61b8f9050b99ba samba-4.7.7.tar.gz
3cdb976a892bc036bfb61eeb97f68450 samba-4.8.1.tar.gz

View File

@ -1,7 +1,6 @@
untrusted comment: verify with /etc/ports/opt.pub
RWSE3ohX2g5d/bHYO2+7XT5oJKunccFeg1Y1BMmJouvb/UdjBG2Qt0n7j9MXbH3mPSsCrH2X1blSRePTsH0pHPl4pEkFN3Mc3go=
SHA256 (Pkgfile) = 2af8bfb8e0938768a91137339bfbd53a186265795661c843557110560f91e892
SHA256 (.footprint) = 3021111df1970c6210fbef3eab58f15d222c1f2c3affaae8122b958dc144ad5e
SHA256 (samba-4.7.7.tar.gz) = 29fad16fa70c1342c300d28d1b474b04c01a2a650149e94cace36fcbace80131
SHA256 (fix-build-without-ads.patch) = ad64ac4119ef3caa06313730428b60f15ea2d413803a2ea9a1929b0c5dd9b2d3
RWSE3ohX2g5d/XDY0l6Njj0Q3GWjS2NXB7OERgPJ1Ku7sVolH2yld50v7KjJZTdusufFFstYRvP0t0pKBJZSGjhBRyX42rqIzwc=
SHA256 (Pkgfile) = 1184bbbabddb11a09bef7abe9246146bf56bab486aa7ebd7c76e1c139edd2788
SHA256 (.footprint) = 837381f815e758933b74b113665f9e285494c07fac3a8e8e576bf1d527601e0c
SHA256 (samba-4.8.1.tar.gz) = 8ef7367507f16b7a5e2f6aed5bcdbd1143feca79aa2a07c9b21292b17d7f789d
SHA256 (samba) = 75bccea892422b5aebe8d2f9ce9b9c42ddc3cbdeccfd16f3161c07c1eb3feff0

View File

@ -1,21 +1,17 @@
# Description: SMB server and client for unix
# URL: http://www.samba.org
# Maintainer: Juergen Daubert, jue at crux dot nu
# Depends on: e2fsprogs libarchive tdb tevent libcap libaio popt
# Depends on: libarchive libcap popt tdb tevent
name=samba
version=4.7.7
version=4.8.1
release=1
source=(https://www.samba.org/samba/ftp/stable/$name-$version.tar.gz \
fix-build-without-ads.patch \
samba)
build () {
cd $name-$version
# https://bugzilla.samba.org/show_bug.cgi?id=13273
patch -p1 -i $SRC/fix-build-without-ads.patch
./configure --enable-fhs \
--prefix=/usr \
--libexecdir=/usr/lib \

View File

@ -1,37 +0,0 @@
From 23e45c107fb1dbc28333916b8d5fe3fbe628d137 Mon Sep 17 00:00:00 2001
From: Volker Lendecke <vl@samba.org>
Date: Sat, 3 Feb 2018 07:07:24 +0100
Subject: [PATCH] libads: Fix the build --without-ads
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: David Disseldorp <ddiss@samba.org>
Autobuild-User(master): David Disseldorp <ddiss@samba.org>
Autobuild-Date(master): Tue Feb 6 02:47:44 CET 2018 on sn-devel-144
Bug: https://bugzilla.samba.org/show_bug.cgi?id=13273
(cherry picked from commit 859698d29b547217356851094ed8188236e717b6)
---
source3/libads/kerberos_keytab.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/source3/libads/kerberos_keytab.c b/source3/libads/kerberos_keytab.c
index ffd100c..37ac7ba 100644
--- a/source3/libads/kerberos_keytab.c
+++ b/source3/libads/kerberos_keytab.c
@@ -640,7 +640,11 @@ int ads_keytab_list(const char *keytab_name)
}
if (keytab_name == NULL) {
+#ifdef HAVE_ADS
ret = ads_keytab_open(context, &keytab);
+#else
+ ret = ENOENT;
+#endif
} else {
ret = smb_krb5_kt_open(context, keytab_name, False, &keytab);
}
--
1.9.1