Your message dated Sun, 19 Dec 2010 13:47:09 +0000
with message-id <[email protected]>
and subject line Bug#607128: fixed in acpi-support 0.138-5
has caused the Debian Bug report #607128,
regarding acpi-support: device-funcs, no forks
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
607128: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=607128
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: acpi-support
Version: 0.138-4
Severity: normal
Tags: patch

var=`cat file | sed -e 's/ *$//'`

can be replaced by:

var=`sed -e 's/ *$//' file`

or:

read var <file

the later being most efficient.


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

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

Versions of packages acpi-support depends on:
ii  acpi-fakekey                  0.138-4    tool to generate fake key events
ii  acpi-support-base             0.138-4    scripts for handling base ACPI eve
ii  acpid                         1:2.0.7-1  Advanced Configuration and Power I
ii  lsb-base                      3.2-26     Linux Standard Base 3.2 init scrip
ii  pm-utils                      1.3.0-3    utilities and scripts for power ma
ii  x11-xserver-utils             7.5+2      X server utilities

Versions of packages acpi-support recommends:
ii  dbus                          1.2.24-3   simple interprocess messaging syst
pn  radeontool                    <none>     (no description available)
ii  vbetool                       1.1-2      run real-mode video BIOS code to a
pn  xscreensaver | gnome-screensa <none>     (no description available)

Versions of packages acpi-support suggests:
ii  rfkill                        0.4-1      tool for enabling and disabling wi
ii  xinput                        1.5.2-1    Runtime configuration and test of

-- no debconf information


Cheers,

-- 
Cristian
--- ./debian/acpi-support/usr/share/acpi-support/device-funcs.orig	2010-12-14 11:37:17.000000000 +0100
+++ ./debian/acpi-support/usr/share/acpi-support/device-funcs	2010-12-14 21:24:06.000000000 +0100
@@ -1,7 +1,7 @@
 
 DeviceConfig() {
-    manufacturer=`cat /sys/class/dmi/id/sys_vendor|sed -e 's/ *$//'`
-    model=`cat /sys/class/dmi/id/product_name|sed -e 's/ *$//'`
-    version=`cat /sys/class/dmi/id/product_version|sed -e 's/ *$//'`
-    bios_version=`cat /sys/class/dmi/id/bios_version|sed -e 's/ *$//'`
+    read manufacturer </sys/class/dmi/id/sys_vendor
+    read model </sys/class/dmi/id/product_name
+    read version </sys/class/dmi/id/product_version
+    read bios_version </sys/class/dmi/id/bios_version
 }

--- End Message ---
--- Begin Message ---
Source: acpi-support
Source-Version: 0.138-5

We believe that the bug you reported is fixed in the latest version of
acpi-support, which is due to be installed in the Debian FTP archive:

acpi-fakekey_0.138-5_amd64.deb
  to main/a/acpi-support/acpi-fakekey_0.138-5_amd64.deb
acpi-support-base_0.138-5_all.deb
  to main/a/acpi-support/acpi-support-base_0.138-5_all.deb
acpi-support_0.138-5.diff.gz
  to main/a/acpi-support/acpi-support_0.138-5.diff.gz
acpi-support_0.138-5.dsc
  to main/a/acpi-support/acpi-support_0.138-5.dsc
acpi-support_0.138-5_all.deb
  to main/a/acpi-support/acpi-support_0.138-5_all.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Michael Meskes <[email protected]> (supplier of updated acpi-support package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Sun, 19 Dec 2010 14:27:15 +0100
Source: acpi-support
Binary: acpi-support acpi-support-base acpi-fakekey
Architecture: source all amd64
Version: 0.138-5
Distribution: unstable
Urgency: low
Maintainer: Debian Acpi Team <[email protected]>
Changed-By: Michael Meskes <[email protected]>
Description: 
 acpi-fakekey - tool to generate fake key events
 acpi-support - scripts for handling many ACPI events
 acpi-support-base - scripts for handling base ACPI events such as the power 
button
Closes: 607061 607096 607111 607128 607435
Changes: 
 acpi-support (0.138-5) unstable; urgency=low
 .
   * Test availability of state-funcs before using it. (Closes: #607435)
   * Also fix CheckPolicy usage in example.
   * Fixed power.sh to not run a subshell for a simple test. (Closes:
     #607061)
   * Joined screenblank patches into one and simplified it some. (Closes:
     #607096)
   * Make state-funcs more efficient and support iw alongside iwconfig.
     (Closes: #607111) - thanks to Cristian Ionescu-Idbohrn
     <[email protected]>
   * Make device-funcs work without forking. (Closes: #607128) - thanks
     to Cristian Ionescu-Idbohrn <[email protected]>
   * As per recommendation on debian-devel acpi-support-base now depends
     on kbd instead of console-tools.
Checksums-Sha1: 
 aa673aa875184fdd4f86c496556ddcca42f4a2bc 1234 acpi-support_0.138-5.dsc
 7562c5e68fb8a27ebfbc1358103ce00bf5fcd384 60794 acpi-support_0.138-5.diff.gz
 0f276fe98a78ed5e8b098e9f57373ec22ddce485 51226 acpi-support_0.138-5_all.deb
 a003719fe1c7cf60968b3097ff4e03fca0953706 20442 
acpi-support-base_0.138-5_all.deb
 e39b4de6f0f87e73c7e9170617c343baf3d75d55 22494 acpi-fakekey_0.138-5_amd64.deb
Checksums-Sha256: 
 093031a7af91047bb84d1b7348734f8d356f41d0f997443c3b5b2f3e6adf1f04 1234 
acpi-support_0.138-5.dsc
 09e806684dda66d1c802babaa53aafa56707884f04e8e3e8802dd69e339c2661 60794 
acpi-support_0.138-5.diff.gz
 cc2495702eadcc995f578a44ed6e3e8d9c811a0135ce00002fa91649193d8cae 51226 
acpi-support_0.138-5_all.deb
 e905362bc319aca1a1c0bd7889f29a2494dae4c5bd878d9ae5555a3650d638c9 20442 
acpi-support-base_0.138-5_all.deb
 4b2b5a37af70fea61e21d79356d5cd54b12c54274895cdb1770e278fcfceecc2 22494 
acpi-fakekey_0.138-5_amd64.deb
Files: 
 e3170f0858cad5223b936d656e9def6b 1234 admin optional acpi-support_0.138-5.dsc
 54efc7e9fcccef21edb4ea2f3a3a3886 60794 admin optional 
acpi-support_0.138-5.diff.gz
 973b2252dd66d73413612397ba0b7be5 51226 admin optional 
acpi-support_0.138-5_all.deb
 dd1fc2c08290ea261f36cfd0524a015b 20442 admin optional 
acpi-support-base_0.138-5_all.deb
 1966cff163b40b26b989c727052952ba 22494 admin optional 
acpi-fakekey_0.138-5_amd64.deb

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

iD8DBQFNDgoXVkEm8inxm9ERAitDAJ9aTrlYiyJbgzS9xseu9Tqb4zu2FgCfYJdp
B+c9xmWKBkabSS/GSg+VVew=
=Svn8
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to