Bug#943840: marked as pending in rrdtool

2019-10-31 Thread Jean-Michel Vourgère
Control: tag -1 pending

Hello,

Bug #943840 in rrdtool reported by you has been fixed in the
Git repository and is awaiting an upload. You can see the commit
message below and you can check the diff of the fix at:

https://salsa.debian.org/rrdtool-team/rrdtool/commit/42ed9fd3b24ce895d3565aebb897bac734453083


Added Breaks+Replaces for debug symbols migration

Closes: #943840


(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/943840



Bug#932985: [932985] Please remove Python 2 support

2019-07-28 Thread Jean-Michel Vourgère
Hi Thomas

Thank you for your patch. I just made an upload based on it.

I had to remove python3-django-session-security.install since pybuild put the 
files directly in the correct location.

Also I changed your sphinx changes. Originally:

> override_dh_auto_build:
>   dh_auto_build -O--buildsystem=python_distutils

Your version
> override_dh_sphinxdoc:
> ifeq (,$(findstring nodoc, $(DEB_BUILD_OPTIONS)))
>   python3 setup.py build_sphinx
>   dh_sphinxdoc
> endif
doesn't quite work as dh_sphinxdoc run after dh_install, that fails because 
the files are not there.

My final version:
> override_dh_auto_build:
>   dh_auto_build
> ifeq (,$(findstring nodoc, $(DEB_BUILD_OPTIONS)))
>   python3 setup.py build_sphinx
> endif
works, and doesn't mix the build systems, which I believe was your point.

If you have a better idea, it will be welcome.

Thanks again

signature.asc
Description: This is a digitally signed message part.


Bug#885744: mdbtools-gmdb: Depends on libgnomeui

2018-02-19 Thread Jean-Michel Vourgère
Control: tags -1 +help

I'm unable to port gmdb to gtk-3. Mostly by lack of knowledge.

If someone propose a patch, I can very probably push it upstream, that would 
be nice.

My plan is to remove gmdb package and to package only the drivers and command 
line tools. Honestly, I boldly guess most people are using the gui to export 
the data to another free database system, and that can be accomplished using 
the command line.

signature.asc
Description: This is a digitally signed message part.


Bug#821514: PHP 7.0 Transition

2016-06-04 Thread Jean-Michel Vourgère
Control: tags -1 - wontfix

I believe wonfix is not the proper way to orphan a package.

Patches exists for ubuntu.



Bug#825647: ocsinventory-server: prompting due to modified conffiles which were not modified by the user: /etc/apache2/conf-available/ocsinventory-server.conf

2016-06-01 Thread Jean-Michel Vourgère
Mmm, actually, on squeeze, the password was generated randomly. :)

Unforunatly,  this means there is no easy way to detect whether the user
changed the /etc file or not (It was not a conffile then).



Bug#825647: ocsinventory-server: prompting due to modified conffiles which were not modified by the user: /etc/apache2/conf-available/ocsinventory-server.conf

2016-06-01 Thread Jean-Michel Vourgère
Here's a first diagnostic:

When doing a squeeze => wheezy => jessie upgrade test, one gets:


  Setting up ocsinventory-server (2.0.5-1.3) ...
  Preserving your changes in
/etc/apache2/conf-available/ocsinventory-server.conf
  Changing 'require "SOAP_USER"' by 'require user "SOAP_USER"'
  Backup is available in ocsinventory-server.conf.old
  apache2_invoke: Enable configuration ocsinventory-server

When doing a wheezy => jessie upgrade test, one gets:
=
  Setting up ocsinventory-server (2.0.5-1.3) ...
  apache2_invoke: Enable configuration ocsinventory-server


The "preserving your change" is wrong and is the root of the problem.


=
= Diagnostic
=

Squeeze
---
1.02.2-1.1 postinst configure is quite complex. In unattended mode, it
will generate a /etc/ocsinventory/ocsinventory.conf when it doesn't
exists, using debconf, template
/usr/share/ocsinventory-server/files/ocsinventory.conf and a bunch of
sed commands.
(
https://anonscm.debian.org/cgit/collab-maint/ocsinventory-server.git/tree/debian/ocsinventory-server.postinst?h=debian/1.02.2-1.1
)
The resulting /etc/ocsinventory/ocsinventory.conf file with
024b0d2e135eb4810e3ff1316ce1e3db
(unfortunatly, I'm testing with xen and it looks like old squeeze is not
longer supported by xen-tools. So I could only test 1.02.2-1.1 in
wheezy. This hash should be double checked)


Wheezy
--
2.0.5-1.1 /usr/share/ocsinventory-server/files/ocsinventory.conf =>
024b0d2e135eb4810e3ff1316ce1e3db

2.0.5-1.1 postinst configure does:
  if [ ! -f /etc/ocsinventory/ocsinventory.conf ]; then
cp /usr/share/ocsinventory-server/files/ocsinventory.conf
/etc/ocsinventory/ocsinventory.conf
  fi

Lenny
-
2.0.5-1.3 postinst configure does:
  if [ $(md5sum /etc/ocsinventory/ocsinventory.conf | cut -d \  -f 1) =
'024b0d2e135eb4810e3ff1316ce1e3db' ]; then
# file unchanged since wheezy
rm /etc/ocsinventory/ocsinventory.conf
  else
echo Preserving your changes in
/etc/apache2/conf-available/ocsinventory-server.conf
mv /etc/ocsinventory/ocsinventory.conf
/etc/apache2/conf-available/ocsinventory-server.conf
echo "Changing 'require \"SOAP_USER\"' by 'require user \"SOAP_USER\"'"
sed -i.old 's/require "SOAP_USER"/require user "SOAP_USER"/'
/etc/apache2/conf-available/ocsinventory-server.conf
echo Backup is available in ocsinventory-server.conf.old
  fi


=> Lenny postinst configure also discard postinst whose hash is
024b0d2e135eb4810e3ff1316ce1e3db .



Bug#822397: collectd FTBFS: configure: error: "Some plugins are missing dependencies

2016-05-17 Thread Jean-Michel Vourgère
Ben Hutching uploaded linux 4.5.4-1 that fixes this issue this morning.
See https://bugs.debian.org/822396

Build is under way...
https://buildd.debian.org/status/package.php?p=linux&suite=unstable

collected no longer FTBFS here.



Bug#820202: marked as pending

2016-05-10 Thread Jean-Michel Vourgère
tag 820202 pending
thanks

Hello,

Bug #820202 reported by you has been fixed in the Git repository. You can
see the changelog below, and you can check the diff of the fix at:


http://git.debian.org/?p=python-modules/packages/python-babel.git;a=commitdiff;h=fcf304d

---
commit fcf304d7649b44d33fca0bbb3690749e2a44ea2b
Author: Jean-Michel Vourgère 
Date:   Wed May 11 00:31:31 2016 +0200

