diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2021-11-05 13:18:24 +0100 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2021-11-05 13:18:24 +0100 |
commit | dc13794a9ea0deb26b93738bccaec5aefd37c047 (patch) | |
tree | e27804374d6d2013b6324d9e1736d956c09d2f97 /app-misc | |
parent | sys-libs/ncurses: Removed old (diff) | |
download | gentoo-dc13794a9ea0deb26b93738bccaec5aefd37c047.tar.gz gentoo-dc13794a9ea0deb26b93738bccaec5aefd37c047.tar.bz2 gentoo-dc13794a9ea0deb26b93738bccaec5aefd37c047.zip |
app-misc/uptimed: Removed old
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'app-misc')
-rw-r--r-- | app-misc/uptimed/Manifest | 1 | ||||
-rw-r--r-- | app-misc/uptimed/uptimed-0.4.2.ebuild | 60 |
2 files changed, 0 insertions, 61 deletions
diff --git a/app-misc/uptimed/Manifest b/app-misc/uptimed/Manifest index 5d41ff40d725..b01b1cba6e02 100644 --- a/app-misc/uptimed/Manifest +++ b/app-misc/uptimed/Manifest @@ -1,3 +1,2 @@ -DIST uptimed-0.4.2.tar.gz 55339 BLAKE2B 120a3b1d6dc9518f7051af4d7e0f1bcf455f7dd989687fa8f5a40f160f2912c21d09298bbb9c676af5387d96890a98acf3f21b60e046a9548a735ca10dbc4006 SHA512 a18cc8580a4dc7db7f4d97d70e25d76e7b98b9d328a0fa4ece4176d40fc26589149d63ffc9d2638cc35003cf485b43ae6e115aa1821c662d77f234eb3c4c0a4f DIST uptimed-0.4.4.tar.gz 55491 BLAKE2B 8c4d19733e1b8f8ae682ac3238677e6ab24f9a5e8f948a130a2f6e345afe4cbb70e19ea789772fa9ec9c7f89fe1ea72e6a3c549dbb6e95e66c83a0a4a6966db0 SHA512 a39a3fe54dbd9373f1bf081584b16686f3a4ce742e282f8dfde7460ac156c2e189f48976fe32723468316c231ca6a3ea404ce42465460b2b52e96b7dbb92fe48 DIST uptimed-0.4.5.tar.gz 55727 BLAKE2B 4d1f29eea3d0a4237bd7c81f60fcc115cd6762dc90cdcecfcad852b672f98e70e4cdb1988c10a00a76ba0a55f6bd921c8d294d38e3e50e5a317717b62807dd61 SHA512 11e99677eca5e0cbb81a72077bae9c8fe2c70054e9fa05d1656cb64837e1aa63984ef6b87f563dda09ea0ae3d452d6be7ccf3d21c04f5f6ba67d618d72923514 diff --git a/app-misc/uptimed/uptimed-0.4.2.ebuild b/app-misc/uptimed/uptimed-0.4.2.ebuild deleted file mode 100644 index 1966f6323e77..000000000000 --- a/app-misc/uptimed/uptimed-0.4.2.ebuild +++ /dev/null @@ -1,60 +0,0 @@ -# Copyright 1999-2021 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 arm64 ~hppa ~mips ppc ppc64 sparc x86" - -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 --disable-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 -} |