From: "Ionen Wolkens" <ionen@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/beep/
Date: Sat, 04 Jan 2025 23:43:24 +0000 (UTC) [thread overview]
Message-ID: <1736034141.a8d7a87420bc34c9c9caadf12b606f5c7313dfb5.ionen@gentoo> (raw)
commit: a8d7a87420bc34c9c9caadf12b606f5c7313dfb5
Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 4 23:21:19 2025 +0000
Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Sat Jan 4 23:42:21 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a8d7a874
app-misc/beep: fix fcaps usage & adjust further
This does not run fcaps_pkg_postinst, so the array is never used.
Also:
1. little reason to use arrays if going to immediately run
fcaps_pkg_postinst on the next line (same for einstalldocs)
2. switch to 755 rather than 711, fcaps.eclass switched to allow
world read in commit f8642f4a3ef06b7b82985c9f770e5cda862adb54
and I see no no reason to override that default here
3. drop fperms line, the Makefile does not set a suid-bit and
defaults to 0755, so it's now redundant
4. use relative path for fcaps call, let eclass handle EROOT
5. fwiw drop INSTALL.md+PACKAGING.md, packager-intended docs are not
interesting for users... also makes the line break at <80 chars :)
Fixes: 01e878219667bf8ce1781f7b74758ecf40ecb80b
Closes: https://bugs.gentoo.org/947505
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>
.../{beep-1.4.12-r1.ebuild => beep-1.4.12-r2.ebuild} | 16 ++++------------
1 file changed, 4 insertions(+), 12 deletions(-)
diff --git a/app-misc/beep/beep-1.4.12-r1.ebuild b/app-misc/beep/beep-1.4.12-r2.ebuild
similarity index 80%
rename from app-misc/beep/beep-1.4.12-r1.ebuild
rename to app-misc/beep/beep-1.4.12-r2.ebuild
index 6615cc9f090a..723adb9759bc 100644
--- a/app-misc/beep/beep-1.4.12-r1.ebuild
+++ b/app-misc/beep/beep-1.4.12-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -34,20 +34,12 @@ src_prepare() {
src_install() {
dobin beep
- doman "${PN}.1"
-
- fperms 0711 /usr/bin/beep
-
- local DOCS=(
- CREDITS.md DEVELOPMENT.md INSTALL.md NEWS.md PACKAGING.md PERMISSIONS.md README.md
- )
- einstalldocs
+ doman ${PN}.1
+ dodoc CREDITS.md DEVELOPMENT.md NEWS.md PERMISSIONS.md README.md
}
pkg_postinst() {
- FILECAPS=(
- -m0711 cap_dac_override,cap_sys_tty_config "${EROOT}/usr/bin/beep"
- )
+ fcaps -m 0755 cap_dac_override,cap_sys_tty_config usr/bin/beep
elog "Please note that for security reasons, beep will no longer allow"
elog "to running w/ SUID or as root under sudo. You will need to give"
next reply other threads:[~2025-01-04 23:43 UTC|newest]
Thread overview: 55+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-01-04 23:43 Ionen Wolkens [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-03-08 18:54 [gentoo-commits] repo/gentoo:master commit in: app-misc/beep/ Arthur Zamarin
2025-03-08 15:52 Sam James
2025-03-08 15:03 Arthur Zamarin
2025-03-08 14:58 Arthur Zamarin
2025-03-08 14:25 Sam James
2025-03-08 14:09 Sam James
2025-01-24 19:54 Arthur Zamarin
2024-12-24 9:21 Sam James
2023-10-26 16:17 Arthur Zamarin
2023-10-20 20:18 Arthur Zamarin
2023-10-19 15:41 Sam James
2023-10-19 15:41 Sam James
2023-10-19 15:41 Sam James
2023-10-19 15:03 Sam James
2023-09-18 9:01 Sam James
2023-09-18 9:01 Sam James
2022-12-23 1:34 Sam James
2022-12-23 1:34 Sam James
2021-12-06 15:23 Sam James
2021-12-06 11:31 Agostino Sarubbo
2021-12-05 20:36 Arthur Zamarin
2021-12-05 18:39 Sam James
2021-12-05 5:18 Sam James
2021-09-23 8:20 Michał Górny
2020-06-23 7:28 Patrice Clement
2020-06-22 18:23 Sergei Trofimovich
2020-03-30 13:36 Agostino Sarubbo
2020-03-26 12:04 Agostino Sarubbo
2020-03-26 12:03 Agostino Sarubbo
2020-03-26 10:20 Agostino Sarubbo
2020-03-26 10:17 Agostino Sarubbo
2020-03-25 17:31 Thomas Deutschmann
2019-04-29 21:06 Aaron Bauman
2019-04-27 23:03 Aaron Bauman
2018-05-30 14:10 Aaron Bauman
2018-05-25 4:18 Matt Turner
2018-05-25 4:18 Matt Turner
2018-04-14 11:40 Markus Meier
2018-04-05 21:07 Sergei Trofimovich
2018-04-05 16:10 Tobias Klausmann
2018-04-05 13:43 Thomas Deutschmann
2018-04-05 3:29 Aaron Bauman
2017-08-03 22:41 Patrice Clement
2017-08-03 22:41 Patrice Clement
2016-05-20 20:31 Patrice Clement
2016-04-18 21:23 Patrice Clement
2016-02-01 9:36 Tobias Klausmann
2015-11-26 19:14 Markus Meier
2015-09-25 14:29 Agostino Sarubbo
2015-09-24 22:56 Patrice Clement
2015-08-28 21:37 Patrice Clement
2015-08-28 21:37 Patrice Clement
2015-08-28 21:37 Patrice Clement
2015-08-28 13:08 Patrice Clement
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1736034141.a8d7a87420bc34c9c9caadf12b606f5c7313dfb5.ionen@gentoo \
--to=ionen@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox