summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2014-01-03 21:55:22 +0000
committerPacho Ramos <pacho@gentoo.org>2014-01-03 21:55:22 +0000
commit4ca93fb1e53f016020ad245401c7accc885fbf00 (patch)
tree07f27d58cbfe6c3b98de2425bfcb28bce5842300 /app-admin/verynice
parentVersion bump, drop old (diff)
downloadhistorical-4ca93fb1e53f016020ad245401c7accc885fbf00.tar.gz
historical-4ca93fb1e53f016020ad245401c7accc885fbf00.tar.bz2
historical-4ca93fb1e53f016020ad245401c7accc885fbf00.zip
Add unit file
Package-Manager: portage-2.2.7/cvs/Linux x86_64 Manifest-Sign-Key: 0xA188FBD4
Diffstat (limited to 'app-admin/verynice')
-rw-r--r--app-admin/verynice/ChangeLog10
-rw-r--r--app-admin/verynice/Manifest24
-rw-r--r--app-admin/verynice/files/verynice.service8
-rw-r--r--app-admin/verynice/verynice-1.1-r2.ebuild33
4 files changed, 57 insertions, 18 deletions
diff --git a/app-admin/verynice/ChangeLog b/app-admin/verynice/ChangeLog
index a9204ed78396..9ae2a8bed2d4 100644
--- a/app-admin/verynice/ChangeLog
+++ b/app-admin/verynice/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-admin/verynice
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/verynice/ChangeLog,v 1.22 2013/02/14 22:02:14 ago Exp $
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-admin/verynice/ChangeLog,v 1.23 2014/01/03 21:55:18 pacho Exp $
+
+*verynice-1.1-r2 (03 Jan 2014)
+
+ 03 Jan 2014; Pacho Ramos <pacho@gentoo.org> +files/verynice.service,
+ +verynice-1.1-r2.ebuild:
+ Add unit file
14 Feb 2013; Agostino Sarubbo <ago@gentoo.org> verynice-1.1-r1.ebuild:
Stable for ppc, wrt bug #457216
diff --git a/app-admin/verynice/Manifest b/app-admin/verynice/Manifest
index 60a0014f2e47..254154f3a1b7 100644
--- a/app-admin/verynice/Manifest
+++ b/app-admin/verynice/Manifest
@@ -1,27 +1,19 @@
-----BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA512
+Hash: SHA256
AUX verynice 482 SHA256 41f9470919f2e30dd23e01b6af2f2027f018e827568c7ed3c83336076056ed3a SHA512 37b45f4f031d29400aa5c09b8f15e47a5cd4cd47d958e4f3f46d8764a96cb2cb6b2cf5b779f0b90cbaee0bd7dd907fcdce89651dcdf5731d36fa5b40bb163941 WHIRLPOOL e95ae80f659ab37a0bc5f720fd5609f3bb24db54fabd1e33e917808c2c13cef0f7f005a89b39c3c4d51cea5373085bbe32a066675fbceeee4a24c90a397535cd
AUX verynice-1.1-build.patch 2525 SHA256 672c404f155a8be7e0ffa91997f25d2a13d16475a4c5821fead89108d3dd82c4 SHA512 8421776550e74a0d409cc3a02e65e96a047571abf0a7d5f0f1c97217978a150711bb7dd68b77abac044b4b7844970bed969151b166f91da20cd36c2c491bdee6 WHIRLPOOL 0bfea97c64dd76096150dc088c70dbf3ed62c25c46447a38aa23d08fcf439813ab04eccbed98daa4178659b6fa1184755bd9c238ea3f3a8d0968af658ba059a8
+AUX verynice.service 158 SHA256 f30efe2dbe6b87e637c458c7d618114b9cf9af5f3d12653de18aae9ff5a079f5 SHA512 03a88cc405c8d6fa18f1e523e6987b1455011cf17ff38f1e937d523b33d88cae839f256811b487ec3141d8b396a15b8af778998d53bf55dd69f6a6a6dbc6a148 WHIRLPOOL 7da0946a0b67425bf7e80b0d660bd5f9f601f86ac1364ccbd324bcfbd361e8721870f6d3112bfd593114cfeab6d6d866f5d648b06846f4f335705bbdd8f4aff2
DIST verynice-1.1.tar.gz 37576 SHA256 5830fd4ac14ba3677e49159adbb7cd61e3d42d1f0b9aa73e4ed0aa154af6cd8d SHA512 731fa22162bb4f48b943839ccf8ccdc769587e323da11e4a77ad14539a724ffbb89e5f4122e1ab36df3306c507afc958d1125160d34d9cbf55df4dc69e4a0139 WHIRLPOOL ed1b7790aa333497e869830b2aacc3fa2289864e363bef3362ffee115c8afa0eb36b8cc29f255d87b929bb3dec3f8d9e839f30668c4572bccfdfb61f95da07c3
EBUILD verynice-1.1-r1.ebuild 794 SHA256 e308327307afc1170a0b1c6e3e67a32d75ea46b546305e4bf7c47138b9b57c7c SHA512 7c7689fd41d0ee4ee3e0433e6ccd86d1c73dffffac71ab592fec76b792571bad4dfe81d7ec15b831daeda426f2a10beb93a338a437e31a5a421aa5b69feafe12 WHIRLPOOL 9b4fab2bb7bb4cc88eaf0e52584924af09eeb8f18e455d263ea9759f69ccef359b7afae65f884a23f6097bd12b141559b416777d7ba0dae5c8d665a2da2f2db9
+EBUILD verynice-1.1-r2.ebuild 854 SHA256 03a279a9d9f18ce4251d6e54572ba31beaab803513c02c2d461dd440d1c120fb SHA512 d483317450ed3a4d468629f98c5e0745f726794a4975aa9faa0be671ce8c6ae278e2bd5d60f430f701246b8a87555ccb5e75fd97827f35eec265155d2e920086 WHIRLPOOL 52ee8244cca88e9b01e8eac3bba0e60f47a85e7f9a6764876ae112455dfe97977f7b989fccd31ca1a8e7ed62987ad5b98a6af52f44b82c7acfd5cac251f39645
EBUILD verynice-1.1.ebuild 1179 SHA256 4f7e402c954f441f235c7658b88ead07ec88b5682cd3d90a4f4c7084380fbf08 SHA512 eb8da360b867c27445e0035ff86428531714f0834448270509563c7a29c7e8d3e0d4fbfe25b31202960b2001faf07f57424d5e3ca5c1e8e4d9bb36c6b116e479 WHIRLPOOL 098cf696a304cd5c638d5ed087b1d7ab066d1ce3132181c3808aedf38484fd88dd4f2680f9d7f3804b4dc083cee87fd6e8f8f0000d2814b840ec26b86c2b9bc9
-MISC ChangeLog 2563 SHA256 9806076ad4d03af0966988981ad4d8803506ce81f43a6bd35082dac580a06c2b SHA512 30e6e5d8b320c94112e99429e3d032e045adc68da98acb8713f0c604294e28b4465349f3a3402dba9aea255480373104b95c009c1fb7c0156c2a816181287334 WHIRLPOOL 3551a4ff22b743d4a47579a963ab5a95dfc202cd4a80537f94343f0af37d5651ddad85e98d25eac1ea008a8009f8514202f2a77b987c89f4ade854b63d27514f
+MISC ChangeLog 2712 SHA256 9c9cb9066164872d741285647227d8515f8908c21976f1ec30de5ccf53a46604 SHA512 c89f2cde0117a3a153016ccaece46576b0bb139063050f4a92a2eb7bb0c70c8e87d9cf279f9d5c5758ed28401d2e005d215d8ada948ff537b8dd2240db1bf3d5 WHIRLPOOL 626476feb491f1215908f7f44f190a5d10093ce9abe3445162f8aa55940b376e24e7ca9e25d82077906ed521a8a56992e3b4b8c45aa27c5bcc63ab4cdb404012
MISC metadata.xml 356 SHA256 6e8d66dd876aee03ea5a74b1b9d2cc15c528ff95b2b534719ea11fc8232cc86c SHA512 254c087a67c211201643cd084c6bf4391608e6d56ed06a2dbd58eee68408f8e0a8673bfa9a960652bd83372c2fc9457829f1c5b45d684b05d527cf8535421067 WHIRLPOOL afd49131b1444bf7225d09d842ed0995b885fab62970bbd8143f930fb9298d24a21dd7273abb6fc614653c5f3f397e15471a44a81704c51d0d045690ec96e278
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.19 (GNU/Linux)
+Version: GnuPG v2.0.22 (GNU/Linux)
-iQIcBAEBCgAGBQJRHV5jAAoJELp701BxlEWftT4P/iKvyMC98R/4/s+S+p07fdlr
-vJhTkRmBHCKJw74mlwpJMdjFNntXdDTrhL5tfY4/wLkoAddcMmTFUizJ0ziK5duL
-VYAPjXQ7MSkLjTswxL3Bu1qoqbiKAijr913ECfWAN81nkPO/EaLnz8IRx/fvgk63
-0p3Gv1HPtf70hIcq0hj7e0lcxgdE/+5Y0RevxbPOFWYSanFeZV05iAF4GwnfRI68
-xSahWYy6si/jyDSMXqSEJyHgVzDJagoCwmo6fquhH6wyd3WRnrAG6Eia4YTtebG9
-Sf/b3vv2VIPGIW/uAbN6An9j7lIIscny0C33H/RBCKu2TPPOE2fD7PCFuQ+JOIX3
-z3irWHwmUIIcM4cKXsW9gH8ruklokxEteX4z/pxVu+cwfDNdT2oSpzVdq51fDFKX
-oNGuEsgWs/8nqAkR0aU2fyU+XtbNbAFL7F1uWxS9YVYOsflJ9uGHa58xzDVc6VRB
-bxCEs4TJUHENo+TYSZc6N4iSOEqS2G0XElEQHP2+AZNtBUHKDyxteX5FCDJFqLLm
-mjuehm9OKz19Im4Xf3OhKmUjDA49IuE/3NB8BIBBMG+mDzxjzN05O/PKyYbnmEIE
-NrvQE8xC51q/Wd0gmXCqV6dlAZpOBMsK8z9F37H6yxPiOFuyanpjgcZD6wgssM4w
-p65e0SGm4yxP3xJluSaP
-=RSMf
+iEYEAREIAAYFAlLHMccACgkQCaWpQKGI+9TtUwCfVrkylaa7wNEwMFcyfV07UbO9
+tkgAnRW+z99ZVxR01qW+V6mhvA3GZ8xB
+=hIRm
-----END PGP SIGNATURE-----
diff --git a/app-admin/verynice/files/verynice.service b/app-admin/verynice/files/verynice.service
new file mode 100644
index 000000000000..e85ef4c895b2
--- /dev/null
+++ b/app-admin/verynice/files/verynice.service
@@ -0,0 +1,8 @@
+[Unit]
+Description=A tool for dynamically adjusting the nice-level of processes
+
+[Service]
+ExecStart=/usr/sbin/verynice
+
+[Install]
+WantedBy=multi-user.target
diff --git a/app-admin/verynice/verynice-1.1-r2.ebuild b/app-admin/verynice/verynice-1.1-r2.ebuild
new file mode 100644
index 000000000000..342ada1b152f
--- /dev/null
+++ b/app-admin/verynice/verynice-1.1-r2.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-admin/verynice/verynice-1.1-r2.ebuild,v 1.1 2014/01/03 21:55:18 pacho Exp $
+
+EAPI=5
+
+inherit eutils systemd toolchain-funcs
+
+DESCRIPTION="A tool for dynamically adjusting the nice-level of processes"
+HOMEPAGE="http://thermal.cnde.iastate.edu/~sdh4/verynice/"
+SRC_URI="http://thermal.cnde.iastate.edu/~sdh4/verynice/down/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+S=${WORKDIR}/${PN}
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-build.patch
+}
+
+src_compile() {
+ tc-export CC
+ emake RPM_BUILD_ROOT="${D}" PREFIX=/usr
+}
+
+src_install(){
+ emake RPM_BUILD_ROOT="${D}" PREFIX=/usr VERSION=${PVR} install
+ doinitd "${FILESDIR}"/verynice
+ systemd_dounit "${FILESDIR}"/verynice.service
+}