Your message dated Sat, 05 Dec 2015 12:57:48 +0000
with message-id <e1a5cpm-0001ct...@franck.debian.org>
and subject line Bug#706928: fixed in zemberek-server 0.7.1-12.2
has caused the Debian Bug report #706928,
regarding zemberek-server doesn't respect to the Java paths of the system
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 ow...@bugs.debian.org
immediately.)


-- 
706928: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=706928
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: zemberek-server
Version: 0.7.1-12
Severity: important
Tags: patch

Hi,

During the development of our Debian derivative distro Pardus (We will join to the census shortly), I've found a bug in zemberek-server causes it to fail to start in 64bit systems. Cause of the problem is the wrapper in the package, which is located in /usr/sbin/zemberek-server, uses hard-coded Java paths. Normally, the package should run with the default Java of the system, provided by the debian-alternatives subsystem. I've developed a small patch which makes zemberek-server compatible with debian-alternatives and solves the problem. Currently tested on OpenJDK 6 & 7 without any problems.

Since it's my first patch, I welcome any feedback and improvements.

Cheers,

Hakan
--- zemberek-server     2013-05-03 14:32:31.239764116 +0300
+++ /usr/sbin/zemberek-server   2013-05-03 14:32:47.914181369 +0300
@@ -5,7 +5,7 @@
 
 ZEMBEREK_DEPENDS="zemberek-server zemberek zemberek-tr mina-core slf4j-api 
slf4j-nop dbus unix"
 ZEMBEREK_LOGFILE=/var/log/zemberek-server.log
-JAVA_HOME=/usr/lib/jvm/java-6-openjdk
+JAVA=`update-alternatives --query java |grep ^Value: |awk '{print $2}'`
 
 # FIXME: Remove this hack when the upstream adds logging facility.
 if [ -n "$ZEMBEREK_LOGFILE"  ] && \
@@ -20,5 +20,5 @@
        CLASSPATH=$JAVA_REPOS/${dep}.jar:$CLASSPATH
 done
 
-exec -a "zemberek-server" $JAVA_HOME/bin/java -classpath "$CLASSPATH" 
-DConfigFile=/etc/zemberek-server.conf \
+exec -a "zemberek-server" $JAVA -classpath "$CLASSPATH" 
-DConfigFile=/etc/zemberek-server.conf \
 -Djava.library.path=/usr/lib/jni net.zemberekserver.server.ZemberekServer

--- End Message ---
--- Begin Message ---
Source: zemberek-server
Source-Version: 0.7.1-12.2

We believe that the bug you reported is fixed in the latest version of
zemberek-server, 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 706...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Hideki Yamane <henr...@debian.org> (supplier of updated zemberek-server 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 ftpmas...@ftp-master.debian.org)


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

Format: 1.8
Date: Wed, 25 Nov 2015 13:15:39 +0900
Source: zemberek-server
Binary: zemberek-server
Architecture: source all
Version: 0.7.1-12.2
Distribution: unstable
Urgency: medium
Maintainer: Rail Aliev <r...@i-rs.ru>
Changed-By: Hideki Yamane <henr...@debian.org>
Description:
 zemberek-server - Turkish spellcheck server
Closes: 706928 761646
Changes:
 zemberek-server (0.7.1-12.2) unstable; urgency=medium
 .
   * Non-maintainer upload.
   * debian/control
     - update Homepage: to github since Google Code was shutdown.
     - add "Depends: dbus" to startup properly (Closes: #761646)
   * debian/copyright
     - update download site to github
   * remove unnecessary debian/watch with above update
   * update debian/zemberek-server-wrapper to specify Java path properly.
     Thanks to Hakan Bayındır <hakan.bayin...@pardus.org.tr> for the patch.
     (Closes: #706928)
Checksums-Sha1:
 1f88b93e59e3e24f0c0cadb670a3766e2b4fe2ae 2000 zemberek-server_0.7.1-12.2.dsc
 b885372bc3d7ff079ec6a0f37a37bb8abe702ffd 15790 
zemberek-server_0.7.1-12.2.diff.gz
 a7753870a0a7f5ab7e8472b77768dee36fb4e046 30236 
zemberek-server_0.7.1-12.2_all.deb
Checksums-Sha256:
 11e8659ee2464c68e098c13322add4bfc8455c3ad523a5b0958f4a7d3e23ff5a 2000 
zemberek-server_0.7.1-12.2.dsc
 72ad7aad690d586a53d00dc4cd1651944155d0aa5de7c561977dbfa514e6454e 15790 
zemberek-server_0.7.1-12.2.diff.gz
 2d4b38c6bc588b41032bde97c660c900ca67c55a6628f3d416beeb5116b2eb84 30236 
zemberek-server_0.7.1-12.2_all.deb
Files:
 d55165dc45e4eacd757e65bad350c569 2000 text optional 
zemberek-server_0.7.1-12.2.dsc
 f8f0083b4b75de93c089bf5ccafdbc25 15790 text optional 
zemberek-server_0.7.1-12.2.diff.gz
 9a0c31c90f5197d8c3ff24a61c927bc0 30236 text optional 
zemberek-server_0.7.1-12.2_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCgAGBQJWVaYjAAoJEF0yjQgqqrFAUwkP/2Gyxi6q1zTUHE//JxTRtTKO
ZFoQGfqPDsT6ILO1vRo8X+Ptwm9ue2xIaeSn1KIIJE8CJy38c91B+O2a66nGl8wm
YoSqAps643vx8utOCKzjzHJdkHJLoA0BovSkHy+QG9WdwA8tDYC//HVs264gpP8U
FRcUcmvb3PSN5c3CoP0K4/42egy6uUS1UnYZC/b6CU2iJouTXLqEUfjmg9rKaMP7
Y6drxd8tPXmxOmfnf6z5/n5bIKay1FWEFVhhPbMNJ3y+N58YtOBw4Ew05LvtRMRd
6Fqj4SvvWgfOCiqVo66PbwXjNPmmn304HdIrsj1P8239pSxqvnSjsQw9ALzCyY3E
+tCo+2Tb0yJ+MaBkXwq7J/4nEjeoJDMpuk2z6yzr3qhvTKlstQ9H1oKeAz4PjAeP
c9dSdHDJMeEJ+J9x/sHW5r1ts7BFkL6GeIY7E17p9nXz9yFts4dkF3kt72i2s2/N
+5yEnDkW6MAFHCv2IwUXUaUMLPbXQb8/4LHd7Ldfhua0UfCvnTTmPC8qwCLJtmu3
yXx5rJmH/5QISmerhWCeHw9hYE2U1IYNbzxBEd8flztzylRO1kbmJfbXo21JSvtP
B0ADOFWg5scvvalgl3n8d+abRvD+lp0vNpAcFbBbFTL1cdG5sOGAOJm4wJVODAez
wG0SJaaYtBT4gjS3F+6l
=VLyV
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to