Bug#643084: cutter-testing-framework: diff for NMU version 1.1.7-1.1

2012-02-27 Thread Stefano Rivera
tags 643084 + pending
thanks

> this probably needs more multiarchification, and I'd rather let the
> maintainer or someone with more MultiArch experience handle this.

No, I don't think so. Yes this binary package is now safe to be
Multi-Arch: same, but there's no point in doing so until the rest of the
packages it depends on are Multi-Arched, and that's outside the scope of
this NMU.

Dear maintainer,

I've prepared an NMU for cutter-testing-framework (versioned as 1.1.7-1.1) and
uploaded it to DELAYED/5. Please feel free to tell me if I
should delay it longer.

Regards.

SR
diff -Nru cutter-testing-framework-1.1.7/debian/changelog cutter-testing-framework-1.1.7/debian/changelog
--- cutter-testing-framework-1.1.7/debian/changelog	2011-02-14 10:08:30.0 +0200
+++ cutter-testing-framework-1.1.7/debian/changelog	2012-02-27 17:01:00.0 +0200
@@ -1,3 +1,20 @@
+cutter-testing-framework (1.1.7-1.1) unstable; urgency=low
+
+  [ gregor herrmann ]
+  * Non-maintainer upload.
+  * Fix "FTBFS: dpkg-buildpackage: error: dpkg-source -b cutter-testing-
+framework-1.1.7 gave error exit status 2": remove automatically created
+patch and remove the created files in debian/rules' clean target.
+(Closes: #643084)
+
+  [ Stefano Rivera ]
+  * Gstreamer plugins now install into a multi-arched location:
+- Update debian/gstreamer0.10-plugins-cutter.install to match.
+- B-D on gstreamer0.10 >= 0.10.35.2, which introduced this change.
+- Breaks libgstreamer0.10-0 << 0.10.35.2.
+
+ -- Stefano Rivera   Mon, 27 Feb 2012 16:19:45 +0200
+
 cutter-testing-framework (1.1.7-1) unstable; urgency=low
 
   * New upstream release.
diff -Nru cutter-testing-framework-1.1.7/debian/control cutter-testing-framework-1.1.7/debian/control
--- cutter-testing-framework-1.1.7/debian/control	2011-02-14 10:07:57.0 +0200
+++ cutter-testing-framework-1.1.7/debian/control	2012-02-27 17:41:58.0 +0200
@@ -2,7 +2,7 @@
 Section: devel
 Priority: extra
 Maintainer: NIIBE Yutaka 
-Build-Depends: debhelper (>= 7.0.50~), quilt (>= 0.46-7~), autotools-dev, intltool, libgtk2.0-dev, libgoffice-0.8-dev, libgstreamer0.10-dev, libsoup2.4-dev
+Build-Depends: debhelper (>= 7.0.50~), quilt (>= 0.46-7~), autotools-dev, intltool, libgtk2.0-dev, libgoffice-0.8-dev, libgstreamer0.10-dev (>= 0.10.35.2), libsoup2.4-dev
 Standards-Version: 3.9.1
 Homepage: http://cutter.sourceforge.net/
 
@@ -164,6 +164,7 @@
 Architecture: any
 Depends: ${misc:Depends}, ${shlibs:Depends},
 	 cutter-testing-framework-bin (= ${binary:Version})
+Breaks: libgstreamer0.10-0 (<< 0.10.35.2)
 Description: Cutter GStreamer plugin
  Cutter is a xUnit family Unit Testing Framework for C and C++.
  .
diff -Nru cutter-testing-framework-1.1.7/debian/gstreamer0.10-plugins-cutter.install cutter-testing-framework-1.1.7/debian/gstreamer0.10-plugins-cutter.install
--- cutter-testing-framework-1.1.7/debian/gstreamer0.10-plugins-cutter.install	2010-06-04 10:34:29.0 +0200
+++ cutter-testing-framework-1.1.7/debian/gstreamer0.10-plugins-cutter.install	2012-02-27 16:10:38.0 +0200
@@ -1 +1 @@
-/usr/lib/gstreamer-0.10/libgstcuttertest.so
+/usr/lib/*/gstreamer-0.10/libgstcuttertest.so
diff -Nru cutter-testing-framework-1.1.7/debian/libcutter-glib-dev.debhelper.log cutter-testing-framework-1.1.7/debian/libcutter-glib-dev.debhelper.log
--- cutter-testing-framework-1.1.7/debian/libcutter-glib-dev.debhelper.log	2010-06-04 10:52:42.0 +0200
+++ cutter-testing-framework-1.1.7/debian/libcutter-glib-dev.debhelper.log	1970-01-01 02:00:00.0 +0200
@@ -1,7 +0,0 @@
-dh_quilt_patch
-dh_auto_configure
-dh_auto_build
-dh_auto_test
-dh_prep
-dh_installdirs
-dh_auto_install
diff -Nru cutter-testing-framework-1.1.7/debian/libcutter-soup-dev.debhelper.log cutter-testing-framework-1.1.7/debian/libcutter-soup-dev.debhelper.log
--- cutter-testing-framework-1.1.7/debian/libcutter-soup-dev.debhelper.log	2010-06-04 10:52:42.0 +0200
+++ cutter-testing-framework-1.1.7/debian/libcutter-soup-dev.debhelper.log	1970-01-01 02:00:00.0 +0200
@@ -1,7 +0,0 @@
-dh_quilt_patch
-dh_auto_configure
-dh_auto_build
-dh_auto_test
-dh_prep
-dh_installdirs
-dh_auto_install
diff -Nru cutter-testing-framework-1.1.7/debian/patches/debian-changes-1.1.7-1 cutter-testing-framework-1.1.7/debian/patches/debian-changes-1.1.7-1
--- cutter-testing-framework-1.1.7/debian/patches/debian-changes-1.1.7-1	2011-02-14 10:08:32.0 +0200
+++ cutter-testing-framework-1.1.7/debian/patches/debian-changes-1.1.7-1	1970-01-01 02:00:00.0 +0200
@@ -1,715 +0,0 @@
-Description: Upstream changes introduced in version 1.1.7-1
- This patch has been created by dpkg-source during the package build.
- Here's the last changelog entry, hopefully it gives details on why
- those changes were made:
- .
- cutter-testing-framework (1.1.7-1) unstable; urgency=low
- .
-   * New upstream release.
- Fixed FTBFS (Clo

Bug#672363: beets: move documentation to a "beets-doc" package

2012-05-13 Thread Stefano Rivera
Hi Alessandro (2012.05.10_04:33:01_-0700)
> would it be possible to move all the documentation files to a new "beets-doc"
> package? It would let users (like me) avoid the installation of all the 
> libjs-*
> packages when not needed. The js packages needed for the "web" plugin could be
> also moved to Suggests (just like python-flask).

I'm not a fan of installing dangling symlinks. I'd probably want to
modify the web plugin to check that the js packages are installed before
it starts (and yes, the flask error could be improved too).

Are 3 tiny js packages really such a problem?

SR

-- 
Stefano Rivera
  http://tumbleweed.org.za/
  H: +27 21 465 6908 C: +27 72 419 8559  UCT: x3127



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



Bug#632133: avbin: diff for NMU version 7-1.2

2012-03-03 Thread Stefano Rivera
Hi, Cyril,

> any reasons not to upload it to unstable as-is? Should I?

Sure, I'm NMUing it. I delayed because I was unsure of the patch, but it
seems to have weathered well in Ubuntu :)

> (Assuming the patch still applies for libav 0.8)

It appears to.


Dear maintainer,

I've prepared an NMU for avbin (versioned as 7-1.2). The diff
is attached to this message.

Regards.

SR
diff -u avbin-7/debian/changelog avbin-7/debian/changelog
--- avbin-7/debian/changelog
+++ avbin-7/debian/changelog
@@ -1,3 +1,11 @@
+avbin (7-1.2) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Remove usage of deprecated APIs to work with Libav >= 0.7. Thanks to
+Reinhard Tartler for the first part of this. (Closes: #632133)
+
+ -- Stefano Rivera   Sat, 03 Mar 2012 18:15:31 +
+
 avbin (7-1.1) unstable; urgency=low
 
   * Non-maintainer upload.
diff -u avbin-7/src/avbin.c avbin-7/src/avbin.c
--- avbin-7/src/avbin.c
+++ avbin-7/src/avbin.c
@@ -29,6 +29,7 @@
 #include 
 #include 
 #include 
+#include 
 
 struct _AVbinFile {
 AVFormatContext *context;
@@ -122,7 +123,8 @@
 AVbinFile *avbin_open_filename(const char *filename)
 {
 AVbinFile *file = malloc(sizeof *file);
-if (av_open_input_file(&file->context, filename, NULL, 0, NULL) != 0)
+file->context = avformat_alloc_context();
+if (avformat_open_input(&file->context, filename, NULL, NULL) < 0)
 goto error;
 
 if (av_find_stream_info(file->context) < 0)
@@ -168,20 +170,46 @@
 
 AVbinResult avbin_file_info(AVbinFile *file, AVbinFileInfo *info)
 {
+AVDictionaryEntry *result;
+
 if (info->structure_size < sizeof *info)
 return AVBIN_RESULT_ERROR;
 
 info->n_streams = file->context->nb_streams;
 info->start_time = file->context->start_time;
 info->duration = file->context->duration;
-memcpy(info->title, file->context->title, sizeof(info->title));
-memcpy(info->author, file->context->author, sizeof(info->author));
-memcpy(info->copyright, file->context->copyright, sizeof(info->copyright));
-memcpy(info->comment, file->context->comment, sizeof(info->comment));
-memcpy(info->album, file->context->album, sizeof(info->album));
-info->year = file->context->year;
-info->track = file->context->track;
-memcpy(info->genre, file->context->genre, sizeof(info->genre));
+
+result = av_dict_get(file->context->metadata, "title", NULL, 0);
+if (result)
+strncpy(info->title, result->value, sizeof(info->title));
+
+result = av_dict_get(file->context->metadata, "artist", NULL, 0);
+if (result)
+strncpy(info->author, result->value, sizeof(info->author));
+
+result = av_dict_get(file->context->metadata, "copyright", NULL, 0);
+if (result)
+strncpy(info->copyright, result->value, sizeof(info->copyright));
+
+result = av_dict_get(file->context->metadata, "comment", NULL, 0);
+if (result)
+strncpy(info->comment, result->value, sizeof(info->comment));
+
+result = av_dict_get(file->context->metadata, "album", NULL, 0);
+if (result)
+strncpy(info->album, result->value, sizeof(info->album));
+
+result = av_dict_get(file->context->metadata, "year", NULL, 0);
+if (result)
+info->year = strtol(result->value, NULL, 10);
+
+result = av_dict_get(file->context->metadata, "track", NULL, 0);
+if (result)
+info->track = strtol(result->value, NULL, 10);
+
+result = av_dict_get(file->context->metadata, "genre", NULL, 0);
+if (result)
+strncpy(info->genre, result->value, sizeof(info->genre));
 
 return AVBIN_RESULT_OK;
 }
@@ -197,14 +225,14 @@
 
 switch (context->codec_type)
 {
-case CODEC_TYPE_VIDEO:
+case AVMEDIA_TYPE_VIDEO:
 info->type = AVBIN_STREAM_TYPE_VIDEO;
 info->video.width = context->width;
 info->video.height = context->height;
 info->video.sample_aspect_num = context->sample_aspect_ratio.num;
 info->video.sample_aspect_den = context->sample_aspect_ratio.den;
 break;
-case CODEC_TYPE_AUDIO:
+case AVMEDIA_TYPE_AUDIO:
 info->type = AVBIN_STREAM_TYPE_AUDIO;
 info->audio.sample_rate = context->sample_rate;
 info->audio.channels = context->channels;
@@ -256,7 +284,7 @@
 stream->format_context = file->context;
 stream->codec_context = codec_context;
 stream->type = codec_context->codec_type;
-if (stream->type == CODEC_TYPE_VIDEO)
+if (stream->type == AVMEDIA_TYPE_VIDEO)
 stream-&g

Bug#650293: segfault while running it with eventlet

2012-02-06 Thread Stefano Rivera
Hi Faule (2011.11.28_18:11:02_+0200)
> The problem lies in the greenlet module and is already fixed on the bitbucket
> version from snaury: https://bitbucket.org/snaury/greenlet
> 
> The fixed version is _not_ available on pypi yet.

This issue is reproducible on i386, not amd64.

No idea which revision fixes the problem, however it *is* fixed in
0.3.3, released upstream. (as a zip file only, which is why DEHS hasn't
seen it)

Dear python-greenlet maintainers, would you mind doing a new upload,
please? :)

I'd kind of like the other RC bug (#640577) fix to be uploaded. I would
NMU it, but that seems silly if there'd still be this RC bug left
behind...

SR

-- 
Stefano Rivera
  http://tumbleweed.org.za/
  H: +27 21 465 6908 C: +27 72 419 8559  UCT: x3127



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



Bug#659060: [ubuntu-dev] Bug#659060: Patch for #659060

2012-02-07 Thread Stefano Rivera
Hi Alessio (2012.02.08_00:10:59_+0200)
> +1 from me to extend the patch in order to set DIST and ARCH too, they won't
> hurt though.

Made it so, thanks.

SR

-- 
Stefano Rivera
  http://tumbleweed.org.za/
  H: +27 21 465 6908 C: +27 72 419 8559  UCT: x3127



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



Bug#649514: src:nvidia-cg-toolkit: should this package be orphaned?

2012-02-14 Thread Stefano Rivera
retitle 649514 O: nvidia-cg-toolkit -- Nvidia Cg toolkit
severity 649514 normal
reassign 649514 wnpp
thanks

Hi Miguel (2012.02.14_08:41:26_+0200)
> While working on packaging the new release 3.1 from 6 days ago, I
> noticed that I never replied to this.

Thanks for reminding me. Let's do this.

Dear maintainer: This bug has gone without reply for 3 months, I'm
orphaning nvidia-cg-toolkit. There's a prospective maintainer already,
so the package should be well looked-after.

> It has some suggestions from when the Debian NVIDIA Maintainers and
> others reviewed it but it probably needs a second look since that was
> a while back.

I suggest asking them for sponsorship. But I'm also happy to review,
e-mail me privately.

SR

-- 
Stefano Rivera
  http://tumbleweed.org.za/
  H: +27 21 465 6908 C: +27 72 419 8559  UCT: x3127



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



Bug#652653: python-virtualenv: insecure /tmp file handling

2012-04-22 Thread Stefano Rivera
notfixed 652653 1.4.9-1
notfound 652653 1.6-1
fixed 652653 1.6-1
thanks

Hi Nico (2011.12.20_22:23:27_+0200)
> I mark this as fixed in 1.4.9-1. It's true that the patch doesn't clean the 
> directory, but since that is not security related I don't mind. lenny/squeeze 
> still have the vulnerable code.

Err, no, this was only fixed in 1.6.

For the record, the tmp dir cleaning is #661272.

SR

-- 
Stefano Rivera
  http://tumbleweed.org.za/
  H: +27 21 465 6908 C: +27 72 419 8559  UCT: x3127



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



Bug#670679: python-debian: deb822 can't parse foreign architecture (package:any) relationships

2012-04-27 Thread Stefano Rivera
Package: python-debian
Version: 0.1.21
Severity: normal
Tags: patch

The Ubuntu archive now has some packages with Build-Depends on
gettext:any.

deb822's PkgRelation parser can't handle this.

This syntax isn't documented in Debian Policy, that I can see. The only
mention of it I can find is in https://wiki.ubuntu.com/MultiarchHowto

There are a series of patches to implement support for this in the
multiarch branch of:

git://anonscm.debian.org/users/stefanor/python-debian.git

Browsable here:
http://anonscm.debian.org/gitweb/?p=users/stefanor/python-debian.git;a=shortlog;h=refs/heads/multiarch

SR

-- 
Stefano Rivera
  http://tumbleweed.org.za/
  H: +27 21 461 1230 C: +27 72 419 8559



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



Bug#670679: python-debian: deb822 can't parse foreign architecture (package:any) relationships

2012-04-27 Thread Stefano Rivera
Hi submit (2012.04.28_00:33:40_+0200)
> This syntax isn't documented in Debian Policy, that I can see. The only
> mention of it I can find is in https://wiki.ubuntu.com/MultiarchHowto

Err, 
https://wiki.ubuntu.com/MultiarchSpec#Extended_semantics_of_per-architecture_package_relationships

SR

-- 
Stefano Rivera
  http://tumbleweed.org.za/
  H: +27 21 465 6908 C: +27 72 419 8559  UCT: x3127



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



Bug#669489: python-eventlet: FTBFS: TypeError: 'NoneType' object is not callable

2012-04-28 Thread Stefano Rivera
tag 669489 + unreproducible
severity 669489 normal
thanks

I can't reproduce this. I'm guessing it's due to the network
restrictions in lucas' rebuilds. But my own network restrictions don't
seem to reproduce this. The test only communicates using 127.0.0.1,
which shouldn't be problematic.

Leaving it open, but lowering the severity, as there may still be an
issue here, but I can't see it.

SR

-- 
Stefano Rivera
  http://tumbleweed.org.za/
  H: +27 21 465 6908 C: +27 72 419 8559  UCT: x3127



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



Bug#670924: pbuilder-dist: improve bash_completion for *.dsc files

2012-04-30 Thread Stefano Rivera
tag 670924 + pending
thanks

Hi Maarten (2012.04.30_15:27:36_+0200)
> The provided patch should should solve this issue. I use the same
> solution as provided for the pbuilder bash_completion script, send in
> a while ago.

Looks good, thanks.

Applied in r1309.

SR

-- 
Stefano Rivera
  http://tumbleweed.org.za/
  H: +27 21 461 1230 C: +27 72 419 8559



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



Bug#652653: python-virtualenv: insecure /tmp file handling

2012-05-04 Thread Stefano Rivera
Hi Adam (2012.05.03_00:21:24_+0200)
> That happened now, as #661272 which was recently fixed in sid (thanks
> Stefano!).  In terms of getting stable updated, either a 1.4.9-3squeeze2
> package could be prepared incorporating the extra fixes, or we could
> reject the original package and fix everything in one upload.  Thoughts?

I have prepared an upload to replace the existing one (reject), so that
I could add edit the changelog to close this bug and mention the CVE.

debdiff attached.

SR

-- 
Stefano Rivera
  http://tumbleweed.org.za/
  H: +27 21 465 6908 C: +27 72 419 8559  UCT: x3127
diff -Nru python-virtualenv-1.4.9/debian/changelog 
python-virtualenv-1.4.9/debian/changelog
--- python-virtualenv-1.4.9/debian/changelog2010-08-22 15:55:50.0 
+0200
+++ python-virtualenv-1.4.9/debian/changelog2012-05-04 20:35:07.0 
+0200
@@ -1,3 +1,16 @@
+python-virtualenv (1.4.9-3squeeze1) stable; urgency=high
+
+  [ Piotr Ożarowski ]
+  * Apply upstream's 8be37c509fe5 commit (to use proper temp. dir instead of
+/tmp) (CVE-2011-4617, Closes: #652653)
+
+  [ Stefano Rivera ]
+  * Team upload.
+  * Backport cleanup_tmpdirs.patch from 1.7.1.2-1.
+Cleanup temporary working directories. (Closes: #661272)
+
+ -- Stefano Rivera   Fri, 04 May 2012 20:31:24 +0200
+
 python-virtualenv (1.4.9-3) unstable; urgency=low
 
   * Team upload.
diff -Nru python-virtualenv-1.4.9/debian/patches/8be37c509fe5.patch 
python-virtualenv-1.4.9/debian/patches/8be37c509fe5.patch
--- python-virtualenv-1.4.9/debian/patches/8be37c509fe5.patch   1970-01-01 
02:00:00.0 +0200
+++ python-virtualenv-1.4.9/debian/patches/8be37c509fe5.patch   2012-05-04 
19:37:25.0 +0200
@@ -0,0 +1,41 @@
+# HG changeset patch
+# User Jannis Leidel 
+# Date 1280103078 -7200
+# Branch trunk
+# Node ID 8be37c509fe5cd474ba947e784b8676d7bd3d535
+# Parent  29ae52edcb91323785116ccea255841843757c5c
+Fixed #46 - Use a proper temp dir instead of /tmp.
+
+Index: python-virtualenv-1.4.9/virtualenv.py
+===
+--- python-virtualenv-1.4.9.orig/virtualenv.py
 python-virtualenv-1.4.9/virtualenv.py
+@@ -10,6 +10,7 @@ import optparse
+ import re
+ import shutil
+ import logging
++import tempfile
+ import distutils.sysconfig
+ try:
+ import subprocess
+@@ -286,7 +287,6 @@ def _install_req(py_executable, unzip=Fa
+ if is_jython and os._name == 'nt':
+ # Jython's .bat sys.executable can't handle a command line
+ # argument with newlines
+-import tempfile
+ fd, ez_setup = tempfile.mkstemp('.py')
+ os.write(fd, bootstrap_script)
+ os.close(fd)
+@@ -324,10 +324,10 @@ def _install_req(py_executable, unzip=Fa
+ return filter_ez_setup(line, project_name)
+ 
+ if not os.access(os.getcwd(), os.W_OK):
+-cwd = '/tmp'
++cwd = tempfile.mkdtemp()
+ if source is not None and os.path.exists(source):
+ # the current working dir is hostile, let's copy the
+-# tarball to /tmp
++# tarball to a temp dir
+ target = os.path.join(cwd, os.path.split(source)[-1])
+ shutil.copy(source, target)
+ try:
diff -Nru python-virtualenv-1.4.9/debian/patches/cleanup-tmpdirs.patch 
python-virtualenv-1.4.9/debian/patches/cleanup-tmpdirs.patch
--- python-virtualenv-1.4.9/debian/patches/cleanup-tmpdirs.patch
1970-01-01 02:00:00.0 +0200
+++ python-virtualenv-1.4.9/debian/patches/cleanup-tmpdirs.patch
2012-05-04 20:30:14.0 +0200
@@ -0,0 +1,208 @@
+Description: Cleanup temporary directory created with mkdtemp()
+ This patch was backported from the cleanup_tmpdirs.patch applied in 1.7.1.2-1
+ .
+ The base64 mess is equivalent to:
+ .
+ |--- a/virtualenv_support/distribute_setup.py
+ |+++ b/virtualenv_support/distribute_setup.py
+ |@@ -14,6 +14,7 @@ the appropriate options to ``use_setuptools()``.
+ | This file can also be run as a script to install or upgrade setuptools.
+ | """
+ | import os
+ |+import shutil
+ | import sys
+ | import time
+ | import fnmatch
+ |@@ -86,6 +87,7 @@ def _install(tarball):
+ | log.warn('See the error message above.')
+ | finally:
+ | os.chdir(old_wd)
+ |+shutil.rmtree(tmpdir)
+ | 
+ | 
+ | def _build_egg(egg, tarball, to_dir):
+ |@@ -110,6 +112,7 @@ def _build_egg(egg, tarball, to_dir):
+ | 
+ | finally:
+ | os.chdir(old_wd)
+ |+shutil.rmtree(tmpdir)
+ | # returning the result
+ | log.warn(egg)
+ | if not os.path.exists(egg):
+Author: Stefano Rivera 
+Forwarded: https://github.com/pypa/virtualenv/pull/231
+Bug-Debian: http://bugs.debian.org/661272
+
+--- a/virtualenv.py
 b/virtualenv.py
+@@ -338,6 +338,8 @@
+ finally:
+ logger.indent -= 2
+ logger.end_progress()
++if cwd is not None:
++shutil.rmtree(cwd)
+ if os

Bug#668606: ITP: python-flexmock -- Mock/Stub/Spy library for Python

2012-04-13 Thread Stefano Rivera
Package: wnpp
Severity: wishlist
Owner: Stefano Rivera 

* Package name: python-flexmock
  Version : 0.9.3
  Upstream Author : Herman Sheremetyev 
* URL : http://has207.github.com/flexmock/
* License : BSD-2-clause
  Programming Lang: Python
  Description : Mock/Stub/Spy library for Python

flexmock is a testing library for Python that makes it easy to create
mocks, stubs and fakes.

The API is inspired by a Ruby library of the same name, but Python
flexmock is not a clone of the Ruby version. It omits a number of
redundancies in the Ruby flexmock API, alters some defaults, and
introduces a number of Python-only features.

flexmock's design focuses on simplicity and intuitiveness. This means
that the API is as lean as possible, though a few convenient short-hand
methods are provided to aid brevity and readability.

flexmock declarations are structured to read more like English sentences
than API calls, and it is possible to chain them together in any order
to achieve high degree of expressiveness in a single line of code.



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



Bug#576576: option to skip installer for specific releases

2011-11-12 Thread Stefano Rivera
Hi Kees (2010.04.05_21:31:10_+0200)
> In addition to the patches waiting in bug 455082, here
> is a patch to add a "--skip-installer" option to skip d-i
> files for specific dists (this is very handy for Ubuntu).

This is mostly superseded by a largely identical patch from bug #636627.

All that remains is the --skip-installer option.

Updated patch attached.

SR

-- 
Stefano Rivera
  http://tumbleweed.org.za/
  H: +27 21 465 6908 C: +27 72 419 8559  UCT: x3127
Description: allow releases to be skipped when fetching installer files.
Author: Jamie Strandboge , Kees Cook 
Bug: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=576576

--- a/debmirror
+++ b/debmirror
@@ -85,6 +85,10 @@
 F<./.temp> working directory, but won't replace the old meta files, won't
 download debs and source files and only simulates cleanup.
 
+=item B<--skip-installer>=I
+
+Don't download debian-installer files for the specified distribution.
+
 =item B<--help>
 
 Display a usage summary.
@@ -537,7 +541,7 @@
 our $mirrordir;
 our ($debug, $progress, $verbose, $passive, $skippackages, $getcontents, $i18n);
 our ($ua, $proxy, $ftp);
-our (@dists, @sections, @arches, @ignores, @excludes, @includes);
+our (@dists, @sections, @arches, @ignores, @excludes, @includes, @skip_installer);
 our (@excludes_deb_section, @limit_priority);
 our (@di_dists, @di_arches, @rsync_extra);
 our $state_cache_days = 0;
@@ -650,6 +654,7 @@
 	   'postcleanup'=> \$post_cleanup,
 	   'nocleanup'  => \$no_cleanup,
 	   'ignore=s'   => \@ignores,
+	   'skip-installer=s'   => \@skip_installer,
 	   'exclude=s'  => \@excludes,
 	   'exclude-deb-section=s'  => \@excludes_deb_section,
 	   'limit-priority=s'   => \@limit_priority,
@@ -738,6 +743,8 @@
 $post_cleanup=0 if ($no_cleanup);
 $post_cleanup=0 if ($pre_cleanup);
 $post_cleanup=0 if ($debmarshal);
+@skip_installer=split(/,/,join(',',@skip_installer));
+@skip_installer=() unless @skip_installer;
 
 # Display configuration.
 $|=1 if $debug;
@@ -2415,11 +2422,16 @@
   di_cleanup() if @di_dists;
 }
 
+# Figure out whether debian-installer should be skipped for a given dist.
+my %skip_installer=("woody" => 1, "experimental" => 1);
+foreach my $skipped_dist (@skip_installer) {
+  $skip_installer{$skipped_dist} = 1;
+}
+
 sub di_skip_dist {
   my $dist=shift;
-  if ( $dist eq "woody" ||
-   $dist eq "experimental" ||
-   $dist =~ /.*-updates/ ) {
+  if ( $dist =~ /.*-updates/ ||
+   defined($skip_installer{$dist}) ) {
 return 1;
   }
   return 0;


Bug#649277: lintian: warn against versions like 0.7.1.rc1-1 or 0.3.0+beta4-1

2011-11-19 Thread Stefano Rivera
Hi Jakub (2011.11.19_16:17:55_+0200)
> On the other hand, if a package with such version is already in the
> archive, there's not much that can be done, so maybe we should limit
> ourselves to versions ending in -1?

Thanks for filing this.

If you are going to limit it to -1, please catch -0ubuntu1 too.

Oh, and:
> [^~a-z](rc|alpha|beta|pre(view|release)?)([^a-z])
< jtaylor> I'd also add .dev

SR

-- 
Stefano Rivera
  http://tumbleweed.org.za/
  H: +27 21 465 6908 C: +27 72 419 8559  UCT: x3127



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



Bug#649477: ITP: unidecode -- ASCII transliterations of Unicode text (Python module)

2011-11-21 Thread Stefano Rivera
Package: wnpp
Severity: wishlist
Owner: Stefano Rivera 

* Package name: unidecode
  Version : 0.04.9
  Upstream Author : Tomaz Solc 
* URL : http://pypi.python.org/pypi/Unidecode
* License : GPL-2+
  Programming Lang: Python
  Description : ASCII transliterations of Unicode text (Python module)

It often happens that you have text data in Unicode, but you need to
represent it in ASCII for display. One could represent non-roman Unicode
characters as "???" or "\\15BA\\15A0\\1610", but neither is useful to
the user reading the text.

Unidecode tries to represent it in ASCII characters (i.e., the
universally displayable characters between 0x00 and 0x7F), where the
compromises taken when mapping between two character sets are chosen to
be near what a human with a US keyboard would choose.

This module generally produces better results than simply stripping
accents from characters (which can be done in Python with built-in
functions). It is based on hand-tuned character mappings that for
example also contain ASCII approximations for symbols and non-Latin
alphabets.

unidecode is a Python port of the Text::Unidecode Perl module.


This will be packaged under the Debian Python Modules Team.



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



Bug#649477: ITP: unidecode -- ASCII transliterations of Unicode text (Python module)

2011-11-21 Thread Stefano Rivera
Hi Samuel (2011.11.21_11:35:17_+0200)
> Mmm, it seems exactly like the //TRANSLIT suffix support provided by
> iconv?

It is. But we don't have python iconv bindings packaged, either.

Also, I'm looking at this simply because it's blocking #589396.

SR

-- 
Stefano Rivera
  http://tumbleweed.org.za/
  H: +27 21 465 6908 C: +27 72 419 8559  UCT: x3127



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



Bug#637641: src:cryptonit: should this package be orphaned?

2011-11-21 Thread Stefano Rivera
severity 637641 normal
retitle 637641 RM: cryptonit -- RoQA; RC-Buggy; unmaintained
reassign 637641 ftp.debian.org
thanks

Hi Olly (2011.11.10_19:50:26_+0200)
> It's now close to 3 months with no maintainer response, and cryptonit is
> one of the packages blocking removal of wxwidgets2.6.

It's been 3 months, let's do this.

SR

-- 
Stefano Rivera
  http://tumbleweed.org.za/
  H: +27 21 465 6908 C: +27 72 419 8559  UCT: x3127



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



Bug#637828: src:albatross: should this package be orphaned?

2011-11-21 Thread Stefano Rivera
Hi Fabian (2011.08.15_07:20:13_+0200)
> I'm still interested, but still have some difficulty in finding time to
> do the necessary reworking. The package would benefit from collaborative
> maintenance, and it's been my intention to polish up the package for
> that purpose. No promises in the near future, though. If the package is
> getting close to being orphaned, then please let me know.

It's been 3 months. File a RFH bug? Turn this into one?

SR

-- 
Stefano Rivera
  http://tumbleweed.org.za/
  H: +27 21 465 6908 C: +27 72 419 8559  UCT: x3127



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



Bug#649514: src:nvidia-cg-toolkit: should this package be orphaned?

2011-11-21 Thread Stefano Rivera
Package: src:nvidia-cg-toolkit
Severity: wishlist
User: debian...@lists.debian.org
Usertags: proposed-orphan

Dear maintainer,

I noticed that this package is in need of some work, and I think it's a
candidate for orphaning because:
* It's RC-Buggy (#639857)
* The last maintainer upload was in early 2009, > 2 years ago.
* The resignation of the most active co-maintainer (judging from git
  history [0])

[0]: 
http://anonscm.debian.org/gitweb/?p=collab-maint/nvidia-cg-toolkit.git;a=shortlog

There also wasn't any reply from a maintainer in recent bugs. In
particular:
* The requested move to non-free, meaning it wouldn't have to download
  pre-build binaries during installation (making the package
  significantly more reliable to install, and usable as a
  build-dependency) #502457
* Two new upstream version bugs.

And, relatedly: A new developer (Miguel, CCed) has tried to get involved
in the maintenance of this packaged, with no response from a maintainer
[1] (although nobody said they had contacted you). This discussion
included a suggestion to move the package to pkg-nvidia-devel (CCed),
which may be interested in co-maintenance, if there were an active
maintainer. [2]

[1]: 
http://lists.debian.org/aanlktimwtdg1-7qsdfkk890o74o9s0e2doegxz6kr...@mail.gmail.com
[2]: http://lists.debian.org/87d3k0wja0@windlord.stanford.edu

If you still have interest in maintaining this package, please close
this bug and fix the RC issue (I think the best way forward is the
approach I took in Ubuntu: using the upstream binaries as "source" and
moving the package to non-free)
http://patches.ubuntu.com/n/nvidia-cg-toolkit/

It looks like there are people interested in helping you maintain this
package, if you would accept co-maintainers. If there is no response to
this bug in, say, 3 months, I'll assume that the package can be orphaned
and these interested people may take it over.

SR

-- 
Stefano Rivera
  http://tumbleweed.org.za/
  H: +27 21 465 6908 C: +27 72 419 8559  UCT: x3127



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



Bug#589396: ITP: beets -- music tagger and library organizer

2011-11-22 Thread Stefano Rivera
Hi Alessandro (2011.11.22_15:46:12_+0200)
> I am interested in beets too and I have noticed that you re-started working
> on this. How is the packaging going?

It's there (in SVN), just need to write a manpage.

As you can see, it stalled for a few months, waiting for dependencies,
but I was poked again, and should have it uploaded in a day or two.

SR

-- 
Stefano Rivera
  http://tumbleweed.org.za/
  H: +27 21 465 6908 C: +27 72 419 8559  UCT: x3127



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



Bug#600054: ddclient: diff for NMU version 3.8.0-11.4

2012-01-04 Thread Stefano Rivera
tags 600054 + patch
tags 600054 + pending
thanks

Dear maintainer,

I've prepared an NMU for ddclient (versioned as 3.8.0-11.4) and
uploaded it to DELAYED/10. Please feel free to tell me if I
should delay it longer.

Regards.
diff -Nru ddclient-3.8.0/debian/changelog ddclient-3.8.0/debian/changelog
--- ddclient-3.8.0/debian/changelog	2011-01-11 21:25:23.0 +0200
+++ ddclient-3.8.0/debian/changelog	2012-01-04 17:34:30.0 +0200
@@ -1,3 +1,10 @@
+ddclient (3.8.0-11.4) UNRELEASED; urgency=low
+
+  * Non-maintainer upload.
+  * Prevent hang if IP address check blocks. Closes: #600054
+
+ -- Stefano Rivera   Wed, 04 Jan 2012 17:33:35 +0200
+
 ddclient (3.8.0-11.3) unstable; urgency=low
 
   * Non-maintainer upload.
diff -Nru ddclient-3.8.0/debian/patches/checkip-hang.diff ddclient-3.8.0/debian/patches/checkip-hang.diff
--- ddclient-3.8.0/debian/patches/checkip-hang.diff	1970-01-01 02:00:00.0 +0200
+++ ddclient-3.8.0/debian/patches/checkip-hang.diff	2012-01-04 17:33:21.0 +0200
@@ -0,0 +1,75 @@
+Description: Prevent hang if the IP address check blocks
+ ddclient may hang if the read operation on the connection to get the ip (in
+ sub geturl) 'blocks'.
+Author: Panos
+Origin: http://sourceforge.net/tracker/?func=detail&atid=676130&aid=2880462&group_id=116817
+Bug-Debian: http://bugs.debian.org/600054
+Applied-Upstream: http://sourceforge.net/apps/trac/ddclient/changeset/114/trunk
+Last-Update: 2012-01-04
+
+--- a/ddclient
 b/ddclient
+@@ -1808,36 +1808,36 @@
+ }
+ 
+ if (defined $sd) {
+-	## send the request to the http server
+-	verbose("CONNECTED: ", $use_ssl ? 'using SSL' : 'using HTTP');
+-	verbose("SENDING:", $request);
++		## send the request to the http server
++		verbose("CONNECTED: ", $use_ssl ? 'using SSL' : 'using HTTP');
++		verbose("SENDING:", $request);
+ 
+ 	$0 = sprintf("%s - sending to %s port %s", $program, $peer, $port);
+-	my $result = syswrite $sd, $rq;
+-	if ($result != length($rq)) {
+-	warning("cannot send to $peer:$port ($!).");
+-	
+-	} else {
+-	my $timeout = 0;
+-	local $SIG{'ALRM'} = sub { $timeout = 1; };
++		my $result = syswrite $sd, $rq;
++		if ($result != length($rq)) {
++		warning("cannot send to $peer:$port ($!).");
++		} else {
++			$0 = sprintf("%s - reading from %s port %s", $program, $peer, $port);
++			eval {
++local $SIG{'ALRM'} = sub { die "timeout";};
++			alarm(opt('timeout')) if opt('timeout') > 0;
++while ($_ = <$sd>) {
++		$0 = sprintf("%s - read from %s port %s", $program, $peer, $port);
++	verbose("RECEIVE:", "%s", define($_, ""));
++	$reply .= $_ if defined $_;
++			}
++			if (opt('timeout') > 0) {
++	alarm(0);
++			}
++			};
++			close($sd);
+ 
+-	$0 = sprintf("%s - reading from %s port %s", $program, $peer, $port);
+-	alarm(opt('timeout')) if opt('timeout') > 0;
+-	while (!$timeout &&  ($_ = <$sd>)) {
+-	$0 = sprintf("%s - read from %s port %s", $program, $peer, $port);
+-		verbose("RECEIVE:", "%s", define($_, ""));
+-		$reply .= $_ if defined $_;
+-	}
+-	if (opt('timeout') > 0) {
+-		alarm(0);
+-	}
+-	close($sd);
+-	if ($timeout) {
+-		warning("TIMEOUT: %s after %s seconds", $to, opt('timeout'));
+-		$reply = '';
+-	}
+-	$reply = '' if !defined $reply;
+-	}
++			if ($@ and $@ =~ /timeout/) {
++warning("TIMEOUT: %s after %s seconds", $to, opt('timeout'));
++$reply = '';
++		}
++			$reply = '' if !defined $reply;
++		}
+ }
+ $0 = sprintf("%s - closed %s port %s", $program, $peer, $port);
+ 
diff -Nru ddclient-3.8.0/debian/patches/series ddclient-3.8.0/debian/patches/series
--- ddclient-3.8.0/debian/patches/series	2010-03-28 18:51:15.0 +0200
+++ ddclient-3.8.0/debian/patches/series	2012-01-04 17:30:07.0 +0200
@@ -5,3 +5,4 @@
 bug468320_minmax_logic.diff
 upstream_change_110.diff 
 prevent_cache_leak.diff
+checkip-hang.diff


Bug#654634: override: python-html2text:oldlibs/extra

2012-01-04 Thread Stefano Rivera
Package: ftp.debian.org
Severity: normal

This is a transitional package.

I assume oldlibs is preferred, not metapackages?

SR



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



Bug#654694: proftpd-basic: mod_tls and mod_sftp check for the exact OpenSSL version that they were compiled with

2012-01-05 Thread Stefano Rivera
Package: proftpd-basic
Version: 1.3.4a-1
Severity: minor

I quote from contrib/mod_tls.c:
| static int tls_init(void) {
| 
|   /* Check that the OpenSSL headers used match the version of the
|* OpenSSL library used.
|*
|* For now, we only log if there is a difference.
|*/
|   if (SSLeay() != OPENSSL_VERSION_NUMBER) {
| pr_log_pri(PR_LOG_ERR, MOD_TLS_VERSION
|   ": compiled using OpenSSL version '%s' headers, but linked to "
|   "OpenSSL version '%s' library", OPENSSL_VERSION_TEXT,
|   SSLeay_version(SSLEAY_VERSION));
| tls_log("compiled using OpenSSL version '%s' headers, but linked to "
|   "OpenSSL version '%s' library", OPENSSL_VERSION_TEXT,
|   SSLeay_version(SSLEAY_VERSION));
|   }
| 
|   pr_log_debug(DEBUG2, MOD_TLS_VERSION ": using " OPENSSL_VERSION_TEXT);
...

Either this check should be removed, or we should make our dependencies
stricter (if it really needs an exact version match, which I doubt).

This is causing some user confusion:
https://bugs.launchpad.net/ubuntu/+source/proftpd-dfsg/+bug/873984

SR



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



Bug#638137: [Pkg-openssl-devel] Bug#638137: Please transition openssl for multiarch

2012-01-06 Thread Stefano Rivera
On Sat, Sep 10, 2011 at 03:50:45PM +0200, Kurt Roeckx wrote:
> So I've uploaded the patch.

Looks like this bug wasn't closed, thanks to the typo "Closs: #"

Shouldn't "openssl" be Multi-Arch: foreign?

SR



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



Bug#654680: python-html2text: 3.200.1-1 breaks parsing of feeds within rss2email

2012-01-06 Thread Stefano Rivera
tag 654680 + patch
thanks

Hi Joerg (2012.01.05_10:39:33_+0200)
> after python-html2text was upgraded to 3.200.1-1 the feeds read by
> rss2email can't be parsed anymore

Looks like the html2text upstream didn't consider unescape() to be part
of the public API, and moved it into a class-level function.
https://github.com/aaronsw/html2text/commit/1a25828d556d30cc689c1bc2c11f52838c57b7ac

I see it's also been marked with a "# @@nobody calls this function?"
comment. Aaron: Are you intending to remove it?

Joerg / Lindsey: The attached patch for rss2email should do the trick
for supporting 3.200.

The alternatives are:
* re-adding a top level unescape() function to
  html2text, but that would have to create an HTML2Text object on each
  invocation...
* Moving unscape() (and the functions it calls) back out of the class,
  but then HTML2Text.unicode_snob won't be very useful.

SR

-- 
Stefano Rivera
  http://tumbleweed.org.za/
  H: +27 21 465 6908 C: +27 72 419 8559  UCT: x3127
--- a/rss2email.py
+++ b/rss2email.py
@@ -301,7 +301,7 @@
 h2t.UNICODE_SNOB = UNICODE_SNOB
 h2t.LINKS_EACH_PARAGRAPH = LINKS_EACH_PARAGRAPH
 h2t.BODY_WIDTH = BODY_WIDTH
-html2text = h2t.html2text
+html2text = h2t.HTML2Text()
 
 from types import *
 
@@ -381,7 +381,7 @@
 		if not HTMLOK: # Only need to convert to text if HTML isn't OK
 			for c in conts:
 if contains(c.type, 'html'):
-	return html2text(c.value)
+	return html2text.handle(c.value)
 		
 		for c in conts:
 			if c.type == 'text/plain': return c.value
@@ -661,7 +661,7 @@
 	if 'title_detail' in entry and entry.title_detail:
 		title = entry.title_detail.value
 		if contains(entry.title_detail.type, 'html'):
-			title = html2text(title)
+			title = html2text.handle(title)
 	else:
 		title = getContent(entry)[:70]
 
@@ -678,7 +678,7 @@
 	
 	from_addr = getEmail(r, entry)
 	
-	name = h2t.unescape(getName(r, entry))
+	name = html2text.unescape(getName(r, entry))
 	fromhdr = formataddr((name, from_addr,))
 	tohdr = (f.to or default_to)
 	subjecthdr = title


Bug#654680: python-html2text: 3.200.1-1 breaks parsing of feeds within rss2email

2012-01-06 Thread Stefano Rivera
Hi Jörg (2012.01.06_15:28:07_+0200)
> Applying this patch together with python-html2text 3.200 made r2e
> consume the complete memory of my system (3.5G).

Oops. But nevermind, Aaron, has re-added unescape(). New upload coming
shortly.

SR

-- 
Stefano Rivera
  http://tumbleweed.org.za/
  H: +27 21 465 6908 C: +27 72 419 8559  UCT: x3127



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



Bug#654634: override: python-html2text:oldlibs/extra

2012-01-09 Thread Stefano Rivera
reopen 654634
retitle 654634 override: html2markdown:oldlibs/extra
thanks

> According to debian/control, it's html2markdown that should be
> oldlibs/extra, not python-html2text.

What an idiot. Yes. Please revert and override html2markdown instead.

Thanks.

-- 
Stefano Rivera
  http://tumbleweed.org.za/
  H: +27 21 465 6908 C: +27 72 419 8559  UCT: x3127



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




Bug#639315: RFP: pypy -- PyPy is a fast, compliant alternative implementation of the Python language.

2012-01-09 Thread Stefano Rivera
tag 639315 + pending
retitle 639315 ITP: pypy -- PyPy is a fast, compliant alternative 
implementation of the Python language.
owner 639315 !
thanks

Sorry, forgot to close this bug in the upload, but I have a pypy package
sitting in NEW: http://ftp-master.debian.org/new/pypy_1.7%2Bdfsg-2.html

SR

-- 
Stefano Rivera
  http://tumbleweed.org.za/
  H: +27 21 465 6908 C: +27 72 419 8559  UCT: x3127



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



Bug#655580: altos: openjdk-6-jdk on Ubuntu doesn't have the directories that configure searches for

2012-01-12 Thread Stefano Rivera
Package: altos
Version: 1.0.3
Severity: minor
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu precise ubuntu-patch

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

  * Depend on default-jdk instead of openjdk-6-jdk, so that the configure
script can find the JDK.

In Ubuntu, openjdk-6-jdk lives in /usr/lib/jvm/java-1.6.0-openjdk-amd64,
which the configure script doesn't search. But it does search for
default-java, so let's use that.

Thanks for considering the patch.

SR



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



Bug#655580: altos: openjdk-6-jdk on Ubuntu doesn't have the directories that configure searches for

2012-01-12 Thread Stefano Rivera
Hi Debian (2012.01.12_15:48:16_+0200)
> Thanks for considering the patch.

/me slaps reportbug and attaches the patch.

SR

-- 
Stefano Rivera
  http://tumbleweed.org.za/
  H: +27 21 465 6908 C: +27 72 419 8559  UCT: x3127
diff -Nru altos-1.0.3/debian/control altos-1.0.3ubuntu1/debian/control
--- altos-1.0.3/debian/control  2011-12-26 04:09:16.0 +0200
+++ altos-1.0.3ubuntu1/debian/control   2012-01-12 15:36:56.0 +0200
@@ -1,7 +1,7 @@
 Priority: optional
 Maintainer: Bdale Garbee 
 Uploaders: Keith Packard 
-Build-Depends: debhelper (>= 7), autoconf, automake, gawk, libreadline-dev, 
libusb-1.0-0-dev, nickle, sdcc, xsltproc, fop, docbook-xml, docbook-xsl, swig, 
openjdk-6-jdk, freetts, libtool, libjfreechart-java, pkg-config
+Build-Depends: debhelper (>= 7), autoconf, automake, gawk, libreadline-dev, 
libusb-1.0-0-dev, nickle, sdcc, xsltproc, fop, docbook-xml, docbook-xsl, swig, 
default-jdk, freetts, libtool, libjfreechart-java, pkg-config
 Standards-Version: 3.9.2
 Homepage: http://altusmetrum.org/AltOS
 Vcs-Git: git://git.gag.com/fw/altos


Bug#655584: [Python-modules-team] Bug#655584: python-virtualenv: Created virtualenvs don't search for packages in /usr/lib/pymodules

2012-01-12 Thread Stefano Rivera
Hi Andreas (2012.01.12_16:53:20_+0200)
> I would have expected the created virtualenv to find numpy, but it
> doesn't. I've traced this back to /usr/lib/pymodules not being part of
> sys.path in the created virtualenv

This is expected, virtualenv changed the default:
| * Made --no-site-packages behavior the default behavior. The
|   --no-site-packages flag is still permitted, but displays a warning
|   when used. Thanks Chris McDonough.

SR

-- 
Stefano Rivera
  http://tumbleweed.org.za/
  H: +27 21 465 6908 C: +27 72 419 8559  UCT: x3127



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



Bug#655855: pypy: please support installed python modules

2012-01-14 Thread Stefano Rivera
Hi Helmut (2012.01.14_13:41:00_+0200)
> First of all big thanks for packaging pypy! It seems way more mature
> than the previous attempt to getting it into Debian.

Yup, let's hope it'll stick around this time.

> It would be nice to be able to use python module packages directly with
> pypy.

That's on the todo list. But we have a little way to go :)

Let's get PyPy building everywhere, and passing tests, first.

SR

-- 
Stefano Rivera
  http://tumbleweed.org.za/
  H: +27 21 465 6908 C: +27 72 419 8559  UCT: x3127



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



Bug#655914: RM: pypy -- ROM; Accidentally uploaded to unstable

2012-01-14 Thread Stefano Rivera
Package: ftp.debian.org
Severity: normal

I'm an idiot (I've said that before, right). Accidentally uploaded to
unstable, because I'd built it in an unstable sbuild.

