[gentoo-commits] repo/gentoo:master commit in: app-misc/uptimed/

2023-07-02 Thread Sam James
commit: 01314ac96fcdc02630d71137ff32b1e1babb46cc
Author: Sam James  gentoo  org>
AuthorDate: Sun Jul  2 22:19:04 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Jul  2 22:19:27 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=01314ac9

app-misc/uptimed: add missing selinux policy dep

Signed-off-by: Sam James  gentoo.org>

 app-misc/uptimed/uptimed-0.4.6-r1.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/app-misc/uptimed/uptimed-0.4.6-r1.ebuild 
b/app-misc/uptimed/uptimed-0.4.6-r1.ebuild
index c86eb3e48403..a19f53ef6a9d 100644
--- a/app-misc/uptimed/uptimed-0.4.6-r1.ebuild
+++ b/app-misc/uptimed/uptimed-0.4.6-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2021-2022 Gentoo Authors
+# Copyright 2021-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -12,6 +12,7 @@ 
SRC_URI="https://github.com/rpodgorny/uptimed/archive/v${PV}.tar.gz -> ${P}.tar.
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~mips ppc ppc64 ~riscv sparc x86"
+IUSE="selinux"
 
 RDEPEND="
acct-group/uptimed
@@ -19,6 +20,7 @@ RDEPEND="
 "
 DEPEND="${RDEPEND}"
 BDEPEND="${RDEPEND}"
+RDEPEND+=" selinux? ( sec-policy/selinux-uptime )"
 
 src_prepare() {
default



[gentoo-commits] repo/gentoo:master commit in: app-misc/uptimed/

2022-08-12 Thread Conrad Kostecki
commit: 5865dc98aaebfb7ef663189b3f1cda20f8fb6bac
Author: Conrad Kostecki  gentoo  org>
AuthorDate: Fri Aug 12 09:31:41 2022 +
Commit: Conrad Kostecki  gentoo  org>
CommitDate: Fri Aug 12 09:31:49 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5865dc98

app-misc/uptimed: drop 0.4.6

Bug: https://bugs.gentoo.org/630810
Signed-off-by: Conrad Kostecki  gentoo.org>

 app-misc/uptimed/uptimed-0.4.6.ebuild | 54 ---
 1 file changed, 54 deletions(-)

diff --git a/app-misc/uptimed/uptimed-0.4.6.ebuild 
b/app-misc/uptimed/uptimed-0.4.6.ebuild
deleted file mode 100644
index b4fcfa157a33..
--- a/app-misc/uptimed/uptimed-0.4.6.ebuild
+++ /dev/null
@@ -1,54 +0,0 @@
-# Copyright 2021-2022 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"
-
-RDEPEND="
-   acct-group/uptimed
-   acct-user/uptimed
-"
-DEPEND="${RDEPEND}"
-BDEPEND="${RDEPEND}"
-
-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() {
-   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
-}



[gentoo-commits] repo/gentoo:master commit in: app-misc/uptimed/

2022-08-12 Thread Agostino Sarubbo
commit: 11c18b2b25662d1634e47e070950a81adb29a39f
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Fri Aug 12 08:06:46 2022 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Fri Aug 12 08:06:46 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=11c18b2b

app-misc/uptimed: x86 stable wrt bug #864943

Signed-off-by: Agostino Sarubbo  gentoo.org>

 app-misc/uptimed/uptimed-0.4.6-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-misc/uptimed/uptimed-0.4.6-r1.ebuild 
b/app-misc/uptimed/uptimed-0.4.6-r1.ebuild
index a4b9dc482637..c86eb3e48403 100644
--- a/app-misc/uptimed/uptimed-0.4.6-r1.ebuild
+++ b/app-misc/uptimed/uptimed-0.4.6-r1.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/rpodgorny/uptimed/archive/v${PV}.tar.gz -> ${P}.tar.
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~mips ppc ppc64 ~riscv sparc ~x86"
+KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~mips ppc ppc64 ~riscv sparc x86"
 
 RDEPEND="
acct-group/uptimed



[gentoo-commits] repo/gentoo:master commit in: app-misc/uptimed/

2022-08-12 Thread Agostino Sarubbo
commit: 712dfafb2105a2d2caee1a6658d32e3939b11ae6
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Fri Aug 12 08:06:01 2022 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Fri Aug 12 08:06:01 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=712dfafb

app-misc/uptimed: amd64 stable wrt bug #864943

Signed-off-by: Agostino Sarubbo  gentoo.org>

 app-misc/uptimed/uptimed-0.4.6-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-misc/uptimed/uptimed-0.4.6-r1.ebuild 
b/app-misc/uptimed/uptimed-0.4.6-r1.ebuild
index 8a0626cb3820..a4b9dc482637 100644
--- a/app-misc/uptimed/uptimed-0.4.6-r1.ebuild
+++ b/app-misc/uptimed/uptimed-0.4.6-r1.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/rpodgorny/uptimed/archive/v${PV}.tar.gz -> ${P}.tar.
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~mips ppc ppc64 ~riscv sparc ~x86"
+KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~mips ppc ppc64 ~riscv sparc ~x86"
 
 RDEPEND="
acct-group/uptimed



[gentoo-commits] repo/gentoo:master commit in: app-misc/uptimed/

2022-08-12 Thread Agostino Sarubbo
commit: c5a3800a424acec22f72a151f6e14c8591c97d65
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Fri Aug 12 07:25:15 2022 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Fri Aug 12 07:25:15 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c5a3800a

app-misc/uptimed: sparc stable wrt bug #864943

Signed-off-by: Agostino Sarubbo  gentoo.org>

 app-misc/uptimed/uptimed-0.4.6-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-misc/uptimed/uptimed-0.4.6-r1.ebuild 
b/app-misc/uptimed/uptimed-0.4.6-r1.ebuild
index bcaeb7f53e69..8a0626cb3820 100644
--- a/app-misc/uptimed/uptimed-0.4.6-r1.ebuild
+++ b/app-misc/uptimed/uptimed-0.4.6-r1.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/rpodgorny/uptimed/archive/v${PV}.tar.gz -> ${P}.tar.
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~mips ppc ppc64 ~riscv ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~mips ppc ppc64 ~riscv sparc ~x86"
 
 RDEPEND="
acct-group/uptimed



[gentoo-commits] repo/gentoo:master commit in: app-misc/uptimed/

2022-08-11 Thread Arthur Zamarin
commit: 074ee8cc1e54753852c3d026a1badf6b0cbd6584
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Aug 12 04:49:09 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Aug 12 04:49:09 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=074ee8cc

app-misc/uptimed: Stabilize 0.4.6-r1 ppc64, #864943

Signed-off-by: Arthur Zamarin  gentoo.org>

 app-misc/uptimed/uptimed-0.4.6-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-misc/uptimed/uptimed-0.4.6-r1.ebuild 
b/app-misc/uptimed/uptimed-0.4.6-r1.ebuild
index 38106ecda9d6..b89c210f41ea 100644
--- a/app-misc/uptimed/uptimed-0.4.6-r1.ebuild
+++ b/app-misc/uptimed/uptimed-0.4.6-r1.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/rpodgorny/uptimed/archive/v${PV}.tar.gz -> ${P}.tar.
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ppc ~ppc64 ~riscv ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ppc ppc64 ~riscv ~sparc ~x86"
 
 RDEPEND="
acct-group/uptimed



[gentoo-commits] repo/gentoo:master commit in: app-misc/uptimed/

2022-08-11 Thread Arthur Zamarin
commit: 59878a9e8f4df5ca8b8edbdcf76bc6efe69dd61f
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Aug 12 04:49:10 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Aug 12 04:49:10 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=59878a9e

app-misc/uptimed: Stabilize 0.4.6-r1 arm64, #864943

Signed-off-by: Arthur Zamarin  gentoo.org>

 app-misc/uptimed/uptimed-0.4.6-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-misc/uptimed/uptimed-0.4.6-r1.ebuild 
b/app-misc/uptimed/uptimed-0.4.6-r1.ebuild
index b89c210f41ea..bcaeb7f53e69 100644
--- a/app-misc/uptimed/uptimed-0.4.6-r1.ebuild
+++ b/app-misc/uptimed/uptimed-0.4.6-r1.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/rpodgorny/uptimed/archive/v${PV}.tar.gz -> ${P}.tar.
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ppc ppc64 ~riscv ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~mips ppc ppc64 ~riscv ~sparc ~x86"
 
 RDEPEND="
acct-group/uptimed



[gentoo-commits] repo/gentoo:master commit in: app-misc/uptimed/

2022-08-11 Thread Arthur Zamarin
commit: 9dc3b856617d7a4b2eced6782fa443502e179690
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Aug 12 04:49:08 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Aug 12 04:49:08 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9dc3b856

app-misc/uptimed: Stabilize 0.4.6-r1 ppc, #864943

Signed-off-by: Arthur Zamarin  gentoo.org>

 app-misc/uptimed/uptimed-0.4.6-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-misc/uptimed/uptimed-0.4.6-r1.ebuild 
b/app-misc/uptimed/uptimed-0.4.6-r1.ebuild
index 5df4993bf443..38106ecda9d6 100644
--- a/app-misc/uptimed/uptimed-0.4.6-r1.ebuild
+++ b/app-misc/uptimed/uptimed-0.4.6-r1.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/rpodgorny/uptimed/archive/v${PV}.tar.gz -> ${P}.tar.
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ppc ~ppc64 ~riscv ~sparc ~x86"
 
 RDEPEND="
acct-group/uptimed



[gentoo-commits] repo/gentoo:master commit in: app-misc/uptimed/

2022-08-11 Thread John Helmert III
commit: 106d5ab4c5c1ec11f14e74dfb0ebcc4b72197b53
Author: John Helmert III  gentoo  org>
AuthorDate: Thu Aug 11 04:15:20 2022 +
Commit: John Helmert III  gentoo  org>
CommitDate: Thu Aug 11 18:22:43 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=106d5ab4

app-misc/uptimed: drop ownership changes in pkg_postinst

Bug: https://bugs.gentoo.org/630810
Signed-off-by: John Helmert III  gentoo.org>

 app-misc/uptimed/uptimed-0.4.6-r1.ebuild | 45 
 1 file changed, 45 insertions(+)

diff --git a/app-misc/uptimed/uptimed-0.4.6-r1.ebuild 
b/app-misc/uptimed/uptimed-0.4.6-r1.ebuild
new file mode 100644
index ..5df4993bf443
--- /dev/null
+++ b/app-misc/uptimed/uptimed-0.4.6-r1.ebuild
@@ -0,0 +1,45 @@
+# Copyright 2021-2022 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"
+
+RDEPEND="
+   acct-group/uptimed
+   acct-user/uptimed
+"
+DEPEND="${RDEPEND}"
+BDEPEND="${RDEPEND}"
+
+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'."
+}



[gentoo-commits] repo/gentoo:master commit in: app-misc/uptimed/

2022-06-30 Thread Conrad Kostecki
commit: 20fe73adff2c45d1c36df46644a7fd3b8b27b6d4
Author: Conrad Kostecki  gentoo  org>
AuthorDate: Thu Jun 30 19:51:35 2022 +
Commit: Conrad Kostecki  gentoo  org>
CommitDate: Thu Jun 30 19:51:35 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=20fe73ad

app-misc/uptimed: drop 0.4.4, 0.4.5

Signed-off-by: Conrad Kostecki  gentoo.org>

 app-misc/uptimed/Manifest |  2 --
 app-misc/uptimed/uptimed-0.4.4.ebuild | 54 ---
 app-misc/uptimed/uptimed-0.4.5.ebuild | 54 ---
 3 files changed, 110 deletions(-)

diff --git a/app-misc/uptimed/Manifest b/app-misc/uptimed/Manifest
index ede2691ccb55..f21db907eb57 100644
--- a/app-misc/uptimed/Manifest
+++ b/app-misc/uptimed/Manifest
@@ -1,3 +1 @@
-DIST uptimed-0.4.4.tar.gz 55491 BLAKE2B 
8c4d19733e1b8f8ae682ac3238677e6ab24f9a5e8f948a130a2f6e345afe4cbb70e19ea789772fa9ec9c7f89fe1ea72e6a3c549dbb6e95e66c83a0a4a6966db0
 SHA512 
a39a3fe54dbd9373f1bf081584b16686f3a4ce742e282f8dfde7460ac156c2e189f48976fe32723468316c231ca6a3ea404ce42465460b2b52e96b7dbb92fe48
-DIST uptimed-0.4.5.tar.gz 55727 BLAKE2B 
4d1f29eea3d0a4237bd7c81f60fcc115cd6762dc90cdcecfcad852b672f98e70e4cdb1988c10a00a76ba0a55f6bd921c8d294d38e3e50e5a317717b62807dd61
 SHA512 
