From 426938307ddcbd6f2db3e86afe6390b6fbe74918 Mon Sep 17 00:00:00 2001 From: Norman Maurer Date: Mon, 11 Sep 2017 11:38:52 -0700 Subject: [PATCH] Use the correct osname in the Bundle-NativeCode declaration. Motivation: We need to ensure we use the correct osname in the Bundle-NativeCode declaration as declared in: https://www.osgi.org/developer/specifications/reference/ Modifications: Update osname to match the spec. Result: Correct Bundle-NativeCode entry in the MANIFEST --- transport-native-epoll/pom.xml | 2 +- transport-native-kqueue/pom.xml | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/transport-native-epoll/pom.xml b/transport-native-epoll/pom.xml index 1882867f51..b9accb67a2 100644 --- a/transport-native-epoll/pom.xml +++ b/transport-native-epoll/pom.xml @@ -179,7 +179,7 @@ true - META-INF/native/libnetty_transport_native_epoll_${os.detected.arch}.so; osname=linux; processor=${os.detected.arch},* + META-INF/native/libnetty_transport_native_epoll_${os.detected.arch}.so; osname=Linux; processor=${os.detected.arch},* true ${project.build.outputDirectory}/META-INF/MANIFEST.MF diff --git a/transport-native-kqueue/pom.xml b/transport-native-kqueue/pom.xml index 56b2942641..0ff618bd1c 100644 --- a/transport-native-kqueue/pom.xml +++ b/transport-native-kqueue/pom.xml @@ -110,7 +110,7 @@ true - META-INF/native/libnetty_transport_native_kqueue_${os.detected.arch}.jnilib; osname=darwin, processor=${os.detected.arch}" + META-INF/native/libnetty_transport_native_kqueue_${os.detected.arch}.jnilib; osname=MacOSX, processor=${os.detected.arch}" true ${project.build.outputDirectory}/META-INF/MANIFEST.MF @@ -217,7 +217,7 @@ true - META-INF/native/libnetty_transport_native_kqueue_${os.detected.arch}.jnilib; osname=darwin, processor=${os.detected.arch}" + META-INF/native/libnetty_transport_native_kqueue_${os.detected.arch}.jnilib; osname=OpenBSD, processor=${os.detected.arch}" true ${project.build.outputDirectory}/META-INF/MANIFEST.MF @@ -324,7 +324,7 @@ true - META-INF/native/libnetty_transport_native_kqueue_${os.detected.arch}.jnilib; osname=darwin, processor=${os.detected.arch}" + META-INF/native/libnetty_transport_native_kqueue_${os.detected.arch}.jnilib; osname=FreeBSD, processor=${os.detected.arch}" true ${project.build.outputDirectory}/META-INF/MANIFEST.MF