From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id A7F681581CA for ; Thu, 12 Jun 2025 12:25:31 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 6107C341E96 for ; Thu, 12 Jun 2025 12:25:31 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 5D3511104DB; Thu, 12 Jun 2025 12:25:30 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 53C711104DB for ; Thu, 12 Jun 2025 12:25:30 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 0A9B3341E83 for ; Thu, 12 Jun 2025 12:25:30 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 795902356 for ; Thu, 12 Jun 2025 12:25:28 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1749730922.b9e139ebe68cde32d1c4e5d099d2345f88b0dba5.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/udevil/files/, sys-apps/udevil/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-apps/udevil/files/udevil-0.4.4-no-conf.d.patch sys-apps/udevil/udevil-0.4.4-r5.ebuild X-VCS-Directories: sys-apps/udevil/ sys-apps/udevil/files/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: b9e139ebe68cde32d1c4e5d099d2345f88b0dba5 X-VCS-Branch: master Date: Thu, 12 Jun 2025 12:25:28 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: a2c9b3ad-b678-439a-af84-ce544cdc9b97 X-Archives-Hash: ab033aa9c0549b2f780d3c16fc2bfb0c commit: b9e139ebe68cde32d1c4e5d099d2345f88b0dba5 Author: Hoël Bézier riseup net> AuthorDate: Sat May 17 20:29:44 2025 +0000 Commit: Sam James gentoo org> CommitDate: Thu Jun 12 12:22:02 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b9e139eb sys-apps/udevil: do not install /etc/conf.d/devmon, bug #832907 Do not install the /etc/conf.d/devmon configuration file. It was only used to set arguments to the devmon@.service systemd unit and defaulted to no arguments. Closes: https://bugs.gentoo.org/832907 Signed-off-by: Hoël Bézier riseup.net> Signed-off-by: Sam James gentoo.org> sys-apps/udevil/files/udevil-0.4.4-no-conf.d.patch | 63 ++++++++++++++++++++++ sys-apps/udevil/udevil-0.4.4-r5.ebuild | 3 +- 2 files changed, 65 insertions(+), 1 deletion(-) diff --git a/sys-apps/udevil/files/udevil-0.4.4-no-conf.d.patch b/sys-apps/udevil/files/udevil-0.4.4-no-conf.d.patch new file mode 100644 index 000000000000..0c99b662c4d4 --- /dev/null +++ b/sys-apps/udevil/files/udevil-0.4.4-no-conf.d.patch @@ -0,0 +1,63 @@ +diff --git a/etc/Makefile.am b/etc/Makefile.am +index 9b6e752..a33ce8e 100644 +--- a/etc/Makefile.am ++++ b/etc/Makefile.am +@@ -1,5 +1,5 @@ + if ADD_SYSTEMD +-EXTRA_DIST = udevil.conf devmon devmon@.service ++EXTRA_DIST = udevil.conf devmon@.service + else + EXTRA_DIST = udevil.conf + endif +@@ -11,11 +11,6 @@ install-data-hook: + $(srcdir)/udevil.conf \ + $(DESTDIR)/$(sysconfdir)/udevil/udevil.conf + if ADD_SYSTEMD +- test -d $(DESTDIR)/$(sysconfdir)/conf.d || mkdir -p -- \ +- $(DESTDIR)/$(sysconfdir)/conf.d +- test -f $(DESTDIR)/$(sysconfdir)/conf.d/devmon || $(INSTALL_DATA) \ +- $(srcdir)/systemd/devmon \ +- $(DESTDIR)/$(sysconfdir)/conf.d/devmon + test -d $(DESTDIR)/$(libdir)/systemd/system || \ + mkdir -p -- $(DESTDIR)/$(libdir)/systemd/system + $(INSTALL_DATA) $(srcdir)/systemd/devmon@.service \ +diff --git a/etc/Makefile.in b/etc/Makefile.in +index bf2b19b..4489e30 100644 +--- a/etc/Makefile.in ++++ b/etc/Makefile.in +@@ -262,7 +262,7 @@ top_build_prefix = @top_build_prefix@ + top_builddir = @top_builddir@ + top_srcdir = @top_srcdir@ + @ADD_SYSTEMD_FALSE@EXTRA_DIST = udevil.conf +-@ADD_SYSTEMD_TRUE@EXTRA_DIST = udevil.conf devmon devmon@.service ++@ADD_SYSTEMD_TRUE@EXTRA_DIST = udevil.conf devmon@.service + all: all-am + + .SUFFIXES: +@@ -462,11 +462,6 @@ install-data-hook: + test -f $(DESTDIR)/$(sysconfdir)/udevil/udevil.conf || $(INSTALL_DATA) \ + $(srcdir)/udevil.conf \ + $(DESTDIR)/$(sysconfdir)/udevil/udevil.conf +-@ADD_SYSTEMD_TRUE@ test -d $(DESTDIR)/$(sysconfdir)/conf.d || mkdir -p -- \ +-@ADD_SYSTEMD_TRUE@ $(DESTDIR)/$(sysconfdir)/conf.d +-@ADD_SYSTEMD_TRUE@ test -f $(DESTDIR)/$(sysconfdir)/conf.d/devmon || $(INSTALL_DATA) \ +-@ADD_SYSTEMD_TRUE@ $(srcdir)/systemd/devmon \ +-@ADD_SYSTEMD_TRUE@ $(DESTDIR)/$(sysconfdir)/conf.d/devmon + @ADD_SYSTEMD_TRUE@ test -d $(DESTDIR)/$(libdir)/systemd/system || \ + @ADD_SYSTEMD_TRUE@ mkdir -p -- $(DESTDIR)/$(libdir)/systemd/system + @ADD_SYSTEMD_TRUE@ $(INSTALL_DATA) $(srcdir)/systemd/devmon@.service \ +diff --git a/etc/systemd/devmon@.service b/etc/systemd/devmon@.service +index 23ccf87..1d707ce 100644 +--- a/etc/systemd/devmon@.service ++++ b/etc/systemd/devmon@.service +@@ -6,8 +6,7 @@ Type=simple + User=%i + # Set DISPLAY for popup dialogs + Environment=DISPLAY=:0 +-EnvironmentFile=/etc/conf.d/devmon +-ExecStart=/usr/bin/devmon $ARGS ++ExecStart=/usr/bin/devmon + + [Install] + WantedBy=multi-user.target + diff --git a/sys-apps/udevil/udevil-0.4.4-r5.ebuild b/sys-apps/udevil/udevil-0.4.4-r5.ebuild index 165c04be6453..49f609e4e6d2 100644 --- a/sys-apps/udevil/udevil-0.4.4-r5.ebuild +++ b/sys-apps/udevil/udevil-0.4.4-r5.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 @@ -31,6 +31,7 @@ PATCHES=( "${FILESDIR}"/${PN}-0.4.4-stat.patch "${FILESDIR}"/${PN}-0.4.4-include-sysmacros.patch "${FILESDIR}"/${PN}-0.4.4-no-libtool.patch + "${FILESDIR}"/${PN}-0.4.4-no-conf.d.patch ) src_prepare() {