Please don't touch the one in experimental.

SR



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



Bug#655732: beets: FTBFS: test_mtime_* fail

2012-01-18 Thread Stefano Rivera
forwarded 655732 http://code.google.com/p/beets/issues/detail?id=298
thanks

Hi Jakub (2012.01.13_18:29:18_+0200)
> I guess this happens only on filesystems with date resolution less
> than 1s (e.g. ext4).

Thanks. I didn't have the extra_isize option on any of my machines' file
systems. Old installs...

SR

-- 
Stefano Rivera
  http://tumbleweed.org.za/
  H: +27 21 465 6908 C: +27 72 419 8559  UCT: x3127



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



Bug#654604: [b-d][armel|armhf] veusz

2012-01-23 Thread Stefano Rivera
DSAs: Either arch should be fine for debugging this.

Jeremy:
> or is there a virtual machine somewhere I can debug under?

One can build a lot of arm bits in a armel chroot, with
qemu-user-static + binfmt_misc, but here gcc segfaults under
qemu-user-static, so let's try a porterbox...

SR

-- 
Stefano Rivera
  http://tumbleweed.org.za/
  H: +27 21 465 6908 C: +27 72 419 8559  UCT: x3127


signature.asc
Description: Digital signature


Bug#647455: python-debian: Deb822.iter_paragraphs() claims to work on strings, but actually requires lists of strings

