Your message dated Thu, 28 Sep 2023 03:34:02 +0000
with message-id <[email protected]>
and subject line Bug#1053088: fixed in service-wrapper-java 3.5.51-2
has caused the Debian Bug report #1053088,
regarding service-wrapper-java adds loong64 support
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1053088: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1053088
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: service-wrapper-java

Version: 3.5.51

Severity: wishlist

Tags: patch

User: [email protected]

Usertags: loongarch64

Dear Maintainers,

I hope this email finds you well. We would like to add service-wrapper-java build support for loong64.

I copy Makefile-linux-arm-64.make to Makefile-linux-loongarch64-64.make and build success.

The patch is in the attachment and the changes is very simple.

Thank you for your time and consideration of this request.

Sincerely,

Xuefeng Pan



diff --git a/changelog b/changelog
index 280e04a..80db063 100644
--- a/changelog
+++ b/changelog
@@ -1,3 +1,9 @@
+service-wrapper-java (3.5.51-2) unstable; urgency=medium
+
+  * Add LoongArch support
+
+ -- Xuefeng Pan <[email protected]>  Tue, 26 Sep 2023 20:39:48 +0800
+
 service-wrapper-java (3.5.51-1) unstable; urgency=medium
 
   * Team upload
diff --git a/patches/loongarch64-support.patch b/patches/loongarch64-support.patch
new file mode 100644
index 0000000..84b794d
--- /dev/null
+++ b/patches/loongarch64-support.patch
@@ -0,0 +1,56 @@
+diff --git a/src/c/Makefile-linux-loongarch64-64.make b/src/c/Makefile-linux-loongarch64-64.make
+new file mode 100644
+index 0000000..6dbcdf7
+--- /dev/null
++++ b/src/c/Makefile-linux-loongarch64-64.make
+@@ -0,0 +1,50 @@
++# Copyright (c) 1999, 2022 Tanuki Software, Ltd.
++# http://www.tanukisoftware.com
++# All rights reserved.
++#
++# This software is the proprietary information of Tanuki Software.
++# You shall use it only in accordance with the terms of the
++# license agreement you entered into with Tanuki Software.
++# http://wrapper.tanukisoftware.com/doc/english/licenseOverview.html
++
++COMPILE = gcc -g -O3 -fPIC -Wall --pedantic -DLINUX -D_FORTIFY_SOURCE=2 -DJSW64 -D_FILE_OFFSET_BITS=64 -fpic -D_GNU_SOURCE -DUNICODE -D_UNICODE
++
++WRAPPER_LINK_OPTS = -Wl,-z,relro,-z,now
++
++INCLUDE=$(JAVA_HOME)/include
++
++DEFS = -I$(INCLUDE) -I$(INCLUDE)/linux
++
++wrapper_SOURCE = wrapper.c wrapperinfo.c wrappereventloop.c wrapper_unix.c property.c logger.c logger_file.c wrapper_file.c wrapper_i18n.c wrapper_hashmap.c wrapper_ulimit.c wrapper_encoding.c wrapper_jvminfo.c
++
++libwrapper_so_OBJECTS = wrapper_i18n.o wrapperjni_unix.o wrapperinfo.o wrapperjni.o loggerjni.o
++
++BIN = ../../bin
++LIB = ../../lib
++
++all: init wrapper libwrapper.so
++
++clean:
++	rm -f *.o
++
++cleanall: clean
++	rm -rf *~ .deps
++	rm -f $(BIN)/wrapper $(LIB)/libwrapper.so
++
++init:
++	if test ! -d .deps; then mkdir .deps; fi
++
++wrapper: $(wrapper_SOURCE)
++	$(COMPILE) $(WRAPPER_LINK_OPTS) -pthread $(wrapper_SOURCE) -lm -o $(BIN)/wrapper
++
++libwrapper.so: $(libwrapper_so_OBJECTS)
++	${COMPILE} -shared $(libwrapper_so_OBJECTS) -o $(LIB)/libwrapper.so
++
++%.o: %.c
++	@echo '$(COMPILE) -c $<'; \
++	$(COMPILE) -pthread $(DEFS) -Wp,-MD,.deps/$(*F).pp -c $<
++	@-cp .deps/$(*F).pp .deps/$(*F).P; \
++	tr ' ' '\012' < .deps/$(*F).pp \
++	| sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
++	>> .deps/$(*F).P; \
++	rm .deps/$(*F).pp
diff --git a/patches/series b/patches/series
index d12affa..4e51ca9 100644
--- a/patches/series
+++ b/patches/series
@@ -4,3 +4,4 @@
 fix-as-needed-ppc.patch
 building_with_debug_symbols.patch
 riscv64-support.patch
