public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: app-laptop/hdapsd/
@ 2021-03-30  2:06 Michael Orlitzky
  0 siblings, 0 replies; 10+ messages in thread
From: Michael Orlitzky @ 2021-03-30  2:06 UTC (permalink / raw
  To: gentoo-commits

commit:     71580a91595621ef900222f8e8bd5db6e3cc94ad
Author:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 29 23:18:49 2021 +0000
Commit:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
CommitDate: Tue Mar 30 01:58:56 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=71580a91

app-laptop/hdapsd: new EAPI=7 revision.

This is a no-op, but will eventually let us remove the EAPI=5 ebuild.

Closes: https://bugs.gentoo.org/778701
Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org>

 app-laptop/hdapsd/hdapsd-20141203-r2.ebuild | 73 +++++++++++++++++++++++++++++
 1 file changed, 73 insertions(+)

diff --git a/app-laptop/hdapsd/hdapsd-20141203-r2.ebuild b/app-laptop/hdapsd/hdapsd-20141203-r2.ebuild
new file mode 100644
index 00000000000..490a8b858c1
--- /dev/null
+++ b/app-laptop/hdapsd/hdapsd-20141203-r2.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit linux-info readme.gentoo-r1 systemd
+
+DESCRIPTION="IBM ThinkPad Hard Drive Active Protection System (HDAPS) daemon"
+HOMEPAGE="https://github.com/evgeni/hdapsd/"
+SRC_URI="https://github.com/evgeni/${PN}/releases/download/${PV}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="libconfig"
+
+BDEPEND=""
+DEPEND="libconfig? ( dev-libs/libconfig:= )"
+RDEPEND="${DEPEND}"
+
+pkg_setup() {
+	# We require the hdaps module which can either come from either the
+	# kernel itself (CONFIG_SENSORS_HDAPS) or from the tp_smapi package.
+	if ! has_version app-laptop/tp_smapi[hdaps]; then
+		CONFIG_CHECK="~SENSORS_HDAPS"
+		ERROR_SENSORS_HDAPS="${P} requires app-laptop/tp_smapi[hdaps] or "
+		ERROR_SENSORS_HDAPS+="kernel support for CONFIG_SENSORS_HDAPS enabled"
+		linux-info_pkg_setup
+	fi
+}
+
+src_configure() {
+	econf \
+		$(use_enable libconfig) \
+		--with-systemdsystemunitdir=$(systemd_get_systemunitdir) \
+		--docdir="/usr/share/doc/${PF}"
+}
+
+src_install() {
+	default
+	newconfd "${FILESDIR}/hdapsd.conf-20141024" hdapsd
+	newinitd "${FILESDIR}/hdapsd.init-20141024" hdapsd
+	readme.gentoo_create_doc
+}
+
+pkg_postinst() {
+	[[ -z $(ls "${ROOT}"sys/block/*/queue/protect 2>/dev/null) ]] && \
+	[[ -z $(ls "${ROOT}"sys/block/*/device/unload_heads 2>/dev/null) ]] && \
+		ewarn "Your kernel does NOT support shock protection."
+
+	readme.gentoo_print_elog
+}
+
+DISABLE_AUTOFORMATTING=1
+DOC_CONTENTS="
+${PN} requires a kernel module to function properly. The recommended
+approach is to install app-laptop/tp_smapi[hdaps], but the in-tree
+module provided by CONFIG_SENSORS_HDAPS may work as well.
+
+Common daemon parameters can be set in ${EROOT}etc/conf.d/${PN}. If the
+package was installed with USE=libconfig, then the parameters can also
+be set in ${EROOT}etc/${PN}.conf, although the former will take
+precedence over the latter if both are used.
+
+You can change the default sampling rate by modifing
+
+	/sys/devices/platform/hdaps/sampling_rate
+
+and you may need to enable shock protection manually by running
+
+	# echo -1 > /sys/block/<disk>/device/unload_heads
+
+as root.
+"


^ permalink raw reply related	[flat|nested] 10+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-laptop/hdapsd/
@ 2023-06-09 16:49 Michael Orlitzky
  0 siblings, 0 replies; 10+ messages in thread
From: Michael Orlitzky @ 2023-06-09 16:49 UTC (permalink / raw
  To: gentoo-commits

commit:     f602ac4260cf1b8b7d99c5e69bbb5874e07fc6d9
Author:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
AuthorDate: Fri Jun  9 16:45:14 2023 +0000
Commit:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
CommitDate: Fri Jun  9 16:45:27 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f602ac42

app-laptop/hdapsd: drop 20141203-r2

Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org>

 app-laptop/hdapsd/hdapsd-20141203-r2.ebuild | 73 -----------------------------
 1 file changed, 73 deletions(-)

diff --git a/app-laptop/hdapsd/hdapsd-20141203-r2.ebuild b/app-laptop/hdapsd/hdapsd-20141203-r2.ebuild
deleted file mode 100644
index 831a25bcbe7e..000000000000
--- a/app-laptop/hdapsd/hdapsd-20141203-r2.ebuild
+++ /dev/null
@@ -1,73 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-inherit linux-info readme.gentoo-r1 systemd
-
-DESCRIPTION="IBM ThinkPad Hard Drive Active Protection System (HDAPS) daemon"
-HOMEPAGE="https://github.com/evgeni/hdapsd/"
-SRC_URI="https://github.com/evgeni/${PN}/releases/download/${PV}/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="libconfig"
-
-BDEPEND=""
-DEPEND="libconfig? ( dev-libs/libconfig:= )"
-RDEPEND="${DEPEND}"
-
-pkg_setup() {
-	# We require the hdaps module which can either come from either the
-	# kernel itself (CONFIG_SENSORS_HDAPS) or from the tp_smapi package.
-	if ! has_version app-laptop/tp_smapi[hdaps]; then
-		CONFIG_CHECK="~SENSORS_HDAPS"
-		ERROR_SENSORS_HDAPS="${P} requires app-laptop/tp_smapi[hdaps] or "
-		ERROR_SENSORS_HDAPS+="kernel support for CONFIG_SENSORS_HDAPS enabled"
-		linux-info_pkg_setup
-	fi
-}
-
-src_configure() {
-	econf \
-		$(use_enable libconfig) \
-		--with-systemdsystemunitdir=$(systemd_get_systemunitdir) \
-		--docdir="/usr/share/doc/${PF}"
-}
-
-src_install() {
-	default
-	newconfd "${FILESDIR}/hdapsd.conf-20141024" hdapsd
-	newinitd "${FILESDIR}/hdapsd.init-20141024" hdapsd
-	readme.gentoo_create_doc
-}
-
-pkg_postinst() {
-	[[ -z $(ls "${ROOT}"/sys/block/*/queue/protect 2>/dev/null) ]] && \
-	[[ -z $(ls "${ROOT}"/sys/block/*/device/unload_heads 2>/dev/null) ]] && \
-		ewarn "Your kernel does NOT support shock protection."
-
-	readme.gentoo_print_elog
-}
-
-DISABLE_AUTOFORMATTING=1
-DOC_CONTENTS="
-${PN} requires a kernel module to function properly. The recommended
-approach is to install app-laptop/tp_smapi[hdaps], but the in-tree
-module provided by CONFIG_SENSORS_HDAPS may work as well.
-
-Common daemon parameters can be set in ${EROOT}/etc/conf.d/${PN}. If the
-package was installed with USE=libconfig, then the parameters can also
-be set in ${EROOT}/etc/${PN}.conf, although the former will take
-precedence over the latter if both are used.
-
-You can change the default sampling rate by modifing
-
-	/sys/devices/platform/hdaps/sampling_rate
-
-and you may need to enable shock protection manually by running
-
-	# echo -1 > /sys/block/<disk>/device/unload_heads
-
-as root.
-"


^ permalink raw reply related	[flat|nested] 10+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-laptop/hdapsd/
@ 2023-06-09 16:49 Michael Orlitzky
  0 siblings, 0 replies; 10+ messages in thread
From: Michael Orlitzky @ 2023-06-09 16:49 UTC (permalink / raw
  To: gentoo-commits

commit:     12f3ab43f14ee883f31833a6709c3763adafd6fe
Author:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
AuthorDate: Fri Jun  9 16:43:29 2023 +0000
Commit:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
CommitDate: Fri Jun  9 16:45:26 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=12f3ab43

app-laptop/hdapsd: stabilize 20141203-r3 for amd64, x86

This requires special hardware that I doubt anyone else has, so I'm
taking a chance with x86. YOLO.

Closes: https://bugs.gentoo.org/908130
Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org>

 app-laptop/hdapsd/hdapsd-20141203-r3.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/app-laptop/hdapsd/hdapsd-20141203-r3.ebuild b/app-laptop/hdapsd/hdapsd-20141203-r3.ebuild
index ee9f8da5e64c..dc97598dd6d8 100644
--- a/app-laptop/hdapsd/hdapsd-20141203-r3.ebuild
+++ b/app-laptop/hdapsd/hdapsd-20141203-r3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -10,7 +10,7 @@ SRC_URI="https://github.com/evgeni/${PN}/releases/download/${PV}/${P}.tar.gz"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 x86"
 IUSE="libconfig"
 
 BDEPEND=""


^ permalink raw reply related	[flat|nested] 10+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-laptop/hdapsd/
@ 2022-06-28 17:20 Michael Orlitzky
  0 siblings, 0 replies; 10+ messages in thread
From: Michael Orlitzky @ 2022-06-28 17:20 UTC (permalink / raw
  To: gentoo-commits

commit:     ff09d4171727264650aea7a7d4cd9e34e89fbaf4
Author:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
AuthorDate: Tue Jun 28 17:09:34 2022 +0000
Commit:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
CommitDate: Tue Jun 28 17:19:24 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff09d417

app-laptop/hdapsd: new revision to get the udevdir from udev.eclass.

Also update to EAPI=8 and call udev_reload() where appropriate.

Closes: https://bugs.gentoo.org/854684
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org>

 app-laptop/hdapsd/hdapsd-20141203-r3.ebuild | 79 +++++++++++++++++++++++++++++
 1 file changed, 79 insertions(+)

diff --git a/app-laptop/hdapsd/hdapsd-20141203-r3.ebuild b/app-laptop/hdapsd/hdapsd-20141203-r3.ebuild
new file mode 100644
index 000000000000..ee9f8da5e64c
--- /dev/null
+++ b/app-laptop/hdapsd/hdapsd-20141203-r3.ebuild
@@ -0,0 +1,79 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit linux-info readme.gentoo-r1 systemd udev
+
+DESCRIPTION="IBM ThinkPad Hard Drive Active Protection System (HDAPS) daemon"
+HOMEPAGE="https://github.com/evgeni/hdapsd/"
+SRC_URI="https://github.com/evgeni/${PN}/releases/download/${PV}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="libconfig"
+
+BDEPEND=""
+DEPEND="libconfig? ( dev-libs/libconfig:= )"
+RDEPEND="${DEPEND}"
+
+pkg_setup() {
+	# We require the hdaps module which can either come from either the
+	# kernel itself (CONFIG_SENSORS_HDAPS) or from the tp_smapi package.
+	if ! has_version app-laptop/tp_smapi[hdaps]; then
+		CONFIG_CHECK="~SENSORS_HDAPS"
+		ERROR_SENSORS_HDAPS="${P} requires app-laptop/tp_smapi[hdaps] or "
+		ERROR_SENSORS_HDAPS+="kernel support for CONFIG_SENSORS_HDAPS enabled"
+		linux-info_pkg_setup
+	fi
+}
+
+src_configure() {
+	econf \
+		$(use_enable libconfig) \
+		--with-systemdsystemunitdir=$(systemd_get_systemunitdir) \
+		--with-udevdir="$(get_udevdir)" \
+		--docdir="/usr/share/doc/${PF}"
+}
+
+src_install() {
+	default
+	newconfd "${FILESDIR}/hdapsd.conf-20141024" hdapsd
+	newinitd "${FILESDIR}/hdapsd.init-20141024" hdapsd
+	readme.gentoo_create_doc
+}
+
+pkg_postinst() {
+	[[ -z $(ls "${ROOT}"/sys/block/*/queue/protect 2>/dev/null) ]] && \
+	[[ -z $(ls "${ROOT}"/sys/block/*/device/unload_heads 2>/dev/null) ]] && \
+		ewarn "Your kernel does NOT support shock protection."
+
+	readme.gentoo_print_elog
+	udev_reload
+}
+
+pkg_postrm() {
+	udev_reload
+}
+
+DISABLE_AUTOFORMATTING=1
+DOC_CONTENTS="
+${PN} requires a kernel module to function properly. The recommended
+approach is to install app-laptop/tp_smapi[hdaps], but the in-tree
+module provided by CONFIG_SENSORS_HDAPS may work as well.
+
+Common daemon parameters can be set in ${EROOT}/etc/conf.d/${PN}. If the
+package was installed with USE=libconfig, then the parameters can also
+be set in ${EROOT}/etc/${PN}.conf, although the former will take
+precedence over the latter if both are used.
+
+You can change the default sampling rate by modifing
+
+	/sys/devices/platform/hdaps/sampling_rate
+
+and you may need to enable shock protection manually by running
+
+	# echo -1 > /sys/block/<disk>/device/unload_heads
+
+as root.
+"


^ permalink raw reply related	[flat|nested] 10+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-laptop/hdapsd/
@ 2021-04-06 20:08 Andreas Sturmlechner
  0 siblings, 0 replies; 10+ messages in thread
From: Andreas Sturmlechner @ 2021-04-06 20:08 UTC (permalink / raw
  To: gentoo-commits

commit:     02424ef375a0a4b8760113e087430fd327457421
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Tue Apr  6 19:50:44 2021 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Tue Apr  6 20:07:48 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=02424ef3

app-laptop/hdapsd: Drop 20141203-r1

Closes: https://bugs.gentoo.org/778701
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 app-laptop/hdapsd/hdapsd-20141203-r1.ebuild | 72 -----------------------------
 1 file changed, 72 deletions(-)

diff --git a/app-laptop/hdapsd/hdapsd-20141203-r1.ebuild b/app-laptop/hdapsd/hdapsd-20141203-r1.ebuild
deleted file mode 100644
index d3cea62d792..00000000000
--- a/app-laptop/hdapsd/hdapsd-20141203-r1.ebuild
+++ /dev/null
@@ -1,72 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-inherit linux-info readme.gentoo systemd
-
-DESCRIPTION="IBM ThinkPad Hard Drive Active Protection System (HDAPS) daemon"
-HOMEPAGE="https://github.com/evgeni/hdapsd/"
-SRC_URI="https://github.com/evgeni/${PN}/releases/download/${PV}/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="libconfig"
-
-DEPEND="libconfig? ( dev-libs/libconfig:= )"
-RDEPEND="${DEPEND}"
-
-pkg_setup() {
-	# We require the hdaps module which can either come from either the
-	# kernel itself (CONFIG_SENSORS_HDAPS) or from the tp_smapi package.
-	if ! has_version app-laptop/tp_smapi[hdaps]; then
-		CONFIG_CHECK="~SENSORS_HDAPS"
-		ERROR_SENSORS_HDAPS="${P} requires app-laptop/tp_smapi[hdaps] or "
-		ERROR_SENSORS_HDAPS+="kernel support for CONFIG_SENSORS_HDAPS enabled"
-		linux-info_pkg_setup
-	fi
-}
-
-src_configure() {
-	econf \
-		$(use_enable libconfig) \
-		--with-systemdsystemunitdir=$(systemd_get_unitdir) \
-		--docdir="/usr/share/doc/${PF}"
-}
-
-src_install() {
-	default
-	newconfd "${FILESDIR}/hdapsd.conf-20141024" hdapsd
-	newinitd "${FILESDIR}/hdapsd.init-20141024" hdapsd
-	readme.gentoo_create_doc
-}
-
-pkg_postinst() {
-	[[ -z $(ls "${ROOT}"sys/block/*/queue/protect 2>/dev/null) ]] && \
-	[[ -z $(ls "${ROOT}"sys/block/*/device/unload_heads 2>/dev/null) ]] && \
-		ewarn "Your kernel does NOT support shock protection."
-
-	readme.gentoo_print_elog
-}
-
-DISABLE_AUTOFORMATTING=1
-DOC_CONTENTS="
-${PN} requires a kernel module to function properly. The recommended
-approach is to install app-laptop/tp_smapi[hdaps], but the in-tree
-module provided by CONFIG_SENSORS_HDAPS may work as well.
-
-Common daemon parameters can be set in ${EROOT}etc/conf.d/${PN}. If the
-package was installed with USE=libconfig, then the parameters can also
-be set in ${EROOT}etc/${PN}.conf, although the former will take
-precedence over the latter if both are used.
-
-You can change the default sampling rate by modifing
-
-	/sys/devices/platform/hdaps/sampling_rate
-
-and you may need to enable shock protection manually by running
-
-	# echo -1 > /sys/block/<disk>/device/unload_heads
-
-as root.
-"


^ permalink raw reply related	[flat|nested] 10+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-laptop/hdapsd/
@ 2021-04-06 19:47 Sam James
  0 siblings, 0 replies; 10+ messages in thread
From: Sam James @ 2021-04-06 19:47 UTC (permalink / raw
  To: gentoo-commits

commit:     7857bc6b426874b1a5353b2424c127cf8e01da6d
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Apr  6 19:46:34 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Apr  6 19:46:34 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7857bc6b

app-laptop/hdapsd: Stabilize 20141203-r2 amd64, #778701

Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-laptop/hdapsd/hdapsd-20141203-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-laptop/hdapsd/hdapsd-20141203-r2.ebuild b/app-laptop/hdapsd/hdapsd-20141203-r2.ebuild
index 156f9abb3bd..831a25bcbe7 100644
--- a/app-laptop/hdapsd/hdapsd-20141203-r2.ebuild
+++ b/app-laptop/hdapsd/hdapsd-20141203-r2.ebuild
@@ -10,7 +10,7 @@ SRC_URI="https://github.com/evgeni/${PN}/releases/download/${PV}/${P}.tar.gz"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 x86"
+KEYWORDS="amd64 x86"
 IUSE="libconfig"
 
 BDEPEND=""


^ permalink raw reply related	[flat|nested] 10+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-laptop/hdapsd/
@ 2021-04-04 16:03 Thomas Deutschmann
  0 siblings, 0 replies; 10+ messages in thread
From: Thomas Deutschmann @ 2021-04-04 16:03 UTC (permalink / raw
  To: gentoo-commits

commit:     6127bda2d42330d7089b8d7fe304d768a4eb8de8
Author:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Sun Apr  4 16:01:49 2021 +0000
Commit:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Sun Apr  4 16:01:49 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6127bda2

app-laptop/hdapsd: x86 stable (bug #778701)

Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>

 app-laptop/hdapsd/hdapsd-20141203-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-laptop/hdapsd/hdapsd-20141203-r2.ebuild b/app-laptop/hdapsd/hdapsd-20141203-r2.ebuild
index be403f7d4d3..156f9abb3bd 100644
--- a/app-laptop/hdapsd/hdapsd-20141203-r2.ebuild
+++ b/app-laptop/hdapsd/hdapsd-20141203-r2.ebuild
@@ -10,7 +10,7 @@ SRC_URI="https://github.com/evgeni/${PN}/releases/download/${PV}/${P}.tar.gz"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 x86"
 IUSE="libconfig"
 
 BDEPEND=""


^ permalink raw reply related	[flat|nested] 10+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-laptop/hdapsd/
@ 2021-03-30  2:49 Michael Orlitzky
  0 siblings, 0 replies; 10+ messages in thread
From: Michael Orlitzky @ 2021-03-30  2:49 UTC (permalink / raw
  To: gentoo-commits

commit:     fd84518f2d9ca48effd8f069c8c04fe7f3cc44a5
Author:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
AuthorDate: Tue Mar 30 02:48:37 2021 +0000
Commit:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
CommitDate: Tue Mar 30 02:48:37 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fd84518f

app-laptop/hdapsd: fix trailing slashes in ROOT/EROOT.

Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org>

 app-laptop/hdapsd/hdapsd-20141203-r2.ebuild | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/app-laptop/hdapsd/hdapsd-20141203-r2.ebuild b/app-laptop/hdapsd/hdapsd-20141203-r2.ebuild
index 490a8b858c1..be403f7d4d3 100644
--- a/app-laptop/hdapsd/hdapsd-20141203-r2.ebuild
+++ b/app-laptop/hdapsd/hdapsd-20141203-r2.ebuild
@@ -43,8 +43,8 @@ src_install() {
 }
 
 pkg_postinst() {
-	[[ -z $(ls "${ROOT}"sys/block/*/queue/protect 2>/dev/null) ]] && \
-	[[ -z $(ls "${ROOT}"sys/block/*/device/unload_heads 2>/dev/null) ]] && \
+	[[ -z $(ls "${ROOT}"/sys/block/*/queue/protect 2>/dev/null) ]] && \
+	[[ -z $(ls "${ROOT}"/sys/block/*/device/unload_heads 2>/dev/null) ]] && \
 		ewarn "Your kernel does NOT support shock protection."
 
 	readme.gentoo_print_elog
@@ -56,9 +56,9 @@ ${PN} requires a kernel module to function properly. The recommended
 approach is to install app-laptop/tp_smapi[hdaps], but the in-tree
 module provided by CONFIG_SENSORS_HDAPS may work as well.
 
-Common daemon parameters can be set in ${EROOT}etc/conf.d/${PN}. If the
+Common daemon parameters can be set in ${EROOT}/etc/conf.d/${PN}. If the
 package was installed with USE=libconfig, then the parameters can also
-be set in ${EROOT}etc/${PN}.conf, although the former will take
+be set in ${EROOT}/etc/${PN}.conf, although the former will take
 precedence over the latter if both are used.
 
 You can change the default sampling rate by modifing


^ permalink raw reply related	[flat|nested] 10+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-laptop/hdapsd/
@ 2021-01-02  0:49 Sam James
  0 siblings, 0 replies; 10+ messages in thread
From: Sam James @ 2021-01-02  0:49 UTC (permalink / raw
  To: gentoo-commits

commit:     4337b1a6a51d7b2830d173df215766108d3d2283
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Jan  2 00:37:38 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Jan  2 00:37:38 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4337b1a6

app-laptop/hdapsd: revbump for libconfig subslot dep

Package-Manager: Portage-3.0.12-prefix, Repoman-3.0.2
Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../hdapsd/{hdapsd-20141203.ebuild => hdapsd-20141203-r1.ebuild}      | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/app-laptop/hdapsd/hdapsd-20141203.ebuild b/app-laptop/hdapsd/hdapsd-20141203-r1.ebuild
similarity index 96%
rename from app-laptop/hdapsd/hdapsd-20141203.ebuild
rename to app-laptop/hdapsd/hdapsd-20141203-r1.ebuild
index ca4d09f54ce..d3cea62d792 100644
--- a/app-laptop/hdapsd/hdapsd-20141203.ebuild
+++ b/app-laptop/hdapsd/hdapsd-20141203-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -13,7 +13,7 @@ SLOT="0"
 KEYWORDS="amd64 x86"
 IUSE="libconfig"
 
-DEPEND="libconfig? ( dev-libs/libconfig )"
+DEPEND="libconfig? ( dev-libs/libconfig:= )"
 RDEPEND="${DEPEND}"
 
 pkg_setup() {


^ permalink raw reply related	[flat|nested] 10+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-laptop/hdapsd/
@ 2019-08-18 12:37 David Seifert
  0 siblings, 0 replies; 10+ messages in thread
From: David Seifert @ 2019-08-18 12:37 UTC (permalink / raw
  To: gentoo-commits

commit:     5fb9e40dc0912639330db897ec35b2356ffba88d
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sun Aug 18 12:07:21 2019 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sun Aug 18 12:36:38 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5fb9e40d

app-laptop/hdapsd: [QA] Fix leading whitespace

Package-Manager: Portage-2.3.71, Repoman-2.3.17
Signed-off-by: David Seifert <soap <AT> gentoo.org>

 app-laptop/hdapsd/hdapsd-20141203.ebuild | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/app-laptop/hdapsd/hdapsd-20141203.ebuild b/app-laptop/hdapsd/hdapsd-20141203.ebuild
index 6edd851d960..df52add2e9f 100644
--- a/app-laptop/hdapsd/hdapsd-20141203.ebuild
+++ b/app-laptop/hdapsd/hdapsd-20141203.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -62,11 +62,11 @@ precedence over the latter if both are used.
 
 You can change the default sampling rate by modifing
 
-  /sys/devices/platform/hdaps/sampling_rate
+	/sys/devices/platform/hdaps/sampling_rate
 
 and you may need to enable shock protection manually by running
 
-  # echo -1 > /sys/block/<disk>/device/unload_heads
+	# echo -1 > /sys/block/<disk>/device/unload_heads
 
 as root.
 "


^ permalink raw reply related	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2023-06-09 16:49 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-03-30  2:06 [gentoo-commits] repo/gentoo:master commit in: app-laptop/hdapsd/ Michael Orlitzky
  -- strict thread matches above, loose matches on Subject: below --
2023-06-09 16:49 Michael Orlitzky
2023-06-09 16:49 Michael Orlitzky
2022-06-28 17:20 Michael Orlitzky
2021-04-06 20:08 Andreas Sturmlechner
2021-04-06 19:47 Sam James
2021-04-04 16:03 Thomas Deutschmann
2021-03-30  2:49 Michael Orlitzky
2021-01-02  0:49 Sam James
2019-08-18 12:37 David Seifert

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox