summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2015-05-29 07:59:10 +0000
committerLars Wendler <polynomial-c@gentoo.org>2015-05-29 07:59:10 +0000
commit3a311211b7608ee586f9f0f01e63969ee1e86a3b (patch)
treec62a1d71d60c0c5f32eb376fda73bf13cc2d6920 /sys-apps/hprofile
parentVersion bump. Removed old (diff)
downloadgentoo-2-3a311211b7608ee586f9f0f01e63969ee1e86a3b.tar.gz
gentoo-2-3a311211b7608ee586f9f0f01e63969ee1e86a3b.tar.bz2
gentoo-2-3a311211b7608ee586f9f0f01e63969ee1e86a3b.zip
Version bump. Removed old
(Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 0x981CA6FC)
Diffstat (limited to 'sys-apps/hprofile')
-rw-r--r--sys-apps/hprofile/ChangeLog10
-rw-r--r--sys-apps/hprofile/hprofile-2.0_beta2.ebuild55
-rw-r--r--sys-apps/hprofile/hprofile-3.0.6.ebuild19
3 files changed, 27 insertions, 57 deletions
diff --git a/sys-apps/hprofile/ChangeLog b/sys-apps/hprofile/ChangeLog
index 9b2139ff01cb..bbdb9b8a784f 100644
--- a/sys-apps/hprofile/ChangeLog
+++ b/sys-apps/hprofile/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sys-apps/hprofile
-# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/hprofile/ChangeLog,v 1.5 2014/10/19 05:28:00 vapier Exp $
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/hprofile/ChangeLog,v 1.6 2015/05/29 07:59:10 polynomial-c Exp $
+
+*hprofile-3.0.6 (29 May 2015)
+
+ 29 May 2015; Lars Wendler <polynomial-c@gentoo.org>
+ -hprofile-2.0_beta2.ebuild, +hprofile-3.0.6.ebuild:
+ Version bump. Removed old.
*hprofile-3.0.5 (19 Oct 2014)
diff --git a/sys-apps/hprofile/hprofile-2.0_beta2.ebuild b/sys-apps/hprofile/hprofile-2.0_beta2.ebuild
deleted file mode 100644
index 2065d44080d7..000000000000
--- a/sys-apps/hprofile/hprofile-2.0_beta2.ebuild
+++ /dev/null
@@ -1,55 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/hprofile/hprofile-2.0_beta2.ebuild,v 1.3 2007/04/28 17:07:55 swegener Exp $
-
-DESCRIPTION="Utility to manage hardware, network, power or other profiles"
-HOMEPAGE="http://hprofile.sourceforge.net/"
-SRC_URI="mirror://sourceforge/hprofile/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~x86 ~amd64"
-IUSE=""
-
-DEPEND=">=app-shells/bash-2.0
- >=app-admin/sudo-1.6"
-
-src_unpack() {
- unpack ${A}
- cd ${S}
- for f in $(grep /usr/local * -rl) ; do
- sed -i 's:/usr/local:/usr:g' ${f}
- done
-}
-
-src_install() {
- dosbin scripts/* || die "dosbin"
-
- dodir /etc/hprofile
- cp -r config/hprofile/* ${D}/etc/hprofile/ || die "cp"
-
- doinitd extra/rc-scripts/gentoo/*
-
- dodoc README
-}
-
-pkg_postinst() {
- einfo "Example profiles have been installed into /etc/hprofile/example-profiles"
- einfo "Initscripts have been been installed to /etc/init.d."
- einfo
- einfo "Scripts that should be run from the 'boot' runlevel:"
- einfo " - hprofile (applies the 'boot' profile)"
- einfo " - hprunlevel (switches to profile-specific runlevel)"
- einfo "Scripts that should be run from your default runlevel:"
- einfo " - net.profile (applies the current 'net' profile)"
- einfo " - power-profile (applies the current 'power' profile)"
- einfo
- einfo "If you get an error message that 'hprunlevel' and 'local' have a"
- einfo "circular dependency of type 'iafter', this is not a problem, since"
- einfo "'hprunlevel' and 'local' are not started from the same runlevel"
- einfo
- einfo "Also note that the file /etc/runlevels/.critical has been created."
- einfo "This file contains the 'critical' boot services; since hprofile"
- einfo "should be started before modules (which is a critical service),"
- einfo "it must be mentioned in this file."
-}
diff --git a/sys-apps/hprofile/hprofile-3.0.6.ebuild b/sys-apps/hprofile/hprofile-3.0.6.ebuild
new file mode 100644
index 000000000000..3fcbca73bf11
--- /dev/null
+++ b/sys-apps/hprofile/hprofile-3.0.6.ebuild
@@ -0,0 +1,19 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/hprofile/hprofile-3.0.6.ebuild,v 1.1 2015/05/29 07:59:10 polynomial-c Exp $
+
+EAPI=5
+
+DESCRIPTION="Utility to manage hardware, network, power or other profiles (fork)"
+HOMEPAGE="https://github.com/tokiclover/hprofile"
+SRC_URI="https://github.com/tokiclover/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+src_prepare() {
+ sed -i '1s:.*:#!/sbin/runscript:' hprofile.initd || die
+ sed -i "/^prefix/s:=.*:=${EPREFIX}/usr:" Makefile || die
+}