summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2011-12-11 19:53:43 +0000
committerMichał Górny <mgorny@gentoo.org>2011-12-11 19:53:43 +0000
commit8a79e0ef6f0c2ff34a49c7b5482bfbd4df963e38 (patch)
treee9e9a069c9af92ed8930dedb20dd95c98c095b3a /sys-apps/irqbalance
parentHOMEPAGE an SRC_URI updated and checksums re-verified. No bump required (diff)
downloadhistorical-8a79e0ef6f0c2ff34a49c7b5482bfbd4df963e38.tar.gz
historical-8a79e0ef6f0c2ff34a49c7b5482bfbd4df963e38.tar.bz2
historical-8a79e0ef6f0c2ff34a49c7b5482bfbd4df963e38.zip
Add systemd unit file.
Package-Manager: portage-2.2.0_alpha79_p31/cvs/Linux x86_64
Diffstat (limited to 'sys-apps/irqbalance')
-rw-r--r--sys-apps/irqbalance/ChangeLog8
-rw-r--r--sys-apps/irqbalance/Manifest17
-rw-r--r--sys-apps/irqbalance/files/irqbalance.service8
-rw-r--r--sys-apps/irqbalance/irqbalance-1.0.2-r1.ebuild (renamed from sys-apps/irqbalance/irqbalance-1.0.2.ebuild)11
4 files changed, 32 insertions, 12 deletions
diff --git a/sys-apps/irqbalance/ChangeLog b/sys-apps/irqbalance/ChangeLog
index 804937b88026..efd2ca971f0d 100644
--- a/sys-apps/irqbalance/ChangeLog
+++ b/sys-apps/irqbalance/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sys-apps/irqbalance
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/irqbalance/ChangeLog,v 1.34 2011/11/11 09:21:28 phajdan.jr Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/irqbalance/ChangeLog,v 1.35 2011/12/11 19:53:43 mgorny Exp $
+
+*irqbalance-1.0.2-r1 (11 Dec 2011)
+
+ 11 Dec 2011; Michał Górny <mgorny@gentoo.org> -irqbalance-1.0.2.ebuild,
+ +irqbalance-1.0.2-r1.ebuild, +files/irqbalance.service:
+ Add systemd unit file.
11 Nov 2011; Pawel Hajdan jr <phajdan.jr@gentoo.org> irqbalance-0.56.ebuild:
x86 stable wrt bug #383955
diff --git a/sys-apps/irqbalance/Manifest b/sys-apps/irqbalance/Manifest
index 6dc5cafcacda..1900f36d0319 100644
--- a/sys-apps/irqbalance/Manifest
+++ b/sys-apps/irqbalance/Manifest
@@ -1,5 +1,5 @@
-----BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA512
+Hash: SHA256
AUX irqbalance-0.55-build.patch 855 RMD160 3908e87bbbb673aa1ccc9b0be1ba261b960831cc SHA1 aad4efeb5d9ad89d3f340fba4e54eaf00f135420 SHA256 ddbc077d45137fec1497aa6fb3a0bb60d5af8c76721c59446acf53a17b4a57e2
AUX irqbalance-0.56-build.patch 555 RMD160 ea9f00e48a887a0ba5af912fcdb205af28fe93a1 SHA1 a6493bc9acf1a1d66037f4a5cc7e0b96b3287106 SHA256 4c3c4fa8139e09c5493a472f18dffc7a078ec53495bf9490f9b854cfa59c9dd3
@@ -8,6 +8,7 @@ AUX irqbalance.confd 438 RMD160 6e784d7cd6c6ecc1822f9e465506eb4e946cc719 SHA1 dd
AUX irqbalance.confd-1 577 RMD160 b6c8e1da5e6aab8c05cd86c360d36a6b74932aa0 SHA1 7c7ee6f92869b26a98cde2976f7c58a7967cd923 SHA256 98bb18cd977a0706c3e63a36a7dfb2aa01cd84cabb719da0ea5bf795e5d02413
AUX irqbalance.init 507 RMD160 071bd7885dbd98e3ca7fd099021c156aea1e6711 SHA1 b06f05897d43f6e2542a9734294a22df82690956 SHA256 38e876dd72c122ba74dc5025903a50fbb78cc0abd69412c6347260418be5d1ac
AUX irqbalance.init-0.55-r2 510 RMD160 df1700f53c2efffd10885e8dcc3149a1998750e9 SHA1 a499a0cfc9c8b3da785cfbe76f0b9a9d19f3cfda SHA256 9ec542f6435a224cb65d68f3f44b161d15fdc128afb639ae1b99a2a6d6ed81d0
+AUX irqbalance.service 181 RMD160 93511907b9948ab4956e59e0b37d846e59cb3c42 SHA1 294a8ff209e387a0285a3f6b4e79ad066a241987 SHA256 a8fe4ef0a80decbf921c95d949c0a1a7fcb572ac04749a879c016355e5ac7e10
DIST irqbalance-0.55.tar.gz 20637 RMD160 099b9bb1c6774f518b967c2cbbd418812f2f576c SHA1 9073e1dbb48e7c7bf1f4850e988d8f74e8a35761 SHA256 489955ea58b713f5d7aaa23752818270a4834b4f09d121bd78a4e5509e359f01
DIST irqbalance-0.56.tbz2 28089 RMD160 9afe36158479ecac992bbb75afe4fc22f5421f0a SHA1 64065ab2d9eeecc9bf15c242453c9882b36c85fb SHA256 516e1bdc5469f0f350e2e9ad2925b221faa4497a608c8d4e28a997938451c5fc
DIST irqbalance-1.0.1.tar.gz 333094 RMD160 88956e277063a83faeb231ad4b68abb6fd8b6189 SHA1 4f829bdb8157cb45ea38e2d7da72bfb71c67202c SHA256 680e39a77695694d631a6bb27441d270597768c834dfa7c284c6e275b8d64cc4
@@ -15,13 +16,15 @@ DIST irqbalance-1.0.2.tar.gz 335040 RMD160 b15e1642b670c4e8936d8256ac1f393fb4f08
EBUILD irqbalance-0.55-r2.ebuild 861 RMD160 663e20f46bec05225ac3b5169a8d4187b856a7b4 SHA1 9b660ac46fca5c21970ee2df13a47938eb937486 SHA256 9854560d75e21ef062c42ce051d05ea5485a565ed07eb6f0396bea8537171274
EBUILD irqbalance-0.56.ebuild 970 RMD160 998de9b9072ef0d442971d6b3baee97346d79714 SHA1 7005c3c538309c244c5e3dd4e7fd93eac5b4c920 SHA256 51de2496ddedc62e78b955f5e07d9cfc505fe10aa573a30bacd1ef63bc80eb75
EBUILD irqbalance-1.0.1.ebuild 1159 RMD160 c5f3725dbce2f6ad2cd2be5244f7f3ac145cf60d SHA1 5a4092cf7e1e9a724a98e615eff59cb0bf14c5c9 SHA256 fbb88f3c284e6d6db4ff73b2dcc0b1ec15c4a582cb36b7d2201b9a8e94ff49ee
-EBUILD irqbalance-1.0.2.ebuild 894 RMD160 ab90b0ba8fd0a88d5768b56f111a4986f6f6e52d SHA1 53db33d1a555b3c3a944d67c4202efad1afb5879 SHA256 42e76fca1b3e80869590bf51f12d42844638cf3a15d11361844f5a6c2c334a61
-MISC ChangeLog 4964 RMD160 be958f8ba39d99d89dc63c661d0e1fe98a9ecc02 SHA1 cb5590de3e8cbd3eb5ec8368892ed9d6a9be0078 SHA256 250055b95ce6cee780bc4dc1700096ac3a2b758a57730d1fb21597a0db7ae4fa
+EBUILD irqbalance-1.0.2-r1.ebuild 926 RMD160 3329ba403bad221c51b81a20025f4bfd8e6df04f SHA1 e714519bb54388d36488108cbd06519306aa8dbe SHA256 7a43f6a66e5aa36412a689898351f128bb6dd21cd582876f283153eb841b1512
+MISC ChangeLog 5156 RMD160 b60b7801e47ce434c4b78e6e4244336d85487117 SHA1 166615efc6b828b6bde5a1863fae00d75df0fa4c SHA256 4f87e3f69bdc3a303c8c5d3c67e318b8d6a7fa20810befbfbd6b8a0d8b9d95f8
MISC metadata.xml 248 RMD160 2004be16e016c3f76faabfe1cf7e097e83a70887 SHA1 aca81143340ba5d9335019202a0ab30000ce64fb SHA256 d6d01721810d7ea178b36830e73180667782baac2e2e0b38a1222cc89871d0d0
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.17 (GNU/Linux)
+Version: GnuPG v2.0.18 (GNU/Linux)
-iEYEAREKAAYFAk686RkACgkQuUQtlDBCeQJMCgCfXhZAH2/Bd5ErY5JepKvWtv/z
-17EAni0Q+/wVZtozHkUCZ6I+KEY8TTXX
-=b/Cj
+iJwEAQEIAAYFAk7lCoAACgkQfXuS5UK5QB0wvAQArFksvIFDNUUXGv5Lh+8+JPHr
+CuixuNkXpm09aS/CvOMRWH8X7LXSD6dEeqL20AHERZ2YYYl0cwpP97/03966l2Hp
+tOWGu43WPiEvd+QaC79q2y2B4fFD6koQ/QCEcvGM5V8NUQerULfpo7KZVEeB5zYR
+sqTnJPavMSuNe1wQ5PA=
+=hUjb
-----END PGP SIGNATURE-----
diff --git a/sys-apps/irqbalance/files/irqbalance.service b/sys-apps/irqbalance/files/irqbalance.service
new file mode 100644
index 000000000000..4439f14bec58
--- /dev/null
+++ b/sys-apps/irqbalance/files/irqbalance.service
@@ -0,0 +1,8 @@
+[Service]
+ExecStart=/sbin/irqbalance --debug
+# --debug implies a lot of cruft
+# but it's the only way to get foregrounding
+StandardOutput=null
+
+[Install]
+WantedBy=multi-user.target
diff --git a/sys-apps/irqbalance/irqbalance-1.0.2.ebuild b/sys-apps/irqbalance/irqbalance-1.0.2-r1.ebuild
index 2384aefc6e0c..695023f7b868 100644
--- a/sys-apps/irqbalance/irqbalance-1.0.2.ebuild
+++ b/sys-apps/irqbalance/irqbalance-1.0.2-r1.ebuild
@@ -1,8 +1,10 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/irqbalance/irqbalance-1.0.2.ebuild,v 1.1 2011/11/05 17:59:25 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/irqbalance/irqbalance-1.0.2-r1.ebuild,v 1.1 2011/12/11 19:53:43 mgorny Exp $
-EAPI="2"
+EAPI=4
+
+inherit systemd
DESCRIPTION="Distribute hardware interrupts across processors on a multiprocessor system"
HOMEPAGE="http://www.irqbalance.org/"
@@ -27,7 +29,8 @@ src_configure() {
}
src_install() {
- emake install DESTDIR="${D}" || die
- newinitd "${FILESDIR}"/irqbalance.init irqbalance || die
+ default
+ newinitd "${FILESDIR}"/irqbalance.init irqbalance
newconfd "${FILESDIR}"/irqbalance.confd-1 irqbalance
+ systemd_dounit "${FILESDIR}"/irqbalance.service
}