summaryrefslogtreecommitdiff
path: root/app-mobilephone/smsclient
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 20:56:41 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 20:56:41 +0100
commitd87262dd706fec50cd150aab3e93883b6337466d (patch)
tree246b44c33ad7a57550430b0a60fa0df86a3c9e68 /app-mobilephone/smsclient
parent71bc00c87bba1ce31de0dac6c3b7fd1aee6917fc (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'app-mobilephone/smsclient')
-rw-r--r--app-mobilephone/smsclient/Manifest5
-rw-r--r--app-mobilephone/smsclient/files/smsclient-2.0.9a-gentoo.patch122
-rw-r--r--app-mobilephone/smsclient/files/smsclient-2.0.9a-sender.patch139
-rw-r--r--app-mobilephone/smsclient/metadata.xml6
-rw-r--r--app-mobilephone/smsclient/smsclient-2.0.9a-r1.ebuild63
5 files changed, 0 insertions, 335 deletions
diff --git a/app-mobilephone/smsclient/Manifest b/app-mobilephone/smsclient/Manifest
deleted file mode 100644
index 2b80e4a00f7a..000000000000
--- a/app-mobilephone/smsclient/Manifest
+++ /dev/null
@@ -1,5 +0,0 @@
-AUX smsclient-2.0.9a-gentoo.patch 6145 BLAKE2B 47844bd58422f1eb7e9beea18f89e5f7dc9e91d3a7201f07b7bbb119b098bc7876621ecb4160276ff914149c4d7dba01a05260339c07a6bc58756d37c22f1440 SHA512 6a1e0f82d430e12050c1b5525d84d3b916790c6b413b15c1cffe61cab815f7c08576edfa06ee66717a475f6c843040bdfc0d12767a22b90c79a800db47417406
-AUX smsclient-2.0.9a-sender.patch 6223 BLAKE2B eac74ed01e7d7737e12902c2a2c5e2fcb9614d2a902b9130c4333ab5d07ca5f8a40f92756fb97b1ff7a4604576a0c9e019f33f4d4c21a6c7ef0df7541160b25a SHA512 13f588aaae9379c44285a7a6a72de196dddd7d31be2fc98b09a0d721492f6ff2a81d4314fee544932876b1996724274a22de78b800f90050c7be4b3bba41a3d6
-DIST smsclient-2.0.9a.tar.gz 151600 BLAKE2B be51d81770d89626d0bb86a013c970add6f2fb60bf5dba4faff898ea7b542a9649274d3ea5a3b76e43ff34494b5e073a78030134af33b9b9cb5f787db0d0ce7c SHA512 85ab34b34cb1b3e1cfeeefed6618ca5cf7c66f26a1f5fe211b079a65694259fc2272abc6fe2e74d008e680d67f057288a704a87558e65e015554517fb99ba89d
-EBUILD smsclient-2.0.9a-r1.ebuild 1340 BLAKE2B a2520fa540c56b1efbfe4055fba39a09122a8b8e3563974081150dd471b5832dabefd956862a67a459eeb7c18e6afa1eed7431e5593d3fb7529f168e9adf7a3a SHA512 38b810b4650bff84218d0bc219ea1934c7c4a02160b6fe2d228a19a3c3c27c61b35b0eee1f44420cc1197d97f82ea7b97c841c847d64041ffd2306c780cd9c95
-MISC metadata.xml 318 BLAKE2B 940df32013c737c9111fe0336d2aba0e5a2fbb6df515a30799a5496feebc25cb1339167c48cb69af4c5521749b608e69671fe901667910583e129d47883077ab SHA512 bad4778937d1a9e0b1b6e4d2dc75f34a15c91ab6a5a865fa823335349127e81a93f874e55f5961bc0e77ac4744105293326128aaafe0360ed11279f5ed856348
diff --git a/app-mobilephone/smsclient/files/smsclient-2.0.9a-gentoo.patch b/app-mobilephone/smsclient/files/smsclient-2.0.9a-gentoo.patch
deleted file mode 100644
index b38b1309c339..000000000000
--- a/app-mobilephone/smsclient/files/smsclient-2.0.9a-gentoo.patch
+++ /dev/null
@@ -1,122 +0,0 @@
-diff -Nur smsclient-2.0.9a.orig/config/Makefile.config.linux smsclient-2.0.9a/config/Makefile.config.linux
---- smsclient-2.0.9a.orig/config/Makefile.config.linux 2006-02-25 12:52:12.203797250 +0200
-+++ smsclient-2.0.9a/config/Makefile.config.linux 2006-02-25 12:52:38.837461750 +0200
-@@ -39,7 +39,7 @@
- PLATFORM = -DLINUX
- CC = gcc
- MAKE = make
--CFLAGS = -O2 -g -I. -Wall -pedantic -fsigned-char $(PLATFORM)
-+CFLAGS += -I. -Wall -pedantic -fsigned-char $(PLATFORM)
- XTRALIBS =
-
- # --------------------------------------------------------------------
-@@ -59,7 +59,7 @@
- MLOCALSMSRC = .sms_addressbook
- MGLOBALSMSRC = $(ETCPREFIX)/etc/smsclient/sms_addressbook
- MSERVICEDIR = $(ETCPREFIX)/etc/smsclient
--MLIBDIR = $(PREFIX)/usr/lib/smsclient
-+MLIBDIR = $(PREFIX)/usr/share/smsclient
- MLOGFILE = $(LOGDIR)/smsclient.log
- MSNPPDLOGFILE = $(LOGDIR)/smsclient.snppdlog
- MSMSDLOGFILE = $(LOGDIR)/smsclient.smsdlog
-@@ -80,10 +80,10 @@
-
- # --------------------------------------------------------------------
-
--BINDIR = $(DESTDIR)/usr/bin
--ETCDIR = $(DESTDIR)/etc
--LIBDIR = $(DESTDIR)/usr/lib
--MANDIR = $(DESTDIR)/usr/share/man
-+BINDIR = /usr/bin
-+ETCDIR = /etc
-+LIBDIR = /usr/lib
-+MANDIR = /usr/share/man
- MANEXT = 1
- INSTALL = /usr/bin/install
- RM = /bin/rm -f
-diff -Nur smsclient-2.0.9a.orig/sms/Makefile smsclient-2.0.9a/sms/Makefile
---- smsclient-2.0.9a.orig/sms/Makefile 2006-02-25 12:52:12.203797250 +0200
-+++ smsclient-2.0.9a/sms/Makefile 2006-02-25 12:49:49.166858000 +0200
-@@ -34,28 +34,26 @@
- all:
-
- install:
-- $(INSTALL) -o $(SMSUSER) -g $(SMSGROUP) -m 755 -d $(DESTDIR)$(MLIBDIR)/services
-- $(INSTALL) -o $(SMSUSER) -g $(SMSGROUP) -m 755 -d $(DESTDIR)$(SPOOLDIR)/smsclient
-- $(INSTALL) -o $(SMSUSER) -g $(SMSGROUP) -m 755 -d $(DESTDIR)$(SPOOLDIR)/smsclient/errors
-- $(INSTALL) -o $(SMSUSER) -g $(SMSGROUP) -m 755 -d $(DESTDIR)$(SPOOLDIR)/smsclient/locks
-- $(INSTALL) -o $(SMSUSER) -g $(SMSGROUP) -m 755 -d $(DESTDIR)$(SPOOLDIR)/smsclient/incoming
-- $(INSTALL) -o $(SMSUSER) -g $(SMSGROUP) -m 755 -d $(DESTDIR)$(SPOOLDIR)/smsclient/named_pipes
-- $(INSTALL) -o $(SMSUSER) -g $(SMSGROUP) -m 755 -d $(DESTDIR)$(SPOOLDIR)/smsclient/services
-- $(INSTALL) -o $(SMSUSER) -g $(SMSGROUP) -m 755 -d $(DESTDIR)$(MSERVICEDIR)/scripts
-+ $(INSTALL) -o $(SMSUSER) -g $(SMSGROUP) -m 755 -m 755 -d $(DESTDIR)$(MLIBDIR)/services
-+# $(INSTALL) -o $(SMSUSER) -g $(SMSGROUP) -m 755 -d $(DESTDIR)$(SPOOLDIR)/smsclient
-+# $(INSTALL) -o $(SMSUSER) -g $(SMSGROUP) -m 755 -d $(DESTDIR)$(SPOOLDIR)/smsclient/errors
-+# $(INSTALL) -o $(SMSUSER) -g $(SMSGROUP) -m 755 -d $(DESTDIR)$(SPOOLDIR)/smsclient/locks
-+# $(INSTALL) -o $(SMSUSER) -g $(SMSGROUP) -m 755 -d $(DESTDIR)$(SPOOLDIR)/smsclient/incoming
-+# $(INSTALL) -o $(SMSUSER) -g $(SMSGROUP) -m 755 -d $(DESTDIR)$(SPOOLDIR)/smsclient/named_pipes
-+# $(INSTALL) -o $(SMSUSER) -g $(SMSGROUP) -m 755 -d $(DESTDIR)$(SPOOLDIR)/smsclient/services
-+ $(INSTALL) -o $(SMSUSER) -g $(SMSGROUP) -m 755 -m 755 -d $(DESTDIR)$(MSERVICEDIR)/scripts
-
- ( cd services ;\
- for service in * ; do \
- $(INSTALL) -o $(SMSUSER) -g $(SMSGROUP) -m 644 $$service $(DESTDIR)$(MLIBDIR)/services; \
-- $(INSTALL) -o $(SMSUSER) -g $(SMSGROUP) -m 755 -d $(DESTDIR)$(SPOOLDIR)/smsclient/services/$$service ; \
-- $(INSTALL) -o $(SMSUSER) -g $(SMSGROUP) -m 755 -d $(DESTDIR)$(SPOOLDIR)/smsclient/errors/$$service ; \
- done )
-
-- $(INSTALL) -o $(SMSUSER) -g $(SMSGROUP) -m 644 scripts/email $(DESTDIR)$(MSERVICEDIR)/scripts
-- $(INSTALL) -o $(SMSUSER) -g $(SMSGROUP) -m 644 sms_config $(DESTDIR)$(MSERVICEDIR)
-- $(INSTALL) -o $(SMSUSER) -g $(SMSGROUP) -m 644 sms_addressbook $(DESTDIR)$(MSERVICEDIR)
-- $(INSTALL) -o $(SMSUSER) -g $(SMSGROUP) -m 644 sms_modem $(DESTDIR)$(MSERVICEDIR)
-- $(INSTALL) -o $(SMSUSER) -g $(SMSGROUP) -m 644 sms_services $(DESTDIR)$(MSERVICEDIR)
-- $(INSTALL) -o $(SMSUSER) -g $(SMSGROUP) -m 644 sms_daemons $(DESTDIR)$(MSERVICEDIR)
-+ $(INSTALL) -m 644 scripts/email $(DESTDIR)$(MSERVICEDIR)/scripts
-+ $(INSTALL) -m 644 sms_config $(DESTDIR)$(MSERVICEDIR)
-+ $(INSTALL) -m 644 sms_addressbook $(DESTDIR)$(MSERVICEDIR)
-+ $(INSTALL) -m 644 sms_modem $(DESTDIR)$(MSERVICEDIR)
-+ $(INSTALL) -m 644 sms_services $(DESTDIR)$(MSERVICEDIR)
-+ $(INSTALL) -m 644 sms_daemons $(DESTDIR)$(MSERVICEDIR)
-
- uninstall:
- $(RM) $(DESTDIR)$(MLIBDIR)/services/*
-diff -Nur smsclient-2.0.9a.orig/sms/sms_config smsclient-2.0.9a/sms/sms_config
---- smsclient-2.0.9a.orig/sms/sms_config 2006-02-25 12:52:12.203797250 +0200
-+++ smsclient-2.0.9a/sms/sms_config 2006-02-25 12:49:49.166858000 +0200
-@@ -9,7 +9,7 @@
-
- SMS_lock_action = "BLOCK"
- SMS_lock_retry_delay = 5000000
-- SMS_lockfile = "/var/lock/smslock"
-+ SMS_lockfile = "/var/lock/sms/client.lock"
-
- # SMS_lockfile = "/var/opt/sms/smslock" # UNIXWARE
- }
-diff -Nur smsclient-2.0.9a.orig/src/client/Makefile smsclient-2.0.9a/src/client/Makefile
---- smsclient-2.0.9a.orig/src/client/Makefile 2006-02-25 12:52:12.203797250 +0200
-+++ smsclient-2.0.9a/src/client/Makefile 2006-02-25 12:49:49.166858000 +0200
-@@ -35,9 +35,9 @@
- all: ../../bin/sms_client ../../bin/sms_address
-
- install: ../../bin/sms_client ../../bin/sms_address
-- $(INSTALL) -o $(SMSUSER) -g $(SMSGROUP) -m 755 -d $(BINDIR)
-- $(INSTALL) -o $(SMSUSER) -g $(SMSGROUP) -m 755 -s ../../bin/sms_client $(BINDIR)
-- $(INSTALL) -o $(SMSUSER) -g $(SMSGROUP) -m 755 -s ../../bin/sms_address $(BINDIR)
-+ $(INSTALL) -o $(SMSUSER) -g $(SMSGROUP) -m 755 -d $(DESTDIR)/$(BINDIR)
-+ $(INSTALL) -o $(SMSUSER) -g $(SMSGROUP) -m 755 ../../bin/sms_client $(DESTDIR)/$(BINDIR)
-+ $(INSTALL) -o $(SMSUSER) -g $(SMSGROUP) -m 755 ../../bin/sms_address $(DESTDIR)/$(BINDIR)
-
- uninstall:
- $(RM) $(BINDIR)/sms_client
-diff -Nur smsclient-2.0.9a.orig/src/logfile/Makefile smsclient-2.0.9a/src/logfile/Makefile
---- smsclient-2.0.9a.orig/src/logfile/Makefile 2006-02-25 12:52:12.203797250 +0200
-+++ smsclient-2.0.9a/src/logfile/Makefile 2006-02-25 12:49:49.166858000 +0200
-@@ -34,7 +34,7 @@
- all: logfile.o
-
- install:
-- $(INSTALL) -o $(SMSUSER) -g $(SMSGROUP) -m 755 -d $(LOGDIR)
-+# $(INSTALL) -o $(SMSUSER) -g $(SMSGROUP) -m 755 -d $(LOGDIR)
-
- clean:
- $(RM) *.o
diff --git a/app-mobilephone/smsclient/files/smsclient-2.0.9a-sender.patch b/app-mobilephone/smsclient/files/smsclient-2.0.9a-sender.patch
deleted file mode 100644
index f7339d71cbc5..000000000000
--- a/app-mobilephone/smsclient/files/smsclient-2.0.9a-sender.patch
+++ /dev/null
@@ -1,139 +0,0 @@
-diff -Nru smsclient-2.0.9a.orig/Changelog smsclient-2.0.9a/Changelog
---- smsclient-2.0.9a.orig/Changelog 2007-02-03 08:43:40.000000000 +0200
-+++ smsclient-2.0.9a/Changelog 2007-02-03 08:43:12.000000000 +0200
-@@ -1,3 +1,7 @@
-+2007-02-02 12:00 Andreas Bollhalder <bolle@geodb.org>
-+
-+ * Added SMS_sender_number to UCP driver
-+
- 2002-03-26 14:00 Koenraad Heijlen <vipie@ulyssis.org>
-
- RELEASED as 2.0.9a
-diff -Nru smsclient-2.0.9a.orig/sms/services/d2 smsclient-2.0.9a/sms/services/d2
---- smsclient-2.0.9a.orig/sms/services/d2 2002-03-07 00:04:51.000000000 +0200
-+++ smsclient-2.0.9a/sms/services/d2 2007-02-03 08:44:55.000000000 +0200
-@@ -14,6 +14,12 @@
- SMS_centre_number = "01722278020" # D2 SMSC Number
-
- # +49 must be added for dialing from outside germany
-+
-+ # ------------------------------------------------------------
-+ # Your sender number.
-+ # ------------------------------------------------------------
-+
-+ # SMS_sender_number = "1234567890"
- }
-
- # --------------------------------------------------------------------
-diff -Nru smsclient-2.0.9a.orig/sms/services/kpntext smsclient-2.0.9a/sms/services/kpntext
---- smsclient-2.0.9a.orig/sms/services/kpntext 2007-02-03 08:43:40.000000000 +0200
-+++ smsclient-2.0.9a/sms/services/kpntext 2007-02-03 08:43:12.000000000 +0200
-@@ -16,6 +16,12 @@
-
- SMS_centre_number = "0665181802" # PTT/KPN Telcom service
- # centre number
-+
-+ # ------------------------------------------------------------
-+ # Your sender number.
-+ # ------------------------------------------------------------
-+
-+ # SMS_sender_number = "1234567890"
- }
-
- # --------------------------------------------------------------------
-diff -Nru smsclient-2.0.9a.orig/sms/services/kpnucp smsclient-2.0.9a/sms/services/kpnucp
---- smsclient-2.0.9a.orig/sms/services/kpnucp 2007-02-03 08:43:40.000000000 +0200
-+++ smsclient-2.0.9a/sms/services/kpnucp 2007-02-03 08:43:12.000000000 +0200
-@@ -16,6 +16,12 @@
-
- SMS_centre_number = "0653141414" # PTT/KPN Telcom service
- # centre number
-+
-+ # ------------------------------------------------------------
-+ # Your sender number.
-+ # ------------------------------------------------------------
-+
-+ # SMS_sender_number = "1234567890"
- }
-
- # --------------------------------------------------------------------
-diff -Nru smsclient-2.0.9a.orig/sms/services/swisscom smsclient-2.0.9a/sms/services/swisscom
---- smsclient-2.0.9a.orig/sms/services/swisscom 2007-02-03 08:43:40.000000000 +0200
-+++ smsclient-2.0.9a/sms/services/swisscom 2007-02-03 08:43:12.000000000 +0200
-@@ -13,6 +13,12 @@
-
- SMS_centre_number = "0794998990" # SWISSCOM SMSC Number (Analog V.34)
- # SMS_centre_number = "0900900941" # SWISSCOM SMSC Number (ISDN V.120)
-+
-+ # ------------------------------------------------------------
-+ # Your sender number.
-+ # ------------------------------------------------------------
-+
-+ # SMS_sender_number = "1234567890"
- }
-
- # --------------------------------------------------------------------
-diff -Nru smsclient-2.0.9a.orig/sms/services/telenor smsclient-2.0.9a/sms/services/telenor
---- smsclient-2.0.9a.orig/sms/services/telenor 2007-02-03 08:43:40.000000000 +0200
-+++ smsclient-2.0.9a/sms/services/telenor 2007-02-03 08:43:12.000000000 +0200
-@@ -13,6 +13,12 @@
-
- SMS_centre_number = "90002198" # TELENOR SMSC Number
- # From Inside Norway
-+
-+ # ------------------------------------------------------------
-+ # Your sender number.
-+ # ------------------------------------------------------------
-+
-+ # SMS_sender_number = "1234567890"
- }
-
- # --------------------------------------------------------------------
-diff -Nru smsclient-2.0.9a.orig/sms/services/telia smsclient-2.0.9a/sms/services/telia
---- smsclient-2.0.9a.orig/sms/services/telia 2007-02-03 08:43:40.000000000 +0200
-+++ smsclient-2.0.9a/sms/services/telia 2007-02-03 08:43:12.000000000 +0200
-@@ -16,6 +16,12 @@
- # ------------------------------------------------------------
- # +46 must be added for dialing from outside Sweden
- # ------------------------------------------------------------
-+
-+ # ------------------------------------------------------------
-+ # Your sender number.
-+ # ------------------------------------------------------------
-+
-+ # SMS_sender_number = "1234567890"
- }
-
- # --------------------------------------------------------------------
-diff -Nru smsclient-2.0.9a.orig/src/driver/ucp.c smsclient-2.0.9a/src/driver/ucp.c
---- smsclient-2.0.9a.orig/src/driver/ucp.c 2007-02-03 08:43:40.000000000 +0200
-+++ smsclient-2.0.9a/src/driver/ucp.c 2007-02-03 08:43:12.000000000 +0200
-@@ -184,6 +184,8 @@
- /* Place any extended driver */
- /* variables here */
-
-+ char *szSenderNumber;
-+
- } driver_env;
-
- /* -------------------------------------------------------------------- */
-@@ -197,6 +199,7 @@
- { RESOURCE_NUMERIC, "SMS_timeout", 0, 0, NULL, 0, NULL, 10, &(driver_env.def.timeout) },
- { RESOURCE_NUMERIC, "SMS_write_timeout", 0, 0, NULL, 0, NULL, 10, &(driver_env.def.write_timeout) },
- { RESOURCE_NUMERIC, "SMS_max_deliver", 0, 0, NULL, 0, NULL, 1, &(driver_env.def.max_deliver) },
-+ { RESOURCE_STRING, "SMS_sender_number", 0, 1, NULL, 0, "", 0, &(driver_env.szSenderNumber) },
- { RESOURCE_NULL, NULL, 0, 1, NULL, 0, NULL, 0, NULL }
- };
-
-@@ -248,9 +251,9 @@
-
-
- /* data: AdC/OAdc/OAC/MT/.. */
-- /* -> recipient///3/... */
-+ /* -> recipient/sender//3/... */
-
-- nc = sprintf(msgData, "%s///%1.1d/", msisdn, msgType);
-+ nc = sprintf(msgData, "%s/%s//%1.1d/", msisdn, driver_env.szSenderNumber, msgType);
-
- /* ... additional parameters depending on MT */
- /* For MT=3 (alphanumeric) this is hex coded */
diff --git a/app-mobilephone/smsclient/metadata.xml b/app-mobilephone/smsclient/metadata.xml
deleted file mode 100644
index 4ac469947f7d..000000000000
--- a/app-mobilephone/smsclient/metadata.xml
+++ /dev/null
@@ -1,6 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <!-- maintainer-needed -->
- <longdescription>SMS Client is a UNIX command line based utility which allows you to send SMS messages to mobile phones and pagers.</longdescription>
-</pkgmetadata>
diff --git a/app-mobilephone/smsclient/smsclient-2.0.9a-r1.ebuild b/app-mobilephone/smsclient/smsclient-2.0.9a-r1.ebuild
deleted file mode 100644
index 0bfc36b2e36b..000000000000
--- a/app-mobilephone/smsclient/smsclient-2.0.9a-r1.ebuild
+++ /dev/null
@@ -1,63 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="5"
-
-inherit eutils user
-
-DESCRIPTION="Utility to send SMS messages to mobile phones and pagers"
-HOMEPAGE="http://www.smsclient.org"
-SRC_URI="http://www.smsclient.org/download/${PN}-${PV%?}/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-pkg_setup() {
- enewgroup dialout
-}
-
-src_prepare() {
- epatch "${FILESDIR}/${P}-gentoo.patch"
- epatch "${FILESDIR}/${P}-sender.patch"
- sed -i -e \
- "s:\$(CFLAGS) -o:\$(CFLAGS) \$(LDFLAGS) -o:g" \
- src/client/Makefile
-}
-
-src_configure() {
- rm .configured && ./configure
-}
-
-src_compile() {
- emake \
- CC="$(tc-getCC)" \
- AR="$(tc-getAR) rc" \
- RANLIB="$(tc-getRANLIB)" \
- LDFLAGS="${LDFLAGS}"
-}
-
-src_install() {
- emake DESTDIR="${D}" install
- dosym sms_client /usr/bin/smsclient
- dosym sms_address /usr/bin/smsaddress
-
- diropts -g dialout -m 0770
- keepdir /var/lock/sms
- diropts
-
- doman docs/sms_client.1
- dodoc AUTHORS Changelog* FAQ README* TODO docs/sms_protocol
-}
-
-pkg_config() {
- local MY_LOGFILE="${ROOT}/var/log/smsclient.log"
- [ -f "${MY_LOGFILE}" ] || touch "${MY_LOGFILE}"
- fowners :dialout "${MY_LOGFILE}"
- fperms g+rwx,o-rwx "${MY_LOGFILE}"
-}
-
-pkg_postinst() {
- einfo "If you run sms_client as normal user, make sure you are member of dialout group."
-}