2011-11-02 Thread Stefano Rivera
Package: python-debian
Version: 0.1.21
Severity: normal
Tags: patch

Deb822.__init__ says:
:param sequence: a string, or any any object that returns a line of
input each time, normally a file().  Alternately, sequence can
be a dict that contains the initial key-value pairs.

and iter_paragraphs says:
:param sequence: same as in __init__.

However, it breaks with a single string. Even the test suite passes a
list of strings.

Attached patch adds quick-and-dirty support for a single string.
diff --git a/lib/debian/deb822.py b/lib/debian/deb822.py
index 4c5b74e..c4ad14c 100644
--- a/lib/debian/deb822.py
+++ b/lib/debian/deb822.py
@@ -308,6 +308,9 @@ class Deb822(Deb822Dict):
 necessary in order to properly interpret the strings.)
 """
 
+if isinstance(sequence, basestring):
+sequence = sequence.splitlines()
+
 if _have_apt_pkg and use_apt_pkg and isinstance(sequence, file):
 parser = apt_pkg.TagFile(sequence)
 for section in parser:
diff --git a/tests/test_deb822.py b/tests/test_deb822.py
index c3806bd..8f23e78 100755
--- a/tests/test_deb822.py
+++ b/tests/test_deb822.py
@@ -821,6 +821,16 @@ Description: python modules to work with Debian-related data formats
 UNPARSED_PARAGRAPHS_WITH_COMMENTS.splitlines(), use_apt_pkg=False))
 self._test_iter_paragraphs_comments(paragraphs)
 
+def test_iter_paragraphs_string_comments_use_apt_pkg(self):
+paragraphs = list(deb822.Deb822.iter_paragraphs(
+UNPARSED_PARAGRAPHS_WITH_COMMENTS, use_apt_pkg=True))
+self._test_iter_paragraphs_comments(paragraphs)
+
+def test_iter_paragraphs_string_comments_native(self):
+paragraphs = list(deb822.Deb822.iter_paragraphs(
+UNPARSED_PARAGRAPHS_WITH_COMMENTS, use_apt_pkg=False))
+self._test_iter_paragraphs_comments(paragraphs)
+
 
 class TestPkgRelations(unittest.TestCase):
 


Bug#634848: debian.changelog: add method that gives list of closed bugs

2011-11-02 Thread Stefano Rivera
tag 634848 + patch
thanks

Hi Jelmer (2011.07.20_17:10:13_+0200)
> FWIW bzr-builddeb has some code for this that I've been meaning to
> upstream into python-debian.

Here's a patch that does that.

Jelmer: It looks like your current code doesn't deal with bug lists that
span lines.

SR

-- 
Stefano Rivera
  http://tumbleweed.org.za/
  H: +27 21 465 6908 C: +27 72 419 8559  UCT: x3127
diff --git a/lib/debian/changelog.py b/lib/debian/changelog.py
index 93c348f..b7e68cd 100644
--- a/lib/debian/changelog.py
+++ b/lib/debian/changelog.py
@@ -128,6 +128,25 @@ class ChangeBlock(object):
 changes.append(change)
 self._changes = changes
 
+def _get_bugs_closed_generic(self, type_re):
+changes = u' '.join(self._changes)
+bugs = []
+for match in type_re.finditer(changes):
+closes_list = match.group(0)
+for match in re.finditer("\d+", closes_list):
+bugs.append(int(match.group(0)))
+return bugs
+
+def _get_bugs_closed(self):
+return self._get_bugs_closed_generic(closes)
+
+bugs_closed = property(_get_bugs_closed)
+
+def _get_lp_bugs_closed(self):
+return self._get_bugs_closed_generic(closeslp)
+
+lp_bugs_closed = property(_get_lp_bugs_closed)
+
 def __unicode__(self):
 # TODO(jsw): Switch to StringIO or a list to join at the end.
 block = ""
@@ -183,6 +202,9 @@ vim_variables = re.compile('^vim:', re.IGNORECASE)
 cvs_keyword = re.compile('^\$\w+:.*\$')
 comments = re.compile('^\# ')
 more_comments = re.compile('^/\*.*\*/')
+closes = re.compile('closes:\s*(?:bug)?\#?\s?\d+(?:,\s*(?:bug)?\#?\s?\d+)*',
+re.IGNORECASE)
+closeslp = re.compile('lp:\s+\#\d+(?:,\s*\#\d+)*', re.IGNORECASE)
 
 old_format_re1 = re.compile('^(\w+\s+\w+\s+\d{1,2} \d{1,2}:\d{1,2}:\d{1,2}'
 '\s+[\w\s]*\d{4})\s+(.*)\s+(<|\()(.*)(\)|>)')
diff --git a/lib/debian/deb822.py b/lib/debian/deb822.py
index 4c5b74e..c4ad14c 100644
--- a/lib/debian/deb822.py
+++ b/lib/debian/deb822.py
@@ -308,6 +308,9 @@ class Deb822(Deb822Dict):
 necessary in order to properly interpret the strings.)
 """
 
+if isinstance(sequence, basestring):
+sequence = sequence.splitlines()
+
 if _have_apt_pkg and use_apt_pkg and isinstance(sequence, file):
 parser = apt_pkg.TagFile(sequence)
 for section in parser:
diff --git a/tests/test_changelog b/tests/test_changelog
index 1924339..8aada8d 100644
--- a/tests/test_changelog
+++ b/tests/test_changelog
@@ -1,7 +1,9 @@
 gnutls13 (1:1.4.1-1) unstable; urgency=HIGH
 
   [ James Westby ]
-  * New upstream release.
+  * New upstream release. Closes: #123, #456,
+#789. LP: #1234, #2345,
+#3456
   * Remove the following patches as they are now included upstream:
 - 10_certtoolmanpage.diff
 - 15_fixcompilewarning.diff
