pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/samba4 samba4: Disable more fmemopen utilities on ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6c1a75ffeaf1
branches:  trunk
changeset: 347109:6c1a75ffeaf1
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Wed Jan 08 10:40:02 2020 +0000

description:
samba4: Disable more fmemopen utilities on SunOS.

diffstat:

 net/samba4/distinfo                                                 |   3 +-
 net/samba4/patches/patch-source4_utils_oLschema2ldif_wscript__build |  24 ++++++++++
 2 files changed, 26 insertions(+), 1 deletions(-)

diffs (43 lines):

diff -r 03400dbbddb4 -r 6c1a75ffeaf1 net/samba4/distinfo
--- a/net/samba4/distinfo       Wed Jan 08 10:37:34 2020 +0000
+++ b/net/samba4/distinfo       Wed Jan 08 10:40:02 2020 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.39 2019/12/30 13:58:35 adam Exp $
+$NetBSD: distinfo,v 1.40 2020/01/08 10:40:02 jperkin Exp $
 
 SHA1 (samba-4.11.4.tar.gz) = 923c21d75bc54f2305caf86374eaf62530885177
 RMD160 (samba-4.11.4.tar.gz) = ac3e90fbb260da95efc6154a9e4bddc8486d79fe
@@ -31,4 +31,5 @@
 SHA1 (patch-source4_heimdal__build_roken.h) = ee535f8e7cc46a3487d95bc859438c476a88fe60
 SHA1 (patch-source4_heimdal_include_heim__threads.h) = c93e0c80790ea2045333822c80e66d371bf2249c
 SHA1 (patch-source4_scripting_wsript_build) = bd4feddcaadf1c3d2d25eb7914e7b5843e4e9511
+SHA1 (patch-source4_utils_oLschema2ldif_wscript__build) = b0cbbcd4ebedd443dc9f9a59d1dad2e039bb9663
 SHA1 (patch-third__party_socket__wrapper_socket__wrapper.c) = 0cc01c932f21e9f6219fb9d204e6fdf3682938f8
diff -r 03400dbbddb4 -r 6c1a75ffeaf1 net/samba4/patches/patch-source4_utils_oLschema2ldif_wscript__build
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/samba4/patches/patch-source4_utils_oLschema2ldif_wscript__build       Wed Jan 08 10:40:02 2020 +0000
@@ -0,0 +1,24 @@
+$NetBSD: patch-source4_utils_oLschema2ldif_wscript__build,v 1.1 2020/01/08 10:40:03 jperkin Exp $
+
+Don't build test_oLschema2ldif on SunOS (lacks fmemopen).
+
+--- source4/utils/oLschema2ldif/wscript_build.orig     2019-12-06 09:49:26.000000000 +0000
++++ source4/utils/oLschema2ldif/wscript_build
+@@ -1,5 +1,7 @@
+ #!/usr/bin/env python
+ 
++import sys
++
+ bld.SAMBA_SUBSYSTEM('oLschema2ldif-lib',
+       source='lib.c',
+       deps='samdb',
+@@ -11,7 +13,8 @@ bld.SAMBA_BINARY('oLschema2ldif',
+       deps='oLschema2ldif-lib POPT_SAMBA',
+       )
+ 
+-bld.SAMBA_BINARY('test_oLschema2ldif',
++if not sys.platform.startswith('sunos'):
++  bld.SAMBA_BINARY('test_oLschema2ldif',
+       source='test.c',
+       deps='cmocka oLschema2ldif-lib',
+       local_include=False,



Home | Main Index | Thread Index | Old Index