aboutsummaryrefslogtreecommitdiff
path: root/misc/smssend
diff options
context:
space:
mode:
authorKevin Lo <kevlo@FreeBSD.org>2001-01-23 07:46:34 +0000
committerKevin Lo <kevlo@FreeBSD.org>2001-01-23 07:46:34 +0000
commit58a05a1a31be2a037f5de10f6c27b7f72682e673 (patch)
tree2fad101ccfd857ab1243ad0be35f1673227f3e5e /misc/smssend
parentc62225cc7768a74563f71b3144e1668e9b0b2294 (diff)
downloadports-58a05a1a31be2a037f5de10f6c27b7f72682e673.tar.gz
ports-58a05a1a31be2a037f5de10f6c27b7f72682e673.zip
Notes
Diffstat (limited to 'misc/smssend')
-rw-r--r--misc/smssend/Makefile3
-rw-r--r--misc/smssend/distinfo2
-rw-r--r--misc/smssend/files/ingyensms.sms26
-rw-r--r--misc/smssend/files/patch-aa15
-rw-r--r--misc/smssend/files/patch-ab35
-rw-r--r--misc/smssend/files/rekom.sms25
-rw-r--r--misc/smssend/files/w777.sms26
-rw-r--r--misc/smssend/pkg-plist8
8 files changed, 138 insertions, 2 deletions
diff --git a/misc/smssend/Makefile b/misc/smssend/Makefile
index 15edc0ae8131..c41b30626a57 100644
--- a/misc/smssend/Makefile
+++ b/misc/smssend/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= smssend
-PORTVERSION= 2.2
+PORTVERSION= 2.3
CATEGORIES= misc
MASTER_SITES= http://zekiller.skytech.org/fichiers/smssend/
@@ -21,5 +21,6 @@ CONFIGURE_ARGS= --prefix=${PREFIX}
post-install:
strip ${PREFIX}/bin/smssend
+ ${INSTALL_DATA} ${FILESDIR}/*.sms ${PREFIX}/share/smssend
.include <bsd.port.mk>
diff --git a/misc/smssend/distinfo b/misc/smssend/distinfo
index 679dde5088c5..ffe730648e13 100644
--- a/misc/smssend/distinfo
+++ b/misc/smssend/distinfo
@@ -1 +1 @@
-MD5 (smssend-2.2.tar.gz) = f1c966522cee91f5894003dc2ae6c94d
+MD5 (smssend-2.3.tar.gz) = 9f8da80cb972f1007c74e49d1e469be4
diff --git a/misc/smssend/files/ingyensms.sms b/misc/smssend/files/ingyensms.sms
new file mode 100644
index 000000000000..bd88395026e5
--- /dev/null
+++ b/misc/smssend/files/ingyensms.sms
@@ -0,0 +1,26 @@
+## SkySMS provider file - www.ingyensms.hu ##
+# Version 1.02
+# by Elso Andras <ea333@freemail.hu>
+# Error codes :
+# 1 -> Error sending message
+
+NbParams 3
+%Provider : Network number: 88-Vodafone, 89-Pannon GSM, 90-Westel, 91-Westel0660)
+%Tel : Hungarian GSM number, 7 digits, eg. 9123456
+%Message Size=130 Convert : Message
+
+# Get the page
+GetURL http://www.ingyensms.hu/sms2/dyn/sms_public_pages.phone_Q
+GO
+# send the message
+PostURL http://www.ingyensms.hu/sms2/dyn/sms_public_pages.phone_A
+Referer http://www.ingyensms.hu/sms2/dyn/sms_public_pages.phone_Q
+PostData p_id=\%Provider%&p_phone=\%Tel%&p_msg=\%Message%&p_response_rq=false
+
+# Search for errors
+Search elkьld
+PrintMsg Message successfully sent.
+Else
+ErrorMsg 1 Error sending message.
+GO
+
diff --git a/misc/smssend/files/patch-aa b/misc/smssend/files/patch-aa
new file mode 100644
index 000000000000..631c018f840b
--- /dev/null
+++ b/misc/smssend/files/patch-aa
@@ -0,0 +1,15 @@
+--- skyutils-1.09/skyutils.h.old Mon Jan 8 14:19:04 2001
++++ skyutils-1.09/skyutils.h Sat Jan 20 12:54:57 2001
+@@ -35,11 +35,8 @@
+ #define strncasecmp strnicmp
+ #endif
+
+-#ifdef MSG_NOSIGNAL
++#define MSG_NOSIGNAL 0
+ #define SU_MSG_NOSIGNAL MSG_NOSIGNAL
+-#else
+-#define SU_MSG_NOSIGNAL 0
+-#endif
+
+ #ifndef INADDR_NONE
+ #define INADDR_NONE -1
diff --git a/misc/smssend/files/patch-ab b/misc/smssend/files/patch-ab
new file mode 100644
index 000000000000..9a2ee5fc306c
--- /dev/null
+++ b/misc/smssend/files/patch-ab
@@ -0,0 +1,35 @@
+--- skyutils-1.09/web.c.old Mon Jan 8 15:02:21 2001
++++ skyutils-1.09/web.c Sat Jan 20 13:03:16 2001
+@@ -74,7 +74,7 @@
+ char *ExtractPath(char *URL,bool proxy)
+ {
+ char *path;
+- int i;
++/* int i; */
+
+ if(proxy)
+ {
+@@ -86,13 +86,13 @@
+ }
+ }
+ path = strdup(URL);
+- i = strlen(path);
++/* i = strlen(path);
+ if(i != 1)
+ {
+ while(path[i] != '/')
+ i--;
+ path[i+1] = 0;
+- }
++ }*/
+ return path;
+ }
+
+@@ -555,6 +555,7 @@
+ tmp2 = (char *) malloc(blen2);
+ snprintf(tmp2,blen2,"%s*",((SU_PCookie)Ptr->Data)->Path);
+ tmp3 = ExtractPath(Act->URL,proxy);
++// tmp3 = Act->URL;
+ if(SU_strwcmp(tmp3,tmp2))
+ do_it = true;
+ free(tmp2);
diff --git a/misc/smssend/files/rekom.sms b/misc/smssend/files/rekom.sms
new file mode 100644
index 000000000000..46e44658845c
--- /dev/null
+++ b/misc/smssend/files/rekom.sms
@@ -0,0 +1,25 @@
+## ReKom provider file - www.rekom.ru ##
+# Version 1.00
+# by Ernest Moshkov <erzy@sc.ru>
+# Error codes :
+# 1 -> Bad input phone number
+# 2 -> Error sending message
+
+NbParams 2
+%Tel : The number should be seven-digital with prefix 7902 (For example 7902xxxxxxx)
+%Message Size=160 Convert : Your message
+
+# Sending message
+GetURL http://www.rekom.ru/sms/
+GO
+PostURL http://www.rekom.ru/sms/
+Referer http://www.rekom.ru/sms/
+PostData number=\%Tel%&mess=\%Message%&count=0&send_ok=O%D4%D0%D2%C1%D7%C9%D4%D8
+
+Search сообщение отправлено
+PrintMsg Message successfully sent
+ElseSearch номер введен неверно
+ErrorMsg 1 Bad input phone number!
+Else
+ErrorMsg 2 Error sending message
+GO
diff --git a/misc/smssend/files/w777.sms b/misc/smssend/files/w777.sms
new file mode 100644
index 000000000000..173f82b41d5a
--- /dev/null
+++ b/misc/smssend/files/w777.sms
@@ -0,0 +1,26 @@
+## SkySMS provider file - www.777sms.hu ##
+# Version 1.02
+# by Elso Andras <ea333@freemail.hu>
+# Error codes :
+# 1 -> Error sending message
+
+NbParams 3
+%Provider : Network number (20-Pannon, 30-Westel, 70-VodaFone, 60-Westel60)
+%Tel : Hungarian GSM number, 7 digits, eg. 9123456
+%Message Size=130 Convert : Message
+
+GetURL http://www.777sms.hu/web777/oldal.html
+Referer http://www.777sms.hu/index.html
+GO
+# send the message
+PostURL http://www.777sms.hu/777web/sms
+Referer http://www.777sms.hu/web777/oldal.html
+PostData ext=36\%Provider%&msisdn=\%Tel%&sms=\%Message%&cnt=1
+
+# Search for errors
+Search Az SMS
+PrintMsg Message successfully sent.
+Else
+ErrorMsg 1 Error sending message.
+GO
+
diff --git a/misc/smssend/pkg-plist b/misc/smssend/pkg-plist
index b7765b009027..3d934932a234 100644
--- a/misc/smssend/pkg-plist
+++ b/misc/smssend/pkg-plist
@@ -3,20 +3,28 @@ bin/email2smssend
share/smssend/6sens.sms
share/smssend/banana.sms
share/smssend/billiger.sms
+share/smssend/eurotel.sms
share/smssend/free-sms.sms
share/smssend/kiwee-inter.sms
share/smssend/kiwee-pseudo.sms
share/smssend/kiwee.sms
share/smssend/koodpo.sms
share/smssend/kostenlos.sms
+share/smssend/libertysurf.sms
share/smssend/lycos.sms
share/smssend/mobimel.sms
share/smssend/mtnsms.sms
+share/smssend/mts.sms
+share/smssend/oskar.sms
share/smssend/paegas.sms
share/smssend/passagen.sms
share/smssend/sfr.sms
share/smssend/smsboy.sms
+share/smssend/smspress.sms
share/smssend/totalise.sms
share/smssend/unimobile.sms
share/smssend/vlf.sms
+share/smssend/ingyensms.sms
+share/smssend/rekom.sms
+share/smssend/w777.sms
@dirrm share/smssend