[Bug 284031] net/samba419: add support dns/bind920 for option AD_DC

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 13 Jan 2025 11:25:03 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=284031

            Bug ID: 284031
           Summary: net/samba419: add support dns/bind920 for option AD_DC
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: vvd@FreeBSD.org
                CC: mat@FreeBSD.org, samba@FreeBSD.org
                CC: mat@FreeBSD.org, samba@FreeBSD.org

Possible patch:

diff -urp
net/samba419.orig/files/0001-Compact-and-simplify-modules-build-and-config-genera.patch
net/samba419/files/0001-Compact-and-simplify-modules-build-and-config-genera.patch
---
net/samba419.orig/files/0001-Compact-and-simplify-modules-build-and-config-genera.patch
+++
net/samba419/files/0001-Compact-and-simplify-modules-build-and-config-genera.patch
@@ -168,7 +168,7 @@ -bld.SAMBA_LIBRARY('dlz_bind9_10',

  # a bind9 dlz module giving access to the Samba DNS SAM
 -bld.SAMBA_LIBRARY('dlz_bind9_10',
-+for bind_version in (910, 911, 912, 914, 916, 918):
++for bind_version in (910, 911, 912, 914, 916, 918, 920):
 +    string_version='%d_%d' % (bind_version // 100, bind_version % 100)
 +    bld.SAMBA_LIBRARY('dlz_bind%s' % (string_version),
                    source='dlz_bind9.c',
@@ -236,7 +236,7 @@ -                  cflags='-DBIND_VERSION_9_16',
  bld.SAMBA_LIBRARY('dlz_bind9_for_torture',
                    source='dlz_bind9.c',
 -                  cflags='-DBIND_VERSION_9_16',
-+                  cflags='-DBIND_VERSION=918',
++                  cflags='-DBIND_VERSION=920',
                    private_library=True,
                    deps='samba-hostconfig samdb-common gensec popt
dnsserver_common',
                    enabled=bld.AD_DC_BUILD_IS_ENABLED())
@@ -283,7 +283,7 @@ -           cflags='-DBIND_VERSION_9_16',
                subsystem='smbtorture',
                init_function='torture_bind_dns_init',
 -              cflags='-DBIND_VERSION_9_16',
-+              cflags='-DBIND_VERSION=918',
++              cflags='-DBIND_VERSION=920',
                deps='torture talloc torturemain dlz_bind9_for_torture',
                internal_module=True
                )
diff -urp net/samba419.orig/pkg-plist.ad_dc net/samba419/pkg-plist.ad_dc
--- net/samba419.orig/pkg-plist.ad_dc
+++ net/samba419/pkg-plist.ad_dc
@@ -24,6 +24,7 @@ include/samba4/dcerpc_server.h
 %%SAMBA4_MODULEDIR%%/bind9/dlz_bind9_14.so
 %%SAMBA4_MODULEDIR%%/bind9/dlz_bind9_16.so
 %%SAMBA4_MODULEDIR%%/bind9/dlz_bind9_18.so
+%%SAMBA4_MODULEDIR%%/bind9/dlz_bind9_20.so
 %%SAMBA4_MODULEDIR%%/gensec/krb5.so
 %%SAMBA4_MODULEDIR%%/ldb/acl.so
 %%SAMBA4_MODULEDIR%%/ldb/aclread.so

-- 
You are receiving this mail because:
You are the assignee for the bug.