diff options
author | Pacho Ramos <pacho@gentoo.org> | 2014-01-06 13:56:53 +0000 |
---|---|---|
committer | Pacho Ramos <pacho@gentoo.org> | 2014-01-06 13:56:53 +0000 |
commit | 5226a8e6cc4ef6e4c7057147f81e273a0e7b9488 (patch) | |
tree | 656100ed633055df0537c183f8ef36b562e23aee /app-laptop | |
parent | Add ~x86-fbsd #496740 (diff) | |
download | historical-5226a8e6cc4ef6e4c7057147f81e273a0e7b9488.tar.gz historical-5226a8e6cc4ef6e4c7057147f81e273a0e7b9488.tar.bz2 historical-5226a8e6cc4ef6e4c7057147f81e273a0e7b9488.zip |
Add unit file for i8kmon (#497178)
Package-Manager: portage-2.2.7/cvs/Linux x86_64
Manifest-Sign-Key: 0xA188FBD4
Diffstat (limited to 'app-laptop')
-rw-r--r-- | app-laptop/i8kutils/ChangeLog | 10 | ||||
-rw-r--r-- | app-laptop/i8kutils/Manifest | 16 | ||||
-rw-r--r-- | app-laptop/i8kutils/files/i8kmon.service | 9 | ||||
-rw-r--r-- | app-laptop/i8kutils/i8kutils-1.33-r1.ebuild | 55 |
4 files changed, 79 insertions, 11 deletions
diff --git a/app-laptop/i8kutils/ChangeLog b/app-laptop/i8kutils/ChangeLog index a98c0412365e..d23d0c0f7caf 100644 --- a/app-laptop/i8kutils/ChangeLog +++ b/app-laptop/i8kutils/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-laptop/i8kutils -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-laptop/i8kutils/ChangeLog,v 1.22 2012/08/22 13:42:00 kensington Exp $ +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-laptop/i8kutils/ChangeLog,v 1.23 2014/01/06 13:56:49 pacho Exp $ + +*i8kutils-1.33-r1 (06 Jan 2014) + + 06 Jan 2014; Pacho Ramos <pacho@gentoo.org> +files/i8kmon.service, + +i8kutils-1.33-r1.ebuild: + Add unit file for i8kmon (#497178) 22 Aug 2012; Michael Palimaka <kensington@gentoo.org> -files/i8k.init, -i8kutils-1.25-r1.ebuild, -i8kutils-1.25.ebuild: diff --git a/app-laptop/i8kutils/Manifest b/app-laptop/i8kutils/Manifest index 74c9e6063241..b499cde52658 100644 --- a/app-laptop/i8kutils/Manifest +++ b/app-laptop/i8kutils/Manifest @@ -3,18 +3,16 @@ Hash: SHA256 AUX i8k.conf 891 SHA256 7e867dd900bcf393326d350017b29980452b38a30a1cd4581b786091b4571bca SHA512 bc262f0014237abfc87efc60dabbb37e86c459077831b68c07ea13608d1174bd32cb695e74ca4597839f7b128cfc1b4860874cce0c6f511972569e5f0948526d WHIRLPOOL ae5166212cdd0aa5d94c73698e5fc2cbdc6e467b1bad6ee96ffc074108d925251d1139036451cf213d19080724312ce3cccdea0022d4e521faff418eea873ea4 AUX i8k.init-r1 1215 SHA256 78b572be1fff67fadea425ce250ddb4e0ea577be00d825ca465aba8ea4c7c3e5 SHA512 2ccb3e28df0dfffe049c3e5a1b1f3c60cba6758fad2b9463834ee4b859e698eaca26b773e23187bcc31d985431b38ca39a2f5f8711037353a6d1a7620879c555 WHIRLPOOL 4020cbbd303aefbc4567ee6bc202be33759f977eb3395e0a6a047556cedf25468a37ed588e7b72342c39ce15974fed64542fef457302c36bc3b85e96a190ee7f +AUX i8kmon.service 158 SHA256 a1b941e0779071b9dd1be9e6167e4efb1b4f917a59df4730bf8fa094020d3df5 SHA512 77cbed13d4c1982a491faafe7e45da7a4fc06ea94e6b126405211f54a4bb5b4c794d94f6ca56d6d16ad0e0e62d8311bf90e0e6c60c74147ea12963c530c69529 WHIRLPOOL 3e7f74574d3a98237311e4d135d8b78c913cf793e26168ee734b5735dbd98c552578fca9f3348812f870e57b5f83133ca6dab015e6eaef33a5090e1d29ebb139 DIST i8kutils_1.33.tar.gz 50378 SHA256 ebdd39a2be8b5742bd7b24a5dbcbef36ab3b9980330ad07eea471e68b800ecd7 SHA512 a7b9277b8c9bc2642a65122dda31cfa7cc0c4fa780ba980364c0a4e0e4599502c6557871464ff256c5911370d98944826d0e29d4d3621605d5e8c1c8a23e5578 WHIRLPOOL 162cec2b48c1573a8b49d7966db312357754bc4445a9247d6fd0ca43bfabf1ccbe155bdc19c66fcc654f1dd6ff7499e82829e62a726f602a846b01b4a0189eb2 +EBUILD i8kutils-1.33-r1.ebuild 1182 SHA256 e77652bab63350f14844bc53a12515091b7da8a3dd274d4c5947588ef3b652e6 SHA512 067f5178dd2ac2190bb13f0e6199a6ff5c480d5cc24fbb1122781bbb00dbec46468797a0ba825145803dd94ce01410371698d57b6d7d6b486abf8b99448e1eeb WHIRLPOOL 8d8a03d54388d51c5bda0110584f112649aa4fa4b6c94923224a3f69f08722208d4cd9388e5c77143e0ec33a0d6b4b8031037ab0839c604c3733e85509f0f7f5 EBUILD i8kutils-1.33.ebuild 1122 SHA256 84a67f5a4fcc8d88abd2074f77a23dd75cb00eeb246c3c97acd5505412413d3b SHA512 9cee25e94034348d72f5c894ad51f3398b624e3bd7966e84130cc0ac7fcc6324d2e85612f81688876fb9d5c858926567c929623cdae320add8898fea820c9b65 WHIRLPOOL 4a1d196ae6478d77923cba7f1a14c78f9caee367ef65e511f56592f3102ce853dfba02d8fe10d884676c7fd69ee0619315e37952a148da8022d0851a9691f850 -MISC ChangeLog 3419 SHA256 7853d0b3647cdd7505d19ba6a11096a27b7dd2d5a4111e0b1bade08cf81cba89 SHA512 86ed81cc1e892d51938862e7cd1dc7d19e6571638ef780083ccaf4b5617881e654ff51ac914bd7728846a2b08d2a7b3d9c4dee02e098596dc1f0b5e00e908759 WHIRLPOOL 1af2a9b034b7a8242146edf851f55d5d73058494c1acc8028a09402c79f6fde7d06f83723435f940e3e29a5d1bbaeb65d8049127943510fa875eea2440b00354 +MISC ChangeLog 3582 SHA256 81c150a67caa4b83fee33d5ebaf1b4f70b3e1af63a945f1015f851e0707637e6 SHA512 68cb9d284d36f906e46faea12f5cedea607309bd727194972a03f5f38ed4c4bbb2545ea4b4454738698c7918426dfdc48daa0b55d41a6115e45f7e9b89efec49 WHIRLPOOL d3820875d515bd640c2e9d0fa8dafc427231ef71eb6c22d803bbb8a2b0d7a57a5b7dab88e1c7b7b797bfece1bc0cbdb6f82dea193e347972caf4436fc990703c MISC metadata.xml 268 SHA256 2089ca59285b2836a6ec1d5aef27f83d580e922212301f0b1eadb04400eb45eb SHA512 8e365ead118785104bc7576a48a106346ef24f5b709349f8ca3d5fb9107a248d0f172e6898fb4ba4b2b7f84e6c8c7960578a2919e1a3692664cb808b16e6b2b2 WHIRLPOOL 255e754b42ff038b07a48321ced9fe6f8acdc99bb85873807b3e902517a1764dabc7152e5ca9ad4d83ab5dc9d3a611f79e6c066121be77aed3cad1b0f3587b73 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.19 (GNU/Linux) +Version: GnuPG v2.0.22 (GNU/Linux) -iQEcBAEBCAAGBQJQNOGKAAoJEMbwO6tnXQ0sJhQH/A+uvcUvtonopQw3+QDJ6PPH -59G3lqCHIgzfSSNPGw3vPTcY6uJRQUwTIboOP+u6u1C+47/lUlh1iFc8Gb5LyMRO -ym7Ia3OCY6CUUP1kVXXIgHSHM7xhxLyQvlgA5R8py/f9xFJh8VBwfmxFAsuwKLzd -U5l9OKJNzvx3rFsPp5xkiqOd7tYj44lQOJc2/MwYv1d/LWBemvw1137vu/y05mDP -kiG8fzM+p4DN5A+ceIltAjuJ2zJAY1DrH7gHTpclYx+4TkKFzusv4UU+C30csINx -YAaoK3RTOLwY20z/lYw8/VxhJHxz1uLgCEiafY6/poL8UiR8Zt2wfvWIuZnG+v0= -=ntGs +iEYEAREIAAYFAlLKtiIACgkQCaWpQKGI+9QEuACfXRbjrMtIv0YXcObvQ+thko77 +sUQAnjrlca7O+1oxTm+UCrS2RQFYV/l3 +=piB+ -----END PGP SIGNATURE----- diff --git a/app-laptop/i8kutils/files/i8kmon.service b/app-laptop/i8kutils/files/i8kmon.service new file mode 100644 index 000000000000..3b80f46334af --- /dev/null +++ b/app-laptop/i8kutils/files/i8kmon.service @@ -0,0 +1,9 @@ +[Unit] +Description=Dell laptop thermal monitoring +ConditionPathExists=/proc/i8k + +[Service] +ExecStart=/usr/bin/i8kmon -d + +[Install] +WantedBy=multi-user.target diff --git a/app-laptop/i8kutils/i8kutils-1.33-r1.ebuild b/app-laptop/i8kutils/i8kutils-1.33-r1.ebuild new file mode 100644 index 000000000000..3bbbe638d7cb --- /dev/null +++ b/app-laptop/i8kutils/i8kutils-1.33-r1.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-laptop/i8kutils/i8kutils-1.33-r1.ebuild,v 1.1 2014/01/06 13:56:49 pacho Exp $ + +EAPI=4 + +inherit systemd toolchain-funcs + +DESCRIPTION="Dell Inspiron and Latitude utilities" +HOMEPAGE="http://packages.debian.org/sid/i8kutils" +SRC_URI="mirror://debian/pool/main/i/${PN}/${P/-/_}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="-* ~amd64 ~x86" +IUSE="examples tk" + +DEPEND="tk? ( dev-lang/tk )" +RDEPEND="${DEPEND}" + +DOCS=( README.i8kutils ) + +src_prepare() { + sed \ + -e '/^CC/d' \ + -e '/^CFLAGS/d' \ + -e 's: -g : $(LDFLAGS) :g' \ + -i Makefile || die + + tc-export CC +} + +src_install() { + dobin i8kbuttons i8kctl + doman i8kbuttons.1 i8kctl.1 + dosym /usr/bin/i8kctl /usr/bin/i8kfan + + use examples && dodoc -r examples + + newinitd "${FILESDIR}"/i8k.init-r1 i8k + newconfd "${FILESDIR}"/i8k.conf i8k + + if use tk; then + dobin i8kmon + doman i8kmon.1 + dodoc i8kmon.conf + systemd_dounit "${FILESDIR}"/i8kmon.service + else + cat >> "${ED}"/etc/conf.d/i8k <<- EOF + # i8kmon disabled because the package was installed without USE=tk + NOMON=1 + EOF + fi + +} |