switch to dynamic linking. upstream prefers static (possibly in the hope
that an attacker who replaces a library with a trojaned one doesn't notice that aide is installed) but, as far as this port goes, nobody has bumped it when dependencies have had security fixes, so we're better off with dynamic.
This commit is contained in:
parent
0cc9001d62
commit
23bcde2034
@ -1,8 +1,9 @@
|
||||
# $OpenBSD: Makefile,v 1.25 2019/03/17 23:59:28 sthen Exp $
|
||||
# $OpenBSD: Makefile,v 1.26 2019/03/18 00:03:10 sthen Exp $
|
||||
|
||||
COMMENT= Advanced Intrusion Detection Environment
|
||||
|
||||
V= 0.16.1
|
||||
REVISION= 0
|
||||
DISTNAME= aide-${V}
|
||||
CATEGORIES= security
|
||||
|
||||
@ -11,16 +12,19 @@ HOMEPAGE= https://github.com/aide/aide
|
||||
# GPLv2
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
|
||||
WANTLIB += c m mhash pcre z
|
||||
|
||||
MASTER_SITES= https://github.com/aide/aide/releases/download/v${V}/
|
||||
|
||||
BUILD_DEPENDS= devel/bison \
|
||||
devel/pcre \
|
||||
BUILD_DEPENDS= devel/bison
|
||||
LIB_DEPENDS= devel/pcre \
|
||||
security/mhash
|
||||
|
||||
USE_GMAKE= Yes
|
||||
|
||||
CONFIGURE_STYLE= gnu
|
||||
CONFIGURE_ARGS+= --with-mhash
|
||||
CONFIGURE_ARGS+= --disable-static \
|
||||
--with-mhash
|
||||
CONFIGURE_ENV+= YACC="bison -y" \
|
||||
CPPFLAGS="-I${LOCALBASE}/include" \
|
||||
LDFLAGS="-L${LOCALBASE}/lib"
|
||||
|
Loading…
Reference in New Issue
Block a user