+loongarch64-support.patch

--- End Message ---
--- Begin Message ---
Source: service-wrapper-java
Source-Version: 3.5.51-2
Done: tony mancill <[email protected]>

We believe that the bug you reported is fixed in the latest version of
service-wrapper-java, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
tony mancill <[email protected]> (supplier of updated service-wrapper-java 
package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Wed, 27 Sep 2023 19:54:53 -0700
Source: service-wrapper-java
Architecture: source
Version: 3.5.51-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Java Maintainers 
<[email protected]>
Changed-By: tony mancill <[email protected]>
Closes: 1053088
Changes:
 service-wrapper-java (3.5.51-2) unstable; urgency=medium
 .
   [ Xuefeng Pan ]
   * Add LoongArch support (Closes: #1053088)
 .
   * Freshen years in debian/copyright
   * Add patch for loong64 (Closes: #1053088)
   * Bump Standards-Version to 4.6.2 (no changes)
   * Replace B-D on libncurses5-dev with libncurses-dev
Checksums-Sha1:
 b447bbf02b36f51c2558e304e49d556505ffb281 2436 service-wrapper-java_3.5.51-2.dsc
 955db671b000768229a2a503dff4387994522d92 12056 
service-wrapper-java_3.5.51-2.debian.tar.xz
 0499a2bc194732d3b9a457db4de1f32487003d57 13732 
service-wrapper-java_3.5.51-2_amd64.buildinfo
Checksums-Sha256:
 591a29258bb02b141ad49f7b96563d152cf60797a83e27e54ea98f6f0cfff983 2436 
service-wrapper-java_3.5.51-2.dsc
 80dca53a3c40f84ee729159af4b193f5ccd843bb92fa1a3358d700d2c23f472a 12056 
service-wrapper-java_3.5.51-2.debian.tar.xz
 07d029dc98b1e267def6435d22f900b363a4d4acf76573ce163bc0dd7cb56076 13732 
service-wrapper-java_3.5.51-2_amd64.buildinfo
Files:
 6dcc25538c1dea11082c8d0053aa00d4 2436 java optional 
service-wrapper-java_3.5.51-2.dsc
 26bb967bae02bbb66624d4e8cd5618aa 12056 java optional 
service-wrapper-java_3.5.51-2.debian.tar.xz
 0a7953addf7eaaace78af4bbc28499de 13732 java optional 
service-wrapper-java_3.5.51-2_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJIBAEBCgAyFiEE5Qr9Va3SequXFjqLIdIFiZdLPpYFAmUU7xUUHHRtYW5jaWxs
QGRlYmlhbi5vcmcACgkQIdIFiZdLPpbaJw/9G6U8LC7YrDsUbXVpHqhQrD8eziDh
rKo2V4pAdYl2ylbGCah7gwFFBOBYbxpHMrHoeIbM8yXbtQAdFVYqtEXm5jQL/XnR
kcGy7/9z+rDwHHnGe347VN/rPBSfOcDpyU8iKdweWa7jvS11Ei9aCbKPHz+XWhmp
cTsCgfA0jo404j0KnP7RSCrSVhKzHiTfJ1j3uza7UnfLXcnhzBPQfQVDV/0+j80S
9yZmvkhXEU79heWI8twNIywbbQr4iDq7VAKf1k7BmFtGSgn0CJgfupl/wC1F2g3A
ZK00MTYjLu6soLrxtREHlYHOfhPw7YGKRhhIFuslkbPENEhcSiCCrLbiZu26WDUU
dJqbLWvm+QJoGaf3R2nUSyRF/sYylxCi7zv/rKAgX/Jh/xIJfcVZwOKalZfBcigi
s8YGbYws+m3sydoV7U+XwfyK5VoF90Vb0nyPgfdx0WYJZeReQ8Yh1Dx6SKHnlqEr
3tzpKNPq8srz3GHtEFVMEDBfUqmMqpr7VFSlTYs3hOIqa2Pm10Ih+DW4y/21FFMZ
8GkmXA3TGFT4H0eysYOnWL+BI7BZVnTgLxZ1V8kPihLq3TzkzjmSDauWvtHZYxjn
nWV+jJG2qv+OG8O/vhpyhGfNcPjIOpNmfGPP563Ok4moKM7mdp3Byz5awW9BMM6w
rmlvMEkDUI9A6h8=
=har4
-----END PGP SIGNATURE-----

--- End Message ---
__
This is the maintainer address of Debian's Java team
<https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-java-maintainers>.
 Please use
[email protected] for discussions and questions.

Reply via email to