mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-26 00:55:14 +00:00
Add usendmail 0.1.6, a replacement for qmail's sendmail drop-in.
PR: 63074 Submitted by: Thomas Seck <tmseck@netcologne.de>
This commit is contained in:
parent
207323cc3c
commit
6520b351f2
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=102574
@ -386,6 +386,7 @@
|
||||
SUBDIR += tpop3d
|
||||
SUBDIR += turba
|
||||
SUBDIR += uebimiau
|
||||
SUBDIR += usendmail
|
||||
SUBDIR += vbsfilter
|
||||
SUBDIR += vm
|
||||
SUBDIR += vm-pop3d
|
||||
|
49
mail/usendmail/Makefile
Normal file
49
mail/usendmail/Makefile
Normal file
@ -0,0 +1,49 @@
|
||||
# New ports collection makefile for: usendmail
|
||||
# Date created: 2004-02-19
|
||||
# Whom: Thomas Seck <tmseck@netcologne.de>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
# Tunables: QMAIL_DIR: Where qmail resides (default: /var/qmail)
|
||||
|
||||
PORTNAME= usendmail
|
||||
PORTVERSION= 0.1.6
|
||||
CATEGORIES= mail
|
||||
MASTER_SITES= http://www.ohse.de/uwe/usendmail/
|
||||
|
||||
MAINTAINER= tmseck@netcologne.de
|
||||
COMMENT= A replacement for qmail's sendmail drop-in
|
||||
|
||||
BUILD_DEPENDS= ${QMAIL_DIR}/bin/qmail-send:${PORTSDIR}/mail/qmail
|
||||
RUN_DEPENDS= ${QMAIL_DIR}/bin/qmail-send:${PORTSDIR}/mail/qmail
|
||||
|
||||
QMAIL_DIR?= /var/qmail
|
||||
|
||||
USE_REINPLACE= yes
|
||||
WRKSRC= ${WRKDIR}/mail/${DISTNAME}
|
||||
PKGMESSAGE= ${WRKDIR}/pkg-message
|
||||
|
||||
PLIST_FILES= sbin/usendmail
|
||||
PORTDOCS= NEWS README
|
||||
|
||||
do-patch:
|
||||
@${REINPLACE_CMD} -e 's,/var/qmail,${QMAIL_DIR},' \
|
||||
${WRKSRC}/src/usendmail.c
|
||||
|
||||
do-build:
|
||||
cd ${WRKSRC} && ./package/build
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/command/usendmail ${PREFIX}/sbin/
|
||||
.if !defined(NOPORTDOCS)
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
cd ${WRKSRC}/src && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
|
||||
.endif
|
||||
|
||||
post-install:
|
||||
@${SED} -e 's:%%PREFIX%%:${PREFIX}:g' \
|
||||
-e's:%%QMAIL_DIR%%:${QMAIL_DIR}:g' <pkg-message \
|
||||
>${PKGMESSAGE}
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
|
||||
.include <bsd.port.mk>
|
2
mail/usendmail/distinfo
Normal file
2
mail/usendmail/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
MD5 (usendmail-0.1.6.tar.gz) = de4b8f1ad8eb9b24b3b8d887aa94fddc
|
||||
SIZE (usendmail-0.1.6.tar.gz) = 51071
|
7
mail/usendmail/pkg-descr
Normal file
7
mail/usendmail/pkg-descr
Normal file
@ -0,0 +1,7 @@
|
||||
usendmail is a replacement for the sendmail clone of the qmail package.
|
||||
|
||||
It accepts more of the original sendmail's commandline options and does
|
||||
not depend on environment variables to set the envelope sender.
|
||||
|
||||
Author: Uwe Ohse <uwe@ohse.de>
|
||||
WWW: http://www.ohse.de/uwe/usendmail.html
|
20
mail/usendmail/pkg-message
Normal file
20
mail/usendmail/pkg-message
Normal file
@ -0,0 +1,20 @@
|
||||
|
||||
usendmail has been successfully installed!
|
||||
|
||||
Now you have to change your sendmail(8) wrapping:
|
||||
|
||||
If you are using mailwrapper(8), do the following:
|
||||
|
||||
in /etc/mail/mailer.conf replace the lines
|
||||
|
||||
sendmail %%QMAIL_DIR%%/bin/sendmail
|
||||
send-mail %%QMAIL_DIR%%/bin/sendmail
|
||||
|
||||
with
|
||||
|
||||
sendmail %%PREFIX%%/sbin/usendmail
|
||||
send-mail %%PREFIX%%/sbin/usendmail
|
||||
|
||||
Otherwise replace the link from /usr/sbin/sendmail to
|
||||
%%QMAIL_DIR%%/bin/sendmail with one to %%PREFIX%%/sbin/usendmail.
|
||||
|
Loading…
Reference in New Issue
Block a user