Your message dated Sat, 04 Dec 2021 23:34:03 +0000
with message-id <[email protected]>
and subject line Bug#772286: fixed in olpc-powerd 23-3
has caused the Debian Bug report #772286,
regarding olpc-powerd: bashism in /bin/sh script
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.)
--
772286: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=772286
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: olpc-powerd
Severity: important
Version: 23-2
User: [email protected]
Usertags: goal-dash
Hi,
I've ran checkbashisms (from the 'devscripts' package) over the whole
archive and I found that your package has a /bin/sh script that uses a
"bashism".
checkbashisms' output:
> possible bashism in ./usr/bin/powerd-config line 194 (setvar 'foo' 'bar'
> should be eval 'foo="'"$bar"'"'):
> setvar config_BATTERY_TIME_DIM $bat_dim
> possible bashism in ./usr/bin/powerd-config line 195 (setvar 'foo' 'bar'
> should be eval 'foo="'"$bar"'"'):
> setvar config_BATTERY_TIME_SLEEP $bat_sleep
> possible bashism in ./usr/bin/powerd-config line 196 (setvar 'foo' 'bar'
> should be eval 'foo="'"$bar"'"'):
> setvar config_BATTERY_TIME_BLANK $bat_blank
> possible bashism in ./usr/bin/powerd-config line 197 (setvar 'foo' 'bar'
> should be eval 'foo="'"$bar"'"'):
> setvar config_EBOOK_TIME_DIM $ebook_dim
> possible bashism in ./usr/bin/powerd-config line 198 (setvar 'foo' 'bar'
> should be eval 'foo="'"$bar"'"'):
> setvar config_EBOOK_TIME_SLEEP $ebook_sleep
> possible bashism in ./usr/bin/powerd-config line 199 (setvar 'foo' 'bar'
> should be eval 'foo="'"$bar"'"'):
> setvar config_EBOOK_TIME_BLANK $ebook_blank
> possible bashism in ./usr/bin/powerd-config line 200 (setvar 'foo' 'bar'
> should be eval 'foo="'"$bar"'"'):
> setvar config_PLUGGED_TIME_DIM $plug_dim
> possible bashism in ./usr/bin/powerd-config line 201 (setvar 'foo' 'bar'
> should be eval 'foo="'"$bar"'"'):
> setvar config_PLUGGED_TIME_SLEEP $plug_sleep
> possible bashism in ./usr/bin/powerd-config line 202 (setvar 'foo' 'bar'
> should be eval 'foo="'"$bar"'"'):
> setvar config_PLUGGED_TIME_BLANK $plug_blank
> possible bashism in ./usr/bin/powerd-config line 204 (setvar 'foo' 'bar'
> should be eval 'foo="'"$bar"'"'):
> setvar config_IDLE_DIM_LEVEL $idledim
> possible bashism in ./usr/bin/powerd-config line 205 (setvar 'foo' 'bar'
> should be eval 'foo="'"$bar"'"'):
> setvar config_MESH_DURING_SUSPEND $(yes_no $wlanpower)
> possible bashism in ./usr/bin/powerd-config line 206 (setvar 'foo' 'bar'
> should be eval 'foo="'"$bar"'"'):
> setvar config_WAKE_ON_WLAN $(yes_no $wlanwake)
> possible bashism in ./usr/bin/powerd-config line 207 (setvar 'foo' 'bar'
> should be eval 'foo="'"$bar"'"'):
> setvar config_MAX_SLEEP_BEFORE_SHUTDOWN $maxsleep
> possible bashism in ./usr/bin/powerd-config line 208 (setvar 'foo' 'bar'
> should be eval 'foo="'"$bar"'"'):
> setvar config_ALLOW_SHUTDOWN_WHEN_PLUGGED $(yes_no $allowshut)
> possible bashism in ./usr/bin/powerd-config line 209 (setvar 'foo' 'bar'
> should be eval 'foo="'"$bar"'"'):
> setvar config_SLEEP_WHEN_LID_CLOSED $(yes_no $lidsleep)
> possible bashism in ./usr/bin/powerd-config line 210 (setvar 'foo' 'bar'
> should be eval 'foo="'"$bar"'"'):
> setvar config_CONFIRM_SECONDS $splashdelay
Not using bash (or a Debian Policy compliant shell interpreter that doesn't
provide such an extra feature) as /bin/sh is likely to lead to errors or
unexpected behaviours. Please be aware that dash is the default /bin/sh.
Please closely examine the above output and the script, and determine
what the proper severity of the bug is, and adjust it accordingly. If
it's important or greater please hurry to get this fixed for jessie.
Hints about how to fix bashisms can be found at:
https://wiki.ubuntu.com/DashAsBinSh
Thanks in advance,
Raphael Geissert
--- End Message ---
--- Begin Message ---
Source: olpc-powerd
Source-Version: 23-3
Done: Andres Salomon <[email protected]>
We believe that the bug you reported is fixed in the latest version of
olpc-powerd, which is due to be installed in the Debian FTP archive.
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.
Andres Salomon <[email protected]> (supplier of updated olpc-powerd 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: SHA256
Format: 1.8
Date: Sat, 04 Dec 2021 22:48:41 +0000
Source: olpc-powerd
Architecture: source
Version: 23-3
Distribution: unstable
Urgency: low
Maintainer: Debian QA Group <[email protected]>
Changed-By: Andres Salomon <[email protected]>
Closes: 772286
Changes:
olpc-powerd (23-3) unstable; urgency=low
.
* Orphaning this package. I no longer own any OLPC hardware.
* Bump standards-version and debhelper compat, & clean up lintian stuff.
* Specify that root isn't required to build package.
* Set source package format to 3.0 and add quilt patches.
* Update debian/copyright for DEP5.
* Depend on lsb-base.
* Depend on bash, and patch for #!/bin/bash where needed (closes: #772286).
Checksums-Sha1:
1ce9283727c4ba600f1d7ea5add1658c2a3654f7 1710 olpc-powerd_23-3.dsc
e597523fcdd9c7cf2de2d4b2bae233d53c825b79 4380 olpc-powerd_23-3.debian.tar.xz
f0bf1bfae276ed4f9d37b1baf1ed1e2f4d1367d3 5363 olpc-powerd_23-3_source.buildinfo
Checksums-Sha256:
afc83adc51c5e0edae22365d2d6a953f745034971db3be4e02208a865efa175b 1710
olpc-powerd_23-3.dsc
d76b58bbd792be032adfef959ce857cbc256dd9d1a5917bcb0fba01f555ca1da 4380
olpc-powerd_23-3.debian.tar.xz
9e21cbeb4e31603caa2f03c3312de1a5a020774da43eb81a7a973dc5c7648e87 5363
olpc-powerd_23-3_source.buildinfo
Files:
265f0f1e8a9c4dcc9b88ac3bdbb78877 1710 admin optional olpc-powerd_23-3.dsc
9bea2d1e2f19e943cca46f6645cb2cd3 4380 admin optional
olpc-powerd_23-3.debian.tar.xz
d997dba2a731e43f9ab332c4b9b15649 5363 admin optional
olpc-powerd_23-3_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJIBAEBCAAyFiEEUAUk+X1YiTIjs19qZF0CR8NudjcFAmGr+LYUHGRpbGluZ2Vy
QGRlYmlhbi5vcmcACgkQZF0CR8NudjffUQ//QbwINchanqWeNQv1tJ/O1A8Z0cx+
BEijCAk4t0AHEI7/OdwyDimm/nc4fvSIHhdknHa28W3vStZloKHdh7qmKdkiFkF6
CfdpqOQBBppycXc6gpJsW4Oc+QBrVgaBeTnz/fOg57iX0QL/QAOkEUpVJ1bpi8gv
biggs2KAYpEF1OnPHmy2fzzb1lCI0fOWAsQH+77+qGteHxoJm481F0fSk7EkZJ1d
v274icKVWIi+OLELnFK0J9WwouAq8PxoiVZcLnB3wzqaM1SsHtUpoovpMntuduuP
cLeFKMA0xOuJaoPehGYNDN6Xk8x7/3VVvA9mCrJccwHPF1brgYvTb4V+x4xRRKcQ
f9TEJuoni/ftFxTnx6p4pOzU7IFa9wi27+2b4PY/TxLqnqcbsUps6pWf0F1JN3Kk
FOKVqBs5iCystGFPc5RZIw1OK/hddRzRk//0ChUko3t1ePNSulBIvl+O2EwifXrb
2F64yTFvX5wQn6UR3NaP1Sziv9oBKE7Ezl/tFrqunt6Y4NAjSzHSvWJLj1+CCXrJ
FerTVsKgXqckIEmbgFx1meC3DC0xdRU0GsQvca879RlygcrMFCXILPwxXtJcdx4R
XeazSUiA3VHHKW+Z9JzQ7aihWw1qVYak6bOgRzAJqsJn7qa7M2YNYK9z2Hsw8kb+
3O0klmRM1Nb0ODk=
=9Rxu
-----END PGP SIGNATURE-----
--- End Message ---