Browse Source

app-mobilephone/smssend: add ebuild removed from portage

pull/14/head
Alexander Golubev 2 years ago
parent
commit
b28f05ee88

+ 1
- 0
app-mobilephone/smssend/Manifest View File

@@ -0,0 +1 @@
1
+DIST smssend-3.4.tar.gz 407556 SHA256 1f402c34fb61c409488a7806e53aac349038758eef431376714d206de9bf13d0 SHA512 028826fdaff932a8c384d510155af4e868665e1c6989cd6856067128a445a850ef35d6701b8daa73d0ed41ee193e26a2034c0b4a03ea2a35113973ee00d71d8d WHIRLPOOL 14862a733aafd18e6ba0a9d122749e8867216ecbdae150ba8da2df139cdb9914697eba92d93de51083554e5d12bd23a60cb1dd20648a1df42ad009bd8d9061ee

+ 34
- 0
app-mobilephone/smssend/files/smssend-3.4-verizon.diff View File

@@ -0,0 +1,34 @@
1
+diff -Nur smssend-3.4/scripts/Makefile.am smssend-3.4-new/scripts/Makefile.am
2
+--- smssend-3.4/scripts/Makefile.am	2004-01-11 13:31:29.000000000 -0500
3
++++ smssend-3.4-new/scripts/Makefile.am	2004-12-16 02:01:28.141681368 -0500
4
+@@ -2,6 +2,6 @@
5
+ 
6
+ AUTOMAKE_OPTIONS = no-dependencies dist-shar
7
+ 
8
+-pkgdata_DATA = 130sms.sms 1rstwap.sms 6sensreg.sms 6sens.sms a1_globalsms.sms amazonia.sms americel.sms armgsm.sms atl.sms attwireless.sms banana.sms basemine.sms bcp.sms bell.sms bol_rus.sms bol.sms boltblue.sms bramka.sms bwc.sms clarodigital.sms claro.sms clubmessage.sms comcel.sms coolsmsdk-fast.sms coolsmsdk.sms cosmos.sms cricket.sms ebol.sms e-merge.sms ems-iwarp.sms ermak_rus.sms etsity.sms eurobate.sms eurotel.sms everyday.sms exoset.sms extel-gsm.sms fajront.sms fido.sms freenet.sms freesmsau.sms ft.sms globtel.sms gmxde.sms goingtonight.sms golden.sms gomobile.sms gorizont-rt.sms gtnet.sms halebop.sms hooya.sms hotsms.sms indosat-m3.sms info2you.sms ingyensms.sms inwind.sms iol.sms kiyvstar.sms kyivstar.sms lycosde.sms lycosse.sms lycos.sms lycosuk.sms mageos.sms maxitel.sms megaforums.sms mobimel.sms mobitag.sms mobitel.sms mtnsms.sms mtsmb.sms mts.sms mtsspb.sms mufa.sms mybegin.sms natelskyline.sms netcom.sms netzquadrat.sms nwgsm.sms o2-genie.sms oi.sms onelv.sms orangeportal.sms orange.sms orf.sms oskar.sms paegas.sms pager.sms passagen.sms planet.sms plus.sms proximus.sms quick.sms rekom.sms rogers.sms room33.sms scs-900.sms sfr.sms simobil.sms smarts.sms sms_ac.sms smsitaly.sms smspress.sms smsro.sms sprintpcs.sms starhub.sms suomi24.sms surfeu.sms tango.sms tankssms.sms telebahiacelular.sms telemig.sms telering.sms tess.sms timnordeste.sms timsul.sms t-mobile.sms totalise.sms touristik.sms ubootflash.sms uboot.sms umail.sms umc.sms unimobile.sms universal.sms vivo.sms vizzavifr.sms vizzavigr.sms vizzaviuk.sms vodacom.sms yab.sms
9
++pkgdata_DATA = 130sms.sms 1rstwap.sms 6sensreg.sms 6sens.sms a1_globalsms.sms amazonia.sms americel.sms armgsm.sms atl.sms attwireless.sms banana.sms basemine.sms bcp.sms bell.sms bol_rus.sms bol.sms boltblue.sms bramka.sms bwc.sms clarodigital.sms claro.sms clubmessage.sms comcel.sms coolsmsdk-fast.sms coolsmsdk.sms cosmos.sms cricket.sms ebol.sms e-merge.sms ems-iwarp.sms ermak_rus.sms etsity.sms eurobate.sms eurotel.sms everyday.sms exoset.sms extel-gsm.sms fajront.sms fido.sms freenet.sms freesmsau.sms ft.sms globtel.sms gmxde.sms goingtonight.sms golden.sms gomobile.sms gorizont-rt.sms gtnet.sms halebop.sms hooya.sms hotsms.sms indosat-m3.sms info2you.sms ingyensms.sms inwind.sms iol.sms kiyvstar.sms kyivstar.sms lycosde.sms lycosse.sms lycos.sms lycosuk.sms mageos.sms maxitel.sms megaforums.sms mobimel.sms mobitag.sms mobitel.sms mtnsms.sms mtsmb.sms mts.sms mtsspb.sms mufa.sms mybegin.sms natelskyline.sms netcom.sms netzquadrat.sms nwgsm.sms o2-genie.sms oi.sms onelv.sms orangeportal.sms orange.sms orf.sms oskar.sms paegas.sms pager.sms passagen.sms planet.sms plus.sms proximus.sms quick.sms rekom.sms rogers.sms room33.sms scs-900.sms sfr.sms simobil.sms smarts.sms sms_ac.sms smsitaly.sms smspress.sms smsro.sms sprintpcs.sms starhub.sms suomi24.sms surfeu.sms tango.sms tankssms.sms telebahiacelular.sms telemig.sms telering.sms tess.sms timnordeste.sms timsul.sms t-mobile.sms totalise.sms touristik.sms ubootflash.sms uboot.sms umail.sms umc.sms unimobile.sms universal.sms verizon.sms vivo.sms vizzavifr.sms vizzavigr.sms vizzaviuk.sms vodacom.sms yab.sms
10
+ 
11
+-EXTRA_DIST = 130sms.sms 1rstwap.sms 6sensreg.sms 6sens.sms a1_globalsms.sms amazonia.sms americel.sms armgsm.sms atl.sms attwireless.sms banana.sms basemine.sms bcp.sms bell.sms bol_rus.sms bol.sms boltblue.sms bramka.sms bwc.sms clarodigital.sms claro.sms clubmessage.sms comcel.sms coolsmsdk-fast.sms coolsmsdk.sms cosmos.sms cricket.sms ebol.sms e-merge.sms ems-iwarp.sms ermak_rus.sms etsity.sms eurobate.sms eurotel.sms everyday.sms exoset.sms extel-gsm.sms fajront.sms fido.sms freenet.sms freesmsau.sms ft.sms globtel.sms gmxde.sms goingtonight.sms golden.sms gomobile.sms gorizont-rt.sms gtnet.sms halebop.sms hooya.sms hotsms.sms indosat-m3.sms info2you.sms ingyensms.sms inwind.sms iol.sms kiyvstar.sms kyivstar.sms lycosde.sms lycosse.sms lycos.sms lycosuk.sms mageos.sms maxitel.sms megaforums.sms mobimel.sms mobitag.sms mobitel.sms mtnsms.sms mtsmb.sms mts.sms mtsspb.sms mufa.sms mybegin.sms natelskyline.sms netcom.sms netzquadrat.sms nwgsm.sms o2-genie.sms oi.sms onelv.sms orangeportal.sms orange.sms orf.sms oskar.sms paegas.sms pager.sms passagen.sms planet.sms plus.sms proximus.sms quick.sms rekom.sms rogers.sms room33.sms scs-900.sms sfr.sms simobil.sms smarts.sms sms_ac.sms smsitaly.sms smspress.sms smsro.sms sprintpcs.sms starhub.sms suomi24.sms surfeu.sms tango.sms tankssms.sms telebahiacelular.sms telemig.sms telering.sms tess.sms timnordeste.sms timsul.sms t-mobile.sms totalise.sms touristik.sms ubootflash.sms uboot.sms umail.sms umc.sms unimobile.sms universal.sms vivo.sms vizzavifr.sms vizzavigr.sms vizzaviuk.sms vodacom.sms yab.sms
12
++EXTRA_DIST = 130sms.sms 1rstwap.sms 6sensreg.sms 6sens.sms a1_globalsms.sms amazonia.sms americel.sms armgsm.sms atl.sms attwireless.sms banana.sms basemine.sms bcp.sms bell.sms bol_rus.sms bol.sms boltblue.sms bramka.sms bwc.sms clarodigital.sms claro.sms clubmessage.sms comcel.sms coolsmsdk-fast.sms coolsmsdk.sms cosmos.sms cricket.sms ebol.sms e-merge.sms ems-iwarp.sms ermak_rus.sms etsity.sms eurobate.sms eurotel.sms everyday.sms exoset.sms extel-gsm.sms fajront.sms fido.sms freenet.sms freesmsau.sms ft.sms globtel.sms gmxde.sms goingtonight.sms golden.sms gomobile.sms gorizont-rt.sms gtnet.sms halebop.sms hooya.sms hotsms.sms indosat-m3.sms info2you.sms ingyensms.sms inwind.sms iol.sms kiyvstar.sms kyivstar.sms lycosde.sms lycosse.sms lycos.sms lycosuk.sms mageos.sms maxitel.sms megaforums.sms mobimel.sms mobitag.sms mobitel.sms mtnsms.sms mtsmb.sms mts.sms mtsspb.sms mufa.sms mybegin.sms natelskyline.sms netcom.sms netzquadrat.sms nwgsm.sms o2-genie.sms oi.sms onelv.sms orangeportal.sms orange.sms orf.sms oskar.sms paegas.sms pager.sms passagen.sms planet.sms plus.sms proximus.sms quick.sms rekom.sms rogers.sms room33.sms scs-900.sms sfr.sms simobil.sms smarts.sms sms_ac.sms smsitaly.sms smspress.sms smsro.sms sprintpcs.sms starhub.sms suomi24.sms surfeu.sms tango.sms tankssms.sms telebahiacelular.sms telemig.sms telering.sms tess.sms timnordeste.sms timsul.sms t-mobile.sms totalise.sms touristik.sms ubootflash.sms uboot.sms umail.sms umc.sms unimobile.sms universal.sms verizon.sms vivo.sms vizzavifr.sms vizzavigr.sms vizzaviuk.sms vodacom.sms yab.sms
13
+diff -Nur smssend-3.4/scripts/verizon.sms smssend-3.4-new/scripts/verizon.sms
14
+--- smssend-3.4/scripts/verizon.sms	1969-12-31 19:00:00.000000000 -0500
15
++++ smssend-3.4-new/scripts/verizon.sms	2004-12-16 02:00:43.056535352 -0500
16
+@@ -0,0 +1,18 @@
17
++#messaging.verizonwireless.com
18
++#Version 1.0
19
++#Dane Jackson <dane@unixbigots.org>
20
++
21
++NbParams 3
22
++%Number : The phone number should be 10 digits
23
++%CallbackNumber : Your phone number - 1 or more digits
24
++%Message Size=160 Convert : Your message
25
++
26
++# Sending message
27
++# The only important part that's different from the submittal page
28
++# instead of the disclaimer page is the disclaimer_submit key. So
29
++# we can just skip the first page.
30
++
31
++PostURL http://www.vtext.com/customer_site/jsp/disclaimer.jsp
32
++PostData min=\%Number%&text=\%Message%&counter=160&sender=\%CallbackNumber%&trackResponses=No&DOMAIN_NAME=@vtext.com&disclaimer_submit=On
33
++GO
34
++

