openbsd-ports/www/dansguardian/Makefile
ajacoutot c4096e6659 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:16:56 +00:00

41 lines
955 B
Makefile

# note, this isn't really maintained upstream any more
# see e2guardian.org for a maintained fork
COMMENT = content scanning web filter
DISTNAME = dansguardian-2.12.0.3
REVISION = 5
EXTRACT_SUFX = .tar.bz2
CATEGORIES = www net
HOMEPAGE = http://www.dansguardian.org/
# GPLv2+
PERMIT_PACKAGE = Yes
WANTLIB = c m pcre pcreposix ${COMPILER_LIBCXX} z
COMPILER = base-clang ports-gcc base-gcc
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=dansguardian/}
LIB_DEPENDS = devel/pcre
CONFIGURE_STYLE = gnu
CONFIGURE_ENV = CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS = --with-proxygroup=_dansguardian \
--with-proxyuser=_dansguardian \
--enable-segv-backtrace=no \
--enable-clamd
FLAVORS = debug
FLAVOR ?=
.if ${FLAVOR:Mdebug}
CONFIGURE_ARGS += --with-dgdebug
.endif
FAKE_FLAGS += DGCONFDIR=${PREFIX}/share/examples/dansguardian \
rel_group=_dansguardian rel_user=_dansguardian
.include <bsd.port.mk>