security/snuffleupagus: update to 0.5.1, build fix

From ChangeLog: https://github.com/jvoisin/snuffleupagus/releases/tag/v0.5.1

 * Add support for syslog
 * Improve OSX support
 * Improve marginally of php8+ compatibility
 * Improve php7.4 compatibility
 * Improve the default ruleset
 * Improve the documentation
 * Improve the gitlab CI

Includes build fix for -fno-common issue.

Pet linters.

PR:	248974
Submitted by:	franco@opnsense.org (maintainer)
MFH:	2020Q3 (build fix, -fno-common)
This commit is contained in:
Fernando Apesteguía 2020-09-02 08:39:21 +00:00
parent e0388590ad
commit 1c4f09110a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=547345
2 changed files with 14 additions and 12 deletions

View File

@ -1,8 +1,8 @@
# $FreeBSD$
PORTNAME= snuffleupagus
DISTVERSIONPREFIX=v
DISTVERSION= 0.5.0
DISTVERSIONPREFIX= v
DISTVERSION= 0.5.1
CATEGORIES= security
PKGNAMEPREFIX= ${PHP_PKGNAMEPREFIX}
@ -14,16 +14,18 @@ LICENSE_FILE= ${WRKSRC}/../LICENSE
LIB_DEPENDS= libpcre.so:devel/pcre
TEST_TARGET= test
WRKSRC_SUBDIR= src
USES= localbase:ldflags php:ext
USE_PHP= hash:build session:build
USE_GITHUB= yes
GH_ACCOUNT= nbs-system
GH_ACCOUNT= jvoisin
USE_PHP= hash:build session:build
CONFIGURE_ARGS= --enable-snuffleupagus
TEST_TARGET= test
# Fix build with clang11
CFLAGS+= -fcommon
WRKSRC_SUBDIR= src
.include <bsd.port.mk>

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1560854409
SHA256 (nbs-system-snuffleupagus-v0.5.0_GH0.tar.gz) = b70359b1ea2be289d63bed82715fa55ecce885ff28376de29b87dca7a75f6a30
SIZE (nbs-system-snuffleupagus-v0.5.0_GH0.tar.gz) = 11944713
TIMESTAMP = 1595702486
SHA256 (jvoisin-snuffleupagus-v0.5.1_GH0.tar.gz) = 74692994886dc798e364dc0ff36223bbe41fe1b1a2af0228a2a5302638fcf32f
SIZE (jvoisin-snuffleupagus-v0.5.1_GH0.tar.gz) = 11945453