svn commit: r542834 - head/net-mgmt/flow-tools
Muhammad Moinur Rahman
bofh at FreeBSD.org
Wed Jul 22 06:09:53 UTC 2020
Author: bofh
Date: Wed Jul 22 06:09:52 2020
New Revision: 542834
URL: https://svnweb.freebsd.org/changeset/ports/542834
Log:
net-mgmt/flow-tools: Fix run with python3
- Pet portlint
PR: 247437
Submitted by: andrew.hotlab at hotmail.com
Modified:
head/net-mgmt/flow-tools/Makefile
Modified: head/net-mgmt/flow-tools/Makefile
==============================================================================
--- head/net-mgmt/flow-tools/Makefile Wed Jul 22 05:47:21 2020 (r542833)
+++ head/net-mgmt/flow-tools/Makefile Wed Jul 22 06:09:52 2020 (r542834)
@@ -4,7 +4,7 @@
PORTNAME= flow-tools
PORTVERSION= 0.68.6
DISTVERSIONPREFIX= v
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= net-mgmt
MAINTAINER= bofh at FreeBSD.org
@@ -15,32 +15,37 @@ LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= docbook-to-man:textproc/docbook-to-man
-USES= autoreconf libtool:keepla python:run shebangfix
+USES= autoreconf libtool:keepla python:2.7 shebangfix
+USE_GITHUB= yes
+USE_LDCONFIG= yes
+USE_RC_SUBR= flow_capture flow_fanout
-OPTIONS_DEFINE= MYSQL OPENSSL PGSQL
-PGSQL_CONFIGURE_ON= --with-postgresql
-PGSQL_USES= pgsql
-MYSQL_CONFIGURE_ON= --with-mysql="${LOCALBASE}"
-MYSQL_USES= mysql
-OPENSSL_CONFIGURE_ON= --with-openssl="${OPENSSLBASE}"
-OPENSSL_USES= ssl
+GH_ACCOUNT= 5u623l20
+GH_TAGNAME= 6e7c849
SHEBANG_FILES= bin/flow-*
GNU_CONFIGURE= yes
-USE_LDCONFIG= yes
-USE_GITHUB= yes
-GH_ACCOUNT= 5u623l20
-GH_TAGNAME= 6e7c849
-SUB_LIST= FLOW_CAPTURE_SPOOL="${FLOW_CAPTURE_SPOOL}" \
- FLOW_CAPTURE_PIDDIR="${FLOW_CAPTURE_PIDDIR}"
-USE_RC_SUBR= flow_capture flow_fanout
+SUB_LIST= FLOW_CAPTURE_PIDDIR="${FLOW_CAPTURE_PIDDIR}" \
+ FLOW_CAPTURE_SPOOL="${FLOW_CAPTURE_SPOOL}"
+USERS= flowtools
+GROUPS= flowtools
+
VARDIR?= /var
FLOW_CAPTURE_SPOOL= ${VARDIR}/db/flows
FLOW_CAPTURE_PIDDIR= ${VARDIR}/run/flow-capture
-USERS= flowtools
-GROUPS= flowtools
+OPTIONS_DEFINE= MYSQL OPENSSL PGSQL
+
+MYSQL_USES= mysql
+MYSQL_CONFIGURE_ON= --with-mysql="${LOCALBASE}"
+OPENSSL_USES= ssl
+OPENSSL_CONFIGURE_ON= --with-openssl="${OPENSSLBASE}"
+PGSQL_USES= pgsql
+PGSQL_CONFIGURE_ON= --with-postgresql
+
+post-install:
+ ${STRIP_CMD} ${STAGEDIR}/${PREFIX}/lib/libft.so.0.0.0
.include <bsd.port.mk>
More information about the svn-ports-head
mailing list