debian/0000755000000000000000000000000012227223705007170 5ustar debian/gsm-utils.manpages0000644000000000000000000000005312227223130012617 0ustar debian/*.1 debian/tmp/usr/share/man/man*/* debian/clean0000644000000000000000000000002412227011047010163 0ustar po/stamp-po stamp-h debian/gsm-utils.dirs0000644000000000000000000000031712227022605011774 0ustar var/spool/sms/queue1 var/spool/sms/queue2 var/spool/sms/queue3 var/spool/sms/sent1 var/spool/sms/sent2 var/spool/sms/sent3 var/spool/sms/failed1 var/spool/sms/failed2 var/spool/sms/failed3 var/spool/sms/tmp debian/gsm-utils.cron.d0000644000000000000000000000021412226747715012231 0ustar # /etc/cron.d/gsm-utils: crontab fragment for gsm-utils */5 * * * * root if [ -x /usr/bin/gsmsmsrequeue ]; then /usr/bin/gsmsmsrequeue; fi debian/rules0000755000000000000000000000070712227017705010255 0ustar #!/usr/bin/make -f # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 export DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) export DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) %: dh $@ --with autoreconf override_dh_auto_install: dh_auto_install cp contrib/gsmsmsspool contrib/gsmsmsrequeue debian/tmp/usr/bin override_dh_auto_test: .PHONY: override_dh_auto_install override_dh_auto_test debian/watch0000644000000000000000000000012112226747715010226 0ustar version=2 http://www.pxh.de/fs/gsmlib/download/content.html gsmlib-(.*)\.tar\.gz debian/patches/0000755000000000000000000000000012227021662010615 5ustar debian/patches/01-update-autotools.diff0000644000000000000000000005531112227015164015203 0ustar Description: Update autotools-related stuff. --- a/configure.in +++ b/configure.in @@ -15,6 +15,7 @@ dnl Other AC_CONFIG_AUX_DIR(scripts) +AC_CONFIG_MACRO_DIR([m4]) AC_PROG_INSTALL dnl check for libintl @@ -34,6 +35,8 @@ CXXFLAGS="-O2" fi +AC_USE_SYSTEM_EXTENSIONS + dnl comment out this line to get extensive debugging output and asserts dnl CXXFLAGS="-DNDEBUG $CXXFLAGS" --- /dev/null +++ b/po/Makevars @@ -0,0 +1,5 @@ +DOMAIN = $(PACKAGE) + +subdir = po +top_builddir = .. + --- a/po/Makefile.in.in +++ b/po/Makefile.in.in @@ -1,15 +1,19 @@ -# Makefile for program source directory in GNU NLS utilities package. -# Copyright (C) 1995, 1996, 1997 by Ulrich Drepper +# Makefile for PO directory in any package using GNU gettext. +# Copyright (C) 1995-1997, 2000-2007, 2009-2010 by Ulrich Drepper # -# This file file be copied and used freely without restrictions. It can -# be used in projects which are not available under the GNU Public License -# but which still want to provide support for the GNU gettext functionality. -# Please note that the actual code is *not* freely available. +# This file can be copied and used freely without restrictions. It can +# be used in projects which are not available under the GNU General Public +# License but which still want to provide support for the GNU gettext +# functionality. +# Please note that the actual code of GNU gettext is covered by the GNU +# General Public License and is *not* in the public domain. +# +# Origin: gettext-0.18 +GETTEXT_MACRO_VERSION = 0.18 PACKAGE = @PACKAGE@ VERSION = @VERSION@ - -DESTDIR = +PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ SHELL = /bin/sh @SET_MAKE@ @@ -18,232 +22,422 @@ top_srcdir = @top_srcdir@ VPATH = @srcdir@ -prefix = $(DESTDIR)@prefix@ +prefix = @prefix@ exec_prefix = @exec_prefix@ -datadir = $(prefix)/@DATADIRNAME@ -localedir = $(datadir)/locale -gnulocaledir = $(prefix)/share/locale -gettextsrcdir = $(prefix)/share/gettext/po -subdir = po +datarootdir = @datarootdir@ +datadir = @datadir@ +localedir = @localedir@ +gettextsrcdir = $(datadir)/gettext/po INSTALL = @INSTALL@ INSTALL_DATA = @INSTALL_DATA@ -MKINSTALLDIRS = ../scripts/mkinstalldirs - -CC = @CC@ -GENCAT = @GENCAT@ -GMSGFMT = PATH=../src:$$PATH @GMSGFMT@ -MSGFMT = @MSGFMT@ -XGETTEXT = PATH=../src:$$PATH @XGETTEXT@ -MSGMERGE = PATH=../src:$$PATH msgmerge - -DEFS = @DEFS@ -CFLAGS = @CFLAGS@ -CPPFLAGS = @CPPFLAGS@ -INCLUDES = -I.. -I$(top_srcdir)/intl +# We use $(mkdir_p). +# In automake <= 1.9.x, $(mkdir_p) is defined either as "mkdir -p --" or as +# "$(mkinstalldirs)" or as "$(install_sh) -d". For these automake versions, +# @install_sh@ does not start with $(SHELL), so we add it. +# In automake >= 1.10, @mkdir_p@ is derived from ${MKDIR_P}, which is defined +# either as "/path/to/mkdir -p" or ".../install-sh -c -d". For these automake +# versions, $(mkinstalldirs) and $(install_sh) are unused. +mkinstalldirs = $(SHELL) @install_sh@ -d +install_sh = $(SHELL) @install_sh@ +MKDIR_P = @MKDIR_P@ +mkdir_p = @mkdir_p@ + +GMSGFMT_ = @GMSGFMT@ +GMSGFMT_no = @GMSGFMT@ +GMSGFMT_yes = @GMSGFMT_015@ +GMSGFMT = $(GMSGFMT_$(USE_MSGCTXT)) +MSGFMT_ = @MSGFMT@ +MSGFMT_no = @MSGFMT@ +MSGFMT_yes = @MSGFMT_015@ +MSGFMT = $(MSGFMT_$(USE_MSGCTXT)) +XGETTEXT_ = @XGETTEXT@ +XGETTEXT_no = @XGETTEXT@ +XGETTEXT_yes = @XGETTEXT_015@ +XGETTEXT = $(XGETTEXT_$(USE_MSGCTXT)) +MSGMERGE = msgmerge +MSGMERGE_UPDATE = @MSGMERGE@ --update +MSGINIT = msginit +MSGCONV = msgconv +MSGFILTER = msgfilter -COMPILE = $(CC) -c $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) $(XCFLAGS) - -SOURCES = cat-id-tbl.c POFILES = @POFILES@ GMOFILES = @GMOFILES@ -DISTFILES = Makefile.in.in POTFILES.in $(PACKAGE).pot \ -stamp-cat-id $(POFILES) $(GMOFILES) $(SOURCES) +UPDATEPOFILES = @UPDATEPOFILES@ +DUMMYPOFILES = @DUMMYPOFILES@ +DISTFILES.common = Makefile.in.in remove-potcdate.sin \ +$(DISTFILES.common.extra1) $(DISTFILES.common.extra2) $(DISTFILES.common.extra3) +DISTFILES = $(DISTFILES.common) Makevars POTFILES.in \ +$(POFILES) $(GMOFILES) \ +$(DISTFILES.extra1) $(DISTFILES.extra2) $(DISTFILES.extra3) POTFILES = \ CATALOGS = @CATALOGS@ -CATOBJEXT = @CATOBJEXT@ -INSTOBJEXT = @INSTOBJEXT@ - -.SUFFIXES: -.SUFFIXES: .c .o .po .pox .gmo .mo .msg .cat -.c.o: - $(COMPILE) $< +# Makevars gets inserted here. (Don't remove this line!) -.po.pox: - $(MAKE) $(PACKAGE).pot - $(MSGMERGE) $< $(srcdir)/$(PACKAGE).pot -o $*.pox +.SUFFIXES: +.SUFFIXES: .po .gmo .mo .sed .sin .nop .po-create .po-update .po.mo: - $(MSGFMT) -o $@ $< + @echo "$(MSGFMT) -c -o $@ $<"; \ + $(MSGFMT) -c -o t-$@ $< && mv t-$@ $@ .po.gmo: - file=$(srcdir)/`echo $* | sed 's,.*/,,'`.gmo \ - && rm -f $$file && $(GMSGFMT) -o $$file $< + @lang=`echo $* | sed -e 's,.*/,,'`; \ + test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \ + echo "$${cdcmd}rm -f $${lang}.gmo && $(GMSGFMT) -c --statistics --verbose -o $${lang}.gmo $${lang}.po"; \ + cd $(srcdir) && rm -f $${lang}.gmo && $(GMSGFMT) -c --statistics --verbose -o t-$${lang}.gmo $${lang}.po && mv t-$${lang}.gmo $${lang}.gmo -.po.cat: - sed -f ../intl/po2msg.sed < $< > $*.msg \ - && rm -f $@ && $(GENCAT) $@ $*.msg +.sin.sed: + sed -e '/^#/d' $< > t-$@ + mv t-$@ $@ -all: all-@USE_NLS@ +all: check-macro-version all-@USE_NLS@ -all-yes: cat-id-tbl.c $(CATALOGS) +all-yes: stamp-po all-no: -$(srcdir)/$(PACKAGE).pot: $(POTFILES) - $(XGETTEXT) --default-domain=$(PACKAGE) --directory=$(top_srcdir) \ - --add-comments --keyword=_ --keyword=N_ \ - --files-from=$(srcdir)/POTFILES.in \ - && test ! -f $(PACKAGE).po \ - || ( rm -f $(srcdir)/$(PACKAGE).pot \ - && mv $(PACKAGE).po $(srcdir)/$(PACKAGE).pot ) - -$(srcdir)/cat-id-tbl.c: stamp-cat-id; @: -$(srcdir)/stamp-cat-id: $(PACKAGE).pot - rm -f cat-id-tbl.tmp - sed -f ../intl/po2tbl.sed $(srcdir)/$(PACKAGE).pot \ - | sed -e "s/@PACKAGE NAME@/$(PACKAGE)/" > cat-id-tbl.tmp - if cmp -s cat-id-tbl.tmp $(srcdir)/cat-id-tbl.c; then \ - rm cat-id-tbl.tmp; \ - else \ - echo cat-id-tbl.c changed; \ - rm -f $(srcdir)/cat-id-tbl.c; \ - mv cat-id-tbl.tmp $(srcdir)/cat-id-tbl.c; \ +# Ensure that the gettext macros and this Makefile.in.in are in sync. +check-macro-version: + @test "$(GETTEXT_MACRO_VERSION)" = "@GETTEXT_MACRO_VERSION@" \ + || { echo "*** error: gettext infrastructure mismatch: using a Makefile.in.in from gettext version $(GETTEXT_MACRO_VERSION) but the autoconf macros are from gettext version @GETTEXT_MACRO_VERSION@" 1>&2; \ + exit 1; \ + } + +# $(srcdir)/$(DOMAIN).pot is only created when needed. When xgettext finds no +# internationalized messages, no $(srcdir)/$(DOMAIN).pot is created (because +# we don't want to bother translators with empty POT files). We assume that +# LINGUAS is empty in this case, i.e. $(POFILES) and $(GMOFILES) are empty. +# In this case, stamp-po is a nop (i.e. a phony target). + +# stamp-po is a timestamp denoting the last time at which the CATALOGS have +# been loosely updated. Its purpose is that when a developer or translator +# checks out the package via CVS, and the $(DOMAIN).pot file is not in CVS, +# "make" will update the $(DOMAIN).pot and the $(CATALOGS), but subsequent +# invocations of "make" will do nothing. This timestamp would not be necessary +# if updating the $(CATALOGS) would always touch them; however, the rule for +# $(POFILES) has been designed to not touch files that don't need to be +# changed. +stamp-po: $(srcdir)/$(DOMAIN).pot + test ! -f $(srcdir)/$(DOMAIN).pot || \ + test -z "$(GMOFILES)" || $(MAKE) $(GMOFILES) + @test ! -f $(srcdir)/$(DOMAIN).pot || { \ + echo "touch stamp-po" && \ + echo timestamp > stamp-poT && \ + mv stamp-poT stamp-po; \ + } + +# Note: Target 'all' must not depend on target '$(DOMAIN).pot-update', +# otherwise packages like GCC can not be built if only parts of the source +# have been downloaded. + +# This target rebuilds $(DOMAIN).pot; it is an expensive operation. +# Note that $(DOMAIN).pot is not touched if it doesn't need to be changed. +$(DOMAIN).pot-update: $(POTFILES) $(srcdir)/POTFILES.in remove-potcdate.sed + if LC_ALL=C grep 'GNU @PACKAGE@' $(top_srcdir)/* 2>/dev/null | grep -v 'libtool:' >/dev/null; then \ + package_gnu='GNU '; \ + else \ + package_gnu=''; \ + fi; \ + if test -n '$(MSGID_BUGS_ADDRESS)' || test '$(PACKAGE_BUGREPORT)' = '@'PACKAGE_BUGREPORT'@'; then \ + msgid_bugs_address='$(MSGID_BUGS_ADDRESS)'; \ + else \ + msgid_bugs_address='$(PACKAGE_BUGREPORT)'; \ + fi; \ + case `$(XGETTEXT) --version | sed 1q | sed -e 's,^[^0-9]*,,'` in \ + '' | 0.[0-9] | 0.[0-9].* | 0.1[0-5] | 0.1[0-5].* | 0.16 | 0.16.[0-1]*) \ + $(XGETTEXT) --default-domain=$(DOMAIN) --directory=$(top_srcdir) \ + --add-comments=TRANSLATORS: $(XGETTEXT_OPTIONS) @XGETTEXT_EXTRA_OPTIONS@ \ + --files-from=$(srcdir)/POTFILES.in \ + --copyright-holder='$(COPYRIGHT_HOLDER)' \ + --msgid-bugs-address="$$msgid_bugs_address" \ + ;; \ + *) \ + $(XGETTEXT) --default-domain=$(DOMAIN) --directory=$(top_srcdir) \ + --add-comments=TRANSLATORS: $(XGETTEXT_OPTIONS) @XGETTEXT_EXTRA_OPTIONS@ \ + --files-from=$(srcdir)/POTFILES.in \ + --copyright-holder='$(COPYRIGHT_HOLDER)' \ + --package-name="$${package_gnu}@PACKAGE@" \ + --package-version='@VERSION@' \ + --msgid-bugs-address="$$msgid_bugs_address" \ + ;; \ + esac + test ! -f $(DOMAIN).po || { \ + if test -f $(srcdir)/$(DOMAIN).pot; then \ + sed -f remove-potcdate.sed < $(srcdir)/$(DOMAIN).pot > $(DOMAIN).1po && \ + sed -f remove-potcdate.sed < $(DOMAIN).po > $(DOMAIN).2po && \ + if cmp $(DOMAIN).1po $(DOMAIN).2po >/dev/null 2>&1; then \ + rm -f $(DOMAIN).1po $(DOMAIN).2po $(DOMAIN).po; \ + else \ + rm -f $(DOMAIN).1po $(DOMAIN).2po $(srcdir)/$(DOMAIN).pot && \ + mv $(DOMAIN).po $(srcdir)/$(DOMAIN).pot; \ + fi; \ + else \ + mv $(DOMAIN).po $(srcdir)/$(DOMAIN).pot; \ + fi; \ + } + +# This rule has no dependencies: we don't need to update $(DOMAIN).pot at +# every "make" invocation, only create it when it is missing. +# Only "make $(DOMAIN).pot-update" or "make dist" will force an update. +$(srcdir)/$(DOMAIN).pot: + $(MAKE) $(DOMAIN).pot-update + +# This target rebuilds a PO file if $(DOMAIN).pot has changed. +# Note that a PO file is not touched if it doesn't need to be changed. +$(POFILES): $(srcdir)/$(DOMAIN).pot + @lang=`echo $@ | sed -e 's,.*/,,' -e 's/\.po$$//'`; \ + if test -f "$(srcdir)/$${lang}.po"; then \ + test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \ + echo "$${cdcmd}$(MSGMERGE_UPDATE) $(MSGMERGE_OPTIONS) --lang=$${lang} $${lang}.po $(DOMAIN).pot"; \ + cd $(srcdir) \ + && { case `$(MSGMERGE_UPDATE) --version | sed 1q | sed -e 's,^[^0-9]*,,'` in \ + '' | 0.[0-9] | 0.[0-9].* | 0.1[0-7] | 0.1[0-7].*) \ + $(MSGMERGE_UPDATE) $(MSGMERGE_OPTIONS) $${lang}.po $(DOMAIN).pot;; \ + *) \ + $(MSGMERGE_UPDATE) $(MSGMERGE_OPTIONS) --lang=$${lang} $${lang}.po $(DOMAIN).pot;; \ + esac; \ + }; \ + else \ + $(MAKE) $${lang}.po-create; \ fi - cd $(srcdir) && rm -f stamp-cat-id && echo timestamp > stamp-cat-id install: install-exec install-data install-exec: install-data: install-data-@USE_NLS@ -install-data-no: all -install-data-yes: all - if test -r "$(MKINSTALLDIRS)"; then \ - $(MKINSTALLDIRS) $(datadir); \ + if test "$(PACKAGE)" = "gettext-tools"; then \ + $(mkdir_p) $(DESTDIR)$(gettextsrcdir); \ + for file in $(DISTFILES.common) Makevars.template; do \ + $(INSTALL_DATA) $(srcdir)/$$file \ + $(DESTDIR)$(gettextsrcdir)/$$file; \ + done; \ + for file in Makevars; do \ + rm -f $(DESTDIR)$(gettextsrcdir)/$$file; \ + done; \ else \ - $(SHELL) ../scripts/mkinstalldirs $(datadir); \ + : ; \ fi +install-data-no: all +install-data-yes: all @catalogs='$(CATALOGS)'; \ for cat in $$catalogs; do \ cat=`basename $$cat`; \ - case "$$cat" in \ - *.gmo) destdir=$(gnulocaledir);; \ - *) destdir=$(localedir);; \ - esac; \ - lang=`echo $$cat | sed 's/\$(CATOBJEXT)$$//'`; \ - dir=$$destdir/$$lang/LC_MESSAGES; \ - if test -r "$(MKINSTALLDIRS)"; then \ - $(MKINSTALLDIRS) $$dir; \ - else \ - $(SHELL) ../scripts/mkinstalldirs $$dir; \ - fi; \ - if test -r $$cat; then \ - $(INSTALL_DATA) $$cat $$dir/$(PACKAGE)$(INSTOBJEXT); \ - echo "installing $$cat as $$dir/$(PACKAGE)$(INSTOBJEXT)"; \ - else \ - $(INSTALL_DATA) $(srcdir)/$$cat $$dir/$(PACKAGE)$(INSTOBJEXT); \ - echo "installing $(srcdir)/$$cat as" \ - "$$dir/$(PACKAGE)$(INSTOBJEXT)"; \ - fi; \ - if test -r $$cat.m; then \ - $(INSTALL_DATA) $$cat.m $$dir/$(PACKAGE)$(INSTOBJEXT).m; \ - echo "installing $$cat.m as $$dir/$(PACKAGE)$(INSTOBJEXT).m"; \ - else \ - if test -r $(srcdir)/$$cat.m ; then \ - $(INSTALL_DATA) $(srcdir)/$$cat.m \ - $$dir/$(PACKAGE)$(INSTOBJEXT).m; \ - echo "installing $(srcdir)/$$cat as" \ - "$$dir/$(PACKAGE)$(INSTOBJEXT).m"; \ - else \ - true; \ + lang=`echo $$cat | sed -e 's/\.gmo$$//'`; \ + dir=$(localedir)/$$lang/LC_MESSAGES; \ + $(mkdir_p) $(DESTDIR)$$dir; \ + if test -r $$cat; then realcat=$$cat; else realcat=$(srcdir)/$$cat; fi; \ + $(INSTALL_DATA) $$realcat $(DESTDIR)$$dir/$(DOMAIN).mo; \ + echo "installing $$realcat as $(DESTDIR)$$dir/$(DOMAIN).mo"; \ + for lc in '' $(EXTRA_LOCALE_CATEGORIES); do \ + if test -n "$$lc"; then \ + if (cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc 2>/dev/null) | grep ' -> ' >/dev/null; then \ + link=`cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc | sed -e 's/^.* -> //'`; \ + mv $(DESTDIR)$(localedir)/$$lang/$$lc $(DESTDIR)$(localedir)/$$lang/$$lc.old; \ + mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \ + (cd $(DESTDIR)$(localedir)/$$lang/$$lc.old && \ + for file in *; do \ + if test -f $$file; then \ + ln -s ../$$link/$$file $(DESTDIR)$(localedir)/$$lang/$$lc/$$file; \ + fi; \ + done); \ + rm -f $(DESTDIR)$(localedir)/$$lang/$$lc.old; \ + else \ + if test -d $(DESTDIR)$(localedir)/$$lang/$$lc; then \ + :; \ + else \ + rm -f $(DESTDIR)$(localedir)/$$lang/$$lc; \ + mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \ + fi; \ + fi; \ + rm -f $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo; \ + ln -s ../LC_MESSAGES/$(DOMAIN).mo $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo 2>/dev/null || \ + ln $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(DOMAIN).mo $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo 2>/dev/null || \ + cp -p $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(DOMAIN).mo $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo; \ + echo "installing $$realcat link as $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo"; \ fi; \ - fi; \ + done; \ done - if test "$(PACKAGE)" = "gettext"; then \ - if test -r "$(MKINSTALLDIRS)"; then \ - $(MKINSTALLDIRS) $(gettextsrcdir); \ - else \ - $(SHELL) ../scripts/mkinstalldirs $(gettextsrcdir); \ - fi; \ - $(INSTALL_DATA) $(srcdir)/Makefile.in.in \ - $(gettextsrcdir)/Makefile.in.in; \ + +install-strip: install + +installdirs: installdirs-exec installdirs-data +installdirs-exec: +installdirs-data: installdirs-data-@USE_NLS@ + if test "$(PACKAGE)" = "gettext-tools"; then \ + $(mkdir_p) $(DESTDIR)$(gettextsrcdir); \ else \ : ; \ fi +installdirs-data-no: +installdirs-data-yes: + @catalogs='$(CATALOGS)'; \ + for cat in $$catalogs; do \ + cat=`basename $$cat`; \ + lang=`echo $$cat | sed -e 's/\.gmo$$//'`; \ + dir=$(localedir)/$$lang/LC_MESSAGES; \ + $(mkdir_p) $(DESTDIR)$$dir; \ + for lc in '' $(EXTRA_LOCALE_CATEGORIES); do \ + if test -n "$$lc"; then \ + if (cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc 2>/dev/null) | grep ' -> ' >/dev/null; then \ + link=`cd $(DESTDIR)$(localedir)/$$lang && LC_ALL=C ls -l -d $$lc | sed -e 's/^.* -> //'`; \ + mv $(DESTDIR)$(localedir)/$$lang/$$lc $(DESTDIR)$(localedir)/$$lang/$$lc.old; \ + mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \ + (cd $(DESTDIR)$(localedir)/$$lang/$$lc.old && \ + for file in *; do \ + if test -f $$file; then \ + ln -s ../$$link/$$file $(DESTDIR)$(localedir)/$$lang/$$lc/$$file; \ + fi; \ + done); \ + rm -f $(DESTDIR)$(localedir)/$$lang/$$lc.old; \ + else \ + if test -d $(DESTDIR)$(localedir)/$$lang/$$lc; then \ + :; \ + else \ + rm -f $(DESTDIR)$(localedir)/$$lang/$$lc; \ + mkdir $(DESTDIR)$(localedir)/$$lang/$$lc; \ + fi; \ + fi; \ + fi; \ + done; \ + done # Define this as empty until I found a useful application. installcheck: -uninstall: +uninstall: uninstall-exec uninstall-data +uninstall-exec: +uninstall-data: uninstall-data-@USE_NLS@ + if test "$(PACKAGE)" = "gettext-tools"; then \ + for file in $(DISTFILES.common) Makevars.template; do \ + rm -f $(DESTDIR)$(gettextsrcdir)/$$file; \ + done; \ + else \ + : ; \ + fi +uninstall-data-no: +uninstall-data-yes: catalogs='$(CATALOGS)'; \ for cat in $$catalogs; do \ cat=`basename $$cat`; \ - lang=`echo $$cat | sed 's/\$(CATOBJEXT)$$//'`; \ - rm -f $(localedir)/$$lang/LC_MESSAGES/$(PACKAGE)$(INSTOBJEXT); \ - rm -f $(localedir)/$$lang/LC_MESSAGES/$(PACKAGE)$(INSTOBJEXT).m; \ - rm -f $(gnulocaledir)/$$lang/LC_MESSAGES/$(PACKAGE)$(INSTOBJEXT); \ - rm -f $(gnulocaledir)/$$lang/LC_MESSAGES/$(PACKAGE)$(INSTOBJEXT).m; \ + lang=`echo $$cat | sed -e 's/\.gmo$$//'`; \ + for lc in LC_MESSAGES $(EXTRA_LOCALE_CATEGORIES); do \ + rm -f $(DESTDIR)$(localedir)/$$lang/$$lc/$(DOMAIN).mo; \ + done; \ done - rm -f $(gettextsrcdir)/po-Makefile.in.in check: all -cat-id-tbl.o: ../intl/libgettext.h - -dvi info tags TAGS ID: +info dvi ps pdf html tags TAGS ctags CTAGS ID: mostlyclean: - rm -f core core.* *.pox $(PACKAGE).po *.old.po cat-id-tbl.tmp + rm -f remove-potcdate.sed + rm -f stamp-poT + rm -f core core.* $(DOMAIN).po $(DOMAIN).1po $(DOMAIN).2po *.new.po rm -fr *.o clean: mostlyclean distclean: clean - rm -f Makefile Makefile.in POTFILES *.mo *.msg *.cat *.cat.m + rm -f Makefile Makefile.in POTFILES *.mo maintainer-clean: distclean @echo "This command is intended for maintainers to use;" @echo "it deletes files that may require special tools to rebuild." - rm -f $(GMOFILES) + rm -f stamp-po $(GMOFILES) -distdir = ../$(PACKAGE)-$(VERSION)/$(subdir) -dist distdir: update-po $(DISTFILES) +distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir) +dist distdir: + $(MAKE) update-po + @$(MAKE) dist2 +# This is a separate target because 'update-po' must be executed before. +dist2: stamp-po $(DISTFILES) dists="$(DISTFILES)"; \ + if test "$(PACKAGE)" = "gettext-tools"; then \ + dists="$$dists Makevars.template"; \ + fi; \ + if test -f $(srcdir)/$(DOMAIN).pot; then \ + dists="$$dists $(DOMAIN).pot stamp-po"; \ + fi; \ + if test -f $(srcdir)/ChangeLog; then \ + dists="$$dists ChangeLog"; \ + fi; \ + for i in 0 1 2 3 4 5 6 7 8 9; do \ + if test -f $(srcdir)/ChangeLog.$$i; then \ + dists="$$dists ChangeLog.$$i"; \ + fi; \ + done; \ + if test -f $(srcdir)/LINGUAS; then dists="$$dists LINGUAS"; fi; \ for file in $$dists; do \ - ln $(srcdir)/$$file $(distdir) 2> /dev/null \ - || cp -p $(srcdir)/$$file $(distdir) || echo ignore; \ + if test -f $$file; then \ + cp -p $$file $(distdir) || exit 1; \ + else \ + cp -p $(srcdir)/$$file $(distdir) || exit 1; \ + fi; \ done update-po: Makefile - $(MAKE) $(PACKAGE).pot - PATH=`pwd`/../src:$$PATH; \ + $(MAKE) $(DOMAIN).pot-update + test -z "$(UPDATEPOFILES)" || $(MAKE) $(UPDATEPOFILES) + $(MAKE) update-gmo + +# General rule for creating PO files. + +.nop.po-create: + @lang=`echo $@ | sed -e 's/\.po-create$$//'`; \ + echo "File $$lang.po does not exist. If you are a translator, you can create it through 'msginit'." 1>&2; \ + exit 1 + +# General rule for updating PO files. + +.nop.po-update: + @lang=`echo $@ | sed -e 's/\.po-update$$//'`; \ + if test "$(PACKAGE)" = "gettext-tools"; then PATH=`pwd`/../src:$$PATH; fi; \ + tmpdir=`pwd`; \ + echo "$$lang:"; \ + test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \ + echo "$${cdcmd}$(MSGMERGE) $(MSGMERGE_OPTIONS) --lang=$$lang $$lang.po $(DOMAIN).pot -o $$lang.new.po"; \ cd $(srcdir); \ - catalogs='$(CATALOGS)'; \ - for cat in $$catalogs; do \ - cat=`basename $$cat`; \ - lang=`echo $$cat | sed 's/\$(CATOBJEXT)$$//'`; \ - mv $$lang.po $$lang.old.po; \ - echo "$$lang:"; \ - if $(MSGMERGE) $$lang.old.po $(PACKAGE).pot -o $$lang.po; then \ - rm -f $$lang.old.po; \ + if { case `$(MSGMERGE) --version | sed 1q | sed -e 's,^[^0-9]*,,'` in \ + '' | 0.[0-9] | 0.[0-9].* | 0.1[0-7] | 0.1[0-7].*) \ + $(MSGMERGE) $(MSGMERGE_OPTIONS) -o $$tmpdir/$$lang.new.po $$lang.po $(DOMAIN).pot;; \ + *) \ + $(MSGMERGE) $(MSGMERGE_OPTIONS) --lang=$$lang -o $$tmpdir/$$lang.new.po $$lang.po $(DOMAIN).pot;; \ + esac; \ + }; then \ + if cmp $$lang.po $$tmpdir/$$lang.new.po >/dev/null 2>&1; then \ + rm -f $$tmpdir/$$lang.new.po; \ else \ - echo "msgmerge for $$cat failed!"; \ - rm -f $$lang.po; \ - mv $$lang.old.po $$lang.po; \ + if mv -f $$tmpdir/$$lang.new.po $$lang.po; then \ + :; \ + else \ + echo "msgmerge for $$lang.po failed: cannot move $$tmpdir/$$lang.new.po to $$lang.po" 1>&2; \ + exit 1; \ + fi; \ fi; \ - done + else \ + echo "msgmerge for $$lang.po failed!" 1>&2; \ + rm -f $$tmpdir/$$lang.new.po; \ + fi -POTFILES: POTFILES.in - ( if test 'x$(srcdir)' != 'x.'; then \ - posrcprefix='$(top_srcdir)/'; \ - else \ - posrcprefix="../"; \ - fi; \ - rm -f $@-t $@ \ - && (sed -e '/^#/d' -e '/^[ ]*$$/d' \ - -e "s@.*@ $$posrcprefix& \\\\@" < $(srcdir)/$@.in \ - | sed -e '$$s/\\$$//') > $@-t \ - && chmod a-w $@-t \ - && mv $@-t $@ ) - -Makefile: Makefile.in.in ../config.status POTFILES - cd .. \ - && CONFIG_FILES=$(subdir)/$@.in CONFIG_HEADERS= \ - $(SHELL) ./config.status +$(DUMMYPOFILES): + +update-gmo: Makefile $(GMOFILES) + @: + +# Recreate Makefile by invoking config.status. Explicitly invoke the shell, +# because execution permission bits may not work on the current file system. +# Use @SHELL@, which is the shell determined by autoconf for the use by its +# scripts, not $(SHELL) which is hardwired to /bin/sh and may be deficient. +Makefile: Makefile.in.in Makevars $(top_builddir)/config.status @POMAKEFILEDEPS@ + cd $(top_builddir) \ + && @SHELL@ ./config.status $(subdir)/$@.in po-directories + +force: # Tell versions [3.59,3.63) of GNU make not to export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. --- a/Makefile.am +++ b/Makefile.am @@ -11,6 +11,8 @@ # * Created: 21.5.1999 # ************************************************************************* +ACLOCAL_AMFLAGS = -I m4 + SUBDIRS_ = po gsmlib apps tests doc scripts win32 ext EXTRA_DIST = gsmlib.spec debian/patches/series0000644000000000000000000000007312227021667012037 0ustar 01-update-autotools.diff 02-fix-csms.diff 03-fix-cops.diff debian/patches/03-fix-cops.diff0000644000000000000000000000141612227021611013413 0ustar From: Andrew Shadura Subject: Fix +COPS response parsing: additional numeric argument possible (Closes: #674856). diff --git a/gsmlib/gsm_me_ta.cc b/gsmlib/gsm_me_ta.cc --- a/gsmlib/gsm_me_ta.cc +++ b/gsmlib/gsm_me_ta.cc @@ -376,6 +376,20 @@ std::vector MeTa::getAvailableOP else throw e; } + try + { + opi._numericName = p.parseComma(); + p.parseInt(true); + } + catch (GsmException &e) + { + if (e.getErrorClass() == ParserError) + { + /* okay */ + } + else + throw e; + } if (expectClosingBracket) p.parseChar(')'); result.push_back(opi); if (! p.parseComma(true)) break; debian/patches/02-fix-csms.diff0000644000000000000000000000224612227021574013425 0ustar From: Andrew Shadura Subject: Fix +CSMS response parsing: an argument can be zero-length (Closes: #602739). diff --git a/gsmlib/gsm_me_ta.cc b/gsmlib/gsm_me_ta.cc --- a/gsmlib/gsm_me_ta.cc +++ b/gsmlib/gsm_me_ta.cc @@ -88,7 +88,17 @@ void MeTa::init() throw(GsmException) // find out whether we are supposed to send an acknowledgment Parser p(_at->chat("+CSMS?", "+CSMS:")); - _capabilities._sendAck = p.parseInt() >= 1; + try { + _capabilities._sendAck = p.parseInt() >= 1; + } + catch (GsmException &e) + { + if (e.getErrorClass() == ParserError) { + _capabilities._sendAck = 0; + } else { + throw e; + } + } // set GSM default character set try @@ -1002,8 +1012,18 @@ void MeTa::setMessageService(int service unsigned int MeTa::getMessageService() throw(GsmException) { - Parser p(_at->chat("+CSMS?", "+CSMS:")); - return p.parseInt(); + try { + Parser p(_at->chat("+CSMS?", "+CSMS:")); + return p.parseInt(); + } + catch (GsmException &e) + { + if (e.getErrorClass() == ParserError) { + return 0; + } else { + throw e; + } + } } void MeTa::getSMSRoutingToTA(bool &smsRouted, debian/copyright0000644000000000000000000000255112226747715011141 0ustar This package was debianized by Mikael Hedin on Thu, 14 Dec 2000 01:06:40 +0100. It was downloaded from http://www.pxh.de/fs/gsmlib/index.html Upstream Author: Peter Hofmann ext/gsmsiexfer.cc:// * Author: Christian W. Zuckschwerdt Copyright: Copyright (C) 1999-2002 Peter Hofmann License: This package is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This package is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this package; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA On Debian systems, the complete text of the GNU Lesser General Public License can be found in `/usr/share/common-licenses/LGPL'. The Debian packaging is (C) 2000, Mikael Hedin and is licensed under the GPL, see `/usr/share/common-licenses/GPL'. debian/libgsmme-dev.install0000644000000000000000000000003212227013520013116 0ustar usr/include usr/lib/*/*so debian/gsm-utils.postinst0000644000000000000000000000135612227023241012717 0ustar #!/bin/sh -e # create gsmsms group if necessary. if ! grep -q ^gsmsms: /etc/group; then # echo Adding system group: gsmsms. addgroup --system gsmsms fi # create gsmsms user if necessary. if ! grep -q ^gsmsms: /etc/passwd; then # echo Adding system user: gsmsms. adduser --system --ingroup gsmsms \ --no-create-home --home /var/spool/sms gsmsms fi # allow gsmsms to use serial lines if ! groups gsmsms | grep -q dialout ; then adduser gsmsms dialout fi # echo Updating spool directory structure: /var/spool/sms chown -R gsmsms:gsmsms /var/spool/sms chmod 700 /var/spool/sms/* chmod 750 /var/spool/sms chmod 730 /var/spool/sms/queue* /var/spool/sms/tmp # Add the rest automatically.. #DEBHELPER# debian/libgsmme-dev.docs0000644000000000000000000000004512226747715012427 0ustar doc/README.developers doc/README.NLS debian/compat0000644000000000000000000000000212226762314010371 0ustar 9 debian/gsm-utils.init0000644000000000000000000000526312227034563012011 0ustar #! /bin/sh ### BEGIN INIT INFO # Provides: gsm-utils # Required-Start: $remote_fs $syslog # Required-Stop: $remote_fs $syslog # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: Start daemon at boot time # Description: Enable service provided by daemon. ### END INIT INFO # # /etc/init.d/gsm-utils: Controls the GSM SMS send daemon # # written by Matthias Goebl PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin DAEMON=/usr/bin/gsmsmsd NAME=gsmsmsd DEFAULTFILE=/etc/default/gsm-utils DESC="GSM SMS send daemon" test -x $DAEMON || exit 0 . /lib/lsb/init-functions PHONEDEV=/dev/mobilephone # or /dev/ttyS0 or /dev/ircomm0 BAUDRATE=9600 PIN="" # or 1234 SMSPROCESSOR="" # or /usr/bin/gsmsmsprocessor SPOOLDIR=/var/spool/sms PRIORITIES=3 STARTOPTS="" SMSUSER="gsmsms:gsmsms" test -r /etc/default/gsm-utils && . /etc/default/gsm-utils # for overwriting some parameters if [ "$RUNGSMSMS" != "yes" ];then echo "GSM SMS deamon not yet configured. Edit /etc/default/gsm-utils first." exit 0 fi OPTIONS="-d $PHONEDEV -b $BAUDRATE -L -P $PRIORITIES" OPTIONS="$OPTIONS -s $SPOOLDIR/queue -S $SPOOLDIR/sent -F $SPOOLDIR/failed" test -n "$SMSPROCESSOR" && OPTIONS="$OPTIONS -a $SMSPROCESSOR" test -n "$SMSUSER" && STARTOPTS="$STARTOPTS --chuid $SMSUSER" test -r /etc/default/gsm-utils && . /etc/default/gsm-utils # for overwriting OPTIONS if [ ! -d /run/gsm-utils ] ; then mkdir -p /run/gsm-utils || true if [ -d /run/gsm-utils ] ; then test -n "$SMSUSER" && chown -R gsmsms:gsmsms /run/gsm-utils fi fi case "$1" in start) echo -n "Starting $DESC: " if [ -n "$PIN" ];then echo -n "entering PIN.. " ( # This is ugly.. But if the PIN is already entered, the ME returns # "ERROR" and makes gsmctl retrying.. /usr/bin/gsmctl -d $PHONEDEV -b $BAUDRATE -I "+cpin=$PIN" & PID=$! sleep 3 kill $PID 2>/dev/null ) >/dev/null 2>&1 fi echo -n "$NAME" start-stop-daemon --start --quiet --pidfile /run/gsm-utils/$NAME.pid \ --make-pidfile --background $STARTOPTS --exec $DAEMON -- $OPTIONS echo "." ;; stop) echo -n "Stopping $DESC: $NAME " start-stop-daemon --stop --quiet --pidfile /run/gsm-utils/$NAME.pid \ --exec $DAEMON sleep 5 echo "." ;; restart|force-reload) echo -n "Restarting $DESC: $NAME" start-stop-daemon --stop --quiet --pidfile /run/gsm-utils/$NAME.pid \ --make-pidfile --exec $DAEMON -- $OPTIONS sleep 5 start-stop-daemon --start --quiet --pidfile /run/gsm-utils/$NAME.pid \ --make-pidfile --background $STARTOPTS --exec $DAEMON -- $OPTIONS echo "." ;; *) N=/etc/init.d/gsm-utils echo "Usage: $N {start|stop|restart|force-reload}" >&2 exit 1 ;; esac exit 0 debian/gsm-utils.examples0000644000000000000000000000006012226747715012663 0ustar contrib/gsm-utils.cron.d contrib/gsm-utils.init debian/gsmsiexfer.10000644000000000000000000000116712226747715011446 0ustar .\" -*- eval: (nroff-mode) -*- .de TQ .br .ns .TP \\$1 .. .\" Like TP, but if specified indent is more than half .\" the current line-length - indent, use the default indent. .de Tp .ie \\n(.$=0:((0\\$1)*2u>(\\n(.lu-\\n(.iu)) .TP .el .TP "\\$1" .. .TH GSMSIEXFER 1 "" "gsmsiexfer" .SH NAME gsmsiexfer \- Siemens ME file transfer program for Siemens phones S25, S35, S45, ME45, SL45 .SH SYNOPSIS .B gsmsiexfer \-\-help .PP .SH DESCRIPTION \fIgsmsiexer\fP comes with no man page. Try gsmsiexfer \-\-help, or read the source. .PP .SH "SEE ALSO" .BR gsminfo(7), .BR gsmctl(1), .BR gsmsendsms(1), .BR gsmsmsd(8), .BR gsmsmsstore(1). debian/gsm-utils.default0000644000000000000000000000076012226747715012500 0ustar PHONEDEV=/dev/mobilephone # or /dev/ttyS0 or /dev/ircomm0 BAUDRATE=9600 PIN="" # or 1234 # RUNGSMSMS: If set to anything other that 'yes', the asterisk init.d script # will not run. The default is 'yes'. # You should probaly also install the crontab from /usr/share/doc/gsm-utils/examples RUNGSMSMS=no SPOOLDIR=/var/spool/sms PRIORITIES=3 SMSADMIN=root SUBJECT="SMS delivery report:" SMSPROCESSOR="" # or /usr/bin/gsmsmsprocessor do_accounting () { true; } # it's your turn debian/gsm-utils.docs0000644000000000000000000000003112226747715011773 0ustar NEWS README TODO doc/FAQ debian/gsm-utils.install0000644000000000000000000000001012227223120012462 0ustar usr/bin debian/control0000644000000000000000000000317612227031373010600 0ustar Source: gsmlib Section: comm Priority: extra Maintainer: Mark Purcell Build-Depends: debhelper (>= 9), dh-autoreconf Standards-Version: 3.9.4 Homepage: https://github.com/vbouchaud/gsmlib Package: libgsmme-dev Section: libdevel Architecture: any Multi-Arch: same Depends: libgsmme1c2a (= ${binary:Version}), libc6-dev, ${misc:Depends} Description: Header files and static libraries for gsmlib Headers and static libraries for use when compiling programs with gsmlib. . gsmlib is a library for access to a GSM mobile phone using the standards ETSI GSM 07.07, ETSI GSM 07.05, and others. Package: libgsmme1c2a Conflicts: libgsmme1, libgsmme1c102, libgsmme1c2 Replaces: libgsmme1c102, libgsmme1c2 Section: libs Architecture: any Multi-Arch: same Depends: ${shlibs:Depends}, ${misc:Depends} Pre-Depends: ${misc:Pre-Depends} Description: GSM mobile phone access library Library to access GSM mobile phones through GSM modems or IrDA devices. Features include: . * modification of phone books 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 . gsmlib uses standard ETSI GSM 07.07, ETSI GSM 07.05, and others. Package: gsm-utils Section: comm Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, adduser Description: GSM mobile phone access applications Some simple command line programs to access a GSM mobile phone via GSM modem or IrDA. Functions include: modification of phone books and reading, writing, sending and receiving SMS messages. Uses the GSM standards ETSI GSM 07.07, ETSI GSM 07.05, and others. debian/changelog0000644000000000000000000002520312227223431011040 0ustar gsmlib (1.10+20120414.gita5e5ae9a-0.1) unstable; urgency=low * Non-maintainer upload. * Update to the latest Git version by Vianney Bouchaud. * Use 3.0 (quilt) source package format. * Own the run subdirectory (Closes: #689891). * Don't remove the system user on package remove. * Fix init script (LP: #30228). -- Andrew Shadura Tue, 15 Oct 2013 13:29:27 +0200 gsmlib (1.10-13.2) unstable; urgency=low * Non-maintainer upload. * Fix +CSMS response parsing: an argument can be zero-length (Closes: #602739). * Fix +COPS response parsing: additional numeric argument possible (Closes: #674856). * Migrate to /run. -- Andrew O. Shadura Fri, 15 Jun 2012 11:10:39 +0200 gsmlib (1.10-13.1) unstable; urgency=low * Non-maintainer upload. * Binary from dependency was used in postrm script, violating the policy. Closes: #619697. -- Eva Ramon Salinas Sat, 16 Jun 2012 17:38:43 +0200 gsmlib (1.10-13) unstable; urgency=low * Ack NMU, Thanks Michael, Christoph & Petter * debian/control add Homepage: * Update debian/copyright; gsm-lib/COPYING actually specifies LGPL: - fixes lintian:copyright-without-copyright-notice * Update manpages fixes lintian:hyphen-used-as-minus-sign * Update debian/gsm-utils.init - fixes lintian:init.d-script-missing-lsb-short-description * Bug fixes from ubuntu - Don't install contrib/gsm-utils.init dh_installinit debian/gsm-utils.init - Create /var/run/gsm-utils * Add case 'L' to apps/gsmsmsd.cc - thks to Andrew Suffield - syslog support does not work (Closes: #346240) * gsm-utils.init really call restart with --stop first - init script calls --start twice (Closes: #377448) * Explictly set /bin/bash: gsmsmsspool & gsmsmsrequeue - bashism in /bin/sh script (Closes: #464981) - gsmsmsrequeue contains bashism or function error (Closes: #459396) * Patch apps/gsmsmsstore.cc - thks Isaac Wilcox - gsmsmsstore device existence check causes problems with RFCOMM devices (Closes: #340179) * Only start gsmsmsd if set in /etc/default/gsm-utils. crontab -> examples - gsmsmsd should be optional / start only if told so in /etc/default/gsm-utils (Closes: #474093) * Apply patch from Stefan Katerkamp & Jacob Nevins - Gsmsendsms fails with SonyEricsson W880 (fix included) (Closes: #413341) -- Mark Purcell Mon, 06 Oct 2008 15:01:49 +1100 gsmlib (1.10-12.5) unstable; urgency=low * Non-maintainer upload. * Yet another bashism that was later on reported on the old bug report, thus again closes: #464981 * Also found a shell related problem in debian/rules and fixed it. * Bumped standard to 3.7.3. -- Michael Meskes Mon, 14 Apr 2008 10:48:19 +0200 gsmlib (1.10-12.4) unstable; urgency=low * Non-maintainer upload. * Argh, somehow I mananged to upload without fixing the bug completely, sorry. Added those missing braces, closes: #464981. -- Michael Meskes Wed, 09 Apr 2008 14:46:08 +0200 gsmlib (1.10-12.3) unstable; urgency=high * Non-maintainer upload. * Removed bashism in contrib/gsmsmsrequeue (Closes: #464981). -- Michael Meskes Sun, 06 Apr 2008 15:37:35 +0200 gsmlib (1.10-12.2) unstable; urgency=low * Non-maintainer upload. * Fix FTBFS with GCC 4.3: 'strerror' was not declared in this scope, thanks to Cyril Brulebois for the patch (Closes: #455402). -- Christoph Berg Fri, 04 Apr 2008 18:01:05 +0200 gsmlib (1.10-12.1) unstable; urgency=low * Non-maintainer upload to solve release goal. * Add LSB dependency header to init.d scripts (Closes: #464061). -- Petter Reinholdtsen Fri, 28 Mar 2008 11:39:20 +0100 gsmlib (1.10-12) unstable; urgency=low * addgroup --system gsmsms works better. Thanks Jon * only delete gsmsms on purge - gsm-utils: deletes and recreates the gsmsms user on each upgrade (Closes: #346238) - gsm-utils fails installation / addgroup: The user gsmsms; does not exist (Closes: #445404) * lintian cleanup: debian-rules-ignores-make-clean-error substvar- source-version-is-deprecated * Scripts are installed +x - gsm-utils: uselessly installs non-executable scripts into /usr/bin (Closes: #346230) * Remove bogus symlink - gsm-utils: wrong symlink for manpage gsmsiectl.1 (Closes: #322382) - gsm-utils: gsmsiectl.1 dangling symlink (Closes: #399582) * debian/gsm-utils.init reload/restart was not calling --stop. Thanks Barry - init script calls --start twice (Closes: #377448) -- Mark Purcell Mon, 08 Oct 2007 21:44:00 +0100 gsmlib (1.10-11) unstable; urgency=low * Create system group gsmsms - Thanks Emmanuel - gsm-utils: creates group in non-system gid range (Closes: #353967) - gsm-utils: postinst should create system grp gsmsms (Closes: #390266) * Upgrade to compat 4 * Apply gcc-4.3 patch from Martin - FTBFS with GCC 4.3: missing #includes (Closes: #417222) -- Mark Purcell Sat, 29 Sep 2007 18:22:56 +0100 gsmlib (1.10-10) unstable; urgency=low * FTBFS with G++ 4.1: extra qualifications (Closes: #356109) -- Mark Purcell Sat, 20 May 2006 21:54:42 +0100 gsmlib (1.10-9) unstable; urgency=low * library package needs to be renamed (libstdc++ allocator change) (Closes: #339179) -- Mark Purcell Mon, 21 Nov 2005 21:19:51 +0000 gsmlib (1.10-8) unstable; urgency=low * removal of automake1.6 (Closes: #335123) * fails with dash [bashisms in scripts] (Closes: #309834) * Update libtool Fixes: gsmlib(GNU/k*BSD): FTBFS: out of date libtool scripts (Closes: #319688) * [INTL:de] German PO file corrections (Closes: #314060) * Fix: old-fsf-address-in-copyright-file -- Mark Purcell Thu, 3 Nov 2005 22:40:19 +0000 gsmlib (1.10-7) unstable; urgency=low * C++ 4.0 transition * Closes: #315864: Missing manpages * gsm-utils: maintainer-script-needs-depends-on-adduser postinst -- Mark Purcell Sat, 23 Jul 2005 00:46:31 +1000 gsmlib (1.10-6) unstable; urgency=low * Rebuild for invalid dependancies * Closes: #258056: libgsmme 99% cpu usage - Patch from Emard * Closes: #274382: FTBFS with gcc-3.4: template-id `operator< <>' for `bool gsmlib::operator<(const gsmlib::MapKey<gsmlib::SortedPhonebookBase>&, const gsmlib::MapKey<gsmlib::SortedPhonebookBase>&)' does not match any template declaration - Patch from Andreas Jochens * Closes: #294251: FTBFS (amd64/gcc-4.0): explicit qualification in declaration of `bool gsmlib::operator<(const gsmlib::MapKey<SortedStore>&, const gsmlib::MapKey<SortedStore>&)' - Patch from Andreas Jochens * Closes: #200189: Patch and contribution + Added multi-queue-priority-system and syslog patch (Matthias Goebl) + Included init, spool and requeue scripts for gsmsmsd (Matthias Goebl) + gsmsmsd runs with own user and group (gsmsms:gsmsms) (Matthias Goebl) -- Mark Purcell Tue, 17 May 2005 11:34:45 +0100 gsmlib (1.10-5) unstable; urgency=low * Change Section: libdevel * gsm_unix_serial.cc patch from Daniel Schepler to fix g++-3.3 compliation. Thanks. (Closes: Bug#195151) -- Mark Purcell Sat, 19 Jul 2003 15:57:28 +1000 gsmlib (1.10-4) unstable; urgency=low * Include file descriptor leak patch from Edd Dumbill (Closes: Bug#168475) * lintian cleanup: description-synopsis-might-not-be-phrased-properly * lintian cleanup: configure-generated-file-in-source -- Mark Purcell Sun, 9 Feb 2003 14:04:54 +1100 gsmlib (1.10-3) unstable; urgency=low * New Maintainer (Closes: Bug#180061). Thanks Mikael for your work. -- Mark Purcell Sat, 8 Feb 2003 16:55:26 +1100 gsmlib (1.10-2) unstable; urgency=low * Rebuild to use the new c++ ABI (GCC 3.2) -- Mikael Hedin Thu, 23 Jan 2003 20:57:50 +0100 gsmlib (1.10-1) unstable; urgency=low * New upstrem release. -- Mikael Hedin Wed, 6 Nov 2002 17:44:17 +0100 gsmlib (1.9-2) unstable; urgency=low * Made new rules for the config.guess/sub update thing (closes: #146865, #146867). -- Mikael Hedin Tue, 14 May 2002 09:28:03 +0200 gsmlib (1.9-1) unstable; urgency=low * New upstream version. * Use chrpath to get rid of rpaths. * Add mini-manpage for gsmsiexfer. * Remove b-d on auto-stuff, we don't use them. -- Mikael Hedin Mon, 13 May 2002 22:10:28 +0200 gsmlib (1.8-2) unstable; urgency=low * Removed b-d on gcc 3.0, as they are no longer nessecary. -- Mikael Hedin Thu, 24 Jan 2002 12:59:07 +0100 gsmlib (1.8-1) unstable; urgency=low * New upstream version. * Revert the arch hack, now it should compile with either g++. * Include the new lib in libgsmme1. Run dh_makeshlibs -V because of this. * Added info for gsmsiectl in gsmctl(1). -- Mikael Hedin Wed, 9 Jan 2002 22:38:45 +0100 gsmlib (1.7-2) unstable; urgency=low * gsm-utils: Added shlibs:Depends (closes: #126127). * Spelling correction (closes: #124705, #124972) * Rm libgsmme1.postins, and let dh_makeshlibs take care of ldconfig. * Made explicit arch list without sparc and arm, they cannot use g++-3.0 right now. -- Mikael Hedin Sat, 22 Dec 2001 20:27:54 +0100 gsmlib (1.7-1) unstable; urgency=low * New upstream * Use gcc-3.0 and g++-3.0, 2.95 doesn't compile. -- Mikael Hedin Thu, 1 Nov 2001 10:24:33 +0100 gsmlib (1.6-5) unstable; urgency=low * Updated manpage (closes: #110973) * Corrected problem with OP status (closes: #110970) -- Mikael Hedin Sat, 8 Sep 2001 18:12:17 +0200 gsmlib (1.6-4) unstable; urgency=low * Support DEB_BUILD_OPTIONS * Changed libgsmme-dev to section devel. * Reran libtoolize. * Lots of small patches to compile with g++-3.0. (Closes: #104411) * Removed dh_testversion. -- Mikael Hedin Thu, 12 Jul 2001 16:06:23 +0200 gsmlib (1.6-3) unstable; urgency=low * Various minor corrections. -- Mikael Hedin Thu, 8 Mar 2001 16:24:07 +0100 gsmlib (1.6-2) unstable; urgency=low * Dont install INSTALL. Correct indentation for libgsmme1 description. -- Mikael Hedin Tue, 6 Mar 2001 14:55:05 +0100 gsmlib (1.6-1) unstable; urgency=low * New upstream version. -- Mikael Hedin Mon, 29 Jan 2001 17:57:21 +0100 gsmlib (1.5-1) unstable; urgency=low * Initial Release. -- Mikael Hedin Thu, 14 Dec 2000 01:06:40 +0100 debian/source/0000755000000000000000000000000012227010062010456 5ustar debian/source/format0000644000000000000000000000001412226750306011677 0ustar 3.0 (quilt) debian/source/include-binaries0000644000000000000000000000007612227010062013621 0ustar po/de.gmo tests/spbi1.pb tests/testsms.log tests/testssms.log debian/libgsmme1c2a.install0000644000000000000000000000004212227013533013016 0ustar usr/lib/*/*.so.* usr/share/locale po/de.gmo0000644000000000000000000010344212226772753007477 0ustar Þ•s´ óLA4[8.É8ø11 +c . 4¾ 0ó r$!h—!?"4@":u"6°"zç"jb#hÍ#=6$1t$(¦$'Ï$6÷$y.%)¨%oÒ%,B&-o&a&4ÿ&[4','g½'k%(,‘(5¾(Ÿô(”)›)¡)°)¹)Ê)Ú)â)Ùý),×*$+ )+d5+š+ £+?­+?í+2-, `, ,Ž,”,, ¤,7®,æ,6-<-&L-)s--h¬-¦.k¼.(/S¨/ü/040J0Y0k0‚0Š0 “0 Ÿ0«0È0ã0ù0 11 .191+T1€11²1É1à1û1 2 2%20723h2œ23µ2é23363 T3 _3,m3š3±38Í344,+4X4r4 Œ4­4Í4æ455/5?5T5 g5ˆ5¢5 ·5Å5Ô5ç566.6J6h6 €6¡6J¶677 ,7*97"d7!‡7"©7 Ì7Ú7â7ô788&878I8^8*g8 ’8ž8 ¯8¹8Ó8ó89"9=9 F9S9n9Ž9£9Â9"Ó9Uö9!L: n::¯:Ê:ä: ü:;$;?;Q;c;ƒ;—;¯;Â;Û;ø;<)<F<[<v< ‰<–<¯< Á<Ë<Ô<-Ü<- =$8= ]= g=q=)Œ=$¶=,Û=.>7>M>*m>)˜>*Â>í>? ?'?C? Z?{?ƒ?”?#ª? Î?Ù?÷? @!@A@#X@|@˜@µ@.Ñ@-A,.A[AqA ŒA ™A§A»AÔAãAøAB"B5BIB.eB ”B žB*¿B êB"ôBC *C#4CXC0oC$ C ÅCæCDD4D!ID!kD D›D°DiÌDQ6EˆE¥E¬E*½EèE ÷EF"F!2FTFkF‹F¨FÀFÓFíF9 G CG+MG yG…GŽG’G"•G¸GÌGâGúGH$H @HSNH¢HÀHÏHìHI#!IEIUI^IgIyI‘I¤I½IÍIäI)ýI'J%>JdJzJ(JK¹J"K(K=KZK7uK­K%ÄKêKL$L,:L!gL‰L¡L©L ¿L%ÍL#óL%M"=M`MwM•M¤M¿M ×MãM$N.%NTN nN|NN›OAêOC,P.pP@ŸPKàP.,Q;[Q?—Q1×Q­ R{·Rf3S5šS;ÐS? TLT:ÝT:U-SU-U8¯U-èUCV•ZVLðV=W9ËW/X<5X9rXA¬X<îX…+YбY:%]d]}u]ó] ü]C^BL^@^'Ð^ ø^_ __ _H&_#o_6“_Ê_!Ú_9ü_6`nE`¯´`nda‰ÓaR]b°bÐbïbcc%c;cMc _c kc!uc%—c½cÒcãcócd!d2@d sd”d¬d¾dÍdàd ïd üd eG'ePoeÀe;Óe f0f!Ff%hf Žf˜f4§fÜf#üf= g^grg6ˆg¿gÛg"÷g!hêy.)zXz(xz¡z¹zØz/ñz%!{G{X{q{r‘{`| e|†|Ž|4¢|×| ç|!õ|} /}P}*m}#˜}(¼} å}!ï}"~@4~u~*„~¯~¿~Ï~Ó~%Ö~ü~/Ke$}¢L±'þ&€(7€`€!y€$›€À€Ò€ Ú€å€+û€'-Es’!«2Í‚/‚I‚^‚.s‚G¢‚#ꂃ$#ƒ,Hƒ:uƒ#°ƒ%Ôƒ'úƒ$"„G„/]„&„´„ ΄Ø„ò„(…/.….^…'…µ…-Ï…ý…†.†L†$g†+Œ†6¸†ï†‡fë°g@šJÅ%Ž´£úq{’€¼§kжIÓõ¿CcKFÏ^ŒGrM‹ù‰È‘:a1/EÌ+U¦ýÒ$UEk6,.x™¤ÎBpž èüRm^)Æb÷jp¾ –áq 3:$Ö'H”sP¨ @næâ_½Z B=T‡ÿ²Û³“¬ÚL‚Kj[ev}ãÁ65Qr3Z<os &i«*Õg­`Íñ]/&fb!LºSÄcAê†N+nŸ\é2Ç¢·GÞªÝ,¡  wD8(aµ.-…øWWXÀà*AYìQ»Vˆß")Ãi;Ù8 C =Øot[¸îh'9•ûíXö>-9|u—PƒdÜÉŠ¥7>10›MJò¹"ó4V;?H4çÑÂN D5yðd ˜]R %œËhOï„IT2?(\Ô#!Få<#äYze©l`~®0lʱ¯þ_7O×Smô cb, no_cb controls reception of cell broadcast messages sms, no_sms controls reception of normal SMS stat, no_stat controls reception of status reports -C, --sca SMS service centre address -D, --destination-backend sets the destination backend -D, --direct enable direct routing of SMSs -I, --init device AT init sequence -S, --source-backend sets the source backend -V, --verbose print detailed progress messages -X, --xonxoff switch on software handshake -a, --action the action to execute when an SMS arrives (SMS is send to stdin of action) -a, --add add new SMS submit message (phonenumber and text) to destination -b, --baudrate baudrate to use for device (default: 38400) -c, --concatenate ID for concatenated SMS messages -c, --concatenate start ID for concatenated SMS messages -c, --copy copy source entries to destination -c, --copy copy source entries to destination (if indices are given, copy only these entries) -d, --destination sets the destination device to connect to, or the file to write to -d, --destination sets the destination device to connect to, or the file to write -d, --device sets the destination device to connect to -d, --device sets the device to connect to -f, --flush flush SMS from store -h, --help prints this message -i, --index takes index positions into account -k, --backup backup new entries to destination (if indices are given, copy only these entries) -l, --list list source to stdout -o, --operation operation to perform on the mobile phone with the specified parameters -p, --phonebook name of phonebook to use -r, --requeststat request SMS status report -s, --source sets the source device to connect to, or the file to read -s, --spool spool directory for outgoing SMS -t, --charset sets the character set to use for phonebook entries -t, --store name of SMS store to use -t, --store name of SMS store to use for flush and/or temporary SMS storage -t, --test convert text to GSM alphabet and vice versa, no SMS message is sent -v, --version prints version and exits -x, --delete delete entries denoted by indices -y, --synchronize synchronize destination with source entries (destination is overwritten) (see gsmpb(1) for details) Data Fax Long name: ' Mode: Numeric name: Short name: ' Voice default is "sms cb stat" parameters parameters to use for the operation (if an operation is given) or a specification which kind of information to read from the mobile phone phonenumber recipient's phone number sms_type may be any combination of subaddr: text optional text of the SMS message if omitted: read from stdin time: unknown (Permanent Error, SC is not making any more transfer attempts) (Temporary error, SC is not making any more transfer attempts) (Temporary error, SC still trying to transfer SM) (at position %d of string '%s') (index #%d) days minutes weeks(code %s)(try setting sms_type, please refer to gsmsmsd manpage)0 ME is powered by the battery1 ME has a battery connected, but is not powered by it16-bit alphabet2 ME does not have a battery connected3 Recognized power fault, calls inhibited8-bit alphabet: [-a action][-b baudrate][-C sca][-d device][-f][-h][-I init string] [-s spool dir][-t][-v]{sms_type}: [-a][-b baudrate][-c][-C sca][-d device or file] [-h][-I init string][-k][-l][-s device or file][-t SMS store name] [-v][-V][-x][-X]{indices}|[phonenumber text]: [-b baudrate][-c concatenatedID][-C sca][-d device][-h][-I init string] [-t][-v][-X] phonenumber [text]: [-b baudrate][-c][-d device or file][-h][-I init string] [-p phonebook name][-s device or file][-t charset][-v][-V][-y][-X]: [-b baudrate][-d device][-h][-I init string][-o operation] [-v][-X]{parameters}: version %s [compiled %s] Functionality Level: Manufacturer: Model: Revision: Serial Number: > Status: Call barredCannot replace short messageCommand cannot be actionedCommand data length: Command data: 'Command type: 0xCommand unsupportedCongestionConnection rejected by SMEData coding scheme (alphabet) not supportedData coding scheme present: Data coding scheme: Destination SME barredDestination address: 'Destination out of serviceDischarge time: Error in MSError in SMEFacility rejectedFunctionality Level commands not supported by MEIf no action is given, the SMS is printed to stdoutIncompatible destinationInformation element non-existent or not implementedInterworking, unspecifiedInvalid SME addressInvalid Transaction IdentifierInvalid mandatory informationME failureME/TA error 'ME/TA error '' (code not known)Memory Capacity ExceedMessage class not supportedMessage not compatible with short message protocol stateMessage number: Message reference: Message type non-existent or not implementedMessage type: SMS-COMMANDMessage type: SMS-DELIVERMessage type: SMS-DELIVER-REPORTMessage type: SMS-STATUS-REPORTMessage type: SMS-SUBMITMessage type: SMS-SUBMIT-REPORTMobileBusyReasonMore messages to send: Network failureNetwork out of orderNo SC subscriptionNo SMS storage capability in SIMNo interworking availableNo response from SMENoReplyReasonNot obtainableNotReachableReasonOperator determined barringOriginating address: 'PH-SIM PIN requiredProtocol error, unspecifiedProtocol identifier present: Protocol identifier: 0xQuality of service not availableRecipient address: 'Refer to gsmctl(1) for details on the available parameters and operations.Reject duplicates: Remote Procedure ErrorReply path: Requested Functionality Level out of rangeRequested facility not implementedRequested facility not subscribedResources unavailable, unspecifiedSC address: 'SC busySC system failureSC timestamp: SIM PIN requiredSIM PIN2 requiredSIM PUK requiredSIM PUK2 requiredSIM SMS storage fullSIM busySIM card changed while accessing phonebookSIM failureSIM not insertedSIM wrongSM Rejected-Duplicated SMSM deleted by SC administrationSM deleted by originating SMESM does not exitSM validity period expiredSME busySMS message SMS service of ME reservedSMS text is larger than allowedSMSC address unknownSemantically incorrect messageService rejectedShort message Type 0 not supportedShort message forwarded by the SC to the SME but the SC is unable to confirm deliveryShort message received by the SMEShort message replaced by the SCShort message transfer rejectedStatus report indication: Status report qualifier: Status report request: Status: 0xTPDU not supportedTelematic interworking not supportedTemporary failureType of message: Unassigned (unallocated) numberUnconditionalReasonUnidentified subscriberUnknown subscriberUnspecifiec TP-DCS errorUnspecified TP-Command errorUnspecified TP-PID errorUnspecified error causeUser data header indicator: User data header: 0xUser data length present: User data length: User data: 'Validity period format: Validity period: [ERROR]: absoluteactive attempt to change SMS store read from attempt to change phonebook read from attempt to overwrite phonebook entryautomaticavailablebad hexadecimal PDU formatboth source and destination must be givenboth source and destination requiredcall forward time must be in the range 0..30can only send SMS-SUBMIT and SMS-COMMAND TPDUscannot open file '%s'cannot route SMS messages to TEcannot route cell broadcast messages to TEcannot route status report messages to TEcannot route status reports messages to TEcell broadcast message clearing DTR failedcompressed corrupt SMS store file '%s'could not execute '%s'count not open SMS spool file %scurrentdefault alphabetdeleting '%s' tel# %sdeleting entry #%d from destinationderegisterdestination must not be givendestination requireddial string too longelectronic mail message waitingentry '%s' lacks indexerror opening file '%s' for writingerror reading from file '%serror reading from file '%s'error renaming '%s' to '%s'error when calling opendir('%s')(errno: %d/%s)error when calling sigaction() (errno: %d/%s)error when calling stat('%s') (errno: %d/%s)error writing to '%s'error writing to file '%s'expected '"'expected '%c'expected ')' or ','expected ')', ',' or '-'expected commaexpected end of lineexpected numberexpected number, got '%s'expected parameterfax message waitingfile '%s' has wrong versionfile '%s' is neither file nor character deviceforbiddengetting file status flags failedillegal character in telephone number '%s'inactive incompatible options '%c' and '%c'incorrect passwordindex #%dindices must be unique in phonebookinserting '%s' tel# %sinserting entry #%d from source into destinationinserting new entry into destinationinterrupted when reading from TAinterrupted when writing to TAinvalid ME error %dinvalid PDU mode parameterinvalid SMS error %dinvalid characters in dial stringinvalid characters in text stringinvalid indexinvalid memory indexinvalid text mode parameterlength of telephone number '%s' exceeds maximum telephone number length (%d characters) of phonebook '%s'length of text '%s' exceeds maximum text length (%d characters) of phonebook '%s'line '%s' has invalid formatmanualmanual/automaticmaxmimum number of symbolic links exceededmemory failurememory fullmore than two parameters givennetwork timeoutno +CNMA acknowledgement expectedno connection to phoneno device given for sending SMSno index '%s' in destinationno index '%s' in sourceno network serviceno operation option givennot enough parameters givennot enough parameters, minimum number of parameters is %dnot foundnot more than 255 concatenated SMSs allowednot presentnumber: offononly serviceLevel 0 or 1 supportedopening device '%s'operation not allowedoperation not supportedother message waitingph SIM PIN requiredphone adaptor link reservedphone failurephone number '%s' is too large to fit into destination (maximum size %d characters)phone number and text missingphonebook fullphonebook name must be givenpremature end of PDUrange of the form a- no allowedrange of the form a-b-c not allowedreading from TArelativereservedreserved alphabetreset modem failed '%s'setting DTR failedsource must not be givensource requiredstatus report message store name must be givenstore name must be given for flush optionsubmit report message switching of non-blocking mode failedtcgetattr device '%s'tcsetattr device '%s'text '%s' contains illegal character '"'text '%s' is too large to fit into destination (maximum size %d characters)text is larger than 160 characterstext string too longtimeout when reading from TAtimeout when writing to TAtoo many parameters, maximum number of parameters is %dunable to set operatorunexpected character in PDU handshakeunexpected end of string '%s'unexpected number format %dunexpected parametersunexpected response '%s' when sending 'AT%s'unexpected unsolicited event '%s'unhandled SMS TPDU typeunknownunknown baudrate '%s'unknown errorunknown facility class parameter '%c'unknown forward mode parameter '%s'unknown forward reason parameter '%s'unknown information parameter '%s'unknown operation '%s'unknown opmode parameter '%s'unknown optionunknown time period formatunspecified ME/TA errorunsupportedunsupported alphabet for SMSupdating '%s' tel# %s to new tel# %supdating '%s' tel# %s to new tel# %s(index %d)voicemail message waitingwriting to TAProject-Id-Version: gsmlib 1.5 POT-Creation-Date: 2002-10-22 22:48+0200 PO-Revision-Date: 2002-10-16 23:21+0200 Last-Translator: Peter Hofmann Language-Team: Peter Hofmann MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 8bit cb, no_cb schaltet Empfang von Zellen-weiten Nachrichten an bzw. aus sms, no_sms schaltet Empfang von normalen SMS an bzw. aus stat, no_stat schaltet Empfang von Status-Reports an bzw. aus -C, --sca SMS service centre address -D, --destination-backend stellt den Typ des Ziel-Backends ein -D, --direct direkte Weiterleitung von SMSs ohne Zwischenspeicherung -I, --init AT-Initialisierungssequenz -S, --source-backend stellt den Typ des Ziel-Backends ein -V, --verbose gibt detaillierte Fortschrittsmeldungen aus -X, --xonxoff Software Handshake anschalten -a, --action die auszuführende Aktion, wenn eine SMS eintrifft (Kurznachricht wird zur Standardeingabe der Aktion geschrieben) -a, --add füge neue SMS-Submit-Nachricht (Telefonnummer und Text) in das Zielgerät/-datei ein -b, --baudrate für das Gerät zu verwendende Baud-Rate (Voreinstellung: 38400) -c, --concatenate ID für verbundene SMS-Nachrichten -c, --concatenate Start-ID für verbundene SMS-Nachrichten -c, --copy kopiere Quell-Einträge zum Zielgerät/-datei -c, --copy kopiere Quell-Einträge in das Zielgerät/-datei (wenn Indices angegeben sind, kopiere nur diese Einträge) -d, --destination setzt das Zielgerät bzw. die Zieldatei -d, --destination setzt das Zielgerät bzw. die Zieldatei -d, --device stellt das Ziel-Gerät ein -d, --device stellt das Ziel-Gerät ein -f, --flush lösche und bearbeite SMS im Speicher -h, --help gibt diesen Hilfetext aus -i, --index berücksichtige die Indexpositionen der Einträge -k, --backup sichert alle neuen Einträge in die Zieldatei/-gerät (wenn Indices angegeben sind, sichere nur diese Einträge) -l, --list schreibe Liste der Quelleinträge auf die Standardausgabe -o, --operation gibt die Operation an, die auf dem Mobiltelefon mit den angegebenen Parametern ausgeführt werden soll -p, --phonebook Name des zu verwendenden Telefonbuchs -r, --requeststat fordert SMS-Statusreport an -s, --source setzt das Quellgerät bzw. die Quelldatei -s, --spool Spool-Verzeichnis für zu sendende SMS -t, --charset setzt den Zeichensatz für Telefonbucheinträge -t, --store gibt den zu verwendenden SMS-Speicher an -t, --store gibt den zu verwendenden SMS-Speicher an (für flush- Option und/oder temporären SMS-Speicher) -t, --test konvertiert den Text in das GSM-Alphabet und wieder zurück. Es wird keine SMS-Nachricht versendet. -v, --version gibt Versionsnummer aus und terminiert -x, --delete lösche die durch die Indices spezifizierten Einträge -y, --synchronize synchronisiere das Zielgerät/-datei mit der Quelle (Zieleinträge werden eventuell überschrieben) (siehe gsmpb(1) für weitere Details) Daten Fax Langname: ' Modus: Numerischer Name: Kurzname: ' Sprache Die Voreinstellung ist "sms cb stat". Parameter die für die Operation zu verwendenden Parameter (wenn eine Operation ausgeführt werden soll) oder die Spezifikation der vom Mobiltelefon zu lesenden Informationen Telefonummer die Telefonnummer des Empfängers SMS-Typ kann aus den folgenden Parametern kombiniert werden: Unteradresse: text Text der SMS-Nachricht (optional), wenn nicht angegeben: lese von der Standardeingabe Zeit: unbekannt (permanenter Fehler, SC macht keine weiteren Übertragungsversuche) (temporärer Fehler, SC macht keine weiteren Übertragungsversuche) (temporärer Fehler, SC versucht weiterhin die SM zu übertragen) (an Position %d der Zeichenkette '%s') (Index #%d) Tage Minuten Wochen(Code %s)(versuchen Sie, den sms_type zu setzen; siehe auch gsmsmsd Manual-Seite)0 ME wird von der Batterie gespeist1 ME-Batterie ist vorhanden, liefert aber keinen Strom16-bit Alphabet2 ME-Batterie nicht angeschlossen3 Problem mit der Energieversorgung, keine Anrufe möglich8-Bit Alphabet: [-a Aktion][-b Baud-Rate][-C sca][-d Gerät][-f][-h][-I Init String] [-s Spoolverzeichnis][-t][-v]{SMS-Typ}: [-a][-b Baud-Rate][-c][-C sca][-d Gerät oder Datei] [-h][-I Init String][-k][-l][-s Gerät oder Datei][-t SMS Speichername] [-v][-V][-x][-X]{Indices}|[Telefonnummer Text]: [-b Baud-Rate][-c concatenatedID][-C sca][-d Gerät][-h][-I Init String] [-t][-v][-X] Telefonnummer [Text]: [-b Baud-Rate][-c][-d Gerät oder Datei][-h][-I Init String] [-p Telefonbuchname][-s Gerät oder Datei][-t Zeichensatz][-v][-V][-y][-X]: [-b Baud-Rate][-d Gerät][-h][-I Init String][-o Operation] [-v][-X]{Parameter}: Version %s [kompiliert am %s] Funktionalitäts-Level: Hersteller: Modell: Revision: Seriennummer: > Status: Rufsperrekann Kurznachricht nicht ersetzenKommando kann nicht ausgeführt werdenKommandodatenlänge: Kommandodaten: 'Kommandotyp: 0xKommando nicht unterstütztNetzüberlastungVerbindung vom SME zurückgewiesenDatenkodierungsschema (Alphabet) nicht unterstütztDatenkodierungsschema präsent: Datenkodierungsschema: Ziel-SME gesperrtZieladresse: 'Ziel außer BetriebAussendezeit: Fehler im MSFehler im SMEDienstmerkmal zurückgewiesenFunktionalitäts-Level-Kommandos werden vom Gerät (ME) nicht unterstütztWenn keine Aktion angegeben ist, wird die SMS auf der Standardausgabe angezeigt.inkompatibles ZielInformationselement nicht existent oder nicht implementiertInterworking, nicht spezifiziertungültige SME-Adresseungültiger Transaktionsbezeichnerungültige, obligatorische InformationME-FehlerME/TA-Fehler 'ME/TA-Fehler '' (Code nicht bekannt)Speicherkapazität überschrittenNachrichtenklasse nicht unterstütztNachricht nicht vereinbar mit Kurznachrichten-ProtokollstatusNachrichtennummer: Nachrichtenreferenz: Nachrichtentyp nicht existent bzw. nicht implementiertNachrichtentyp: SMS-COMMANDNachrichtentyp: SMS-DELIVERNachrichtentyp: SMS-DELIVER-REPORTNachrichtentyp: SMS-STATUS-REPORTNachrichtentyp: SMS-SUBMITNachrichtentyp: SMS-SUBMIT-REPORT"Mobiltelefon besetzt"Mehr Nachrichten zu versenden: Netz-FehlerNetz außer BetriebSC nicht freigeschaltetKeine SMS-Speicherfähigkeit in SIMkein Interworking verfügbarkeine Antwort vom SME"Keine Antwort"nicht verfügbar"Nicht erreichbar"vom Operator geschaltete SperreSenderadresse: 'PH-SIM PIN erforderlichProtokollfehler, nicht spezifiziertProtokollbezeichner präsent: Protokollbezeichner: 0xDienstqualität nicht verfügbarEmpfängeradresse: 'Bitte beziehen Sie sich auf die Manual-Seite gsmctl(1) für weitere Details über die unterstützten Parameter und Operationen.Duplikate zurückweisen: Fern-Prozedur-Aufrufs-FehlerAntwortpfad: Angeforderter Funktionalitäts-Level außerhalb des erlaubten Bereichsangefordertes Dienstmerkmal nicht implementiertangefordertes Dienstmerkmal nicht freigeschaltetRessourcen nicht verfügbar, nicht spezifiziertSC-Adresse: 'SC besetztSC-SystemfehlerSC-Zeitstempel: SIM PIN erforderlichSIM PIN2 erforderlichSIM PUK erforderlichSIM PUK2 erforderlichSIM-SMS-Speicher vollSIM beschäftigtSIM-Karte wurde gewechselt beim Zugriff auf TelefonbuchSIM-FehlerSIM nicht eingestecktfalsche SIMKurznachricht zurückgewiesen - doppelte KurznachrichtSM von der SC-Administration gelöschtSM von der sendenden SME gelöschtSM macht keinen ExitSM-Gültigkeitszeitraum überschrittenSME besetztSMS Nachricht SMS-Dienst im ME reserviertSMS-Text ist länger als erlaubtSMSC-Adresse nicht bekanntsemantisch fehlerhafte NachrichtDienst zurückgewiesenKurznachrichtentyp 0 nicht unterstütztdie Kurznachricht wurde vom SC zur SME weitergeleitet, aber das SC ist nicht in der Lage, den Empfang zu bestätigenKurznachricht von der SME empfangenKurznachricht wurde vom SC ersetztKurznachrichten-Übertragung zurückgewiesenStatus-Report-Indikation: Status-Report-Attribut: Status-Report-Anforderung: Status: 0xTPDU nicht unterstütztTelematisches Interworking nicht unterstützttemporärer FehlerTyp der Nachricht: nicht zugewiesene Nummer"Alle Anrufe"unidentifizierter Teilnehmerunbekannter Teilnehmerunspezifizierter TP-DCS-Fehlerunspezifizierter TP-Kommando-Fehlerunspezifizierter TP-PID-Fehlerunspezifizierter FehlergrundBenutzerdatenvorspann (Indikation): Benutzerdatenvorspann: 0xBenutzerdatenlänge präsent: Benutzerdatenlänge: Benutzerdaten: 'Gültigkeitszeitraum-Format: Gültigkeitszeitraum: [FEHLER]: absolutaktivVersuch, SMS-Speicher zu verändern, der von der Standardeingabe gelesen wurdeVersuch, von der Standardeingabe gelesenes Telefonbuch zu verändernVersuch, einen Telefonbucheintrag zu überschreibenautomatischverfügbarfehlerhaftes hexadezimales PDU-Formatsowohl Quellgerät/-datei als auch Zielgerät/-datei erforderlichsowohl Quellgerät/-datei als auch Zielgerät/-datei erforderlichRufumleitungszeit muss im Bereich 0..30 seinkann nur SMS-SUBMIT und SMS-COMMAND TPDUs sendenkann Datei '%s' nicht öffnenkann keine Kurznachrichten zum TE weiterleitenkann keine Zellen-weiten Nachrichten zum TE weiterleitenkann keine Status-Report-Nachrichten zum TE weiterleitenkann keine Status-Report-Nachrichten zum TE weiterleitenZellen-weite Nachricht Zurücksetzen von DTR fehlgeschlagenkomprimiert beschädigte SMS-Speicherdatei '%s'konnte '%s' nicht ausführenkann SMS Spool-Datei '%s' nicht öffnenaktuellStandardalphabetlösche '%s' Tel# %slösche Eintrag #%d von Zielgerät/-dateiabmeldenZielgerät/-datei darf nicht angegeben werdenZielgerät/-datei erforderlichzu wählende Telefonnummer zu langE-Mail-Nachricht abrufbarEintrag '%s' hat keinen IndexFehler beim Öffnen der Datei '%s' zum SchreibenFehler beim Lesen von Datei '%s'Fehler beim Lesen aus der Datei '%s'Fehler beim Umbenennen von '%s' zu '%s'Fehler beim Aufruf von opendir('%s') (errno: %d/%s)Fehler beim Aufruf von sigaction() (errno: %d/%s)Fehler beim Aufruf von stat('%s') (errno: %d/%s)Fehler beim Schreiben zu '%s'Fehler beim Schreiben in die Datei '%s''"' erwartet'%c' erwartet')' oder ',' erwartet')', ',' oder '-' erwartetKomma erwartetZeilenende erwartetZahl erwartetZahl erwartet, nicht '%s'Parameter erwartetFaxnachricht abrufbarDatei '%s' hat die falsche VersionDatei '%s' ist weder eine reguläre Datei noch einen Zeichengerätnicht wählbarLesen der Dateistatus-Flags fehlgeschlagenungültiges Zeichen in der Telefonnummer '%s'inaktivinkompatible Optionen '%c' und '%c'falsches PaßwortIndex #%dIndices im Telefonbuch müssen eindeutig seinfüge ein '%s' Tel# %sfüge Eintrag #%d von Quellgerät/-datei in Zielgerät/-datei einfüge neuen Eintrag in das Zielgerät/-datei einUnterbrechung beim Lesen vom TAUnterbrechnung beim Schreiben auf den TAungültiger ME-Fehler %dungültiger PDU-Modus-Parameterungültiger SMS-Fehler %dungültige Zeichen in zu wählender Telefonnummerungültige Zeichen in der Zeichenketteungültiger Indexungültiger Speicherindexungültiger Text-Modus-Parameterdie Länge der Telefonnummer '%s' überschreitet die maximale Telefonnummernlänge (%d Zeichen) des Telefonbuchs '%s'die Länge des Texts '%s' überschreitet die maximale Textlänge (%d Zeichen) des Telefonbuchs '%s'Zeile '%s' hat ungültiges Formatmanuellmanuell/automatischmaximale Anzahl der symbolischen Links überschrittenSpeicher-FehlerSpeicher vollmehr als zwei Parameter angegebenNetz-Zeitüberschreitungkeine +CNMA-Bestätigung erwartetkeine Verbindung zum Telefonkein Gerät zum Versenden von SMS angegebenkein Index '%s' in Zielgerät/-dateikein Index '%s' in der Quelldatei/-gerätkein Netzkeine Operations-Option angegebennicht genügend Parameter angegebennicht genügend Parameter, die Mindestanzahl der Parameter ist %dnicht gefundennicht mehr als 255 verbundene SMSs erlaubtnicht vorhandenTelefonnummer: ausannur Dienst-Level 0 oder 1 unterstütztbeim Öffnen von Gerät '%s'Operation nicht erlaubtOperation nicht unterstütztandere Nachricht abrufbarph SIM PIN erforderlichTelefonadapter-Verbindung reserviertTelefon-FehlerTelefonnummer '%s' ist zu groß für das Zielgerät (maximale Länge %d Zeichen)weder Telefonnummer noch Text angegebenTelefonbuch vollein Telefonbuchname muß angegeben werdenVorzeitiges Ende der PDUBereich der Form a- nicht erlaubtBereich der Form a-b-c nicht erlaubtbeim Lesen vom TArelativreserviertreserviertes AlphabetZurücksetzen des Modems '%s' fehlgeschlagenSetzen von DTR fehlgeschlagenQuellgerät/-datei darf nicht angegeben werdenQuellgerät/-datei erforderlichStatus-Report-Nachricht Speichername muß angegeben werdenSpeichername muß angegeben werden für flush-OptionSubmit-Report-Nachricht Abschalten des Non-Blocking Mode fehlgeschlagentcgetattr Gerät '%s'tcsetattr Gerät '%s'der Text '%s' enthält das illegale Zeichen '"'Text '%s' ist zu groß für das Zielgerät (maximale Textlänge %d Zeichen)der Text ist länger als 160 ZeichenZeichenkette zu langZeitüberschreitung beim Lesen vom TAZeitüberschreitung beim Schreiben auf den TAzu viele Parameter, die Maximalanzahl der Parameter ist %dkann den Netzbetreiber nicht setzenunerwartetes Zeichen im PDU-Handshakeunerwartetes Ende der Zeichenkette '%s'unerwartetes Telefonnummernformat %dunerwartete Parameterunerwartete Antwort '%s' beim Senden von 'AT%s'unerwartetes asynchrones Ereignis '%s'unerwarteter SMS TPDU-Typunbekanntunbekannte Baud-Rate '%s'unbekannter Fehlerunbekannter Dienstmerkmal-Parameter '%c'unbekannter Weiterleitungs-Modus-Parameter '%s'unbekannter Weiterleitungsgrund-Parameter '%s'unbekannter Informations-Parameter '%s'unbekannte Operation '%s'Unbekannter (Operations-)Modus-Parameter '%s'unbekannte OptionUnbekanntes Zeitperiodenformatunspezifizierter ME/TA-FehlerKommando nicht unterstütztnicht unterstütztes Alphabet für SMSüberschreibe '%s' Tel# %s mit neuer Tel# %süberschreibe '%s' Tel# %s mit neuer Tel# %s (Index %d)Sprachnachricht abrufbarbeim Schreiben auf den TAtests/spbi1.pb0000644000000000000000000000007312226773072010457 0ustar 1|Nummer 4|4444444 3|Nummer 3|3333333 5|same name|12345