New release of Samba 4.2.

This commit is contained in:
Timur I. Bakeyev 2015-09-19 13:37:59 +00:00
parent 259a2b0a1b
commit b6e7e626ec
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=397324
5 changed files with 46 additions and 28 deletions

View File

@ -3,7 +3,7 @@
PORTNAME?= ${SAMBA4_BASENAME}42
PORTVERSION?= ${SAMBA4_VERSION}
PORTREVISION?= 1
PORTREVISION?= 0
CATEGORIES?= net
MASTER_SITES= SAMBA/samba/stable SAMBA/samba/rc
DISTNAME= ${SAMBA4_DISTNAME}
@ -17,7 +17,7 @@ CONFLICTS?= *samba3[2-6]-3.* samba4-4.0.* samba41-4.1.*
SAMBA4_BASENAME= samba
SAMBA4_PORTNAME= ${SAMBA4_BASENAME}4
SAMBA4_VERSION= 4.2.3
SAMBA4_VERSION= 4.2.4
SAMBA4_DISTNAME= ${SAMBA4_BASENAME}-${SAMBA4_VERSION:S|.p|pre|:S|.r|rc|:S|.t|tp|:S|.a|alpha|}
WRKSRC?= ${WRKDIR}/${DISTNAME}
@ -91,24 +91,24 @@ BUILD_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}dnspython>=1.9.4:${PORTSDIR}/dns/py-dnsp
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}dnspython>=1.9.4:${PORTSDIR}/dns/py-dnspython
PLIST_SUB+= PY_DNSPYTHON="@comment "
# talloc
BUILD_DEPENDS+= talloc>=2.1.2:${PORTSDIR}/devel/talloc
RUN_DEPENDS+= talloc>=2.1.2:${PORTSDIR}/devel/talloc
BUILD_DEPENDS+= talloc>=2.1.3_1:${PORTSDIR}/devel/talloc
RUN_DEPENDS+= talloc>=2.1.3_1:${PORTSDIR}/devel/talloc
SAMBA4_BUNDLED_LIBS+= !talloc
# tevent
BUILD_DEPENDS+= tevent>=0.9.25:${PORTSDIR}/devel/tevent
RUN_DEPENDS+= tevent>=0.9.25:${PORTSDIR}/devel/tevent
SAMBA4_BUNDLED_LIBS+= !tevent
# tdb
BUILD_DEPENDS+= tdb>=1.3.6:${PORTSDIR}/databases/tdb
RUN_DEPENDS+= tdb>=1.3.6:${PORTSDIR}/databases/tdb
BUILD_DEPENDS+= tdb>=1.3.7_1:${PORTSDIR}/databases/tdb
RUN_DEPENDS+= tdb>=1.3.7_1:${PORTSDIR}/databases/tdb
SAMBA4_BUNDLED_LIBS+= !tdb
# ntdb
BUILD_DEPENDS+= ntdb>=1.0:${PORTSDIR}/databases/ntdb
RUN_DEPENDS+= ntdb>=1.0:${PORTSDIR}/databases/ntdb
SAMBA4_BUNDLED_LIBS+= !ntdb
# ldb
BUILD_DEPENDS+= ldb>=1.1.20:${PORTSDIR}/databases/ldb
RUN_DEPENDS+= ldb>=1.1.20:${PORTSDIR}/databases/ldb
BUILD_DEPENDS+= ldb>=1.1.21_1:${PORTSDIR}/databases/ldb
RUN_DEPENDS+= ldb>=1.1.21_1:${PORTSDIR}/databases/ldb
SAMBA4_BUNDLED_LIBS+= !ldb
# Don't use external libcom_err
SAMBA4_BUNDLED_LIBS+= com_err
@ -409,8 +409,8 @@ SHEBANG_FILES= ${PATCH_WRKSRC}/source4/scripting/bin/*
.if ${COMPILER_TYPE} == "clang"
CFLAGS+= -fno-color-diagnostics
.endif
CONFIGURE_ENV+= NOCOLOR=yes
MAKE_ENV+= NOCOLOR=yes
CONFIGURE_ENV+= NOCOLOR=yes WAF_LOG_FORMAT='%(c1)s%(zone)s%(c2)s %(message)s'
MAKE_ENV+= NOCOLOR=yes WAF_LOG_FORMAT='%(c1)s%(zone)s%(c2)s %(message)s'
SAMBA_MAN1+= dbwrap_tool.1 findsmb.1 gentest.1 locktest.1 \
log2pcap.1 masktest.1 ndrdump.1 nmblookup.1 \

View File

@ -1,2 +1,2 @@
SHA256 (samba-4.2.3.tar.gz) = b6dfa5ae4818d891ee2fcff04a5912f4a4fb2394b4f5e66a2a15b428da094c7c
SIZE (samba-4.2.3.tar.gz) = 20721283
SHA256 (samba-4.2.4.tar.gz) = fb326ea486973ab684f183774e93bb943fc231ab89937512e70331b86acdf6ae
SIZE (samba-4.2.4.tar.gz) = 20735687

View File

@ -0,0 +1,21 @@
--- buildtools/wafadmin/Logs.py.orig 2015-08-30 19:19:48.396822145 +0000
+++ buildtools/wafadmin/Logs.py 2015-08-30 20:14:54.119335271 +0000
@@ -23,6 +23,9 @@
'cursor_off' :'\x1b[?25l',
}
+WAF_LOG_FORMAT = os.environ.get('WAF_LOG_FORMAT', LOG_FORMAT)
+WAF_HOUR_FORMAT = os.environ.get('WAF_HOUR_FORMAT', HOUR_FORMAT)
+
got_tty = False
term = os.environ.get('TERM', 'dumb')
if not term in ['dumb', 'emacs']:
@@ -84,7 +87,7 @@
class formatter(logging.Formatter):
def __init__(self):
- logging.Formatter.__init__(self, LOG_FORMAT, HOUR_FORMAT)
+ logging.Formatter.__init__(self, WAF_LOG_FORMAT, WAF_HOUR_FORMAT)
def format(self, rec):
if rec.levelno >= logging.WARNING or rec.levelno == logging.INFO:

View File

@ -0,0 +1,13 @@
--- lib/crypto/wscript_configure.orig 2015-08-30 08:56:39.517693933 +0000
+++ lib/crypto/wscript_configure 2015-08-30 08:57:16.167655660 +0000
@@ -1,8 +1,8 @@
if not conf.CHECK_FUNCS_IN('MD5Init', 'bsd', headers='bsd/md5.h',
checklibc=True):
- conf.CHECK_FUNCS_IN('MD5Init', 'md5', headers='sys/md5.h',
- checklibc=True)
conf.CHECK_FUNCS_IN('MD5Init', 'md', headers='sys/md5.h',
checklibc=True)
+ conf.CHECK_FUNCS_IN('MD5Init', 'md5', headers='sys/md5.h',
+ checklibc=True)
conf.CHECK_FUNCS_IN('CC_MD5_Init', '', headers='CommonCrypto/CommonDigest.h',
checklibc=True)

View File

@ -1,16 +0,0 @@
--- lib/texpect/texpect.c.orig 2015-03-25 02:08:37.745245105 +0000
+++ lib/texpect/texpect.c 2015-03-25 02:20:43.393323073 +0000
@@ -55,10 +55,12 @@
#include <libutil.h>
#endif
-#ifdef STREAMSPTY
+#ifdef STREAMSPTY
#include <stropts.h>
#endif /* STREAMPTY */
+#include <signal.h>
+
#include <popt.h>
#include <errno.h>
#include <err.h>