Date: Thu, 24 Apr 2014 19:08:45 GMT From: C Hutchinson <portmaster@bsdforge.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/188971: [NEW_PORT] comms/sms_client : simple UNIX client allowing you to send SMS messages to mobile phones and pagers Message-ID: <201404241908.s3OJ8jV4044687@cgiserv.freebsd.org> Resent-Message-ID: <201404241910.s3OJA0ud004558@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 188971 >Category: ports >Synopsis: [NEW_PORT] comms/sms_client : simple UNIX client allowing you to send SMS messages to mobile phones and pagers >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 Apr 24 19:10:00 UTC 2014 >Closed-Date: >Last-Modified: >Originator: C Hutchinson >Release: releng_8, releng_9 >Organization: >Environment: >Description: New (technically; resurrected) port for/from comms/ category. Prot name: sms_client Version: 3.02 Description: A simple UNIX client allowing you to send SMS messages to mobile phones and pagers. The software currently supports a number of providers and protocols from various countries. Using an unlisted provider that allows TAP access should be pretty straight forward. There are a large number of services that do not appear to use TAP, but instead, simple user interfaces for interactive use by a user dialing up with a modem. For several UK based services such as these drivers have been written, note that providers often offer more that one service and as such you may require a different driver for each one. Please see attached sms_client.shar which contains the entire port, as perscribed by Porters Handbook. :) --Chris >How-To-Repeat: N/A >Fix: Add the attached port. 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: # # sms_client # sms_client/Makefile # sms_client/pkg-descr # sms_client/pkg-plist # sms_client/files # sms_client/files/Makefile.config # sms_client/files/patch-aa # sms_client/files/patch-ab # sms_client/files/patch-ac # sms_client/files/patch-ad # sms_client/files/patch-format.c # sms_client/files/patch-sms-services-att_web # sms_client/distinfo # echo c - sms_client mkdir -p sms_client > /dev/null 2>&1 echo x - sms_client/Makefile sed 's/^X//' >sms_client/Makefile << '955dba6a02722028443033c1d13bf778' X# New ports collection makefile for: sms_client X# Date created: 2014-04-24 09:02:34 X# Whom: C Hutchinson <portmaster@bsdforge.com> XPORTNAME= sms_client XPORTVERSION= 3.0.2 XPORTREVISION= 2 XCATEGORIES= comms XMASTER_SITES= http://bsdforge.com/projects/source/comms/sms_client/ X XMAINTAINER= portmaster@bsdforge.com XCOMMENT= A simple UNIX SMS client to send messages to phones or pagers X XLICENSE= BSD3CLAUSE X XHAS_CONFIGURE= yes XMAKE_JOBS_UNSAFE= yes XUSES= tar:xz X XMAN1= sms_client.1 X Xpost-configure: X @${SED} -e 's@gcc@${CC}@g' -e 's@-Wall@${CFLAGS} -Wall@g' \ X ${FILESDIR}/Makefile.config > ${WRKSRC}/Makefile.config X Xpost-patch: X @${MV} ${WRKSRC}/sms/services/vodafone_autralia \ X ${WRKSRC}/sms/services/vodafone_australia X @${RM} ${WRKSRC}/sms/services/att_web.orig X X.include <bsd.port.mk> 955dba6a02722028443033c1d13bf778 echo x - sms_client/pkg-descr sed 's/^X//' >sms_client/pkg-descr << '9dc19fb755d6aea04c19cb2712094530' XA simple UNIX client allowing you to send SMS messages to mobile phones Xand pagers. The software currently supports a number of providers Xand protocols from various countries. X XUsing an unlisted provider that allows TAP access should be pretty straight Xforward. X XThere are a large number of services that do not appear to use TAP, but Xinstead, simple user interfaces for interactive use by a user dialing up Xwith a modem. For several UK based services such as these drivers have been Xwritten, note that providers often offer more that one service and as such Xyou may require a different driver for each one. 9dc19fb755d6aea04c19cb2712094530 echo x - sms_client/pkg-plist sed 's/^X//' >sms_client/pkg-plist << 'd5ff41b093102e51c2a0bc725c265dd0' Xbin/sms_address Xbin/sms_client Xetc/sms/scripts/email Xetc/sms/services/a1 Xetc/sms/services/ampi Xetc/sms/services/answer Xetc/sms/services/att_web Xetc/sms/services/azcom Xetc/sms/services/bteasyreach Xetc/sms/services/btmessagemaster Xetc/sms/services/callmax Xetc/sms/services/cellnet Xetc/sms/services/cellnet_web Xetc/sms/services/d2 Xetc/sms/services/detemobil Xetc/sms/services/digifone Xetc/sms/services/eirpage Xetc/sms/services/eplus Xetc/sms/services/europolitan Xetc/sms/services/generic Xetc/sms/services/hello Xetc/sms/services/kpn Xetc/sms/services/libertel Xetc/sms/services/lycos_web Xetc/sms/services/minicall Xetc/sms/services/minicall_new Xetc/sms/services/mobistar Xetc/sms/services/mtn Xetc/sms/services/netcom Xetc/sms/services/nextel_web Xetc/sms/services/nz Xetc/sms/services/one2one Xetc/sms/services/orange Xetc/sms/services/orange_web Xetc/sms/services/pagenet_web Xetc/sms/services/pageone Xetc/sms/services/proximus Xetc/sms/services/proximus_web Xetc/sms/services/skytel1 Xetc/sms/services/skytel2 Xetc/sms/services/snpp Xetc/sms/services/swisscom Xetc/sms/services/telenor Xetc/sms/services/telia Xetc/sms/services/telstra Xetc/sms/services/tim Xetc/sms/services/ucp_tcp Xetc/sms/services/vodacom Xetc/sms/services/vodafone Xetc/sms/services/vodafone_australia Xetc/sms/services/vodafone_tap Xetc/sms/services/vodapage_block Xetc/sms/services/vstream Xetc/sms/sms_addressbook Xetc/sms/sms_config Xetc/sms/sms_daemons Xetc/sms/sms_modem Xetc/sms/sms_services X@dirrm var/spool/sms/services/vstream X@dirrm var/spool/sms/services/vodapage_block X@dirrm var/spool/sms/services/vodafone_tap X@dirrm var/spool/sms/services/vodafone_australia X@dirrm var/spool/sms/services/vodafone X@dirrm var/spool/sms/services/vodacom X@dirrm var/spool/sms/services/ucp_tcp X@dirrm var/spool/sms/services/tim X@dirrm var/spool/sms/services/telstra X@dirrm var/spool/sms/services/telia X@dirrm var/spool/sms/services/telenor X@dirrm var/spool/sms/services/swisscom X@dirrm var/spool/sms/services/snpp X@dirrm var/spool/sms/services/skytel2 X@dirrm var/spool/sms/services/skytel1 X@dirrm var/spool/sms/services/proximus_web X@dirrm var/spool/sms/services/proximus X@dirrm var/spool/sms/services/pageone X@dirrm var/spool/sms/services/pagenet_web X@dirrm var/spool/sms/services/orange_web X@dirrm var/spool/sms/services/orange X@dirrm var/spool/sms/services/one2one X@dirrm var/spool/sms/services/nz X@dirrm var/spool/sms/services/nextel_web X@dirrm var/spool/sms/services/netcom X@dirrm var/spool/sms/services/mtn X@dirrm var/spool/sms/services/mobistar X@dirrm var/spool/sms/services/minicall_new X@dirrm var/spool/sms/services/minicall X@dirrm var/spool/sms/services/lycos_web X@dirrm var/spool/sms/services/libertel X@dirrm var/spool/sms/services/kpn X@dirrm var/spool/sms/services/hello X@dirrm var/spool/sms/services/generic X@dirrm var/spool/sms/services/europolitan X@dirrm var/spool/sms/services/eplus X@dirrm var/spool/sms/services/eirpage X@dirrm var/spool/sms/services/digifone X@dirrm var/spool/sms/services/detemobil X@dirrm var/spool/sms/services/d2 X@dirrm var/spool/sms/services/cellnet_web X@dirrm var/spool/sms/services/cellnet X@dirrm var/spool/sms/services/callmax X@dirrm var/spool/sms/services/btmessagemaster X@dirrm var/spool/sms/services/bteasyreach X@dirrm var/spool/sms/services/azcom X@dirrm var/spool/sms/services/att_web X@dirrm var/spool/sms/services/answer X@dirrm var/spool/sms/services/ampi X@dirrm var/spool/sms/services/a1 X@dirrm var/spool/sms/services X@dirrm var/spool/sms/named_pipes X@dirrm var/spool/sms/locks X@dirrm var/spool/sms/incoming X@dirrm var/spool/sms/errors/vstream X@dirrm var/spool/sms/errors/vodapage_block X@dirrm var/spool/sms/errors/vodafone_tap X@dirrm var/spool/sms/errors/vodafone_australia X@dirrm var/spool/sms/errors/vodafone X@dirrm var/spool/sms/errors/vodacom X@dirrm var/spool/sms/errors/ucp_tcp X@dirrm var/spool/sms/errors/tim X@dirrm var/spool/sms/errors/telstra X@dirrm var/spool/sms/errors/telia X@dirrm var/spool/sms/errors/telenor X@dirrm var/spool/sms/errors/swisscom X@dirrm var/spool/sms/errors/snpp X@dirrm var/spool/sms/errors/skytel2 X@dirrm var/spool/sms/errors/skytel1 X@dirrm var/spool/sms/errors/proximus_web X@dirrm var/spool/sms/errors/proximus X@dirrm var/spool/sms/errors/pageone X@dirrm var/spool/sms/errors/pagenet_web X@dirrm var/spool/sms/errors/orange_web X@dirrm var/spool/sms/errors/orange X@dirrm var/spool/sms/errors/one2one X@dirrm var/spool/sms/errors/nz X@dirrm var/spool/sms/errors/nextel_web X@dirrm var/spool/sms/errors/netcom X@dirrm var/spool/sms/errors/mtn X@dirrm var/spool/sms/errors/mobistar X@dirrm var/spool/sms/errors/minicall_new X@dirrm var/spool/sms/errors/minicall X@dirrm var/spool/sms/errors/lycos_web X@dirrm var/spool/sms/errors/libertel X@dirrm var/spool/sms/errors/kpn X@dirrm var/spool/sms/errors/hello X@dirrm var/spool/sms/errors/generic X@dirrm var/spool/sms/errors/europolitan X@dirrm var/spool/sms/errors/eplus X@dirrm var/spool/sms/errors/eirpage X@dirrm var/spool/sms/errors/digifone X@dirrm var/spool/sms/errors/detemobil X@dirrm var/spool/sms/errors/d2 X@dirrm var/spool/sms/errors/cellnet_web X@dirrm var/spool/sms/errors/cellnet X@dirrm var/spool/sms/errors/callmax X@dirrm var/spool/sms/errors/btmessagemaster X@dirrm var/spool/sms/errors/bteasyreach X@dirrm var/spool/sms/errors/azcom X@dirrm var/spool/sms/errors/att_web X@dirrm var/spool/sms/errors/answer X@dirrm var/spool/sms/errors/ampi X@dirrm var/spool/sms/errors/a1 X@dirrm var/spool/sms/errors X@dirrm var/spool/sms X@dirrmtry var/spool X@dirrmtry var X@dirrm etc/sms/services X@dirrm etc/sms/scripts X@dirrm etc/sms d5ff41b093102e51c2a0bc725c265dd0 echo c - sms_client/files mkdir -p sms_client/files > /dev/null 2>&1 echo x - sms_client/files/Makefile.config sed 's/^X//' >sms_client/files/Makefile.config << 'e206171a8f808f46d4bdef449182f8f5' X# -------------------------------------------------------------------- X# SMS Client, send messages to mobile phones and pagers X# X# Makefile.config X# X# Copyright (C) 2014 portmaster - http://bsdforge.com X# Copyright (C) 1997,1998,1999,2000 Angelo Masci X# X# All rights reserved. X# X# -------------------------------------------------------------------- X# $Id$ X# -------------------------------------------------------------------- X X# -------------------------------------------------------------------- X# FreeBSD X# -------------------------------------------------------------------- X XPLATFORM = -DFREEBSD XCC = gcc XMAKE = make XCFLAGS = -g -I. -Wall -pedantic $(PLATFORM) XXTRALIBS = X X# -------------------------------------------------------------------- X XSMSUSER = bin XSMSGROUP = bin X X# -------------------------------------------------------------------- X XBINPREFIX = $(PREFIX) XETCPREFIX = $(PREFIX) XMANPREFIX = $(PREFIX) XSPOOLDIR = $(PREFIX)/var/spool XLOGDIR = $(PREFIX)/var/log X XMLOCALSMSRC = .sms_addressbook XMGLOBALSMSRC = $(ETCPREFIX)/etc/sms/sms_addressbook XMSERVICEDIR = $(ETCPREFIX)/etc/sms XMLOGFILE = $(LOGDIR)/smslog XMSNPPDLOGFILE = $(LOGDIR)/snppdlog XMSMSDLOGFILE = $(LOGDIR)/smsdlog X X# -------------------------------------------------------------------- X# SMS_Client can be built to use the libmodem package or its own X# internal modem routines. Currently the internal routines are known to X# be unstable and are still considered to be in ALPHA X# Valid Values for MODEMLIB are: X# X# $(LIBMODEM) - use the libmodem-1.0.0 packages with patches X# $(SMSMODEM) - use the internal modem routines X XLIBMODEM = 1 XSMSMODEM = 2 X XMODEMLIB = $(SMSMODEM) X X# -------------------------------------------------------------------- X XBINDIR = $(BINPREFIX)/bin XETCDIR = $(ETCPREFIX)/etc XMANDIR = $(MANPREFIX)/man XMANEXT = 1 XINSTALL = /usr/bin/install -c XRM = /bin/rm -f XCP = /bin/cp XTR = /usr/bin/tr XAR = /usr/bin/ar -rc XSTRIP = /usr/bin/strip XRANLIB = ranlib X X# -------------------------------------------------------------------- e206171a8f808f46d4bdef449182f8f5 echo x - sms_client/files/patch-aa sed 's/^X//' >sms_client/files/patch-aa << '8d66b2550a1d290bfb1f58a99cb9df25' X--- src/server/Makefile.orig 2014-04-24 10:55:35.585792550 -0700 X+++ src/server/Makefile 2014-04-24 10:56:14.807867981 -0700 X@@ -19,7 +19,6 @@ X all: ../../bin/smsd ../../bin/snppd X X install: ../../bin/smsd ../../bin/snppd X- $(INSTALL) -o $(SMSUSER) -g $(SMSGROUP) -m 755 -d $(BINDIR) X $(INSTALL) -o $(SMSUSER) -g $(SMSGROUP) -m 755 -s ../../bin/smsd $(BINDIR) X $(INSTALL) -o $(SMSUSER) -g $(SMSGROUP) -m 755 -s ../../bin/snppd $(BINDIR) 8d66b2550a1d290bfb1f58a99cb9df25 echo x - sms_client/files/patch-ab sed 's/^X//' >sms_client/files/patch-ab << '6472acdc2097c6c0a709b3ae58b6c339' X--- docs/Makefile.orig 2014-04-24 10:47:20.378314784 -0700 X+++ docs/Makefile 2014-04-24 10:48:30.004552476 -0700 X@@ -20,7 +20,6 @@ X $(CP) sms_client.man sms_client.$(MANEXT) X X install: sms_client.$(MANEXT) X- $(INSTALL) -o $(SMSUSER) -g $(SMSGROUP) -m 755 -d $(MANDIR)/man$(MANEXT) X $(INSTALL) -o $(SMSUSER) -g $(SMSGROUP) -m 644 sms_client.$(MANEXT) $(MANDIR)/man$(MANEXT) X X uninstall: 6472acdc2097c6c0a709b3ae58b6c339 echo x - sms_client/files/patch-ac sed 's/^X//' >sms_client/files/patch-ac << 'dfd76ace61db65b847e7d46279c56778' X--- src/queue/Makefile.orig 2014-04-24 11:04:01.471374097 -0700 X+++ src/queue/Makefile 2014-04-24 11:04:32.855637181 -0700 X@@ -20,7 +20,6 @@ X all: ../../bin/sms_queue X X install: ../../bin/sms_queue X- $(INSTALL) -m 755 -d $(BINDIR) X $(INSTALL) -s -o $(SMSUSER) -g $(SMSGROUP) -m 755 ../../bin/sms_queue $(BINDIR) X X uninstall: dfd76ace61db65b847e7d46279c56778 echo x - sms_client/files/patch-ad sed 's/^X//' >sms_client/files/patch-ad << 'a310036a393750fa9b73575195f82851' X--- src/client/Makefile.orig 2014-04-24 11:08:01.111278611 -0700 X+++ src/client/Makefile 2014-04-24 11:08:12.588472500 -0700 X@@ -20,7 +20,6 @@ X all: ../../bin/sms_client ../../bin/sms_address X X install: ../../bin/sms_client ../../bin/sms_address X- $(INSTALL) -o $(SMSUSER) -g $(SMSGROUP) -m 755 -d $(BINDIR) X $(INSTALL) -o $(SMSUSER) -g $(SMSGROUP) -m 755 -s ../../bin/sms_client $(BINDIR) X $(INSTALL) -o $(SMSUSER) -g $(SMSGROUP) -m 755 -s ../../bin/sms_address $(BINDIR) a310036a393750fa9b73575195f82851 echo x - sms_client/files/patch-format.c sed 's/^X//' >sms_client/files/patch-format.c << 'e04a8ce059eb6617ec4c824842de2efa' X--- src/common/format.c.orig 2014-04-24 11:16:10.068089322 -0700 X+++ src/common/format.c 2014-04-24 11:17:12.226546612 -0700 X@@ -249,6 +249,7 @@ X break; X X default: X+ break; X } X X fmt++; e04a8ce059eb6617ec4c824842de2efa echo x - sms_client/files/patch-sms-services-att_web sed 's/^X//' >sms_client/files/patch-sms-services-att_web << 'a4bf634a259d026ef22d1c4d71b259ad' X--- sms/services/att_web.orig 2014-04-24 11:36:45.038436392 -0700 X+++ sms/services/att_web 2014-04-24 11:37:30.333143680 -0700 X@@ -3,7 +3,7 @@ X # -------------------------------------------------------------------- X X { X- SMS_url = "http://www.mobile.att.net/mc/mc_pagersend.cgi" X+ SMS_url = "http://www.mymmode.com/messagecenter/pagersend.cgi" X } X X # -------------------------------------------------------------------- a4bf634a259d026ef22d1c4d71b259ad echo x - sms_client/distinfo sed 's/^X//' >sms_client/distinfo << '5bd9ef647bf02a1969de989864a13109' XSHA256 (sms_client-3.0.2.tar.xz) = cc9f65c44ab0bf106035cf065c88e7bdfd7fc3c70f8a426fdaf2a241dcf070da XSIZE (sms_client-3.0.2.tar.xz) = 113244 5bd9ef647bf02a1969de989864a13109 exit >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201404241908.s3OJ8jV4044687>