mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
app-misc/uptimed: drop 0.4.6-r1
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST uptimed-0.4.6.tar.gz 56796 BLAKE2B 9ea2e5f9e045f11f29232e51746bd4984fb93a8b9c36b652c4b247ab0923c1b162067aa20cb5bf0d8d2dee8e927aecea33b7be488b51f573ba525b6234b78e86 SHA512 035caba32182a807312b587b3cb3b6322027b7c8f3e69a3f0b52ea4f44ecfc40505fe58b6a1b56a87a967f1f8b1fbc075414a04b60717577e32972feadb9bc2d
|
||||
DIST uptimed-0.4.7.tar.gz 56796 BLAKE2B 2ebc8229bded21cfd6f5ae644515b79606eddf931e976747560c684e9e651e910fa3d9623fd8245e4d4abf4d764446170c5b27f6e538966c8f9d5be3d1c657ce SHA512 857357d3f21770ea04710eae7775dad562b1112c3d17e3d771d67d80fc11d1e5aeb8a869a70cdb76c103e0fd6384273c4498a3d5cbd33035b3b72dcce65ea211
|
||||
|
||||
@@ -1,47 +0,0 @@
|
||||
# Copyright 2021-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
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 arm64 ~hppa ~mips ppc ppc64 ~riscv sparc x86"
|
||||
IUSE="selinux"
|
||||
|
||||
RDEPEND="
|
||||
acct-group/uptimed
|
||||
acct-user/uptimed
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="${RDEPEND}"
|
||||
RDEPEND+=" selinux? ( sec-policy/selinux-uptime )"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
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() {
|
||||
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'."
|
||||
}
|
||||
Reference in New Issue
Block a user