summaryrefslogtreecommitdiff
path: root/app-admin/hddtemp
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2019-02-20 15:11:50 +0000
committerV3n3RiX <venerix@redcorelinux.org>2019-02-20 15:11:50 +0000
commit16449a80e28af2209916cc66d19c9a44ca2b90d9 (patch)
treeb4cfe2332c7a6c5da27b6985bf05db4508df1a92 /app-admin/hddtemp
parent79599515788b85b18aa655e7b7f8cc05c1bbddd8 (diff)
gentoo resync : 20.02.2019
Diffstat (limited to 'app-admin/hddtemp')
-rw-r--r--app-admin/hddtemp/Manifest3
-rw-r--r--app-admin/hddtemp/hddtemp-0.3_beta15-r26.ebuild114
-rw-r--r--app-admin/hddtemp/hddtemp-0.3_beta15-r27.ebuild2
3 files changed, 2 insertions, 117 deletions
diff --git a/app-admin/hddtemp/Manifest b/app-admin/hddtemp/Manifest
index 3445b4fce6e2..1757ca787f03 100644
--- a/app-admin/hddtemp/Manifest
+++ b/app-admin/hddtemp/Manifest
@@ -14,6 +14,5 @@ AUX update-hddtemp.db 819 BLAKE2B 2322abe8bc4c4f49a4c16267783d9d7ee46666e1e11b70
DIST hddtemp-0.3-beta15.tar.bz2 256372 BLAKE2B 1c928234c36172c387a002190045cd05007f4b4b8d74eb378ba810ea9aad96951b7a9b3b0f872130677fca1f294d86f855327dcfa5a263c9f3c7d58fbbba502e SHA512 7db5a3dff60c59ce147b996ea4f8b6de1abcd34301bb863507b4d4b44e72fdc031078867a7f37161e67e74f6b426a1d856d3081179c678d2a442815bb0faa94d
DIST hddtemp-20080531.db.bz2 5627 BLAKE2B b973a981ee55033c8ba190efd9dc8586589292ef1f2b00542be7db2be64df812847665abefc7517f7c71dc70df153766570f62b69fc4891e758e82200ff8d589 SHA512 cd03cc300aece4f7427fde1b58840643c8e41e6c0ce30b418a62bf44b268f249ef3dc4f5f4bcbc9cc0cfe0346c18d4f1da22451c87efc3d46faebcb81a1fe059
DIST hddtemp_0.3-beta15-53.diff.gz 52845 BLAKE2B ae4ef1f98ff39a39bdb49b2752f6f442c6ebe8ea6b0e8e743cc3ab9ef39d07abe8970648b841b3974cd814fdef72bc59cfe93c4b4d1cf2a85de1a0d94c4409b9 SHA512 1006ffa92f9973eb1da6444f8e8eed681e641efd17a52954b0e6c5041ecae13108af4ed89534ec4f2799685f96191769d3b168dbbb96085dc801150c7c547511
-EBUILD hddtemp-0.3_beta15-r26.ebuild 2972 BLAKE2B f273cee116ed77f85fdedaab31f82c6a7bd109b306a9d56745767050cc65ed79c2b28875f934b02fbdde87db6e8e1185605525f1562d930d3b5eadf8bc4edd0c SHA512 64c30191b0103c410b9d8461c283738a56ccdc09b7fd2f9d8ee3f4e05f1a16768d2e94fe74f7638e1ed8c3852976a19fe9f3766581c49ed884f686495eca1bf5
-EBUILD hddtemp-0.3_beta15-r27.ebuild 2990 BLAKE2B a3093ed1cf842ad8507a47ddc8682e5d4c4de85c3175a24511a57cd7177b23483c8f4b5507f5cdd1e7d791196a52c70b04459605918b44789dffe69dbe177321 SHA512 945b92e2b1db392d778379e35aff1964ba7e0e8af3caa1bc5a05a9acc50002fb299e25319230bc5cec79f173b7591af632233db5b40d18b8c068ac1e36b530ba
+EBUILD hddtemp-0.3_beta15-r27.ebuild 2989 BLAKE2B 13b188fc29d380fd292d3a881e2091a424e040c75391dd7aee0e1827999fb1c64cbf60583aa62fae15a036a2747cf40a902f6093e089cb780de2eb4487d489cf SHA512 93db8629a39a0eba62c7769b5e75249d38a4038d77759452e1948ad837731b3e8cdaacba4f7b3430a0ca1b7762dce14d74bd724d811e2645f7683a3d245ff5e9
MISC metadata.xml 260 BLAKE2B 41040f0f9342dec7a3993d99bd9fb49f624c8fc8a0be036b3c2e3f2f20d4182d23c5b98a5451f5d2d6906d749b7756b7ec10b1e135bfa7b1633234ebdae1370a SHA512 480d8cf7f249c083d64b11e13bd93b42856531860afa935a9265bfcf9491fbd3997a9b9d8e90630daba103402fc9aa08c63ef18091cd6ee68310c0a8f3c38af3
diff --git a/app-admin/hddtemp/hddtemp-0.3_beta15-r26.ebuild b/app-admin/hddtemp/hddtemp-0.3_beta15-r26.ebuild
deleted file mode 100644
index 3d5ce71a8247..000000000000
--- a/app-admin/hddtemp/hddtemp-0.3_beta15-r26.ebuild
+++ /dev/null
@@ -1,114 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit eutils autotools readme.gentoo-r1 systemd
-
-MY_P=${P/_beta/-beta}
-DBV=20080531
-
-DESCRIPTION="A simple utility to read the temperature of SMART capable hard drives"
-HOMEPAGE="https://savannah.nongnu.org/projects/hddtemp/"
-SRC_URI="http://download.savannah.gnu.org/releases/hddtemp/${MY_P}.tar.bz2 mirror://gentoo/hddtemp-${DBV}.db.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ppc ~ppc64 sparc x86"
-IUSE="network-cron nls selinux"
-
-DEPEND=""
-RDEPEND="selinux? ( sec-policy/selinux-hddtemp )"
-
-S="${WORKDIR}/${MY_P}"
-
-DOCS=(README TODO ChangeLog)
-
-DISABLE_AUTOFORMATTING="yes"
-DOC_CONTENTS="In order to update your hddtemp database, run:
-emerge --config =${CATEGORY}/${PF} or update-hddtemp.db (if USE
-network-cron is enabled)
-
-If your hard drive is not recognized by hddtemp, please consider
-submitting your HDD info for inclusion into the Gentoo hddtemp
-database by filing a bug at https://bugs.gentoo.org/
-
-If hddtemp complains but finds your HDD temperature sensor, use the
---quiet option to suppress the warning.
-"
-
-PATCHES=(
- "${FILESDIR}"/${P}-satacmds.patch
- "${FILESDIR}"/${P}-byteswap.patch
- "${FILESDIR}"/${P}-execinfo.patch
- "${FILESDIR}"/${P}-nls.patch
- "${FILESDIR}"/${P}-iconv.patch
- "${FILESDIR}"/${P}-dontwake.patch
-)
-
-src_prepare() {
- epatch "${PATCHES[@]}"
- mv "${S}"/configure.{in,ac} || die
- AT_M4DIR="m4" eautoreconf
-}
-
-src_configure() {
- local myconf
-
- myconf="--with-db-path=/usr/share/hddtemp/hddtemp.db"
- # disabling nls breaks compiling
- use nls || myconf="--disable-nls ${myconf}"
- econf ${myconf}
-}
-
-src_install() {
- default
-
- insinto /usr/share/hddtemp
- newins "${WORKDIR}/hddtemp-${DBV}.db" hddtemp.db
- doins "${FILESDIR}"/hddgentoo.db
-
- update_db "${D}/usr/share/hddtemp/hddgentoo.db" "${D}/usr/share/hddtemp/hddtemp.db"
- newconfd "${FILESDIR}"/hddtemp-conf.d hddtemp
- newinitd "${FILESDIR}"/hddtemp-init hddtemp
- systemd_newunit "${FILESDIR}"/hddtemp.service-r1 "${PN}.service"
- systemd_install_serviced "${FILESDIR}"/hddtemp.service.conf
-
- readme.gentoo_create_doc
-
- if use network-cron; then
- dosbin "${FILESDIR}"/update-hddtemp.db
- exeinto /etc/cron.monthly
- echo -e "#!/bin/sh\n/usr/sbin/update-hddtemp.db" > "${T}"/hddtemp.cron
- newexe "${T}"/hddtemp.cron update-hddtemp.db
- fi
-}
-
-pkg_postinst() {
- readme.gentoo_print_elog
-}
-
-update_db() {
- local src=$1
- local dst=$2
-
- while read line ; do
- if [[ -z $(echo "${line}" | sed -re 's/(^#.*|^\w*$)//') ]]; then
- echo "${line}" >> "${dst}"
- fi
-
- id=$(echo "${line}" | grep -o '"[^"]*"')
-
- grep "${id}" "${dst}" 2>&1 >/dev/null || echo "${line}" >> "${dst}"
- done < "${src}"
-}
-
-pkg_config() {
- cd "${ROOT}"/usr/share/hddtemp || die
-
- einfo "Trying to download the latest hddtemp.db file"
- wget http://www.guzu.net/linux/hddtemp.db -O hddtemp.db \
- || die "failed to download hddtemp.db"
-
- update_db "hddgentoo.db" "hddtemp.db"
-}
diff --git a/app-admin/hddtemp/hddtemp-0.3_beta15-r27.ebuild b/app-admin/hddtemp/hddtemp-0.3_beta15-r27.ebuild
index 452d3013ada1..8fdad17d02b2 100644
--- a/app-admin/hddtemp/hddtemp-0.3_beta15-r27.ebuild
+++ b/app-admin/hddtemp/hddtemp-0.3_beta15-r27.ebuild
@@ -18,7 +18,7 @@ SRC_URI="
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="alpha ~amd64 arm ~arm64 hppa ia64 ppc ~ppc64 sparc x86"
+KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ppc ~ppc64 sparc x86"
IUSE="network-cron nls selinux"
DEPEND=""