From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-907209-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 08A4E138523 for <garchives@archives.gentoo.org>; Thu, 20 Oct 2016 09:27:40 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 78895E0944; Thu, 20 Oct 2016 09:27:36 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4D0E3E0944 for <gentoo-commits@lists.gentoo.org>; Thu, 20 Oct 2016 09:27:36 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C05D934164B for <gentoo-commits@lists.gentoo.org>; Thu, 20 Oct 2016 09:27:34 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9CB122ED for <gentoo-commits@lists.gentoo.org>; Thu, 20 Oct 2016 09:27:31 +0000 (UTC) From: "Lars Wendler" <polynomial-c@gentoo.org> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Lars Wendler" <polynomial-c@gentoo.org> Message-ID: <1476955645.f950c6b0f5778e070e5aa7979a7dd9ba2d51cb4b.polynomial-c@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/hdparm/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-apps/hdparm/Manifest sys-apps/hdparm/hdparm-9.50.ebuild X-VCS-Directories: sys-apps/hdparm/ X-VCS-Committer: polynomial-c X-VCS-Committer-Name: Lars Wendler X-VCS-Revision: f950c6b0f5778e070e5aa7979a7dd9ba2d51cb4b X-VCS-Branch: master Date: Thu, 20 Oct 2016 09:27:31 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 5c8f762a-1f3f-4f27-8723-1c87f4e6a7e8 X-Archives-Hash: 3494881e5ba5df457f7dbad956009796 commit: f950c6b0f5778e070e5aa7979a7dd9ba2d51cb4b Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> AuthorDate: Thu Oct 20 08:38:04 2016 +0000 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> CommitDate: Thu Oct 20 09:27:25 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f950c6b0 sys-apps/hdparm: Bump to version 9.50 Package-Manager: portage-2.3.2 Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> sys-apps/hdparm/Manifest | 1 + sys-apps/hdparm/hdparm-9.50.ebuild | 43 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 44 insertions(+) diff --git a/sys-apps/hdparm/Manifest b/sys-apps/hdparm/Manifest index d9783c6..2885341 100644 --- a/sys-apps/hdparm/Manifest +++ b/sys-apps/hdparm/Manifest @@ -1,3 +1,4 @@ DIST hdparm-9.45.tar.gz 129410 SHA256 23b01caa56a995cf0897877b6aff98ea622a5df255bc2894b1a7693387f38669 SHA512 2692382f16fe9a87b7c9673bea44b8a9512b2449aaf18090f09c9e761fadc153f71d9779d063218f6951797649c0758f97242b7327da6653ea53991bf3da9eb8 WHIRLPOOL 6c424e265b7845afeff26f87654fbefe7d563404f2dee59f976594a87b375124262864305a14655bf5379e77e21bea0d8fb179e099374d7e8f952199f569ee58 DIST hdparm-9.48.tar.gz 130277 SHA256 ce97b4a71cb04146f54cf6f69787e7f97ddfda9836dc803b459d3b3df3a4fbee SHA512 5b8908a762d892c403406da4798202bed95f035396e3c49f04da910fa53a6b442a7d7c9cb1e5d786d7c8c5a1b681c8d1db10f1bd8dad09600a6f3811fbf8afb7 WHIRLPOOL 4f17e6622a9c6516834b0487c0d73ba7aaaffcd5381cbcf03c01fa936924975c3fb7190052c4d1bba7a0b53a53fc9b910fe4c71440f4a556d533d43ecd474516 DIST hdparm-9.49.tar.gz 158179 SHA256 31d20903b92aff24843b66fad2f1e21a4bcdb252d1a78e324b71715b54eb823c SHA512 3326e4387fa246a10a68d1c7d75d37e1151bcc4aeb2bef906824d6e53b1c8ae40a7939847cb6e7a3c445ff2775616e323cb9ff705f066f9665ee76c7e178baf5 WHIRLPOOL 2a08313fc9e38c18daa210d0b5d5657449bf445e1a04381f7995a0d239ac1f8d01389bf3f42b7e5119bd5d15b90583ed1ce964ba34b61b798ceed19e9b8849e7 +DIST hdparm-9.50.tar.gz 133305 SHA256 0892b44bd817c251264a24f6ecbbb010958033e0395d2030f25f1c5608ac780e SHA512 e781da560f4ff7c75934b262b1be896765055ab0d90f9f637df2b7a13865a8dff0316811eae889e2bb09cbea08599b8f65e1fd1ef92f1f17e0fa728afda73fbc WHIRLPOOL 2a50edd4be38ea6e31099a5172d3c5afa845ef9ebfa560caf8019a3b390551b84e7614853a64f37b1f485a2fcbce833791276b21d7aab04b79a09f0ca85e3708 diff --git a/sys-apps/hdparm/hdparm-9.50.ebuild b/sys-apps/hdparm/hdparm-9.50.ebuild new file mode 100644 index 00000000..4db6889 --- /dev/null +++ b/sys-apps/hdparm/hdparm-9.50.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit toolchain-funcs flag-o-matic eutils + +DESCRIPTION="Utility to change hard drive performance parameters" +HOMEPAGE="https://sourceforge.net/projects/hdparm/" +SRC_URI="mirror://sourceforge/hdparm/${P}.tar.gz" + +LICENSE="BSD GPL-2" # GPL-2 only +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~arm-linux ~x86-linux" +IUSE="static" + +src_prepare() { + epatch "${FILESDIR}"/${PN}-9.48-sysmacros.patch #580052 + use static && append-ldflags -static + sed -i \ + -e "/^CFLAGS/ s:-O2:${CFLAGS}:" \ + -e "/^LDFLAGS/ s:-s:${LDFLAGS}:" \ + Makefile || die "sed" +} + +src_compile() { + emake STRIP=: CC="$(tc-getCC)" +} + +src_install() { + into / + dosbin hdparm contrib/idectl + + newinitd "${FILESDIR}"/hdparm-init-8 hdparm + newconfd "${FILESDIR}"/hdparm-conf.d.3 hdparm + + doman hdparm.8 + dodoc hdparm.lsm Changelog README.acoustic hdparm-sysconfig + docinto wiper + dodoc wiper/{README.txt,wiper.sh} + docompress -x /usr/share/doc/${PF}/wiper/wiper.sh +}