diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-12-06 18:23:20 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-12-06 18:23:20 +0000 |
commit | d37b97a25b8b10f748eead6574b01f893f140b01 (patch) | |
tree | 13e2a142a31cd193a39c63042a64cab29a1f7ae9 /app-admin/hddtemp | |
parent | a833e3f4a431b8eea751b7420e127787f9c92117 (diff) |
gentoo resync : 06.12.2017
Diffstat (limited to 'app-admin/hddtemp')
-rw-r--r-- | app-admin/hddtemp/Manifest | 1 | ||||
-rw-r--r-- | app-admin/hddtemp/hddtemp-0.3_beta15-r7.ebuild | 96 |
2 files changed, 0 insertions, 97 deletions
diff --git a/app-admin/hddtemp/Manifest b/app-admin/hddtemp/Manifest index bd2832ecd0d8..24692b4eea0f 100644 --- a/app-admin/hddtemp/Manifest +++ b/app-admin/hddtemp/Manifest @@ -14,5 +14,4 @@ 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 EBUILD hddtemp-0.3_beta15-r26.ebuild 2972 BLAKE2B f273cee116ed77f85fdedaab31f82c6a7bd109b306a9d56745767050cc65ed79c2b28875f934b02fbdde87db6e8e1185605525f1562d930d3b5eadf8bc4edd0c SHA512 64c30191b0103c410b9d8461c283738a56ccdc09b7fd2f9d8ee3f4e05f1a16768d2e94fe74f7638e1ed8c3852976a19fe9f3766581c49ed884f686495eca1bf5 -EBUILD hddtemp-0.3_beta15-r7.ebuild 2624 BLAKE2B 5bf8b396d227f649fb99eb54e8f70e5aee830543a31f5690ed7cc0b06df4a7898428510c61672390bf99781f9d109fa6c7758a8db55f214b09838514bcd35c71 SHA512 e52873a21479241b582ce0648aa8c973298b1adbced6738172733537a267d421f52bf454672f81578ab1293cb79ebd9ba3487c9b7024a66c4be073338bb40d87 MISC metadata.xml 260 BLAKE2B 41040f0f9342dec7a3993d99bd9fb49f624c8fc8a0be036b3c2e3f2f20d4182d23c5b98a5451f5d2d6906d749b7756b7ec10b1e135bfa7b1633234ebdae1370a SHA512 480d8cf7f249c083d64b11e13bd93b42856531860afa935a9265bfcf9491fbd3997a9b9d8e90630daba103402fc9aa08c63ef18091cd6ee68310c0a8f3c38af3 diff --git a/app-admin/hddtemp/hddtemp-0.3_beta15-r7.ebuild b/app-admin/hddtemp/hddtemp-0.3_beta15-r7.ebuild deleted file mode 100644 index 1350815a28ca..000000000000 --- a/app-admin/hddtemp/hddtemp-0.3_beta15-r7.ebuild +++ /dev/null @@ -1,96 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 -inherit eutils autotools readme.gentoo 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 hppa ia64 ppc sparc x86" -IUSE="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} - -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. -" - -src_prepare() { - epatch "${FILESDIR}"/${P}-satacmds.patch - epatch "${FILESDIR}"/${P}-byteswap.patch - epatch "${FILESDIR}"/${P}-execinfo.patch - epatch "${FILESDIR}"/${P}-nls.patch - epatch "${FILESDIR}"/${P}-iconv.patch - epatch "${FILESDIR}"/${P}-dontwake.patch - 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 - dodoc README TODO ChangeLog - - 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 -} - -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" -} |