freebsd-ports/mail/sieve-connect/Makefile
Bryan Drewery 1e02c1f16f - Update to 0.85
- Convert to new options framework

sieve-connect was not actually verifying TLS certificate identities matched
the expected hostname. Changes with new version:

Fix TLS verification; find server by own hostname & SRV.

* TLS hostname verification was not actually happening.

* IO::Socket::SSL requirement bumped to 1.14 (was 0.97).

* By default, if no server specified, before falling back to localhost try to
use the current hostname and SRV records in DNS to figure out if Sieve is
available. Checks for sieve, imaps & imap protocol SRV records and honours
target==. to mean "no".

* This works better with the Mozilla::PublicSuffix module installed.

* Added ability to blacklist authentication mechanisms

More info:

http://mail.globnix.net/pipermail/sieve-connect-announce/2013/000005.html

PR:		ports/177859
Submitted by:	"Alexey V. Degtyarev" <alexey@renatasystems.org> (maintainer)
Approved by:	portmgr (implicit)
Security:	a2ff483f-a5c6-11e2-9601-000d601460a4
2013-04-15 12:28:58 +00:00

49 lines
1.4 KiB
Makefile

# Created by: Alexey V. Degtyarev <alexey@renatasystems.org>
# $FreeBSD$
PORTNAME= sieve-connect
PORTVERSION= 0.85
CATEGORIES= mail
MASTER_SITES= http://people.spodhuis.org/phil.pennock/software/ \
ftp://ftp.renatasystems.org/pub/FreeBSD/ports/distfiles/
MAINTAINER= alexey@renatasystems.org
COMMENT= Command-line client for the MANAGESIEVE protocol
LICENSE= unknown
LICENSE_NAME= Public Domain
LICENSE_FILE= ${WRKSRC}/LICENSE
LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
RUN_DEPENDS= p5-Authen-SASL>=0:${PORTSDIR}/security/p5-Authen-SASL \
p5-IO-Socket-INET6>=0:${PORTSDIR}/net/p5-IO-Socket-INET6 \
p5-IO-Socket-SSL>=1.14:${PORTSDIR}/security/p5-IO-Socket-SSL \
p5-Mozilla-PublicSuffix>=0:${PORTSDIR}/dns/p5-Mozilla-PublicSuffix \
p5-Net-DNS>=0:${PORTSDIR}/dns/p5-Net-DNS \
p5-ReadLine-Gnu>=0:${PORTSDIR}/devel/p5-ReadLine-Gnu \
p5-Term-ReadKey>=0:${PORTSDIR}/devel/p5-Term-ReadKey
USE_BZIP2= yes
USE_PERL5= yes
PLIST_FILES= bin/sieve-connect
MAN1= sieve-connect.1
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MDOCS}
PORTDOCS= ChangeLog README TODO
.endif
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/sieve-connect ${PREFIX}/bin/sieve-connect
${INSTALL_MAN} ${WRKSRC}/sieve-connect.1 \
${MANPREFIX}/man/man1/sieve-connect.1
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
.for _doc in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${_doc} ${DOCSDIR}/${_doc}
.endfor
.endif
.include <bsd.port.mk>