Index: head/mail/ssmtp/Makefile =================================================================== --- head/mail/ssmtp/Makefile (revision 527840) +++ head/mail/ssmtp/Makefile (revision 527841) @@ -1,79 +1,79 @@ # Created by: Tomasz Paszkowski # $FreeBSD$ PORTNAME= ssmtp PORTVERSION= 2.64 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= mail MASTER_SITES= DEBIAN_POOL DISTFILES= ${PORTNAME}_${PORTVERSION}.orig${EXTRACT_SUFX} MAINTAINER= aragon@phat.za.net COMMENT= Extremely simple MTA to get mail off the system to a mail hub LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYRIGHT USES= gmake tar:bzip2 GNU_CONFIGURE= yes MAKE_ENV+= TARGET_ARCH= CFLAGS+= -I${OPENSSLINC} LDFLAGS+= -L${OPENSSLLIB} SUB_FILES+= pkg-message GROUPS= ssmtp OPTIONS_DEFINE= CRAMMD5 IPV6 LOGFILE OPENSSL USERPREFS XORIGIP OPTIONS_DEFAULT= CRAMMD5 OPENSSL XORIGIP CRAMMD5_DESC= CRAM-MD5 authentication support LOGFILE_DESC= Log file USERPREFS_DESC= User-defined revaliases XORIGIP_DESC= X-Originating-IP header for REMOTE_ADDR envvar CRAMMD5_CONFIGURE_ON= --enable-md5auth IPV6_CONFIGURE_ON= --enable-inet6 LOGFILE_CONFIGURE_ON= --enable-logfile OPENSSL_USES= ssl OPENSSL_CONFIGURE_ON= --enable-ssl XORIGIP_EXTRA_PATCHES= ${FILESDIR}/remote-addr.patch _MAILERCONF= /etc/mail/mailer.conf .include .if ${PORT_OPTIONS:MUSERPREFS} CFLAGS+= -DUSERPREFS pre-everything:: @${ECHO_CMD} "If you don't want to let your users set their own revalias address" @${ECHO_CMD} "(in ~/.ssmtprc), please define WITHOUT_USERPREFS." .endif post-configure: @${REINPLACE_CMD} -e "s,/etc/ssl/certs/ssmtp.pem,${PREFIX}/etc/ssmtp/ssmtp.pem,g" \ ${WRKSRC}/ssmtp.c ${WRKSRC}/ssmtp.conf @${REINPLACE_CMD} -e "s, /etc, ${PREFIX}/etc,g" ${WRKSRC}/ssmtp.8 do-install: ${INSTALL_PROGRAM} ${WRKSRC}/ssmtp ${STAGEDIR}${PREFIX}/sbin/ssmtp @${MKDIR} ${STAGEDIR}${PREFIX}/etc/ssmtp ${INSTALL_DATA} ${WRKSRC}/revaliases \ ${STAGEDIR}${PREFIX}/etc/ssmtp/revaliases.sample ${INSTALL_DATA} ${WRKSRC}/ssmtp.conf \ ${STAGEDIR}${PREFIX}/etc/ssmtp/ssmtp.conf.sample ${INSTALL_MAN} ${WRKSRC}/ssmtp.8 ${STAGEDIR}${MANPREFIX}/man/man8/ssmtp.8 ${INSTALL_MAN} ${WRKSRC}/ssmtp.conf.5 \ ${STAGEDIR}${MANPREFIX}/man/man5/ssmtp.conf.5 replace: @${REINPLACE_CMD} -e 's,^[^#],#&,g' ${_MAILERCONF} @${ECHO_CMD} "sendmail ${PREFIX}/sbin/ssmtp" >> ${_MAILERCONF} @${ECHO_CMD} "send-mail ${PREFIX}/sbin/ssmtp" >> ${_MAILERCONF} @${ECHO_CMD} "mailq ${PREFIX}/sbin/ssmtp" >> ${_MAILERCONF} @${ECHO_CMD} "newaliases ${PREFIX}/sbin/ssmtp" >> ${_MAILERCONF} @${ECHO_CMD} "hoststat /usr/bin/true" >> ${_MAILERCONF} @${ECHO_CMD} "purgestat /usr/bin/true" >> ${_MAILERCONF} .include Index: head/mail/ssmtp/files/patch-ssmtp.conf =================================================================== --- head/mail/ssmtp/files/patch-ssmtp.conf (nonexistent) +++ head/mail/ssmtp/files/patch-ssmtp.conf (revision 527841) @@ -0,0 +1,12 @@ +--- ssmtp.conf.orig 2020-03-05 16:17:25 UTC ++++ ssmtp.conf +@@ -41,3 +41,9 @@ hostname=_HOSTNAME_ + # If you want to have debugging of the config file parsing, move this option + # to the top of the config file and uncomment + #Debug=YES ++ ++# Use these parameters for securely authenticating against your ++# mailhub; check ssmtp.conf(5) for further details. ++# UseSTARTTLS=YES ++# AuthUser=you@yourdomain.com ++# AuthPass=your-secret-password Property changes on: head/mail/ssmtp/files/patch-ssmtp.conf ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/mail/ssmtp/pkg-descr =================================================================== --- head/mail/ssmtp/pkg-descr (revision 527840) +++ head/mail/ssmtp/pkg-descr (revision 527841) @@ -1,10 +1,10 @@ A secure, effective and simple way of getting mail off a system to your mail hub. It does not include a 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. -WWW: http://packages.debian.org/stable/mail/ssmtp +WWW: https://packages.qa.debian.org/s/ssmtp.html