Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Dec 2010 10:14:20 GMT
From:      John Bayly <freebsd.ports@tipstrade.net>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/152772: Perl module to access Clickatell SMS messaging service
Message-ID:  <201012021014.oB2AEKRn013278@red.freebsd.org>
Resent-Message-ID: <201012021020.oB2AK9Du005347@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         152772
>Category:       ports
>Synopsis:       Perl module to access Clickatell SMS messaging service
>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:   Thu Dec 02 10:20:08 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     John Bayly
>Release:        7.3-RELEASE-p2
>Organization:
>Environment:
FreeBSD rack 7.3-RELEASE-p2 FreeBSD 7.3-RELEASE-p2 #6: Thu Oct 14 15:19:25 GMT 2010     -----:/usr/obj/usr/src/sys/S5500BC  amd64
>Description:
New Port: net/p5-Net-SMS-Clickatell
A simple perl module that provides acess the Clickatell SMS API over HTTP/s
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

# 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:
#
#	p5-Net-SMS-Clickatell
#	p5-Net-SMS-Clickatell/files
#	p5-Net-SMS-Clickatell/files/patch-lib-Net-SMS-Clickatell.pm
#	p5-Net-SMS-Clickatell/distinfo
#	p5-Net-SMS-Clickatell/pkg-descr
#	p5-Net-SMS-Clickatell/pkg-plist
#	p5-Net-SMS-Clickatell/Makefile
#
echo c - p5-Net-SMS-Clickatell
mkdir -p p5-Net-SMS-Clickatell > /dev/null 2>&1
echo c - p5-Net-SMS-Clickatell/files
mkdir -p p5-Net-SMS-Clickatell/files > /dev/null 2>&1
echo x - p5-Net-SMS-Clickatell/files/patch-lib-Net-SMS-Clickatell.pm
sed 's/^X//' >p5-Net-SMS-Clickatell/files/patch-lib-Net-SMS-Clickatell.pm << 'ea282a362a51e5b1470bd137197ecd8a'
X--- lib/Net/SMS/Clickatell.pm.orig	2004-11-30 16:20:13.000000000 +0000
X+++ lib/Net/SMS/Clickatell.pm	2010-12-02 00:57:10.000000000 +0000
X@@ -89,7 +89,7 @@
X   if(!exists $args{BaseURL}) {
X     # BaseURL argument wasn't passed. Set it to default.
X     # Check if we have to use SSL.
X-    if(exists $args{UseSSL}) {
X+    if($args{UseSSL}) {
X       $args{BaseURL} = 'https://api.clickatell.com';
X     } else {
X       $args{BaseURL} = 'http://api.clickatell.com';
X@@ -97,7 +97,7 @@
X   } else {
X     # Set BaseURL property value.
X     # Check if we have to use SSL.
X-    if(exists $args{UseSSL}) {
X+    if($args{UseSSL}) {
X       $args{BaseURL} = 'https://'.$args{BaseURL};
X     } else {
X       $args{BaseURL} = 'http://'.$args{BaseURL};
ea282a362a51e5b1470bd137197ecd8a
echo x - p5-Net-SMS-Clickatell/distinfo
sed 's/^X//' >p5-Net-SMS-Clickatell/distinfo << 'cdc06f83b3e89f8fef606140adcd81c3'
XSHA256 (Net-SMS-Clickatell-0.05.tar.gz) = 50475cd5b40e0322b72fe5ff5259ecf110bd8a11243549897383f3e14cc9f524
XSIZE (Net-SMS-Clickatell-0.05.tar.gz) = 3924
cdc06f83b3e89f8fef606140adcd81c3
echo x - p5-Net-SMS-Clickatell/pkg-descr
sed 's/^X//' >p5-Net-SMS-Clickatell/pkg-descr << '2869e8f1b67581282cb683c45b70b515'
XNet::SMS::Clickatell - Access to Clickatell SMS messaging service.
XClickatell is a commercial service that allows its users to send SMS messages
Xto anyone in the world. This service supports many ways to send messages, for
Xexample HTTP, SMTP and SMPP, among others.
X
XWWW:    http://search.cpan.org/dist/Net-SMS-Clickatell-0.05/
2869e8f1b67581282cb683c45b70b515
echo x - p5-Net-SMS-Clickatell/pkg-plist
sed 's/^X//' >p5-Net-SMS-Clickatell/pkg-plist << 'b8d222126a53689184e3346cd46701d2'
X%%SITE_PERL%%/Net/SMS/Clickatell.pm
X%%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/SMS/Clickatell/.packlist
X@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/SMS/Clickatell
X@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Net/SMS
X@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Net
X@dirrmtry %%SITE_PERL%%/Net/SMS
X@dirrmtry %%SITE_PERL%%/Net
b8d222126a53689184e3346cd46701d2
echo x - p5-Net-SMS-Clickatell/Makefile
sed 's/^X//' >p5-Net-SMS-Clickatell/Makefile << 'affd24a1d05f3803d7df08d45ba4e72d'
X# New ports collection makefile for:	p5-Net-SMS-Clickatell
X# Date created:		2010-12-01
X# Whom:			John Bayly <freebsd.ports@tipstrade.net>
X#
X# $FreeBSD: $
X#
X
XPORTNAME=	Net-SMS-Clickatell
XPORTVERSION=	0.05
XCATEGORIES=	net perl5
XMASTER_SITES=	CPAN
XPKGNAMEPREFIX=	p5-
X
XMAINTAINER=	freebsd.ports@tipstrade.net
XCOMMENT=	Access to Clickatell SMS messaging service
X
XPERL_CONFIGURE=	yes
X
XMAN3=		Net::SMS::Clickatell.3
X
X.include <bsd.port.mk>
affd24a1d05f3803d7df08d45ba4e72d
exit



>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201012021014.oB2AEKRn013278>