Bug#794058: ITP: python-bandit -- security linter from OpenStack Security

2015-07-30 Thread Dave Walker
On 30 Jul 2015 8:54 am, Thomas Goirand z...@debian.org wrote:

 Package: wnpp
 Severity: wishlist
 Owner: Thomas Goirand z...@debian.org

 * Package name: python-bandit
   Version : 0.12.0
   Upstream Author : OpenStack Foundation 
openstack-...@lists.openstack.org
 * URL : https://github.com/openstack/bandit
 * License : Apache-2.0
   Programming Lang: Python
   Description : security linter from OpenStack Security

  Bandit is a tool designed to find common security issues in Python code.
To do
  this Bandit processes each file, builds an AST from it, and runs
appropriate
  plugins against the AST nodes.  Once Bandit has finished scanning all
the files
  it generates a report.

 This is a new python-keystonemiddleware dependency.


Hi Thomas,

This is already packaged and in unstable under the source and binary name
'bandit'.

I think this ITP can be closed?

--
Kind Regards,
Dave Walker


Bug#794072: bandit: doesn't use /etc/bandit/bandit.yaml

2015-07-30 Thread Dave Walker
Hi Jakub,

Thanks for raising this bug.

The upstream documentation claims to use /etc/bandit/bandit.yaml, but
as you have discovered it is bogus.

This is being tracked as an upstream bug[0] and I am working on an
upstream fix[1].

Installing the config seemed like the appropriate thing to do as the
next upstream release will correctly use the /etc/bandit.yaml file,
which should be available in the coming weeks.

I think it makes sense to keep this bug open and resolve it with the
new upstream version.

Thanks!

[0] https://bugs.launchpad.net/bandit/+bug/1475510
[1] https://review.openstack.org/#/c/203451/

--
Kind Regards,
Dave Walker


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



Bug#794073: bandit: documentation

2015-07-30 Thread Dave Walker
Hi Jakub,

Upstream has deprecated the documentation content shipped as part of
the upstream release, in favour of doing Sphinx based per-plugin
documentation.

This will be available as part of the next upstream release.

Thanks!

--
Kind Regards,
Dave Walker


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



Bug#793007: ITP: bandit -- Security oriented static analyzer for python code

2015-07-20 Thread Dave Walker
Package: wnpp
Severity: wishlist
Owner: Dave Walker em...@daviey.com

* Package name: bandit
  Version : 0.12.0
  Upstream Author : OpenStack foundation openstack-...@lists.openstack.org
* URL : https://wiki.openstack.org/wiki/Security/Projects/Bandit
* License : Apache-2.0
  Programming Lang: Python
  Description : Security oriented static analyzer for python code

Bandit is a tool designed to find common security issues in Python code. To
do this Bandit processes each file, builds an Abstract Syntaxt Tree (AST),
and runs appropriate plugins against the AST nodes.  Once Bandit has
finished scanning all the files it generates a report.


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



Bug#706234: python-wsme: debian/rules clean doesn't remove local artifacts when rebuilding source package

2013-04-26 Thread Dave Walker (Daviey)
Package: python-wsme
Version: 0.5b1
Severity: normal

When attempting to rebuild a source package, local artifacts (from d21) are 
kept following a debian/rules clean.

Attached is a simple reproducer.

(Please also consider updating to 0.5b2)

Thanks


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



Bug#706234: Reproducer example

2013-04-26 Thread Dave Walker
Reproducer example
$ dpkg-source -x python-wsme_0.5b1-1.dsc 
dpkg-source: info: extracting python-wsme in python-wsme-0.5b1
dpkg-source: info: unpacking python-wsme_0.5b1.orig.tar.gz
dpkg-source: info: unpacking python-wsme_0.5b1-1.debian.tar.gz

$ debuild -S -sa
 dpkg-buildpackage -rfakeroot -d -us -uc -S -sa
dpkg-buildpackage: source package python-wsme
dpkg-buildpackage: source version 0.5b1-1
dpkg-buildpackage: source changed by Thomas Goirand z...@debian.org
 dpkg-source --before-build python-wsme-0.5b1
 fakeroot debian/rules clean
dh clean  --with python2
   dh_testdir
   dh_auto_clean

Installed /tmp/wsme/debian/bah/python-wsme-0.5b1/d2to1-0.2.10-py2.7.egg
running clean
'build/lib.linux-x86_64-2.7' does not exist -- can't clean it
'build/bdist.linux-x86_64' does not exist -- can't clean it
'build/scripts-2.7' does not exist -- can't clean it
   debian/rules override_dh_clean
make[1]: Entering directory `/tmp/wsme/debian/bah/python-wsme-0.5b1'
dh_clean
rm -rf d2to1-0.2.7-py2.*.egg build
make[1]: Leaving directory `/tmp/wsme/debian/bah/python-wsme-0.5b1'
 dpkg-source -b python-wsme-0.5b1
