2020-03-20 16:44:21 +00:00
|
|
|
# $OpenBSD: Makefile,v 1.25 2020/03/20 16:44:25 naddy Exp $
|
2008-06-30 05:19:33 +00:00
|
|
|
|
2010-11-11 08:40:27 +00:00
|
|
|
COMMENT = Audit Record Generation and Utilization System
|
2008-06-30 05:19:33 +00:00
|
|
|
|
2016-08-12 21:38:52 +00:00
|
|
|
DISTNAME = argus-3.0.8.2
|
2018-01-11 19:27:01 +00:00
|
|
|
REVISION = 1
|
2010-11-11 08:40:27 +00:00
|
|
|
CATEGORIES = net
|
2008-06-30 05:19:33 +00:00
|
|
|
|
2010-11-11 08:40:27 +00:00
|
|
|
HOMEPAGE = http://qosient.com/argus/
|
|
|
|
MASTER_SITES = http://qosient.com/argus/src/
|
2008-06-30 05:19:33 +00:00
|
|
|
|
2010-11-11 08:40:27 +00:00
|
|
|
MAINTAINER = Steven Mestdagh <steven@openbsd.org>
|
2008-06-30 05:19:33 +00:00
|
|
|
|
|
|
|
# GPLv2
|
2019-07-12 20:46:54 +00:00
|
|
|
PERMIT_PACKAGE = Yes
|
2008-06-30 05:19:33 +00:00
|
|
|
|
2012-07-08 19:20:58 +00:00
|
|
|
WANTLIB = c m pcap z
|
2008-06-30 05:19:33 +00:00
|
|
|
|
2013-03-11 11:35:43 +00:00
|
|
|
NO_TEST = Yes
|
2008-06-30 05:19:33 +00:00
|
|
|
|
2010-11-11 08:40:27 +00:00
|
|
|
CONFIGURE_STYLE = gnu
|
|
|
|
MODGNU_CONFIG_GUESS_DIRS = ${WRKSRC}/config
|
2010-11-19 22:31:32 +00:00
|
|
|
BUILD_DEPENDS = devel/bison
|
2008-06-30 05:19:33 +00:00
|
|
|
|
2012-07-08 19:20:58 +00:00
|
|
|
MAKE_FLAGS = CCOPT="${CFLAGS}"
|
2010-11-11 08:40:27 +00:00
|
|
|
INSTALL_TARGET = install
|
2008-06-30 05:19:33 +00:00
|
|
|
|
|
|
|
post-install:
|
2010-04-15 19:15:19 +00:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/argus/
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/argus/
|
2012-07-08 19:20:58 +00:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/argus/events
|
2020-03-20 16:44:21 +00:00
|
|
|
find ${WRKSRC}/support -type f -name '*.orig' -delete
|
2008-06-30 05:19:33 +00:00
|
|
|
cd ${WRKSRC}/support && tar cf - . | \
|
|
|
|
tar -C ${PREFIX}/share/examples/argus/ -xf -
|
2012-07-08 19:20:58 +00:00
|
|
|
cd ${PREFIX}/bin && mv argus-snmp argus-lsof argus-vmstat \
|
|
|
|
${PREFIX}/share/examples/argus/events
|
2008-06-30 05:19:33 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|