summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-admin/fifo-cronolog')
-rw-r--r--app-admin/fifo-cronolog/Manifest2
-rw-r--r--app-admin/fifo-cronolog/fifo-cronolog-1.2.3-r1.ebuild (renamed from app-admin/fifo-cronolog/fifo-cronolog-1.1.1-r1.ebuild)25
-rw-r--r--app-admin/fifo-cronolog/metadata.xml5
3 files changed, 21 insertions, 11 deletions
diff --git a/app-admin/fifo-cronolog/Manifest b/app-admin/fifo-cronolog/Manifest
index ba3b49b49b23..959d598d56fb 100644
--- a/app-admin/fifo-cronolog/Manifest
+++ b/app-admin/fifo-cronolog/Manifest
@@ -1 +1 @@
-DIST fifo-cronolog-1.1.1.tar.bz2 3124 BLAKE2B 6e9cb35e0ed1b54c3baed4451742840dc1144294fc675822c1260d4d7d885a52f8835e60dcbed57c714e40e94e6d51b3ba78af9b9892883f5f520a7c57d30df8 SHA512 3ac809d5cfc951764aaf31d50ee394b0dde9ced16f53daa91c81bdb218af2bab410ff945ebfdeb8307a55bda3292c0a55eb500c3cb73595e17228ef739455d90
+DIST fifo-cronolog-1.2.3.tar.gz 4518 BLAKE2B c227304d98b2467a1ed7352399b1e53aba4dc005fa30a1be73b8cc96d61ee49d5f6a3703ccddd1ffef652c4090e9b5dfed9cce3f1254b959a1ccc07aac78b3f6 SHA512 557be1a663c5754a293092078b8a3710474bb1939c1ee65e4c560056238ca646e941e4ad82c0a90c02834fc90ddb2aae9047a4e73d42cf8c2c013f2a5d2c839c
diff --git a/app-admin/fifo-cronolog/fifo-cronolog-1.1.1-r1.ebuild b/app-admin/fifo-cronolog/fifo-cronolog-1.2.3-r1.ebuild
index 93447d0b0efb..27cfe32f20a1 100644
--- a/app-admin/fifo-cronolog/fifo-cronolog-1.1.1-r1.ebuild
+++ b/app-admin/fifo-cronolog/fifo-cronolog-1.2.3-r1.ebuild
@@ -1,27 +1,34 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=8
+
+inherit systemd
DESCRIPTION="cronolog wrapper for use with dumb daemons like squid, varnish and so on"
-HOMEPAGE="https://cgit.gentoo.org/proj/fifo-cronolog.git"
-SRC_URI="mirror://gentoo/${P}.tar.bz2"
+HOMEPAGE="https://gitweb.gentoo.org/proj/fifo-cronolog.git"
+SRC_URI="http://dev.gentoo.org/~robbat2/distfiles/${P}.tar.gz"
LICENSE="BSD-2 GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE=""
-DEPEND=""
RDEPEND="app-admin/cronolog"
+src_compile() {
+ emake all
+}
+
src_install() {
dosbin fifo-cronolog
+ dosym fifo-cronolog /usr/sbin/squid-cronolog
+ dosbin fifo-cronolog-setup
- newinitd fifo-cronolog.initd fifo-cronolog
- newconfd fifo-cronolog.confd fifo-cronolog
+ newinitd openrc/fifo-cronolog.initd fifo-cronolog
+ newconfd openrc/fifo-cronolog.confd fifo-cronolog
- dosym fifo-cronolog /usr/sbin/squid-cronolog
+ systemd_dounit systemd/fifo-cronolog@.service
+ dodoc README.md systemd/fifo-cronolog@example.service.env
}
pkg_postinst() {
diff --git a/app-admin/fifo-cronolog/metadata.xml b/app-admin/fifo-cronolog/metadata.xml
index 70a1abb9c81a..0e5cad21f726 100644
--- a/app-admin/fifo-cronolog/metadata.xml
+++ b/app-admin/fifo-cronolog/metadata.xml
@@ -2,10 +2,13 @@
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<longdescription>
- fifo-cronolog is based on app-admin/cronolog, but uses a FIFO for input
+ fifo-cronolog is based on <pkg>app-admin/cronolog</pkg>, but uses a FIFO for input
instead of stdin. This package is used for the Gentoo infrastructure.
</longdescription>
<maintainer type="person">
<email>robbat2@gentoo.org</email>
</maintainer>
+ <upstream>
+ <remote-id type="gentoo">proj/fifo-cronolog</remote-id>
+ </upstream>
</pkgmetadata>