aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authoroliver <oliver@FreeBSD.org>2016-10-09 02:17:02 +0800
committeroliver <oliver@FreeBSD.org>2016-10-09 02:17:02 +0800
commitf4a0d49034e1a6b9420491c5e3836308aaf0607c (patch)
tree206267240873dbd5d0f3e44a0053810ba8dc7f19 /mail
parent97217a62c3356cb16e35d373e7c2c47a2eaa5df3 (diff)
downloadfreebsd-ports-gnome-f4a0d49034e1a6b9420491c5e3836308aaf0607c.tar.gz
freebsd-ports-gnome-f4a0d49034e1a6b9420491c5e3836308aaf0607c.tar.zst
freebsd-ports-gnome-f4a0d49034e1a6b9420491c5e3836308aaf0607c.zip
resurrect qmail-conf
Diffstat (limited to 'mail')
-rw-r--r--mail/Makefile1
-rw-r--r--mail/qmail-conf/Makefile57
-rw-r--r--mail/qmail-conf/distinfo4
-rw-r--r--mail/qmail-conf/pkg-descr4
-rw-r--r--mail/qmail-conf/pkg-plist6
5 files changed, 72 insertions, 0 deletions
diff --git a/mail/Makefile b/mail/Makefile
index b401bcbf308f..6656179cc92f 100644
--- a/mail/Makefile
+++ b/mail/Makefile
@@ -557,6 +557,7 @@
SUBDIR += qmail-activedir
SUBDIR += qmail-auditor
SUBDIR += qmail-autoresponder
+ SUBDIR += qmail-conf
SUBDIR += qmail-contrib
SUBDIR += qmail-dk
SUBDIR += qmail-ldap
diff --git a/mail/qmail-conf/Makefile b/mail/qmail-conf/Makefile
new file mode 100644
index 000000000000..970f94fe558b
--- /dev/null
+++ b/mail/qmail-conf/Makefile
@@ -0,0 +1,57 @@
+# Created by: roam@FreeBSD.org
+# $FreeBSD$
+
+PORTNAME= qmail-conf
+PORTVERSION= 0.60
+PORTREVISION= 4
+CATEGORIES= mail
+MASTER_SITES= LOCAL/oliver:conf \
+ http://cr.yp.to/djbdns/:djbdns
+DISTFILES= ${DISTNAME}.tar.gz:conf \
+ ${DJBDNS_DIST}:djbdns
+EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
+
+MAINTAINER= oliver@FreeBSD.org
+COMMENT= Configure various qmail services to run under daemontools
+
+USES= qmail:run
+
+ALL_TARGET= prog
+INSTALL_TARGET= setup check
+
+LEGAL_TEXT= No license -- see http://cr.yp.to/softwarelaw.html
+
+PREFIX?= ${QMAIL_PREFIX}
+NO_PREFIX_RMDIR=yes
+
+NO_MTREE= yes
+
+DJBDNS_VER= 1.05
+DJBDNS_NAME= djbdns-${DJBDNS_VER}
+DJBDNS_DIST= ${DJBDNS_NAME}${EXTRACT_SUFX}
+
+post-extract:
+ @(cd ${WRKSRC} && ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${DISTDIR}/${DJBDNS_DIST} ${EXTRACT_AFTER_ARGS})
+
+post-patch:
+ @${ECHO_CMD} "${QMAIL_PREFIX}" > ${WRKSRC}/conf-qmail
+ @${ECHO_CMD} "${CC} ${CFLAGS}" > ${WRKSRC}/conf-cc
+ @${ECHO_CMD} "${CC} ${CFLAGS} ${STRIP}" > ${WRKSRC}/conf-ld
+ @${ECHO_CMD} "${LOCALBASE}" > ${WRKSRC}/conf-ucspi-tcp
+
+pre-build:
+ @(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} \
+ djbdns=${DJBDNS_NAME} -f Makefile.ini)
+
+# Do a dance to stage and keep out of resulting binaries (see r346769
+# and r349241)
+post-build:
+ @${ECHO_MSG} "===> Rebuilding DJB installer to respect STAGEDIR"
+ @${MV} -f ${WRKSRC}/conf-qmail ${WRKSRC}/conf-qmail.sav
+ @${ECHO_CMD} "${STAGEDIR}${QMAIL_PREFIX}" > ${WRKSRC}/conf-qmail
+ @cd ${WRKSRC} ; ${RM} -f install instcheck install.o instcheck.o hier.o auto_qmail.o auto_qmail.c
+ @cd ${WRKSRC} ; ${DO_MAKE_BUILD} install instcheck
+ @${TOUCH} ${WRKSRC}/*-conf
+ @${MV} -f ${WRKSRC}/conf-qmail.sav ${WRKSRC}/conf-qmail
+
+.include <bsd.port.mk>
diff --git a/mail/qmail-conf/distinfo b/mail/qmail-conf/distinfo
new file mode 100644
index 000000000000..f9a2dc00968f
--- /dev/null
+++ b/mail/qmail-conf/distinfo
@@ -0,0 +1,4 @@
+SHA256 (qmail-conf-0.60.tar.gz) = 1d015a0193b20861f7c26c6e20cd0569e8d0024288833d3b3f1d6e160ebb1706
+SIZE (qmail-conf-0.60.tar.gz) = 6332
+SHA256 (djbdns-1.05.tar.gz) = 3ccd826a02f3cde39be088e1fc6aed9fd57756b8f970de5dc99fcd2d92536b48
+SIZE (djbdns-1.05.tar.gz) = 85648
diff --git a/mail/qmail-conf/pkg-descr b/mail/qmail-conf/pkg-descr
new file mode 100644
index 000000000000..e7ffdaf278be
--- /dev/null
+++ b/mail/qmail-conf/pkg-descr
@@ -0,0 +1,4 @@
+This is a suite of helper programs which create daemontools service
+directories for the various qmail utilities.
+
+WWW: http://www.din.or.jp/~ushijima/qmail-conf.html
diff --git a/mail/qmail-conf/pkg-plist b/mail/qmail-conf/pkg-plist
new file mode 100644
index 000000000000..f481f3aa232d
--- /dev/null
+++ b/mail/qmail-conf/pkg-plist
@@ -0,0 +1,6 @@
+bin/qmail-delivery-conf
+bin/qmail-pop3d-conf
+bin/qmail-qmqpd-conf
+bin/qmail-qmtpd-conf
+bin/qmail-smtpd-conf
+@dir service