2d9da00440
- Add USE_DESTDIR support - Silence a pkglint warning - Drop maintainership Changes: * cleanup: #ifdefed dump_a_txt() properly so it will not be compiled if --disable-master-dump was specified. * implement "base template" ($=) feature. * portability and readability fixes from Victor Duchovni * added configure test for inline and __inline keywords, and only use #warning keyword if __GNUC__ is defined (more portability fixes from Victor Duchovni) * misc type conversions here and there, and change alignment in mempool.c to be sizeof(void*) instead of sizeof(int), to help 64bit platforms. Thanks to Mike Quintero for an excellent bugreport. * bugfix: combined dataset - improper return of query() routine in some cases * internal code reorg: - move firstword[_lc]() to _util.c - use two structs instead of a set of 2-element arrays in dnset * bugfix: lowercase base zone names given on command line and in `combined' dataset, or else they wont be recognized in queries
51 lines
1.2 KiB
Makefile
51 lines
1.2 KiB
Makefile
# $NetBSD: Makefile,v 1.4 2009/02/24 00:58:10 cube Exp $
|
|
#
|
|
|
|
DISTNAME= rbldnsd_0.996b
|
|
PKGNAME= ${DISTNAME:S/_/-/}
|
|
CATEGORIES= net
|
|
MASTER_SITES= http://www.corpit.ru/mjt/rbldnsd/
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://www.corpit.ru/mjt/rbldnsd/
|
|
COMMENT= Efficient DNS daemon to serve DNSBL zones
|
|
|
|
WRKSRC= ${WRKDIR}/rbldnsd-0.996b
|
|
HAS_CONFIGURE= yes
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
.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"
|