openbsd-ports/net/argus/Makefile
ajacoutot f50fdd748e Stop using the daemon class in @newuser.
If we need to make an exception we can do it and properly document the
reason but by default we should just use the default login class.
rc.d uses daemon or the login class provided in login.conf.d so this has
no impact there.

discussed with sthen@, tb@ and robert@

praying that my grep/sed skills did not break anything and still
believing in portbump :-)
2022-11-08 11:14:43 +00:00

37 lines
921 B
Makefile

COMMENT = Audit Record Generation and Utilization System
DISTNAME = argus-3.0.8.2
REVISION = 3
CATEGORIES = net
HOMEPAGE = http://qosient.com/argus/
MASTER_SITES = http://qosient.com/argus/src/
MAINTAINER = Steven Mestdagh <steven@openbsd.org>
# GPLv2
PERMIT_PACKAGE = Yes
WANTLIB = c m pcap z
NO_TEST = Yes
CONFIGURE_STYLE = gnu
MODGNU_CONFIG_GUESS_DIRS = ${WRKSRC}/config
BUILD_DEPENDS = devel/bison
MAKE_FLAGS = CCOPT="${CFLAGS}"
INSTALL_TARGET = install
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/argus/
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/argus/
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/argus/events
find ${WRKSRC}/support -type f -name '*.orig' -delete
cd ${WRKSRC}/support && tar cf - . | \
tar -C ${PREFIX}/share/examples/argus/ -xf -
cd ${PREFIX}/bin && mv argus-snmp argus-lsof argus-vmstat \
${PREFIX}/share/examples/argus/events
.include <bsd.port.mk>