+ 5
- 0
app-mobilephone/smssend/metadata.xml View File

@@ -0,0 +1,5 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
3
+<pkgmetadata>
4
+<!-- maintainer-needed -->
5
+</pkgmetadata>

+ 33
- 0
app-mobilephone/smssend/smssend-3.4-r2.ebuild View File

@@ -0,0 +1,33 @@
1
+# Copyright 1999-2016 Gentoo Foundation
2
+# Distributed under the terms of the GNU General Public License v2
3
+# $Id$
4
+
5
+EAPI=6
6
+
7
+inherit autotools
8
+
9
+DESCRIPTION="Universal SMS sender"
10
+# Was: http://zekiller.skytech.org/smssend_menu_en.html
11
+HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage"
12
+SRC_URI="mirror://gentoo/${P}.tar.gz"
13
+
14
+LICENSE="GPL-2"
15
+SLOT="0"
16
+KEYWORDS="amd64 ~ppc ~ppc64 ~sparc x86"
17
+IUSE=""
18
+
19
+# -r5 of skyutils fixes a runtime crash, bug 588326.
20
+# Without SSL support in skyutils, some providers fail.
21
+DEPEND=">=dev-libs/skyutils-2.8-r5[ssl]"
22
+RDEPEND="${DEPEND}"
23
+
24
+PATCHES=( "${FILESDIR}/${P}-verizon.diff" )
25
+
26
+src_prepare() {
27
+	default
28
+
29
+	sed -i 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/g' configure.in \
30
+		|| die 'failed to rename AM_CONFIG_HEADER macro'
31
+
32
+	eautoreconf
33
+}

