From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Aug 30 11:50:03 2010 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A6A021065748 for ; Mon, 30 Aug 2010 11:50:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 838F48FC27 for ; Mon, 30 Aug 2010 11:50:03 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o7UBo3aC032187 for ; Mon, 30 Aug 2010 11:50:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o7UBo3qM032186; Mon, 30 Aug 2010 11:50:03 GMT (envelope-from gnats) Resent-Date: Mon, 30 Aug 2010 11:50:03 GMT Resent-Message-Id: <201008301150.o7UBo3qM032186@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Eric Freeman Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D54691065674 for ; 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 ; 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 ; 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 To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/150115: New port: mail/rubygem-smtp_tls (adds tls support to ruby 1.8.6) X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Aug 2010 11:50:03 -0000 >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: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Aug 30 11:50:03 UTC 2010 >Closed-Date: >Last-Modified: >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 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 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: >Unformatted: