Bug#688600: asterisk: command sip show peers stopped working

2012-09-23 Thread Pedro Zorzenon Neto
Package: asterisk
Version: 1:1.6.2.9-2+squeeze7
Severity: normal

When upgrading from 1:1.6.2.9-2+squeeze6 to 1:1.6.2.9-2+squeeze7, the
asterisk command sip show peers does not work anymore. This command
is important for showing which clients are connected.

I downgraded to 1:1.6.2.9-2+squeeze6 and it started working again.

-- System Information:
Debian Release: 6.0.5
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i586)

Kernel: Linux 2.6.32-5-486
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash


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



Bug#511754: patch to fix

2012-03-25 Thread Pedro Zorzenon Neto
Since I sent several mails to upstream author and I didn't receive an
answer, then I did the patch by myself.

The patch is attached. Now I need time to review the package, change
it to the new standards (quilt 3.0, policy and dh versions), and
upload it. Intend to do this in the following 2 weeks.
Index: tdl-1.5.2/Makefile.in
===
--- tdl-1.5.2.orig/Makefile.in	2004-01-06 22:09:05.0 -0200
+++ tdl-1.5.2/Makefile.in	2012-03-25 21:30:20.0 -0300
@@ -47,7 +47,7 @@
 
 OBJ = main.o io.o add.o done.o remove.o move.o list.o \
   report.o purge.o util.o dates.o impexp.o narrow.o \
-			inter.o
+			inter.o color.o
 
 all : tdl
 
Index: tdl-1.5.2/color.c
===
--- /dev/null	1970-01-01 00:00:00.0 +
+++ tdl-1.5.2/color.c	2012-03-25 21:28:03.0 -0300
@@ -0,0 +1,100 @@
+#include string.h
+#include stdio.h
+#include stdlib.h
+#include color.h
+
+#define dNORMAL  
+#define dRED 
+#define dGREEN   
+#define dYELLOW  
+#define dBLUE
+#define dMAGENTA 
+#define dCYAN
+
+char NORMAL[COLORMAXSIZE];
+char RED[COLORMAXSIZE];
+char GREEN[COLORMAXSIZE];
+char YELLOW[COLORMAXSIZE];
+char BLUE[COLORMAXSIZE];
+char MAGENTA[COLORMAXSIZE];
+char CYAN[COLORMAXSIZE];
+
+void color_apply(char * varname, char * config) {
+  int i = 0;
+  while (config[i]) {
+/* terminate string at first special char (like CR, LF and others) */
+if (config[i]  0x20) {
+  config[i] = 0;
+} else {
+  /* replace tilde - ESC */
+  if (config[i] == '~') config[i] = 0x1b;
+  i++;
+}
+  }
+  strncpy(varname,config,COLORMAXSIZE);
+  varname[COLORMAXSIZE-1] = 0;
+}
+
+void color_map_from_file (char * filename) {
+  FILE * fh;
+  char s[1024];
+  fh = fopen(filename,r);
+  if (fh != NULL) {
+while (! feof(fh)) {
+  if (fgets(s, 1023, fh)) {
+if (strncasecmp(NORMAL=,s,7)==0) {
+  color_apply(NORMAL,s+7);
+}
+if (strncasecmp(RED=,s,4)==0) {
+  color_apply(RED,s+4);
+}
+if (strncasecmp(GREEN=,s,6)==0) {
+  color_apply(GREEN,s+6);
+}
+if (strncasecmp(YELLOW=,s,7)==0) {
+  color_apply(YELLOW,s+7);
+}
+if (strncasecmp(BLUE=,s,5)==0) {
+  color_apply(BLUE,s+5);
+}
+if (strncasecmp(MAGENTA=,s,8)==0) {
+  color_apply(MAGENTA,s+8);
+}
+if (strncasecmp(CYAN=,s,5)==0) {
+  color_apply(CYAN,s+5);
+}
+  }
+}
+fclose(fh);
+  }
+}
+
+void color_init(void) {
+  char * s;
+
+  /* default colors */
+  strcpy(RED,dRED);
+  strcpy(GREEN,dGREEN);
+  strcpy(YELLOW,dYELLOW);
+  strcpy(BLUE,dBLUE);
+  strcpy(MAGENTA,dMAGENTA);
+  strcpy(CYAN,dCYAN);
+  strcpy(NORMAL,dNORMAL);
+
+  /* try to get colors from /etc/tdl.conf */
+  color_map_from_file (/etc/tdl.conf);
+
+  /* try to get colors from $HOME/.tdl.color */
+  s = getenv(HOME);
+  if (s != NULL) {
+char * t;
+t = malloc(strlen(s)+16);
+sprintf(t,%s/.tdl.color,s);
+color_map_from_file (t);
+free(t);
+  }
+
+  /* try to get colors from CURRENT_DIR/.tdl.color */
+  color_map_from_file (./.tdl.color);
+
+}
Index: tdl-1.5.2/color.h
===
--- /dev/null	1970-01-01 00:00:00.0 +
+++ tdl-1.5.2/color.h	2012-03-25 21:28:29.0 -0300
@@ -0,0 +1,16 @@
+#ifndef _COLOR_H
+#define _COLOR_H
+
+#define COLORMAXSIZE 32
+
+extern char RED[COLORMAXSIZE];
+extern char GREEN[COLORMAXSIZE];
+extern char YELLOW[COLORMAXSIZE];
+extern char BLUE[COLORMAXSIZE];
+extern char MAGENTA[COLORMAXSIZE];
+extern char CYAN[COLORMAXSIZE];
+extern char NORMAL[COLORMAXSIZE];
+
+void color_init(void);
+
+#endif
Index: tdl-1.5.2/list.c
===
--- tdl-1.5.2.orig/list.c	2012-03-25 21:25:28.0 -0300
+++ tdl-1.5.2/list.c	2012-03-25 21:29:16.0 -0300
@@ -25,6 +25,7 @@
 #include ctype.h
 #include unistd.h
 #include tdl.h
+#include color.h
 
 struct list_options {
   unsigned monochrome:1;
@@ -37,17 +38,6 @@
 
 #define INDENT_TAB 3
 
-/*{{{ Colour definitions */
-#define RED 
-#define GREEN   
-#define YELLOW  
-#define BLUE
-#define MAGENTA 
-#define CYAN
-#define NORMAL  
-#define DIM 
-#define DIMCYAN 
-
 /* Table to map priority levels to colours */
 static char *colour_table[] = {
   NORMAL, BLUE, CYAN, NORMAL, YELLOW, RED
Index: tdl-1.5.2/main.c
===
--- tdl-1.5.2.orig/main.c	2012-03-25 21:25:28.0 -0300
+++ tdl-1.5.2/main.c	2012-03-25 21:29:53.0 -0300
@@ -20,6 +20,7 @@
*/
 
 #include tdl.h
+#include color.h
 #include assert.h
 #include string.h
 #include errno.h
@@ -933,6 +934,7 @@
 /*{{{  int main (int argc, char **argv)*/

Bug#619082: dash: implement variable $RANDOM

2011-03-27 Thread Pedro Zorzenon Neto
 I don't think this functionality belongs in dash.  For example, I
 find that the sleep command in
 
 Example of a simple cronjob which runs with a random delay of
 0 ~ 327 seconds (to prevent network peaks of all the machines):

   */30 * * * * sleep $(($RANDOM/100))  do_something_network_related
 
 is better written (more portably and more intuitively) as
 
   sleep $(awk 'BEGIN {srand(); printf %d\n, rand()*327}')
 
 or
 
   awk 'BEGIN { srand(); system(sleep  int(rand() * 327)) }'
 
 even though this is a little longer.

nice idea...
  */30 * * * * perl -e sleep rand(327); do_something_network_related
for the ones that like perl :-)

I think that is dash is supposed to replace bash, it should implement
$RANDOM... but this is only my personal opinion :-)

 On the other hand, I would definitely like a way for users to be able
 to easily choose a different shell to be used by cron, so they would
 be less at the mercy of the cruel sysadmin.  What do you think?

If you put:
SHELL=/bin/something
at the begining of your crontab, all the lines will be run with your
prefered shell.

Thanks,
Pedro



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



Bug#619082: dash: implement variable $RANDOM

2011-03-20 Thread Pedro Zorzenon Neto
Package: dash
Version: 0.5.5.1-7.4
Severity: wishlist

Hi,

After upgrading to squeeze and answering yes to install question of
using dash as default shell for non-interactive users, all my cronjobs
that use $RANDOM variable to delay some random seconds of running time
stopped working.

Please implement this in dash.

Example of a simple cronjob which runs with a random delay of
0 ~ 327 seconds (to prevent network peaks of all the machines):

  */30 * * * * sleep $(($RANDOM/100))  do_something_network_related

Thanks,
Pedro



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



Bug#606456: pcal does not print holidays correctly

2010-12-09 Thread Pedro Zorzenon Neto
Package: pcal
Version: 4.10.0-1
Severity: normal

Hi,

  I have a problem with pcal, to reproduce it, follow the steps:

mv ~/.calendar ~/.calendar-backup || true
echo nov 4* City Holiday  ~/.calendar

pcal -P a4 -o /tmp/file1.ps -a pt -b all -B -O holiday 11 2010 1
pcal -P a4 -o /tmp/file2.ps -a pt -b all -B -O holiday 11 2010 14
pcal -P a4 -o /tmp/file3.ps -a pt -b all -B -O holiday 11 2011 1

today is 9/dec/2010

file1 - nov/4/2010 is holiday
file2 - nov/4/2010 is holiday, nov/4/2011 is NOT holiday
file3 - nov/4/2011 is NOT holiday

  It seems pcal is not handling holidays for the next year.

  Thanks,
  Pedro

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

Kernel: Linux 2.6.26-2-xen-amd64 (SMP w/4 CPU cores)
Locale: LANG=pt_BR.UTF-8, LC_CTYPE=pt_BR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages pcal depends on:
ii  libc6   2.7-18lenny6 GNU C Library: Shared libraries
ii  libpaper1   1.1.23+nmu1  library for handling paper charact

pcal recommends no packages.

pcal suggests no packages.

-- 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#578318: RM: tz-brasil -- ROM; package not useful anymore

2010-04-18 Thread Pedro Zorzenon Neto
Package: ftp.debian.org
Severity: normal

Hi,

  I'd like to request the removal of package tz-brasil from
unstable+testing.

  Reasons:

   - tz-brasil was created as an alternative for brazilian daylight
 timezone changes, that were sometimes reported by government just
 a few days before it begins. The main reason of this package is
 to fetch the timezone from an updated server some times per week.

   - since last year, the government decided to set a start and end date
 for this. So, we will know in advance. And the rules can be added
 to tzdata package.

  Thanks,
  Pedro

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