11e99677eca5e0cbb81a72077bae9c8fe2c70054e9fa05d1656cb64837e1aa63984ef6b87f563dda09ea0ae3d452d6be7ccf3d21c04f5f6ba67d618d72923514
 DIST uptimed-0.4.6.tar.gz 56796 BLAKE2B 
9ea2e5f9e045f11f29232e51746bd4984fb93a8b9c36b652c4b247ab0923c1b162067aa20cb5bf0d8d2dee8e927aecea33b7be488b51f573ba525b6234b78e86
 SHA512 
035caba32182a807312b587b3cb3b6322027b7c8f3e69a3f0b52ea4f44ecfc40505fe58b6a1b56a87a967f1f8b1fbc075414a04b60717577e32972feadb9bc2d

diff --git a/app-misc/uptimed/uptimed-0.4.4.ebuild 
b/app-misc/uptimed/uptimed-0.4.4.ebuild
deleted file mode 100644
index c17b13c2d032..
--- a/app-misc/uptimed/uptimed-0.4.4.ebuild
+++ /dev/null
@@ -1,54 +0,0 @@
-# Copyright 2021 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"
-
-RDEPEND="
-   acct-group/uptimed
-   acct-user/uptimed
-"
-DEPEND="${RDEPEND}"
-BDEPEND="${RDEPEND}"
-
-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() {
-   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
-}

diff --git a/app-misc/uptimed/uptimed-0.4.5.ebuild 
b/app-misc/uptimed/uptimed-0.4.5.ebuild
deleted file mode 100644
index 5d9a04fa9963..
--- a/app-misc/uptimed/uptimed-0.4.5.ebuild
+++ /dev/null
@@ -1,54 +0,0 @@
-# Copyright 2021 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"
-
-RDEPEND="
-   acct-group/uptimed
-   acct-user/uptimed
-"
-DEPEND="${RDEPEND}"
-BDEPEND="${RDEPEND}"
-
-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() {
-   local spooldir="/var/spool/${PN}"
-   if [[ -d "${spooldir}" ]] ; then
- 

[gentoo-commits] repo/gentoo:master commit in: app-misc/uptimed/

2022-06-30 Thread Agostino Sarubbo
commit: 269c3b1db0b369c646a90677450e4e37090227e2
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Thu Jun 30 07:03:25 2022 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Thu Jun 30 07:03:25 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=269c3b1d

app-misc/uptimed: sparc stable wrt bug #855176

Package-Manager: Portage-3.0.30, Repoman-3.0.3
RepoMan-Options: --include-arches="sparc"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 app-misc/uptimed/uptimed-0.4.6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-misc/uptimed/uptimed-0.4.6.ebuild 
b/app-misc/uptimed/uptimed-0.4.6.ebuild
index 950550de83d7..b4fcfa157a33 100644
--- a/app-misc/uptimed/uptimed-0.4.6.ebuild
+++ b/app-misc/uptimed/uptimed-0.4.6.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/rpodgorny/uptimed/archive/v${PV}.tar.gz -> ${P}.tar.
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~mips ppc ppc64 ~riscv ~sparc x86"
+KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~mips ppc ppc64 ~riscv sparc x86"
 
 RDEPEND="
acct-group/uptimed



[gentoo-commits] repo/gentoo:master commit in: app-misc/uptimed/

2022-06-30 Thread Agostino Sarubbo
commit: 4b50b71ee87031c7aba5e935ab0b8f599e6a4d82
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Thu Jun 30 07:03:11 2022 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Thu Jun 30 07:03:11 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4b50b71e

app-misc/uptimed: ppc64 stable wrt bug #855176

Package-Manager: Portage-3.0.30, Repoman-3.0.3
RepoMan-Options: --include-arches="ppc64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 app-misc/uptimed/uptimed-0.4.6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-misc/uptimed/uptimed-0.4.6.ebuild 
b/app-misc/uptimed/uptimed-0.4.6.ebuild
index d65979ca52dd..950550de83d7 100644
--- a/app-misc/uptimed/uptimed-0.4.6.ebuild
+++ b/app-misc/uptimed/uptimed-0.4.6.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/rpodgorny/uptimed/archive/v${PV}.tar.gz -> ${P}.tar.
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~mips ppc ~ppc64 ~riscv ~sparc x86"
+KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~mips ppc ppc64 ~riscv ~sparc x86"
 
 RDEPEND="
acct-group/uptimed



[gentoo-commits] repo/gentoo:master commit in: app-misc/uptimed/

2022-06-30 Thread Agostino Sarubbo
commit: 526537c628bfe4c11cc0c9084a05104f07f111c9
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Thu Jun 30 07:02:53 2022 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Thu Jun 30 07:02:53 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=526537c6

app-misc/uptimed: ppc stable wrt bug #855176

Package-Manager: Portage-3.0.30, Repoman-3.0.3
RepoMan-Options: --include-arches="ppc"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 app-misc/uptimed/uptimed-0.4.6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-misc/uptimed/uptimed-0.4.6.ebuild 
b/app-misc/uptimed/uptimed-0.4.6.ebuild
index 95de323b0ddc..d65979ca52dd 100644
--- a/app-misc/uptimed/uptimed-0.4.6.ebuild
+++ b/app-misc/uptimed/uptimed-0.4.6.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/rpodgorny/uptimed/archive/v${PV}.tar.gz -> ${P}.tar.
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~sparc x86"
+KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~mips ppc ~ppc64 ~riscv ~sparc x86"
 
 RDEPEND="
acct-group/uptimed



[gentoo-commits] repo/gentoo:master commit in: app-misc/uptimed/

2022-06-30 Thread Agostino Sarubbo
commit: 4f8cdf07eb85db9c73c81e981c00fdf2eb51607f
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Thu Jun 30 07:02:30 2022 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Thu Jun 30 07:02:30 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4f8cdf07

app-misc/uptimed: arm64 stable wrt bug #855176

Package-Manager: Portage-3.0.30, Repoman-3.0.3
RepoMan-Options: --include-arches="arm64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 app-misc/uptimed/uptimed-0.4.6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-misc/uptimed/uptimed-0.4.6.ebuild 
b/app-misc/uptimed/uptimed-0.4.6.ebuild
index e2c08a186f5c..95de323b0ddc 100644
--- a/app-misc/uptimed/uptimed-0.4.6.ebuild
+++ b/app-misc/uptimed/uptimed-0.4.6.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/rpodgorny/uptimed/archive/v${PV}.tar.gz -> ${P}.tar.
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~sparc x86"
+KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~sparc x86"
 
 RDEPEND="
acct-group/uptimed



[gentoo-commits] repo/gentoo:master commit in: app-misc/uptimed/

2022-06-29 Thread Sam James
commit: 1e78bb1c05edf88231982ec713cf8549a4478f98
Author: Sam James  gentoo  org>
AuthorDate: Thu Jun 30 01:42:03 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Jun 30 01:42:03 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1e78bb1c

app-misc/uptimed: Stabilize 0.4.6 x86, #855176

Signed-off-by: Sam James  gentoo.org>

 app-misc/uptimed/uptimed-0.4.6.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/app-misc/uptimed/uptimed-0.4.6.ebuild 
b/app-misc/uptimed/uptimed-0.4.6.ebuild
index 5d9a04fa9963..4fef0293a73c 100644
--- a/app-misc/uptimed/uptimed-0.4.6.ebuild
+++ b/app-misc/uptimed/uptimed-0.4.6.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2021 Gentoo Authors
+# Copyright 2021-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/rpodgorny/uptimed/archive/v${PV}.tar.gz -> ${P}.tar.
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~sparc x86"
 
 RDEPEND="
acct-group/uptimed



[gentoo-commits] repo/gentoo:master commit in: app-misc/uptimed/

2022-06-29 Thread Sam James
commit: 5deabed649792076a0de365058a74279de4a3572
Author: Sam James  gentoo  org>
AuthorDate: Thu Jun 30 01:42:31 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Jun 30 01:42:31 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5deabed6

app-misc/uptimed: Stabilize 0.4.6 amd64, #855176

Signed-off-by: Sam James  gentoo.org>

 app-misc/uptimed/uptimed-0.4.6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-misc/uptimed/uptimed-0.4.6.ebuild 
b/app-misc/uptimed/uptimed-0.4.6.ebuild
index 4fef0293a73c..e2c08a186f5c 100644
--- a/app-misc/uptimed/uptimed-0.4.6.ebuild
+++ b/app-misc/uptimed/uptimed-0.4.6.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/rpodgorny/uptimed/archive/v${PV}.tar.gz -> ${P}.tar.
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~sparc x86"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~sparc x86"
 
 RDEPEND="
acct-group/uptimed



[gentoo-commits] repo/gentoo:master commit in: app-misc/uptimed/

2022-06-29 Thread Conrad Kostecki
commit: 662808aba9db709fd1a62b97f512e541858c2215
Author: Conrad Kostecki  gentoo  org>
AuthorDate: Wed Jun 29 22:12:46 2022 +
Commit: Conrad Kostecki  gentoo  org>
CommitDate: Wed Jun 29 22:12:46 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=662808ab

app-misc/uptimed: add myself as maintainer

Signed-off-by: Conrad Kostecki  gentoo.org>

 app-misc/uptimed/metadata.xml | 11 +++
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/app-misc/uptimed/metadata.xml b/app-misc/uptimed/metadata.xml
index 900d8ac1d3f1..25168077e680 100644
--- a/app-misc/uptimed/metadata.xml
+++ b/app-misc/uptimed/metadata.xml
@@ -1,8 +1,11 @@
 
 https://www.gentoo.org/dtd/metadata.dtd";>
 
-  
-  
-rpodgorny/uptimed
-  
+   
+   conik...@gentoo.org
+   Conrad Kostecki
+   
+   
+   rpodgorny/uptimed
+   
 



[gentoo-commits] repo/gentoo:master commit in: app-misc/uptimed/

2021-11-16 Thread Lars Wendler
commit: be11f44bfa1cd26a080d2b0363fbb236c4b6d8bc
Author: Lars Wendler  gentoo  org>
AuthorDate: Tue Nov 16 20:20:54 2021 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Tue Nov 16 20:20:54 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be11f44b

app-misc/uptimed: Bump to version 0.4.6

Signed-off-by: Lars Wendler  gentoo.org>

 app-misc/uptimed/Manifest |  1 +
 app-misc/uptimed/uptimed-0.4.6.ebuild | 54 +++
 2 files changed, 55 insertions(+)

diff --git a/app-misc/uptimed/Manifest b/app-misc/uptimed/Manifest
index b01b1cba6e02..ede2691ccb55 100644
--- a/app-misc/uptimed/Manifest
+++ b/app-misc/uptimed/Manifest
@@ -1,2 +1,3 @@
 DIST uptimed-0.4.4.tar.gz 55491 BLAKE2B 
8c4d19733e1b8f8ae682ac3238677e6ab24f9a5e8f948a130a2f6e345afe4cbb70e19ea789772fa9ec9c7f89fe1ea72e6a3c549dbb6e95e66c83a0a4a6966db0
 SHA512 
a39a3fe54dbd9373f1bf081584b16686f3a4ce742e282f8dfde7460ac156c2e189f48976fe32723468316c231ca6a3ea404ce42465460b2b52e96b7dbb92fe48
 DIST uptimed-0.4.5.tar.gz 55727 BLAKE2B 
4d1f29eea3d0a4237bd7c81f60fcc115cd6762dc90cdcecfcad852b672f98e70e4cdb1988c10a00a76ba0a55f6bd921c8d294d38e3e50e5a317717b62807dd61
 SHA512 
11e99677eca5e0cbb81a72077bae9c8fe2c70054e9fa05d1656cb64837e1aa63984ef6b87f563dda09ea0ae3d452d6be7ccf3d21c04f5f6ba67d618d72923514
+DIST uptimed-0.4.6.tar.gz 56796 BLAKE2B 
9ea2e5f9e045f11f29232e51746bd4984fb93a8b9c36b652c4b247ab0923c1b162067aa20cb5bf0d8d2dee8e927aecea33b7be488b51f573ba525b6234b78e86
 SHA512 
035caba32182a807312b587b3cb3b6322027b7c8f3e69a3f0b52ea4f44ecfc40505fe58b6a1b56a87a967f1f8b1fbc075414a04b60717577e32972feadb9bc2d

diff --git a/app-misc/uptimed/uptimed-0.4.6.ebuild 
b/app-misc/uptimed/uptimed-0.4.6.ebuild
new file mode 100644
index ..5d9a04fa9963
--- /dev/null
+++ b/app-misc/uptimed/uptimed-0.4.6.ebuild
@@ -0,0 +1,54 @@
+# Copyright 2021 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"
+
+RDEPEND="
+   acct-group/uptimed
+   acct-user/uptimed
+"
+DEPEND="${RDEPEND}"
+BDEPEND="${RDEPEND}"
+
+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() {
+   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
+}



[gentoo-commits] repo/gentoo:master commit in: app-misc/uptimed/

2021-11-05 Thread Lars Wendler
commit: dc13794a9ea0deb26b93738bccaec5aefd37c047
Author: Lars Wendler  gentoo  org>
AuthorDate: Fri Nov  5 12:18:24 2021 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Fri Nov  5 12:18:24 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dc13794a

app-misc/uptimed: Removed old

Signed-off-by: Lars Wendler  gentoo.org>

 app-misc/uptimed/Manifest |  1 -
 app-misc/uptimed/uptimed-0.4.2.ebuild | 60 ---
 2 files changed, 61 deletions(-)

diff --git a/app-misc/uptimed/Manifest b/app-misc/uptimed/Manifest
index 5d41ff40d72..b01b1cba6e0 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 1966f6323e7..000
--- 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
-}



