1 |
commit: f3ca4afb08ee300c6d4202717844f82533db9ed3 |
2 |
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jan 27 20:20:37 2020 +0000 |
4 |
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jan 27 20:21:08 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f3ca4afb |
7 |
|
8 |
net-analyzer/sarg: Version 2.4.0 |
9 |
|
10 |
Package-Manager: Portage-2.3.85, Repoman-2.3.20 |
11 |
Bug: https://bugs.gentoo.org/706748 |
12 |
Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org> |
13 |
|
14 |
net-analyzer/sarg/Manifest | 1 + |
15 |
net-analyzer/sarg/sarg-2.4.0.ebuild | 60 +++++++++++++++++++++++++++++++++++++ |
16 |
2 files changed, 61 insertions(+) |
17 |
|
18 |
diff --git a/net-analyzer/sarg/Manifest b/net-analyzer/sarg/Manifest |
19 |
index 50e335d06b7..6fde8f0b34e 100644 |
20 |
--- a/net-analyzer/sarg/Manifest |
21 |
+++ b/net-analyzer/sarg/Manifest |
22 |
@@ -1,2 +1,3 @@ |
23 |
DIST sarg-2.3.11.tar.gz 1346884 BLAKE2B f1ba5e5d3531b611cca1e18444b24772d5f6fb31622d3702ce34bf7e5208b7ff04000ed80c984ff103f785dd9b7015f56403b8389100bbd02cdbf936c8343be9 SHA512 a5bf5c0f696a9d58d9dd1d631d2b458e7a48f597e7a084b032b2feb6185440b08babe7ffaaefc04676f0dbc11301084d1896b6246a7e79a10acdbd7aa7882ff6 |
24 |
DIST sarg-2.4.0-pre3.tar.gz 1364547 BLAKE2B 94729294de60ded125abd346d38833c64b3f0b320b0e07fc8153e287ce84b09ff83259fe2189afa087a46e6617d47628c162e3bda209563e3f7618d71ffd0cd5 SHA512 136313e36a8107f1ba84f7653aa3a0972beea05b89d77d8bd02a564c62881696f87bd2ed6cd0069624fe2ed013042cd604932220c8476d62702d27e68e8fd655 |
25 |
+DIST sarg-2.4.0.tar.gz 1371812 BLAKE2B 4a07e97f5bdf36dc9ea867517f511dff4e2b501c01231c523778b283000bcf8e6eeb26e219c3d710551ad31f939a47453341b6a8a5575df1d8f3957461326675 SHA512 cb314c15379b01c1ad874e473fcc41664ed5a0dd492b8537d5f375e2c00d9e083679a01da5e3506775b7d66f2d43ba698864ffbd36f5e5e512ef58882148739b |
26 |
|
27 |
diff --git a/net-analyzer/sarg/sarg-2.4.0.ebuild b/net-analyzer/sarg/sarg-2.4.0.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..6fbc48405af |
30 |
--- /dev/null |
31 |
+++ b/net-analyzer/sarg/sarg-2.4.0.ebuild |
32 |
@@ -0,0 +1,60 @@ |
33 |
+# Copyright 1999-2020 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=7 |
37 |
+inherit autotools flag-o-matic |
38 |
+ |
39 |
+DESCRIPTION="Squid Analysis Report Generator" |
40 |
+HOMEPAGE="https://sourceforge.net/projects/sarg/" |
41 |
+SRC_URI="mirror://sourceforge/${PN}/${P/_/-}.tar.gz" |
42 |
+ |
43 |
+LICENSE="GPL-2" |
44 |
+KEYWORDS="~amd64 ~ppc ~x86" |
45 |
+SLOT="0" |
46 |
+IUSE="bzip2 doublecheck +gd +glob ldap lzma pcre zlib" |
47 |
+ |
48 |
+RDEPEND=" |
49 |
+ bzip2? ( app-arch/bzip2 ) |
50 |
+ gd? ( media-libs/gd[png,truetype] ) |
51 |
+ ldap? ( net-nds/openldap ) |
52 |
+ lzma? ( app-arch/xz-utils ) |
53 |
+ pcre? ( dev-libs/libpcre ) |
54 |
+ zlib? ( sys-libs/zlib ) |
55 |
+" |
56 |
+DEPEND=" |
57 |
+ ${RDEPEND} |
58 |
+" |
59 |
+DOCS=( BETA-TESTERS CONTRIBUTORS DONATIONS README ChangeLog htaccess ) |
60 |
+PATCHES=( |
61 |
+ "${FILESDIR}"/${PN}-2.4.0-config.patch |
62 |
+ "${FILESDIR}"/${PN}-2.4.0-configure.patch |
63 |
+ "${FILESDIR}"/${PN}-2.4.0-fabs.patch |
64 |
+ "${FILESDIR}"/${PN}-2.4.0-format.patch |
65 |
+) |
66 |
+S=${WORKDIR}/${P/_/-} |
67 |
+ |
68 |
+src_prepare() { |
69 |
+ default |
70 |
+ |
71 |
+ eautoreconf |
72 |
+} |
73 |
+ |
74 |
+src_configure() { |
75 |
+ append-cflags -fcommon |
76 |
+ econf \ |
77 |
+ $(use_enable doublecheck) \ |
78 |
+ $(use_with bzip2 bzlib) \ |
79 |
+ $(use_with gd) \ |
80 |
+ $(use_with glob) \ |
81 |
+ $(use_with ldap) \ |
82 |
+ $(use_with lzma liblzma) \ |
83 |
+ $(use_with pcre) \ |
84 |
+ $(use_with zlib) \ |
85 |
+ --sysconfdir="${EPREFIX}/etc/sarg/" |
86 |
+} |
87 |
+ |
88 |
+src_install() { |
89 |
+ default |
90 |
+ |
91 |
+ dodoc documentation/* |
92 |
+} |