commit:     35560daadf540b3ffc0415d851fafabab7726041
Author:     Ultrabug <ultrabug <AT> gentoo <DOT> org>
AuthorDate: Wed Oct  7 09:27:26 2015 +0000
Commit:     Alexys Jacob <ultrabug <AT> gentoo <DOT> org>
CommitDate: Wed Oct  7 09:27:26 2015 +0000
URL:        https://gitweb.gentoo.org/dev/ultrabug.git/commit/?id=35560daa

app-admin/logswan: new ebuild

 app-admin/logswan/Manifest            |  2 ++
 app-admin/logswan/logswan-1.01.ebuild | 31 +++++++++++++++++++++++++++++++
 2 files changed, 33 insertions(+)

diff --git a/app-admin/logswan/Manifest b/app-admin/logswan/Manifest
new file mode 100644
index 0000000..af2a9cf
--- /dev/null
+++ b/app-admin/logswan/Manifest
@@ -0,0 +1,2 @@
+DIST 1.01.tar.gz 14790 SHA256 
05e4fa2d11e091bd7c389dae8372383699777095daaeae628021e3192e94296e SHA512 
cfdfc67cebc8a32fbe260e20867af4363e734c6890b3a5f0e4b9bba43d8caa10722171014dc6f2f2de17f4c4b03fb9eaadc935e1143b95afcbfeb9b83ccd1d80
 WHIRLPOOL 
26c877da34333557890c6e453a8f5a04ea3ea89e4a5403da706ca53c09f17b616e7342754eaeca70512bf69b6f6c08ef704913a2abecb0125439f490afd7f2b9
+EBUILD logswan-1.01.ebuild 695 SHA256 
f9009d81b342f52d805ce5dea91283dfd1e9cbd955b53809f88cb6c329ee33ea SHA512 
025decf2bbca7f7f3803340d576c041c21c4861e38e260e4d31fb50fac80decda480826195227bb7a028c9c874f51e78bba36024f0e6ce6022c8a8a880562f7a
 WHIRLPOOL 
5ce69b0cb90000305563291dc7218e66931ed7e5d0b7f64c1870ddc6b335e36de9852a65211d586dacb76434aa00309bd5908fbe512f4a79e134639ab68293b6

diff --git a/app-admin/logswan/logswan-1.01.ebuild 
b/app-admin/logswan/logswan-1.01.ebuild
new file mode 100644
index 0000000..2e43145
--- /dev/null
+++ b/app-admin/logswan/logswan-1.01.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+CMAKE_MIN_VERSION="2.6"
+inherit cmake-utils
+
+DESCRIPTION="Web log analyzer using probabilistic data structures"
+HOMEPAGE="https://github.com/fcambus/logswan";
+SRC_URI="https://github.com/fcambus/${PN}/archive/${PV}.tar.gz";
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="dev-libs/geoip
+               dev-libs/jansson"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+       # fix GeoIP data files path
+       sed -e 's@/usr/local/share/GeoIP/@/usr/share/GeoIP/@g' -i src/logswan.c 
|| die
+}
+
+pkg_postinst() {
+       elog "To download the GeoIP backend data files, run:"
+       elog "  geoipupdate.sh -f"
+}

Reply via email to