dpkg-source: info: using source format `3.0 (quilt)'
dpkg-source: info: building python-wsme using existing 
./python-wsme_0.5b1.orig.tar.gz
dpkg-source: warning: executable mode 0755 of 
'd2to1-0.2.10-py2.7.egg/d2to1/__init__.py' will not be represented in diff
dpkg-source: warning: executable mode 0755 of 
'd2to1-0.2.10-py2.7.egg/d2to1/util.py' will not be represented in diff
dpkg-source: warning: executable mode 0755 of 
'd2to1-0.2.10-py2.7.egg/d2to1/zestreleaser.py' will not be represented in diff
dpkg-source: warning: executable mode 0755 of 
'd2to1-0.2.10-py2.7.egg/d2to1/core.py' will not be represented in diff
dpkg-source: warning: newly created empty file 
'd2to1-0.2.10-py2.7.egg/d2to1/extern/__init__.py' will not be represented in 
diff
dpkg-source: warning: executable mode 0755 of 
'd2to1-0.2.10-py2.7.egg/d2to1/extern/six.py' will not be represented in diff
dpkg-source: warning: file 
python-wsme-0.5b1/d2to1-0.2.10-py2.7.egg/EGG-INFO/SOURCES.txt has no final 
newline (either original or modified version)
dpkg-source: warning: file 
python-wsme-0.5b1/d2to1-0.2.10-py2.7.egg/EGG-INFO/requires.txt has no final 
newline (either original or modified version)
dpkg-source: info: local changes detected, the modified files are:
 python-wsme-0.5b1/d2to1-0.2.10-py2.7.egg/EGG-INFO/PKG-INFO
 python-wsme-0.5b1/d2to1-0.2.10-py2.7.egg/EGG-INFO/SOURCES.txt
 python-wsme-0.5b1/d2to1-0.2.10-py2.7.egg/EGG-INFO/dependency_links.txt
 python-wsme-0.5b1/d2to1-0.2.10-py2.7.egg/EGG-INFO/entry_points.txt
 python-wsme-0.5b1/d2to1-0.2.10-py2.7.egg/EGG-INFO/not-zip-safe
 python-wsme-0.5b1/d2to1-0.2.10-py2.7.egg/EGG-INFO/requires.txt
 python-wsme-0.5b1/d2to1-0.2.10-py2.7.egg/EGG-INFO/top_level.txt
 python-wsme-0.5b1/d2to1-0.2.10-py2.7.egg/d2to1/__init__.py
 python-wsme-0.5b1/d2to1-0.2.10-py2.7.egg/d2to1/core.py
 python-wsme-0.5b1/d2to1-0.2.10-py2.7.egg/d2to1/extern/six.py
 python-wsme-0.5b1/d2to1-0.2.10-py2.7.egg/d2to1/util.py
 python-wsme-0.5b1/d2to1-0.2.10-py2.7.egg/d2to1/zestreleaser.py
dpkg-source: error: aborting due to unexpected upstream changes, see 
/tmp/python-wsme_0.5b1-1.diff.PcJDf5
dpkg-source: info: you can integrate the local changes with dpkg-source --commit
dpkg-buildpackage: error: dpkg-source -b python-wsme-0.5b1 gave error exit 
status 2
debuild: fatal error at line 1357:
dpkg-buildpackage -rfakeroot -d -us -uc -S -sa failed
$ 

Bug#690040: freeipmi: Build with PIE, bindnow, openfiles with O_EXCL and check return status

2012-10-09 Thread Dave Walker (Daviey)
Package: freeipmi
Version: 1.1.5-3
Severity: normal
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu quantal ubuntu-patch




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


  * debian/rules: Build with -pie,-bindnow
  * debian/patches/0002_excel_when_opening_tmp.patch: Open files with O_EXCL.
  * debian/patches/fix-Wunused-result.patch: Resolve -Wunused-result's 
warnings, by checking for non-0 return. 

I'm not sure fix-Wunused-result.patch adds any value to the latest experimental 
package.

Thanks for considering the patch.


-- System Information:
Debian Release: wheezy/sid
  APT prefers quantal-updates
  APT policy: (500, 'quantal-updates'), (500, 'quantal-security'), (500, 
'quantal')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.5.0-10-generic (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
diff -Nru freeipmi-1.1.5/debian/changelog freeipmi-1.1.5/debian/changelog
diff -Nru freeipmi-1.1.5/debian/patches/0002_excel_when_opening_tmp.patch freeipmi-1.1.5/debian/patches/0002_excel_when_opening_tmp.patch
--- freeipmi-1.1.5/debian/patches/0002_excel_when_opening_tmp.patch	1970-01-01 01:00:00.0 +0100
+++ freeipmi-1.1.5/debian/patches/0002_excel_when_opening_tmp.patch	2012-10-07 20:17:11.0 +0100
@@ -0,0 +1,26 @@
+Index: freeipmi-1.1.5/libipmiconsole/ipmiconsole_debug.c
+===
+--- freeipmi-1.1.5.orig/libipmiconsole/ipmiconsole_debug.c	2012-05-17 15:08:55.0 -0400
 freeipmi-1.1.5/libipmiconsole/ipmiconsole_debug.c	2012-10-02 10:32:04.755269452 -0400
+@@ -84,7 +84,7 @@
+ IPMICONSOLE_DEBUG_DIRECTORY,
+ IPMICONSOLE_DEBUG_FILENAME);
+ 
+-  if ((console_debug_fd = open (filename, O_CREAT | O_APPEND | O_WRONLY, 0600))  0)
++  if ((console_debug_fd = open (filename, O_CREAT | O_APPEND | O_WRONLY | O_EXCL, 0600))  0)
+ {
+   console_debug_flags = ~IPMICONSOLE_DEBUG_FILE;
+   IPMICONSOLE_DEBUG ((open: %s, strerror (errno)));
+Index: freeipmi-1.1.5/libipmiconsole/ipmiconsole_ctx.c
+===
+--- freeipmi-1.1.5.orig/libipmiconsole/ipmiconsole_ctx.c	2012-05-17 15:08:55.0 -0400
 freeipmi-1.1.5/libipmiconsole/ipmiconsole_ctx.c	2012-10-02 10:34:50.559273698 -0400
+@@ -351,7 +351,7 @@
+ c-config.hostname);
+ 
+   if ((c-debug.debug_fd = open (filename,
+- O_CREAT | O_APPEND | O_WRONLY,
++ O_CREAT | O_APPEND | O_WRONLY | O_EXCL,
+  0600))  0)
+ {
+   c-config.debug_flags = ~IPMICONSOLE_DEBUG_FILE;
diff -Nru freeipmi-1.1.5/debian/patches/fix-Wunused-result.patch freeipmi-1.1.5/debian/patches/fix-Wunused-result.patch
--- freeipmi-1.1.5/debian/patches/fix-Wunused-result.patch	1970-01-01 01:00:00.0 +0100
+++ freeipmi-1.1.5/debian/patches/fix-Wunused-result.patch	2012-10-09 12:27:26.0 +0100
@@ -0,0 +1,54 @@
+Description: Resolve -Wunused-result's warnings, by checking for non-0 return.
+ Patch not upstreamed, as trunk has refactored this case out.
+Author: Dave Walker (Daviey) davewal...@ubuntu.com
+Forwarded: not-needed
+
+--- a/bmc-watchdog/bmc-watchdog.c
 b/bmc-watchdog/bmc-watchdog.c
+@@ -1692,7 +1692,8 @@
+ {
+   /* parent terminates */
+   char buf;
+-  read(fds[0], buf, 1);
++  if (read(fds[0], buf, 1)  0)
++_err_exit (read: %s, strerror (errno));
+   close(fds[1]);
+   close(fds[0]);
+   exit (0);
+@@ -1718,7 +1719,8 @@
+ 
+   umask (0);
+ 
+-  write(fds[1], a, 1);
++  if (write(fds[1], a, 1)  0)
++_err_exit (write: %s, strerror (errno));
+   close(fds[1]);
+   close(fds[0]);
+   for (i = 0; i  64; i++)
+--- a/ipmidetectd/ipmidetectd.c
 b/ipmidetectd/ipmidetectd.c
+@@ -69,7 +69,8 @@
+ {
+   /* Terminate Parent */
+   char buf;
+-  read(fds[0], buf, 1);
++  if (read(fds[0], buf, 1)  0)
++IPMIDETECTD_EXIT ((read: %s, strerror (errno)));
+   close(fds[1]);
+   close(fds[0]);
+   exit (0);
+@@ -86,10 +87,12 @@
+   if (pid != 0) /* Terminate 1st Child */
+ exit (0);
+ 
+-  chdir (/);
++  if (chdir (/)  0)
++IPMIDETECTD_EXIT ((chdir: %s, strerror (errno)));
+ 
+   umask (0);
+-  write(fds[1], a, 1);
++  if (write(fds[1], a, 1)  0)
++IPMIDETECTD_EXIT ((write: %s, strerror (errno)));
+   close(fds[1]);
+   close(fds[0]);
+ 
diff -Nru freeipmi-1.1.5/debian/patches/series freeipmi-1.1.5/debian/patches/series
--- freeipmi-1.1.5/debian/patches/series	2012-06-15 02:41:57.0 +0100
+++ freeipmi-1.1.5/debian/patches/series	2012-10-07 22:17:30.0 +0100
@@ -1,3 +1,5 @@
 up_fixmanpages
 deb_bmc-watchdog_noRUN
 0001-Fix

Bug#654888: Abandoned?

2012-09-03 Thread Dave Walker
Is the original ITP abandoned?

Thanks.

Kind Regards,
Dave Walker


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



Bug#677274: debian-maintainers: Please add Dave Walker (Daviey) as a Debian Maintainer

2012-06-12 Thread Dave Walker (Daviey)
Package: debian-maintainers
Severity: normal

Content-Type: multipart/mixed; boundary1997268549208863630==
MIME-Version: 1.0
From: Dave Walker \(Daviey\) davewal...@ubuntu.com
To: Debian Bug Tracking System sub...@bugs.debian.org
Subject: debian-maintainers: Please add Dave Walker (Daviey) as a Debian 
Maintainer
Bcc: Dave Walker \(Daviey\) davewal...@ubuntu.com

This is a multi-part MIME message sent by reportbug.


--===1997268549208863630==
Content-Type: text/plain; charset=us-ascii
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Package: debian-maintainers
Severity: normal

Dear Maintainer,

Please add Dave Walker (Daviey) davewal...@ubuntu.com to the Debian 
Maintainers
keyring.  I have attached the jetstring changeset.

Thanks.

Kind Regards,
Dave Walker

--===1997268549208863630==
Content-Type: text/plain; charset=us-ascii
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename=add-54FC4141F758018B

Comment: Add Dave Walker (Daviey) davewal...@ubuntu.com as a Debian Maintainer
Date: Tue, 12 Jun 2012 20:53:23 +0100
Recommended-By: 
  Iain Lane la...@debian.org
Agreement:
  http://lists.debian.org/debian-newmaint/2012/05/msg00010.html
Advocates: 
  http://lists.debian.org/debian-newmaint/2012/05/msg00011.html
Action: import
Data: 
  -BEGIN PGP PUBLIC KEY BLOCK-
  Version: GnuPG v1.4.11 (GNU/Linux)
  
  mQSuBExz9eERDACx+8j+EvAFGJHTMqjChc4mdVPpftYvDtlb/+JxPms5o15HQ3yF
  2Lj1x/qPs22vsphBKnZcdmG1hDzLGPJm3/EsKw8U8Ow3CcQG61yo3yeTEhkxIcwt
  PBg28mkRbSk2krc0nf/+A9UVccBlmvibYHuSThcfjQP70VrPlnKZv5Au+Z+XXz+Q
  QuCTHJmX0qhlUEvSDdIvx1i2/mhtDX2MBwAlyElHdNpMuHfh0B88dA8QhrE9h7oU
  BpwFviLIb4s3Lio64LkZTYQF1NDiKLLgCGL9WuXYrUEGb+UNaAYUj9YJOU9eNDTz
  PBgbjionL7NPm+a1YICULJxyI0q9EPktsrdYwftbelSmH5FuBfMvQ47V73ZgrwaC
  BSPYFWZGTfB4wFdkzk7Iy3H7sVLdJWKWeNzipGWlZOvR1nxnfwGanSrdBzmtNPLg
  Oz5rzmrb4Ij3xDvpqUzu3uQu5NdUnT9kYFhP1KE4C0LUoD1+fzk39u610GoShDms
  ntcexCy4Akow8cMBALZVzDW57Xzo10RUgwjyrYNpcbalqTzriCLe5ypLced/C/4i
  qY76kBzJQNUbEgjFoxLcbJg544inp6DsOFm+Ey4ZXp939bGusxInJ85w4ThnJfB4
  rcO8DNPTSf3Km+SGEAZbablS+14DJyMfGPBb6Camza+FcNhT3zwbxZxEI3Jj1DRX
  zwZ0mcuCAAwyiLQH3uQSqNeW4aGSBxuMJPRqV9zJJtZLtoA//6d0uUqoD52y5Fmt
  koqiH10fmxzHQDyu9bEsQV0QiR0dGYGbZagLDdw3iVc4P1M4qC8RWRSBR9lfp1oT
  jtaAgHqOcCMkk7/ZgdE2jSMY1HML6AYYJtp71TnBDD0N+JgD/5c1Z118oPcR0eNt
  MG1+IfOs1o5sF04V/0quMaFoKXnpA2hHMyUD9zGQWBo6LR9toFJ8pnBzRu+Ei8fY
  t/G/jBYaLA3FKWy6iAsOTcrJMs58ryYfPca/tJF8x6jhTLiMgLmHsVdBbHxG3oaV
  nkAM6U5msi9V76lG7434Wlyq31l+if6hBuJIYezZLjiuK/9kHuRjDjHrjp22CO8L
  /39NjmAacDJOjOfNz15hLpUIrE2SY6guqhRwerRzNebzPqgRSdRkz2Lr+yQ0rNR8
  Oj9Cbj2KAE3EaBTe/wMZDt7Cl20fa/gE4oAauZRwZEcz+mAtIsOPdBj8p67U7TL7
  r84clqNKJnMIeqF4VzOd98/WVNuAcRIocQh+U7pLY8FZlTuA6NdI1qdSTI0leFtU
  z2qBbuexpS+POlFS261JJNIC9XMkc9BhRR2TWCRTSFKbAaPOHl7L6YdamlOCaRma
  vX/542Ug2UFP+3oxUGOk++KZK+6FjvXxU3QN/zrTl26xwTVPsVBZr5xi7QrHu5Ev
  y2jywsxjrSTlO8FteoLHtzBooq3lydRLe4vhM2lO49SXbdK53Widp1WDAYAkHPcX
  W1rsKJ+CcvgMb1CUSgAvuRU2IRyX6hFxxm9+suMK9ry0LoZC/+JtietBDUVrb+7X
  4kvmmXZddoAfEMh3pAYp0Yfqd6KPeLEUs77yquErM9tF5rOSYZnQT3bA5oh8TbPb
  MrQsRGF2ZSBXYWxrZXIgKERhdmlleSkgPERhdmVXYWxrZXJAdWJ1bnR1LmNvbT6I
  egQTEQgAIgUCTHP14QIbAwYLCQgHAwIGFQgCCQoLBBYCAwECHgECF4AACgkQVPxB
  QfdYAYs2xgEAr+ggmyunxNC633z4MjPXksMC9LElHsXr2Q9emk+L2mYA/3PwduMV
  dtGaxcKWjhjjRgCpUtBtpyEq1GdlKnP6eemXiEYEExEIAAYFAk1R4FgACgkQL5UV
  CKrmAi7h+QCgv05k/Hksn1fj8/sKOc93YyquQFsAoIJs7CpFyTDEP/2KcnzFZ1rI
  1535iF4EEBEIAAYFAk1SoW8ACgkQnUKBHfuLs3ZAGQD+Pp/iFUKFuVO4w7GHw6KX
  7Cpk89gxWsBtpljf8p1YV1UBALf3zsk3bkj7nrXlMulE7mOiWG1xHexsVZXUQNPc
  0xDgiQGgBBABAgAGBQJNTvC2AAoJECnuWLmWhlFxVjcMHRdbgQij6BxR76piP2sz
  bRvGvcXXMFE/OLewW1ah/XtpE8up6yBRqQwSPtBzDNDsyKl+MWiijjrt2kKw1+r8
  VD11EXAvEUAwzTe9ZP/Es2ipTuNQftiB+io1TY0fdqlXiWBPqqV81Y6i0hgIPthi
  rSZ4DaPBEHdM1VYaImmYNaFlE+5klOLaO9SSrc9vLloVdQLS/pA6D+QpM7MgTU6h
  TdlDd0hgqcJlRxKB9WAXqKOn8Li12wN8KioLdhPYHKArZveNc6CmwhjIg4afiA+Q
  XTvhvpDtQyYAQlwiGodJTuxkcpMqBud2B+iWIUoapIoCPCjF7vW+RjQjX/j6Oj50
  J7CVBO0Tj+KEDR8OYoE/y5u9+oBhyrkrzs5DO9MMon9G2gENxwhdDTr96tNmINZe
  lBUBbPbZdidE6yjh5uOMWfgshMsg20LzYHcKLTGjmNRqCn7C9eT5hxSryxiRlUmR
  4IkS2JJIGaYonfJiqEKn7Bvz65vsY3OZmYs1CwfPom2WRXJIdLCJAhwEEwEIAAYF
  Ak1VSRYACgkQrDCHmqtVsxLfSA//Q9GaDSUYnPpDO+GyekLdctZ+BXWDGNGZ5HUO
  g1xst2d2bMRsfl9dEMRhy8xnF0lhJejxtfht8UVW7RaJzxmN18DJ5vZloNTlKqAq
  5LRJmyaMIBJ7oYHxjvLBQbjWLF9q6c+PCpSsQVCNUzAQTbzbfXm93L2rTwg5++js
  JXOA5rmSxX7fshQndbTKnox8CXgXAavyaKO/PgPQA/vfTzXz8fGEFDE79aO4q3VG
  oU1qS+pS1v0tdl4vjKaeWaARJoR5mOU/940ByY5ajJv1tS4v/OHEUiF2EiiB5lXj
  Jv01+q2uY16bw9cg0tOuQn8Httdkr60zlbjasoTf2R9ek0sgZV7p9HnfvhWfFzau
  A8BhnEo5YxMxdExhAmIPeN55PANTGDOOcoqSd4MYtX3FchUMzmNjfOQp9SviYuMD
  f2tCa0kFzf0+GK58vYUHVJccbGEZlIov83RyfWeNY8wBQWgFIpdPMITZOs3Kx1eZ
  htuMYzSS+3tfyajE++gD4M8CPoG12hso+nje663nocA8wgzUD1QzEMT0YOJbiPJY
  ryZLLLFIeeIUQy92a0Oyvjvk/YtjQV/7BAsypqy8pblGBlaSrkQSyQiS5FxRRAcA
  co4KLOYDqRZkwYSi1QRDTgqBrk2vUNmjBfjQJUQW4MMBZMYCymghCS4b3q+4ZHf2
  Gw/trnOJAhwEEAEKAAYFAk3pM7QACgkQ+oNaFbSv8sJvLRAAjvZKgS0dHuJrflRJ
  GGt

Bug#673618: prettytable: Please consider converting to dh_python2

2012-05-20 Thread Dave Walker (Daviey)
Package: prettytable
Version: 0.6-1
Severity: normal
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu quantal ubuntu-patch

Hi,

python-support is mostly deprecated in favour of dh_python2.  Please consider 
converting to it, patch attached.

  * Convert to dh_python2:
- debian/control: Removed python-support from Build-Depends-Indep.
- debian/rules: Added --with python2 to complete transition. 


Thanks for considering the patch.


-- System Information:
Debian Release: wheezy/sid
  APT prefers precise-updates
  APT policy: (500, 'precise-updates'), (500, 'precise-security'), (500, 
'precise'), (100, 'precise-backports')
Architecture: i386 (x86_64)

Kernel: Linux 3.2.0-24-generic (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
diff -Nru prettytable-0.6/debian/control prettytable-0.6/debian/control
--- prettytable-0.6/debian/control	2012-05-01 10:56:23.0 +0100
+++ prettytable-0.6/debian/control	2012-05-20 10:39:39.0 +0100
@@ -4,7 +4,6 @@
 Maintainer: Debian Python Modules Team python-modules-t...@lists.alioth.debian.org
 Uploaders: Sandro Tosi mo...@debian.org
 Build-Depends: debhelper (= 7.0.50~), python-all (= 2.6.6-3~), python3-all (= 3.1.3-3), python-setuptools, python3-setuptools
-Build-Depends-Indep: python-support (= 1.0.0)
 Standards-Version: 3.9.3
 Homepage: http://code.google.com/p/prettytable/
 Vcs-Svn: svn://svn.debian.org/python-modules/packages/prettytable/trunk/
diff -Nru prettytable-0.6/debian/rules prettytable-0.6/debian/rules
--- prettytable-0.6/debian/rules	2012-05-06 09:58:36.0 +0100
+++ prettytable-0.6/debian/rules	2012-05-20 10:37:56.0 +0100
@@ -6,7 +6,7 @@
 PY3VERS := $(shell py3versions -s)
 
 %:
-	dh $@ --with python3
+	dh $@ --with python2,python3
 
 override_dh_auto_install:
 	set -e ; \


Bug#673713: python-xattr: python-support is build-dep, but not used.

2012-05-20 Thread Dave Walker (Daviey)
Package: python-xattr
Version: 0.6.4-1
Severity: normal

Hi,

It seems that this package has been converted to use dh_python2
(via dh  $@ --with python2 in debian/rules), but still build 
depends on python-support.

As python-support isn't actually used (AFAICS), and it's been
declared deprecated, would you consider removing it?

Note, the package builds with it redacted.

Thanks!

Kind Regards,
Dave Walker 



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



Bug#673244: python-greenlet: Please consider converting to dh_python2

2012-05-17 Thread Dave Walker (Daviey)
Package: python-greenlet
Version: 0.3.3-1
Severity: normal
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu quantal ubuntu-patch


Hi,

python-support is largely deprecated now, with the switch over to dh_python2.  
Please could you consider converting.  I have attached a patch, along with some 
other Lintian fixes for your review.

Thanks.

P: python-greenlet source: package-lacks-versioned-build-depends-on-debhelper 7
W: python-greenlet source: debhelper-overrides-need-versioned-build-depends (= 
7.0.50~)
E: python-greenlet source: 
depends-on-build-essential-package-without-using-version gcc [build-depends: 
gcc]
P: python-greenlet source: unneeded-build-dep-on-quilt

  * debian/{control,rules}:
- Convert to dh_python2
- Drop quilt, it's implied with source format quilt (3.0).
  * debian/rules: Special handling of strip is no longer required.
  * debian/control:
- Drop gcc build depends, it's an essential package.
- Depend on versioned debhelper (= 7.0.50~), required for rules overrides.
- Bumped Standards to 3.9.3 (no changes required).
  * wrap-and-sorted.


Thanks for considering the patch.


-- System Information:
Debian Release: wheezy/sid
  APT prefers precise-updates
  APT policy: (500, 'precise-updates'), (500, 'precise-security'), (500, 
'precise'), (100, 'precise-backports')
Architecture: i386 (x86_64)

Kernel: Linux 3.2.0-24-generic (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
diff -Nru python-greenlet-0.3.3/debian/changelog python-greenlet-0.3.3/debian/changelog
diff -Nru python-greenlet-0.3.3/debian/control python-greenlet-0.3.3/debian/control
--- python-greenlet-0.3.3/debian/control	2012-02-11 20:23:44.0 +
+++ python-greenlet-0.3.3/debian/control	2012-05-17 09:46:42.0 +0100
@@ -1,10 +1,14 @@
 Source: python-greenlet
 Priority: extra
-Maintainer: Örjan Persson ora...@fobie.net
+Maintainer: Ubuntu Developers ubuntu-devel-disc...@lists.ubuntu.com
+XSBC-Original-Maintainer: Örjan Persson ora...@fobie.net
 Uploaders: Andreas Schuldei andr...@debian.org
-Build-Depends: debhelper, gcc, python-all-dev, python-all-dbg,
- python-setuptools, python-support, python-sphinx, quilt
-Standards-Version: 3.9.2
+Build-Depends: debhelper (= 7.0.50~),
+   python-all-dbg,
+   python-all-dev,
+   python-setuptools,
+   python-sphinx
+Standards-Version: 3.9.3
 Section: python
 Homepage: http://pypi.python.org/pypi/greenlet
 Vcs-Browser: http://git.42mm.org/?p=python-greenlet
@@ -13,7 +17,9 @@
 Package: python-greenlet-dbg
 Section: debug
 Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}, python-greenlet (= ${binary:Version})
+Depends: python-greenlet (= ${binary:Version}),
+ ${misc:Depends},
+ ${shlibs:Depends}
 Recommends: python-dbg
 Description: Lightweight in-process concurrent programming - debugging symbols
  The greenlet package is a spin-off of Stackless, a version of CPython that
@@ -30,7 +36,7 @@
 Package: python-greenlet-doc
 Section: doc
 Architecture: all
-Depends: ${shlibs:Depends}, ${misc:Depends}, libjs-jquery, libjs-underscore
+Depends: libjs-jquery, libjs-underscore, ${misc:Depends}, ${shlibs:Depends}
 Suggests: python-greenlet, python-greenlet-dev
 Description: Lightweight in-process concurrent programming - documentation
  The greenlet package is a spin-off of Stackless, a version of CPython that
@@ -46,7 +52,9 @@
 
 Package: python-greenlet-dev
 Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}, python-greenlet (= ${binary:Version})
+Depends: python-greenlet (= ${binary:Version}),
+ ${misc:Depends},
+ ${shlibs:Depends}
 Description: Lightweight in-process concurrent programming - development files
  The greenlet package is a spin-off of Stackless, a version of CPython that
  supports micro-threads called tasklets. Tasklets run pseudo-concurrently
@@ -61,9 +69,9 @@
 
 Package: python-greenlet
 Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}
+Depends: ${misc:Depends}, ${python:Depends}, ${shlibs:Depends}
 Conflicts: python-codespeak-lib ( 1.0)
-Suggests: python-greenlet-doc, python-greenlet-dev, python-greenlet-dbg
+Suggests: python-greenlet-dbg, python-greenlet-dev, python-greenlet-doc
 Description: Lightweight in-process concurrent programming
  The greenlet package is a spin-off of Stackless, a version of CPython that
  supports micro-threads called tasklets. Tasklets run pseudo-concurrently
diff -Nru python-greenlet-0.3.3/debian/python-greenlet.install python-greenlet-0.3.3/debian/python-greenlet.install
--- python-greenlet-0.3.3/debian/python-greenlet.install	2012-02-11 20:11:04.0 +
+++ python-greenlet-0.3.3/debian/python-greenlet.install	2012-05-17 09:46:42.0 +0100
@@ -1,2 +1,2 @@
-usr/lib/python*/*-packages/*[!_][!_].so
 usr/lib/python*/*-packages/*.egg-info

Bug#656193: RM: pxe-kexec [mips mipsel sparc armhf s390x] -- RoM; NBS

2012-01-17 Thread Dave Walker (Daviey)
Package: ftp.debian.org
Severity: normal

These arches are not currently built by the source package, but were under a 
previous upload.  Therefore, these arches are for the prior upload and are now 
NBS.

Thanks.

Kind Regards,
Dave Walker



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



Bug#649338: ITP: pxe-kexec -- Retrieves PXE configuration file and kexec entries

2011-11-20 Thread Dave Walker
On Sun, Nov 20, 2011 at 09:07:51AM +0100, Frank Lin PIAT wrote:
 Hello,
 
 Some comment regarding the package description...
 
 On Sun, 2011-11-20 at 02:32 +, Dave Walker (Daviey) wrote:
  Package: wnpp
  
  * Package name: pxe-kexec
Description : Retrieves PXE configuration file and kexec entries
 
  Tool that fetches PXE configuration from a TFTP (or FTP) server,
 
 Since the tools is curl based, I suppose that it supports HTTP too. This
 could be an interesting feature for ipxe/gpxe users, so it's worth
 mentioning it if it is supported.

The documentation states that it can download the pxelinux style
configuration file from both tftp and ftp, if the server exposes the
same layout via ftp.  I don't believe this aspect can be achieved via
http.  *However* looking at the source code, it seems that it will
respect the linux kernel  initrd location, if the label points to ftp 
or http..  I just tried using it to retrieve an initrd via http, and
it worked as you suggested.

 
  reads that PXE configuration file, prompts the user for an boot
 Consider using the word reboot instead of boot, so aptitude search
 work with both boot and reboot match. (and it seems more accurate,
 IMO)

Sounds sensible.  Although, you can do a force boot, which doesn't
perform a reboot.. However, I think it's close enough to adopt this.

  entry (label), downloads the specified kernel and initrd and 
  finally tries to boot the kernel using kexec using supplied 
  command line retrieved via PXE.
 
 I doubt this tools supports the actual PXE protocol (UDP/4011, served by
 the package pxe).

Yes, you are quite correct.

 Altogether, the description could look like this (drop the text in
 brackets if it is inaccurate).
 
 Description : Fetch PXE configuration file and netboot using kexec
 Tool that fetches PXE configuration file (SysLinux' PXELinux format),
 prompts the user for a boot entry (label), [let the user interactively
 edit the kernel parameters], downloads the selected kernel and initrd
 over the network using TFTP, FTP [or HTTP] and finally boot the kernel
 using kexec.
 
 (I have inserted imported keyword like: syslinux, network, netboot,
 reboot...)
 
 This description can be further improved (especially by i18n people)!
 
 Regards,
 
 Franklin
 

Sounds great Franklin, will adopt this!  Thanks.


@Daniel, Unless I am mistaken - that serves a different purpose.  This
allows you to use the PXE boot workflow, but from an already running
machine... As in, you cannot chain load into this.  gpxelinux is for
chainloading, no?

Thanks!

Kind Regards,
Dave Walker


signature.asc
Description: Digital signature


Bug#649338: ITP: pxe-kexec -- Retrieves PXE configuration file and kexec entries

2011-11-19 Thread Dave Walker (Daviey)
Package: wnpp
Severity: wishlist
Owner: Dave Walker (Daviey) davewal...@ubuntu.com

* Package name: pxe-kexec
  Version : 0.2.4
  Upstream Author : Bernhard Walle bernh...@bwalle.de
* URL : http://pxe-kexec.berlios.de/
* License : GPL-2.0+
  Programming Lang: C++
  Description : Retrieves PXE configuration file and kexec entries

Tool that fetches PXE configuration from a TFTP (or FTP) server, reads that PXE 
configuration file, prompts the user for an boot entry (label), downloads the 
specified kernel and initrd and finally tries to boot the kernel using kexec 
using supplied command line retrieved via PXE.



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



Bug#626238: offer a grub-ipxe.deb package

2011-10-17 Thread Dave Walker (Daviey)
Package: ipxe
Version: 1.0.0+git-2.149b50-1
Followup-For: Bug #626238
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu precise ubuntu-patch


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


  * Provide a new binary package, grub-ipxe - for ipxe usage via grub.
- LP: #814038, Closes #626238


Thanks for considering the patch.


-- System Information:
Debian Release: wheezy/sid
  APT prefers oneiric-updates
  APT policy: (500, 'oneiric-updates'), (500, 'oneiric-security'), (500, 
'oneiric')
Architecture: amd64 (x86_64)

Kernel: Linux 3.0.0-12-generic (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
=== modified file 'debian/control'
--- debian/control  2011-08-18 13:34:38 +
+++ debian/control  2011-10-17 09:02:25 +
@@ -25,3 +25,16 @@
  This package provides boot code for all supported network cards in one
  binary, in several bootable formats, and also many boot ROMs to be
  embedded in various network cards.
+
+Package: grub-ipxe
+Architecture: all
+Suggests: grub-pc (= 1.96)
+Depends:  ${misc:Depends}, ipxe
+Description: Network booting from GRUB using iPXE
+ iPXE is network boot firmware.  It supports a variety of network cards,
+ including some wireless cards, and variety of network protocols (traditional
+ DHCP, BOOTP and TFTP and also HTTP, iSCSI, SAN via FCoE and Infiniband). It
+ supports scripting.
+ .
+ This package adds a menu entry to grub2 for network booting using iPXE. 
+

=== added file 'debian/grub-ipxe.install'
--- debian/grub-ipxe.install1970-01-01 00:00:00 +
+++ debian/grub-ipxe.install2011-10-17 09:02:25 +
@@ -0,0 +1,2 @@
+debian/grub.d/25_ipxe etc/grub.d
+src/bin/ipxe.lkrn /boot

=== added file 'debian/grub-ipxe.postinst'
--- debian/grub-ipxe.postinst   1970-01-01 00:00:00 +
+++ debian/grub-ipxe.postinst   2011-10-17 09:02:25 +
@@ -0,0 +1,10 @@
+#!/bin/sh
+# Calls update-grub for the new ipxe entry to show up in the grub menu.
+set -e
+
+if [ -e /boot/grub/grub.cfg ]  which update-grub /dev/null 21
+then
+update-grub || true
+fi
+
+#DEBHELPER#

=== added file 'debian/grub-ipxe.postrm'
--- debian/grub-ipxe.postrm 1970-01-01 00:00:00 +
+++ debian/grub-ipxe.postrm 2011-10-17 09:02:25 +
@@ -0,0 +1,14 @@
+#!/bin/sh
+# Calls update-grub for the new ipxe entry to show up in the grub menu.
+set -e
+
+if [ ${1} = remove ]
+then
+
+   if [ -e /boot/grub/grub.cfg ]  which update-grub /dev/null 21
+   then
+   update-grub || true
+   fi
+fi
+
+#DEBHELPER#

=== added directory 'debian/grub.d'
=== added file 'debian/grub.d/25_ipxe'
--- debian/grub.d/25_ipxe   1970-01-01 00:00:00 +
+++ debian/grub.d/25_ipxe   2011-10-17 09:02:25 +
@@ -0,0 +1,42 @@
+#!/bin/sh
+set -e
+
+if [ -f /usr/lib/grub/grub-mkconfig_lib ]; then
+  . /usr/lib/grub/grub-mkconfig_lib
+  LX=linux16
+elif [ -f /usr/lib/grub/update-grub_lib ]; then
+  . /usr/lib/grub/update-grub_lib
+  LX=linux
+else
+  # no grub file, so we notify and exit gracefully
+  echo Cannot find grub config file, exiting. 2
+  exit 0
+fi
+
+# We can't cope with loop-mounted devices here.
+case ${GRUB_DEVICE_BOOT} in
+  /dev/loop/*|/dev/loop[0-9]) exit 0 ;;
+esac
+
+# iPXE is only supported on x86
+case $(dpkg --print-architecture) in
+   *i386|*amd64) ;;
+   *) exit 0 ;;
+esac
+
+prepare_boot_cache=$(prepare_grub_to_access_device ${GRUB_DEVICE_BOOT} | sed 
-e s/^/\t/)
+
+IPXE=/boot/ipxe.lkrn
+
+if test -e $IPXE ; then
+  IPXEPATH=$( make_system_path_relative_to_its_root $IPXE )
+  echo Found iPXE image : $IPXEPATH 2
+  cat  EOF
+menuentry Network boot (iPXE) {
+EOF
+  printf '%s\n' ${prepare_boot_cache}
+  cat  EOF
+   $LX $IPXEPATH
+}
+EOF
+fi

=== modified file 'debian/rules'
--- debian/rules2011-04-11 19:35:36 +
+++ debian/rules2011-10-17 09:02:25 +
@@ -8,7 +8,7 @@
dh $@ 
 
 override_dh_auto_build:
-   make -C src V=1 NO_WERROR=1 all allbaseroms bin/ipxe.pxe
+   make -C src V=1 NO_WERROR=1 all allbaseroms bin/ipxe.pxe bin/ipxe.lkrn
 
 override_dh_auto_clean:
make -C src veryclean



Bug#641900: efingerd: FTBFS when --as-needed is used

2011-09-17 Thread Dave Walker (Daviey)
Package: efingerd
Version: 1.6.2.7
Severity: normal
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu oneiric ubuntu-patch



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


  * Makefile.debian: Use LIBS instead of LDFLAGS for libraries, and added LIBS
to the compiler.  Fixes FTBFS with --as-needed. (LP: #770943)


Thanks for considering the patch.

For more information about this issue, please see:
http://wiki.debian.org/ToolChain/DSOLinking


-- System Information:
Debian Release: wheezy/sid
  APT prefers oneiric-updates
  APT policy: (500, 'oneiric-updates'), (500, 'oneiric-security'), (500, 
'oneiric')
Architecture: amd64 (x86_64)

Kernel: Linux 3.0.0-11-generic (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
=== modified file 'Makefile.debian'
--- Makefile.debian	2001-08-13 11:38:20 +
+++ Makefile.debian	2011-09-17 09:26:09 +
@@ -5,12 +5,12 @@
 CC = gcc 
 CFLAGS = -O2 -Wall  
 
-LDFLAGS = -lident
+LIBS = -lident
 
 all: efingerd
 
 efingerd: efingerd.o child.o
-	$(CC) $(CFLAGS) $(LDFLAGS) efingerd.o child.o -o efingerd
+	$(CC) $(CFLAGS) $(LDFLAGS) efingerd.o child.o -o efingerd $(LIBS)
 
 efingerd.o: efingerd.c
 	$(CC) $(CFLAGS) -c efingerd.c




Bug#640719: nec2c: FTBFS with ld --as-needed

2011-09-06 Thread Dave Walker (Daviey)
Package: nec2c
Version: 0.8-2
Severity: normal
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu oneiric ubuntu-patch



  * Makefile: Move -lm to end of gcc command, resolving FTBFS.
Patch courtesy of John T. Nogatch. (LP: #770919)


Thanks for considering the patch.
diff -u nec2c-0.8/Makefile nec2c-0.8/Makefile
--- nec2c-0.8/Makefile
+++ nec2c-0.8/Makefile
@@ -9,7 +9,7 @@
 	  main.o matrix.o misc.o network.o radiation.o somnec.o
 
 $(PROJECT) : $(objects)
-	$(CC) -lm -o $(PROJECT) $(objects)
+	$(CC) -o $(PROJECT) $(objects) -lm
 
 $(objects) : nec2c.h
 


Bug#640726: pinball: 'NULL' was not declared in this scope (FTBFS)

2011-09-06 Thread Dave Walker (Daviey)
Package: pinball
Version: 0.3.1-13
Severity: normal
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu oneiric ubuntu-patch



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


  * debian/patches/06_include_stddef.patch: Added include for stddef.h,
allowing NULL to be valid, resolving FTBFS. (LP: #771004)


Thanks for considering the patch.


-- System Information:
Debian Release: wheezy/sid
  APT prefers oneiric-updates
  APT policy: (500, 'oneiric-updates'), (500, 'oneiric-security'), (500, 
'oneiric')
Architecture: amd64 (x86_64)

Kernel: Linux 3.0.0-10-generic (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
diff -Nru pinball-0.3.1/debian/patches/06_include_stddef.patch pinball-0.3.1/debian/patches/06_include_stddef.patch
--- pinball-0.3.1/debian/patches/06_include_stddef.patch	1970-01-01 01:00:00.0 +0100
+++ pinball-0.3.1/debian/patches/06_include_stddef.patch	2011-09-06 21:33:37.0 +0100
@@ -0,0 +1,14 @@
+Description: Adding include for stddef.h, allowing NULL to be valid, resolving FTBFS.
+Author: Dave Walker (Daviey) davewal...@ubuntu.com 
+Bug: https://launchpad.net/bugs/771004
+
+--- a/base/Behavior.h
 b/base/Behavior.h
+@@ -11,6 +11,7 @@
+ #define BEHAVIOR_H
+ 
+ #include EMath.h
++#include stddef.h
+ 
+ class Group;
+ class Light;
diff -Nru pinball-0.3.1/debian/patches/series pinball-0.3.1/debian/patches/series
--- pinball-0.3.1/debian/patches/series	2010-01-06 18:28:41.0 +
+++ pinball-0.3.1/debian/patches/series	2011-09-06 21:29:40.0 +0100
@@ -3,3 +3,4 @@
 03_desktop.patch
 04_fix_const.patch
 05_system_ltdl.patch
+06_include_stddef.patch


Bug#640743: monkey: FTBFS with ld --as-needed

2011-09-06 Thread Dave Walker (Daviey)
Package: monkey
Version: 0.9.3-1
Severity: normal
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu oneiric ubuntu-patch

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

http://wiki.debian.org/ToolChain/DSOLinking

  * configure: Fixed LDLIBS ordering, resolving --as-needed FTBFS.
- LP: #770908


Thanks for considering the patch.


-- System Information:
Debian Release: wheezy/sid
  APT prefers oneiric-updates
  APT policy: (500, 'oneiric-updates'), (500, 'oneiric-security'), (500, 
'oneiric')
Architecture: amd64 (x86_64)

Kernel: Linux 3.0.0-10-generic (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
--- monkey-0.9.3.orig/configure
+++ monkey-0.9.3/configure
@@ -350,7 +350,7 @@
$make_script

 ../bin/monkey: \$(OBJ)
-   \$(CC) \$(CFLAGS) \$(LIBS) \$(LDFLAGS) -o \$@ \$(OBJ) $mod_obj
+   \$(CC) \$(OBJ) \$(CFLAGS) \$(LIBS) -o \$@ \$(LDFLAGS) $mod_obj
$STRIP ../bin/monkey

 clean:


Bug#638641: kombu: Please consider updating to new upstream version 1.2.1.

2011-08-20 Thread Dave Walker (Daviey)
Package: kombu
Version: 1.0.4-2
Severity: wishlist

http://pypi.python.org/pypi/kombu shows that 1.2.1 is now released, please can 
we consider updating.

Thanks!



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



Bug#635562: Please consider updating to current release of pep8 0.6.1.

2011-07-26 Thread Dave Walker (Daviey)
Package: pep8
Version: 0.5.0-1ubuntu1
Severity: wishlist
Tags: sid

Please consider updating to current release of pep8 0.6.1. Thanks!

-- System Information:
Debian Release: wheezy/sid
  APT prefers oneiric-updates
  APT policy: (500, 'oneiric-updates'), (500, 'oneiric-security'), (500, 
'oneiric')
Architecture: amd64 (x86_64)

Kernel: Linux 3.0.0-6-generic (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

Versions of packages pep8 depends on:
ii  python2.7.2-1ubuntu2 interactive high-level object-orie
ii  python-pkg-resources  0.6.16-1   Package Discovery and Resource Acc
ii  python-setuptools 0.6.16-1   Python Distutils Enhancements (set
ii  python2.6 2.6.7-2ubuntu1 An interactive high-level object-o
ii  python2.7 2.7.2-3An interactive high-level object-o

pep8 recommends no packages.

pep8 suggests no packages.

-- no debconf information



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



Bug#635307: ITP: alice -- App::Alice - IRC client that is viewed in the web browser.

2011-07-24 Thread Dave Walker (Daviey)
Package: wnpp
Severity: wishlist
Owner: Dave Walker (Daviey) davewal...@ubuntu.com

* Package name: alice
  Version : 0.19
  Upstream Author : Lee Aylward le...@cpan.org
* URL : https://github.com/leedo/alice
* License : Artistic or GPL-1+
  Programming Lang: Perl  HTML/CSS
  Description : App::Alice - an Altogether Lovely Internet Chatting 
Experience.  Alice is an IRC client that is viewed in the web browser.

 IRC client that is viewed in the web browser. Alice runs
 in the background maintaining connections and collecting
 messages. When a browser connects, it will display the 100
 most recent messages for each channel, and update with any
 new messages as they arrive.
 .
 Alice also logs messages to an SQLite database. These logs
 are searchable through the web interface.
 .
 For desktop notifications install libdesktop-notify-perl.



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



Bug#635309: ITP: libirc-formatting-html-perl -- Perl module to convert between HTML and IRC formatting.

2011-07-24 Thread Dave Walker (Daviey)
Package: wnpp
Severity: wishlist
Owner: Dave Walker (Daviey) davewal...@ubuntu.com

* Package name: libirc-formatting-html-perl
  Version : 0.29
  Upstream Author : Lee Aylward l...@laylward.com
* URL : http://search.cpan.org/dist/IRC-Formatting-HTML/
* License : Artistic or GPL-1+
  Programming Lang: Perl
  Description : Perl module to convert between HTML and IRC formatting.

 Provides two functions:
 - irc_to_html which takes an irc formatted string
 and returns the HTML version. Also takes an option
 to treat inverted text as italic.
 - html_to_irc which takes an HTML string and returns
 an irc formatted string.



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



Bug#635310: ITP: libplack-middleware-session-perl -- Plack middleware component for session management.

2011-07-24 Thread Dave Walker (Daviey)
Package: wnpp
Severity: wishlist
Owner: Dave Walker (Daviey) davewal...@ubuntu.com

* Package name: libplack-middleware-session-perl
  Version : 0.14
  Upstream Author : Tatsuhiko Miyagawa miyag...@bulknews.net, Stevan Little 
stevan.lit...@iinteractive.com
* URL : http://search.cpan.org/dist/Plack-Middleware-Session/
* License : Artistic or GPL-1+
  Programming Lang: Perl
  Description : Plack middleware component for session management.

 Perl module of Plack Middleware component for session
 management. By default it will use cookies to keep
 session state and store data in memory. This
 distribution also comes with other state and store
 solutions. It should be noted that it stores the
 current session as a hash reference in the
 psgix.session key inside the $env where you can
 access it as needed.



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



Bug#634178: redshift: Please update package to 1.7

2011-07-17 Thread Dave Walker (Daviey)
Package: redshift
Version: 1.6-1
Severity: wishlist

Hi,

Upstream version 1.7 was released 2011-07-04, please could the Debian package 
be updated to this.

This release fixes:
 - https://launchpad.net/bugs/706353

It also adds geoclue support.

Many Thanks!

Kind Regards,
Dave Walker 



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



Bug#634056: simh: FTBFS when built with --as-needed.

2011-07-16 Thread Dave Walker (Daviey)
Package: simh
Version: 3.8.1-3
Severity: normal
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu oneiric ubuntu-patch



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

  * makefile: Add ${LIBS} resolving FTBFS when --as-needed is used. 
- (LP: #811501)  


Thanks for considering the patch.


-- System Information:
Debian Release: wheezy/sid
  APT prefers oneiric-updates
  APT policy: (500, 'oneiric-updates'), (500, 'oneiric-security'), (500, 
'oneiric')
Architecture: amd64 (x86_64)

Kernel: Linux 3.0.0-5-generic (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
diff -u simh-3.8.1/makefile simh-3.8.1/makefile
--- simh-3.8.1/makefile
+++ simh-3.8.1/makefile
@@ -1,12 +1,14 @@
 # Simh makefile for Debian Package
 #
-OS_CCDEFS = -D_GNU_SOURCE
-CC = gcc -std=c99 -O2 -U__STRICT_ANSI__ -g -lm -lrt $(OS_CCDEFS) -I .
+OS_CCDEFS = -lrt -D_GNU_SOURCE
+CC = gcc -std=c99 -O2 -U__STRICT_ANSI__ -g $(OS_CCDEFS) -I .
+LIBS=-lm -lrt
 
 ifeq ($(USE_NETWORK),)
 else
 # NETWORK_OPT = -DUSE_NETWORK -isystem /usr/include /usr/lib/libpcap.a
-NETWORK_OPT = -DUSE_NETWORK -isystem /usr/include -lpcap
+NETWORK_OPT = -DUSE_NETWORK
+LIBS+=-lpcap
 endif
 
 #
@@ -260,76 +262,76 @@
 
 
 eclipseemu : ${ECLIPSEEMU} ${SIM}
-	${CC} ${ECLIPSEEMU} ${SIM} ${ECLIPSEEMU_OPT} -o $@ ${LDFLAGS}
+	${CC} ${ECLIPSEEMU} ${SIM} ${ECLIPSEEMU_OPT} -o $@ ${LDFLAGS} ${LIBS}
 
 pdp1 : ${PDP1} ${SIM}
-	${CC} ${PDP1} ${SIM} ${PDP1_OPT} -o $@ ${LDFLAGS}
+	${CC} ${PDP1} ${SIM} ${PDP1_OPT} -o $@ ${LDFLAGS} ${LIBS}
 
 pdp4 : ${PDP18B} ${SIM}
-	${CC} ${PDP18B} ${SIM} ${PDP4_OPT} -o $@ ${LDFLAGS}
+	${CC} ${PDP18B} ${SIM} ${PDP4_OPT} -o $@ ${LDFLAGS} ${LIBS}
 
 pdp7 : ${PDP18B} ${SIM}
-	${CC} ${PDP18B} ${SIM} ${PDP7_OPT} -o $@ ${LDFLAGS}
+	${CC} ${PDP18B} ${SIM} ${PDP7_OPT} -o $@ ${LDFLAGS} ${LIBS}
 
 pdp8 : ${PDP8} ${SIM}
-	${CC} ${PDP8} ${SIM} ${PDP8_OPT} -o $@ ${LDFLAGS}
+	${CC} ${PDP8} ${SIM} ${PDP8_OPT} -o $@ ${LDFLAGS} ${LIBS}
 
 pdp9 : ${PDP18B} ${SIM}
-	${CC} ${PDP18B} ${SIM} ${PDP9_OPT} -o $@ ${LDFLAGS}
+	${CC} ${PDP18B} ${SIM} ${PDP9_OPT} -o $@ ${LDFLAGS} ${LIBS}
 
 pdp15 : ${PDP18B} ${SIM}
-	${CC} ${PDP18B} ${SIM} ${PDP15_OPT} -o $@ ${LDFLAGS}
+	${CC} ${PDP18B} ${SIM} ${PDP15_OPT} -o $@ ${LDFLAGS} ${LIBS}
 
 pdp10 : ${PDP10} ${SIM}
-	${CC} ${PDP10} ${SIM} ${PDP10_OPT} -o $@ ${LDFLAGS}
+	${CC} ${PDP10} ${SIM} ${PDP10_OPT} -o $@ ${LDFLAGS} ${LIBS}
 
 pdp11 : ${PDP11} ${SIM}
-	${CC} ${PDP11} ${SIM} ${PDP11_OPT} -o $@ ${LDFLAGS}
+	${CC} ${PDP11} ${SIM} ${PDP11_OPT} -o $@ ${LDFLAGS} ${LIBS}
 
 vax : ${VAX} ${SIM}
-	${CC} ${VAX} ${SIM} ${VAX_OPT} -o $@ ${LDFLAGS}
+	${CC} ${VAX} ${SIM} ${VAX_OPT} -o $@ ${LDFLAGS} ${LIBS}
 
 dgnova : ${NOVA} ${SIM}
-	${CC} ${NOVA} ${SIM} ${NOVA_OPT} -o $@ ${LDFLAGS}
+	${CC} ${NOVA} ${SIM} ${NOVA_OPT} -o $@ ${LDFLAGS} ${LIBS}
 
 h316 : ${H316} ${SIM}
-	${CC} ${H316} ${SIM} ${H316_OPT} -o $@ ${LDFLAGS}
+	${CC} ${H316} ${SIM} ${H316_OPT} -o $@ ${LDFLAGS} ${LIBS}
 
 hp2100 : ${HP2100} ${SIM}
-	${CC} ${HP2100} ${SIM} ${HP2100_OPT} -o $@ ${LDFLAGS}
+	${CC} ${HP2100} ${SIM} ${HP2100_OPT} -o $@ ${LDFLAGS} ${LIBS}
 
 i1401 : ${I1401} ${SIM}
-	${CC} ${I1401} ${SIM} ${I1401_OPT} -o $@ ${LDFLAGS}
+	${CC} ${I1401} ${SIM} ${I1401_OPT} -o $@ ${LDFLAGS} ${LIBS}
 
 i1620 : ${I1620} ${SIM}
-	${CC} ${I1620} ${SIM} ${I1620_OPT} -o $@ ${LDFLAGS}
+	${CC} ${I1620} ${SIM} ${I1620_OPT} -o $@ ${LDFLAGS} ${LIBS}
 
 i7094 : ${I7094} ${SIM}
-	${CC} ${I7094} ${SIM} ${I7094_OPT} -o $@ ${LDFLAGS}
+	${CC} ${I7094} ${SIM} ${I7094_OPT} -o $@ ${LDFLAGS} ${LIBS}
 
 system3 : ${SYSTEM3} ${SIM}
-	${CC} ${SYSTEM3} ${SIM} ${SYSTEM3_OPT} -o $@ ${LDFLAGS}
+	${CC} ${SYSTEM3} ${SIM} ${SYSTEM3_OPT} -o $@ ${LDFLAGS} ${LIBS}
 
 altair : ${ALTAIR} ${SIM}
-	${CC} ${ALTAIR} ${SIM} ${ALTAIR_OPT} -o $@ ${LDFLAGS}
+	${CC} ${ALTAIR} ${SIM} ${ALTAIR_OPT} -o $@ ${LDFLAGS} ${LIBS}
 
 altairz80 : ${ALTAIRZ80} ${SIM} 
-	${CC} ${ALTAIRZ80} ${SIM} ${ALTAIRZ80_OPT} -o $@ ${LDFLAGS}
+	${CC} ${ALTAIRZ80} ${SIM} ${ALTAIRZ80_OPT} -o $@ ${LDFLAGS} ${LIBS}
 
 gri909 : ${GRI} ${SIM}
-	${CC} ${GRI} ${SIM} ${GRI_OPT} -o $@ ${LDFLAGS}
+	${CC} ${GRI} ${SIM} ${GRI_OPT} -o $@ ${LDFLAGS} ${LIBS}
 
 lgp : ${LGP} ${SIM}
-	${CC} ${LGP} ${SIM} ${LGP_OPT} -o $@ ${LDFLAGS}
+	${CC} ${LGP} ${SIM} ${LGP_OPT} -o $@ ${LDFLAGS} ${LIBS}
 
 id16 : ${ID16} ${SIM}
-	${CC} ${ID16} ${SIM} ${ID16_OPT} -o $@ ${LDFLAGS}
+	${CC} ${ID16} ${SIM} ${ID16_OPT} -o $@ ${LDFLAGS} ${LIBS}
 
 id32 : ${ID32} ${SIM}
-	${CC} ${ID32} ${SIM} ${ID32_OPT} -o $@ ${LDFLAGS}
+	${CC} ${ID32} ${SIM} ${ID32_OPT} -o $@ ${LDFLAGS} ${LIBS}
 
 sds : ${SDS} ${SIM}
-	${CC} ${SDS} ${SIM} ${SDS_OPT} -o $@ ${LDFLAGS}
+	${CC} ${SDS} ${SIM} ${SDS_OPT} -o $@ ${LDFLAGS} ${LIBS}
 
 macro1 : ${MACRO1}
 	${CC} ${MACRO1} -o $@


Bug#626238: (no subject)

2011-07-15 Thread Dave Walker
Hi,

I just wondered if this bug has been able to make any progress?

Thanks.

Kind Regards,
Dave Walker



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



Bug#631276: libprawn-ruby: debian/watch calls debian/repack.sh which does not exist.

2011-06-22 Thread Dave Walker (Daviey)
Package: libprawn-ruby
Version: libprawn-ruby-0.9.1+dfsg2
Severity: normal

Hi, 

I noticed debian/watch calls debian/repack.sh which does not exist.

uscan results in, Can't exec debian/repack.sh: No such file or directory at 
/usr/bin/uscan line 1498, WATCH line 3.

Thanks!

Kind Regards,
Dave Walker

-- System Information:
Debian Release: wheezy/sid
  APT prefers oneiric-updates
  APT policy: (500, 'oneiric-updates'), (500, 'oneiric-security'), (500, 
'oneiric')
Architecture: amd64 (x86_64)

Kernel: Linux 3.0-1-generic (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



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



Bug#631221: Patch

2011-06-21 Thread Dave Walker
Here is the patch that Ubuntu has applied.

Thanks.

Kind Regards,
Dave Walker
Description: support XML security signatures.
Author: Neil Soman n...@eucalyptus.com

Index: rampart-1.3.0/src/omxmlsec/c14n/c14n.c
===
--- rampart-1.3.0.orig/src/omxmlsec/c14n/c14n.c	2011-04-26 15:40:58.518406296 -0700
+++ rampart-1.3.0/src/omxmlsec/c14n/c14n.c	2011-04-26 15:41:22.518703783 -0700
@@ -32,6 +32,7 @@
 #include oxs_constants.h
 #include oxs_c14n.h
 #include c14n_sorted_list.h
+#include axiom_data_source.h
 
 #define N_C14N_DEBUG
 
@@ -727,6 +728,35 @@
 return AXIS2_SUCCESS;
 }
 
+
+static axis2_status_t
+c14n_apply_on_data_source (
+   const axiom_node_t *node,
+   const c14n_ctx_t *ctx
+)
+{
+  axiom_data_source_t *src = NULL;
+  src = (axiom_data_source_t *)axiom_node_get_data_element((axiom_node_t *)node,
+		 ctx-env);
+
+  if (src)
+{
+  axutil_stream_t *stream = axiom_data_source_get_stream(src, ctx-env);
+
+  if(stream == NULL)
+	return AXIS2_FAILURE;
+
+  axis2_char_t*  buf =  axutil_stream_get_buffer(stream, ctx-env);
+  if(buf == NULL)
+	return AXIS2_FAILURE;
+
+  c14n_output(buf, ctx);
+  buf = NULL;
+}
+
+return AXIS2_SUCCESS;
+}
+
 static axis2_status_t
 c14n_apply_on_node (
 const axiom_node_t *node,
@@ -748,6 +778,9 @@
 c14n_apply_on_comment(node, ctx);
 break;
 }
+case AXIOM_DATA_SOURCE:
+  c14n_apply_on_data_source(node, ctx);
+  break;
 case AXIOM_DOCTYPE:
 case AXIOM_PROCESSING_INSTRUCTION:
 default:
Index: rampart-1.3.0/src/util/rampart_timestamp_token.c
===
--- rampart-1.3.0.orig/src/util/rampart_timestamp_token.c	2011-04-26 15:41:13.698594433 -0700
+++ rampart-1.3.0/src/util/rampart_timestamp_token.c	2011-04-26 15:41:49.619039939 -0700
@@ -207,7 +207,7 @@
 rampart_set_security_processed_result(env, msg_ctx,RAMPART_SPR_TS_EXPIRES, expires_val);
 
 /* Check whether time has expired or not */
-validity = rampart_compare_date_time(env, created_val, expires_val);
+validity = rampart_compare_date_time(env, current_val, expires_val);
 if (validity == AXIS2_FAILURE)
 {
 /* this means created_value  expires_value. Which is not valid */


Bug#631230: apache2 startup fails with missing log directory

2011-06-21 Thread Dave Walker (Daviey)
Package: apache2.2-common
Version: 2.2.19-1ubuntu1
Severity: wishlist
Tags: patch

f $APACHE_LOG_DIR (as defined in /etc/apache2/envvars) does not exist, server 
startup fails.

This would happen, for instance, if /var/log is on a ramdisk. That is something 
commonly done for systems that use an SSD drive. Putting logs on a ramdisk 
avoids wearing out the SSD flash memory.

It would be helpful if the apache initscript createad its log subdirectory if 
needed.

Thanks
--- a/debian/apache2.2-common.apache2.init  2011-05-22 10:21:21 +
+++ b/debian/apache2.2-common.apache2.init  2011-06-21 19:28:29 +
@@ -172,6 +172,17 @@
 case $1 in
start)
log_daemon_msg Starting web server apache2
+   (
+   # uses subshell to keep current env clear
+   . $APACHE_ENVVARS
+   if [ -d $APACHE_LOG_DIR ] ; then
+   return 0
+   elif mkdir $APACHE_LOG_DIR ; then
+   return 0
+   else
+   return 1
+   fi
+   ) || log_end_msg 1
if $APACHE2CTL start; then
if check_htcacheclean ; then
log_progress_msg htcacheclean


Bug#631110: (no subject)

2011-06-20 Thread Dave Walker
mksh is a requirement of supporting /usr/bin/cvs-switchroot, which closes 
Debian bug #41685.

Kind Regards,
Dave Walker




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



Bug#628296: patch

2011-06-15 Thread Dave Walker

Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu oneiric

Hi,

Attached is the patch which has been uploaded to Ubuntu Oneiric package 
to resolve this issue.


Thanks.

Kind Regards,
Dave Walker
Description: Fixes for the testsuite to be compatible with = LWP + HTTP:Headers 6.0.
 This patch is created from 4 upstream trunk commits folded.
 Resolves FTBFS for failures during the testsuite run.
 .
 Upstream commit log:
 * LWP 6.x uses HTTP/1.1 but t/response/TestAPI/request_rec.pm assumes it is always called using HTTP/1.0
 * HTTP::Headers at least in version 6.00 does not translate underscores to minus when storing headers but does so when they are read.
 * next try: restrict localization of $HTTP::Headers::TRANSLATE_UNDERSCORE to HTTP::Headers 6.00 only
 * fixed a wrong content-length header in t/filter/TestFilter/out_str_reverse.pm
Origin: commit:1089411, http://svn.apache.org/viewvc?view=revisionrevision=1089411
Origin: commit:1089349, http://svn.apache.org/viewvc?view=revisionrevision=1089349
Origin: commit:1089363, http://svn.apache.org/viewvc?view=revisionrevision=1089349
Origin: commit:1089414, http://svn.apache.org/viewvc?view=revisionrevision=1089414
Bug-Ubuntu: https://launchpad.net/bugs/797716
Bug-Debian: http://bugs.debian.org/628296
From: Dave Walker (Daviey) davewal...@ubuntu.com
Last-Update: 2011-06-15

--- a/t/api/err_headers_out.t
+++ b/t/api/err_headers_out.t
@@ -19,6 +19,14 @@
 
 ok t_cmp $res-code, 200, OK;
 
+# HTTP::Headers 6.00 makes the next 2 tests fail. When the response comes
+# in the header name is stored as x-err_headers_out. But when it is to
+# be read below it is referred as x-err-headers-out and hence not found.
+local $HTTP::Headers::TRANSLATE_UNDERSCORE=
+	$HTTP::Headers::TRANSLATE_UNDERSCORE;
+undef $HTTP::Headers::TRANSLATE_UNDERSCORE
+	if defined HTTP::Headers-VERSION and HTTP::Headers-VERSION==6.00;
+
 ok t_cmp $res-header('X-err_headers_out'), err_headers_out,
 X-err_headers_out: made it;
 
@@ -36,6 +44,14 @@
 
 ok t_cmp $res-code, 404, not found;
 
+# HTTP::Headers 6.00 makes this test fail. When the response comes in
+# the header name is stored as x-err_headers_out. But when it is to
+# be read below it is referred as x-err-headers-out and hence not found.
+local $HTTP::Headers::TRANSLATE_UNDERSCORE=
+	$HTTP::Headers::TRANSLATE_UNDERSCORE;
+undef $HTTP::Headers::TRANSLATE_UNDERSCORE
+	if defined HTTP::Headers-VERSION and HTTP::Headers-VERSION==6.00;
+
 ok t_cmp $res-header('X-err_headers_out'), err_headers_out,
 X-err_headers_out: made it;
 
--- a/t/filter/TestFilter/out_str_reverse.pm
+++ b/t/filter/TestFilter/out_str_reverse.pm
@@ -16,12 +16,21 @@
 use Apache2::Const -compile = qw(OK M_POST);
 
 use constant BUFF_LEN = 2;
+use constant signature = Reversed by mod_perl 2.0\n;
 
 sub handler {
 my $f = shift;
 #warn called\n;
 
 my $leftover = $f-ctx;
+
+# We are about to change the length of the response body. Hence, we
+# have to adjust the content-length header.
+unless (defined $leftover) { # 1st invocation
+	$f-r-headers_out-{'Content-Length'}+=length signature
+	if exists $f-r-headers_out-{'Content-Length'};
+}
+
 while ($f-read(my $buffer, BUFF_LEN)) {
 #warn buffer: [$buffer]\n;
 $buffer = $leftover . $buffer if defined $leftover;
@@ -34,7 +43,7 @@
 
 if ($f-seen_eos) {
 $f-print(scalar reverse $leftover) if defined $leftover;
-$f-print(Reversed by mod_perl 2.0\n);
+$f-print(signature);
 }
 else {
 $f-ctx($leftover) if defined $leftover;
--- a/t/response/TestAPI/request_rec.pm
+++ b/t/response/TestAPI/request_rec.pm
@@ -57,8 +57,9 @@
 
 ok $r-protocol =~ /http/i;
 
-# HTTP 1.0
-ok t_cmp $r-proto_num, 1000, 't-proto_num';
+# LWP =6.00 uses HTTP/1.1, other HTTP/1.0
+ok t_cmp $r-proto_num, 1000+substr($r-the_request, -1),
+	't-proto_num';
 
 ok t_cmp lc($r-hostname), lc($r-get_server_name), '$r-hostname';
 
@@ -124,7 +125,12 @@
 
 ok t_cmp $r-args, $args, '$r-args';
 
-ok t_cmp $r-the_request, GET $base_uri$path_info?$args HTTP/1.0,
+	# LWP uses HTTP/1.1 since 6.00
+ok t_cmp $r-the_request, qr!GET
+ \x20
+ \Q$base_uri$path_info\E\?\Q$args\E
+ \x20
+ HTTP/1\.\d!x,
 '$r-the_request';
 
 {


Bug#616318: Depends not Build-Depends

2011-06-15 Thread Dave Walker

found 616318 1.34
thank you

Hi,

Thanks for looking into this issue.

I think Martin was raising the issue of Depends not Build-Depends which
has been changed with this upload.  It seems the Depends on dpkg(-dev)
is not required at all.

Thanks.

Kind Regards,
Dave Walker




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



Bug#599793: patch

2011-06-13 Thread Dave Walker

||Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu oneiric

Hi,

Attached is the patch which has been uploaded to Ubuntu Oneiric package.

Thanks.

Kind Regards,
Dave Walker
Description:  Resolving regression where ntpdate ignores replies 
 from some ntp servers where recieve and transmit timestamps are 
 equal. Patch cherry picked from upstream commit.
Origin: upstream, http://ntp.bkbits.net:8080/ntp-stable/?PAGE=gnupatchREV=1.2225.3.1
Author: Dave Hart daveh...@hartbrothers.com
Bug: http://bugs.ntp.org/1709
Bug-Ubuntu: https://launchpad.net/bugs/787551 
Bug-Debian: http://bugs.debian.org/599793

--- a/ntpdate/ntpdate.c
+++ b/ntpdate/ntpdate.c
@@ -868,8 +868,7 @@
 	 * Make sure the server is at least somewhat sane.	If not, try
 	 * again.
 	 */
-	if (L_ISZERO(rec) || !L_ISHIS(server-org, rec)
-	|| L_ISEQU(rec, server-org)) {
+	if (L_ISZERO(rec) || !L_ISHIS(server-org, rec)) {
 		server-event_time = current_time + sys_timeout;
 		return;
 	}


Bug#630256: augeas FTBFS with linux kernel 2.6.29 (test-readlink failed)

2011-06-12 Thread Dave Walker (Daviey)
Package: augeas
Version: 0.8.1-1
Severity: serious
Tags: patch
Justification: fails to build from source
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu oneiric ubuntu-patch

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

  * debian/patches/test-readlink-errno.patch: On linux kernels 2.6.39
one of the readlink tests fails with EINVAL, rather than the previous
(expected) behaviour of ENOENT; causing FTBFS.  This patch accepts
both behaviours resolving failure.  (LP: #796296)


Thanks for considering the patch.


-- System Information:
Debian Release: wheezy/sid
  APT prefers oneiric-updates
  APT policy: (500, 'oneiric-updates'), (500, 'oneiric-security'), (500, 
'oneiric')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.39-3-generic (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
diff -Nru augeas-0.8.1/debian/patches/series augeas-0.8.1/debian/patches/series
--- augeas-0.8.1/debian/patches/series	2011-06-09 15:55:58.0 +0100
+++ augeas-0.8.1/debian/patches/series	2011-06-12 19:01:19.0 +0100
@@ -1 +1,2 @@
 debian-changes-0.8.1-1
+test-readlink-errno.patch
diff -Nru augeas-0.8.1/debian/patches/test-readlink-errno.patch augeas-0.8.1/debian/patches/test-readlink-errno.patch
--- augeas-0.8.1/debian/patches/test-readlink-errno.patch	1970-01-01 01:00:00.0 +0100
+++ augeas-0.8.1/debian/patches/test-readlink-errno.patch	2011-06-12 19:52:25.0 +0100
@@ -0,0 +1,17 @@
+Description: On linux kernels 2.6.39 one of the readlink tests fails with
+ EINVAL, rather than the previous (expected) behaviour of ENOENT; causing
+ FTBFS.  This patch accepts both behaviours resolving failure.
+Author: Dave Walker (Daviey) davewal...@ubuntu.com
+Bug-Ubuntu: https://launchpad.net/bugs/796296
+
+--- a/gnulib/tests/test-readlink.h
 b/gnulib/tests/test-readlink.h
+@@ -38,7 +38,7 @@
+   ASSERT (errno == ENOENT);
+   errno = 0;
+   ASSERT (func (, buf, sizeof buf) == -1);
+-  ASSERT (errno == ENOENT);
++  ASSERT (errno == ENOENT || errno == EINVAL);
+   errno = 0;
+   ASSERT (func (., buf, sizeof buf) == -1);
+   ASSERT (errno == EINVAL);



Bug#621938: Patch

2011-05-20 Thread Dave Walker

Hi,

I have attached a patch, but looking at the upstream changelog it seems 
that either this (or a similar) patch has landed in a newer upstream 
release.


Are you planning a new release?

Thanks.

Kind Regards,
Dave Walker
Description: Remove MD2 support, as openssl no longer provides this interface.  Fixes FTBFS.
Origin: vendor, https://trac.macports.org/attachment/ticket/25593/nse_openssl.cc.diff
Bug-Ubuntu: https://launchpad.net/bugs/785683

--- a/nse_openssl.cc
+++ b/nse_openssl.cc
@@ -8,7 +8,6 @@
 #include openssl/crypto.h
 #include openssl/bn.h
 #include openssl/rand.h
-#include openssl/md2.h
 #include openssl/md4.h
 #include openssl/md5.h
 #include openssl/sha.h
@@ -206,16 +205,6 @@
   return 1;
 }
 
-static int l_md2(lua_State *L) /** md2(string s) */
-{
-  size_t len;
-  const unsigned char *s = (unsigned char *) luaL_checklstring( L, 1, len );
-  unsigned char digest[16];
- 
-  lua_pushlstring( L, (char *) MD2( s, len, digest ), 16 );
-  return 1;
-}
-
 static int l_md4(lua_State *L) /** md4(string s) */
 {
   size_t len;
@@ -469,7 +458,6 @@
   { bignum_mod_exp, l_bignum_mod_exp },
   { rand_bytes, l_rand_bytes },
   { rand_pseudo_bytes, l_rand_pseudo_bytes },
-  { md2, l_md2 },
   { md4, l_md4 },
   { md5, l_md5 },
   { sha1, l_sha1 },


Bug#624841: scidavis: help viewer will not load without qt-assistant-compat installed

2011-05-01 Thread Dave Walker (Daviey)
Package: scidavis
Severity: minor

In Ubuntu, qt-assistant-compat is added to Recommends to allow the help viewer 
to function.  We would appreciate it if you would consider this addition, 
Thanks!

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

Kernel: Linux 2.6.38-8-generic (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



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



Bug#617740: openvpn: multiple DNS search domains not supported by update-resolv-conf

2011-03-10 Thread Dave Walker (Daviey)
Package: openvpn
Version: 2.1.3-2
Severity: minor
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu natty ubuntu-patch


  * update-resolv-conf: Correctly handle multiple dns search domains,
using the same logic as nameservers.  Patch courtesy of Jeremy 
Zawodny. (LP: #662847)


Thanks for considering the patch.


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

Kernel: Linux 2.6.38-5-generic (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
--- debian/update-resolv-conf   2010-10-18 10:13:00.934274005 -0700
+++ debian/update-resolv-conf   2010-10-18 10:19:23.914274005 -0700
@@ -32,15 +32,15 @@
IF_DNS_NAMESERVERS=$IF_DNS_NAMESERVERS $part3
fi
if [ $part2 == DOMAIN ] ; then
-   IF_DNS_SEARCH=$part3
+   IF_DNS_SEARCH=$IF_DNS_SEARCH $part3
fi
fi
done
R=
-   if [ $IF_DNS_SEARCH ] ; then
-   R=${R}search $IF_DNS_SEARCH
+   for SS in $IF_DNS_SEARCH ; do
+   R=${R}search $SS
 
-   fi
+   done
for NS in $IF_DNS_NAMESERVERS ; do
R=${R}nameserver $NS
 



Bug#617553: tomcat6-instance-create should accept -1 as the value of -c option

2011-03-09 Thread Dave Walker (Daviey)
Package: tomcat6
Version: 6.0.28-10
Severity: wishlist
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu natty ubuntu-patch

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

  [ Abhinav Upadhyay ]
  * tomcat6-instance-create should accept -1 as the value of -c option
as per http://tomcat.apache.org/tomcat-6.0-doc/config/server.html
(LP: #707405)


Thanks for considering the patch.


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

Kernel: Linux 2.6.38-5-generic (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
=== modified file 'debian/tomcat6-instance-create'
--- debian/tomcat6-instance-create  2010-05-21 13:51:15 +
+++ debian/tomcat6-instance-create  2011-03-09 18:10:34 +
@@ -23,11 +23,22 @@
   type=$1
   port=$2
   # Fail if port is non-numeric
-  num=`expr ${port} + 1 2 /dev/null`
-  if [ $? != 0 ] || [ $num -lt 2 ]; then
+  if ! echo $port | grep -Eq '^\-?[0-9]+$' ; then
 echo Error: ${type} port '${port}' is not a valid TCP port number.
 exit 1
   fi
+  
+  # If Control port is -1 , no need to check any further. 
+  if [ $type = Control ]  [ $port -eq -1 ]; then
+   echo Warning: Control port disabled. You will have to shutdown the 
server manually, by using OS signals.
+   return
+  fi
+  
+  # Fail if port is 0 or negative 
+  if [ $port -le 0 ]; then
+   echo Error: ${type} port '${port}' is not a valid TCP port number.
+   exit 1
+  fi
 
   # Fail if port is above 65535
   if [ ${port} -gt 65535 ]; then



Bug#616727: bfm: Ordering of libraries can cause FTBFS.

2011-03-06 Thread Dave Walker (Daviey)
Package: bfm
Version: 0.6.4-4
Severity: normal
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu natty ubuntu-patch



In Ubuntu this package FTBFS, the attached patch has been applied in Ubuntu to 
resolve it..
It may cause the same failure in the future with Debian depending on toolchain 
changes.

  * Changed order of libraries in order to fix FTBFS. (LP: #730214) 


Thanks for considering the patch.


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

Kernel: Linux 2.6.38-5-generic (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
diff -u bfm-0.6.4/Makefile bfm-0.6.4/Makefile
--- bfm-0.6.4/Makefile
+++ bfm-0.6.4/Makefile
@@ -129,12 +129,12 @@
 
 bubblefishymon: clean_obj
 	$(CC) $(GTK2_CFLAGS) $(CFLAGS) -o $(BUBBLEFISHYMON) \
-		$(LIBS) $(GTK2_LIBS) $(SRCS)
+		$(SRCS) $(LIBS) $(GTK2_LIBS)
 	$(STRIP) $(BUBBLEFISHYMON)
 
 bubblefishymon1: clean_obj
 	$(CC) $(GTK_CFLAGS) $(CFLAGS) -o $(BUBBLEFISHYMON) \
-		$(LIBS) $(GTK_LIBS) $(SRCS)
+		$(SRCS) $(LIBS) $(GTK_LIBS)
 	$(STRIP) $(BUBBLEFISHYMON)
 
 clean_obj:


Bug#616727: Extract from Ubuntu FTBFS log

2011-03-06 Thread Dave Walker


gcc -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/libdrm   -DENABLE_DUCK -DENABLE_CPU -DENABLE_MEMSCREEN -DENABLE_FISH -DENABLE_TIME -DUPSIDE_DOWN_DUCK -DKDE_DOCKAPP  -DNET_DEVICE=\eth0\ -o bubblefishymon \
		 -lX11 -pthread -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lm -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0   fishmon.c bubblemon.c sys_linux.c
bubblemon.c: In function 'render_secondary':
bubblemon.c:1249:6: warning: format '%6llu' expects type 'long long unsigned int', but argument 4 has type 'u_int64_t'
bubblemon.c:1249:6: warning: format '%6llu' expects type 'long long unsigned int', but argument 4 has type 'u_int64_t'
bubblemon.c:1251:6: warning: format '%6llu' expects type 'long long unsigned int', but argument 4 has type 'u_int64_t'
bubblemon.c:1251:6: warning: format '%6llu' expects type 'long long unsigned int', but argument 4 has type 'u_int64_t'
bubblemon.c:1258:6: warning: format '%6llu' expects type 'long long unsigned int', but argument 4 has type 'u_int64_t'
bubblemon.c:1258:6: warning: format '%6llu' expects type 'long long unsigned int', but argument 4 has type 'u_int64_t'
bubblemon.c:1260:6: warning: format '%6llu' expects type 'long long unsigned int', but argument 4 has type 'u_int64_t'
bubblemon.c:1260:6: warning: format '%6llu' expects type 'long long unsigned int', but argument 4 has type 'u_int64_t'
sys_linux.c: In function 'system_cpu':
sys_linux.c:42:5: warning: format '%Ld' expects type 'long long int *', but argument 3 has type 'u_int64_t *'
sys_linux.c:42:5: warning: format '%Ld' expects type 'long long int *', but argument 4 has type 'u_int64_t *'
sys_linux.c:42:5: warning: format '%Ld' expects type 'long long int *', but argument 5 has type 'u_int64_t *'
sys_linux.c:42:5: warning: format '%Ld' expects type 'long long int *', but argument 6 has type 'u_int64_t *'
sys_linux.c: In function 'system_memory':
sys_linux.c:91:4: warning: format '%Ld' expects type 'long long int *', but argument 4 has type 'u_int64_t *'
sys_linux.c: In function 'get_traffic':
sys_linux.c:214:4: warning: format '%Ld' expects type 'long long int *', but argument 4 has type 'u_int64_t *'
sys_linux.c:214:4: warning: format '%Ld' expects type 'long long int *', but argument 5 has type 'u_int64_t *'
/tmp/ccYbt02e.o: In function `time_update':
fishmon.c:(.text+0x218f): undefined reference to `sin'
fishmon.c:(.text+0x21ac): undefined reference to `floor'
fishmon.c:(.text+0x21cc): undefined reference to `cos'
fishmon.c:(.text+0x21f5): undefined reference to `floor'
fishmon.c:(.text+0x2278): undefined reference to `sin'
fishmon.c:(.text+0x2295): undefined reference to `floor'
fishmon.c:(.text+0x22b5): undefined reference to `cos'
fishmon.c:(.text+0x22de): undefined reference to `floor'
fishmon.c:(.text+0x2323): undefined reference to `sin'
fishmon.c:(.text+0x2340): undefined reference to `floor'
fishmon.c:(.text+0x2360): undefined reference to `cos'
fishmon.c:(.text+0x2389): undefined reference to `floor'
fishmon.c:(.text+0x2409): undefined reference to `sin'
fishmon.c:(.text+0x2426): undefined reference to `floor'
fishmon.c:(.text+0x2446): undefined reference to `cos'
fishmon.c:(.text+0x246f): undefined reference to `floor'
fishmon.c:(.text+0x24c4): undefined reference to `sin'
fishmon.c:(.text+0x24e1): undefined reference to `floor'
fishmon.c:(.text+0x2501): undefined reference to `cos'
fishmon.c:(.text+0x252a): undefined reference to `floor'
/tmp/cc26YQH8.o: In function `bubblemon_session_defaults':
bubblemon.c:(.text+0x102): undefined reference to `XrmInitialize'
bubblemon.c:(.text+0x151): undefined reference to `XrmGetFileDatabase'
bubblemon.c:(.text+0x1e9): undefined reference to `XrmGetResource'
/tmp/cc26YQH8.o: In function `main':
bubblemon.c:(.text+0x7cf): undefined reference to `gdk_init_check'
bubblemon.c:(.text+0x806): undefined reference to `gdk_rgb_init'
bubblemon.c:(.text+0xcf1): undefined reference to `gdk_event_get'
bubblemon.c:(.text+0xd44): undefined reference to `gdk_exit'
bubblemon.c:(.text+0xe0a): undefined reference to `gdk_events_pending'
bubblemon.c:(.text+0xe72): undefined reference to `gdk_draw_rgb_image'
bubblemon.c:(.text+0xeb6): undefined reference to `gdk_draw_rgb_image'
/tmp/cc26YQH8.o: In function `get_screen_selection':
bubblemon.c:(.text+0xf01): undefined reference to `XStringToKeysym'
bubblemon.c:(.text+0xf13): undefined reference to `gdk_x11_window_get_drawable_impl'
bubblemon.c:(.text+0xf1b): undefined reference to `gdk_x11_drawable_get_xdisplay'
bubblemon.c:(.text+0xf26): undefined reference to `XKeysymToKeycode'
bubblemon.c:(.text+0xf36): undefined reference to `XStringToKeysym'

