diff options
author | garga <garga@FreeBSD.org> | 2006-07-19 02:54:16 +0800 |
---|---|---|
committer | garga <garga@FreeBSD.org> | 2006-07-19 02:54:16 +0800 |
commit | bcb4e49c83fb20becf625d49afb54c947fe599d6 (patch) | |
tree | 8484fe43f73c0dea2400489942471e67009df7ab | |
parent | 6b3c197f02907e6137b8ecebf2142c56175cb288 (diff) | |
download | freebsd-ports-gnome-bcb4e49c83fb20becf625d49afb54c947fe599d6.tar.gz freebsd-ports-gnome-bcb4e49c83fb20becf625d49afb54c947fe599d6.tar.zst freebsd-ports-gnome-bcb4e49c83fb20becf625d49afb54c947fe599d6.zip |
Add qmail-dk 0.54, domainKeys implementation for qmail.
-rw-r--r-- | mail/Makefile | 1 | ||||
-rw-r--r-- | mail/qmail-dk/Makefile | 67 | ||||
-rw-r--r-- | mail/qmail-dk/distinfo | 9 | ||||
-rw-r--r-- | mail/qmail-dk/pkg-descr | 4 |
4 files changed, 81 insertions, 0 deletions
diff --git a/mail/Makefile b/mail/Makefile index 2ed2e23646ce..51c075e97c5d 100644 --- a/mail/Makefile +++ b/mail/Makefile @@ -425,6 +425,7 @@ SUBDIR += qmail-autoresponder SUBDIR += qmail-conf SUBDIR += qmail-contrib + SUBDIR += qmail-dk SUBDIR += qmail-ldap SUBDIR += qmail-mysql SUBDIR += qmail-notify diff --git a/mail/qmail-dk/Makefile b/mail/qmail-dk/Makefile new file mode 100644 index 000000000000..59e153f5a6b0 --- /dev/null +++ b/mail/qmail-dk/Makefile @@ -0,0 +1,67 @@ +# New ports collection makefile for: qmail-dk +# Date created: 2006-07-18 +# Whom: Renato Botelho <garga@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= dk +PORTVERSION= 0.54 +CATEGORIES= mail +MASTER_SITES= ${MASTER_SITE_QMAIL} +PKGNAMEPREFIX= qmail- +DISTFILES= qmail-1.03.tar.gz +DIST_SUBDIR= qmail + +MAINTAINER= garga@FreeBSD.org +COMMENT= DomainKeys implementation for qmail + +LIB_DEPENDS+= domainkeys.3:${PORTSDIR}/mail/libdomainkeys + +PATCH_SITES= ${MASTER_SITE_QMAIL} +PATCHFILES= qmail-1.03-dk-0.54.patch + +NO_PACKAGE= djb's packaging license does not allow non-standard qmail binary distributions + +USE_QMAIL= yes +PREFIX?= ${QMAIL_PREFIX} + +WRKSRC= ${WRKDIR}/qmail-1.03 +PLIST_FILES= bin/qmail-dk +MAN8= qmail-dk.8 +ALL_TARGET= qmail-dk ${MAN8} +CFLAGS+= -I${LOCALBASE}/include + +OPTIONS= SMTP_AUTH "Support SMTP_AUTH" On + +.include <bsd.port.pre.mk> + +.if defined(WITH_SMTP_AUTH) +PATCH_SITES+= http://jeremy.kister.net/code/:auth +PATCHFILES+= qmail-dk-0.54-auth.patch:auth +.endif + +do-configure: + @${ECHO_CMD} "${CC} ${CFLAGS}" > ${WRKSRC}/conf-cc + @${ECHO_CMD} ${PREFIX} > ${WRKSRC}/conf-qmail + +post-patch: + @${REINPLACE_CMD} -e 's,"../domainkeys.h",<domainkeys.h>,' \ + ${WRKSRC}/qmail-dk.c + @${REINPLACE_CMD} -e 's,../libdomainkeys.a,${LOCALBASE}/lib/libdomainkeys.a,g' \ + ${WRKSRC}/Makefile + @${REINPLACE_CMD} -E 's|( *c\(auto.*")qmail-smtpd(".*)$$|\1qmail-smtpd\2\1qmail-dk\2|' \ + ${WRKSRC}/hier.c + @${REINPLACE_CMD} 's!/var/qmail!${PREFIX}!; \ + s!/usr/local/!${LOCALBASE}/!' \ + ${WRKSRC}/Makefile + @${REINPLACE_CMD} 's!nofiles!qnofiles!g' \ + ${WRKSRC}/conf-groups + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/qmail-dk ${PREFIX}/bin +.for m in ${MAN8} + ${INSTALL_MAN} ${WRKSRC}/${m} ${MAN8PREFIX}/man/man8 +.endfor + +.include <bsd.port.post.mk> diff --git a/mail/qmail-dk/distinfo b/mail/qmail-dk/distinfo new file mode 100644 index 000000000000..28396e1823ea --- /dev/null +++ b/mail/qmail-dk/distinfo @@ -0,0 +1,9 @@ +MD5 (qmail/qmail-1.03.tar.gz) = 622f65f982e380dbe86e6574f3abcb7c +SHA256 (qmail/qmail-1.03.tar.gz) = 21ed6c562cbb55092a66197c35c8222b84115d1acab0854fdb1ad1f301626f88 +SIZE (qmail/qmail-1.03.tar.gz) = 220668 +MD5 (qmail/qmail-1.03-dk-0.54.patch) = fe44c716d367a79f0fb0642a11520655 +SHA256 (qmail/qmail-1.03-dk-0.54.patch) = d87699535241f9c9b9ea248b7fe4b496e7dc084ce337d50fbc649209bbc93700 +SIZE (qmail/qmail-1.03-dk-0.54.patch) = 14058 +MD5 (qmail/qmail-dk-0.54-auth.patch) = 761bfdf569bfd52cb1db1483b12dde4c +SHA256 (qmail/qmail-dk-0.54-auth.patch) = e076e5dfef7e6ca984aad4660b281834469aecf7db306114b853dcb7726f6b2c +SIZE (qmail/qmail-dk-0.54-auth.patch) = 1684 diff --git a/mail/qmail-dk/pkg-descr b/mail/qmail-dk/pkg-descr new file mode 100644 index 000000000000..1ea53f6d0f3c --- /dev/null +++ b/mail/qmail-dk/pkg-descr @@ -0,0 +1,4 @@ +Installs qmail-dk, a binary that will implement DomainKeys support to qmail + +Author: Russel Nelson +WWW: http://www.qmail.org/ |