Re: [LCFC] templates://unixcw/{cwcp.templates,cw.templates}
Christian PERRIER wrote:
> This is the last call for comments for the review of debconf
> templates for unixcw.
Sorry, somehow I wasn't paying attention on the 25th, so some errors
crept through in the RFR2 stage - here's my patch at last.
> Template: cwcp/suid_bit
[...]
> _Description: Make cwcp setuid root?
Modify cwcp.templates and xcwcp.templates parallel to cw.templates.
> Template: cw/suid_bit
> Type: boolean
> Default: false
> _Description: Run cw with root privileges?
> If run with elevated privileges (which is not recommended), cw can
> produce sounds using the console buzzer.
Or to make this idiom less cryptic for non-native speakers,
s/If run/If it is run/.
> .
> Please choose whether this should be achieved by giving the
> executable the "setuid" attribute.
> .
> Alternative include running the program with sudo or eliminating this
^
Missing s
> issue completely by using output via a soundcard instead of the
> buzzer.
--
JBR with qualifications in linguistics, experience as a Debian
sysadmin, and probably no clue about this particular package
diff -ru unixcw-3.0.pristine/debian/control unixcw-3.0/debian/control
--- unixcw-3.0.pristine/debian/control 2011-12-11 12:35:07.000000000 +0000
+++ unixcw-3.0/debian/control 2012-01-05 10:52:34.411362190 +0000
@@ -12,55 +12,66 @@
Depends: ${shlibs:Depends}, ${misc:Depends}
Replaces: unixcw
Recommends: cw | cwcp | xcwcp
-Description: Shared library for Morse programs
- Shared library files for cw, cwcp and xcwcp programs.
- The library handles Morse code signals and generates sound
- on console buzzer or sound card through OSS or ALSA.
+Description: Morse code tutor - shared library
+ The unixcw project provides support for learning to use Morse code
+ over Continuous Wave radio.
+ .
+ This package provides shared library files to handle Morse code
+ signals and to generate sound on the console buzzer or a sound card
+ through OSS or ALSA.
Package: libcw3-dev
Section: libdevel
Architecture: any
Depends: libcw3 (= ${binary:Version}), ${misc:Depends}
Replaces: unixcw-dev
-Description: Development files for Morse programs
- Static library, headers and manual page for development of
- programs that handle (i.e. send and receive) Morse code.
+Description: Morse code tutor - development files
+ The unixcw project provides support for learning to use Morse code
+ over Continuous Wave radio.
+ .
+ This package provides the static library, headers, and manual page for
+ development of programs that handle (i.e. send and receive) Morse code.
Package: cw
Architecture: any
Depends: libcw3, ${shlibs:Depends}, ${misc:Depends}, debconf|debconf-2.0
-Description: Morse code tutor with command line user interface
- The package provides two executables:
- * cw - simple command line application that converts
- keyboard keys to Morse code that can be heard through
- console buzzer or sound card.
- * cwgen - program that generates groups of random
- characters for Morse code practice, that can be
- piped to cw program.
- .
- Package also includes examples files with embedded commands.
- These commands can be used to change speed, tone, spacing
- between characters and much more. The files have 'cw'
- extension.
+Description: Morse code tutor - command line user interface
+ The unixcw project provides support for learning to use Morse code
+ over Continuous Wave radio.
+ .
+ This package provides two executables:
+ * cw - a simple command line application that converts key-presses
+ to Morse code that can be heard through the console buzzer or a
+ sound card;
+ * cwgen - a program that generates groups of random characters for
+ Morse code practice, which can be piped to the cw program.
+ .
+ It also includes example files (with the extension "cw") containing
+ commands which can be used to change properties such as the speed,
+ tone, and spacing of characters.
Package: cwcp
Architecture: any
Depends: libcw3, ${shlibs:Depends}, ${misc:Depends}, debconf|debconf-2.0
-Description: Morse code tutor, text user interface
- Interactive Morse code tutor with text-based (ncurses) user
- interface. It allows menu selection from a number of sending
- modes, and also permits character sounding options, such as
- the tone pitch, and sending speed, to be varied from the
- keyboard using a full-screen user interface.
+Description: Morse code tutor - text user interface
+ The unixcw project provides support for learning to use Morse code
+ over Continuous Wave radio.
+ .
+ This package provides an interactive Morse code tutor with a
+ full-screen text-based (ncurses) user interface. It offers menu
+ selection of sending modes, and keyboard control of character
+ sounding options such as the sending speed and pitch.
Package: xcwcp
Architecture: any
Depends: libcw3, ${shlibs:Depends}, ${misc:Depends}, debconf|debconf-2.0
-Description: Morse code tutor, X Window user interface
- Interactive Morse code tutor with X Window-based (QT4)
- interface. It lets you choose from a number of options for
- practice, including sending random characters, random words,
- and characters from the keyboard. It will also receive Morse
- code that you send using the keyboard or mouse as a Morse
- keyer, and display the characters it sees.
-
+Description: Morse code tutor - graphical user interface
+ The unixcw project provides support for learning to use Morse code
+ over Continuous Wave radio.
+ .
+ This package provides an interactive Morse code tutor with a Qt4
+ user interface. It allows choosing from a number of options for
+ practice, including sending random characters, random words, and
+ characters from the keyboard. It will also receive Morse code sent
+ using the keyboard or mouse as a Morse keyer, and display the
+ characters it sees.
diff -ru unixcw-3.0.pristine/debian/cwcp.templates unixcw-3.0/debian/cwcp.templates
--- unixcw-3.0.pristine/debian/cwcp.templates 2011-12-01 19:29:14.000000000 +0000
+++ unixcw-3.0/debian/cwcp.templates 2012-01-05 10:56:56.523696339 +0000
@@ -1,10 +1,13 @@
Template: cwcp/suid_bit
Type: boolean
Default: false
-_Description: Make cwcp setuid root?
- cwcp can produce sounds using console buzzer, but this feature
- is available only if cwcp is run by root user.
- You can achieve this by setting setuid bit here (not recommended)
- or by running cwcp with sudo (also not recommended). You can also
- use soundcard output instead of console buzzer output and
- eliminate this problem completely.
+_Description: Run cwcp with root privileges?
+ If it is run with elevated privileges (which is not recommended), cwcp
+ can produce sounds using the console buzzer.
+ .
+ Please choose whether this should be achieved by giving the
+ executable the "setuid" attribute.
+ .
+ Alternatives include running the program with sudo or eliminating this
+ issue completely by using output via a soundcard instead of the
+ buzzer.
diff -ru unixcw-3.0.pristine/debian/cw.templates unixcw-3.0/debian/cw.templates
--- unixcw-3.0.pristine/debian/cw.templates 2011-12-01 19:29:03.000000000 +0000
+++ unixcw-3.0/debian/cw.templates 2012-01-05 10:54:08.239695690 +0000
@@ -1,10 +1,13 @@
Template: cw/suid_bit
Type: boolean
Default: false
-_Description: Make cw setuid root?
- cw can produce sounds using console buzzer, but this feature
- is available only if cw is run by root user.
- You can achieve this by setting setuid bit here (not recommended)
- or by running cw with sudo (also not recommended). You can also
- use soundcard output instead of console buzzer output and
- eliminate this problem completely.
+_Description: Run cw with root privileges?
+ If it is run with elevated privileges (which is not recommended), cw
+ can produce sounds using the console buzzer.
+ .
+ Please choose whether this should be achieved by giving the
+ executable the "setuid" attribute.
+ .
+ Alternatives include running the program with sudo or eliminating this
+ issue completely by using output via a soundcard instead of the
+ buzzer.
diff -ru unixcw-3.0.pristine/debian/xcwcp.templates unixcw-3.0/debian/xcwcp.templates
--- unixcw-3.0.pristine/debian/xcwcp.templates 2011-11-29 20:29:51.000000000 +0000
+++ unixcw-3.0/debian/xcwcp.templates 2012-01-05 11:10:01.783362188 +0000
@@ -1,10 +1,13 @@
Template: xcwcp/suid_bit
Type: boolean
Default: false
-_Description: Make xcwcp setuid root?
- xcwcp can produce sounds using console buzzer, but this feature
- is available only if xcwcp is run by root user.
- You can achieve this by setting setuid bit here (not recommended)
- or by running xcwcp with sudo (also not recommended). You can also
- use soundcard output instead of console buzzer output and
- eliminate this problem completely.
+_Description: Run xcwcp with root privileges?
+ If it is run with elevated privileges (which is not recommended), xcwcp
+ can produce sounds using the console buzzer.
+ .
+ Please choose whether this should be achieved by giving the
+ executable the "setuid" attribute.
+ .
+ Alternatives include running the program with sudo or eliminating this
+ issue completely by using output via a soundcard instead of the
+ buzzer.
Source: unixcw
Section: hamradio
Priority: optional
Maintainer: Debian Hamradio Maintainers <debian-hams@lists.debian.org>
Uploaders: Kamil Ignacak <acerion@wp.pl>, Kamal Mostafa <kamal@whence.com>
Standards-Version: 3.9.2
Build-Depends: debhelper (>=7), libasound2-dev, libqt4-dev, libncurses5-dev, po-debconf, autotools-dev, mawk|gawk
Homepage: http://unixcw.sourceforge.net/
Package: libcw3
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}
Replaces: unixcw
Recommends: cw | cwcp | xcwcp
Description: Morse code tutor - shared library
The unixcw project provides support for learning to use Morse code
over Continuous Wave radio.
.
This package provides shared library files to handle Morse code
signals and to generate sound on the console buzzer or a sound card
through OSS or ALSA.
Package: libcw3-dev
Section: libdevel
Architecture: any
Depends: libcw3 (= ${binary:Version}), ${misc:Depends}
Replaces: unixcw-dev
Description: Morse code tutor - development files
The unixcw project provides support for learning to use Morse code
over Continuous Wave radio.
.
This package provides the static library, headers, and manual page for
development of programs that handle (i.e. send and receive) Morse code.
Package: cw
Architecture: any
Depends: libcw3, ${shlibs:Depends}, ${misc:Depends}, debconf|debconf-2.0
Description: Morse code tutor - command line user interface
The unixcw project provides support for learning to use Morse code
over Continuous Wave radio.
.
This package provides two executables:
* cw - a simple command line application that converts key-presses
to Morse code that can be heard through the console buzzer or a
sound card;
* cwgen - a program that generates groups of random characters for
Morse code practice, which can be piped to the cw program.
.
It also includes example files (with the extension "cw") containing
commands which can be used to change properties such as the speed,
tone, and spacing of characters.
Package: cwcp
Architecture: any
Depends: libcw3, ${shlibs:Depends}, ${misc:Depends}, debconf|debconf-2.0
Description: Morse code tutor - text user interface
The unixcw project provides support for learning to use Morse code
over Continuous Wave radio.
.
This package provides an interactive Morse code tutor with a
full-screen text-based (ncurses) user interface. It offers menu
selection of sending modes, and keyboard control of character
sounding options such as the sending speed and pitch.
Package: xcwcp
Architecture: any
Depends: libcw3, ${shlibs:Depends}, ${misc:Depends}, debconf|debconf-2.0
Description: Morse code tutor - graphical user interface
The unixcw project provides support for learning to use Morse code
over Continuous Wave radio.
.
This package provides an interactive Morse code tutor with a Qt4
user interface. It allows choosing from a number of options for
practice, including sending random characters, random words, and
characters from the keyboard. It will also receive Morse code sent
using the keyboard or mouse as a Morse keyer, and display the
characters it sees.
Template: cw/suid_bit
Type: boolean
Default: false
_Description: Run cw with root privileges?
If it is run with elevated privileges (which is not recommended), cw
can produce sounds using the console buzzer.
.
Please choose whether this should be achieved by giving the
executable the "setuid" attribute.
.
Alternatives include running the program with sudo or eliminating this
issue completely by using output via a soundcard instead of the
buzzer.
Template: cwcp/suid_bit
Type: boolean
Default: false
_Description: Run cwcp with root privileges?
If it is run with elevated privileges (which is not recommended), cwcp
can produce sounds using the console buzzer.
.
Please choose whether this should be achieved by giving the
executable the "setuid" attribute.
.
Alternatives include running the program with sudo or eliminating this
issue completely by using output via a soundcard instead of the
buzzer.
Template: xcwcp/suid_bit
Type: boolean
Default: false
_Description: Run xcwcp with root privileges?
If it is run with elevated privileges (which is not recommended), xcwcp
can produce sounds using the console buzzer.
.
Please choose whether this should be achieved by giving the
executable the "setuid" attribute.
.
Alternatives include running the program with sudo or eliminating this
issue completely by using output via a soundcard instead of the
buzzer.
Reply to: