From d934827bf44b7cfcf6711964418148fa60877668 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 25 Nov 2020 22:39:15 +0000 Subject: gentoo resync : 25.11.2020 --- app-admin/hddtemp/Manifest | 4 +- app-admin/hddtemp/files/hddgentoo.db | 4 + app-admin/hddtemp/hddtemp-0.3_beta15-r28.ebuild | 104 ------------------------ app-admin/hddtemp/hddtemp-0.3_beta15-r29.ebuild | 104 ++++++++++++++++++++++++ 4 files changed, 110 insertions(+), 106 deletions(-) delete mode 100644 app-admin/hddtemp/hddtemp-0.3_beta15-r28.ebuild create mode 100644 app-admin/hddtemp/hddtemp-0.3_beta15-r29.ebuild (limited to 'app-admin/hddtemp') diff --git a/app-admin/hddtemp/Manifest b/app-admin/hddtemp/Manifest index ebac4bc9f3cf..be5c963d0a05 100644 --- a/app-admin/hddtemp/Manifest +++ b/app-admin/hddtemp/Manifest @@ -1,4 +1,4 @@ -AUX hddgentoo.db 19694 BLAKE2B 93b96f7b1f036f3aecfcf12aac971376140ebc5606bb8ef92a64b6711f90ee0588ab0589b7471c5d7264324c864cb0bede1353f08125137a7415ede6e26d4aab SHA512 655e3e4c2b85766ef56660b1424e8dc50b48059f08b81d31ba4ff6770cdb3fbae3d47a34407ce481ec95bd6966152520f27d83453cd54fcbbe48347f16d35181 +AUX hddgentoo.db 19938 BLAKE2B b90214571f55f976b8676f9c2242edcdbd9c46b2295f64751e87b6e12f8a45eb8ad7338c6e7d17fc36c9389d9125766df141fe0cb84885864f2e31a16c5bc3e2 SHA512 6b13552ac390f3a23bf7d7b2db8b0f736a421c45ce862c634dbbbdf76e8476999760996b4d4ad02d99ae85f4bdebcb0d6176dbccbda5c02b8d35c81c17fe7d29 AUX hddtemp-0.3_beta15-dontwake.patch 515 BLAKE2B 56061289e8d247a11a3172eebf3ed7f04f6b55b6021c9d79dbc41553828d4b265dc049ac139473dfd48c8e904d3cd4023405f9c787a21537872c6e2185395ee4 SHA512 ff5cfeb9fcd6a17ab3937212a85076fafa9abfde72a1b602ada09b5fb71f89a200e91398e9682a17034f630b90e57559e550c0f1565d12ca642af0c2e10a99e1 AUX hddtemp-0.3_beta15-iconv.patch 780 BLAKE2B 568a920c7f43a53031212cf059148e618235292fdf6de157b4a3440a06e03c2be66f4e90c72d87da7ffd122fea4a0f37df56a8465966e58e8b142fa61c86e633 SHA512 53f988655d59dff675bb5a103b5688b1d564032350eb915c364e5aabd562d643e6fc9a9eb6bececba886d50b07162fb36d78702e1378f6cdb4a3f67f57209dce AUX hddtemp-0.3_beta15-nls.patch 414 BLAKE2B e488ab41496786676920b946e9aab4cf40c959f9799238da65586d0f3391060650ab2aca93b634519404b15279469579a573834e54bbcf170edb9c8284a72a15 SHA512 bbed2015e4a1ff44f0daa5591502d15cb02b9f3e7da8ab490d1ce761db823855c12d2889d9a5abf3924aecb522f9f27167e798ace3147c85ab50983457a480a6 @@ -10,5 +10,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-r28.ebuild 2714 BLAKE2B 2923e0f87f54d7b187b2eee9b4fb4271f986d4194030f302c4a47a18c78f3613966c01477cfab29ee1a3aa727f9f6b7e289b5a94567e2e041da60820ee24fb87 SHA512 0bfea95c93a64a78622b697b640eb6903ef60047c86f444f3804ddf3935bf17acf639fdbdb56dd90df86f28ba77b5d036e6be9a500c0df4b7b1bcd791fb3009b +EBUILD hddtemp-0.3_beta15-r29.ebuild 2714 BLAKE2B 2923e0f87f54d7b187b2eee9b4fb4271f986d4194030f302c4a47a18c78f3613966c01477cfab29ee1a3aa727f9f6b7e289b5a94567e2e041da60820ee24fb87 SHA512 0bfea95c93a64a78622b697b640eb6903ef60047c86f444f3804ddf3935bf17acf639fdbdb56dd90df86f28ba77b5d036e6be9a500c0df4b7b1bcd791fb3009b MISC metadata.xml 260 BLAKE2B 41040f0f9342dec7a3993d99bd9fb49f624c8fc8a0be036b3c2e3f2f20d4182d23c5b98a5451f5d2d6906d749b7756b7ec10b1e135bfa7b1633234ebdae1370a SHA512 480d8cf7f249c083d64b11e13bd93b42856531860afa935a9265bfcf9491fbd3997a9b9d8e90630daba103402fc9aa08c63ef18091cd6ee68310c0a8f3c38af3 diff --git a/app-admin/hddtemp/files/hddgentoo.db b/app-admin/hddtemp/files/hddgentoo.db index cdaf640a4560..82ab1d6fae7f 100644 --- a/app-admin/hddtemp/files/hddgentoo.db +++ b/app-admin/hddtemp/files/hddgentoo.db @@ -265,3 +265,7 @@ "WDC WD(1|2|3|4|5|6)0EZRZ-00Z5HB0" 194 C "Western Digital Blue SATA3 5400RPM 64MB" "ST31000528AS" 194 C "Seagate Barracuda 7200.12 1TB SATA2 7200RPM 32MB" "HITACHI HTS727550A9E364" 194 C "Hitachi Travelstar 7K500 500GB SATA2 7200RPM 16MB" +"ST2000DM008-2FR102" 194 C "Seagate Barracuda 2TB SATA3 7200RPM 256MB" +"INTEL SSDSC2KW128G8" 190 C "Intel SSD 545s 128GB" +"INTEL SSDSC2KW256G8" 190 C "Intel SSD 545s 256GB" +"INTEL SSDSC2KW512G8" 190 C "Intel SSD 545s 512GB" diff --git a/app-admin/hddtemp/hddtemp-0.3_beta15-r28.ebuild b/app-admin/hddtemp/hddtemp-0.3_beta15-r28.ebuild deleted file mode 100644 index 0800b3b5237f..000000000000 --- a/app-admin/hddtemp/hddtemp-0.3_beta15-r28.ebuild +++ /dev/null @@ -1,104 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -inherit autotools readme.gentoo-r1 systemd - -MY_P=${P/_beta/-beta} -DBV="20080531" -DEB_PATCH="53" - -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 - mirror://debian/pool/main/${PN:0:1}/${PN}/${PN}_${PV/_/-}-${DEB_PATCH}.diff.gz -" - -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}" - -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=( - "${WORKDIR}"/${PN}_${PV/_/-}-${DEB_PATCH}.diff - "${FILESDIR}"/${P}-nls.patch - "${FILESDIR}"/${P}-iconv.patch - "${FILESDIR}"/${P}-dontwake.patch -) - -src_prepare() { - default - 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 "${ED}/usr/share/hddtemp/hddgentoo.db" "${ED}/usr/share/hddtemp/hddtemp.db" - newconfd "${FILESDIR}"/hddtemp-conf.d hddtemp - newinitd "${FILESDIR}"/hddtemp-init-r1 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}" -} diff --git a/app-admin/hddtemp/hddtemp-0.3_beta15-r29.ebuild b/app-admin/hddtemp/hddtemp-0.3_beta15-r29.ebuild new file mode 100644 index 000000000000..0800b3b5237f --- /dev/null +++ b/app-admin/hddtemp/hddtemp-0.3_beta15-r29.ebuild @@ -0,0 +1,104 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit autotools readme.gentoo-r1 systemd + +MY_P=${P/_beta/-beta} +DBV="20080531" +DEB_PATCH="53" + +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 + mirror://debian/pool/main/${PN:0:1}/${PN}/${PN}_${PV/_/-}-${DEB_PATCH}.diff.gz +" + +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}" + +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=( + "${WORKDIR}"/${PN}_${PV/_/-}-${DEB_PATCH}.diff + "${FILESDIR}"/${P}-nls.patch + "${FILESDIR}"/${P}-iconv.patch + "${FILESDIR}"/${P}-dontwake.patch +) + +src_prepare() { + default + 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 "${ED}/usr/share/hddtemp/hddgentoo.db" "${ED}/usr/share/hddtemp/hddtemp.db" + newconfd "${FILESDIR}"/hddtemp-conf.d hddtemp + newinitd "${FILESDIR}"/hddtemp-init-r1 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}" +} -- cgit v1.2.3