Bug#575580: tomcat6-user: tomcat6-instance-create fails when multiple commandline options are provided

2010-03-27 Thread Mark Scott
Package: tomcat6-user
Version: 6.0.24-3
Severity: important

Try to pass both the -p and -c options:

$ tomcat6-instance-create -p 8050 -c 8006 tomcat6
You are about to create a Tomcat instance in directory '-c'
[snip much error output]

Only the first option is parsed correctly and the target directory is always
assigned the value of $3.  The problem is in the 'getopts' handling and is
fixed by patching with this diff:

*** /tmp/tomcat6-instance-create.diff
*** /usr/bin/tomcat6-instance-create2009-03-02 21:45:29.0 +
--- ./tomcat6-instance-create   2010-03-27 08:15:40.721704619 +
***
*** 64,81 
  
  while getopts :p:c:w:h options; do
case $options in
! p ) HPORT=$OPTARG
!   shift; shift ;;
! c ) CPORT=$OPTARG
!   shift; shift ;;
! w ) CWORD=$OPTARG
!   shift; shift ;;
  h ) usage;;
  * ) echo Error: Unknown parameter '$OPTARG'.
  exit 1;;
esac
  done
  
  TARGET=$1
  shift
  echo You are about to create a Tomcat instance in directory '$TARGET'
--- 64,79 
  
  while getopts :p:c:w:h options; do
case $options in
! p ) HPORT=$OPTARG ;;
! c ) CPORT=$OPTARG ;;
! w ) CWORD=$OPTARG ;;
  h ) usage;;
  * ) echo Error: Unknown parameter '$OPTARG'.
  exit 1;;
esac
  done
  
+ shift $(($OPTIND - 1))
  TARGET=$1
  shift
  echo You are about to create a Tomcat instance in directory '$TARGET'


-- System Information:
Debian Release: 5.0.4
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-2-amd64 (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/bash

Versions of packages tomcat6-user depends on:
ii  netcat1.10-38TCP/IP swiss army knife -- transit
ii  netcat-traditional [netcat]   1.10-38TCP/IP swiss army knife
ii  tomcat6-common6.0.24-3   Servlet and JSP engine -- common f

tomcat6-user recommends no packages.

Versions of packages tomcat6-user suggests:
ii  tomcat6   6.0.24-3   Servlet and JSP engine
pn  tomcat6-admin none (no description available)
pn  tomcat6-docs  none (no description available)
pn  tomcat6-examples  none (no description available)

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#567091: python-gtksourceview2: Uninstallable because of dependency on unavailable package python2.6-gtk2

2010-01-27 Thread Mark Scott
Package: python-gtksourceview2
Version: 2.8.0-1
Severity: normal

$ sudo aptitude -d install gedit

[...]

The following NEW packages will be installed:
  gedit python-gtksourceview2{ab} 
0 packages upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 107kB/1,010kB of archives. After unpacking 3,936kB will be used.
The following packages have unmet dependencies:
  python-gtksourceview2: Depends: python2.6-gtk2 which is a virtual package.
The following actions will resolve these dependencies:

 Keep the following packages at their current version:
1) gedit [Not Installed]  
2) python-gtksourceview2 [Not Installed]  

[...]

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

