From 56bd759df1d0c750a065b8c845e93d5dfa6b549d Mon Sep 17 00:00:00 2001 From: "Robin H. Johnson" Date: Sat, 8 Aug 2015 13:49:04 -0700 Subject: proj/gentoo: Initial commit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson X-Thanks: Alec Warner - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring - wrote much python to improve cvs2svn X-Thanks: Rich Freeman - validation scripts X-Thanks: Patrick Lauer - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed --- sys-apps/tuned/Manifest | 3 +++ sys-apps/tuned/files/tuned.initd | 17 +++++++++++++++ sys-apps/tuned/metadata.xml | 12 +++++++++++ sys-apps/tuned/tuned-2.4.1.ebuild | 45 +++++++++++++++++++++++++++++++++++++++ sys-apps/tuned/tuned-2.5.0.ebuild | 45 +++++++++++++++++++++++++++++++++++++++ sys-apps/tuned/tuned-2.5.1.ebuild | 45 +++++++++++++++++++++++++++++++++++++++ 6 files changed, 167 insertions(+) create mode 100644 sys-apps/tuned/Manifest create mode 100644 sys-apps/tuned/files/tuned.initd create mode 100644 sys-apps/tuned/metadata.xml create mode 100644 sys-apps/tuned/tuned-2.4.1.ebuild create mode 100644 sys-apps/tuned/tuned-2.5.0.ebuild create mode 100644 sys-apps/tuned/tuned-2.5.1.ebuild (limited to 'sys-apps/tuned') diff --git a/sys-apps/tuned/Manifest b/sys-apps/tuned/Manifest new file mode 100644 index 000000000000..c72573fc2b9a --- /dev/null +++ b/sys-apps/tuned/Manifest @@ -0,0 +1,3 @@ +DIST tuned-2.4.1.tar.bz2 81052 SHA256 fd2514ec269387c7c555b5d12534ce258ecdb021cd66f64c5678eea7dcbda54f SHA512 12106f441cda10d1ddb5d4fc4e64be7100ec2b1d48117a9c83bbc11e093a59c1a5e8effa22ea563481b66748db38ebb8a493dbb1e4707b16f6f3cae2de966bf1 WHIRLPOOL 21011bbdfb170c5f85313a5cfd7c26bf7e57a3693a0a56c0a096b788b2fee6d390e7391b1083ec5fd610d34caf1985ffa310b6befc7950080cf99931db99430d +DIST tuned-2.5.0.tar.bz2 95651 SHA256 2d7fe44626d236b158b0259938d757846d2455f5a91ab6412a134e6ac2db7feb SHA512 59d3014cc2c04f2cffbde02f46fdbce223bff827fba1c07e5dd5e821fc9d7ea2867c24c5d5fc42ef294fb31d24cad3c8715fec7d3113b25ce316b457fd40bc22 WHIRLPOOL 4e48dfc4fd89de061a099ccfef70103d4920f3eb06ccb09e767e525bafcae700386b47b776009488f0e8c0bdfdf0ddac2bf72cf8a1b9f3935879fb1691d08c0a +DIST tuned-2.5.1.tar.bz2 96319 SHA256 7eccf1d0807e8e0774e7969f9dbe5173cd85b2449f1f259a3b31ecb022cfbe88 SHA512 5d818f15a439f85fa26cefcc3dcc7968d23f3f29f26bbf99480ccbde90d87d6f5f81709820232b127d435c30d59a00c9d50f630c7c2b83f249f485c3f50305a5 WHIRLPOOL 55ec1e65925a1e06fee2dffb2ff004503a2e2d53933c530bbac081e30180684760fac16da79039a77751c36983c641b920473d9ef2ee8235dd4415f6d986f468 diff --git a/sys-apps/tuned/files/tuned.initd b/sys-apps/tuned/files/tuned.initd new file mode 100644 index 000000000000..3ebdef3daa26 --- /dev/null +++ b/sys-apps/tuned/files/tuned.initd @@ -0,0 +1,17 @@ +#!/sbin/runscript +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +TUNED_PIDFILE="/run/tuned.pid" +TUNED_LOGFILE="/var/log/tuned.log" + +command="/usr/sbin/tuned" +command_args="-d --pid ${TUNED_PIDFILE} --log ${TUNED_LOGFILE}" +pidfile=${TUNED_PIDFILE} + +description="tuned is a daemon for monitoring and adaptive tuning of system devices." + +depend() { + need dbus +} diff --git a/sys-apps/tuned/metadata.xml b/sys-apps/tuned/metadata.xml new file mode 100644 index 000000000000..c2491ca20b16 --- /dev/null +++ b/sys-apps/tuned/metadata.xml @@ -0,0 +1,12 @@ + + + + + dlan@gentoo.org + Yixun Lan + + +A tool that performs monitoring and adaptive configuration of the system +according to selected profile. + + diff --git a/sys-apps/tuned/tuned-2.4.1.ebuild b/sys-apps/tuned/tuned-2.4.1.ebuild new file mode 100644 index 000000000000..38ae2c657733 --- /dev/null +++ b/sys-apps/tuned/tuned-2.4.1.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +PYTHON_COMPAT=( python2_7 ) + +inherit python-single-r1 systemd + +DESCRIPTION="Daemon for monitoring and adaptive tuning of system devices" +HOMEPAGE="https://fedorahosted.org/tuned/" +SRC_URI="https://fedorahosted.org/releases/t/u/tuned/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +COMMON_DEPEND="${PYTHON_DEPS} + dev-python/configobj[${PYTHON_USEDEP}] + dev-python/decorator[${PYTHON_USEDEP}] + dev-python/pyudev[${PYTHON_USEDEP}] +" +DEPEND="${COMMON_DEPEND}" +RDEPEND="${COMMON_DEPEND} + sys-power/powertop + dev-util/systemtap +" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +src_prepare() { + sed -i \ + -e "/^UNITDIR = /s:\$(shell rpm --eval '%{_unitdir}'):$(systemd_get_unitdir):" \ + -e "/\$(DESTDIR)\/run\/tuned/d" \ + Makefile ||die +} + +src_install() { + default + newinitd "${FILESDIR}"/tuned.initd tuned + + python_fix_shebang "${ED}" +} diff --git a/sys-apps/tuned/tuned-2.5.0.ebuild b/sys-apps/tuned/tuned-2.5.0.ebuild new file mode 100644 index 000000000000..4060a0a6d74f --- /dev/null +++ b/sys-apps/tuned/tuned-2.5.0.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +PYTHON_COMPAT=( python2_7 ) + +inherit python-single-r1 systemd + +DESCRIPTION="Daemon for monitoring and adaptive tuning of system devices" +HOMEPAGE="https://fedorahosted.org/tuned/" +SRC_URI="https://fedorahosted.org/releases/t/u/tuned/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +COMMON_DEPEND="${PYTHON_DEPS} + dev-python/configobj[${PYTHON_USEDEP}] + dev-python/decorator[${PYTHON_USEDEP}] + dev-python/pyudev[${PYTHON_USEDEP}] +" +DEPEND="${COMMON_DEPEND}" +RDEPEND="${COMMON_DEPEND} + sys-power/powertop + dev-util/systemtap +" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +src_prepare() { + sed -i \ + -e "/^UNITDIR = /s:\$(shell rpm --eval '%{_unitdir}'):$(systemd_get_unitdir):" \ + -e "/\$(DESTDIR)\/run\/tuned/d" \ + Makefile ||die +} + +src_install() { + default + newinitd "${FILESDIR}"/tuned.initd tuned + + python_fix_shebang "${ED}" +} diff --git a/sys-apps/tuned/tuned-2.5.1.ebuild b/sys-apps/tuned/tuned-2.5.1.ebuild new file mode 100644 index 000000000000..4060a0a6d74f --- /dev/null +++ b/sys-apps/tuned/tuned-2.5.1.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +PYTHON_COMPAT=( python2_7 ) + +inherit python-single-r1 systemd + +DESCRIPTION="Daemon for monitoring and adaptive tuning of system devices" +HOMEPAGE="https://fedorahosted.org/tuned/" +SRC_URI="https://fedorahosted.org/releases/t/u/tuned/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +COMMON_DEPEND="${PYTHON_DEPS} + dev-python/configobj[${PYTHON_USEDEP}] + dev-python/decorator[${PYTHON_USEDEP}] + dev-python/pyudev[${PYTHON_USEDEP}] +" +DEPEND="${COMMON_DEPEND}" +RDEPEND="${COMMON_DEPEND} + sys-power/powertop + dev-util/systemtap +" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +src_prepare() { + sed -i \ + -e "/^UNITDIR = /s:\$(shell rpm --eval '%{_unitdir}'):$(systemd_get_unitdir):" \ + -e "/\$(DESTDIR)\/run\/tuned/d" \ + Makefile ||die +} + +src_install() { + default + newinitd "${FILESDIR}"/tuned.initd tuned + + python_fix_shebang "${ED}" +} -- cgit v1.2.3-65-gdbad