Commit graph

91 commits

Author SHA1 Message Date
Hans Ulrich Niedermann
c856d6be9c Remove all module dependencies
Remove all kmod(pcspkr.ko) dependencies as

    https://bugzilla.redhat.com/show_bug.cgi?id=1652823

shows dnf would just install the wrong package.

So instead, we document that the user has to explicitly
install the kernel-modules-extra package.
2021-03-25 21:39:59 +01:00
Hans Ulrich Niedermann
2b9e64956b Add "Recommends: kmod(pcspkr.ko)"
We "recommend" the kernel driver and do not "require" it in order to
not break cases where beep is installed on systems other than
bare-metal PC hardware such as containers.

This assumes the people using the "beep" package can deal with a
"beep" invocation not producing a beep on those other systems.

The alternative would be to "require" the kernel driver which would
mean that you could not install beep inside a container, even if
that container is run in a priviledged way with access to the host's
pcspkr.ko.

While the kernel supports more speaker drivers, the only hardware
platforms with a speaker driver supported by Fedora use pcspkr.ko
(PCSPKR_PLATFORM in the kernel config).

Slightly (but not quite) similar packages would be floppy-support
and joystick-support which both "require" their respective kernel
drivers, but they make less sense inside containers.
2021-03-25 17:13:42 +01:00
Hans Ulrich Niedermann
c3ad7fc60d Update README.fedora to match beep-1.4.x permission setup 2021-03-25 16:59:38 +01:00
Hans Ulrich Niedermann
47695ab281 Fix indentation of "BuildRequires: make"
The "BuildRequires: make" was added by a script running
through all of Fedora, so they did not check that the
indentation matches that of the surrounding lines of
spec file.

This adapts this line to match the indentation of the
other lines in the spec file.
2021-03-25 16:26:28 +01:00
Fedora Release Engineering
05b52566e2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-26 01:03:25 +00:00
Tom Stellard
e3e5a10920 Add BuildRequires: make
https://fedoraproject.org/wiki/Changes/Remove_make_from_BuildRoot
2020-12-17 02:48:56 +00:00
Fedora Release Engineering
c0fc048978 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-27 13:02:28 +00:00
Fedora Release Engineering
b17da1af4c - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-28 12:51:16 +00:00
Hans Ulrich Niedermann
24330ac51e Update to beep-1.4.7
Update to beep-1.4.7:

  - Install contrib scripts for both successfully and
    failing sounding beeps.

  - beep installs its man page uncompressed, so the
    spec file can stop unzipping it for the packaging
    scripts to be able to do their compression magic.
2020-01-01 22:51:17 +01:00
Hans Ulrich Niedermann
4f70157bb9 Grammatical fixes for %description 2020-01-01 22:44:23 +01:00
Hans Ulrich Niedermann
a794ec4747 Update to the beep-1.4.6 release
Summary of the changes compared to the beep-1.4.4 release:

  * Use va_copy() macro in function with va_list parameter
    to avoid possible bug

  * Use BEEP_LOG_LEVEL environment variable for default log level
2019-12-20 06:20:53 +01:00
Fedora Release Engineering
b8d4138ba1 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-24 19:10:24 +00:00
Hans Ulrich Niedermann
9bbcce32d1 Update to beep-1.4.4 release
Summary of the changes in the beep-1.4.4 release:

  * ship our own modprobe.d and udev rules.d files

  * install udev rules into /usr/lib/udev/rules.d/
    (if the sysadmin want their own rules, they can
    add them to /etc/udev/rules.d/)

  * new out of the box permission setup: allow local
    users and "beep" group

  * add note on using sox/play with modern sound infrastructure

  * adapt beep(1) man page to mention README.fedora

  * set compiler flags for "make install" (just in case)

  * install extra source files directly from %{SOURCEn}

  * ship the installed doc files as %doc (no need to install
    them from source)
