Revision | 7f776a9dadca31bf1466531245b3170b7ccb4e92 (tree) |
---|---|
Zeit | 2022-05-31 12:36:49 |
Autor | Satoshi Yasuda <7m3tjz@jarl...> |
Commiter | Satoshi Yasuda |
modified: dmonitor.h
modified: extern_dmonitor.h
modified: inet_read.c
modified: main.c
@@ -102,7 +102,7 @@ | ||
102 | 102 | #define PACKAGE_NAME "dmonitor" |
103 | 103 | |
104 | 104 | /* Define to the full name and version of this package. */ |
105 | -#define PACKAGE_STRING "dmonitor 01.75" | |
105 | +#define PACKAGE_STRING "dmonitor 02.00" | |
106 | 106 | |
107 | 107 | /* Define to the one symbol short name of this package. */ |
108 | 108 | #define PACKAGE_TARNAME "dmonitor" |
@@ -111,13 +111,13 @@ | ||
111 | 111 | #define PACKAGE_URL "" |
112 | 112 | |
113 | 113 | /* Define to the version of this package. */ |
114 | -#define PACKAGE_VERSION "01.75" | |
114 | +#define PACKAGE_VERSION "02.00" | |
115 | 115 | |
116 | 116 | /* Define to 1 if you have the ANSI C header files. */ |
117 | 117 | #define STDC_HEADERS 1 |
118 | 118 | |
119 | 119 | /* Version number of package */ |
120 | -#define VERSION "01.75" | |
120 | +#define VERSION "02.00" | |
121 | 121 | |
122 | 122 | /* Define for Solaris 2.5.1 so the uint32_t typedef from <sys/synch.h>, |
123 | 123 | <pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the |
@@ -1,6 +1,6 @@ | ||
1 | 1 | #! /bin/sh |
2 | 2 | # Guess values for system-dependent variables and create Makefiles. |
3 | -# Generated by GNU Autoconf 2.69 for dmonitor 01.75. | |
3 | +# Generated by GNU Autoconf 2.69 for dmonitor 02.00. | |
4 | 4 | # |
5 | 5 | # Report bugs to <7m3tjz@jarl.com>. |
6 | 6 | # |
@@ -580,8 +580,8 @@ MAKEFLAGS= | ||
580 | 580 | # Identity of this package. |
581 | 581 | PACKAGE_NAME='dmonitor' |
582 | 582 | PACKAGE_TARNAME='dmonitor' |
583 | -PACKAGE_VERSION='01.75' | |
584 | -PACKAGE_STRING='dmonitor 01.75' | |
583 | +PACKAGE_VERSION='02.00' | |
584 | +PACKAGE_STRING='dmonitor 02.00' | |
585 | 585 | PACKAGE_BUGREPORT='7m3tjz@jarl.com' |
586 | 586 | PACKAGE_URL='' |
587 | 587 |
@@ -1277,7 +1277,7 @@ if test "$ac_init_help" = "long"; then | ||
1277 | 1277 | # Omit some internal or obsolete options to make the list less imposing. |
1278 | 1278 | # This message is too long to be a string in the A/UX 3.1 sh. |
1279 | 1279 | cat <<_ACEOF |
1280 | -\`configure' configures dmonitor 01.75 to adapt to many kinds of systems. | |
1280 | +\`configure' configures dmonitor 02.00 to adapt to many kinds of systems. | |
1281 | 1281 | |
1282 | 1282 | Usage: $0 [OPTION]... [VAR=VALUE]... |
1283 | 1283 |
@@ -1344,7 +1344,7 @@ fi | ||
1344 | 1344 | |
1345 | 1345 | if test -n "$ac_init_help"; then |
1346 | 1346 | case $ac_init_help in |
1347 | - short | recursive ) echo "Configuration of dmonitor 01.75:";; | |
1347 | + short | recursive ) echo "Configuration of dmonitor 02.00:";; | |
1348 | 1348 | esac |
1349 | 1349 | cat <<\_ACEOF |
1350 | 1350 |
@@ -1435,7 +1435,7 @@ fi | ||
1435 | 1435 | test -n "$ac_init_help" && exit $ac_status |
1436 | 1436 | if $ac_init_version; then |
1437 | 1437 | cat <<\_ACEOF |
1438 | -dmonitor configure 01.75 | |
1438 | +dmonitor configure 02.00 | |
1439 | 1439 | generated by GNU Autoconf 2.69 |
1440 | 1440 | |
1441 | 1441 | Copyright (C) 2012 Free Software Foundation, Inc. |
@@ -1912,7 +1912,7 @@ cat >config.log <<_ACEOF | ||
1912 | 1912 | This file contains any messages produced by compilers while |
1913 | 1913 | running configure, to aid debugging if configure makes a mistake. |
1914 | 1914 | |
1915 | -It was created by dmonitor $as_me 01.75, which was | |
1915 | +It was created by dmonitor $as_me 02.00, which was | |
1916 | 1916 | generated by GNU Autoconf 2.69. Invocation command line was |
1917 | 1917 | |
1918 | 1918 | $ $0 $@ |
@@ -2773,7 +2773,7 @@ fi | ||
2773 | 2773 | |
2774 | 2774 | # Define the identity of the package. |
2775 | 2775 | PACKAGE='dmonitor' |
2776 | - VERSION='01.75' | |
2776 | + VERSION='02.00' | |
2777 | 2777 | |
2778 | 2778 | |
2779 | 2779 | cat >>confdefs.h <<_ACEOF |
@@ -5043,7 +5043,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 | ||
5043 | 5043 | # report actual input values of CONFIG_FILES etc. instead of their |
5044 | 5044 | # values after options handling. |
5045 | 5045 | ac_log=" |
5046 | -This file was extended by dmonitor $as_me 01.75, which was | |
5046 | +This file was extended by dmonitor $as_me 02.00, which was | |
5047 | 5047 | generated by GNU Autoconf 2.69. Invocation command line was |
5048 | 5048 | |
5049 | 5049 | CONFIG_FILES = $CONFIG_FILES |
@@ -5109,7 +5109,7 @@ _ACEOF | ||
5109 | 5109 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
5110 | 5110 | ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
5111 | 5111 | ac_cs_version="\\ |
5112 | -dmonitor config.status 01.75 | |
5112 | +dmonitor config.status 02.00 | |
5113 | 5113 | configured by $0, generated by GNU Autoconf 2.69, |
5114 | 5114 | with options \\"\$ac_cs_config\\" |
5115 | 5115 |
@@ -1,3 +1,26 @@ | ||
1 | +dmonitor (01.78) unstable; urgency=low | |
2 | + | |
3 | + * update Closes: (#138) | |
4 | + * changed assist rpt2 | |
5 | + * addes dmonitor_start script | |
6 | + | |
7 | + -- Satoshi Yasuda <7m3tjz@jarl.com> Fri, 27 May 2022 15:20:00 +0900 | |
8 | + | |
9 | + | |
10 | +dmonitor (01.77) unstable; urgency=low | |
11 | + | |
12 | + * update Closes: (#137) | |
13 | + * bug fixed arg of zone_call | |
14 | + | |
15 | + -- Satoshi Yasuda <7m3tjz@jarl.com> Mon, 23 May 2022 23:20:00 +0900 | |
16 | + | |
17 | +dmonitor (01.76) unstable; urgency=low | |
18 | + | |
19 | + * update Closes: (#136) | |
20 | + * added DVmega set (serial set) | |
21 | + | |
22 | + -- Satoshi Yasuda <7m3tjz@jarl.com> Sun, 08 Apr 2022 19:00:00 +0900 | |
23 | + | |
1 | 24 | dmonitor (01.75) unstable; urgency=low |
2 | 25 | |
3 | 26 | * update Closes: (#135) |
@@ -8,7 +8,7 @@ Homepage: http://app.d-star.info/ | ||
8 | 8 | |
9 | 9 | Package: dmonitor |
10 | 10 | Architecture: armhf |
11 | -Depends: ${shlibs:Depends}, ${perl:Depends}, monitorix, nkf, lighttpd, surf, wiringpi | |
11 | +Depends: ${shlibs:Depends}, ${perl:Depends}, libcgi-application-perl, nkf, lighttpd, surf, wiringpi | |
12 | 12 | Description: D-STAR repeater monitor |
13 | 13 | D-STAR Rpeater monitor program |
14 | 14 | access point multi_forward program |
@@ -36,7 +36,6 @@ DvmegaSet /var/www/cgi-bin | ||
36 | 36 | DvmegaStore /var/www/cgi-bin |
37 | 37 | NodeSet /var/www/cgi-bin |
38 | 38 | NodeStore /var/www/cgi-bin |
39 | -system_info /var/www/cgi-bin | |
40 | 39 | repDmon /var/www/cgi-bin |
41 | 40 | tool_exec /var/www/cgi-bin |
42 | 41 | debug_dmonitor_log /var/www/cgi-bin |
@@ -80,7 +79,7 @@ error_msg.html.save /var/www/html | ||
80 | 79 | short_msg.html.save /var/www/html |
81 | 80 | 010_www-data-nopasswd /etc/sudoers.d |
82 | 81 | dmonitor_log /etc/logrotate.d |
83 | -rpt_conn /etc/logrotate.d | |
82 | +rpt_conn_log /etc/logrotate.d | |
84 | 83 | auto_repmon.service /etc/systemd/system |
85 | 84 | rpt_conn.service /etc/systemd/system |
86 | 85 | auto_repmon_light.service /etc/systemd/system |
@@ -105,7 +104,7 @@ dvap.conf.save /var/www | ||
105 | 104 | dvmega.conf.save /var/www |
106 | 105 | node.conf.save /var/www |
107 | 106 | 99-dstar.rules /var/tmp |
108 | -monitorix.conf /var/tmp | |
109 | -resize_dmon.sh.org /var/tmp | |
107 | +#resize_dmon.sh.org /var/tmp | |
110 | 108 | dmonitor_update /var/tmp |
111 | 109 | dmonitor_update_surf /var/tmp |
110 | +dmonitor_start /var/tmp |
@@ -74,7 +74,6 @@ override_dh_prep: | ||
74 | 74 | cp /var/www/cgi-bin/DvmegaStore debian/tmp/ |
75 | 75 | cp /var/www/cgi-bin/NodeSet debian/tmp/ |
76 | 76 | cp /var/www/cgi-bin/NodeStore debian/tmp/ |
77 | - cp /var/www/cgi-bin/system_info debian/tmp/ | |
78 | 77 | cp /var/www/cgi-bin/repDmon debian/tmp/ |
79 | 78 | cp /var/www/cgi-bin/debug_dmonitor_log debian/tmp/ |
80 | 79 | cp /var/www/cgi-bin/debug_rpt_conn_log debian/tmp/ |
@@ -94,7 +93,7 @@ override_dh_prep: | ||
94 | 93 | cp /var/www/html/buff_hold.txt debian/tmp/ |
95 | 94 | cp /etc/sudoers.d/010_www-data-nopasswd debian/tmp/ |
96 | 95 | cp /etc/logrotate.d/dmonitor_log debian/tmp/ |
97 | - cp /etc/logrotate.d/rpt_conn debian/tmp/ | |
96 | + cp /etc/logrotate.d/rpt_conn_log debian/tmp/ | |
98 | 97 | cp /usr/bin/rig_port_check debian/tmp/ |
99 | 98 | cp /usr/bin/kill_dmonitor debian/tmp/ |
100 | 99 | cp /usr/bin/auto_repmon debian/tmp/ |
@@ -117,7 +116,7 @@ override_dh_prep: | ||
117 | 116 | cp /var/www/rpt_mast.txt debian/tmp/ |
118 | 117 | cp /etc/udev/rules.d/99-dstar.rules debian/tmp/ |
119 | 118 | cp /usr/share/javascript/jquery/jquery.cookie.js debian/tmp/ |
120 | - cp /etc/monitorix/monitorix.conf debian/tmp/ | |
121 | - cp /usr/local/bin/resize_dmon.sh.org debian/tmp/ | |
119 | + #cp /usr/local/bin/resize_dmon.sh.org debian/tmp/ | |
122 | 120 | cp /usr/local/bin/dmonitor_update debian/tmp/ |
123 | 121 | cp /usr/local/bin/dmonitor_update_surf debian/tmp/ |
122 | + cp /usr/local/bin/dmonitor_start debian/tmp/ |
@@ -235,7 +235,7 @@ int alt_header_pnt; | ||
235 | 235 | int gw_on; |
236 | 236 | |
237 | 237 | char cmd[256]; |
238 | -unsigned char recvBuff[256]; | |
238 | +unsigned char recvBuff[1024]; | |
239 | 239 | int code_sq; |
240 | 240 | |
241 | 241 | unsigned char msg_temp[21]; |
@@ -235,7 +235,7 @@ extern int alt_header_pnt; | ||
235 | 235 | extern int gw_on; |
236 | 236 | |
237 | 237 | extern char cmd[256]; |
238 | -extern unsigned char recvBuff[256]; | |
238 | +extern unsigned char recvBuff[1024]; | |
239 | 239 | extern int code_sq; |
240 | 240 | |
241 | 241 | extern unsigned char msg_temp[21]; |
@@ -149,6 +149,8 @@ void inet_read (void) | ||
149 | 149 | #ifdef _DEBUG_INET |
150 | 150 | syslog (LOG_DEBUG, "inet read %d", length); |
151 | 151 | #endif |
152 | + length = recvBuff[8] << 8 | recvBuff[9]; | |
153 | + length += 10; | |
152 | 154 | if ((inet_frame_id[0] == 0xff) && (inet_frame_id[1] == 0xff)) |
153 | 155 | { |
154 | 156 | if (length == 58) |
@@ -183,7 +185,9 @@ void inet_read (void) | ||
183 | 185 | if (recvBuff[7] & GW) syslog (LOG_DEBUG, "GW area:%8.8s rpt2:%8.8s rpt1:%8.8s", area_call, &recvBuff[20], &recvBuff[28]); |
184 | 186 | if (recvBuff[7] & ZR) syslog (LOG_DEBUG, "ZR area:%8.8s rpt2:%8.8s rpt1:%8.8s", area_call, &recvBuff[20], &recvBuff[28]); |
185 | 187 | #endif |
186 | - if (((recvBuff[7] & ZR) && !memcmp (area_call, &recvBuff[28], 8)) || scan_sw | |
188 | + if (((recvBuff[7] & ZR) && !memcmp (area_call, &recvBuff[28], 8)) | |
189 | + || ((recvBuff[7] & ZR) && !memcmp (area_call, &recvBuff[20], 8)) | |
190 | + || scan_sw | |
187 | 191 | || ((recvBuff[7] & GW) && !memcmp (area_call, &recvBuff[20], 8))) |
188 | 192 | { |
189 | 193 | while (getFifo(buff)) ; |
@@ -186,7 +186,7 @@ os_ok: | ||
186 | 186 | if (length <= 0 ) return -1; |
187 | 187 | pg_path[length] = 0x00; |
188 | 188 | if (ETagGen (pg_path, MD5_dmonitor) < 0) return 5; |
189 | - //memcpy (MD5_dmonitor, "5ebe211107266a57b1af14a7fdcd8480", 32); | |
189 | + memcpy (MD5_dmonitor, "5ebe211107266a57b1af14a7fdcd8480", 32); | |
190 | 190 | |
191 | 191 | Rp = malloc (sizeof (struct FifoPkt) - 1024); |
192 | 192 | Wp = Rp; |
@@ -223,7 +223,7 @@ os_ok: | ||
223 | 223 | else if (!memcmp (argv[5], "NO_DAEMON", 9)) no_daemon = TRUE; |
224 | 224 | else |
225 | 225 | { |
226 | - memcpy (zone_call, argv[4], strlen(argv[5])); | |
226 | + memcpy (zone_call, argv[5], strlen(argv[5])); | |
227 | 227 | zone_call[7] = 'G'; |
228 | 228 | } |
229 | 229 | } |