Index: head/mail/mpop/files/patch-doc-mpop.1 =================================================================== --- head/mail/mpop/files/patch-doc-mpop.1 (revision 402657) +++ head/mail/mpop/files/patch-doc-mpop.1 (nonexistent) @@ -1,33 +0,0 @@ ---- doc/mpop.1.orig 2009-10-05 16:47:15.000000000 -0300 -+++ doc/mpop.1 2009-10-24 12:18:19.000000000 -0200 -@@ -305,8 +305,8 @@ intermediate CAs.) - .br - The list of trusted CAs is specified using the \fBtls_trust_file\fP command. - Usually there is some system-wide default file available, e.g. --/etc/ssl/certs/ca\-certificates.crt on Debian-based systems, but you can --also choose to select the trusted CAs yourself. -+/usr/local/share/certs/ca\-root\-nss.crt on FreeBSD and DragonFly systems, -+but you can also choose to select the trusted CAs yourself. - .br - One practical problem with this approach is that the client program should also - check if the server certificate has been revoked for some reason, using a -@@ -350,8 +350,8 @@ or tunnel the session through TLS (\fIof - .IP "tls_trust_file \fIfile\fP" - Activate server certificate verification using a list of truted Certification - Authorities (CAs). The file must be in PEM format. Some systems provide a --system-wide default file, e.g. /etc/ssl/certs/ca\-certificates.crt on --Debian-based systems with the ca\-certificates package. -+system-wide default file, e.g. /usr/local/share/certs/ca\-root\-nss.crt on -+FreeBSD and DragonFly with ca_root_nss package or security/ca_root_nss port. - An empty argument disables this. You should also use \fBtls_crl_file\fP. - .IP "tls_crl_file [\fIfile\fP]" - Set a certificate revocation list (CRL) file for TLS, to check for revoked -@@ -542,7 +542,7 @@ tls on - .br - # as in this example, or download the root certificate of your CA and use that. - .br --tls_trust_file /etc/ssl/certs/ca\-certificates.crt -+tls_trust_file /usr/local/share/certs/ca\-root\-nss.crt - .br - - .br Property changes on: head/mail/mpop/files/patch-doc-mpop.1 ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/mail/mpop/Makefile =================================================================== --- head/mail/mpop/Makefile (revision 402657) +++ head/mail/mpop/Makefile (revision 402658) @@ -1,49 +1,51 @@ # Created by: Sylvio Cesar # $FreeBSD$ PORTNAME= mpop -DISTVERSION= 1.2.2 +DISTVERSION= 1.2.3 CATEGORIES= mail MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${DISTVERSION} -MAINTAINER= ports@FreeBSD.org +MAINTAINER= jbeich@FreeBSD.org COMMENT= Small and fast POP3 client LICENSE= GPLv3 # (or later) -USES= gmake pkgconfig tar:xz +USES= cpe gmake pkgconfig tar:xz +CPE_VENDOR= martin_lambers GNU_CONFIGURE= yes -CONFIGURE_ARGS= --disable-silent-rules +CONFIGURE_ARGS= --disable-silent-rules --with-tls=no INFO= mpop OPTIONS_DEFINE= GSASL IDN LIBSECRET NLS OPTIONS_RADIO= TLS OPTIONS_RADIO_TLS= GNUTLS OPENSSL OPTIONS_DEFAULT= IDN OPENSSL OPTIONS_SUB= yes GNUTLS_LIB_DEPENDS= libgnutls.so:${PORTSDIR}/security/gnutls GNUTLS_CONFIGURE_ON= --with-tls=gnutls -GSASL_DESC= SASL authentication support via GNU SASL +GSASL_DESC= ${SASL_DESC} via GNU SASL GSASL_LIB_DEPENDS= libgsasl.so:${PORTSDIR}/security/gsasl -GSASL_CONFIGURE_OFF= --without-libgsasl +GSASL_CONFIGURE_WITH= libgsasl IDN_LIB_DEPENDS= libidn.so:${PORTSDIR}/dns/libidn IDN_CONFIGURE_WITH= libidn LIBSECRET_DESC= GNOME password management LIBSECRET_LIB_DEPENDS= libsecret-1.so:${PORTSDIR}/security/libsecret LIBSECRET_CONFIGURE_WITH= libsecret NLS_USES= gettext NLS_CONFIGURE_ENABLE= nls OPENSSL_USE= openssl=yes -OPENSSL_CONFIGURE_ON= --with-tls=openssl \ - libssl_CFLAGS=-I${OPENSSLINC} \ - libssl_LIBS="-lssl -lcrypto" +OPENSSL_CONFIGURE_ENV= ${OPENSSLINC:M/usr/include:C,.+,libssl_CFLAGS=" ",} \ + ${OPENSSLLIB:M/usr/lib:C,.+,libssl_LIBS="-lssl -lcrypto",} +OPENSSL_CONFIGURE_ON= --with-tls=openssl -.include - -.if empty(PORT_OPTIONS:MGNUTLS) && empty(PORT_OPTIONS:MOPENSSL) -CONFIGURE_ARGS+= --with-tls=no -.endif +post-patch: + @${REINPLACE_CMD} -Ee 's/Debian/${OPSYS}/' \ + -e 's,/etc/ssl/certs,${LOCALBASE}/share/certs,' \ + -e '/crt/s/ca(\\?)-certificates/ca\1-root\1-nss/' \ + -e 's/ca\\?-certificates/ca_root_nss/' \ + ${WRKSRC}/doc/mpop* .include Index: head/mail/mpop/distinfo =================================================================== --- head/mail/mpop/distinfo (revision 402657) +++ head/mail/mpop/distinfo (revision 402658) @@ -1,2 +1,2 @@ -SHA256 (mpop-1.2.2.tar.xz) = d1e7d7d18147996cfc6195cdfb936ca51620cb841a7460043d8cc838ca48bfc3 -SIZE (mpop-1.2.2.tar.xz) = 266272 +SHA256 (mpop-1.2.3.tar.xz) = ed770af29b291291f643e1d132bb1bdae6b2f897cd9c09372d7aadf85290ed70 +SIZE (mpop-1.2.3.tar.xz) = 268584