Bug#470535: openser: bug in creating necessary $HOMEDIR

Stefan Ebner hellboy195 at gmail.com
Tue Mar 11 20:15:39 UTC 2008


Package: openser
Version: 1.3.0-3
Severity: normal
Tags: patch
User: ubuntu-devel at lists.ubuntu.com
Usertags: origin-ubuntu hardy ubuntu-patch

It would be nice if you accept the attached patch so we can sync next time.
thanks :)

*** /tmp/tmpzACBC8
In Ubuntu, we've applied the attached patch to achieve the following:

  * Merge from Debian unstable. (LP: #198062) Remaining Ubuntu changes:
    - Modify Maintainer value to match the DebianMaintainerField specification.
  + debian/openser.init: (LP: #132656)
    - Fixed a bug in creating necessary $HOMEDIR
      Thanks to Marcos Hack for the hint and fix.
  
We thought you might be interested in doing the same. 


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

Kernel: Linux 2.6.24-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/bash
-------------- next part --------------
diff -u openser-1.3.0/debian/control openser-1.3.0/debian/control
--- openser-1.3.0/debian/control
+++ openser-1.3.0/debian/control
@@ -1,7 +1,8 @@
 Source: openser
 Section: net
 Priority: optional
-Maintainer: Debian VoIP Team <pkg-voip-maintainers at lists.alioth.debian.org>
+Maintainer: Ubuntu MOTU Developers <ubuntu-motu at lists.ubuntu.com>
+XSBC-Original-Maintainer: Debian VoIP Team <pkg-voip-maintainers at lists.alioth.debian.org>
 Uploaders: Julien BLACHE <jblache at debian.org>, Kilian Krause <kilian at debian.org>
 Build-Depends: debhelper (>= 5), dpatch, libmysqlclient15-dev, libexpat1-dev, libxml2-dev, libpq-dev, libradiusclient-ng-dev, flex, bison, zlib1g-dev, unixodbc-dev, libxmlrpc-c3-dev, libperl-dev, libsnmp-dev, dpkg-dev (>= 1.13.19), libdb-dev (>= 4.6.19), xsltproc, libconfuse-dev, libldap2-dev, libcurl4-gnutls-dev
 Standards-Version: 3.7.3
diff -u openser-1.3.0/debian/openser.init openser-1.3.0/debian/openser.init
--- openser-1.3.0/debian/openser.init
+++ openser-1.3.0/debian/openser.init
@@ -96,7 +96,7 @@
 fi
 
 # /var/run can be a tmpfs
-if [ -d $HOMEDIR ]; then
+if [ ! -d $HOMEDIR ]; then
     mkdir -p $HOMEDIR
 fi
 
diff -u openser-1.3.0/debian/changelog openser-1.3.0/debian/changelog


More information about the Pkg-voip-maintainers mailing list