View | Details | Raw Unified | Return to bug 184115
Collapse All | Expand All

(-)./Makefile (-22 / +18 lines)
Lines 1-5 Link Here
1
# Created by: @BABOLO <.@babolo.ru>
1
# Created by: @BABOLO <.@babolo.ru>
2
# $FreeBSD: net-mgmt/flow-tools-ng/Makefile 327757 2013-09-20 22:24:43Z bapt $
2
# $FreeBSD: head/net-mgmt/flow-tools-ng/Makefile 327757 2013-09-20 22:24:43Z bapt $
3
3
4
PORTNAME=	flow-tools
4
PORTNAME=	flow-tools
5
PORTVERSION=	0.68.5.1
5
PORTVERSION=	0.68.5.1
Lines 10-15 Link Here
10
MAINTAINER=	c.kworr@gmail.com
10
MAINTAINER=	c.kworr@gmail.com
11
COMMENT=	Suite of tools and library to work with netflow data
11
COMMENT=	Suite of tools and library to work with netflow data
12
12
13
LICENSE=	BSD
14
15
OPTIONS_DEFINE=	MYSQL OPENSSL PGSQL
16
17
PGSQL_CONFIGURE_ON=	--with-postgresql
18
PGSQL_CONFIGURE_OFF=	--without-postgresql
19
PGSQL_USE=	PGSQL=	yes
20
21
MYSQL_CONFIGURE_ON=	--with-mysql="${PREFIX}"
22
MYSQL_CONFIGURE_OFF=	--without-mysql
23
MYSQL_USE=	MYSQL=	yes
24
25
OPENSSL_CONFIGURE_ON=	--with-openssl="${OPENSSLBASE}"
26
OPENSSL_CONFIGURE_OFF=	--without-openssl
27
OPENSSL_USE=	OPENSSL=	yes
28
13
CONFLICTS=	flow-tools-[0-9]*
29
CONFLICTS=	flow-tools-[0-9]*
14
30
15
USE_PYTHON_RUN=	yes
31
USE_PYTHON_RUN=	yes
Lines 44-71 Link Here
44
FLOW_CAPTURE_GID=	174
60
FLOW_CAPTURE_GID=	174
45
FLOW_CAPTURE_PIDDIR=	${VARDIR}/run/flow-capture
61
FLOW_CAPTURE_PIDDIR=	${VARDIR}/run/flow-capture
46
62
47
.if defined(WITH_PGSQL)
48
CONFIGURE_ARGS+=--with-postgresql
49
USE_PGSQL=	yes
50
.else
51
CONFIGURE_ARGS+=--without-postgresql
52
.endif
53
54
.if defined(WITH_MYSQL)
55
CONFIGURE_ARGS+=--with-mysql="${PREFIX}"
56
USE_MYSQL=	yes
57
.else
58
CONFIGURE_ARGS+=--without-mysql
59
.endif
60
61
.if defined(WITH_OPENSSL)
62
USE_OPENSSL=	Yes
63
CONFIGURE_ARGS+=--with-openssl="${OPENSSLBASE}"
64
.else
65
CONFIGURE_ARGS+=--without-openssl
66
.endif
67
68
NO_STAGE=	yes
63
NO_STAGE=	yes
64
69
post-patch:
65
post-patch:
70
	@${REINPLACE_CMD}\
66
	@${REINPLACE_CMD}\
71
	 -e 's|@sysconfdir@/sym/|${PREFIX}/share/flow-tools/|' \
67
	 -e 's|@sysconfdir@/sym/|${PREFIX}/share/flow-tools/|' \
(-)./files/flow_capture.in (-1 / +1 lines)
Lines 1-6 Link Here
1
#!/bin/sh
1
#!/bin/sh
2
#
2
#
3
# $FreeBSD: net-mgmt/flow-tools-ng/files/flow_capture.in 300897 2012-07-14 14:29:18Z beat $
3
# $FreeBSD: head/net-mgmt/flow-tools-ng/files/flow_capture.in 300897 2012-07-14 14:29:18Z beat $
4
#
4
#
5
5
6
# PROVIDE: flow_capture
6
# PROVIDE: flow_capture
(-)./files/flow_fanout.in (-1 / +1 lines)
Lines 1-6 Link Here
1
#!/bin/sh
1
#!/bin/sh
2
#
2
#
3
# $FreeBSD: net-mgmt/flow-tools-ng/files/flow_fanout.in 300897 2012-07-14 14:29:18Z beat $
3
# $FreeBSD: head/net-mgmt/flow-tools-ng/files/flow_fanout.in 300897 2012-07-14 14:29:18Z beat $
4
#
4
#
5
5
6
# PROVIDE: flow_fanout
6
# PROVIDE: flow_fanout
(-)./files/pkg-deinstall.in (-1 / +1 lines)
Lines 1-6 Link Here
1
#!/bin/sh
1
#!/bin/sh
2
#
2
#
3
# $FreeBSD: net-mgmt/flow-tools-ng/files/pkg-deinstall.in 300897 2012-07-14 14:29:18Z beat $
3
# $FreeBSD: head/net-mgmt/flow-tools-ng/files/pkg-deinstall.in 300897 2012-07-14 14:29:18Z beat $
4
#
4
#
5
5
6
PATH=/bin:/usr/sbin:/usr/bin:/usr/sbin
6
PATH=/bin:/usr/sbin:/usr/bin:/usr/sbin
(-)./files/pkg-install.in (-1 / +1 lines)
Lines 1-6 Link Here
1
#!/bin/sh
1
#!/bin/sh
2
#
2
#
3
# $FreeBSD: net-mgmt/flow-tools-ng/files/pkg-install.in 300897 2012-07-14 14:29:18Z beat $
3
# $FreeBSD: head/net-mgmt/flow-tools-ng/files/pkg-install.in 300897 2012-07-14 14:29:18Z beat $
4
#
4
#
5
5
6
PATH=/bin:/usr/sbin:/usr/bin:/usr/sbin
6
PATH=/bin:/usr/sbin:/usr/bin:/usr/sbin

Return to bug 184115