From 64f6824bc8475d97d922a037b3f4cbb300ff82ae Mon Sep 17 00:00:00 2001 From: jlam Date: Thu, 19 Jun 2003 20:39:09 +0000 Subject: Initial import of mail/ssmtp, an extremely simple MTA that forwards mail to a mail hub. Originally from pkgsrc-wip; created by Toru TAKAMIZU . A secure, effective and simple way of getting mail off a system to your mail hub. It contains no suid-binaries or other dangerous things - no mail spool to poke around in, and no daemons running in the background. Mail is simply forwarded to the configured mailhost. Extremely easy configuration. WARNING: the above is all it does; it does not receive mail, expand aliases or manage a queue. That belongs on a mail hub with a system administrator. This program is especially recommended for mutt users who send emails via ISP's smtp server. --- mail/ssmtp/Makefile | 55 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 mail/ssmtp/Makefile (limited to 'mail/ssmtp/Makefile') diff --git a/mail/ssmtp/Makefile b/mail/ssmtp/Makefile new file mode 100644 index 00000000000..3d805cb14ba --- /dev/null +++ b/mail/ssmtp/Makefile @@ -0,0 +1,55 @@ +# $NetBSD: Makefile,v 1.1.1.1 2003/06/19 20:39:10 jlam Exp $ +# FreeBSD Id: ports/mail/ssmtp/Makefile,v 1.10 2003/04/14 08:41:04 leeym Exp +# +# TLS functionality needs testing. Please let me know the result, +# and preferably info about your system. +# +# pkg@pop.707.to +# Toru TAKAMIZU + +DISTNAME= ssmtp_2.60.3 +PKGNAME= ssmtp-2.60.3 +WRKSRC= ${WRKDIR}/${PKGBASE}-${PKGVERSION:C/([0-9]+.[0-9]+)(.[0-9]+)$/\1/} +CATEGORIES= mail +MASTER_SITES= ${MASTER_SITE_DEBIAN:=pool/main/s/ssmtp/} + +MAINTAINER= pkg@pop.707.to +HOMEPAGE= http://packages.debian.org/testing/mail/ssmtp.html +COMMENT= Extremely simple MTA to forward mail to a mail hub + +USE_BUILDLINK2= YES +USE_GMAKE= YES +GNU_CONFIGURE= YES +CONFIGURE_ARGS+= --enable-ssl --enable-inet6 + +PKG_SYSCONFSUBDIR= ${PKGBASE} +EGDIR= ${PREFIX}/share/examples/${PKGBASE} + +CONF_FILES= ${EGDIR}/ssmtp.conf ${PKG_SYSCONFDIR}/ssmtp.conf +CONF_FILES+= ${EGDIR}/revaliases ${PKG_SYSCONFDIR}/revaliases + +post-extract: + ${RM} -rf ${WRKSRC}/RCS + +post-patch: + for f in ${WRKSRC}/ssmtp.c ${WRKSRC}/ssmtp.conf ; do \ + ${MV} -f $$f $$f.orig ; \ + ${SED} "s,/etc/ssl/certs/,${PKG_SYSCONFDIR}/,g" \ + $${f}.orig > $${f} ; \ + ${RM} -f $$f.orig ; \ + done + for f in ${WRKSRC}/ssmtp.8 ; do \ + ${MV} -f $$f $$f.orig ; \ + ${SED} "s,/etc/ssmtp/,${PKG_SYSCONFDIR}/,g" \ + $$f.orig > $$f ; \ + ${RM} -f $$f.orig ; \ + done + +post-install: + ${INSTALL_DATA_DIR} ${EGDIR} + ${INSTALL_DATA} ${WRKSRC}/ssmtp.conf ${EGDIR} + ${INSTALL_DATA} ${WRKSRC}/revaliases ${EGDIR} + +.include "../../security/openssl/buildlink2.mk" +.include "../../mk/bsd.pkg.install.mk" +.include "../../mk/bsd.pkg.mk" -- cgit v1.2.3