5e34cbf654
Fixed smtp_filter() to accept parameters to AUTH PLAIN when the MUA sends the authentication information with the command instead of waiting for another prompt. Changed find_address() to strip BATV tags from addresses so whitelist/ blacklist matching can still take place. Reported by Walter Russo. Added utils/passwordcheck to help troubleshoot SMTP AUTH problems. Added more logging to exec_checkpassword() to aid troubleshooting.
44 lines
1.1 KiB
Makefile
44 lines
1.1 KiB
Makefile
# $NetBSD: Makefile,v 1.7 2007/06/08 01:08:29 schmonz Exp $
|
|
#
|
|
|
|
DISTNAME= spamdyke-2.6.2
|
|
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.h
|
|
SUBST_SED.paths= -e 's,@PREFIX@,${PREFIX:Q},g'
|
|
SUBST_SED.paths+= -e 's,@QMAILDIR@,${QMAILDIR:Q},g'
|
|
SUBST_STAGE.paths= do-configure
|
|
|
|
BUILD_DEFS+= QMAILDIR
|
|
|
|
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 passwordcheck; 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"
|