Bug#616164: openldap: Patch service-operational-before-detach could cause database corruption

2011-03-02 Thread Dave Walker (Daviey)
Package: openldap
Severity: important
Tags: squeeze sid

Regarding the patch that closed:
http://bugs.debian.org/589915

As described on this list it seems it it could cause database corruption.
http://lists.alioth.debian.org/pipermail/pkg-openldap-devel/2011-February/004308.html

Please forgive me if this is a duplicate, but it didn't seem to have been 
reported.



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



Bug#616164:

2011-03-02 Thread Dave Walker

  * debian/patches/service-operational-before-detach: New patch replacing
old one of same name as previous could cause database corruption,
based on upstream commits. (LP: #727973)

Patch attached.
Description: Wait for database startup before parent exits.
 This patch replaces the previous one named the same name,
 but is based on upstream commits; as the previous applied
 patch could cause database corruption.
 .
 Patch is based on upstream commits as described below:
 libraries/liblutil/detach.c 1.25 - 1.26
 include/lutil.h 1.81 - 1.82
 servers/slapd/main.c 1.276 - 1.278
 .
Forwarded: not-needed
Origin: upstream, commit:1.26
Origin: upstream, commit:1.82
Origin: upstream, commit:1.278
Bug: http://www.openldap.org/its/index.cgi/?findid=6848
Bug-Ubuntu: https://launchpad.net/bugs/727973
Bug-Debian: http://bugs.debian.org/589915
Reviewed-by: Dave Walker (Daviey) davewal...@ubuntu.com
Last-Update: 2011-03-02

--- a/include/lutil.h
+++ b/include/lutil.h
@@ -48,7 +48,7 @@
size_t));
 
 /* detach.c */
