openbsd-ports/net/ngrep/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

34 lines
674 B
Makefile

COMMENT= network grep
GH_ACCOUNT= jpr5
GH_PROJECT= ngrep
GH_COMMIT= 2a9603bc67dface9606a658da45e1f5c65170444
DISTNAME= ngrep-1.47.20190128
REVISION= 0
CATEGORIES= net
# custom BSD-like
PERMIT_PACKAGE= Yes
WANTLIB= c pcap pcre
LIB_DEPENDS= devel/pcre
NO_TEST= Yes
USE_GMAKE= Yes
AUTOCONF_VERSION= 2.69
CONFIGURE_STYLE= autoconf no-autoheader
CONFIGURE_ARGS+= --enable-ipv6 \
--enable-pcre \
--with-dropprivs-user=_ngrep
CONFIGURE_ENV= CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
LDFLAGS=-L${LOCALBASE}/lib
do-install:
cd ${WRKSRC}; \
${INSTALL_PROGRAM} ngrep ${PREFIX}/sbin/ngrep; \
${INSTALL_MAN} ngrep.8 ${PREFIX}/man/man8/ngrep.8
.include <bsd.port.mk>