1 |
jer 12/12/26 03:30:02 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: flow-tools-0.68.5.1-r2.ebuild |
5 |
Log: |
6 |
Remove keepdir /var/run/* (bug #332633). |
7 |
|
8 |
(Portage version: 2.2.0_alpha149/cvs/Linux x86_64, signed Manifest commit with key A792A613) |
9 |
|
10 |
Revision Changes Path |
11 |
1.61 net-analyzer/flow-tools/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/flow-tools/ChangeLog?rev=1.61&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/flow-tools/ChangeLog?rev=1.61&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/flow-tools/ChangeLog?r1=1.60&r2=1.61 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/net-analyzer/flow-tools/ChangeLog,v |
20 |
retrieving revision 1.60 |
21 |
retrieving revision 1.61 |
22 |
diff -u -r1.60 -r1.61 |
23 |
--- ChangeLog 21 Nov 2012 04:08:34 -0000 1.60 |
24 |
+++ ChangeLog 26 Dec 2012 03:30:02 -0000 1.61 |
25 |
@@ -1,6 +1,12 @@ |
26 |
# ChangeLog for net-analyzer/flow-tools |
27 |
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/flow-tools/ChangeLog,v 1.60 2012/11/21 04:08:34 jer Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/flow-tools/ChangeLog,v 1.61 2012/12/26 03:30:02 jer Exp $ |
30 |
+ |
31 |
+*flow-tools-0.68.5.1-r2 (26 Dec 2012) |
32 |
+ |
33 |
+ 26 Dec 2012; Jeroen Roovers <jer@g.o> +flow-tools-0.68.5.1-r2.ebuild, |
34 |
+ files/flowcapture.confd: |
35 |
+ Remove keepdir /var/run/* (bug #332633). |
36 |
|
37 |
21 Nov 2012; Jeroen Roovers <jer@g.o> flow-tools-0.68.5.1-r1.ebuild, |
38 |
files/flowcapture.confd: |
39 |
|
40 |
|
41 |
|
42 |
1.1 net-analyzer/flow-tools/flow-tools-0.68.5.1-r2.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/flow-tools/flow-tools-0.68.5.1-r2.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/flow-tools/flow-tools-0.68.5.1-r2.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: flow-tools-0.68.5.1-r2.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2012 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Header: /var/cvsroot/gentoo-x86/net-analyzer/flow-tools/flow-tools-0.68.5.1-r2.ebuild,v 1.1 2012/12/26 03:30:02 jer Exp $ |
52 |
|
53 |
EAPI=4 |
54 |
inherit user |
55 |
|
56 |
DESCRIPTION="library and programs to collect, send, process, and generate reports from NetFlow data" |
57 |
HOMEPAGE="http://code.google.com/p/flow-tools/" |
58 |
SRC_URI="http://${PN}.googlecode.com/files/${P}.tar.bz2" |
59 |
|
60 |
LICENSE="BSD GPL-2" |
61 |
SLOT="0" |
62 |
KEYWORDS="~amd64 ~ppc ~x86" |
63 |
IUSE="debug mysql postgres ssl static-libs" |
64 |
|
65 |
RDEPEND="sys-apps/tcp-wrappers |
66 |
sys-libs/zlib |
67 |
mysql? ( virtual/mysql ) |
68 |
postgres? ( dev-db/postgresql-base ) |
69 |
ssl? ( dev-libs/openssl )" |
70 |
|
71 |
DEPEND="${RDEPEND} |
72 |
sys-devel/flex |
73 |
sys-devel/bison" |
74 |
|
75 |
DOCS=( ChangeLog README SECURITY TODO ) |
76 |
|
77 |
pkg_setup() { |
78 |
enewgroup flows |
79 |
enewuser flows -1 -1 /var/lib/flows flows |
80 |
} |
81 |
|
82 |
src_configure() { |
83 |
local myconf="--sysconfdir=/etc/flow-tools" |
84 |
use mysql && myconf="${myconf} --with-mysql" |
85 |
if use postgres; then |
86 |
myconf="${myconf} --with-postgresql=yes" |
87 |
else |
88 |
myconf="${myconf} --with-postgresql=no" |
89 |
fi |
90 |
use ssl && myconf="${myconf} --with-openssl" |
91 |
econf ${myconf} $(use_enable static-libs static) |
92 |
} |
93 |
|
94 |
src_install() { |
95 |
default |
96 |
|
97 |
keepdir /var/lib/flows |
98 |
keepdir /var/lib/flows/bin |
99 |
exeinto /var/lib/flows/bin |
100 |
doexe "${FILESDIR}"/linkme |
101 |
|
102 |
newinitd "${FILESDIR}/flowcapture.initd" flowcapture |
103 |
newconfd "${FILESDIR}/flowcapture.confd" flowcapture |
104 |
|
105 |
if ! use static-libs; then |
106 |
rm -f "${D}"/usr/lib*/libft.la || die |
107 |
fi |
108 |
} |
109 |
|
110 |
pkg_postinst() { |
111 |
chown flows:flows /var/run/flows |
112 |
chown flows:flows /var/lib/flows |
113 |
chown flows:flows /var/lib/flows/bin |
114 |
chmod 0755 /var/run/flows |
115 |
chmod 0755 /var/lib/flows |
116 |
chmod 0755 /var/lib/flows/bin |
117 |
} |