File kam-qt.dif of Package kamplus

diff -Nur ../kam-qt-orig/README.SuSE ./README.SuSE
--- ../kam-qt-orig/README.SuSE	1970-01-01 01:00:00.000000000 +0100
+++ ./README.SuSE	2003-02-17 17:00:49.000000000 +0100
@@ -0,0 +1,17 @@
+Attention, please:
+------------------
+
+You need to add the users allowed to access your KAM controller to
+the Group "localham" before you can use kam-qt since it isn't wise
+to give every user on your system access to your hamradio rig, is it?
+
+A nice side effect is that we do not need world-writable directories
+anymore...
+
+Standard texts, TNC init, etc are now in /var/lib/kamplus (used
+to be /usr/lib/kamplus, the default for the original package is
+/usr/local/kamplus).
+
+73,
+Joerg DL1BKE <Joerg.Reuter@suse.de>
+
diff -Nur ../kam-qt-orig/kamrc ./kamrc
--- ../kam-qt-orig/kamrc	2003-02-02 14:04:00.000000000 +0100
+++ ./kamrc	2003-02-17 16:57:42.000000000 +0100
@@ -1,7 +1,7 @@
 # kamrc -- KAM configuration file
 
 # uncomment and set your callsign below
-#MY_CALL: G3xxx
+#MY_CALL: DK0TUX
 
 # the packet callsign cannot contain any '/' characters.  If you have
 # a callsign such as 7O1/G3XXX (nice one!) for RTTY/CW/Amtor/
@@ -74,7 +74,7 @@
 # and is the directory to which it will write capture.txt for text
 # saved to file.  It is sensible (though not necessary) that it should
 # be the one the binary executable is installed in
-FILEDIR: /usr/local/kamdir
+FILEDIR: /var/lib/kamplus
 
 # set PRINT_CMD: to the printer command which will accept input on
 # standard input.  If PRINT_CMD: is not set, the program will default
diff -Nur ../kam-qt-orig/main.cpp ./main.cpp
--- ../kam-qt-orig/main.cpp	2003-02-02 14:04:00.000000000 +0100
+++ ./main.cpp	2003-02-17 16:59:40.000000000 +0100
@@ -162,7 +162,7 @@
     // will need root access
 
 #ifdef RELEASE_PRIVILEGES
-    setgid(getgid());
+    // setgid(getgid());
     setuid(getuid());
 #endif
 
@@ -714,7 +714,7 @@
     // process
 
 #ifdef RELEASE_PRIVILEGES
-    setgid(getgid());
+    // setgid(getgid());
     setuid(getuid());
 #endif
 
@@ -740,7 +740,7 @@
     }
     else if (!child_pid) {
 #ifdef RELEASE_PRIVILEGES
-        setgid(getgid());
+        // setgid(getgid());
 	setuid(getuid());
 #endif
 	int exit_code = 0;
openSUSE Build Service is sponsored by