summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabio Erculiani <lxnay@gentoo.org>2013-05-20 09:23:26 +0000
committerFabio Erculiani <lxnay@gentoo.org>2013-05-20 09:23:26 +0000
commite1a7b87fee26ef1bc21cdf1a3a260965fbeee9a7 (patch)
tree599f8501bcb94a1776564cfe884601aebddbf1c8 /app-misc/uptimed
parentUpdate patchset to work correctly. Wrt bug#470166. (diff)
downloadhistorical-e1a7b87fee26ef1bc21cdf1a3a260965fbeee9a7.tar.gz
historical-e1a7b87fee26ef1bc21cdf1a3a260965fbeee9a7.tar.bz2
historical-e1a7b87fee26ef1bc21cdf1a3a260965fbeee9a7.zip
add systemd unit on behalf of the systemd team, fix bug #468898, overriding unresponsive maintainer
Package-Manager: portage-2.2.0_alpha166/cvs/Linux x86_64 Manifest-Sign-Key: 0xADC916E5
Diffstat (limited to 'app-misc/uptimed')
-rw-r--r--app-misc/uptimed/ChangeLog7
-rw-r--r--app-misc/uptimed/Manifest21
-rw-r--r--app-misc/uptimed/files/uptimed.service10
-rw-r--r--app-misc/uptimed/uptimed-0.3.17-r1.ebuild5
4 files changed, 25 insertions, 18 deletions
diff --git a/app-misc/uptimed/ChangeLog b/app-misc/uptimed/ChangeLog
index 601076c02d6e..240c4bc68b25 100644
--- a/app-misc/uptimed/ChangeLog
+++ b/app-misc/uptimed/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-misc/uptimed
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/uptimed/ChangeLog,v 1.96 2013/04/29 09:24:12 polynomial-c Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/uptimed/ChangeLog,v 1.97 2013/05/20 09:23:15 lxnay Exp $
+
+ 20 May 2013; Fabio Erculiani <lxnay@gentoo.org> uptimed-0.3.17-r1.ebuild,
+ +files/uptimed.service:
+ add systemd unit on behalf of the systemd team, fix bug #468898, overriding
+ unresponsive maintainer
29 Apr 2013; Lars Wendler <polynomial-c@gentoo.org>
-uptimed-0.3.16-r6.ebuild, uptimed-0.3.17-r1.ebuild:
diff --git a/app-misc/uptimed/Manifest b/app-misc/uptimed/Manifest
index 6566a3f93e56..6246e6654957 100644
--- a/app-misc/uptimed/Manifest
+++ b/app-misc/uptimed/Manifest
@@ -2,24 +2,15 @@
Hash: SHA256
AUX uptimed.init 845 SHA256 687589dbae26e42af4d0693baad6ac86270b5eb2d2f5fcbacf3554a6cbd24f85 SHA512 513cffb666c821d60a2a1d5bbb36b854bff84c4249d8ac27779e82b5ca9e9824aa432c0812d247c469e9a9ab4dadf104cddaa8224b891e39d0a2c0ebc409134e WHIRLPOOL 44c3593a7ac3ac6976bd7cb8bb6fa02eda1ed552b2d4212e53dac05f51b8778e272942c16f48f8af0196f61ebcd970d99f8b3e725d15e6038dde194476442b0e
+AUX uptimed.service 209 SHA256 1be567def3288746970983ab6abe2c7c3cd304bb32a615430d7789298eb35d64 SHA512 949baf12782d4b8a976d29ec44bd31323500de763b82601634eea3721ce9035bb9b7ca906384e2b8ebd57371a1116a95dd78c3610c27fa1d93e36b9f897bcd98 WHIRLPOOL d38ab160b8957dce6edfd64f0d90239708fdeadac303b10e88fa4335295cb7638db077da7c8cb7a4b87a1f6ee1ff6efc452f25897d8db0beb1539fe21c5352b8
DIST uptimed-0.3.17.tar.bz2 269102 SHA256 524ce8984c0d0a780a32025ba3ffb980e5eec3d78e65cf68c91edec7fe833a06 SHA512 d462fa435b07bc335738dfccddd374aaa94fe2671a652afb8cb85d5e69e2148c296dec2a575ef074675e64e5453cb2d0807f80b191d9aeb5233168a617e842c5 WHIRLPOOL 38ce1ec75a0a3b82d448d85f256dce4b77265e59dead4557c8a039056bd2f230355cffb90a776badc351315d072c10d227744905b8fcc6b3f6f32ac7d6492125
-EBUILD uptimed-0.3.17-r1.ebuild 1427 SHA256 aed29ad15f2fd927b8317dc372421154b72ab66e2415169bc2a0014712d6c48c SHA512 4187f49c7bdaab03c9ea92b9a065238b5b38695be168bdbd1fde96abaf08b1b474f9185d366aa6faee401ea225af9a86cf365157aa779dddb5efaece000c4d9c WHIRLPOOL 9cda58c1ef8b5dbffc5a50319c3f61beb2ed51fa56017c681fc43ffedb145be3cf4515eb8f4a7625c498ca54374af29e0e09675da4f4ac2e01898c29faf00135
-MISC ChangeLog 12490 SHA256 cec4d6f3b8df65fd4c435e946fe3b377e683bf5973c3751a02bd859cb42b9904 SHA512 782674f308bf515ed5867611b11fb6a920206aed92a6a8826f589d15388e760d0adc003aac1ddda824101eeb8a2cd1093e74b12a9ac7e2acfa72905d2d21d811 WHIRLPOOL 8ca4180e646a113224961465e3014f3686c6dc030a1cc38edcaa1fb0cd965b08cfbd139ca5a5285d86fb0485e7bf6f2eb4c5c73ec832ecb2abdf4a7deb24100f
+EBUILD uptimed-0.3.17-r1.ebuild 1472 SHA256 4c2706af9fb8cb22263d8a8fa5807392b8ab7fc5bda8583cab486a726b2da03b SHA512 0dd505406eb85a2019ac5a4d0a104f61f310e35e227d43055138543f81aa60fe8a8d510549c3ee18963d371a2cac3b9e0fba5f7c90317c962a8a03159b24fa69 WHIRLPOOL 0880632cc95c2a9e4ec397b63c6d247f7bb44bec3c06d3e681fd84edd5558e8b0eef4c9c2ae97a0a5bc53af69d0fa175ebc6dcd2b403e88dd01010c27ccb98da
+MISC ChangeLog 12690 SHA256 630b5e8f24895f36d8fbf72dd818c65df4502cdb6397981c9a87df6c8ebd31e4 SHA512 4262dd9db01bb88390fe932a9798673801907809ba794c0e26ee621fa5bee35e710dc021f2c35cb1f3c75e98c0a005c23cb90071ec2ab78bec1c16d792483e2c WHIRLPOOL 8fb9ac3014b826d19b8ebb1c915d31dd79fb8bd9654a2e8e7f991ba8fe856e5896cfde99d3fc2035f220eec80799ca01a0fe85eb914671acfecebbee8288dd00
MISC metadata.xml 237 SHA256 97e2852866e146fd242be6cddceb93aebc2b28056cdafa3ff688a0cfc97a5065 SHA512 d21eed02cc15021ad5f18c4c932afdf4d6cfbb64a243764b61914aac9e57f6089ebb9e3a37e136e5bb7bf4f28d29bba49279d52a75acc3a6f921c770213758a5 WHIRLPOOL 92462bf73803127a88d9e2a02503d36efd2b8f1c938f3f2c00145db02871ea9ce241eba371138b6ab80c4774f858250b5eba08886ff355c0f212bfbc2cda3d9f
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
-iQIcBAEBCAAGBQJRfjw9AAoJEPiazRVxLXTF89cP/0ooGuoH0c1q3kdMctTZcpdd
-+BS1cvvEgWXi2xKj5sjyws8EVlISJrExi91eW9RQCeSzujNSbgPEv+N8edMazAnx
-0Z+FYCWYGUBV31S9SRvLHQYo90j2DGam1eN9EoNSS3yA6MHBEkWY8rqtVy3YOuZz
-HnpHOgkJr/AkvxFsWhGSLo4rHwH45OWFDvoKeccm5OmpE+MALTuvufYJsyD/3sOJ
-r97ONfByDZ/gNFXPXx399I3CupM2SPevOij3PdYNIjZLSnzQp3jds+dR8x7LiTw+
-olHjEmX4NSqDv9Eo5D+0eJY73rTqSP6GouZ5zHHAhxMgsktwkGWATl2OGl6qQypA
-eItn9+OA5TWKHC4aV6teCi/HiqGj5rV1T6YZhYSt5xIeZy1AEhKmcwxmhAYW7L8M
-BEiIweF9WUSwsRmGvNQmPmy3Ur/dYyew9rNboeVW8xrN7d5+GPOqvT+KPRZjv9No
-AOCDL4vZY4cftVd2B1ATQ/EqtB/MTQGC/i2Jbqp+khntpP4HWYaHYp74CR6ttYPh
-akdKCwggQ3Rw0i3Y90b0x2+syvgjxVzPAJ2/q7OoTujuZuSySNJ+xxhxl9jkhx9S
-sbdRdQpz+7pB6FbLk19L+lS4Jivfng2kOfByw4EQyBypFWueSIBZZorHEc6D2sr2
-98LJtzBfM1Ny4P5cKLqM
-=lXJw
+iEYEAREIAAYFAlGZ63AACgkQfaj9zK3JFuVYeACeOxMvO9q7+gcAJvwvTi58Qh5h
+QcAAoOh7WwjSg8XacRHofnRbh7lxe+tU
+=HUOJ
-----END PGP SIGNATURE-----
diff --git a/app-misc/uptimed/files/uptimed.service b/app-misc/uptimed/files/uptimed.service
new file mode 100644
index 000000000000..531c41570216
--- /dev/null
+++ b/app-misc/uptimed/files/uptimed.service
@@ -0,0 +1,10 @@
+[Unit]
+Description=Uptime record tracking daemon
+Documentation=man:uptimed(8) man:uprecords(1)
+
+[Service]
+ExecStartPre=/usr/sbin/uptimed -b
+ExecStart=/usr/sbin/uptimed -f
+
+[Install]
+WantedBy=multi-user.target
diff --git a/app-misc/uptimed/uptimed-0.3.17-r1.ebuild b/app-misc/uptimed/uptimed-0.3.17-r1.ebuild
index cbe989371e89..db5fa7cc019e 100644
--- a/app-misc/uptimed/uptimed-0.3.17-r1.ebuild
+++ b/app-misc/uptimed/uptimed-0.3.17-r1.ebuild
@@ -1,10 +1,10 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/uptimed/uptimed-0.3.17-r1.ebuild,v 1.10 2013/04/29 09:24:12 polynomial-c Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/uptimed/uptimed-0.3.17-r1.ebuild,v 1.11 2013/05/20 09:23:15 lxnay Exp $
EAPI=5
-inherit autotools eutils user
+inherit autotools eutils user systemd
DESCRIPTION="System uptime record daemon that keeps track of your highest uptimes"
HOMEPAGE="http://podgorny.cz/uptimed"
@@ -39,6 +39,7 @@ src_install() {
fowners uptimed:uptimed /var/spool/uptimed
dodoc ChangeLog README TODO AUTHORS CREDITS INSTALL.cgi sample-cgi/*
newinitd "${FILESDIR}"/uptimed.init uptimed
+ systemd_dounit "${FILESDIR}/${PN}.service"
}
pkg_postinst() {