fee2baba69
0.998 (05 Dec 2015) - bugfix: correctly handle V4MAPPED (v4 in v6) addresses, the original v6 prefix was wrong. Thanks to Alex Lasoriti for finding the issue - bugfix: sometimes IP4-based datasets gave false positives when an IP6 dataset were present, and it was also possible to have false positive in IP6 datasets. Both has been fixed.
49 lines
1.2 KiB
Makefile
49 lines
1.2 KiB
Makefile
# $NetBSD: Makefile,v 1.9 2021/10/18 08:16:49 tm Exp $
|
|
#
|
|
|
|
DISTNAME= rbldnsd-0.998
|
|
CATEGORIES= net
|
|
MASTER_SITES= http://www.corpit.ru/mjt/rbldnsd/
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= https://www.corpit.ru/mjt/rbldnsd/
|
|
COMMENT= Efficient DNS daemon to serve DNSBL zones
|
|
LICENSE= gnu-gpl-v1
|
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}
|
|
HAS_CONFIGURE= yes
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
BUILD_DEFS+= RBLDNSD_DIR VARBASE
|
|
|
|
RBLDNSD_USER?= rbldns
|
|
RBLDNSD_GROUP?= rbldns
|
|
RBLDNSD_DIR?= ${VARBASE}/chroot/rbldnsd
|
|
|
|
PKG_GROUPS= ${RBLDNSD_GROUP}
|
|
PKG_USERS= ${RBLDNSD_USER}:${RBLDNSD_GROUP}
|
|
PKG_HOME.${RBLDNSD_USER}= ${RBLDNSD_DIR}
|
|
|
|
PKG_GROUPS_VARS= RBLDNSD_GROUP
|
|
PKG_USERS_VARS= RBLDNSD_USER
|
|
|
|
FILES_SUBST+= RBLDNSD_USER=${RBLDNSD_USER} RBLDNSD_GROUP=${RBLDNSD_GROUP}
|
|
RCD_SCRIPTS= rbldnsd
|
|
|
|
.include "options.mk"
|
|
|
|
RBLDNSD_DOCS= NEWS README.user
|
|
|
|
INSTALLATION_DIRS= ${PKGMANDIR}/man8 sbin share/doc/rbldnsd
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/rbldnsd ${DESTDIR}${PREFIX}/sbin/
|
|
${INSTALL_MAN} ${WRKSRC}/rbldnsd.8 \
|
|
${DESTDIR}${PREFIX}/${PKGMANDIR}/man8/
|
|
set -e; for doc in ${RBLDNSD_DOCS}; do \
|
|
${INSTALL_DATA} ${WRKSRC}/"$$doc" \
|
|
${DESTDIR}/${PREFIX}/share/doc/rbldnsd/; \
|
|
done
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|