This is an automated email from the ASF dual-hosted git repository.

chesnay pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/flink-shaded.git


The following commit(s) were added to refs/heads/master by this push:
     new 0dafc0b  [FLINK-23325] Bump netty to 4.1.65
0dafc0b is described below

commit 0dafc0b3b7a7a436d65e054976c04d2a6dc05caf
Author: Chesnay Schepler <[email protected]>
AuthorDate: Fri Jul 9 11:09:16 2021 +0200

    [FLINK-23325] Bump netty to 4.1.65
---
 flink-shaded-netty-4/pom.xml                       |  2 +-
 .../src/main/resources/META-INF/NOTICE             |  2 +-
 flink-shaded-netty-tcnative-dynamic/pom.xml        | 24 ++++++++--------------
 .../src/main/resources/META-INF/NOTICE             |  2 +-
 flink-shaded-netty-tcnative-static/pom.xml         |  5 +++--
 .../src/main/resources/META-INF/NOTICE             |  2 +-
 6 files changed, 15 insertions(+), 22 deletions(-)

diff --git a/flink-shaded-netty-4/pom.xml b/flink-shaded-netty-4/pom.xml
index 6adda76..5babbe4 100644
--- a/flink-shaded-netty-4/pom.xml
+++ b/flink-shaded-netty-4/pom.xml
@@ -34,7 +34,7 @@ under the License.
     <version>${netty.version}-14.0</version>
 
     <properties>
-        <netty.version>4.1.49.Final</netty.version>
+        <netty.version>4.1.65.Final</netty.version>
     </properties>
 
     <dependencies>
diff --git a/flink-shaded-netty-4/src/main/resources/META-INF/NOTICE 
b/flink-shaded-netty-4/src/main/resources/META-INF/NOTICE
index 06da558..2bbdc2f 100644
--- a/flink-shaded-netty-4/src/main/resources/META-INF/NOTICE
+++ b/flink-shaded-netty-4/src/main/resources/META-INF/NOTICE
@@ -6,4 +6,4 @@ The Apache Software Foundation (http://www.apache.org/).
 
 This project bundles the following dependencies under the Apache Software 
License 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt)
 
-- io.netty:netty-all:4.1.49.Final
+- io.netty:netty-all:4.1.65.Final
diff --git a/flink-shaded-netty-tcnative-dynamic/pom.xml 
b/flink-shaded-netty-tcnative-dynamic/pom.xml
index db2626b..0032a34 100644
--- a/flink-shaded-netty-tcnative-dynamic/pom.xml
+++ b/flink-shaded-netty-tcnative-dynamic/pom.xml
@@ -34,7 +34,8 @@ under the License.
     <version>${netty.tcnative.version}-14.0</version>
 
     <properties>
-        <netty.tcnative.version>2.0.30.Final</netty.tcnative.version>
+        <!-- This is based on the "tcnative.version" property in the netty 
root pom-->
+        <netty.tcnative.version>2.0.39.Final</netty.tcnative.version>
     </properties>
 
     <dependencies>
@@ -123,7 +124,7 @@ under the License.
                             <groupId>io.netty</groupId>
                             <artifactId>netty-tcnative</artifactId>
                             <version>${netty.tcnative.version}</version>
-                            <classifier>windows-x86_64</classifier>
+                            <classifier>linux-aarch_64-fedora</classifier>
                             <type>jar</type>
                             <overWrite>false</overWrite>
                             
<outputDirectory>${project.build.directory}/native_libs</outputDirectory>
@@ -146,27 +147,18 @@ under the License.
                                 <echo message="extracting netty_tcnative 
dynamically linked wrapper libraries" />
                                 <!-- Fix the dynamically linked native 
libraries in netty-tcnative -->
                                 <unzip 
src="${project.build.directory}/native_libs/netty-tcnative-${netty.tcnative.version}-linux-x86_64.jar"
 dest="${project.build.directory}/native_libs/unpacked/" />
-                                <move 
todir="${project.build.directory}/unpacked/META-INF/native" 
includeemptydirs="false">
-                                    <fileset 
dir="${project.build.directory}/native_libs/unpacked/META-INF/native"/>
-                                    <mapper type="glob" 
from="libnetty_tcnative.so" 
to="liborg_apache_flink_shaded_netty4_netty_tcnative_linux_x86_64.so"/>
-                                </move>
-                                <delete 
dir="${project.build.directory}/native_libs/unpacked/" />
-                                <unzip 
src="${project.build.directory}/native_libs/netty-tcnative-${netty.tcnative.version}-linux-x86_64-fedora.jar"
 dest="${project.build.directory}/native_libs/unpacked/" />
-                                <move 
todir="${project.build.directory}/unpacked/META-INF/native" 
includeemptydirs="false">
-                                    <fileset 
dir="${project.build.directory}/native_libs/unpacked/META-INF/native"/>
-                                    <mapper type="glob" 
from="libnetty_tcnative.so" 
to="liborg_apache_flink_shaded_netty4_netty_tcnative_linux_x86_64_fedora.so"/>
-                                </move>
-                                <delete 
dir="${project.build.directory}/native_libs/unpacked/" />
                                 <unzip 
src="${project.build.directory}/native_libs/netty-tcnative-${netty.tcnative.version}-osx-x86_64.jar"
 dest="${project.build.directory}/native_libs/unpacked/" />
