Your message dated Tue, 05 Apr 2011 13:03:13 +0000
with message-id <e1q75ub-0000vu...@franck.debian.org>
and subject line Bug#617553: fixed in tomcat6 6.0.32-2
has caused the Debian Bug report #617553,
regarding tomcat6-instance-create should accept -1 as the value of -c option
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.)


-- 
617553: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=617553
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: tomcat6
Version: 6.0.28-10
Severity: wishlist
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu natty ubuntu-patch

In Ubuntu, the attached patch was applied to achieve the following:

  [ Abhinav Upadhyay ]
  * tomcat6-instance-create should accept -1 as the value of -c option
    as per http://tomcat.apache.org/tomcat-6.0-doc/config/server.html
    (LP: #707405)


Thanks for considering the patch.


-- System Information:
Debian Release: squeeze/sid
  APT prefers natty-updates
  APT policy: (500, 'natty-updates'), (500, 'natty-security'), (500, 'natty')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.38-5-generic (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
=== modified file 'debian/tomcat6-instance-create'
--- debian/tomcat6-instance-create      2010-05-21 13:51:15 +0000
+++ debian/tomcat6-instance-create      2011-03-09 18:10:34 +0000
@@ -23,11 +23,22 @@
   type=$1
   port=$2
   # Fail if port is non-numeric
-  num=`expr ${port} + 1 2> /dev/null`
-  if [ $? != 0 ] || [ $num -lt 2 ]; then
+  if ! echo $port | grep -Eq '^\-?[0-9]+$' ; then
     echo "Error: ${type} port '${port}' is not a valid TCP port number."
     exit 1
   fi
+  
+  # If Control port is -1 , no need to check any further. 
+  if [ "$type" = "Control" ] && [ $port -eq -1 ]; then
+       echo "Warning: Control port disabled. You will have to shutdown the 
server manually, by using OS signals."
+       return
+  fi
+  
+  # Fail if port is 0 or negative 
+  if [ $port -le 0 ]; then
+       echo "Error: ${type} port '${port}' is not a valid TCP port number."
+       exit 1
+  fi
 
   # Fail if port is above 65535
   if [ ${port} -gt 65535 ]; then


--- End Message ---
--- Begin Message ---
Source: tomcat6
Source-Version: 6.0.32-2

We believe that the bug you reported is fixed in the latest version of
tomcat6, which is due to be installed in the Debian FTP archive:

libservlet2.5-java-doc_6.0.32-2_all.deb
  to main/t/tomcat6/libservlet2.5-java-doc_6.0.32-2_all.deb
libservlet2.5-java_6.0.32-2_all.deb
  to main/t/tomcat6/libservlet2.5-java_6.0.32-2_all.deb
libtomcat6-java_6.0.32-2_all.deb
  to main/t/tomcat6/libtomcat6-java_6.0.32-2_all.deb
tomcat6-admin_6.0.32-2_all.deb
  to main/t/tomcat6/tomcat6-admin_6.0.32-2_all.deb
tomcat6-common_6.0.32-2_all.deb
  to main/t/tomcat6/tomcat6-common_6.0.32-2_all.deb
tomcat6-docs_6.0.32-2_all.deb
  to main/t/tomcat6/tomcat6-docs_6.0.32-2_all.deb
tomcat6-examples_6.0.32-2_all.deb
  to main/t/tomcat6/tomcat6-examples_6.0.32-2_all.deb
tomcat6-extras_6.0.32-2_all.deb
  to main/t/tomcat6/tomcat6-extras_6.0.32-2_all.deb
tomcat6-user_6.0.32-2_all.deb
  to main/t/tomcat6/tomcat6-user_6.0.32-2_all.deb
tomcat6_6.0.32-2.debian.tar.gz
  to main/t/tomcat6/tomcat6_6.0.32-2.debian.tar.gz
tomcat6_6.0.32-2.dsc
  to main/t/tomcat6/tomcat6_6.0.32-2.dsc
tomcat6_6.0.32-2_all.deb
  to main/t/tomcat6/tomcat6_6.0.32-2_all.deb



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 617...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
tony mancill <tmanc...@debian.org> (supplier of updated tomcat6 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...@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Sun, 03 Apr 2011 21:16:08 -0700
Source: tomcat6
Binary: tomcat6-common tomcat6 tomcat6-user libtomcat6-java libservlet2.5-java 
libservlet2.5-java-doc tomcat6-admin tomcat6-examples tomcat6-docs 
tomcat6-extras
Architecture: source all
Version: 6.0.32-2
Distribution: unstable
Urgency: low
Maintainer: Debian Java Maintainers 
<pkg-java-maintainers@lists.alioth.debian.org>
Changed-By: tony mancill <tmanc...@debian.org>
Description: 
 libservlet2.5-java - Servlet 2.5 and JSP 2.1 Java API classes
 libservlet2.5-java-doc - Servlet 2.5 and JSP 2.1 Java API documentation
 libtomcat6-java - Servlet and JSP engine -- core libraries
 tomcat6    - Servlet and JSP engine
 tomcat6-admin - Servlet and JSP engine -- admin web applications
 tomcat6-common - Servlet and JSP engine -- common files
 tomcat6-docs - Servlet and JSP engine -- documentation
 tomcat6-examples - Servlet and JSP engine -- example web applications
 tomcat6-extras - Servlet and JSP engine -- additional components
 tomcat6-user - Servlet and JSP engine -- tools to create user instances
Closes: 551091 607682 614333 617553
Changes: 
 tomcat6 (6.0.32-2) unstable; urgency=low
 .
   * Team upload.
 .
   [ tony mancill ]
   * Patch debian/tomcat6-instance-create (LP: #707405)
     tomcat6-instance-create should accept -1 as the value of -c option
     as per http://tomcat.apache.org/tomcat-6.0-doc/config/server.html
     Thanks to Dave Walker.  (Closes: #617553)
   * Move tomcat6-instance-create manpage from section 2 to section 8.
     Thanks to brian m. carlson (Closes: #607682)
   * Add tomcat6-extras package.
     Currently includes only catalina-jmx-remote.jar  (Closes: #614333)
 .
   [ Thierry Carrez ]
   * debian/tomcat6-instance-create: Eclipse can now be configured to use a
     user instance of tomcat6 using tomcat6-instance-create without any
     additional work. Patch from Abhinav Upadhyay (Closes: #551091, LP: #297675)
Checksums-Sha1: 
 cb24070b24b0136839073c87a9795d61a513c970 2273 tomcat6_6.0.32-2.dsc
 bfb2683ab3a4777eb5966cea443b38692ff08953 40731 tomcat6_6.0.32-2.debian.tar.gz
 8d750665a81434f40da6701459a38a7047ffb2fc 48818 tomcat6-common_6.0.32-2_all.deb
 2275e09ef30ab9c29a5cc7e9ab2d8df3c3f81357 37046 tomcat6_6.0.32-2_all.deb
 fa1ec4df682e77dd059907e960b76454596ecf51 29296 tomcat6-user_6.0.32-2_all.deb
 bb67de3ecd4b8c7be405e05610d380bf454b18f6 3072912 
libtomcat6-java_6.0.32-2_all.deb
 7e9ea89738b3fa803e593fc8f35c89d9c50eb248 193996 
libservlet2.5-java_6.0.32-2_all.deb
 cd5bf9809307079e7998a32c73174ccb4eea2233 254584 
libservlet2.5-java-doc_6.0.32-2_all.deb
 28da35a873956cfc4a5fe792fa0231f80bbee89d 46908 tomcat6-admin_6.0.32-2_all.deb
 d773058e066efb5948740201d1093732538ba0c0 161314 
tomcat6-examples_6.0.32-2_all.deb
 b8af974a8fbc49b3581e442d98d0065eb99ef9db 544378 tomcat6-docs_6.0.32-2_all.deb
 b0f230edcdd384088c0888bf6f94229ee19fa7f2 11906 tomcat6-extras_6.0.32-2_all.deb
Checksums-Sha256: 
 5d21dd87a90c12051340b6f79fa4557f56fdb5a54083852b8977604dc6abeadf 2273 
tomcat6_6.0.32-2.dsc
 847abe7b8a0e5b5c95dc302c22211aac373b35e6e0dc542ede83f97cae0bbaca 40731 
tomcat6_6.0.32-2.debian.tar.gz
 7806e79b1356e3ba601a49b4d8df976656b162a0fe047848c86c7db7079f4dd7 48818 
tomcat6-common_6.0.32-2_all.deb
 ebd4ede0264162453dadf01533f548fe9173a87215f0a7115ea6173f4f30e85f 37046 
tomcat6_6.0.32-2_all.deb
 7064ca4d1872000118545b6cd4bf67720fc7cf34e2be6bbba2900e760187e918 29296 
tomcat6-user_6.0.32-2_all.deb
 21ad22125ca3365e26c5fbafb81e480dd1f84b50c1fd3aa7b47126d9a6cf4fdc 3072912 
libtomcat6-java_6.0.32-2_all.deb
 80d1807732ed39ddf5b21831d0b2ca1f9629535fcb7bb3392abfd0244fe1eec5 193996 
libservlet2.5-java_6.0.32-2_all.deb
 975cba34d0309ae8eb631e022719403f7b10e03ad90e1c96d559d2f5ae1b8b23 254584 
libservlet2.5-java-doc_6.0.32-2_all.deb
 3b884ef2fd9d618da193cd30fae2da9f630b680959b28342894bab38798472ae 46908 
tomcat6-admin_6.0.32-2_all.deb
 e1777b11a305cd139a628c5d00e1a4b26eb25818d37385ef6ea80c571fc49183 161314 
tomcat6-examples_6.0.32-2_all.deb
 2ea172304604ed74530e6df80aa37e584ab6640d54d81b93828b6415c34562ac 544378 
tomcat6-docs_6.0.32-2_all.deb
 6c729868be8be691b1e3e23e516814dc2b686bb5c5fa67d76a4a3cc2c42f3eee 11906 
tomcat6-extras_6.0.32-2_all.deb
Files: 
 39340c232a478636d31f665ae23789ce 2273 java optional tomcat6_6.0.32-2.dsc
 671512a354be4e6fec4e9c92540ab86e 40731 java optional 
tomcat6_6.0.32-2.debian.tar.gz
 54e267e3b83e22a0a0ec172d2b24238f 48818 java optional 
tomcat6-common_6.0.32-2_all.deb
 d82d0879894899e81336e0a2904f2bd1 37046 java optional tomcat6_6.0.32-2_all.deb
 d4abdb57cac491bb28116b0ce411e6fa 29296 java optional 
tomcat6-user_6.0.32-2_all.deb
 93e16a46cb6a04cf8dbeb65cdcba1150 3072912 java optional 
libtomcat6-java_6.0.32-2_all.deb
 1724cac88919510840800156d480898f 193996 java optional 
libservlet2.5-java_6.0.32-2_all.deb
 a2a8cb414cb04993d0d7e38f56cc5def 254584 doc optional 
libservlet2.5-java-doc_6.0.32-2_all.deb
 33185eef2291a419e66841fe093ac1a2 46908 java optional 
tomcat6-admin_6.0.32-2_all.deb
 4cdbdd5a7dceb599d14c800bdc2e2b15 161314 java optional 
tomcat6-examples_6.0.32-2_all.deb
 7062cd4d300b721ea5d0f71cbf09c5a2 544378 doc optional 
tomcat6-docs_6.0.32-2_all.deb
 f2c88be8e43b97a9b3fb0239b3b5b141 11906 java optional 
tomcat6-extras_6.0.32-2_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iQIcBAEBCAAGBQJNmUewAAoJECHSBYmXSz6WN04P/AiwWHu1y5gbHZHPnMWF9oN0
pdUr/AvOvcU75+oVwaUQAy2YZvOr9CrU6WgI12g/5R19GUjef3dZ0S3GBSCOr45F
B+9k0jB78m3lp+Gzu1Fl9imtWtYGa2nSPyA7pZVysYqxu4jfZR+Vwm8RLRzD9pD9
1AJhvL56wzI/gBFogSXKdJvTdX3Ublck58atM8sDfow3P9kUjr4IeI8G9vmSMPKR
WVOGOlP8KTcpAJqIjYkhialqLlf80gzxPJvQId3nP9OiDZf6xsudfjcMTFUl0fxk
P3DTUeSwlu0f1IxTQtCv3/4yfdqzxXOGX8WTx7ojnyxOZgMMGMizFyf3s1LnJyR3
G/2340UuxR9llYYLuppKvxY+7zTE2jr9SO5x0XrOUaISvaOBNkHmJ4ORfj8/5W4t
1jyPDK8JclCgAGRmGTFq51+jQ3GhSoV08oQtPIU+Pc0dN6ZplDExFNGuEGOSgUpa
6Q6S++N+DL6TUdqOkE8urXq1VAgpBLBfLEYQTCWW/Ats1b9Mz7SG18wMsw8F2GOI
35fh/gJTLUuHgnkce11SJEhIKu4LyK9OQvfOe4RzhdcmqMjLT69WmxWPju7Rb/jt
mZQEeP8BGuWnjLypPuWp2J0tHozEGUuTlnmuRmCNNxPzm93+ox9NQJqtcZusfwpk
8lZKspfiB3t59IV+mnmG
=LfjX
-----END PGP SIGNATURE-----



--- End Message ---
__
This is the maintainer address of Debian's Java team
<http://lists.alioth.debian.org/mailman/listinfo/pkg-java-maintainers>. Please 
use
debian-j...@lists.debian.org for discussions and questions.

Reply via email to