2019-04-02 20:15:29 +02:00
Fedora Release Engineering
b8c78793f0 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-01-31 14:31:30 +00:00
Hans Ulrich Niedermann
704d834cd4 Update to beep-1.4.3 2019-01-18 03:23:26 +01:00
Hans Ulrich Niedermann
14bf4ee547 Change directory Requires to use package names
This should avoid the errors thrown by the automated dist.rpmdeplint.
2019-01-15 20:47:23 +01:00
Hans Ulrich Niedermann
ff47ff157f Update to 1.4.1 2019-01-08 08:00:43 +01:00
Hans Ulrich Niedermann
cbc662f837 clean up specfile with new guidelines in hand 2019-01-08 07:59:39 +01:00
Hans Ulrich Niedermann
5d7189e984 beep-1.4.0-1
Update to beep-1.4.0.
2019-01-04 13:20:18 +01:00
Hans Ulrich Niedermann
1ddc1b2250 1.3-26: Use new beep group evdev device based permissions
Also refuse to run via setuid or sudo to avoid security risks.
2018-12-29 05:33:29 +01:00
Hans Ulrich Niedermann
9e5d2cb25f clean up and ignore some rpmlint issues 2018-12-28 06:47:06 +01:00
Hans Ulrich Niedermann
83ca10bffe Exit beep when error accessing API 2018-12-28 06:10:17 +01:00
Hans Ulrich Niedermann
f52e0c5d04 Proper naming of Patch14 2018-12-28 06:08:24 +01:00
Hans Ulrich Niedermann
3e20e82c0e Fix Patch9 to work as non-git patch (do the rest with shell) 2018-12-28 06:08:07 +01:00
Hans Ulrich Niedermann
46854cdff2 Actually apply the patches, update FSF address 2018-12-28 05:42:40 +01:00
Hans Ulrich Niedermann
3159d4c4cd add package.cfg 2018-12-28 04:13:39 +01:00
Hans Ulrich Niedermann
4cec4a8fa4 1.3-23: Fix CVE-2018-1000532 and other things 2018-12-28 04:09:01 +01:00
Hans Ulrich Niedermann
8ddc3d5483 Replace beep's default compiler flags with ours 2018-12-28 01:38:50 +01:00
Igor Gnatenko
160daf3efb
Add missing BuildRequires on gcc
make: gcc: Command not found

References: https://bugzilla.redhat.com/show_bug.cgi?id=1603473
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-07-24 17:01:06 +02:00
Fedora Release Engineering
e88478864b - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-12 21:01:08 +00:00
Hans Ulrich Niedermann
6ffab0a44c Add fix for multiple -f params to rpm changelog 2018-04-03 19:34:09 +02:00
Hans Ulrich Niedermann
d37578b06a patch cleanup and re-update from git
This cleans up the 00*-*.patch a bit which are generated
by `git format-patch -o .. -N beep-1.3-release`.
2018-04-03 19:31:35 +02:00
Hans Ulrich Niedermann
bafa252a73 beep-1.3-21: Apply CVE-2018-0492 patch.
Bump release to beep-1.3-21: Apply CVE-2018-0492 patch.
2018-04-03 19:31:04 +02:00
Hans Ulrich Niedermann
c606972004 Make effect of multiple -f parameters match documentation 2018-04-03 16:37:29 +02:00
Hans Ulrich Niedermann
654e5d8887 Improve comment explaining beep.{sh,csh} profile files 2018-04-03 16:37:29 +02:00
Igor Gnatenko
12cbd28107
Remove %clean section
None of currently supported distributions need that.
Last one was EL5 which is EOL for a while.

Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-02-14 07:53:07 +01:00
Fedora Release Engineering
9b3f1d9c02 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-02-07 03:43:26 +00:00
Fedora Release Engineering
b1e095d97a - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild 2017-08-02 18:10:34 +00:00
Fedora Release Engineering
322ce2bffe - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 2017-07-26 03:52:32 +00:00
Fedora Release Engineering
61194acfe1 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild 2017-02-10 06:48:16 +00:00
Hans Ulrich Niedermann
e468bae2eb Use more appropriate sox play example in README.fedora 2016-05-31 22:23:48 +02:00
Hans Ulrich Niedermann
a4231f55ef Add shell aliases to allow non-root users to run beep from the shell 2016-05-31 20:47:05 +02:00
Hans Ulrich Niedermann
08e29442a5 Remove spec file conditional required in Fedora 12 times 2016-05-31 18:07:17 +02:00
Hans Ulrich Niedermann
9b271ba1b3 Put quotes into %%install shell script 2016-05-31 18:07:17 +02:00
Hans Ulrich Niedermann
80295a81b2 RPM spec file changelog capitalization fix 2016-05-31 18:07:17 +02:00
Hans Ulrich Niedermann
67e6aabedc Document how non-root users can run beep via sudo (#1133231) 2016-05-31 18:07:17 +02:00
Hans Ulrich Niedermann
450ec29ae7 remove useless %%defattr for clarity 2016-05-17 02:09:45 +02:00
Dennis Gilmore
0e50fe895d - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild 2016-02-03 16:57:38 +00:00
Hans Ulrich Niedermann
e856c555b5 Merge branch 'f22' into f23
Conflicts:
	beep.spec
2016-01-18 00:19:13 +01:00
Hans Ulrich Niedermann
b469a4e44f Do not replace config file modprobe.d/beep.conf (#1087616) 2016-01-18 00:17:53 +01:00