+                                <unzip 
src="${project.build.directory}/native_libs/netty-tcnative-${netty.tcnative.version}-linux-aarch_64-fedora.jar"
 dest="${project.build.directory}/native_libs/unpacked/" />
                                 <move 
todir="${project.build.directory}/unpacked/META-INF/native" 
includeemptydirs="false">
                                     <fileset 
dir="${project.build.directory}/native_libs/unpacked/META-INF/native"/>
-                                    <mapper type="glob" 
from="libnetty_tcnative.jnilib" 
to="liborg_apache_flink_shaded_netty4_netty_tcnative_osx_x86_64.jnilib"/>
+                                    <mapper type="glob" from="lib*" 
to="liborg_apache_flink_shaded_netty4_*"/>
                                 </move>
                                 <delete 
dir="${project.build.directory}/native_libs/unpacked/" />
-                                <unzip 
src="${project.build.directory}/native_libs/netty-tcnative-${netty.tcnative.version}-windows-x86_64.jar"
 dest="${project.build.directory}/native_libs/unpacked/" />
+                                <!-- the fedora linux .so file has the same 
name as the one for plain linux, so we need to separately extract, relocate and 
move it -->
+                                <unzip 
src="${project.build.directory}/native_libs/netty-tcnative-${netty.tcnative.version}-linux-x86_64-fedora.jar"
 dest="${project.build.directory}/native_libs/unpacked/" />
                                 <move 
todir="${project.build.directory}/unpacked/META-INF/native" 
includeemptydirs="false">
                                     <fileset 
dir="${project.build.directory}/native_libs/unpacked/META-INF/native"/>
-                                    <mapper type="glob" 
from="netty_tcnative.dll" 
to="org_apache_flink_shaded_netty4_netty_tcnative_windows_x86_64.dll"/>
+                                    <mapper type="glob" from="lib*.so" 
to="liborg_apache_flink_shaded_netty4_*_fedora.so"/>
                                 </move>
                                 <delete 
dir="${project.build.directory}/native_libs/unpacked/" />
                                 <echo message="repackaging netty jar" />
diff --git 
a/flink-shaded-netty-tcnative-dynamic/src/main/resources/META-INF/NOTICE 
b/flink-shaded-netty-tcnative-dynamic/src/main/resources/META-INF/NOTICE
index b598d46..d10ef04 100644
--- a/flink-shaded-netty-tcnative-dynamic/src/main/resources/META-INF/NOTICE
+++ b/flink-shaded-netty-tcnative-dynamic/src/main/resources/META-INF/NOTICE
@@ -6,4 +6,4 @@ The Apache Software Foundation (http://www.apache.org/).
 
 This project bundles the following dependencies under the Apache Software 
License 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt)
 
-- io.netty:netty-tcnative:2.0.30.Final
+- io.netty:netty-tcnative:2.0.39.Final
diff --git a/flink-shaded-netty-tcnative-static/pom.xml 
b/flink-shaded-netty-tcnative-static/pom.xml
index ccfcfbf..24b3961 100644
--- a/flink-shaded-netty-tcnative-static/pom.xml
+++ b/flink-shaded-netty-tcnative-static/pom.xml
@@ -34,7 +34,8 @@ under the License.
     <version>${netty.tcnative.version}-14.0</version>
 
     <properties>
-        <netty.tcnative.version>2.0.30.Final</netty.tcnative.version>
+        <!-- This is based on the "tcnative.version" property in the netty 
root pom-->
+        <netty.tcnative.version>2.0.39.Final</netty.tcnative.version>
     </properties>
 
     <dependencies>
@@ -91,7 +92,7 @@ under the License.
                                 <echo message="renaming netty_tcnative 
library" />
                                 <move 
todir="${project.build.directory}/unpacked/META-INF/native" 
includeemptydirs="false">
                                     <fileset 
dir="${project.build.directory}/unpacked/META-INF/native"/>
-                                    <mapper type="regexp" 
from="(lib)?netty_tcnative_(linux_x86_64.so|osx_x86_64.jnilib|windows_x86_64.dll)"
 to="\1org_apache_flink_shaded_netty4_netty_tcnative_\2"/>
+                                    <mapper type="regexp" 
from="(lib)?netty_tcnative_(linux_x86_64.so|linux_aarch_64.so|osx_x86_64.jnilib|windows_x86_64.dll)"
 to="\1org_apache_flink_shaded_netty4_netty_tcnative_\2"/>
                                 </move>
                                 <echo message="repackaging netty jar" />
                                 <jar 
destfile="${project.build.directory}/${artifactId}-${version}.jar" 
basedir="${project.build.directory}/unpacked" />
diff --git 
a/flink-shaded-netty-tcnative-static/src/main/resources/META-INF/NOTICE 
b/flink-shaded-netty-tcnative-static/src/main/resources/META-INF/NOTICE
index 2f9b5e1..ee4b26e 100644
--- a/flink-shaded-netty-tcnative-static/src/main/resources/META-INF/NOTICE
+++ b/flink-shaded-netty-tcnative-static/src/main/resources/META-INF/NOTICE
@@ -6,7 +6,7 @@ The Apache Software Foundation (http://www.apache.org/).
 
 This project bundles the following dependencies under the Apache Software 
License 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt)
 
-- io.netty:netty-tcnative-boringssl-static:2.0.30.Final
+- io.netty:netty-tcnative-boringssl-static:2.0.39.Final
 
 This project bundles the following dependencies under the OpenSSL license.
 See bundled license files for details.

Reply via email to