+ 1
- 0
dev-libs/skyutils/Manifest View File

@@ -0,0 +1 @@
1
+DIST skyutils-2.8.tar.gz 357571 SHA256 724c23673f060ec14e452ff8d28a9592993d22328eac5213c780ac674d2a8518 SHA512 65073067f8cd3c81587e6a3b718cd4903004d681f6852afb7de8cb91249fc655afe8234aa780409843649dd0996d877892a97cc5073445ad687c7c2eb6619a01 WHIRLPOOL 1a223fce1fff2f37a0f9cbc20314e19018f4cd7ab50a6b0a12a13ad428442ed9cb58eef586d9e5ca96f7a2d0c76aca3388702a80986c9686ef5ff38d7b3cf64f

+ 40
- 0
dev-libs/skyutils/files/fix-Wformat-security-warnings.patch View File

@@ -0,0 +1,40 @@
1
+From 40a157d2161fdd8709a777de6625fbd1b93efed3 Mon Sep 17 00:00:00 2001
2
+From: Michael Orlitzky <michael@orlitzky.com>
3
+Date: Sat, 6 Aug 2016 19:23:48 -0400
4
+Subject: [PATCH 1/1] src/skyutils.h: fix two missing format strings in
5
+ SU_SYSLOG_FN.
6
+
7
+The SU_SYSLOG_FN(x,y) macro could be defined as either syslog(x,y) or
8
+printf(y), both of which are missing the trivial format string
9
+"%s". This commit adds it, so that the project builds with no
10
+-Wformat-security warnings.
11
+
12
+Gentoo-Bug: 521114
13
+---
14
+ src/skyutils.h | 4 ++--
15
+ 1 file changed, 2 insertions(+), 2 deletions(-)
16
+
17
+diff --git a/src/skyutils.h b/src/skyutils.h
18
+index 8b7d59d..f77c9fd 100644
19
+--- a/src/skyutils.h
20
++++ b/src/skyutils.h
21
+@@ -279,14 +279,14 @@ void SU_PrintDebug(int Level,char *Txt, ...);
22
+ #ifdef __unix__
23
+ #define SU_PrintDebug(x,...) /* If you have an error here, remove 'x,...' from the () */
24
+ #include <syslog.h>
25
+-#define SU_SYSLOG_FN(x,y) syslog(x,y)
26
++#define SU_SYSLOG_FN(x,y) syslog(x,"%s",y)
27
+ #else /* !__unix__ */
28
+ #define SU_PrintDebug() /* Avoid compilation warnings */
29
+ extern FILE *SU_LogFile;
30
+ #define SU_SYSLOG_FN(x,y) SU_WriteToLogFile(SU_LogFile,y)
31
+ #endif /* __unix__ */
32
+ #else /* DEBUG */
33
+-#define SU_SYSLOG_FN(x,y) printf(y)
34
++#define SU_SYSLOG_FN(x,y) printf("%s",y)
35
+ #endif /* !DEBUG */
36
+ #ifdef _WIN32
37
+ #define SU_SLEEP(x) Sleep(x*1000)
38
+-- 
39
+2.7.3
40
+

