diff options
author | pgollucci <pgollucci@FreeBSD.org> | 2010-09-09 04:42:19 +0800 |
---|---|---|
committer | pgollucci <pgollucci@FreeBSD.org> | 2010-09-09 04:42:19 +0800 |
commit | 7e4b7296121ec9c86f077301cec211bdd9b54897 (patch) | |
tree | 995cbb996ba092002522edec5ddb666860d29ae2 /mail | |
parent | 8274e63fa3baf25e225a22a24d8aaf2d197123df (diff) | |
download | freebsd-ports-gnome-7e4b7296121ec9c86f077301cec211bdd9b54897.tar.gz freebsd-ports-gnome-7e4b7296121ec9c86f077301cec211bdd9b54897.tar.zst freebsd-ports-gnome-7e4b7296121ec9c86f077301cec211bdd9b54897.zip |
Provides SMTP STARTTLS support for Ruby 1.8.6, this
functionality is built-in for Ruby 1.8.7+.
To use simply: require 'smtp_tls' and use the
Net::SMTP#enable_starttls method to talk to
servers that use STARTTLS.
WWW: http://seattlerb.rubyforge.org/smtp_tls/
PR: ports/150115
Submitted by: Eric Freeman <freebsdports at chillibear.com>
Diffstat (limited to 'mail')
-rw-r--r-- | mail/Makefile | 1 | ||||
-rw-r--r-- | mail/rubygem-smtp_tls/Makefile | 31 | ||||
-rw-r--r-- | mail/rubygem-smtp_tls/distinfo | 3 | ||||
-rw-r--r-- | mail/rubygem-smtp_tls/pkg-descr | 8 |
4 files changed, 43 insertions, 0 deletions
diff --git a/mail/Makefile b/mail/Makefile index 46a7fa9b81b6..5bd97c899553 100644 --- a/mail/Makefile +++ b/mail/Makefile @@ -600,6 +600,7 @@ SUBDIR += rubygem-mail SUBDIR += rubygem-mailfactory SUBDIR += rubygem-pony + SUBDIR += rubygem-smtp_tls SUBDIR += rubygem-tmail SUBDIR += sa-stats SUBDIR += sa-utils diff --git a/mail/rubygem-smtp_tls/Makefile b/mail/rubygem-smtp_tls/Makefile new file mode 100644 index 000000000000..624eacc94e7a --- /dev/null +++ b/mail/rubygem-smtp_tls/Makefile @@ -0,0 +1,31 @@ +# Ports collection makefile for: rubygem-smtp_tls +# Date created: 25 July 2010 +# Whom: Eric Freeman <freebsdports@chillibear.com> +# +# $FreeBSD$ +# +# NOTE that this gem is only required if you run Ruby 1.8.6 +# SMTP TLS is built into Ruby 1.8.7+ +# + +PORTNAME= smtp_tls +PORTVERSION= 1.0.3 +CATEGORIES= mail rubygems +MASTER_SITES= RG + +MAINTAINER= freebsdports@chillibear.com +COMMENT= Provides SMTP STARTTLS support for Ruby 1.8.6 + +RUN_DEPENDS= rubygem-hoe>=2.3.2:${PORTSDIR}/devel/rubygem-hoe + +USE_RUBY= yes +USE_RUBYGEMS= yes +RUBYGEM_AUTOPLIST= yes + +.include <bsd.port.pre.mk> + +.if ${RUBY_VERSION_CODE} >= 187000 +IGNORE= ruby >= 1.8.7 natively supports SMTP TLS +.endif + +.include <bsd.port.post.mk> diff --git a/mail/rubygem-smtp_tls/distinfo b/mail/rubygem-smtp_tls/distinfo new file mode 100644 index 000000000000..84bb95fa583d --- /dev/null +++ b/mail/rubygem-smtp_tls/distinfo @@ -0,0 +1,3 @@ +MD5 (rubygem/smtp_tls-1.0.3.gem) = 01a6b38a718c85f90e6d46eecd46d89a +SHA256 (rubygem/smtp_tls-1.0.3.gem) = fe5abcbcc3200e21dec2f9cf22657b9a3776c5e1210a5e7505097c3091dd5914 +SIZE (rubygem/smtp_tls-1.0.3.gem) = 10240 diff --git a/mail/rubygem-smtp_tls/pkg-descr b/mail/rubygem-smtp_tls/pkg-descr new file mode 100644 index 000000000000..a72a9d2c4743 --- /dev/null +++ b/mail/rubygem-smtp_tls/pkg-descr @@ -0,0 +1,8 @@ +Provides SMTP STARTTLS support for Ruby 1.8.6, this +functionality is built-in for Ruby 1.8.7+. + +To use simply: require 'smtp_tls' and use the +Net::SMTP#enable_starttls method to talk to +servers that use STARTTLS. + +WWW: http://seattlerb.rubyforge.org/smtp_tls/ |