aboutsummaryrefslogtreecommitdiff
path: root/comms
diff options
context:
space:
mode:
authorRene Ladan <rene@FreeBSD.org>2019-10-16 15:29:32 +0000
committerRene Ladan <rene@FreeBSD.org>2019-10-16 15:29:32 +0000
commit13d4527a34237c3848445140a659128518ca196f (patch)
treea59de3287464c291f091b739fe407ba6df10c951 /comms
parenta12065703469e10f4f34b1e43555af92cfceaa6c (diff)
Notes
Diffstat (limited to 'comms')
-rw-r--r--comms/Makefile2
-rw-r--r--comms/gsmlib/Makefile42
-rw-r--r--comms/gsmlib/distinfo2
-rw-r--r--comms/gsmlib/files/patch-gsmlib__gsm_map_key.h48
-rw-r--r--comms/gsmlib/files/patch-gsmlib__gsm_me_ta.h29
-rw-r--r--comms/gsmlib/files/patch-gsmlib__gsm_unix_serial.cc84
-rw-r--r--comms/gsmlib/pkg-descr8
-rw-r--r--comms/gsmlib/pkg-plist40
-rw-r--r--comms/nokryptia/Makefile25
-rw-r--r--comms/nokryptia/distinfo2
-rw-r--r--comms/nokryptia/files/patch-nokryptia.cc174
-rw-r--r--comms/nokryptia/pkg-descr6
12 files changed, 0 insertions, 462 deletions
diff --git a/comms/Makefile b/comms/Makefile
index ccbc24498ae7..94972fceaedf 100644
--- a/comms/Makefile
+++ b/comms/Makefile
@@ -60,7 +60,6 @@
SUBDIR += gqrx
SUBDIR += gr-osmosdr
SUBDIR += grig
- SUBDIR += gsmlib
SUBDIR += gstreamer1-plugins-spandsp
SUBDIR += gtkmmorse
SUBDIR += hackrf
@@ -105,7 +104,6 @@
SUBDIR += ncid
SUBDIR += nec2c
SUBDIR += nmealib
- SUBDIR += nokryptia
SUBDIR += o2sms
SUBDIR += obexapp
SUBDIR += openobex
diff --git a/comms/gsmlib/Makefile b/comms/gsmlib/Makefile
deleted file mode 100644
index a7568a415c46..000000000000
--- a/comms/gsmlib/Makefile
+++ /dev/null
@@ -1,42 +0,0 @@
-# Created by: ijliao
-# $FreeBSD$
-
-PORTNAME= gsmlib
-PORTVERSION= 1.10
-PORTREVISION= 8
-CATEGORIES= comms
-MASTER_SITES= DEBIAN
-#TODO: examine the Debian patches, and changes in the Mandrake
-#gsmlib-1.11-0.2mdv2007.0.src.rpm, for use in this port
-DISTFILES= gsmlib_1.10.orig.tar.gz
-
-MAINTAINER= ports@FreeBSD.org
-COMMENT= Library to access GSM mobile phones through GSM modems
-
-LICENSE= LGPL20
-LICENSE_FILE= ${WRKSRC}/COPYING
-
-BROKEN= unfetchable
-DEPRECATED= Unfetchable, unmaintained
-EXPIRATION_DATE= 2019-10-16
-
-USES= gmake libtool
-USE_CXXSTD= c++98
-USE_LDCONFIG= yes
-GNU_CONFIGURE= yes
-INSTALL_TARGET= install-strip
-
-CPPFLAGS+= -DBROKEN_STRFTIME -DHAVE_DECL_GETOPT
-LDFLAGS+= -lpthread
-
-OPTIONS_DEFINE= NLS
-OPTIONS_SUB= yes
-
-NLS_USES= gettext localbase:ldflags
-NLS_CONFIGURE_ENABLE= nls
-
-post-patch:
- @${GREP} -lR "<malloc.h>" ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} -e \
- 's|<malloc\.h>|<stdlib.h>|g'
-
-.include <bsd.port.mk>
diff --git a/comms/gsmlib/distinfo b/comms/gsmlib/distinfo
deleted file mode 100644
index febd2a8954f6..000000000000
--- a/comms/gsmlib/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (gsmlib_1.10.orig.tar.gz) = 66338252c63f83feea62f97ad8e6b818632c248ca5337619cf24072a84121a51
-SIZE (gsmlib_1.10.orig.tar.gz) = 474591
diff --git a/comms/gsmlib/files/patch-gsmlib__gsm_map_key.h b/comms/gsmlib/files/patch-gsmlib__gsm_map_key.h
deleted file mode 100644
index fe265b2691b2..000000000000
--- a/comms/gsmlib/files/patch-gsmlib__gsm_map_key.h
+++ /dev/null
@@ -1,48 +0,0 @@
---- gsmlib/gsm_map_key.h.orig Tue May 14 23:38:12 2002
-+++ gsmlib/gsm_map_key.h Sun Sep 24 00:37:00 2006
-@@ -25,6 +25,16 @@
-
- // wrapper for map key, can access Sortedtore to get sortOrder()
-
-+ template <class SortedStore> class MapKey;
-+
-+ // compare two keys
-+ template <class SortedStore>
-+ extern bool operator<(const MapKey<SortedStore> &x,
-+ const MapKey<SortedStore> &y);
-+ template <class SortedStore>
-+ extern bool operator==(const MapKey<SortedStore> &x,
-+ const MapKey<SortedStore> &y);
-+
- template <class SortedStore> class MapKey
- {
- SortedStore &_myStore; // my store
-@@ -61,18 +71,10 @@
- const MapKey<SortedStore> &y);
- };
-
-- // compare two keys
-- template <class SortedStore>
-- extern bool operator<(const MapKey<SortedStore> &x,
-- const MapKey<SortedStore> &y);
-- template <class SortedStore>
-- extern bool operator==(const MapKey<SortedStore> &x,
-- const MapKey<SortedStore> &y);
--
- // MapKey members
-
- template <class SortedStore>
-- bool gsmlib::operator<(const MapKey<SortedStore> &x,
-+ bool operator<(const MapKey<SortedStore> &x,
- const MapKey<SortedStore> &y)
- {
- assert(&x._myStore == &y._myStore);
-@@ -97,7 +99,7 @@
- }
-
- template <class SortedStore>
-- bool gsmlib::operator==(const MapKey<SortedStore> &x,
-+ bool operator==(const MapKey<SortedStore> &x,
- const MapKey<SortedStore> &y)
- {
- assert(&x._myStore == &y._myStore);
diff --git a/comms/gsmlib/files/patch-gsmlib__gsm_me_ta.h b/comms/gsmlib/files/patch-gsmlib__gsm_me_ta.h
deleted file mode 100644
index be5e42c2dbde..000000000000
--- a/comms/gsmlib/files/patch-gsmlib__gsm_me_ta.h
+++ /dev/null
@@ -1,29 +0,0 @@
---- gsmlib/gsm_me_ta.h.orig Wed Dec 20 17:15:09 2006
-+++ gsmlib/gsm_me_ta.h Wed Dec 20 17:16:27 2006
-@@ -291,8 +291,8 @@
- // 3 disable phone receive RF circuits only
- // 4 disable phone both transmit and receive RF circuits
- // 5...127 implementation-defined
-- int MeTa::getFunctionalityLevel() throw(GsmException);
-- void MeTa::setFunctionalityLevel(int level) throw(GsmException);
-+ int getFunctionalityLevel() throw(GsmException);
-+ void setFunctionalityLevel(int level) throw(GsmException);
-
- // return battery charge status (+CBC):
- // 0 ME is powered by the battery
-@@ -386,13 +386,13 @@
- void setCallWaitingLockStatus(FacilityClass cl,
- bool lock)throw(GsmException);
-
-- void MeTa::setCLIRPresentation(bool enable) throw(GsmException);
-+ void setCLIRPresentation(bool enable) throw(GsmException);
- //(+CLIR)
-
- // 0:according to the subscription of the CLIR service
- // 1:CLIR invocation
- // 2:CLIR suppression
-- int MeTa::getCLIRPresentation() throw(GsmException);
-+ int getCLIRPresentation() throw(GsmException);
-
- friend class Phonebook;
- friend class SMSStore;
diff --git a/comms/gsmlib/files/patch-gsmlib__gsm_unix_serial.cc b/comms/gsmlib/files/patch-gsmlib__gsm_unix_serial.cc
deleted file mode 100644
index 4dabea9f4fcb..000000000000
--- a/comms/gsmlib/files/patch-gsmlib__gsm_unix_serial.cc
+++ /dev/null
@@ -1,84 +0,0 @@
---- gsmlib/gsm_unix_serial.cc.orig Sun Sep 22 20:51:10 2002
-+++ gsmlib/gsm_unix_serial.cc Wed Aug 18 01:27:08 2004
-@@ -20,6 +20,7 @@
- #include <fcntl.h>
- #include <iostream>
- #include <strstream>
-+#include <cassert>
- #include <errno.h>
- #include <stdio.h>
- #include <unistd.h>
-@@ -178,11 +179,15 @@
-
- // switch off non-blocking mode
- int fdFlags;
-- if ((fdFlags = fcntl(_fd, F_GETFL)) == -1)
-+ if ((fdFlags = fcntl(_fd, F_GETFL)) == -1) {
-+ close(_fd);
- throwModemException(_("getting file status flags failed"));
-+ }
- fdFlags &= ~O_NONBLOCK;
-- if (fcntl(_fd, F_SETFL, fdFlags) == -1)
-+ if (fcntl(_fd, F_SETFL, fdFlags) == -1) {
-+ close(_fd);
- throwModemException(_("switching of non-blocking mode failed"));
-+ }
-
- long int saveTimeoutVal = _timeoutVal;
- _timeoutVal = 3;
-@@ -194,17 +199,22 @@
-
- // toggle DTR to reset modem
- int mctl = TIOCM_DTR;
-- if (ioctl(_fd, TIOCMBIC, &mctl) < 0)
-+ if (ioctl(_fd, TIOCMBIC, &mctl) < 0) {
-+ close(_fd);
- throwModemException(_("clearing DTR failed"));
-+ }
- // the waiting time for DTR toggling is increased with each loop
- usleep(holdoff[initTries]);
-- if (ioctl(_fd, TIOCMBIS, &mctl) < 0)
-+ if (ioctl(_fd, TIOCMBIS, &mctl) < 0) {
-+ close(_fd);
- throwModemException(_("setting DTR failed"));
--
-+ }
- // get line modes
-- if (tcgetattr(_fd, &t) < 0)
-+ if (tcgetattr(_fd, &t) < 0) {
-+ close(_fd);
- throwModemException(stringPrintf(_("tcgetattr device '%s'"),
- device.c_str()));
-+ }
-
- // set line speed
- cfsetispeed(&t, lineSpeed);
-@@ -229,9 +239,11 @@
- t.c_cc[VSUSP] = 0;
-
- // write back
-- if(tcsetattr (_fd, TCSANOW, &t) < 0)
-+ if(tcsetattr (_fd, TCSANOW, &t) < 0) {
-+ close(_fd);
- throwModemException(stringPrintf(_("tcsetattr device '%s'"),
- device.c_str()));
-+ }
- // the waiting time for writing to the ME/TA is increased with each loop
- usleep(holdoff[initTries]);
-
-@@ -279,11 +291,14 @@
- catch (GsmException &e)
- {
- _timeoutVal = saveTimeoutVal;
-- if (initTries == 0)
-+ if (initTries == 0) {
-+ close(_fd);
- throw e;
-+ }
- }
- }
- // no response after 3 tries
-+ close(_fd);
- throw GsmException(stringPrintf(_("reset modem failed '%s'"),
- device.c_str()), OtherError);
- }
diff --git a/comms/gsmlib/pkg-descr b/comms/gsmlib/pkg-descr
deleted file mode 100644
index 2028bcc74c2b..000000000000
--- a/comms/gsmlib/pkg-descr
+++ /dev/null
@@ -1,8 +0,0 @@
-This distribution contains a library to access GSM mobile phones through GSM
-modems. Features include:
- - modification of phonebooks stored in the mobile phone or on the SIM card
- - reading and writing of SMS messages stored in the mobile phone
- - sending and reception of SMS messages
-
-Additionally, some simple command line programs are provided to use these
-functionalities.
diff --git a/comms/gsmlib/pkg-plist b/comms/gsmlib/pkg-plist
deleted file mode 100644
index dd328c5594ba..000000000000
--- a/comms/gsmlib/pkg-plist
+++ /dev/null
@@ -1,40 +0,0 @@
-bin/gsmctl
-bin/gsmpb
-bin/gsmsendsms
-bin/gsmsiectl
-bin/gsmsiexfer
-bin/gsmsmsd
-bin/gsmsmsstore
-include/gsmlib/gsm_at.h
-include/gsmlib/gsm_cb.h
-include/gsmlib/gsm_error.h
-include/gsmlib/gsm_event.h
-include/gsmlib/gsm_map_key.h
-include/gsmlib/gsm_me_ta.h
-include/gsmlib/gsm_parser.h
-include/gsmlib/gsm_phonebook.h
-include/gsmlib/gsm_port.h
-include/gsmlib/gsm_sie_me.h
-include/gsmlib/gsm_sms.h
-include/gsmlib/gsm_sms_codec.h
-include/gsmlib/gsm_sms_store.h
-include/gsmlib/gsm_sorted_phonebook.h
-include/gsmlib/gsm_sorted_phonebook_base.h
-include/gsmlib/gsm_sorted_sms_store.h
-include/gsmlib/gsm_unix_serial.h
-include/gsmlib/gsm_util.h
-lib/libgsmext.a
-lib/libgsmext.so
-lib/libgsmext.so.1
-lib/libgsmext.so.1.0.4
-lib/libgsmme.a
-lib/libgsmme.so
-lib/libgsmme.so.1
-lib/libgsmme.so.1.0.4
-man/man1/gsmctl.1.gz
-man/man1/gsmpb.1.gz
-man/man1/gsmsendsms.1.gz
-man/man1/gsmsmsstore.1.gz
-man/man7/gsminfo.7.gz
-man/man8/gsmsmsd.8.gz
-%%NLS%%share/locale/de/LC_MESSAGES/gsmlib.mo
diff --git a/comms/nokryptia/Makefile b/comms/nokryptia/Makefile
deleted file mode 100644
index 9719b181b44e..000000000000
--- a/comms/nokryptia/Makefile
+++ /dev/null
@@ -1,25 +0,0 @@
-# Created by: Aleksander Fafula <alex@fafula.com>
-# $FreeBSD$
-
-PORTNAME= nokryptia
-PORTVERSION= 1.3
-CATEGORIES= comms
-MASTER_SITES= http://tuxmobil.org/software/nokryptia/
-
-MAINTAINER= ports@FreeBSD.org
-COMMENT= Tool for fast loading mp3s into Nokia 5510
-
-BROKEN= unfetchable
-DEPRECATED= Unfetchable, unmaintained
-EXPIRATION_DATE= 2019-10-16
-
-LIB_DEPENDS= libid3.so:audio/id3lib
-
-GNU_CONFIGURE= yes
-USES= tar:bzip2
-CPPFLAGS+= -I${LOCALBASE}/include
-LIBS+= -L${LOCALBASE}/lib
-
-PLIST_FILES= bin/nokryptia man/man1/${PORTNAME}.1.gz
-
-.include <bsd.port.mk>
diff --git a/comms/nokryptia/distinfo b/comms/nokryptia/distinfo
deleted file mode 100644
index d74133c1daa6..000000000000
--- a/comms/nokryptia/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (nokryptia-1.3.tar.bz2) = 58f65e93d3b099580f2f3e1774e75eaacdda7e678b1772ce9b70ebaead6973e8
-SIZE (nokryptia-1.3.tar.bz2) = 66698
diff --git a/comms/nokryptia/files/patch-nokryptia.cc b/comms/nokryptia/files/patch-nokryptia.cc
deleted file mode 100644
index 5427267e5932..000000000000
--- a/comms/nokryptia/files/patch-nokryptia.cc
+++ /dev/null
@@ -1,174 +0,0 @@
---- src/nokryptia.cc.orig 2013-11-17 23:12:21.000000000 +0800
-+++ src/nokryptia.cc 2013-11-17 23:14:38.000000000 +0800
-@@ -20,7 +20,7 @@
- */
-
- #include <stdio.h>
--#include <iostream.h>
-+#include <iostream>
- #include <string.h>
- #include <getopt.h>
- #include "config.h"
-@@ -40,21 +40,21 @@ int verbose;
- int action; /* 1 for upload, 2 for download */
-
- void writeHelpMessage(const char * progname) {
-- cout << PACKAGE << " version " << VERSION
-- << " copyright by Roel Derickx" << endl
-+ std::cout << PACKAGE << " version " << VERSION
-+ << " copyright by Roel Derickx" << std::endl
- << "THIS SOFTWARE COMES WITH ABSOLUTELY NO WARRANTY! "
-- << "USE AT YOUR OWN RISK!" << endl << endl
-- << "Usage:" << endl
-- << " " << progname << " [options] file" << endl
-- << "Options:" << endl
-- << " -u convert mp3 into lse for upload" << endl
-- << " -d convert lse into mp3 for download" << endl
-- << " -a <artistname> set artist to artistname" << endl
-- << " -t <songtitle> set title to songtitle" << endl
-- << " -o <directory> directory to where output files should be written" << endl
-- << " -v be verbose" << endl
-- << " -h print this help screen" << endl
-- << "See the man page for more information" << endl;
-+ << "USE AT YOUR OWN RISK!" << std::endl << std::endl
-+ << "Usage:" << std::endl
-+ << " " << progname << " [options] file" << std::endl
-+ << "Options:" << std::endl
-+ << " -u convert mp3 into lse for upload" << std::endl
-+ << " -d convert lse into mp3 for download" << std::endl
-+ << " -a <artistname> set artist to artistname" << std::endl
-+ << " -t <songtitle> set title to songtitle" << std::endl
-+ << " -o <directory> directory to where output files should be written" << std::endl
-+ << " -v be verbose" << std::endl
-+ << " -h print this help screen" << std::endl
-+ << "See the man page for more information" << std::endl;
- }
-
- /*
-@@ -83,7 +83,7 @@ int parseInputFiles(int argc, char *argv
- /* also remove the path from infilename */
-
- if (optind >= argc) {
-- cout << "No input file given!" << endl;
-+ std::cout << "No input file given!" << std::endl;
- return 1;
- }
- strcpy(infilename, argv[optind++]);
-@@ -104,15 +104,15 @@ int parseInputFiles(int argc, char *argv
- switch (action) {
- case 1:
- if (looknchange(outfilename,".mp3",".lse") != 0) {
-- cout << "Input file must have mp3 "
-- << "extension!" << endl;
-+ std::cout << "Input file must have mp3 "
-+ << "extension!" << std::endl;
- return 1;
- }
- break;
- case 2:
- if (looknchange(outfilename,".lse",".mp3") != 0) {
-- cout << "Input file must have lse "
-- << "extension!" << endl;
-+ std::cout << "Input file must have lse "
-+ << "extension!" << std::endl;
- return 1;
- }
- break;
-@@ -167,7 +167,7 @@ int parseOptions(int argc, char * argv[]
- strcat(outfilename,"\0");
- break;
- default:
-- cout << "Unknown option " << optopt << endl;
-+ std::cout << "Unknown option " << optopt << std::endl;
- } /* end of switch */
- } /* end of while */
-
-@@ -198,9 +198,9 @@ void makeTag(char * artist, char * title
- int lengthTitle = strlen(title);
-
- if (verbose) {
-- cout << "Writing tag to output :" << endl;
-- cout << "artistname = " << artist << endl;
-- cout << "songtitle = " << title << endl;
-+ std::cout << "Writing tag to output :" << std::endl;
-+ std::cout << "artistname = " << artist << std::endl;
-+ std::cout << "songtitle = " << title << std::endl;
- }
-
- /* allocate memory */
-@@ -235,7 +235,7 @@ void makeHeader() {
- char * buf;
- int i;
-
-- if (verbose) cout << "Writing LockStream key to output" << endl;
-+ if (verbose) std::cout << "Writing LockStream key to output" << std::endl;
-
- /* allocate memory */
- buf = new char[512];
-@@ -266,8 +266,8 @@ int readAndTestHeader() {
- char * buf;
-
- if (verbose) {
-- cout << "Testing if the lse file is not written by "
-- << "the Nokia Audio Manager" << endl;
-+ std::cout << "Testing if the lse file is not written by "
-+ << "the Nokia Audio Manager" << std::endl;
- }
-
- /* allocate memory */
-@@ -276,7 +276,7 @@ int readAndTestHeader() {
-
- bread = fread(buf,1,896,infile);
- if (bread != 896) {
-- cout << "Input file is too small!" << endl;
-+ std::cout << "Input file is too small!" << std::endl;
- return 0;
- }
-
-@@ -301,7 +301,7 @@ void copyData() {
- int bread, bwritten;
- char * buf;
-
-- if (verbose) cout << "Writing data to output" << endl;
-+ if (verbose) std::cout << "Writing data to output" << std::endl;
-
- /* allocate memory */
- buf = new char[COPYBUFSIZE];
-@@ -347,8 +347,8 @@ int main(int argc, char * argv[]) {
-
- /* open the infile */
- if ((infile = fopen(infilename,"rb")) == NULL) {
-- cout << infilename
-- << ": No such file or directory" << endl;
-+ std::cout << infilename
-+ << ": No such file or directory" << std::endl;
-
- cleanUpMemory();
-
-@@ -358,10 +358,10 @@ int main(int argc, char * argv[]) {
-
- /* open the outfile */
- if ((outfile = fopen(outfilename,"wb")) == NULL) {
-- cout << "An error occured while opening "
-- << outfilename << " for writing." << endl
-+ std::cout << "An error occured while opening "
-+ << outfilename << " for writing." << std::endl
- << "Do you have write permission "
-- << "in this directory?" << endl;
-+ << "in this directory?" << std::endl;
-
- cleanUpMemory();
-
-@@ -383,9 +383,9 @@ int main(int argc, char * argv[]) {
- copyData();
- }
- else {
-- cout << "This file was encrypted by the "
-- << "official nokia program." << endl
-- << "Unable to decrypt!" << endl;
-+ std::cout << "This file was encrypted by the "
-+ << "official nokia program." << std::endl
-+ << "Unable to decrypt!" << std::endl;
- }
- }
-
diff --git a/comms/nokryptia/pkg-descr b/comms/nokryptia/pkg-descr
deleted file mode 100644
index 830c65ffdf02..000000000000
--- a/comms/nokryptia/pkg-descr
+++ /dev/null
@@ -1,6 +0,0 @@
-Nokryptia is a program to convert music files like MP3 to work on a Nokia 5510
-cell phone. The utility also does not do any encryption, it uses in fact a bug
-in the encryption algorithm. Therefore, no actual encryption is done, which
-makes the program very fast in comparison to the official software from Nokia.
-
-WWW: http://tuxmobil.org/nokryptia.html