Kernel: Linux 2.6.26-2-xen-amd64 (SMP w/4 CPU cores)
Locale: LANG=pt_BR.UTF-8, LC_CTYPE=pt_BR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash



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



Bug#578318: Acknowledgement (RM: tz-brasil -- ROM; package not useful anymore)

2010-04-18 Thread Pedro Zorzenon Neto
Another reason for removing it: is has a RC bug (overwrites files from
other package tzdata).



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



Bug#572108: modifying files from another package

2010-03-01 Thread Pedro Zorzenon Neto
Hello Holger,

  I don't know how to handle this. Do you have any suggestion? This is
what occours:

  Brazil is very unstable regarging daylight-saving-time (DST) start
date and end date. Up to 2009 [1], the dates of changing clock were
reported by government sometimes around 10 days before when it begins.

  In Debian stable, tzdata package handle timezone informations, and
since a change in brazilian date of starting the DST is not a security
issue, that can not be generated another package for debian stable, and
brazilian users will have a misconfigured clock.

  So I did tz-brasil package, that tries to fetch periodically the
timezone information from a server [2], and then runs the command zic
the timezone compiler. The compiler then modifies the files that you saw.

  Which whould be a good alternative for handling timezones in countries
that are not well-organized and we have no information, except a few
days before the change will occour?

  Also, in Brazil, we have some states that change DST, and others that
do not have DST. Some years, a state decided to change to DST after
others... That is why I take care of all the brazilian zones in my
tzfile [2] and did this package.

  If this could be considered a good reason for upgrading a new tzdata
package to stable, we can remove tz-brasil package from debian. So
Brazilian admins would only have to remember to apt-get update/upgrade
periodically.

  I have a non-uploaded version of tz-brasil, which I also check which
processes has a start-timestamp older than the timestamp of file
/etc/localtime. If they are older, then cron sends a warn to root, to
restart that process, or it won't know about the new timezone rules.

  Do you have any opinion?

[1] in 2010 the government changed the rules for DST. Now it is supposed
to be known in advance, but the rule has a relation with carnival date,
and carnival data may change...

[2] http://people.debian.org/~pzn/tz.zic

Em 01-03-2010 12:53, Holger Levsen escreveu:
 Package: tz-brasil
 Version: 0.10
 Severity: serious
 User: debian...@lists.debian.org
 Usertags: piuparts piuparts.d.o
 
 Hi, 
 
 during a test with piuparts I noticed your package modifies files from 
 another 
 package in /usr. This is so wrong, I'm not even bothered to look up the part 
 of policy this violates ;-P
 
 From the attached log (scroll to the bottom...):
 
 0m14.0s ERROR: FAIL: After purging files have been modified:
   /usr/share/zoneinfo/America/Araguainaowned by: tzdata
   /usr/share/zoneinfo/America/Bahiaowned by: tzdata
   /usr/share/zoneinfo/America/Belemowned by: tzdata
   /usr/share/zoneinfo/America/Boa_Vistaowned by: tzdata
   /usr/share/zoneinfo/America/Campo_Grande owned by: tzdata
   /usr/share/zoneinfo/America/Cuiaba   owned by: tzdata
   /usr/share/zoneinfo/America/Eirunepe owned by: tzdata
   /usr/share/zoneinfo/America/Fortalezaowned by: tzdata
   /usr/share/zoneinfo/America/Maceio   owned by: tzdata
   /usr/share/zoneinfo/America/Manaus   owned by: tzdata
   /usr/share/zoneinfo/America/Noronha  owned by: tzdata
   /usr/share/zoneinfo/America/Porto_Acre   owned by: tzdata
   /usr/share/zoneinfo/America/Porto_Velho  owned by: tzdata
   /usr/share/zoneinfo/America/Recife   owned by: tzdata
   /usr/share/zoneinfo/America/Rio_Branco   owned by: tzdata
   /usr/share/zoneinfo/America/Santarem owned by: tzdata
   /usr/share/zoneinfo/America/Sao_Pauloowned by: tzdata
   /usr/share/zoneinfo/Brazil/Acre  owned by: tzdata
   /usr/share/zoneinfo/Brazil/DeNoronha owned by: tzdata
   /usr/share/zoneinfo/Brazil/East  owned by: tzdata
   /usr/share/zoneinfo/Brazil/West  owned by: tzdata
 
 I think you should conflict with and replace tzdata (as in package 
 relationships).
 
 
 regards,
   Holger



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



Bug#572108: modifying files from another package

2010-03-01 Thread Pedro Zorzenon Neto
Em 01-03-2010 14:18, Holger Levsen escreveu:
 I think you should conflict with and replace tzdata (as in package
 relationships).
 
 ^^ that is my suggestion. Add a Conflicts: tz-data header, a Provides: 
 tz-data header and a Replaces: tz-data header. You can probably leave one 
 out, but I always forget which. Consult policy :-)

To conflict with tzdata, I should handle all country timezones, because
it tzdata is uninstalled, the system won't have references to other
timezones.

Imagine a server where users set different customization of timezone.

I see no simple solution now... but I'll think about and there will be a
simpler solution.




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



Bug#556535: iotop: add an option for timestamp on output

2009-11-16 Thread Pedro Zorzenon Neto
Package: iotop
Version: 0.2-3
Severity: wishlist

Hi,

  The option '-b' is useful for logging, however this option does
not output any timestamp. It is hard to find at what time the event
occoured looking at the logs.

  I suggest to add a new command line option to write the timestamp
to output.

  Thanks,
  Pedro

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

Kernel: Linux 2.6.26-2-xen-amd64 (SMP w/4 CPU cores)
Locale: LANG=pt_BR.UTF-8, LC_CTYPE=pt_BR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages iotop depends on:
ii  python   2.5.2-3 An interactive high-level
object-o
ii  python-support   0.8.4lenny1 automated rebuilding
support for P

iotop recommends no packages.

iotop suggests no packages.

-- 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#542250: More information

2009-08-22 Thread Pedro Zorzenon Neto

Hi,

I have the same problem with amd 9950 4core cpu when copying large amounts of 
data from/to the lvm (4x sata HDs).

Using debian 5.0 amd64 with no packages beside official ones.

One workaround for the panic is to edit /etc/xen/xend-config.sxp and change 
(dom0-cpus 1)
And also edit every dom-u to use only one cpu
Of course this is a workaround for the machine keep working... but it is not 
nice to run with only one cpu.

After installing the packages from 
http://yoush.homelinux.org:8079/nikita/xenfix/ I could put back all processors 
and it worked well again.

Just sent this e-mail as an extra confirmation that the patch works as expected.

Regards,
Pedro






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



Bug#523513: rdate: should not set time if network delay is too big

2009-04-10 Thread Pedro Zorzenon Neto
Package: rdate
Version: 1:1.1.3-2
Severity: wishlist
Tags: patch

Hi,

  I have problems with rdate with hundreds of network clients that use
PPP over 9600bps CSD connections. The link delay is often less than 2
seconds, but if a file transfer is in progress, it can take 30 seconds
for rdate fetching the date. That will make the clock worst than it was.

  I implemented an option to rdate (-t) that does not set the clock when
it took more than an specified time to fetch the time from network.

  Please add it to the sources, it may be useful for others.

  Usage example:
   rdate -t 3500 192.168.10.20
   if it took more than 3.5 seconds for fetching the time, it will not
set it (instead, it will exit with an error).

  Thanks,
  Pedro

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

Kernel: Linux 2.6.26-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=pt_BR.UTF-8, LC_CTYPE=pt_BR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages rdate depends on:
ii  libc6 2.7-18 GNU C Library: Shared libraries

rdate recommends no packages.

rdate suggests no packages.

-- no debconf information
diff -ur rdate-1.1.3-old/docs/rdate.8 rdate-1.1.3-new/docs/rdate.8
--- rdate-1.1.3-old/docs/rdate.8	2009-04-10 15:49:34.0 -0300
+++ rdate-1.1.3-new/docs/rdate.8	2009-04-10 15:52:42.0 -0300
@@ -40,6 +40,7 @@
 .Nm rdate
 .Op Fl 46acnpsuv
 .Op Fl o Ar port
+.Op Fl t Ar msec
 .Ar host
 .Sh DESCRIPTION
 .Nm
@@ -88,6 +89,10 @@
 Do not print the time.
 .It Fl u
 Use UDP instead of TCP as transport.
+.It Fl t Ar msec
+Does not set time if it took more than
+.Ar msec
+mili-seconds to fetch time from network.
 .It Fl v
 Verbose output.
 Always show the adjustment.
diff -ur rdate-1.1.3-old/src/rdate.c rdate-1.1.3-new/src/rdate.c
--- rdate-1.1.3-old/src/rdate.c	2009-04-10 15:49:34.0 -0300
+++ rdate-1.1.3-new/src/rdate.c	2009-04-10 15:55:12.0 -0300
@@ -38,6 +38,7 @@
  *	Time is returned as the number of seconds since
  *	midnight January 1st 1900.
  */
+/* option -t implemented by Pedro Zorzenon Neto - 2009-04-10 */
 #ifndef lint
 #if 0
 from: static char rcsid[] = $NetBSD: rdate.c,v 1.3 1996/02/22 06:59:18 thorpej Exp $;
