ports/90528: [NEW PORT] www/sendsms: Simple perl command-line utility to send SMS via from on provider site

Ion-Mihai IOnut Tetcu itetcu at people.tecnik93.com
Sat Dec 17 03:40:06 UTC 2005


>Number:         90528
>Category:       ports
>Synopsis:       [NEW PORT] www/sendsms: Simple perl command-line utility to send SMS via from on provider site
>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:   Sat Dec 17 03:40:02 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Ion-Mihai "IOnut" Tetcu
>Release:        FreeBSD 6.0-STABLE i386
>Organization:
Tecnik'93 
>Environment:


System: FreeBSD 6.0-STABLE #5: Thu Dec  1 02:08:55 EET 2005


>Description:


My 20th port :)


If you have an AT&T Wireless, Bell Canada/Bell Mobility, Cellular One,
Cingular, Cricket, Sprint PCS, SkyTel, or T-Mobile cell phone or pager, and you
want the ability to send SMS messages to it via a command-line utility, this is
what you need. All this program requires is a computer with a baseline Perl 5.x
installation and web access. NO EXTRA PERL MODULES REQUIRED!

How does it work?
SendSMS connects to your service provider's web page and pretends to submit a
form to their 'Instant Messaging' web page. Currently, AT&T Wireless, Bell
Canada/Bell Mobility, Cellular One, Cingular, Cricket, SkyTel, Sprint PCS, and
T-Mobile are supported. Users are encouraged to modify the provided templates to
add support for any providers who are currently unsupported.

Other Service Providers
If you are interested in supporting another service provider please try to
modify sendSMS on your own. It is not hard at all. Instructions and examples are
included in the code, and if you're familiar with the site you're porting to, it
takes about 15 minutes. If you get sendSMS working with any other providers' web
sites, please email Paul Kreiner [deacon at thedeacon.org] and/or the port
maintainer a patch so it can be added to the next release.

WWW: http://caspian.dotconf.net/menu/Software/SendSMS/


>How-To-Repeat:





>Fix:


--- sendsms.shar begins here ---
# 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:
#
#	sendsms
#	sendsms/Makefile
#	sendsms/distinfo
#	sendsms/pkg-descr
#	sendsms/pkg-plist
#
echo c - sendsms
mkdir -p sendsms > /dev/null 2>&1
echo x - sendsms/Makefile
sed 's/^X//' >sendsms/Makefile << 'END-of-sendsms/Makefile'
X# New ports collection makefile for:	www/sendsms
X# Date created:				2005-12-17
X# Whom:			Ion-Mihai "IOnut" Tetcu <itetcu at people.tecnik93.com>
X#
X# $FreeBSD$
X# $Tecnik: ports/www/sendsms/Makefile,v 1.1 2005/12/17 03:27:10 itetcu Exp $
X
XPORTNAME=	sendsms
XPORTVERSION=	0.2.3
XCATEGORIES=	net perl5
XMASTER_SITES=	http://caspian.dotconf.net/menu/Software/SendSMS/ \
X	http://people.tecnik93.com/~itetcu/FreeBSD/ports/${PORTNAME}/sources/
XDISTNAME=	sendSMS.pl
XEXTRACT_SUFX=	.gz
X
XMAINTAINER=	itetcu at people.tecnik93.com
XCOMMENT=	Simple perl command-line utility to send SMS via from on provider site
X
XEXTRACT_AFTER_ARGS=	> ${WRKSRC}/${PORTNAME}
X
XCONFLICTS=	smstools-[0-9]*
X
XNO_BUILD=	yes
XNO_WRKSUBDIR=	yes
XUSE_PERL_RUN=	yes
X
Xpost-patch:
X	@${PERL} -pi -e "s,/usr/bin/perl,${PERL},g" ${WRKSRC}/${PORTNAME}
X
Xdo-install:
X	cd ${WRKSRC} && ${INSTALL_SCRIPT} ${PORTNAME} ${PREFIX}/bin/${PORTNAME}
X
X.include <bsd.port.mk>
END-of-sendsms/Makefile
echo x - sendsms/distinfo
sed 's/^X//' >sendsms/distinfo << 'END-of-sendsms/distinfo'
XMD5 (sendSMS.pl.gz) = c2658e1cd3ad0594c492bfbedb2fc023
XSHA256 (sendSMS.pl.gz) = d30e65c58fa626641939d9d413c29859cc80dbcdd76cadddbad866c2227f5e68
XSIZE (sendSMS.pl.gz) = 12725
END-of-sendsms/distinfo
echo x - sendsms/pkg-descr
sed 's/^X//' >sendsms/pkg-descr << 'END-of-sendsms/pkg-descr'
XIf you have an AT&T Wireless, Bell Canada/Bell Mobility, Cellular One,
XCingular, Cricket, Sprint PCS, SkyTel, or T-Mobile cell phone or pager, and you
Xwant the ability to send SMS messages to it via a command-line utility, this is
Xwhat you need. All this program requires is a computer with a baseline Perl 5.x
Xinstallation and web access. NO EXTRA PERL MODULES REQUIRED!
X
XHow does it work?
XSendSMS connects to your service provider's web page and pretends to submit a
Xform to their 'Instant Messaging' web page. Currently, AT&T Wireless, Bell 
XCanada/Bell Mobility, Cellular One, Cingular, Cricket, SkyTel, Sprint PCS, and 
XT-Mobile are supported. Users are encouraged to modify the provided templates to
Xadd support for any providers who are currently unsupported. 
X
XOther Service Providers
XIf you are interested in supporting another service provider please try to
Xmodify sendSMS on your own. It is not hard at all. Instructions and examples are
Xincluded in the code, and if you're familiar with the site you're porting to, it
Xtakes about 15 minutes. If you get sendSMS working with any other providers' web
Xsites, please email Paul Kreiner [deacon at thedeacon.org] and/or the port
Xmaintainer a patch so it can be added to the next release.
X
XWWW: http://caspian.dotconf.net/menu/Software/SendSMS/
END-of-sendsms/pkg-descr
echo x - sendsms/pkg-plist
sed 's/^X//' >sendsms/pkg-plist << 'END-of-sendsms/pkg-plist'
Xbin/sendsms
END-of-sendsms/pkg-plist
exit

--- sendsms.shar ends here ---



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



More information about the freebsd-ports-bugs mailing list