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/|' \ |