@@ -77,7 +78,7 @@
 void
 usage(void)
 {
-	(void) fprintf(stderr, Usage: %s [-46acnpsv] [-o port] host\n, __progname);
+	(void) fprintf(stderr, Usage: %s [-46acnpsv] [-o port] [ -t msec ] host\n, __progname);
 	(void) fprintf(stderr,   -4: use IPv4 only\n);
 	(void) fprintf(stderr,   -6: use IPv6 only\n);
 	(void) fprintf(stderr,   -a: use adjtime instead of instant change\n);
@@ -87,6 +88,7 @@
 	(void) fprintf(stderr,   -p: just print, don't set\n);
 	(void) fprintf(stderr,   -s: just set, don't print\n);
 	(void) fprintf(stderr,   -u: use UDP instead of TCP as transport\n);
+	(void) fprintf(stderr,   -t msec: does not set clock if network delay greater than msec\n);
 	(void) fprintf(stderr,   -v: verbose output\n);
 }
 
@@ -102,8 +104,12 @@
 	int		port = 0;
 
 	struct timeval new, adjust;
+	int		maxdelay = 0;
+	int		netdelay = 0;
+	struct timeval  netdelay1, netdelay2;
+	struct timezone tz;
 
-	while ((c = getopt(argc, argv, 46psancvuo:)) != -1)
+	while ((c = getopt(argc, argv, 46psancvuo:t:)) != -1)
 		switch (c) {
 		case '4':
 			family = PF_INET;
@@ -145,6 +151,10 @@
 			port = atoi(optarg);
 			break;
 
+		case 't':
+			maxdelay = atoi(optarg);
+			break;
+
 		default:
 			usage();
 			return 1;
@@ -156,11 +166,25 @@
 	}
 	hname = argv[optind];
 
+	if (maxdelay) {
+	  gettimeofday(netdelay1, tz);
+	}
 	if (ntp)
 		ntp_client(hname, family, new, adjust, corrleaps, port, verbose);
 	else
 		rfc868time_client(hname, family, new, adjust, corrleaps, useudp, port);
 
+	if (maxdelay) {
+	  gettimeofday(netdelay2, tz);
+	  netdelay = (netdelay2.tv_sec - netdelay1.tv_sec) * 1000;
+	  netdelay += (netdelay2.tv_usec - netdelay1.tv_usec) / 1000;
+	  if (netdelay  maxdelay) {
+	fprintf(stderr, %s: Network delay exceeded (%i msec)\n,
+		__progname, netdelay);
+	exit(2);
+	  }
+	}
+
 	if (!pr) {
 		if (!slidetime) {
 			logwtmp(|, date, );
@@ -195,6 +219,13 @@
    %s: adjust local clock by %ld seconds\n,
    __progname, adjust.tv_sec);
 		}
+
+		if (maxdelay) {
+		  (void) fprintf(stdout,
+ %s: network delay %i msecs\n,
+ __progname, netdelay);		  
+		}
+
 	}
 
 	return 0;


Bug#523513: patch improvement

2009-04-10 Thread Pedro Zorzenon Neto
Please use the following patch to rdate. It is a little improved,
including option '-b'.
diff -ur rdate-1.1.3-old/docs/rdate.8 rdate-1.1.3-new/docs/rdate.8
--- rdate-1.1.3-old/docs/rdate.8	2009-04-10 15:49:34.0 -0300
+++ rdate-1.1.3-new/docs/rdate.8	2009-04-10 18:07:00.0 -0300
@@ -39,7 +39,9 @@
 .Sh SYNOPSIS
 .Nm rdate
 .Op Fl 46acnpsuv
+.Op Fl b Ar sec
 .Op Fl o Ar port
+.Op Fl t Ar msec
 .Ar host
 .Sh DESCRIPTION
 .Nm
@@ -68,6 +70,11 @@
 .Xr adjtime 2
 call to gradually skew the local time to the
 remote time rather than just hopping.
+.It Fl b Ar sec
+Use adjtime if clock difference is at most
+.Ar sec
+seconds or hop if difference is greater. This is the same as including of
+removing the option -a, based on clock difference.
 .It Fl c
 Correct leap seconds.
 Sometimes required when synchronizing to an NTP server.
@@ -88,6 +95,10 @@
 Do not print the time.
 .It Fl u
 Use UDP instead of TCP as transport.
+.It Fl t Ar msec
+Does not set time if it took more than
+.Ar msec
+mili-seconds to fetch time from network.
 .It Fl v
 Verbose output.
 Always show the adjustment.
diff -ur rdate-1.1.3-old/src/rdate.c rdate-1.1.3-new/src/rdate.c
--- rdate-1.1.3-old/src/rdate.c	2009-04-10 15:49:34.0 -0300
+++ rdate-1.1.3-new/src/rdate.c	2009-04-10 18:10:48.0 -0300
@@ -38,6 +38,7 @@
  *	Time is returned as the number of seconds since
  *	midnight January 1st 1900.
  */
+/* options -t and -b implemented by Pedro Zorzenon Neto - 2009-04-10 */
 #ifndef lint
 #if 0
 from: static char rcsid[] = $NetBSD: rdate.c,v 1.3 1996/02/22 06:59:18 thorpej Exp $;
@@ -77,16 +78,19 @@
 void
 usage(void)
 {
-	(void) fprintf(stderr, Usage: %s [-46acnpsv] [-o port] host\n, __progname);
+	(void) fprintf(stderr, Usage: %s [-46acnpsv] [ -b sec ] [-o port] [ -t msec ] host\n, __progname);
 	(void) fprintf(stderr,   -4: use IPv4 only\n);
 	(void) fprintf(stderr,   -6: use IPv6 only\n);
 	(void) fprintf(stderr,   -a: use adjtime instead of instant change\n);
+	(void) fprintf(stderr,   -b num: use instant change if difference is greater than\n
+		 num seconds, or else use adjtime\n);
 	(void) fprintf(stderr,   -c: correct leap second count\n);
 	(void) fprintf(stderr,   -n: use SNTP instead of RFC868 time protocol\n);
 	(void) fprintf(stderr,   -o num: override time port with num\n);
 	(void) fprintf(stderr,   -p: just print, don't set\n);
 	(void) fprintf(stderr,   -s: just set, don't print\n);
 	(void) fprintf(stderr,   -u: use UDP instead of TCP as transport\n);
+	(void) fprintf(stderr,   -t msec: does not set clock if network delay greater than msec\n);
 	(void) fprintf(stderr,   -v: verbose output\n);
 }
 
@@ -102,8 +106,13 @@
 	int		port = 0;
 
 	struct timeval new, adjust;
+	int		maxdelay = 0;
+	int		netdelay = 0;
+	struct timeval  netdelay1, netdelay2;
+	struct timezone tz;
+	int conditionalslide = 0;
 
-	while ((c = getopt(argc, argv, 46psancvuo:)) != -1)
+	while ((c = getopt(argc, argv, 46psancvuo:t:b:)) != -1)
 		switch (c) {
 		case '4':
 			family = PF_INET;
@@ -145,6 +154,14 @@
 			port = atoi(optarg);
 			break;
 
+		case 't':
+			maxdelay = atoi(optarg);
+			break;
+
+		case 'b':
+			conditionalslide = atoi(optarg);
+			break;
+
 		default:
 			usage();
 			return 1;
@@ -156,12 +173,36 @@
 	}
 	hname = argv[optind];
 
+	if (maxdelay) {
+	  gettimeofday(netdelay1, tz);
+	}
 	if (ntp)
 		ntp_client(hname, family, new, adjust, corrleaps, port, verbose);
 	else
 		rfc868time_client(hname, family, new, adjust, corrleaps, useudp, port);
 
+	if (maxdelay) {
+	  gettimeofday(netdelay2, tz);
+	  netdelay = (netdelay2.tv_sec - netdelay1.tv_sec) * 1000;
+	  netdelay += (netdelay2.tv_usec - netdelay1.tv_usec) / 1000;
+	  if (netdelay  maxdelay) {
+	fprintf(stderr, %s: Network delay exceeded (%i msec)\n,
+		__progname, netdelay);
+	exit(2);
+	  }
+	}
+
 	if (!pr) {
+
+	  if (conditionalslide) {
+	if (((adjust.tv_sec  0)  (adjust.tv_sec  conditionalslide)) ||
+		((adjust.tv_sec  0)  ((-adjust.tv_sec)  conditionalslide))) {
+	  slidetime = 0;
+	} else {
+	  slidetime = 1;
+	}
+	  }
+	
 		if (!slidetime) {
 			logwtmp(|, date, );
 			if (settimeofday(new, NULL) == -1)
@@ -186,15 +227,32 @@
 		adjsec  = adjust.tv_sec + adjust.tv_usec / 1.0e6;
 
 		if (slidetime || verbose) {
+		  char slidemsg[32];
+		  if (conditionalslide) {
+		if (slidetime) {
+		  strcpy(slidemsg, (adjtime));
+		} else {
+		  strcpy(slidemsg, (instant change));
+		}
+		  } else {
+		strcpy(slidemsg,);
+		  }
 			if (ntp)
 (void) fprintf(stdout,
-   %s: adjust local clock by %.6f seconds\n,
-   __progname, adjsec);
+   %s: adjust local clock by %.6f seconds%s\n,
+	   __progname, adjsec, slidemsg);
 			else
 (void) fprintf(stdout,
-   %s: adjust local clock by %ld seconds\n,
-   __progname, adjust.tv_sec);
+   %s: adjust local clock by %ld seconds%s\n,
+   __progname, adjust.tv_sec, slidemsg

Bug#502709: tz-brasil: support for restarting services

2008-10-19 Thread Pedro Zorzenon Neto
Package: tz-brasil
Version: 0.8
Severity: wishlist

Hi,

  I could implement in tz-brasil a method for restarting the services
that are affected by timezone changes. It could have some directory like
/etc/ppp/ip-up.d/ where other packages could put scripts that should be
executed when timezone changes.

-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (990, 'stable')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-6-amd64
Locale: LANG=pt_BR.UTF-8, LC_CTYPE=pt_BR.UTF-8 (charmap=UTF-8)

Versions of packages tz-brasil depends on:
ii  fping   2.4b2-to-ipv6-14 sends ICMP ECHO_REQUEST packets to
ii  wget1.10.2-2 retrieves files from the web

Versions of packages tz-brasil recommends:
ii  cron  3.0pl1-100 management of regular background p

-- no debconf information



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



Bug#480394: otrs2: better tab browsing while creating a ticket

2008-05-09 Thread Pedro Zorzenon Neto
Package: otrs2
Version: 2.2.6-1
Severity: wishlist

Hi,

   When creating a phone-ticket, users press tab to do to the next
field. When you choose the queue, the page is reloaded and selected
field goes back to the first thing in page. otrs2 could use javascript
setfocus to reload the page keeping the current selected field, instead
of selecting the first again. It would be more efficient to fill many
tickets.

   Thanks,
   Pedro


-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (990, 'stable')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-6-amd64
Locale: LANG=pt_BR.UTF-8, LC_CTYPE=pt_BR.UTF-8 (charmap=UTF-8)

Versions of packages otrs2 depends on:
ii  adduser3.102 Add and remove users and groups
ii  apache22.2.3-4+etch4 Next generation, scalable, extenda
ii  apache2-mpm-prefork [httpd 2.2.3-4+etch4 Traditional model for Apache HTTPD
ii  dbconfig-common1.8.29+etch1  common framework for packaging dat
ii  debconf1.5.11etch1   Debian configuration management sy
ii  libauthen-sasl-perl2.10-1Authen::SASL - SASL Authentication
ii  libcrypt-passwdmd5-perl1.3-8 interoperable MD5-based crypt() fo
ii  libdate-pcalc-perl 1.2-2 Perl module for Gregorian calendar
ii  libdbi-perl1.53-1etch1   Perl5 database interface by Tim Bu
ii  libemail-valid-perl0.179-1   Check validity of Internet email a
ii  libio-stringy-perl 2.110-2   Perl5 modules for IO from scalars 
ii  libmailtools-perl  1.74-1Manipulate email in perl programs
ii  libmime-perl   5.420-0.1 Perl5 modules for MIME-compliant m
ii  libtext-diff-perl  0.35-3Perform diffs on files and record 
ii  libxml-parser-perl 2.34-4.2  Perl module for parsing XML files
ii  perl   5.8.8-7etch3  Larry Wall's Practical Extraction 
ii  thttpd [httpd-cgi] 2.23beta1-5   tiny/turbo/throttling HTTP server
ii  ucf2.0020Update Configuration File: preserv

Versions of packages otrs2 recommends:
ii  aspell 0.60.4-4  GNU Aspell spell-checker
ii  ispell 3.1.20.0-4.3  International Ispell (an interacti
ii  libapache2-mod-perl2   2.0.2-2.4 Integration of perl with the Apach
ii  libdbd-mysql-perl  3.0008-1  A Perl5 database interface to the 
ii  libdbd-pg-perl 1.49-2a PostgreSQL interface for Perl 5 
pn  libgd-graph-perl   none(no description available)
pn  libgd-text-perlnone(no description available)
ii  mysql-server-5.0 [mysql-se 5.0.32-7etch5 mysql database server binaries
ii  procmail   3.22-16   Versatile e-mail processor

-- debconf information excluded



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



Bug#447784: 447784 is still present if upgrading from older versions

2008-04-23 Thread Pedro Zorzenon Neto
Hi Nelson, how are you?

   Thanks for pointing the bug! Fixed in tz-brasil 0.10, that was
uploaded a few minutes ago.

   Best regards,
   Pedro




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



Bug#410271: fails to create database

2007-02-09 Thread Pedro Zorzenon Neto
Hi Rafal,

   Thanks for reporting the bug. I analysed it and these are my toughts
about it:
   
   The manpage specifies:
If no database exists, the add command will create it automatically (in
the current directory, unless the TDL_DATABASE environment is  set, in
which case this specifies the path to use).

   This is the point where tdl fails. The auto-create behaviour has a
bug.

   However, if you run the command create, tdl works as expected, you
can use it as you wish. To remove lock problems, remove the file
.tdldb.lock that was created automatically.

   About the lockfile, it is created in the same directory of the
database file. It should not be a global lockfile (home directory),
since some users (like me) open several tdl at the same time, each one
using a diferent directory/database/lockfile.

   I'm working on this bug, as a workaround, please create the database
with the create command before adding new tasks.

   - changing the bug severity to normal, since the program can be
used as expected if you create the database first. It is not completly
unusable.

   Thanks,
   Pedro

On Fri, Feb 09, 2007 at 03:58:34AM +, Rafal Czlonka wrote:
 Package: tdl
 Version: 1.5.2-2
 Severity: grave
 
 When trying to add a task I get this message:
 
 warning: no database found above this directory
 
 When trying to add it again or trying to save it the message looks like
 this:
 
 Database ./.tdldb appears to be locked by (pid,node,user)=(9707,thor,rjc)
 
 This makes the program completely unusable.
 
 It also would be a better idea to create the lock file in the home
 directory instead of the current one.
 
 Regards,
 rjc


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



Bug#406878: rinetd: manpage mistake about deny rules

2007-01-14 Thread Pedro Zorzenon Neto
Package: rinetd
Version: 0.62-5
Severity: normal

Hi,

  The manpage of rinetd has the following text:

 Deny rules which appear before the first forwarding rule are applied
 globally: if the address of a new connection satisfies any of the
 global **ALLOW** rules, that connection is immediately rejected,
 regardless of any other rules.

  I think there is a mistake, the **ALLOW** above should be changed to
deny.

  Thanks,
  Pedro

-- System Information:
Debian Release: 3.1
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-1-k7
Locale: LANG=pt_BR.UTF-8, LC_CTYPE=pt_BR.UTF-8 (charmap=UTF-8)

Versions of packages rinetd depends on:
ii  libc6 2.3.6-7GNU C Library: Shared libraries

rinetd recommends no packages.

-- no debconf information


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



Bug#399720: closed by Pedro Zorzenon Neto [EMAIL PROTECTED] (Bug#399720: fixed in tz-brasil 0.8)

2006-11-23 Thread Pedro Zorzenon Neto
Hi Fabio,

   I'll contact release manager and ask if tz-brasil 0.8 can be included
in next sarge update.

   In the meantime, you can install manually the package 0.8; is compatible
with sarge.

   To install it:
 wget 
http://ftp.de.debian.org/debian/pool/main/t/tz-brasil/tz-brasil_0.8_all.deb
 dpkg -i tz-brasil_0.8_all.deb

   []
   Pedro

On Thu, Nov 23, 2006 at 10:07:49AM -0200, Fabio Pugliese Ornellas wrote:
 Hello,
 
 Wont it be fixed in Debian Sarge? All my servers run Sarge, and all of them 
 suffered from the but. As I saw, version 0.8 will be in unstable only. I 
 think Debian comunity would be very happy if this is fixed in the Sarge and 
 do not have to wait until Etch release.
 
 []'s


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



Bug#398894: annoying cron messages when tz-brasil is uninstalled

2006-11-16 Thread Pedro Zorzenon Neto
Package: tz-brasil
Version: 0.7
Severity: normal

Reported by Christian Reis:
https://launchpad.net/distros/ubuntu/+source/tz-brasil/+bug/71991

When tz-brasil is uninstalled, the file /etc/cron.d/tz-brasil sends
regular error mails to root...

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-1-k7
Locale: LANG=pt_BR.UTF-8, LC_CTYPE=pt_BR.UTF-8 (charmap=UTF-8)

Versions of packages tz-brasil depends on:
ii  fping   2.4b2-to-ipv6-10 sends ICMP ECHO_REQUEST packets to
ii  wget1.9.1-12 retrieves files from the web

Versions of packages tz-brasil recommends:
ii  cron  3.0pl1-86  management of regular background p

-- no debconf information


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



Bug#282519: Timezone nomenclature

2006-11-15 Thread Pedro Zorzenon Neto
Hi,

  I decided to use BRT/BRST nomenclature for Brazilian timezones.
CAIS [1] had adopted the nomenclature BRST/BRDT from 2004/2005, but
changed back to BRT/BRST in 2005/2006 and 2006/2007.

  There is an explanation in [2]. This file will be uploaded with
tz-brasil 0.7 in the next days.

  Thanks
  Pedro

[1] http://www.rnp.br/cais/alertas/2004/cais-alr-05102004a.html
[1] http://www.rnp.br/cais/alertas/2005/cais-alr-20051006.html
[1] http://www.rnp.br/cais/alertas/2006/cais-alr-20061010.html
[2] http://people.debian.org/~pzn/tz-brasil/timezone.txt


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



Bug#232446: please add an option for minimum message size to fetch

2006-11-15 Thread Pedro Zorzenon Neto
Hi,

  I don't need the requested feature anymore. Do you think that this
feature will be useful for others users? If you don't please close the
bug.

  Thanks,
  Pedro


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



Bug#378104: kplato: task pessimistic time can not be more than 99%

2006-07-13 Thread Pedro Zorzenon Neto
Package: kplato
Version: 1:1.5.0-1
Severity: minor

  Hi,

In some tasks with big unpredictable time, I have to use pessimistic
times of 300%, however pessimistic input accepts only from 0 to 99%. Can
you correct this?

Thanks,
Pedro


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



Bug#361980: fetchmail: options 'limit' and 'fetchall' - add note in manpage

2006-04-11 Thread Pedro Zorzenon Neto
Package: fetchmail
Version: 6.2.5-12sarge4
Severity: minor

   Hi,

   In some POP3 servers I had a strange and intermittent problem with
fetchmail. It seems to be some race condition.

   If I use like this:

 fetchmail --limit 10
 fetchmail --limit 50
 fetchmail --limit 0

   (over slow links I can download smaller messages first)

   This sometimes has a side-effect. Sometimes (about 5 messages per
week) fetchmail thinks the message was already retrieved and skips; but
the message is new. I could not find a pattern about when this occours.

   I solved the problem adding the option '--all' to command line.

   I suggest to add to fetchmail manpage an explanation that if you use
'--limit' and sometimes a message is not retrieved, that you should try to
use '--all'; that will save a lot of debugging time from users.

   Thanks
   Pedro

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.8-2-k7
Locale: LANG=pt_BR.UTF-8, LC_CTYPE=pt_BR.UTF-8 (charmap=UTF-8)

Versions of packages fetchmail depends on:
ii  adduser   3.63   Add and remove users and groups
ii  base-files3.1.2  Debian base system miscellaneous f
ii  debconf   1.4.30.13  Debian configuration management sy
ii  debianutils   2.8.4  Miscellaneous utilities specific t
ii  libc6 2.3.5-13   GNU C Library: Shared libraries an
ii  libssl0.9.7   0.9.7e-3sarge1 SSL shared libraries

-- no debconf information


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



Bug#362006: amsn does not work anymore when using proxy

2006-04-11 Thread Pedro Zorzenon Neto
Package: amsn
Version: 0.95-2
Severity: important

  Hi,

  Since the last weekend, amsn does not login anymore when it is
configured for using a proxy.

  This makes it completly unusable for users without direct connection
to port 80.

  There is a post at Mon Apr 10, 2006 4:16 pm in the following address
that tells the lastest cvs version of amsn fixes this problem.
  
http://amsn.sourceforge.net/forums/viewtopic.php?t=748start=0postdays=0postorder=aschighlight=

  Thanks in advance,
  Pedro

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.8-2-k7
Locale: LANG=pt_BR.UTF-8, LC_CTYPE=pt_BR.UTF-8 (charmap=UTF-8)

Versions of packages amsn depends on:
ii  docker1.4-2  System tray for KDE3/GNOME2 dockle
ii  imlib11   1.9.14-29  Imlib is an imaging library for X 
ii  libpng12-01.2.8rel-1 PNG library - runtime
ii  python2.3.5-2An interactive high-level object-o
ii  sox   12.17.7-2  A universal sound sample translato
ii  tcl8.48.4.9-1Tcl (the Tool Command Language) v8
ii  tcltls1.5.0-2The TLS OpenSSL extension to Tcl
ii  tk8.4 8.4.9-1Tk toolkit for Tcl and X11, v8.4 -

-- no debconf information


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



Bug#358022: phpbb2: links posted by users are not properly handled

2006-03-21 Thread Pedro Zorzenon Neto
On Mon, Mar 20, 2006 at 11:44:13PM +0100, Jeroen van Wolffelaar wrote:
 
 I'm inclined to say it is not a bug. If you want to write a bare URL
 without [url=] tag etc, you need to have some way to know where the URL
 ends. Supose you write You can look at foo (http://foo/bar). Here the
 ')' is *not* part of the URL.
 
 --Jeroen
 
 -- 
 Jeroen van Wolffelaar
 [EMAIL PROTECTED] (also for Jabber  MSN; ICQ: 33944357)
 http://Jeroen.A-Eskwadraat.nl

Hi Jeroen,

  I agree with you, I should be using [url=...] tag.
  
  I had to post a message with lots of maps.google.com address and all
of them have '(' and ')' in the URL. But not stopping at ')' will
confuse many users.

  Thijs Kinkhorst commented that he agreed that ')' should be recognized
as part of the URL.

  I don't think anymore that it should be recognized as part of the URL
when http:// is detected automatically (without [url=...]).

  What do you think Thijs?

  Thanks,
  Pedro


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



Bug#358022: phpbb2: links posted by users are not properly handled

2006-03-20 Thread Pedro Zorzenon Neto
Package: phpbb2
Severity: normal

  Hi,

 I use a Debian phpbb2 server (I don't know the version of the
package) and it has a bug.

 When inside a message I post a url with the parentesis symbol, it
does this:

 Example of link posted in the message:
   http://www.example.com/test.cgi?a=abcb=12(345)678

 When the user views the topic, it sould have a link like this:
   a href=http://www.example.com/test.cgi?a=abcb=12(345)678 ...

 However, the link is like this:
   a href=http://www.example.com/test.cgi?a=abcb=12; ...

 Thanks,
 Pedro


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



Bug#287018: apache-common: postinst should fix permissions and ownership of mod-bandwidth directory

2006-01-29 Thread Pedro Zorzenon Neto
Package: apache-common
Version: 1.3.33-6sarge1
Followup-For: Bug #287018
Tags: security

  Hi,

New versions of apache-common (1.3.33-6sarge1) already create the
directory /var/lib/apache/mod-bandwidth with NOT world writeable
permissions; so no problems with newer debian installations.

However, if the user updates from previous version package, it will
not fix the permissions.

The user can successfully attack the machine filling all the hard
disk partition of /var; it will probably be a local denial of service
attack. I'm tagging security this bug. Please check if the severity
needs to be changed to grave/critical.

I suggest postinst to fix this permissions. I tested this issue
and at least one debian server is vulnerable too; I wrote data to
/var/lib/apache/mod-bandwidth/ directory successfully.

Thanks in advance,
Pedro

-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.8-2-k7
Locale: LANG=pt_BR.UTF-8, LC_CTYPE=pt_BR.UTF-8 (charmap=UTF-8)

Versions of packages apache-common depends on:
ii  apache2-utils   2.0.54-5 utility programs for webservers
ii  debconf 1.4.30.13Debian configuration management sy
ii  dillo [www-browser] 0.8.3-1  GTK-based web browser
ii  elinks [www-browser 0.10.4-7 advanced text-mode WWW browser
ii  galeon [www-browser 1.3.20-1 GNOME web browser for advanced use
ii  konqueror [www-brow 4:3.3.2-1sarge1  KDE's advanced File Manager, Web B
ii  libc6   2.3.2.ds1-22 GNU C Library: Shared libraries an
ii  libdb4.24.2.52-18Berkeley v4.2 Database Libraries [
ii  libexpat1   1.95.8-3 XML parsing C library - runtime li
ii  links [www-browser] 0.99+1.00pre12-1 Character mode WWW browser
ii  lynx [www-browser]  2.8.5-2sarge1Text-mode WWW Browser
ii  mime-support3.28-1   MIME files 'mime.types'  'mailcap
ii  mozilla-browser [ww 2:1.7.8-1sarge3  The Mozilla Internet application s
hi  mozilla-firefox [ww 1.0.4-2sarge3lightweight web browser based on M
ii  perl5.8.4-8  Larry Wall's Practical Extraction 
ii  sed 4.1.2-8  The GNU sed stream editor
ii  ucf 1.17 Update Configuration File: preserv
ii  w3-el-e21 [www-brow 4.0pre.2001.10.27-16 Web browser for GNU Emacs 21
ii  w3m [www-browser]   0.5.1-3  WWW browsable pager with excellent

-- debconf information excluded


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



Bug#345076: mixer_applet: should have an option for not restoring volume settings

2005-12-28 Thread Pedro Zorzenon Neto
Package: gnome-applets
Version: 2.8.2-3
Severity: minor

Hi,

  I use a server with X11-XDMCP that has other 6 users. Everytime an
user logs in gnome (gdm) its session starts and mixer_applet2 changes
the audio volume. This annoy other users... I think the mixer should
have an option to not change volume when it starts. This option could
be system wide, so it affects all users.

  Thanks in advance,
  Pedro

-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.8-2-k7
Locale: LANG=pt_BR.UTF-8, LC_CTYPE=pt_BR.UTF-8 (charmap=UTF-8)

Versions of packages gnome-applets depends on:
ii  gnome-applets-data 2.8.2-3   Various applets for GNOME 2 panel 
ii  gnome-panel2.8.3-1   launcher and docking facility for 
ii  gstreamer0.8-oss [ 0.8.8-2   OSS plugin for GStreamer
ii  libapm13.2.2-3   Library for interacting with APM d
ii  libart-2.0-2   2.3.17-1  Library of functions for 2D graphi
ii  libatk1.0-01.8.0-4   The ATK accessibility toolkit
ii  libbonobo2-0   2.8.1-2   Bonobo CORBA interfaces library
ii  libbonoboui2-0 2.8.1-2   The Bonobo UI library
ii  libc6  2.3.2.ds1-22  GNU C Library: Shared libraries an
ii  libgail-common 1.8.4-1   GNOME Accessibility Implementation
ii  libgail17  1.8.4-1   GNOME Accessibility Implementation
ii  libgconf2-42.8.1-6   GNOME configuration database syste
ii  libgcrypt111.2.0-11.1LGPL Crypto library - runtime libr
ii  libglade2-01:2.4.2-2 library to load .glade files at ru
ii  libglib2.0-0   2.6.4-1   The GLib library of C routines
ii  libgnome2-02.8.1-2   The GNOME 2 library - runtime file
ii  libgnomecanvas2-0  2.8.0-1   A powerful object-oriented display
ii  libgnomeui-0   2.8.1-3   The GNOME 2 libraries (User Interf
ii  libgnomevfs2-0 2.8.4-4   The GNOME virtual file-system libr
ii  libgnutls111.0.16-13.1   GNU TLS library - runtime library
ii  libgstreamer-plugi 0.8.8-2   Various GStreamer libraries and li
ii  libgstreamer0.8-0  0.8.9-2   Core GStreamer libraries, plugins,
ii  libgtk2.0-02.6.4-3.1 The GTK+ graphical user interface 
ii  libgtop2-2 2.6.0-4   Libraries for gtop system monitori
ii  libice64.3.0.dfsg.1-14sarge1 Inter-Client Exchange library
ii  liborbit2  1:2.12.2-1libraries for ORBit2 - a CORBA ORB
ii  libpanel-applet2-0 2.8.3-1   library for GNOME 2 panel applets
ii  libpango1.0-0  1.8.1-1   Layout and rendering of internatio
ii  libpopt0   1.7-5 lib for parsing cmdline parameters
ii  libsm6 4.3.0.dfsg.1-14sarge1 X Window System Session Management
ii  libx11-6   4.3.0.dfsg.1-14sarge1 X Window System protocol client li
ii  libxklavier8   1.03-1X Keyboard Extension high-level AP
ii  libxml22.6.16-7  GNOME XML library
ii  xlibs  4.3.0.dfsg.1-14sarge1 X Keyboard Extension (XKB) configu
ii  zlib1g 1:1.2.2-4.sarge.2 compression library - runtime

-- no debconf information


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



Bug#329627: www.debian.org: changelogs missing for mozilla-firefox

2005-11-08 Thread Pedro Zorzenon Neto
Package: www.debian.org
Followup-For: Bug #329627

Hi,

  Changelogs are also missing for mozilla-firefox
  The page http://packages.debian.org/stable/web/mozilla-firefox
  Has a link to an 404 not-found page:

http://packages.debian.org/changelogs/pool/main/m/mozilla-firefox/mozilla-firefox_1.0.4-2sarge5/changelog

  Thanks,
  Pedro

-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.8-2-k7
Locale: LANG=pt_BR.UTF-8, LC_CTYPE=pt_BR.UTF-8 (charmap=UTF-8)


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



Bug#336299: xcdroast: support compressed iso images

2005-10-29 Thread Pedro Zorzenon Neto
Package: xcdroast
Version: 0.98+0alpha15-1.1
Severity: wishlist

Hi,

  I'd like that xcdroast be able to uncompress images automatically. If
I have an image.iso.gz ou image.iso.bz2 it could show in images list
and uncompress as it is recorded to cd.

  Thanks,
  Pedro


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



Bug#327232: documentation: instructions for configuring exim

2005-09-08 Thread Pedro Zorzenon Neto
Package: rt3.4-clients
Version: 3.4.1-2
Severity: wishlist

  Hi,

  Please add the following information for configuration of RT + exim4
in /usr/share/doc/rt3.4-clients/README.Debian (please write it better
since I'm not a native english speaker)

  Thanks,
   Pedro
   

  To configure RT + exim4, do this:

append the following two lines to /etc/aliases:
  rt: |/usr/bin/rt-mailgate --queue General --action correspond --url URL
  rt-comment: |/usr/bin/rt-mailgate --queue Geral --action comment --url URL

now, there are two options
  1- (using exim splitted config)
  2- (using exim not-splitted config)

for (1) do this - create a file:
  echo SYSTEM_ALIASES_PIPE_TRANSPORT = address_pipe  
/etc/exim4/conf.d/main/90_exim4-config_requesttracker

for (2) do this:
  edit the file /etc/exim4/exim4.conf.template and find the line begin acl
  before this line, add a line with:
SYSTEM_ALIASES_PIPE_TRANSPORT = address_pipe

after (1) or (2), do this:
  /usr/sbin/update-exim4.conf
  /etc/init.d/exim4 reload

done! RT should work with exim4


-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.8-2-k7
Locale: LANG=pt_BR.UTF-8, LC_CTYPE=pt_BR.UTF-8 (charmap=UTF-8)

Versions of packages rt3.4-clients depends on:
ii  exim4 4.50-8 metapackage to ease exim MTA (v4) 
ii  exim4-daemon-light [mail-tran 4.50-8 lightweight exim MTA (v4) daemon
ii  libhtml-format-perl   2.04-1 Format HTML syntax trees
ii  libhtml-tree-perl 3.18-1 represent and create HTML syntax t
ii  libwww-perl   5.803-4WWW client/server library for Perl
ii  perl  5.8.4-8Larry Wall's Practical Extraction 

-- no debconf information


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



Bug#320433: perl-suid: package description about deprecated perl-suid could tell more information

2005-07-29 Thread Pedro Zorzenon Neto
Package: perl-suid
Severity: wishlist

  Hi,

  perl-suid package description says:
 Usage of this program is now strongly deprecated upstream and support
 (along with this package) will probably be removed in 5.10.

  I need to run a perl script as root, but don't know what to use
instead of perl-suid (I don't want to use a deprecated feature that will
be removed). Please add some information in description telling the user
what should be used instead of perl-suid, or a link to some URL
explaining why perl-suid is deprecated and which are the alternatives.

  Thanks,
Pedro

-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.8-2-k7
Locale: LANG=pt_BR.UTF-8, LC_CTYPE=pt_BR.UTF-8 (charmap=UTF-8)

Versions of packages perl-suid depends on:
ii  libc6   2.3.2.ds1-22 GNU C Library: Shared libraries an
ii  libperl5.8  5.8.4-8  Shared Perl library
ii  perl5.8.4-8  Larry Wall's Practical Extraction 


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



Bug#317917: mozilla-thunderbird: message filter could allow resending to another person

2005-07-12 Thread Pedro Zorzenon Neto
Package: mozilla-thunderbird
Version: 1.0.2-2
Severity: wishlist

  Hi,

  In thunderbird, in message filter configuration, I can not request for
a message matching a specific subject to be resent/forwarded to another
email address. Can you add this feature?

  Thanks,
  Pedro

-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.8-2-k7
Locale: LANG=pt_BR, LC_CTYPE=pt_BR (charmap=ISO-8859-1)

Versions of packages mozilla-thunderbird depends on:
ii  libatk1.0-0  1.8.0-4 The ATK accessibility toolkit
ii  libc62.3.2.ds1-22GNU C Library: Shared libraries an
ii  libfontconfig1   2.3.1-2 generic font configuration library
ii  libfreetype6 2.1.7-2.4   FreeType 2 font engine, shared lib
ii  libgcc1  1:3.4.3-13  GCC support library
ii  libglib2.0-0 2.6.4-1 The GLib library of C routines
ii  libgtk2.0-0  2.6.4-3 The GTK+ graphical user interface 
ii  libpango1.0-01.8.1-1 Layout and rendering of internatio
ii  libstdc++5   1:3.3.5-13  The GNU Standard C++ Library v3
ii  libx11-6 4.3.0.dfsg.1-14 X Window System protocol client li
ii  libxext6 4.3.0.dfsg.1-14 X Window System miscellaneous exte
ii  libxft2  2.1.7-1 FreeType-based font drawing librar
ii  libxp6   4.3.0.dfsg.1-14 X Window System printing extension
ii  libxrender1  0.8.3-7 X Rendering Extension client libra
ii  libxt6   4.3.0.dfsg.1-14 X Toolkit Intrinsics
ii  xlibs4.3.0.dfsg.1-14 X Keyboard Extension (XKB) configu
ii  zlib1g   1:1.2.2-4   compression library - runtime

-- debconf information excluded


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



Bug#317939: mozilla-firefox: javascript interprets history.back() in two different ways

2005-07-12 Thread Pedro Zorzenon Neto
Package: mozilla-firefox
Version: 1.0.4-2
Severity: minor

  Hi, firefox has two different behaviours of history.back() javascript
function. I think this function should work all the times the same way.
The current way seems to be not consistent.

  Description of the bug:
  
  Supose I filled in a form in a html page.

  After filling the form, the next loaded page has a link:
a href=# onclick=history.back(); return false;
  If I click it, it will return to the form with all data FILLED as
before. That is the behaviour that I think is correct.

  Another situation:
  After filling the form, the next loaded page has the body:
body onload=history.back()
  After loading, it goes back to the form with all data RESET.

  Thanks,
   Pedro

-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.8-2-k7
Locale: LANG=pt_BR, LC_CTYPE=pt_BR (charmap=ISO-8859-1)

Versions of packages mozilla-firefox depends on:
ii  debianutils  2.8.4   Miscellaneous utilities specific t
ii  fontconfig   2.3.1-2 generic font configuration library
ii  libatk1.0-0  1.8.0-4 The ATK accessibility toolkit
ii  libc62.3.2.ds1-22GNU C Library: Shared libraries an
ii  libfontconfig1   2.3.1-2 generic font configuration library
ii  libfreetype6 2.1.7-2.4   FreeType 2 font engine, shared lib
ii  libgcc1  1:3.4.3-13  GCC support library
ii  libglib2.0-0 2.6.4-1 The GLib library of C routines
ii  libgtk2.0-0  2.6.4-3 The GTK+ graphical user interface 
ii  libidl0  0.8.5-1 library for parsing CORBA IDL file
ii  libjpeg626b-10   The Independent JPEG Group's JPEG 
ii  libkrb53 1.3.6-2 MIT Kerberos runtime libraries
ii  libpango1.0-01.8.1-1 Layout and rendering of internatio
ii  libpng12-0   1.2.8rel-1  PNG library - runtime
ii  libstdc++5   1:3.3.5-13  The GNU Standard C++ Library v3
ii  libx11-6 4.3.0.dfsg.1-14 X Window System protocol client li
ii  libxext6 4.3.0.dfsg.1-14 X Window System miscellaneous exte
ii  libxft2  2.1.7-1 FreeType-based font drawing librar
ii  libxp6   4.3.0.dfsg.1-14 X Window System printing extension
ii  libxt6   4.3.0.dfsg.1-14 X Toolkit Intrinsics
ii  psmisc   21.5-1  Utilities that use the proc filesy
ii  xlibs4.3.0.dfsg.1-14 X Keyboard Extension (XKB) configu
ii  zlib1g   1:1.2.2-4   compression library - runtime

-- no debconf information


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



Bug#317917: mozilla-thunderbird: message filter could allow resending to another person

2005-07-12 Thread Pedro Zorzenon Neto
On Tue, Jul 12, 2005 at 05:37:13PM +0200, Alexander Sack wrote:
 Pedro Zorzenon Neto wrote:
  Package: mozilla-thunderbird
  Version: 1.0.2-2
  Severity: wishlist
  
Hi,
  
In thunderbird, in message filter configuration, I can not request for
  a message matching a specific subject to be resent/forwarded to another
  email address. Can you add this feature?
  
 
 No, please go upstream (e.g. forums.mozillazine.org and bugzilla.mozilla.org)
 and fight for your idea. I only deal with debian specific wishlist bugs 
 issues.
 
 Please attach any bug (url) you post in bugzilla to this bug-report too ... so
 we can document this whole issue. If you don't want to document your stuff 
 here,
 I guess it would be a best to close this bug, since I won't implement any new
 thunderbird features.
 
 Sorry and thanks,

Hi Alexander,

  As you told me, I registered the bug.

  The upstream URL to track this feature request is:
http://bugzilla.mozilla.org/show_bug.cgi?id=300502
  
  Thanks,
   Pedro


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



Bug#315585: moinmoin-common: Please include Brazilian Flag in Icons

2005-06-23 Thread Pedro Zorzenon Neto
Package: moinmoin-common
Version: 1.3.4-3
Severity: wishlist
Tags: patch

  Hi,

 Moinmoin comes with some flags in icons directory. Please add
flag-br.png (it is attached) to it.

 Thanks,
  Pedro

-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.8-2-k7
Locale: LANG=pt_BR, LC_CTYPE=pt_BR (charmap=ISO-8859-1)

-- no debconf information


flag-br.png
Description: PNG image


Bug#312232: gimp: default paper size could be imported from system

2005-06-06 Thread Pedro Zorzenon Neto
Package: gimp
Version: 2.2.6-1
Severity: wishlist

Hi,

  I have gimp already installed. When I create a new user with
adduser, it has the default print paper in Gimp as letter. However,
/etc/papersize is a4.

  I also did not find anywhere in /etc/gimp/ to set the default print
paper size for newly created users.

  Can you implement this? I prefer the /etc/gimp solution. The root
user could set the default printer and default paper size for all users.

  Thanks,
Pedro

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.8-2-k7
Locale: LANG=pt_BR, LC_CTYPE=pt_BR (charmap=ISO-8859-1)

Versions of packages gimp depends on:
ii  aalib1   1.4p5-22ascii art library
ii  gimp-data2.2.6-1 Data files for The GIMP
ii  libart-2.0-2 2.3.17-1Library of functions for 2D graphi
ii  libatk1.0-0  1.8.0-4 The ATK accessibility toolkit
ii  libc62.3.2.ds1-22GNU C Library: Shared libraries an
ii  libexif100.6.9-6 library to parse EXIF files
ii  libexpat11.95.8-3XML parsing C library - runtime li
ii  libfontconfig1   2.3.1-2 generic font configuration library
ii  libfreetype6 2.1.7-2.4   FreeType 2 font engine, shared lib
ii  libgimp2.0   2.2.6-1 Libraries necessary to run the GIM
ii  libgimpprint14.2.7-10The Gimp-Print printer driver libr
ii  libglib2.0-0 2.6.4-1 The GLib library of C routines
ii  libgtk2.0-0  2.6.4-3 The GTK+ graphical user interface 
ii  libice6  4.3.0.dfsg.1-14 Inter-Client Exchange library
ii  libjpeg626b-10   The Independent JPEG Group's JPEG 
ii  liblcms1 1.13-1  Color management library
ii  libmng1  1.0.8-1 Multiple-image Network Graphics li
ii  libpango1.0-01.8.1-1 Layout and rendering of internatio
ii  libpng12-0   1.2.8rel-1  PNG library - runtime
ii  libsm6   4.3.0.dfsg.1-14 X Window System Session Management
ii  libtiff4 3.7.2-3 Tag Image File Format (TIFF) libra
ii  libwmf0.2-7  0.2.8.3-2   Windows metafile conversion librar
ii  libx11-6 4.3.0.dfsg.1-14 X Window System protocol client li
ii  libxmu6  4.3.0.dfsg.1-14 X Window System miscellaneous util
ii  libxpm4  4.3.0.dfsg.1-14 X pixmap library
ii  libxt6   4.3.0.dfsg.1-14 X Toolkit Intrinsics
ii  wget 1.9.1-12retrieves files from the web
ii  xlibs4.3.0.dfsg.1-14 X Keyboard Extension (XKB) configu
ii  zlib1g   1:1.2.2-4   compression library - runtime

-- no debconf information


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



Bug#311067: slocate could ask in which cron.[daily,weekly,monthly] you want to install it

2005-05-28 Thread Pedro Zorzenon Neto
Package: slocate
Version: 2.7-4
Severity: wishlist

Hi,

  I'd like that slocate in its instalation, using debconf, could ask
which timebase it should run. Based on your answer, it would install
under /etc/cron.daily, cron.weekly or cron.monthly.

  Thanks,
Pedro

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.8-2-k7
Locale: LANG=pt_BR, LC_CTYPE=pt_BR (charmap=ISO-8859-1)

Versions of packages slocate depends on:
ii  adduser 3.63 Add and remove users and groups
ii  dpkg1.10.27  Package maintenance system for Deb
ii  libc6   2.3.2.ds1-22 GNU C Library: Shared libraries an

-- no debconf information


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



Bug#307642: xchat: typo in portuguese translation

2005-05-04 Thread Pedro Zorzenon Neto
Package: xchat
Version: 2.4.1-0.1
Severity: minor

Hi,

  When I use xchat with LC_ALL=pt_BR, the translation for tcp port is
porto 6667, the correct translation in portuguese is porta instead
of porto.

  Thanks,
Pedro

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.8-2-k7
Locale: LANG=pt_BR, LC_CTYPE=pt_BR (charmap=ISO-8859-1)

Versions of packages xchat depends on:
ii  libatk1.0-0  1.8.0-4 The ATK accessibility toolkit
ii  libc62.3.2.ds1-20GNU C Library: Shared libraries an
ii  libglib2.0-0 2.6.4-1 The GLib library of C routines
ii  libgtk2.0-0  2.6.4-1 The GTK+ graphical user interface 
ii  libpango1.0-01.8.1-1 Layout and rendering of internatio
ii  libperl5.8   5.8.4-8 Shared Perl library
ii  libssl0.9.7  0.9.7e-3SSL shared libraries
ii  libx11-6 4.3.0.dfsg.1-12.0.1 X Window System protocol client li
ii  python2.32.3.5-1 An interactive high-level object-o
ii  tcl8.4   8.4.9-1 Tcl (the Tool Command Language) v8
ii  xchat-common 2.4.1-0.1   Common files for X-Chat
ii  xlibs4.3.0.dfsg.1-12 X Keyboard Extension (XKB) configu

-- no debconf information


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



Bug#301271: dia: output file format xmlns is not up to date

2005-03-24 Thread Pedro Zorzenon Neto
Package: dia
Version: 0.94.0-7
Severity: minor

Hi,

  test.dia is a file generated by dia.

bash$ zcat test.dia
?xml version=1.0 encoding=UTF-8?
dia:diagram xmlns:dia=http://www.lysator.liu.se/~alla/dia/;
  dia:diagramdata
dia:attribute name=background


  The link to http://www.lysator.liu.se/~alla/dia/ is obsolete.
Please update it.

  Thanks,
Pedro

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.8-2-k7
Locale: LANG=pt_BR, LC_CTYPE=pt_BR (charmap=ISO-8859-1)

Versions of packages dia depends on:
ii  dia-common  0.94.0-7 Diagram editor (common files)
ii  dia-libs0.94.0-7 Diagram editor (library files)
ii  libart-2.0-22.3.17-1 Library of functions for 2D graphi
ii  libatk1.0-0 1.8.0-4  The ATK accessibility toolkit
ii  libc6   2.3.2.ds1-20 GNU C Library: Shared libraries an
ii  libfreetype62.1.7-2.3FreeType 2 font engine, shared lib
ii  libglib2.0-02.6.3-1  The GLib library of C routines
ii  libgtk2.0-0 2.6.2-4  The GTK+ graphical user interface 
ii  libpango1.0-0   1.8.1-1  Layout and rendering of internatio
ii  libpng12-0  1.2.8rel-1   PNG library - runtime
ii  libpopt01.7-5lib for parsing cmdline parameters
ii  libxml2 2.6.16-3 GNOME XML library
ii  zlib1g  1:1.2.2-3compression library - runtime

-- no debconf information


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



Bug#300750: mozilla-thunderbird: default mail headers should also show resent-from and resent-date

2005-03-21 Thread Pedro Zorzenon Neto
Package: mozilla-thunderbird
Version: 1.0-3
Severity: wishlist

Hi,

  mozilla-thunderbird shows by default this headers:
 Subject, From, Date and To
  Please add this two headers to be showed by default:
 Resent-from and Resent-date

  Thanks,
Pedro


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



Bug#297960: moin does not work with tkiwidraw in systems with CR+LF

2005-03-03 Thread Pedro Zorzenon Neto
Package: moin
Severity: minor
Tags: patch

  Hi,

When using moin with twikidraw, if drawing is edited in a system
with CR+LF line terminator, drawing gets corrupted due to CRs, so they
need to be stripped from input. Please apply the following patch:

--- usr/lib/python2.3/site-packages/MoinMoin/action/AttachFile.py.orig  
2005-03-03 15:16:42.0 -0300
+++ usr/lib/python2.3/site-packages/MoinMoin/action/AttachFile.py   
2005-03-03 15:17:22.0 -0300
@@ -488,6 +488,7 @@
 
 if ext == '.draw':
 _addLogEntry(request, 'ATTDRW', pagename, basename + ext)
+filecontent = filecontent.replace(\r,)
 
 savepath = os.path.join(getAttachDir(pagename), basename + ext)
 if ext == '.map' and filecontent.strip()=='':


Thanks,
  Pedro

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i586)
Kernel: Linux 2.6.8-2-386
Locale: LANG=pt_BR, LC_CTYPE=pt_BR (charmap=ISO-8859-1)

Versions of packages moin depends on:
ii  python2.3.4-5An interactive high-level object-o


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



Bug#297611: dillo: could show line numbers in source

2005-03-01 Thread Pedro Zorzenon Neto
Package: dillo
Version: 0.8.3-1
Severity: wishlist

Hi Phil,

  Dillo View Page Bugs show bugs indicating a line number. Showing
also the line numbers in View Page Source will be better for detecting
the errors. Alternatively, the user could choose between showing page
source with or without line numbers. Please add support for showing line
numbers in View Page Source.

  Thanks,
Pedro

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i586)
Kernel: Linux 2.6.8-2-386
Locale: LANG=pt_BR, LC_CTYPE=pt_BR (charmap=ISO-8859-1)

Versions of packages dillo depends on:
ii  libc62.3.2.ds1-20GNU C Library: Shared libraries an
ii  libglib1.2   1.2.10-9The GLib library of C routines
ii  libgtk1.21.2.10-17   The GIMP Toolkit set of widgets fo
ii  libjpeg626b-9The Independent JPEG Group's JPEG 
ii  libpng10-0   1.0.18-1PNG library, older version - runti
ii  libssl0.9.7  0.9.7e-2SSL shared libraries
ii  libx11-6 4.3.0.dfsg.1-10 X Window System protocol client li
ii  libxext6 4.3.0.dfsg.1-10 X Window System miscellaneous exte
ii  libxi6   4.3.0.dfsg.1-10 X Window System Input extension li
ii  xlibs4.3.0.dfsg.1-10 X Keyboard Extension (XKB) configu
ii  zlib1g   1:1.2.2-3   compression library - runtime

-- no debconf information


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



Bug#296942: gnucash: interest rate per month

2005-02-25 Thread Pedro Zorzenon Neto
Package: gnucash
Version: 1.8.9-4
Severity: wishlist

Hi,

  There are several places that gnucash asks for interest rate,
example: tools - financial calculator.

  In Brazil, interest rates are always calculated per month, not per
year as gnucash calculates. Can you add a option to select if interest
rates as per year or per month?

  Thanks,
Pedro

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i586)
Kernel: Linux 2.6.8-2-386
Locale: LANG=pt_BR, LC_CTYPE=pt_BR (charmap=ISO-8859-1) (ignored: LC_ALL set to 
pt_BR)

Versions of packages gnucash depends on:
ii  bonobo   1.0.22-2.2  The GNOME Bonobo System.
ii  gdk-imlib1   1.9.14-16.2 imaging library for use with gtk (
ii  gnucash-common   1.8.9-4 A personal finance tracking progra
ii  guile-1.6-libs   1.6.7-1 Main Guile libraries
ii  guile-1.6-slib   1.6.7-1 Guile SLIB support
ii  libart2  1.4.2-19The GNOME canvas widget - runtime 
ii  libaudiofile00.2.6-5 Open-source version of SGI's audio
ii  libbonobo2   1.0.22-2.2  The GNOME Bonobo library.
ii  libc62.3.2.ds1-20GNU C Library: Shared libraries an
ii  libdate-manip-perl   5.42a-2 a perl library for manipulating da
ii  libdb3   3.2.9-20Berkeley v3 Database Libraries [ru
ii  libesd0  0.2.35-2Enlightened Sound Daemon - Shared 
ii  libfinance-quote-perl1.08-1  Perl module for retrieving stock q
ii  libfreetype6 2.1.7-2.3   FreeType 2 font engine, shared lib
ii  libgal23 0.24-1.4G App Libs (run time library)
ii  libgdk-pixbuf-gnome2 0.22.0-7The GNOME1 Canvas pixbuf library
ii  libgdk-pixbuf2   0.22.0-7The GdkPixBuf image library, gtk+ 
ii  libghttp11.0.9-15original GNOME HTTP client library
ii  libglade-gnome0  1:0.17-3Library to load .glade files at ru
ii  libglade01:0.17-3Library to load .glade files at ru
ii  libglib1.2   1.2.10-9The GLib library of C routines
ii  libgnome32   1.4.2-19The GNOME libraries
ii  libgnomeprint15  0.37-5  The GNOME Print architecture - run
ii  libgnomesupport0 1.4.2-19The GNOME libraries (Support libra
ii  libgnomeui32 1.4.2-19The GNOME libraries (User Interfac
ii  libgtk1.21.2.10-17   The GIMP Toolkit set of widgets fo
ii  libgtkhtml20 1.0.4-6.2   HTML rendering/editing library - r
ii  libguile-ltdl-1  1.6.7-1 Guile's patched version of libtool
ii  libguppi16   0.40.3-10   GNOME graph and plot component
ii  libgwrapguile1   1.3.4-12g-wrap: Tool for exporting C libra
ii  libice6  4.3.0.dfsg.1-10 Inter-Client Exchange library
ii  libltdl3 1.5.6-3 A system independent dlopen wrappe
ii  liboaf0  0.6.10-3The GNOME Object Activation Framew
ii  libofx0c102  0.6.6-2.1   library to support Open Financial 
ii  liborbit00.5.17-9Libraries for ORBit - a CORBA ORB
ii  libpopt0 1.7-5   lib for parsing cmdline parameters
ii  libqthreads-12   1.6.7-1 QuickThreads library for Guile
ii  libsm6   4.3.0.dfsg.1-10 X Window System Session Management
ii  libstdc++5   1:3.3.5-5   The GNU Standard C++ Library v3
ii  libx11-6 4.3.0.dfsg.1-10 X Window System protocol client li
ii  libxext6 4.3.0.dfsg.1-10 X Window System miscellaneous exte
ii  libxi6   4.3.0.dfsg.1-10 X Window System Input extension li
ii  libxml1  1:1.8.17-10 GNOME XML library
ii  libzvt2  1.4.2-19The GNOME zvt (zterm) widget
ii  oaf  0.6.10-3The GNOME Object Activation Framew
ii  slib 3a1-4.2 Portable Scheme library
ii  xlibs4.3.0.dfsg.1-10 X Keyboard Extension (XKB) configu
ii  zlib1g   1:1.2.2-3   compression library - runtime

-- no debconf information


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



Bug#296276: udev: dev/usb/lp* with wrong permissions

2005-02-21 Thread Pedro Zorzenon Neto
Package: udev
Version: 0.053-1
Severity: normal
Tags: patch

Hi,

  My printer was not working, after editing /etc/udev/udev.rules it
worked ok. It is been the first time I use udev, so check my patch for
errors...

  Thanks,
Pedro

--- udev.rules.orig 2005-02-21 10:57:09.0 -0300
+++ udev.rules  2005-02-21 10:57:26.0 -0300
@@ -86,7 +86,7 @@
 
 # printers and parallel devices
 SUBSYSTEM=printer,   GROUP=lp
-BUS=usb, KERNEL=lp[0-9]*, NAME=usb/%k
+BUS=usb, KERNEL=lp[0-9]*, NAME=usb/%k, GROUP=lp
 KERNEL=pt[0-9]*, GROUP=tape
 KERNEL=pht[0-9]*,GROUP=tape
 

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i586)
Kernel: Linux 2.6.8-2-k7
Locale: LANG=pt_BR, LC_CTYPE=pt_BR (charmap=ISO-8859-1) (ignored: LC_ALL set to 
pt_BR)

Versions of packages udev depends on:
ii  debconf [debconf-2.0]   1.4.30.11Debian configuration management sy
pn  hotplug  Not found.
ii  initscripts 2.86.ds1-1   Standard scripts needed for bootin
ii  libc6   2.3.2.ds1-20 GNU C Library: Shared libraries an
ii  makedev 2.3.1-75 Creates device files in /dev


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



Bug#295403: mounting read-only modifies data on disk

2005-02-15 Thread Pedro Zorzenon Neto
Package: mount
Version: 2.12-10
Severity: wishlist

Hi,

  I intend to mount some partitions read-only, and check /dev/hdXX
md5sum periodically as a security check.

  However mount -o ro increments the ext3 mount count. I think
mounting a filesystem read-only should not change any byte on disk.

  Can you correct this? If this breaks some software, you could add
an option -o rro, that means really-read-only.

  Thanks,
Pedro

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.8-1-686
Locale: LANG=C, LC_CTYPE=C (charmap=ISO-8859-1) (ignored: LC_ALL set to pt_BR)

Versions of packages mount depends on:
ii  libc6   2.3.2.ds1-20 GNU C Library: Shared libraries an

-- no debconf information


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



Bug#295271: xfig resolution seems to be wrong

2005-02-14 Thread Pedro Zorzenon Neto
Package: xfig
Version: 1:3.2.5-alpha5-3
Severity: minor

Hi,

  In usr/share/doc/xfig/FORMAT3.2.gz says that default xfig resolution
is 1200ppi, but if I use xfig and draw a box with coords (0,0) and
(10cm, 10cm), I can see in its output file:

2 2 0 1 0 7 50 -1 -1 0.000 0 0 -1 0 0 5
 0 0 4500 0 4500 4500 0 4500 0 0

  That is, box is in xfig points (0,0) (4500,4500). If it were 1200ppi,
it should be (0,0) and (4724,4724). It seems that Xfig is using a
resolution around 1140ppi instead of 1200.

  Can you check that?

  Thanks,
Pedro

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i586)
Kernel: Linux 2.6.8-2-386
Locale: LANG=pt_BR, LC_CTYPE=pt_BR (charmap=ISO-8859-1) (ignored: LC_ALL set to 
pt_BR)

Versions of packages xfig depends on:
ii  libc62.3.2.ds1-20GNU C Library: Shared libraries an
ii  libice6  4.3.0.dfsg.1-10 Inter-Client Exchange library
ii  libjpeg626b-9The Independent JPEG Group's JPEG 
ii  libpng12-0   1.2.8rel-1  PNG library - runtime
ii  libsm6   4.3.0.dfsg.1-10 X Window System Session Management
ii  libx11-6 4.3.0.dfsg.1-10 X Window System protocol client li
ii  libxext6 4.3.0.dfsg.1-10 X Window System miscellaneous exte
ii  libxi6   4.3.0.dfsg.1-10 X Window System Input extension li
ii  libxmu6  4.3.0.dfsg.1-10 X Window System miscellaneous util
ii  libxpm4  4.3.0.dfsg.1-10 X pixmap library
ii  libxt6   4.3.0.dfsg.1-10 X Toolkit Intrinsics
ii  xaw3dg   1.5+E-8 Xaw3d widget set
ii  xlibs4.3.0.dfsg.1-10 X Keyboard Extension (XKB) configu
ii  zlib1g   1:1.2.2-3   compression library - runtime

-- no debconf information


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



Bug#293059: glade-2: option -w requires X11

2005-01-31 Thread Pedro Zorzenon Neto
Package: glade-2
Version: 2.6.8-1
Severity: minor

Hi,

   If I run glade-2 --write-source myfile.glade, it seems to require
an X11 display, but I think it shoudn't. If I am generating/compiling a
glade-2 project in a remote machine, I receive the following error:

(glade-2:6027): Gtk-WARNING **: cannot open display: 

   As a workaround, I need to export DISPLAY and authorize with xhost.
   
   Thanks,
 Pedro


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



Bug#293059: option --version also has the same bug

2005-01-31 Thread Pedro Zorzenon Neto
This bug also occours with option --version

$ export DISPLAY=mymachine:0.0
$ glade-2 --version
GTK Accessibility Module initialized
Glade (GTK+) 2.6.8

$ export DISPLAY=unknown:0.0
$ glade-2 --version
_X11TransSocketINETConnect: Can't get address for unknown
(glade-2:6959): Gtk-WARNING **: cannot open display:  


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



Bug#291560: Doesn't work behind a firewall

2005-01-21 Thread Pedro Zorzenon Neto
Hi,

Problem solved in tz-brasil 0.4, which is already in UploadQueue.

In the instalation procedure, the problem was solved.

When the package is run by cron, if you have the same firewall
conditions as Daniel, edit /etc/tz-brasil.conf, see ASSUME_PING_OK
configuration.

On Fri, Jan 21, 2005 at 12:29:32PM -0200, Daniel Serodio wrote:
 Package: tz-brasil
 Version: 0.3
 Severity: grave
 
 I'm behind a corporate firewall, and only have access to the web thru a 
 Microsoft ISA Server proxy. When I install tz-brasil, I get the 
 following error, making the package uninstallable (hence the grave 
 severity):


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



Bug#290906: coreutils: sort adds option '-f' automatically when LC_ALL=pt_BR

2005-01-17 Thread Pedro Zorzenon Neto
Package: coreutils
Version: 5.2.1-2
Severity: normal

  Hi,

  When LC_ALL=pt_BR, sort seems to work as sort -f always. So,
there is no way to turn off option -f. When LC_ALL=C it works as
expected. See examples below.

  Thanks,
   Pedro

$ export LC_ALL=C
$ echo -en i123\nI456\nj1\nh1\n | sort
I456
h1
i123
j1

$ echo -en i123\nI456\nj1\nh1\n | sort -f
h1
i123
I456
j1

$ export LC_ALL=pt_BR
$ echo -en i123\nI456\nj1\nh1\n | sort
h1
i123
I456
j1

$ echo -en i123\nI456\nj1\nh1\n | sort -f
h1
i123
I456
j1


-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i586)
Kernel: Linux 2.6.8-1-386
Locale: LANG=pt_BR, LC_CTYPE=pt_BR (charmap=ISO-8859-1) (ignored: LC_ALL set to 
pt_BR)

Versions of packages coreutils depends on:
ii  libacl1 2.2.23-1 Access control list shared library
ii  libc6   2.3.2.ds1-20 GNU C Library: Shared libraries an

-- no debconf information


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



Bug#290928: txt2tags: add tag for multiline comments

2005-01-17 Thread Pedro Zorzenon Neto
Package: txt2tags
Version: 2.0-1
Severity: wishlist

Hi,

  I'd like txt2tags to support multiline comments. It could have a tag
for begin and another for ending multiline comments. I suggest %%%*
and *%%%, so multiline comments could be as follows:

% this is a single line comment
this is not a comment
%%%* this is a comment
this is also a comment
this is a comment too *%%% this is not a comment...

   Also, %%%* could be accepted only at begin of lines and *%%% could
be accepted only at end of lines, I mean parser would use regex:
'^%%%\*' and '\*%%%$' to detect begin/end of comments.

   Thanks,
 Pedro

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i586)
Kernel: Linux 2.6.8-1-386
Locale: LANG=pt_BR, LC_CTYPE=pt_BR (charmap=ISO-8859-1) (ignored: LC_ALL set to 
pt_BR)

Versions of packages txt2tags depends on:
ii  python2.3.4-5An interactive high-level object-o

-- no debconf information


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



Bug#290806: add an information about using doc/extras/txt2tags-mode.el

2005-01-16 Thread Pedro Zorzenon Neto
Package: txt2tags
Version: 2.0-1
Severity: wishlist
Tags: patch

Hi,

  Please add the attached file to /usr/share/doc/txt2tags/extras/
  I'm an emacs newbie... please check the attached file first. I tested
it in my computer only, and it seems to work.

  Thanks,
Pedro

$ dpkg -l emacs* | egrep '^ii' | cut -b 1-70
ii  emacs21 21.3+1-8The GNU Emacs editor
ii  emacs21-bin-common  21.3+1-8The GNU Emacs editor's sha
ii  emacs21-common  21.3+1-8The GNU Emacs editor's sha
ii  emacsen-common  1.4.15  Common facilities for all 

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i586)
Kernel: Linux 2.6.8-1-386
Locale: LANG=pt_BR, LC_CTYPE=pt_BR (charmap=ISO-8859-1) (ignored: LC_ALL set to 
pt_BR)

Versions of packages txt2tags depends on:
ii  python2.3.4-5An interactive high-level object-o

-- no debconf information
For installing t2t-mode in emacs, follow the steps below:

1 - copied the mode to site-lisp directory:

  zcat /usr/share/doc/txt2tags/extras/txt2tags-mode.el.gz  
/usr/local/share/emacs/site-lisp/t2t-mode.el

2 - created /etc/emacs/site-start.d/50t2t.el with the following content:

(setq auto-mode-alist
  (cons '(.*\\.t2t$ . t2t-mode) auto-mode-alist))
(autoload 't2t-mode t2t-mode mode for editing txt2tags files t)

3 - nothing else... :-)

Now if you execute emacs filename.t2t, it should open in t2t-mode.