forked from pool/apache-commons-daemon
7047f1be82
- Update to 1.2.2 * Release 1.2.2 - 2019-10-04 - Fix: Procrun. Correct a regression in the fix for DAEMON-401 that prevented the service from starting unless support for the universal C runtime had been installed. - Update: Update Commons-Parent to version 49. * Release 1.2.1 - 2019-09-09 - Fix: jsvc. Correct debug log message that reports change in umask. - Fix: Procrun. Correct a regression in the previous fix for this issue that caused 32-bit services to crash on start-up. Fixes DAEMON-401. - Fix: Procrun. Correct a regression in the fix for DAEMON-391 that caused the GUI to mix-up the WARN and INFO logging levels. * Release 1.2.0 - 2019-07-02 - Fix: Procrun. Only set the global shutdown event if the event is created. - Fix: Unable to build with Java 9 using ant; dropped Ant build files. - Fix: Procrun. prunsrv stopping with error due to hard-coded timeout. - Fix: Update config.guess and config.sub. - Fix: Jsvc. Set the sun.java.command system property when starting via jsvc so that tools like jconsole show something meaningful for the process name. - Fix: Procrun. Correct the level name used in the GUI for WARN so that changes made via the GUI are recognised. Order the log levels in the drop-down from ERROR to DEBUG. - Fix: Procrun. Correct reversed code comments for JRE and JDK locations in the registry. - Fix: Procrun. Fix a bug that meant a value provided for LibraryPath replaced the value of the PATH environment variable rather than prepended to it. - Fix: Procrun. Ensure that the java.library.path environment variable is correctly configured when running on a JRE that depends on the Universal CRT. - Add: Procrun. Log the error code returned if JVM creation fails to aid debugging. - Fix: Procrun. Ensure that environment variables set via prunsrv are visible OBS-URL: https://build.opensuse.org/request/show/811889 OBS-URL: https://build.opensuse.org/package/show/Java:packages/apache-commons-daemon?expand=0&rev=28
31 lines
1.1 KiB
Diff
31 lines
1.1 KiB
Diff
Index: commons-daemon-1.2.2-src/src/native/unix/configure
|
|
===================================================================
|
|
--- commons-daemon-1.2.2-src.orig/src/native/unix/configure
|
|
+++ commons-daemon-1.2.2-src/src/native/unix/configure
|
|
@@ -3332,6 +3332,10 @@ $as_echo "failed" >&6; }
|
|
supported_os="aarch64"
|
|
HOST_CPU=aarch64
|
|
;;
|
|
+ riscv64)
|
|
+ CFLAGS="$CFLAGS -DCPU=\\\"riscv64\\\""
|
|
+ HOST_CPU=$host_cpu
|
|
+ ;;
|
|
*)
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
|
|
$as_echo "failed" >&6; }
|
|
Index: commons-daemon-1.2.2-src/src/native/unix/support/apsupport.m4
|
|
===================================================================
|
|
--- commons-daemon-1.2.2-src.orig/src/native/unix/support/apsupport.m4
|
|
+++ commons-daemon-1.2.2-src/src/native/unix/support/apsupport.m4
|
|
@@ -192,6 +192,10 @@ AC_DEFUN(AP_SUPPORTED_HOST,[
|
|
supported_os="aarch64"
|
|
HOST_CPU=aarch64
|
|
;;
|
|
+ riscv64)
|
|
+ CFLAGS="$CFLAGS -DCPU=\\\"riscv64\\\""
|
|
+ HOST_CPU=$host_cpu
|
|
+ ;;
|
|
*)
|
|
AC_MSG_RESULT([failed])
|
|
AC_MSG_ERROR([Unsupported CPU architecture "$host_cpu"]);;
|