File yaps-0.96.dif of Package yaps

--- 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
openSUSE Build Service is sponsored by