forked from pool/apache-commons-daemon
- 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 OBS-URL: https://build.opensuse.org/package/show/Java:packages/apache-commons-daemon?expand=0&rev=10
This commit is contained in:
parent
cf74a44e5e
commit
7b77b1fb4b
@ -1,28 +1,30 @@
|
||||
Index: commons-daemon-1.0.10-src/src/native/unix/configure
|
||||
Index: commons-daemon-1.0.15-src/src/native/unix/configure
|
||||
===================================================================
|
||||
--- commons-daemon-1.0.10-src.orig/src/native/unix/configure
|
||||
+++ commons-daemon-1.0.10-src/src/native/unix/configure
|
||||
@@ -2682,6 +2682,9 @@ echo "$as_me: error: Unsupported operati
|
||||
CFLAGS="$CFLAGS -DCPU=\\\"arm\\\""
|
||||
--- commons-daemon-1.0.15-src.orig/src/native/unix/configure
|
||||
+++ commons-daemon-1.0.15-src/src/native/unix/configure
|
||||
@@ -2705,6 +2705,10 @@ echo "$as_me: error: Unsupported operati
|
||||
supported_os="arm"
|
||||
HOST_CPU=arm;;
|
||||
HOST_CPU=arm
|
||||
;;
|
||||
+ aarch64)
|
||||
+ CFLAGS="$CFLAGS -DCPU=\\\"aarch64\\\""
|
||||
+ HOST_CPU=$host_cpu;;
|
||||
+ HOST_CPU=$host_cpu
|
||||
+ ;;
|
||||
*)
|
||||
echo "$as_me:$LINENO: result: failed" >&5
|
||||
echo "${ECHO_T}failed" >&6
|
||||
Index: commons-daemon-1.0.10-src/src/native/unix/support/apsupport.m4
|
||||
Index: commons-daemon-1.0.15-src/src/native/unix/support/apsupport.m4
|
||||
===================================================================
|
||||
--- commons-daemon-1.0.10-src.orig/src/native/unix/support/apsupport.m4
|
||||
+++ commons-daemon-1.0.10-src/src/native/unix/support/apsupport.m4
|
||||
@@ -148,6 +148,9 @@ AC_DEFUN(AP_SUPPORTED_HOST,[
|
||||
CFLAGS="$CFLAGS -DCPU=\\\"arm\\\""
|
||||
--- commons-daemon-1.0.15-src.orig/src/native/unix/support/apsupport.m4
|
||||
+++ commons-daemon-1.0.15-src/src/native/unix/support/apsupport.m4
|
||||
@@ -171,6 +171,10 @@ AC_DEFUN(AP_SUPPORTED_HOST,[
|
||||
supported_os="arm"
|
||||
HOST_CPU=arm;;
|
||||
HOST_CPU=arm
|
||||
;;
|
||||
+ aarch64)
|
||||
+ CFLAGS="$CFLAGS -DCPU=\\\"aarch64\\\""
|
||||
+ HOST_CPU=$host_cpu;;
|
||||
+ HOST_CPU=$host_cpu
|
||||
+ ;;
|
||||
*)
|
||||
AC_MSG_RESULT([failed])
|
||||
AC_MSG_ERROR([Unsupported CPU architecture "$host_cpu"]);;
|
||||
|
@ -1,8 +1,8 @@
|
||||
Index: commons-daemon-1.0.10-src/src/native/unix/configure
|
||||
Index: commons-daemon-1.0.15-src/src/native/unix/configure
|
||||
===================================================================
|
||||
--- commons-daemon-1.0.10-src.orig/src/native/unix/configure
|
||||
+++ commons-daemon-1.0.10-src/src/native/unix/configure
|
||||
@@ -2607,7 +2607,10 @@ echo "$as_me: error: Unsupported operati
|
||||
--- commons-daemon-1.0.15-src.orig/src/native/unix/configure
|
||||
+++ commons-daemon-1.0.15-src/src/native/unix/configure
|
||||
@@ -2610,7 +2610,10 @@ echo "$as_me: error: Unsupported operati
|
||||
;;
|
||||
esac
|
||||
case $host_cpu in
|
||||
@ -12,5 +12,5 @@ Index: commons-daemon-1.0.10-src/src/native/unix/configure
|
||||
+ HOST_CPU=$host_cpu;;
|
||||
+ ppc*)
|
||||
CFLAGS="$CFLAGS -DCPU=\\\"$host_cpu\\\""
|
||||
HOST_CPU=$host_cpu;;
|
||||
sparc*)
|
||||
HOST_CPU=$host_cpu
|
||||
;;
|
||||
|
@ -1,28 +1,32 @@
|
||||
diff -up commons-daemon-1.0.10-src/src/native/unix/configure.s390x commons-daemon-1.0.10-src/src/native/unix/configure
|
||||
--- commons-daemon-1.0.10-src/src/native/unix/configure.s390x 2012-04-23 11:55:56.000000000 +0200
|
||||
+++ commons-daemon-1.0.10-src/src/native/unix/configure 2012-04-23 11:57:18.000000000 +0200
|
||||
@@ -2671,6 +2671,10 @@ echo "$as_me: error: Unsupported operati
|
||||
CFLAGS="$CFLAGS -DCPU=\\\"s390\\\""
|
||||
Index: commons-daemon-1.0.15-src/src/native/unix/configure
|
||||
===================================================================
|
||||
--- commons-daemon-1.0.15-src.orig/src/native/unix/configure
|
||||
+++ commons-daemon-1.0.15-src/src/native/unix/configure
|
||||
@@ -2692,6 +2692,11 @@ echo "$as_me: error: Unsupported operati
|
||||
supported_os="s390"
|
||||
HOST_CPU=s390;;
|
||||
HOST_CPU=s390
|
||||
;;
|
||||
+ s390x)
|
||||
+ CFLAGS="$CFLAGS -DCPU=\\\"s390x\\\""
|
||||
+ supported_os="s390x"
|
||||
+ HOST_CPU=s390x;;
|
||||
+ HOST_CPU=s390x
|
||||
+ ;;
|
||||
arm*)
|
||||
CFLAGS="$CFLAGS -DCPU=\\\"arm\\\""
|
||||
supported_os="arm"
|
||||
diff -up commons-daemon-1.0.10-src/src/native/unix/support/apsupport.m4.s390x commons-daemon-1.0.10-src/src/native/unix/support/apsupport.m4
|
||||
--- commons-daemon-1.0.10-src/src/native/unix/support/apsupport.m4.s390x 2012-04-23 11:56:04.000000000 +0200
|
||||
+++ commons-daemon-1.0.10-src/src/native/unix/support/apsupport.m4 2012-04-23 11:56:41.000000000 +0200
|
||||
@@ -140,6 +140,10 @@ AC_DEFUN(AP_SUPPORTED_HOST,[
|
||||
CFLAGS="$CFLAGS -DCPU=\\\"s390\\\""
|
||||
Index: commons-daemon-1.0.15-src/src/native/unix/support/apsupport.m4
|
||||
===================================================================
|
||||
--- commons-daemon-1.0.15-src.orig/src/native/unix/support/apsupport.m4
|
||||
+++ commons-daemon-1.0.15-src/src/native/unix/support/apsupport.m4
|
||||
@@ -161,6 +161,11 @@ AC_DEFUN(AP_SUPPORTED_HOST,[
|
||||
supported_os="s390"
|
||||
HOST_CPU=s390;;
|
||||
HOST_CPU=s390
|
||||
;;
|
||||
+ s390x)
|
||||
+ CFLAGS="$CFLAGS -DCPU=\\\"s390x\\\""
|
||||
+ supported_os="s390x"
|
||||
+ HOST_CPU=s390x;;
|
||||
+ HOST_CPU=s390x
|
||||
+ ;;
|
||||
arm*)
|
||||
CFLAGS="$CFLAGS -DCPU=\\\"arm\\\""
|
||||
supported_os="arm"
|
||||
|
@ -1,3 +1,16 @@
|
||||
-------------------------------------------------------------------
|
||||
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
|
||||
|
||||
|
62
apache-commons-daemon.keyring
Normal file
62
apache-commons-daemon.keyring
Normal file
@ -0,0 +1,62 @@
|
||||
pub 3072D/0D498E23 2013-01-14
|
||||
uid Mladen Turk (Default signing key) <mturk@apache.org>
|
||||
sub 4096g/DC3D1B18 2013-01-14
|
||||
|
||||
-----BEGIN PGP PUBLIC KEY BLOCK-----
|
||||
Version: GnuPG v2.0.19 (GNU/Linux)
|
||||
|
||||
mQSuBFDzsBQRDADVTeaOjvWuZ84mWFi5Rj0TmnIOdK9evO+6Bnr6eI0MCKxLfEYu
|
||||
tpcq3hrIN/sXoVJW14Kb2Vm5Zt0PLWBmlQoi+99QwfHRvrejQnYA5VCGql61Vkbz
|
||||
NbpZ3Eq3n9d1HOLhdRnZAUGYtFYm7etkdpUZSHOErZWdiCebc8Og2N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g5oWvwzKdrWKwm/WmQJaJuk6
|
||||
TufoONXlsl0cc4LLHZESIwLRSP5YfxV9chplmA92vhekV0f2IchmJky/a25KEIRH
|
||||
OdCCQTyOitoKXYy2swx9j69Q7YhhBBgRCAAJBQJQ87AzAhsMAAoJEDXNI8ENSY4j
|
||||
plIA/R4QYFbde0Jw11KjqAr1AkQHaume7p5mv7Vt6I/D2CkUAP9i2PGC8mgArtlP
|
||||
XDH35tl64G5lNKNum0D8NSGV955R2g==
|
||||
=gxY8
|
||||
-----END PGP PUBLIC KEY BLOCK-----
|
@ -19,20 +19,19 @@
|
||||
%define short_name commons-daemon
|
||||
|
||||
Name: apache-%{short_name}
|
||||
Version: 1.0.10
|
||||
Version: 1.0.15
|
||||
Release: 0
|
||||
Summary: Commons Daemon - Controlling of Java Daemons
|
||||
License: Apache-2.0
|
||||
Group: System/Daemons
|
||||
Url: http://commons.apache.org/daemon/
|
||||
Source0: commons-daemon-%{version}-src.tar.gz
|
||||
Patch0: 0001-execve-path-warning.patch
|
||||
Patch1: apache-commons-daemon-JAVA_OS.patch
|
||||
Patch2: apache-commons-daemon-s390x.patch
|
||||
Patch3: apache-commons-daemon-ppc64.patch
|
||||
Patch4: jsvc-libcap-relative.patch
|
||||
Patch5: config-guess-sub-update.patch
|
||||
Patch6: apache-commons-daemon-aarch64.patch
|
||||
Source0: http://www.eu.apache.org/dist/commons/daemon/source/commons-daemon-%{version}-src.tar.gz
|
||||
Source1: http://www.eu.apache.org/dist/commons/daemon/source/commons-daemon-%{version}-src.tar.gz.asc
|
||||
Source2: apache-commons-daemon.keyring
|
||||
Patch0: apache-commons-daemon-JAVA_OS.patch
|
||||
Patch1: apache-commons-daemon-s390x.patch
|
||||
Patch2: apache-commons-daemon-ppc64.patch
|
||||
Patch3: apache-commons-daemon-aarch64.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
BuildRequires: ant
|
||||
@ -41,6 +40,10 @@ BuildRequires: java-devel
|
||||
BuildRequires: libcap-devel
|
||||
BuildRequires: xmlto
|
||||
|
||||
%if 0%{?suse_version} >= 1230
|
||||
BuildRequires: gpg-offline
|
||||
%endif
|
||||
|
||||
Provides: jakarta-%{short_name} = %{version}-%{release}
|
||||
Obsoletes: jakarta-%{short_name} < %{version}
|
||||
Provides: jakarta-%{short_name}-java = %{version}-%{release}
|
||||
@ -77,19 +80,22 @@ The Javadoc Documentation for Commons Daemon.
|
||||
|
||||
|
||||
%prep
|
||||
%if 0%{?suse_version} >= 1230
|
||||
%gpg_verify %{SOURCE1}
|
||||
%endif
|
||||
%setup -q -n %{short_name}-%{version}-src
|
||||
%patch0 -p1
|
||||
%patch1 -p1
|
||||
%patch2 -p1
|
||||
%patch3 -p1
|
||||
%patch4 -p1
|
||||
%patch5
|
||||
%patch6 -p1
|
||||
|
||||
# remove java binaries from sources
|
||||
rm -rf src/samples/build/
|
||||
|
||||
chmod 644 src/samples/*
|
||||
# remove files for different OS
|
||||
rm -rf src/samples/*.cmd
|
||||
|
||||
chmod -R 0644 src/samples/*
|
||||
|
||||
%build
|
||||
pushd src/native/unix
|
||||
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:2b60b28523cbd28497a02a298a341c51cabbe45983ec9e93616e6c91fbb5280c
|
||||
size 288950
|
3
commons-daemon-1.0.15-src.tar.gz
Normal file
3
commons-daemon-1.0.15-src.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:11ee57d2c6b281589c1497b2f88180553f06d5ac1560ce1841e05f89f0342432
|
||||
size 291128
|
7
commons-daemon-1.0.15-src.tar.gz.asc
Normal file
7
commons-daemon-1.0.15-src.tar.gz.asc
Normal file
@ -0,0 +1,7 @@
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v1.4.13 (GNU/Linux)
|
||||
|
||||
iF4EABEIAAYFAlFUPW4ACgkQNc0jwQ1JjiMWxAEAow4EYX7KTHNrMLtvwwshV558
|
||||
AoaD/Xc1AUq/HKwxhpUBAKO65L16uV0pxihmZuki5e004HPZEHBQsN6Mx8vw8uEA
|
||||
=Zwsx
|
||||
-----END PGP SIGNATURE-----
|
Loading…
Reference in New Issue
Block a user