dch -u high (#820202)

diff --git a/debian/changelog b/debian/changelog
index 4eea8c4..d4b3cd7 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,4 +1,4 @@
-python-babel (1.3+dfsg.1-7) UNRELEASED; urgency=medium
+python-babel (1.3+dfsg.1-7) UNRELEASED; urgency=high
 
   [ Ondřej Nový ]
   * Fixed VCS URL (https)
@@ -6,6 +6,7 @@ python-babel (1.3+dfsg.1-7) UNRELEASED; urgency=medium
   [ Jean-Michel Vourgère ]
   * Made the build reproducible. Thanks to Val Lorentz. (Closes:
 #795997)
+  * Rebuilt without python3.4. (Closes: #820202)
 
  -- Ondřej Nový   Tue, 29 Mar 2016 21:56:09 +0200
 



Bug#822098: marked as pending

2016-05-10 Thread Jean-Michel Vourgère
tag 822098 pending
thanks

Hello,

Bug #822098 reported by you has been fixed in the Git repository. You can
see the changelog below, and you can check the diff of the fix at:


http://git.debian.org/?p=python-modules/packages/python-gear.git;a=commitdiff;h=533aec9

---
commit 533aec955ade55ace216121690e9de972c77787e
Author: Jean-Michel Vourgère 
Date:   Tue May 10 22:05:57 2016 +0200

Releasing as team upload (Closes: #822098)

Priority is high for RC bug

diff --git a/debian/changelog b/debian/changelog
index 1d5bc50..cbc9f48 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,8 +1,14 @@
-python-gear (0.5.8-3) UNRELEASED; urgency=medium
+python-gear (0.5.8-3) unstable; urgency=high
 
+  * Team upload.
+
+  [ Ondřej Nový ]
   * Fixed VCS URL (https)
 
- -- Ondřej Nový   Tue, 29 Mar 2016 22:06:49 +0200
+  [ Jean-Michel Vourgère ]
+  * Rebuild without python3.4 (Closes: #822098)
+
+ -- Jean-Michel Vourgère   Tue, 10 May 2016 21:58:10 +0200
 
 python-gear (0.5.8-2) unstable; urgency=medium
 



Bug#820202: python3-babel: depends on python3.4

2016-05-10 Thread Jean-Michel Vourgère
Control: retitle -1 nmu: python-babel_1.3+dfsg.1-6
Control: reassign -1 release.debian.org
Control: severity -1 normal

On April 6th, Julien Cristau wrote:
> python3-babel needs to be rebuilt against python3.5, which is the
> default python3 in unstable and testing.

I build tested on sid and saw no issue. This is a simple binnmu matter,
as far as I can tell. Reassigning to release team.

nmu python-babel_1.3+dfsg.1-6 . ALL . -m "rebuild without python3.4."



Bug#822098: python3-gear: depends on python3.4

2016-05-09 Thread Jean-Michel Vourgère
Control: retitle -1 nmu: python-gear_0.5.8-2
Control: reassign -1 release.debian.org
Control: severity -1 normal
Control: user release.debian@packages.debian.org
Control: usertag -1 binnmu

On April 21st, Julien Cristau wrote:
> python3-gear depends on python3.4 which is replaced by python3.5.
> Your package needs to be rebuilt to lose that dependency.

I build tested on sid and saw no issue. This is a simple binnmu matter,
as far as I can tell. Reassigning to release team.

nmu python-gear_0.5.8-2 . ALL . -m "rebuild with python3.4 gone"



Bug#821568: Won't fix?

2016-04-27 Thread Jean-Michel Vourgère
Control: tags -1 - wontfix

Olivier Berger wrote:
> tags 821568 + wontfix
> I've just orphaned php-cas (see #757231), and haven't had to time to
> check whether it works with PHP 7, sorry.


I believe wontfix is not the proper tag for a package that only need
some care.

A patch is available from Ubuntu:
https://patches.ubuntu.com/p/php-cas/php-cas_1.3.3-2ubuntu1.patch



Bug#805391: [rrdtool-maint] Bug#805391: src:rrdtool: FTBFS on mips: `FAIL: tune2`

2015-12-20 Thread Jean-Michel Vourgère
Control: tags -1 -help +pending

Niko Tyni wrote:
> (...)
> The problem is that rrd_write() ends up calling memcpy(3) on overlapping
> memory areas, which is explicitly prohibited in its documentation. With
> libc6 2.19-20 on mips, this started zeroing out part of the areas under
> some conditions. 
> (...)

Great job! Thanks a lot. :)


Aurelien Jarno wrote:
> Can't you replace memcpy calls with overlapping areas with a memmove
> instead?

Indeed. Thank you.

I expected memcpy to do nothing when source=destination. Definitely the
kind of mistake I could have made.



Bug#805391: src:rrdtool: FTBFS on mips: `FAIL: tune2`

2015-11-24 Thread Jean-Michel Vourgère
Control: found -1 src:rrdtool/1.5.4-5
Control: notforwarded -1
Control: tags -1 + help

Antonio Terceiro wrote:
> "make  check-TESTS" fails

I tested previous version on mips, and it now FTBFS too. It used to work
ok. [1] (thanks Tobias, upstream, for suggesting that.)

So I suppose it is related to another package.

I tried compiling with good old gcc 4.9 and I get the same error in 1.5.4.

Any idea some one?


[1]
https://buildd.debian.org/status/logs.php?pkg=rrdtool&ver=1.5.4-5&arch=mips&suite=sid

-- 
Nirgal



Bug#793862: apache2: purging deletes directory co-owned by apache2-bin: /var/lib/apache2/

2015-07-28 Thread Jean-Michel Vourgère
Control: reassign -1 apache2 2.4.12-2

The problem is not in apache2.2-common that doesn't exists any more, at
least not in that version, but in apache2.postrm that basically does on
purge:
rm -rf /var/lib/apache2

while apache2-bin.postrm does:
rm -f /var/lib/apache2/deferred_actions

Both packages have /var/lib/apache2 in their .dirs file.

One solution would be to have "apache2.postrm purge" only remove these
sub-directories:
/var/lib/apache2/conf
/var/lib/apache2/module
/var/lib/apache2/site

On the other hand, apache2 package contains the
apache2-maintscript-helper, the a2enmod-like helpers, the init.d
scripts, so I'm not sure it make sense to have any thing in
/var/lib/apache2 handled by apache2-bin. Maybe the deferred_actions
handling should be fully done by apache2, and /var/lib/apache2 removed
from package apache2-bin.dirs.
The deferred_actions are processed by apache2 any ways, not by apache2-bin.

-- 
Nirgal


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



Bug#789914: apache2: fails to install: ERROR: Module mpm_event is enabled - cannot proceed due to conflicts. It needs to be disabled first!

2015-07-20 Thread Jean-Michel Vourgère
Control: tags -1 pending

Stefan Fritsch wrote:
> On Thursday 25 June 2015 10:27:59, Andreas Beckmann wrote:
>>   Enabling conf serve-cgi-bin.
>>   Enabling site 000-default.
>>   info: mpm_prefork: No action required
>
> This is wrong. There seems to be a "!" that does not belong there in
> the postinst at
>
>   elif [ ! -e /etc/apache2/mods-enabled/$MPM.load ] ; then
>   msg "info" "$MPM: No action required"


Good catch. Fixed in git.

There was an additional problem however:
> Setting up apache2-bin (2.4.12-3) ...
> Setting up apache2-data (2.4.12-3) ...
> Setting up apache2 (2.4.12-3) ...
> Installing new version of config file 
> /etc/apache2/conf-available/security.conf ...
> info: Switch to mpm_prefork for package libapache2-mpm-itk
> Module mpm_event disabled.
> ERROR: Module mpm_mpm_prefork does not exist!
> error: Switching to mpm_prefork failed
> info: Executing deferred 'a2enmod mpm_itk' for package libapache2-mpm-itk
> Enabling module mpm_prefork.
> Enabling module mpm_itk.


I took the liberty to change the value of $MPM to not include mpm_
prefix, so that is match CUR_MPM behavior. It looked more readable to me.

https://anonscm.debian.org/cgit/pkg-apache/apache2.git/commit/?id=60dfe3d656aaecad281288e77d45e0fee9b3d919

We want to backport that to jessie, don't we? I mean a minimal fix.


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



Bug#717472: libapache-mod-log-sql: diff for NMU version 1.100-16.1

2015-05-30 Thread Jean-Michel Vourgère
Here's the missing attachment.
diff -Nru libapache-mod-log-sql-1.100/debian/changelog libapache-mod-log-sql-1.100/debian/changelog
--- libapache-mod-log-sql-1.100/debian/changelog	2014-05-06 12:54:42.0 +0200
+++ libapache-mod-log-sql-1.100/debian/changelog	2015-05-30 16:58:15.0 +0200
@@ -1,3 +1,17 @@
+libapache-mod-log-sql (1.100-16.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+
+  [ Thomas Goirand ]
+  * Added debian/gbp.conf
+  * Switched to dh short style, and using dh-apache2 (build depend on it).
+
+  [ Jean-Michel Vourgère ]
+  * Dropped dependencies on obsolete apache2-mpm-* packages. (Closes: #717472).
+  * Removed references to apache 1.3 and 2.0 from package descriptions.
+
+ -- Jean-Michel Vourgère   Sat, 30 May 2015 16:53:33 +0200
+
 libapache-mod-log-sql (1.100-16) unstable; urgency=medium
 
   * Patches configure script to search libdbi in a multiarch system
diff -Nru libapache-mod-log-sql-1.100/debian/control libapache-mod-log-sql-1.100/debian/control
--- libapache-mod-log-sql-1.100/debian/control	2014-05-06 12:53:51.0 +0200
+++ libapache-mod-log-sql-1.100/debian/control	2015-05-30 16:55:00.0 +0200
@@ -1,8 +1,9 @@
 Source: libapache-mod-log-sql
 Section: libs
 Priority: optional
-Maintainer: Thomas Goirand 
+Maintainer: Thomas Goirand 
 Build-Depends: apache2-dev (>= 2.4),
+ dh-apache2,
  autotools-dev,
  debhelper (>= 9),
  libdbi-dev,
@@ -13,13 +14,11 @@
 
 Package: libapache2-mod-log-sql
 Architecture: any
-Depends: apache2-mpm-prefork (>= 2.0.53) | apache2-mpm-itk,
- ${misc:Depends},
+Depends: ${misc:Depends},
  ${shlibs:Depends}
 Recommends: perl
 Description: Use SQL to store/write your Apache queries logs - Base
- mod_log_sql is a log module for Apache 1.3 and 2 which logs all requests to a
- database.
+ mod_log_sql is a log module for Apache which logs all requests to a database.
  .
  Base package.
  .
@@ -33,12 +32,10 @@
  ${shlibs:Depends}
 Recommends: libapache2-mod-log-sql-ssl
 Description: Use SQL to store/write your Apache queries logs - MySQL interface
- mod_log_sql is a log module for Apache 1.3 and 2.0 which logs all requests to
- a MySQL database.
+ mod_log_sql is a log module for Apache which logs all requests to a MySQL
+ database.
  .
  MySQL interface.
- .
- Created for Apache 2. Use libapache-mod-log-sql-mysql for Apache 1.3.
 
 Package: libapache2-mod-log-sql-dbi
 Architecture: any
@@ -47,12 +44,10 @@
  ${shlibs:Depends}
 Recommends: libapache2-mod-log-sql-ssl
 Description: Use SQL to store/write your Apache queries logs - DBI interface
- mod_log_sql is a log module for Apache 1.3 and 2 which logs all requests to a
- MySQL database.
+ mod_log_sql is a log module for Apache 1which logs all requests to a MySQL
+ database.
  .
  DBI interface.
- .
- Created for Apache 2. Use libapache-mod-log-sql-dbi for Apache 1.3.
 
 Package: libapache2-mod-log-sql-ssl
 Architecture: any
@@ -61,7 +56,6 @@
  ${misc:Depends},
  ${shlibs:Depends}
 Description: Use SQL to store/write your Apache queries logs - SSL extension
- mod_log_sql is a log module for Apache 1.3 and 2 which logs all requests to a
- database.
+ mod_log_sql is a log module for Apache which logs all requests to a database.
  .
  For logging SSL connection information (cipher, hash, etc.).
diff -Nru libapache-mod-log-sql-1.100/debian/copyright libapache-mod-log-sql-1.100/debian/copyright
--- libapache-mod-log-sql-1.100/debian/copyright	2013-07-10 08:12:06.0 +0200
+++ libapache-mod-log-sql-1.100/debian/copyright	2015-05-30 16:38:31.0 +0200
@@ -52,7 +52,7 @@
  2. You may apply bug fixes, portability fixes and other modifications derived
  from the Public Domain or from the Copyright Holder. A Package modified in
  such a way shall still be considered the Standard Version.
-
+ .
  3. You may otherwise modify your copy of this Package in any way, provided
  that you insert a prominent notice in each changed file stating how and when
  you changed that file, and provided that you do at least ONE of the following:
diff -Nru libapache-mod-log-sql-1.100/debian/gbp.conf libapache-mod-log-sql-1.100/debian/gbp.conf
--- libapache-mod-log-sql-1.100/debian/gbp.conf	1970-01-01 01:00:00.0 +0100
+++ libapache-mod-log-sql-1.100/debian/gbp.conf	2015-05-30 16:38:31.0 +0200
@@ -0,0 +1,7 @@
+[DEFAULT]
+upstream-branch = upstream-sid
+debian-branch = debian-sid
+upstream-tag = %(version)s
+
+[git-buildpackage]
+export-dir = ../build-area/
diff -Nru libapache-mod-log-sql-1.100/debian/libapache2-mod-log-sql.apache2 libapache-mod-log-sql-1.100/debian/libapache2-mod-log-sql.apache2
--- libapache-mod-log-sql-1.100/debian/libapache2-mod-log-sql.apache2	1970-01-01 01:00:00.0 +0100
+++ libapache-mod-log-sql-1.100/debian/libapache2-mod-log-sql.apache2	2015-05-30 16:38:31.0 +0200
@@ -0,0 +1,2 @@
+mod .libs/mod_log_sql.so
+mod debian/log_sql.load
diff -Nru libapache-mod-log-sql-1.100/debian/libapache2-mod-log-sql-dbi.apache2 libapache-mod-log-sql-1.100/debia

Bug#717472: libapache-mod-log-sql: diff for NMU version 1.100-16.1

2015-05-30 Thread Jean-Michel Vourgère
Control: tags 717472 + pending

Dear maintainer,

As agreeded, I've prepared an NMU for libapache-mod-log-sql (versioned
as 1.100-16.1) and uploaded it.

I merged your uncommited changes from 1.100-16 with the commits for
1.100-16 that were actually not released.

The final source is available at
https://anonscm.debian.org/cgit/collab-maint/libapache-mod-log-sql.git
(or will be shortly).

Regards.

-- 
Nirgal


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



Bug#717472: unfinished apache 2.4 transition

2015-05-28 Thread Jean-Michel Vourgère
control: tags -1 patch

Hello Thomas

The obvious solution is to simply remove the 2 dependencies.

However, attached are 2 more intensive patches for apache2.4:

717472.control.diff is a small one that removes the obsolete
dependencies, but also remove references to apache 1.3 and apache 2.0 in
the control file, I mean the package description.

717472.dh_apache2.diff contains the previous patch but also contains the
use of dh_apache2 - already included within apache2-dev - that I think
you may want:
One of the basic idea behind the recent a2enmod changes is to preserve
the admin choice to disable a module by removing a symbolic links. Now
that action is memorized (internally somewhere in /var/lib/apache2/).
So the maintainer script must not call a2enmod dirrectly. You had a lot
of lintian warnings about that.
dh_apache2 is a nice wrapper that takes care of most of the work.
I created a 2-lines ".apache2" file per module, and added a dh_apache2
call in d/rules after dh_install.
This takes care of installing the .so and .load file in the current
location, and of the (pre|post)(rm|inst) scripts.
Additional information is available at:
https://wiki.debian.org/Apache/PackagingFor24

If you are using "patch -p 1" to apply, don't forget to remove the
"empty" files from the VCS. There are 15 of them.

I did not fully test the result. Only that the good files where copied
at the right location and that the maintscripts were there.

Enjoy! :)

-- 
Nirgal
--- libapache-mod-log-sql-1.100.NONMU/debian/control	2014-05-06 12:53:51.0 +0200
+++ libapache-mod-log-sql-1.100/debian/control	2015-05-28 14:20:01.013274217 +0200
@@ -13,13 +13,11 @@
 
 Package: libapache2-mod-log-sql
 Architecture: any
-Depends: apache2-mpm-prefork (>= 2.0.53) | apache2-mpm-itk,
- ${misc:Depends},
+Depends: ${misc:Depends},
  ${shlibs:Depends}
 Recommends: perl
 Description: Use SQL to store/write your Apache queries logs - Base
- mod_log_sql is a log module for Apache 1.3 and 2 which logs all requests to a
- database.
+ mod_log_sql is a log module for Apache which logs all requests to a database.
  .
  Base package.
  .
@@ -33,12 +31,10 @@
  ${shlibs:Depends}
 Recommends: libapache2-mod-log-sql-ssl
 Description: Use SQL to store/write your Apache queries logs - MySQL interface
- mod_log_sql is a log module for Apache 1.3 and 2.0 which logs all requests to
- a MySQL database.
+ mod_log_sql is a log module for Apache which logs all requests to a MySQL
+ database.
  .
  MySQL interface.
- .
- Created for Apache 2. Use libapache-mod-log-sql-mysql for Apache 1.3.
 
 Package: libapache2-mod-log-sql-dbi
 Architecture: any
@@ -47,12 +43,10 @@
  ${shlibs:Depends}
 Recommends: libapache2-mod-log-sql-ssl
 Description: Use SQL to store/write your Apache queries logs - DBI interface
- mod_log_sql is a log module for Apache 1.3 and 2 which logs all requests to a
- MySQL database.
+ mod_log_sql is a log module for Apache 1which logs all requests to a MySQL
+ database.
  .
  DBI interface.
- .
- Created for Apache 2. Use libapache-mod-log-sql-dbi for Apache 1.3.
 
 Package: libapache2-mod-log-sql-ssl
 Architecture: any
@@ -61,7 +55,6 @@
  ${misc:Depends},
  ${shlibs:Depends}
 Description: Use SQL to store/write your Apache queries logs - SSL extension
- mod_log_sql is a log module for Apache 1.3 and 2 which logs all requests to a
- database.
+ mod_log_sql is a log module for Apache which logs all requests to a database.
  .
  For logging SSL connection information (cipher, hash, etc.).
diff -Naur libapache-mod-log-sql-1.100.original/debian/control libapache-mod-log-sql-1.100/debian/control
--- libapache-mod-log-sql-1.100.original/debian/control	2014-05-06 12:53:51.0 +0200
+++ libapache-mod-log-sql-1.100/debian/control	2015-05-28 14:20:01.013274217 +0200
@@ -13,13 +13,11 @@
 
 Package: libapache2-mod-log-sql
 Architecture: any
-Depends: apache2-mpm-prefork (>= 2.0.53) | apache2-mpm-itk,
- ${misc:Depends},
+Depends: ${misc:Depends},
  ${shlibs:Depends}
 Recommends: perl
 Description: Use SQL to store/write your Apache queries logs - Base
- mod_log_sql is a log module for Apache 1.3 and 2 which logs all requests to a
- database.
+ mod_log_sql is a log module for Apache which logs all requests to a database.
  .
  Base package.
  .
@@ -33,12 +31,10 @@
  ${shlibs:Depends}
 Recommends: libapache2-mod-log-sql-ssl
 Description: Use SQL to store/write your Apache queries logs - MySQL interface
- mod_log_sql is a log module for Apache 1.3 and 2.0 which logs all requests to
- a MySQL database.
+ mod_log_sql is a log module for Apache which logs all requests to a MySQL
+ database.
  .
  MySQL interface.
- .
- Created for Apache 2. Use libapache-mod-log-sql-mysql for Apache 1.3.
 
 Package: libapache2-mod-log-sql-dbi
 Architecture: any
@@ -47,12 +43,10 @@
  ${shlibs:Depends}
 Recommends: libapache2-mod-log-sql-ssl
 Description: Use SQL to store/write your Apache queries logs - DBI interface
- mod_log_sql is a log module for Apache 1.3 and 2 which logs all re

Bug#786333: openjpeg2: diff for NMU version 2.1.0-2.1

2015-05-27 Thread Jean-Michel Vourgère
Control: tags 786333 + patch
Control: tags 786333 + pending

Dear maintainer,

I've prepared an NMU for openjpeg2 (versioned as 2.1.0-2.1) and
uploaded it to DELAYED/3. Please feel free to tell me if I
should delay it longer.

Regards.
diff -Nru openjpeg2-2.1.0/debian/changelog openjpeg2-2.1.0/debian/changelog
--- openjpeg2-2.1.0/debian/changelog	2014-10-07 13:15:09.0 +0200
+++ openjpeg2-2.1.0/debian/changelog	2015-05-21 23:21:21.0 +0200
@@ -1,3 +1,19 @@
+openjpeg2 (2.1.0-2.1) unstable; urgency=high
+
+  * Non-maintainer upload.
+  * Apache 2.4 transition: (Closes: #786333)
++ d/rules: Added --with apache2.
++ Drop d/libopenjpip-server.install.
++ Drop d/libopenjpip-server.prerm.
++ d/control: Add build-depends on dh-apache2, replace depends on
+  apache2.2-bin by ${misc:Recommends}, add recommends on
+  libapache2-mod-fastcgi.
++ New d/libopenjpip-server.conf for apache2 fastcgi setup.
++ Drop d/libopenjpip-server.load.
++ New d/libopenjpip-server.apache2 to set up the configuration.
+
+ -- Jean-Michel Vourgère   Thu, 21 May 2015 23:05:40 +0200
+
 openjpeg2 (2.1.0-2) unstable; urgency=low
 
   * Install *.pc files. Closes: #762251
diff -Nru openjpeg2-2.1.0/debian/control openjpeg2-2.1.0/debian/control
--- openjpeg2-2.1.0/debian/control	2014-10-07 13:15:09.0 +0200
+++ openjpeg2-2.1.0/debian/control	2015-05-21 23:14:25.0 +0200
@@ -6,6 +6,7 @@
 Build-Depends: cmake (>= 2.8.2),
debhelper (>= 9),
default-jdk,
+   dh-apache2,
help2man,
javahelper (>= 0.37~),
libcurl4-gnutls-dev | libcurl-ssl-dev,
@@ -118,11 +119,11 @@
 Section: graphics
 Architecture: any
 Multi-Arch: foreign
-Depends: apache2.2-bin,
- libwww-perl,
+Depends: libwww-perl,
  spawn-fcgi (>= 1.6.1),
  ${misc:Depends},
  ${shlibs:Depends}
+Recommends: ${misc:Recommends}, libapache2-mod-fastcgi
 Conflicts: openjpip-server
 Description: JPIP server for JPEG 2000 files
  OpenJPIP software is an implementation of JPEG 2000 Part9: Interactivity tools,
diff -Nru openjpeg2-2.1.0/debian/libopenjpip-server.apache2 openjpeg2-2.1.0/debian/libopenjpip-server.apache2
--- openjpeg2-2.1.0/debian/libopenjpip-server.apache2	1970-01-01 01:00:00.0 +0100
+++ openjpeg2-2.1.0/debian/libopenjpip-server.apache2	2015-05-21 23:17:27.0 +0200
@@ -0,0 +1 @@
+conf debian/libopenjpip-server.conf
diff -Nru openjpeg2-2.1.0/debian/libopenjpip-server.conf openjpeg2-2.1.0/debian/libopenjpip-server.conf
--- openjpeg2-2.1.0/debian/libopenjpip-server.conf	1970-01-01 01:00:00.0 +0100
+++ openjpeg2-2.1.0/debian/libopenjpip-server.conf	2015-05-22 00:29:40.0 +0200
@@ -0,0 +1,4 @@
+# This is the config file for openjpip-server
+
+FastCGIExternalServer /var/www/html/openjpip -host 127.0.0.1:3000
+
diff -Nru openjpeg2-2.1.0/debian/libopenjpip-server.install openjpeg2-2.1.0/debian/libopenjpip-server.install
--- openjpeg2-2.1.0/debian/libopenjpip-server.install	2014-09-12 09:44:21.0 +0200
+++ openjpeg2-2.1.0/debian/libopenjpip-server.install	1970-01-01 01:00:00.0 +0100
@@ -1,2 +0,0 @@
-#debian/openjpip.conf /etc/apache2/mods-available
-#debian/openjpip.load /etc/apache2/mods-available
diff -Nru openjpeg2-2.1.0/debian/libopenjpip-server.prerm openjpeg2-2.1.0/debian/libopenjpip-server.prerm
--- openjpeg2-2.1.0/debian/libopenjpip-server.prerm	2014-09-12 09:10:30.0 +0200
+++ openjpeg2-2.1.0/debian/libopenjpip-server.prerm	1970-01-01 01:00:00.0 +0100
@@ -1,15 +0,0 @@
-#!/bin/bash
-
-set -e
-
-#DEBHELPER#
-
-if [ "$1" != "remove" -a "$1" != "purge" ]; then
-	exit 0
-fi
-
-if [ -e /etc/apache2/apache2.conf ]; then
-	a2dismod openjpip || true
-fi
-
-exit 0
diff -Nru openjpeg2-2.1.0/debian/opj_jp3d_compress.1 openjpeg2-2.1.0/debian/opj_jp3d_compress.1
--- openjpeg2-2.1.0/debian/opj_jp3d_compress.1	1970-01-01 01:00:00.0 +0100
+++ openjpeg2-2.1.0/debian/opj_jp3d_compress.1	2015-05-21 23:22:55.0 +0200
@@ -0,0 +1,134 @@
+.\" DO NOT MODIFY THIS FILE!  It was generated by help2man 1.46.4.
+.TH OPJ_JP3D_COMPRESS "1" "May 2015" "opj_jp3d_compress 2.1.0" "User Commands"
+.SH NAME
+opj_jp3d_compress \- Works with JPEG2000 files
+.SH DESCRIPTION
+List of parameters for the JPEG2000 Part 10 encoder:
+\fB\-\-\-\-\-\-\-\-\-\-\-\-\fR
+.PP
+Required Parameters (except with \fB\-h\fR):
+.PP
+\fB\-i\fR   : source file  (\fB\-i\fR source.bin or source*.pgx)
+.PP
+\fB\-m\fR   : source characteristics file (\fB\-m\fR imgfile.img)
+.PP
+\fB\-o\fR   : destination file (\fB\-o\fR dest.jp3d)
+.PP
+Optional Parameters:
+.PP
+\fB\-h\fR   : display the help information
+.PP
+\fB\-n\fR   : number of resolutions (\fB\-n\fR 3,3,3)
+.PP
+\fB\-I\fR   : use the irreversible transforms: ICT + DWT 9\-7 (\fB\-I\fR)
+.PP
+\fB\-C\fR   : coding algorithm (\fB\-C\fR 2EB) [2EB, 3EB]
+.PP
+\fB\-r\fR   : different com

Bug#785706: Uninstallable build-dep apache2-mpm-worker

2015-05-22 Thread Jean-Michel Vourgère
Control: tags -1 pending

Fixed in git:
http://anonscm.debian.org/cgit/pkg-fedora-ds/389-admin.git/commit/?id=8a02c7b2687e992d3d910493126de2f1bf583e8a


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



Bug#786332: Full path in FastCGIExternalServer

2015-05-21 Thread Jean-Michel Vourgère
Hi

Running additionnal tests, I discovered the previous nmu was flawed.

FastCGIExternalServer requires the full docroot path /var/www/html/.

Attached is the revised nmu, that fixes that.

I just uploaded it to delayed/6, where the old one was.

Regards

-- 
Nirgal
diff -Nru openjpeg-1.5.2/debian/changelog openjpeg-1.5.2/debian/changelog
--- openjpeg-1.5.2/debian/changelog	2014-10-04 13:51:33.0 +0200
+++ openjpeg-1.5.2/debian/changelog	2015-05-22 00:36:58.0 +0200
@@ -1,3 +1,22 @@
+openjpeg (1:1.5.2-3.1) unstable; urgency=high
+
+  * Non-maintainer upload.
+  * Apache 2.4 transition: (Closes: #786332)
+- d/openjpip.conf: Changed documentroot path to /var/www/html;
+  changed localhost by 127.0.0.1 to support ipv6 enabled hosts.
+- Use dh_apache2:
+  . d/rules: Added --with apache2.
+  . d/openjpip-server.install: Drop installs to /etc/apache2/mods-available
+  . Drop d/openjpip-server.prerm.
+  . d/control: Add build-depends on dh-apache2, replace depends on
+apache2.2-bin by ${misc:Recommends}, add recommends on
+libapache2-mod-fastcgi.
+  . New d/openjpip-server.apache2 to set up the configuration.
+  . Install as a conf-available: Renamed openjpip.conf to
+openjpip-server.conf, removed openjpip.load, new maintscript.
+
+ -- Jean-Michel Vourgère   Wed, 20 May 2015 21:52:22 +0200
+
 openjpeg (1:1.5.2-3) unstable; urgency=medium
 
   * epoch upload to resolve #760874 completely
diff -Nru openjpeg-1.5.2/debian/control openjpeg-1.5.2/debian/control
--- openjpeg-1.5.2/debian/control	2014-04-01 12:39:01.0 +0200
+++ openjpeg-1.5.2/debian/control	2015-05-20 22:46:15.0 +0200
@@ -8,6 +8,7 @@
 Homepage: http://www.openjpeg.org
 Build-Depends:
  debhelper (>= 9)
+ , dh-apache2
  , cmake (>= 2.8.0)
  , javahelper (>= 0.37~)
  , default-jdk
@@ -120,7 +121,8 @@
 Section: graphics
 Architecture: any
 Multi-Arch: foreign
-Depends: ${shlibs:Depends}, ${misc:Depends}, libwww-perl, apache2.2-bin, spawn-fcgi (>= 1.6.1)
+Depends: ${shlibs:Depends}, ${misc:Depends}, libwww-perl, spawn-fcgi (>= 1.6.1)
+Recommends: ${misc:Recommends}, libapache2-mod-fastcgi
 Description: JPIP server for JPEG 2000 files
  OpenJPIP software is an implementation of JPEG 2000 Part9: Interactivity tools,
  APIs and protocols (JPIP). For more info about JPIP, check the website:
diff -Nru openjpeg-1.5.2/debian/openjpip.conf openjpeg-1.5.2/debian/openjpip.conf
--- openjpeg-1.5.2/debian/openjpip.conf	2014-04-01 12:39:01.0 +0200
+++ openjpeg-1.5.2/debian/openjpip.conf	1970-01-01 01:00:00.0 +0100
@@ -1,4 +0,0 @@
-# This is the config file for openjpip-server
-
-FastCGIExternalServer /var/www/openjpip -host localhost:3000
-
diff -Nru openjpeg-1.5.2/debian/openjpip-server.apache2 openjpeg-1.5.2/debian/openjpip-server.apache2
--- openjpeg-1.5.2/debian/openjpip-server.apache2	1970-01-01 01:00:00.0 +0100
+++ openjpeg-1.5.2/debian/openjpip-server.apache2	2015-05-20 22:25:39.0 +0200
@@ -0,0 +1 @@
+conf  debian/openjpip-server.conf
diff -Nru openjpeg-1.5.2/debian/openjpip-server.conf openjpeg-1.5.2/debian/openjpip-server.conf
--- openjpeg-1.5.2/debian/openjpip-server.conf	1970-01-01 01:00:00.0 +0100
+++ openjpeg-1.5.2/debian/openjpip-server.conf	2015-05-22 00:34:55.0 +0200
@@ -0,0 +1,4 @@
+# This is the config file for openjpip-server
+
+FastCGIExternalServer /var/www/html/openjpip -host 127.0.0.1:3000
+
diff -Nru openjpeg-1.5.2/debian/openjpip-server.install openjpeg-1.5.2/debian/openjpip-server.install
--- openjpeg-1.5.2/debian/openjpip-server.install	2014-04-01 12:39:01.0 +0200
+++ openjpeg-1.5.2/debian/openjpip-server.install	2015-05-20 22:01:41.0 +0200
@@ -1,3 +1 @@
 usr/bin/opj_server usr/lib/openjpip-server
-debian/openjpip.load /etc/apache2/mods-available
-debian/openjpip.conf /etc/apache2/mods-available
diff -Nru openjpeg-1.5.2/debian/openjpip-server.maintscript openjpeg-1.5.2/debian/openjpip-server.maintscript
--- openjpeg-1.5.2/debian/openjpip-server.maintscript	1970-01-01 01:00:00.0 +0100
+++ openjpeg-1.5.2/debian/openjpip-server.maintscript	2015-05-20 22:21:44.0 +0200
@@ -0,0 +1,2 @@
+mv_conffile /etc/apache2/mods-available/openjpip.conf /etc/apache2/conf-available/openjpip-server.conf 1:1.5.2-3.1~
+rm_conffile /etc/apache2/mods-available/openjpip.load 1:1.5.2-3.1~
diff -Nru openjpeg-1.5.2/debian/openjpip-server.prerm openjpeg-1.5.2/debian/openjpip-server.prerm
--- openjpeg-1.5.2/debian/openjpip-server.prerm	2014-04-01 12:39:01.0 +0200
+++ openjpeg-1.5.2/debian/openjpip-server.prerm	1970-01-01 01:00:00.0 +0100
@@ -1,15 +0,0 @@
-#!/bin/bash
-
-set -e
-
-#DEBHELPER#
-
-if [ "$1" != "remove" -a "$1" != "purge" ]; then
-	exit 0
-fi
-
-if [ -e /etc/apache2/apache2.conf ]; then
-	a2dismod openjpip || true
-fi
-
-exit 0
diff -Nru openjpeg-1.5.2/debian/rules openjpeg-1.5.2/debian/rules
--- openjpeg-1.5.2/debian/rules	2014-04-01 13:58:17.0 +0200
+++ openjpeg-1.5.2/d

Bug#786332: openjpeg: diff for NMU version 1:1.5.2-3.1

2015-05-20 Thread Jean-Michel Vourgère
Control: tags 786332 + patch
Control: tags 786332 + pending

Dear maintainer,

I've prepared an NMU for openjpeg (versioned as 1:1.5.2-3.1).

Here are some explanations regarding non-trivial changes in openjpip-server:

- dh_apache2 takes care of all the a2enmod stuff, so the
(pre|post)(inst|rm) are gone.

- You had in fact a configuration snippet, and not a real
libapache2-mod-xxx module. I changed the location from
/etc/apache2/mod-available to /etc/apache2/conf-available. Not doing so
resulted in weird and not needed dependencies against a specific apache2
api.

- I removed /var/www from the conf file. Default of fastcgi[1] is to use
the DocumentRoot, and since apache2.4, it has been changed to
/var/www/html. You should consider backporting that change to jessie,
since I'm pretty sure the package is broken there too because of that.

- Also, following /usr/share/doc/openjpip-server/README.Debian I had to
install libapache2-mod-fastcgi in order to make the package work. So I
took the liberty to add it to the recommended dependencies.

- Finally, I had to change in the conf file, localhost by 127.0.0.1
because of that error:
apache2_reload: AH00526: Syntax error on line 3 of
/etc/apache2/conf-enabled/openjpip-server.conf:
apache2_reload: FastCgiExternalServer openjpip: failed to resolve
"localhost" to exactly one IP address
You might want to backport that one too, for people whose old /etc/hosts
have both 127.0.0.1 and ::1 for localhost.


I realise these are non-trivial changes, so I uploaded it to DELAYED/7.
Please feel free to tell me if I should delay it longer.

Regards.

[1]
http://www.fastcgi.com/mod_fastcgi/docs/mod_fastcgi.html#FastCgiExternalServer

-- 
Nirgal
diff -Nru openjpeg-1.5.2/debian/changelog openjpeg-1.5.2/debian/changelog
--- openjpeg-1.5.2/debian/changelog	2014-10-04 13:51:33.0 +0200
+++ openjpeg-1.5.2/debian/changelog	2015-05-20 22:52:56.0 +0200
@@ -1,3 +1,22 @@
+openjpeg (1:1.5.2-3.1) unstable; urgency=high
+
+  * Non-maintainer upload.
+  * Apache 2.4 transition: (Closes: #786332)
+- d/openjpip.conf: Removed documentroot path, it no longer was /var/www;
+  changed localhost by 127.0.0.1 to support ipv6 enabled hosts.
+- Use dh_apache2:
+  . d/rules: Added --with apache2.
+  . d/openjpip-server.install: Drop installs to /etc/apache2/mods-available
+  . Drop d/openjpip-server.prerm.
+  . d/control: Add build-depends on dh-apache2, replace depends on
+apache2.2-bin by ${misc:Recommends}, add recommends on
+libapache2-mod-fastcgi.
+  . New d/openjpip-server.apache2 to set up the configuration.
+  . Install as a conf-available: Renamed openjpip.conf to
+openjpip-server.conf, removed openjpip.load, new maintscript.
+
+ -- Jean-Michel Vourgère   Wed, 20 May 2015 21:52:22 +0200
+
 openjpeg (1:1.5.2-3) unstable; urgency=medium
 
   * epoch upload to resolve #760874 completely
diff -Nru openjpeg-1.5.2/debian/control openjpeg-1.5.2/debian/control
--- openjpeg-1.5.2/debian/control	2014-04-01 12:39:01.0 +0200
+++ openjpeg-1.5.2/debian/control	2015-05-20 22:46:15.0 +0200
@@ -8,6 +8,7 @@
 Homepage: http://www.openjpeg.org
 Build-Depends:
  debhelper (>= 9)
+ , dh-apache2
  , cmake (>= 2.8.0)
  , javahelper (>= 0.37~)
  , default-jdk
@@ -120,7 +121,8 @@
 Section: graphics
 Architecture: any
 Multi-Arch: foreign
-Depends: ${shlibs:Depends}, ${misc:Depends}, libwww-perl, apache2.2-bin, spawn-fcgi (>= 1.6.1)
+Depends: ${shlibs:Depends}, ${misc:Depends}, libwww-perl, spawn-fcgi (>= 1.6.1)
+Recommends: ${misc:Recommends}, libapache2-mod-fastcgi
 Description: JPIP server for JPEG 2000 files
  OpenJPIP software is an implementation of JPEG 2000 Part9: Interactivity tools,
  APIs and protocols (JPIP). For more info about JPIP, check the website:
diff -Nru openjpeg-1.5.2/debian/openjpip.conf openjpeg-1.5.2/debian/openjpip.conf
--- openjpeg-1.5.2/debian/openjpip.conf	2014-04-01 12:39:01.0 +0200
+++ openjpeg-1.5.2/debian/openjpip.conf	1970-01-01 01:00:00.0 +0100
@@ -1,4 +0,0 @@
-# This is the config file for openjpip-server
-
-FastCGIExternalServer /var/www/openjpip -host localhost:3000
-
diff -Nru openjpeg-1.5.2/debian/openjpip-server.apache2 openjpeg-1.5.2/debian/openjpip-server.apache2
--- openjpeg-1.5.2/debian/openjpip-server.apache2	1970-01-01 01:00:00.0 +0100
+++ openjpeg-1.5.2/debian/openjpip-server.apache2	2015-05-20 22:25:39.0 +0200
@@ -0,0 +1 @@
+conf  debian/openjpip-server.conf
diff -Nru openjpeg-1.5.2/debian/openjpip-server.conf openjpeg-1.5.2/debian/openjpip-server.conf
--- openjpeg-1.5.2/debian/openjpip-server.conf	1970-01-01 01:00:00.0 +0100
+++ openjpeg-1.5.2/debian/openjpip-server.conf	2015-05-20 22:54:29.0 +0200
@@ -0,0 +1,4 @@
+# This is the config file for openjpip-server
+
+FastCGIExternalServer openjpip -host 127.0.0.1:3000
+
diff -Nru openjpeg-1.5.2/debian/openjpip-server.install openjpeg-1.5.2/debian/openjpip-server.install
--- openjpeg-1.5.2/d

Bug#717472: unfinished apache 2.4 transition

2015-05-20 Thread Jean-Michel Vourgère
Severity -1 serious

Hi

Your package libapache2-mod-log-sql used to depend on transitionnal
package apache2-mpm-prefork | apache2-mpm-itk.

This was still kind of ok in Jessie, but now these packages are no
longer built by apache2.

Please remove the dependencies.

Your package will become uninstallable after the imminent decruft
request, so I'm bumping the severity again.

-- 
Nirgal


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



Bug#786333: libopenjpip-server depends on gone package apache2.2-bin

2015-05-20 Thread Jean-Michel Vourgère
Package: libopenjpip-server
Version: 2.1.0-2
Severity: serious

Hello

Your package libopenjpip-server used to depend on transitionnal package
apache2.2-bin.

This was still kind of ok in Jessie, but now that package is no longer
built by apache2.

Please remove the dependency.

Your package will become uninstallable after the imminent decruft request.

There has been many changes in apache2.4 and this package was not filled
a bug against, sorry about that.
You can find a lot of information at:
https://wiki.debian.org/Apache/PackagingFor24

-- 
Nirgal


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



Bug#786332: openjpip-server depends on gone package apache2.2-bin

2015-05-20 Thread Jean-Michel Vourgère
Package: openjpip-server
Version: 1:1.5.2-3
Severity: serious

Hello

Your package openjpip-server used to depend on transitionnal package
apache2.2-bin.

This was still kind of ok in Jessie, but now that package is no longer
built by apache2.

Please remove the dependency.

Your package will become uninstallable after the imminent decruft request.

There has been many changes in apache2.4 and this package was not filled
a bug against, sorry about that.
You can find a lot of information at:
https://wiki.debian.org/Apache/PackagingFor24

-- 
Nirgal


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



Bug#737040: python-cracklib accepts anything

2014-01-29 Thread Jean-Michel Vourgère
Package: python-cracklib
Version: 2.9.0-2
Severity: grave

In jessie, cracklib-check works, but the python binding looks totally broken.
It accepts anything:


Cracklib command line does work ok:
$ /usr/sbin/cracklib-check
ncc-1701
ncc-1701: it is based on a dictionary word
a
a: it is WAY too short
bc
bc: it is WAY too short
^C


Test with Debian 7.3:
$ python
Python 2.7.3 (default, Jan  2 2013, 13:56:14)
[GCC 4.7.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import crack
>>> crack.FascistCheck('toto')
Traceback (most recent call last):
  File "", line 1, in 
ValueError: it is too short
>>> crack.FascistCheck('secret')
Traceback (most recent call last):
  File "", line 1, in 
ValueError: it is based on a dictionary word

This is the expected behavior.


But with debian testing:
$ python
Python 2.7.6 (default, Jan 11 2014, 17:06:02)
[GCC 4.8.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import crack
>>> crack.FascistCheck('toto')
'toto'
>>> crack.FascistCheck('secret')
'secret'

Everything is accepted, checks are totally disabled !


-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 3.12-1-686-pae (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

Versions of packages python-cracklib depends on:
ii  cracklib-runtime  2.9.0-2
ii  libc6 2.17-97
ii  libcrack2 2.9.0-2
ii  python2.7.5-5

python-cracklib recommends no packages.

python-cracklib suggests no packages.

-- no debconf information


signature.asc
Description: This is a digitally signed message part.


Bug#710688: jwchat: fails to install with apache 2.4

2013-08-26 Thread Jean-Michel Vourgère
On Monday 26 August 2013 20:15:06 Petter Reinholdtsen wrote:
> The jwchat patch seem to be incomplete.  It will handle fresh installs
> and removal, but not upgrades.  For upgrades from earlier versions of
> jwchat, the conffile /etc/apache2/sites-available/jwchat need to be
> renamed to /etc/apache2/sites-available/jwchat.conf.
> See https://wiki.debian.org/DpkgConffileHandling > for details.

Good catch!

I'm using jwchat.conf auto generated file, here.

postinst configure is calling setup_apache that create/update that file.


But this occurs only after a "ucf --three-way", and it is ok to keep
non-generated file, and we should preserve the changes indeed.

Note that we cannot use maintscript in that case.

I should be able to update the patch in 2 weeks or so, but if someone want to
work on it, please go ahead!

-- Nirgal


signature.asc
Description: This is a digitally signed message part.


Bug#720613: [Pkg-javascript-devel] Bug#720613: [node-request] node-request not installable

2013-08-23 Thread Jean-Michel Vourgère
Control: tags -1 + pending
Control: block -1 by 719704 719712 719716 719752

On Saturday 24 August 2013 00:11:08 Liang Guo wrote:
> The following packages have unmet dependencies:
>  node-request : Depends: node-form-data but it is not installable
> Depends: node-forever-agent but it is not installable
> Depends: node-tunnel-agent but it is not installable
> Depends: node-cookie-jar but it is not installable

These packages wait in the NEW queue for ftp master approval:
http://ftp-master.debian.org/new/node-form-data_0.1.0-1.html
http://ftp-master.debian.org/new/node-forever-agent_0.5.1-1.html
http://ftp-master.debian.org/new/node-tunnel-agent_0.3.1-1.html
http://ftp-master.debian.org/new/node-cookie-jar_0.3.1-1.html

along some sub-dependencies:
http://ftp-master.debian.org/new/node-combined-stream_0.0.4-1.html
http://ftp-master.debian.org/new/node-delayed-stream_0.0.5-1.html

Please be patient.
http://ftp-master.debian.org/stat.html


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



Bug#710688: jwchat

2013-08-20 Thread Jean-Michel Vourgère
Hello

jwchat doesn't work anymore on testing: It fails to install. (#710688)

I published a fix for that some weeks ago. I had no feedback.

I plan to publish an NMU on mentors for that one.


I published a patch for the unknown files bug (#656455) in October 2012, but I
got no answer! That was 10 monthes ago.
I had no feedback for the patch I proposed about debug mode either (#644097).
That was in October too... but that was 2011!
Would you like some help on the package, globally?


signature.asc
Description: This is a digitally signed message part.


Bug#719280: Error/warn: Config variable .... is not defined - Invalid Mutex directory in argument file:${APACHE_LOCK_DIR}

2013-08-10 Thread Jean-Michel Vourgère
Control: severity -1 normal
Control: tags -1 +moreinfo +unreproducible

Please do read the documentation, many of your questions are explained there.

If "service apache2 start" doesn't work, please provide error messages.


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



Bug#719280: Error/warn: Config variable .... is not defined - Invalid Mutex directory in argument file:${APACHE_LOCK_DIR}

2013-08-10 Thread Jean-Michel Vourgère
Hello André

It looks like you did not define required variables APACHE_LOCK_DIR,
APACHE_PID_FILE and so on.

This is exactly what envvar file is for. You *need* to source it
before runing apache.

apache2 is a service. On Debian, you need to start services using
service(8) on the command line:
# service apache2 start

This will call /etc/init.d/apache2 that does all the magic.

Alternatively, you could find apache2ctl(8) useful.


On Saturday 10 August 2013 01:09:26 André Verwijs wrote:
> Package: apache2
> Version: 2.4.6-2
> Severity: critical
> Tags: upstream
> Justification: breaks unrelated software
> 
> Apache2 does not start, it has following error(s)
> 
> [Sat Aug 10 02:56:24.136846 2013] [core:warn] [pid 637] AH00111: Config
> variable ${APACHE_LOCK_DIR} is not defined
> [Sat Aug 10 02:56:24.136932 2013] [core:warn] [pid 637] AH00111: Config
> variable ${APACHE_PID_FILE} is not defined
> [Sat Aug 10 02:56:24.136956 2013] [core:warn] [pid 637] AH00111: Config
> variable ${APACHE_RUN_USER} is not defined
> [Sat Aug 10 02:56:24.136973 2013] [core:warn] [pid 637] AH00111: Config
> variable ${APACHE_RUN_GROUP} is not defined
> [Sat Aug 10 02:56:24.136991 2013] [core:warn] [pid 637] AH00111: Config
> variable ${APACHE_LOG_DIR} is not defined
> [Sat Aug 10 02:56:24.139930 2013] [core:warn] [pid 637:tid 139739417716544]
> AH00111: Config variable ${APACHE_LOG_DIR} is not defined
> [Sat Aug 10 02:56:24.140102 2013] [core:warn] [pid 637:tid 139739417716544]
> AH00111: Config variable ${APACHE_LOG_DIR} is not defined
> [Sat Aug 10 02:56:24.140123 2013] [core:warn] [pid 637:tid 139739417716544]
> AH00111: Config variable ${APACHE_LOG_DIR} is not defined
> AH00526: Syntax error on line 74 of /etc/apache2/apache2.conf:
> Invalid Mutex directory in argument file:${APACHE_LOCK_DIR}
> 
> 
> line 74 of /etc/apache2/apache2.conf is:
> 
> #
> # The accept serialization lock file MUST BE STORED ON A LOCAL DISK.
> #
> Mutex file:${APACHE_LOCK_DIR} default
> 
> 
> 
> 
> 
> 
> -- Package-specific info:
> 
> -- System Information:
> Debian Release: jessie/sid
>   APT prefers testing-proposed-updates
>   APT policy: (500, 'testing-proposed-updates'), (500, 'testing')
> Architecture: amd64 (x86_64)
> 
> Kernel: Linux 3.9-1-amd64 (SMP w/2 CPU cores)
> Locale: LANG=nl_NL.UTF-8, LC_CTYPE=nl_NL.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dash
> 
> Versions of packages apache2 depends on:
> ii  apache2-bin   2.4.6-2
> ii  apache2-data  2.4.6-2
> ii  lsb-base  4.1+Debian12
> ii  mime-support  3.54
> ii  perl  5.14.2-21
> ii  procps1:3.3.4-2
> 
> Versions of packages apache2 recommends:
> ii  ssl-cert  1.0.32
> 
> Versions of packages apache2 suggests:
> ii  apache2-doc  2.4.6-2
> pn  apache2-suexec-pristine | apache2-suexec-custom  
> pn  apache2-utils
> ii  iceweasel [www-browser]  10.0.12esr-1+nmu1
> ii  w3m [www-browser]0.5.3-8
> 
> Versions of packages apache2-bin depends on:
> ii  libapr1  1.4.8-1
> ii  libaprutil1  1.5.2-1
> ii  libaprutil1-dbd-sqlite3  1.5.2-1
> ii  libaprutil1-ldap 1.5.2-1
> ii  libc62.17-7
> ii  libcap2  1:2.22-1.2
> ii  libldap-2.4-22.4.31-1+nmu2
> ii  liblua5.1-0  5.1.5-4
> ii  libpcre3 1:8.31-2
> ii  libssl1.0.0  1.0.1e-3
> ii  libxml2  2.9.1+dfsg1-2
> ii  perl 5.14.2-21
> ii  zlib1g   1:1.2.8.dfsg-1
> 
> Versions of packages apache2-bin suggests:
> ii  apache2-doc  2.4.6-2
> pn  apache2-suexec-pristine | apache2-suexec-custom  
> ii  iceweasel [www-browser]  10.0.12esr-1+nmu1
> ii  w3m [www-browser]0.5.3-8
> 
> Versions of packages apache2 is related to:
> ii  apache2  2.4.6-2
> ii  apache2-bin  2.4.6-2
> 
> -- no debconf information
> 
> 
> 


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



Bug#670973: w3c-markup-validator: transition towards Apache 2.4

2013-08-05 Thread Jean-Michel Vourgère
Control: tags -1 + patch

Attached is a patch for your package that fails to install on jessie.
diff -Nru w3c-markup-validator-1.3+dfsg/debian/postinst w3c-markup-validator-1.3+dfsg/debian/postinst
--- w3c-markup-validator-1.3+dfsg/debian/postinst	2012-10-04 00:48:48.0 +0200
+++ w3c-markup-validator-1.3+dfsg/debian/postinst	2013-08-05 13:20:09.0 +0200
@@ -24,9 +24,7 @@
 # `abort-remove' or `abort-deconfigure'.
 
 case "$1" in
-configure|reconfigure)
-
-server="apache2"
+configure)
 
 # Old versions stored config files here
 # We won't delete the old config file in case there are
@@ -37,33 +35,19 @@
 rm /etc/$old/w3c-markup-validator.conf
 fi
 done
+	rm -f /etc/apache2/conf.d/w3c-markup-validator.conf
 
-	if [ ! -s /etc/$server/conf.d/w3c-markup-validator.conf ]; then
-	ln -s /etc/w3c/httpd.conf   \
-/etc/$server/conf.d/w3c-markup-validator.conf
-fi
-
-if [ $server = "apache2" ]; then
-
-if [ ! -s /etc/$server/mods-enabled/include.load ]; then
-a2enmod include
+if [ -e /usr/share/apache2/apache2-maintscript-helper ] ; then
+. /usr/share/apache2/apache2-maintscript-helper
+if ! a2query -qm include ; then
+apache2_invoke enmod include || exit $?
 fi
-
-if [ ! -s /etc/$server/mods-enabled/rewrite.load ]; then
-a2enmod rewrite
+if ! a2query -qm rewrite ; then
+apache2_invoke enmod rewrite || exit $?
 fi
-	
-	fi
-
-	if [ -x "/etc/init.d/$server" ]; then
-		if [ -x /usr/sbin/invoke-rc.d ]; then
-			invoke-rc.d $server restart || true
-		else
-			/etc/init.d/$server restart || true
-		fi
-	fi
-	sleep 2
-
+apache2_invoke enconf w3c-markup-validator || exit $?
+fi
+
 ;;
 
 abort-upgrade|abort-remove|abort-deconfigure)
diff -Nru w3c-markup-validator-1.3+dfsg/debian/postrm w3c-markup-validator-1.3+dfsg/debian/postrm
--- w3c-markup-validator-1.3+dfsg/debian/postrm	2012-10-04 00:48:48.0 +0200
+++ w3c-markup-validator-1.3+dfsg/debian/postrm	2013-08-05 13:24:55.0 +0200
@@ -24,6 +24,10 @@
 ;;
 
 	purge)
+if [ -e /usr/share/apache2/apache2-maintscript-helper ] ; then
+. /usr/share/apache2/apache2-maintscript-helper
+apache2_invoke disconf w3c-markup-validator || exit $?
+fi
 	rmdir /etc/w3c 2>/dev/null || true
 	;;
 
diff -Nru w3c-markup-validator-1.3+dfsg/debian/prerm w3c-markup-validator-1.3+dfsg/debian/prerm
--- w3c-markup-validator-1.3+dfsg/debian/prerm	2012-10-04 00:48:48.0 +0200
+++ w3c-markup-validator-1.3+dfsg/debian/prerm	2013-08-05 13:20:25.0 +0200
@@ -17,34 +17,10 @@
 # the debian-policy package
 
 
-case "$1" in
-upgrade)
-	;;
-remove|deconfigure)
-
-server="apache2"
-
-	if [ -s /etc/$server/conf.d/w3c-markup-validator.conf ]; then
-	rm /etc/$server/conf.d/w3c-markup-validator.conf 
-	fi
-
-	if [ -x "/etc/init.d/$server" ]; then
-		if [ -x /usr/sbin/invoke-rc.d ]; then
-			invoke-rc.d $server restart || true
-		else
-			/etc/init.d/$server restart || true
-		fi
-	fi
-	sleep 2
-
-;;
-failed-upgrade)
-;;
-*)
-echo "prerm called with unknown argument \`$1'" >&2
-exit 1
-;;
-esac
+if [ -e /usr/share/apache2/apache2-maintscript-helper ] ; then
+. /usr/share/apache2/apache2-maintscript-helper
+apache2_invoke disconf w3c-markup-validator || exit $?
+fi
 
 # dh_installdeb will replace this with shell code automatically
 # generated by other debhelper scripts.
diff -Nru w3c-markup-validator-1.3+dfsg/debian/rules w3c-markup-validator-1.3+dfsg/debian/rules
--- w3c-markup-validator-1.3+dfsg/debian/rules	2013-03-15 09:01:28.0 +0100
+++ w3c-markup-validator-1.3+dfsg/debian/rules	2013-08-05 13:16:38.0 +0200
@@ -23,6 +23,7 @@
 	dh_install share/templates/en_US/*   ${SHARED_DIR}/templates/en_US
 	dh_install -Xconfig -Xtest htdocs/*  ${HTML_DIR}
 	dh_install debian/logo.png   ${IMAGES_DIR}
+	dh_link ${CONFIG_DIR}/httpd.conf /etc/apache2/conf-available/w3c-markup-validator.conf
 
 override_dh_installdocs:
 	mkdir -p debian/tmp


Bug#718318: [Pkg-javascript-devel] Bug#718318: javascript-common does not install

2013-07-30 Thread Jean-Michel Vourgère
Apparently, your system is having a dangling symlink
/etc/apache2/conf-available/javascript-common.conf -> 
/etc/javascript-common/javascript-common.conf
that prevents the installation of package javascript-common.

javascript-common has been broken for a while in sid, since apache2.4 is out.
So maybe you created that link yourself by moving the content of conf.d/ into
conf-available/ ?

javascript-common does not create links and has never been creating links in
/etc/apache2/conf-available/
It did create links in /etc/apache2/conf.d/ up to version 8, however.

From which version were you upgrading?
You can probably find that information in logs such as var/log/aptitude,
/var/log/apt/history.log and /var/log/dpkg.


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



Bug#710688: jwchat: fails to install with apache 2.4

2013-07-22 Thread Jean-Michel Vourgère
Control: tags -1 + patch

Dear jwchat maintainers

Attached is a patch for your package.

Regards
diff -Nru jwchat-1.0+dfsg/debian/postinst jwchat-1.0+dfsg/debian/postinst
--- jwchat-1.0+dfsg/debian/postinst	2010-09-17 18:11:48.0 +
+++ jwchat-1.0+dfsg/debian/postinst	2013-07-22 17:34:28.0 +
@@ -7,7 +7,7 @@
 
 configfile='/etc/jwchat/config.js'
 configsource='/usr/share/jwchat/config.js'
-apachefile='/etc/apache2/sites-available/jwchat'
+apachefile='/etc/apache2/sites-available/jwchat.conf'
 apachesource='/usr/share/jwchat/apache.conf'
 wwwdir='/usr/share/jwchat/www'
 tempfile=$(mktemp)
@@ -38,10 +38,12 @@
 		$apachesource > $tempfile
 		ucf --three-way --debconf-ok $tempfile $apachefile
 		db_stop
-		a2enmod proxy
-		a2enmod proxy_http
-		a2ensite jwchat
-		invoke-rc.d apache2 force-reload
+		if [ -e /usr/share/apache2/apache2-maintscript-helper ] ; then
+			. /usr/share/apache2/apache2-maintscript-helper
+			apache2_invoke enmod proxy
+			apache2_invoke enmod proxy_http
+			apache2_invoke ensite jwchat
+		fi
 	fi
 }
 
@@ -49,9 +51,8 @@
 	configure|reconfigure)
 
 	fixperms
-	setup_apache
+	setup_apache $@
 	rm -f $tempfile
-	exit 0
 	;;
 
 	*)
diff -Nru jwchat-1.0+dfsg/debian/postrm jwchat-1.0+dfsg/debian/postrm
--- jwchat-1.0+dfsg/debian/postrm	2010-09-17 18:11:48.0 +
+++ jwchat-1.0+dfsg/debian/postrm	2013-07-22 17:44:45.0 +
@@ -6,14 +6,14 @@
 set -e
 
 configfile='/etc/jwchat/config.js'
-apachefile='/etc/apache2/sites-available/jwchat'
+apachefile='/etc/apache2/sites-available/jwchat.conf'
 
 case "$1" in
 	remove)
 
-	if [ -x /usr/sbin/a2dissite -a -x /etc/init.d/apache2 -a -L /etc/apache2/sites-enabled/jwchat ]; then
-		a2dissite jwchat
-		invoke-rc.d apache2 force-reload
+	if [ -e /usr/share/apache2/apache2-maintscript-helper ] ; then
+		. /usr/share/apache2/apache2-maintscript-helper
+		apache2_invoke dissite jwchat
 	fi
 	;;
 


Bug#707577: broadcom-sta-dkms: wl driver leads to general protection fault on 3.9.8

2013-07-12 Thread Jean-Michel Vourgère
Control: found -1 broadcom-sta-dkms/5.100.82.112-11


I also get a system freeze with broadcom-sta-dkms/5.100.82.112-11 and
linux-image-3.9-1-686-pae/3.9.8-1, just issuing a iwconfig command.


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



Bug#675543: This is not the same bug

2013-06-22 Thread Jean-Michel Vourgère
clone 675543 -1
retitle 675543 Unicode support
severity 675543 normal
severity -1 important
tags -1 +moreinfo +unreproducible
thanks

The ODBC unicode support is too intrusive a patch to be in wheezy.

I was unable to reproduce SEGV in Jet4.
ODBC is working for me, so I'm decreasing priority to important.


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



Bug#675543: mdbtools: segmentation fault in non-JET3 compressed data

2013-03-14 Thread Jean-Michel Vourgère
Hello!

On Wednesday 13 March 2013 11:46:30 you wrote:
> > What kind of ODBC operation were you doing?
> > What do you call "non-JET3 compressed data"? Jet4 databases are UCS2 
> > encoded while Jet3 use a local charset. How is compression involved there?
> > Do you have an exemple database?
> 
> I can unfortunately not reveal the actual database, because (...)

Can you at least confirm me a few things?

- We are talking about ODBC, not some other patch, right?

- The patch we are talking about is very intrusive, and I did not spent the 
proper time to check all the new bound checks, so I'd rather not deploy it if 
possible. We are talking about wrapping most of the calls with UCS-2 decoding. 
Did you do a simple SELECT statement?

- Can you check you have no problem with the same statement from mdb-sql 
command line utility? (remember to use "go" instead of ";")

- Can you explain what you mean by "compressed" data?


> Is it deliberate that we are having this conversation discretely?

Nope. I'm cc'ing the BTS.
I'm used to sign messages. It's unencrypted.


Thank you!


signature.asc
Description: This is a digitally signed message part.


Bug#675543: mdbtools: segmentation fault in non-JET3 compressed data

2013-03-12 Thread Jean-Michel Vourgère
Hu?

What kind of ODBC operation were you doing?

What do you call "non-JET3 compressed data"? Jet4 databases are UCS2 encoded 
while Jet3 use a local charset. How is compression involved there?

Do you have an exemple database?


signature.asc
Description: This is a digitally signed message part.


Bug#697465: apache2.2-common: initial install fails: Could not read /etc/apache2/envvars

2013-01-07 Thread Jean-Michel Vourgère
On Sunday 06 January 2013 11:29:55 Arno Töll wrote:
> (...)
> > Seems that error comes from a2ensite call, so I suspect the cause might
> > be some dependency of that script has not yet been configured.
> 
> a2ensite does not call a shell to read /etc/apache2/envvars. Your output
> makes me suspect this is rather coming from the init script which is
> invoked from postinst. What makes you think a2ensite is the problem?

Arno:
a2ensite reads /etc/apache2/envvars in function read_env_file on line 331:
env - sh -c '. /etc/apache2/envvars && env'

Jonas:
What does the command line above yield?
What is the result code ? ($?)
What shell do you use? dash? (ls -l /bin/sh)
Can you send us your envvars file?


signature.asc
Description: This is a digitally signed message part.


Bug#672524: Please retry bitcoin package

2012-12-10 Thread Jean-Michel Vourgère
Can you give back bitcoin to buildd i386, please?


- According to http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=672524
it now builds fine from sid pbuilder chroot

- That version has reached Ubuntu, where it compiled fine.


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



Bug#690924: CVE-2012-4527

2012-11-01 Thread Jean-Michel Vourgère
tags 690924 + patch
thanks

Attached is a patch based on excellent job by Attila Bogar.
I just increased buffer size so that a full file name could be printed.
Description: [CVE-2012-4527] Stack-based buffer overflow with long file names
 .
 A buffer overflow in mcrypt version 2.6.8 and earlier due to long filenames.
 If a user were tricked into attempting to encrypt/decrypt specially crafted
 long filename(s), this flaw would cause a stack-based buffer overflow that
 could potentially lead to arbitrary code execution.
 .
 Note that this is caught by FORTIFY_SOURCE, which makes this a crash-only
 bug on wheezy.
Author: Attila Bogar, Jean-Michel Vourgère 
Origin: https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2012-4527
Bug: CVE-2012-4527
Bug-Debian: http://bugs.debian.org/690924
Forwarded: no
Last-Update: 2012-11-01
Index: mcrypt-2.6.8/src/mcrypt.c
===
--- mcrypt-2.6.8.orig/src/mcrypt.c
+++ mcrypt-2.6.8/src/mcrypt.c
@@ -41,10 +41,13 @@
 # include 
 #endif
 
+/* Temporary error message can contain one file name and 1k of text */
+#define ERRWIDTH ((PATH_MAX)+1024)
+
 static char rcsid[] =
 "$Id: mcrypt.c,v 1.2 2007/11/07 17:10:21 nmav Exp $";
 
-char tmperr[128];
+char tmperr[ERRWIDTH];
 unsigned int stream_flag = FALSE;
 char *keymode = NULL;
 char *mode = NULL;
@@ -482,7 +485,7 @@
 #ifdef HAVE_STAT
   if (stream_flag == FALSE) {
 	 if (is_normal_file(file[i]) == FALSE) {
-	sprintf(tmperr,
+	snprintf(tmperr, ERRWIDTH,
 		_
 		("%s: %s is not a regular file. Skipping...\n"),
 		program_name, file[i]);
@@ -501,7 +504,7 @@
 	dinfile = file[i];
 	 if ((isatty(fileno((FILE *) (stdin))) == 1)
 	 && (stream_flag == TRUE) && (force == 0)) {	/* not a tty */
-	sprintf(tmperr,
+	snprintf(tmperr, ERRWIDTH,
 		_
 		("%s: Encrypted data will not be read from a terminal.\n"),
 		program_name);
@@ -520,7 +523,7 @@
 	einfile = file[i];
 	 if ((isatty(fileno((FILE *) (stdout))) == 1)
 	 && (stream_flag == TRUE) && (force == 0)) {	/* not a tty */
-	sprintf(tmperr,
+	snprintf(tmperr, ERRWIDTH,
 		_
 		("%s: Encrypted data will not be written to a terminal.\n"),
 		program_name);
@@ -544,7 +547,7 @@
 	strcpy(outfile, einfile);
 	/* if file has already the .nc ignore it */
 	if (strstr(outfile, ".nc") != NULL) {
-	   sprintf(tmperr,
+	   snprintf(tmperr, ERRWIDTH,
 		   _
 		   ("%s: file %s has the .nc suffix... skipping...\n"),
 		   program_name, outfile);
@@ -590,10 +593,10 @@
 
 	 if (x == 0) {
 	if (stream_flag == FALSE) {
-	   sprintf(tmperr, _("File %s was decrypted.\n"), dinfile);
+	   snprintf(tmperr, ERRWIDTH, _("File %s was decrypted.\n"), dinfile);
 	   err_warn(tmperr);
 	} else {
-	   sprintf(tmperr, _("Stdin was decrypted.\n"));
+	   snprintf(tmperr, ERRWIDTH, _("Stdin was decrypted.\n"));
 	   err_warn(tmperr);
 	}
 #ifdef HAVE_STAT
@@ -610,7 +613,7 @@
 
 	 } else {
 	if (stream_flag == FALSE) {
-	   sprintf(tmperr,
+	   snprintf(tmperr, ERRWIDTH,
 		   _
 		   ("File %s was NOT decrypted successfully.\n"),
 		   dinfile);
@@ -636,10 +639,10 @@
 
 	 if (x == 0) {
 	if (stream_flag == FALSE) {
-	   sprintf(tmperr, _("File %s was encrypted.\n"), einfile);
+	   snprintf(tmperr, ERRWIDTH, _("File %s was encrypted.\n"), einfile);
 	   err_warn(tmperr);
 	} else {
-	   sprintf(tmperr, _("Stdin was encrypted.\n"));
+	   snprintf(tmperr, ERRWIDTH, _("Stdin was encrypted.\n"));
 	   err_warn(tmperr);
 	}
 #ifdef HAVE_STAT
@@ -655,7 +658,7 @@
 
 	 } else {
 	if (stream_flag == FALSE) {
-	   sprintf(tmperr,
+	   snprintf(tmperr, ERRWIDTH,
 		   _
 		   ("File %s was NOT encrypted successfully.\n"),
 		   einfile);


signature.asc
Description: This is a digitally signed message part.


Bug#690924: CVE-2012-4527

2012-11-01 Thread Jean-Michel Vourgère
On Thursday 01 November 2012 14:04:55 Jean-Michel Vourgère wrote:
> snprintf does add a \0 at tmperr[WIDTH]

Doh! I mean tmperr[WIDTH-1] of course!


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



Bug#690924: CVE-2012-4527

2012-11-01 Thread Jean-Michel Vourgère
Second patch listed at redhat is ok.

But I would either replace
#define WIDTH 80
by
#define WIDTH (sizeof(tmperr))

or
#define WIDTH 80
char tmperr[128];
by
#define WIDTH 128
char tmperr[WIDTH];

snprintf does add a \0 at tmperr[WIDTH]

WIDTH is a poor choice as a macro name IMHO.


signature.asc
Description: This is a digitally signed message part.


Bug#690142: Non english ordering of bind9_9.8.1.dfsg.P1-4.2.diff.gz ?

2012-10-25 Thread Jean-Michel Vourgère
Ops, sorry. Forget it. Neither version is ordered.


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



Bug#690142: Non english ordering of bind9_9.8.1.dfsg.P1-4.2.diff.gz ?

2012-10-25 Thread Jean-Michel Vourgère
Hello Nico

I'm trying to apply a patch to bind9 (see bug #690142).

But the diff.gz file I get is very different from previous version,
because files are not treated in the same order:

$ zgrep ^--- bind9_9.8.1.dfsg.P1-4.2.diff | head -3
--- bind9-9.8.1.dfsg.P1.orig/config.sub
--- bind9-9.8.1.dfsg.P1.orig/config.h.in
--- bind9-9.8.1.dfsg.P1.orig/configure

$ zgrep ^--- bind9_9.8.1.dfsg.P1-4.3.diff | head -3
--- bind9-9.8.1.dfsg.P1.orig/config.h.in
--- bind9-9.8.1.dfsg.P1.orig/configure
--- bind9-9.8.1.dfsg.P1.orig/configure.in

Do you have an idea why your diff file hasn't files ordered like mine?
Did you use a strange locale? Which one?


signature.asc
Description: This is a digitally signed message part.


Bug#691306: Bug #691306: iptables add 4 rules instead just one in kernel INPUT chain

2012-10-24 Thread Jean-Michel Vourgère
Hi libc folks,

iptables --insert --source localhost ...
is currently creating duplicate entries.

I believe this is because of a problem in gethostbyname("localhost") that
returns duplicate answers.

Attached is a tiny test case.

./main
127.0.0.1
120.0.0.1

If I comment out "::1 localhost" in my /etc/hosts file, I only get one answer:

./main
127.0.0.1

Has anything like that bent repported/fixed recently?
#include 
#include 
#include 

int main() {
	
	struct hostent *host;
	struct in_addr **addr;

	host = gethostbyname("localhost");

	if (!host
	 || host->h_addrtype != AF_INET
	 || host->h_length != sizeof(struct in_addr))
		return -1;

	for(addr=host->h_addr_list; *addr; ++addr)
		puts(inet_ntoa(**addr));

	return 0;
}


signature.asc
Description: This is a digitally signed message part.


Bug#691306: iptables add 4 rules instead just one in kernel INPUT chain

2012-10-24 Thread Jean-Michel Vourgère
I traced that behavior to host_to_ipaddr function in libxtables/xtables.c

"--source " will match all the IP addresses of hostname.
Same thing for --destination

The problem is that gethostbyname("localhost") returns two results: 127.0.0.1 
and 127.0.0.1 (yes, the same thing).

So this might be a bug in libc

--source localhost --destination localhost wrongly yields 2x2 = 4 combination 
of addresses


signature.asc
Description: This is a digitally signed message part.


Bug#691306: iptables add 4 rules instead just one in kernel INPUT chain

2012-10-24 Thread Jean-Michel Vourgère
Hint:
If you comment out "::1 localhost" in /etc/hosts, the problem disappears.


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



Bug#659499: bash fails to properly read /proc files

2012-02-25 Thread Jean-Michel Vourgère
Thank you Cyril for the mini-test.

I can reproduce this bug with linux-image-3.2.0-1-686-pae

If I reboot on linux-image-3.1.0-1-686-pae lseeking in /proc works fine.


signature.asc
Description: This is a digitally signed message part.


Bug#639407: python2.X/3.X-dev ships windows binaries which are not built at build time

2012-02-19 Thread Jean-Michel Vourgère
Hello

You just have to run
find -name '*.exe' -delete
in the source tree.

Attached is a patch for automatic fix of original tarball.

I've upload that version on mentors too, for RC fix NMU:
http://mentors.debian.net/package/python2.7
diff -Naur python2.7-2.7.2/debian/changelog python2.7-2.7.2+dfsg/debian/changelog
--- python2.7-2.7.2/debian/changelog	2012-02-19 14:58:14.0 +0100
+++ python2.7-2.7.2+dfsg/debian/changelog	2012-02-19 15:21:26.0 +0100
@@ -1,3 +1,11 @@
+python2.7 (2.7.2+dfsg-0.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Remove windows binaries which are not built at build time (Closes:
+639407).
+
+ -- Jean-Michel Vourgère   Sun, 19 Feb 2012 15:00:50 +0100
+
 python2.7 (2.7.2-8) unstable; urgency=low
 
   * Update to 2030, taken from the 2.7 branch.
diff -Naur python2.7-2.7.2/debian/orig-tar.sh python2.7-2.7.2+dfsg/debian/orig-tar.sh
--- python2.7-2.7.2/debian/orig-tar.sh	1970-01-01 01:00:00.0 +0100
+++ python2.7-2.7.2+dfsg/debian/orig-tar.sh	2012-02-19 15:06:28.0 +0100
@@ -0,0 +1,20 @@
+#!/bin/sh -e
+#set -x
+
+# called by uscan with '--upstream-version'  
+
+TMPDIR="dfsg-tmptree"
+VERSION="$2" # example: 3.2.2
+OLDFILE="$3" # example: ../python3.2_3.2.2.orig.tar.gz
+NEWFILE=`echo "$3" | sed -e 's/\.orig/+dfsg.orig/'` # example ../python3.2_3.2.2+dfsg.orig.tar.gz
+
+test -d "$TMPDIR" && rm -rf "$TMPDIR"
+mkdir "$TMPDIR"
+cd "$TMPDIR"
+echo Temporarilly unpacking $OLDFILE in `pwd`
+tar xfz "../$OLDFILE"
+find -name '*.exe' -delete
+echo Packing $NEWFILE
+tar cfz "../$NEWFILE" .
+cd ..
+rm -rf "$TMPDIR"
diff -Naur python2.7-2.7.2/debian/rules python2.7-2.7.2+dfsg/debian/rules
--- python2.7-2.7.2/debian/rules	2012-02-19 14:58:14.0 +0100
+++ python2.7-2.7.2+dfsg/debian/rules	2012-02-19 15:04:34.0 +0100
@@ -1048,6 +1048,9 @@
 
 binary: binary-indep binary-arch
 
+get-orig-source:
+	uscan --verbose --force-download
+
 .PHONY: control-file configure build clean binary-indep binary-arch binary install
 
 # Local Variables:
diff -Naur python2.7-2.7.2/debian/watch python2.7-2.7.2+dfsg/debian/watch
--- python2.7-2.7.2/debian/watch	2012-02-19 14:58:14.0 +0100
+++ python2.7-2.7.2+dfsg/debian/watch	2012-02-19 15:05:19.0 +0100
@@ -1,3 +1,5 @@
 version=3
-opts=dversionmangle=s/.*\+//,uversionmangle=s/([abcr]+[1-9])$/~$1/ \
-  http://www.python.org/ftp/python/2\.7(\.\d)?/Python-(2\.7[.\dabcr]*)\.tgz
+opts=dversionmangle=s/\+.*//,uversionmangle=s/([abcr]+[1-9])$/~$1/ \
+  http://www.python.org/ftp/python/2\.7(\.\d)?/Python-(2\.7[.\dabcr]*)\.tgz \
+  debian \
+  debian/orig-tar.sh


signature.asc
Description: This is a digitally signed message part.


Bug#639408: python2.X/3.X-dev ships windows binaries which are not built at build time

2012-02-19 Thread Jean-Michel Vourgère
Hello

You just have to run
find -name '*.exe' -delete
in the source tree.

Attached is a patch for automatic fix of original tarball.

I've upload that version on mentors too, for RC fix NMU:
http://mentors.debian.net/package/python3.2
diff -Naur python3.2-3.2.2/debian/changelog python3.2-3.2.2+dfsg/debian/changelog
--- python3.2-3.2.2/debian/changelog	2012-02-19 12:30:52.0 +0100
+++ python3.2-3.2.2+dfsg/debian/changelog	2012-02-18 19:07:28.0 +0100
@@ -1,3 +1,10 @@
+python3.2 (3.2.2+dfsg-0.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Remove windows binaries which are not built at build time (Closes: 639408).
+
+ -- Jean-Michel Vourgère   Sat, 18 Feb 2012 19:07:18 +0100
+
 python3.2 (3.2.2-4) unstable; urgency=low
 
   * The static library belongs into the -dev package.
diff -Naur python3.2-3.2.2/debian/orig-tar.sh python3.2-3.2.2+dfsg/debian/orig-tar.sh
--- python3.2-3.2.2/debian/orig-tar.sh	1970-01-01 01:00:00.0 +0100
+++ python3.2-3.2.2+dfsg/debian/orig-tar.sh	2012-02-19 12:22:06.0 +0100
@@ -0,0 +1,20 @@
+#!/bin/sh -e
+#set -x
+
+# called by uscan with '--upstream-version'  
+
+TMPDIR="dfsg-tmptree"
+VERSION="$2" # example: 3.2.2
+OLDFILE="$3" # example: ../python3.2_3.2.2.orig.tar.gz
+NEWFILE=`echo "$3" | sed -e 's/\.orig/+dfsg.orig/'` # example ../python3.2_3.2.2+dfsg.orig.tar.gz
+
+test -d "$TMPDIR" && rm -rf "$TMPDIR"
+mkdir "$TMPDIR"
+cd "$TMPDIR"
+echo Temporarilly unpacking $OLDFILE in `pwd`
+tar xfz "../$OLDFILE"
+find -name '*.exe' -delete
+echo Packing $NEWFILE
+tar cfz "../$NEWFILE" .
+cd ..
+rm -rf "$TMPDIR"
diff -Naur python3.2-3.2.2/debian/rules python3.2-3.2.2+dfsg/debian/rules
--- python3.2-3.2.2/debian/rules	2012-02-19 12:30:52.0 +0100
+++ python3.2-3.2.2+dfsg/debian/rules	2012-02-19 12:05:53.0 +0100
@@ -1093,6 +1093,9 @@
 
 binary: binary-indep binary-arch
 
+get-orig-source:
+	uscan --verbose --force-download
+
 .PHONY: control-file configure build clean binary-indep binary-arch binary install
 
 # Local Variables:
diff -Naur python3.2-3.2.2/debian/watch python3.2-3.2.2+dfsg/debian/watch
--- python3.2-3.2.2/debian/watch	2012-02-19 12:30:52.0 +0100
+++ python3.2-3.2.2+dfsg/debian/watch	2012-02-19 12:01:15.0 +0100
@@ -1,3 +1,5 @@
 version=3
-opts=dversionmangle=s/.*\+//,uversionmangle=s/([abcr]+[1-9])$/~$1/ \
-  http://www.python.org/ftp/python/3\.2(\.\d)?/Python-(3\.2[.\dabcr]*)\.tgz
+opts=dversionmangle=s/\+.*//,uversionmangle=s/([abcr]+[1-9])$/~$1/ \
+  http://www.python.org/ftp/python/3\.2(\.\d)?/Python-(3\.2[.\dabcr]*)\.tgz \
+ debian \
+ debian/orig-tar.sh


signature.asc
Description: This is a digitally signed message part.