On jeu., 2012-05-31 at 16:40 +0200, Martin Pitt wrote:
> Hello Yves-Alexis,
> 
> Yves-Alexis Perez [2012-05-31 16:07 +0200]:
> > Any news on this? Want me to upload an NMU?
> 
> Please go ahead. This is a really old and obsolete package, I consider
> it pretty much fair game.
> 
Here's the bzr diff of the package I'm uploading (I'm pretty much
clueless with bzr and I don't think I have commit access so I'd prefer
you commit it yourself :)

Regards,
-- 
Yves-Alexis
=== modified file 'debian/changelog'
--- debian/changelog	2010-08-06 17:15:04 +0000
+++ debian/changelog	2012-06-01 07:34:06 +0000
@@ -1,3 +1,15 @@
+sysfsutils (2.1.0+repack-1.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * debian/sysfsutils.init:
+    - add support for changing permissions of folders too.      closes: #658365
+  * debian/control:
+    - fix typo in long description.
+    - add build-dep on autotools-dev to replace ancient autotools helpers.
+    - update standards version to 3.9.3. 
+
+ -- Yves-Alexis Perez <[email protected]>  Fri, 01 Jun 2012 09:34:05 +0200
+
 sysfsutils (2.1.0+repack-1) unstable; urgency=low
 
   * Drop tarball.mk and tar-in-tar packaging and use upstream tarball as

=== modified file 'debian/control'
--- debian/control	2010-08-06 17:07:31 +0000
+++ debian/control	2012-06-01 07:33:48 +0000
@@ -2,8 +2,8 @@
 Section: libs
 Priority: extra
 Maintainer: Martin Pitt <[email protected]>
-Build-Depends: cdbs, debhelper (>= 7), chrpath
-Standards-Version: 3.9.1
+Build-Depends: cdbs, debhelper (>= 7), chrpath, autotools-dev
+Standards-Version: 3.9.3
 Vcs-Bzr: https://code.launchpad.net/~ubuntu-core-dev/sysfsutils/debian
 
 Package: libsysfs-dev
@@ -45,7 +45,7 @@
  it: it can list devices by bus, class, and topology.
  .
  In addition this package ships a configuration file /etc/sysfs.conf which
- allows to conveniently set sysfs attributes at system bootup (in the init
+ allows one to conveniently set sysfs attributes at system bootup (in the init
  script /etc/init.d/sysfsutils).
  .
  If you need sysfs queries in own programs, then you may want to use the

=== modified file 'debian/sysfsutils.init'
--- debian/sysfsutils.init	2010-08-06 17:11:58 +0000
+++ debian/sysfsutils.init	2012-05-31 14:44:52 +0000
@@ -32,7 +32,7 @@
               $CONFFILE | {
 	    while read f1 f2 f3; do
                 if [ "$f1" = "mode" -a -n "$f2" -a -n "$f3" ]; then
-                    if [ -f "/sys/$f2" ]; then
+                    if [ -f "/sys/$f2" ] || [ -d "/sys/$f2" ]; then
                         chmod "$f3" "/sys/$f2"
                     else
                         log_failure_msg "unknown attribute $f2"

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

Reply via email to