[gentoo-commits] repo/gentoo:master commit in: app-misc/uptimed/

2021-10-19 Thread Sam James
commit: e198a231a60689b06529ad8b571164fc150ae489
Author: Sam James  gentoo  org>
AuthorDate: Wed Oct 20 06:49:41 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Oct 20 06:49:41 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e198a231

app-misc/uptimed: Stabilize 0.4.4 sparc, #818928

Signed-off-by: Sam James  gentoo.org>

 app-misc/uptimed/uptimed-0.4.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-misc/uptimed/uptimed-0.4.4.ebuild 
b/app-misc/uptimed/uptimed-0.4.4.ebuild
index 7375c25fd9c..c17b13c2d03 100644
--- a/app-misc/uptimed/uptimed-0.4.4.ebuild
+++ b/app-misc/uptimed/uptimed-0.4.4.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/rpodgorny/uptimed/archive/v${PV}.tar.gz -> ${P}.tar.
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~mips ppc ppc64 ~riscv ~sparc x86"
+KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~mips ppc ppc64 ~riscv sparc x86"
 
 RDEPEND="
acct-group/uptimed



[gentoo-commits] repo/gentoo:master commit in: app-misc/uptimed/

2021-10-19 Thread Sam James
commit: 429678d37bc0af6c96146d4df7de5c0252aa6613
Author: Sam James  gentoo  org>
AuthorDate: Wed Oct 20 00:22:51 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Oct 20 00:22:51 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=429678d3

app-misc/uptimed: Stabilize 0.4.4 ppc64, #818928

Signed-off-by: Sam James  gentoo.org>

 app-misc/uptimed/uptimed-0.4.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-misc/uptimed/uptimed-0.4.4.ebuild 
b/app-misc/uptimed/uptimed-0.4.4.ebuild
index ef121a01a62..7375c25fd9c 100644
--- a/app-misc/uptimed/uptimed-0.4.4.ebuild
+++ b/app-misc/uptimed/uptimed-0.4.4.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/rpodgorny/uptimed/archive/v${PV}.tar.gz -> ${P}.tar.
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~mips ppc ~ppc64 ~riscv ~sparc x86"
+KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~mips ppc ppc64 ~riscv ~sparc x86"
 
 RDEPEND="
acct-group/uptimed



[gentoo-commits] repo/gentoo:master commit in: app-misc/uptimed/

2021-10-19 Thread Sam James
commit: 91b523f063af9a1df93db840984c946e68f85ba4
Author: Sam James  gentoo  org>
AuthorDate: Wed Oct 20 00:22:47 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Oct 20 00:22:47 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=91b523f0

app-misc/uptimed: Stabilize 0.4.4 ppc, #818928

Signed-off-by: Sam James  gentoo.org>

 app-misc/uptimed/uptimed-0.4.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-misc/uptimed/uptimed-0.4.4.ebuild 
b/app-misc/uptimed/uptimed-0.4.4.ebuild
index bff8da441e4..ef121a01a62 100644
--- a/app-misc/uptimed/uptimed-0.4.4.ebuild
+++ b/app-misc/uptimed/uptimed-0.4.4.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/rpodgorny/uptimed/archive/v${PV}.tar.gz -> ${P}.tar.
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~sparc x86"
+KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~mips ppc ~ppc64 ~riscv ~sparc x86"
 
 RDEPEND="
acct-group/uptimed



[gentoo-commits] repo/gentoo:master commit in: app-misc/uptimed/

2021-10-19 Thread Sam James
commit: 056d7b94f18b2ef90726875adb3b199114784e70
Author: Sam James  gentoo  org>
AuthorDate: Wed Oct 20 00:21:34 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Oct 20 00:21:34 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=056d7b94

app-misc/uptimed: Stabilize 0.4.4 arm64, #818928

Signed-off-by: Sam James  gentoo.org>

 app-misc/uptimed/uptimed-0.4.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-misc/uptimed/uptimed-0.4.4.ebuild 
b/app-misc/uptimed/uptimed-0.4.4.ebuild
index 200611dc4f5..bff8da441e4 100644
--- a/app-misc/uptimed/uptimed-0.4.4.ebuild
+++ b/app-misc/uptimed/uptimed-0.4.4.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/rpodgorny/uptimed/archive/v${PV}.tar.gz -> ${P}.tar.
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~sparc x86"
+KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~sparc x86"
 
 RDEPEND="
acct-group/uptimed



[gentoo-commits] repo/gentoo:master commit in: app-misc/uptimed/

2021-10-19 Thread Sam James
commit: 697410c8f2083aa7b061bd7cde6c8812423f4efa
Author: Sam James  gentoo  org>
AuthorDate: Wed Oct 20 00:20:26 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Oct 20 00:20:26 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=697410c8

app-misc/uptimed: Stabilize 0.4.4 x86, #818928

Signed-off-by: Sam James  gentoo.org>

 app-misc/uptimed/uptimed-0.4.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-misc/uptimed/uptimed-0.4.4.ebuild 
b/app-misc/uptimed/uptimed-0.4.4.ebuild
index 97ec7ec80cc..200611dc4f5 100644
--- a/app-misc/uptimed/uptimed-0.4.4.ebuild
+++ b/app-misc/uptimed/uptimed-0.4.4.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/rpodgorny/uptimed/archive/v${PV}.tar.gz -> ${P}.tar.
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~sparc x86"
 
 RDEPEND="
acct-group/uptimed



[gentoo-commits] repo/gentoo:master commit in: app-misc/uptimed/

2021-10-19 Thread Sam James
commit: ceae5daa6d0a170d2e4b8375fb5831828e21f577
Author: Sam James  gentoo  org>
AuthorDate: Wed Oct 20 00:19:44 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Oct 20 00:19:44 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ceae5daa

app-misc/uptimed: Stabilize 0.4.4 amd64, #818928

Signed-off-by: Sam James  gentoo.org>

 app-misc/uptimed/uptimed-0.4.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-misc/uptimed/uptimed-0.4.4.ebuild 
b/app-misc/uptimed/uptimed-0.4.4.ebuild
index 5d9a04fa996..97ec7ec80cc 100644
--- a/app-misc/uptimed/uptimed-0.4.4.ebuild
+++ b/app-misc/uptimed/uptimed-0.4.4.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/rpodgorny/uptimed/archive/v${PV}.tar.gz -> ${P}.tar.
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
 
 RDEPEND="
acct-group/uptimed



[gentoo-commits] repo/gentoo:master commit in: app-misc/uptimed/

2021-10-19 Thread Lars Wendler
commit: ed46335e67093a9f45ae03a60dbf8b86cb362d35
Author: Lars Wendler  gentoo  org>
AuthorDate: Tue Oct 19 16:21:40 2021 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Tue Oct 19 16:22:21 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ed46335e

app-misc/uptimed: Bump to version 0.4.5

Signed-off-by: Lars Wendler  gentoo.org>

 app-misc/uptimed/Manifest |  1 +
 app-misc/uptimed/uptimed-0.4.5.ebuild | 54 +++
 2 files changed, 55 insertions(+)

diff --git a/app-misc/uptimed/Manifest b/app-misc/uptimed/Manifest
index d0b1176372c..ed42fe8a44d 100644
--- a/app-misc/uptimed/Manifest
+++ b/app-misc/uptimed/Manifest
@@ -1,3 +1,4 @@
 DIST uptimed-0.4.2.tar.gz 55339 BLAKE2B 
120a3b1d6dc9518f7051af4d7e0f1bcf455f7dd989687fa8f5a40f160f2912c21d09298bbb9c676af5387d96890a98acf3f21b60e046a9548a735ca10dbc4006
 SHA512 
a18cc8580a4dc7db7f4d97d70e25d76e7b98b9d328a0fa4ece4176d40fc26589149d63ffc9d2638cc35003cf485b43ae6e115aa1821c662d77f234eb3c4c0a4f
 DIST uptimed-0.4.3.tar.gz 55396 BLAKE2B 
bebea6559c436d2700df905b63fabd73b1c55463e8633409bc05cd16c7d110d8116f52e00d63879cfb2e0482f648bda04dcb5a1d5ff629699d2758dcc85ba53a
 SHA512 
f9485224dfe7173bab135a87b047d749f9b61d3c29d50523126b585ae77e68837680fdb725a08fd7cad39f0b35b2da7a6923b8540700881f9638286ab5082260
 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.5.ebuild 
b/app-misc/uptimed/uptimed-0.4.5.ebuild
new file mode 100644
index 000..5d9a04fa996
--- /dev/null
+++ b/app-misc/uptimed/uptimed-0.4.5.ebuild
@@ -0,0 +1,54 @@
+# Copyright 2021 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"
+
+RDEPEND="
+   acct-group/uptimed
+   acct-user/uptimed
+"
+DEPEND="${RDEPEND}"
+BDEPEND="${RDEPEND}"
+
+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() {
+   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
+}



[gentoo-commits] repo/gentoo:master commit in: app-misc/uptimed/

2021-10-19 Thread Lars Wendler
commit: 764ffd7b7084b64bc22ac4099a7fce79093f38a8
Author: Lars Wendler  gentoo  org>
AuthorDate: Tue Oct 19 16:22:05 2021 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Tue Oct 19 16:22:21 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=764ffd7b

app-misc/uptimed: Removed old

Signed-off-by: Lars Wendler  gentoo.org>

 app-misc/uptimed/Manifest |  1 -
 app-misc/uptimed/uptimed-0.4.3.ebuild | 60 ---
 2 files changed, 61 deletions(-)

diff --git a/app-misc/uptimed/Manifest b/app-misc/uptimed/Manifest
index ed42fe8a44d..5d41ff40d72 100644
--- a/app-misc/uptimed/Manifest
+++ b/app-misc/uptimed/Manifest
@@ -1,4 +1,3 @@
 DIST uptimed-0.4.2.tar.gz 55339 BLAKE2B 
120a3b1d6dc9518f7051af4d7e0f1bcf455f7dd989687fa8f5a40f160f2912c21d09298bbb9c676af5387d96890a98acf3f21b60e046a9548a735ca10dbc4006
 SHA512 
a18cc8580a4dc7db7f4d97d70e25d76e7b98b9d328a0fa4ece4176d40fc26589149d63ffc9d2638cc35003cf485b43ae6e115aa1821c662d77f234eb3c4c0a4f
-DIST uptimed-0.4.3.tar.gz 55396 BLAKE2B 
bebea6559c436d2700df905b63fabd73b1c55463e8633409bc05cd16c7d110d8116f52e00d63879cfb2e0482f648bda04dcb5a1d5ff629699d2758dcc85ba53a
 SHA512 
f9485224dfe7173bab135a87b047d749f9b61d3c29d50523126b585ae77e68837680fdb725a08fd7cad39f0b35b2da7a6923b8540700881f9638286ab5082260
 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.3.ebuild 
b/app-misc/uptimed/uptimed-0.4.3.ebuild
deleted file mode 100644
index 47b0a188f7a..000
--- a/app-misc/uptimed/uptimed-0.4.3.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 ~riscv ~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
-}



[gentoo-commits] repo/gentoo:master commit in: app-misc/uptimed/

2021-08-03 Thread David Seifert
commit: 59d01e8661cfa0722348974bff8f821893b1f441
Author: David Seifert  gentoo  org>
AuthorDate: Tue Aug  3 14:17:05 2021 +
Commit: David Seifert  gentoo  org>
CommitDate: Tue Aug  3 14:17:05 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=59d01e86

app-misc/uptimed: remove USE=static-libs

* Nothing in ::gentoo depends on it

