forked from pool/apache-commons-daemon
OBS-URL: https://build.opensuse.org/package/show/Java:packages/apache-commons-daemon?expand=0&rev=53
This commit is contained in:
commit
2c4132ba5d
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
.osc
|
13
apache-commons-daemon-JAVA_OS.patch
Normal file
13
apache-commons-daemon-JAVA_OS.patch
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
Index: commons-daemon-1.3.4-src/src/native/unix/configure.in
|
||||||
|
===================================================================
|
||||||
|
--- commons-daemon-1.3.4-src.orig/src/native/unix/configure.in
|
||||||
|
+++ commons-daemon-1.3.4-src/src/native/unix/configure.in
|
||||||
|
@@ -97,7 +97,7 @@ then
|
||||||
|
AC_MSG_RESULT([jni_md.h found in $JAVA_HOME/$JAVA_INC])
|
||||||
|
INCLUDES="$INCLUDES -I$JAVA_HOME/include -I$JAVA_HOME/$JAVA_INC"
|
||||||
|
else
|
||||||
|
- INCLUDES="$INCLUDES -I$JAVA_HOME/include -I$JAVA_HOME/include/$supported_os"
|
||||||
|
+ INCLUDES="$INCLUDES -I$JAVA_HOME/include -I$JAVA_HOME/include/$JAVA_OS"
|
||||||
|
fi
|
||||||
|
|
||||||
|
dnl -------------------------------------------------------------------------
|
98
apache-commons-daemon-build.xml
Normal file
98
apache-commons-daemon-build.xml
Normal file
@ -0,0 +1,98 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project name="commons-daemon" default="all" basedir=".">
|
||||||
|
|
||||||
|
<property file="build.properties" />
|
||||||
|
|
||||||
|
<property name="project.groupId" value="commons-daemon" />
|
||||||
|
<property name="project.artifactId" value="commons-daemon" />
|
||||||
|
<property name="project.version" value="1.4.0" />
|
||||||
|
|
||||||
|
<property name="compiler.source" value="1.8" />
|
||||||
|
<property name="compiler.target" value="${compiler.source}" />
|
||||||
|
|
||||||
|
<property name="build.finalName" value="${project.artifactId}-${project.version}" />
|
||||||
|
<property name="build.dir" value="target" />
|
||||||
|
<property name="build.outputDir" value="${build.dir}/classes" />
|
||||||
|
<property name="build.srcDir" value="src/main/java" />
|
||||||
|
<property name="build.resourceDir" value="src/main/resources" />
|
||||||
|
<property name="reporting.outputDirectory" value="${build.dir}/site" />
|
||||||
|
|
||||||
|
<target name="clean" description="Clean the output directory">
|
||||||
|
<delete dir="${build.dir}" />
|
||||||
|
</target>
|
||||||
|
|
||||||
|
<target name="compile" description="Compile the code">
|
||||||
|
<mkdir dir="${build.outputDir}" />
|
||||||
|
<javac
|
||||||
|
destdir="${build.outputDir}"
|
||||||
|
nowarn="false"
|
||||||
|
debug="true"
|
||||||
|
optimize="false"
|
||||||
|
deprecation="true"
|
||||||
|
target="${compiler.target}"
|
||||||
|
verbose="false"
|
||||||
|
fork="false"
|
||||||
|
source="${compiler.source}">
|
||||||
|
<src>
|
||||||
|
<pathelement location="${build.srcDir}" />
|
||||||
|
</src>
|
||||||
|
</javac>
|
||||||
|
</target>
|
||||||
|
|
||||||
|
<target name="javadoc" description="Generates the Javadoc of the application">
|
||||||
|
<javadoc
|
||||||
|
sourcepath="${build.srcDir}"
|
||||||
|
packagenames="*"
|
||||||
|
destdir="${reporting.outputDirectory}/apidocs"
|
||||||
|
access="protected"
|
||||||
|
source="${compiler.source}"
|
||||||
|
verbose="false"
|
||||||
|
version="true"
|
||||||
|
use="true"
|
||||||
|
author="true"
|
||||||
|
splitindex="false"
|
||||||
|
nodeprecated="false"
|
||||||
|
nodeprecatedlist="false"
|
||||||
|
notree="false"
|
||||||
|
noindex="false"
|
||||||
|
nohelp="false"
|
||||||
|
nonavbar="false"
|
||||||
|
serialwarn="false"
|
||||||
|
charset="ISO-8859-1"
|
||||||
|
linksource="false"
|
||||||
|
breakiterator="false" />
|
||||||
|
</target>
|
||||||
|
|
||||||
|
<target name="package" depends="compile" description="Package the application">
|
||||||
|
<jar
|
||||||
|
jarfile="${build.dir}/${build.finalName}.jar"
|
||||||
|
compress="true"
|
||||||
|
index="false"
|
||||||
|
basedir="${build.outputDir}"
|
||||||
|
excludes="**/package.html">
|
||||||
|
<manifest>
|
||||||
|
<attribute name="Bundle-DocURL" value="https://commons.apache.org/proper/commons-daemon/"/>
|
||||||
|
<attribute name="Bundle-License" value="https://www.apache.org/licenses/LICENSE-2.0.txt"/>
|
||||||
|
<attribute name="Bundle-ManifestVersion" value="2"/>
|
||||||
|
<attribute name="Bundle-Name" value="Apache Commons Daemon"/>
|
||||||
|
<attribute name="Bundle-SymbolicName" value="org.apache.commons.commons-daemon"/>
|
||||||
|
<attribute name="Bundle-Vendor" value="The Apache Software Foundation"/>
|
||||||
|
<attribute name="Bundle-Version" value="${project.version}"/>
|
||||||
|
<attribute name="Export-Package" value="org.apache.commons.daemon;version="${project.version}",org.apache.commons.daemon.support;version="${project.version}""/>
|
||||||
|
<attribute name="Implementation-Title" value="Apache Commons Daemon"/>
|
||||||
|
<attribute name="Implementation-Vendor-Id" value="org.apache"/>
|
||||||
|
<attribute name="Implementation-Vendor" value="The Apache Software Foundation"/>
|
||||||
|
<attribute name="Implementation-Version" value="${project.version}"/>
|
||||||
|
<attribute name="Require-Capability" value="osgi.ee;filter:="(&(osgi.ee=JavaSE)(version=${compiler.target}))""/>
|
||||||
|
<attribute name="Specification-Title" value="Apache Commons Daemon"/>
|
||||||
|
<attribute name="Specification-Vendor" value="The Apache Software Foundation"/>
|
||||||
|
<attribute name="Specification-Version" value="${project.version}"/>
|
||||||
|
<attribute name="X-Compile-Source-JDK" value="${compiler.source}"/>
|
||||||
|
<attribute name="X-Compile-Target-JDK" value="${compiler.target}"/>
|
||||||
|
</manifest>
|
||||||
|
</jar>
|
||||||
|
</target>
|
||||||
|
|
||||||
|
<target name="all" depends="package,javadoc" description="Build the project" />
|
||||||
|
|
||||||
|
</project>
|
11
apache-commons-daemon-gcc14-compat.patch
Normal file
11
apache-commons-daemon-gcc14-compat.patch
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
--- a/src/native/unix/native/jsvc-unix.c
|
||||||
|
+++ b/src/native/unix/native/jsvc-unix.c
|
||||||
|
@@ -1308,7 +1308,7 @@ static int run_controller(arg_data *args
|
||||||
|
* These will be replaced in the child process.
|
||||||
|
*/
|
||||||
|
memset(&act, '\0', sizeof(act));
|
||||||
|
- act.sa_sigaction = controller;
|
||||||
|
+ act.sa_sigaction = (void *) controller;
|
||||||
|
sigemptyset(&act.sa_mask);
|
||||||
|
act.sa_flags = SA_RESTART | SA_NOCLDSTOP | SA_SIGINFO;
|
||||||
|
|
398
apache-commons-daemon.changes
Normal file
398
apache-commons-daemon.changes
Normal file
@ -0,0 +1,398 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Aug 12 11:42:00 UTC 2024 - Gus Kenion <gus.kenion@suse.com>
|
||||||
|
|
||||||
|
- Upgrade to 1.4.0
|
||||||
|
* Fixes:
|
||||||
|
+ [StepSecurity] ci: Harden GitHub Actions #95.
|
||||||
|
+ Procrun. Enable Control Flow Guard for Windows binaries.
|
||||||
|
Fixes DAEMON-429.
|
||||||
|
+ Procrun. Better label for command used to start service shown
|
||||||
|
in Prunmgr.exe. Fixes DAEMON-461.
|
||||||
|
+ jsvc. Fix warnings when running support/buildconf.sh
|
||||||
|
+ jsvc. Fix compilation issue with newer compilers. Fixes
|
||||||
|
+ Procrun. Refactor UAC support so that elevation is only
|
||||||
|
requested for actions that require administrator privileges.
|
||||||
|
* New Features:
|
||||||
|
+ Procrun. Add support for hybrid CRT builds.
|
||||||
|
+ jsvc. Add support for LoongArch64 support #92.
|
||||||
|
* Update dependencies:
|
||||||
|
+ Bump commons-parent from 57 to 69 #155.
|
||||||
|
+ The minimum support Java version has been upgraded from Java
|
||||||
|
7 to Java 8.
|
||||||
|
+ Bump commons-parent from 69 to 70.
|
||||||
|
- Revise apache-commons-daemon-gcc14-compat.patch for compatibility
|
||||||
|
with version 1.4.0
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon May 6 11:08:35 UTC 2024 - Gus Kenion <gus.kenion@suse.com>
|
||||||
|
|
||||||
|
- Add apache-commons-daemon-gcc14-compat.patch for GCC 14
|
||||||
|
compatibility.
|
||||||
|
- Correct offset in apache-commons-daemon-JAVA_OS.patch.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Feb 20 11:03:50 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||||
|
|
||||||
|
- Use %patch -P N instead of deprecated %patchN.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Feb 6 08:04:16 UTC 2024 - Fridrich Strba <fstrba@suse.com>
|
||||||
|
|
||||||
|
- Disable LTO to avoid undefined symbols on some platforms
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Oct 17 07:48:06 UTC 2023 - David Anes <david.anes@suse.com>
|
||||||
|
|
||||||
|
- Update to 1.3.4:
|
||||||
|
* Procrun. Configured stack size now applies to the main thread
|
||||||
|
when running in JVM mode. Fixes DAEMON-451.
|
||||||
|
* Procrun. If the specified log directory does not exist, attempt
|
||||||
|
to create any missing parent directories, as well as the
|
||||||
|
specified directory, when the service starts. Fixes DAEMON-452.
|
||||||
|
* Procrun. Allow Windows service dependencies to be managed by
|
||||||
|
Procrun or by 'sc config ...'. Fixes DAEMON-458.
|
||||||
|
* jsvc. Fix DaemonController.reload() only working the first time
|
||||||
|
it is called. Fixes DAEMON-459. Thanks to Klaus Malorny.
|
||||||
|
* jsvc. Remove incorrent definition 'supported_os' which defined
|
||||||
|
in psupport.m4 file to fix jsvc build error on riscv64.
|
||||||
|
* Bump commons-parent from 54 to 57 #71, #91.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed May 3 07:07:37 UTC 2023 - Pedro Monreal <pmonreal@suse.com>
|
||||||
|
|
||||||
|
- Update to 1.3.3:
|
||||||
|
* Fixes:
|
||||||
|
- Procrun. Follow-up to ensure all child processes are cleaned
|
||||||
|
up if the service does not stop cleanly.
|
||||||
|
- Procrun. Fix creation of duplicate ACL entries on some
|
||||||
|
Windows platforms.
|
||||||
|
* Updates:
|
||||||
|
- Bump actions/cache from 3.0.8 to 3.0.11.
|
||||||
|
- Bump actions/checkout from 3.0.2 to 3.1.0.
|
||||||
|
- Bump actions/setup-java from 3.5.1 to 3.6.0.
|
||||||
|
- Bump spotbugs-maven-plugin from 4.7.2.0 to 4.7.3.0.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Oct 21 04:37:52 UTC 2022 - Pedro Monreal <pmonreal@suse.com>
|
||||||
|
|
||||||
|
- Update to 1.3.2:
|
||||||
|
* Fixes:
|
||||||
|
- Procrun. Remove noisy INFO log message that triggered logging
|
||||||
|
once per minute while the service was running.
|
||||||
|
- Fix typos in Javadoc and comments.
|
||||||
|
- Procrun. The DependsOn parameter is no longer ignored when
|
||||||
|
updating the service configuration.
|
||||||
|
- Fix crash and provide an error level log message when the
|
||||||
|
user attempts to start the service without configuring a
|
||||||
|
JVM and none is available via the registry.
|
||||||
|
* Updates:
|
||||||
|
- Bump actions/cache from 3.0.3 to 3.0.8.
|
||||||
|
- Bump actions/checkout from 3 to 3.0.2.
|
||||||
|
- Bump commons-parent from 53 to 54.
|
||||||
|
- Bump spotbugs-maven-plugin from 4.6.0.0 to 4.7.2.0.
|
||||||
|
- Bump jacoco-maven-plugin from 0.8.7 to 0.8.8.
|
||||||
|
- Bump japicmp-maven-plugin from 0.15.4 to 0.16.0.
|
||||||
|
- Bump JUnit 4 to 5 vintage.
|
||||||
|
* Remove apache-commons-daemon-riscv64.patch already upstream
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Mar 19 13:05:21 UTC 2022 - Fridrich Strba <fstrba@suse.com>
|
||||||
|
|
||||||
|
- Build with source/target levels 8
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jul 27 14:12:09 UTC 2021 - Fridrich Strba <fstrba@suse.com>
|
||||||
|
|
||||||
|
- Define %%make_build for systems where it is not defined in
|
||||||
|
rpm macros
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Feb 3 07:53:39 UTC 2021 - Pedro Monreal <pmonreal@suse.com>
|
||||||
|
|
||||||
|
- Update to 1.2.4
|
||||||
|
* Procrun. Ensure that log messages written to stdout and stderr
|
||||||
|
are not lost during start-up.
|
||||||
|
* Procrun. Correct a regression introduced in 1.2.3. Enable the
|
||||||
|
service to start if the Options value is not present in the
|
||||||
|
registry.
|
||||||
|
* jsvc. Don't fail if the CAP_DAC_READ_SEARCH capability is not
|
||||||
|
available. Fall back to using argv[0] rather than
|
||||||
|
/proc/self/exe to determine the path for the current binary.
|
||||||
|
* Improved JRE/JDK detection to support increased range of both
|
||||||
|
JVM versions and vendors
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Oct 27 08:26:44 UTC 2020 - Pedro Monreal <pmonreal@suse.com>
|
||||||
|
|
||||||
|
- Update to 1.2.3
|
||||||
|
* Fix: Procrun. Correct multiple issues related to enabling a
|
||||||
|
service to interact with the desktop. Provide a better error
|
||||||
|
message if this option is used with an invalid user, install
|
||||||
|
the service with the option enabled if requested and correctly
|
||||||
|
save the setting if it is enabled in the GUI.
|
||||||
|
* Fix: jsvc. Update the list of paths searched for libjvm.so to
|
||||||
|
include the path used by OpenJDK 11.
|
||||||
|
* Add: Procrun. Add additional debug logging for Java start mode.
|
||||||
|
* Fix: jsvc. Remove incorrect definition 'supported_os' which
|
||||||
|
defined in psupport.m4 file to fix jsvc build error on s390,
|
||||||
|
arm, aarch64, mipsel and mips.
|
||||||
|
* Add: More debug logging in prunsrv.c and javajni.c.
|
||||||
|
* Add: Update arguments.c to support Java 11 --enable-preview.
|
||||||
|
* Add: jsvc and Procrun. Add support for Java native memory tracking.
|
||||||
|
* Add: Procrun. Add a new command, print, that outputs the command to
|
||||||
|
(re-)configure the service with the current settings. This is
|
||||||
|
intended to be used to save settings such as before an upgrade.
|
||||||
|
- Rebase apache-commons-daemon-riscv64.patch
|
||||||
|
- Remove apache-commons-daemon-s390x.patch fixed upstream
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jun 9 07:26:21 UTC 2020 - Fridrich Strba <fstrba@suse.com>
|
||||||
|
|
||||||
|
- Generate ant build file and customize it in order to be able to
|
||||||
|
build this ring package without cycles. Ring packages cannot be
|
||||||
|
built using maven.
|
||||||
|
- Modified patches:
|
||||||
|
* apache-commons-daemon-JAVA_OS.patch
|
||||||
|
* apache-commons-daemon-riscv64.patch
|
||||||
|
* apache-commons-daemon-s390x.patch
|
||||||
|
+ Do not patch configure file itself, since we generate it
|
||||||
|
during the build
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jun 5 10:54:00 UTC 2020 - Pedro Monreal Gonzalez <pmonrealgonzalez@suse.com>
|
||||||
|
|
||||||
|
- 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
|
||||||
|
to native libraries that depend on the Universal CRT.
|
||||||
|
- Fix: Procrun. Remove the code that removed quotes from configured Java and
|
||||||
|
Java 9 Options.
|
||||||
|
- Add: Procrun. Add an option to configure the service to use the 'Automatic
|
||||||
|
(Delayed Start)' startup mode.
|
||||||
|
- Add: Procrun. When running in jre mode, if the standard Java registry
|
||||||
|
entries for JavaHome and RuntimeLib are not present, attempt to use the
|
||||||
|
Procrun JavaHome key to find the runtime library.
|
||||||
|
- Add: jsvc. Include the full path to the jsvc executable in the debug log.
|
||||||
|
* Release 1.1.0 - 2017-11-15
|
||||||
|
- Update: Update the minimum Java requirement from version 5 to 6.
|
||||||
|
- Update: Add AArch64 support to src/native/unix/support/apsupport.m4.
|
||||||
|
- Fix: Remove calls to explicit garbage collection during daemon start and stop.
|
||||||
|
- Fix: Update config.guess and config.sub to add support, amongst others,
|
||||||
|
for the 64-bit PowerPC Little-Endian architecture.
|
||||||
|
- Update: Update Commons-Parent to version 41.
|
||||||
|
- Fix: Update apsupport.m4 add support for 64-bit PowerPC architectures.
|
||||||
|
- Fix: Suppress spurious "The data area passed to a system call is too small"
|
||||||
|
error message in the log when Procrun fails to stop the service.
|
||||||
|
- Fix: Enable jsvc to start when running on Java 9.
|
||||||
|
- Fix: Fix a resource leak opening the JVM configuration file.
|
||||||
|
_ Fix: Improve the jsvc code that restarts the process if the JVM crashes so
|
||||||
|
that if the JVM crashes after a signal has been received to shut down jsvc
|
||||||
|
does not attempt to restart the JVM.
|
||||||
|
- Fix: Ensure that the child process is started with the correct umask.
|
||||||
|
- Fix: Correct conflicting information for the behaviour of Procrun when
|
||||||
|
using jvm mode.
|
||||||
|
- Fix: Ensure that, when using Procrun in java or exe mode, the service
|
||||||
|
process waits for the stop process to complete before starting clean-up
|
||||||
|
to avoid a crash in the stop process.
|
||||||
|
- Fix: Enable jsvc to find the jvm when running on AIX.
|
||||||
|
- Fix: Ensure that Procrun treats JVM crashes as service failures so the
|
||||||
|
recovery options will apply.
|
||||||
|
- Fix: Ensure that the //MQ command closes the prunmgr process even if
|
||||||
|
the configuration dialog is open when the //MQ command is used.
|
||||||
|
- Fix: Add support for Java 9 command line arguments to jsvc.
|
||||||
|
- Add: Add a restarts options to jsvc to control the number of permitted
|
||||||
|
restarts after a system crash.
|
||||||
|
- Remove: Remove support for building Procrun for the Itanium platform.
|
||||||
|
- Fix: Fix race conditions in PID file handling in jsvc.
|
||||||
|
- Remove patches:
|
||||||
|
* apache-commons-daemon-ppc64.patch
|
||||||
|
* apache-commons-daemon-aarch64.patch
|
||||||
|
- Refresh patches:
|
||||||
|
* apache-commons-daemon-riscv64.patch
|
||||||
|
* apache-commons-daemon-JAVA_OS.patch
|
||||||
|
- Update project keyring.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Mar 25 17:35:22 UTC 2019 - Fridrich Strba <fstrba@suse.com>
|
||||||
|
|
||||||
|
- Remove pom parent, since we don't use it when not building with
|
||||||
|
maven
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jul 12 15:01:55 UTC 2018 - schwab@suse.de
|
||||||
|
|
||||||
|
- apache-commons-daemon-riscv64.patch: add riscv64 to the list of
|
||||||
|
supported cpus
|
||||||
|
- Use %license for LICENSE.txt
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue May 15 08:29:55 UTC 2018 - fstrba@suse.com
|
||||||
|
|
||||||
|
- Build with source and target 8 to prepare for a possible removal
|
||||||
|
of 1.6 compatibility
|
||||||
|
- Run fdupes on documentation
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Sep 14 11:22:56 UTC 2017 - fstrba@suse.com
|
||||||
|
|
||||||
|
- Fix jdk9 build by specifying java source and target 1.6
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri May 19 09:18:53 UTC 2017 - pcervinka@suse.com
|
||||||
|
|
||||||
|
- New build dependency: javapackages-local
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Mar 25 09:15:36 UTC 2015 - tchvatal@suse.com
|
||||||
|
|
||||||
|
- Drop gpg verification. We can stick to what osc services do for us
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Mar 24 13:54:27 UTC 2015 - tchvatal@suse.com
|
||||||
|
|
||||||
|
- Drop unused patches:
|
||||||
|
* 0001-execve-path-warning.patch
|
||||||
|
* config-guess-sub-update.patch
|
||||||
|
* jsvc-libcap-relative.patch
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Mar 18 09:45:58 UTC 2015 - tchvatal@suse.com
|
||||||
|
|
||||||
|
- Fix build with new javapackages-tools
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Sep 13 08:40:12 UTC 2013 - mvyskocil@suse.com
|
||||||
|
|
||||||
|
- add javapackages-tools to build requires
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu May 16 12:04:08 UTC 2013 - mvyskocil@suse.com
|
||||||
|
|
||||||
|
- update to 1.0.15
|
||||||
|
* bugfix release, see RELEASE-NOTES.txt for a list of fixed bugs
|
||||||
|
- obsoleted patches:
|
||||||
|
* 0001-execve-path-warning.patch, already upstream
|
||||||
|
* jsvc-libcap-relative.patch, already upstream
|
||||||
|
* config-guess-sub-update.patch, already upstream
|
||||||
|
- don't install pointless filesfor SUSE Linux
|
||||||
|
- verify package signature on openSUSE 12.3+
|
||||||
|
- use source urls
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Mar 25 23:24:11 UTC 2013 - schwab@suse.de
|
||||||
|
|
||||||
|
- config-guess-sub-update.patch: update config.guess/sub for aarch64
|
||||||
|
- apache-commons-daemon-aarch64.patch: add aarch64 to the list of
|
||||||
|
supported cpus
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jul 19 09:13:08 UTC 2012 - mvyskocil@suse.cz
|
||||||
|
|
||||||
|
- fix bnc#771802: jsvc fails to load libcap
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jul 3 13:28:57 UTC 2012 - dvaleev@suse.com
|
||||||
|
|
||||||
|
- read ppc64 as known platform.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jun 15 11:14:54 UTC 2012 - mvyskocil@suse.cz
|
||||||
|
|
||||||
|
- Update to 1.0.10 (bugfix release)
|
||||||
|
- Rename to apache-commons-daemon
|
||||||
|
* put the binary to -jsvc package
|
||||||
|
* return jars from -java package to main one
|
||||||
|
- Obsoleted ppc patch
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Apr 2 15:30:42 UTC 2012 - dvaleev@suse.com
|
||||||
|
|
||||||
|
- fix ppc64 architecture detection
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Sep 6 13:56:15 UTC 2011 - mvyskocil@suse.cz
|
||||||
|
|
||||||
|
- Update to 1.0.7
|
||||||
|
* fix bnc#CVE-2011-2729/bnc#715656
|
||||||
|
* proper file closing and other minor fixes
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jan 19 18:04:43 UTC 2011 - bitshuffler@opensuse.org
|
||||||
|
|
||||||
|
- Updated to 1.0.5.
|
||||||
|
- Reworked spec.
|
||||||
|
- Removed obsolete patches.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Aug 26 12:53:54 CEST 2009 - mls@suse.de
|
||||||
|
|
||||||
|
- make patch0 usage consistent
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Sep 25 11:45:32 CEST 2006 - skh@suse.de
|
||||||
|
|
||||||
|
- don't use icecream
|
||||||
|
- use source="1.4" and target="1.4" for build with java 1.5
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jan 25 21:46:36 CET 2006 - mls@suse.de
|
||||||
|
|
||||||
|
- converted neededforbuild to BuildRequires
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jan 16 17:13:42 CET 2006 - jsmeix@suse.de
|
||||||
|
|
||||||
|
- Current version 1.0.1 from JPackage.org
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jul 27 16:14:09 CEST 2005 - jsmeix@suse.de
|
||||||
|
|
||||||
|
- Adjustments in the spec file.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jul 20 14:53:21 CEST 2005 - jsmeix@suse.de
|
||||||
|
|
||||||
|
- Current version 1.0 from JPackage.org
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jul 18 16:06:38 CEST 2005 - jsmeix@suse.de
|
||||||
|
|
||||||
|
- Current version 1.0 from JPackage.org
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Sep 16 15:18:24 CEST 2004 - skh@suse.de
|
||||||
|
|
||||||
|
- Fix prerequires of javadoc subpackage
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Sep 2 16:57:34 CEST 2004 - skh@suse.de
|
||||||
|
|
||||||
|
- Initial package created with version 1.0 (JPackage 1.5)
|
||||||
|
|
163
apache-commons-daemon.keyring
Normal file
163
apache-commons-daemon.keyring
Normal file
@ -0,0 +1,163 @@
|
|||||||
|
pub 1024D/33C60243 2004-09-12
|
||||||
|
Key fingerprint = DCFD 35E0 BF8C A734 4752 DE8B 6FB2 1E89 33C6 0243
|
||||||
|
uid Mark E D Thomas <markt@apache.org>
|
||||||
|
uid Mark E D Thomas <med.thomas@virgin.net>
|
||||||
|
uid Mark E D Thomas <mark.thomas@springsource.com>
|
||||||
|
sub 2048g/0BECE548 2004-09-12
|
||||||
|
|
||||||
|
pub 4096R/2F6059E7 2009-09-18
|
||||||
|
Key fingerprint = A9C5 DF4D 22E9 9998 D987 5A51 10C0 1C5A 2F60 59E7
|
||||||
|
uid Mark E D Thomas <markt@apache.org>
|
||||||
|
sub 4096R/5E763BEC 2009-09-18
|
||||||
|
|
||||||
|
-----BEGIN PGP PUBLIC KEY BLOCK-----
|
||||||
|
Version: GnuPG v1.4.9 (MingW32)
|
||||||
|
|
||||||
|
mQGiBEFEjegRBADocGttfROvtLGrTOW3xRqZHmFWybmEaI6jmnRdN/1gGXmb3wQL
|
||||||
|
rHsS3fLFIIOYLPph0Kov9q4qNq36LekShIvjMBDFoj2/wRxaUtFq81asaRZg8Mcw
|
||||||
|
4kVeIoe8OIOuWmvYhU8SH2jJNUnVVrpTPAa6QWquTmseNi6UJMjLxuL7DwCg//9u
|
||||||
|
k2yj0vk6e4WSO6Fe5+EkQDED/AjQsy0kj9TpNHkKSSUR2evRlWPYA0YtxBSbsgON
|
||||||
|
tT0cYipAp5IcYt6Zq5QzHiZreyQXLAjItDS2oGCIXfNbTYJ3kxxJTCU/3wlefVdq
|
||||||
|
LBh4ttm7gmWaiTDTgG4axLF5oMpAb3m4v6s1KvXVVj2pqkhBknfuoRh1wPqbtwks
|
||||||
|
7HOIBADVezl1/vny5YzdoqsDx1ByXMLi7CuMexQPllhRbdN+an+ZiJ5YP8J9rPdl
|
||||||
|
NCELsCCcDKLGLjlp43XfMxsgYAPEZNG2ObjKTarhk3uGYN3aJrx7s+G+c2bu8o2n
|
||||||
|
SyAFQ1iDsjS87PgSPCONA2/36ZShmv1OjLWz5Vo7hGSPcW4ZdLQiTWFyayBFIEQg
|
||||||
|
VGhvbWFzIDxtYXJrdEBhcGFjaGUub3JnPohGBBARAgAGBQJJEoLqAAoJEJsf2p88
|
||||||
|
BiIx2ssAnjsjHqeIOdOQYuNjDxVIqfAQN8vaAJwLv/HLCQwTZdxOFqwt/Pf/Ae5L
|
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
x9oed4OFXMBbwgS+SH6oAHlGwpxhhzXBlqZsHXm+w+2oazWUhxFFGEe5U245GEtN
|
||||||
|
f0AznBMDWTqg0SCVEDjlKt+e9tVXkTpHYWZjGbRZbEHkCbFqKhq0KP5BGInFZTFT
|
||||||
|
oI5jjszmuX0W/yKpRpQZ+GuJnt4VrYSy7TMvjjhIpuhDY57VUwUIkz/2Kq8Vg2wp
|
||||||
|
Gg+29nvcGOTdyZUcTCEB33B2jQ9z0XUEp+6B2F5iZQ==
|
||||||
|
=hSkx
|
||||||
|
-----END PGP PUBLIC KEY BLOCK-----
|
147
apache-commons-daemon.spec
Normal file
147
apache-commons-daemon.spec
Normal file
@ -0,0 +1,147 @@
|
|||||||
|
#
|
||||||
|
# spec file for package apache-commons-daemon
|
||||||
|
#
|
||||||
|
# Copyright (c) 2024 SUSE LLC
|
||||||
|
#
|
||||||
|
# All modifications and additions to the file contributed by third parties
|
||||||
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
|
# upon. The license for this file, and modifications and additions to the
|
||||||
|
# file, is the same license as for the pristine package itself (unless the
|
||||||
|
# license for the pristine package is not an Open Source License, in which
|
||||||
|
# case the license is the MIT License). An "Open Source License" is a
|
||||||
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%{!?make_build:%global make_build make %{?_smp_mflags}}
|
||||||
|
%define short_name commons-daemon
|
||||||
|
%define _lto_cflags %{nil}
|
||||||
|
Name: apache-%{short_name}
|
||||||
|
Version: 1.4.0
|
||||||
|
Release: 0
|
||||||
|
Summary: Commons Daemon - Controlling of Java Daemons
|
||||||
|
License: Apache-2.0
|
||||||
|
Group: System/Daemons
|
||||||
|
URL: https://commons.apache.org/daemon/
|
||||||
|
Source0: https://archive.apache.org/dist/commons/daemon/source/%{short_name}-%{version}-src.tar.gz
|
||||||
|
Source1: https://archive.apache.org/dist/commons/daemon/source/%{short_name}-%{version}-src.tar.gz.asc
|
||||||
|
Source2: apache-commons-daemon.keyring
|
||||||
|
Source10: apache-commons-daemon-build.xml
|
||||||
|
Patch0: apache-commons-daemon-JAVA_OS.patch
|
||||||
|
Patch1: apache-commons-daemon-gcc14-compat.patch
|
||||||
|
BuildRequires: ant
|
||||||
|
BuildRequires: autoconf
|
||||||
|
BuildRequires: fdupes
|
||||||
|
BuildRequires: gcc
|
||||||
|
BuildRequires: java-devel >= 1.8
|
||||||
|
BuildRequires: javapackages-local
|
||||||
|
BuildRequires: libcap-devel
|
||||||
|
BuildRequires: make
|
||||||
|
BuildRequires: xmlto
|
||||||
|
Provides: jakarta-%{short_name} = %{version}
|
||||||
|
Obsoletes: jakarta-%{short_name} < %{version}
|
||||||
|
Provides: jakarta-%{short_name}-java = %{version}
|
||||||
|
Obsoletes: jakarta-%{short_name}-java < %{version}
|
||||||
|
|
||||||
|
%description
|
||||||
|
The Daemon Component contains a set of Java and native code, including
|
||||||
|
a set of Java interfaces applications must implement and Unix native
|
||||||
|
code to control a Java daemon from a Unix operating system.
|
||||||
|
|
||||||
|
%package jsvc
|
||||||
|
Summary: Java daemon launcher
|
||||||
|
Group: System/Daemons
|
||||||
|
Provides: jsvc = %{version}-%{release}
|
||||||
|
Obsoletes: jsvc < %{version}
|
||||||
|
Provides: jakarta-%{short_name}:%{_sbindir}/jsvc
|
||||||
|
|
||||||
|
%description jsvc
|
||||||
|
Jsvc is a set of libraries and applications for making Java applications run on
|
||||||
|
UNIX more easily. It allows the application (e.g. Tomcat) to perform some
|
||||||
|
privileged operations as root (e.g. bind to a port < 1024), and then switch
|
||||||
|
identity to a non-privileged user.
|
||||||
|
|
||||||
|
%package javadoc
|
||||||
|
Summary: Commons Daemon Javadoc
|
||||||
|
Group: Documentation/Other
|
||||||
|
Provides: jakarta-%{short_name}-javadoc = %{version}
|
||||||
|
Obsoletes: jakarta-%{short_name}-javadoc < %{version}
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
|
%description javadoc
|
||||||
|
The Javadoc Documentation for Commons Daemon.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n %{short_name}-%{version}-src
|
||||||
|
cp %{SOURCE10} build.xml
|
||||||
|
%patch -P 0 -p1
|
||||||
|
%patch -P 1 -p1
|
||||||
|
|
||||||
|
# remove java binaries from sources
|
||||||
|
rm -rf src/samples/build/
|
||||||
|
|
||||||
|
# remove files for different OS
|
||||||
|
rm -rf src/samples/*.cmd
|
||||||
|
|
||||||
|
# mark example files as non-executable
|
||||||
|
chmod -R 0644 src/samples/*
|
||||||
|
|
||||||
|
%pom_remove_parent .
|
||||||
|
|
||||||
|
# build manpage for jsvc
|
||||||
|
pushd src/native/unix
|
||||||
|
xmlto man man/jsvc.1.xml
|
||||||
|
|
||||||
|
%build
|
||||||
|
# build native jsvc
|
||||||
|
pushd src/native/unix
|
||||||
|
sh support/buildconf.sh
|
||||||
|
|
||||||
|
%configure
|
||||||
|
%make_build
|
||||||
|
popd
|
||||||
|
|
||||||
|
# build jar
|
||||||
|
%{ant}
|
||||||
|
|
||||||
|
%install
|
||||||
|
# native jsvc
|
||||||
|
echo "Native"
|
||||||
|
install -Dpm 0755 src/native/unix/jsvc %{buildroot}%{_bindir}/jsvc
|
||||||
|
install -Dpm 0644 src/native/unix/jsvc.1 %{buildroot}%{_mandir}/man1/jsvc.1
|
||||||
|
|
||||||
|
# jar
|
||||||
|
echo "JAR"
|
||||||
|
install -Dpm 0644 target/%{short_name}-%{version}.jar %{buildroot}%{_jnidir}/%{short_name}.jar
|
||||||
|
ln -sf %{_jnidir}/%{short_name}.jar %{buildroot}%{_jnidir}/%{name}.jar
|
||||||
|
|
||||||
|
# pom
|
||||||
|
echo "POM"
|
||||||
|
install -Dpm 0644 pom.xml %{buildroot}%{_mavenpomdir}/%{short_name}.pom
|
||||||
|
%add_maven_depmap %{short_name}.pom %{short_name}.jar -a "org.apache.commons:%{short_name}"
|
||||||
|
|
||||||
|
# javadoc
|
||||||
|
echo "Javadoc"
|
||||||
|
install -dm 0755 %{buildroot}%{_javadocdir}/%{name}
|
||||||
|
cp -pr target/site/apidocs/* %{buildroot}%{_javadocdir}/%{name}
|
||||||
|
%fdupes -s %{buildroot}%{_javadocdir}/%{name}
|
||||||
|
|
||||||
|
%files -f .mfiles
|
||||||
|
%license LICENSE.txt NOTICE.txt
|
||||||
|
%doc PROPOSAL.html RELEASE-NOTES.txt src/samples
|
||||||
|
%doc src/docs/*
|
||||||
|
%{_jnidir}/%{name}.jar
|
||||||
|
|
||||||
|
%files jsvc
|
||||||
|
%license LICENSE.txt NOTICE.txt
|
||||||
|
%{_bindir}/jsvc
|
||||||
|
%{_mandir}/man1/jsvc.1%{?ext_man}
|
||||||
|
|
||||||
|
%files javadoc
|
||||||
|
%license LICENSE.txt NOTICE.txt
|
||||||
|
%{_javadocdir}/%{name}
|
||||||
|
|
||||||
|
%changelog
|
BIN
commons-daemon-1.3.4-src.tar.gz
(Stored with Git LFS)
Normal file
BIN
commons-daemon-1.3.4-src.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
17
commons-daemon-1.3.4-src.tar.gz.asc
Normal file
17
commons-daemon-1.3.4-src.tar.gz.asc
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
-----BEGIN PGP SIGNATURE-----
|
||||||
|
Comment: GPGTools - http://gpgtools.org
|
||||||
|
|
||||||
|
iQIzBAABCgAdFiEEqcXfTSLpmZjZh1pREMAcWi9gWecFAmRU0scACgkQEMAcWi9g
|
||||||
|
WecYxw/+IYJPDfFdlR+0QDoRsQcNQRxPSh9Zx6rlHrdV0vCPiC8J7X8XxYcBLCqc
|
||||||
|
Jh7hCmwek/nWn7fHPP+CVJ6K8t/d7GGkHXEdmZ+eJTSoGSnEQQwYGgrJiPTQ4hLQ
|
||||||
|
oQ2MUxHpKD0ZdHchCm8ogZ4BHuESmGghdVABxb2QhsLnSm/IYpAeSs5D/t+3+pVa
|
||||||
|
pIrCQ3Ihnk3UZHoZlsjG8zdPxnmgA1xXp4Nqrt5+2WORxvrzyTcKA7h7s6DtgPnb
|
||||||
|
7ddmo7NESuKHSymQPw6utQVNycmM/C8+MAVUy33AP829j4Q75tebkBsYlK38JiyQ
|
||||||
|
SiYe0SCP35IRlAPE81moMPjpp7v5vkxU6TXzMc+27meEHn0+bJLqx3wUlCy4WOp7
|
||||||
|
HA4/7sjszvf3+eNz0zq0txSY5AOk/ODXmTyuQiC4hgdPzzgHRft/JzcVhiey5MF8
|
||||||
|
4mQL8DCN+Nqh1ooyTutiDF3q4m8aDJNiBEWbKJ4OMbyURLJOL43DaLvz8DLxXFOo
|
||||||
|
cMW6BIOPWkOxdRCxqToeo+vyT+c7DGdaXsPVp49EIZJPWyk+88/xIK76dZHvlUSN
|
||||||
|
Z+LVEDDy5kC6AIDAuA1VG5VE9pL9r9s9YUnGgAciAP3oF+QKHxeuqQl5ygQo5Igk
|
||||||
|
iARErXrfm3qpA8CQfPiOkAbHvrJvnKTx6GY4Q5K6VcgbQLTpOgk=
|
||||||
|
=wz0c
|
||||||
|
-----END PGP SIGNATURE-----
|
3
commons-daemon-1.4.0-src.tar.gz
Normal file
3
commons-daemon-1.4.0-src.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:0059f1e80aa639f02c7e1ff800b57dc62036a5b3f4b17d61e5d3e3ffd2428fee
|
||||||
|
size 291610
|
16
commons-daemon-1.4.0-src.tar.gz.asc
Normal file
16
commons-daemon-1.4.0-src.tar.gz.asc
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
-----BEGIN PGP SIGNATURE-----
|
||||||
|
|
||||||
|
iQIzBAABCgAdFiEEqcXfTSLpmZjZh1pREMAcWi9gWecFAmZHd5sACgkQEMAcWi9g
|
||||||
|
Wee7sxAAqoiqUy96Oq8KEFlyiG7sGIb+LrkcOTelbOvRNR1ZjfbMcTCNWvKrKXa+
|
||||||
|
2K2P4yxHJIPuQY84Vo9Y38qef07BDfPmi6jrR8hpDNpmgKJqIDlr0KVr819l63gz
|
||||||
|
Yzd8CXgkGQG6Z1LFGiRl/7LiJw2lPA0OVWVBw1B25hvFaGm069pV+S5zcWGsBUJo
|
||||||
|
4RV/oLcYvBqU5uIT6YBLmontaKxqgGyBaBlp6Flu21jyQSaTvLPyTzrpRGZ3s+EM
|
||||||
|
m1pAu36iXGx9/KSTFEsTOBsW/vCL+ABONJWIbskrYeMJ0ukB8uP1OX7h/o7TUsLU
|
||||||
|
DAxR7oShzF1ZCTAusa4GhEatb9mHaXX/D3sAPBrlBHT12BhAq+UaXry11QTT/Ds8
|
||||||
|
fF+DSoWZeuyCAkd/meakbNGKvnIyjd7NJq0L0VxYih6pz7ZKFjV3o1LcGlBJ4f8B
|
||||||
|
VfE99MAxNHQFE0624G8DpvQ0h4sX/3HPjZOnl/KeEiYqX3L2/jEeu7ICzSsbuB7B
|
||||||
|
qGSsIOPxXWV8JIKg6kIfymc9OUQVu/UMf1+GQkix91dG8vyURyrHalykHm4rsqnk
|
||||||
|
vsh1pJ3Y8ZbEgKqaGFdcfhoYr4GsGGEEZ48ehjpe0ChxjU9wAZTt+jxD5GJM9cDP
|
||||||
|
HeCvx+W+4M+C5Ww9Wp4GYW+iZn3obP7hf2lAQ+yPbw78amJDSpA=
|
||||||
|
=0V6W
|
||||||
|
-----END PGP SIGNATURE-----
|
Loading…
Reference in New Issue
Block a user