app-admin/apachetop: Bumping the version
authorOleksandr Trotsenko <oleksandr.trotsenko@gmail.com>
Mon, 12 Feb 2018 11:24:27 +0000 (05:24 -0600)
committerCraig Andrews <candrews@gentoo.org>
Tue, 13 Feb 2018 16:29:15 +0000 (11:29 -0500)
Bumping to the latest available version of the package.

Closes: https://bugs.gentoo.org/647116
Package-Manager: Portage-2.3.23, Repoman-2.3.6

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

index d99f1ce1305154cef5c6961a9243b930368201cc..49111859f763b47789b2e087856b3ce4d598618c 100644 (file)
@@ -1 +1,2 @@
 DIST apachetop-0.12.6.tar.gz 126930 BLAKE2B 06d12cc72791920c959fa4ef8e18aa90f1f29a616389329685abf445f416cde9ce6edd2db5aaadaba51488033148e8109245200086a11422436ffe0aab1b4a40 SHA512 35081772f817c6a83a1fcf78790d2a288a9e4e48234c4b3163a09ad15f49a78d649b77f41aa002940fb9416c263cea159c5092a9b87285488eb450964c823c3a
+DIST apachetop-0.17.4.tar.gz 128153 BLAKE2B 7601ce98618d041f6fc67e528775ce79b63a726b765ff298d1d74a1dd22a4451be6c36669c7ab9bf82fb8c120a6930d2bbf03823de02a216c558c358c53c07be SHA512 b5115048f79c694344fd341631fe7739567ba3ce6e18514d0be250cb6f42e04c54d35cc023dea5258725fcbfbb6debdaa51b91d64ae3120e70f5b78a7989a330
diff --git a/app-admin/apachetop/apachetop-0.17.4.ebuild b/app-admin/apachetop/apachetop-0.17.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)
+}