[-]
[+]
|
Added |
yaps.changes
|
|
[-]
[+]
|
Added |
yaps.spec
^
|
|
[-]
[+]
|
Added |
yaps-0.96-preselections.diff
^
|
@@ -0,0 +1,364 @@
+--- yaps.rc
++++ yaps.rc
+@@ -9,26 +9,28 @@
+ # This is a comma seperated list of available services. This
+ # is required for autodetect the matching service for a
+ # pager-id
+-services D1,D2,E+
+-+services Telmi,Telmi-Fun,Telmi-Family,Telmi-Top,Telmi-Pro
+-+services Skyper,Quix
++services D1-0160, D1-0170, D1-0171, D1-0175
+++services D2-0172, D2-0173, D2-0174, D2-0174
+++services E+0177, E+0178
+++services Telmi,Telmi-Fun,Telmi-Family,Telmi-Top,Telmi-Pro
+++services Skyper,Quix
+ #
+ # This is the default caller-id. If the protocol/service allowes
+ # it, this is inserted in the message (and the receiver gets this
+ # as the sender's number)
+-call-id +1-(555)-1234
++#call-id 0123-4567890
+ #
+ # If you forget to sign your message, you can automatically append
+ # this string to each message.
+-signature (It's me!)
++#signature NAME
+ #
+ # You can either switch the use of the signature here on for all
+ # services or in each service section for that particular service.
+-use-signature True
++#use-signature True
+ #
+ # To get more verbose output when running yaps increase this value.
+ # Currently 4 is the highest supported value.
+-verbose 0
++verbose 4
+ #
+ # If you'd like to log every sending session define this. It should
+ # point to a writeable file. If you install the software setgid, then
+@@ -88,12 +90,12 @@
+ #
+ # Most services limit the length of a message to a specific length.
+ # Enter the value here to check valid messages
+-#max-size 160
++max-size 160
+
+ #
+ # If a message is longer than max-size, you can set this to split
+ # it off into several single messages of allowed length
+-#may-split True
++may-split True
+
+ #
+ # If a message is longer than max-size, you can set this to truncate
+@@ -107,7 +109,7 @@
+
+ #
+ # If the service allows using your caller-id set this to True.
+-#use-call-id True
++use-call-id True
+
+ #
+ # If the service is reachable over a phonenumber where the pager-id
+@@ -186,7 +188,8 @@
+
+ #
+ # Set this to the modem device you wish to use
+-#device /dev/modem
++device /dev/ttyS0
++#device /dev/ttyI5
+ #device /dev/cua1
+ #device /dev/cua/a
+
+@@ -194,7 +197,7 @@
+ # Set this to the prefix of the lockfile use for the device. There
+ # are several places, and two common formats:
+ #lock-prefix /usr/spool/uucp/LCK..
+-#lock-prefix /var/spool/lock/LCK..
++lock-prefix /var/spool/lock/LCK..
+ #lock-prefix /var/spool/locks/LK.
+
+ #
+@@ -223,7 +226,57 @@
+ #
+ # D1 (by Deutsche Telekom)
+ #
+-[D1]
++[D1-0160]
++protocol tap
++valid-pid 0160|0049160|49160
++change-pid 0160
++convert *no-8bit,cv-d1
++cv-d1 {
++ Ä [
++ Ö \
++ Ü ~
++ ä {
++ ö |
++ ü ~
++ ß ^]
++}
+++cost timetable=Wk0800-1800=5.7;Wk1800-0800=11.4;Ss=11.4
++phone 01712092522
++# use this number for isdn-dialin:
++# phone 01712521001
++max-size 160
++may-split True
++use-call-id False
++tap-old True
++#
++#----------------------------------------------------------
++#
++[D1-0170]
++protocol tap
++valid-pid 0170|0049170|49170
++change-pid 0170
++convert *no-8bit,cv-d1
++cv-d1 {
++ Ä [
++ Ö \
++ Ü ~
++ ä {
++ ö |
++ ü ~
++ ß ^]
++}
+++cost timetable=Wk0800-1800=5.7;Wk1800-0800=11.4;Ss=11.4
++phone 01712092522
++# use this number for isdn-dialin:
++# phone 01712521001
++max-size 160
++may-split True
++use-call-id False
++tap-old True
++#
++#----------------------------------------------------------
++#
++[D1-0171]
+ protocol tap
+ valid-pid 0171|0049171|49171
+ change-pid 0171
+@@ -246,18 +299,71 @@
+ use-call-id False
+ tap-old True
+ #
++#----------------------------------------------------------
++#
++[D1-0175]
++protocol tap
++valid-pid 0175|0049175|49175
++change-pid 0175
++convert *no-8bit,cv-d1
++cv-d1 {
++ Ä [
++ Ö \
++ Ü ~
++ ä {
++ ö |
++ ü ~
++ ß ^]
++}
+++cost timetable=Wk0800-1800=5.7;Wk1800-0800=11.4;Ss=11.4
++phone 01712092522
++# use this number for isdn-dialin:
++# phone 01712521001
++max-size 160
++may-split True
++use-call-id False
++tap-old True
++#
++#----------------------------------------------------------
++#
++
++
++
++#
+ # D2 (by Mannesmann Mobilfunk)
+ #
+-[D2]
+-modem standard-d2
++[D2-0162]
++modem standard
++protocol ucp
++valid-pid 0162|0049162|49162
++change-pid 0162
++convert *no-8bit,cv-default
+++cost timetable=Wk0800-1800=5.7;Wk1800-0800=11.4;Ss=11.4
++# phone 01722278020
++# use this number for isdn-dialin:
++phone 01722278010
++max-size 160
++may-split True
++use-call-id True
++can-delay True
++can-expire True
++can-rds True
++check-call-id >1111111111111111<
++check-pager-id >1111111111111111<
++ucp-extend True
++#
|
[-]
[+]
|
Added |
yaps-0.96.dif
^
|
@@ -0,0 +1,88 @@
+--- Config
++++ Config
+@@ -24,9 +24,9 @@
+ # Name of local configuration file (location is $HOME.)
+ YAPS_LCFGFILE = .yapsrc
+ # Directory for installing the binary
+-YAPS_BINDIR = /usr/local/bin
++YAPS_BINDIR = /usr/bin
+ # Directory for optional support files
+-YAPS_LIBDIR = /usr/local/lib/yaps
++YAPS_LIBDIR = /usr/lib/yaps
+ # User/Group/Mode for yaps
+ YAPS_USER = bin
+ YAPS_GROUP = uucp
+--- Makefile
++++ Makefile
+@@ -33,19 +33,19 @@
+ lynx -cfg=/dev/null -nolist -dump $< > $@
+
+ install: $(DSTFLE) $(CFGFILE)
+- if [ ! -d $(YAPS_LIBDIR) ]; then \
+- install -d -m 755 -o $(YAPS_USER) -g $(YAPS_GROUP) $(YAPS_LIBDIR) ; \
++ if [ ! -d $(DESTDIR)$(YAPS_LIBDIR) ]; then \
++ install -d -m 755 $(DESTDIR)$(YAPS_LIBDIR) ; \
+ fi
+ @if [ -f contrib/Makefile ]; then \
+ $(MAKE) -C contrib install ; \
+ fi
+
+ $(DSTFLE): yaps
+- install -o $(YAPS_USER) -g $(YAPS_GROUP) -m $(YAPS_MODE) -s yaps $@
++ install -m $(YAPS_MODE) yaps $(DESTDIR)$@
+
+ $(CFGFILE): yaps.rc
+ @if [ ! -f $@ ]; then \
+- install -o $(YAPS_RCUSER) -g $(YAPS_RCGROUP) -m $(YAPS_RCMODE) -s yaps.rc $@ ; \
++ install -m $(YAPS_RCMODE) -s yaps.rc $(DESTDIR)$@ ; \
+ fi
+
+ clean:
+--- scr.c
++++ scr.c
+@@ -2,6 +2,7 @@
+ # include "config.h"
+ # include <stdio.h>
+ # include <stdlib.h>
++# include <string.h>
+ # include "pager.h"
+ # include "script.h"
+
+--- yaps.rc
++++ yaps.rc
+@@ -239,6 +239,8 @@
+ }
+ +cost timetable=Wk0800-1800=5.7;Wk1800-0800=11.4;Ss=11.4
+ phone 01712092522
++# use this number for isdn-dialin:
++# phone 01712521001
+ max-size 160
+ may-split True
+ use-call-id False
+@@ -254,6 +256,8 @@
+ convert *no-8bit,cv-default
+ +cost timetable=Wk0800-1800=5.7;Wk1800-0800=11.4;Ss=11.4
+ phone 01722278020
++# use this number for isdn-dialin:
++# phone 01722278010
+ max-size 160
+ may-split True
+ use-call-id True
+@@ -351,11 +355,17 @@
+ #device /dev/cua1
+ # Solaris convention
+ #device /dev/cua/a
++# use the following device for isdn-dialout:
++#device /dev/ttyI0
+
+ #
+ # Modem talk
+ #
+ init \\r !200D ATZ\r <OK ATE0Q0V1\r <OK
++# use the following init-string for isdn:
++# and change MSN to your MSN (what else...:-))
++#init \\r !200D ATZ\r <OK AT&EMSN\r <OK
++
+ dial ATD%L\r <60CONNECT|OK|BUSY|NO\sDIALTONE|NO\sCARRIER
+ reset ATZ\r <OK
+ timeout 10
|
[-]
[+]
|
Added |
Makefile
^
|
@@ -0,0 +1,65 @@
+# -*- sh -*-
+#
+include Config
+#
+#CFLAGS := -include mem.h $(CFLAGS)
+CFLAGS := $(CFLAGS)
+#
+DEFS = -DCFGFILE=\"$(YAPS_CFGFILE)\" -DLCFGFILE=\"$(YAPS_LCFGFILE)\" \
+ -DLIBDIR=\"$(YAPS_LIBDIR)\"
+LIBS = -L. -lpager $(LLIBS)
+OBJS = data.o util.o cfg.o tty.o cv.o asc.o scr.o tap.o ucp.o \
+ slang.o lua.o #mem.o
+YOBJS = yaps.o valid.o
+DSTFLE = $(YAPS_BINDIR)/yaps
+
+all: yaps yaps.doc
+ @if [ -f contrib/Makefile ]; then \
+ $(MAKE) -C contrib all ; \
+ fi
+
+yaps: libpager.a $(YOBJS)
+ $(CC) $(LDFLAGS) $(YOBJS) -o $@ $(LIBS)
+
+libpager.a: $(OBJS)
+ rm -f $@
+ ar rc $@ $(OBJS)
+ ranlib $@
+
+yaps.o: yaps.c pager.h
+ $(CC) $(CFLAGS) $(DEFS) $< -c -o $@
+
+yaps.doc: yaps.html
+ lynx -cfg=/dev/null -nolist -dump $< > $@
+
+install: $(DSTFLE) $(CFGFILE)
+ if [ ! -d $(DESTDIR)$(YAPS_LIBDIR) ]; then \
+ install -d -m 755 $(DESTDIR)$(YAPS_LIBDIR) ; \
+ fi
+ @if [ -f contrib/Makefile ]; then \
+ $(MAKE) -C contrib install ; \
+ fi
+
+$(DSTFLE): yaps
+ install -m $(YAPS_MODE) -s yaps $(DESTDIR)$@
+
+$(CFGFILE): yaps.rc
+ @if [ ! -f $@ ]; then \
+ install -m $(YAPS_RCMODE) -s yaps.rc $(DESTDIR)$@ ; \
+ fi
+
+clean:
+ rm -f *.[oa] *~ .*~ yaps core .depend
+ @if [ -f contrib/Makefile ]; then \
+ $(MAKE) -C contrib clean ; \
+ fi
+
+depend:
+ $(CPP) $(CFLAGS) -MM *.c > .depend
+ @if [ -f contrib/Makefile ]; then \
+ $(MAKE) -C contrib depend ; \
+ fi
+
+ifeq (.depend,$(wildcard .depend))
+include .depend
+endif
|
|
Added |
ready
^
|
|
Added |
yaps-0.96.tar.bz2
^
|