Kernel: Linux 2.6.32-trunk-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages python-gtksourceview2 depends on:
ii  libatk1.0-0  1.28.0-1The ATK accessibility toolkit
ii  libc62.10.2-5Embedded GNU C Library: Shared lib
ii  libcairo21.8.8-2 The Cairo 2D vector graphics libra
ii  libfontconfig1   2.8.0-2 generic font configuration library
ii  libfreetype6 2.3.11-1FreeType 2 font engine, shared lib
ii  libglib2.0-0 2.22.4-1The GLib library of C routines
ii  libgtk2.0-0  2.18.6-1The GTK+ graphical user interface 
ii  libgtksourceview2.0-02.8.2-1 shared libraries for the GTK+ synt
ii  libpango1.0-01.26.2-1Layout and rendering of internatio
ii  python   2.5.4-9 An interactive high-level object-o
ii  python-gobject [python2.5-go 2.20.0-1+b1 Python bindings for the GObject li
ii  python-gtk2 [python2.5-gtk2] 2.16.0-1Python bindings for the GTK+ widge
ii  python-support   1.0.6   automated rebuilding support for P

python-gtksourceview2 recommends no packages.

Versions of packages python-gtksourceview2 suggests:
pn  libgtksourceview2.0-dev   none (no description available)



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#469109: pidgin: can no longer adjust size of the text input in a conversation window

2008-03-03 Thread Mark Scott
I think this is a terrible change from a usability point of view and 
would like to see it reverted.  Can Debian lobby for this (there are 
some requests[1] on the Pidgin Support mailing list)?  Would a patch be 
applied to the Debian package if submitted?


[1] declaration of interest - one of them is from me.

--
Mark Scott
[EMAIL PROTECTED]



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#448418: radioclkd segfaults on amd64

2007-10-29 Thread Mark Scott

Paul Martin wrote:


radioclkd tries a binary chop across the full range of time_t, starting with
the middle value that the type can hold. Unfortunately, gmtime() doesn't
like handing the value 0x4000

What happens if you add the following line at line 213 in radioclkd.c?

/* calculate the number of magnitude bits in a time_t */
for (bits=0,timep=1;timep0;bits++,timep=1)
;

+   if (bits  48) bits = 48;

/* if time_t is signed, 0 is the median value else 1bits is median */
timep = (timep0) ? 0 : ((time_t) 1bits);


This prevents the segfault.


This limits the range of time_t values to years 1970 to 8921556. If we're
still using longwave radio clocks in eight million years time, we've got
major problems.


So your fix is a practical one although I guess Jonathan's suggestions 
might provide a 'better' solution - I'll leave it to you to decide.  I'm 
no C coder so trying Jonathan's suggestions out would require some 
research on my part (that would have to wait until next weekend).  I'm 
more than happy to test other patches out sooner though.


Many thanks to both for the prompt response.

--
Mark Scott
[EMAIL PROTECTED]



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#448418: radioclkd segfaults on amd64

2007-10-29 Thread Mark Scott

Jonathan Buzzard wrote:


However surely this is a libc bug and not a radioclkd bug.


Presumably the same one reported (albeit for alpha) in :

glibc gmtime() broken for 64bit time_t (in arch=alpha)
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=200641

which is merged with :

gmtime returns NULL for time_ts larger than 40 bits on Alpha
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=238786)?

These have been open for over 4 years and over 3 years respectively :-(

The pragmatist in me says the radioclkd workaround is needed, if not ideal.

--
Mark Scott
[EMAIL PROTECTED]



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#322127: Installation aborts due to missing /etc/gksu.conf

2005-08-09 Thread Mark Scott
Package: gksu
Version: 1.3.2-2
Severity: important


gksu was pulled in as a dependency of gdm on a clean installation i.e. it
wasn't previously installed, so there wase no gksu.conf to migrate to gconf.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.11-copper
Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=UTF-8) (ignored: LC_ALL set to 
en_GB.UTF-8)

Versions of packages gksu depends on:
ii  libatk1.0-0   1.10.1-2   The ATK accessibility toolkit
ii  libc6 2.3.5-3GNU C Library: Shared libraries an
ii  libgconf2-4   2.10.1-1   GNOME configuration database syste
ii  libgksu1.2-0  1.3.3-1library providing su and sudo func
ii  libgksuui1.0-11.0.6-1a graphical fronted to su library
ii  libglib2.0-0  2.6.6-1The GLib library of C routines
ii  libgnome-keyring0 0.4.3-1GNOME keyring services library
ii  libgtk2.0-0   2.6.9-1The GTK+ graphical user interface 
ii  liborbit2 1:2.12.2-3 libraries for ORBit2 - a CORBA ORB
ii  libpango1.0-0 1.8.2-1Layout and rendering of internatio
ii  libpopt0  1.7-5  lib for parsing cmdline parameters
ii  sudo  1.6.8p9-2  Provide limited super user privile

gksu recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]