diff options
| author | Philip M. Gollucci <pgollucci@FreeBSD.org> | 2010-12-10 04:50:56 +0000 |
|---|---|---|
| committer | Philip M. Gollucci <pgollucci@FreeBSD.org> | 2010-12-10 04:50:56 +0000 |
| commit | 584292a25ad2f0eb3a79ce50c847bb83a699ec25 (patch) | |
| tree | 25449b27f45e0f1a5e342047fd2ec7f804e20795 /net/p5-Net-SMS-Clickatell/files/patch-lib-Net-SMS-Clickatell.pm | |
| parent | OhlohWidgetsMacro is a plugin for Trac which embeds Ohloh widgets. (diff) | |
Net::SMS::Clickatell - Access to Clickatell SMS messaging service.
Clickatell is a commercial service that allows its users to send SMS messages
to anyone in the world. This service supports many ways to send messages, for
example HTTP, SMTP and SMPP, among others.
WWW: http://search.cpan.org/dist/Net-SMS-Clickatell-0.05/
PR: ports/152772
Submitted by: John Bayly <freebsd.ports at tipstrade.net>
Notes
Notes:
svn path=/head/; revision=265960
Diffstat (limited to 'net/p5-Net-SMS-Clickatell/files/patch-lib-Net-SMS-Clickatell.pm')
| -rw-r--r-- | net/p5-Net-SMS-Clickatell/files/patch-lib-Net-SMS-Clickatell.pm | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/net/p5-Net-SMS-Clickatell/files/patch-lib-Net-SMS-Clickatell.pm b/net/p5-Net-SMS-Clickatell/files/patch-lib-Net-SMS-Clickatell.pm new file mode 100644 index 000000000000..a53bdd6d9311 --- /dev/null +++ b/net/p5-Net-SMS-Clickatell/files/patch-lib-Net-SMS-Clickatell.pm @@ -0,0 +1,20 @@ +--- lib/Net/SMS/Clickatell.pm.orig 2004-11-30 16:20:13.000000000 +0000 ++++ lib/Net/SMS/Clickatell.pm 2010-12-02 00:57:10.000000000 +0000 +@@ -89,7 +89,7 @@ + if(!exists $args{BaseURL}) { + # BaseURL argument wasn't passed. Set it to default. + # Check if we have to use SSL. +- if(exists $args{UseSSL}) { ++ if($args{UseSSL}) { + $args{BaseURL} = 'https://api.clickatell.com'; + } else { + $args{BaseURL} = 'http://api.clickatell.com'; +@@ -97,7 +97,7 @@ + } else { + # Set BaseURL property value. + # Check if we have to use SSL. +- if(exists $args{UseSSL}) { ++ if($args{UseSSL}) { + $args{BaseURL} = 'https://'.$args{BaseURL}; + } else { + $args{BaseURL} = 'http://'.$args{BaseURL}; |