+ 12
- 0
dev-libs/skyutils/files/skyutils-2.8-libs.patch View File

@@ -0,0 +1,12 @@
1
+diff -ur skyutils-2.8.orig/configure.in skyutils-2.8/configure.in
2
+--- skyutils-2.8.orig/configure.in	2005-05-09 08:16:44.000000000 +0000
3
++++ skyutils-2.8/configure.in	2008-07-18 05:38:13.000000000 +0000
4
+@@ -208,6 +208,8 @@
5
+ AC_SUBST(SU_ARCH_LIB)
6
+ AC_SUBST(SU_ARCH_CFLAGS)
7
+ AC_SUBST(SU_ANSI_CFLAGS)
8
++LIBS="$SU_PTHREAD_LIB $SU_DL_LIB $SU_SSL_LIB $SU_ARCH_LIB"
9
++AC_SUBST(LIBS)
10
+ 
11
+ AC_OUTPUT([
12
+ Makefile

+ 9
- 0
dev-libs/skyutils/metadata.xml View File

@@ -0,0 +1,9 @@
1
+<?xml version="1.0" encoding="UTF-8"?>
2
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
3
+<pkgmetadata>
4
+  <!-- maintainer-needed -->
5
+  <longdescription>
6
+    This library contains many useful functions such as chained lists,
7
+    string manipulation, socket, and the HTTP protocol.
8
+  </longdescription>
9
+</pkgmetadata>

+ 37
- 0
dev-libs/skyutils/skyutils-2.8-r5.ebuild View File

@@ -0,0 +1,37 @@
1
+# Copyright 1999-2016 Gentoo Foundation
2
+# Distributed under the terms of the GNU General Public License v2
3
+# $Id$
4
+
5
+EAPI=6
6
+inherit flag-o-matic autotools
7
+
8
+DESCRIPTION="Library of assorted C utility functions"
9
+# Was: http://zekiller.skytech.org/coders_en.html
10
+HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage"
11
+SRC_URI="mirror://gentoo/${P}.tar.gz"
12
+
13
+LICENSE="LGPL-2.1+"
14
+SLOT="0"
15
+KEYWORDS="amd64 ~ppc ~ppc64 ~sparc x86"
16
+IUSE="ssl"
17
+
18
+DEPEND="ssl? ( dev-libs/openssl:0=[sslv3] )"
19
+RDEPEND="${DEPEND}"
20
+
21
+PATCHES=(
22
+	"${FILESDIR}/${P}-libs.patch"
23
+	"${FILESDIR}/fix-Wformat-security-warnings.patch"
24
+)
25
+
26
+src_prepare() {
27
+	default
28
+	sed -i 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/g' configure.in \
29
+		|| die 'failed to rename AM_CONFIG_HEADER macro'
30
+
31
+	eautoreconf
32
+}
33
+
34
+src_configure() {
35
+	append-flags -D_GNU_SOURCE
36
+	econf $(use_enable ssl)
37
+}

Loading…
Cancel
Save