Signed-off-by: David Seifert  gentoo.org>

 app-misc/uptimed/uptimed-0.4.2.ebuild | 3 +--
 app-misc/uptimed/uptimed-0.4.3.ebuild | 3 +--
 app-misc/uptimed/uptimed-0.4.4.ebuild | 5 -
 3 files changed, 2 insertions(+), 9 deletions(-)

diff --git a/app-misc/uptimed/uptimed-0.4.2.ebuild 
b/app-misc/uptimed/uptimed-0.4.2.ebuild
index 3c37d27f078..1966f6323e7 100644
--- a/app-misc/uptimed/uptimed-0.4.2.ebuild
+++ b/app-misc/uptimed/uptimed-0.4.2.ebuild
@@ -12,7 +12,6 @@ 
SRC_URI="https://github.com/rpodgorny/uptimed/archive/v${PV}.tar.gz -> ${P}.tar.
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~mips ppc ppc64 sparc x86"
-IUSE="static-libs"
 
 RDEPEND="
acct-group/uptimed
@@ -29,7 +28,7 @@ src_prepare() {
 }
 
 src_configure() {
-   econf $(use_enable static-libs static)
+   econf --disable-static
 }
 
 src_install() {

diff --git a/app-misc/uptimed/uptimed-0.4.3.ebuild 
b/app-misc/uptimed/uptimed-0.4.3.ebuild
index 3ed12722f97..47b0a188f7a 100644
--- a/app-misc/uptimed/uptimed-0.4.3.ebuild
+++ b/app-misc/uptimed/uptimed-0.4.3.ebuild
@@ -12,7 +12,6 @@ 
SRC_URI="https://github.com/rpodgorny/uptimed/archive/v${PV}.tar.gz -> ${P}.tar.
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
-IUSE="static-libs"
 
 RDEPEND="
acct-group/uptimed
@@ -29,7 +28,7 @@ src_prepare() {
 }
 
 src_configure() {
-   econf $(use_enable static-libs static)
+   econf --disable-static
 }
 
 src_install() {

diff --git a/app-misc/uptimed/uptimed-0.4.4.ebuild 
b/app-misc/uptimed/uptimed-0.4.4.ebuild
index e45cede0338..5d9a04fa996 100644
--- a/app-misc/uptimed/uptimed-0.4.4.ebuild
+++ b/app-misc/uptimed/uptimed-0.4.4.ebuild
@@ -12,7 +12,6 @@ 
SRC_URI="https://github.com/rpodgorny/uptimed/archive/v${PV}.tar.gz -> ${P}.tar.
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
-IUSE="static-libs"
 
 RDEPEND="
acct-group/uptimed
@@ -26,10 +25,6 @@ src_prepare() {
eautoreconf
 }
 
-src_configure() {
-   econf $(use_enable static-libs static)
-}
-
 src_install() {
local DOCS=( ChangeLog README.md TODO AUTHORS CREDITS INSTALL.cgi 
sample-cgi/* )
default



[gentoo-commits] repo/gentoo:master commit in: app-misc/uptimed/

2021-07-31 Thread Lars Wendler
commit: c4ddd3a2caef5972cae66747dd180934a711e8bc
Author: Lars Wendler  gentoo  org>
AuthorDate: Sat Jul 31 21:52:09 2021 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Sat Jul 31 21:52:20 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c4ddd3a2

app-misc/uptimed: Bump to version 0.4.4

Signed-off-by: Lars Wendler  gentoo.org>

 app-misc/uptimed/Manifest |  1 +
 app-misc/uptimed/uptimed-0.4.4.ebuild | 59 +++
 2 files changed, 60 insertions(+)

diff --git a/app-misc/uptimed/Manifest b/app-misc/uptimed/Manifest
index a4c128cbad6..d0b1176372c 100644
--- a/app-misc/uptimed/Manifest
+++ b/app-misc/uptimed/Manifest
@@ -1,2 +1,3 @@
 DIST uptimed-0.4.2.tar.gz 55339 BLAKE2B 
120a3b1d6dc9518f7051af4d7e0f1bcf455f7dd989687fa8f5a40f160f2912c21d09298bbb9c676af5387d96890a98acf3f21b60e046a9548a735ca10dbc4006
 SHA512 
a18cc8580a4dc7db7f4d97d70e25d76e7b98b9d328a0fa4ece4176d40fc26589149d63ffc9d2638cc35003cf485b43ae6e115aa1821c662d77f234eb3c4c0a4f
 DIST uptimed-0.4.3.tar.gz 55396 BLAKE2B 
bebea6559c436d2700df905b63fabd73b1c55463e8633409bc05cd16c7d110d8116f52e00d63879cfb2e0482f648bda04dcb5a1d5ff629699d2758dcc85ba53a
 SHA512 
f9485224dfe7173bab135a87b047d749f9b61d3c29d50523126b585ae77e68837680fdb725a08fd7cad39f0b35b2da7a6923b8540700881f9638286ab5082260
+DIST uptimed-0.4.4.tar.gz 55491 BLAKE2B 
8c4d19733e1b8f8ae682ac3238677e6ab24f9a5e8f948a130a2f6e345afe4cbb70e19ea789772fa9ec9c7f89fe1ea72e6a3c549dbb6e95e66c83a0a4a6966db0
 SHA512 
a39a3fe54dbd9373f1bf081584b16686f3a4ce742e282f8dfde7460ac156c2e189f48976fe32723468316c231ca6a3ea404ce42465460b2b52e96b7dbb92fe48

diff --git a/app-misc/uptimed/uptimed-0.4.4.ebuild 
b/app-misc/uptimed/uptimed-0.4.4.ebuild
new file mode 100644
index 000..e45cede0338
--- /dev/null
+++ b/app-misc/uptimed/uptimed-0.4.4.ebuild
@@ -0,0 +1,59 @@
+# Copyright 2021 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="static-libs"
+
+RDEPEND="
+   acct-group/uptimed
+   acct-user/uptimed
+"
+DEPEND="${RDEPEND}"
+BDEPEND="${RDEPEND}"
+
+src_prepare() {
+   default
+   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
+}



[gentoo-commits] repo/gentoo:master commit in: app-misc/uptimed/

2021-07-21 Thread Sam James
commit: 16f46bbe5ad188d9d08ba1d6febe55f9a4945877
Author: Sam James  gentoo  org>
AuthorDate: Thu Jul 22 03:45:11 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Jul 22 03:45:22 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=16f46bbe

app-misc/uptimed: stabilize 0.4.2 for arm64

Signed-off-by: Sam James  gentoo.org>

 app-misc/uptimed/uptimed-0.4.2.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/app-misc/uptimed/uptimed-0.4.2.ebuild 
b/app-misc/uptimed/uptimed-0.4.2.ebuild
index 889f23dba92..3c37d27f078 100644
--- a/app-misc/uptimed/uptimed-0.4.2.ebuild
+++ b/app-misc/uptimed/uptimed-0.4.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/rpodgorny/uptimed/archive/v${PV}.tar.gz -> ${P}.tar.
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~mips ppc ppc64 sparc x86"
+KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~mips ppc ppc64 sparc x86"
 IUSE="static-libs"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: app-misc/uptimed/

2021-07-21 Thread Georgy Yakovlev
commit: 36576770b7ad63a30ad3fc440ed12587f8fa69f7
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Thu Jul 22 02:34:56 2021 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Thu Jul 22 02:53:15 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=36576770

app-misc/uptimed: keyword 0.4.3 for ~riscv

Signed-off-by: Georgy Yakovlev  gentoo.org>

 app-misc/uptimed/uptimed-0.4.3.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/app-misc/uptimed/uptimed-0.4.3.ebuild 
b/app-misc/uptimed/uptimed-0.4.3.ebuild
index e1746141b17..3ed12722f97 100644
--- a/app-misc/uptimed/uptimed-0.4.3.ebuild
+++ b/app-misc/uptimed/uptimed-0.4.3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/rpodgorny/uptimed/archive/v${PV}.tar.gz -> ${P}.tar.
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
 IUSE="static-libs"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: app-misc/uptimed/

2021-07-15 Thread Lars Wendler
commit: b6cf96cdb51c1cc4af5b75dd961e4aecab5e8c33
Author: Lars Wendler  gentoo  org>
AuthorDate: Thu Jul 15 20:11:35 2021 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Thu Jul 15 20:13:09 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b6cf96cd

app-misc/uptimed: Removed old

Signed-off-by: Lars Wendler  gentoo.org>

 app-misc/uptimed/Manifest|  1 -
 app-misc/uptimed/uptimed-0.4.1-r1.ebuild | 59 --
 app-misc/uptimed/uptimed-0.4.1-r2.ebuild | 61 
 3 files changed, 121 deletions(-)

diff --git a/app-misc/uptimed/Manifest b/app-misc/uptimed/Manifest
index 2fff17db37f..a4c128cbad6 100644
--- a/app-misc/uptimed/Manifest
+++ b/app-misc/uptimed/Manifest
@@ -1,3 +1,2 @@
-DIST uptimed-0.4.1.tar.gz 55162 BLAKE2B 
c281f922ed4fcf4f55571f1f1177451bf9f2e0fecfc87566610e1d24055969cd61543fcb0fdae4d0e6dc7a082c1b9013a08b72641d572a2475e9c7f5fd56deae
 SHA512 
5dfe79aebab8c8daca3a3ec88d54e312446fc7cf8b54ef1414cbfcb3fb25053ef31235de4b42cb14fc7352965b77ca2875c753b97b4d61178792a5484715e23a
 DIST uptimed-0.4.2.tar.gz 55339 BLAKE2B 
120a3b1d6dc9518f7051af4d7e0f1bcf455f7dd989687fa8f5a40f160f2912c21d09298bbb9c676af5387d96890a98acf3f21b60e046a9548a735ca10dbc4006
 SHA512 
a18cc8580a4dc7db7f4d97d70e25d76e7b98b9d328a0fa4ece4176d40fc26589149d63ffc9d2638cc35003cf485b43ae6e115aa1821c662d77f234eb3c4c0a4f
 DIST uptimed-0.4.3.tar.gz 55396 BLAKE2B 
bebea6559c436d2700df905b63fabd73b1c55463e8633409bc05cd16c7d110d8116f52e00d63879cfb2e0482f648bda04dcb5a1d5ff629699d2758dcc85ba53a
 SHA512 
f9485224dfe7173bab135a87b047d749f9b61d3c29d50523126b585ae77e68837680fdb725a08fd7cad39f0b35b2da7a6923b8540700881f9638286ab5082260

diff --git a/app-misc/uptimed/uptimed-0.4.1-r1.ebuild 
b/app-misc/uptimed/uptimed-0.4.1-r1.ebuild
deleted file mode 100644
index abc5e89c99e..000
--- a/app-misc/uptimed/uptimed-0.4.1-r1.ebuild
+++ /dev/null
@@ -1,59 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit autotools user 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"
-IUSE="static-libs"
-
-pkg_setup() {
-   enewgroup uptimed
-   enewuser uptimed -1 -1 -1 uptimed
-}
-
-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}" -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
-}

diff --git a/app-misc/uptimed/uptimed-0.4.1-r2.ebuild 
b/app-misc/uptimed/uptimed-0.4.1-r2.ebuild
deleted file mode 100644
index f0e96cbc3b1..000
--- a/app-misc/uptimed/uptimed-0.4.1-r2.ebuild
+++ /dev/null
@@ -1,61 +0,0 @@
-# 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"
-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/* )
- 

[gentoo-commits] repo/gentoo:master commit in: app-misc/uptimed/

2020-09-04 Thread Sam James
commit: 3512fb604ac6b40b0e3d922020029c519a5c62b8
Author: Sam James  gentoo  org>
AuthorDate: Fri Sep  4 18:46:30 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Sep  4 18:46:30 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3512fb60

app-misc/uptimed: Stabilize 0.4.2 amd64, #738288

Signed-off-by: Sam James  gentoo.org>

 app-misc/uptimed/uptimed-0.4.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-misc/uptimed/uptimed-0.4.2.ebuild 
b/app-misc/uptimed/uptimed-0.4.2.ebuild
index ebe67438f04..b5ad54d5512 100644
--- a/app-misc/uptimed/uptimed-0.4.2.ebuild
+++ b/app-misc/uptimed/uptimed-0.4.2.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/rpodgorny/uptimed/archive/v${PV}.tar.gz -> ${P}.tar.
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 hppa ~mips ppc ppc64 sparc x86"
+KEYWORDS="~alpha amd64 ~arm ~arm64 hppa ~mips ppc ppc64 sparc x86"
 IUSE="static-libs"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: app-misc/uptimed/

2020-09-03 Thread Sam James
commit: d5d9420a48220fcfa2feaf10217f4292c7fcb0b5
Author: Sam James  gentoo  org>
AuthorDate: Thu Sep  3 23:54:13 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Sep  3 23:54:13 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d5d9420a

app-misc/uptimed: ppc64 stable (bug #738288)

Package-Manager: Portage-3.0.4, Repoman-2.3.23
Signed-off-by: Sam James  gentoo.org>

 app-misc/uptimed/uptimed-0.4.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-misc/uptimed/uptimed-0.4.2.ebuild 
b/app-misc/uptimed/uptimed-0.4.2.ebuild
index 9e22f6f7eb4..ebe67438f04 100644
--- a/app-misc/uptimed/uptimed-0.4.2.ebuild
+++ b/app-misc/uptimed/uptimed-0.4.2.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/rpodgorny/uptimed/archive/v${PV}.tar.gz -> ${P}.tar.
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 hppa ~mips ppc ~ppc64 sparc x86"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 hppa ~mips ppc ppc64 sparc x86"
 IUSE="static-libs"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: app-misc/uptimed/

2020-09-01 Thread Sergei Trofimovich
commit: 5ac7732a1cfb372924489a2c58d89bf80aef2f1f
Author: Rolf Eike Beer  sf-mail  de>
AuthorDate: Wed Sep  2 04:10:22 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Wed Sep  2 06:33:11 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ac7732a

app-misc/uptimed: stable 0.4.2 for hppa, bug #738288

Package-Manager: Portage-3.0.4, Repoman-2.3.23
RepoMan-Options: --include-arches="hppa"
Signed-off-by: Rolf Eike Beer  sf-mail.de>
Signed-off-by: Sergei Trofimovich  gentoo.org>

 app-misc/uptimed/uptimed-0.4.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-misc/uptimed/uptimed-0.4.2.ebuild 
b/app-misc/uptimed/uptimed-0.4.2.ebuild
index ad3b7c6cdf4..9e22f6f7eb4 100644
--- a/app-misc/uptimed/uptimed-0.4.2.ebuild
+++ b/app-misc/uptimed/uptimed-0.4.2.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/rpodgorny/uptimed/archive/v${PV}.tar.gz -> ${P}.tar.
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ppc ~ppc64 sparc x86"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 hppa ~mips ppc ~ppc64 sparc x86"
 IUSE="static-libs"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: app-misc/uptimed/

2020-09-01 Thread Sam James
commit: 2f99a6e072e1b313a0e20ff7e6822b3946c8dcc9
Author: Sam James  gentoo  org>
AuthorDate: Tue Sep  1 16:05:09 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Sep  1 16:05:09 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2f99a6e0

app-misc/uptimed: Stabilize 0.4.2 ppc, #738288

Signed-off-by: Sam James  gentoo.org>

 app-misc/uptimed/uptimed-0.4.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-misc/uptimed/uptimed-0.4.2.ebuild 
b/app-misc/uptimed/uptimed-0.4.2.ebuild
index 5216d261e9f..ad3b7c6cdf4 100644
--- a/app-misc/uptimed/uptimed-0.4.2.ebuild
+++ b/app-misc/uptimed/uptimed-0.4.2.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/rpodgorny/uptimed/archive/v${PV}.tar.gz -> ${P}.tar.
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 sparc x86"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ppc ~ppc64 sparc x86"
 IUSE="static-libs"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: app-misc/uptimed/

2020-08-31 Thread Lars Wendler
commit: 844b6f6a222f81960183cb06b4af9e15132ad571
Author: Lars Wendler  gentoo  org>
AuthorDate: Mon Aug 31 22:05:55 2020 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Mon Aug 31 22:06:36 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=844b6f6a

app-misc/uptimed: Bump to version 0.4.3

Package-Manager: Portage-3.0.5, Repoman-3.0.1
Signed-off-by: Lars Wendler  gentoo.org>

 app-misc/uptimed/Manifest |  1 +
 app-misc/uptimed/uptimed-0.4.3.ebuild | 61 +++
 2 files changed, 62 insertions(+)

diff --git a/app-misc/uptimed/Manifest b/app-misc/uptimed/Manifest
index 4650a596cc9..2fff17db37f 100644
--- a/app-misc/uptimed/Manifest
+++ b/app-misc/uptimed/Manifest
@@ -1,2 +1,3 @@
 DIST uptimed-0.4.1.tar.gz 55162 BLAKE2B 
c281f922ed4fcf4f55571f1f1177451bf9f2e0fecfc87566610e1d24055969cd61543fcb0fdae4d0e6dc7a082c1b9013a08b72641d572a2475e9c7f5fd56deae
 SHA512 
5dfe79aebab8c8daca3a3ec88d54e312446fc7cf8b54ef1414cbfcb3fb25053ef31235de4b42cb14fc7352965b77ca2875c753b97b4d61178792a5484715e23a
 DIST uptimed-0.4.2.tar.gz 55339 BLAKE2B 
120a3b1d6dc9518f7051af4d7e0f1bcf455f7dd989687fa8f5a40f160f2912c21d09298bbb9c676af5387d96890a98acf3f21b60e046a9548a735ca10dbc4006
 SHA512 
a18cc8580a4dc7db7f4d97d70e25d76e7b98b9d328a0fa4ece4176d40fc26589149d63ffc9d2638cc35003cf485b43ae6e115aa1821c662d77f234eb3c4c0a4f
+DIST uptimed-0.4.3.tar.gz 55396 BLAKE2B 
bebea6559c436d2700df905b63fabd73b1c55463e8633409bc05cd16c7d110d8116f52e00d63879cfb2e0482f648bda04dcb5a1d5ff629699d2758dcc85ba53a
 SHA512 
f9485224dfe7173bab135a87b047d749f9b61d3c29d50523126b585ae77e68837680fdb725a08fd7cad39f0b35b2da7a6923b8540700881f9638286ab5082260

diff --git a/app-misc/uptimed/uptimed-0.4.3.ebuild 
b/app-misc/uptimed/uptimed-0.4.3.ebuild
new file mode 100644
index 000..e1746141b17
--- /dev/null
+++ b/app-misc/uptimed/uptimed-0.4.3.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2020 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"
+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
+}



[gentoo-commits] repo/gentoo:master commit in: app-misc/uptimed/

2020-08-29 Thread Thomas Deutschmann
commit: 75e513e2defc942c6f6ac15012b93226201915d9
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Sat Aug 29 17:54:24 2020 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Sat Aug 29 17:56:59 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=75e513e2

app-misc/uptimed: x86 stable (bug #738288)

Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Thomas Deutschmann  gentoo.org>

 app-misc/uptimed/uptimed-0.4.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-misc/uptimed/uptimed-0.4.2.ebuild 
b/app-misc/uptimed/uptimed-0.4.2.ebuild
index 3cdcfe0205f..5216d261e9f 100644
--- a/app-misc/uptimed/uptimed-0.4.2.ebuild
+++ b/app-misc/uptimed/uptimed-0.4.2.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/rpodgorny/uptimed/archive/v${PV}.tar.gz -> ${P}.tar.
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 sparc ~x86"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 sparc x86"
 IUSE="static-libs"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: app-misc/uptimed/

2020-08-25 Thread Sergei Trofimovich
commit: 883737b59d8c4e48e91d286e9aecc90d90c3bf03
Author: Rolf Eike Beer  sf-mail  de>
AuthorDate: Tue Aug 25 14:50:38 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Tue Aug 25 17:48:31 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=883737b5

app-misc/uptimed: stable 0.4.2 for sparc, bug #738288

Package-Manager: Portage-2.3.103, Repoman-2.3.23
RepoMan-Options: --include-arches="sparc"
Signed-off-by: Rolf Eike Beer  sf-mail.de>
Signed-off-by: Sergei Trofimovich  gentoo.org>

 app-misc/uptimed/uptimed-0.4.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-misc/uptimed/uptimed-0.4.2.ebuild 
b/app-misc/uptimed/uptimed-0.4.2.ebuild
index e1746141b17..3cdcfe0205f 100644
--- a/app-misc/uptimed/uptimed-0.4.2.ebuild
+++ b/app-misc/uptimed/uptimed-0.4.2.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/rpodgorny/uptimed/archive/v${PV}.tar.gz -> ${P}.tar.
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 sparc ~x86"
 IUSE="static-libs"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: app-misc/uptimed/

2020-08-20 Thread Georgy Yakovlev
commit: 62c3cff88416f87878303a2088e5c0afe90a352d
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Fri Aug 21 03:15:44 2020 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Fri Aug 21 03:15:44 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=62c3cff8

app-misc/uptimed: add ~arm64 keyword to 0.4.2

Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Georgy Yakovlev  gentoo.org>

 app-misc/uptimed/uptimed-0.4.2.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/app-misc/uptimed/uptimed-0.4.2.ebuild 
b/app-misc/uptimed/uptimed-0.4.2.ebuild
index f0e96cbc3b1..e1746141b17 100644
--- a/app-misc/uptimed/uptimed-0.4.2.ebuild
+++ b/app-misc/uptimed/uptimed-0.4.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/rpodgorny/uptimed/archive/v${PV}.tar.gz -> ${P}.tar.
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86"
 IUSE="static-libs"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: app-misc/uptimed/

2019-08-30 Thread Lars Wendler
commit: 9d0ab9de972c1349d68f67caea0c2d51d73abb88
Author: Lars Wendler  gentoo  org>
AuthorDate: Fri Aug 30 07:19:37 2019 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Fri Aug 30 07:19:37 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9d0ab9de

app-misc/uptimed: Removed old

Package-Manager: Portage-2.3.73, Repoman-2.3.17
Signed-off-by: Lars Wendler  gentoo.org>

 app-misc/uptimed/Manifest|  1 -
 app-misc/uptimed/uptimed-0.4.0-r1.ebuild | 61 
 2 files changed, 62 deletions(-)

diff --git a/app-misc/uptimed/Manifest b/app-misc/uptimed/Manifest
index a848bdcd756..4650a596cc9 100644
--- a/app-misc/uptimed/Manifest
+++ b/app-misc/uptimed/Manifest
@@ -1,3 +1,2 @@
-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.0-r1.ebuild 
b/app-misc/uptimed/uptimed-0.4.0-r1.ebuild
deleted file mode 100644
index 8e4829fd405..000
--- a/app-misc/uptimed/uptimed-0.4.0-r1.ebuild
+++ /dev/null
@@ -1,61 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit autotools ltprune user 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"
-
-pkg_setup() {
-   enewgroup uptimed
-   enewuser uptimed -1 -1 -1 uptimed
-}
-
-src_prepare() {
-   default
-   # respect DESTDIR
-   sed -i -e 's|-d \(/var/spool.*\)$|-d $(DESTDIR)\1|' Makefile.am || die
-   # 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
-   prune_libtool_files --all
-
-   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
-}



[gentoo-commits] repo/gentoo:master commit in: app-misc/uptimed/

2019-08-30 Thread Lars Wendler
commit: c0688d87fd51492e11b0c7d54e11e82ee848b1c3
Author: Lars Wendler  gentoo  org>
AuthorDate: Fri Aug 30 07:18:57 2019 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Fri Aug 30 07:18:57 2019 +
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  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 000..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
+}



[gentoo-commits] repo/gentoo:master commit in: app-misc/uptimed/

2019-08-13 Thread Lars Wendler
commit: 960100ec0a64709926001f6842769a50fb110cc0
Author: Lars Wendler  gentoo  org>
AuthorDate: Tue Aug 13 18:17:29 2019 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Tue Aug 13 18:17:44 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=960100ec

app-misc/uptimed: Added acct-{group,user}/uptimed to BDEPEND

Thanks-to: Mike Gilbert  gentoo.org>
Package-Manager: Portage-2.3.71, Repoman-2.3.17
Signed-off-by: Lars Wendler  gentoo.org>

 app-misc/uptimed/uptimed-0.4.1-r2.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/app-misc/uptimed/uptimed-0.4.1-r2.ebuild 
b/app-misc/uptimed/uptimed-0.4.1-r2.ebuild
index 02322685333..1986bbd3429 100644
--- a/app-misc/uptimed/uptimed-0.4.1-r2.ebuild
+++ b/app-misc/uptimed/uptimed-0.4.1-r2.ebuild
@@ -19,6 +19,7 @@ RDEPEND="
acct-user/uptimed
 "
 DEPEND="${RDEPEND}"
+BDEPEND="${RDEPEND}"
 
 src_prepare() {
default



[gentoo-commits] repo/gentoo:master commit in: app-misc/uptimed/

2019-08-13 Thread Lars Wendler
commit: e349a00e7cb4a821413091a50899f1530fed6150
Author: Lars Wendler  gentoo  org>
AuthorDate: Tue Aug  6 14:18:48 2019 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Tue Aug 13 16:40:27 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e349a00e

app-misc/uptimed: Revbump replacing user eclass

with uptimed group/user packages.
Also bump to EAPI-7

Package-Manager: Portage-2.3.71, Repoman-2.3.17
Signed-off-by: Lars Wendler  gentoo.org>

 app-misc/uptimed/uptimed-0.4.1-r2.ebuild | 60 
 1 file changed, 60 insertions(+)

diff --git a/app-misc/uptimed/uptimed-0.4.1-r2.ebuild 
b/app-misc/uptimed/uptimed-0.4.1-r2.ebuild
new file mode 100644
index 000..02322685333
--- /dev/null
+++ b/app-misc/uptimed/uptimed-0.4.1-r2.ebuild
@@ -0,0 +1,60 @@
+# 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}"
+
+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
+}



[gentoo-commits] repo/gentoo:master commit in: app-misc/uptimed/

2019-05-12 Thread Thomas Deutschmann
commit: 74ad3b30f6f96fe717232b9dd0825a188cfe09af
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Mon May 13 00:31:00 2019 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Mon May 13 00:38:01 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=74ad3b30

app-misc/uptimed: x86 stable (bug #683918)

Package-Manager: Portage-2.3.66, Repoman-2.3.12
Signed-off-by: Thomas Deutschmann  gentoo.org>

 app-misc/uptimed/uptimed-0.4.1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-misc/uptimed/uptimed-0.4.1-r1.ebuild 
b/app-misc/uptimed/uptimed-0.4.1-r1.ebuild
index 393530eceb7..90366a4a578 100644
--- a/app-misc/uptimed/uptimed-0.4.1-r1.ebuild
+++ b/app-misc/uptimed/uptimed-0.4.1-r1.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/rpodgorny/uptimed/archive/v${PV}.tar.gz -> ${P}.tar.
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="alpha amd64 ~arm hppa ~mips ppc ppc64 sparc ~x86 ~x86-fbsd"
+KEYWORDS="alpha amd64 ~arm hppa ~mips ppc ppc64 sparc x86 ~x86-fbsd"
 IUSE="static-libs"
 
 pkg_setup() {



[gentoo-commits] repo/gentoo:master commit in: app-misc/uptimed/

2019-05-07 Thread Tobias Klausmann
commit: efc6cec9488d9bd0c3e28bfa4d8065db3e8e26fc
Author: Tobias Klausmann  gentoo  org>
AuthorDate: Tue May  7 18:03:16 2019 +
Commit: Tobias Klausmann  gentoo  org>
CommitDate: Tue May  7 18:03:23 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=efc6cec9

app-misc/uptimed-0.4.1-r1: alpha stable

Bug: http://bugs.gentoo.org/683918
Signed-off-by: Tobias Klausmann  gentoo.org>

 app-misc/uptimed/uptimed-0.4.1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-misc/uptimed/uptimed-0.4.1-r1.ebuild 
b/app-misc/uptimed/uptimed-0.4.1-r1.ebuild
index 181b263161f..393530eceb7 100644
--- a/app-misc/uptimed/uptimed-0.4.1-r1.ebuild
+++ b/app-misc/uptimed/uptimed-0.4.1-r1.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/rpodgorny/uptimed/archive/v${PV}.tar.gz -> ${P}.tar.
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm hppa ~mips ppc ppc64 sparc ~x86 ~x86-fbsd"
+KEYWORDS="alpha amd64 ~arm hppa ~mips ppc ppc64 sparc ~x86 ~x86-fbsd"
 IUSE="static-libs"
 
 pkg_setup() {



[gentoo-commits] repo/gentoo:master commit in: app-misc/uptimed/

2019-04-28 Thread Sergei Trofimovich
commit: 50970a62414cbb6833b81dc2045338c70b14d46d
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sun Apr 28 08:40:08 2019 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sun Apr 28 13:03:35 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=50970a62

app-misc/uptimed: stable 0.4.1-r1 for ppc64, bug #683918

Package-Manager: Portage-2.3.65, Repoman-2.3.12
RepoMan-Options: --include-arches="ppc64"
Signed-off-by: Sergei Trofimovich  gentoo.org>

 app-misc/uptimed/uptimed-0.4.1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-misc/uptimed/uptimed-0.4.1-r1.ebuild 
b/app-misc/uptimed/uptimed-0.4.1-r1.ebuild
index 4fecae3a38b..181b263161f 100644
--- a/app-misc/uptimed/uptimed-0.4.1-r1.ebuild
+++ b/app-misc/uptimed/uptimed-0.4.1-r1.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/rpodgorny/uptimed/archive/v${PV}.tar.gz -> ${P}.tar.
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm hppa ~mips ppc ~ppc64 sparc ~x86 ~x86-fbsd"
+KEYWORDS="~alpha amd64 ~arm hppa ~mips ppc ppc64 sparc ~x86 ~x86-fbsd"
 IUSE="static-libs"
 
 pkg_setup() {



[gentoo-commits] repo/gentoo:master commit in: app-misc/uptimed/

2019-04-28 Thread Sergei Trofimovich
commit: ef21ad4d556257d44c943ec9148e099be22b110e
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sun Apr 28 07:11:40 2019 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sun Apr 28 07:42:11 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef21ad4d

app-misc/uptimed: stable 0.4.1-r1 for ppc, bug #683918

Package-Manager: Portage-2.3.65, Repoman-2.3.12
RepoMan-Options: --include-arches="ppc"
Signed-off-by: Sergei Trofimovich  gentoo.org>

 app-misc/uptimed/uptimed-0.4.1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-misc/uptimed/uptimed-0.4.1-r1.ebuild 
b/app-misc/uptimed/uptimed-0.4.1-r1.ebuild
index 7dd9e798d13..4fecae3a38b 100644
--- a/app-misc/uptimed/uptimed-0.4.1-r1.ebuild
+++ b/app-misc/uptimed/uptimed-0.4.1-r1.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/rpodgorny/uptimed/archive/v${PV}.tar.gz -> ${P}.tar.
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm hppa ~mips ~ppc ~ppc64 sparc ~x86 ~x86-fbsd"
+KEYWORDS="~alpha amd64 ~arm hppa ~mips ppc ~ppc64 sparc ~x86 ~x86-fbsd"
 IUSE="static-libs"
 
 pkg_setup() {



[gentoo-commits] repo/gentoo:master commit in: app-misc/uptimed/

2019-04-27 Thread Sergei Trofimovich
commit: ce2beb56dc683218e5edb58e5a9301bd1c583b38
Author: Rolf Eike Beer  sf-mail  de>
AuthorDate: Sat Apr 27 15:13:11 2019 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sat Apr 27 15:20:04 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ce2beb56

app-misc/uptimed: stable 0.4.1-r1 for hppa, bug #683918

Signed-off-by: Rolf Eike Beer  sf-mail.de>
Package-Manager: Portage-2.3.62, Repoman-2.3.11
RepoMan-Options: --include-arches="hppa"
Signed-off-by: Sergei Trofimovich  gentoo.org>

 app-misc/uptimed/uptimed-0.4.1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-misc/uptimed/uptimed-0.4.1-r1.ebuild 
b/app-misc/uptimed/uptimed-0.4.1-r1.ebuild
index 30c10bde07e..7dd9e798d13 100644
--- a/app-misc/uptimed/uptimed-0.4.1-r1.ebuild
+++ b/app-misc/uptimed/uptimed-0.4.1-r1.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/rpodgorny/uptimed/archive/v${PV}.tar.gz -> ${P}.tar.
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~hppa ~mips ~ppc ~ppc64 sparc ~x86 ~x86-fbsd"
+KEYWORDS="~alpha amd64 ~arm hppa ~mips ~ppc ~ppc64 sparc ~x86 ~x86-fbsd"
 IUSE="static-libs"
 
 pkg_setup() {



[gentoo-commits] repo/gentoo:master commit in: app-misc/uptimed/

2019-04-25 Thread Lars Wendler
commit: a7f2107f312f74116aa307f5c1b97c26511ab4ab
Author: Lars Wendler  gentoo  org>
AuthorDate: Thu Apr 25 21:06:28 2019 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Thu Apr 25 21:06:28 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a7f2107f

app-misc/uptimed: Fixed xargs call

Bug: https://bugs.gentoo.org/684374
Package-Manager: Portage-2.3.64, Repoman-2.3.12
Signed-off-by: Lars Wendler  gentoo.org>

 app-misc/uptimed/uptimed-0.4.1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-misc/uptimed/uptimed-0.4.1-r1.ebuild 
b/app-misc/uptimed/uptimed-0.4.1-r1.ebuild
index bd5bc67239e..30c10bde07e 100644
--- a/app-misc/uptimed/uptimed-0.4.1-r1.ebuild
+++ b/app-misc/uptimed/uptimed-0.4.1-r1.ebuild
@@ -49,7 +49,7 @@ pkg_postinst() {
einfo "Fixing permissions in ${spooldir}"
find ${spooldir} -type f -links 1 \
\( -name records -o -name records.old \) \
-   | xargs chown uptimed:uptimed || die
+   | xargs --no-run-if-empty chown uptimed:uptimed || die
fi
echo
elog "Start uptimed with '/etc/init.d/uptimed start' (for openRC)"



[gentoo-commits] repo/gentoo:master commit in: app-misc/uptimed/

2019-04-24 Thread Lars Wendler
commit: 2d74260c169d8878a10ed7c3606780e14406970d
Author: Lars Wendler  gentoo  org>
AuthorDate: Wed Apr 24 18:44:59 2019 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Wed Apr 24 18:45:12 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2d74260c

app-misc/uptimed: Fixed xargs call

Closes: https://bugs.gentoo.org/684296
Package-Manager: Portage-2.3.64, Repoman-2.3.12
Signed-off-by: Lars Wendler  gentoo.org>

 app-misc/uptimed/uptimed-0.4.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-misc/uptimed/uptimed-0.4.0-r1.ebuild 
b/app-misc/uptimed/uptimed-0.4.0-r1.ebuild
index b57ecd03da9..8e4829fd405 100644
--- a/app-misc/uptimed/uptimed-0.4.0-r1.ebuild
+++ b/app-misc/uptimed/uptimed-0.4.0-r1.ebuild
@@ -51,7 +51,7 @@ pkg_postinst() {
einfo "Fixing permissions in ${spooldir}"
find ${spooldir} -type f -links 1 \
\( -name records -o -name records.old \) \
-   | xargs chown uptimed:uptimed || die
+   | xargs --no-run-if-empty chown uptimed:uptimed || die
fi
echo
elog "Start uptimed with '/etc/init.d/uptimed start' (for openRC)"



[gentoo-commits] repo/gentoo:master commit in: app-misc/uptimed/

2019-04-24 Thread Lars Wendler
commit: d3d0b840746804723df05de43d65403bce3b64c7
Author: Lars Wendler  gentoo  org>
AuthorDate: Wed Apr 24 12:39:05 2019 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Wed Apr 24 12:39:19 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d3d0b840

app-misc/uptimed: And another attempt to fix privilege escalation

Closes: https://bugs.gentoo.org/630810
Package-Manager: Portage-2.3.64, Repoman-2.3.12
Signed-off-by: Lars Wendler  gentoo.org>

 app-misc/uptimed/uptimed-0.4.0-r1.ebuild | 5 +++--
 app-misc/uptimed/uptimed-0.4.1-r1.ebuild | 5 +++--
 2 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/app-misc/uptimed/uptimed-0.4.0-r1.ebuild 
b/app-misc/uptimed/uptimed-0.4.0-r1.ebuild
index ce315a00fa4..b57ecd03da9 100644
--- a/app-misc/uptimed/uptimed-0.4.0-r1.ebuild
+++ b/app-misc/uptimed/uptimed-0.4.0-r1.ebuild
@@ -49,8 +49,9 @@ pkg_postinst() {
local spooldir="/var/spool/${PN}"
if [[ -d "${spooldir}" ]] ; then
einfo "Fixing permissions in ${spooldir}"
-   find ${spooldir} -type f -links 1 -print0 \
-   | xargs --null chown uptimed:uptimed || die
+   find ${spooldir} -type f -links 1 \
+   \( -name records -o -name records.old \) \
+   | xargs chown uptimed:uptimed || die
fi
echo
elog "Start uptimed with '/etc/init.d/uptimed start' (for openRC)"

diff --git a/app-misc/uptimed/uptimed-0.4.1-r1.ebuild 
b/app-misc/uptimed/uptimed-0.4.1-r1.ebuild
index 02f2ea8899c..bd5bc67239e 100644
--- a/app-misc/uptimed/uptimed-0.4.1-r1.ebuild
+++ b/app-misc/uptimed/uptimed-0.4.1-r1.ebuild
@@ -47,8 +47,9 @@ pkg_postinst() {
local spooldir="/var/spool/${PN}"
if [[ -d "${spooldir}" ]] ; then
einfo "Fixing permissions in ${spooldir}"
-   find ${spooldir} -type f -links 1 -print0 \
-   | xargs --null chown uptimed:uptimed || die
+   find ${spooldir} -type f -links 1 \
+   \( -name records -o -name records.old \) \
+   | xargs chown uptimed:uptimed || die
fi
echo
elog "Start uptimed with '/etc/init.d/uptimed start' (for openRC)"



[gentoo-commits] repo/gentoo:master commit in: app-misc/uptimed/

2019-04-24 Thread Lars Wendler
commit: 559aeb8ce8d3fe7c6c5f8618f93995252d1683fd
Author: Lars Wendler  gentoo  org>
AuthorDate: Wed Apr 24 12:20:02 2019 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Wed Apr 24 12:20:11 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=559aeb8c

app-misc/uptimed: Another attempt to fix privilege escalation

Bug: https://bugs.gentoo.org/630810
Package-Manager: Portage-2.3.64, Repoman-2.3.12
Signed-off-by: Lars Wendler  gentoo.org>

 app-misc/uptimed/uptimed-0.4.0-r1.ebuild   | 2 +-
 app-misc/uptimed/{uptimed-0.4.1.ebuild => uptimed-0.4.1-r1.ebuild} | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/app-misc/uptimed/uptimed-0.4.0-r1.ebuild 
b/app-misc/uptimed/uptimed-0.4.0-r1.ebuild
index cea4bac4db8..ce315a00fa4 100644
--- a/app-misc/uptimed/uptimed-0.4.0-r1.ebuild
+++ b/app-misc/uptimed/uptimed-0.4.0-r1.ebuild
@@ -49,7 +49,7 @@ pkg_postinst() {
local spooldir="/var/spool/${PN}"
if [[ -d "${spooldir}" ]] ; then
einfo "Fixing permissions in ${spooldir}"
-   find ${spooldir} -type f -print0 \
+   find ${spooldir} -type f -links 1 -print0 \
| xargs --null chown uptimed:uptimed || die
fi
echo

diff --git a/app-misc/uptimed/uptimed-0.4.1.ebuild 
b/app-misc/uptimed/uptimed-0.4.1-r1.ebuild
similarity index 97%
rename from app-misc/uptimed/uptimed-0.4.1.ebuild
rename to app-misc/uptimed/uptimed-0.4.1-r1.ebuild
index 08759db7f0c..02f2ea8899c 100644
--- a/app-misc/uptimed/uptimed-0.4.1.ebuild
+++ b/app-misc/uptimed/uptimed-0.4.1-r1.ebuild
@@ -47,7 +47,7 @@ pkg_postinst() {
local spooldir="/var/spool/${PN}"
if [[ -d "${spooldir}" ]] ; then
einfo "Fixing permissions in ${spooldir}"
-   find ${spooldir} -type f -print0 \
+   find ${spooldir} -type f -links 1 -print0 \
| xargs --null chown uptimed:uptimed || die
fi
echo



[gentoo-commits] repo/gentoo:master commit in: app-misc/uptimed/

2019-04-22 Thread Sergei Trofimovich
commit: c7bf37e2fd4d3687e714bfa2b1aa1c9102a3989a
Author: Rolf Eike Beer  sf-mail  de>
AuthorDate: Mon Apr 22 07:51:36 2019 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Mon Apr 22 14:40:15 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c7bf37e2

app-misc/uptimed: stable 0.4.1 for sparc, bug #683918

Signed-off-by: Rolf Eike Beer  sf-mail.de>
Package-Manager: Portage-2.3.62, Repoman-2.3.11
RepoMan-Options: --include-arches="sparc"
Signed-off-by: Sergei Trofimovich  gentoo.org>

 app-misc/uptimed/uptimed-0.4.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-misc/uptimed/uptimed-0.4.1.ebuild 
b/app-misc/uptimed/uptimed-0.4.1.ebuild
index 45e214fb1be..08759db7f0c 100644
--- a/app-misc/uptimed/uptimed-0.4.1.ebuild
+++ b/app-misc/uptimed/uptimed-0.4.1.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/rpodgorny/uptimed/archive/v${PV}.tar.gz -> ${P}.tar.
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+KEYWORDS="~alpha amd64 ~arm ~hppa ~mips ~ppc ~ppc64 sparc ~x86 ~x86-fbsd"
 IUSE="static-libs"
 
 pkg_setup() {



[gentoo-commits] repo/gentoo:master commit in: app-misc/uptimed/

2019-04-20 Thread Aaron Bauman
commit: 6bb99343b49dfbb3499ac9f84149af3e07e5041c
Author: Aaron Bauman  gentoo  org>
AuthorDate: Sun Apr 21 03:53:13 2019 +
Commit: Aaron Bauman  gentoo  org>
CommitDate: Sun Apr 21 03:53:25 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6bb99343

app-misc/uptimed: amd64 stable wrt bug #683918

Signed-off-by: Aaron Bauman  gentoo.org>
Package-Manager: Portage-2.3.62, Repoman-2.3.11

 app-misc/uptimed/uptimed-0.4.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-misc/uptimed/uptimed-0.4.1.ebuild 
b/app-misc/uptimed/uptimed-0.4.1.ebuild
index cc06a89220a..45e214fb1be 100644
--- a/app-misc/uptimed/uptimed-0.4.1.ebuild
+++ b/app-misc/uptimed/uptimed-0.4.1.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/rpodgorny/uptimed/archive/v${PV}.tar.gz -> ${P}.tar.
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+KEYWORDS="~alpha amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
 IUSE="static-libs"
 
 pkg_setup() {



[gentoo-commits] repo/gentoo:master commit in: app-misc/uptimed/

2019-04-20 Thread Lars Wendler
commit: 8029ba6c8920e379ea1f5f71afc297bfd30925b3
Author: Lars Wendler  gentoo  org>
AuthorDate: Sat Apr 20 20:31:38 2019 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Sat Apr 20 20:33:43 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8029ba6c

app-misc/uptimed: Attempt to fix privilege escalation in pkg_postinst

Bug: https://bugs.gentoo.org/630810
Package-Manager: Portage-2.3.64, Repoman-2.3.12
Signed-off-by: Lars Wendler  gentoo.org>

 app-misc/uptimed/uptimed-0.4.0-r1.ebuild | 19 +--
 app-misc/uptimed/uptimed-0.4.1.ebuild| 19 +--
 2 files changed, 26 insertions(+), 12 deletions(-)

diff --git a/app-misc/uptimed/uptimed-0.4.0-r1.ebuild 
b/app-misc/uptimed/uptimed-0.4.0-r1.ebuild
index 2fbdfafd16b..cea4bac4db8 100644
--- a/app-misc/uptimed/uptimed-0.4.0-r1.ebuild
+++ b/app-misc/uptimed/uptimed-0.4.0-r1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
 
-inherit autotools eutils user systemd
+inherit autotools ltprune user systemd
 
 DESCRIPTION="System uptime record daemon that keeps track of your highest 
uptimes"
 HOMEPAGE="https://github.com/rpodgorny/uptimed/";
@@ -36,15 +36,22 @@ src_install() {
local DOCS=( ChangeLog README.md TODO AUTHORS CREDITS INSTALL.cgi 
sample-cgi/* )
default
prune_libtool_files --all
-   keepdir /var/spool/uptimed
-   fowners uptimed:uptimed /var/spool/uptimed
+
+   local spooldir="/var/spool/${PN}"
+   keepdir ${spooldir}
+   fowners uptimed:uptimed ${spooldir}
+
newinitd "${FILESDIR}"/${PN}.init-r1 uptimed
systemd_dounit "${FILESDIR}/${PN}.service"
 }
 
 pkg_postinst() {
-   einfo "Fixing permissions in /var/spool/${PN}"
-   chown -R uptimed:uptimed /var/spool/${PN}
+   local spooldir="/var/spool/${PN}"
+   if [[ -d "${spooldir}" ]] ; then
+   einfo "Fixing permissions in ${spooldir}"
+   find ${spooldir} -type f -print0 \
+   | xargs --null chown uptimed:uptimed || die
+   fi
echo
elog "Start uptimed with '/etc/init.d/uptimed start' (for openRC)"
elog "or systemctl start uptimed (for systemd)"

diff --git a/app-misc/uptimed/uptimed-0.4.1.ebuild 
b/app-misc/uptimed/uptimed-0.4.1.ebuild
index 498d1fc6475..cc06a89220a 100644
--- a/app-misc/uptimed/uptimed-0.4.1.ebuild
+++ b/app-misc/uptimed/uptimed-0.4.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -33,16 +33,23 @@ src_configure() {
 src_install() {
local DOCS=( ChangeLog README.md TODO AUTHORS CREDITS INSTALL.cgi 
sample-cgi/* )
default
-   find "${ED}" \( -name '*.a' -o -name '*.la' \) -delete || die
-   keepdir /var/spool/uptimed
-   fowners uptimed:uptimed /var/spool/uptimed
+   find "${ED}" -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() {
-   einfo "Fixing permissions in /var/spool/${PN}"
-   chown -R uptimed:uptimed /var/spool/${PN}
+   local spooldir="/var/spool/${PN}"
+   if [[ -d "${spooldir}" ]] ; then
+   einfo "Fixing permissions in ${spooldir}"
+   find ${spooldir} -type f -print0 \
+   | xargs --null chown uptimed:uptimed || die
+   fi
echo
elog "Start uptimed with '/etc/init.d/uptimed start' (for openRC)"
elog "or systemctl start uptimed (for systemd)"



[gentoo-commits] repo/gentoo:master commit in: app-misc/uptimed/

2018-06-26 Thread Lars Wendler
commit: b3de5377302b1dce44d4c4fc463dd320ab857e52
Author: Lars Wendler  gentoo  org>
AuthorDate: Tue Jun 26 09:12:14 2018 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Tue Jun 26 09:12:27 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b3de5377

app-misc/uptimed: Bump to version 0.4.1

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 app-misc/uptimed/Manifest |  1 +
 app-misc/uptimed/uptimed-0.4.1.ebuild | 51 +++
 2 files changed, 52 insertions(+)

diff --git a/app-misc/uptimed/Manifest b/app-misc/uptimed/Manifest
index 1d9551250b9..1a647442792 100644
--- a/app-misc/uptimed/Manifest
+++ b/app-misc/uptimed/Manifest
@@ -1 +1,2 @@
 DIST uptimed-0.4.0.tar.gz 55026 BLAKE2B 
9f66f3cda4181c01e686896a8560ecab7bb7f3ed9cdaeaee840a589137188d8629ba414e436a99b212d386b8d3319ce88ccb8867c78335b015ed65a179154621
 SHA512 
918cd9e065d5005daf5062f14dffb725cb6d6764aa571fd45d63de3f7349b910cbae0dedc832f9bfb52a42caea90e8aec8390685baaf0718fec827240e517900
+DIST uptimed-0.4.1.tar.gz 55162 BLAKE2B 
c281f922ed4fcf4f55571f1f1177451bf9f2e0fecfc87566610e1d24055969cd61543fcb0fdae4d0e6dc7a082c1b9013a08b72641d572a2475e9c7f5fd56deae
 SHA512 
5dfe79aebab8c8daca3a3ec88d54e312446fc7cf8b54ef1414cbfcb3fb25053ef31235de4b42cb14fc7352965b77ca2875c753b97b4d61178792a5484715e23a

diff --git a/app-misc/uptimed/uptimed-0.4.1.ebuild 
b/app-misc/uptimed/uptimed-0.4.1.ebuild
new file mode 100644
index 000..498d1fc6475
--- /dev/null
+++ b/app-misc/uptimed/uptimed-0.4.1.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit autotools user 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"
+
+pkg_setup() {
+   enewgroup uptimed
+   enewuser uptimed -1 -1 -1 uptimed
+}
+
+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}" \( -name '*.a' -o -name '*.la' \) -delete || die
+   keepdir /var/spool/uptimed
+   fowners uptimed:uptimed /var/spool/uptimed
+   newinitd "${FILESDIR}"/${PN}.init-r1 uptimed
+   systemd_dounit "${FILESDIR}/${PN}.service"
+}
+
+pkg_postinst() {
+   einfo "Fixing permissions in /var/spool/${PN}"
+   chown -R uptimed:uptimed /var/spool/${PN}
+   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
+}



[gentoo-commits] repo/gentoo:master commit in: app-misc/uptimed/, app-misc/uptimed/files/

2017-08-28 Thread Lars Wendler
commit: 3eaffbeb6908660dc67de8a0fb8526de7dab9154
Author: Lars Wendler  gentoo  org>
AuthorDate: Mon Aug 28 23:04:03 2017 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Mon Aug 28 23:04:41 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3eaffbeb

app-misc/uptimed: Revbump to fix PID file sec issue (bug #629238).

Thanks to Michael Orlitzky for finding the issue and providing a fixed init
script.
Bumped straight to stable.

Package-Manager: Portage-2.3.8, Repoman-2.3.3

 app-misc/uptimed/files/uptimed.init| 13 -
 app-misc/uptimed/files/uptimed.init-r1 | 18 ++
 .../{uptimed-0.4.0.ebuild => uptimed-0.4.0-r1.ebuild}  |  2 +-
 3 files changed, 19 insertions(+), 14 deletions(-)

diff --git a/app-misc/uptimed/files/uptimed.init 
b/app-misc/uptimed/files/uptimed.init
deleted file mode 100644
index 0f024d0b41f..000
--- a/app-misc/uptimed/files/uptimed.init
+++ /dev/null
@@ -1,13 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-description="uptimed - a daemon to record uptime records"
-pidfile="/var/run/uptimed/uptimed.pid"
-command="/usr/sbin/uptimed"
-command_args="-p ${pidfile}"
-start_stop_daemon_args="-u uptimed"
-
-start_pre() {
-   checkpath -q -d -o uptimed ${pidfile%/*}
-}

diff --git a/app-misc/uptimed/files/uptimed.init-r1 
b/app-misc/uptimed/files/uptimed.init-r1
new file mode 100644
index 000..96564d8ee54
--- /dev/null
+++ b/app-misc/uptimed/files/uptimed.init-r1
@@ -0,0 +1,18 @@
+#!/sbin/openrc-run
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+description="uptimed - a daemon to record uptime records"
+pidfile="/run/uptimed.pid"
+command="/usr/sbin/uptimed"
+command_user="uptimed"
+
+# The uptimed daemon can create its own PID file, but it doesn't know
+# how to drop privileges. On the other hand, if we run it as a
+# restricted user under start-stop-daemon, the PID file it creates
+# will therefore be owned by a non-root user, and that poses a
+# security risk. To avoid the issue entirely, we run the daemon in the
+# foreground, and then use command_background=true to let OpenRC
+# handle the PID file.
+command_args="-f"
+command_background="true"

diff --git a/app-misc/uptimed/uptimed-0.4.0.ebuild 
b/app-misc/uptimed/uptimed-0.4.0-r1.ebuild
similarity index 96%
rename from app-misc/uptimed/uptimed-0.4.0.ebuild
rename to app-misc/uptimed/uptimed-0.4.0-r1.ebuild
index f0ab25d8ac0..2fbdfafd16b 100644
--- a/app-misc/uptimed/uptimed-0.4.0.ebuild
+++ b/app-misc/uptimed/uptimed-0.4.0-r1.ebuild
@@ -38,7 +38,7 @@ src_install() {
prune_libtool_files --all
keepdir /var/spool/uptimed
fowners uptimed:uptimed /var/spool/uptimed
-   newinitd "${FILESDIR}"/${PN}.init uptimed
+   newinitd "${FILESDIR}"/${PN}.init-r1 uptimed
systemd_dounit "${FILESDIR}/${PN}.service"
 }
 



[gentoo-commits] repo/gentoo:master commit in: app-misc/uptimed/

2017-01-15 Thread Lars Wendler
commit: 6428db6406890a09ec6c114d7b33704c767c0651
Author: Lars Wendler  gentoo  org>
AuthorDate: Sun Jan 15 23:16:16 2017 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Sun Jan 15 23:23:48 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6428db64

app-misc/uptimed: Removed old.

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 app-misc/uptimed/Manifest  |  1 -
 app-misc/uptimed/uptimed-0.3.18.ebuild | 53 --
 2 files changed, 54 deletions(-)

diff --git a/app-misc/uptimed/Manifest b/app-misc/uptimed/Manifest
index c97ec14..ddcdad3 100644
--- a/app-misc/uptimed/Manifest
+++ b/app-misc/uptimed/Manifest
@@ -1,2 +1 @@
-DIST uptimed-0.3.18.tar.gz 397295 SHA256 
fe9c0c78c8fca1ef9b61474f2039dc3634f2caf1c547b7ddc7a4eaa31238b2c9 SHA512 
6ccc9eebec2ed1b4dd0cc11590ba277c7ed453c244207772c26d147682627e47e7265e1b599ed505fb8aae8b013c61e77889e9d5ed638f994b579142b85fed1f
 WHIRLPOOL 
848ff159267bb71fa5b8a63f55a954d21c125306d1defb60c807921130c820c8576a050326ba0fe718805f34b17c4092a01b534ffdc852599da47ced0a754b19
 DIST uptimed-0.4.0.tar.gz 55026 SHA256 
26891965bb499065e34072cecd3eb8087102b1c05f530c8fe8504a07c722f9bf SHA512 
918cd9e065d5005daf5062f14dffb725cb6d6764aa571fd45d63de3f7349b910cbae0dedc832f9bfb52a42caea90e8aec8390685baaf0718fec827240e517900
 WHIRLPOOL 
7611a0fda9c1f9f4bee30cb6f38c65dd93dfeb185335d34173f6abf4eb6e12747f27b0adb649a33807cda264671d98be0b3135b36abde111b7d30e06b885923f

diff --git a/app-misc/uptimed/uptimed-0.3.18.ebuild 
b/app-misc/uptimed/uptimed-0.3.18.ebuild
deleted file mode 100644
index 4d744d8..
--- a/app-misc/uptimed/uptimed-0.3.18.ebuild
+++ /dev/null
@@ -1,53 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-inherit autotools eutils user 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"
-
-pkg_setup() {
-   enewgroup uptimed
-   enewuser uptimed -1 -1 -1 uptimed
-}
-
-src_prepare() {
-   # respect DESTDIR
-   sed -i -e 's|-d \(/var/spool.*\)$|-d $(DESTDIR)\1|' Makefile.am || die
-   # 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() {
-   default
-   prune_libtool_files --all
-   keepdir /var/spool/uptimed
-   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() {
-   einfo "Fixing permissions in /var/spool/${PN}"
-   chown -R uptimed:uptimed /var/spool/${PN}
-   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
-}



[gentoo-commits] repo/gentoo:master commit in: app-misc/uptimed/

2017-01-14 Thread Jeroen Roovers
commit: 99e9b9ee0ecf66258e2b869160e71289023039f9
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Sat Jan 14 23:45:34 2017 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Sat Jan 14 23:45:47 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=99e9b9ee

app-misc/uptimed: Stable for HPPA (bug #604342).

Package-Manager: Portage-2.3.3, Repoman-2.3.1
RepoMan-Options: --ignore-arches

 app-misc/uptimed/uptimed-0.4.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-misc/uptimed/uptimed-0.4.0.ebuild 
b/app-misc/uptimed/uptimed-0.4.0.ebuild
index ac08d30..1de7942 100644
--- a/app-misc/uptimed/uptimed-0.4.0.ebuild
+++ b/app-misc/uptimed/uptimed-0.4.0.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/rpodgorny/uptimed/archive/v${PV}.tar.gz -> ${P}.tar.
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="alpha amd64 ~arm ~hppa ~mips ~ppc ppc64 sparc x86 ~x86-fbsd"
+KEYWORDS="alpha amd64 ~arm hppa ~mips ~ppc ppc64 sparc x86 ~x86-fbsd"
 IUSE="static-libs"
 
 pkg_setup() {



[gentoo-commits] repo/gentoo:master commit in: app-misc/uptimed/

2017-01-06 Thread Tobias Klausmann
commit: 502aeb191a8577056a2cf9947311402ecbb8cc8a
Author: Tobias Klausmann  gentoo  org>
AuthorDate: Fri Jan  6 14:22:13 2017 +
Commit: Tobias Klausmann  gentoo  org>
CommitDate: Fri Jan  6 14:32:54 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=502aeb19

app-misc/uptimed-0.4.0-r0: stable on alpha

Gentoo-Bug: 604342

 app-misc/uptimed/uptimed-0.4.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-misc/uptimed/uptimed-0.4.0.ebuild 
b/app-misc/uptimed/uptimed-0.4.0.ebuild
index 0314776..f760952 100644
--- a/app-misc/uptimed/uptimed-0.4.0.ebuild
+++ b/app-misc/uptimed/uptimed-0.4.0.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/rpodgorny/uptimed/archive/v${PV}.tar.gz -> ${P}.tar.
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~hppa ~mips ~ppc ppc64 ~sparc x86 ~x86-fbsd"
+KEYWORDS="alpha amd64 ~arm ~hppa ~mips ~ppc ppc64 ~sparc x86 ~x86-fbsd"
 IUSE="static-libs"
 
 pkg_setup() {



[gentoo-commits] repo/gentoo:master commit in: app-misc/uptimed/

2017-01-02 Thread Agostino Sarubbo
commit: d55249cf886d830be0c05eae0520bffdb20c3bc4
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Mon Jan  2 08:58:46 2017 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Mon Jan  2 08:58:46 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d55249cf

app-misc/uptimed: amd64 stable wrt bug #604342

Package-Manager: portage-2.3.0
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 app-misc/uptimed/uptimed-0.4.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-misc/uptimed/uptimed-0.4.0.ebuild 
b/app-misc/uptimed/uptimed-0.4.0.ebuild
index 5d427d6..ae6d0b6 100644
--- a/app-misc/uptimed/uptimed-0.4.0.ebuild
+++ b/app-misc/uptimed/uptimed-0.4.0.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/rpodgorny/uptimed/archive/v${PV}.tar.gz -> ${P}.tar.
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+KEYWORDS="~alpha amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
 IUSE="static-libs"
 
 pkg_setup() {



[gentoo-commits] repo/gentoo:master commit in: app-misc/uptimed/

2017-01-02 Thread Lars Wendler
commit: 51b4c207ef6ab9fe86461f662b4182c29ab0fda9
Author: Lars Wendler  gentoo  org>
AuthorDate: Mon Jan  2 08:16:06 2017 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Mon Jan  2 08:16:20 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=51b4c207

app-misc/uptimed: Bump to EAPI-6.

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 app-misc/uptimed/uptimed-0.4.0.ebuild | 7 ---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/app-misc/uptimed/uptimed-0.4.0.ebuild 
b/app-misc/uptimed/uptimed-0.4.0.ebuild
index 50530a0..5d427d6 100644
--- a/app-misc/uptimed/uptimed-0.4.0.ebuild
+++ b/app-misc/uptimed/uptimed-0.4.0.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-EAPI=5
+EAPI=6
 
 inherit autotools eutils user systemd
 
@@ -21,6 +21,7 @@ pkg_setup() {
 }
 
 src_prepare() {
+   default
# respect DESTDIR
sed -i -e 's|-d \(/var/spool.*\)$|-d $(DESTDIR)\1|' Makefile.am || die
# fix configure.ac for >=automake-1.13 (bug #467582)
@@ -33,11 +34,11 @@ src_configure() {
 }
 
 src_install() {
+   local DOCS=( ChangeLog README.md TODO AUTHORS CREDITS INSTALL.cgi 
sample-cgi/* )
default
prune_libtool_files --all
keepdir /var/spool/uptimed
fowners uptimed:uptimed /var/spool/uptimed
-   dodoc ChangeLog README.md TODO AUTHORS CREDITS INSTALL.cgi sample-cgi/*
newinitd "${FILESDIR}"/${PN}.init uptimed
systemd_dounit "${FILESDIR}/${PN}.service"
 }



[gentoo-commits] repo/gentoo:master commit in: app-misc/uptimed/files/

2016-05-03 Thread Lars Wendler
commit: 393432b06a7befacaea0d5cfc21d4e1bdc442eae
Author: Lars Wendler  gentoo  org>
AuthorDate: Tue May  3 09:24:22 2016 +
Commit: Lars Wendler  gentoo  org>
CommitDate: Tue May  3 09:47:19 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=393432b0

app-misc/uptimed: Fixed openrc init script shebang.

Package-Manager: portage-2.2.28
Signed-off-by: Lars Wendler  gentoo.org>

 app-misc/uptimed/files/uptimed.init | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/app-misc/uptimed/files/uptimed.init 
b/app-misc/uptimed/files/uptimed.init
index 45f8d39..bfc5406 100644
--- a/app-misc/uptimed/files/uptimed.init
+++ b/app-misc/uptimed/files/uptimed.init
@@ -1,5 +1,5 @@
-#!/sbin/runscript
-# Copyright 1999-2014 Gentoo Foundation
+#!/sbin/openrc-run
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$