aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorroam <roam@FreeBSD.org>2003-04-08 22:12:44 +0800
committerroam <roam@FreeBSD.org>2003-04-08 22:12:44 +0800
commit2132c1c912f1344f32c6b2c7a005b1d247c44038 (patch)
treeaea4337f66aff5c4af164d0bac466a5287955a84 /mail
parent2c626bd8065314553a0796d1b0d74b4f6ebbd7f7 (diff)
downloadfreebsd-ports-graphics-2132c1c912f1344f32c6b2c7a005b1d247c44038.tar.gz
freebsd-ports-graphics-2132c1c912f1344f32c6b2c7a005b1d247c44038.tar.zst
freebsd-ports-graphics-2132c1c912f1344f32c6b2c7a005b1d247c44038.zip
Finally add a port of qmail-conf that I have been using for
more than two years now...
Diffstat (limited to 'mail')
-rw-r--r--mail/Makefile1
-rw-r--r--mail/qmail-conf/Makefile44
-rw-r--r--mail/qmail-conf/distinfo2
-rw-r--r--mail/qmail-conf/pkg-comment1
-rw-r--r--mail/qmail-conf/pkg-descr5
-rw-r--r--mail/qmail-conf/pkg-plist6
6 files changed, 59 insertions, 0 deletions
diff --git a/mail/Makefile b/mail/Makefile
index 00ec9e1338f..36cbfa7a1a7 100644
--- a/mail/Makefile
+++ b/mail/Makefile
@@ -230,6 +230,7 @@
SUBDIR += qconfirm
SUBDIR += qmHandle
SUBDIR += qmail
+ SUBDIR += qmail-conf
SUBDIR += qmail-contrib
SUBDIR += qmail-ldap
SUBDIR += qmail-mysql
diff --git a/mail/qmail-conf/Makefile b/mail/qmail-conf/Makefile
new file mode 100644
index 00000000000..8a26b0cfecd
--- /dev/null
+++ b/mail/qmail-conf/Makefile
@@ -0,0 +1,44 @@
+# New ports collection makefile for: qmail-conf
+# Date created: 8 April 2003
+# Whom: roam@FreeBSD.org
+#
+# $FreeBSD$
+#
+
+PORTNAME= qmail-conf
+PORTVERSION= 0.60
+CATEGORIES= mail
+MASTER_SITES= http://www.din.or.jp/~ushijima/qmail-conf/ \
+ http://cr.yp.to/djbdns/
+DISTFILES= ${DISTNAME}.tar.gz \
+ ${DJBDNS_DIST}
+EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
+
+MAINTAINER= roam@FreeBSD.org
+
+ALL_TARGET= it
+INSTALL_TARGET= setup check
+
+NO_PACKAGE= "borrows code from djbdns, thus falls under the same restrictions as net/djbdns"
+
+# Note: this MUST be the same as the directory qmail is installed in!
+QMAIL_DIR?= /var/qmail
+PREFIX?= ${QMAIL_DIR}
+
+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_DIR}" > ${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} && ${MAKE} djbdns=${DJBDNS_NAME} -f Makefile.ini)
+
+.include <bsd.port.mk>
diff --git a/mail/qmail-conf/distinfo b/mail/qmail-conf/distinfo
new file mode 100644
index 00000000000..e1a72077dc9
--- /dev/null
+++ b/mail/qmail-conf/distinfo
@@ -0,0 +1,2 @@
+MD5 (qmail-conf-0.60.tar.gz) = c96eb5315e17387bcc5fe5b59de9685b
+MD5 (djbdns-1.05.tar.gz) = 3147c5cd56832aa3b41955c7a51cbeb2
diff --git a/mail/qmail-conf/pkg-comment b/mail/qmail-conf/pkg-comment
new file mode 100644
index 00000000000..aba07e7381e
--- /dev/null
+++ b/mail/qmail-conf/pkg-comment
@@ -0,0 +1 @@
+Configure various qmail services to run under daemontools
diff --git a/mail/qmail-conf/pkg-descr b/mail/qmail-conf/pkg-descr
new file mode 100644
index 00000000000..34fa1e5f54a
--- /dev/null
+++ b/mail/qmail-conf/pkg-descr
@@ -0,0 +1,5 @@
+This is a suite of helper programs which create daemontools service
+directories for the various qmail utilities.
+
+Author: Tetsu Ushijima
+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 00000000000..a8242a961de
--- /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
+@unexec rmdir %D/service 2>/dev/null || true