Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 674032 | Differences between
and this patch

Collapse All | Expand All

(-)flow-tools-0.68.5.1-r9.ebuild (-10 / +14 lines)
Lines 2-8 Link Here
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
3
4
EAPI=5
4
EAPI=5
5
inherit eutils user
5
inherit eutils user ltprune
6
6
7
DESCRIPTION="library and programs to process reports from NetFlow data"
7
DESCRIPTION="library and programs to process reports from NetFlow data"
8
HOMEPAGE="https://code.google.com/p/flow-tools/"
8
HOMEPAGE="https://code.google.com/p/flow-tools/"
Lines 10-16 Link Here
10
10
11
LICENSE="BSD GPL-2"
11
LICENSE="BSD GPL-2"
12
SLOT="0"
12
SLOT="0"
13
KEYWORDS="amd64 ppc x86"
13
KEYWORDS="~amd64 ~ppc ~x86"
14
IUSE="debug libressl mysql postgres ssl static-libs"
14
IUSE="debug libressl mysql postgres ssl static-libs"
15
15
16
RDEPEND="sys-apps/tcp-wrappers
16
RDEPEND="sys-apps/tcp-wrappers
Lines 28-41 Link Here
28
28
29
DOCS=( ChangeLog README SECURITY TODO )
29
DOCS=( ChangeLog README SECURITY TODO )
30
30
31
pkg_setup() {
31
PATCHES=(
32
	enewgroup flows
32
	"${FILESDIR}"/${P}-run.patch
33
	enewuser flows -1 -1 /var/lib/flows flows
33
	"${FILESDIR}"/${P}-syslog.patch
34
}
34
	"${FILESDIR}"/${P}-openssl11.patch
35
)
35
36
36
src_prepare() {
37
pkg_setup() {
37
	epatch "${FILESDIR}"/${P}-run.patch
38
	pkg_douser
38
	epatch "${FILESDIR}"/${P}-syslog.patch
39
}
39
}
40
40
41
src_configure() {
41
src_configure() {
Lines 50-56 Link Here
50
src_install() {
50
src_install() {
51
	default
51
	default
52
52
53
	prune_libtool_files
53
	find "${D}" -name '*.la' -delete || die
54
54
55
	exeinto /var/lib/flows/bin
55
	exeinto /var/lib/flows/bin
56
	doexe "${FILESDIR}"/linkme
56
	doexe "${FILESDIR}"/linkme
Lines 69-74 Link Here
69
}
69
}
70
70
71
pkg_preinst() {
71
pkg_preinst() {
72
	pkg_douser
73
}
74
75
pkg_douser() {
72
	enewgroup flows
76
	enewgroup flows
73
	enewuser flows -1 -1 /var/lib/flows flows
77
	enewuser flows -1 -1 /var/lib/flows flows
74
}
78
}

Return to bug 674032