Gentoo Archives: gentoo-commits

From: Alexys Jacob <ultrabug@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] dev/ultrabug:master commit in: app-admin/logswan/
Date: Wed, 07 Oct 2015 09:27:47
Message-Id: 1444210046.35560daadf540b3ffc0415d851fafabab7726041.ultrabug@gentoo
1 commit: 35560daadf540b3ffc0415d851fafabab7726041
2 Author: Ultrabug <ultrabug <AT> gentoo <DOT> org>
3 AuthorDate: Wed Oct 7 09:27:26 2015 +0000
4 Commit: Alexys Jacob <ultrabug <AT> gentoo <DOT> org>
5 CommitDate: Wed Oct 7 09:27:26 2015 +0000
6 URL: https://gitweb.gentoo.org/dev/ultrabug.git/commit/?id=35560daa
7
8 app-admin/logswan: new ebuild
9
10 app-admin/logswan/Manifest | 2 ++
11 app-admin/logswan/logswan-1.01.ebuild | 31 +++++++++++++++++++++++++++++++
12 2 files changed, 33 insertions(+)
13
14 diff --git a/app-admin/logswan/Manifest b/app-admin/logswan/Manifest
15 new file mode 100644
16 index 0000000..af2a9cf
17 --- /dev/null
18 +++ b/app-admin/logswan/Manifest
19 @@ -0,0 +1,2 @@
20 +DIST 1.01.tar.gz 14790 SHA256 05e4fa2d11e091bd7c389dae8372383699777095daaeae628021e3192e94296e SHA512 cfdfc67cebc8a32fbe260e20867af4363e734c6890b3a5f0e4b9bba43d8caa10722171014dc6f2f2de17f4c4b03fb9eaadc935e1143b95afcbfeb9b83ccd1d80 WHIRLPOOL 26c877da34333557890c6e453a8f5a04ea3ea89e4a5403da706ca53c09f17b616e7342754eaeca70512bf69b6f6c08ef704913a2abecb0125439f490afd7f2b9
21 +EBUILD logswan-1.01.ebuild 695 SHA256 f9009d81b342f52d805ce5dea91283dfd1e9cbd955b53809f88cb6c329ee33ea SHA512 025decf2bbca7f7f3803340d576c041c21c4861e38e260e4d31fb50fac80decda480826195227bb7a028c9c874f51e78bba36024f0e6ce6022c8a8a880562f7a WHIRLPOOL 5ce69b0cb90000305563291dc7218e66931ed7e5d0b7f64c1870ddc6b335e36de9852a65211d586dacb76434aa00309bd5908fbe512f4a79e134639ab68293b6
22
23 diff --git a/app-admin/logswan/logswan-1.01.ebuild b/app-admin/logswan/logswan-1.01.ebuild
24 new file mode 100644
25 index 0000000..2e43145
26 --- /dev/null
27 +++ b/app-admin/logswan/logswan-1.01.ebuild
28 @@ -0,0 +1,31 @@
29 +# Copyright 1999-2015 Gentoo Foundation
30 +# Distributed under the terms of the GNU General Public License v2
31 +# $Id$
32 +
33 +EAPI=5
34 +
35 +CMAKE_MIN_VERSION="2.6"
36 +inherit cmake-utils
37 +
38 +DESCRIPTION="Web log analyzer using probabilistic data structures"
39 +HOMEPAGE="https://github.com/fcambus/logswan"
40 +SRC_URI="https://github.com/fcambus/${PN}/archive/${PV}.tar.gz"
41 +
42 +LICENSE="BSD"
43 +SLOT="0"
44 +KEYWORDS="~amd64 ~x86"
45 +IUSE=""
46 +
47 +DEPEND="dev-libs/geoip
48 + dev-libs/jansson"
49 +RDEPEND="${DEPEND}"
50 +
51 +src_prepare() {
52 + # fix GeoIP data files path
53 + sed -e 's@/usr/local/share/GeoIP/@/usr/share/GeoIP/@g' -i src/logswan.c || die
54 +}
55 +
56 +pkg_postinst() {
57 + elog "To download the GeoIP backend data files, run:"
58 + elog " geoipupdate.sh -f"
59 +}