summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Mair-Keimberger <m.mairkeimberger@gmail.com>2019-03-24 10:53:09 +0100
committerPatrice Clement <monsieurp@gentoo.org>2019-03-26 17:45:43 +0100
commit1bc187d80fea3a2c2910bb38f16f8bed96874200 (patch)
treef8b117fb2b0d4c9a3e21c7e50858c4ff4836e762 /app-admin/analog
parentapp-admin/analog: fix HOMEPAGE and SRC_URI. (diff)
downloadgentoo-1bc187d80fea3a2c2910bb38f16f8bed96874200.tar.gz
gentoo-1bc187d80fea3a2c2910bb38f16f8bed96874200.tar.bz2
gentoo-1bc187d80fea3a2c2910bb38f16f8bed96874200.zip
app-admin/analog: version bump && EAPI7.
Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger@gmail.com> Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
Diffstat (limited to 'app-admin/analog')
-rw-r--r--app-admin/analog/Manifest1
-rw-r--r--app-admin/analog/analog-6.0.13.ebuild66
2 files changed, 67 insertions, 0 deletions
diff --git a/app-admin/analog/Manifest b/app-admin/analog/Manifest
index c42f86d92368..3ab6a882f87b 100644
--- a/app-admin/analog/Manifest
+++ b/app-admin/analog/Manifest
@@ -1 +1,2 @@
DIST analog-6.0.tar.gz 1553316 BLAKE2B 5363880cf65e8a4e845603a19dd30b79d4fb13b51b68d0cbcf59c2827a2c099d02c662e55b59ef9b4526ade53ca3f7401415a3bc78de3d7cc39b4e4988299241 SHA512 42b766d45f86a32d2e97cc2be35ebb5f4e0ffc2fb72d48196939027ea1ed3398a8cc0a43c47868f542bfb464199ab35bd93fa2ba5e37c4fc83ff15cfe19b9c60
+DIST analog-src-6013ce.zip 4875246 BLAKE2B 6b0663f3367faf84a8c65a778a065165ddfba6cd902e5cc6c9e0e84d94e1600629b9f9f89b87ec293f4b81f4034e21941ad45784ae5f35352f71f7b0917eb731 SHA512 8f8dbf0bd95873132414f558deeff61fbe9ac6cac40936f00515ccaead86642613c3f0a5a88046eb4d1f4e263cb01d638291c9a1596ea36098b455572b7364ed
diff --git a/app-admin/analog/analog-6.0.13.ebuild b/app-admin/analog/analog-6.0.13.ebuild
new file mode 100644
index 000000000000..ba814b09ba7f
--- /dev/null
+++ b/app-admin/analog/analog-6.0.13.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit toolchain-funcs
+
+MY_P="${PN}-src-6013ce"
+
+DESCRIPTION="A webserver log analyzer"
+HOMEPAGE="https://www.c-amie.co.uk/software/analog/"
+SRC_URI="http://www.c-amie.co.uk/static/analog/6013/${MY_P}.zip"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86"
+
+DEPEND="
+ app-arch/unzip
+ >=dev-libs/libpcre-3.4
+ >=media-libs/gd-1.8.4-r2[jpeg,png]
+ sys-libs/zlib"
+
+RDEPEND="
+ ${DEPEND}"
+
+S="${WORKDIR}/${MY_P}"
+
+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 analog.cfg
+ 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
+}