Bug#1003529: retext: rst preview doesn't work

2022-01-11 Thread Jean-Michel Nirgal Vourgère
Package: retext
Version: 7.2.1-3
Severity: important

Dear Maintainer,

When I enable the preview on retext, I only got a white page.

The console says:

Using configuration file: /home/nirgal/.config/ReText project/ReText.conf
Exception occurred while parsing document:
Traceback (most recent call last):
  File "/usr/share/retext/ReText/tab.py", line 249, in updatePreviewBox
self.converted = self.converterProcess.get_result()
  File "/usr/share/retext/ReText/converterprocess.py", line 184, in get_result
raise ConversionError(result)
ReText.converterprocess.ConversionError: The background markup conversion 
process received this exception:
Traceback (most recent call last):
  File "/usr/share/retext/ReText/converterprocess.py", line 88, in 
_converter_process_func
converted = current_markup.convert(job['text'])
  File "/usr/lib/python3/dist-packages/markups/restructuredtext.py", line 
68, in convert
parts = self._publish_parts(text, source_path=self.filename,
  File "/usr/lib/python3/dist-packages/docutils/core.py", line 441, in 
publish_parts
output, pub = publish_programmatically(
  File "/usr/lib/python3/dist-packages/docutils/core.py", line 665, in 
publish_programmatically
output = pub.publish(enable_exit_status=enable_exit_status)
  File "/usr/lib/python3/dist-packages/docutils/core.py", line 220, in 
publish
output = self.writer.write(self.document, self.destination)
  File "/usr/lib/python3/dist-packages/docutils/writers/__init__.py", line 
78, in write
self.translate()
  File "/usr/lib/python3/dist-packages/docutils/writers/_html_base.py", 
line 78, in translate
self.document.walkabout(visitor)
  File "/usr/lib/python3/dist-packages/docutils/nodes.py", line 214, in 
walkabout
if child.walkabout(visitor):
  File "/usr/lib/python3/dist-packages/docutils/nodes.py", line 206, in 
walkabout
visitor.dispatch_visit(self)
  File "/usr/lib/python3/dist-packages/docutils/nodes.py", line 1995, in 
dispatch_visit
return method(node)
  File "/usr/lib/python3/dist-packages/docutils/writers/_html_base.py", 
line 1531, in visit_title
self.body.append(self.starttag(node, 'h1', '', CLASS='title'))
  File "/usr/lib/python3/dist-packages/markups/restructuredtext.py", line 
19, in starttag
if node.get(line, None) is not None:
NameError: name 'line' is not defined

I patched python3-markups package, changing line 18 of
/usr/lib/python3/dist-packages/markups/restructuredtext.py:
- if node.line is not None
into
+ if hasattr(node, "line") and node.line is not None
and now it works ok.

I appologize for the severity, but without a preview, retext is a simple
text editor, and of no much use (None I can really think of).

Thank you for maintaining that package. <3

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

Kernel: Linux 5.10.0-10-amd64 (SMP w/8 CPU threads)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_GB:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages retext depends on:
ii  python3 3.9.2-3
ii  python3-chardet 4.0.0-1
ii  python3-docutils0.16+dfsg-4
ii  python3-markdown3.3.4-1
ii  python3-markups 3.1.1-1
ii  python3-pygments2.7.1+dfsg-2.1
ii  python3-pyqt5   5.15.2+dfsg-3
ii  python3-pyqt5.qtwebkit  5.15.2+dfsg-3

Versions of packages retext recommends:
ii  docutils-common   0.16+dfsg-4
ii  libjs-mathjax 2.7.9+dfsg-1
ii  python3-enchant   3.2.0-1
ii  shared-mime-info  2.0-1

Versions of packages retext suggests:
ii  adwaita-icon-theme 3.38.0-1
ii  gir1.2-glib-2.01.66.1-1+b1
ii  gsettings-desktop-schemas  3.38.0-2

-- no debconf information



Bug#950881: patch v2

2020-02-07 Thread Jean-Michel Nirgal Vourgère
Hi

The awk patch above set the uppercase version of the fingerprint $1 in $2 
before continuing. This is wrong. Attached is a better version.

Note that GPG always print fingerprints in uppercase, so that  
"$1=toupper($1);" could simply be removed ...

-- 
- - Nirgal Vourgère ☮ GP France
-   xmpp:nir...@nirgal.com ☮ gpg 0x5405aef07c52c135
Be the change you want to see in the world -- Gandhi--- /usr/bin/duply.orig	2018-11-17 22:27:30.0 +
+++ /usr/bin/duply	2020-02-07 17:06:22.683721081 +
@@ -1100,7 +1100,7 @@
 
 # see 'How to specify a user ID' on gpg manpage
 function gpg_fingerprint {
-  local PRINT=$(gpg $GPG_OPTS --fingerprint "$1" 2>&1|awk -F= 'NR==2{gsub(/ /,"",$2);$2=toupper($2); if ( $2 ~ /^[A-F0-9]+$/ && length($2) == 40 ) print $2; else exit 1}') \
+  local PRINT=$(gpg $GPG_OPTS --fingerprint "$1" 2>&1|awk -F= 'NR==2{gsub(/ /,"",$1);$1=toupper($1); if ( $1 ~ /^[A-F0-9]+$/ && length($1) == 40 ) print $1; else exit 1}') \
 && [ -n "$PRINT" ] && echo $PRINT && return 0
   return 1
 }


smime.p7s
Description: S/MIME cryptographic signature


Bug#669856: iptotal: diff for NMU version 0.3.3-13.1

2016-05-29 Thread Jean-Michel Nirgal Vourgère


Attached is an updated diff. Previous message was buggy.

Regards.
diff -Nru iptotal-0.3.3/debian/apache.conf iptotal-0.3.3/debian/apache.conf
--- iptotal-0.3.3/debian/apache.conf	2009-11-25 21:59:10.0 +0100
+++ iptotal-0.3.3/debian/apache.conf	1970-01-01 01:00:00.0 +0100
@@ -1,9 +0,0 @@
-Alias /iptotal /var/lib/iptotal/
-
-
-Options +FollowSymLinks
-AllowOverride None
-order allow,deny
-allow from all
-DirectoryIndex template.html
-
diff -Nru iptotal-0.3.3/debian/changelog iptotal-0.3.3/debian/changelog
--- iptotal-0.3.3/debian/changelog	2012-02-16 05:49:40.0 +0100
+++ iptotal-0.3.3/debian/changelog	2016-05-29 14:48:58.0 +0200
@@ -1,3 +1,15 @@
+iptotal (0.3.3-13.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Upgrade apache2 settings for version 2.4 (Closes: #669856)
+- Now using dh-apache2.
+- Enabling cgi during configuration.
+- Refreshed apache configuration syntax.
+- Added maintscript to move conffile to /etc/apache2/conf-available.
+- Refreshed README.debian.
+
+ -- Jean-Michel Vourgère   Sun, 29 May 2016 14:43:41 +0200
+
 iptotal (0.3.3-13) unstable; urgency=low
 
   * debian/control:
diff -Nru iptotal-0.3.3/debian/control iptotal-0.3.3/debian/control
--- iptotal-0.3.3/debian/control	2012-02-16 05:50:10.0 +0100
+++ iptotal-0.3.3/debian/control	2016-05-19 11:15:20.0 +0200
@@ -3,20 +3,25 @@
 Priority: extra
 Maintainer: Ignace Mouzannar 
 DM-Upload-Allowed: yes
-Build-Depends: debhelper (>= 7.0.50~), libpcap-dev, rrdtool, autotools-dev (>=20100122.1)
+Build-Depends: autotools-dev (>=20100122.1),
+   debhelper (>= 7.0.50~),
+   dh-apache2,
+   libpcap-dev,
+   rrdtool
 Standards-Version: 3.9.2
 Homepage: http://sourceforge.net/projects/iptotal
 
 Package: iptotal
 Architecture: any
-Depends: rrdtool, tcpdump, apache2 | httpd, ${shlibs:Depends}, ${misc:Depends}
+Depends: rrdtool, tcpdump, ${misc:Depends}, ${shlibs:Depends}
+Recommends: ${misc:Recommends}
 Description: monitor for IP traffic, not requiring SNMP
  iptotal is yet another IP traffic monitor. It listens to a network interface in
  non-promiscuous mode, and measures IP bandwidth usage. After the specified
  number of seconds, the average throughput is printed at total, input and output
  usage.
- . 
+ .
  The utility can be used to measure bandwidth usage without the need for an SNMP
  daemon.  In combination with a simple script and rrdtool it can be used to
  present the measured data in graphical format e.g. through a web interface.
- The package contains www + CGI sample files. 
+ The package contains www + CGI sample files.
diff -Nru iptotal-0.3.3/debian/install iptotal-0.3.3/debian/install
--- iptotal-0.3.3/debian/install	2010-03-30 19:14:09.0 +0200
+++ iptotal-0.3.3/debian/install	2016-05-19 11:15:49.0 +0200
@@ -1,3 +1,2 @@
-debian/apache.conf /etc/iptotal/
 debian/iptotal/var/lib/iptotal/template.html /usr/share/iptotal/www/
 debian/iptotal/var/lib/iptotal/images/ /usr/share/iptotal/www/
diff -Nru iptotal-0.3.3/debian/iptotal.apache2 iptotal-0.3.3/debian/iptotal.apache2
--- iptotal-0.3.3/debian/iptotal.apache2	1970-01-01 01:00:00.0 +0100
+++ iptotal-0.3.3/debian/iptotal.apache2	2016-05-19 11:10:12.0 +0200
@@ -0,0 +1 @@
+conf debian/iptotal.conf
diff -Nru iptotal-0.3.3/debian/iptotal.conf iptotal-0.3.3/debian/iptotal.conf
--- iptotal-0.3.3/debian/iptotal.conf	1970-01-01 01:00:00.0 +0100
+++ iptotal-0.3.3/debian/iptotal.conf	2016-05-19 11:06:01.0 +0200
@@ -0,0 +1,8 @@
+Alias /iptotal /var/lib/iptotal/
+
+
+Options +FollowSymLinks
+AllowOverride None
+Require all granted
+DirectoryIndex template.html
+
diff -Nru iptotal-0.3.3/debian/maintscript iptotal-0.3.3/debian/maintscript
--- iptotal-0.3.3/debian/maintscript	1970-01-01 01:00:00.0 +0100
+++ iptotal-0.3.3/debian/maintscript	2016-05-29 14:29:33.0 +0200
@@ -0,0 +1 @@
+mv_conffile /etc/iptotal/apache.conf /etc/apache2/conf-available/iptotal.conf 0.3.3-13.1~
diff -Nru iptotal-0.3.3/debian/postinst iptotal-0.3.3/debian/postinst
--- iptotal-0.3.3/debian/postinst	2010-03-30 01:58:49.0 +0200
+++ iptotal-0.3.3/debian/postinst	2016-05-19 11:46:20.0 +0200
@@ -47,7 +47,13 @@
 done
 
 # change ownership to www-data
-	chown -R www-data:www-data /var/lib/iptotal/*
+chown -R www-data:www-data /var/lib/iptotal/*
+
+# enable cgi
+if [ -e /usr/share/apache2/apache2-maintscript-helper ] ; then
+. /usr/share/apache2/apache2-maintscript-helper
+apache2_invoke enmod cgi
+fi
 	;;
 
 	abort-upgrade|abort-remove|abort-deconfigure)
diff -Nru iptotal-0.3.3/debian/README.debian iptotal-0.3.3/debian/README.debian
--- iptotal-0.3.3/debian/README.debian	2010-03-30 02:13:46.0 +0200
+++ iptotal-0.3.3/debian/README.debian	2016-05-19 11:06:42.0 +0200
@@ -1,11 +1,3 @@
-Using iptotal w

Bug#669856: iptotal: diff for NMU version 0.3.3-13.1

2016-05-29 Thread Jean-Michel Nirgal Vourgère
Control: tags 669856 + pending

Dear maintainer,

I've prepared an NMU for iptotal (versioned as 0.3.3-13.1) and
uploaded it to DELAYED/5. Please feel free to tell me if I
should delay it longer.

Regards.
diff -Nru iptotal-0.3.3/debian/changelog iptotal-0.3.3/debian/changelog
--- iptotal-0.3.3/debian/changelog	2016-05-19 11:00:08.0 +0200
+++ iptotal-0.3.3/debian/changelog	2016-05-29 14:48:58.0 +0200
@@ -1,3 +1,15 @@
+iptotal (0.3.3-13.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Upgrade apache2 settings for version 2.4 (Closes: #669856)
+- Now using dh-apache2.
+- Enabling cgi during configuration.
+- Refreshed apache configuration syntax.
+- Added maintscript to move conffile to /etc/apache2/conf-available.
+- Refreshed README.debian.
+
+ -- Jean-Michel Vourgère   Sun, 29 May 2016 14:43:41 +0200
+
 iptotal (0.3.3-13) unstable; urgency=low
 
   * debian/control:
diff -Nru iptotal-0.3.3/debian/changelog.dch iptotal-0.3.3/debian/changelog.dch
--- iptotal-0.3.3/debian/changelog.dch	2016-05-29 14:35:57.0 +0200
+++ iptotal-0.3.3/debian/changelog.dch	1970-01-01 01:00:00.0 +0100
@@ -1,260 +0,0 @@
-iptotal (0.3.3-13.1) UNRELEASED; urgency=medium
-
-  * Non-maintainer upload.
-  * 
-
- -- Jean-Michel Vourgère   Sun, 29 May 2016 14:35:58 +0200
-
-iptotal (0.3.3-13) unstable; urgency=low
-
-  * debian/control:
-- Bumped Standards-Version to 3.9.2.
-- Added the "DM-Upload-Allowed" field.
-  * debian/patches:
-- 08_datalink_offset.diff: fixes iptotal not reporting traffic on PPP
-  insterfaces. (Closes: #230649)
-  * debian/init:
-- Added the Description LSB section.
-- Added the status option.
-
- -- Ignace Mouzannar   Thu, 16 Feb 2012 08:49:19 +0400
-
-iptotal (0.3.3-12) unstable; urgency=low
-
-  * debian/control:
-- Bumped Standards-Version to 3.8.4.
-- Added dependency on ${misc:Depends}.
-- Set dependency on debhelper to (>= 7.0.50~) in order to use dh7 features.
-- Set dependency on autotools-dev to (>=20100122.1) to enable the use of
-  the dh7 addons.
-- Removed dependency on quilt (as source format is now "3.0 (quilt)")
-  * debian/rules:
-- Updated the rules file to use the dh7 features.
-  * debian/postinst:
-- Removed the reload of apache2, as iptotal depends on httpd and not
-  apache2. (Closes: #572246)
-  * debian/postrm:
-- Removed the reload of apache2.
-  * debian/links:
-- Removed the linking of /etc/apache2/conf.d/iptotal.
-  * debian/patches:
-- 07_cgi_filename.diff: fixes incorrect filenames for graph images.
-  (Closes: #574121)
-  * debian/README.debian:
-- Explains the different directory changes that occurred over the last
-  releases of iptotal.
-- Shows how to configure iptotal with apache2.
-
- -- Ignace Mouzannar   Wed, 31 Mar 2010 00:57:48 +0200
-
-iptotal (0.3.3-11) unstable; urgency=low
-
-  * debian/rules:
-- Updated --data-dir from /usr/lib to /var/lib (Closes: #557972)
-  * debian/dirs, debian/install, debian/links, debian/apache.conf:
-- Replaced usr/lib by var/lib.
-  * debian/postinst:
-- Replaced /usr/lib by /var/lib.
-- As installation path has changed in this release, added a temporary
-  copying of old files to the new working directory, and deletion of
-  files from old directories, to prevent data history loss.
-  * Removed debian/lintian-overrides file as it isn't needed anymore.
-
- -- Ignace Mouzannar   Wed, 25 Nov 2009 18:03:58 +0100
-
-iptotal (0.3.3-10) unstable; urgency=low
-
-  * Converted to "3.0 (quilt)" format.
-  * debian/rules:
-- Removed the include of dpatch.make.
-- Removed dh_testroot from the clean section.
-  * debian/patches:
-- Converted all patches from dpatch(1) to quilt(1) format.
-- 06_FTBFS_kFreeBSD.diff: Fixes the FTBFS on GNU/kFreeBSD. Thanks to 
-  Cyril Brulebois  for providing the patch.
-  (Closes: #557165)
-  * debian/control:
-- Removed dependecy on dpatch.
-- Added a dependency on quilt.
-  * debian/source/format:
-- New file set to "3.0 (quilt)".
-
- -- Ignace Mouzannar   Fri, 20 Nov 2009 15:09:43 +0100
-
-iptotal (0.3.3-9) unstable; urgency=low
-
-  * New maintainer. (Closes: #473843)
-  * debian/rules:
-- Moved the copying of /usr/share/misc/config.{sub,guess} from the clean
-  section to the configure section. And added functions to backup/restore
-  the config{sud,guess} files provided by upstream.
-- Changed the data directory from /var/www/iptotal to 
-  /usr/lib/iptotal/ (user content) and /usr/share/iptotal/www (static).
-  (Closes: #553536)
-- Moved configuration file from /etc/ to /etc/iptotal/ directory.
-- Added dh_lintian in the binary-arch section to install the override file.
-  * debian/control:
-- Added build dependency on autotools-dev.
-  * debian/patches:
-- Added 05_fix_old_fixes.dpatch: Includes all changes made by original
-  maintainer outside the debian/ d

Bug#812462: ganglia: diff for NMU version 3.6.0-6.1

2016-05-06 Thread Jean-Michel Nirgal Vourgère
Control: tags 812462 + pending

Dear maintainer,

I've prepared an NMU for ganglia (versioned as 3.6.0-6.1) and
uploaded it to DELAYED/2. Please feel free to tell me if I
should delay it longer.

Regards.
diff -Nru ganglia-3.6.0/debian/changelog ganglia-3.6.0/debian/changelog
--- ganglia-3.6.0/debian/changelog	2014-10-12 13:26:20.0 +0200
+++ ganglia-3.6.0/debian/changelog	2016-05-06 20:27:18.0 +0200
@@ -1,3 +1,10 @@
+ganglia (3.6.0-6.1) unstable; urgency=high
+
+  * Non-maintainer upload.
+  * Updated build-dependencies. Thanks Michael Tautschnig. (Closes: #812462)
+
+ -- Jean-Michel Vourgère   Fri, 06 May 2016 18:22:47 +
+
 ganglia (3.6.0-6) unstable; urgency=medium
 
   * Fix for missing service file. (Closes: #764836)
diff -Nru ganglia-3.6.0/debian/control ganglia-3.6.0/debian/control
--- ganglia-3.6.0/debian/control	2014-09-11 11:59:34.0 +0200
+++ ganglia-3.6.0/debian/control	2016-05-06 20:20:12.0 +0200
@@ -4,7 +4,7 @@
 Maintainer: Debian Monitoring Maintainers 
 Uploaders: Stuart Teasdale , Daniel Pocock 
 Homepage: http://ganglia.info/
-Build-Depends: debhelper (>> 9.0.0), librrd2-dev, autoconf, autotools-dev, automake, libapr1-dev, libexpat1-dev, python-dev, libconfuse-dev, po-debconf, libxml2-dev, libdbi0-dev, libpcre3-dev, gperf, libtool, rsync, libkvm-dev [kfreebsd-any]
+Build-Depends: debhelper (>> 9.0.0), librrd-dev, autoconf, autotools-dev, automake, libapr1-dev, libexpat1-dev, python-dev, libconfuse-dev, po-debconf, libxml2-dev, libdbi0-dev, libpcre3-dev, gperf, libtool, rsync, libkvm-dev [kfreebsd-any], pkg-config, libz-dev
 Standards-Version: 3.9.4
 Vcs-Git: git://anonscm.debian.org/pkg-monitoring/ganglia.git
 Vcs-Browser: http://anonscm.debian.org/cgit/pkg-monitoring/ganglia.git


Bug#786880: cryptojs: diff for NMU version 3.1.2+dfsg-1.1

2015-10-05 Thread Jean-Michel Nirgal Vourgère
Control: tags 786880 + patch
Control: tags 786880 + pending

Dear maintainer,

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

Regards.
diff -Nru cryptojs-3.1.2+dfsg/debian/build cryptojs-3.1.2+dfsg/debian/build
--- cryptojs-3.1.2+dfsg/debian/build	1970-01-01 01:00:00.0 +0100
+++ cryptojs-3.1.2+dfsg/debian/build	2015-10-05 14:26:58.0 +0200
@@ -0,0 +1,57 @@
+#!/bin/bash
+set -e
+
+FILES="aes=core+enc-base64+md5+evpkdf+cipher-core+aes
+hmac-md5=core+md5+hmac
+hmac-ripemd160=core+ripemd160+hmac
+hmac-sha1=core+sha1+hmac
+hmac-sha224=core+sha256+sha224+hmac
+hmac-sha256=core+sha256+hmac
+hmac-sha384=core+x64-core+sha512+sha384+hmac
+hmac-sha3=core+x64-core+sha3+hmac
+hmac-sha512=core+x64-core+sha512+hmac
+md5=core+md5
+pbkdf2=core+sha1+hmac+pbkdf2
+rabbit=core+md5+evpkdf+cipher-core+rabbit
+rabbit-legacy=core+md5+evpkdf+cipher-core+rabbit-legacy
+rc4=core+md5+evpkdf+cipher-core+rc4
+ripemd160=core+ripemd160
+sha1=core+sha1
+sha224=core+sha256+sha224
+sha256=core+sha256
+sha384=core+x64-core+sha512+sha384
+sha3=core+x64-core+sha3
+sha512=core+x64-core+sha512
+tripledes=core+enc-base64+md5+evpkdf+cipher-core+tripledes"
+
+
+rm -rf links
+mkdir -p links
+echo "Creating compatibility links"
+for file in components/*; do
+	ln -s $file links/
+done
+
+
+for file in components/*; do
+	echo Compressing $file >&2
+	yui-compressor -o "components/$(basename -s .js $file)-min.js" $file
+done
+
+
+rm -rf rollups
+mkdir -p rollups
+for file in $FILES; do
+	echo Building rollups/$file >&2
+	if [[ $file =~ ([-0-9a-z]+)=([-0-9a-z+]+) ]]; then
+		target=${BASH_REMATCH[1]}
+		sources=${BASH_REMATCH[2]}
+		_old_IFS=$IFS
+		IFS='+'
+		for src in $sources; do
+			cat components/$src-min.js >> rollups/$target.js
+		done
+		IFS=$_old_IFS
+	fi
+done
+
diff -Nru cryptojs-3.1.2+dfsg/debian/changelog cryptojs-3.1.2+dfsg/debian/changelog
--- cryptojs-3.1.2+dfsg/debian/changelog	2015-10-05 14:26:08.0 +0200
+++ cryptojs-3.1.2+dfsg/debian/changelog	2015-10-05 14:26:58.0 +0200
@@ -1,3 +1,15 @@
+cryptojs (3.1.2+dfsg-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Re-created upstream "rollups", single javascript files with all
+dependencies embeded. This enables the use of that library as documented,
+and fixes import issues on Safari. (Closes: #786880)
+  * Added build-dependency on yui-compressor.
+  * New d/clean and d/build files.
+  * Added links to keep the old addresses working.
+
+ -- Jean-Michel Vourgère   Mon, 05 Oct 2015 14:23:30 +0200
+
 cryptojs (3.1.2+dfsg-1) unstable; urgency=low
 
   * Initial upload (closes: #719784).
diff -Nru cryptojs-3.1.2+dfsg/debian/clean cryptojs-3.1.2+dfsg/debian/clean
--- cryptojs-3.1.2+dfsg/debian/clean	1970-01-01 01:00:00.0 +0100
+++ cryptojs-3.1.2+dfsg/debian/clean	2015-10-05 14:26:58.0 +0200
@@ -0,0 +1,3 @@
+components/*-min.js
+rollups/*
+links/*
diff -Nru cryptojs-3.1.2+dfsg/debian/control cryptojs-3.1.2+dfsg/debian/control
--- cryptojs-3.1.2+dfsg/debian/control	2015-10-05 14:26:08.0 +0200
+++ cryptojs-3.1.2+dfsg/debian/control	2015-10-05 14:26:58.0 +0200
@@ -2,7 +2,7 @@
 Section: web
 Priority: extra
 Maintainer: Laszlo Boszormenyi (GCS) 
-Build-Depends: debhelper (>= 9)
+Build-Depends: debhelper (>= 9), yui-compressor
 Standards-Version: 3.9.6
 Vcs-Git: git://anonscm.debian.org/collab-maint/cryptojs.git
 Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/cryptojs.git;a=summary
diff -Nru cryptojs-3.1.2+dfsg/debian/libjs-cryptojs.install cryptojs-3.1.2+dfsg/debian/libjs-cryptojs.install
--- cryptojs-3.1.2+dfsg/debian/libjs-cryptojs.install	2015-10-05 14:26:08.0 +0200
+++ cryptojs-3.1.2+dfsg/debian/libjs-cryptojs.install	2015-10-05 14:26:58.0 +0200
@@ -1 +1,3 @@
-components/* usr/share/javascript/cryptojs/
+components usr/share/javascript/cryptojs/
+rollups usr/share/javascript/cryptojs/
+links/* usr/share/javascript/cryptojs/
diff -Nru cryptojs-3.1.2+dfsg/debian/rules cryptojs-3.1.2+dfsg/debian/rules
--- cryptojs-3.1.2+dfsg/debian/rules	2015-10-05 14:26:08.0 +0200
+++ cryptojs-3.1.2+dfsg/debian/rules	2015-10-05 14:26:58.0 +0200
@@ -9,6 +9,9 @@
 %:
 	dh $@
 
+override_dh_auto_build:
+	debian/build
+
 get-orig-source:
 	VERSION=$(shell if [ -z $$CJS_VERSION ]; \
 	   then dpkg-parsechangelog | grep ^Version | cut -d\  -f2 | cut -d- -f1 | cut -d+ -f1; \


Bug#784803: Please add a parameter to override dh_installdocs --link-doc version

2015-05-08 Thread Jean-Michel Nirgal Vourgère
Package: debhelper
Version: 9.20150101
Severity: wishlist

Hello

This is a follow up about https://bugs.debian.org/747141

Basically, the detected version of the depends introduced by
dh_installdocs --link-doc is now wrong.

The change was introduced here:
https://anonscm.debian.org/cgit/debhelper/debhelper.git/commit/?id=91636c41fe091ea54e1c2c2516ee431ec0332685


You said in https://bugs.debian.org/747141#129 you are not convinced
this is useful, but since there is at least one other package impacted,
I'm filling this as a wish anyway. Fell free to close it if you don't
want to think about it any more.


Some apache2 modules now contains an invalid dependency [1]. These are
transitional packages that will be removed soon, so it's no big deal,
but here's our not-so-uncommon scenario:

Two of the apache modules were maintained separately and are now part of
apache2-bin.
apache2 now yields transitional binary packages for these two, and makes
sure their version is greater.

We have:

DEBIAN_VERSION := $(shell dpkg-parsechangelog -S version)
override_dh_gencontrol:
 dh_gencontrol  -p libapache2-mod-proxy-html -- -v1:$(DEBIAN_VERSION)
 dh_gencontrol  -p libapache2-mod-macro -- -v1:$(DEBIAN_VERSION)
 dh_gencontrol --remaining-packages


So that apache2 source package generates libapache2-mod-proxy-html and
libapache2-mod-macro with these control files (note the epoch):
 Source: apache2 (2.4.12-1)
 Version: 1:2.4.12-1

Also we have:
override_dh_installdocs-arch:
 dh_installdocs --link-doc=apache2-bin -papache2.2-bin \
-plibapache2-mod-proxy-html \
-plibapache2-mod-macro

The generated control files contain:
 Depends: apache2-bin (= 1:2.4.12-1)
while we had in jessie:
 Depends: apache2-bin (= 2.4.12-1)

Currently the problem only appears on i386 archictecture that has been
upgraded to a recent version of debhelper, I suppose. [1]

If debhelper can't find the correct version anymore, it would be nice to
be able to force it on the command line without hacking back the substvars.

Thank you!


[1] https://qa.debian.org/excuses.php?package=apache2
* 10 days old (needed 5 days)
* libapache2-mod-macro/i386 unsatisfiable Depends: apache2-bin (=
1:2.4.12-1)
* libapache2-mod-proxy-html/i386 unsatisfiable Depends: apache2-bin (=
1:2.4.12-1)
* Valid candidate



signature.asc
Description: OpenPGP digital signature


Bug#754461: Zombies invasion

2015-04-30 Thread Jean-Michel Nirgal Vourgère
I have the same problem here. Currently 19 zombies...

Note that I activated "Always quit" in orage settings / Extra settings /
"Always quit when asked to close", and I don't think it is the default.

If I deactivate that option, the number of defunct processes stops
increasing.

-- 
Nirgal



signature.asc
Description: OpenPGP digital signature


Bug#745605: apache2: AddDefaultCharset doesn't work for javascript

2015-04-30 Thread Jean-Michel Nirgal Vourgère
Control: severity -1 wishlist
Control: retitle -1 Please enable AddDefaultCharset for javascript
Control: forwarded -1 https://bz.apache.org/bugzilla/show_bug.cgi?id=35049

Hi

I dig a bit more, and this is the expected behaviour:
https://httpd.apache.org/docs/2.4/mod/core.html#adddefaultcharset

So, I'm decreasing severity.

We simply cannot add charset for every types, like images.

Carlos: Am I correct in assuming you would like application/javascript
to be included in the list of supported types?

Upstream is aware of the request:
https://bz.apache.org/bugzilla/show_bug.cgi?id=35049

Thank you for reporting a bug at Debian.

-- 
Nirgal



signature.asc
Description: OpenPGP digital signature


Bug#745605: apache2: ignores AddDefaultCharset

2015-04-29 Thread Jean-Michel Nirgal Vourgère
Control: tags -1 upstream
Control: retitle -1 apache2: AddDefaultCharset doesn't work for js

Looking at server/protocol.c, in ap_make_content_type():

/* see if it makes sense to add the charset. At present,
 * we only add it if the Content-type is one of needcset[]
 */
for (pcset = needcset_patterns; *pcset ; pcset++) {
if (apr_strmatch(*pcset, type, type_len) != NULL) {

And above, we have:
static const char *needcset[] = {
"text/plain",
"text/html",
NULL
};

So I guess AddDefaultCharset is only used for these two Content-Types. I
didn't test yet.

I think it's safe to add application/javascript to the list.

An alternative would be to improve the documentation upstream, and the
comments in charset.conf.


Carlos: Meanwhile, I suggest you specify the charset in your script tag,
as suggested in html specification [1].


[1] http://www.w3.org/TR/html5/scripting-1.html#the-script-element



signature.asc
Description: OpenPGP digital signature


Bug#776133: sshfp: Add support for ed25519

2015-04-29 Thread Jean-Michel Nirgal Vourgère
Control: tags -1 fixed-upstream

https://github.com/xelerance/sshfp/commit/3f04673ed24bd2c6354437f029dcc8a2dc9b6793



signature.asc
Description: OpenPGP digital signature


Bug#783064: Can't ssh into newly installed domU jessie instances

2015-04-21 Thread Jean-Michel Nirgal Vourgère
Package: xen-tools
Version: 4.5-1
Severity: normal


Hi

Using a jessie dom0, after the creation of a domU instance running
jessie, one get a message like:

Installation Summary
-
Hostname:  medusa
Distribution:  jessie
MAC Address :  00:12:34:56:78:0A
IP Address(es)  :  192.168.1.10
RSA Fingerprint :  11:22:33:44:55:66:77:88:99:aa:bb:cc:dd:ee:ff:00
Root Password   :  passwordpasswordpasswor


We have the IP address, the SSH RSA fingerprint and the password, so it
looks natural to try to use ssh.

However, since jessie, root login with just a password is disabled. We
need a key. So this doesn't work.


It would be nice to patch the new installed instance to allow ssh root@
logins.
Or maybe copy the ssh key, if any, as an authorized_key?


At the very least, a hint to use "xl console" rather than ssh would be nice.


Thanks

-- System Information:
Debian Release: 8.0



signature.asc
Description: OpenPGP digital signature


Bug#783060: /etc/xen-tools/xen-tools.conf doesn't support # in comments

2015-04-21 Thread Jean-Michel Nirgal Vourgère
Control: tags -1 patch

Attached is a patch.
Description: Allow # within configuration file comments
 Line 20 of /etc/xen-tools/xen-tools.conf says:
 "Anything following a '#' character is ignored as a comment."
 .
 That patch allow two hash characters in configuration files.
 .
 Everything after the *first* hash is now ignored.
Author: Jean-Michel Nirgal Vourgère 
Bug-Debian: https://bugs.debian.org/732456
Forwarded: no
Last-Update: 2015-04-21

--- xen-tools-4.5.orig/lib/Xen/Tools/Common.pm
+++ xen-tools-4.5/lib/Xen/Tools/Common.pm
@@ -70,7 +70,7 @@ sub readConfigurationFile ($$)
 next if ( length($line) < 1 );
 
 # Strip trailing comments.
-if ( $line =~ /(.*)\#(.*)/ )
+if ( $line =~ /([^#]*)\#(.*)/ )
 {
 $line = $1;
 }


signature.asc
Description: OpenPGP digital signature


Bug#783060: /etc/xen-tools/xen-tools.conf doesn't support # in comments

2015-04-21 Thread Jean-Michel Nirgal Vourgère
Package: xen-tools
Version: 4.5-1
Severity: normal

Hi

On a fresh jessie installation, I changed line 134 of
/etc/xen-tools/xen-tools.conf

fs = ext3 # Default file system for any disk
by
fs = ext4 # Default file system for any disk # default was ext3

Then when I create an image I get this error:

--

# xen-create-image --hostname medusa --ip 192.168.1.10 --gateway
192.168.1.1 --netmask 255.255.255.0 --size=20G --memory=512MB

General Information

Hostname   :  medusa
Distribution   :  jessie
Mirror :  http://http.debian.net/debian
Partitions :  swap128M  (swap)
  /   20G   (ext4 # Default file system
for any disk)
Image type :  full
Memory size:  512MB
Kernel path:  /boot/vmlinuz-3.16.0-4-amd64
Initrd path:  /boot/initrd.img-3.16.0-4-amd64

Networking Information
--
IP Address 1   : 192.168.1.10 [MAC: 00:16:3E:C7:A2:6C]
Netmask: 255.255.255.0
Gateway: 192.168.1.1


Creating swap on /dev/debian_vg/medusa-swap
Done
Use of uninitialized value $command in split at
/usr/bin/xen-create-image line 3242.
Use of uninitialized value $binary in concatenation (.) or string at
/usr/bin/xen-create-image line 3246.
The binary '' required to create the filesystem ext3 # Default file
system for any disk is missing


Logfile produced at:
 /var/log/xen-tools/medusa.log
--

The wanted file system "ext4 # Default file system for any disk" is
invalid.

If I remove the second # in the comment, it works.

I expected to be able to put # in a comment.


At the very least, the top of the file should NOT say:
Anything following a '#' character is ignored as a comment.


Thank you for taking care of xen. :)

-- System Information:
Debian Release: 8.0



signature.asc
Description: OpenPGP digital signature


Bug#782753: console-setup.postinst hangs forever during upgrades to jessie

2015-04-17 Thread Jean-Michel Nirgal Vourgère
The problem is gone after a reboot into jessie.

This is good, but that doesn't really solve the upgrade issue.



signature.asc
Description: OpenPGP digital signature


Bug#782753: console-setup.postinst hangs forever during upgrades to jessie

2015-04-17 Thread Jean-Michel Nirgal Vourgère
Package: console-setup
Version: 1.121
Severity: grave
Justification: breaks upgrades to jessie

Dear Maintainer,

I tried upgrading a computer via ssh from debian 7 to 8. It hang forever
in console-setup.postinst, with a zombie process.

This are the last lines printed:
update-initramfs: deferring update (trigger activated)
update-rc.d: warning: start and stop actions are no longer supported;
falling back to defaults
update-rc.d: warning: start and stop actions are no longer supported;
falling back to defaults
Setting up libklibc (2.0.4-2) ...
Setting up klibc-utils (2.0.4-2) ...
Setting up cpio (2.11+dfsg-4.1) ...
Setting up kmod (18-3) ...
Setting up busybox (1:1.22.0-9+deb8u1) ...
Setting up initramfs-tools (0.120) ...
update-initramfs: deferring update (trigger activated)
Setting up xkb-data (2.12-1) ...
Setting up console-setup (1.121) ...

A ps shows:
root  2694  0.0  0.0   6468  1024 ?Ss   Mar03   0:08
/usr/sbin/sshd
root 29796  0.0  0.1   9268  3008 ?Ss   08:16   0:00  \_
sshd: admin [priv]
admin29798  0.0  0.0   9400  1468 ?S08:16   0:00  |   \_
sshd: admin@pts/0
admin29799  0.0  0.1   6308  3484 pts/0Ss   08:16   0:00  |
  \_ -bash
root 29900  0.0  0.0   4208  1240 pts/0S08:16   0:00  |
  \_ su -
root 29902  0.0  0.1   5672  2956 pts/0S08:16   0:00  |
  \_ -su
root 30202  1.0  2.7 110400 57288 pts/0Sl+  08:20   0:22  |
  \_ aptitude
root 19447  0.1  0.1   7284  3664 pts/1Ss+  08:46   0:00  |
  \_ /usr/bin/dpkg --status-fd 37 --configure
locales:all libc6-i686:i386 libgomp1:i386 libquadmath0:i386
libgfortran3:i386 bzip2:i386 libkeyutils1:i386 libkrb5support0:i386
libk5crypto3:i386 [truncated]
root  4876  0.0  0.5  16732 12244 pts/1S+   08:49   0:00  |
  \_ /usr/bin/perl -w /usr/share/debconf/frontend
/var/lib/dpkg/info/console-setup.postinst configure 1.88
root  4935  0.0  0.0  0 0 pts/1Z+   08:49   0:00  |
  \_ [console-setup.p] 


Opening a shell and kill -9 4876 was the trick to complete the upgrade.

console-setup is then in state: "partially configured"

I could reproduce the problem after that with a "apt-get -f install": I
always have to kill the postinst.

I modified /var/lib/dpkg/info/console-setup.postinst:
-> set -x
-> Change "setupcon --save-only" into "setupcon -v --save-only"
-> Change "setupcon" into "setupcon -v"

The output is in the attached file "console-setup.bug.txt".

The process hangs.


I also tried adding a "set -x" in "/bin/setupcon" and it did fixed the
issue, which is really weird. oO

Now I can only reproduce it with "dpkg-reconfigure console-setup":
If I use the original files it hangs, always.
If I add "set -x" on line 2 of "/bin/setupcon", it works, always.

Last thing printed before hanging is:
Loading /etc/console-setup/cached_UTF-8_del.kmap.gz

I'm attaching /etc/defaut/console-setup and
/etc/console-setup/cached_UTF-8_del.kmap.gz files.

I did not reboot after the upgrade, yet.

My /tmp is not a special mount point, permissions are standard
(drwxrwxrwt root:root), disk is not full.

Sorry to fill a RC bug so close to the release, fell free to downgrade
it if you believe it's not a common problem.



-- System Information:
Debian Release: 8.0
  APT prefers testing
  APT policy: (990, 'testing')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-4-686-pae (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: unable to detect

Versions of packages console-setup depends on:
ii  console-setup-linux 1.121
ii  debconf 1.5.56
ii  keyboard-configuration  1.121
ii  xkb-data2.12-1

console-setup recommends no packages.


Versions of packages console-setup suggests:
ii  locales   2.19-17
ii  lsb-base  4.1+Debian13+nmu1

Versions of packages keyboard-configuration depends on:
ii  debconf 1.5.56
ii  initscripts 2.88dsf-59
ii  liblocale-gettext-perl  1.05-8+b1

Versions of packages console-setup-linux depends on:
ii  kbd 1.15.5-2
ii  keyboard-configuration  1.121

console-setup-linux suggests no packages.

Versions of packages console-setup is related to:
pn  console-common  
pn  console-data
pn  console-tools   
ii  kbd 1.15.5-2

-- debconf information:
  keyboard-configuration/unsupported_layout: true
  console-setup/framebuffer_only:
  keyboard-configuration/other:
  keyboard-configuration/unsupported_config_options: true
  keyboard-configuration/layoutcode: fr
  console-setup/guess_font:
  keyboard-configuration/store_defaults_in_debconf_db: true
  keyboard-configuration/model: Generic 105-key (Intl) PC
  console-setup/store_defaults_in_debconf_db: false
  debian-installer/console-setup-udeb/title:
  console-setup/fontsize: 8x16
  keyboard-configuration/toggle: No toggling
  keyboard-configuration/variantcode:
  conso

Bug#782658: mplayer2 keeps complaining about unknown terminal after --msglevel=all=-1 --really-quiet

2015-04-15 Thread Jean-Michel Nirgal Vourgère
Package: mplayer2
Version: 2.0-728-g2c378c7-4+b1
Severity: minor

Hi

I'm using mplayer from a crontab and from at jobs, where environment
variables are minimal.

I keep receiving 1-line emails with the output of mplayer:
Terminal type `unknown' is not defined.

I used "mplayer --msglevel=all=-1 --really-quiet ."
but it doesn't deactivate that specific message.

I expected mplayer to be really quiet with these options.

Thank you for taking care of mplayer. :)


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

Kernel: Linux 3.16.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages mplayer2 depends on:
ii  liba52-0.7.4  0.7.4-17
ii  libasound21.0.28-1
ii  libass5   0.10.2-3
ii  libavcodec56  10:2.5.3-dmo2
ii  libavformat56 10:2.5.3-dmo2
ii  libavresample210:2.5.3-dmo2
ii  libavutil54   10:2.5.3-dmo2
ii  libbluray12:0.7.0-dmo1
ii  libbs2b0  3.1.0+dfsg-2.1
ii  libc6 2.19-17
ii  libcaca0  0.99.beta19-2
ii  libcdio-cdda1 0.83-4.2
ii  libcdio-paranoia1 0.83-4.2
ii  libcdio13 0.83-4.2
ii  libdca0   0.0.5-dmo2
ii  libdirectfb-1.2-9 1.2.10.0-5.1
ii  libdv41.0.0-6
ii  libdvdread4   5.0.0-1
ii  libenca0  1.16-1
ii  libfaad2  2.7-8
ii  libgif4   4.1.6-11
ii  libgl1-mesa-glx [libgl1]  10.3.2-1
ii  libjack-jackd2-0 [libjack-0.116]  1.9.10+20140719git3eb0ae6a~dfsg-2
ii  libjpeg62-turbo   1:1.3.1-12
ii  liblcms2-22.6-3+b3
ii  liblircclient00.9.0~pre1-1.2
ii  libmad0   0.15.1b-8
ii  libmpg123-0   1.20.1-2
ii  libogg0   1.3.2-1
ii  libpng12-01.2.50-2+b2
ii  libpostproc52 6:0.git20120821-4
ii  libpulse0 5.0-13
ii  libquvi7  0.4.1-3
ii  libsdl1.2debian   1.2.15-10+b1
ii  libsmbclient  2:4.1.17+dfsg-2
ii  libspeex1 1.2~rc1.2-1
ii  libswscale3   10:2.5.3-dmo2
ii  libtheora01.1.1+dfsg.1-6
ii  libtinfo5 5.9+20140913-1+b1
ii  libvdpau1 0.8-3
ii  libvorbis0a   1.3.4-2
ii  libx11-6  2:1.6.2-3
ii  libxext6  2:1.3.3-1
ii  libxinerama1  2:1.1.3-1+b1
ii  libxss1   1:1.2.2-1
ii  libxv12:1.0.10-1+b1
ii  libxvidcore4  3:1.3.3-dmo1
ii  libxxf86vm1   1:1.1.3-1+b1
ii  zlib1g1:1.2.8.dfsg-2+b1

mplayer2 recommends no packages.




signature.asc
Description: OpenPGP digital signature


Bug#756196: [eyefiserver] Add an option to ignore EyeFi logs

2015-04-06 Thread Jean-Michel Nirgal Vourgère
control: forwarded -1 https://github.com/nirgal/EyeFiServer/pull/7

Hi Alex

I remember seeing the EyeFi card sending the log once, but this is not
the default as far as I can tell.

I suspect you played a bit too much with the settings, and that there is
a way to disable this behaviour from the card.

I can't find the option in eyefi-config, but if memory serves, this was
related to the choice of files to upload (video, raw files or not, ...).

Does that ring a bell?

-- 
Nirgal



signature.asc
Description: OpenPGP digital signature


Bug#756198: https://github.com/nirgal/EyeFiServer

2015-04-06 Thread Jean-Michel Nirgal Vourgère
Control: forwarded -1 https://github.com/nirgal/EyeFiServer/issues/6

Hi Alex

Thank you for your patch. :)

I applied it in github.

However, there seems to be a glitch with time zone changes, or to be
more precise with daylight saving.

I'm GMT+2 here. And last winter I was GMT+1.

You patch works great for a file that was saved today.

But if the card tries to send a file from last winter, the "correction"
made by the Eye-Fi card was also +2, while one would expect +1.

So I twisted things a bit:
https://github.com/nirgal/EyeFiServer/commit/2bf6bbc82150c92fba36d6cdd681a6e78e93db3e

If you have the opportunity to test last snapshot, it should now work in
all cases:
https://github.com/nirgal/EyeFiServer

Cheers

-- 
Nirgal



signature.asc
Description: OpenPGP digital signature


Bug#590214: create a web-based submission for use with reportbug and possibly everything

2015-04-04 Thread Jean-Michel Nirgal Vourgère
Control: noowner -1

I'm ashamed to say I have not worked on that one for too long.

So I'm releasing ownership of that bug.

-- 
Nirgal


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



Bug#781734: ShowConnected plugin shows an error icon until there's activity

2015-04-03 Thread Jean-Michel Nirgal Vourgère
Control: tags -1 fixed-upstream

Christopher Schramm wrote:
 The default configuration for plugin StatusIcon is "blueman-tray"
>>> that one is an old configuration value and the icon is no longer
>>> available. (...)
> The default value that should work in alpha 1 would be just blueman.

It works now.

Thanks! :)



signature.asc
Description: OpenPGP digital signature


Bug#781734: ShowConnected plugin shows an error icon until there's activity

2015-04-03 Thread Jean-Michel Nirgal Vourgère
Hi Christopher

>> The default configuration for plugin StatusIcon is "blueman-tray"
> that one is an old configuration value and the icon is no longer
> available. It should work if you just remove that name.

I just tried and rebooted:
Unfortunately, this removed the icon.
Entirely.
I mean, no more right click and no way to disable/enable bluetooth any
more, nor pairing a device, nor do anything.

A kill and a manual restart didn't improve things. It was just like if
starting the applet didn't work any more.
From a terminal start, I could see the text output, and the process
really was running, but there was no display whatsoever.

So I would advise against that change. Better have a broken icon than no
icon at all. ^^

FYI, or if someone else read this, I successfully reverted the change by
editing
.gconf/apps/blueman/plugins/StatusIcon/%gconf.xml
and adding back blueman-tray, updating the number of seconds since 1970,
and rebooting.

>> 1.99~alpha2 changelog shows some changes related to icons, but I did not
>> tested it yet (might be fixed upstream).
> Yes, alpha 2 removes the status icon customization completely, so a
> situation where you have an old and invalid value in you settings cannot
> appear anymore.

Cool. Thank you. ^^

-- 
Nirgal



signature.asc
Description: OpenPGP digital signature


Bug#781734: ShowConnected plugin shows an error icon until there's activity

2015-04-02 Thread Jean-Michel Nirgal Vourgère
Package: blueman
Version: 1.99~alpha1-1
File: /usr/bin/blueman-applet
Severity: minor

Dear maintainer,

After xfce starts with bluetooth on, the icon in the tray is invalid.

If I right click to disable, then enable ok, the icon is correct. This
is without connecting to any device.

I expected the icon to be right without that problem.

The default configuration for plugin StatusIcon is "blueman-tray" and I
enabled the plugin "ShowConnected".
1.99~alpha2 changelog shows some changes related to icons, but I did not
tested it yet (might be fixed upstream).

Thank you for taking care of blueman.


-- System Information:
Debian Release: 8.0
  APT prefers testing
  APT policy: (990, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages blueman depends on:
ii  bluez5.23-2+b1
ii  dbus 1.8.16-1
ii  gir1.2-appindicator3-0.1 0.4.92-3.1
ii  gir1.2-gconf-2.0 3.2.6-3
ii  gir1.2-gdkpixbuf-2.0 2.31.1-2+b1
ii  gir1.2-glib-2.0  1.42.0-2.2
ii  gir1.2-gtk-3.0   3.14.5-1
ii  gir1.2-notify-0.70.7.6-2
ii  gir1.2-pango-1.0 1.36.8-3
ii  gnome-icon-theme 3.12.0-1
ii  libatk1.0-0  2.14.0-1
ii  libbluetooth35.23-2+b1
ii  libc62.19-17
ii  libcairo-gobject21.14.0-2.1
ii  libcairo21.14.0-2.1
ii  libgdk-pixbuf2.0-0   2.31.1-2+b1
ii  libglib2.0-0 2.42.1-1
ii  libgtk-3-0   3.14.5-1
ii  libpango-1.0-0   1.36.8-3
ii  libpangocairo-1.0-0  1.36.8-3
ii  libpulse-mainloop-glib0  5.0-13
ii  libpython2.7 2.7.9-2
ii  librsvg2-common  2.40.5-1
ii  libstartup-notification0 0.12-4
ii  notification-daemon  0.7.6-2
ii  obex-data-server 0.4.5-1+b4
ii  python   2.7.9-1
ii  python-dbus  1.2.0-2+b3
ii  python-gi3.14.0-1
ii  python-gi-cairo  3.14.0-1
ii  xfce4-notifyd [notification-daemon]  0.2.4-3

Versions of packages blueman recommends:
ii  policykit-1  0.105-8

blueman suggests no packages.

-- no debconf information




signature.asc
Description: OpenPGP digital signature


Bug#781601: b43-fwcutter: Link in README should be updated

2015-03-31 Thread Jean-Michel Nirgal Vourgère
Source: b43-fwcutter
Version: 1:019-1
Severity: minor
Tags: patch

Hi

The README file points to
http://www.linuxwireless.org/en/users/Drivers/bcm43xx#devicefirmware
but the link has changed to
http://www.linuxwireless.org/en/users/Drivers/b43/

Please update the address.

I could not find an equivalent list of place where to download the
firmware, but in the Ubuntu community link, there.

Cheers

-- System Information:
Debian Release: 8.0
  APT prefers testing
  APT policy: (990, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
--- b43-fwcutter-019.orig/README
+++ b43-fwcutter-019/README
@@ -40,7 +40,7 @@ Where can I find some driver source file
 --
 
 Please check the references at
-http://www.linuxwireless.org/en/users/Drivers/bcm43xx#devicefirmware
+http://www.linuxwireless.org/en/users/Drivers/b43/
 
 It is recommended that you extract firmware for both b43 and b43legacy in
 order to support both types of cards on your system.


signature.asc
Description: OpenPGP digital signature


Bug#781544: firmware-b43-installer breaks apt-get dist-upgrade to jessie

2015-03-30 Thread Jean-Michel Nirgal Vourgère
Hi Daniel

The implementation error is easy enough to fix. For example by replacing
the "if" by a || echo && exit.

But do we really want to skip the download with no error? oO

I mean, as far as I can tell, the only place where the firmware is
downloaded is in the postinst.

And exiting with 0 while the update has not been done is pretty Bad too.

-- 
Nirgal



signature.asc
Description: OpenPGP digital signature


Bug#781528: PersonForm has wrong error message about ldap record when am approved

2015-03-30 Thread Jean-Michel Nirgal Vourgère
Package: nm.debian.org
Severity: minor
Tags: patch

Hi

I am a DM.

My application process is in state "AM approved".

When I go to https://nm.debian.org/am/person/nirgal I have this message
> Jean-Michel Vourgère already has an LDAP record (finger
> nir...@db.debian.org), so their name, uid and email cannot be changed
> here. The email address can be changed using the db.debian.org LDAP
> Gateway.

I do not have an account yet, so I expected another message.

restricted/templates/restricted/person.html does test
> if "edit_ldap" not in vperms.perms
but backend.models.PersonVisitorPermissions._can_edit_ldap_fields
returns False when visitor is not admin and progress==PROGRESS_AM_OK.

Attached is a proposal of an alternative message.

Cheers

-- 
Nirgal
diff --git a/restricted/templates/restricted/person.html b/restricted/templates/restricted/person.html
index b8e4796..b2b0ec0 100644
--- a/restricted/templates/restricted/person.html
+++ b/restricted/templates/restricted/person.html
@@ -24,10 +24,14 @@
 
 {% if "edit_ldap" not in vperms.perms %}
 
-{{person.fullname}} already has an LDAP record (finger
-{{person.uid}}@db.debian.org), so their name, uid and email cannot be
-changed here. The email address can be changed using the
-https://db.debian.org/doc-mail.html";>db.debian.org LDAP Gateway.
+Name, uid and email cannot be changed here:
+Either {{person.fullname}} already has an LDAP record (finger
+{{person.uid}}@db.debian.org): In that case the email address can be
+changed using the
+https://db.debian.org/doc-mail.html";>db.debian.org LDAP Gateway;
+
+Or {{person.fullname}} application progress is past the point where you are
+allowed to change these data from here.
 
 {% endif %}
 


signature.asc
Description: OpenPGP digital signature


Bug#155835: libc6-dev: scanf a flag conflicts with C99

2015-03-28 Thread Jean-Michel Nirgal Vourgère
Hello

I tried to reproduced the bug at
https://bugs.debian.org/cgi-bin/bugreport.cgi?msg=15;att=0;bug=155835
you reported back in 2002, but I couldn't.
See attached log file.

I suppose it has been fixed.
scanf(3) now includes a note about specific '%a' behaviour when -std=c99
is used.

Can we now close this bug?
Or could you provide another test case, please?

-- 
Nirgal
bug155835.c: In function ‘main’:
bug155835.c:6:9: warning: format ‘%a’ expects argument of type ‘float *’, but argument 2 has type ‘char **’ [-Wformat=]
 scanf("%as", &s);
 ^


signature.asc
Description: OpenPGP digital signature


Bug#781295: dpkg-www: Extra copy of changelog included

2015-03-28 Thread Jean-Michel Nirgal Vourgère
Control: tags -1 pending

Fixed in VCS
https://anonscm.debian.org/cgit/collab-maint/dpkg-www.git/commit/?id=46c6072a6cadb1cf198eba77a183d5b362bbc9fe



signature.asc
Description: OpenPGP digital signature


Bug#761023: [bb] Visual stops when audio starts

2015-03-27 Thread Jean-Michel Nirgal Vourgère
I did a few extra tests:

- bb works fine with the music on the console (no X).

- I had the same bug on X. Uninstalling pulseaudio - and rebooting -
fixed the issue.

- I tried compiling with --disable-libmikmodtest, but video also freezes
when pulse-audio is there.

-- 
Nirgal
My skype account was deleted by M$ without reason: Bye bye pulseaudio :)
And welcome back sound hotkeys on my Asus!



signature.asc
Description: OpenPGP digital signature


Bug#669777: yocto-reader: transition towards Apache 2.4

2015-03-26 Thread Jean-Michel Nirgal Vourgère
Control: tags -1 patch

Hi

Attached is a fix, also available at
http://mentors.debian.net/package/yocto-reader

I had to fix #518856 (FTBFS when version has NMU).

The package is not in a good shape, with a bunch of undocumented bugs.
diff -Nru yocto-reader-0.9.4/apache-alias.conf yocto-reader-0.9.4+nmu1/apache-alias.conf
--- yocto-reader-0.9.4/apache-alias.conf	2007-12-29 11:31:30.0 +0100
+++ yocto-reader-0.9.4+nmu1/apache-alias.conf	1970-01-01 01:00:00.0 +0100
@@ -1 +0,0 @@
-Alias /yocto-reader /usr/share/yocto-reader
diff -Nru yocto-reader-0.9.4/apache.conf yocto-reader-0.9.4+nmu1/apache.conf
--- yocto-reader-0.9.4/apache.conf	2007-12-29 11:31:30.0 +0100
+++ yocto-reader-0.9.4+nmu1/apache.conf	1970-01-01 01:00:00.0 +0100
@@ -1,5 +0,0 @@
-
-	Options FollowSymLinks
-Order allow,deny
-Allow from all
-
diff -Nru yocto-reader-0.9.4/debian/apache2 yocto-reader-0.9.4+nmu1/debian/apache2
--- yocto-reader-0.9.4/debian/apache2	1970-01-01 01:00:00.0 +0100
+++ yocto-reader-0.9.4+nmu1/debian/apache2	2015-03-26 19:15:30.0 +0100
@@ -0,0 +1 @@
+conf yocto-reader.conf
diff -Nru yocto-reader-0.9.4/debian/changelog yocto-reader-0.9.4+nmu1/debian/changelog
--- yocto-reader-0.9.4/debian/changelog	2008-12-22 16:22:22.0 +0100
+++ yocto-reader-0.9.4+nmu1/debian/changelog	2015-03-26 21:08:22.0 +0100
@@ -1,3 +1,20 @@
+yocto-reader (0.9.4+nmu1) unstable; urgency=high
+
+  * Non-maintainer upload.
+  * Fix FTFS with nmu versions: (closes: #518856)
+- Makefile: Use dpkg-parsechangelog to get current version.
+- Add Build-Depends on dpkg >= 1.17.
+  * Apache2.4 transition: (closes: #669777)
+- Merge apache.conf and apache-alias.conf in a single yocto-reader.conf,
+  upgrade it to new apache Require style, update DIST_FILES in Makefile.
+- d/rules: Add dh_apache2, no longer copying files to /etc/apache2/conf.d/
+- d/control: Add ${misc:Recommends}, Build-depends on dh-apache2.
+- d/maintscript: rm_conffile /etc/apache2/conf.d/yocto-reader*.
+- New d/apache2: Handle configuration.
+- d/exemples: Use the new configuration name.
+
+ -- Jean-Michel Nirgal Vourgère   Thu, 26 Mar 2015 21:08:06 +0100
+
 yocto-reader (0.9.4) unstable; urgency=medium
 
   * Removed link to proprietary Google javascript and added source
diff -Nru yocto-reader-0.9.4/debian/control yocto-reader-0.9.4+nmu1/debian/control
--- yocto-reader-0.9.4/debian/control	2008-12-22 16:22:22.0 +0100
+++ yocto-reader-0.9.4+nmu1/debian/control	2015-03-26 19:14:37.0 +0100
@@ -2,12 +2,13 @@
 Section: web
 Priority: extra
 Maintainer: Loic Dachary (OuoU) 
-Build-Depends: debhelper (>= 5), coreutils, perl-base, cpio, tar
+Build-Depends: dpkg (>= 1.17), debhelper (>= 5), coreutils, perl-base, cpio, tar, dh-apache2
 Standards-Version: 3.7.2
 
 Package: yocto-reader
 Architecture: all
 Depends: ${shlibs:Depends}, ${misc:Depends}
+Recommends: ${misc:Recommends}
 Description: web based RSS reader
  Yocto-reader is a prototype of a web based RSS reader written in
  Javascript. In this release the GUI front end is fully functional but
diff -Nru yocto-reader-0.9.4/debian/examples yocto-reader-0.9.4+nmu1/debian/examples
--- yocto-reader-0.9.4/debian/examples	2007-12-29 11:31:30.0 +0100
+++ yocto-reader-0.9.4+nmu1/debian/examples	2015-03-26 19:16:12.0 +0100
@@ -1,2 +1 @@
-apache.conf
-apache-alias.conf
\ No newline at end of file
+yocto-reader.conf
diff -Nru yocto-reader-0.9.4/debian/maintscript yocto-reader-0.9.4+nmu1/debian/maintscript
--- yocto-reader-0.9.4/debian/maintscript	1970-01-01 01:00:00.0 +0100
+++ yocto-reader-0.9.4+nmu1/debian/maintscript	2015-03-26 18:42:42.0 +0100
@@ -0,0 +1,2 @@
+rm_conffile /etc/apache2/conf.d/yocto-reader.conf 0.9.4+nmu1~
+rm_conffile /etc/apache2/conf.d/yocto-reader-alias.conf 0.9.4+nmu1~
diff -Nru yocto-reader-0.9.4/debian/rules yocto-reader-0.9.4+nmu1/debian/rules
--- yocto-reader-0.9.4/debian/rules	2007-12-29 12:13:01.0 +0100
+++ yocto-reader-0.9.4+nmu1/debian/rules	2015-03-26 19:11:51.0 +0100
@@ -55,9 +55,6 @@
 
 	# Add here commands to install the package into debian/yocto-reader.
 	$(MAKE) DESTDIR=$(CURDIR)/debian/yocto-reader install
-	mkdir -p $(CURDIR)/debian/yocto-reader/etc/apache2/conf.d
-	cp apache.conf $(CURDIR)/debian/yocto-reader/etc/apache2/conf.d/yocto-reader.conf
-	cp apache-alias.conf $(CURDIR)/debian/yocto-reader/etc/apache2/conf.d/yocto-reader-alias.conf
 
 
 # Build architecture-independent files here.
@@ -83,6 +80,7 @@
 #	dh_installcron
 #	dh_installinfo
 	dh_installman
+	dh_apache2
 	dh_link
 	dh_strip
 	dh_compress
diff -Nru yocto-reader-0.9.4/Makefile yocto-reader-0.9.4+nmu1/Makefile
--- yocto-reader-0.9.4/Makefile	2008-12-22 16:22:22.0 +0100
+++ yocto-reader-0.9.4+nmu1/Makefile	2015-03-26 20:43:39.0 +0100
@@ -17,8 +17,8 @@
 #  .
 
 
-DIST_FILES = ./ChangeLog ./LICENSE.txt ./Makefile ./README.txt ./apache-

Bug#774319: dpkg-www: Error in apache2/erro.log when using http://127.0.0.1/cgi-bin/dpkg

2015-03-26 Thread Jean-Michel Nirgal Vourgère
Control: tags -1 pending

Fixed in collab-maint:
https://anonscm.debian.org/cgit/collab-maint/dpkg-www.git/commit/?id=9c5f29187e199f86d377ad49ae79df8f0af94847



signature.asc
Description: OpenPGP digital signature


Bug#712018: dpkg-www: Should set encoding to UTF-8

2015-03-26 Thread Jean-Michel Nirgal Vourgère
Control: tags -1 pending

Fixed in collab-maint:
https://anonscm.debian.org/cgit/collab-maint/dpkg-www.git/commit/?id=eb00d141b032e91be3fae39e2cf6b04f55533c44



signature.asc
Description: OpenPGP digital signature


Bug#781235: missing-debian-source-format isn't emitted is d/source is missing

2015-03-26 Thread Jean-Michel Nirgal Vourgère
Package: lintian
Version: 2.5.30+deb8u3
Severity: normal

Hello

I noticed that debian-source-dir tests are skipped if the debian/source
directory is completely missing.

This result in the tag "missing-debian-source-format" not being emitted,
which is contrary to tag description saying "d/s/format is recommended",
and not "d/s/format is recommended *if you have d/source*.

This is cause by this line at the begining of checks/debian-source-dir.pm:
> return if not $dsrc;

I expected lintian to emit tag missing-debian-source-format before
aborting other d/source checks.

Cheers


-- System Information:
Debian Release: 8.0
  APT prefers testing
  APT policy: (990, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages lintian depends on:
ii  binutils   2.25-5
ii  bzip2  1.0.6-7+b2
ii  diffstat   1.58-1
ii  file   1:5.22+15-2
ii  gettext0.19.3-2
ii  hardening-includes 2.6
ii  intltool-debian0.35.0+20060710.1
ii  libapt-pkg-perl0.1.29+b2
ii  libarchive-zip-perl1.39-1
ii  libclass-accessor-perl 0.34-1
ii  libclone-perl  0.37-1+b1
ii  libdpkg-perl   1.17.24
ii  libemail-valid-perl1.195-1
ii  libfile-basedir-perl   0.03-1
ii  libipc-run-perl0.92-1
ii  liblist-moreutils-perl 0.33-2+b1
ii  libparse-debianchangelog-perl  1.2.0-1.1
ii  libtext-levenshtein-perl   0.11-1
ii  libtimedate-perl   2.3000-2
ii  liburi-perl1.64-1
ii  man-db 2.7.0.2-5
ii  patchutils 0.3.3-1
ii  perl [libdigest-sha-perl]  5.20.2-2
ii  t1utils1.38-4

Versions of packages lintian recommends:
ii  libautodie-perl 2.25-1
ii  libperlio-gzip-perl 0.18-3+b1
ii  perl5.20.2-2
ii  perl-modules [libautodie-perl]  5.20.2-2

Versions of packages lintian suggests:
pn  binutils-multiarch 
ii  dpkg-dev   1.17.24
ii  libhtml-parser-perl3.71-1+b3
ii  libtext-template-perl  1.46-1
ii  libyaml-perl   1.13-1
ii  xz-utils   5.1.1alpha+20120614-2+b3

-- no debconf information



signature.asc
Description: OpenPGP digital signature


Bug#781156: RFS: dpkg-www/2.55 [RC][QA]

2015-03-25 Thread Jean-Michel Nirgal Vourgère
Package: sponsorship-requests
Severity: important

Dear mentors,

I am looking for a sponsor for package "dpkg-www"

It builds those binary packages:

  dpkg-www   - Web based Debian package browser

To access further information about this package, please visit the
following URL:

  http://mentors.debian.net/package/dpkg-www

Alternatively, one can download the package with dget using this command:

   dget -x
http://mentors.debian.net/debian/pool/main/d/dpkg-www/dpkg-www_2.55.dsc

Changes since the last upload:

dpkg-www (2.55) unstable; urgency=medium

  * QA upload:
- d/control: Set maintainer address to QA.
  * Apache2.4 transition (Closes: #669735, #578237):
- d/control: Build-depends on dh-apache2, change hard Depends on
  apache2 to use of misc:Recommends.
- d/rules: Add dh_apache2.
- New d/dpkg-www.apache2 to handle apache configuration, renamed
  src/apache.conf to debian/dpkg-www.conf.
- d/maintscript: rm_conffile in /etc/apache for apache1,
  mv_conffile to conf-available.
- Makefile: No longer handling apache2 conf.
- d/postinst: No longer handling apache2 conf. File deleted.

That package was orphaned, so maintainer address was changed to QA.

The package is quite outdated (debhelper compat 4, policy 3.5.8). This
was not fixed on purpose to get an unblock for Jessie release.

Regards,
-- 
   Jean-Michel Vourgère



signature.asc
Description: OpenPGP digital signature


Bug#669735: dpkg-www: transition towards Apache 2.4

2015-03-25 Thread Jean-Michel Nirgal Vourgère
Control: tags -1 patch

Attached is a fix.

It's also available on mentors at:
https://mentors.debian.net/package/dpkg-www
diff -Nru dpkg-www-2.54+nmu1/debian/changelog dpkg-www-2.55/debian/changelog
--- dpkg-www-2.54+nmu1/debian/changelog	2008-05-30 22:47:16.0 +0200
+++ dpkg-www-2.55/debian/changelog	2015-03-25 11:17:24.0 +0100
@@ -1,3 +1,20 @@
+dpkg-www (2.55) unstable; urgency=medium
+
+  * QA upload:
+- d/control: Set maintainer address to QA.
+  * Apache2.4 transition (Closes: #669735):
+- d/control: Build-depends on dh-apache2, change hard Depends on apache2
+  to use of misc:Recommends.
+- d/rules: Add dh_apache2.
+- New d/dpkg-www.apache2 to handle apache configuration, renamed
+  src/apache.conf to debian/dpkg-www.conf.
+- d/maintscript: rm_conffile in /etc/apache for apache1, mv_conffile to
+  conf-available.
+- Makefile: No longer handling apache2 conf.
+- d/postinst: No longer handling apache2 conf. File deleted.
+
+ -- Jean-Michel Nirgal Vourgère   Wed, 25 Mar 2015 11:04:14 +0100
+
 dpkg-www (2.54+nmu1) unstable; urgency=low
 
   * Non-maintainer upload.
diff -Nru dpkg-www-2.54+nmu1/debian/control dpkg-www-2.55/debian/control
--- dpkg-www-2.54+nmu1/debian/control	2008-06-28 21:07:04.0 +0200
+++ dpkg-www-2.55/debian/control	2015-03-25 10:56:39.0 +0100
@@ -1,13 +1,14 @@
 Source: dpkg-www
 Section: doc
 Priority: optional
-Maintainer: Massimo Dal Zotto 
-Build-Depends: debhelper (>= 4.1.16)
+Maintainer: Debian QA Group 
+Build-Depends: debhelper (>= 4.1.16), dh-apache2
 Standards-Version: 3.5.8
 
 Package: dpkg-www
 Architecture: all
-Depends: apt, dwww, info2www, perl | perl5, apache2 | httpd
+Depends: apt, dwww, info2www, perl | perl5
+Recommends: ${misc:Recommends}
 Suggests: dlocate, grep-dctrl, mozilla-firefox | www-browser, man2html, tasksel
 Description: Web based Debian package browser
  With the dpkg cgi-bin you can browse Debian packages on a local or
diff -Nru dpkg-www-2.54+nmu1/debian/dpkg-www.apache2 dpkg-www-2.55/debian/dpkg-www.apache2
--- dpkg-www-2.54+nmu1/debian/dpkg-www.apache2	1970-01-01 01:00:00.0 +0100
+++ dpkg-www-2.55/debian/dpkg-www.apache2	2015-03-25 10:53:27.0 +0100
@@ -0,0 +1 @@
+conf debian/dpkg-www.conf
diff -Nru dpkg-www-2.54+nmu1/debian/dpkg-www.conf dpkg-www-2.55/debian/dpkg-www.conf
--- dpkg-www-2.54+nmu1/debian/dpkg-www.conf	1970-01-01 01:00:00.0 +0100
+++ dpkg-www-2.55/debian/dpkg-www.conf	2005-10-07 13:18:06.0 +0200
@@ -0,0 +1,11 @@
+# Apache config for dpkg-www
+
+# Disable execution of dpkg from remote hosts
+
+order deny,allow
+deny from all
+allow from localhost 127.0.0.1
+# allow from .your_domain.com
+
+
+# End dpkg-www config
diff -Nru dpkg-www-2.54+nmu1/debian/maintscript dpkg-www-2.55/debian/maintscript
--- dpkg-www-2.54+nmu1/debian/maintscript	1970-01-01 01:00:00.0 +0100
+++ dpkg-www-2.55/debian/maintscript	2015-03-25 10:31:06.0 +0100
@@ -0,0 +1,2 @@
+rm_conffile /etc/apache/conf.d/dpkg-www 2.55~
+mv_conffile /etc/apache2/conf.d/dpkg-www /etc/apache2/conf-available/dpkg-www.conf 2.55~
diff -Nru dpkg-www-2.54+nmu1/debian/postinst dpkg-www-2.55/debian/postinst
--- dpkg-www-2.54+nmu1/debian/postinst	2006-09-26 14:13:39.0 +0200
+++ dpkg-www-2.55/debian/postinst	1970-01-01 01:00:00.0 +0100
@@ -1,29 +0,0 @@
-#!/bin/sh
-
-set -e
-
-case "$1" in
-configure)
-	;;
-abort-upgrade|abort-remove|abort-deconfigure)
-	exit 0
-	;;
-*)
-echo "postinst called with unknown argument \`$1'" >&2
-	exit 1
-	;;
-esac
-
-for server in apache2 apache apache-ssl; do
-apachectl="/usr/sbin/${server}ctl"
-apachepid="/var/run/${server}.pid"
-if [ -x $apachectl -a -f $apachepid ]; then
-	echo "Restarting $server..." >&2
-	$apachectl restart >&2   Wed, 25 Mar 2015 11:04:14 +0100
+
+dpkg-www (2.54+nmu1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Lintian-based changes:
+- Build-Depend on debhelper, clean-should-be-satisfied-by-build-depends
+- debian/compat:4, comment DH_COMPAT in rules, debian-rules-sets-DH_COMPAT
+- s/-$(MAKE)/$(MAKE)/ debian/rules as Makefile is always present
+  + debian-rules-ignores-make-clean-error
+  * Fixed bashisms in dpkg-www-installer (Closes: #468679).
+- Additionally changed the shebang of dpkg-www to sh, as it's bashisms-free
+
+ -- Raphael Geissert   Fri, 30 May 2008 15:46:11 -0500
+
+dpkg-www (2.54) unstable; urgency=low
+
+  * Fixed parsing of dpkg -l headers in listFilter.
+Closes: #463871.
+
+ -- Massimo Dal Zotto   Mon, 04 Feb 2008 23:31:43 +0100
+
+dpkg-www (2.53) unstable; urgency=low
+
+  * Rewritten parsing of dpkg -l headers in listFilter.
+Closes: #455483.
+
+  * Fixed package building with dash as /bin/sh.
+Closes: #459047.
+
+ -- Massimo Dal Zotto   Tue, 22 Jan 2008 15:05:09 +0100
+
+dpkg-www (2.52) unstable; urgency=low
+
+  * Removed debconf stuff and moved notes to README.Debian.
+Closes: #36, #372236, 

Bug#781033: python-django: "manage dbshell" fails to transmit settings password to postgresql

2015-03-23 Thread Jean-Michel Nirgal Vourgère
Hi

Raphael Hertzog wrote:
> On Mon, 23 Mar 2015, Jean-Michel Nirgal Vourgère wrote:
>> (...) When one runs the generated ./manage.py with (...) "dbshell"
>> argument, django only uses host,dbname and username. Then a prompt
>> asks the user for the password.
> 
> dbshell just runs "psql" with the appropriate parameters. psql does
> not accept a password on the command-line or in an environment variable
> (because it's unsafe, as other users can see the command line), but only
> interactively.
> 
> Thus there is just no way to safely feed the password, short of hijacking
> the whole standard input of psql or automatically modifying ~/.pgpass (both
> possibilities look bad to me)
> 
> (...)

Thank you for the details.

I dig a little bit, and I found a stackoverflow question [1] about psql
authentication. It points to a list of environment variable of interest at
http://www.postgresql.org/docs/9.0/interactive/libpq-envars.html

PGPASSWORD would do the trick, but because of exposure to ps -e, that
looks like a Bad Idea™.

Another possibility is PGPASSFILE env, that provide an alternate
~/.pgpass file. I believe a temporary file would work. This wouldn't
require hacking any existing .pgpass.

It is very unlikely that an existing .pgpass file would be in required
for django to work, but we could attempt to copy its content at the
beginning of the temporary file, just to be safe.



I do agree this is a minor problem, but it would be nice if it would
work for everyone without the need of maintaining a copy of the current
password in another file.

-- 
[1]
https://stackoverflow.com/questions/6523019/postgresql-scripting-psql-execution-with-password

Nirgal



signature.asc
Description: OpenPGP digital signature


Bug#781033: python-django: "manage dbshell" fails to transmit settings password to postgresql

2015-03-23 Thread Jean-Michel Nirgal Vourgère
Package: python-django
Version: 1.7.6-1
Severity: minor

Hi

When one runs the generated ./manage.py with "runserver" argument,
django find the host, dbname, username, and password and runs ok.

But when one runs it with "dbshell" argument, django only uses host,
dbname and username. Then a prompt asks the user for the password.

I expected django to use the password from settings, as it does for
other commands.

I'm using postgresql.

$ grep HOST settings.py
'HOST': '127.0.0.1', # Empty for localhost through domain sockets or
'127.0.0.1' for localhost through TCP.


-- System Information:
Debian Release: 8.0
  APT prefers testing
  APT policy: (990, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages python-django depends on:
ii  python-django-common  1.7.6-1
pn  python:any

Versions of packages python-django recommends:
ii  libjs-jquery 1.7.2+dfsg-3.2
ii  python-sqlparse  0.1.13-2
ii  python-tz2012c+dfsg-0.1

Versions of packages python-django suggests:
pn  bpython
pn  geoip-database-extra | geoip-database-contrib  
ii  gettext0.19.3-2
ii  ipython2.3.0-2
pn  libgdal1   
pn  python-bcrypt  
pn  python-django-doc  
pn  python-flup
pn  python-memcache
pn  python-mysqldb 
ii  python-pil 2.6.1-1+b1
ii  python-psycopg22.5.4+dfsg-1
pn  python-sqlite  
ii  python-yaml3.11-2

-- no debconf information



signature.asc
Description: OpenPGP digital signature


Bug#781021: jessie-pu: package cvxopt/1.1.4-1.2+deb8u1

2015-03-23 Thread Jean-Michel Nirgal Vourgère
Package: release.debian.org
User: release.debian@packages.debian.org
Usertags: pu
Tags: jessie
Severity: normal

Hello

cvxopt fails to import glpk, with error "undefined symbol" (#780251).
This is due to libglpk0 to libglpk36 ABI change.

There already is a patch in jessie: An emulation of the functions that
disappeared. However, the patch was not linked!

The proposed diff fixes the link, and fixes a #if typo.

I believe it's suitable for future Jessie release point, but not in 8.0
because of the freeze. However, the fix is also in sid, and would you
like to have it sooner, it would be possible to:
unblock cvxopt/1.1.4-1.3

Thank you.


-- System Information:
Debian Release: 8.0
  APT prefers testing
  APT policy: (990, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

-- 
Nirgal
diff -Nru cvxopt-1.1.4/debian/changelog cvxopt-1.1.4/debian/changelog
--- cvxopt-1.1.4/debian/changelog	2013-12-06 17:38:32.0 +0100
+++ cvxopt-1.1.4/debian/changelog	2015-03-23 12:02:20.0 +0100
@@ -1,3 +1,11 @@
+cvxopt (1.1.4-1.2+deb8u1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix glpk-4.49.diff: Link the lpx emulation file, fix the #if activation
+test. This fixes "undefined symbol: lpx_create_prob" bugs. (Closes: #780251)
+
+ -- Jean-Michel Nirgal Vourgère   Wed, 11 Mar 2015 23:00:40 +0100
+
 cvxopt (1.1.4-1.2) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -Nru cvxopt-1.1.4/debian/patches/glpk-4.49.diff cvxopt-1.1.4/debian/patches/glpk-4.49.diff
--- cvxopt-1.1.4/debian/patches/glpk-4.49.diff	2013-12-06 17:39:16.0 +0100
+++ cvxopt-1.1.4/debian/patches/glpk-4.49.diff	2015-03-14 21:15:54.0 +0100
@@ -3,13 +3,16 @@
  patch adds compatibility routines that were provided by the upstream author of
  GLPK.
 Author: Sébastien Villemot 
+Author: Jean-Michel Nirgal Vourgère 
 Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=714368
-Forwarded: no
-Last-Update: 2013-08-15
+Forwarded: not-needed
+Last-Update: 2015-03-11
 ---
 This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
 a/src/C/glpk.c
-+++ b/src/C/glpk.c
+Index: cvxopt-1.1.4/src/C/glpk.c
+===
+--- cvxopt-1.1.4.orig/src/C/glpk.c
 cvxopt-1.1.4/src/C/glpk.c
 @@ -20,7 +20,7 @@
  
  #include "cvxopt.h"
@@ -19,8 +22,10 @@
  
  PyDoc_STRVAR(glpk__doc__,
  "Interface to the simplex and mixed integer LP algorithms in GLPK.\n\n"
+Index: cvxopt-1.1.4/src/C/lpx.c
+===
 --- /dev/null
-+++ b/src/C/lpx.c
 cvxopt-1.1.4/src/C/lpx.c
 @@ -0,0 +1,1516 @@
 +/* lpx.c (old GLPK API) */
 +
@@ -35,12 +40,12 @@
 +*  Please note that you may mix calls to old and new GLPK API routines
 +*  (except calls to glp_create_prob and glp_delete_prob). */
 +
-+#if (GLP_VERSION_MAJOR == 4 && GLP_MINOR_VERSION >= 49) || GLP_VERSION_MAJOR > 4
-+
 +#include 
 +#include 
 +#include "lpx.h"
 +
++#if (GLP_MAJOR_VERSION == 4 && GLP_MINOR_VERSION >= 49) || GLP_MAJOR_VERSION > 4
++
 +#define xassert glp_assert
 +#define xerror  glp_error
 +
@@ -1538,8 +1543,10 @@
 +
 +/* eof */
 +
+Index: cvxopt-1.1.4/src/C/lpx.h
+===
 --- /dev/null
-+++ b/src/C/lpx.h
 cvxopt-1.1.4/src/C/lpx.h
 @@ -0,0 +1,568 @@
 +/* lpx.h (old GLPK API) */
 +
@@ -2109,3 +2116,16 @@
 +
 +#endif
 +/* eof */
+Index: cvxopt-1.1.4/src/setup.py
+===
+--- cvxopt-1.1.4.orig/src/setup.py
 cvxopt-1.1.4/src/setup.py
+@@ -63,7 +63,7 @@ if BUILD_GLPK:
+ glpk = Extension('glpk', libraries = ['glpk'],
+ include_dirs = [ GLPK_INC_DIR ],
+ library_dirs = [ GLPK_LIB_DIR ],
+-sources = ['C/glpk.c'] )
++sources = ['C/glpk.c', 'C/lpx.c'] )
+ extmods += [glpk];
+ 
+ if BUILD_DSDP:


signature.asc
Description: OpenPGP digital signature


Bug#780485: filler: Can't write to /var/games/filler.ratings

2015-03-14 Thread Jean-Michel Nirgal Vourgère
Package: filler
Version: 1.02-6.2
Severity: minor

Dear maintainer,

When you finish a game, you get that error message:
"You must belong to the 'games' group to update AI ratings."

The program should run g+s game I guess.

Additionally, I'm surprised to see 2 files there:
-rw-rw-r-- 1 root games 27206 Mar 14 17:10 /var/games/filler.ratings
-rw-r--r-- 1 root root   2243 Dec  1 22:03 /var/games/filler.ratings.gz

Cheers

-- System Information:
Debian Release: 8.0
  APT prefers testing
  APT policy: (990, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages filler depends on:
ii  default-jre [java2-runtime]2:1.7-52
ii  openjdk-6-jre [java2-runtime]  6b33-1.13.5-1
ii  openjdk-7-jre [java2-runtime]  7u75-2.5.4-2

filler recommends no packages.

filler suggests no packages.

-- no debconf information



signature.asc
Description: OpenPGP digital signature


Bug#780484: filler: Man page is not distributed

2015-03-14 Thread Jean-Michel Nirgal Vourgère
Package: filler
Version: 1.02-6.2
Severity: minor
Tags: patch

Dear maintainer,

Filler is distributed without a man page.

There is one in debian/filler.6, but it's not installed.

You already run dh_installman, so the fix is trivial:
$ echo debian/filler.6 > debian/manpages

Cheers

-- System Information:
Debian Release: 8.0
  APT prefers testing
  APT policy: (990, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages filler depends on:
ii  default-jre [java2-runtime]2:1.7-52
ii  openjdk-6-jre [java2-runtime]  6b33-1.13.5-1
ii  openjdk-7-jre [java2-runtime]  7u75-2.5.4-2

filler recommends no packages.

filler suggests no packages.

-- no debconf information



signature.asc
Description: OpenPGP digital signature


Bug#780471: wheezy-pu: package mdbtools/0.7-1+deb7u2

2015-03-14 Thread Jean-Michel Nirgal Vourgère
Package: release.debian.org
User: release.debian@packages.debian.org
Usertags: pu
Tags: wheezy
Severity: normal


Dear RT,

Here are a couple of jessie patches, cherry-picked from upstream, that I
believe are worth having in wheezy:

* memo_zero_len_multipage fixes a buffer overflow while handling some
memo fields.
* bin_output_fix fixes blob output, because of a source destination
inversion in a memcpy.

Attached is a debdiff of 0.7-1+deb7u2 against 0.7-1+deb7u1.

Can I upload it to stable ?


-- System Information:
Debian Release: 8.0
  APT prefers testing
  APT policy: (990, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
diff -Nru mdbtools-0.7/debian/changelog mdbtools-0.7/debian/changelog
--- mdbtools-0.7/debian/changelog	2015-03-14 16:27:10.0 +0100
+++ mdbtools-0.7/debian/changelog	2015-03-14 16:33:12.0 +0100
@@ -1,3 +1,11 @@
+mdbtools (0.7-1+deb7u2) wheezy; urgency=medium
+
+  * memo_zero_len_multipage: Fix overflow in some memo fields. Thanks to
+lovelytwo@github.
+  * bin_output_fix: Fix output of binary data. Thanks to tyzhaoqi.
+
+ -- Jean-Michel Nirgal Vourgère   Sat, 14 Mar 2015 16:33:09 +0100
+
 mdbtools (0.7-1+deb7u1) wheezy; urgency=low
 
   * Version libiodbc Breaks now that it can load multiarch drivers, drop
diff -Nru mdbtools-0.7/debian/patches/bin_output_fix mdbtools-0.7/debian/patches/bin_output_fix
--- mdbtools-0.7/debian/patches/bin_output_fix	1970-01-01 01:00:00.0 +0100
+++ mdbtools-0.7/debian/patches/bin_output_fix	2015-03-14 16:33:04.0 +0100
@@ -0,0 +1,19 @@
+Description: Fix binary outout
+Author: tyzhaoqi 
+Last-Update: 2014-07-24
+Reviewed-by: Jean-Michel Vourgère 
+Applied-Upstream: commit:9ab40e83e6789015c965c92bdb62f92f8cdd0dbd
+
+Index: mdbtools/src/libmdb/data.c
+===
+--- mdbtools.orig/src/libmdb/data.c
 mdbtools/src/libmdb/data.c
+@@ -931,7 +931,7 @@ char *mdb_col_to_string(MdbHandle *mdb,
+ text = g_strdup("");
+ 			} else {
+ text = g_malloc(size);
+-memcpy((char*)buf+start, text, size);
++memcpy(text, (char*)buf+start, size);
+ 			}
+ 		break;
+ 		case MDB_TEXT:
diff -Nru mdbtools-0.7/debian/patches/memo_zero_len_multipage mdbtools-0.7/debian/patches/memo_zero_len_multipage
--- mdbtools-0.7/debian/patches/memo_zero_len_multipage	1970-01-01 01:00:00.0 +0100
+++ mdbtools-0.7/debian/patches/memo_zero_len_multipage	2015-03-14 16:33:04.0 +0100
@@ -0,0 +1,29 @@
+Description: Segfault fix on memo zero length multiple page
+ .
+ While converting memo field to string, stop processing on zero length
+ multiple page.
+Author: lovelytwo <>
+Reviewed-by: Jean-Michel Vourgère 
+Last-Update: 2014-05-02
+Applied-Upstream: commit:a89baeacf5976daf196e6f902fa84ca176d399db
+
+Index: mdbtools/src/libmdb/data.c
+===
+--- mdbtools.orig/src/libmdb/data.c
 mdbtools/src/libmdb/data.c
+@@ -732,9 +732,13 @@ static char *mdb_memo_to_string(MdbHandl
+ 			printf("row num %d start %d len %d\n",
+ pg_row & 0xff, row_start, len);
+ #endif
+-			if (tmpoff + len - 4 > memo_len) {
++			if (tmpoff + len - 4 > memo_len)
+ break;
+-			}
++
++			/* Stop processing on zero length multiple page memo fields */
++			if (!len)
++break;
++
+ 			memcpy(tmp + tmpoff, buf + row_start + 4, len - 4);
+ 			tmpoff += len - 4;
+ 		} while (( pg_row = mdb_get_int32(buf, row_start) ));
diff -Nru mdbtools-0.7/debian/patches/series mdbtools-0.7/debian/patches/series
--- mdbtools-0.7/debian/patches/series	2015-03-14 16:27:10.0 +0100
+++ mdbtools-0.7/debian/patches/series	2015-03-14 16:33:04.0 +0100
@@ -3,3 +3,5 @@
 export_repid_uuid_as_string_use_char_38_in_mysql
 gmdb2_double_free
 binaries_to_string
+memo_zero_len_multipage
+bin_output_fix


signature.asc
Description: OpenPGP digital signature


Bug#780397: Minechangelog doesn't support unicode

2015-03-13 Thread Jean-Michel Nirgal Vourgère
Package: nm.debian.org

From https://nm.debian.org/am/minechangelogs/ when one search Vourgère,
there is no result.

According to
https://codesearch.debian.net/results/Vourg%C3%A8re%20path:debian%2Fchangelog
there should be many.

-- System Information:
Debian Release: 8.0
  APT prefers testing
  APT policy: (990, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)



signature.asc
Description: OpenPGP digital signature


Bug#780251: python-cvxopt: Doesn't work anymore

2015-03-11 Thread Jean-Michel Nirgal Vourgère
Sébastien Villemot wrote:
> Looking at the patch glpk-4.49.diff that I have added in the package in
> order to provide a compatibility layer, it looks like I forgot to link
> lpx.c into glpk.so (which also means that I did not test the package
> before NMUing, shame on me).

Lol. Good catch. ^^

Attached is much smaller fix, suitable for an p-u.

-- 
Nirgal
Description: Fix "undefined symbol: lpx_create_prob" bugs in glpk
 .
 Actually link the lpx compatibility file
 .
 Fix the conditionnal wrapper position and arguments in lpx.c
Author: Jean-Michel Nirgal Vourgère 
Bug-Debian: https://bugs.debian.org/780251
Forwarded: not-needed
Last-Update: 2015-03-11

Index: cvxopt-1.1.4/src/setup.py
===
--- cvxopt-1.1.4.orig/src/setup.py
+++ cvxopt-1.1.4/src/setup.py
@@ -63,7 +63,7 @@ if BUILD_GLPK:
 glpk = Extension('glpk', libraries = ['glpk'],
 include_dirs = [ GLPK_INC_DIR ],
 library_dirs = [ GLPK_LIB_DIR ],
-sources = ['C/glpk.c'] )
+sources = ['C/glpk.c', 'C/lpx.c'] )
 extmods += [glpk];
 
 if BUILD_DSDP:
Index: cvxopt-1.1.4/src/C/lpx.c
===
--- cvxopt-1.1.4.orig/src/C/lpx.c
+++ cvxopt-1.1.4/src/C/lpx.c
@@ -11,12 +11,12 @@
 *  Please note that you may mix calls to old and new GLPK API routines
 *  (except calls to glp_create_prob and glp_delete_prob). */
 
-#if (GLP_VERSION_MAJOR == 4 && GLP_MINOR_VERSION >= 49) || GLP_VERSION_MAJOR > 4
-
 #include 
 #include 
 #include "lpx.h"
 
+#if (GLP_MAJOR_VERSION == 4 && GLP_MINOR_VERSION >= 49) || GLP_MAJOR_VERSION > 4
+
 #define xassert glp_assert
 #define xerror  glp_error
 


signature.asc
Description: OpenPGP digital signature


Bug#780307: Watch file is outdated

2015-03-11 Thread Jean-Michel Nirgal Vourgère
Source: cvxopt
Severity: normal

The homepage says the code has been moved to
https://github.com/cvxopt/cvxopt

Version 1.1.7 is available there.

It's not detected by uscan right now.

-- System Information:
Debian Release: 8.0
  APT prefers testing
  APT policy: (990, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)



signature.asc
Description: OpenPGP digital signature


Bug#780251: python-cvxopt: Doesn't work anymore

2015-03-11 Thread Jean-Michel Nirgal Vourgère
Control: retitle python-cvxopt: glpk component doesn't work anymore
Control: severity -1 important
Control: tags -1 -moreinfo +confirmed +fixed-upstream +patch

I traced back the problem to release 4.53 of glpk [1], in February 2014.
According to policy 8.6.2, there should have been a SONAME bump to 37 in
order to have a smooth transition.

Anyway, looking at the upstream source, references to lpx_create_prob
have been changed to glp_create_prob in version 1.1.7 [2], but the
commit is not atomic and in fact huge.

Attached is a patch that replaces glpk-4.49.diff. It upgrades
src/C/glpk.c and only that from version 1.1.4 to version 1.1.7, from
upstream.

It sure resolves the import, but I don't know how to properly test it.

Julien: Can you provide a small test?


[1]
https://anonscm.debian.org/cgit/debian-science/packages/glpk.git/commit/?id=3f635b63468815873c9c33dd497dea8240d607fa

[2] commit f3ca94fb997979a54b913f95b816132f7fd44820 on
https://github.com/cvxopt/cvxopt/

-- 
Nirgal
Description: Bring glpk component to version 1.1.7
 glpk ABI has changed and some symbols are no longer available.
 .
 That patch is the complete diff between version 1.1.4 and 1.1.7, but limited to the src/C/glpk.c file.
Author: Martin Andersen 
Origin: upstream
Bug-Debian: https://bugs.debian.org/780251
Forwarded: not-needed
Reviewed-By: Jean-Michel Nirgal Vourgère 
Last-Update: 2015-03-11

Index: cvxopt-1.1.4/src/C/glpk.c
===
--- cvxopt-1.1.4.orig/src/C/glpk.c
+++ cvxopt-1.1.4/src/C/glpk.c
@@ -1,8 +1,9 @@
 /*
+ * Copyright 2012-2014 M. Andersen and L. Vandenberghe.
  * Copyright 2010-2011 L. Vandenberghe.
  * Copyright 2004-2009 J. Dahl and L. Vandenberghe.
  *
- * This file is part of CVXOPT version 1.1.4.
+ * This file is part of CVXOPT version 1.1.7.
  *
  * CVXOPT is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -20,76 +21,36 @@
 
 #include "cvxopt.h"
 #include "misc.h"
-#include "glpk.h"
+#include 
+#include 
+#include 
 
 PyDoc_STRVAR(glpk__doc__,
 "Interface to the simplex and mixed integer LP algorithms in GLPK.\n\n"
 "The GLPK control parameters have the default values listed in \n"
-"the GLPK documentation, except for 'LPX_K_PRESOL', which is set\n"
-"to 1 and cannot be modified.  The other parameters can be\n"
-"modified by making an entry in the dictionary glpk.options.\n"
-"For example, the command glpk.options['LPX_K_MSGLEV'] = 0 turns\n"
-"off the printed output during execution of glpk.simplex().\n"
-"See the documentation at www.gnu.org/software/glpk/glpk.html for\n"
-"the list of GLPK control parameters and their default values.");
+"the GLPK documentation (section 2.8.1 for the simplex solver and \n"
+"section 2.10.5 for the MILP solver).  The control  parameters can \n"
+"be modified by making an entry in the dictionary glpk.options.\n"
+"For example, glpk.options['msg_lev'] = 'GLP_MSG_OFF' turns off the \n"
+"printed output will be turned off during execution of glpk.lp().\n"  
+"Setting glpk.options['it_lim'] = 10 sets the simplex iteration \n"
+"limit to 10.  Unrecognized entries in glpk.options are ignored.");
 
 static PyObject *glpk_module;
 
-typedef struct {
-char  name[20];
-int   idx;
-char  type;
-}   param_tuple;
-
-static const param_tuple GLPK_PARAM_LIST[] = {
-{"LPX_K_MSGLEV",LPX_K_MSGLEV,   'i'}, 
-{"LPX_K_SCALE", LPX_K_SCALE,'i'},
-{"LPX_K_DUAL",  LPX_K_DUAL, 'i'},
-{"LPX_K_PRICE", LPX_K_PRICE,'i'},
-{"LPX_K_RELAX", LPX_K_RELAX,'f'},
-{"LPX_K_TOLBND",LPX_K_TOLBND,   'f'},
-{"LPX_K_TOLDJ", LPX_K_TOLDJ,'f'},
-{"LPX_K_TOLPIV",LPX_K_TOLPIV,   'f'},
-{"LPX_K_ROUND", LPX_K_ROUND,'i'},
-{"LPX_K_OBJLL", LPX_K_OBJLL,'f'},
-{"LPX_K_OBJUL", LPX_K_OBJUL,'f'},
-{"LPX_K_ITLIM", LPX_K_ITLIM,'i'},
-{"LPX_K_ITCNT", LPX_K_ITCNT,'i'}, 
-{"LPX_K_TMLIM", LPX_K_TMLIM,'f'},
-{"LPX_K_OUTFRQ",LPX_K_OUTFRQ,   'i'},
-{"LPX_K_OUTDLY",LPX_K_OUTDLY,   'f'},
-{"LPX_K_BRANCH",LPX_K_BRANCH,   'i'},
-{"LPX_K_BTRACK",LPX_K_BTRACK,   'i'},
-{"LPX_K_TOLINT",LPX_K_TOLINT,   'f'},
-{"LPX_K_TOLOBJ",LPX_K_TOLOBJ,   'f'},
-{"LPX_K_MPSINFO",   LPX_K_MPSINFO,  'i'},
-{"LPX_K_MPSOBJ",LPX_K_MPSOBJ,   'i'},
-{"LPX_K_MPSORIG",   LPX_K_MPSORIG,  'i'},
-{"LPX_K_MPSWIDE",   LPX_K_MPSWIDE,  'i'},
-{"LPX_K_MPSFREE",   LPX_K_MPSFREE,  'i'},
-{"LPX_K_MPSSKIP",   LPX_K_MPSSKIP,  'i'},
-{"LPX_K_LPTORIG",   LPX_K_LPTORIG,  'i'},
-{"LPX_K_PRESOL",LPX_K_PRESOL,   'i'},
-}; /* 28 paramaters */
-
-
 #if PY_MAJOR_VERSION >= 3
-static int get_param_idx(const char *str, int *idx, char *type)
-#else
-static int get_param_idx(char *str, int *idx, char *type)
+#define PYINT_CHECK(value) PyLong_Che

Bug#596835: libphp-adodb: needs handling for bool -> int on PgSQL

2015-03-04 Thread Jean-Michel Nirgal Vourgère
Control: tags -1 fixed-upstream

Fixed in 5.18

See
https://github.com/ADOdb/ADOdb/commit/72c46239edcf09b9539239b0949406dc5ebffd0a



signature.asc
Description: OpenPGP digital signature


Bug#596829: libphp-adodb: does not handle quoted default values for PostgreSQL

2015-03-04 Thread Jean-Michel Nirgal Vourgère
Control: tags -1 fixed-upstream

Fixed in 5.18

See
https://github.com/ADOdb/ADOdb/commit/075f8ca770c7028bbacc3db3cb991d0362f8f17c



signature.asc
Description: OpenPGP digital signature


Bug#596830: libphp-adodb: PostgreSQL code cannot "... ALTER COLUMN ... SET NOT NULL"

2015-03-04 Thread Jean-Michel Nirgal Vourgère
Control: tags -1 fixed-upstream

Fixed in 5.18
See
https://github.com/ADOdb/ADOdb/commit/4fbfd7fa89dc51534cf4866530cb857fcadc60da



signature.asc
Description: OpenPGP digital signature


Bug#586628: libphp-adodb: please remove debconf notice

2015-02-27 Thread Jean-Michel Nirgal Vourgère
control: tags -1 patch

There already is a test to only show the message when upgrading from old
versions, but that test should consider /new/ version as /later/.
See attached patch.

Now that version is so old that removing libphp-adodb.config altogether
is probably the best course of action...
--- debian/libphp-adodb.config	2009-09-08 08:35:38.0 +0200
+++ debian/libphp-adodb.config.new	2015-02-27 11:34:53.286299900 +0100
@@ -11,7 +11,7 @@
 
 #
 # print a warning, if we're upgrading from 1.x versions (/usr/lib ->/usr/share)
-if dpkg --compare-versions "$version" lt "4.64-1" ; then
+if dpkg --compare-versions "$version" lt-nl "4.64-1" ; then
 	db_input critical libphp-adodb/pathmove || true
 	db_go || true
 fi


signature.asc
Description: OpenPGP digital signature


Bug#762378: phppgadmin: partial SQL execution failure

2015-02-24 Thread Jean-Michel Nirgal Vourgère
Control: tags -1 patch
Description: Stop ignoring sql queries whose ending ';' is on its own line
Author: Jean-Michel Nirgal Vourgère 
Bug: https://sourceforge.net/p/phppgadmin/bugs/448/
Bug-Debian: https://bugs.debian.org/762378
Forwarded: https://github.com/phppgadmin/phppgadmin/pull/27
Last-Update: 2015-03-24

Index: phppgadmin/classes/database/Postgres.php
===
--- phppgadmin.orig/classes/database/Postgres.php
+++ phppgadmin/classes/database/Postgres.php
@@ -7504,17 +7504,18 @@ class Postgres extends ADODB_base {
 			else if (substr($line, $i, 1) == ';' && !$bslash_count && !$paren_level)
 			{
 			$subline = substr(substr($line, 0, $i), $query_start);
-/* is there anything else on the line? */
-if (strspn($subline, " \t\n\r") != strlen($subline))
+/*
+ * insert a cosmetic newline, if this is not the first
+ * line in the buffer
+	 */
+if (strlen($query_buf) > 0)
+$query_buf .= "\n";
+/* append the line to the query buffer */
+$query_buf .= $subline;
+
+/* is there anything in the query_buf? */
+if (trim($query_buf))
 {
-	/*
-	 * insert a cosmetic newline, if this is not the first
-	 * line in the buffer
-		 */
-	if (strlen($query_buf) > 0)
-	$query_buf .= "\n";
-	/* append the line to the query buffer */
-	$query_buf .= $subline;
 	$query_buf .= ';';
 
 		// Execute the query. PHP cannot execute


signature.asc
Description: OpenPGP digital signature


Bug#762378: phppgadmin: partial SQL execution failure

2015-02-23 Thread Jean-Michel Nirgal Vourgère
I could reproduce the problem, and somewhat reduce it:

It looks like lines that contain a \n just before the semi column are
ignored. oO

Example with sql files:

This works:
-- 8< -
delete from translations where lang='en' and internal=1;
-- 8< -


This doesn't work:
-- 8< -
delete from translations where lang='en' and internal=1
;
-- 8< -


But this works:
-- 8< -
delete from translations where lang='en'
and internal=1;
-- 8< -





signature.asc
Description: OpenPGP digital signature


Bug#779013: jessie-pu: package phppgadmin/5.1-1

2015-02-23 Thread Jean-Michel Nirgal Vourgère
Package: release.debian.org
User: release.debian@packages.debian.org
Usertags: pu
Tags: jessie
Severity: normal

Hello

phppgadmin is a web application that supports apache2.2

When upgrading to Jessie that contains apache 2.4, the application
doesn't work anymore. See #669837.

The proposed update fixes that important issue.

It is unclear whether it is ok to bump the severity of #669837 to RC: In
a way, you can move and fix the apache conf file around yourself so it
may not be RC, but another point of view is that if you had the package
working on wheezy, upgrading to jessie just always breaks it. I'd like
to have your opinion on that. If you agree the severity can be bumped to
RC, then we could just unblock phppgadmin/5.1-1.1

Attached is the full debdiff, that will be for Jessie 8.1 I suppose.
Please double check the first line of the changelog, I'm a bit lost
about how to proceed with versionning, and  I assumed
testing-proposed-update will become proposed-update when jessie is released.

Regarding the patch itself, using dh_apache2 is not a trivial change,
but I believe it is less complex that trying to fix things by doing
things manually in maintainer scripts.
The only unnecessary thing I see there is that we stop creating obsolete
/etc/apache2/conf.d/ directory, which is a good thing imho.

-- System Information:
Debian Release: 8.0
  APT prefers testing
  APT policy: (990, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)


diff -Nru phppgadmin-5.1/debian/changelog phppgadmin-5.1/debian/changelog
--- phppgadmin-5.1/debian/changelog	2013-04-18 12:37:03.0 +0200
+++ phppgadmin-5.1/debian/changelog	2015-02-20 18:21:14.0 +0100
@@ -1,3 +1,20 @@
+phppgadmin (5.1-1+deb8u1) testing; urgency=low
+
+  * Non maintainer upload.
+  * Changes for apache2.4 settings (Closes: #669837)
+. Upgrade phppgadmin.conf restriction to localhost to 2.4 format.
+. Update rules:
+Use "--with apache2" in rules.
+No longer copying apache.conf, dh_apache2 does that.
+. Rename apache.conf into phppgadmin.conf.
+. Drop /etc/apache2/conf.d from dirs.
+. Remove manual reload of apache in maintainer scripts, dh_apache2 does it
+  automatically.
+. Build-depends on dh-apache2.
+. Use {$misc:Suggests} so apache2 is no longer a direct Depends.
+
+ -- Jean-Michel Nirgal Vourgère   Mon, 22 Jul 2013 13:01:15 +
+
 phppgadmin (5.1-1) unstable; urgency=low
 
   * New upstream release.
diff -Nru phppgadmin-5.1/debian/control phppgadmin-5.1/debian/control
--- phppgadmin-5.1/debian/control	2013-04-18 11:39:06.0 +0200
+++ phppgadmin-5.1/debian/control	2015-02-20 18:04:29.0 +0100
@@ -3,7 +3,7 @@
 Uploaders: Peter Eisentraut 
 Section: web
 Priority: extra
-Build-Depends: debhelper (>= 7.0.50~)
+Build-Depends: debhelper (>= 7.0.50~), dh-apache2
 Standards-Version: 3.9.3
 Homepage: http://phppgadmin.sourceforge.net/
 Vcs-Git: git://anonscm.debian.org/pkg-postgresql/phppgadmin.git
@@ -11,9 +11,9 @@
 
 Package: phppgadmin
 Architecture: all
-Depends: ${misc:Depends}, libapache2-mod-php5 | php5-cgi, php5-pgsql, apache2 | httpd,
+Depends: ${misc:Depends}, libapache2-mod-php5 | php5-cgi, php5-pgsql,
  libjs-jquery
-Recommends: postgresql-doc
+Recommends: ${misc:Recommends}, postgresql-doc
 Suggests: postgresql, slony1-bin
 Description: web-based administration tool for PostgreSQL
  phpPgAdmin is a web-based administration tool for PostgreSQL. It is perfect
diff -Nru phppgadmin-5.1/debian/dirs phppgadmin-5.1/debian/dirs
--- phppgadmin-5.1/debian/dirs	2013-04-18 11:39:06.0 +0200
+++ phppgadmin-5.1/debian/dirs	2015-02-20 10:28:52.0 +0100
@@ -1,4 +1,3 @@
 usr/share/phppgadmin
 usr/share/phppgadmin/conf
 etc/phppgadmin
-etc/apache2/conf.d
diff -Nru phppgadmin-5.1/debian/phppgadmin.apache2 phppgadmin-5.1/debian/phppgadmin.apache2
--- phppgadmin-5.1/debian/phppgadmin.apache2	1970-01-01 01:00:00.0 +0100
+++ phppgadmin-5.1/debian/phppgadmin.apache2	2015-02-20 10:28:52.0 +0100
@@ -0,0 +1 @@
+conf debian/phppgadmin.conf
diff -Nru phppgadmin-5.1/debian/phppgadmin.conf phppgadmin-5.1/debian/phppgadmin.conf
--- phppgadmin-5.1/debian/phppgadmin.conf	1970-01-01 01:00:00.0 +0100
+++ phppgadmin-5.1/debian/phppgadmin.conf	2015-02-20 10:28:52.0 +0100
@@ -0,0 +1,29 @@
+Alias /phppgadmin /usr/share/phppgadmin
+
+
+
+DirectoryIndex index.php
+AllowOverride None
+
+# Only allow connections from localhost:
+Require local
+
+
+  php_flag magic_quotes_gpc Off
+  php_flag track_vars On
+  #php_value include_path .
+
+
+  
+
+  AddType application/x-httpd-php .php
+  Action application/x-httpd-php /cgi-bin/php
+
+
+  AddType application/x-httpd-php .php
+  Action application/x-httpd-php /cgi-bin/php
+
+  
+
+
+
diff -Nru php

Bug#778820: missing-build-dependency-for-dh-addon apache2 => dh-apache2 instead of apache2-dev

2015-02-20 Thread Jean-Michel Nirgal Vourgère
Control: tags -1 patch

Nirgal wrote:
> Packages using dh_apache2 are invited to depends on dh-apache2. [1]
> apache2-dev provides dh-apache2, but that may change in the future.
> Lintian should not ask to build-depends directly on apache2-dev, this
> is an unstable solution.
> [1] https://wiki.debian.org/Apache/PackagingFor24

There already was an override for dh_command, but it's missing for
dh_addons.

Attached is a fix.
--- data/debhelper/dh_addons-manual.orig	2015-02-20 12:35:03.692271593 +0100
+++ data/debhelper/dh_addons-manual	2015-02-20 12:35:36.061018757 +0100
@@ -4,6 +4,7 @@
 #
 # Please keep this sorted.
 
+apache2||dh-apache2 | apache2-dev
 lv2config||lv2core
 python2||python | python-all | python-dev | python-all-dev
 python3||python3 | python3-all | python3-dev | python3-all-dev


signature.asc
Description: OpenPGP digital signature


Bug#778820: missing-build-dependency-for-dh-addon apache2 => dh-apache2 instead of apache2-dev

2015-02-20 Thread Jean-Michel Nirgal Vourgère
Package: lintian
Version: 2.5.30+deb8u3
Severity: normal

Hello

Packages using dh_apache2 are invited to depends on dh-apache2. [1]

apache2-dev provides dh-apache2, but that may change in the future.

Lintian should not ask to build-depends directly on apache2-dev, this is
an unstable solution.

[1] https://wiki.debian.org/Apache/PackagingFor24

-- System Information:
Debian Release: 8.0
  APT prefers testing
  APT policy: (990, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages lintian depends on:
ii  binutils   2.24.90.20141023-1
ii  bzip2  1.0.6-7+b2
ii  diffstat   1.58-1
ii  file   1:5.20-2
ii  gettext0.19.3-2
ii  hardening-includes 2.6
ii  intltool-debian0.35.0+20060710.1
ii  libapt-pkg-perl0.1.29+b2
ii  libarchive-zip-perl1.39-1
ii  libclass-accessor-perl 0.34-1
ii  libclone-perl  0.37-1+b1
ii  libdpkg-perl   1.17.23
ii  libemail-valid-perl1.195-1
ii  libfile-basedir-perl   0.03-1
ii  libipc-run-perl0.92-1
ii  liblist-moreutils-perl 0.33-2+b1
ii  libparse-debianchangelog-perl  1.2.0-1.1
ii  libtext-levenshtein-perl   0.11-1
ii  libtimedate-perl   2.3000-2
ii  liburi-perl1.64-1
ii  man-db 2.7.0.2-5
ii  patchutils 0.3.3-1
ii  perl [libdigest-sha-perl]  5.20.1-5
ii  t1utils1.38-3+b1

Versions of packages lintian recommends:
ii  libautodie-perl 2.25-1
ii  libperlio-gzip-perl 0.18-3+b1
ii  perl5.20.1-5
ii  perl-modules [libautodie-perl]  5.20.1-5

Versions of packages lintian suggests:
pn  binutils-multiarch 
ii  dpkg-dev   1.17.23
ii  libhtml-parser-perl3.71-1+b3
ii  libtext-template-perl  1.46-1
ii  libyaml-perl   1.13-1
ii  xz-utils   5.1.1alpha+20120614-2+b3

-- no debconf information



signature.asc
Description: OpenPGP digital signature


Bug#778553: Authentication setup panel broken. Cannot redeclare ldap_escape()

2015-02-16 Thread Jean-Michel Nirgal Vourgère
Control: tags -1 + fixed-upstream
Control: forwarded -1 https://github.com/phpbb/phpbb/pull/2989

Upstream patch is available here:
https://github.com/phpbb/phpbb/pull/2989/files



signature.asc
Description: OpenPGP digital signature


Bug#778553: Authentication setup panel broken. Cannot redeclare ldap_escape()

2015-02-16 Thread Jean-Michel Nirgal Vourgère
Package: phpbb3
Version: 3.0.12-4
Severity: important
Justification: Cannot setup authentication, package becomes unusable in
some cases.

After a Fresh install of phpbb3 on Jessie, when logged in the
administration control panel, when you click on "Authentication" on the
left, you get an empty page.

/var/log/apache/error.log says:
[Mon Feb 16 16:35:23.885642 2015] [:error] [pid 2720] [client ::1:48216]
PHP Fatal error:  Cannot redeclare ldap_escape() in
/usr/share/phpbb3/www/includes/auth/auth_ldap.php on line 300, referer:
http://localhost/phpbb/adm/index.php?sid=b4ad54b7602b01ed8556c8cefa50e92e&i=users&mode=overview

So it is now impossible to ask phpbb to use apache or ldap
authentication backends: Only the default builtin authentication scheme
is available.
I really need these functions, and it will prevent me to upgrade to
Jessie without patching that package, hence the severity.

ldap_escape [1] is part of php built in functions since 5.6.0.

[1] http://php.net/manual/en/function.ldap-escape.php

-- System Information:
Debian Release: 8.0
  APT prefers testing
  APT policy: (990, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages phpbb3 depends on:
ii  apache2 [httpd]2.4.10-9
ii  dbconfig-common1.8.47+nmu3
ii  debconf [debconf-2.0]  1.5.55
ii  libapache2-mod-php55.6.5+dfsg-1
ii  php5   5.6.5+dfsg-1
ii  php5-cli   5.6.5+dfsg-1
ii  php5-gd5.6.5+dfsg-1
ii  php5-mysql 5.6.5+dfsg-1
ii  php5-pgsql 5.6.5+dfsg-1
ii  postgresql-client-9.4 [postgresql-client]  9.4.1-1
ii  sqlite 2.8.17-12
ii  ucf3.0030

Versions of packages phpbb3 recommends:
ii  exim4  4.84-7
ii  exim4-daemon-light [mail-transport-agent]  4.84-7
ii  php5-imagick   3.2.0~rc1-1

Versions of packages phpbb3 suggests:
pn  phpbb3-l10n  
ii  postgresql   9.4+165
-- debconf information:
  phpbb3/purge: false
* phpbb3/httpd: apache2
* phpbb3/pgsql/authmethod-user: password
  phpbb3/admin-pass-generated:
* phpbb3/pgsql/admin-user: postgres
  phpbb3/mysql/admin-user: root
  phpbb3/upgrade-error: abort
  phpbb3/remote/port:
  phpbb3/admin-pass-mismatch:
  phpbb3/internal/skip-preseed: false
  phpbb3/install-error: retry
  phpbb3/dbconfig-upgrade: true
  phpbb3/db/basepath:
  phpbb3/dbconfig-remove:
* phpbb3/pgsql/authmethod-admin: ident
* phpbb3/pgsql/method: unix socket
  phpbb3/pgsql/no-empty-passwords:
  phpbb3/admin-pass-ask:
  phpbb3/missing-db-package-error: abort
  phpbb3/passwords-do-not-match:
  phpbb3/remove-error: abort
  phpbb3/dbconfig-reinstall: false
* phpbb3/db/app-user: phpbb3
  phpbb3/admin-pass-requirements:
  phpbb3/internal/reconfiguring: false
  phpbb3/remote/host:
  phpbb3/pgsql/manualconf:
  phpbb3/database-type: pgsql
  phpbb3/upgrade-backup: true
  phpbb3/mysql/method: unix socket
* phpbb3/dbconfig-install: true
  phpbb3/pgsql/changeconf: false
* phpbb3/db/dbname: phpbb3
  phpbb3/remote/newhost:



signature.asc
Description: OpenPGP digital signature


Bug#656233: libapache2-mod-wsgi-py3: libapache2-mod-python-py3 should conflict with libapache2-mod-python

2015-02-12 Thread Jean-Michel Nirgal Vourgère
Jessie version shows a better error message, which is a real improvement:

[wsgi:crit] [pid 17100] mod_wsgi (pid=17100): The mod_python module can
not be used on conjunction with mod_wsgi 4.0+. Remove the mod_python
module from the Apache configuration.

However, a "Conflicts: libapache2-mod-python" seems a good idea to me.

-- 
Nirgal



signature.asc
Description: OpenPGP digital signature


Bug#777546: Please don't grant localhost unconditional access to mod_status

2015-02-09 Thread Jean-Michel Nirgal Vourgère
Package: apache2
Version: 2.4.10-9
Severity: wishlist
Tags: security

Hello

When one install a tor hidden service, a local proxy is installed.
This is an example from default /etc/tor/torrc [1] (This is commented
out in the example)
#HiddenServicePort 80 127.0.0.1:80

This means that all httpd connections seem to come from localhost.

This is a problem for mod_status, enabled by default, whose access is
based on incoming IP. Compromised information sometimes includes IP
public address, which is annoying for a hidden server, patch level, URL
being served, source IP addresses ... [2]


The obvious solution is to disable the module when using tor, but then
you loose the command "apache2ctl status", which is a pity.
Note that "service apache2 status" does work ok, however.


Some people have suggested that this url might be protected by a
password, and I believe it's the "lesser bad" idea. This is what I think
would be needed:
- Have postint generate a random strong password. Store it in a file
readable by apache & apache2ctl.
- Have default mod_status protected by that password.
- Have apache2ctl use that user/password. I did not test if all packages
providing www-browser supports the
http://user:password@localhost:80/server-status syntax.
This requires some auth modules to be enabled, which is probably a bad
idea. And exposes the password in "ps", too.


A variant of that solution would be to randomize the /server-status URL,
to include a secret suffix.


Another more simple and radical solution would be to disable mod_status
by default. Then, and actually in all cases, apache2ctl should test
"a2query -q -m status" and print a better error message than "The
requested URL /server-status was not found on this server." suggesting
the user to enable the module if he wants that.


What is your opinion on that problem?


Do you see a more generic way to restrict tor incoming connections so
that it doesn't match "require local" filter?


Fell free to adjust tags/severity.


[1]
https://sources.debian.net/src/tor/0.2.6.2-alpha-1/src/config/torrc.sample.in/
[2]
https://lists.torproject.org/pipermail/tor-talk/2015-February/036781.html

-- Package-specific info:

-- System Information:
Debian Release: 8.0
  APT prefers testing
  APT policy: (990, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages apache2 depends on:
ii  apache2-bin2.4.10-9
ii  apache2-data   2.4.10-9
ii  apache2-utils  2.4.10-9
ii  dpkg   1.17.23
ii  lsb-base   4.1+Debian13+nmu1
ii  mime-support   3.58
ii  perl   5.20.1-5
ii  procps 2:3.3.9-8

Versions of packages apache2 recommends:
ii  ssl-cert  1.0.35

Versions of packages apache2 suggests:
pn  apache2-doc  
pn  apache2-suexec-pristine | apache2-suexec-custom  
ii  chromium [www-browser]   40.0.2214.91-1
ii  iceweasel [www-browser]  31.4.0esr-1
ii  lynx-cur [www-browser]   2.8.9dev1-2+b1
ii  w3m [www-browser]0.5.3-19

Versions of packages apache2-bin depends on:
ii  libapr1  1.5.1-3
ii  libaprutil1  1.5.4-1
ii  libaprutil1-dbd-sqlite3  1.5.4-1
ii  libaprutil1-ldap 1.5.4-1
ii  libc62.19-13
ii  libldap-2.4-22.4.40-3
ii  liblua5.1-0  5.1.5-7.1
ii  libpcre3 2:8.35-3.3
ii  libssl1.0.0  1.0.1k-1
ii  libxml2  2.9.1+dfsg1-4
ii  perl 5.20.1-5
ii  zlib1g   1:1.2.8.dfsg-2+b1

Versions of packages apache2 is related to:
ii  apache2  2.4.10-9
ii  apache2-bin  2.4.10-9

-- no debconf information



signature.asc
Description: OpenPGP digital signature


Bug#776976: dropbear: Postinst is not handling ECDSA keys

2015-02-03 Thread Jean-Michel Nirgal Vourgère
Package: dropbear
Version: 2014.65-1
Severity: wishlist

Dear Maintainer,

Postinst is generating keys for DSS & RSA, or converting the ones from
openssh.
It should probably do the same for the ECDSA:

This works ok on the command line:
# Conversion:
# /usr/lib/dropbear/dropbearconvert openssh dropbear
/etc/ssh/ssh_host_ecdsa_key dropbear_ecda_host_key
# dropbearkey -y -f dropbear_ecda_host_key

# Creation:
# dropbearkey  -t ecdsa -f dropbear_rsa_host_key

So the support should be easy to add.

According to manual, /etc/dropbear/dropbear_ecdsa_host_key is amongst
the default keys that will be loaded automatically.

See also bug #761143.


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

Kernel: Linux 3.2.0-4-amd64 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages dropbear depends on:
ii  libc6   2.19-13
ii  zlib1g  1:1.2.8.dfsg-2+b1

dropbear recommends no packages.

Versions of packages dropbear suggests:
ii  openssh-client  1:6.7p1-3
pn  runit   
ii  udev215-10
ii  xauth   1:1.0.9-1

-- no debconf information



signature.asc
Description: OpenPGP digital signature


Bug#776834: sshd_config doesn't recognize VersionAddendum keyword

2015-02-02 Thread Jean-Michel Nirgal Vourgère
Package: vim-runtime
Version: 2:7.4.488-4
Severity: minor

Hello

When editing /etc/ssh/sshd_config, DebianBanner is hilighted, but
VersionAddendum is not.

Please refresh the list of keywords.
"man sshd_config" may be a source for these.

Thank you for taking good care of vim.

-- System Information:
Debian Release: 8.0
  APT prefers testing
  APT policy: (990, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

vim-runtime depends on no packages.

Versions of packages vim-runtime recommends:
ii  vim  2:7.4.488-4

vim-runtime suggests no packages.

-- no debconf information



signature.asc
Description: OpenPGP digital signature


Bug#776575: Dial pad doesn't work during calls

2015-01-29 Thread Jean-Michel Nirgal Vourgère
Package: jitsi
Version: 2.4.4997-1.2
Severity: normal

Hello

During call to robots, sometimes one is asked to press 1 or 2 and so on.

This doesn't work.

With pulse audio, audio data can be heard in the headset, but is not
sent remotly (I tried calling myself to double check).

With portaudio, you can hear nothing. Then when you hang, you can hear
all the beeps that were supposed to go out during the call, much too
late obviously. ;)

-- System Information:
Debian Release: 8.0
  APT prefers testing
  APT policy: (990, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages jitsi depends on:
ii  default-jre [java6-runtime]2:1.7-52
ii  libbcprov-java 1.49+dfsg-3
ii  libcommons-codec-java  1.9-1
ii  libcommons-lang3-java  3.3.2-1
ii  libcommons-logging-java1.2-1
ii  libdbus-java   2.8-5
ii  libdnsjava-java2.1.5-0.1
ii  libfelix-framework-java4.4.0-1
ii  libfelix-main-java 4.4.0-1
ii  libhttpclient-java 4.3.5-2
ii  libhttpcore-java   4.3.3-1
ii  libhttpmime-java   4.3.5-2
ii  libjcalendar-java  1.3.3-3
ii  libjgoodies-forms-java 1.6.0-4
ii  libjitsi-jni   2.4.4997-1.2
ii  libjmdns-java  3.4.1-2
ii  libjna-java4.1.0-1
ii  libjson-simple-java1.1.1-2
ii  libjzlib-java  1.1.3-1
ii  liblaf-widget-java 4.3-2
ii  liblog4j1.2-java   1.2.17-5
ii  libmac-widgets-java0.10.0+svn416-dfsg1-1
ii  libunixsocket-java 0.7.3-1
ii  libxpp3-java   1.1.4c-2
ii  openjdk-6-jre [java6-runtime]  6b33-1.13.5-1
ii  openjdk-7-jre [java6-runtime]  7u71-2.5.3-2

jitsi recommends no packages.

jitsi suggests no packages.

-- no debconf information



signature.asc
Description: OpenPGP digital signature


Bug#776177: dnssec-keygen take ages

2015-01-24 Thread Jean-Michel Nirgal Vourgère
Package: bind9utils
Version: 1:9.9.5.dfsg-8
Severity: important
Justification: Almost unusable for most users

Hello

Running
$ dnssec-keygen -a RSASHA256 -b 4096 -f KSK example.net
take ages, like 12 hours, sometimes more than a day. A dot is printed
every 30 minutes or so, but people will usually abort it thinking it's dead.

An strace shows that this commands requires about 400,000 bits of
entropy from /dev/random. Is keygen doing something special to need that
much?

Generating a 4k RSA key with other programs such as gnupg usually take a
minute or so.
I expected dnssec-keygen to have about the same requirements.

If bind cannot generate keys correctly, maybe it could provide a tool to
convert a key pair generated by an external tool such as openssl to the
required format.

Thank you for taking care of bind.

--
$ strace /usr/sbin/dnssec-keygen -v 9 -a RSASHA256 -b 4096 -f KSK -r
/dev/urandom example.net >/dev/null 2> log

$ total=0; grep "read(3" log | sed -re 's/^.*= ([0-9]+)$/\1/g' | while
read i; do total=$(( total + i )); echo "$total"; done | tail -1

=> 362378 bytes (about 3M bits!)

-- System Information:
Debian Release: 8.0
  APT prefers testing
  APT policy: (990, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages bind9utils depends on:
ii  libbind9-901:9.9.5.dfsg-8
ii  libc6  2.19-13
ii  libcap21:2.24-6
ii  libcomerr2 1.42.12-1
ii  libdns100  1:9.9.5.dfsg-8
ii  libgssapi-krb5-2   1.12.1+dfsg-16
ii  libisc95   1:9.9.5.dfsg-8
ii  libisccc90 1:9.9.5.dfsg-8
ii  libisccfg901:9.9.5.dfsg-8
ii  libk5crypto3   1.12.1+dfsg-16
ii  libkrb5-3  1.12.1+dfsg-16
ii  libpython2.7-stdlib [python-argparse]  2.7.8-11
ii  libssl1.0.01.0.1j-1
ii  libxml22.9.1+dfsg1-4
ii  python 2.7.8-2

bind9utils recommends no packages.

bind9utils suggests no packages.

-- no debconf information



signature.asc
Description: OpenPGP digital signature


Bug#776133: sshfp: Add support for ed25519

2015-01-24 Thread Jean-Michel Nirgal Vourgère
Package: sshfp
Version: 1.2.2-4
Severity: wishlist
Tags: patch

When I run "sshfp -s localhost", with patch for #719442, I now get
records for theses files:
/etc/ssh/ssh_host_dsa_key.pub
/etc/ssh/ssh_host_ecdsa_key.pub
/etc/ssh/ssh_host_rsa_key.pub

But not for that one:
/etc/ssh/ssh_host_ed25519_key.pub

I expected sshfp to generate these.

The attach patch fixes that.

IANA assigned type 4 to that algorithm (DRAFT)
https://www.iana.org/assignments/dns-sshfp-rr-parameters/dns-sshfp-rr-parameters.xml

-- System Information:
Debian Release: 8.0
  APT prefers testing
  APT policy: (990, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages sshfp depends on:
ii  libpython2.7-stdlib [python-argparse]  2.7.8-11
ii  openssh-client 1:6.7p1-3
ii  python 2.7.8-2
ii  python-dnspython   1.12.0-1
ii  python-ipcalc  0.3-1
ii  python-ldns1.6.17-5+b1
pn  python:any 

sshfp recommends no packages.

sshfp suggests no packages.

-- no debconf information
Description: Add support for ed25519 algorithm
 Jessie ssh installation generates /etc/ssh/ssh_host_ed25519_key.pub
 IANA assigned RR type 4 to it [DRAFT].
 See https://www.iana.org/assignments/dns-sshfp-rr-parameters/dns-sshfp-rr-parameters.xml
 That patch adds support for that.
Author: Jean-Michel Nirgal Vourgère 
Bug: https://github.com/xelerance/sshfp/issues/7
Last-Update: 2014-01-24

--- sshfp-1.2.2.orig/sshfp
+++ sshfp-1.2.2/sshfp
@@ -57,6 +57,8 @@ def create_sshfp(hostname, keytype, keyb
 		keytype = "2"
 	elif  keytype == "ecdsa-sha2-nistp256":
 		keytype = "3"
+	elif  keytype == "ssh-ed25519":
+		keytype = "4"
 	else:
 		return ""
 	try:
@@ -323,9 +325,9 @@ def main():
 			action="append",
 			type="choice",
 			dest="algo",
-			choices=["rsa", "dsa", "ecdsa"],
+			choices=["rsa", "dsa", "ecdsa", "ed25519"],
 			default=[],
-			help="key type to fetch (may be specified more than once, default dsa,rsa)")
+			help="key type to fetch (may be specified more than once, default dsa,rsa,ecdsa,ed25519)")
 	parser.add_option("-n", "--nameserver",
 			action="store",
 			type="string",
@@ -351,7 +353,7 @@ def main():
 	data = ""
 	trailing = options.trailing_dot
 	timeout = options.timeout
-	algos = options.algo or ["dsa", "rsa", "ecdsa"]
+	algos = options.algo or ["dsa", "rsa", "ecdsa", "ed25519"]
 	all_hosts = options.all_hosts
 	port = options.port
 	fphashes = options.fphashes or ["sha1", "sha2"]


signature.asc
Description: OpenPGP digital signature


Bug#719442: sshfp: Add support for ECDSA

2015-01-23 Thread Jean-Michel Nirgal Vourgère
Control: tags -1 fixed-upstream patch
Control: severity -1 important

Hello

ECDSA patches where merged upstream last October.

This is the default algorithm in Jessie, so I'm rising the severity to
important: That package is now not very useful because it doesn't
produce the one record we need.

Attached is the pull request above[2], refreshed against debian version
(no change), with PEP3 headers, all ready for d/patches/.

-- 
Nirgal

[1] https://github.com/xelerance/sshfp/pull/2
[2] git diff 796d772c65234276e1af047713a67095e5cf7b8a
33d2783ab94c8ba90164533ee2fc3024f652525b
Description: Add support for ECDSA. See RFC 6594.
 This is the default algorithm in Jessie.
Origin: https://github.com/xelerance/sshfp/pull/2
Author: Danny Fullerton 
Bug: https://github.com/xelerance/sshfp/issues/1
Bug-Debian: http://bugs.debian.org/719442
Last-Update: 2015-01-23
Reviewed-by: Jean-Michel Nirgal Vourgère 
Applied-Upstream: commit:33d2783ab94c8ba90164533ee2fc3024f652525b

Index: sshfp-1.2.2/sshfp
===
--- sshfp-1.2.2.orig/sshfp
+++ sshfp-1.2.2/sshfp
@@ -22,13 +22,12 @@ except ImportError:
 	print >> sys.stderr, "openSUSE: zypper in python-dnspython"
 	sys.exit(1)
 
+ishashlib = False
 try:
 	import hashlib
-	digest = hashlib.sha1
+	ishashlib = True
 except ImportError:
 	import sha
-	digest = sha.new
-
 
 global all_hosts
 global khfile
@@ -38,6 +37,7 @@ global quiet
 global port
 global timeout
 global algo
+global fphashes
 
 VERSION = "1.2.2"
 DEFAULT_KNOWN_HOSTS_FILE = "~/.ssh/known_hosts"
@@ -48,22 +48,34 @@ def show_version():
 	print >> sys.stderr, "Author:\n Paul Wouters "
 	print >> sys.stderr, " James Brown "
 
-def create_sshfp(hostname, keytype, keyblob):
+def create_sshfp(hostname, keytype, keyblob, fphash):
 	"""Creates an SSH fingerprint"""
 
 	if keytype == "ssh-rsa":
 		keytype = "1"
+	elif  keytype == "ssh-dss":
+		keytype = "2"
+	elif  keytype == "ecdsa-sha2-nistp256":
+		keytype = "3"
 	else:
-		if keytype == "ssh-dss":
-			keytype = "2"
-		else:
-			return ""
+		return ""
 	try:
 		rawkey = base64.b64decode(keyblob)
 	except TypeError:
 		print >> sys.stderr, "FAILED on hostname "+hostname+" with keyblob "+keyblob
 		return "ERROR"
-	fpsha1 = digest(rawkey).hexdigest().upper()
+
+	hashcode = "1"
+	if ishashlib:
+		if fphash == "sha2":
+		  digest = hashlib.sha256
+		  hashcode = "2"
+		else:
+		  digest = hashlib.sha1
+	else:
+		digest = sha.new
+	fp = digest(rawkey).hexdigest().upper()
+
 	# check for Reverse entries
 	reverse = 1
 	parts = hostname.split(".", 3)
@@ -78,7 +90,7 @@ def create_sshfp(hostname, keytype, keyb
 	if trailing and not reverse:
 		if hostname[-1:] != ".":
 			hostname = hostname + "."
-	return hostname + " IN SSHFP " + keytype + " 1 " + fpsha1
+	return hostname + " IN SSHFP " + keytype + " " + hashcode + " " + fp
 
 def get_known_host_entry(known_hosts, host):
 	"""Get a single entry out of a known_hosts file
@@ -134,19 +146,26 @@ def check_keytype(keytype, hostname):
 	for algo in algos:
 		if "ssh-%s" % algo[:-1] == keytype[:-1]:
 			return True
-	if not quiet:
-		print >> sys.stderr, "Could only find key type %s for %s" % (keytype, hostname)
+		if "ecdsa" == algo and "ecdsa-sha2-nistp256" == keytype:
+			return True
 	return False
 
 def process_record(record, hostname):
+	global fphashes
+	all_records = []
 	(host, keytype, key) = record.split(" ")
 	key = key.rstrip()
 	if check_keytype(keytype, hostname):
-		record = create_sshfp(hostname, keytype, key)
-		return record
-	return ""
+		for fphash in fphashes: 
+			  all_records.append(create_sshfp(host, keytype, key, fphash))
+	if all_records:
+		all_records.sort()
+		return "\n".join(all_records)
+	else:
+		return ""
 
 def process_records(data, hostnames):
+	global fphashes
 	"""Process all records in a string.
 
 	If the global "all_hosts" is True, then return SSHFP entries
@@ -155,6 +174,7 @@ def process_records(data, hostnames):
 	If "all_hosts is False and hostnames is non-empty, return
 	only the items in hostnames
 	"""
+	
 	all_records = []
 	for record in data.split("\n"):
 		if record.startswith("#") or not record:
@@ -170,7 +190,8 @@ def process_records(data, hostnames):
 		if all_hosts or host in hostnames or host == hostnames:
 			if not check_keytype(keytype, host):
 continue
-			all_records.append(create_sshfp(host, keytype, key))
+			for fphash in fphashes: 
+			  all_records.append(create_sshfp(host, keytype, key, fphash))
 	if all_records:
 		all_records.sort()
 		return "\n".join(all_records)
@@ -252,6 +273,7 @@ def main():
 	global port
 	global timeout
 	global algos
+	global fphashes
 
 	parser = optparse.OptionParser()
 	parser.add_option("-k", "--knownhosts", "--known-hosts", 
@@ -301,7 +323,7 @@ def main():
 			action="append",
 			type="choice",
 			dest="algo",
-			choices=["rsa", "dsa"],
+			choices=["rsa", "dsa", "ecdsa"],
 			default=[],
 			help="key type to fetch (may be specified more than once, default dsa,rsa)")
 	par

Bug#775831: Mail archive summary should decode message headers

2015-01-20 Thread Jean-Michel Nirgal Vourgère
Package: nm.debian.org
Severity: normal
Tags: patch

On mail archive summary pages, like
https://nm.debian.org/am/display-mail-archive/nirgal, email headers are
not decoded and thus sometimes are unreadable. My page shows on Sun, 11
Jan 2015 22:17:38 + a message from
"=?UTF-8?B?SmVhbi1NaWNoZWwgTmlyZ2FsIFZvdXJnw6hyZQ==?=
" with subject
"=?UTF-8?B?UmU6IEFib3V0IHlvdXIgRGViaWFuIE5NIGFwcGxpY2F0aW9uIChKZWE=?=
=?UTF-8?B?bi1NaWNoZWwgVm91cmfDqHJlKQ==?=".

You must to be logged in to access it.

Attached is a patch that decode the mbox headers.


-- System Information:
Debian Release: 8.0
  APT prefers testing
  APT policy: (990, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
diff --git a/backend/email.py b/backend/email.py
index c127a25..4ed2a7c 100644
--- a/backend/email.py
+++ b/backend/email.py
@@ -101,6 +101,10 @@ def send_nonce(template_name, person, nonce=None, encrypted_nonce=None):
 def get_mbox_as_dicts(filename):
 try:  ## we are reading, have not to flush with close
 for message in mailbox.mbox(filename, create=False):
-yield dict(Body=message.get_payload(), **dict(message))
+msg_dict = {'Body': message.get_payload()}
+for hkey, hval in message.items():
+hval, hencode = email.header.decode_header(hval)[0]
+msg_dict[hkey] = unicode(hval, encoding=hencode or 'utf-8', errors='replace')
+yield msg_dict
 except mailbox.NoSuchMailboxError:
 return


signature.asc
Description: OpenPGP digital signature


Bug#700554: No longer interested in this package

2015-01-18 Thread Jean-Michel Nirgal Vourgère
Control: retitle -1 O: python-socksipy -- Python SOCKS client module

I'm restoring the bug title so that package doesn't show with an ITA.



signature.asc
Description: OpenPGP digital signature


Bug#759824: Fwd: [pyfltk:bugs] #24 FTBFS: ./python/fltk_wrap.cpp:5241:35: error: format not a string literal and no format arguments [-Werror=format-security]

2015-01-03 Thread Jean-Michel Nirgal Vourgère
Control: tags -1 fixed-upstream

 Forwarded Message 
Subject: [pyfltk:bugs] #24 FTBFS: ./python/fltk_wrap.cpp:5241:35: error:
format not a string literal and no format arguments
[-Werror=format-security]
Date: Sat, 03 Jan 2015 10:37:08 +
From: Andreas Held 
Reply-To: [pyfltk:bugs]  <2...@bugs.pyfltk.p.re.sf.net>
To: [pyfltk:bugs]  <2...@bugs.pyfltk.p.re.sf.net>

- **status**: pending --> open-fixed
- **Comment**:

Fixed in release V1.3.3



signature.asc
Description: OpenPGP digital signature


Bug#773191: python-ogg-dbg: unhandled symlink to directory conversion: /usr/share/doc/PACKAGE

2014-12-20 Thread Jean-Michel Nirgal Vourgère
Jean-Michel Nirgal Vourgère:
> This problem was introduced in commit 27848, where d/rules target
> override_dh_installdocs got an extraneous dh_installdocs: The second one
> try to make the link but fails because the first one created a directory
> with that name.

Actually, there is a problem when uploading from version -6 in my
proposal above. That version is not in wheezy and probably will not be
in jessie either, so this is not a big deal. But to do things properly,
one need to use a maintscript with a dir_to_symlink.

I tested fresh installs and upgrades both from -6 and straight from -5.
I could not detect any problem with dir_to_symlink when there is already
a symlink, like in -5. :)

I updated the version on mentors. See previous mail.
diff -Nru pyogg-1.3+repack/debian/changelog pyogg-1.3+repack/debian/changelog
--- pyogg-1.3+repack/debian/changelog	2014-02-22 12:10:10.0 +0100
+++ pyogg-1.3+repack/debian/changelog	2014-12-21 02:28:55.0 +0100
@@ -1,3 +1,14 @@
+pyogg (1.3+repack-6.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * d/rules: Remove extraneous dh_installdocs; Closes: #773191
+  * Support upgrades from 1.3+repack-6 where
+/usr/share/doc/python-ogg-dbg is not a link:
+- New python-ogg-dbg.maintscript
+- d/control: Add Pre-Depends: $misc for maintscript
+
+ -- Jean-Michel Nirgal Vourgère   Sun, 21 Dec 2014 02:26:17 +0100
+
 pyogg (1.3+repack-6) unstable; urgency=low
 
   [ Sandro Tosi ]
diff -Nru pyogg-1.3+repack/debian/control pyogg-1.3+repack/debian/control
--- pyogg-1.3+repack/debian/control	2014-02-22 11:47:36.0 +0100
+++ pyogg-1.3+repack/debian/control	2014-12-21 02:25:56.0 +0100
@@ -22,6 +22,7 @@
 Architecture: any
 Section: debug
 Priority: extra
+Pre-Depends: ${misc:Pre-Depends}
 Depends: ${misc:Depends}, python-ogg (= ${binary:Version}), python-dbg, ${shlibs:Depends}
 Description: Python interface to the Ogg library (debug extension)
  This module makes the libogg (Ogg) functions available
diff -Nru pyogg-1.3+repack/debian/python-ogg-dbg.maintscript pyogg-1.3+repack/debian/python-ogg-dbg.maintscript
--- pyogg-1.3+repack/debian/python-ogg-dbg.maintscript	1970-01-01 01:00:00.0 +0100
+++ pyogg-1.3+repack/debian/python-ogg-dbg.maintscript	2014-12-21 02:25:14.0 +0100
@@ -0,0 +1 @@
+dir_to_symlink /usr/share/doc/python-ogg-dbg python-ogg 1.3+repack-6.1~
diff -Nru pyogg-1.3+repack/debian/rules pyogg-1.3+repack/debian/rules
--- pyogg-1.3+repack/debian/rules	2014-02-22 11:47:36.0 +0100
+++ pyogg-1.3+repack/debian/rules	2014-12-21 01:03:20.0 +0100
@@ -44,5 +44,4 @@
 endif
 
 override_dh_installdocs:
-	dh_installdocs
 	dh_installdocs -A --link-doc=python-ogg


signature.asc
Description: OpenPGP digital signature


Bug#773191: python-ogg-dbg: unhandled symlink to directory conversion: /usr/share/doc/PACKAGE

2014-12-20 Thread Jean-Michel Nirgal Vourgère
Control: tags -1 + patch

Dear morph

This problem was introduced in commit 27848, where d/rules target
override_dh_installdocs got an extraneous dh_installdocs: The second one
try to make the link but fails because the first one created a directory
with that name.

I've prepared a simple NMU for pyogg (versioned as 1.3+repack-6.1) and
uploaded it to mentors. See attached diff.

I saw you already fixed other minor issues in svn, so a NMU might
actually make things easier to get an unblock. Free free to sponsor it
if you like it.

dget -x
http://mentors.debian.net/debian/pool/main/p/pyogg/pyogg_1.3+repack-6.1.dsc

Regards.

-- 
Nirgal
diff -Nru pyogg-1.3+repack/debian/changelog pyogg-1.3+repack/debian/changelog
--- pyogg-1.3+repack/debian/changelog	2014-02-22 12:10:10.0 +0100
+++ pyogg-1.3+repack/debian/changelog	2014-12-21 01:08:17.0 +0100
@@ -1,3 +1,10 @@
+pyogg (1.3+repack-6.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * d/rules: Remove extraneous dh_installdocs; Closes: #773191
+
+ -- Jean-Michel Nirgal Vourgère   Sun, 21 Dec 2014 01:03:47 +0100
+
 pyogg (1.3+repack-6) unstable; urgency=low
 
   [ Sandro Tosi ]
diff -Nru pyogg-1.3+repack/debian/rules pyogg-1.3+repack/debian/rules
--- pyogg-1.3+repack/debian/rules	2014-02-22 11:47:36.0 +0100
+++ pyogg-1.3+repack/debian/rules	2014-12-21 01:03:20.0 +0100
@@ -44,5 +44,4 @@
 endif
 
 override_dh_installdocs:
-	dh_installdocs
 	dh_installdocs -A --link-doc=python-ogg


signature.asc
Description: OpenPGP digital signature


Bug#773307: Please add missing PIL.egg-info

2014-12-16 Thread Jean-Michel Nirgal Vourgère
Subject: Please add missing PIL.egg-info
Package: python-imaging
Version: 2.6.1-1

Hello Matthias

I tried to fix python-enable that had a egg-info requirement on "PIL" by
changing it to "Pillow". (#761140)

After a deeper analysis of the code, I could find lines like
"import Image as PilImage" so I guess my fix is wrong. :(

The problem is that python-imaging used to provide
/usr/lib/python2.7/dist-packages/PIL/PIL-1.1.7.egg-info
in wheezy, and that the compatibility package from pillow doesn't anymore.

This impacts /usr/bin/pytimechart that runs:
pkg_resources.load_entry_point("pytimechart...")
that in turns checks egg-info dependencies on python-enable
that in turns checks the presence of a PIL.egg-info file.

Do you think it would be reasonable to have python-imaging provide a
PIL-something.egg-info file?
Any other idea beside fixing the imports upstream?

Regards,
-- 
Nirgal


-- System Information:
Debian Release: 8.0
  APT prefers testing
  APT policy: (990, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages python-imaging depends on:
ii  python-pil  2.6.1-1+b1
pn  python:any  

python-imaging recommends no packages.

python-imaging suggests no packages.

-- no debconf information



signature.asc
Description: OpenPGP digital signature


Bug#773083: Wrong vcs type in d/control

2014-12-13 Thread Jean-Michel Nirgal Vourgère
Package: python-firewoes
Version: 0.1-1

Dear maintainer.

Your debian/control file has a field Vcs-Svn: that points to a
git repository. It should be Vcs-Git:. (Policy 5.6.26).

Having the correct version helps the teams to track pending updates, and
limit warnings.

Best regards
-- 
Nirgal


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



Bug#771614: python-mock: non-functional email address in Uploaders

2014-12-13 Thread Jean-Michel Nirgal Vourgère
Hello David

On Mon, 1 Dec 2014 11:53:41 +1100 Ben Finney
 wrote:
> The "€œUploaders" field lists "€œDavid Watson "€. That
> email address is not functional as of 2014-11-30, resulting in
> permanent delivery failures.
> 
> Please remove that identity from Uploaders, and optionally replace it
> with a working email address for that person.

Which address would you like to use, now? Or would you prefer to be
removed from uploaders?

Best regards.
-- 
Nirgal



signature.asc
Description: OpenPGP digital signature


Bug#771753: maintainer scripts handling symlink to directory conversion

2014-12-12 Thread Jean-Michel Nirgal Vourgère
Andreas Tille:

> I had a look into #771753 and noticed that the proper maintscripts that
> should deal with the issue are included into the packaging.  However, I
> can confirm that it only works for package libavifile-0.7c2 but not for
> libavifile-0.7-bin and libavifile-0.7-dev.
> (...)
> Does anybody have a clue why symlink_to_dir works perfectly for
> libavifile-0.7c2 but not for libavifile-0.7-bin and libavifile-0.7-dev?

-bin and -dev are missing the Pre-Depends: ${misc:Pre-Depends}
libavifile-0.7c2 has it.

Moreover, there have been a few bugs in old versions of symlink_to_dir.
Current UNRELEASED implementation of debhelper set minimum version of
dpkg at 1.17.14

https://anonscm.debian.org/cgit/debhelper/debhelper.git/commit/dh_installdeb?id=20c42b08a649f18522bc25ddec8e099ee7133e1e

Some packages have been hardcoding both the pre-depends and the
build-depends, as a result:
https://anonscm.debian.org/cgit/pkg-apache/apache2.git/commit/?id=edb81a0755c37594c1bb16fb691296442a6a2ae0

It might help

-- 
Nirgal



signature.asc
Description: OpenPGP digital signature


Bug#754860: Remove trac-git from jessie

2014-12-11 Thread Jean-Michel Nirgal Vourgère
Control: retitle -1 RM: trac-git -- ROM; superseded by trac
Control: reassign -1 ftp.debian.org
Control: severity -1 normal

On Sun, 7 Dec 2014 18:56:32 +0100 "W. Martin Borgert"
 wrote:
> On 2014-12-07 14:22, Jean-Michel Nirgal Vourgère wrote:
> > Can you confirm trac-git is obsolete?
> Yes, its function is integrated into trac.

No point in keeping it in unstable then. Forwarding on the ftp team on
your behalf.

-- 
Nirgal



signature.asc
Description: OpenPGP digital signature


Bug#769668: wheezy-pu: package showfoto/4:2.6.0-1+deb7u1

2014-12-11 Thread Jean-Michel Nirgal Vourgère
Control: retitle -1 wheezy-pu: package digikam/4:2.6.0-1+deb7u1

Jonathan Wiltshire:
> Please go ahead to with an upload to wheezy when you are ready.

showfoto just left the delayed limbo, and arrived in p-u-new.

I'm renaming that report, in order to use the source package name
digikam[1], that makes the binary package showfoto.

Thank you

-- 
[1] https://packages.qa.debian.org/digikam
Nirgal



signature.asc
Description: OpenPGP digital signature


Bug#772772: unblock: python-enable/4.3.0-2

2014-12-10 Thread Jean-Michel Nirgal Vourgère
Package: release.debian.org
User: release.debian@packages.debian.org
Usertags: unblock
Severity: normal

Please unblock package python-enable

That version fixes RC bug #761140:

enable provide an egg-info file that lists its egg packages
requirements. One of these is "PIL", the python image library. However,
PIL is the name of the python import, not the name of the egg library.
Debian package python-pil provide a Pillow.egg-info, so the
enable.egg-info should contain a requirement on Pillow, and not on PIL.
That version include a new one-line patch to change that name.

Some python programs using pkg_resources fail to load when requirements
checks are processed, hence the severity. See #761140.

unblock python-enable/4.3.0-2

-- System Information:
Debian Release: 8.0
  APT prefers testing
  APT policy: (990, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)




diff -Nru python-enable-4.3.0/debian/changelog python-enable-4.3.0/debian/changelog
--- python-enable-4.3.0/debian/changelog	2014-09-04 04:18:13.0 +0200
+++ python-enable-4.3.0/debian/changelog	2014-12-07 23:53:43.0 +0100
@@ -1,3 +1,11 @@
+python-enable (4.3.0-2) unstable; urgency=medium
+
+  * Team upload.
+  * New patch pillow.diff to fix requirement in egg-info: PIL egg name
+is now Pillow. (Closes: #761140)
+
+ -- Jean-Michel Nirgal Vourgère   Sun, 07 Dec 2014 23:53:34 +0100
+
 python-enable (4.3.0-1.2) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -Nru python-enable-4.3.0/debian/patches/pillow.diff python-enable-4.3.0/debian/patches/pillow.diff
--- python-enable-4.3.0/debian/patches/pillow.diff	1970-01-01 01:00:00.0 +0100
+++ python-enable-4.3.0/debian/patches/pillow.diff	2014-12-07 23:52:46.0 +0100
@@ -0,0 +1,19 @@
+Description: PIL is provided by Pillow
+ The egg-info dependencies uses the upstream name Pillow, not PIL which is the python import name.
+Author: Nirgal Vourgère 
+Bug-Debian: https://bugs.debian.org/761140
+Forwarded: https://github.com/enthought/enable/pull/154
+Last-Update: 2014-12-07
+---
+The information above should follow the Patch Tagging Guidelines, please
+checkout http://dep.debian.net/deps/dep3/ to learn about the format.
+
+--- python-enable-4.3.0.orig/enable/__init__.py
 python-enable-4.3.0/enable/__init__.py
+@@ -7,5 +7,5 @@ __version__ = '4.3.0'
+ 
+ __requires__ = [
+ 'traitsui',
+-'PIL',
++'Pillow',
+ ]
diff -Nru python-enable-4.3.0/debian/patches/series python-enable-4.3.0/debian/patches/series
--- python-enable-4.3.0/debian/patches/series	2014-03-16 04:29:56.0 +0100
+++ python-enable-4.3.0/debian/patches/series	2014-12-07 23:52:58.0 +0100
@@ -1,2 +1,3 @@
 fonttools.diff
 freetype2.diff
+pillow.diff






signature.asc
Description: OpenPGP digital signature


Bug#772721: connectomeviewer: Clicking file open in the menu doesn't show an open file dialog

2014-12-10 Thread Jean-Michel Nirgal Vourgère
Control: tags -1 patch

The attached patch fixes the issue.
--- /usr/lib/pymodules/python2.7/cviewer/action/load_cff.py.orig	2014-12-10 14:27:02.153226978 +0100
+++ /usr/lib/pymodules/python2.7/cviewer/action/load_cff.py	2014-12-10 14:27:13.505461300 +0100
@@ -55,7 +55,7 @@
 cfile = self.window.application.get_service('cviewer.plugins.cff2.cfile.CFile')
 exec_as_funct = False
 
-wildcard = "All files (*.*)|*.*|" \
+wildcard = "All files (*.*)|*.*" \
"Nifti-1 (*.nii.gz)|*.nii.gz|" \
"Gifti (*.gii)|*.gii|" \
"TrackVis tracks (*.trk)|*.trk|" \


signature.asc
Description: OpenPGP digital signature


Bug#772721: Clicking file open in the menu doesn't show an open file dialog

2014-12-10 Thread Jean-Michel Nirgal Vourgère
Package: connectomeviewer
Version: 2.1.0-1
Severity: important

On a fresh Jessie install, when one clicks on file/open in the menu,
nothing happens.

The console shows:
Traceback (most recent call last):
  File
"/usr/lib/python2.7/dist-packages/pyface/ui/wx/action/action_item.py",
line 260, in _on_menu
self.controller.perform(action, action_event)
  File
"/usr/lib/python2.7/dist-packages/pyface/workbench/action/action_controller.py",
line 35, in perform
return action.perform(event)
  File "/usr/lib/pymodules/python2.7/cviewer/action/load_cff.py", line
73, in perform
if dlg.open() == OK:
  File "/usr/lib/python2.7/dist-packages/pyface/i_dialog.py", line 118,
in open
self._create()
  File "/usr/lib/python2.7/dist-packages/pyface/i_dialog.py", line 137,
in _create
super(MDialog, self)._create()
  File "/usr/lib/python2.7/dist-packages/pyface/i_window.py", line 205,
in _create
super(MWindow, self)._create()
  File "/usr/lib/python2.7/dist-packages/pyface/i_widget.py", line 67,
in _create
self.control = self._create_control(self.parent)
  File "/usr/lib/python2.7/dist-packages/pyface/ui/wx/file_dialog.py",
line 117, in _create_control
wildcard=self.wildcard.rstrip('|'))
  File "/usr/lib/python2.7/dist-packages/wx-3.0-gtk2/wx/_windows.py",
line 3139, in __init__
_windows_.FileDialog_swiginit(self,_windows_.new_FileDialog(*args,
**kwargs))
wx._core.PyAssertionError: C++ assertion "Assert failure" failed at
../src/common/filefn.cpp(1685) in wxParseCommonDialogsFilter(): missing
'|' in the wildcard string!



-- System Information:
Debian Release: 8.0
  APT prefers testing
  APT policy: (990, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages connectomeviewer depends on:
ii  ipython  2.3.0-2
ii  mayavi2  4.3.1-3.1
ii  python   2.7.8-2
ii  python-cfflib2.0.5-1
ii  python-chaco 4.4.1-1.2
ii  python-networkx  1.9+dfsg1-1
ii  python-nibabel   1.3.0-2
ii  python-numpy 1:1.8.2-2
ii  python-scipy 0.14.0-2
ii  python-support   1.0.15

Versions of packages connectomeviewer recommends:
ii  python-dipy 0.7.1-2
ii  python-matplotlib   1.3.1-2
pn  python-nipype   
ii  python-qscintilla2  2.8.4+dfsg-1

Versions of packages connectomeviewer suggests:
pn  nipy-suite  

-- no debconf information



signature.asc
Description: OpenPGP digital signature


Bug#772668: RFS: python-enable/4.3.0-2 [RC][Team]

2014-12-09 Thread Jean-Michel Nirgal Vourgère
Package: sponsorship-requests
Severity: important
X-Debbugs-Cc: debian-pyt...@lists.debian.org

Dear mentors,

I am looking for a sponsor for the package "python-enable".

This is a one line change[1] that fixes RC bug #761140: Debian package
providing PIL has the "egg name" "Pillow". But python-enable lists "PIL"
in its egg requirements.
This causes some packages to fail to load, like pytimechart.

To access further information about this package, please visit the
following URL:
http://mentors.debian.net/package/python-enable

Alternatively, one can download the package with dget using this command:
dget -x
http://mentors.debian.net/debian/pool/main/p/python-enable/python-enable_4.3.0-2.dsc

Regards,

[1]
https://bugs.debian.org/cgi-bin/bugreport.cgi?msg=17;filename=pillow.diff;att=1;bug=761140
-- 
Nirgal



signature.asc
Description: OpenPGP digital signature


Bug#772545: Please update README.Debian, python 3.3 is gone

2014-12-08 Thread Jean-Michel Nirgal Vourgère
Package: python3
Version: 3.4.2-2
Severity: minor

Hello

/usr/share/doc/python3/README.Debian suggests I look at
/usr/share/doc/python3.3/ that doesn't exists here.

That should to be upgraded to 3.4, or maybe point at python3-doc package?

Thank you for taking care of python. :)

-- System Information:
Debian Release: 8.0
  APT prefers testing
  APT policy: (990, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages python3 depends on:
ii  dh-python  1.2014-2
ii  libpython3-stdlib  3.4.2-2
ii  python3-minimal3.4.2-2
ii  python3.4  3.4.2-1

python3 recommends no packages.

Versions of packages python3 suggests:
pn  python3-doc   
pn  python3-tk
pn  python3-venv  

-- no debconf information



signature.asc
Description: OpenPGP digital signature


Bug#759068: RFS: python-enable

2014-12-07 Thread Jean-Michel Nirgal Vourgère
Hello Olly

I uploaded a fix on mentors for the PIL/Pillow mix up in your package.

If you'd like to sponsor it, it's available at:
https://mentors.debian.net/package/python-enable

You can download it with:
dget -x
http://mentors.debian.net/debian/pool/main/p/python-enable/python-enable_4.3.0-2.dsc

The diff is attached.

Enjoy!

-- 
Nirgal
diff -Nru python-enable-4.3.0/debian/changelog python-enable-4.3.0/debian/changelog
--- python-enable-4.3.0/debian/changelog	2014-09-04 04:18:13.0 +0200
+++ python-enable-4.3.0/debian/changelog	2014-12-07 23:53:43.0 +0100
@@ -1,3 +1,11 @@
+python-enable (4.3.0-2) unstable; urgency=medium
+
+  * Team upload.
+  * New patch pillow.diff to fix requirement in egg-info: PIL egg name
+is now Pillow. (Closes: #761140)
+
+ -- Jean-Michel Nirgal Vourgère   Sun, 07 Dec 2014 23:53:34 +0100
+
 python-enable (4.3.0-1.2) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -Nru python-enable-4.3.0/debian/patches/pillow.diff python-enable-4.3.0/debian/patches/pillow.diff
--- python-enable-4.3.0/debian/patches/pillow.diff	1970-01-01 01:00:00.0 +0100
+++ python-enable-4.3.0/debian/patches/pillow.diff	2014-12-07 23:52:46.0 +0100
@@ -0,0 +1,19 @@
+Description: PIL is provided by Pillow
+ The egg-info dependencies uses the upstream name Pillow, not PIL which is the python import name.
+Author: Nirgal Vourgère 
+Bug-Debian: https://bugs.debian.org/761140
+Forwarded: https://github.com/enthought/enable/pull/154
+Last-Update: 2014-12-07
+---
+The information above should follow the Patch Tagging Guidelines, please
+checkout http://dep.debian.net/deps/dep3/ to learn about the format.
+
+--- python-enable-4.3.0.orig/enable/__init__.py
 python-enable-4.3.0/enable/__init__.py
+@@ -7,5 +7,5 @@ __version__ = '4.3.0'
+ 
+ __requires__ = [
+ 'traitsui',
+-'PIL',
++'Pillow',
+ ]
diff -Nru python-enable-4.3.0/debian/patches/series python-enable-4.3.0/debian/patches/series
--- python-enable-4.3.0/debian/patches/series	2014-03-16 04:29:56.0 +0100
+++ python-enable-4.3.0/debian/patches/series	2014-12-07 23:52:58.0 +0100
@@ -1,2 +1,3 @@
 fonttools.diff
 freetype2.diff
+pillow.diff


signature.asc
Description: OpenPGP digital signature


Bug#772507: pytimechart SIGSEGV on start

2014-12-07 Thread Jean-Michel Nirgal Vourgère
Package: pytimechart
Version: 1.0.0~rc1-3
Severity: grave
Justification: Renders package unusable for all users

One can work around the PIL/Pillow mixup in python-enable (#761140) by
starting pytimechart without the egg-info:
$ python -m timechart/timechart

But this SEGV while trying to print a warning about
"gtk_disable_setlocale() must be called before gtk_init()"

I tried applying the patch from #759068 in order to use wxpython3, but
it doesn't change anything, AFAICT.
Attached is a full backtrace.


-- System Information:
Debian Release: 8.0
  APT prefers testing
  APT policy: (990, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash

Versions of packages pytimechart depends on:
ii  python2.7.8-2
ii  python-chaco  4.4.1-1.2
ii  python-enthoughtbase  3.1.0-2
ii  python-gtk2   2.24.0-4
ii  python-wxgtk2.8   2.8.12.1+dfsg2-2

pytimechart recommends no packages.

pytimechart suggests no packages.

-- no debconf information
$ gdb --args /usr/bin/python -m timechart/timechart
GNU gdb (Debian 7.7.1+dfsg-5) 7.7.1
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later 
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
.
Find the GDB manual and other documentation resources online at:
.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/bin/python...Reading symbols from 
/usr/lib/debug//usr/bin/python2.7...done.
done.
(gdb) run
Starting program: /usr/bin/python -m timechart/timechart
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".

Program received signal SIGSEGV, Segmentation fault.
do_warn.lto_priv () at ../Python/_warnings.c:594
594 ../Python/_warnings.c: No such file or directory.
(gdb) bt full
#0  do_warn.lto_priv () at ../Python/_warnings.c:594
registry = 
res = 0x0
lineno = 16
#1  0x0059836b in PyErr_WarnEx () at ../Python/_warnings.c:720
res = 
message = 'gtk_disable_setlocale() must be called before gtk_init()'
#2  0x7fffeb56c2b5 in _log_func (log_domain=, 
log_level=G_LOG_LEVEL_WARNING, message=0x13e9140 "gtk_disable_setlocale() must 
be called before gtk_init()", user_data=0xfe77a0)
at 
/build/buildd-pygobject-2_2.28.6-12+b1-amd64-T8QDQv/pygobject-2-2.28.6/gobject/gobjectmodule.c:2316
state = PyGILState_LOCKED
warning = 
#3  0x73203d01 in g_logv (log_domain=0x740fa95b "Gtk", 
log_level=G_LOG_LEVEL_WARNING, format=, 
args=args@entry=0x7fffb540) at 
/tmp/buildd/glib2.0-2.42.1/./glib/gmessages.c:1020
domain = 0x0
data = 0xfe77a0
depth = 1
log_func = 0x7fffeb56c270 <_log_func>
domain_fatal_mask = 
masquerade_fatal = 0
test_level = G_LOG_LEVEL_WARNING
was_fatal = 
was_recursion = 
msg = 0x13e9140 "gtk_disable_setlocale() must be called before 
gtk_init()"
msg_alloc = 0x13e9140 "gtk_disable_setlocale() must be called before 
gtk_init()"
i = 4
#4  0x73203f6f in g_log (log_domain=log_domain@entry=0x740fa95b 
"Gtk", log_level=log_level@entry=G_LOG_LEVEL_WARNING, 
format=format@entry=0x7418d780 "gtk_disable_setlocale() must be called 
before gtk_init()")
at /tmp/buildd/glib2.0-2.42.1/./glib/gmessages.c:1079
args = {{gp_offset = 24, fp_offset = 48, overflow_arg_area = 
0x7fffb620, reg_save_area = 0x7fffb560}}
#5  0x73f68f66 in IA__gtk_disable_setlocale () at 
/build/gtk+2.0-Gthrko/gtk+2.0-2.24.25/gtk/gtkmain.c:402
No locals.
#6  0x75549f4a in wxApp::Initialize (this=0x1443360, 
argc_=@0x74e608f0: 1, argv_=0x163fe20) at ../src/gtk/app.cpp:363
encName = {static npos = 18446744073709551615, m_impl = L"UTF-8", 
m_convertedToChar = {m_str = 0x1443610 "UTF-8", m_len = 5}}
fileconv = { = {_vptr.wxMBConv = 0x75b37b10 }, m_conv = 0x13ff340}
i = 
argcGTK = 1
__FUNCTION__ = "Initialize"
init_result = 
argvGTK = 0x1511cd0
#7  0x74ab4fb9 in wxEntryStart (argc=@0x74e608f0: 1, 
argv=0x163fe20) at ../src/common/init.cpp:322
app = { = {m_ptr = 0x1443360}, }
callAppCleanup = 
#8  0x74ab5cfe in wxEntryStart (argc=, argv=) at ../src/common/init.cpp:364
No locals.
#9  0x76915c1f in wxPyApp::_BootstrapApp() () from 
/usr/lib/python2.7/dist-packages/wx-3

Bug#761140: pytimechart fails to start

2014-12-07 Thread Jean-Michel Nirgal Vourgère
Control: reassign -1 python-enable
Control: forwarded -1 https://github.com/enthought/enable/pull/154
Control: affects -1 pytimechart
Control: tags -1 patch

Attached is a patch for solving the dependencies issue.

pytimechart then fails later for another reason.
Description: PIL is provided by Pillow
 The egg-info dependencies uses the upstream name Pillow, not PIL which is the python import name.
Author: Nirgal Vourgère 
Bug-Debian: https://bugs.debian.org/761140
Forwarded: https://github.com/enthought/enable/pull/154
Last-Update: 2014-12-07
---
The information above should follow the Patch Tagging Guidelines, please
checkout http://dep.debian.net/deps/dep3/ to learn about the format.

--- python-enable-4.3.0.orig/enable/__init__.py
+++ python-enable-4.3.0/enable/__init__.py
@@ -7,5 +7,5 @@ __version__ = '4.3.0'
 
 __requires__ = [
 'traitsui',
-'PIL',
+'Pillow',
 ]


signature.asc
Description: OpenPGP digital signature


Bug#754860: Remove trac-git from jessie

2014-12-07 Thread Jean-Michel Nirgal Vourgère
Hello Martin

> Unless I am missing something, trac-git should really be removed
> from jessie now that trac 1.0 is in testing. trac-git has been
> integrated in main trac repository.

Bug 754860 appears as RC in the Team dashboard. You might have miss it
since you are only listed as an uploader.

Can you confirm trac-git is obsolete?

If confirmed, package should be removed from unstable too. You should
reassign to pseudo package ftp.debian.org, change the severity to normal
and retitle to:
RM: trac-git -- ROM; superseed by trac

Best regards,
-- 
Nirgal



signature.asc
Description: OpenPGP digital signature


Bug#626545: RFP: selenium -- Browser automation

2014-12-07 Thread Jean-Michel Nirgal Vourgère
I intend to package django-session-security that uses selenium in its
unit tests. So it would be nice to have selenium in.



signature.asc
Description: OpenPGP digital signature


Bug#767826: python3-django-assets: fails to install: SyntaxError: Missing parentheses in call to 'print'

2014-12-07 Thread Jean-Michel Nirgal Vourgère
Control: forwarded -1 https://github.com/miracle2k/django-assets/pull/47
Control: tags -1 fixed-upstream

Patch was merged upstream, but not released there yet.
Attached is a version with the meta information updated.
Description: python3 compat for pytest_plugin.py
 Trivial change to make the print statement compatible with python3 in the
 django_assets/pytest_plugin.py
Author: Jason Pleau 
Bug-Debian: https://bugs.debian.org/767826
Forwarded: https://github.com/miracle2k/django-assets/pull/47
Applied-Upstream: commit:9db6e5fdc40b4fc58dcf5b34eeb7cc9a60983f28
Last-Update: 2014-12-07
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/django_assets/pytest_plugin.py
+++ b/django_assets/pytest_plugin.py
@@ -3,5 +3,5 @@
 
 @pytest.fixture(autouse=True)
 def set_django_assets_env():
-print "Set django assets environment"
+print("Set django assets environment")
 django_assets.env.get_env() # initialise django-assets settings


signature.asc
Description: OpenPGP digital signature


Bug#755633: sorl-thumbnail: Please ensure it works with Django 1.7

2014-12-06 Thread Jean-Michel Nirgal Vourgère
Control: tags -1 fixed-upstream

This was fixed in version 11.12.1b released in March.

https://github.com/mariocesar/sorl-thumbnail/commit/f4730dcbb17c90042d27bbf31166f241aa8e581a



signature.asc
Description: OpenPGP digital signature


Bug#761140: pytimechart fails to start. PIL vs Pillow

2014-12-06 Thread Jean-Michel Nirgal Vourgère
I started to dig in that bug.

Removing the "PIL" line, or replacing it by "Pillow" in
/usr/lib/python2.7/dist-packages/enable-4.3.0.egg-info/requires.txt
fixes a bit things. The program crashes later.

I suppose the dependency fix should be in python-enable?

Or should python-pil provide a PIL.egg-info rather than a
Pillow-2.6.1.egg-info ?



signature.asc
Description: OpenPGP digital signature


Bug#772054: unblock: ocsinventory-server/2.0.5-1.3

2014-12-05 Thread Jean-Michel Nirgal Vourgère
Control: retitle -1 unblock: ocsinventory-server/2.0.5-1.3

version 2.0.5-1.3 has been uploaded. I'm retitling the report to remove
the pre-approval reference.

unblock ocsinventory-server/2.0.5-1.3




signature.asc
Description: OpenPGP digital signature


Bug#772054: unblock: ocsinventory-server/2.0.5-1.2

2014-12-04 Thread Jean-Michel Nirgal Vourgère
Control: retitle -1 pre-approval for ocsinventory-server/2.0.5-1.3

I'm my sad to inform you that it has been reported that the version
above sometimes causes postinst to fail. At this stage of the freeze, I
can see no other solution than to revert entirely the fix of #746429.

I could not upload yet, so please, could you pre-approve the other
changes that fixes 3 important bugs?

Attached is a diff against testing
ocsinventory-server_2.0.5-1.3_vs_2.0.5-1.1.diff
and against my original request
ocsinventory-server_2.0.5-1.3_vs_2.0.5-1.2.diff

Description of the changes is at is at:
https://bugs.debian.org/772054

Best regards,
-- 
Nirgal
diff -u ocsinventory-server-2.0.5/debian/ocsinventory-server.postrm ocsinventory-server-2.0.5/debian/ocsinventory-server.postrm
--- ocsinventory-server-2.0.5/debian/ocsinventory-server.postrm
+++ ocsinventory-server-2.0.5/debian/ocsinventory-server.postrm
@@ -1,28 +1,11 @@
 #!/bin/sh
+# postrm script for ocsinventory-server
+#
 
 set -e
-#set -x
 
-if [ "$1" = "remove" ] || [ "$1" = "purge" ]; then
-
-  webserver="apache2"
-  conffile="ocsinventory.conf"
-confpath="/etc/ocsinventory"
-if [ -d /etc/$webserver/conf.d ] && [ -L /etc/$webserver/conf.d/$conffile ]; then
-  rm -f /etc/$webserver/conf.d/$conffile
-fi
-
-if [ -f /etc/init.d/$webserver ] ; then
-if [ -x /usr/sbin/invoke-rc.d ]; then
-invoke-rc.d $webserver restart 3>/dev/null || true
-else
-/etc/init.d/$webserver restart 3>/dev/null || true
-fi
-fi
-fi
-
-if [ "$1" = "purge" ]; then
-	rm -f $confpath/$conffile
+if [ "$1" = purge ] ; then
+	rm -f /etc/apache2/conf-available/ocsinventory-server.conf.old # from version 2.0.5-1.1
 fi
 
 #DEBHELPER#
diff -u ocsinventory-server-2.0.5/debian/rules ocsinventory-server-2.0.5/debian/rules
--- ocsinventory-server-2.0.5/debian/rules
+++ ocsinventory-server-2.0.5/debian/rules
@@ -7,7 +7,7 @@
 # This special exception was added by Craig Small in version 0.37 of dh-make.
 
 # Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
+# export DH_VERBOSE=1
 
 DESTDIR=$(CURDIR)/debian/ocsinventory-server
 GDIR=$(DESTDIR)/usr/share/ocsinventory-server
@@ -88,6 +88,8 @@
 	dh_installdocs
 	dh_installexamples
 	dh_install
+	dh_apache2 --no-package=ocsinventory-reports
+	dh_apache2 --package=ocsinventory-reports --noscripts # See #769322
 	# fix permissions for scripts and images
 	find $(CURDIR)/debian/ocsinventory-reports/usr/share/ocsinventory-reports -type f -exec chmod a-x {} \;
 	# Remove embedded copy of jquery.js
@@ -102,6 +104,7 @@
 #	dh_installinfo
 	dh_installman
 	dh_link
+	dh_lintian
 	dh_strip
 	dh_compress
 	dh_fixperms
diff -u ocsinventory-server-2.0.5/debian/control ocsinventory-server-2.0.5/debian/control
--- ocsinventory-server-2.0.5/debian/control
+++ ocsinventory-server-2.0.5/debian/control
@@ -3,9 +3,11 @@
 Priority: extra
 Maintainer: Pierre Chifflier 
 Uploaders: Eric Décornod , Yves Guimard 
-Build-Depends: debhelper (>= 7), quilt
+Build-Depends: debhelper (>= 7), quilt, dh-apache2 | apache2-dev
 Standards-Version: 3.9.3
 Homepage: http://www.ocsinventory-ng.org/
+Vcs-Git: git://anonscm.debian.org/collab-maint/ocsinventory-server.git
+Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/ocsinventory-server.git
 
 Package: ocsinventory-server
 Architecture: all
@@ -19,9 +21,9 @@
 	libnet-ip-perl,
 	libphp-pclzip,
 	libapache-dbi-perl,
-	libjs-jquery,
-	apache2,
-Recommends: ocsinventory-reports
+	libjs-jquery
+Recommends: ${misc:Recommends},
+	ocsinventory-reports
 Suggests: mysql-server, libsoap-lite-perl, ocsinventory-agent, nmap, samba-common
 Description: Hardware and software inventory tool (Communication Server)
  Open Computer and Software Inventory Next Generation is an application
@@ -31,7 +33,7 @@
  Information about Hardware and Operating System are collected.
  OCS Inventory is also able to detect all active devices on your network,
  such as switch, router, network printer and unattended devices.
- It also allows deploying softwares, commands or files on client computers.
+ It also allows deploying software, commands or files on client computers.
  .
  This package contains the 'Communication Server' part.
  Note that this is the XML-RPC/SOAP server, not the web interface (which is
@@ -40,14 +42,14 @@
 Package: ocsinventory-reports
 Architecture: all
 Depends: ${shlibs:Depends}, ${misc:Depends},
-	apache2,
 	php5,
 	libapache2-mod-php5,
 	php5-mysql,
 	php5-gd,
 	mysql-client,
 	php-net-ldap
-Recommends: ocsinventory-server, libdbi-perl, libdbd-mysql-perl, libnet-ip-perl, libxml-simple-perl, nmap, samba-common
+Recommends: ${misc:Recommends},
+	ocsinventory-server, libdbi-perl, libdbd-mysql-perl, libnet-ip-perl, libxml-simple-perl, nmap, samba-common
 Description: Hardware and software inventory tool (Administration Console)
  Open Computer and Software Inventory Next Generation is an application
  designed to help a network or system administrator ke

Bug#772054: unblock: ocsinventory-server/2.0.5-1.2

2014-12-04 Thread Jean-Michel Nirgal Vourgère
Package: release.debian.org
User: release.debian@packages.debian.org
Usertags: unblock
Severity: normal

Please unblock package ocsinventory-server.

That package is used in many companies by IT staff to collect data about
hardware and software on the computers they manage, used in combination
with ocsinventory-agent whose popcon is about 3,000. I fell that package
usability is important because it gives a good image of Debian if it
works out of the box. However, right now, there are many important
(non-RC) problems:
- Package doesn't work with apache2.4 (#718475) and must be configured
manually.
- Log rotation is broken so disk usage is growing (#678363).
- Upgrade overwrite configuration without user consent (#613609).
- Package is not co-installable with php alternatives such as php5-cgi
(#746429).

The d/changelog is very detailed. Here are the main points:

Regarding apache2.4 transition:
- There are 2 apache conffile: One for ocsinventory-server and one for
ocsinventory-report. The first one was generated by postinst, the other
one was a conffile. My version uses dh_apache2 so they now both are
conffiles.
- apache2 conf snippet should match package name. This is not an
absolute requirement, but renaming a snippet after it is activated in
apache2 is impossible. Plus lintian complains when it doesn't match.
This makes the patch looks big, but the big part if just 2 files renaming.
- migrating from a non-conffile to a confile while renaming is complex.
ocsinventory-server.postinst check md5sum and remove the file if
unchanged. If changed, it will attempt to patch existing file for
required part of apache2.4 syntax changes, while backup'ing user
original version.
- ocsinventory-reports.postinst enables apache after #DEBCONF#. Ugly but
required. See #769322 for details.
- ocsinventory-server.preinst was removed, because it only dealt with
etch migration (dpkg --compare-versions "$2" lt-nl "1.02-1").
- There is no Pre-Depends on dpkg >= 1.17.5, since this is no longer
required for mv_conffile.[1]

Regarding the php alternative coinstallation, I only added alternatives,
with identical first choices. So the impact is minimal.

Patch compat_with_other_user_agent was not used because series file
was missing. My patch does not enable it (out of scope).

I believe the other changes are easier to understand, but as usual fell
free to ask if you have any question.

There are some un-required changes:
- Update of watch file (#768934). jcristau told me on IRC this was ok to
include. We are like 5 versions bellow and did not realize it.
- Addition of Vcs-* fields in debian/control. Please please please, let
that one go through. Not knowing where the maintainer works is a major
source of problem when doing NMUs. Like the watch file, this has no
impact on the release.

I apologize for submitting an entry so late before the freeze level ii,
I encountered some communication problems with the maintainer. If you do
not approve the unblock, could you please pre-approve a part of it?

unblock ocsinventory-server/2.0.5-1.2

[1]
https://anonscm.debian.org/cgit/debhelper/debhelper.git/commit/dh_installdeb?id=778b1d5f7119622c755278ed163b316e92cd1487

-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (990, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

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


diff -u ocsinventory-server-2.0.5/debian/ocsinventory-server.postrm ocsinventory-server-2.0.5/debian/ocsinventory-server.postrm
--- ocsinventory-server-2.0.5/debian/ocsinventory-server.postrm
+++ ocsinventory-server-2.0.5/debian/ocsinventory-server.postrm
@@ -1,28 +1,11 @@
 #!/bin/sh
+# postrm script for ocsinventory-server
+#
 
 set -e
-#set -x
 
-if [ "$1" = "remove" ] || [ "$1" = "purge" ]; then
-
-  webserver="apache2"
-  conffile="ocsinventory.conf"
-confpath="/etc/ocsinventory"
-if [ -d /etc/$webserver/conf.d ] && [ -L /etc/$webserver/conf.d/$conffile ]; then
-  rm -f /etc/$webserver/conf.d/$conffile
-fi
-
-if [ -f /etc/init.d/$webserver ] ; then
-if [ -x /usr/sbin/invoke-rc.d ]; then
-invoke-rc.d $webserver restart 3>/dev/null || true
-else
-/etc/init.d/$webserver restart 3>/dev/null || true
-fi
-fi
-fi
-
-if [ "$1" = "purge" ]; then
-	rm -f $confpath/$conffile
+if [ "$1" = purge ] ; then
+	rm -f /etc/apache2/conf-available/ocsinventory-server.conf.old # from version 2.0.5-1.1
 fi
 
 #DEBHELPER#
diff -u ocsinventory-server-2.0.5/debian/rules ocsinventory-server-2.0.5/debian/rules
--- ocsinventory-server-2.0.5/debian/rules
+++ ocsinventory-server-2.0.5/debian/rules
@@ -7,7 +7,7 @@
 # This special exception was added by Craig Small in version 0.37 of dh-make.
 
 # Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
+# export DH_VERBOSE=1
 
 DESTDIR=$(CURDIR)/debian/ocsinvento

Bug#771908: unblock: phamm/0.6.2-1.2

2014-12-04 Thread Jean-Michel Nirgal Vourgère
Control: tags -1 - moreinfo

> Jonathan Wiltshire:
>> This all looks reasonable except that if you want to use maintscript
>> helpers you need appropriate pre-depends on dpkg. I think
>> ${misc:Pre-Depends} is populated for you, but you should test that.

The change you requested is now in the pool.

Attached is the full diff against testing:
phamm_0.6.2-1.2_vs_phamm_0.6.2-1.diff

I'm also attaching a diff against previous submission, as I understand
you already did most of the review:
phamm_0.6.2-1.2_vs_phamm_0.6.2-1.1.diff

unblock phamm/0.6.2-1.2

Best regards,
-- 
Nirgal

diff -Nru phamm-0.6.2/debian/changelog phamm-0.6.2/debian/changelog
--- phamm-0.6.2/debian/changelog	2014-11-14 19:17:21.0 +0100
+++ phamm-0.6.2/debian/changelog	2014-12-04 01:24:31.0 +0100
@@ -1,3 +1,11 @@
+phamm (0.6.2-1.2) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * d/contol: Add Pre-Depends on dpkg >= 1.15.7.2 in phamm package to ensure
+we are not using an obsolete dpkg with d/phamm.maintscript.
+
+ -- Jean-Michel Nirgal Vourgère   Thu, 04 Dec 2014 00:24:35 +0100
+
 phamm (0.6.2-1.1) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -Nru phamm-0.6.2/debian/control phamm-0.6.2/debian/control
--- phamm-0.6.2/debian/control	2014-11-14 17:04:31.0 +0100
+++ phamm-0.6.2/debian/control	2014-12-04 01:22:58.0 +0100
@@ -9,6 +9,7 @@
 
 Package: phamm
 Architecture: all
+Pre-Depends: dpkg (>= 1.15.7.2)
 Depends: php5, php5-ldap, debconf (>= 0.5) | debconf-2.0, ${shlibs:Depends}, ${misc:Depends}
 Recommends: phamm-ldap, ${misc:Recommends}
 Description: PHP front-end to manage virtual services on LDAP - main package


diff -Nru phamm-0.6.2/debian/changelog phamm-0.6.2/debian/changelog
--- phamm-0.6.2/debian/changelog	2014-07-15 08:04:53.0 +0200
+++ phamm-0.6.2/debian/changelog	2014-12-04 01:24:31.0 +0100
@@ -1,3 +1,25 @@
+phamm (0.6.2-1.2) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * d/contol: Add Pre-Depends on dpkg >= 1.15.7.2 in phamm package to ensure
+we are not using an obsolete dpkg with d/phamm.maintscript.
+
+ -- Jean-Michel Nirgal Vourgère   Thu, 04 Dec 2014 00:24:35 +0100
+
+phamm (0.6.2-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Add support for apache2.4 (Closes: #669841):
+-  Move conffile from /etc/phamm/apache.conf to
+   /etc/apache2/conf-available/phamm.conf
+-  let dh_apache2 handle the conffile
+-  drop debconf entries reconfigure-webserver and restart-webserver: Only
+   apache2 is supported, and dh_apache2 causes automatic reload.
+-  Remove obsolete apache1 and apache2.2 conf.d/ links on upgrade.
+  * Added Dutch translation (Closes: #763643). Thanks Frans Spiesschaert.
+
+ -- Jean-Michel Nirgal Vourgère   Fri, 14 Nov 2014 16:15:52 +0100
+
 phamm (0.6.2-1) unstable; urgency=low
 
   * New upstream release (Closes: #750518)
diff -Nru phamm-0.6.2/debian/conf/apache.conf phamm-0.6.2/debian/conf/apache.conf
--- phamm-0.6.2/debian/conf/apache.conf	2014-07-15 07:38:41.0 +0200
+++ phamm-0.6.2/debian/conf/apache.conf	1970-01-01 01:00:00.0 +0100
@@ -1,48 +0,0 @@
-# Define /phamm alias, this is the default
-
-Alias /phamm /usr/share/phamm/public
-
-
-# You can also use phpLDAPadmin as a VirtualHost
-# 
-# ServerName ldap.example.com
-# ServerAdmin r...@example.com
-# DocumentRoot /usr/share/phamm
-# ErrorLog logs/ldap.example.com-error.log
-# CustomLog logs/ldap.example.com-access.log common
-# 
-
-
-
-DirectoryIndex index.php
-Options +FollowSymLinks
-AllowOverride None
-
-Order allow,deny
-Allow from all
-
-
-
-  
-AddType application/x-httpd-php .php
-
-php_flag magic_quotes_gpc Off
-php_flag track_vars On
-php_flag register_globals Off
-php_value include_path .
-  
-
-  
-
-  
-AddType application/x-httpd-php .php
-
-Action application/x-httpd-php /cgi-bin/php5
-  
-
-  
-
-
-
-
-
diff -Nru phamm-0.6.2/debian/conf/phamm.conf phamm-0.6.2/debian/conf/phamm.conf
--- phamm-0.6.2/debian/conf/phamm.conf	1970-01-01 01:00:00.0 +0100
+++ phamm-0.6.2/debian/conf/phamm.conf	2014-07-15 07:38:41.0 +0200
@@ -0,0 +1,48 @@
+# Define /phamm alias, this is the default
+
+Alias /phamm /usr/share/phamm/public
+
+
+# You can also use phpLDAPadmin as a VirtualHost
+# 
+# ServerName ldap.example.com
+# ServerAdmin r...@example.com
+# DocumentRoot /usr/share/phamm
+# ErrorLog logs/ldap.example.com-error.log
+# CustomLog logs/ldap.example.com-access.log common
+# 
+
+
+
+DirectoryIndex index.php
+Options +FollowSymLinks
+AllowOverride None
+
+Order allow,deny
+Allow from all
+
+
+
+  
+AddType application/x-httpd-php .php
+
+php_flag magic_quotes_gpc Off
+php_flag track_vars On
+php_flag register_globals Off
+php_value include

Bug#771908: unblock: phamm/0.6.2-1.1

2014-12-04 Thread Jean-Michel Nirgal Vourgère
Control: tags -1 + moreinfo
Control: retitle -1 unblock: phamm/0.6.2-1.2

Version 0.6.2-1.2 of phamm was just uploaded with the change you
request. I'll remove the moreinfo tag and post the new diff when it's in
the archive.



signature.asc
Description: OpenPGP digital signature


Bug#771908: unblock: phamm/0.6.2-1.1

2014-12-03 Thread Jean-Michel Nirgal Vourgère
Control: tag -1 - moreinfo

Jonathan Wiltshire:
> This all looks reasonable except that if you want to use maintscript
> helpers you need appropriate pre-depends on dpkg. I think
> ${misc:Pre-Depends} is populated for you, but you should test that.

That's true, however:
- dpkg is an essential package.
- mv_conffile[1] command only requires dpkg (>= 1.15.7.2) and madison[2]
shows that both squeeze and wheezy supports it.
- Upgrade from etch straight to jessie is not supposed to work, is it?

I tested ${misc:Pre-Depends}, but it is empty if you only do a
mv_conffile. If I add a symlink_to_dir or a dir_to_symlink, it gets
populated with "dpkg (>= 1.17.5)", but dpkg doesn't "think" a
pre-depends is needed for mv_conffile[3][4]. If I add the substvar
without adding a dir_to_symlink, I get a warning about it being unknown
substitution variable, and exactly the same DEBIAN/control file in the
binary package.

Can you confirm you would like me to hardcode an extra pre-depends on
dpkg > 1.15.7.2, please?

I'll prepare a new version, but if you reconsider, fell free to unblock
it before I get another sponsored NMU.

[1] man dpkg-maintscript-helper(1), "INTEGRATION IN PACKAGES"
[2] rmadison dpkg
[3] requirement was dropped
https://anonscm.debian.org/cgit/debhelper/debhelper.git/commit/dh_installdeb?id=778b1d5f7119622c755278ed163b316e92cd1487
[4] https://bugs.debian.org/703264 : drop pre-dependency against dpkg
1.15.7.2

-- 
Nirgal



signature.asc
Description: OpenPGP digital signature


Bug#598342: cclive: parse and pass along to the user any youtube etc. error messages

2014-12-03 Thread Jean-Michel Nirgal Vourgère
Control: reassign -1 cclive
Control: tags -1 found cclive/0.7.16-2+b1

I could reproduce the problem with cclive:

$ cclive "https://www.youtube.com/watch?v=GKypqSL49Pg";
Checking ... . .. .libquvi: error: server response code
403 (conncode=0)

When opening the link with a browser, I get a message about the video
not available in my country.

clive is now a simple transitional package to cclive, to I'm reassigning
the report.


I note that many other errors are now returned, but not the geo-ip ones:

$ cclive http://youtu.be/pqtoR0uJKd0
Checking ... .. .. libquvi: error:
/usr/share/libquvi-scripts/lua/website/youtube.lua:112: This video does
not exist. (code=100)


$ cclive "http://www.youtube.com/watch?v=ZjHuFbXDvXw#t=02m20s";
Checking ...   libquvi: error:
/usr/share/libquvi-scripts/lua/website/youtube.lua:112: "[Bette Midler
Movie] Ru..."
The YouTube account associated with this video has been terminated due
to multiple third-party notifications of copyright infringement. (code=100)




signature.asc
Description: OpenPGP digital signature


Bug#754918: nm.debian.org: Mail archive page's column headers are wrong

2014-12-03 Thread Jean-Michel Nirgal Vourgère
Control: tags -1 + patch

This is trivial to fix, see the attached file.

-- 
Nirgal
--- restricted/templates/restricted/display-mail-archive.html.orig	2014-12-03 15:12:00.348762662 +0100
+++ restricted/templates/restricted/display-mail-archive.html	2014-12-03 15:12:15.817083705 +0100
@@ -50,8 +50,8 @@
 
 
 Date
-Subject
 From
+Subject
 
 
 


signature.asc
Description: OpenPGP digital signature


Bug#771908: unblock: phamm/0.6.2-1.1

2014-12-03 Thread Jean-Michel Nirgal Vourgère
Package: release.debian.org
User: release.debian@packages.debian.org
Usertags: unblock
Severity: normal

Please unblock package phamm. That version handles the apache 2.4
transition and adds the Dutch translation.

Apache2.2 was shipping with a folder /etc/apache2/conf.d/ that no longer
exists, making the phamm package uninstallable.

web policy was to have a configuration in /etc// and a link
in /etc/apache2/conf.d/ toward it.
Now the apache2 conf snippet should be in /etc/apache2/conf-available/
A link in /etc/apache2/conf-enabled/ should be created in postinst by
using apache helpers, and only that. (The idea behind is that if a
system admin remove the links with a2disconf, a package upgrade must
preserve that decision and not create the link in any circonstances.
Links creationg/deletion by admin has priority over links
created/deleted by maint scripts).

My NMU is not absolutely minimal, but it treats the apache
migration problem in the proper way I believe. Here are some details:
- debconf was asking the user whether he's using apache, apache-ssl,
apache-perl, or apache2. Some of these options have been obsolete since
etch. There is now only one choice: apache2. So I removed the questions
from the templates files, remove the apache1 support from postinst, and
even removed the previous entries on upgrades with "debconf
db_unregister". This had a major effect on all the translation files
that were automatically regenerated by build to comment out obsolete
entries. I also removed the code from postinst that handled these
choices, of course.
- I let dh_apache2 handle the configuration. This means the apache2 conf
file needs to match the package name, hence the renaming of
debian/conf/apache.conf into debian/conf/phamm.conf.
I believe the other changes are more easy to understand. Fell free to
ping me if you have any question.

unblock phamm/0.6.2-1.1

-- System Information:
Debian Release: jessie/sid
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -Nru phamm-0.6.2/debian/changelog phamm-0.6.2/debian/changelog
--- phamm-0.6.2/debian/changelog	2014-07-15 08:04:53.0 +0200
+++ phamm-0.6.2/debian/changelog	2014-11-14 19:17:21.0 +0100
@@ -1,3 +1,17 @@
+phamm (0.6.2-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Add support for apache2.4 (Closes: #669841):
+-  Move conffile from /etc/phamm/apache.conf to
+   /etc/apache2/conf-available/phamm.conf
+-  let dh_apache2 handle the conffile
+-  drop debconf entries reconfigure-webserver and restart-webserver: Only
+   apache2 is supported, and dh_apache2 causes automatic reload.
+-  Remove obsolete apache1 and apache2.2 conf.d/ links on upgrade.
+  * Added Dutch translation (Closes: #763643). Thanks Frans Spiesschaert.
+
+ -- Jean-Michel Nirgal Vourgère   Fri, 14 Nov 2014 16:15:52 +0100
+
 phamm (0.6.2-1) unstable; urgency=low
 
   * New upstream release (Closes: #750518)
diff -Nru phamm-0.6.2/debian/conf/apache.conf phamm-0.6.2/debian/conf/apache.conf
--- phamm-0.6.2/debian/conf/apache.conf	2014-07-15 07:38:41.0 +0200
+++ phamm-0.6.2/debian/conf/apache.conf	1970-01-01 01:00:00.0 +0100
@@ -1,48 +0,0 @@
-# Define /phamm alias, this is the default
-
-Alias /phamm /usr/share/phamm/public
-
-
-# You can also use phpLDAPadmin as a VirtualHost
-# 
-# ServerName ldap.example.com
-# ServerAdmin r...@example.com
-# DocumentRoot /usr/share/phamm
-# ErrorLog logs/ldap.example.com-error.log
-# CustomLog logs/ldap.example.com-access.log common
-# 
-
-
-
-DirectoryIndex index.php
-Options +FollowSymLinks
-AllowOverride None
-
-Order allow,deny
-Allow from all
-
-
-
-  
-AddType application/x-httpd-php .php
-
-php_flag magic_quotes_gpc Off
-php_flag track_vars On
-php_flag register_globals Off
-php_value include_path .
-  
-
-  
-
-  
-AddType application/x-httpd-php .php
-
-Action application/x-httpd-php /cgi-bin/php5
-  
-
-  
-
-
-
-
-
diff -Nru phamm-0.6.2/debian/conf/phamm.conf phamm-0.6.2/debian/conf/phamm.conf
--- phamm-0.6.2/debian/conf/phamm.conf	1970-01-01 01:00:00.0 +0100
+++ phamm-0.6.2/debian/conf/phamm.conf	2014-07-15 07:38:41.0 +0200
@@ -0,0 +1,48 @@
+# Define /phamm alias, this is the default
+
+Alias /phamm /usr/share/phamm/public
+
+
+# You can also use phpLDAPadmin as a VirtualHost
+# 
+# ServerName ldap.example.com
+# ServerAdmin r...@example.com
+# DocumentRoot /usr/share/phamm
+# ErrorLog logs/ldap.example.com-error.log
+# CustomLog logs/ldap.example.com-access.log common
+# 
+
+
+
+DirectoryIndex index.php
+Options +FollowSymLinks
+AllowOverride None
+
+Order allow,deny
+Allow from all
+
+
+
+  
+

Bug#718483: simpleid: transition towards Apache 2.4

2014-11-30 Thread Jean-Michel Nirgal Vourgère
Control: tags -1 + patch

Hello

Attached is a patch for your package.

A web application that doesn't work with the web server really is an
important bug that should be fixed.

Enjoy

-- 
Nirgal
commit 26fa59b4796f32dc0ceeb13242ac3e02ed0a41a4
Author: Jean-Michel Nirgal Vourgère 
Date:   Mon Dec 1 01:33:12 2014 +0100

Apache2.4 transition

* Move conffile etc/simpleid/apache.conf to etc/apache2/conf-available/simpleid.conf
  - New simpleid.maintscript with mv_conffile command.
  - Add Pre-Depends: dpkg (>= 1.15.7.2).
  - Remove link to apache.conf from d/simpleid.links.
  - Change patched filename in d/rules.
* Let dh_apache2 handle the script activation:
  - New d/simpleid.apache2.
  - New Build-Depends on dh-apache2|apache2-dev.
  - Change Depends: apache2|lighttpd|httpd to Recommends: ${misc:Recommends}
  - Add dh_apache2 to d/rules.
  - Don't install debian/conf/apache.conf in d/simpleid.install, rename it to d/conf/simpleid.conf, let dh_apache2 make the copy.

diff --git a/debian/conf/apache.conf b/debian/conf/apache.conf
deleted file mode 100644
index 1395e2a..000
--- a/debian/conf/apache.conf
+++ /dev/null
@@ -1,3 +0,0 @@
-
-Alias /simpleid /usr/share/simpleid/www
-
diff --git a/debian/control b/debian/control
index cb66f1d..c771515 100644
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,7 @@ Section: web
 Priority: extra
 Maintainer: Debian Authentication Maintainers 
 Uploaders: Daniel Pocock 
-Build-Depends: debhelper (>= 8), cdbs (>= 0.4.89)
+Build-Depends: debhelper (>= 8), cdbs (>= 0.4.89), dh-apache2 | apache2-dev
 Standards-Version: 3.9.3
 Homepage: http://www.simpleid.org/
 Vcs-Git: git://git.debian.org/pkg-auth/simpleid.git
@@ -11,9 +11,11 @@ Vcs-Browser: http://git.debian.org/?p=pkg-auth/simpleid.git;a=summary
 
 Package: simpleid
 Architecture: all
-Depends: debconf | debconf-2.0, apache2 | lighttpd | httpd,
+Pre-Depends: dpkg (>= 1.15.7.2)
+Depends: debconf | debconf-2.0,
libapache2-mod-php5 | libapache2-mod-php5filter | php5-cgi | php5-fpm | php5,
libjs-jquery, ${misc:Depends}
+Recommends: ${misc:Recommends}
 Description: simple OpenID provider implemented in PHP
  SimpleID is a simple, personal OpenID provider written in PHP.  OpenID
  is a way to provide for a single digital identity across the Internet.
diff --git a/debian/rules b/debian/rules
index f51f284..6fe135f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,7 +4,7 @@ include /usr/share/cdbs/1/rules/debhelper.mk
 
 DEB_INSTALL_CHANGELOGS_ALL = CHANGELOG.txt
 
-SIMPLEID_WEB_CONF = etc/simpleid/apache.conf
+SIMPLEID_WEB_CONF = etc/apache2/conf-available/simpleid.conf
 
 binary-install/simpleid::
 	echo -n "" > debian/simpleid/usr/share/simpleid/www/version.inc.php
@@ -14,6 +14,7 @@ binary-fixup/simpleid::
 	chmod 0750 debian/simpleid/var/lib/simpleid/identities
 	chown www-data.www-data debian/simpleid/var/lib/simpleid/cache debian/simpleid/var/lib/simpleid/store
 	chmod 0770 debian/simpleid/var/lib/simpleid/cache debian/simpleid/var/lib/simpleid/store
+	dh_apache2
 	echo '' >> debian/simpleid/$(SIMPLEID_WEB_CONF)
 	cat www/.htaccess.dist >> debian/simpleid/$(SIMPLEID_WEB_CONF)
 	echo '' >> debian/simpleid/$(SIMPLEID_WEB_CONF)
diff --git a/debian/simpleid.apache2 b/debian/simpleid.apache2
new file mode 100644
index 000..9e2ae82
--- /dev/null
+++ b/debian/simpleid.apache2
@@ -0,0 +1 @@
+conf debian/conf/simpleid.conf lighttpd
diff --git a/debian/simpleid.install b/debian/simpleid.install
index f663813..beeae9a 100644
--- a/debian/simpleid.install
+++ b/debian/simpleid.install
@@ -1,3 +1,3 @@
 identities/example.identity.dist usr/share/simpleid/sample
 www usr/share/simpleid
-debian/conf/* etc/simpleid
+debian/conf/config.inc etc/simpleid
diff --git a/debian/simpleid.links b/debian/simpleid.links
index 618b4f2..d655ab0 100644
--- a/debian/simpleid.links
+++ b/debian/simpleid.links
@@ -1,3 +1,2 @@
 etc/simpleid/config.inc usr/share/simpleid/www/config.inc
-etc/simpleid/apache.conf etc/apache2/conf.d/simpleid.conf
 usr/share/javascript/jquery/jquery.min.js usr/share/simpleid/www/html/jquery.js
diff --git a/debian/simpleid.maintscript b/debian/simpleid.maintscript
new file mode 100644
index 000..ac06f46
--- /dev/null
+++ b/debian/simpleid.maintscript
@@ -0,0 +1 @@
+mv_conffile /etc/simpleid/apache.conf /etc/apache2/conf-available/simpleid.conf 0.8.3-1~


signature.asc
Description: OpenPGP digital signature


Bug#613609: Upload is not pending after all

2014-11-30 Thread Jean-Michel Nirgal Vourgère
Control: tags -1 - pending + patch

Upload is not pending after all.

A patch is available on alioth at:
https://anonscm.debian.org/cgit/collab-maint/ocsinventory-server.git/commit/?id=fbcf0d4b9b4ed37eaa098c93244d895c5d4d8dfa



signature.asc
Description: OpenPGP digital signature


Bug#771374: unblock: macchanger/1.7.0-3.1

2014-11-28 Thread Jean-Michel Nirgal Vourgère
Package: release.debian.org
User: release.debian@packages.debian.org
Usertags: unblock
Severity: normal

Please unblock package macchanger

When auto running, version in Jessie only changes the vendor-id of the
mac-address, not the other bytes.

Version 1.7.0-3.1 fixes that (#768325).

See the attached diff file for the one byte change in the code. There is
a small glitch in the changelog, I hope this is ok from the RT point of
view.

unblock macchanger/1.7.0-3.1

-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (990, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -Nru macchanger-1.7.0/debian/changelog macchanger-1.7.0/debian/changelog
--- macchanger-1.7.0/debian/changelog	2014-11-07 13:03:50.0 +0100
+++ macchanger-1.7.0/debian/changelog	2014-11-28 22:40:43.0 +0100
@@ -1,9 +1,17 @@
+macchanger (1.7.0-3.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Change the non-vendor bytes, and only them, on automatic run.
+(Closes: #768325)
+
+ -- Jean-Michel Nirgal Vourgère   Thu, 27 Nov 2014 10:52:16 +0100
+
 macchanger (1.7.0-3) unstable; urgency=low
 
   * update debian/watch to point to new github repository
-  * include code from 1.7.0-1.1 NMU (Closes: #738460, #740947)
+  * include code from 1.7.0-1.1 Non-Maintainer Upload
 
- -- Hans-Christoph Steiner   Fri, 07 Nov 2014 12:56:56 +0100
+ -- Hans-Christoph Steiner   Wed, 22 Oct 2014 12:32:24 -0400
 
 macchanger (1.7.0-2) unstable; urgency=low
 
diff -Nru macchanger-1.7.0/debian/if-pre-up.d/macchanger macchanger-1.7.0/debian/if-pre-up.d/macchanger
--- macchanger-1.7.0/debian/if-pre-up.d/macchanger	2014-10-21 21:38:32.0 +0200
+++ macchanger-1.7.0/debian/if-pre-up.d/macchanger	2014-11-28 22:40:43.0 +0100
@@ -29,4 +29,4 @@
 	exit 0
 fi
 
-/usr/bin/${package} -A $IFACE >> $LOGFILE 2>&1
+/usr/bin/${package} -e $IFACE >> $LOGFILE 2>&1


signature.asc
Description: OpenPGP digital signature


  1   2   >