resurrect qmail-conf

This commit is contained in:
Oliver Lehmann 2016-10-08 18:17:02 +00:00
parent a20d904134
commit d751ebd51f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=423531
6 changed files with 72 additions and 1 deletions

1
MOVED
View file

@ -8500,7 +8500,6 @@ mail/mailtray||2016-07-04|Has expired: Broken for more than 6 months
mail/pflogstats||2016-07-04|Has expired: Broken for more than 6 months
mail/exact||2016-07-04|Has expired: Broken for more than 6 months
mail/wmpop3||2016-07-04|Has expired: Broken for more than 6 months
mail/qmail-conf||2016-07-04|Has expired: Broken for more than 6 months
mail/gld||2016-07-04|Has expired: Broken for more than 6 months
mail/dsbl-testers||2016-07-04|Has expired: Broken for more than 6 months
mail/vqregister||2016-07-04|Has expired: Broken for more than 6 months

View file

@ -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

57
mail/qmail-conf/Makefile Normal file
View file

@ -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>

4
mail/qmail-conf/distinfo Normal file
View file

@ -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

View file

@ -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

View file

@ -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