pkgsrc/mail/spamdyke/Makefile
schmonz 88398b2bc2 Update to 2.6.1. From the changelog:
* Changed calls to tolower() and isalnum() to eliminate warnings
    from gcc 3.3.3 on NetBSD 3.1.  Thanks to David Frese for reporting
    this one.

* Fixed a very small typo in the new mask/flag system that was
    preventing spamdyke from advertising SMTP AUTH on unpatched
    qmail servers -- FILTER_FLAG_AUTH_ADD had the same value as
    FILTER_FLAG_AUTH_NONE.  Oops.  Thanks to Renato Franzin for
    reporting this one.

* Fixed an oversight in the use of gethostbyname() to perform DNS
    lookups for A records.  If the server is configured to search
    a domain for matching names ("search" in /etc/resolv.conf) and
    the domain has a wildcard DNS entry, the DNS RBL code was always
    matching because an A record was always found.  Adding a dot
    to the end of the queried name prevents the domain searching
    and returns correct results.  Thanks to "Paolo", Alexander
    Fordyce and Jens Mickerts for reporting and helping me troubleshoot
    this one.
2007-06-04 21:54:05 +00:00

41 lines
1 KiB
Makefile

# $NetBSD: Makefile,v 1.6 2007/06/04 21:54:05 schmonz Exp $
#
DISTNAME= spamdyke-2.6.1
CATEGORIES= mail
MASTER_SITES= ${HOMEPAGE}releases/
EXTRACT_SUFX= .tgz
MAINTAINER= schmonz@NetBSD.org
HOMEPAGE= http://freesoftware.silence.org/spamdyke/
COMMENT= Monitors and intercept incoming SMTP connections to qmail
BUILD_DIRS= ${PKGBASE} utils
SUBST_CLASSES+= paths
SUBST_FILES.paths= ${PKGBASE}/spamdyke.c
SUBST_SED.paths= -e 's,@PREFIX@,${PREFIX:Q},g'
SUBST_STAGE.paths= do-configure
INSTALLATION_DIRS= bin share/doc/${PKGBASE}
.include "options.mk"
do-install:
cd ${WRKSRC}/${PKGBASE}; \
for f in spamdyke; do \
${INSTALL_PROGRAM} $${f} ${PREFIX}/bin; \
done
cd ${WRKSRC}/utils; \
for f in dnsmx dnsptr dnstxt; do \
${INSTALL_PROGRAM} $${f} ${PREFIX}/bin/spamdyke-$${f}; \
done; \
for f in domain2path domainsplit; do \
${INSTALL_PROGRAM} $${f} ${PREFIX}/bin; \
done
cd ${WRKSRC}/documentation; \
for f in *.txt; do \
${INSTALL_DATA} $${f} ${PREFIX}/share/doc/${PKGBASE}; \
done
.include "../../mk/bsd.pkg.mk"