app-admin/apachetop: version bump.
authorOleksandr Trotsenko <oleksandr.trotsenko@gmail.com>
Sat, 5 May 2018 14:16:15 +0000 (09:16 -0500)
committerPatrice Clement <monsieurp@gentoo.org>
Sun, 6 May 2018 21:48:10 +0000 (23:48 +0200)
Bumping the version to latest 0.18.4.

Closes: https://bugs.gentoo.org/654970
Package-Manager: Portage-2.3.33, Repoman-2.3.9
Closes: https://github.com/gentoo/gentoo/pull/8270

app-admin/apachetop/Manifest
app-admin/apachetop/apachetop-0.18.4.ebuild [new file with mode: 0644]

index 49111859f763b47789b2e087856b3ce4d598618c..75ab642f22109d7dcaf9bc6c488fe106177eea8f 100644 (file)
@@ -1,2 +1,3 @@
 DIST apachetop-0.12.6.tar.gz 126930 BLAKE2B 06d12cc72791920c959fa4ef8e18aa90f1f29a616389329685abf445f416cde9ce6edd2db5aaadaba51488033148e8109245200086a11422436ffe0aab1b4a40 SHA512 35081772f817c6a83a1fcf78790d2a288a9e4e48234c4b3163a09ad15f49a78d649b77f41aa002940fb9416c263cea159c5092a9b87285488eb450964c823c3a
 DIST apachetop-0.17.4.tar.gz 128153 BLAKE2B 7601ce98618d041f6fc67e528775ce79b63a726b765ff298d1d74a1dd22a4451be6c36669c7ab9bf82fb8c120a6930d2bbf03823de02a216c558c358c53c07be SHA512 b5115048f79c694344fd341631fe7739567ba3ce6e18514d0be250cb6f42e04c54d35cc023dea5258725fcbfbb6debdaa51b91d64ae3120e70f5b78a7989a330
+DIST apachetop-0.18.4.tar.gz 128849 BLAKE2B 912f060984da326b2e005cc0e3eb99c28182bc6a0930e6781d5a0a990dbbe56b5dbfe871baea1c86a5ac2bc02faa1e583ca104d3c8bd00cc3617599601b2d8bd SHA512 e32f94ab6223578aa5b8c11083de762e8f916ba6d057d93f99208333632a8362b421c41fff76bf60a52f0b377a70d69c17ed02abfb95f86474ad3719016e59f7
diff --git a/app-admin/apachetop/apachetop-0.18.4.ebuild b/app-admin/apachetop/apachetop-0.18.4.ebuild
new file mode 100644 (file)
index 0000000..2f5954e
--- /dev/null
@@ -0,0 +1,36 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit autotools
+
+DESCRIPTION="A realtime Apache log analyzer"
+HOMEPAGE="https://github.com/tessus/apachetop"
+SRC_URI="https://github.com/tessus/${PN}/releases/download/${PV}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~hppa ~mips ~ppc ~sparc ~x86"
+IUSE="fam pcre"
+
+RDEPEND="
+       sys-libs/ncurses:0=
+       sys-libs/readline:0=
+       fam? ( virtual/fam )
+       pcre? ( dev-libs/libpcre )"
+DEPEND="${RDEPEND}
+       virtual/pkgconfig"
+
+src_prepare() {
+       default
+       eautoreconf
+}
+
+src_configure() {
+       econf \
+               --with-logfile="${EPREFIX}"/var/log/apache2/access_log \
+               --without-adns \
+               $(use_with fam) \
+               $(use_with pcre)
+}