-LDAP_LUTIL_F( void )
+LDAP_LUTIL_F( int )
 lutil_detach LDAP_P((
int debug,
int do_close));
--- a/libraries/liblutil/detach.c
+++ b/libraries/liblutil/detach.c
@@ -49,10 +49,10 @@
 
 #include lutil.h
 
-void
+int
 lutil_detach( int debug, int do_close )
 {
-   int i, sd, nbits;
+   int i, sd, nbits, pid;
 
 #ifdef HAVE_SYSCONF
nbits = sysconf( _SC_OPEN_MAX );
@@ -71,10 +71,11 @@
if ( debug == 0 ) {
for ( i = 0; i  5; i++ ) {
 #ifdef HAVE_THR
-   switch ( fork1() )
+   pid = fork1();
 #else
-   switch ( fork() )
+   pid = fork();
 #endif
+   switch ( pid )
{
case -1:
sleep( 5 );
@@ -84,7 +85,7 @@
break;
 
default:
-   _exit( EXIT_SUCCESS );
+   return pid;
}
break;
}
@@ -139,4 +140,5 @@
 #ifdef SIGPIPE
(void) SIGNAL( SIGPIPE, SIG_IGN );
 #endif
+   return 0;
 }
--- a/servers/slapd/main.c
+++ b/servers/slapd/main.c
@@ -364,6 +364,9 @@
int syslogUser = SLAP_DEFAULT_SYSLOG_USER;
 #endif

+#ifndef HAVE_WINSOCK
+   int pid, waitfds[2];
+#endif
int g_argc = argc;
char **g_argv = argv;
 
@@ -826,7 +829,7 @@
if( rc != 0) {
Debug( LDAP_DEBUG_ANY,
main: TLS init failed: %d\n,
-   0, 0, 0 );
+   rc, 0, 0 );
rc = 1;
SERVICE_EXIT( ERROR_SERVICE_SPECIFIC_ERROR, 20 );
goto destroy;
@@ -881,7 +884,24 @@
 #endif
 
 #ifndef HAVE_WINSOCK
-   lutil_detach( no_detach, 0 );
+   if ( lutil_pair( waitfds )  0 ) {
+   Debug( LDAP_DEBUG_ANY,
+   main: lutil_pair failed: %d\n,
+   0, 0, 0 );
+   rc = 1;
+   goto destroy;
+   }
+   pid = lutil_detach( no_detach, 0 );
+   if ( pid ) {
+   char buf[4];
+   rc = EXIT_SUCCESS;
+   close( waitfds[1] );
+   if ( read( waitfds[0], buf, 1 ) != 1 )
+   rc = EXIT_FAILURE;
+   _exit( rc );
+   } else {
+   close( waitfds[0] );
+   }
 #endif /* HAVE_WINSOCK */
 
 #ifdef CSRIMALLOC
@@ -952,6 +972,11 @@
 
Debug( LDAP_DEBUG_ANY, slapd starting\n, 0, 0, 0 );
 
+#ifndef HAVE_WINSOCK
+   write( waitfds[1], 1, 1 );
+   close( waitfds[1] );
+#endif
+
 #ifdef HAVE_NT_EVENT_LOG
if (is_NT_Service)
lutil_LogStartedEvent( serverName, slap_debug, configfile ?


Bug#608011: Sendmail FTBFS in Ubuntu

2011-02-18 Thread Dave Walker

Hi Rick,

I'd like to check progress of:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=608011

Are you able to apply this fix in Debian, so we can sync the package 
across to Ubuntu.  I'm reluctant to apply it directly in Ubuntu, as it 
would cause divergence that i'd rather avoid with this package.


Thanks for maintaining the package in Debian!

Kind Regards,
Dave Walker



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



Bug#592369: ldapscripts: Often not enough entropy to generate password, causing blocking.

2010-08-09 Thread Dave Walker (Daviey)
Package: ldapscripts
Version: 1.9.0-2
Severity: minor
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu maverick ubuntu-patch

In Ubuntu, we've applied the attached patch to achieve the following:

  * etc/ldapscripts.conf: Changed default password generation for initial
usage.  Now uses pwgen, as there is often not enough entropy to
use the previous default, causing blocking/freezing. (LP: #602540)
  * debian/control: 
- Depend on pwgen.

We thought you might be interested in doing the same. 


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

Kernel: Linux 2.6.35-14-generic (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 ldapscripts-1.9.0/debian/control ldapscripts-1.9.0/debian/control
--- ldapscripts-1.9.0/debian/control	2010-05-11 12:53:10.0 +0100
+++ ldapscripts-1.9.0/debian/control	2010-08-09 17:15:37.0 +0100
@@ -10,7 +11,7 @@
 
 Package: ldapscripts
 Architecture: all
-Depends: ${misc:Depends}, ldap-utils
+Depends: ${misc:Depends}, ldap-utils, pwgen
 Recommends: sharutils
 Suggests: libpam-ldap
 Description: Add and remove user and groups (stored in a LDAP directory)
diff -Nru ldapscripts-1.9.0/debian/patches/07_password_generation.patch ldapscripts-1.9.0/debian/patches/07_password_generation.patch
--- ldapscripts-1.9.0/debian/patches/07_password_generation.patch	1970-01-01 01:00:00.0 +0100
+++ ldapscripts-1.9.0/debian/patches/07_password_generation.patch	2010-08-09 17:17:23.0 +0100
@@ -0,0 +1,22 @@
+Description: The default password generation method relies on having sufficient entropy, 
+ and blocks until there is sufficient content in the pool.  Changing to pwgen util, 
+ whilst being slightly less secure; does provide a sane default for an initial password. 
+Author: Dave Walker (Daviey) davewal...@ubuntu.com
+Bug-Debian: http://bugs.debian.org/**TBC**
+Bug-Ubuntu: https://launchpad.net/bugs/602540
+Last-Update: 2010-08-09
+
+--- ldapscripts-1.9.0.orig/etc/ldapscripts.conf
 ldapscripts-1.9.0/etc/ldapscripts.conf
+@@ -59,9 +59,9 @@ CREATEHOMES=no  # Create home dire
+ # Command-line used to generate a password for added users (you may use %u for username here)
+ # WARNING  This is evaluated, everything specified here will be run !
+ # Special value ask will ask for a password interactively
+-PASSWORDGEN=cat /dev/random | LC_ALL=C tr -dc 'a-zA-Z0-9' | head -c8
++#PASSWORDGEN=cat /dev/random | LC_ALL=C tr -dc 'a-zA-Z0-9' | head -c8
+ #PASSWORDGEN=head -c8 /dev/random | uuencode -m - | sed -n '2s|=*$||;2p' | sed -e 's|+||g' -e 's|/||g'
+-#PASSWORDGEN=pwgen
++PASSWORDGEN=pwgen -s
+ #PASSWORDGEN=echo changeme
+ #PASSWORDGEN=echo %u
+ #PASSWORDGEN=ask
diff -Nru ldapscripts-1.9.0/debian/patches/series ldapscripts-1.9.0/debian/patches/series
--- ldapscripts-1.9.0/debian/patches/series	2009-12-03 15:43:29.0 +
+++ ldapscripts-1.9.0/debian/patches/series	2010-08-09 17:17:45.0 +0100
@@ -2,3 +2,4 @@
 02_debian_config.patch
 03_fix_manpages.patch
 05_mktemp.patch
+07_password_generation.patch


Bug#552621: Update?

2010-08-02 Thread Dave Walker
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi,

I just wondered if there was any progress with the testsuite
integration into a Maven based package?

Thanks.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAkxXHnAACgkQmiDwVeMCgbPhUgCaAlNDirWXSHAfKy+xCsvjUINe
BtcAn3UyhDw2cgrTQyoDc4xxri0EHVoQ
=NNhd
-END PGP SIGNATURE-




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



Bug#590291: closed by Eduard Bloch bl...@debian.org (Bug#590291: fixed in apt-cacher-ng 0.5.1-1)

2010-08-01 Thread Dave Walker
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

reopen 590291
thanks

Thanks for addressing this bug, however it seems that the recent
upload hasn't addressed this issue.  It still seems to be presenting
the same build time behaviour.

Here is an extract of the build log:
/usr/bin/make  all
make[1]: Entering directory `/tmp/buildd/apt-cacher-ng-0.5.1'
Checking build environment...
g++ -c -Wall -g -O2 -D_FILE_OFFSET_BITS=64
-I/tmp/buildd/apt-cacher-ng-0.5.1/include  source/acbuf.cc -o acbuf.o
g++ -c -Wall -g -O2 -D_FILE_OFFSET_BITS=64
-I/tmp/buildd/apt-cacher-ng-0.5.1/include  source/acfg.cc -o acfg.o
source/acfg.cc: In function 'void acfg::PostProcConfig()':
source/acfg.cc:633: error: 'umask' was not declared in this scope
source/acfg.cc: In function 'void mkbasedir(const std::string)':
source/acfg.cc:923: error: 'mkdir' was not declared in this scope
make[1]: *** [acfg.o] Error 1
make[1]: Leaving directory `/tmp/buildd/apt-cacher-ng-0.5.1'
make: *** [build-stamp] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAkxVX3QACgkQmiDwVeMCgbP8JwCg3F/ypArcyaLYqgmIt4WZfRKu
xc0AoOS1RMvIX8jNG83R0NfXfrrvT2XN
=hP4l
-END PGP SIGNATURE-




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



Bug#590291: apt-cacher-ng: source/acfg.cc doesn't explicitly include sys/stat.h

2010-07-25 Thread Dave Walker (Daviey)
Package: apt-cacher-ng
Version: 0.5-1
Severity: important
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu maverick ubuntu-patch



*** /tmp/tmp0OSBZC
source/acfg.cc doesn't explicitly include sys/stat.h, but does make use of it's 
functions.  Whilst this isn't currently an issue on sid; it does cause a FTBFS 
on Ubuntu.  It's possible the toolchain may change in Debian, making this more 
importiant in the future.

The attached trival patch, has been applied and uploaded to Ubuntu Maverick.
--- apt-cacher-ng-0.5.orig/source/acfg.cc
+++ apt-cacher-ng-0.5/source/acfg.cc
@@ -22,6 +22,7 @@
 #include list
 #include map
 #include algorithm
+#include sys/stat.h
 
 using namespace MYSTD;
 


Bug#576365: predict-g1yyh crashes when printing predictions

2010-04-03 Thread Dave Walker
Package: predict
Version: 2.2.3-2
Severity: normal
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu lucid ubuntu-patch



*** /tmp/tmpqfAjuL
In Ubuntu, the attached patche is proposed for this package to achieve the 
following:

  * debian/patches/141_buffer_overflow.diff: Fix a buffer overflow that 
makes predict-g1yyh crash when printing predictions (p, v, s, n and
o commands). Patch courtesy of Norvald H. Ryeng

I thought you might be interested in apply it in the debian package.. 


-- System Information:
Debian Release: squeeze/sid
  APT prefers lucid-updates
  APT policy: (500, 'lucid-updates'), (500, 'lucid-security'), (500, 
'lucid-backports'), (500, 'lucid')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-19-generic (SMP w/1 CPU core)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
=== added file 'debian/patches/141_buffer_overflow.diff'
--- debian/patches/141_buffer_overflow.diff 1970-01-01 00:00:00 +
+++ debian/patches/141_buffer_overflow.diff 2010-04-03 18:21:56 +
@@ -0,0 +1,28 @@
+## Description: Extends header line 2 (head2) with an extra byte for the 
terminating \0 and shortens two strings that were 1 byte too long.
+## Origin/Author: Norvald H. Ryeng 
+## Bug: https://bugs.launchpad.net/ubuntu/+source/predict/+bug/553140
+Index: predict-2.2.3/predict-g1yyh.c
+===
+--- predict-2.2.3.orig/predict-g1yyh.c 2010-04-01 11:03:53.472663321 +0200
 predict-2.2.3/predict-g1yyh.c  2010-04-01 11:11:19.876662739 +0200
+@@ -4018,7 +4018,7 @@
+   /* This function buffers and displays orbital predictions
+  and allows screens to be saved to a disk file. */
+ 
+-  char type[20], spaces[80], head1[80], head2[80];
++  char type[20], spaces[80], head1[80], head2[81];
+   int key, ans=0, l, x, t;
+   static char buffer[5000], lines, quit;
+   static FILE *fd;
+@@ -4068,9 +4068,9 @@
+   sprintf(head2,   Date Mins/Day
Sun   Date Mins/DaySun  );
+   else {
+   if (calc_squint)
+-  sprintf(head2,   Date Time 
   El   Az  Phase  %s   %sRange  Squint 
,(io_lat=='N'?LatN:LatS),(io_lon=='W'?LonW:LonE));
++  sprintf(head2,   Date Time 
   El   Az  Phase  %s   %sRange  Squint
,(io_lat=='N'?LatN:LatS),(io_lon=='W'?LonW:LonE));
+   else
+-  sprintf(head2,   Date Time 
   El   Az  Phase  %s   %sRange   Orbit 
,(io_lat=='N'?LatN:LatS),(io_lon=='W'?LonW:LonE));
++  sprintf(head2,   Date Time 
   El   Az  Phase  %s   %sRange   Orbit
,(io_lat=='N'?LatN:LatS),(io_lon=='W'?LonW:LonE));
+   }
+   }
+ 

=== modified file 'debian/patches/series'
--- debian/patches/series   2010-03-31 10:18:23 +
+++ debian/patches/series   2010-04-03 18:21:56 +
@@ -14,3 +14,4 @@
 121_predict-g1yyh.diff
 130_gtk2.diff
 140_fix-buffer-overflow.diff
+141_buffer_overflow.diff



Bug#575529: Installs a menu item under Applications / Sound Video with the label: gtk-recordMyDesktop.

2010-03-26 Thread Dave Walker (Daviey)
Package: gtk-recordmydesktop
Version: 0.3.7.2-2
Severity: normal
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu lucid ubuntu-patch

As reported in Ubuntu: https://launchpad.net/bugs/276066

The package gtk-recordmydesktop installs a menu item under Applications / Sound 
 Video with the label: gtk-recordMyDesktop.

The GNOME Human Interface Guidelines have the rules about menu item names, as 
can be read in paragraph 2.1.1.1 through 2.1.1.3: 
http://library.gnome.org/devel/hig-book/stable/desktop-application-menu.html.en

2.1.1.1. Include a functional description in the menu name
2.1.1.2. Only put useful information in the menu name
2.1.1.3. Menu name formats

The label gtk-recordMyDesktop isn't a good name according to the GNOME HIG. 
Especially including the prefix gtk- isn't a good idea, non-technical users 
don't need and don't want to know what GTK is.

A better label would be, for example Desktop Recorder.
## Description: Make the menu entry more GNOME Human Interface Guidelines 
compatiable
## Origin/Author: Dave Walker (Daviey) davewal...@ubuntu.com
## Bug: https://launchpad.net/bugs/276066
Index: gtk-recordmydesktop/src/gtk-recordmydesktop.desktop
===
--- gtk-recordmydesktop.orig/src/gtk-recordmydesktop.desktop2010-03-26 
13:48:47.0 +
+++ gtk-recordmydesktop/src/gtk-recordmydesktop.desktop 2010-03-26 
13:49:30.0 +
@@ -1,9 +1,9 @@
 [Desktop Entry]
 Version=1.0
 Encoding=UTF-8
-Name=gtk-recordMyDesktop
-Comment=Frontend for recordMyDesktop
-Comment[fr]=Interface pour recordmydesktop
+Name=Desktop Recorder
+Comment=Record a video of your desktop
+Comment[fr]=Enregistrer une vidéo de votre bureau
 Exec=gtk-recordMyDesktop
 Terminal=false
 Type=Application


Bug#545044: mysql-dfsg-5.1: need to port 38_scripts__mysqld_safe.sh__signals.dpatch from mysql server 5.0

2009-09-04 Thread Dave Walker (Daviey)
Package: mysql-dfsg-5.1
Version: 5.1.37-1
Severity: normal
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu karmic ubuntu-patch

In Ubuntu, we've applied the attached patch to achieve the following:

  * debian/patches/38_scripts__mysqld_safe.sh__signals.dpatch: wait in the
SIGHUP trap to avoid killing an existing mysqld process when a HUP signal
is sent to mysqld_safe.  Based on Mathias Gug's fix from 5.0 series.
Closes (LP: #418396)

For more information see, http://www.launchpad.net/bugs/418396

-- System Information:
Debian Release: squeeze/sid
  APT prefers karmic-updates
  APT policy: (500, 'karmic-updates'), (500, 'karmic-security'), (500, 
'karmic-backports'), (500, 'karmic')
Architecture: i386 (i686)

Kernel: Linux 2.6.31-8-generic (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
diff -u mysql-dfsg-5.1-5.1.37/debian/changelog mysql-dfsg-5.1-5.1.37/debian/changelog
diff -u mysql-dfsg-5.1-5.1.37/debian/patches/38_scripts__mysqld_safe.sh__signals.dpatch mysql-dfsg-5.1-5.1.37/debian/patches/38_scripts__mysqld_safe.sh__signals.dpatch
--- mysql-dfsg-5.1-5.1.37/debian/patches/38_scripts__mysqld_safe.sh__signals.dpatch
+++ mysql-dfsg-5.1-5.1.37/debian/patches/38_scripts__mysqld_safe.sh__signals.dpatch
@@ -34,7 +34,7 @@
 +# From now on, we catch signals to do a proper shutdown of mysqld
 +# when signalled to do so.
 +#
-+trap '/usr/bin/mysqladmin --defaults-extra-file=/etc/mysql/debian.cnf refresh' 1 # HUP
++trap '/usr/bin/mysqladmin --defaults-extra-file=/etc/mysql/debian.cnf refresh  wait' 1 # HUP
 +trap '/usr/bin/mysqladmin --defaults-extra-file=/etc/mysql/debian.cnf shutdown' 2 3 15 # INT QUIT and TERM
 +
 +#


Bug#545082: snort-mysql failed to install/upgrade: subprocess post-installation script returned error exit status 6

2009-09-04 Thread Dave Walker (Daviey)
Package: snort
Version: 2.8.4.1-3
Severity: normal
Tags: patch
User: davewal...@ubuntu.com
Usertags: origin-ubuntu karmic ubuntu-patch


Introduce checking to determind if database is configured on installation 
and not attempt to start if it isn't, removing the failed to install/upgrade
issue.

For more information see: https://launchpad.net/bugs/222091

-- System Information:
Debian Release: squeeze/sid
  APT prefers karmic-updates
  APT policy: (500, 'karmic-updates'), (500, 'karmic-security'), (500, 
'karmic-backports'), (500, 'karmic')
Architecture: i386 (i686)

Kernel: Linux 2.6.31-8-generic (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
diff -u snort-2.8.4.1/debian/snort-pgsql.postinst snort-2.8.4.1/debian/snort-pgsql.postinst
--- snort-2.8.4.1/debian/snort-pgsql.postinst
+++ snort-2.8.4.1/debian/snort-pgsql.postinst
@@ -68,8 +68,18 @@
 DEBIAN_SNORT_STATS_RCPT=$STATS_RCPT
 DEBIAN_SNORT_STATS_THRESHOLD=$STATS_THRESHOLD
 EOF
+if [ -e /etc/snort/db-pending-config ] ; then
+	  STARTUP=manual
+	  echo
+	  echo /etc/snort/db-pending-config file found
+	  echo Snort will not start as its database is not yet configured.
+	  echo Please configure the database as described in
+	  echo /usr/share/doc/snort-pgsql/README-database.Debian
+	  echo and then remove /etc/snort/db-pending-config
+	fi
 
-	if [ -f /etc/snort/snort.conf ]; then
+if [ $STARTUP != manual ]; then
+	  if [ -f /etc/snort/snort.conf ]; then
 		# insert database config stuff in the configuration file,
 		# or configure it for syslog-logging.
 		db_get snort-pgsql/configure_db
@@ -133,8 +143,8 @@
 			chown root:snort /etc/snort/snort.conf
 			chmod 640 /etc/snort/snort.conf
 		fi
+	  fi
 	fi
-
 	db_stop
 
 	# Check for left-over files from woody packages.
diff -u snort-2.8.4.1/debian/snort-mysql.postinst snort-2.8.4.1/debian/snort-mysql.postinst
--- snort-2.8.4.1/debian/snort-mysql.postinst
+++ snort-2.8.4.1/debian/snort-mysql.postinst
@@ -69,7 +69,18 @@
 DEBIAN_SNORT_STATS_THRESHOLD=$STATS_THRESHOLD
 EOF
 
-	if [ -f /etc/snort/snort.conf ]; then
+	if [ -e /etc/snort/db-pending-config ] ; then
+	  STARTUP=manual
+	  echo
+	  echo /etc/snort/db-pending-config file found
+	  echo Snort will not start as its database is not yet configured.
+	  echo Please configure the database as described in
+	  echo /usr/share/doc/snort-mysql/README-database.Debian
+	  echo and then remove /etc/snort/db-pending-config
+	fi
+
+	if [ $STARTUP != manual ]; then
+	  if [ -f /etc/snort/snort.conf ]; then
 		# insert database config stuff in the configuration file,
 		# or configure it for syslog-logging.
 		db_get snort-mysql/configure_db
@@ -133,8 +144,8 @@
 			chown root:snort /etc/snort/snort.conf
 			chmod 640 /etc/snort/snort.conf
 		fi
+	  fi
 	fi
-
 	db_stop
 
 	# Check for left-over files from woody packages.


Bug#543727: get-iplayer package should disable -u

2009-08-26 Thread Dave Walker (Daviey)
Package: get-iplayer
Version: 2.15-1
Severity: normal
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu karmic ubuntu-patch


As described, https://bugs.edge.launchpad.net/bugs/419226 , the get-iplayer 
-u option will attempt an in-place upgrade directly from upstream.  In normal 
usage, this command will fail as the application isn't normally run with root 
privileges.  The attached patch provides a basic configuration file that 
instructs get_iplayer to display a saner, apt based upgrade path.


-- System Information:
Debian Release: squeeze/sid
  APT prefers karmic-updates
  APT policy: (500, 'karmic-updates'), (500, 'karmic-security'), (500, 
'karmic-backports'), (500, 'karmic')
Architecture: i386 (i686)

Kernel: Linux 2.6.31-5-generic (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
diff -u get-iplayer-2.15/debian/changelog get-iplayer-2.15/debian/changelog
diff -u get-iplayer-2.15/debian/rules get-iplayer-2.15/debian/rules
--- get-iplayer-2.15/debian/rules
+++ get-iplayer-2.15/debian/rules
@@ -6,6 +6,7 @@
 override_dh_install:
 	dh_install get_iplayer usr/bin
 	dh_install plugins/*.plugin usr/share/get_iplayer/plugins
+	dh_install debian/options /etc/get_iplayer
 
 override_dh_installdocs:
 	dh_installdocs README.txt
diff -u get-iplayer-2.15/debian/control get-iplayer-2.15/debian/control
--- get-iplayer-2.15/debian/control
+++ get-iplayer-2.15/debian/control
@@ -1,9 +1,10 @@
 Source: get-iplayer
 Section: video
 Priority: optional
 Maintainer: Ross Burton r...@debian.org
 Build-Depends: debhelper (= 7)
-Standards-Version: 3.8.2
+Standards-Version: 3.8.3
 
 Package: get-iplayer
 Architecture: all
only in patch2:
unchanged:
--- get-iplayer-2.15.orig/debian/options
+++ get-iplayer-2.15/debian/options
@@ -0,0 +1,8 @@
+# get_iplayer options
+# ~~~
+#
+
+# The following blocks in-place updates, and 
+# instructs get_iplayer to display a saner 
+# apt method for upgrading.
+packagemanager apt-get


Bug#543727: bug 543727

2009-08-26 Thread Dave Walker
I've been discussing the issue with upstream, and they've now released a
new version (v2.21).

This new version looks for the settings file in:
/var/lib/get_iplayer/options to be more FHS complaint.

The upstream supplied error message on -u switch is also now more
suitable.

I would suggest an upgrade, and migrating the previous supplied patch to
the new options location.

Kind Regards,
Dave Walker



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