diff --git a/net-mgmt/argus3/Makefile b/net-mgmt/argus3/Makefile index 018a87363466..e4460452c1bc 100644 --- a/net-mgmt/argus3/Makefile +++ b/net-mgmt/argus3/Makefile @@ -1,56 +1,56 @@ PORTNAME= argus PORTVERSION= 3.0.8.2 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= net-mgmt security MASTER_SITES= http://qosient.com/argus/src/ \ ftp://qosient.com/pub/argus/src/ MAINTAINER= bofh@FreeBSD.org COMMENT= Generic IP network transaction auditing tool WWW= https://www.qosient.com/argus/ LICENSE= GPLv3 CONFLICTS= argus-2* argus-sasl-2* argus-clients-2* OPTIONS_DEFINE= SASL EXAMPLES OPTIONS_DEFAULT=SASL SASL_LIB_DEPENDS= libsasl2.so:security/cyrus-sasl2 SASL_CONFIGURE_ON= --with-sasl=${LOCALBASE} SASL_VARS= PKGNAMESUFFIX+=-sasl USE_RC_SUBR= argus USES= bison perl5 GNU_CONFIGURE= yes # Fix build with clang11 CFLAGS+= -fcommon post-patch: @${REINPLACE_CMD} -e 's#/usr/lib/sasl2#${LOCALBASE}/lib/sasl2#' ${WRKSRC}/argus/ArgusOutput.c pre-install: @${REINPLACE_CMD} -e 's#/usr/bin/perl#${LOCALBASE}/bin/perl#' ${WRKSRC}/bin/argus-lsof @${REINPLACE_CMD} -e 's#/bin/bash#${LOCALBASE}/bin/bash#' ${WRKSRC}/bin/argus-vmstat do-install: ${INSTALL_PROGRAM} ${WRKSRC}/bin/argus ${STAGEDIR}${PREFIX}/sbin/argus .for i in argus-lsof argus-snmp argus-vmstat argusbug ${INSTALL_SCRIPT} ${WRKSRC}/bin/$i ${STAGEDIR}${PREFIX}/bin/$i .endfor - ${INSTALL_MAN} ${WRKSRC}/man/man5/argus.conf.5 ${STAGEDIR}${PREFIX}/man/man5/ - ${INSTALL_MAN} ${WRKSRC}/man/man8/argus.8 ${STAGEDIR}${PREFIX}/man/man8/ + ${INSTALL_MAN} ${WRKSRC}/man/man5/argus.conf.5 ${STAGEDIR}${PREFIX}/share/man/man5/ + ${INSTALL_MAN} ${WRKSRC}/man/man8/argus.8 ${STAGEDIR}${PREFIX}/share/man/man8/ @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/Archive ${STAGEDIR}${EXAMPLESDIR}/Config \ ${STAGEDIR}${EXAMPLESDIR}/Deployment ${STAGEDIR}${EXAMPLESDIR}/Startup \ ${STAGEDIR}${EXAMPLESDIR}/System .for i in Archive/argusarchive \ Config/argus.conf \ Deployment/sample \ Startup/argus Startup/README \ System/crontab System/magic ${INSTALL_DATA} ${WRKSRC}/support/$i ${STAGEDIR}${EXAMPLESDIR}/$i .endfor ${CP} ${WRKSRC}/support/Config/argus.conf ${STAGEDIR}${PREFIX}/etc/argus.conf.sample .include diff --git a/net-mgmt/argus3/pkg-plist b/net-mgmt/argus3/pkg-plist index 82f3fd64e5b3..b353fb5ac61c 100644 --- a/net-mgmt/argus3/pkg-plist +++ b/net-mgmt/argus3/pkg-plist @@ -1,15 +1,15 @@ @sample etc/argus.conf.sample bin/argus-lsof bin/argus-snmp bin/argus-vmstat bin/argusbug sbin/argus -man/man5/argus.conf.5.gz -man/man8/argus.8.gz +share/man/man5/argus.conf.5.gz +share/man/man8/argus.8.gz %%PORTEXAMPLES%%%%EXAMPLESDIR%%/Archive/argusarchive %%PORTEXAMPLES%%%%EXAMPLESDIR%%/Config/argus.conf %%PORTEXAMPLES%%%%EXAMPLESDIR%%/Deployment/sample %%PORTEXAMPLES%%%%EXAMPLESDIR%%/Startup/argus %%PORTEXAMPLES%%%%EXAMPLESDIR%%/Startup/README %%PORTEXAMPLES%%%%EXAMPLESDIR%%/System/crontab %%PORTEXAMPLES%%%%EXAMPLESDIR%%/System/magic