diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /net-analyzer/goaccess | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.xz |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'net-analyzer/goaccess')
-rw-r--r-- | net-analyzer/goaccess/Manifest | 4 | ||||
-rw-r--r-- | net-analyzer/goaccess/files/goaccess-0.6.1-CFLAGS.patch | 10 | ||||
-rw-r--r-- | net-analyzer/goaccess/files/goaccess-0.6.1-tinfo.patch | 32 | ||||
-rw-r--r-- | net-analyzer/goaccess/goaccess-0.5-r1.ebuild | 45 | ||||
-rw-r--r-- | net-analyzer/goaccess/goaccess-0.6.1.ebuild | 44 | ||||
-rw-r--r-- | net-analyzer/goaccess/goaccess-0.8.5.ebuild | 48 | ||||
-rw-r--r-- | net-analyzer/goaccess/goaccess-0.9.ebuild | 53 | ||||
-rw-r--r-- | net-analyzer/goaccess/metadata.xml | 25 |
8 files changed, 261 insertions, 0 deletions
diff --git a/net-analyzer/goaccess/Manifest b/net-analyzer/goaccess/Manifest new file mode 100644 index 00000000000..703d84ed0cd --- /dev/null +++ b/net-analyzer/goaccess/Manifest @@ -0,0 +1,4 @@ +DIST goaccess-0.5.tar.gz 127068 SHA256 beabad8267099d693cf2f0a6f533ecf5b5bdcc829b4536ec56b4a68b2c7d5e0e SHA512 24c59efca896e24f89aae5f12391398b8649822a5e07ee035a1c265a8987d1ba493155db12b7189c9d637891c81da6414919c9f9f6795831234810f021bb3999 WHIRLPOOL 0f49750053c64ec3395a5e56dadd27a271a45709a45dbe6051182d5153a820edf0548d6b21d05636dd96a0df5769b45dc0e55f007a5bdbe7485ce49940b3a941 +DIST goaccess-0.6.1.tar.gz 150264 SHA256 f414664769c884cdda33c92e6df1069fb8a1750d19955122b3f030614d414afa SHA512 67712e4af16c6e039ca46f6f8d8302a58be1e0cfd0c76930068c03a9989c35b58b61f7b1e6a9e79cbb978c8f492b80782b8c7b894abc2e067f0a520e2981f98b WHIRLPOOL efa017b3951a7cbb80a041a63eef8cf13035be62d92be7da3df55a5ee7bc4d4b10e570023d488fad993a96c0da9c7bdb122009cf1e52e9c9e6a112e6e10c3420 +DIST goaccess-0.8.5.tar.gz 189006 SHA256 a4c6b6b98875059409b2a7528d5e7662536591b1949461cb03d88ea1360c3a88 SHA512 736ae69d0c3bbbaf1d06b287c2d600aae1a72255361c9bb40d1c74986932a771c2b401126e75f22ad4be72f6dc053efd262c40ad40cd62efc57c4461d5481c63 WHIRLPOOL fc2328e558135ca277f8ab52a922a726b3994c47f41fdff2a3110197c4430cb2fd928928d2fba124825a8a127b03ac8551799b0d16b9b2d655ec8a324af56216 +DIST goaccess-0.9.tar.gz 213119 SHA256 49d8ec4ca2b2ff2e848f278c6eed4a541082cfbf781540140ca16d58735f27fa SHA512 c25703fa31dd673bdb3463e3c5055ba3452f1fdb452c63114663d9dfb28b95ddb4cd89b03fd4a9fdbabd0efebc2e3ab35238fd15bc46727f794d04ba77fc072c WHIRLPOOL 58b95d5b8a60b49afb423b85040acb2a163452cd21c65a7f44f2c35e53017b28461089fea7edf5f45dc8169f4d92b21bc62d958d9b66d518d2739a5f7d867855 diff --git a/net-analyzer/goaccess/files/goaccess-0.6.1-CFLAGS.patch b/net-analyzer/goaccess/files/goaccess-0.6.1-CFLAGS.patch new file mode 100644 index 00000000000..909b38f5730 --- /dev/null +++ b/net-analyzer/goaccess/files/goaccess-0.6.1-CFLAGS.patch @@ -0,0 +1,10 @@ +--- a/Makefile.am ++++ b/Makefile.am +@@ -2,6 +2,6 @@ + bin_PROGRAMS = goaccess + goaccess_SOURCES = output.c output.h settings.c settings.h error.c error.h xmalloc.c xmalloc.h commons.c commons.h goaccess.c parser.c parser.h ui.c ui.h util.c util.h gdashboard.c gdashboard.h gdns.c gdns.h gmenu.c gmenu.h goaccess.h + +-AM_CFLAGS = -g -Wall @GLIB2_CFLAGS@ ++AM_CFLAGS = -Wall @GLIB2_CFLAGS@ + goaccess_LDADD = -lm + dist_man_MANS = goaccess.1 diff --git a/net-analyzer/goaccess/files/goaccess-0.6.1-tinfo.patch b/net-analyzer/goaccess/files/goaccess-0.6.1-tinfo.patch new file mode 100644 index 00000000000..76d6cbcbcf7 --- /dev/null +++ b/net-analyzer/goaccess/files/goaccess-0.6.1-tinfo.patch @@ -0,0 +1,32 @@ +--- a/configure.ac ++++ b/configure.ac +@@ -19,22 +19,20 @@ + AC_ARG_ENABLE(geoip,--enable-geoip Enable GeoIP country lookup, USE_GEOIP="yes") + AC_ARG_ENABLE(utf8,--enable-utf8 Enable UTF-8 support for wide characters, USE_UTF8="yes") + +-if test "$USE_GEOIP" = "yes"; then +- AC_CHECK_LIB([GeoIP], [GeoIP_new], [], [AC_MSG_ERROR([libgeoip-dev is missing])]) +- CFLAGS="-lGeoIP" ++if test x"$USE_GEOIP" = "xyes"; then ++ AC_CHECK_LIB([GeoIP], [GeoIP_new], , [AC_MSG_ERROR([libgeoip-dev is missing])]) + fi + +-if test "$USE_UTF8" = "yes"; then +- AC_CHECK_LIB([ncursesw], [mvaddwstr], [], [AC_MSG_ERROR([libncursesw5-dev is missing])]) +- CFLAGS="-lncursesw" ++if test x"$USE_UTF8" = "xyes"; then ++ AC_CHECK_LIB([ncursesw], [mvaddwstr], , [AC_MSG_ERROR([libncursesw5-dev is missing])]) ++ AC_SEARCH_LIBS([stdscr], [tinfow], ,[AC_MSG_ERROR([Cannot find a library providing stdscr])]) + else +- AC_CHECK_LIB([ncurses], [refresh], [], [AC_MSG_ERROR([libncurses5-dev is missing])]) +- CFLAGS="-lncurses" ++ AC_CHECK_LIB([ncurses], [refresh], , [AC_MSG_ERROR([libncurses5-dev is missing])]) ++ AC_SEARCH_LIBS([stdscr], [tinfo], ,[AC_MSG_ERROR([Cannot find a library providing stdscr])]) + fi + + # pthread + AC_CHECK_LIB([pthread], [pthread_create], [], [AC_MSG_ERROR([pthread is missing])]) +-CFLAGS="-pthread" + + # Checks for libraries. + AC_CHECK_LIB([glib-2.0], [g_free], [], [AC_MSG_ERROR([glib-2.x is missing])]) diff --git a/net-analyzer/goaccess/goaccess-0.5-r1.ebuild b/net-analyzer/goaccess/goaccess-0.5-r1.ebuild new file mode 100644 index 00000000000..c650fbc5289 --- /dev/null +++ b/net-analyzer/goaccess/goaccess-0.5-r1.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +AUTOTOOLS_AUTORECONF=1 +inherit autotools-utils + +DESCRIPTION="A real-time Apache log analyzer and interactive viewer that runs in a terminal" +HOMEPAGE="http://goaccess.prosoftcorp.com" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux" +IUSE="geoip unicode" + +RDEPEND=" + dev-libs/glib:2 + sys-libs/ncurses[unicode?] + geoip? ( dev-libs/geoip ) +" +DEPEND="${RDEPEND} + virtual/pkgconfig +" + +src_prepare() { + # respect CFLAGS, bug #451806 + sed -i -e '/AM_CFLAGS/s/-g//' Makefile.am || die 'sed failed' + autotools-utils_src_prepare +} + +src_configure() { + # configure does not properly recognise '--disable-something' + local myeconfargs=( + $(usex geoip '--enable-geoip' '' '' '') + $(usex unicode '--enable-utf8' '' '' '') + ) + autotools-utils_src_configure +} + +src_compile() { + autotools-utils_src_compile CFLAGS="${CFLAGS}" +} diff --git a/net-analyzer/goaccess/goaccess-0.6.1.ebuild b/net-analyzer/goaccess/goaccess-0.6.1.ebuild new file mode 100644 index 00000000000..58d2202d789 --- /dev/null +++ b/net-analyzer/goaccess/goaccess-0.6.1.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +AUTOTOOLS_AUTORECONF=1 +inherit autotools-utils + +DESCRIPTION="A real-time Apache log analyzer and interactive viewer that runs in a terminal" +HOMEPAGE="http://goaccess.prosoftcorp.com" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux" +IUSE="geoip unicode" + +RDEPEND=" + dev-libs/glib:2 + sys-libs/ncurses[unicode?] + geoip? ( dev-libs/geoip ) +" +DEPEND="${RDEPEND} + virtual/pkgconfig +" + +PATCHES=( + "${FILESDIR}"/${P}-CFLAGS.patch + "${FILESDIR}"/${P}-tinfo.patch +) + +src_configure() { + # configure does not properly recognise '--disable-something' + local myeconfargs=( + $(usex geoip '--enable-geoip' '' '' '') + $(usex unicode '--enable-utf8' '' '' '') + ) + autotools-utils_src_configure +} + +src_compile() { + autotools-utils_src_compile CFLAGS="${CFLAGS}" +} diff --git a/net-analyzer/goaccess/goaccess-0.8.5.ebuild b/net-analyzer/goaccess/goaccess-0.8.5.ebuild new file mode 100644 index 00000000000..4cbfbfd7463 --- /dev/null +++ b/net-analyzer/goaccess/goaccess-0.8.5.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +inherit eutils + +DESCRIPTION="A real-time web log analyzer and interactive viewer that runs in a terminal" +HOMEPAGE="http://goaccess.io" +SRC_URI="http://tar.goaccess.io/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux" + +IUSE="btree debug geoip bzip2 memhash unicode zlib" + +REQUIRED_USE="btree? ( !memhash )" + +RDEPEND=" + dev-libs/glib:2 + sys-libs/ncurses[unicode?] + geoip? ( dev-libs/geoip ) + btree? ( dev-db/tokyocabinet ) + memhash? ( dev-db/tokyocabinet ) + zlib? ( sys-libs/zlib ) + bzip2? ( app-arch/bzip2 )" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +src_prepare() { + # Fix path to GeoIP bases in config + sed -e s':/usr/local:/usr:' -i config/goaccess.conf || die +} + +src_configure() { + econf \ + $(use_enable debug) \ + $(use_enable geoip) \ + $(use_enable bzip2 bzip) \ + $(use_enable unicode utf8) \ + $(use_enable zlib) \ + $(use memhash && echo "--enable-tcb=memhash") \ + $(use btree && echo "--enable-tcb=btree") + + epatch_user +} diff --git a/net-analyzer/goaccess/goaccess-0.9.ebuild b/net-analyzer/goaccess/goaccess-0.9.ebuild new file mode 100644 index 00000000000..ea4dafed9d0 --- /dev/null +++ b/net-analyzer/goaccess/goaccess-0.9.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +inherit eutils + +DESCRIPTION="A real-time web log analyzer and interactive viewer that runs in a terminal" +HOMEPAGE="http://goaccess.io" +SRC_URI="http://tar.goaccess.io/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux" + +IUSE="btree debug geoip tokyocabinet unicode" + +REQUIRED_USE="btree? ( tokyocabinet )" + +RDEPEND=" + sys-libs/ncurses[unicode?] + geoip? ( dev-libs/geoip ) + !tokyocabinet? ( dev-libs/glib:2 ) + tokyocabinet? ( + dev-db/tokyocabinet + btree? ( + app-arch/bzip2 + sys-libs/zlib + ) + ) +" +DEPEND="${RDEPEND} + virtual/pkgconfig +" + +src_prepare() { + epatch_user + + # Fix path to GeoIP bases in config + sed -e s':/usr/local:/usr:' -i config/goaccess.conf || die +} + +src_configure() { + econf \ + $(use_enable debug) \ + $(use_enable geoip) \ + $(use_enable unicode utf8) \ + $(use_enable tokyocabinet tcb) \ + $(use_enable btree bzip) \ + $(use_enable btree zlib) \ + $(usex tokyocabinet "--enable-tcb=$(usex btree btree memhash)" '') +} diff --git a/net-analyzer/goaccess/metadata.xml b/net-analyzer/goaccess/metadata.xml new file mode 100644 index 00000000000..4f26acaf061 --- /dev/null +++ b/net-analyzer/goaccess/metadata.xml @@ -0,0 +1,25 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>proxy-maintainers</herd> + <maintainer> + <email>spiderx@spiderx.dp.ua</email> + <name>Vladimir Pavljuchenkov</name> + <description>Proxy maintainer</description> + </maintainer> + <longdescription>GoAccess is an open source real-time web log analyzer and +interactive viewer that runs in a terminal in *nix systems. It provides fast and valuable +HTTP statistics for system administrators that require a visual server report on the fly. + </longdescription> + <use> + <flag name="btree">Enable Tokyo Cabinet's on-disk B+ Tree database backend</flag> + <flag name="memhash">Enable Tokyo Cabinet's on-memory hash database backend</flag> + <flag name="tokyocabinet">Enable Tokyo Cabinet's on-memory hash database backend</flag> + </use> + <upstream> + <changelog>https://github.com/allinurl/goaccess/blob/master/ChangeLog</changelog> + <doc>http://goaccess.io/faq</doc> + <bugs-to>mailto:goaccess@prosoftcorp.com</bugs-to> + </upstream> +</pkgmetadata> + |