The following packages will be installed: smstools3 Fetching README... 0%100%100%100%100%100%Done Fetching destdir.patch... 0%100%100%100%100%100%Done Fetching doinst.sh... 0%100%100%100%100%100%Done Fetching slack-desc... 0%100%100%100%100%100%Done Fetching smstools3.SlackBuild... 0%100%100%100%100%100%Done Fetching smstools3.info... 0%100%100%100%100%100%Done smstools3/ smstools3/LICENSE smstools3/Makefile smstools3/package.sh smstools3/scripts/ smstools3/scripts/sendsms smstools3/scripts/hex2dec smstools3/scripts/sms3 smstools3/scripts/sms2xml smstools3/scripts/callhandler smstools3/scripts/eventhandler_report smstools3/scripts/forwardsms smstools3/scripts/email2sms smstools3/scripts/smsresend smstools3/scripts/mysmsd smstools3/scripts/README smstools3/scripts/eventhandler-utf-8 smstools3/scripts/sms2unicode smstools3/scripts/hex2bin smstools3/scripts/sms2html smstools3/scripts/sql_demo smstools3/scripts/unicode2sms smstools3/scripts/pkill smstools3/scripts/regular_run smstools3/scripts/smsevent smstools3/scripts/checkhandler-utf-8 smstools3/scripts/smstest.php smstools3/scripts/load_balancing.sh smstools3/doc/ smstools3/doc/book.html smstools3/doc/slideshow/ smstools3/doc/slideshow/page7.html smstools3/doc/slideshow/blacklist.gif smstools3/doc/slideshow/page2.jpg smstools3/doc/slideshow/page1.html smstools3/doc/slideshow/eventhandler.gif smstools3/doc/slideshow/page2.html smstools3/doc/slideshow/page5.html smstools3/doc/slideshow/page8.html smstools3/doc/slideshow/page4.html smstools3/doc/slideshow/smstools3-small.jpg smstools3/doc/slideshow/page2b.html smstools3/doc/slideshow/status.gif smstools3/doc/slideshow/queue.gif smstools3/doc/slideshow/statistic.gif smstools3/doc/slideshow/move_r.gif smstools3/doc/slideshow/move_l.gif smstools3/doc/slideshow/sms.gif smstools3/doc/slideshow/logfile.gif smstools3/doc/slideshow/page3.html smstools3/doc/slideshow/page6.html smstools3/doc/slideshow/modem.gif smstools3/doc/configure.html smstools3/doc/udh.html smstools3/doc/faq.html smstools3/doc/license.html smstools3/doc/gpl.html smstools3/doc/statusmonitor.html smstools3/doc/history3.html smstools3/doc/compiling.html smstools3/doc/run.html smstools3/doc/hardwarecomp.html smstools3/doc/national_language_shift_tables.html smstools3/doc/localizing.html smstools3/doc/windows.html smstools3/doc/configure2.html smstools3/doc/eventhandler.html smstools3/doc/index.html smstools3/doc/blacklist.html smstools3/doc/fileformat.html smstools3/README smstools3/install.sh smstools3/examples/ smstools3/examples/operator_logo2.sms smstools3/examples/smsd.conf.easy smstools3/examples/smsd.conf.net smstools3/examples/operator_logo1.sms smstools3/examples/received_sms.sms smstools3/examples/send_sms_unicode.sms smstools3/examples/received_report.sms smstools3/examples/send_sms.sms smstools3/examples/.procmailrc smstools3/examples/README smstools3/examples/smsd.conf.full smstools3/examples/.qmailrc smstools3/examples/smsd.conf.non-root smstools3/examples/language-ISO-8859-15.fi smstools3/examples/language-UTF-8.fi smstools3/uninstall.sh smstools3/src/ smstools3/src/charset.c smstools3/src/Makefile smstools3/src/charset.h smstools3/src/modeminit.h smstools3/src/blacklist.c smstools3/src/smsd.c smstools3/src/pdu.h smstools3/src/extras.h smstools3/src/alarm.h smstools3/src/logging.c smstools3/src/smsd_cfg.c smstools3/src/extras.c smstools3/src/blacklist.h smstools3/src/pdu.c smstools3/src/cfgfile.c smstools3/src/stats.c smstools3/src/modeminit.c smstools3/src/logging.h smstools3/src/smsd_cfg.h smstools3/src/locking.h smstools3/src/charshift.h smstools3/src/alarm.c smstools3/src/locking.c smstools3/src/stats.h smstools3/src/whitelist.c smstools3/src/cfgfile.h smstools3/src/whitelist.h smstools3/src/version.h smstools3/src/charshift.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |diff -Naur a/Makefile b/Makefile |--- a/Makefile 2007-04-22 11:42:22.000000000 +0000 |+++ b/Makefile 2021-04-20 22:48:57.084918445 +0000 -------------------------- patching file Makefile Using Plan A... Hunk #1 succeeded at 2. Hmm... The next patch looks like a unified diff to me... The text leading up to this was: -------------------------- |diff -Naur a/install.sh b/install.sh |--- a/install.sh 2007-04-22 11:43:17.000000000 +0000 |+++ b/install.sh 2021-04-20 23:01:28.251300300 +0000 -------------------------- patching file install.sh Using Plan A... Hunk #1 succeeded at 64. Hunk #2 succeeded at 79. Hmm... The next patch looks like a unified diff to me... The text leading up to this was: -------------------------- |diff -Naur a/scripts/sms3 b/scripts/sms3 |--- a/scripts/sms3 2010-05-04 09:21:44.000000000 +0000 |+++ b/scripts/sms3 2021-04-20 22:48:57.084918445 +0000 -------------------------- patching file scripts/sms3 Using Plan A... Hunk #1 succeeded at 24. done cd src && make - make[1]: Entering directory '/usr/src/slapt-src-x86_64/network/smstools3/smstools3/src' cc -D NUMBER_OF_MODEMS=64 -D NOSTATS -W -Wall -D_FILE_OFFSET_BITS=64 -c -o extras.o extras.c extras.c: In function ‘my_system’: extras.c:1077:42: warning: ‘/smsd_’ directive output may be truncated writing 6 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] 1077 | snprintf(tmp1, sizeof(tmp1), ">%s/smsd_%s_1.XXXXXX", tmpdir, info); | ^~~~~~ extras.c:1077:9: note: ‘snprintf’ output 17 or more bytes (assuming 4112) into a destination of size 4096 1077 | snprintf(tmp1, sizeof(tmp1), ">%s/smsd_%s_1.XXXXXX", tmpdir, info); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ extras.c:1087:41: warning: ‘%s’ directive output may be truncated writing up to 4095 bytes into a region of size 4094 [-Wformat-truncation=] 1087 | snprintf(tmp2, sizeof(tmp2), "2>%s/smsd_%s_2.XXXXXX", tmpdir, info); | ^~ ~~~~~~ extras.c:1087:9: note: ‘snprintf’ output 18 or more bytes (assuming 4113) into a destination of size 4096 1087 | snprintf(tmp2, sizeof(tmp2), "2>%s/smsd_%s_2.XXXXXX", tmpdir, info); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -D NUMBER_OF_MODEMS=64 -D NOSTATS -W -Wall -D_FILE_OFFSET_BITS=64 -c -o locking.o locking.c cc -D NUMBER_OF_MODEMS=64 -D NOSTATS -W -Wall -D_FILE_OFFSET_BITS=64 -c -o cfgfile.o cfgfile.c cc -D NUMBER_OF_MODEMS=64 -D NOSTATS -W -Wall -D_FILE_OFFSET_BITS=64 -c -o logging.o logging.c logging.c: In function ‘writelogfile’: logging.c:200:49: warning: ‘%s’ directive output may be truncated writing up to 16383 bytes into a region of size between 16298 and 16378 [-Wformat-truncation=] 200 | snprintf(text2, sizeof(text2),"%s,%i, %s: %s\n", timestamp, severity, process_title, text); | ^~ ~~~~ logging.c:200:7: note: ‘snprintf’ output between 8 and 16471 bytes into a destination of size 16384 200 | snprintf(text2, sizeof(text2),"%s,%i, %s: %s\n", timestamp, severity, process_title, text); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ logging.c:254:47: warning: ‘%s’ directive output may be truncated writing up to 16383 bytes into a region of size between 16298 and 16378 [-Wformat-truncation=] 254 | snprintf(text2, sizeof(text2),"%s,%i, %s: %s\n", timestamp, severity, process_title, text); | ^~ ~~~~ logging.c:254:5: note: ‘snprintf’ output between 8 and 16471 bytes into a destination of size 16384 254 | snprintf(text2, sizeof(text2),"%s,%i, %s: %s\n", timestamp, severity, process_title, text); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -D NUMBER_OF_MODEMS=64 -D NOSTATS -W -Wall -D_FILE_OFFSET_BITS=64 -c -o alarm.o alarm.c cc -D NUMBER_OF_MODEMS=64 -D NOSTATS -W -Wall -D_FILE_OFFSET_BITS=64 -c -o smsd_cfg.o smsd_cfg.c smsd_cfg.c: In function ‘readcfg’: smsd_cfg.c:2454:77: warning: ‘%s’ directive output may be truncated writing up to 4095 bytes into a region of size 256 [-Wformat-truncation=] 2454 | snprintf(communicate_a_keys[key], sizeof(communicate_a_keys[0]), "%s", value); | ^~ ~~~~~ smsd_cfg.c:2454:11: note: ‘snprintf’ output between 1 and 4096 bytes into a destination of size 256 2454 | snprintf(communicate_a_keys[key], sizeof(communicate_a_keys[0]), "%s", value); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ smsd_cfg.c: In function ‘startup_check’: smsd_cfg.c:3262:57: warning: ‘%s’ directive output may be truncated writing up to 4095 bytes into a region of size 16 [-Wformat-truncation=] 3262 | snprintf(queues[x].numbers[y - 1], SIZE_NUM, "%s", tmp); | ^~ ~~~ smsd_cfg.c:3262:11: note: ‘snprintf’ output between 1 and 4096 bytes into a destination of size 16 3262 | snprintf(queues[x].numbers[y - 1], SIZE_NUM, "%s", tmp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ smsd_cfg.c:3489:28: warning: ‘/smsd_data.XXXXXX’ directive writing 17 bytes into a region of size between 1 and 4096 [-Wformat-overflow=] 3489 | sprintf(tmp_data, "%s/smsd_data.XXXXXX", tmpdir); | ^~~~~~~~~~~~~~~~~ smsd_cfg.c:3489:7: note: ‘sprintf’ output between 18 and 4113 bytes into a destination of size 4096 3489 | sprintf(tmp_data, "%s/smsd_data.XXXXXX", tmpdir); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ smsd_cfg.c:3498:32: warning: ‘/smsd_script.XXXXXX’ directive writing 19 bytes into a region of size between 1 and 4096 [-Wformat-overflow=] 3498 | sprintf(tmp_script, "%s/smsd_script.XXXXXX", d_incoming); | ^~~~~~~~~~~~~~~~~~~ smsd_cfg.c:3498:9: note: ‘sprintf’ output between 20 and 4115 bytes into a destination of size 4096 3498 | sprintf(tmp_script, "%s/smsd_script.XXXXXX", d_incoming); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from smsd_cfg.c:31: smsd_cfg.h:35:32: warning: ‘%s’ directive writing up to 31 bytes into a region of size between 0 and 4095 [-Wformat-overflow=] 35 | #define CONCATENATED_DIR_FNAME "%s/%s-concatenated" | ^~~~~~~~~~~~~~~~~~~~ smsd_cfg.c:3582:24: note: in expansion of macro ‘CONCATENATED_DIR_FNAME’ 3582 | sprintf(fname, CONCATENATED_DIR_FNAME, d_incoming, devices[x].name); | ^~~~~~~~~~~~~~~~~~~~~~ smsd_cfg.h:35:36: note: format string is defined here 35 | #define CONCATENATED_DIR_FNAME "%s/%s-concatenated" | ^~ smsd_cfg.c:3582:9: note: ‘sprintf’ output between 15 and 4141 bytes into a destination of size 4096 3582 | sprintf(fname, CONCATENATED_DIR_FNAME, d_incoming, devices[x].name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from smsd_cfg.c:31: smsd_cfg.h:35:32: warning: ‘%s’ directive writing up to 31 bytes into a region of size between 0 and 4095 [-Wformat-overflow=] 35 | #define CONCATENATED_DIR_FNAME "%s/%s-concatenated" | ^~~~~~~~~~~~~~~~~~~~ smsd_cfg.c:3593:26: note: in expansion of macro ‘CONCATENATED_DIR_FNAME’ 3593 | sprintf(tmp, CONCATENATED_DIR_FNAME, d_saved, devices[x].name); | ^~~~~~~~~~~~~~~~~~~~~~ smsd_cfg.h:35:36: note: format string is defined here 35 | #define CONCATENATED_DIR_FNAME "%s/%s-concatenated" | ^~ smsd_cfg.c:3593:13: note: ‘sprintf’ output between 15 and 4141 bytes into a destination of size 4096 3593 | sprintf(tmp, CONCATENATED_DIR_FNAME, d_saved, devices[x].name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ smsd_cfg.c:3669:58: warning: ‘%s’ directive writing up to 4095 bytes into a region of size 4062 [-Wformat-overflow=] 3669 | sprintf(buffer, "Default validity period is set to %s.", tmp); | ^~ ~~~ smsd_cfg.c:3669:7: note: ‘sprintf’ output between 36 and 4131 bytes into a destination of size 4096 3669 | sprintf(buffer, "Default validity period is set to %s.", tmp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ smsd_cfg.c:3689:54: warning: ‘%s’ directive writing up to 4095 bytes into a region of size 4066 [-Wformat-overflow=] 3689 | sprintf(buffer, "Using international prefixes: %s", tmp); | ^~ ~~~ smsd_cfg.c:3689:7: note: ‘sprintf’ output between 31 and 4126 bytes into a destination of size 4096 3689 | sprintf(buffer, "Using international prefixes: %s", tmp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ smsd_cfg.c:3706:49: warning: ‘%s’ directive writing up to 4095 bytes into a region of size 4071 [-Wformat-overflow=] 3706 | sprintf(buffer, "Using national prefixes: %s", tmp); | ^~ ~~~ smsd_cfg.c:3706:7: note: ‘sprintf’ output between 26 and 4121 bytes into a destination of size 4096 3706 | sprintf(buffer, "Using national prefixes: %s", tmp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -D NUMBER_OF_MODEMS=64 -D NOSTATS -W -Wall -D_FILE_OFFSET_BITS=64 -c -o charset.o charset.c charset.c: In function ‘decode_7bit_packed’: charset.c:904:49: warning: ‘%s’ directive output may be truncated writing up to 511 bytes into a region of size between 504 and 510 [-Wformat-truncation=] 904 | snprintf(buffer2, sizeof(buffer2), "%02X%s", septets, buffer); | ^~ ~~~~~~ charset.c:904:9: note: ‘snprintf’ output between 3 and 520 bytes into a destination of size 512 904 | snprintf(buffer2, sizeof(buffer2), "%02X%s", septets, buffer); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -D NUMBER_OF_MODEMS=64 -D NOSTATS -W -Wall -D_FILE_OFFSET_BITS=64 -c -o stats.o stats.c stats.c: In function ‘savestats’: stats.c:154:26: warning: ‘/stats.tmp’ directive writing 10 bytes into a region of size between 1 and 4096 [-Wformat-overflow=] 154 | sprintf(filename, "%s/stats.tmp", d_stats); | ^~~~~~~~~~ stats.c:154:5: note: ‘sprintf’ output between 11 and 4106 bytes into a destination of size 4096 154 | sprintf(filename, "%s/stats.tmp", d_stats); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stats.c: In function ‘loadstats’: stats.c:183:26: warning: ‘/stats.tmp’ directive writing 10 bytes into a region of size between 1 and 4096 [-Wformat-overflow=] 183 | sprintf(filename, "%s/stats.tmp", d_stats); | ^~~~~~~~~~ stats.c:183:5: note: ‘sprintf’ output between 11 and 4106 bytes into a destination of size 4096 183 | sprintf(filename, "%s/stats.tmp", d_stats); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stats.c: In function ‘update_message_counter’: stats.c:324:29: warning: ‘.counter’ directive writing 8 bytes into a region of size between 0 and 4095 [-Wformat-overflow=] 324 | sprintf(filename, "%s/%s.counter", d_stats, modemname); | ^~~~~~~~ stats.c:324:5: note: ‘sprintf’ output 10 or more bytes (assuming 4105) into a destination of size 4096 324 | sprintf(filename, "%s/%s.counter", d_stats, modemname); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -D NUMBER_OF_MODEMS=64 -D NOSTATS -W -Wall -D_FILE_OFFSET_BITS=64 -c -o blacklist.o blacklist.c cc -D NUMBER_OF_MODEMS=64 -D NOSTATS -W -Wall -D_FILE_OFFSET_BITS=64 -c -o whitelist.o whitelist.c cc -D NUMBER_OF_MODEMS=64 -D NOSTATS -W -Wall -D_FILE_OFFSET_BITS=64 -c -o modeminit.o modeminit.c modeminit.c: In function ‘initmodem’: modeminit.c:2055:34: warning: ‘%s’ directive writing up to 499 bytes into a region of size 90 [-Wformat-overflow=] 2055 | sprintf(command, "AT+CSCA=\"+%s\"\r", answer); | ^~ ~~~~~~ modeminit.c:2055:5: note: ‘sprintf’ output between 13 and 512 bytes into a destination of size 100 2055 | sprintf(command, "AT+CSCA=\"+%s\"\r", answer); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ modeminit.c:2096:49: warning: ‘%s’ directive output may be truncated writing up to 499 bytes into a region of size 100 [-Wformat-truncation=] 2096 | snprintf(DEVICE.imei, sizeof(DEVICE.imei), "%s", answer); | ^~ ~~~~~~ modeminit.c:2096:5: note: ‘snprintf’ output between 1 and 500 bytes into a destination of size 100 2096 | snprintf(DEVICE.imei, sizeof(DEVICE.imei), "%s", answer); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -D NUMBER_OF_MODEMS=64 -D NOSTATS -W -Wall -D_FILE_OFFSET_BITS=64 -c -o pdu.o pdu.c pdu.c: In function ‘get_pdu_details’: pdu.c:1920:64: warning: ‘%s’ directive output may be truncated writing up to 99 bytes into a region of size between 68 and 76 [-Wformat-truncation=] 1920 | snprintf(buffer, sizeof(buffer), "%.03i %c %-8.8s %-8.8s %s%.03i %.03i/%.03i %c\n", mnumber, sort_ch, date, time, sender, m_id, p_number, p_count, (is_statusreport) ? 'r' : 'i'); | ^~ ~~~~~~ pdu.c:1920:7: note: ‘snprintf’ output between 39 and 170 bytes into a destination of size 100 1920 | snprintf(buffer, sizeof(buffer), "%.03i %c %-8.8s %-8.8s %s%.03i %.03i/%.03i %c\n", mnumber, sort_ch, date, time, sender, m_id, p_number, p_count, (is_statusreport) ? 'r' : 'i'); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -D NUMBER_OF_MODEMS=64 -D NOSTATS -W -Wall -D_FILE_OFFSET_BITS=64 -c -o charshift.o charshift.c cc -D NUMBER_OF_MODEMS=64 -D NOSTATS -W -Wall -D_FILE_OFFSET_BITS=64 -o smsd smsd.c extras.o locking.o cfgfile.o logging.o alarm.o smsd_cfg.o charset.o stats.o blacklist.o whitelist.o modeminit.o pdu.o charshift.o -z muldefs smsd.c: In function ‘exec_system’: smsd.c:332:82: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size between 205 and 236 [-Wformat-truncation=] 332 | snprintf(shared_buffer, SIZE_SHARED_BUFFER, "%s Sms3: mainprocess, %s", adminmessage_device, alert); | ^~ ~~~~~ smsd.c:332:15: note: ‘snprintf’ output between 21 and 307 bytes into a destination of size 256 332 | snprintf(shared_buffer, SIZE_SHARED_BUFFER, "%s Sms3: mainprocess, %s", adminmessage_device, alert); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ smsd.c:305:50: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size between 216 and 247 [-Wformat-truncation=] 305 | snprintf(msg, sizeof(msg), "Smsd3: %s, %s", DEVICE.name, alert); | ^~ ~~~~~ smsd.c:305:11: note: ‘snprintf’ output between 10 and 296 bytes into a destination of size 256 305 | snprintf(msg, sizeof(msg), "Smsd3: %s, %s", DEVICE.name, alert); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ smsd.c: In function ‘change_headers’: smsd.c:977:28: warning: ‘/smsd.XXXXXX’ directive writing 12 bytes into a region of size between 8 and 4103 [-Wformat-overflow=] 977 | sprintf(tmp_filename, "%s/smsd.XXXXXX", tmpdir); | ^~~~~~~~~~~~ smsd.c:977:3: note: ‘sprintf’ output between 13 and 4108 bytes into a destination of size 4103 977 | sprintf(tmp_filename, "%s/smsd.XXXXXX", tmpdir); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ smsd.c: In function ‘received2file’: smsd.c:3436:36: warning: ‘%s’ directive writing up to 31 bytes into a region of size between 0 and 4095 [-Wformat-overflow=] 3436 | sprintf(tmp_filename,"%s/%s.XXXXXX",d_incoming,DEVICE.name); | ^~ smsd.c:3436:11: note: ‘sprintf’ output between 9 and 4135 bytes into a destination of size 4096 3436 | sprintf(tmp_filename,"%s/%s.XXXXXX",d_incoming,DEVICE.name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ smsd.c: In function ‘send_part’: smsd.c:4139:27: warning: ‘sprintf’ may write a terminating nul past the end of the destination [-Wformat-overflow=] 4139 | sprintf(command2,"%s\x1A",pdu); | ^ smsd.c:4139:3: note: ‘sprintf’ output between 2 and 1025 bytes into a destination of size 1024 4139 | sprintf(command2,"%s\x1A",pdu); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ smsd.c: In function ‘send1sms’: smsd.c:5040:49: warning: ‘%s’ directive output may be truncated writing up to 39015 bytes into a region of size 1024 [-Wformat-truncation=] 5040 | snprintf(part_text, sizeof(part_text), "%s", text); | ^~ ~~~~ smsd.c:5040:9: note: ‘snprintf’ output between 1 and 39016 bytes into a destination of size 1024 5040 | snprintf(part_text, sizeof(part_text), "%s", text); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ smsd.c: In function ‘cmd_to_modem’: smsd.c:5994:51: warning: ‘%s’ directive writing up to 1023 bytes into a region of size 1020 [-Wformat-overflow=] 5994 | sprintf(strchr(answer, 0), " // %s", buffer); | ^~ ~~~~~~ smsd.c:5994:19: note: ‘sprintf’ output between 5 and 1028 bytes into a destination of size 1024 5994 | sprintf(strchr(answer, 0), " // %s", buffer); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ smsd.c:6022:34: warning: ‘/smsd.XXXXXX’ directive writing 12 bytes into a region of size between 1 and 4096 [-Wformat-overflow=] 6022 | sprintf(tmp_filename, "%s/smsd.XXXXXX", tmpdir); | ^~~~~~~~~~~~ smsd.c:6022:9: note: ‘sprintf’ output between 13 and 4108 bytes into a destination of size 4096 6022 | sprintf(tmp_filename, "%s/smsd.XXXXXX", tmpdir); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ smsd.c:6068:67: warning: ‘%s’ directive output may be truncated writing up to 1023 bytes into a region of size between 900 and 1011 [-Wformat-truncation=] 6068 | snprintf(buffer, sizeof(buffer), "%s,%i, %s: CMD: %s: %s\n", timestamp, DEVICE.dev_rr_loglevel, DEVICE.name, command, answer); | ^~ ~~~~~~ smsd.c:6068:13: note: ‘snprintf’ output 15 or more bytes (assuming 1149) into a destination of size 1024 6068 | snprintf(buffer, sizeof(buffer), "%s,%i, %s: CMD: %s: %s\n", timestamp, DEVICE.dev_rr_loglevel, DEVICE.name, command, answer); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ smsd.c: In function ‘run_rr’: smsd.c:6137:54: warning: ‘%s’ directive output may be truncated writing up to 31 bytes into a region of size between 29 and 8219 [-Wformat-truncation=] 6137 | snprintf(cmdline, sizeof(cmdline), "%s %s \"%s\" %s", DEVICE.dev_rr, p, DEVICE.dev_rr_statfile, DEVICE.name); | ^~ smsd.c:6137:5: note: ‘snprintf’ output 6 or more bytes (assuming 8227) into a destination of size 8224 6137 | snprintf(cmdline, sizeof(cmdline), "%s %s \"%s\" %s", DEVICE.dev_rr, p, DEVICE.dev_rr_statfile, DEVICE.name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ smsd.c:6187:54: warning: ‘%s’ directive output may be truncated writing up to 31 bytes into a region of size between 29 and 8219 [-Wformat-truncation=] 6187 | snprintf(cmdline, sizeof(cmdline), "%s %s \"%s\" %s", DEVICE.dev_rr_post_run, p, DEVICE.dev_rr_statfile, DEVICE.name); | ^~ smsd.c:6187:5: note: ‘snprintf’ output 6 or more bytes (assuming 8227) into a destination of size 8224 6187 | snprintf(cmdline, sizeof(cmdline), "%s %s \"%s\" %s", DEVICE.dev_rr_post_run, p, DEVICE.dev_rr_statfile, DEVICE.name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/usr/src/slapt-src-x86_64/network/smstools3/smstools3/src' ./install.sh /usr/bin Installing binary program files Creating directory /usr/src/slapt-src-x86_64/network/smstools3/package-smstools3//usr/bin /usr/src/slapt-src-x86_64/network/smstools3/package-smstools3//usr/bin/smsd Installing some scripts /usr/src/slapt-src-x86_64/network/smstools3/package-smstools3//usr/bin/sendsms /usr/src/slapt-src-x86_64/network/smstools3/package-smstools3//usr/bin/sms2html /usr/src/slapt-src-x86_64/network/smstools3/package-smstools3//usr/bin/sms2unicode /usr/src/slapt-src-x86_64/network/smstools3/package-smstools3//usr/bin/unicode2sms Creating minimum spool directories Creating directory /usr/src/slapt-src-x86_64/network/smstools3/package-smstools3/var/spool Creating directory /usr/src/slapt-src-x86_64/network/smstools3/package-smstools3/var/spool/sms Creating directory /usr/src/slapt-src-x86_64/network/smstools3/package-smstools3/var/spool/sms/incoming Creating directory /usr/src/slapt-src-x86_64/network/smstools3/package-smstools3/var/spool/sms/outgoing Creating directory /usr/src/slapt-src-x86_64/network/smstools3/package-smstools3/var/spool/sms/checked Installing start-script Creating directory /usr/src/slapt-src-x86_64/network/smstools3/package-smstools3/etc/rc.d /usr/src/slapt-src-x86_64/network/smstools3/package-smstools3/etc/rc.d/rc.sms3.new Example script files are not installed automatically. Please dont forget to edit /etc/smsd.conf. Slackware package maker, version 3.14159265. Searching for symbolic links: No symbolic links were found, so we won't make an installation script. You can make your own later in ./install/doinst.sh and rebuild the package if you like. This next step is optional - you can set the directories in your package to some sane permissions. If any of the directories in your package have special permissions, then DO NOT reset them here! Would you like to reset all directory permissions to 755 (drwxr-xr-x) and directory ownerships to root.root ([y]es, [n]o)? n Creating Slackware package: /usr/src/slapt-src-x86_64/network/smstools3/smstools3-3.1.21-x86_64-2salix15.0.txz ./ etc/ etc/rc.d/ etc/rc.d/rc.sms3.new etc/smsd.conf.easy etc/smsd.conf.full etc/smsd.conf.net etc/smsd.conf.non-root install/ install/doinst.sh install/slack-desc usr/ usr/bin/ usr/bin/sendsms usr/bin/sms2html usr/bin/sms2unicode usr/bin/smsd usr/bin/unicode2sms usr/doc/ usr/doc/smstools3-3.1.21/ usr/doc/smstools3-3.1.21/LICENSE usr/doc/smstools3-3.1.21/README usr/doc/smstools3-3.1.21/blacklist.html usr/doc/smstools3-3.1.21/book.html usr/doc/smstools3-3.1.21/compiling.html usr/doc/smstools3-3.1.21/configure.html usr/doc/smstools3-3.1.21/configure2.html usr/doc/smstools3-3.1.21/eventhandler.html usr/doc/smstools3-3.1.21/examples/ usr/doc/smstools3-3.1.21/examples/.procmailrc usr/doc/smstools3-3.1.21/examples/.qmailrc usr/doc/smstools3-3.1.21/examples/README usr/doc/smstools3-3.1.21/examples/language-ISO-8859-15.fi usr/doc/smstools3-3.1.21/examples/language-UTF-8.fi usr/doc/smstools3-3.1.21/examples/operator_logo1.sms usr/doc/smstools3-3.1.21/examples/operator_logo2.sms usr/doc/smstools3-3.1.21/examples/received_report.sms usr/doc/smstools3-3.1.21/examples/received_sms.sms usr/doc/smstools3-3.1.21/examples/send_sms.sms usr/doc/smstools3-3.1.21/examples/send_sms_unicode.sms usr/doc/smstools3-3.1.21/examples/smsd.conf.easy usr/doc/smstools3-3.1.21/examples/smsd.conf.full usr/doc/smstools3-3.1.21/examples/smsd.conf.net usr/doc/smstools3-3.1.21/examples/smsd.conf.non-root usr/doc/smstools3-3.1.21/faq.html usr/doc/smstools3-3.1.21/fileformat.html usr/doc/smstools3-3.1.21/gpl.html usr/doc/smstools3-3.1.21/hardwarecomp.html usr/doc/smstools3-3.1.21/history3.html usr/doc/smstools3-3.1.21/index.html usr/doc/smstools3-3.1.21/license.html usr/doc/smstools3-3.1.21/localizing.html usr/doc/smstools3-3.1.21/national_language_shift_tables.html usr/doc/smstools3-3.1.21/run.html usr/doc/smstools3-3.1.21/scripts/ usr/doc/smstools3-3.1.21/scripts/README usr/doc/smstools3-3.1.21/scripts/callhandler usr/doc/smstools3-3.1.21/scripts/checkhandler-utf-8 usr/doc/smstools3-3.1.21/scripts/email2sms usr/doc/smstools3-3.1.21/scripts/eventhandler-utf-8 usr/doc/smstools3-3.1.21/scripts/eventhandler_report usr/doc/smstools3-3.1.21/scripts/forwardsms usr/doc/smstools3-3.1.21/scripts/hex2bin usr/doc/smstools3-3.1.21/scripts/hex2dec usr/doc/smstools3-3.1.21/scripts/load_balancing.sh usr/doc/smstools3-3.1.21/scripts/mysmsd usr/doc/smstools3-3.1.21/scripts/pkill usr/doc/smstools3-3.1.21/scripts/regular_run usr/doc/smstools3-3.1.21/scripts/sendsms usr/doc/smstools3-3.1.21/scripts/sms2html usr/doc/smstools3-3.1.21/scripts/sms2unicode usr/doc/smstools3-3.1.21/scripts/sms2xml usr/doc/smstools3-3.1.21/scripts/sms3 usr/doc/smstools3-3.1.21/scripts/smsevent usr/doc/smstools3-3.1.21/scripts/smsresend usr/doc/smstools3-3.1.21/scripts/smstest.php usr/doc/smstools3-3.1.21/scripts/sql_demo usr/doc/smstools3-3.1.21/scripts/unicode2sms usr/doc/smstools3-3.1.21/slideshow/ usr/doc/smstools3-3.1.21/slideshow/blacklist.gif usr/doc/smstools3-3.1.21/slideshow/eventhandler.gif usr/doc/smstools3-3.1.21/slideshow/logfile.gif usr/doc/smstools3-3.1.21/slideshow/modem.gif usr/doc/smstools3-3.1.21/slideshow/move_l.gif usr/doc/smstools3-3.1.21/slideshow/move_r.gif usr/doc/smstools3-3.1.21/slideshow/page1.html usr/doc/smstools3-3.1.21/slideshow/page2.html usr/doc/smstools3-3.1.21/slideshow/page2.jpg usr/doc/smstools3-3.1.21/slideshow/page2b.html usr/doc/smstools3-3.1.21/slideshow/page3.html usr/doc/smstools3-3.1.21/slideshow/page4.html usr/doc/smstools3-3.1.21/slideshow/page5.html usr/doc/smstools3-3.1.21/slideshow/page6.html usr/doc/smstools3-3.1.21/slideshow/page7.html usr/doc/smstools3-3.1.21/slideshow/page8.html usr/doc/smstools3-3.1.21/slideshow/queue.gif usr/doc/smstools3-3.1.21/slideshow/sms.gif usr/doc/smstools3-3.1.21/slideshow/smstools3-small.jpg usr/doc/smstools3-3.1.21/slideshow/statistic.gif usr/doc/smstools3-3.1.21/slideshow/status.gif usr/doc/smstools3-3.1.21/smstools3.SlackBuild usr/doc/smstools3-3.1.21/statusmonitor.html usr/doc/smstools3-3.1.21/udh.html usr/doc/smstools3-3.1.21/windows.html var/ var/spool/ var/spool/sms/ var/spool/sms/checked/ var/spool/sms/incoming/ var/spool/sms/outgoing/ Slackware package /usr/src/slapt-src-x86_64/network/smstools3/smstools3-3.1.21-x86_64-2salix15.0.txz created. Installing package smstools3-3.1.21-x86_64-2salix15.0... | smstools3 (SMS Server Tools) | | The SMS Server Tools 3 is a SMS Gateway software which can send and | receive short messages through GSM modems and mobile phones. | | Homepage: http://smstools3.kekekasvi.com | | | | | | |