Date: Sat, 5 Dec 2020 09:37:40 +0000 (UTC) From: Dmitry Marakasov <amdmi3@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r557047 - head/security/snort Message-ID: <202012050937.0B59begh029425@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: amdmi3 Date: Sat Dec 5 09:37:40 2020 New Revision: 557047 URL: https://svnweb.freebsd.org/changeset/ports/557047 Log: - Switch to options helpers - Only install docs when requested - Update WWW Approved by: portmgr blanket Modified: head/security/snort/Makefile head/security/snort/pkg-descr Modified: head/security/snort/Makefile ============================================================================== --- head/security/snort/Makefile Sat Dec 5 09:21:04 2020 (r557046) +++ head/security/snort/Makefile Sat Dec 5 09:37:40 2020 (r557047) @@ -81,8 +81,6 @@ APPID_LIB_DEPENDS= libluajit-5.1.so:lang/luajit APPID_CONFIGURE_ENV+= luajit_CFLAGS="-I${LOCALBASE}/include/luajit-2.0" \ luajit_LIBS="-L${LOCALBASE}/lib -lluajit-5.1" -.include <bsd.port.options.mk> - CONFIG_FILES= classification.config gen-msg.map reference.config \ snort.conf threshold.conf unicode.map file_magic.conf @@ -104,19 +102,18 @@ post-patch: -e '/^# include .PREPROC_RULE/s/# include/include/' \ ${WRKSRC}/etc/snort.conf +post-patch-IPV6-off: # IPv6 is no longer a ./configure option! -.if ! ${PORT_OPTIONS:MIPV6} @${REINPLACE_CMD} -e '/normalize_ip6/s/^preprocessor/#preprocessor/' \ -e '/normalize_icmp6/s/^preprocessor/#preprocessor/' \ ${WRKSRC}/etc/snort.conf -.endif post-build: @${FIND} ${WRKSRC}/src -name '*.0' -type f -exec ${STRIP_CMD} {} \; post-install: @${MKDIR} ${STAGEDIR}${ETCDIR} ${STAGEDIR}${RULES_DIR} ${STAGEDIR}${LOGS_DIR} \ - ${STAGEDIR}${PREPROC_RULE_DIR} ${STAGEDIR}${DOCSDIR} + ${STAGEDIR}${PREPROC_RULE_DIR} .for f in ${CONFIG_FILES} ${INSTALL_DATA} ${WRKSRC}/etc/${f} ${STAGEDIR}${ETCDIR}/${f}-sample @@ -125,6 +122,9 @@ post-install: .for f in ${PREPROC_RULES} ${INSTALL_DATA} ${WRKSRC}/preproc_rules/${f} ${STAGEDIR}${PREPROC_RULE_DIR}/${f}-sample .endfor + +post-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${PREPROC_RULE_DIR} ${STAGEDIR}${DOCSDIR} (cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR}) .include <bsd.port.mk> Modified: head/security/snort/pkg-descr ============================================================================== --- head/security/snort/pkg-descr Sat Dec 5 09:21:04 2020 (r557046) +++ head/security/snort/pkg-descr Sat Dec 5 09:37:40 2020 (r557047) @@ -18,4 +18,4 @@ Stuff(TM) about your packets (as I see it anyway). Th to modify to provide more complete packet decoding, so feel free to make suggestions. -WWW: http://www.snort.org/ +WWW: https://www.snort.org/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202012050937.0B59begh029425>