diff --git a/tests/test_changelog.py b/tests/test_changelog.py
index 65e7d66..94b1728 100755
--- a/tests/test_changelog.py
+++ b/tests/test_changelog.py
@@ -55,7 +55,9 @@ class ChangelogTests(unittest.TestCase):
 """gnutls13 (1:1.4.1-1) unstable; urgency=HIGH
 
   [ James Westby ]
-  * New upstream release.
+  * New upstream release. Closes: #123, #456,
+#789. LP: #1234, #2345,
+#3456
   * Remove the following patches as they are now included upstream:
 - 10_certtoolmanpage.diff
 - 15_fixcompilewarning.diff
@@ -161,6 +163,14 @@ class ChangelogTests(unittest.TestCase):
 self.assertEqual(c.epoch, '1')
 self.assertEqual(str(c.version), c.full_version)
 
+def test_bugs_closed(self):
+f = open('test_changelog')
+c = changelog.Changelog(f)
+f.close()
+block = next(iter(c))
+self.assertEqual(block.bugs_closed, [123, 456, 789])
+self.assertEqual(block.lp_bugs_closed, [1234, 2345, 3456])
+
 def test_allow_full_stops_in_distribution(self):
 f = open('test_changelog_full_stops')
 c = changelog.Changelog(f)
diff --git a/tests/test_deb822.py b/tests/test_deb822.py
index c3806bd..8f23e78 100755
--- a/tests/test_deb822.py
+++ b/tests/test_deb822.py
@@ -821,6 +821,16 @@ Description: python modules to work with Debian-related data formats
 UNPARSED_PARAGRAPHS_WITH_COMMENTS.splitlines(), use_apt_pkg=False))
 self._test_iter_paragraphs_comments(paragraphs)
 
+def test_iter_paragraphs_string_comments_use_apt_pkg(self):
+paragraphs = list(deb822.Deb822.iter_paragraphs(
+UNPARSED_PARAGRAPHS_WITH_COMMENTS, use_apt_pkg=True))
+self._test_iter_paragraphs_comments(paragraphs)
+
+def test_iter_paragraphs_string_comments_native(self):
+paragraphs = list(deb822.Deb822.iter_paragraphs(
+UNPARSED_PARAGRAPHS_WITH_COMMENTS, use_apt_pkg=False))
+self._test_iter_paragraphs_comments(paragraphs)
+
 
 class TestPkgRelations(unittest.TestCase):
 


Bug#625784: virtualenv -p python3 xx' should work but doesn't

2011-12-11 Thread Stefano Rivera
forwarded 625784 https://github.com/pypa/virtualenv/issues/141
thanks

Hi Anthony (2011.10.13_22:22:27_+0200)
> A patch has been included in version 1.6.2

And was reverted in 385505afbc :/

https://github.com/pypa/virtualenv/commit/9fc1043

SR

-- 
Stefano Rivera
  http://tumbleweed.org.za/
  H: +27 21 465 6908 C: +27 72 419 8559  UCT: x3127



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



Bug#582264: python-virtualenv: With non-default interpreter behaves as with --no-site-packages

2011-12-13 Thread Stefano Rivera
Hi wrar (2010.05.19_17:11:59_+0200)
> When I try to create a virtualenv for python 2.6, all packages get installed
> into it even if --no-site-packages was not specified and the packages are
> available in the system directory.

I'm afraid I can't reproduce this with 1.6-2. Still suffering from it?

SR

-- 
Stefano Rivera
  http://tumbleweed.org.za/
  H: +27 21 465 6908 C: +27 72 419 8559  UCT: x3127



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



Bug#651999: /usr/bin/pbuilder-dist: man 1 pbuilder-dist refers to non existant packages

2011-12-16 Thread Stefano Rivera
tag 651999 pending
thanks

Hi Karl (2011.12.14_01:52:16_+0200)
> qemu-static and binfmt-misc don't appear as packages or commands on
> squeeze, and I can't find references to them on other releases either.

Right, that should have been qemu-user-static and binfmt_misc (the
kernel module). Fixed in r1259.

SR

-- 
Stefano Rivera
  http://tumbleweed.org.za/
  H: +27 21 465 6908 C: +27 72 419 8559  UCT: x3127



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



Bug#652000: /usr/bin/pbuilder-dist: pbuilder-dist ignores environment and has no way to set a custom pbuilderrc

2011-12-16 Thread Stefano Rivera
Hi Karl (2011.12.14_01:57:05_+0200)
> Because pbuilder-dist is available in squeeze, but qemu-debootstrap
> isn't, I've downloaded the script from bug 572952 and I'm trying to use
> it with pbuilder-dist. Unfortunately, despite saying "install or change
> DEBOOTSTRAP option" it seems to ignore the environment and the users
> .pbuilderrc. Could this be changed please? It makes it excessively hard
> to use the thing, to the extent that you need to be able to edit roots
> pbuilderrc.

pbuilder-dist is passing --debootstrap qemu-debootstrap to pbuilder.
That overrides anything in pbuilderrc. Can you not put it somewhere on
your PATH?

SR

-- 
Stefano Rivera
  http://tumbleweed.org.za/
  H: +27 21 465 6908 C: +27 72 419 8559  UCT: x3127



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



Bug#652000: Acknowledgement (/usr/bin/pbuilder-dist: pbuilder-dist ignores environment and has no way to set a custom pbuilderrc)

2011-12-16 Thread Stefano Rivera
Hi Karl (2011.12.14_02:14:53_+0200)
> PATH=$PATH:/script/location/ in roots .pbuilderrc: PASS
> Hard coding the path in a copy of the script: PASS
> 
> So it seems it might actually be a path issue, not a DEBOOTSTRAP one.
> Not sure if the script should be changed to match the man page, or the
> man page to match the script.

Which manpage are we talking about?

Having to set up *anything* in root's .pbuilderrc is a bad sign.
It should be using your .pbuilderrc.

This is why pbuilder-dist now refuses to be run under sudo, and calls
sudo itself. A bit of an ugly hack, but not too much one can do about
it...

SR

-- 
Stefano Rivera
  http://tumbleweed.org.za/
  H: +27 21 465 6908 C: +27 72 419 8559  UCT: x3127



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



Bug#649927: [Python-apps-team] Bug#649927: beets: missing Depends on python-pkg-resources

2011-11-24 Thread Stefano Rivera
> Installing python-pkg-resources resolves the problem, therefore I
> think it should be added to the beets Depends.

Yes it should, thanks.

SR

-- 
Stefano Rivera
  http://tumbleweed.org.za/
  H: +27 21 465 6908 C: +27 72 419 8559  UCT: x3127



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



Bug#650078: [Python-apps-team] Bug#650078: please update to the newest version

2011-11-27 Thread Stefano Rivera
Hi Raf (2011.11.26_13:07:32_+0200)
> Version 1.0b11 drops LastID[0] plugin and introduces Chromaprint/Acousid[1]
> amongs other ones.

Version 1.0b11 hasn't released yet. But yes, I have my eye on it.

SR

-- 
Stefano Rivera
  http://tumbleweed.org.za/
  H: +27 21 465 6908 C: +27 72 419 8559  UCT: x3127



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



Bug#588920: cntlm starts before the network is up

2011-11-30 Thread Stefano Rivera
Hi Jonas (2010.07.13_14:42:18_+0200)
> The following was found in /var/log/syslog:
> cntlm: Starting cntlm version 0.35.1 for LITTLE endian
> cntlm: Proxy listening on 127.0.0.1:3128
> cntlm: Cannot resolve proxy xyz.network.int:8080, discarding.
> cntlm: Parent proxy address missing.

Upstream claims to have just fixed this in SVN:
https://sourceforge.net/tracker/?func=detail&atid=963162&aid=3026597&group_id=197861

SR

-- 
Stefano Rivera
  http://tumbleweed.org.za/
  H: +27 21 465 6908 C: +27 72 419 8559  UCT: x3127



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



Bug#643768: landell: diff for NMU version 0.92.1-1.1

2011-11-30 Thread Stefano Rivera
tags 643768 + pending
thanks

Dear maintainer,

I've prepared an NMU for landell (versioned as 0.92.1-1.1) and
uploaded it to DELAYED/10. Please feel free to tell me if I
should delay it longer.

Regards.
diff -u landell-0.92.1/debian/control landell-0.92.1/debian/control
--- landell-0.92.1/debian/control
+++ landell-0.92.1/debian/control
@@ -3,8 +3,8 @@
 Priority: optional
 Maintainer: Thadeu Lima de Souza Cascardo 
 Uploaders: Marcelo Jorge Vieira (metal) 
-Build-Depends: debhelper (>= 7),
-   python (>= 2.5)
+Build-Depends: debhelper (>= 7.0.50~),
+   python (>= 2.6.6-3~)
 Standards-Version: 3.9.2
 Homepage: http://landell.holoscopio.com
 Vcs-Git: http://git.holoscopio.com/git/sltv.git
@@ -27,8 +27,6 @@
  python-configobj (>= 4.5.2),
  python-gobject (>= 2.14.2),
  python-gtk2 (>= 2.16)
-XB-Python-Version: ${python:Versions}
-Provides: ${python:Provides}
 Description: audio and video streams manager
  Landell is an audio and video streamer that receives streams from sources
  and sends a stream using icecast. It has a graphical interface that
diff -u landell-0.92.1/debian/rules landell-0.92.1/debian/rules
--- landell-0.92.1/debian/rules
+++ landell-0.92.1/debian/rules
@@ -3 +3,4 @@
-	dh $@
+	dh $@ --with python2
+
+override_dh_python2:
+	dh_python2 /usr/lib/sltv
diff -u landell-0.92.1/debian/changelog landell-0.92.1/debian/changelog
--- landell-0.92.1/debian/changelog
+++ landell-0.92.1/debian/changelog
@@ -1,3 +1,10 @@
+landell (0.92.1-1.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Byte-compile Python modules (Closes: #643768)
+
+ -- Stefano Rivera   Wed, 30 Nov 2011 21:29:18 +0200
+
 landell (0.92.1-1) unstable; urgency=low
 
   * New Upstream Release


Bug#633273: python-visual: diff for NMU version 1:5.12-1.3

2011-11-30 Thread Stefano Rivera
tags 633273 + pending
thanks

Dear maintainer,

I've sponsored Evan's NMU for python-visual (versioned as 1:5.12-1.3)
and uploaded it to DELAYED/10. Please feel free to tell me if I should
delay it longer.

Regards.
diff -u python-visual-5.12/debian/control python-visual-5.12/debian/control
--- python-visual-5.12/debian/control
+++ python-visual-5.12/debian/control
@@ -2,7 +2,7 @@
 Section: python
 Priority: optional
 Maintainer: Jonas Smedegaard 
-Build-Depends: cdbs (>= 0.4.39), autotools-dev, devscripts (>= 2.10.7), quilt, patchutils (>= 0.2.25), python-all-dev (>= 2.3.5-11), python-central (>= 0.5.6), debhelper (>= 6), dh-buildinfo, python-numpy, libgtkglextmm-x11-1.2-dev (>= 1.2), libglibmm-2.4-dev, libpangomm-1.4-dev, libglademm-2.4-dev, libpango1.0-dev, libfreetype6-dev, libboost-python-dev, libboost-signals-dev, libboost-thread-dev, libglu1-mesa-dev | xlibmesa-glu-dev | libglu-dev, libxcb-render-util0-dev
+Build-Depends: cdbs (>= 0.4.39), autotools-dev, devscripts (>= 2.10.7), quilt, patchutils (>= 0.2.25), python-all-dev (>= 2.3.5-11), python-central (>= 0.5.6), debhelper (>= 6), dh-buildinfo, python-numpy, libgtkglextmm-x11-1.2-dev (>= 1.2), libglibmm-2.4-dev, libpangomm-1.4-dev, libglademm-2.4-dev, libpango1.0-dev, libfreetype6-dev, libboost-python-dev, libboost-signals-dev, libboost-thread-dev, libglu1-mesa-dev | xlibmesa-glu-dev | libglu-dev
 Standards-Version: 3.8.3
 XS-Python-Version: all
 Homepage: http://www.vpython.org
diff -u python-visual-5.12/debian/rules python-visual-5.12/debian/rules
--- python-visual-5.12/debian/rules
+++ python-visual-5.12/debian/rules
@@ -53,8 +53,8 @@
 boostver = 1.39
 
 # Drop development files
-post-install/$(mainpkg)::
-	find debian/$(mainpkg)/usr -regex '.*\.\(glade\|la\|so\)' -exec rm '{}' ';'
+install/$(mainpkg)::
+	find debian/$(mainpkg)/usr -regex '.*\.la' -exec rm '{}' ';'
 
 # Install vpython only as example
 binary-post-install/$(mainpkg)::
diff -u python-visual-5.12/debian/changelog python-visual-5.12/debian/changelog
--- python-visual-5.12/debian/changelog
+++ python-visual-5.12/debian/changelog
@@ -1,3 +1,14 @@
+python-visual (1:5.12-1.3) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Cleanup .la files before dh_pycentral runs; don't use non-existant
+post-install/% hook target; Closes: #633273
+  * Do not delete .so or .glade files
+  * Drop libxcb-render-util0-dev from b-d; not used directly by
+python-visual, and dropping it no longer causes FTBFS
+
+ -- Evan Broder   Tue, 29 Nov 2011 18:10:52 -0800
+
 python-visual (1:5.12-1.2) unstable; urgency=low
 
   * Non-maintainer upload.


Bug#643768: landell: diff for NMU version 0.92.1-1.1

2011-12-02 Thread Stefano Rivera
Hi Thadeu (2011.12.02_17:36:44_+0200)
> Go ahead and upload it. If you want, you may fix the other open bug too.

Thanks for the ack. Rescheduled it to a 0-day NMU. As this upload is
already done, I won't bother with the other bug :)

SR

-- 
Stefano Rivera
  http://tumbleweed.org.za/
  H: +27 21 465 6908 C: +27 72 419 8559  UCT: x3127



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



Bug#656289: Processed: notfixed 656289 in snort/2.9.2-1, notfound 656289 in snort/2.9.2-1

2012-01-29 Thread Stefano Rivera
Hi Javier (2012.01.28_19:05:26_+0200)
> Why is this not considered fixed? This was fixed with the upload of libdaq to
> unstable.

I was trying to get the bug tracking system to acknowledge that the
problem had been fixed, and snort should be allowed to migrate to
testing. As it was fixed it a different package, the bug hadn't been
marked as fixed in any particular version of snort, but was marked as
being broken in one version. This was blocking testing migration. (As
well as the daq dependency)

The BTS doesn't understand that a bug can be found in snort/2.9.2-1 and
fixed in snort/2.9.2-1, so I removed the "found in" annotation.

SR

-- 
Stefano Rivera
  http://tumbleweed.org.za/
  H: +27 21 465 6908 C: +27 72 419 8559  UCT: x3127



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



Bug#645917: ubuntu-dev-tools: Wrong variable name in mk-sbuild script

2011-10-19 Thread Stefano Rivera
tag 645917 + pending
thanks

> See the title and patch.

Committed in r1189. Thanks for the patch.

SR

-- 
Stefano Rivera
  http://tumbleweed.org.za/
  H: +27 21 465 6908 C: +27 72 419 8559  UCT: x3127



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



Bug#645762: requestsync: uses SMTP port (25) instead of submission port (587)

2011-10-19 Thread Stefano Rivera
severity 645762 wishlist
thanks

> Many ISPs block the SMTP port (25) by default, I would suggest that
> requestsync should by default use the submission port (587) as codified
> in RFC4409. This would require the Launchpad to first accept mail
> destined for Launchpad on that port.

requestsync can also use Launchpad's API, with the --lp flag (and in
general, this will give a far better experience).

This will use https (port 443), which is almost universally unblocked.

I think the right answer is to make --lp the default. I don't see any
particularly good reason for them to listen on the submission port.
requestsync is probably the only tool that mails launchpad directly.

SR

-- 
Stefano Rivera
  http://tumbleweed.org.za/
  H: +27 21 465 6908 C: +27 72 419 8559  UCT: x3127



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



Bug#645762: requestsync: uses SMTP port (25) instead of submission port (587)

2011-10-20 Thread Stefano Rivera
Hi Paul (2011.10.20_03:56:00_+0200)
> Will this require people to input their Launchpad credentials to submit
> sync requests? I guess many DDs will not have such credentials.

Yes. But launchpad already requires credentials. Although now you
mention it, I'm reminded of
https://bugs.launchpad.net/launchpad/+bug/252368
which would work for mail, but not the API.

I'll bring this up at the Debian Health check at UDS, next month.
https://blueprints.launchpad.net/ubuntu/+spec/community-p-debian

SR

-- 
Stefano Rivera
  http://tumbleweed.org.za/
  H: +27 21 465 6908 C: +27 72 419 8559  UCT: x3127



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



Bug#645958: Patch is wrong (sorry)

2011-10-20 Thread Stefano Rivera
Hi Laurent (2011.10.20_08:18:34_+0200)

BTW, you don't have to use reportbug to reply to this bug, you can just
reply to the e-mail. As long as a copy goes to 645...@bugs.debian.org,
it will be added to the bug page.

> I've forgot that we also can define a customized sources.list by using
> the TEMPLATE_SOURCES variable via the ~/.mk- (btw: not documented in
> the man).

Please feel free to provide patches for the manpages too :)

> for now, we can setup a customized sources.list in many ways:
> - via the ~/.mk-sbuild.rc file by using the TEMPLATE_SOURCES variable
> - via the ~/.mk-sbuild.sources

(which is just a default value for TEMPLATE_SOURCES)

> - via a specific distro based file, such as 
> ~/.mk-sbuild.sources.debian

Not yet, but with your patch, yes.

> My question here is: In which order we must treat these possibilities when
> several of them are being used?

I'd say the same order as TEMPLATE_CHROOTCONF + types:
 ${TEMPLATE_SOURCES}.${DISTRO}
 $TEMPLATE_SOURCES
(and $TEMPLATE_SOURCES has a default value)

Even better, if we can find a way to use the _MIRROR variables (in
.devscripts / environment) that other ubuntu-dev-tools packages use.
See ubuntu-dev-tools(5).

SR

-- 
Stefano Rivera
  http://tumbleweed.org.za/
  H: +27 21 465 6908 C: +27 72 419 8559  UCT: x3127



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



Bug#645958: Patch is wrong (sorry)

2011-12-21 Thread Stefano Rivera
Hi Declercq (2011.10.20_20:32:44_+0200)
> I'll inspect that too to see what you mean exactly.

Ping?

SR

-- 
Stefano Rivera
  http://tumbleweed.org.za/
  H: +27 21 465 6908 C: +27 72 419 8559  UCT: x3127



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



Bug#652000: /usr/bin/pbuilder-dist: pbuilder-dist ignores environment and has no way to set a custom pbuilderrc

2011-12-21 Thread Stefano Rivera
severity 652000 minor
thanks

Lowering the severity, as this is about a minorish feature of one script

Hi Karl (2011.12.18_01:20:16_+0200)
> Perhaps it shouldn't suggest using DEBOOTSTRAP option, if it simply
> ignores it. It certainly set me down a wrong path.

What's suggesting that?

> 10:08:38  kgoetz@epicfail: /tmp $ PBUILDFOLDER=/home/kgoetz/custom-pbuilder 
> /usr/local/bin/pbuilder-dist squeeze armel mainonly create
> /usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/sbin/:/usr/sbin/:/home/kgoetz/.bin/:/home/kgoetz
> W: /root/.pbuilderrc does not exist

You're being bitten by sudo's env_reset. This version of pbuilder-dist
didn't support it yet.

Newer versions pass HOME=$HOME to sudo.

SR

-- 
Stefano Rivera
  http://tumbleweed.org.za/
  H: +27 21 465 6908 C: +27 72 419 8559  UCT: x3127



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



Bug#652000: /usr/bin/pbuilder-dist: pbuilder-dist ignores environment and has no way to set a custom pbuilderrc

2011-12-26 Thread Stefano Rivera
Hi Karl (2011.12.22_00:31:33_+0200)
> > Lowering the severity, as this is about a minorish feature of one
> > script
> 
> Not finding the bootstraping script isn't really a minor problem in the
> script, its a blocker problem. I don't object to the severity drop
> though.

The bootstrapping script that wasn't packaged in squeeze :P

> pbuilder-dist, a few lines down from where you cut my paste below (Its
> possible I included it in a different email?)
> 
> [...]
> I: Logging to 
> /home/kgoetz/custom-pbuilder/squeeze-armel_result/last_operation.log
> I: Distribution is squeeze.
> I: Building the build environment
> I: running qemu-debootstrap
> E: qemu-debootstrap does not exist, install or change DEBOOTSTRAP option

Ah, that error is coming from pbuilder, just passed through
pbuilder-dist.

> Is there a newer version which doesn't require a newer devscripts, or
> will I have to try and backport devscripts to resolve this?

You can checkout the bzr repo, the pbuilder-dist script from trunk
should work on squeeze (although I can't say I've tested that...)

SR

-- 
Stefano Rivera
  http://tumbleweed.org.za/
  H: +27 21 465 6908 C: +27 72 419 8559  UCT: x3127



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



Bug#653384: src:feynmf: Non-functional build-arch and build-indep rules

2011-12-27 Thread Stefano Rivera
Package: src:feynmf
Version: 1.08-7
Severity: important

I quote from debian/rules:

build: build-stamp
...
# We have nothing to do by default.
build-indep:
# We have nothing to do by default.

The build-arch and build-indep rules don't do anything. This isn't a
problem right now, but will be, if we start using those rules.
Filing this at below RC level, as it isn't a violation of a "must" or
"requires" statement in policy.

SR



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



Bug#653383: src:chktex: Non-functional build-arch and build-indep rules

2011-12-27 Thread Stefano Rivera
Package: src:chktex
Version: 1.6.4-3
Severity: important

I quote from debian/rules:

build: build-stamp
...
build-arch:
build-indep:

The build-arch and build-indep rules don't do anything. This isn't a
problem right now, but will be, if we start using those rules.
Filing this at below RC level, as it isn't a violation of a "must" or
"requires" statement in policy.

SR

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing-proposed-updates
  APT policy: (500, 'testing-proposed-updates'), (500, 'unstable'), (500, 
'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.1.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_ZA.UTF-8, LC_CTYPE=en_ZA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash



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



Bug#652751: your mail

2011-12-27 Thread Stefano Rivera
tag 652751 - pending
thanks

The committed fix isn't going to work.

SR

-- 
Stefano Rivera
  http://tumbleweed.org.za/
  H: +27 21 465 6908 C: +27 72 419 8559  UCT: x3127



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



Bug#618026: ibid: Ibid 0.1.1 contains 3 security fixes

2011-09-20 Thread Stefano Rivera
Hi Adam (2011.09.17_18:09:13_+0200)
> If you're going to do that, you need to either (preferably) CC the
> receiving package on your mail, or send a separate mail.  What tends to
> happen (as in this case) is that the control@ reassign gets processed
> after the rest of the mail has been received and the new package only
> gets the control@ output with no other information.

Fair point, thanks :)

> One quick question - doesn't this change:
> 
> +- logfile-visibility-567576.patch: Channels must be explicitly configured
> +  to have publicly readable logs. (LP: #567576)
> 
> have the potential to at least confuse users who are expecting the logs
> to be created in a publicly readable manner?

Yes. This was the simplest fix to the problem, and probably how things
should have been from the start.
I don't think there is a regression-free fix to the bug, as the bot
cannot know whether it is speaking to a public channel or a private
message, when it speaks first. (Even on IRC, not all channels are
required to have names starting with #)

SR

-- 
Stefano Rivera
  http://tumbleweed.org.za/
  H: +27 21 465 6908 C: +27 72 419 8559  UCT: x3127



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



Bug#642211: KeyError: 'job-originating-user-name'

2011-09-20 Thread Stefano Rivera
Package: system-config-printer
Version: 1.2.3-3
Severity: normal
Tags: patch upstream

Hi, I use a printer via a central CUPS server that requires
authentication.

system-config-printer doesn't display the authentication dialog,
because it misses the job notification:
| Traceback (most recent call last):
|   File "/usr/share/system-config-printer/monitor.py", line 439, in 
get_notifications
| attrs['job-originating-user-name'] != cups.getUser ()):
| KeyError: 'job-originating-user-name'

It looks like Ubuntu had a workaround patch for this (LP: #827573)
http://bazaar.launchpad.net/~ubuntu-branches/ubuntu/oneiric/system-config-printer/oneiric/view/195/debian/patches/25_fix-key-error-in-get-notifications-job-originating-user-name.patch

Upstream Patch: 
http://git.fedorahosted.org/git/?p=system-config-printer.git;a=commitdiff;h=2392fe087d83731db36583971b5e1ea8d6faef9d

SR

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'testing-proposed-updates'), (500, 
'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.39-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_ZA.UTF-8, LC_CTYPE=en_ZA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages system-config-printer depends on:
ii  gnome-icon-theme3.0.0-4 
ii  python  2.6.7-3 
ii  python-cups 1.9.48-1+b1 
ii  python-cupshelpers  1.2.3-3 
ii  python-dbus 0.84.0-2
ii  python-glade2   2.24.0-2
ii  python-gnome2   2.28.1-3
ii  python-gtk2 2.24.0-2
ii  python-libxml2  2.7.8.dfsg-4
ii  python-notify   0.1.1-3 
ii  python-support  1.0.14  

Versions of packages system-config-printer recommends:
ii  cups-pk-helper  0.1.2-1
ii  system-config-printer-udev  1.2.3-3

Versions of packages system-config-printer suggests:
pn  python-gnomekeyring  2.32.0-1+b1
pn  python-smbc   
pn  sessioninstaller  

-- 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#642213: Get-Printer-Attributes: cups-authorization-canceled (Unauthorized)

2011-09-20 Thread Stefano Rivera
Package: cups
Version: 1.5.0-6
Severity: normal

Hi,

I print through a central cups server that requires authentication. This
has worked fine in the past (last successfully printed on 15 Aug 2011).

I notice today that I cannot print, because CUPS doesn't seem to
retrieve my printer's status. In the process, I also filed Bug #642211
against system-config-printer.

I see a lot of the following in my error_log (when I enable debugging):
D [20/Sep/2011:15:00:14 +0200] [Job 530] Getting supported attributes...
D [20/Sep/2011:15:00:14 +0200] [Job 530] Get-Printer-Attributes: 
server-error-internal-error (Unknown)
D [20/Sep/2011:15:00:14 +0200] [Job 530] Get-Printer-Attributes returned 
server-error-internal-error.
E [20/Sep/2011:15:00:14 +0200] [Job 530] Unable to get printer status.

SR

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'testing-proposed-updates'), (500, 
'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.39-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_ZA.UTF-8, LC_CTYPE=en_ZA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages cups depends on:
ii  adduser3.113   
ii  bc 1.06.95-2+b1
ii  cups-client1.5.0-6 
ii  cups-common1.5.0-5 
ii  cups-ppdc  1.5.0-5 
ii  debconf [debconf-2.0]  1.5.40  
ii  ghostscript9.02~dfsg-3 
ii  libavahi-client3   0.6.30-5
ii  libavahi-common3   0.6.30-5
ii  libc6  2.13-18 
ii  libcups2   1.5.0-5 
ii  libcupscgi11.5.0-5 
ii  libcupsdriver1 1.5.0-5 
ii  libcupsimage2  1.5.0-5 
ii  libcupsmime1   1.5.0-5 
ii  libcupsppdc1   1.5.0-5 
ii  libdbus-1-31.4.14-1
ii  libgcc11:4.6.1-4   
ii  libgnutls262.12.7-8
ii  libgssapi-krb5-2   1.9.1+dfsg-1+b1 
ii  libijs-0.350.35-8  
ii  libkrb5-3  1.9.1+dfsg-1+b1 
ii  liblcms1   1.19.dfsg-1 
ii  libldap-2.4-2  2.4.25-3
ii  libpam0g   1.1.3-2 
ii  libpaper1  1.1.24+nmu1 
ii  libpoppler13   0.16.7-2
ii  libslp11.2.1-7.8   
ii  libstdc++6 4.6.1-4 
ii  libusb-0.1-4   2:0.1.12-19 
ii  lsb-base   3.2-28  
ii  poppler-utils  0.16.7-2
ii  procps 1:3.2.8-11  
ii  ssl-cert   1.0.28  
ii  ttf-freefont   20100919-1  
ii  zlib1g 1:1.2.3.4.dfsg-3

Versions of packages cups recommends:
ii  avahi-daemon0.6.30-5   
ii  colord  0.1.11-1   
ii  cups-driver-gutenprint  5.2.7-2
ii  foomatic-filters4.0.9-1
ii  ghostscript-cups9.02~dfsg-3

Versions of packages cups suggests:
ii  cups-bsd   1.5.0-6
ii  cups-pdf
ii  foomatic-db-compressed-ppds [foomatic-db]  20110803-3 
ii  hplip  3.11.5-1.1 
ii  smbclient  2:3.5.11~dfsg-1
ii  udev   172-1  

-- Configuration Files:
/etc/cups/cupsd.conf changed [not included] (enabled debugging)

-- debconf information excluded



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



Bug#618026: ibid: Ibid 0.1.1 contains 3 security fixes

2011-09-21 Thread Stefano Rivera
Hi Adam (2011.09.20_20:08:41_+0200)
> Yeah, I can see the problem.  I just wonder if there's some way we can
> reduce the number of "why can't I see my logs any more" bugs as a result
> (preferably to none).

There are few users that we know about, so I'm not massively concerned
about this. Happy to add a NEWS entry, though.

> We could mention it explicitly in the point release announcement mail,
> but I'm not sure how many people actually read those.

Don't think it's worth them mention, given what we know about our
user base.

SR

-- 
Stefano Rivera
  http://tumbleweed.org.za/
  H: +27 21 465 6908 C: +27 72 419 8559  UCT: x3127



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



Bug#642902: lintian: source filenames don't have unpack path stripped when checking overrides

2011-09-25 Thread Stefano Rivera
Package: lintian
Version: 2.5.3
Severity: normal

P: re2 source: source-contains-svn-conflict-file 
/tmp/s7W6UeV63q/source/re2/0+hg68+dfsg-1/source/unpacked/benchlog/benchlog.r70
I: re2 source: unused-override source-contains-svn-conflict-file 
benchlog/benchlog.r70

It can be worked-around with a wildcard, though:
re2 source: source-contains-svn-conflict-file */benchlog/benchlog.r70

SR

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing-proposed-updates
  APT policy: (500, 'testing-proposed-updates'), (500, 'unstable'), (500, 
'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.0.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_ZA.UTF-8, LC_CTYPE=en_ZA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages lintian depends on:
ii  binutils   2.21.53.20110910-1
ii  bzip2  1.0.5-7   
ii  diffstat   1.54-1
ii  file   5.08-1
ii  gettext0.18.1.1-4
ii  intltool-debian0.35.0+20060710.1 
ii  libapt-pkg-perl0.1.24+b2 
ii  libclass-accessor-perl 0.34-1
ii  libdpkg-perl   1.16.1
ii  libemail-valid-perl0.185-1   
ii  libipc-run-perl0.90-1
ii  libparse-debianchangelog-perl  1.2.0-1   
ii  libtimedate-perl   1.2000-1  
ii  liburi-perl1.59-1
ii  locales2.13-21   
ii  man-db 2.6.0.2-2 
ii  patchutils 0.3.2-1   
ii  perl [libdigest-sha-perl]  5.12.4-4  
ii  unzip  6.0-5 

lintian recommends no packages.

Versions of packages lintian suggests:
ii  binutils-multiarch
ii  dpkg-dev   1.16.1   
ii  libhtml-parser-perl3.68-1+b1
ii  libtext-template-perl  1.45-2   
ii  man-db 2.6.0.2-2
ii  xz-utils   5.1.1alpha+20110809-2

-- 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#642824: mk-sbuild: "admin" group does not exist on Debian

2011-09-25 Thread Stefano Rivera
tags 642824 + pending
thanks

Hi Ansgar (2011.09.25_11:52:58_+0200)
> As the "admin" group does not exist on Debian, please only add it
> there on Ubuntu system.

Yes, this irritates me too. Thanks for prodding me to fix it.
Fixed in r1181

SR

-- 
Stefano Rivera
  http://tumbleweed.org.za/
  H: +27 21 465 6908 C: +27 72 419 8559  UCT: x3127



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



Bug#642902: lintian: source filenames don't have unpack path stripped when checking overrides

2011-09-25 Thread Stefano Rivera
Hi Adam (2011.09.25_18:35:56_+0200)
> Does this occur with other tags?  It looks like a symptom of a problem
> with the checks from the "cruft" script, which was fixed recently (but
> not yet released), in 890284d.

Ah, yes jwilk also pointed me to that commit on IRC. I hadn't noticed
it when I checked the git log but, yes, the current git HEAD doesn't
exhibit this bug.

SR

-- 
Stefano Rivera
  http://tumbleweed.org.za/
  H: +27 21 465 6908 C: +27 72 419 8559  UCT: x3127



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



Bug#632133: avbin: FTBFS with Libav 0.7

2011-09-25 Thread Stefano Rivera
Hi Reinhard (2011.06.29_21:12:49_+0200)
>   * Remove usage of deprecated APIs to work with Libav 0.7

This patch looks incomplete, it uses functions that aren't in libav 0.7.

I made the following changes, to attempt to fix it, but it still
segfaults if I try to use it. The following av_dict_gets return NULL:
> +result = av_dict_get(file->format_options, "title", NULL, 0);
> +strncpy(info->title, result->value, sizeof(info->title));

Anyway, here are my incomplete and totally untested additions:

diff -u avbin-7/src/avbin.c avbin-7/src/avbin.c
--- avbin-7/src/avbin.c
+++ avbin-7/src/avbin.c
@@ -124,7 +124,7 @@
 AVbinFile *avbin_open_filename(const char *filename)
 {
 AVbinFile *file = malloc(sizeof *file);
-if (av_open_input(&file->context, filename, NULL, &file->format_options) 
!= 0)
+if (avformat_open_input(&file->context, filename, NULL, 
&file->format_options) < 0)
 goto error;
 
 if (av_find_stream_info(file->context) < 0)
@@ -321,9 +321,13 @@
 if (stream->type != AVMEDIA_TYPE_AUDIO)
 return AVBIN_RESULT_ERROR;
 
-used = avcodec_decode_audio2(stream->codec_context, 
+AVPacket avpkt;
+av_init_packet(&avpkt);
+avpkt.data = data_in;
+avpkt.size = size_in;
+used = avcodec_decode_audio3(stream->codec_context, 
  (int16_t *) data_out, size_out,
- data_in, size_in);
+ &avpkt);
 
 if (used < 0)
 return AVBIN_RESULT_ERROR;
@@ -344,9 +348,15 @@
 if (stream->type != AVMEDIA_TYPE_VIDEO)
 return AVBIN_RESULT_ERROR;
 
-used = avcodec_decode_video(stream->codec_context, 
-stream->frame, &got_picture,
-data_in, size_in);
+AVPacket avpkt;
+av_init_packet(&avpkt);
+avpkt.data = data_in;
+avpkt.size = size_in;
+// HACK for CorePNG to decode as normal PNG by default
+avpkt.flags = AV_PKT_FLAG_KEY;
+used = avcodec_decode_video2(stream->codec_context, 
+ stream->frame, &got_picture,
+     &avpkt);
 if (!got_picture)
 return AVBIN_RESULT_ERROR;
 

SR

-- 
Stefano Rivera
  http://tumbleweed.org.za/
  H: +27 21 465 6908 C: +27 72 419 8559  UCT: x3127



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



Bug#632133: avbin: FTBFS with Libav 0.7

2011-09-26 Thread Stefano Rivera
Hi Stefano (2011.09.25_22:33:46_+0200)
> Anyway, here are my incomplete and totally untested additions

Had some more time to look at it. Final version, as uploaded to Ubuntu,
attached.

SR

-- 
Stefano Rivera
  http://tumbleweed.org.za/
  H: +27 21 465 6908 C: +27 72 419 8559  UCT: x3127
diff --git a/debian/changelog b/debian/changelog
index af5f478..288e3b2 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+avbin (7-1.1ubuntu2) oneiric; urgency=low
+
+  * Further libav 0.7 deprecated API removal (LP: #859189)
+
+ -- Stefano Rivera   Mon, 26 Sep 2011 16:24:22 +0200
+
 avbin (7-1.1ubuntu1) oneiric; urgency=low
 
   * Remove usage of deprecated APIs to work with Libav 0.7
diff --git a/src/avbin.c b/src/avbin.c
index 1e26831..cbe76e4 100644
--- a/src/avbin.c
+++ b/src/avbin.c
@@ -33,7 +33,6 @@
 
 struct _AVbinFile {
 AVFormatContext *context;
-AVDictionary *format_options;
 AVPacket *packet;
 };
 
@@ -124,7 +123,8 @@ AVbinResult avbin_set_log_callback(AVbinLogCallback callback)
 AVbinFile *avbin_open_filename(const char *filename)
 {
 AVbinFile *file = malloc(sizeof *file);
-if (av_open_input(&file->context, filename, NULL, &file->format_options) != 0)
+file->context = avformat_alloc_context();
+if (avformat_open_input(&file->context, filename, NULL, NULL) < 0)
 goto error;
 
 if (av_find_stream_info(file->context) < 0)
@@ -179,29 +179,37 @@ AVbinResult avbin_file_info(AVbinFile *file, AVbinFileInfo *info)
 info->start_time = file->context->start_time;
 info->duration = file->context->duration;
 
-result = av_dict_get(file->format_options, "title", NULL, 0);
-strncpy(info->title, result->value, sizeof(info->title));
+result = av_dict_get(file->context->metadata, "title", NULL, 0);
+if (result)
+strncpy(info->title, result->value, sizeof(info->title));
 
-result = av_dict_get(file->format_options, "artist", NULL, 0);
-strncpy(info->author, result->value, sizeof(info->author));
+result = av_dict_get(file->context->metadata, "artist", NULL, 0);
+if (result)
+strncpy(info->author, result->value, sizeof(info->author));
 
-result = av_dict_get(file->format_options, "copyright", NULL, 0);
-strncpy(info->copyright, result->value, sizeof(info->copyright));
+result = av_dict_get(file->context->metadata, "copyright", NULL, 0);
+if (result)
+strncpy(info->copyright, result->value, sizeof(info->copyright));
 
-result = av_dict_get(file->format_options, "comment", NULL, 0);
-strncpy(info->comment, result->value, sizeof(info->comment));
+result = av_dict_get(file->context->metadata, "comment", NULL, 0);
+if (result)
+strncpy(info->comment, result->value, sizeof(info->comment));
 
-result = av_dict_get(file->format_options, "album", NULL, 0);
-strncpy(info->album, result->value, sizeof(info->album));
+result = av_dict_get(file->context->metadata, "album", NULL, 0);
+if (result)
+strncpy(info->album, result->value, sizeof(info->album));
 
-result = av_dict_get(file->format_options, "year", NULL, 0);
-info->year = strtol(result->value, NULL, 10);
+result = av_dict_get(file->context->metadata, "year", NULL, 0);
+if (result)
+info->year = strtol(result->value, NULL, 10);
 
-result = av_dict_get(file->format_options, "track", NULL, 0);
-info->track = strtol(result->value, NULL, 10);
+result = av_dict_get(file->context->metadata, "track", NULL, 0);
+if (result)
+info->track = strtol(result->value, NULL, 10);
 
-result = av_dict_get(file->format_options, "genre", NULL, 0);
-strncpy(info->genre, result->value, sizeof(info->genre));
+result = av_dict_get(file->context->metadata, "genre", NULL, 0);
+if (result)
+strncpy(info->genre, result->value, sizeof(info->genre));
 
 return AVBIN_RESULT_OK;
 }
@@ -321,9 +329,13 @@ int avbin_decode_audio(AVbinStream *stream,
 if (stream->type != AVMEDIA_TYPE_AUDIO)
 return AVBIN_RESULT_ERROR;
 
-used = avcodec_decode_audio2(stream->codec_context, 
+AVPacket avpkt;
+av_init_packet(&avpkt);
+avpkt.data = data_in;
+avpkt.size = size_in;
+used = avcodec_decode_audio3(stream->codec_context, 
  (int16_t *) data_out, size_out,
- data_in, size_in);
+ &avpkt);
 
 if (used < 0)
 return AVBIN_RESULT_ERROR;
@@ -344,9 +356,15 @@ int avbin_decode_video(AVbinStream *stre

Bug#616483: python-launchpadlib: bump lazr.restfulclient dependency

2011-03-04 Thread Stefano Rivera
Package: python-launchpadlib
Version: 1.8.0-2
Severity: normal

$ requestsync --lp python-html2text
Traceback (most recent call last):
  File "/usr/bin/requestsync", line 328, in 
main()
  File "/usr/bin/requestsync", line 139, in main
from ubuntutools.requestsync.lp import (checkExistingReports,
  File "/usr/lib/python2.6/dist-packages/ubuntutools/requestsync/lp.py", line 
25, in 
from ubuntutools.lp.lpapicache import (Launchpad, Distribution, PersonTeam,
  File "/usr/lib/python2.6/dist-packages/ubuntutools/lp/lpapicache.py", line 
29, in 
from launchpadlib.launchpad import Launchpad as LP
  File "/usr/lib/python2.6/dist-packages/launchpadlib/launchpad.py", line 32, 
in 
from lazr.restfulclient.resource import (
ImportError: cannot import name ScalarValue

Looks like a newer lazr.restfulclient is required.

SR

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

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

Versions of packages python-launchpadlib depends on:
ii  python  2.6.6-3+squeeze5 interactive high-level object-orie
ii  python-httplib2 0.6.0-4  comprehensive HTTP client library 
ii  python-keyring  0.2-3store and access your passwords sa
ii  python-lazr.restfulclie 0.9.21-1 client for lazr.restful-based web 
ii  python-lazr.uri 1.0.2-2  library for parsing, manipulating,
ii  python-oauth1.0.1-2  Python library implementing of the
ii  python-pkg-resources0.6.14-5 Package Discovery and Resource Acc
ii  python-simplejson   2.1.3-1  simple, fast, extensible JSON enco
ii  python-wadllib  1.1.4-2  Python library for navigating WADL
ii  python2.5   2.5.5-11 An interactive high-level object-o
ii  python2.6   2.6.6-8+b1   An interactive high-level object-o

python-launchpadlib recommends no packages.

python-launchpadlib 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#616477: ubuntu-dev-tools: requestsync requires python-launchpadlib >= 1.9

2011-03-04 Thread Stefano Rivera
Hi Lionel (2011.03.04_21:53:16_+0200)
> With python-launchpadlib from sid (1.8.0-2), requestsync --lp doesn't work 
> fine
> anymore: it keeps asking for launchpad credentials at each use, even if I
> choose the "Allow until I disable it" option on LP. I tried to clear
> $HOME/.launchpadlib and $HOME/.cache/lp_credentials, but it didn't help.

Hmm, that's surprising. I do most of my ubuntu-dev-tools development on
Debian, and was pretty sure that our launchpadlib 1.9 changes were still
compatible with 1.6.2.

I never checked 1.8, though, didn't realize it had hit unstable. (It has
serious issues, see https://bugs.launchpad.net/launchpadlib/+bug/686690)
I guess I should team upload 1.9 ASAP.

You wouldn't get the "Allow until I disable it" option with 1.6, only
the old read-only/writable public/private options.

Testing now with 1.8 lanuchpadlib from unstable, I ran into #616483, and
could also confirm your issue

SR

-- 
Stefano Rivera
  http://tumbleweed.org.za/
  H: +27 21 465 6908 C: +27 72 419 8559  UCT: x3127



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



Bug#616483: python-launchpadlib: bump lazr.restfulclient dependency

2011-03-04 Thread Stefano Rivera
Hi Stefano (2011.03.04_22:27:39_+0200)
> Looks like a newer lazr.restfulclient is required.

And a newer lazr.uri

-- 
Stefano Rivera
  http://tumbleweed.org.za/
  H: +27 21 465 6908 C: +27 72 419 8559  UCT: x3127



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



Bug#616484: python-launchpadlib: doesn't persist credentials

2011-03-04 Thread Stefano Rivera
Package: python-launchpadlib
Version: 1.8.0-2
Severity: serious

This bug is mostly to block 1.8.0 reaching testing.

launchpadlib 1.8.0 doesn't save credentials reliably (see
https://bugs.launchpad.net/launchpadlib/+bug/686690 which resulted in
the upstream 1.9 release, and temporary reversion to 1.6 in Ubuntu).

This is the cause of #616477.

SR

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

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

Versions of packages python-launchpadlib depends on:
ii  python  2.6.6-3+squeeze5 interactive high-level object-orie
ii  python-httplib2 0.6.0-4  comprehensive HTTP client library 
ii  python-keyring  0.2-3store and access your passwords sa
ii  python-lazr.restfulclie 0.11.2-1 client for lazr.restful-based web 
ii  python-lazr.uri 1.0.2-4  library for parsing, manipulating,
ii  python-oauth1.0.1-2  Python library implementing of the
ii  python-pkg-resources0.6.14-5 Package Discovery and Resource Acc
ii  python-simplejson   2.1.3-1  simple, fast, extensible JSON enco
ii  python-wadllib  1.1.4-2  Python library for navigating WADL
ii  python2.5   2.5.5-11 An interactive high-level object-o
ii  python2.6   2.6.6-8+b1   An interactive high-level object-o

python-launchpadlib recommends no packages.

python-launchpadlib 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#616483: python-launchpadlib: bump lazr.restfulclient dependency

2011-03-04 Thread Stefano Rivera
Hi Luca (2011.03.04_22:42:43_+0200)
> unstable has 0.11.2-1 and 1.0.2-4, could you please check whether those
> versions solve this issue?

Yes, sorry, should have said that. However launchpadlib 1.8 is broken in
otherways, see the RC bug just filed (no number yet).

SR

-- 
Stefano Rivera
  http://tumbleweed.org.za/
  H: +27 21 465 6908 C: +27 72 419 8559  UCT: x3127



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



Bug#616650: python-tz: New upstream version: 2011b. Includes py3k support

2011-03-06 Thread Stefano Rivera
Package: python-tz
Version: 2010b-1
Severity: wishlist
Tags: patch

2011b includes Python3 support.

It isn't trivial to build python2 + python3 packages with debhelper yet,
but it's easy enough.

Here's an example approach using dh_python3 (and dh_python2, which
replaces the need for van.pydeb and the deprecated pycentral).

SR

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

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

Versions of packages python-tz depends on:
ii  python  2.6.6-3+squeeze5 interactive high-level object-orie
ii  python-central  0.6.16+nmu1  register and build utility for Pyt
ii  tzdata  2011b-2  time zone and daylight-saving time

python-tz recommends no packages.

python-tz suggests no packages.

-- no debconf information
Index: debian/control
===
--- debian/control	(revision 2156)
+++ debian/control	(working copy)
@@ -2,23 +2,42 @@
 Section: python
 Priority: optional
 Maintainer: Debian/Ubuntu Zope Team 
-Uploaders: Brian Sutherland , Fabio Tranchitella 
-Build-Depends: debhelper (>= 7.0.50~), python-all-dev (>= 2.3.5-11), python-central (>= 0.5.6), python-setuptools (>= 0.6b3), python-van.pydeb (>= 1.3.0-4), quilt (>= 0.46-7)
+Uploaders:
+ Brian Sutherland ,
+ Fabio Tranchitella 
+Build-Depends:
+ debhelper (>= 7.0.50~),
+ python-all (>= 2.6.6-3~),
+ python-setuptools (>= 0.6b3),
+ python3-all,
+ python3-setuptools,
+ quilt (>= 0.46-7)
 Standards-Version: 3.8.3
 Homepage: http://pypi.python.org/pypi/pytz/
-XS-Python-Version: all
-XS-Vcs-Svn: svn://svn.debian.org/svn/pkg-zope/python-tz/trunk
+X-Python-Version: >= 2.3
+X-Python3-Version: >= 3.1
+Vcs-Svn: svn://svn.debian.org/svn/pkg-zope/python-tz/trunk
+Vcs-Browser: http://svn.debian.org/viewsvn/pkg-zope/python-tz/trunk
 
 Package: python-tz
 Architecture: all
-Depends: tzdata, ${pydeb:Depends}, ${python:Depends}, ${misc:Depends}
-Recommends: ${pydeb:Recommends}
-Provides: ${pydeb:Provides}, ${python:Provides}
-Suggests: ${pydeb:Suggests}
-XB-Python-Version: ${python:Versions}
+Depends: tzdata, ${misc:Depends}, ${python:Depends}
+Breaks: ${python:Breaks}
 Description: Python version of the Olson timezone database
  python-tz brings the Olson tz database into Python. This library allows
  accurate and cross platform timezone calculations using Python 2.3 or higher.
  It also solves the issue of ambiguous times at the end of daylight savings,
  which you can read more about in the Python Library Reference
  (datetime.tzinfo).
+
+Package: python3-tz
+Architecture: all
+Depends: tzdata, ${misc:Depends}, ${python3:Depends}
+Description: Python3 version of the Olson timezone database
+ python-tz brings the Olson tz database into Python. This library allows
+ accurate and cross platform timezone calculations using Python 2.3 or higher.
+ It also solves the issue of ambiguous times at the end of daylight savings,
+ which you can read more about in the Python Library Reference
+ (datetime.tzinfo).
+ .
+ This package contains the Python 3 version of the library.
Index: debian/test-pytz
===
--- debian/test-pytz	(revision 2156)
+++ debian/test-pytz	(working copy)
@@ -13,5 +13,5 @@
 tests += mod_tests
 
 if not errors:
-print "Ran %s tests successfully." % tests
+print("Ran %s tests successfully." % tests)
 sys.exit(errors)
Index: debian/watch
===
--- debian/watch	(revision 2156)
+++ debian/watch	(working copy)
@@ -1,2 +1,2 @@
 version=3
-http://pypi.python.org/pypi/pytz http://pypi.python.org/packages/source/p/pytz/pytz-(.*).tar.gz#md5=.*
+http://pypi.python.org/packages/source/p/pytz/pytz-(.+).zip
Index: debian/changelog
===
--- debian/changelog	(revision 2156)
+++ debian/changelog	(working copy)
@@ -1,3 +1,10 @@
+python-tz (2011b-1) UNRELEASED; urgency=low
+
+  * Non-maintainer upload.
+  * Python3 support.
+
+ -- Stefano Rivera   Sun, 06 Mar 2011 11:25:51 +0200
+
 python-tz (2010b-1) unstable; urgency=low
 
   * New upstream release.
Index: debian/copyright
===
--- debian/copyright	(revision 2156)
+++ debian/copyright	(working copy)
@@ -39,7 +39,7 @@
 
 And the automatic generation code license is:
 
-Copyright (c) 2003-2008 Stuart Bishop 
+Copyright (c) 2003-2009 Stuart Bishop 
 
 Permission is hereby granted, free of charge, to any person obtaining a
 copy of this software and associated documentation files (the "Software"),
Ind

Bug#617238: pu: package mediawiki-extensions/2.3squeeze1

2011-03-07 Thread Stefano Rivera
Package: release.debian.org
Severity: normal
User: release.debian@packages.debian.org
Usertags: pu

Hi, I NMUed a PHP5.3 compatibility fix for RC bug #612227. 2.3+nmu1 has
since made its way into testing, without any reported issues.

Please consider this identical update for squeeze.

SR

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'testing-proposed-updates'), (500, 
'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_ZA.UTF-8, LC_CTYPE=en_ZA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -Nru mediawiki-extensions-2.3/debian/changelog 
mediawiki-extensions-2.3squeeze1/debian/changelog
--- mediawiki-extensions-2.3/debian/changelog   2010-07-03 15:06:10.0 
+0200
+++ mediawiki-extensions-2.3squeeze1/debian/changelog   2011-03-07 
14:13:32.0 +0200
@@ -1,3 +1,11 @@
+mediawiki-extensions (2.3squeeze1) stable; urgency=low
+
+  * Non-maintainer upload.
+  * php53_confirmedit.patch: PHP5.3 compatibility fixes for ConfirmEdit.
+    (Closes: #612227)
+
+ -- Stefano Rivera   Mon, 07 Mar 2011 14:04:51 +0200
+
 mediawiki-extensions (2.3) unstable; urgency=low
 
   * debian/control: add Vcs-SVN and Vcs-Browser
diff -Nru mediawiki-extensions-2.3/debian/patches/php53_confirmedit.patch 
mediawiki-extensions-2.3squeeze1/debian/patches/php53_confirmedit.patch
--- mediawiki-extensions-2.3/debian/patches/php53_confirmedit.patch 
1970-01-01 02:00:00.0 +0200
+++ mediawiki-extensions-2.3squeeze1/debian/patches/php53_confirmedit.patch 
2011-02-14 09:32:41.0 +0200
@@ -0,0 +1,61 @@
+Description: PHP 5.3 compatibility fixes for ConfirmEdit.
+Origin:
+ http://www.mediawiki.org/wiki/Special:Code/MediaWiki/53461
+ http://www.mediawiki.org/wiki/Special:Code/MediaWiki/55449
+Bug-Debian: http://bugs.debian.org/612267
+Bug-Wikimedia: https://bugzilla.wikimedia.org/show_bug.cgi?id=20383
+Last-Update: 2011-02-14
+--- 
a/dist/mediawiki-extensions-confirmedit/usr/share/mediawiki-extensions/confirmedit/ConfirmEdit_body.php
 
b/dist/mediawiki-extensions-confirmedit/usr/share/mediawiki-extensions/confirmedit/ConfirmEdit_body.php
+@@ -15,15 +15,15 @@
+   return $wgCaptcha;
+   }
+ 
+-  static function confirmEdit( &$editPage, $newtext, $section ) {
++  static function confirmEdit( $editPage, $newtext, $section ) {
+   return self::getInstance()->confirmEdit( $editPage, $newtext, 
$section );
+   }
+ 
+-  static function confirmEditMerged( &$editPage, $newtext ) {
++  static function confirmEditMerged( $editPage, $newtext ) {
+   return self::getInstance()->confirmEditMerged( $editPage, 
$newtext );
+   }
+   
+-  static function confirmEditAPI( &$editPage, $newtext, &$resultArr ) {
++  static function confirmEditAPI( $editPage, $newtext, &$resultArr ) {
+   return self::getInstance()->confirmEditAPI( $editPage, 
$newtext, $resultArr );
+   }
+ 
+@@ -458,7 +458,7 @@
+* Backend function for confirmEdit() and confirmEditAPI()
+* @return bool false if the CAPTCHA is rejected, true otherwise
+*/
+-  private function doConfirmEdit( &$editPage, $newtext, $section, $merged 
= false ) {
++  private function doConfirmEdit( $editPage, $newtext, $section, $merged 
= false ) {
+   if( $this->shouldCheck( $editPage, $newtext, $section, $merged 
) ) {
+   if( $this->passCaptcha() ) {
+   return true;
+@@ -479,7 +479,7 @@
+* @param bool $merged
+* @return bool true to continue saving, false to abort and show a 
captcha form
+*/
+-  function confirmEdit( &$editPage, $newtext, $section, $merged = false ) 
{
++  function confirmEdit( $editPage, $newtext, $section, $merged = false ) {
+   if( defined('MW_API') ) {
+   # API mode
+   # The CAPTCHA was already checked and approved 
+@@ -497,12 +497,12 @@
+* @param EditPage $editPage
+* @param string $newtext
+*/
+-  function confirmEditMerged( &$editPage, $newtext ) {
++  function confirmEditMerged( $editPage, $newtext ) {
+   return $this->confirmEdit( $editPage, $newtext, false, true );
+   }
+   
+   
+-  function confirmEditAPI( &$editPage, $newtext, &$resultArr) {
++  function confirmEditAPI( $editPage, $newtext, &$resultArr) {
+   if( !$this->doConfirmEdit( $editPage, $newtext, false, false ) 
) {
+   $this->addCaptchaAPI($resultArr);
+   return false;
diff -Nru mediawiki-extensions-2.3/debian/patches/series 
mediawiki-extensions-2.3squeeze1/debian/patches/series
--- mediawiki-extensions-2.3/debian/patches/series  

Bug#617966: pypar2 fails to start under Python 2.7

2011-03-12 Thread Stefano Rivera
Package: pypar2
Version: 1.4-5
Severity: normal
Tags: patch
User: debian-pyt...@lists.debian.org
Usertag: python2.7

From
https://bugs.launchpad.net/ubuntu/+source/pypar2/+bug/719708

Under Python 2.7:

Traceback (most recent call last):
  File "/usr/bin/pypar2", line 20, in 
import consts, dlgAbout, dlgOutput, gettext, gtk, gtk.glade, locale, 
os.path, prefsManager, sys, treeview
  File "/usr/share/pypar2/src/dlgOutput.py", line 19, in 
import consts, gtk, prefsManager, signal, sys, os, vte
  File "/usr/share/pypar2/src/prefsManager.py", line 116, in 
value   = typeToolBox.cast(elt.getAttribute('value'), 
elt.getAttribute('type'))
  File "/usr/share/pypar2/src/typeToolBox.py", line 39, in cast
return int(value)
ValueError: invalid literal for int() with base 10: 'False'

This happens on the second execution of the program, because it has saved an
incorrect preferences file containing:



Under Python 2.7, the dict in typeToolBox.py appears to change iteration
order. One can't rely on the order of the iteration of a dictionary
(unless you use the new OrderedDict).

Here's a trivial patch to use a list of tuples instead.

SR

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

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

Versions of packages pypar2 depends on:
ii  par20.4-11   Parity Archive Volume Set, for che
ii  python  2.6.6-3+squeeze5 interactive high-level object-orie
ii  python-glade2   2.17.0-4 GTK+ bindings: Glade support
ii  python-gtk2 2.17.0-4 Python bindings for the GTK+ widge
ii  python-support  1.0.11   automated rebuilding support for P
ii  python-vte  1:0.24.3-2   Python bindings for the VTE widget

pypar2 recommends no packages.

pypar2 suggests no packages.

-- no debconf information
--- a/src/typeToolBox.py
+++ b/src/typeToolBox.py
@@ -20,14 +20,14 @@
 
 # Supported types
 # 'bool' type must be placed *before* 'int' type, otherwise booleans are detected as integers
-types = {bool : 'bool', int : 'int', str : 'str'}
+types = [(bool, 'bool'), (int, 'int'), (str, 'str')]
 
 
 # Return a String with the type of value
 def getType(value) :
-for type in types.keys() :
+for type, name in types:
 if isinstance(value, type) :
-return types[type]
+return name
 raise TypeError, str(value) + _(' has an unsupported type')
 
 


Bug#618026: ibid: Ibid 0.1.1 contains 3 security fixes

2011-03-13 Thread Stefano Rivera
   simple interprocess messaging syst
ii  python-imaging 1.1.7-2   Python Imaging Library
ii  python-matplotlib  0.99.3-1  Python based plotting system in a 
ii  python-mysqldb 1.2.2-10+b1   A Python interface to MySQL
ii  python-numpy   1:1.4.1-5 Numerical Python adds a fast array
ii  python-objgraph1.7.0-1   Module for exploring Python object
ii  python-psycopg22.2.1-1   Python module for PostgreSQL
ii  python-pyfiglet0.4+dfsg-2Python port of the FIGlet specific
ii  python-silc0.5-1 Python bindings for SILC
ii  python-svn 1.7.2-4   A(nother) Python interface to Subv
diff -Nru ibid-0.1.0+dfsg/debian/changelog ibid-0.1.0+dfsg/debian/changelog
--- ibid-0.1.0+dfsg/debian/changelog2010-06-17 19:23:31.0 +0200
+++ ibid-0.1.0+dfsg/debian/changelog2011-03-13 16:02:23.0 +0200
@@ -1,3 +1,16 @@
+ibid (0.1.0+dfsg-2+squeeze1) stable-security; urgency=high
+
+  * Fix the following security issues. Fixes backported from 0.1.1 bugfix
+release.
+- perms-705860.patch: Enforce access-restriction on handlers without
+  @match patterns. (LP: #705860)
+- logfile-visibility-567576.patch: Channels must be explicitly configured
+  to have publicly readable logs. (LP: #567576)
+- meeting-privacy-649383.patch: Don't report private messages from the bot
+  in meeting minutes. (LP: #649383)
+
+ -- Stefano Rivera   Sun, 13 Mar 2011 15:50:35 +0200
+
 ibid (0.1.0+dfsg-2) unstable; urgency=low
 
   * Don't leak uid and umask into source tarball.
diff -Nru ibid-0.1.0+dfsg/debian/patches/logfile-visibility-567576.patch 
ibid-0.1.0+dfsg/debian/patches/logfile-visibility-567576.patch
--- ibid-0.1.0+dfsg/debian/patches/logfile-visibility-567576.patch  
1970-01-01 02:00:00.0 +0200
+++ ibid-0.1.0+dfsg/debian/patches/logfile-visibility-567576.patch  
2011-03-13 16:19:07.0 +0200
@@ -0,0 +1,85 @@
+Description: Channels must be explicitly configured to have publicly readable 
logs.
+ Occasionally insecure permissions on log files. When the bot spoke first
+ (creating a new log file), the log file would be publicly readable, even if
+ the message was sent in private.
+ .
+ Resolution: Now channels must be explicitly configured to have publicly
+ readable logs.
+Bug-Upstream: https://bugs.launchpad.net/ibid/+bug/567576
+Origin: upstream, 
https://code.launchpad.net/~stefanor/ibid/logfile-visibility-567576-0.1/+merge/36937
+Last-Update: 2011-03-13
+
+--- a/ibid/plugins/log.py
 b/ibid/plugins/log.py
+@@ -4,6 +4,8 @@
+ """Logs messages sent and received."""
+ 
+ from datetime import datetime
++import fnmatch
++import logging
+ from os.path import dirname, join, expanduser
+ from os import chmod, makedirs
+ 
+@@ -11,9 +13,11 @@
+ 
+ import ibid
+ from ibid.plugins import Processor, handler
+-from ibid.config import Option, BoolOption
++from ibid.config import Option, BoolOption, ListOption
+ from ibid.event import Event
+ 
++log = logging.getLogger('plugins.log')
++
+ class Log(Processor):
+ 
+ addressed = False
+@@ -38,6 +42,9 @@
+ rename_format = Option('rename_format', 'Format string for rename events',
+ u'%(timestamp)s %(sender_nick)s (%(sender_connection)s) has 
renamed to %(new_nick)s')
+ 
++public_logs = ListOption('public_logs',
++u'List of source:channel globs for channels which should have 
public logs',
++[])
+ public_mode = Option('public_mode',
+ u'File Permissions mode for public channels, in octal', '644')
+ private_mode = Option('private_mode',
+@@ -47,6 +54,21 @@
+ 
+ logs = {}
+ 
++def setup(self):
++sources = list(set(ibid.config.sources.keys())
++   | set(ibid.sources.keys()))
++for glob in self.public_logs:
++if u':' not in glob:
++log.warning(u"public_logs configuration values must follow 
the "
++u"format source:channel. \"%s\" doesn't contain a 
"
++u"colon.", glob)
++continue
++source_glob = glob.split(u':', 1)[0]
++if not fnmatch.filter(sources, source_glob):
++log.warning(u'public_logs includes "%s", but there is no '
++u'configured source matching "%s"',
++glob, source_glob)
++
+ def get_logfile(self, event):
+ when = event.time
+ if not self.date_utc:
+@@ -70,8 +92,15 @@
+ 
+ file = open(filename, 'a')
+ self.logs[filename] = file
+-if event.get('public', True):
+

Bug#606860: gns3: Hardcoded Python 2.6 dependancy

2011-03-23 Thread Stefano Rivera
Hi Erik (2011.03.23_11:01:18_+0200)
> > I assume this is a result of http://bugs.debian.org/573583, but it seems
> > like an over-the-top response.
> That's true. Upstream decided to use a python2.6 only feature to fix
> this bug. So it is not a "over-the-top" response.

By over-the-top I was referring to the building with a single hardcoded
version of Python, rather than versions >= 2.6. gns3 *does* support
python 2.7 (it says so in README, too), but the current packaging
doesn't allow for that.

We are planning to have a Python 2.7 transition soon, and this package
won't build with Python 2.7 when it is released.

I still suggest my previous patch with an s/2.5/2.6/ on pyversions.


While I'm here:

Considering that GNS3 is a GUI application, whose internals are probably
not of interest to other Python modules, it makes little sense to put it
in the public Python namespace. I'd be tempted to move it into
/usr/share/gns3, with the addition of the following patch:

--- gns3-0.7.3/debian/rules
+++ gns3-0.7.3/debian/rules
@@ -7,6 +7,8 @@
 include /usr/share/cdbs/1/rules/debhelper.mk
 include /usr/share/cdbs/1/class/python-distutils.mk
 
+DEB_PYTHON_INSTALL_ARGS_gns3 += --install-lib /usr/share/gns3
+
 DEB_INSTALL_MANPAGES_gns3 := debian/gns3.1
 
 binary-predeb/gns3::
@@ -16,6 +18,8 @@
install -D -m 644 debian/gns3.ini 
debian/$(cdbs_curpkg)/usr/share/doc/gns3/gns3.ini
install -D -m 755 qemuwrapper/qemuwrapper.py 
debian/$(cdbs_curpkg)/usr/share/doc/gns3/qemuwrapper.py
install -D -m 755 qemuwrapper/pemubin.py 
debian/$(cdbs_curpkg)/usr/share/doc/gns3/pemubin.py
+   mv debian/$(cdbs_curpkg)/usr/bin/gns3 
debian/$(cdbs_curpkg)/usr/share/gns3
+   dh_link -p $(cdbs_curpkg) /usr/share/gns3/gns3 /usr/bin/gns3
 
 clean::
rm -rf debian/compat

SR

-- 
Stefano Rivera
  http://tumbleweed.org.za/
  H: +27 21 465 6908 C: +27 72 419 8559  UCT: x3127



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



Bug#619428: python-gdata: Embedded copies of Crypto and oauth

2011-03-23 Thread Stefano Rivera
Package: python-gdata
Version: 2.0.14-2
Severity: normal

Hi, python-gdata embeds a copy of Crypto (as found in python-crypto),
oauth (as found in python-oauth), and tlslite (which isn't packaged
separately yet).

Debian Policy states:
| 4.13 Convenience copies of code
|
| Some software packages include in their distribution convenience copies
| of code from other software packages, generally so that users compiling
| from source don't have to download multiple packages. Debian packages
| should not make use of these convenience copies unless the included
| package is explicitly intended to be used in this way.[27] If the
| included code is already in the Debian archive in the form of a library,
| the Debian packaging should ensure that binary packages reference the
| libraries already in Debian and the convenience copy is not used. If the
| included code is not already in Debian, it should be packaged separately
| as a prerequisite if possible. [28]

I suggest evaluating whether these libraries have been modified
for gdata, or are simply convenience copies. If possible the versions
packaged for Debian should be used, by modifying the import statements or
replacing them with dummy files importing the original versions.

SR

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

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

Versions of packages python-gdata depends on:
ii  python  2.6.6-3+squeeze6 interactive high-level object-orie
ii  python-support  1.0.11   automated rebuilding support for P

python-gdata recommends no packages.

Versions of packages python-gdata suggests:
ii  python-gdata-doc  2.0.14-2   Google Data Python client library,

-- 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#629893: openarena-data: FTBFS on Ubuntu: gcc argument order

2011-06-09 Thread Stefano Rivera
Package: openarena-085-data
Version: 0.8.5split-1
Severity: normal
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu oneiric ubuntu-patch

*** /tmp/tmp7buEWo
In Ubuntu, the attached patch was applied to achieve the following:

  * Fix FTBFS caused by gcc argument order, and use CFLAGS + LDFLAGS.

Please consider applying this patch, for all openarena-data split packages.

Thanks,

SR

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.38-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_ZA.UTF-8, LC_CTYPE=en_ZA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff --git a/debian/rules b/debian/rules
index 848db9c..a87ef54 100755
--- a/debian/rules
+++ b/debian/rules
@@ -64,7 +64,7 @@ debian/$(QVMPREFIX)-$(QVMCRC).qvm:
 	./debian/qvmbrute 0x$(QVMCRC) $@ $(QVMPREFIX)
 
 debian/qvmbrute: debian/qvmbrute.c
-	$(DEB_BUILD_GNU_TYPE)-gcc -Wall -lz -o debian/qvmbrute debian/qvmbrute.c
+	$(DEB_BUILD_GNU_TYPE)-gcc $(CFLAGS) -Wall -o debian/qvmbrute debian/qvmbrute.c $(LDFLAGS) -lz
 
 import-orig: pre-import-orig $(patsubst %,import-orig/%,$(paks))
 pre-import-orig:


Bug#606382: peak.util.assembler: better support for Python 2.7

2011-06-09 Thread Stefano Rivera
Hi Jakub (2010.12.08_21:57:48_+0200)

affects 606382 turbojson
thanks

> | * Support for backward emulation of Python 2.7's JUMP_IF_TRUE_OR_POP
> |   and JUMP_IF_FALSE_OR_POP instructions on earlier Python versions; these
> |   emulations are also used in BytecodeAssembler's internal code
> |   generation, for maximum performance on 2.7+ (with no change to
> |   performance on older versions).

Missing this is causing turbojson to be unusable with Python 2.7, and
FTBFS when it is default (as on Ubuntu):

| ...
|   File "/usr/lib/pymodules/python2.7/peak/util/assembler.py", line 221, in 
TryExcept
| next_test.JUMP_IF_FALSE, Code.POP_TOP,  # remove condition
| AttributeError: 'Label' object has no attribute 'JUMP_IF_FALSE'

https://launchpad.net/ubuntu/+source/turbojson/1.3.1-1/+build/2471816/+files/buildlog_ubuntu-oneiric-i386.turbojson_1.3.1-1_FAILEDTOBUILD.txt.gz

SR

-- 
Stefano Rivera
  http://tumbleweed.org.za/
  H: +27 21 465 6908 C: +27 72 419 8559  UCT: x3127



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



Bug#623145: DCMTK 3.6 compatibility needs work

2011-06-12 Thread Stefano Rivera
Hi Michael (2011.05.31_17:43:25_+0200)
> I looked into building ODIN with DCMTK 3.6 and there are a couple of
> problems (e.g. #628153 and #628168). But also ODIN itself needs an
> update to work with it.

There is some upstream activity on this:
http://od1n.svn.sourceforge.net/viewvc/od1n?view=revision&revision=9547

However, it looks like more than that is needed to get it working. I ran
out of time and gave up, sorry :/

SR

-- 
Stefano Rivera
  http://tumbleweed.org.za/
  H: +27 21 465 6908 C: +27 72 419 8559  UCT: x3127



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



Bug#630737: oss4: Build with ld --as-needed

2011-06-16 Thread Stefano Rivera
Package: oss4
Version: None
Severity: minor
Tags: patch upstream
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu oneiric ubuntu-patch

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

  * ld-as-needed.patch: Re-order CC arguments to enable building with ld
--as-needed (LP: #770972)

I didn't forward it upstream because they don't seem to have a public
bug tracker. I hope you have some existing patch path.

Thanks for considering the patch.

SR

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.38-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_ZA.UTF-8, LC_CTYPE=en_ZA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Description: Re-order GCC arguments to enable building with ld --as-needed.
Author: Stefano Rivera 
Last-Update: 2011-06-16
Forwarded: no
--- a/setup/srcconf.c
+++ b/setup/srcconf.c
@@ -1170,7 +1170,7 @@
 
   fprintf (f, "$(BINDIR)/%s:\t$(OBJECTS)\n", name);
   fprintf (f,
-	   "\t$(CC) $(CFLAGS) $(LIBRARIES) $(LDFLAGS) -s -o $(BINDIR)/%s $(OBJECTS) %s\n",
+	   "\t$(CC) $(CFLAGS) -s -o $(BINDIR)/%s $(OBJECTS) %s $(LIBRARIES) $(LDFLAGS)\n",
 	   name, extra_libraries);
   fprintf (f, "\n\n");
 }
@@ -1199,7 +1199,7 @@
 
   fprintf (f, "$(SBINDIR)/%s:\t$(OBJECTS)\n", name);
   fprintf (f,
-	   "\t$(CC) $(CFLAGS) $(LIBRARIES) $(LDFLAGS) -s -o $(SBINDIR)/%s $(OBJECTS) %s\n",
+	   "\t$(CC) $(CFLAGS) -s -o $(SBINDIR)/%s $(OBJECTS) %s $(LIBRARIES) $(LDFLAGS)\n",
 	   name, extra_libraries);
   fprintf (f, "\n\n");
 }
@@ -1226,7 +1226,7 @@
 		 obj_src[i], objdir, objects[i]);
 	  else
 	fprintf (f,
-		 "\t$(CC) -c $(CFLAGS) $(OSFLAGS) $(LIBRARIES) $(INCLUDES) %s -o $(%s)/%s\n",
+		 "\t$(CC) -c $(CFLAGS) $(OSFLAGS) $(INCLUDES) %s -o $(%s)/%s $(LIBRARIES)\n",
 		 obj_src[i], objdir, objects[i]);
 	  fprintf (f, "\n");
 	}


Bug#630737: oss4: Build failure with ld --as-needed

2011-06-17 Thread Stefano Rivera
retitle 630737 oss4: Build failure with ld --as-needed
thanks

Whoops, I probably should have put LDFLAGS before libraries:

Description: Re-order GCC arguments to enable building with ld --as-needed.
Author: Stefano Rivera 
Last-Update: 2011-06-16
Forwarded: no
--- a/setup/srcconf.c
+++ b/setup/srcconf.c
@@ -1170,7 +1170,7 @@
 
   fprintf (f, "$(BINDIR)/%s:\t$(OBJECTS)\n", name);
   fprintf (f,
-  "\t$(CC) $(CFLAGS) $(LIBRARIES) $(LDFLAGS) -s -o $(BINDIR)/%s 
$(OBJECTS) %s\n",
+  "\t$(CC) $(CFLAGS) -s -o $(BINDIR)/%s $(OBJECTS) %s $(LDFLAGS) 
$(LIBRARIES)\n",
   name, extra_libraries);
   fprintf (f, "\n\n");
 }
@@ -1199,7 +1199,7 @@
 
   fprintf (f, "$(SBINDIR)/%s:\t$(OBJECTS)\n", name);
   fprintf (f,
-  "\t$(CC) $(CFLAGS) $(LIBRARIES) $(LDFLAGS) -s -o $(SBINDIR)/%s 
$(OBJECTS) %s\n",
+  "\t$(CC) $(CFLAGS) -s -o $(SBINDIR)/%s $(OBJECTS) %s $(LDFLAGS) 
$(LIBRARIES)\n",
   name, extra_libraries);
   fprintf (f, "\n\n");
 }
@@ -1226,7 +1226,7 @@
 obj_src[i], objdir, objects[i]);
  else
fprintf (f,
-"\t$(CC) -c $(CFLAGS) $(OSFLAGS) $(LIBRARIES) $(INCLUDES) 
%s -o $(%s)/%s\n",
+"\t$(CC) -c $(CFLAGS) $(OSFLAGS) $(INCLUDES) %s -o 
$(%s)/%s $(LIBRARIES)\n",
 obj_src[i], objdir, objects[i]);
  fprintf (f, "\n");
}



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



Bug#630808: devscripts: [uscan] support //path URLs (used by Google Code)

2011-06-17 Thread Stefano Rivera
Package: devscripts
Version: 2.11.0
Severity: normal
Tags: patch
User: devscri...@packages.debian.org
Usertag: uscan

Google Code has changed (again, sigh) and is using hrefs like
"//dwarftherapist.googlecode.com/files/DwarfTherapist-0.5.2.zip"

Uscan doesn't like this very much.

Here's a patch to support these URLs. It's not very pretty, but then
again uscan isn't very pretty.

SR

From d2c3778e82733dd23b58c3d4b1b63373d3f006d6 Mon Sep 17 00:00:00 2001
From: Stefano Rivera 
Date: Fri, 17 Jun 2011 15:19:27 +0200
Subject: [PATCH] Support //path urls in href (needed for Google Code

---
 scripts/uscan.pl |5 +
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/scripts/uscan.pl b/scripts/uscan.pl
index d760281..3c402ff 100755
--- a/scripts/uscan.pl
+++ b/scripts/uscan.pl
@@ -1121,6 +1121,11 @@ EOF
if ($newfile =~ m%^\w+://%) {
$upstream_url = $newfile;
}
+   elsif ($newfile =~ m%^//%) {
+   $upstream_url = $site;
+   $upstream_url =~ s/^(https?:).*/$1/;
+   $upstream_url .= $newfile;
+   }
# absolute filename?
elsif ($newfile =~ m%^/%) {
# Were there any redirections? If so try using those first
-- 
1.7.5.3


-- Package-specific info:

--- /etc/devscripts.conf ---

--- ~/.devscripts ---
BTS_SMTP_HOST=localhost
DEBCHANGE_RELEASE_HEURISTIC=changelog
UBUNTUTOOLS_BUILDER=pbuilder
REQUESTSYNC_USE_LPAPI=yes
UBUNTUTOOLS_DEBIAN_MIRROR=http://ftp.leg.uct.ac.za/debian
UBUNTUTOOLS_DEBSEC_MIRROR=http://ftp.leg.uct.ac.za/debian
UBUNTUTOOLS_UBUNTU_MIRROR=http://ftp.leg.uct.ac.za/debian

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'testing-proposed-updates'), (500, 
'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.38-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_ZA.UTF-8, LC_CTYPE=en_ZA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages devscripts depends on:
ii  dpkg-dev 1.16.0.3Debian package development tools
ii  libc62.13-4  Embedded GNU C Library: Shared lib
ii  perl 5.12.3-7+b1 Larry Wall's Practical Extraction 
ii  python   2.6.6-14interactive high-level object-orie
ii  python2.62.6.6-10An interactive high-level object-o
ii  python2.72.7.1-8 An interactive high-level object-o

Versions of packages devscripts recommends:
ii  at3.1.12-1   Delayed job execution and batch pr
ii  curl  7.21.6-1   Get a file from an HTTP, HTTPS or 
ii  dctrl-tools   2.18   Command-line tools to process Debi
ii  debian-keyring [debian-mainta 2011.03.03 GnuPG keys of Debian Developers
ii  dput  0.9.6.2Debian package upload tool
ii  equivs2.0.8  Circumvent Debian package dependen
ii  fakeroot  1.15.1-1   tool for simulating superuser priv
ii  gnupg 1.4.11-3   GNU privacy guard - a free PGP rep
ii  libcrypt-ssleay-perl  0.57-2+b2  Support for https protocol in LWP
ii  libjson-perl  2.53-1 module for manipulating JSON-forma
ii  libparse-debcontrol-perl  2.005-3parser for debian control-like fil
ii  libsoap-lite-perl 0.712-3Perl implementation of a SOAP clie
ii  liburi-perl   1.58-1 module to manipulate and access UR
ii  libwww-perl   6.02-1 simple and consistent interface to
ii  lintian   2.5.0  Debian package checker
ii  man-db2.6.0.2-1  on-line manual pager
ii  patch 2.6.1-2Apply a diff file to an original
ii  patchutils0.3.2-1Utilities to work with patches
ii  python-debian 0.1.20 Python modules to work with Debian
ii  python-magic  5.04-5+b1  File type determination library us
ii  sensible-utils0.0.6  Utilities for sensible alternative
ii  strace4.5.20-2.3 A system call tracer
ii  unzip 6.0-4  De-archiver for .zip files
ii  wdiff 0.6.5-1Compares two files word by word
ii  wget  1.12-3.1   retrieves files from the web
ii  xz-utils  5.0.0-2XZ-format compression utilities

Versions of packages devscripts suggests:
ii  bsd-mailx [mailx]  8.1.2-0.20100314cvs-1 simple mail user agent
ii  build-essential11.5  Informational list of build-essent
pn  cvs-buildpackage   (no description available)
pn  devscripts-el  (no description available)
ii  gnuplot4.4.0-1.1 A command-line driven in

Bug#617839: atom4: diff for NMU version 4.1-5.1

2011-06-17 Thread Stefano Rivera
tags 617839 + patch
tags 617839 + pending
thanks

Dear maintainer,

I'm sponsoring Bhavani's NMU for atom4 (versioned as 4.1-5.1) and I've
uploaded it to DELAYED/10. Please feel free to tell me if I should delay
it longer.

Regards.
diff -u atom4-4.1/debian/changelog atom4-4.1/debian/changelog
--- atom4-4.1/debian/changelog
+++ atom4-4.1/debian/changelog
@@ -1,3 +1,11 @@
+atom4 (4.1-5.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+- Dont ignore write return value to fix FTBFS. Thanks Tarun kumar mall
+  for the patch! Closes: #617839 and also LP: #776746
+
+ -- Bhavani Shankar   Fri, 17 Jun 2011 22:46:56 +0200
+
 atom4 (4.1-5) unstable; urgency=low
 
   * Update debhelper compatibility to 8.
only in patch2:
unchanged:
--- atom4-4.1.orig/engine/ai.cc
+++ atom4-4.1/engine/ai.cc
@@ -8,6 +8,7 @@
 
 #include 
 #include 
+#include 
 
 #include 
 #include "ai.h"
@@ -224,9 +225,12 @@
 #endif //DEBUG_AI
 
   // Send move back to parent process
-  write(fd, &m.x, sizeof(m.x));
-  write(fd, &m.y, sizeof(m.y));
-
+  ssize_t unused_x;
+  ssize_t unused_y;
+  unused_x=write(fd, &m.x, sizeof(m.x));
+  unused_y=write(fd, &m.y, sizeof(m.y));
+  assert (unused_x > 0);
+  assert (unused_y > 0);
 #ifdef PROFILE_AI
   _mcleanup();
 #endif //PROFILE_AI


Bug#629085: (no subject)

2011-06-20 Thread Stefano Rivera
Subject: Re: Bug#629085: freevo: not compatible with Python 2.7?
Reply-To: 
In-Reply-To: <20110603124658.ga2...@jwilk.net>

Hi Jakub (2011.06.03_14:46:58_+0200)
> Because of "2.6" hardcoded in debian/pyversions, this package will
> become uninstallable once we switch default Python version to 2.7.

I had a quick look into it. The upstream source doesn't look like it
supports python 2.7 at all. Note the get_python() method in /freevo, which
still hard-codes 2.5 and 2.6 in upstream svn HEAD.

At the very least, that would have to be fixed for 2.7, but there are
almost certainly other issues too. Note the child.fromchild.close() in
the same method, which isn't something available in subprocess. (LP:
#474854)

Ubuntu just changed the supported versions in debian/pyversions to
attempt to support Python 2.7, but it's running into the issues
mentioned above, leading to LP: #758821. (Ubuntu people who touched this
CCed)

I can't see any other distros that have a 2.7 patch, or even any mention
of 2.7 in the upstream bugtracker.

SR

-- 
Stefano Rivera
  http://tumbleweed.org.za/
  H: +27 21 465 6908 C: +27 72 419 8559  UCT: x3127



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



Bug#625150: matplotlib: FTBFS: ln: creating symbolic link `/build/user-matplotlib_0.99.3-1-amd64-C4ZThE/matplotlib-0.99.3/debian/python-matplotlib-doc/usr/share/doc/python-matplotlib-doc/html/_static/

2011-05-05 Thread Stefano Rivera
tag 625150 + patch
forwarded 625150 https://github.com/matplotlib/matplotlib/pull/104
thanks

> > ln -sf /usr/share/javascript/jquery/jquery.js \
> > 
> > /build/user-matplotlib_0.99.3-1-amd64-C4ZThE/matplotlib-0.99.3/debian/python-matplotlib-doc/usr/share/doc/python-matplotlib-doc/html/_static/jquery.js
> > ln: creating symbolic link 
> > `/build/user-matplotlib_0.99.3-1-amd64-C4ZThE/matplotlib-0.99.3/debian/python-matplotlib-doc/usr/share/doc/python-matplotlib-doc/html/_static/jquery.js':
> >  No such file or directory

Hi Nikolaus (2011.05.04_17:59:19_+0200)
> Hmm. My guess is that Sphinx stopped installing jquery.js into
> doc/build/html/_static/.

No, the documentation building does no error checking. jquery.js wasn't
installed because the documentation building failed (and dropped into a
debugger).

Looks like "formats" in lib/matplotlib/sphinxext/plot_directive.py was a
unicode rather than byte-string. Not entirely sure why, but I proposed
using basestring to upstream [0], maybe someone there will have a better
idea.

[0]: https://github.com/matplotlib/matplotlib/pull/104

Not applying this yet, because I'd like to see what the upstream thinks,
and work out what caused this in the first place.

Sandro: This code has completely changed in 1.x, I suspect it won't be
a blocker for bringing 1.x to unstable.

SR

-- 
Stefano Rivera
  http://tumbleweed.org.za/
  H: +27 21 465 6908 C: +27 72 419 8559  UCT: x3127



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



Bug#625889: schroot: include /dev/shm in default fstab

2011-05-06 Thread Stefano Rivera
Package: schroot
Version: 1.4.21-1+b1
Severity: wishlist

It would be nice if schroot included /dev/shm in the default fstab (even
just commented out). A few packages require it for successful building.

SR



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



Bug#594146: namebench: benchmark stops with UnicodeDecodeError

2011-04-23 Thread Stefano Rivera
Hi Konrad (2010.08.24_01:53:16_+0200)
> UnicodeDecodeError: 'utf8' codec can't decode byte 0xf6 in position 5: 
> invalid start byte
> Showing popup: 'utf8' codec can't decode byte 0xf6 in position 5: invalid 
> start byte
> > 'utf8' codec can't decode byte 0xf6 in position 5: invalid start byte

My guess was that that came from GeoIP lookups. The Google one returns
JSON and *is* UTF-8 encoded, however, maxmind seems to be using
ISO-8859-1 which namebench attempts to treat as UTF-8:

From my Hetzner.de box in Nürnberg (a lucky location):

>>> result = urllib.urlopen('http://j.maxmind.com/app/geoip.js').read()
>>> print repr(result)
"function geoip_country_code() { return 'DE'; }\nfunction geoip_country_name() 
{ return 'Germany'; }\nfunction geoip_city() { return 'N\xfcrnberg'; 
}\nfunction geoip_region()   { return '02'; }\nfunction geoip_region_name() 
 { return 'Bayern'; }\nfunction geoip_latitude() { return '49.4478'; 
}\nfunction geoip_longitude(){ return '11.0683'; }\nfunction 
geoip_postal_code()  { return ''; }\nfunction geoip_area_code(){ return ''; 
}\nfunction geoip_metro_code()   { return ''; }\n"
>>> result.decode('utf-8')
Traceback (most recent call last):
  File "", line 1, in 
  File "/usr/lib/python2.6/encodings/utf_8.py", line 16, in decode
return codecs.utf_8_decode(input, errors, True)
UnicodeDecodeError: 'utf8' codec can't decode byte 0xfc in position 140: 
invalid start byte
>>> print result.decode('ISO-8859-1')
function geoip_country_code() { return 'DE'; }
function geoip_country_name() { return 'Germany'; }
function geoip_city() { return 'Nürnberg'; }
function geoip_region()   { return '02'; }
function geoip_region_name()  { return 'Bayern'; }
function geoip_latitude() { return '49.4478'; }
function geoip_longitude(){ return '11.0683'; }
function geoip_postal_code()  { return ''; }
function geoip_area_code(){ return ''; }
function geoip_metro_code()   { return ''; }

SR

-- 
Stefano Rivera
  http://tumbleweed.org.za/
  H: +27 21 465 6908 C: +27 72 419 8559  UCT: x3127



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



Bug#599919: sks: default mailsync file and keyserver.kjsl.com

2011-04-24 Thread Stefano Rivera
Hi Christoph (2010.10.12_14:09:31_+0200)
> I'm not 100% sure, but as far as I can see, keyserver.kjsl.com is in the 
> meantime
> also an SKS and no longer a PKS keyserver.
> Therfore this makes probably no longer sense.

I agree with that.

> The only PKS server I know, that's still alive is pgp-public-k...@the.earth.li

According to this blog post [0] the.earth.li isn't PKS but onak. And
noodles is inviting all SKS operators to mailsync to him.

[0]: http://www.earth.li/~noodles/blog/2011/04/onak-040-released.html

I also know of keyserver.ch [1] (pgp-public-k...@keyserver.ch), running
OPKS. It's the keyserver behind the PGP Pathfinder statistics [2].  I've
asked them in the past if they want SKS operators to mailsync to them,
and got no response.

[1]: http://wwwkeys.ch.pgp.net:11371/pks/
[2]: http://pgp.cs.uu.nl/

SR

-- 
Stefano Rivera
  http://tumbleweed.org.za/
  H: +27 21 465 6908 C: +27 72 419 8559  UCT: x3127



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



Bug#623913: schroot: Please support read-only bind-mounts

2011-04-24 Thread Stefano Rivera
Package: schroot
Version: 1.4.21-1+b1
Severity: wishlist

Linux supports read-only bind-mounts, but they can only be made
read-only after bind-mounting, not during.
i.e.
mount --bind /foo /bar
mount -o remount,ro /bar

I hacked support for this into my schroot installation by running the
following after schroot-mount in 10mount:
sed -nre 's/([^ \t]*).*ro,bind.*/\1/ p' "$FSTAB" \
| while read ro_mountpoint; do
info "Remounting $ro_mountpoint read-only" 
mount -o remount,ro "$CHROOT_MOUNT_LOCATION/$ro_mountpoint"
done

But it would be really nice if schroot-mount supported it.

SR

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.38-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_ZA.UTF-8, LC_CTYPE=en_ZA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages schroot depends on:
ii  libboost-filesystem1.46.1 1.46.1-3   filesystem operations (portable pa
ii  libboost-program-options1.46. 1.46.1-3   program options library for C++
ii  libboost-regex1.46.1  1.46.1-3   regular expression library for C++
ii  libboost-system1.46.1 1.46.1-3   Operating system (e.g. diagnostics
ii  libc6 2.11.2-11  Embedded GNU C Library: Shared lib
ii  libgcc1   1:4.6.0-2  GCC support library
ii  liblockdev1   1.0.3-1.4  Run-time shared library for lockin
ii  libpam0g  1.1.2-2Pluggable Authentication Modules l
ii  libstdc++64.6.0-2The GNU Standard C++ Library v3
ii  libuuid1  2.17.2-9.1 Universally Unique ID library
ii  schroot-common1.4.21-1   common files for schroot

schroot recommends no packages.

Versions of packages schroot suggests:
pn  aufs-modules | unionfs-m   (no description available)
ii  btrfs-tools  0.19+20101101-1 Checksumming Copy on Write Filesys
ii  debootstrap  1.0.29  Bootstrap a basic Debian system
pn  lvm2   (no description available)
ii  unzip6.0-4   De-archiver for .zip files

-- Configuration Files:
/etc/schroot/default/fstab changed:
/proc   /proc   nonerw,rbind0   0
/sys/sysnonerw,rbind0   0
/dev/devnonerw,rbind0   0
/home   /home   nonero,bind 0   0
/home/stefanor/deb /home/stefanor/deb none rw,bind  0   0
/tmp/tmpnonerw,bind 0   0

/etc/schroot/setup.d/10mount changed:
set -e
. "$SETUP_DATA_DIR/common-data"
. "$SETUP_DATA_DIR/common-functions"
if [ -f "$CHROOT_SCRIPT_CONFIG" ]; then
. "$CHROOT_SCRIPT_CONFIG"
elif [ "$STATUS" = "ok" ]; then
fatal "script-config file '$CHROOT_SCRIPT_CONFIG' does not exist"
fi
do_mount()
{
info "Mounting $2 on $3"
if [ ! -d "$3" ]; then
mkdir -p "$3"
fi
if [ ! -d "$3" ]; then
fatal "$3 does not exist, and could not be created"
fi
info "$MOUNT_VERBOSE $1 $2 $3"
mount $MOUNT_VERBOSE $1 "$2" "$3"
}
do_umount_all()
{
if [ -d "$1" ]; then
# Note that flock is used here to prevent races reading
# /proc/mounts, which on current (Linux 2.6.32) kernels is
# racy.  If other processes are mounting or unmounting
# filesystems as we read it, we can miss mount entries due to
# the file changing as we read it.  This needs fixing in the
# kernel, but an exclusive lock surrounding the
# schroot-listmounts invocation is a partial fix.  This
# prevents racing when multiple schroot processes are running.
# Note that this does not prevent the problem when programs
# other than schroot mount and unmount filesystems (since they
# don't create the lock).
( flock 9
mounts="$("$LIBEXEC_DIR/schroot-listmounts" -m "$1")"
if [ "x$mounts" != 'x' ]; then
echo "$mounts" |
while read mountloc; do
info "Unmounting $mountloc"
umount "$mountloc" || exit 1
done || exit 1
fi
) 9>"/var/lock/schroot-umount"
else
warn "Mount location $1 no longer exists; skipping unmount"
fi
}
do_mount_fs_union()
{
# Prepare mount options (branch config) for union type
if [ -z "$CHROOT_UNION_MOUNT_OPTIONS" ]; then
case $CHROOT_UNION_TYPE in
unionfs)

CHROOT_UNION_MOUNT_OPTIONS="dirs=${CHROOT_UNION_OVERLAY_DIRECTORY}=rw,${CHROOT_UNION_UNDERLAY_DIRECTORY}=ro"
;;
aufs)

CHROOT_UNION_MOUNT_OPTIONS="br:${CHROOT_UNION_OVERLAY_DIRECTORY}:${CHROOT_UNION_UNDERLAY_DIRECTORY}=ro"
;;
esac
fi
info "Using '$CH

Bug#577143: cython: #!/usr/bin/python2.6 shebang

2011-04-24 Thread Stefano Rivera
retitle 577143 cython: #!/usr/bin/python2.7 shebang
severity 577143 serious
tag 577143 + patch
thanks

Hi Lauro (2010.05.25_16:50:09_+0200)

This suddenly got a lot more serious because cython's binnmu migrated to
testing before python-support, and thus cython in testing is trying to
run with a version of python that's unsupported.

> "--executable="

Doesn't work for this setup.py.

However the following will work:

# Fix shebang:
binary-fixup/cython::
sed -i -e '1 s,#!.*python.*,#! /usr/bin/python,' debian/cython/usr/bin/*

I was tempted to team upload, but I see 0.14.1-5 wasn't committed to the
PAPT repo. Please commit and tag :)

SR

-- 
Stefano Rivera
  http://tumbleweed.org.za/
  H: +27 21 465 6908 C: +27 72 419 8559  UCT: x3127



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



Bug#554887: postgrey: logs Perl warning on mail from IPv6 sources when whitelist contains IPv4 CIDR entries

2011-04-24 Thread Stefano Rivera
tag 554887 -moreinfo
notfound 554887 1.33-3
thanks

> can you please retest against 1.33-1? As far as I'm aware of, postgrey
> supports ipv6 now (I saw some threads on the postgrey mailing list).

1.33 looks good to me. A backport (or s-p-u) would be nice :)

SR

-- 
Stefano Rivera
  http://tumbleweed.org.za/
  H: +27 21 465 6908 C: +27 72 419 8559  UCT: x3127



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



Bug#625137: python-eventlet: FTBFS: ImportError: No module named OpenSSL.rand

2011-05-29 Thread Stefano Rivera
Hi Lucas (2011.05.02_14:46:28_+0200)
> During a rebuild of all packages in sid, your package failed to build on
> amd64.

Known issue, still waiting for pyopenssl to be built with Python 2.7
support.

SR

-- 
Stefano Rivera
  http://tumbleweed.org.za/
  H: +27 21 465 6908 C: +27 72 419 8559  UCT: x3127



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



Bug#628779: Overzealous deletion caused by uncaught error: Use of uninitialized value $filename in substitution (s///) at /usr/bin/debmirror line 1075, chunk 1.

2011-06-01 Thread Stefano Rivera
Package: debmirror
Version: 1:2.8
Severity: normal

I noticed by debmirror run this morning was downloading 21G for Ubuntu,
rather than the usual ~2G. Digging through my logs, I can see this has
repeated once every few days, for both Debian & Ubuntu mirrors.

One run has this happen (not quite sure why, I'll keep my eyes open for
it):
[ 90%] Getting: dists/natty-security/main/source/Sources.gzok
Use of uninitialized value $filename in substitution (s///) at 
/usr/bin/debmirror line 1075,  chunk 1.
Use of uninitialized value $architecture in hash element at /usr/bin/debmirror 
line 1079,  chunk 1.
Use of uninitialized value $filename in substitution (s///) at 
/usr/bin/debmirror line 1075,  chunk 2.
Use of uninitialized value $architecture in hash element at /usr/bin/debmirror 
line 1079,  chunk 2.
(repeated many times)

Then it goes on a big deletion spree in postcleanup, and the next time
the mirror runs, it has to re-download ~20G, which sounds like a whole
suite to me.

Hopefully I'll work out what's causing this and follow-up soon.

SR

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.38-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_ZA.UTF-8, LC_CTYPE=en_ZA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages debmirror depends on:
ii  bzip2 1.0.5-6high-quality block-sorting file co
pn  libcompress-zlib-perl  (no description available)
pn  libdigest-md5-perl (no description available)
ii  liblockfile-simple-perl   0.207-2Perl module for simple advisory fi
ii  libwww-perl   6.01-3 simple and consistent interface to
ii  perl [libdigest-sha-perl] 5.12.3-6   Larry Wall's Practical Extraction 
ii  perl-modules [libnet-perl]5.12.3-6   Core Perl modules
ii  rsync 3.0.8-1fast remote file copy program (lik

Versions of packages debmirror recommends:
ii  ed1.4-3  The classic UNIX line editor
ii  gpgv  1.4.11-3   GNU privacy guard - signature veri
ii  patch 2.6.1-1Apply a diff file to an original

Versions of packages debmirror suggests:
ii  gnupg 1.4.11-3   GNU privacy guard - a free PGP rep

-- 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#628779: Overzealous deletion caused by uncaught error: Use of uninitialized value $filename in substitution (s///) at /usr/bin/debmirror line 1075, chunk 1.

2011-06-02 Thread Stefano Rivera
Hi Debian (2011.06.01_11:52:57_+0200)
> Hopefully I'll work out what's causing this and follow-up soon.

Aha, I caught it in action.
Looks like possibly content-autonegotiation, or a relative of bug
#389894.

$ file $(find dists -name Packages)
dists/wheezy/contrib/binary-i386/Packages: UTF-8 Unicode English text, 
with very long lines
dists/wheezy/main/binary-amd64/Packages:   bzip2 compressed data, block 
size = 900k

SR

-- 
Stefano Rivera
  http://tumbleweed.org.za/
  H: +27 21 465 6908 C: +27 72 419 8559  UCT: x3127



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



Bug#628779: Overzealous deletion caused by uncaught error: Use of uninitialized value $filename in substitution (s///) at /usr/bin/debmirror line 1075, chunk 1.

2011-06-06 Thread Stefano Rivera
tags 628779 + patch
thanks

> Aha, I caught it in action. Looks like possibly content-autonegotiation

The cause is definitely an out of sync parent mirror (They've ignored my
previous requests to run their mirror properly). However I get free
access to it, so I'm prepared to live with the pain.

The Package lists are failing verification against Release, but
debmirror isn't checking the Packages lists after download, only
before-hand. Thus it notices Packages.gz is invalid after downloading
it, downloads Packages too, pulls bz2 due to autonegotiation, and then
tries to parse this.

Easy way to reproduce these issues:
Put a mirror behind a normally configured apache (with content
autonegotiation enabled) Break the Packages files.  debmirror from it.

Attached are two patches, both a bit hacky, to work-around this:

0001-Detect-errors-when-parsing-Packages.patch:
Abort when running into a parse error, and refuse to clean up if there
were errors.

0002-Before-download-Package-list-files-are-checked-with-.patch:
Before download, Package list files are checked with prepended $tempdir.
At download time, Package list files are verified without it. Store both
forms in file_lists.

SR

-- 
Stefano Rivera
  http://tumbleweed.org.za/
  H: +27 21 465 6908 C: +27 72 419 8559  UCT: x3127
From 5c6e9506e63f5f818e812e936a011a049cbef2c2 Mon Sep 17 00:00:00 2001
From: Stefano Rivera 
Date: Mon, 6 Jun 2011 09:18:52 +0200
Subject: [PATCH 1/2] Detect errors when parsing Packages

---
 debmirror |3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/debmirror b/debmirror
index ae50245..ce641c5 100755
--- a/debmirror
+++ b/debmirror
@@ -1071,6 +1071,7 @@ say("Parsing Packages and Sources files ...");
 	die "$file: $!" if $!;
   }
   my ($filename)=m/^Filename:\s+(.*)/im;
+  die "Error encountered while parsing $file." if !defined($filename);
   $filename=~s:/+:/:;	# remove redundant slashes in paths
   my ($deb_section)=m/^Section:\s+(.*)/im;
   my ($deb_priority)=m/^Priority:\s+(.*)/im;
@@ -1398,7 +1399,7 @@ if (! $do_dry_run) {
 }
 
 # Post mirror cleanup.
-cleanup_unknown_files() if ($post_cleanup && ! $debmarshal);
+cleanup_unknown_files() if ($post_cleanup && ! $debmarshal && $num_errors == 0);
 
 # Mirror cleanup for directories.
 if (! $use_cache && ($pre_cleanup || $post_cleanup)) {
-- 
1.7.4.4

From c9c758a208cba6e42023136a60a3d46cdb4df629 Mon Sep 17 00:00:00 2001
From: Stefano Rivera 
Date: Mon, 6 Jun 2011 12:04:21 +0200
Subject: [PATCH 2/2] Before download, Package list files are checked with
 prepended $tempdir. At download time, Package list
 files are verified without it. Store both forms in
 file_lists.

---
 debmirror |5 -
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/debmirror b/debmirror
index ce641c5..520083e 100755
--- a/debmirror
+++ b/debmirror
@@ -906,9 +906,12 @@ foreach my $dist (keys %distset) {
 		$checksum_type=$1;
 	}
 	elsif (/^ / && defined $checksum_type) {
-  		my ($checksum, $size, $filename) = /^ +([a-z0-9]+) +(\d+) +(.*)$/;
+		my ($checksum, $size, $filename) = /^ +([a-z0-9]+) +(\d+) +(.*)$/;
 		$file_lists{"$tempdir/dists/$dist/$filename"}{$checksum_type} = $checksum;
 		$file_lists{"$tempdir/dists/$dist/$filename"}{size} = $size;
+		# At download time, files are verified without $tempdir
+		$file_lists{"dists/$dist/$filename"}{$checksum_type} = $checksum;
+		$file_lists{"dists/$dist/$filename"}{size} = $size;
 	}
 }
 close RELEASE;
-- 
1.7.4.4



Bug#624259: grub-pc: Unable to add kernel arguments with gfxterm: alloc memory magic is broken

2011-04-26 Thread Stefano Rivera
Package: grub-pc
Version: 1.99~rc1-13
Severity: normal

Hi,

I was trying to debug a kernel panic with crashkernel, and my grub
wouldn't let me add command line arguments, I got

|  Booting  a command list
|
|alloc magic is broken at 0xbf4d6650

Commenting out the gfxterm loading in grub.cfg worked around this, but
I have no idea if there's still memory corruption occuring or not.

SR

-- Package-specific info:

*** BEGIN /proc/mounts
/dev/disk/by-uuid/653a353e-3311-46ca-ae6e-99b6a3a77201 / ext4 
rw,noatime,errors=remount-ro,barrier=1,data=ordered 0 0
/dev/md0 /srv ext4 rw,nosuid,nodev,noatime,barrier=1,data=ordered 0 0
*** END /proc/mounts

*** BEGIN /boot/grub/device.map
(hd0)   /dev/disk/by-id/ata-ST31000528AS_9VP4V5RS
(hd1)   /dev/disk/by-id/ata-ST31000340AS_5QJ0L7VE
(hd2)   /dev/disk/by-id/ata-ST31000340AS_5QJ0KNDF
(hd3)   /dev/disk/by-id/ata-ST31000340AS_5QJ0KPR7
(hd4)   /dev/disk/by-id/ata-ST31000528AS_9VP1YLFY
(hd5)   /dev/disk/by-id/ata-ST31000528AS_9VP1YLBL
*** END /boot/grub/device.map

*** BEGIN /boot/grub/grub.cfg
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
  load_env
fi
set default="0"
if [ "${prev_saved_entry}" ]; then
  set saved_entry="${prev_saved_entry}"
  save_env saved_entry
  set prev_saved_entry=
  save_env prev_saved_entry
  set boot_once=true
fi

function savedefault {
  if [ -z "${boot_once}" ]; then
saved_entry="${chosen}"
save_env saved_entry
  fi
}

function load_video {
  insmod vbe
  insmod vga
  insmod video_bochs
  insmod video_cirrus
}

insmod part_msdos
insmod ext2
set root='(hd0,msdos3)'
search --no-floppy --fs-uuid --set=root 653a353e-3311-46ca-ae6e-99b6a3a77201
if loadfont /usr/share/grub/unicode.pf2 ; then
  set gfxmode=640x480
  load_video
  insmod gfxterm
fi
terminal_output gfxterm
insmod part_msdos
insmod ext2
set root='(hd0,msdos3)'
search --no-floppy --fs-uuid --set=root 653a353e-3311-46ca-ae6e-99b6a3a77201
set locale_dir=($root)/boot/grub/locale
set lang=en_ZA
insmod gettext
set timeout=5
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
insmod part_msdos
insmod ext2
set root='(hd0,msdos3)'
search --no-floppy --fs-uuid --set=root 653a353e-3311-46ca-ae6e-99b6a3a77201
insmod png
if background_image /usr/share/images/desktop-base/spacefun-grub.png; then
  set color_normal=light-gray/black
  set color_highlight=white/black
else
  set menu_color_normal=cyan/blue
  set menu_color_highlight=white/blue
fi
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
menuentry 'Debian GNU/Linux, with Linux 2.6.38-2-amd64' --class debian --class 
gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd0,msdos3)'
search --no-floppy --fs-uuid --set=root 
653a353e-3311-46ca-ae6e-99b6a3a77201
echo'Loading Linux 2.6.38-2-amd64 ...'
linux   /boot/vmlinuz-2.6.38-2-amd64 
root=UUID=653a353e-3311-46ca-ae6e-99b6a3a77201 ro  quiet
echo'Loading initial ramdisk ...'
initrd  /boot/initrd.img-2.6.38-2-amd64
}
menuentry 'Debian GNU/Linux, with Linux 2.6.38-2-amd64 (recovery mode)' --class 
debian --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd0,msdos3)'
search --no-floppy --fs-uuid --set=root 
653a353e-3311-46ca-ae6e-99b6a3a77201
echo'Loading Linux 2.6.38-2-amd64 ...'
linux   /boot/vmlinuz-2.6.38-2-amd64 
root=UUID=653a353e-3311-46ca-ae6e-99b6a3a77201 ro single 
echo'Loading initial ramdisk ...'
initrd  /boot/initrd.img-2.6.38-2-amd64
}
menuentry 'Debian GNU/Linux, with Linux 2.6.32-5-amd64' --class debian --class 
gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd0,msdos3)'
search --no-floppy --fs-uuid --set=root 
653a353e-3311-46ca-ae6e-99b6a3a77201
echo'Loading Linux 2.6.32-5-amd64 ...'
linux   /boot/vmlinuz-2.6.32-5-amd64 
root=UUID=653a353e-3311-46ca-ae6e-99b6a3a77201 ro  quiet
echo'Loading initial ramdisk ...'
initrd  /boot/initrd.img-2.6.32-5-amd64
}
menuentry 'Debian GNU/Linux, with Linux 2.6.32-5-amd64 (recovery mode)' --class 
debian --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd0,msdos3)'
search --no-floppy --fs-uuid --set=root 
653a353e-3311-46ca-ae6e-99b6a3a77201
echo'Loading Linux 2.6.32-5-amd64 ...'
linux   /boot/vmlinuz-2.6.32-5-amd64 
root=UUID=653a353e-3311-46ca-ae6e-99b6a3a77201 ro single 
echo'Loading initial ramdisk ...'
initrd  /boot/initrd.img-2.6.32-5-amd64
}
menuentry 'Debian GNU/Linux, with Linux 2.6.32-3-amd64' --class debian --class 

<    1   2   3   4   5   6   7   8   9   10   >