commit: 49a34318d9702773834a4af66768ec6978dfdec6 Author: Dennis Lamm <expeditioneer <AT> gentoo <DOT> org> AuthorDate: Fri Feb 16 13:37:46 2024 +0000 Commit: Dennis Lamm <expeditioneer <AT> gentoo <DOT> org> CommitDate: Mon Feb 19 19:54:32 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=49a34318
sys-apps/smartmontools: improved systemd service Removed undesired reference to EnvironmentFile Bug: https://bugs.gentoo.org/678990 Signed-off-by: Dennis Lamm <expeditioneer <AT> gentoo.org> Closes: https://github.com/gentoo/gentoo/pull/35373 Signed-off-by: Dennis Lamm <expeditioneer <AT> gentoo.org> .../{smartmontools-9999.ebuild => smartmontools-7.4-r1.ebuild} | 7 ++++--- sys-apps/smartmontools/smartmontools-9999.ebuild | 7 ++++--- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/sys-apps/smartmontools/smartmontools-9999.ebuild b/sys-apps/smartmontools/smartmontools-7.4-r1.ebuild similarity index 96% copy from sys-apps/smartmontools/smartmontools-9999.ebuild copy to sys-apps/smartmontools/smartmontools-7.4-r1.ebuild index deaefc5a3442..e1f1f30e6d30 100644 --- a/sys-apps/smartmontools/smartmontools-9999.ebuild +++ b/sys-apps/smartmontools/smartmontools-7.4-r1.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 inherit flag-o-matic systemd if [[ ${PV} == 9999 ]] ; then @@ -66,6 +66,7 @@ src_configure() { --with-drivedbdir="${EPREFIX}/var/db/${PN}" #575292 --with-initscriptdir="${EPREFIX}/etc/init.d" #--with-smartdscriptdir="${EPREFIX}/usr/share/${PN}" + --with-systemdenvfile=no $(use_with caps libcap-ng) $(use_with selinux) $(use_with systemd libsystemd) @@ -113,7 +114,7 @@ src_install() { fi # Make sure we never install drivedb.h into the db location - # of the acutal image so we don't record hashes because user + # of the actual image so we don't record hashes because user # can modify that file rm -f "${ED}${db_path}/drivedb.h" || die diff --git a/sys-apps/smartmontools/smartmontools-9999.ebuild b/sys-apps/smartmontools/smartmontools-9999.ebuild index deaefc5a3442..e1f1f30e6d30 100644 --- a/sys-apps/smartmontools/smartmontools-9999.ebuild +++ b/sys-apps/smartmontools/smartmontools-9999.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 inherit flag-o-matic systemd if [[ ${PV} == 9999 ]] ; then @@ -66,6 +66,7 @@ src_configure() { --with-drivedbdir="${EPREFIX}/var/db/${PN}" #575292 --with-initscriptdir="${EPREFIX}/etc/init.d" #--with-smartdscriptdir="${EPREFIX}/usr/share/${PN}" + --with-systemdenvfile=no $(use_with caps libcap-ng) $(use_with selinux) $(use_with systemd libsystemd) @@ -113,7 +114,7 @@ src_install() { fi # Make sure we never install drivedb.h into the db location - # of the acutal image so we don't record hashes because user + # of the actual image so we don't record hashes because user # can modify that file rm -f "${ED}${db_path}/drivedb.h" || die
