From: "Lars Wendler" <polynomial-c@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/uptimed/
Date: Fri, 30 Aug 2019 07:23:29 +0000 (UTC) [thread overview]
Message-ID: <1567149537.c0688d87fd51492e11b0c7d54e11e82ee848b1c3.polynomial-c@gentoo> (raw)
commit: c0688d87fd51492e11b0c7d54e11e82ee848b1c3
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Fri Aug 30 07:18:57 2019 +0000
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Fri Aug 30 07:18:57 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c0688d87
app-misc/uptimed: Bump to version 0.4.2
Package-Manager: Portage-2.3.73, Repoman-2.3.17
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
app-misc/uptimed/Manifest | 1 +
app-misc/uptimed/uptimed-0.4.2.ebuild | 61 +++++++++++++++++++++++++++++++++++
2 files changed, 62 insertions(+)
diff --git a/app-misc/uptimed/Manifest b/app-misc/uptimed/Manifest
index 1a647442792..a848bdcd756 100644
--- a/app-misc/uptimed/Manifest
+++ b/app-misc/uptimed/Manifest
@@ -1,2 +1,3 @@
DIST uptimed-0.4.0.tar.gz 55026 BLAKE2B 9f66f3cda4181c01e686896a8560ecab7bb7f3ed9cdaeaee840a589137188d8629ba414e436a99b212d386b8d3319ce88ccb8867c78335b015ed65a179154621 SHA512 918cd9e065d5005daf5062f14dffb725cb6d6764aa571fd45d63de3f7349b910cbae0dedc832f9bfb52a42caea90e8aec8390685baaf0718fec827240e517900
DIST uptimed-0.4.1.tar.gz 55162 BLAKE2B c281f922ed4fcf4f55571f1f1177451bf9f2e0fecfc87566610e1d24055969cd61543fcb0fdae4d0e6dc7a082c1b9013a08b72641d572a2475e9c7f5fd56deae SHA512 5dfe79aebab8c8daca3a3ec88d54e312446fc7cf8b54ef1414cbfcb3fb25053ef31235de4b42cb14fc7352965b77ca2875c753b97b4d61178792a5484715e23a
+DIST uptimed-0.4.2.tar.gz 55339 BLAKE2B 120a3b1d6dc9518f7051af4d7e0f1bcf455f7dd989687fa8f5a40f160f2912c21d09298bbb9c676af5387d96890a98acf3f21b60e046a9548a735ca10dbc4006 SHA512 a18cc8580a4dc7db7f4d97d70e25d76e7b98b9d328a0fa4ece4176d40fc26589149d63ffc9d2638cc35003cf485b43ae6e115aa1821c662d77f234eb3c4c0a4f
diff --git a/app-misc/uptimed/uptimed-0.4.2.ebuild b/app-misc/uptimed/uptimed-0.4.2.ebuild
new file mode 100644
index 00000000000..1986bbd3429
--- /dev/null
+++ b/app-misc/uptimed/uptimed-0.4.2.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools systemd
+
+DESCRIPTION="System uptime record daemon that keeps track of your highest uptimes"
+HOMEPAGE="https://github.com/rpodgorny/uptimed/"
+SRC_URI="https://github.com/rpodgorny/uptimed/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+IUSE="static-libs"
+
+RDEPEND="
+ acct-group/uptimed
+ acct-user/uptimed
+"
+DEPEND="${RDEPEND}"
+BDEPEND="${RDEPEND}"
+
+src_prepare() {
+ default
+ # fix configure.ac for >=automake-1.13 (bug #467582)
+ sed 's@AM_CONFIG_HEADER@AC_CONFIG_HEADERS@' -i configure.ac || die
+ eautoreconf
+}
+
+src_configure() {
+ econf $(use_enable static-libs static)
+}
+
+src_install() {
+ local DOCS=( ChangeLog README.md TODO AUTHORS CREDITS INSTALL.cgi sample-cgi/* )
+ default
+ find "${ED}" -type f -name '*.la' -delete || die
+
+ local spooldir="/var/spool/${PN}"
+ keepdir ${spooldir}
+ fowners uptimed:uptimed ${spooldir}
+
+ newinitd "${FILESDIR}"/${PN}.init-r1 uptimed
+ systemd_dounit "${FILESDIR}/${PN}.service"
+}
+
+pkg_postinst() {
+ local spooldir="/var/spool/${PN}"
+ if [[ -d "${spooldir}" ]] ; then
+ einfo "Fixing permissions in ${spooldir}"
+ find ${spooldir} -type f -links 1 \
+ \( -name records -o -name records.old \) \
+ | xargs --no-run-if-empty chown uptimed:uptimed || die
+ fi
+ echo
+ elog "Start uptimed with '/etc/init.d/uptimed start' (for openRC)"
+ elog "or systemctl start uptimed (for systemd)"
+ elog "To view your uptime records, use the command 'uprecords'."
+ echo
+}
next reply other threads:[~2019-08-30 7:23 UTC|newest]
Thread overview: 68+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-08-30 7:23 Lars Wendler [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-02-23 22:19 [gentoo-commits] repo/gentoo:master commit in: app-misc/uptimed/ Conrad Kostecki
2025-02-23 5:11 Sam James
2025-02-23 0:04 Sam James
2025-02-23 0:04 Sam James
2025-02-23 0:04 Sam James
2025-01-18 23:47 Conrad Kostecki
2023-07-02 22:20 Sam James
2022-08-12 9:32 Conrad Kostecki
2022-08-12 8:06 Agostino Sarubbo
2022-08-12 8:06 Agostino Sarubbo
2022-08-12 7:25 Agostino Sarubbo
2022-08-12 4:49 Arthur Zamarin
2022-08-12 4:49 Arthur Zamarin
2022-08-12 4:49 Arthur Zamarin
2022-08-11 18:22 John Helmert III
2022-06-30 19:59 Conrad Kostecki
2022-06-30 7:03 Agostino Sarubbo
2022-06-30 7:03 Agostino Sarubbo
2022-06-30 7:02 Agostino Sarubbo
2022-06-30 7:02 Agostino Sarubbo
2022-06-30 1:42 Sam James
2022-06-30 1:42 Sam James
2022-06-29 22:13 Conrad Kostecki
2021-11-16 20:21 Lars Wendler
2021-11-05 12:45 Lars Wendler
2021-10-20 6:49 Sam James
2021-10-20 0:23 Sam James
2021-10-20 0:23 Sam James
2021-10-20 0:22 Sam James
2021-10-20 0:22 Sam James
2021-10-20 0:21 Sam James
2021-10-19 16:22 Lars Wendler
2021-10-19 16:22 Lars Wendler
2021-08-03 14:17 David Seifert
2021-07-31 21:52 Lars Wendler
2021-07-22 3:45 Sam James
2021-07-22 2:53 Georgy Yakovlev
2021-07-15 20:13 Lars Wendler
2020-09-04 18:47 Sam James
2020-09-03 23:57 Sam James
2020-09-02 6:33 Sergei Trofimovich
2020-09-01 16:05 Sam James
2020-08-31 22:06 Lars Wendler
2020-08-29 17:57 Thomas Deutschmann
2020-08-25 17:48 Sergei Trofimovich
2020-08-21 3:17 Georgy Yakovlev
2019-08-30 7:23 Lars Wendler
2019-08-13 18:17 Lars Wendler
2019-08-13 16:40 Lars Wendler
2019-05-13 0:38 Thomas Deutschmann
2019-05-07 18:03 Tobias Klausmann
2019-04-28 13:03 Sergei Trofimovich
2019-04-28 7:42 Sergei Trofimovich
2019-04-27 15:20 Sergei Trofimovich
2019-04-25 21:06 Lars Wendler
2019-04-24 18:45 Lars Wendler
2019-04-24 12:39 Lars Wendler
2019-04-24 12:20 Lars Wendler
2019-04-22 14:40 Sergei Trofimovich
2019-04-21 3:53 Aaron Bauman
2019-04-20 20:33 Lars Wendler
2018-06-26 9:12 Lars Wendler
2017-01-15 23:24 Lars Wendler
2017-01-14 23:45 Jeroen Roovers
2017-01-06 14:33 Tobias Klausmann
2017-01-02 8:58 Agostino Sarubbo
2017-01-02 8:16 Lars Wendler
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1567149537.c0688d87fd51492e11b0c7d54e11e82ee848b1c3.polynomial-c@gentoo \
--to=polynomial-c@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox