pkgsrc-Changes archive

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

CVS commit: pkgsrc/net/samba4



Module Name:    pkgsrc
Committed By:   jperkin
Date:           Tue Nov 29 13:20:23 UTC 2022

Modified Files:
        pkgsrc/net/samba4: PLIST distinfo
Added Files:
        pkgsrc/net/samba4/patches: patch-source4_auth_gensec_wscript__build

Log Message:
samba4: Build krb5.so module statically.

Avoids issues when building on systems that have a native libkrb5.so.  Samba
libraries that try to link against krb5.so, which during the build phase is
named libgensec_module_krb5.so, end up with incorrect library dependencies,
likely due to wrapper interactions.


To generate a diff of this commit:
cvs rdiff -u -r1.47 -r1.48 pkgsrc/net/samba4/PLIST
cvs rdiff -u -r1.86 -r1.87 pkgsrc/net/samba4/distinfo
cvs rdiff -u -r0 -r1.3 \
    pkgsrc/net/samba4/patches/patch-source4_auth_gensec_wscript__build

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/net/samba4/PLIST
diff -u pkgsrc/net/samba4/PLIST:1.47 pkgsrc/net/samba4/PLIST:1.48
--- pkgsrc/net/samba4/PLIST:1.47        Tue Oct 25 07:46:11 2022
+++ pkgsrc/net/samba4/PLIST     Tue Nov 29 13:20:23 2022
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.47 2022/10/25 07:46:11 wiz Exp $
+@comment $NetBSD: PLIST,v 1.48 2022/11/29 13:20:23 jperkin Exp $
 bin/cifsdd
 bin/dbwrap_tool
 bin/dumpmscat
@@ -625,7 +625,6 @@ ${PLIST.ads}lib/samba/bind9/dlz_bind9_12
 ${PLIST.ads}lib/samba/bind9/dlz_bind9_14.${SOEXT}
 ${PLIST.ads}lib/samba/bind9/dlz_bind9_16.${SOEXT}
 ${PLIST.ads}lib/samba/bind9/dlz_bind9_18.${SOEXT}
-${PLIST.ads}lib/samba/gensec/krb5.${SOEXT}
 ${PLIST.ads}lib/samba/idmap/ad.${SOEXT}
 lib/samba/idmap/autorid.${SOEXT}
 lib/samba/idmap/hash.${SOEXT}

Index: pkgsrc/net/samba4/distinfo
diff -u pkgsrc/net/samba4/distinfo:1.86 pkgsrc/net/samba4/distinfo:1.87
--- pkgsrc/net/samba4/distinfo:1.86     Fri Nov 25 10:21:14 2022
+++ pkgsrc/net/samba4/distinfo  Tue Nov 29 13:20:23 2022
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.86 2022/11/25 10:21:14 wiz Exp $
+$NetBSD: distinfo,v 1.87 2022/11/29 13:20:23 jperkin Exp $
 
 BLAKE2s (samba-4.17.3.tar.gz) = c85427eb0dbd444f3e6b7478f70b45d874ce7dcdf2fbbe216c74a2ce73cbdb46
 SHA512 (samba-4.17.3.tar.gz) = a5482bfe66f7f34fdf855e69b7b0fc2a4f9e756947357201651af70f3b10e236474c1b4ae4d9367b122e2d4565601659c373d3b17717a3c5c66aa9258eb58ff0
@@ -33,6 +33,7 @@ SHA1 (patch-source3_printing_samba-bgqd.
 SHA1 (patch-source3_smbd_quotas.c) = 7f959964fac3ee435c57a115c8f5b6407e57b777
 SHA1 (patch-source3_smbd_smb1__process.c) = ff59b9b4f4bdfff2761613ff84fbd669899ea540
 SHA1 (patch-source3_utils_net__offlinejoin.c) = 773a4686d5e2a7eaebf9430529708e8318d45c77
+SHA1 (patch-source4_auth_gensec_wscript__build) = 01f3cdf787833e05f2e0b49ff0af7c8bbad2c161
 SHA1 (patch-source4_dsdb_samdb_ldb__modules_wscript__build__server) = 47f55ec16b667a0a4d38de5ac89a117f2ac8f898
 SHA1 (patch-source4_scripting_wscript__build) = 816d44f48b6cbc6d999995e00eaea1d2dc477159
 SHA1 (patch-third__party_heimdal__build_roken.h) = 59d5523676fe8c0315e969247f26b4ea2f900402

Added files:

Index: pkgsrc/net/samba4/patches/patch-source4_auth_gensec_wscript__build
diff -u /dev/null pkgsrc/net/samba4/patches/patch-source4_auth_gensec_wscript__build:1.3
--- /dev/null   Tue Nov 29 13:20:23 2022
+++ pkgsrc/net/samba4/patches/patch-source4_auth_gensec_wscript__build  Tue Nov 29 13:20:23 2022
@@ -0,0 +1,15 @@
+$NetBSD: patch-source4_auth_gensec_wscript__build,v 1.3 2022/11/29 13:20:23 jperkin Exp $
+
+Build krb5 module statically.  Avoids conflicts with native libkrb5.so.
+
+--- source4/auth/gensec/wscript_build.orig     2022-08-08 14:15:39.536193400 +0000
++++ source4/auth/gensec/wscript_build
+@@ -14,7 +14,7 @@ bld.SAMBA_MODULE('gensec_krb5',
+       subsystem='gensec',
+       init_function='gensec_krb5_init',
+       deps='samba-credentials authkrb5 com_err',
+-      internal_module=False,
++      internal_module=True,
+         enabled=bld.AD_DC_BUILD_IS_ENABLED()
+       )
+ 



Home | Main Index | Thread Index | Old Index