]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
CHANGES/notes/docs
authorWitold Kręcicki <wpk@isc.org>
Thu, 16 Aug 2018 17:46:10 +0000 (19:46 +0200)
committerWitold Kręcicki <wpk@isc.org>
Thu, 16 Aug 2018 17:46:10 +0000 (19:46 +0200)
CHANGES
doc/arm/notes.xml
doc/arm/pkcs11.xml
doc/dev/dev.md

diff --git a/CHANGES b/CHANGES
index f0325241231ee37ce45d0bdbfd04d65245bfa647..eb27b9a47156916c3bcde3d4304fcb3eeb7203b0 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,3 +1,5 @@
+5011.  [func]          Remove support for unthreaded named. [GL #478]
+
 5010.  [func]          New "validate-except" option specifies a list of
                        domains beneath which DNSSEC validation should not
                        be performed. [GL #237]
index de2760cbe5ca3f20770ec28a02036c1fa8b7d6ff..b680339d5c8f0f58337fcc07ef22d0d3d833696f 100644 (file)
 
   <section xml:id="relnotes_removed"><info><title>Removed Features</title></info>
     <itemizedlist>
+      <listitem>
+       <para>
+         Previously, it was possible to build BIND without thread support
+         for old architectures and systems without threads support.
+         BIND now requires threading support (either POSIX or Windows) from
+         the operating system, and it cannot be built without threads.
+       </para>
+      </listitem>
       <listitem>
        <para>
          <command>named</command> can no longer use the EDNS CLIENT-SUBNET
index b64f953c1025e706a0d624e2975ccd7c3a77969d..28f1ede56193a4711fcddf11612d5529e5b3b714 100644 (file)
@@ -230,23 +230,13 @@ $ <userinput>patch -p1 -d openssl-0.9.8zc \
       <screen>
 $ <userinput>cp pkcs11.GCC4.0.2.so.4.05 /opt/pkcs11/usr/lib/libpkcs11.so</userinput>
 </screen>
-      <para>
-       The Keyper library requires threads, so we
-       must specify -pthread.
-      </para>
       <screen>
 $ <userinput>cd openssl-0.9.8zc</userinput>
-$ <userinput>./Configure linux-x86_64 -pthread \
+$ <userinput>./Configure linux-x86_64 \
            --pk11-libname=/opt/pkcs11/usr/lib/libpkcs11.so \
            --pk11-flavor=sign-only \
            --prefix=/opt/pkcs11/usr</userinput>
 </screen>
-      <para>
-       After configuring, run "<command>make</command>"
-       and "<command>make test</command>". If "<command>make
-       test</command>" fails with "pthread_atfork() not found", you forgot to
-       add the -pthread above.
-      </para>
     </section>
     <section><info><title>Building OpenSSL for the SCA 6000 on Solaris</title></info>
       <!-- Example 2 -->
@@ -316,7 +306,7 @@ $ <userinput> /opt/pkcs11/usr/bin/softhsm --init-token 0 --slot 0 --label sofths
       </para>
       <screen>
 $ <userinput>cd openssl-0.9.8zc</userinput>
-$ <userinput>./Configure linux-x86_64 -pthread \
+$ <userinput>./Configure linux-x86_64 \
            --pk11-libname=/opt/pkcs11/usr/lib/libsofthsm.so \
            --pk11-flavor=sign-only \
            --prefix=/opt/pkcs11/usr</userinput>
@@ -355,13 +345,9 @@ $ <userinput>./Configure linux-x86_64 -pthread \
     <section><info><title>Configuring BIND 9 for Linux with the AEP Keyper</title></info>
       <!-- Example 4 -->
 
-      <para>
-       To link with the PKCS#11 provider, threads must be
-       enabled in the BIND 9 build.
-      </para>
       <screen>
 $ <userinput>cd ../bind9</userinput>
-$ <userinput>./configure --enable-threads \
+$ <userinput>./configure \
           --with-openssl=/opt/pkcs11/usr \
           --with-pkcs11=/opt/pkcs11/usr/lib/libpkcs11.so</userinput>
 </screen>
@@ -369,13 +355,9 @@ $ <userinput>./configure --enable-threads \
     <section><info><title>Configuring BIND 9 for Solaris with the SCA 6000</title></info>
       <!-- Example 5 -->
 
-      <para>
-       To link with the PKCS#11 provider, threads must be
-       enabled in the BIND 9 build.
-      </para>
       <screen>
 $ <userinput>cd ../bind9</userinput>
-$ <userinput>./configure CC="cc -xarch=amd64" --enable-threads \
+$ <userinput>./configure CC="cc -xarch=amd64" \
            --with-openssl=/opt/pkcs11/usr \
            --with-pkcs11=/usr/lib/64/libpkcs11.so</userinput>
 </screen>
@@ -393,7 +375,7 @@ $ <userinput>./configure CC="cc -xarch=amd64" --enable-threads \
 
       <screen>
 $ <userinput>cd ../bind9</userinput>
-$ <userinput>./configure --enable-threads \
+$ <userinput>./configure \
           --with-openssl=/opt/pkcs11/usr \
           --with-pkcs11=/opt/pkcs11/usr/lib/libsofthsm.so</userinput>
 </screen>
index 83b8ce0233e3d78a885fa70dc065a63172d2ccb1..e7e4b897af448e84606db3af96b127c7a0f687ee 100644 (file)
@@ -80,7 +80,7 @@ comments; they must be clearly written and consistent with existing style.
 * Read the diff
 * Read accompanying notes in the ticket
 * Apply the diff to the appropriate branch
-* Run `configure` (using at least `--enable-developer --enable-threads --with-atf`)
+* Run `configure` (using at least `--enable-developer --with-atf`)
 * Build
 * Read the documentation, if any
 * Read the tests