From nobody@FreeBSD.org  Mon Aug 30 11:49:05 2010
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id D54691065674
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 30 Aug 2010 11:49:05 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id B91B08FC12
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 30 Aug 2010 11:49:05 +0000 (UTC)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o7UBn5jE083137
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 30 Aug 2010 11:49:05 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id o7UBn5v1083136;
	Mon, 30 Aug 2010 11:49:05 GMT
	(envelope-from nobody)
Message-Id: <201008301149.o7UBn5v1083136@www.freebsd.org>
Date: Mon, 30 Aug 2010 11:49:05 GMT
From: Eric Freeman <freebsdports@chillibear.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: New port: mail/rubygem-smtp_tls  (adds tls support to ruby 1.8.6)
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         150115
>Category:       ports
>Synopsis:       New port: mail/rubygem-smtp_tls  (adds tls support to ruby 1.8.6)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pgollucci
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Aug 30 11:50:03 UTC 2010
>Closed-Date:    Wed Sep 08 20:42:26 UTC 2010
>Last-Modified:  Wed Sep  8 20:50:01 UTC 2010
>Originator:     Eric Freeman
>Release:        8.1
>Organization:
>Environment:
FreeBSD bsd8.localnet 8.1-STABLE-201008 FreeBSD 8.1-STABLE-201008 #0: Mon Aug  2 20:04:38 UTC 2010     root@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
This is a simple gem port of the smtp_tls gem (http://seattlerb.rubyforge.org/smtp_tls/).  This gem provides SMTP STARTTLS support for Ruby 1.8.6, this functionality is built-in for Ruby 1.8.7+.  

I've done the port because I'm about to submit a port of the 'pony' gem (http://github.com/benprew/pony) which can optionally use this port with earlier  versions of Ruby.  Whilst I don't expect massive usage of this Gem it does 'complete the set' and provide the option for anyone using the older versions of Ruby.

I don't know if the way I've done the depends to prevent installation on 1.8.7+ systems is the best, so any suggestions/improvements are welcome there.
>How-To-Repeat:

>Fix:
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	rubygem-smtp_tls
#	rubygem-smtp_tls/distinfo
#	rubygem-smtp_tls/Makefile
#	rubygem-smtp_tls/pkg-descr
#
echo c - rubygem-smtp_tls
mkdir -p rubygem-smtp_tls > /dev/null 2>&1
echo x - rubygem-smtp_tls/distinfo
sed 's/^X//' >rubygem-smtp_tls/distinfo << 'd119de61ccd14f2404301d39e1d284be'
XMD5 (rubygem/smtp_tls-1.0.3.gem) = 01a6b38a718c85f90e6d46eecd46d89a
XSHA256 (rubygem/smtp_tls-1.0.3.gem) = fe5abcbcc3200e21dec2f9cf22657b9a3776c5e1210a5e7505097c3091dd5914
XSIZE (rubygem/smtp_tls-1.0.3.gem) = 10240
d119de61ccd14f2404301d39e1d284be
echo x - rubygem-smtp_tls/Makefile
sed 's/^X//' >rubygem-smtp_tls/Makefile << '75bc3474f7a108687310bd97e6de6c76'
X# Ports collection makefile for:	rubygem-smtp_tls
X# Date created:				30 Aug 2010
X# Whom:					Eric Freeman <freebsdports@chillibear.com>
X#
X# $FreeBSD$
X#
X# NOTE that this gem is only required if you run Ruby 1.8.6
X# SMTP TLS is built into Ruby 1.8.7+
X#
X
XPORTNAME=	smtp_tls
XPORTVERSION=	1.0.3
XCATEGORIES=	mail rubygems
XMASTER_SITES=	RG
X
XMAINTAINER=	freebsdports@chillibear.com
XCOMMENT=	Provides SMTP STARTTLS support for Ruby 1.8.6
X
XRUN_DEPENDS=	ruby<=1.8.6:${PORTSDIR}/lang/ruby18 \
X		rubygem-hoe>=2.3.2:${PORTSDIR}/devel/rubygem-hoe
X
XUSE_RUBY=		yes
XUSE_RUBYGEMS=		yes
XRUBYGEM_AUTOPLIST=	yes
X
X.include <bsd.port.mk>
75bc3474f7a108687310bd97e6de6c76
echo x - rubygem-smtp_tls/pkg-descr
sed 's/^X//' >rubygem-smtp_tls/pkg-descr << '5a3ad6ba1c3579d0bd27b08dab138079'
XProvides SMTP STARTTLS support for Ruby 1.8.6, this 
Xfunctionality is built-in for Ruby 1.8.7+. 
X
XTo use simply: require 'smtp_tls' and use the 
XNet::SMTP#enable_starttls method to talk to 
Xservers that use STARTTLS.
X
XWWW: http://seattlerb.rubyforge.org/smtp_tls/
5a3ad6ba1c3579d0bd27b08dab138079
exit

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->pgollucci 
Responsible-Changed-By: pgollucci 
Responsible-Changed-When: Mon Aug 30 16:53:51 UTC 2010 
Responsible-Changed-Why:  
I will take it 

http://www.freebsd.org/cgi/query-pr.cgi?pr=150115 
State-Changed-From-To: open->feedback 
State-Changed-By: pgollucci 
State-Changed-When: Mon Aug 30 21:27:25 UTC 2010 
State-Changed-Why:  
Request feedback you need an IGNORE= conditional for RUBY_VER 

http://www.freebsd.org/cgi/query-pr.cgi?pr=150115 

From: Eric <freebsdports@chillibear.com>
To: <bug-followup@FreeBSD.org>
Cc: <pgollucci@FreeBSD.org>
Subject: Re: ports/150115: New port: mail/rubygem-smtp_tls  (adds tls support
 to ruby 1.8.6)
Date: Wed, 08 Sep 2010 10:46:08 +0100

 > This message is in MIME format. Since your mail reader does not understand
 this format, some or all of this message may not be legible.
 
 --B_3366787576_66672246
 Content-type: text/plain;
 	charset="US-ASCII"
 Content-transfer-encoding: 7bit
 
 Thanks for the feedback, I've added
 
 .include <bsd.port.pre.mk>
 .if ${RUBY_VERSION_CODE} >= 187000
 IGNORE=    SMTP TLS is supported natively on Ruby >= 1.8.7
 .endif
 .include <bsd.port.post.mk>
 
 To the end of the Makefile to perform a check on the version of Ruby, as per
 Philip's suggestion.  I've included a fresh shar below (and attached) with
 the changes present.
 
 
 --BEGIN--
 
 
 # This is a shell archive.  Save it in a file, remove anything before
 # this line, and then unpack it by entering "sh file".  Note, it may
 # create directories; files and directories will be owned by you and
 # have default permissions.
 #
 # This archive contains:
 #
 #    rubygem-smtp_tls
 #    rubygem-smtp_tls/distinfo
 #    rubygem-smtp_tls/Makefile
 #    rubygem-smtp_tls/pkg-descr
 #
 echo c - rubygem-smtp_tls
 mkdir -p rubygem-smtp_tls > /dev/null 2>&1
 echo x - rubygem-smtp_tls/distinfo
 sed 's/^X//' >rubygem-smtp_tls/distinfo <<
 'd119de61ccd14f2404301d39e1d284be'
 XMD5 (rubygem/smtp_tls-1.0.3.gem) = 01a6b38a718c85f90e6d46eecd46d89a
 XSHA256 (rubygem/smtp_tls-1.0.3.gem) =
 fe5abcbcc3200e21dec2f9cf22657b9a3776c5e1210a5e7505097c3091dd5914
 XSIZE (rubygem/smtp_tls-1.0.3.gem) = 10240
 d119de61ccd14f2404301d39e1d284be
 echo x - rubygem-smtp_tls/Makefile
 sed 's/^X//' >rubygem-smtp_tls/Makefile <<
 '75bc3474f7a108687310bd97e6de6c76'
 X# Ports collection makefile for:    rubygem-smtp_tls
 X# Date created:                25 July 2010
 X# Whom:                    Eric Freeman <freebsdports@chillibear.com>
 X#
 X# $FreeBSD$
 X#
 X# NOTE that this gem is only required if you run Ruby 1.8.6
 X# SMTP TLS is built into Ruby 1.8.7+
 X#
 X
 XPORTNAME=    smtp_tls
 XPORTVERSION=    1.0.3
 XCATEGORIES=    mail rubygems
 XMASTER_SITES=    RG
 X
 XMAINTAINER=    freebsdports@chillibear.com
 XCOMMENT=    Provides SMTP STARTTLS support for Ruby 1.8.6
 X
 XRUN_DEPENDS=    rubygem-hoe>=2.3.2:${PORTSDIR}/devel/rubygem-hoe
 X
 XUSE_RUBY=        yes
 XUSE_RUBYGEMS=        yes
 XRUBYGEM_AUTOPLIST=    yes
 X
 X.include <bsd.port.pre.mk>
 X
 X.if ${RUBY_VERSION_CODE} >= 187000
 XIGNORE=    SMTP TLS is supported natively on Ruby >= 1.8.7
 X.endif
 X
 X.include <bsd.port.post.mk>
 75bc3474f7a108687310bd97e6de6c76
 echo x - rubygem-smtp_tls/pkg-descr
 sed 's/^X//' >rubygem-smtp_tls/pkg-descr <<
 '5a3ad6ba1c3579d0bd27b08dab138079'
 XProvides SMTP STARTTLS support for Ruby 1.8.6, this
 Xfunctionality is built-in for Ruby 1.8.7+.
 X
 XTo use simply: require 'smtp_tls' and use the
 XNet::SMTP#enable_starttls method to talk to
 Xservers that use STARTTLS.
 X
 XWWW: http://seattlerb.rubyforge.org/smtp_tls/
 5a3ad6ba1c3579d0bd27b08dab138079
 exit
 
 
 --B_3366787576_66672246
 Content-type: application/octet-stream; name="shar"
 Content-disposition: attachment;
 	filename="shar"
 Content-transfer-encoding: x-uuencode
 
 begin 644 shar
 M(R!4:&ES(&ES(&$@<VAE;&P@87)C:&EV92X@(%-A=F4@:70@:6X@82!F:6QE
 M+"!R96UO=F4@86YY=&AI;F<@8F5F;W)E"B,@=&AI<R!L:6YE+"!A;F0@=&AE
 M;B!U;G!A8VL@:70@8GD@96YT97)I;F<@(G-H(&9I;&4B+B`@3F]T92P@:70@
 M;6%Y"B,@8W)E871E(&1I<F5C=&]R:65S.R!F:6QE<R!A;F0@9&ER96-T;W)I
 M97,@=VEL;"!B92!O=VYE9"!B>2!Y;W4@86YD"B,@:&%V92!D969A=6QT('!E
 M<FUI<W-I;VYS+@HC"B,@5&AI<R!A<F-H:79E(&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E<R!33510(%-405)45$Q3('-U<'!O<G0@9F]R(%)U8GD@,2XX
 M+C8L('1H:7,@"EAF=6YC=&EO;F%L:71Y(&ES(&)U:6QT+6EN(&9O<B!2=6)Y
 M(#$N."XW*RX@"E@*6%1O('5S92!S:6UP;'DZ(')E<75I<F4@)W-M='!?=&QS
 M)R!A;F0@=7-E('1H92`*6$YE=#HZ4TU44"-E;F%B;&5?<W1A<G1T;',@;65T
 M:&]D('1O('1A;&L@=&\@"EAS97)V97)S('1H870@=7-E(%-405)45$Q3+@I8
 M"EA75U<Z(&AT='`Z+R]S96%T=&QE<F(N<G5B>69O<F=E+F]R9R]S;71P7W1L
 H<R\*-6$S860V8F$Q8S,U-SED,&)D,C=B,#AD86(Q,S@P-SD*97AI=``8
 `
 end
 --B_3366787576_66672246--
 
 
State-Changed-From-To: feedback->open 
State-Changed-By: pgollucci 
State-Changed-When: Wed Sep 8 17:02:39 UTC 2010 
State-Changed-Why:  
Feedback received 

http://www.freebsd.org/cgi/query-pr.cgi?pr=150115 
State-Changed-From-To: open->closed 
State-Changed-By: pgollucci 
State-Changed-When: Wed Sep 8 20:42:24 UTC 2010 
State-Changed-Why:  
Committed, Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=150115 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/150115: commit references a PR
Date: Wed,  8 Sep 2010 20:42:30 +0000 (UTC)

 pgollucci    2010-09-08 20:42:19 UTC
 
   FreeBSD ports repository
 
   Modified files:
     mail                 Makefile 
   Added files:
     mail/rubygem-smtp_tls Makefile distinfo pkg-descr 
   Log:
   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>
   
   Revision  Changes    Path
   1.1035    +1 -0      ports/mail/Makefile
   1.1       +31 -0     ports/mail/rubygem-smtp_tls/Makefile (new)
   1.1       +3 -0      ports/mail/rubygem-smtp_tls/distinfo (new)
   1.1       +8 -0      ports/mail/rubygem-smtp_tls/pkg-descr (new)
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
