freebsd-ports/security/scanlogd/Makefile
Roman Bogorodskiy 6d49a24ba3 - Use USER and GROUP in Makefile instead of having
pkg-message suggesting a user to create user and group
  manually
- Add uid/gid to the UID and GID files respectively
- Add an UPDATING entry to suggest users of scanlogd to
  drop existing users to avoid conflicts
- Bump PORTREVISION

PR:		191948
Submitted by:	TEUBEL György
2014-07-23 15:25:49 +00:00

34 lines
798 B
Makefile

# Created by: Roman Bogorodskiy
# $FreeBSD$
PORTNAME= scanlogd
PORTVERSION= 2.2.7
PORTREVISION= 1
CATEGORIES= security
MASTER_SITES= http://openwall.com/scanlogd/ \
ftp://ftp.openwall.com/pub/projects/scanlogd/ \
ftp://rt.fm/pub/scanlogd/
MAINTAINER= novel@FreeBSD.org
COMMENT= TCP port scan detection tool
USE_RC_SUBR= ${PORTNAME}
.if defined(WITH_LIBNIDS)
BUILD_DEPENDS+= ${LOCALBASE}/lib/libnids.a:${PORTSDIR}/net/libnids
ALL_TARGET= libnids
.else
ALL_TARGET= libpcap
.endif
USERS= scanlogd
GROUPS= scanlogd
MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS} -c" LD="${CC}"
PLIST_FILES= bin/scanlogd man/man8/scanlogd.8.gz
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/scanlogd ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/scanlogd.8 ${STAGEDIR}${MANPREFIX}/man/man8
.include <bsd.port.mk>