summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Mair-Keimberger <mmk@levelnine.at>2024-06-01 11:00:32 +0200
committerConrad Kostecki <conikost@gentoo.org>2024-06-23 21:48:21 +0200
commit1a9c4762e4b62c830e168d5c5bd9665fc1f04c84 (patch)
tree7aaca13ad61b81065681575aabc55271893048dc /app-admin
parentapp-admin/fsvs: add 1.2.12 (diff)
downloadgentoo-1a9c4762e4b62c830e168d5c5bd9665fc1f04c84.tar.gz
gentoo-1a9c4762e4b62c830e168d5c5bd9665fc1f04c84.tar.bz2
gentoo-1a9c4762e4b62c830e168d5c5bd9665fc1f04c84.zip
app-admin/analog: add 6.0.17
Signed-off-by: Michael Mair-Keimberger <mmk@levelnine.at> Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'app-admin')
-rw-r--r--app-admin/analog/Manifest1
-rw-r--r--app-admin/analog/analog-6.0.17.ebuild62
2 files changed, 63 insertions, 0 deletions
diff --git a/app-admin/analog/Manifest b/app-admin/analog/Manifest
index 70c769b44350..b846e47c87af 100644
--- a/app-admin/analog/Manifest
+++ b/app-admin/analog/Manifest
@@ -1 +1,2 @@
+DIST analog-6.0.17.tar.gz 1593749 BLAKE2B 88a36128e9965ff99131c73025652be5585a77a5400df61526832e52c9faa6d81d89b16646678fee11680f4268380c54988186c7d82db3db66ded3530008551d SHA512 d4e324d4297069765896b877ce3190370ce85b6f06fd164887652aea1862cc8c3f40eb15b0964bc4435481b9ec61d50dd49961e1e75346414daf5dc979bddf32
DIST analog-src-6013ce.zip 4875246 BLAKE2B 6b0663f3367faf84a8c65a778a065165ddfba6cd902e5cc6c9e0e84d94e1600629b9f9f89b87ec293f4b81f4034e21941ad45784ae5f35352f71f7b0917eb731 SHA512 8f8dbf0bd95873132414f558deeff61fbe9ac6cac40936f00515ccaead86642613c3f0a5a88046eb4d1f4e263cb01d638291c9a1596ea36098b455572b7364ed
diff --git a/app-admin/analog/analog-6.0.17.ebuild b/app-admin/analog/analog-6.0.17.ebuild
new file mode 100644
index 000000000000..183e69685337
--- /dev/null
+++ b/app-admin/analog/analog-6.0.17.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit toolchain-funcs
+
+DESCRIPTION="Multi-purpose, multi-platform log file analyser"
+HOMEPAGE="
+ https://www.c-amie.co.uk/software/analog/
+ https://github.com/c-amie/analog-ce"
+SRC_URI="https://github.com/c-amie/${PN}-ce/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/${PN}-ce-${PV}"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86"
+
+DEPEND="
+ >=dev-libs/libpcre-3.4
+ >=media-libs/gd-1.8.4-r2[jpeg,png]
+ sys-libs/zlib"
+RDEPEND="${DEPEND}"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-5.1-gentoo.diff
+ "${FILESDIR}"/${PN}-6.0-bzip2.patch
+ "${FILESDIR}"/${PN}-6.0-undefined-macro.patch
+)
+
+src_prepare() {
+ default
+ sed -i src/Makefile \
+ -e 's| -o | $(LDFLAGS)&|g' \
+ || die "sed Makefile"
+}
+
+src_compile() {
+ tc-export CC
+ # emake in main dir just executes "cd src && make",
+ # i.e. MAKEOPTS are ignored
+ emake -C src
+}
+
+src_install() {
+ newman analog.man analog.1
+
+ dodoc README.txt Licence.txt ${PN}.cfg-sample
+ dodoc -r examples
+ docinto html
+ dodoc docs/*.{html,gif,css,ico}
+ dodoc -r how-to
+ docinto cgi
+ dodoc anlgform.pl
+
+ insinto /usr/share/analog/images ; doins images/*
+ insinto /usr/share/analog/lang ; doins lang/*
+ dodir /var/log/analog
+ dosym ../../../usr/share/analog/images /var/log/analog/images
+ insinto /etc/analog ; doins "${FILESDIR}/analog.cfg"
+ dobin analog
+}