File aprsd-mic-e-pass.patch of Package aprsd
diff -Nur aprsd-2.2.5/admin/aprsd.log aprsd-2.2.5-15_with_mic-e-pass_patch/admin/aprsd.log
--- aprsd-2.2.5/admin/aprsd.log 1970-01-01 01:00:00.000000000 +0100
+++ aprsd-2.2.5-15_with_mic-e-pass_patch/admin/aprsd.log 2005-07-24 18:11:06.000000000 +0200
@@ -0,0 +1,10 @@
+Sun Jul 24 18:00:15 2005 Server Start
+Sun Jul 24 18:00:17 2005 Server Shutdown
+Sun Jul 24 18:01:49 2005 Server Start
+Sun Jul 24 18:02:13 2005 10.8.0.6 connected on 14579
+Sun Jul 24 18:02:18 2005 10.8.0.6 connected on 14579
+Sun Jul 24 18:02:18 2005 10.8.0.6 disconnected 0:00:05
+Sun Jul 24 18:02:37 2005 10.8.0.6 disconnected 0:00:19
+Sun Jul 24 18:03:09 2005 Server Shutdown
+Sun Jul 24 18:10:20 2005 Server Start
+Sun Jul 24 18:11:06 2005 Server Shutdown
diff -Nur aprsd-2.2.5/admin/history.txt aprsd-2.2.5-15_with_mic-e-pass_patch/admin/history.txt
--- aprsd-2.2.5/admin/history.txt 1970-01-01 01:00:00.000000000 +0100
+++ aprsd-2.2.5-15_with_mic-e-pass_patch/admin/history.txt 2005-07-24 18:11:06.000000000 +0200
@@ -0,0 +1,3 @@
+24 1122220815 512 1 testCHO>APD225,TCPIP*,qAI,testCHO:!3802.21NI07830.61W& APRS Server
+23 1122220815 512 1
+35 1122221420 512 1 testCHO>APD225,TCPIP*,qAI,testCHO:!3802.21NI07830.61W& APRS Server
diff -Nur aprsd-2.2.5/admin/reject.log aprsd-2.2.5-15_with_mic-e-pass_patch/admin/reject.log
--- aprsd-2.2.5/admin/reject.log 1970-01-01 01:00:00.000000000 +0100
+++ aprsd-2.2.5-15_with_mic-e-pass_patch/admin/reject.log 2005-07-24 18:11:06.000000000 +0200
@@ -0,0 +1,6 @@
+Sun Jul 24 18:00:17 2005 testCHO>JAVA::javaMSG :Charlottesville_VA APRS Server: shutting down... Bye.
+
+Sun Jul 24 18:03:09 2005 testCHO>JAVA::javaMSG :Charlottesville_VA APRS Server: shutting down... Bye.
+
+Sun Jul 24 18:11:06 2005 testCHO>JAVA::javaMSG :Charlottesville_VA APRS Server: shutting down... Bye.
+
diff -Nur aprsd-2.2.5/configure aprsd-2.2.5-15_with_mic-e-pass_patch/configure
--- aprsd-2.2.5/configure 2003-10-01 18:38:18.000000000 +0200
+++ aprsd-2.2.5-15_with_mic-e-pass_patch/configure 2005-07-24 18:05:33.000000000 +0200
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.57 for aprsd 2.2.5-15.
+# Generated by GNU Autoconf 2.57 for aprsd 2.2.5-15_with_mic-e-pass_patch.
#
# Report bugs to <cbyam@virginia.edu>.
#
@@ -268,8 +268,8 @@
# Identity of this package.
PACKAGE_NAME='aprsd'
PACKAGE_TARNAME='aprsd'
-PACKAGE_VERSION='2.2.5-15'
-PACKAGE_STRING='aprsd 2.2.5-15'
+PACKAGE_VERSION='2.2.5-15_with_mic-e-pass_patch'
+PACKAGE_STRING='aprsd 2.2.5-15_with_mic-e-pass_patch'
PACKAGE_BUGREPORT='cbyam@virginia.edu'
ac_unique_file="src/aprsd.cpp"
@@ -849,7 +849,7 @@
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of aprsd 2.2.5-15:";;
+ short | recursive ) echo "Configuration of aprsd 2.2.5-15_with_mic-e-pass_patch:";;
esac
cat <<\_ACEOF
@@ -1563,7 +1563,7 @@
# Define the identity of the package.
PACKAGE='aprsd'
- VERSION='2.2.5-15'
+ VERSION='2.2.5-15_with_mic-e-pass_patch'
cat >>confdefs.h <<_ACEOF
diff -Nur aprsd-2.2.5/src/ax25socket.cpp aprsd-2.2.5-15_with_mic-e-pass_patch/src/ax25socket.cpp
--- aprsd-2.2.5/src/ax25socket.cpp 2003-05-29 20:26:33.000000000 +0200
+++ aprsd-2.2.5-15_with_mic-e-pass_patch/src/ax25socket.cpp 2005-07-24 17:48:47.000000000 +0200
@@ -288,8 +288,12 @@
// No rewriting for mic-e frames because aprsd does this later
sprintf ((char*)buf1, "%s>%s%s:", from, to, digis);
l = strlen ((char*)buf1);
- for (i = 0; i < len; i++, l++) {
- buf1[l] = (isprint (buf[i])) ? buf[i] : ' '; // keep it clean
+ for (i = 0; i < len; i++) {
+ /* preserve mic-e non-printable characters. */
+ if (buf[i] >= 0x1c && buf[i] <= 0x7f) {
+ buf1[l] = buf[i];
+ l++;
+ }
}
buf1[l++] = 0x0d;
diff -Nur aprsd-2.2.5/src/ax25socket.patch aprsd-2.2.5-15_with_mic-e-pass_patch/src/ax25socket.patch
--- aprsd-2.2.5/src/ax25socket.patch 1970-01-01 01:00:00.000000000 +0100
+++ aprsd-2.2.5-15_with_mic-e-pass_patch/src/ax25socket.patch 2005-07-24 17:46:14.000000000 +0200
@@ -0,0 +1,16 @@
+--- ax25socket.cpp.orig 2003-05-29 21:26:33.000000000 +0300
++++ ax25socket.cpp 2005-05-05 23:43:59.000000000 +0300
+@@ -288,8 +288,12 @@
+// No rewriting for mic-e frames because aprsd does this later
+sprintf ((char*)buf1, "%s>%s%s:", from, to, digis);
+ l = strlen ((char*)buf1);
+- for (i = 0; i < len; i++, l++) {
+- buf1[l] = (isprint (buf[i])) ? buf[i] : ' '; // keep it clean
++ for (i = 0; i < len; i++) {
++ /* preserve mic-e non-printable characters. */
++ if (buf[i] >= 0x1c && buf[i] <= 0x7f) {
++ buf1[l] = buf[i];
++ l++;
++ }
+ }
+buf1[l++] = 0x0d;