Projects
OVPN-beta
ovpn
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 19
View file
ovpn.spec
Changed
@@ -28,7 +28,7 @@ Summary: OVPN Name: ovpn Version: 2.4.0 -Release: 5285 +Release: 5286 Group: VPN License: BSD-3-Clause URL: https://ovpn.com/
View file
ovpn_2.4.0.orig.tar.gz/VER_IID
Changed
@@ -1,1 +1,1 @@ -5285 +5286
View file
ovpn_2.4.0.orig.tar.gz/pvs-logs/pvs-tasks-client-2022_12_07__11_26_36.log
Deleted
@@ -1,8 +0,0 @@ -pvs-studio.com/en/docs/warnings/ 1 err Help: The documentation for all analyzer warnings is available here: https://pvs-studio.com/en/docs/warnings/. -client/utils/network/linux/NetworkControllerLinux.cpp 56 warn V576 Incorrect format. Consider checking the third actual argument of the 'sscanf' function. It's dangerous to use string specifier without width specification. Buffer overflow is possible. -client/utils/network/linux/NetworkControllerLinux.cpp 56 warn V576 Incorrect format. Consider checking the fourth actual argument of the 'sscanf' function. A pointer to the unsigned long type is expected. -client/utils/network/linux/NetworkControllerLinux.cpp 56 warn V576 Incorrect format. Consider checking the fifth actual argument of the 'sscanf' function. A pointer to the unsigned long type is expected. -client/utils/network/linux/NetworkControllerLinux.cpp 66 warn V547 Expression 'file' is always true. -client/utils/network/linux/NetworkControllerLinux.cpp 99 err V547 Expression 'family == 2' is always true. -client/utils/sentrysdk.cpp 1 err V008 Unable to start the analysis on this file. -client/utils/ipc/linux/IPCAppLinux.cpp 124 warn V560 A part of conditional expression is always false: !replyString.
View file
ovpn_2.4.0.orig.tar.gz/pvs-logs/pvs-tasks-client-2022_12_07__12_45_11.log
Added
@@ -0,0 +1,8 @@ +pvs-studio.com/en/docs/warnings/ 1 err Help: The documentation for all analyzer warnings is available here: https://pvs-studio.com/en/docs/warnings/. +client/utils/sentrysdk.cpp 1 err V008 Unable to start the analysis on this file. +client/utils/network/linux/NetworkControllerLinux.cpp 56 warn V576 Incorrect format. Consider checking the third actual argument of the 'sscanf' function. It's dangerous to use string specifier without width specification. Buffer overflow is possible. +client/utils/network/linux/NetworkControllerLinux.cpp 56 warn V576 Incorrect format. Consider checking the fourth actual argument of the 'sscanf' function. A pointer to the unsigned long type is expected. +client/utils/network/linux/NetworkControllerLinux.cpp 56 warn V576 Incorrect format. Consider checking the fifth actual argument of the 'sscanf' function. A pointer to the unsigned long type is expected. +client/utils/network/linux/NetworkControllerLinux.cpp 66 warn V547 Expression 'file' is always true. +client/utils/network/linux/NetworkControllerLinux.cpp 99 err V547 Expression 'family == 2' is always true. +client/utils/ipc/linux/IPCAppLinux.cpp 124 warn V560 A part of conditional expression is always false: !replyString.
View file
ovpn_2.4.0.orig.tar.gz/pvs-logs/pvs-tasks-ovpn-daemon-2022_12_07__11_26_55.log
Deleted
@@ -1,9 +0,0 @@ -pvs-studio.com/en/docs/warnings/ 1 err Help: The documentation for all analyzer warnings is available here: https://pvs-studio.com/en/docs/warnings/. -ovpn-daemon/commands/setdns.cpp 1 err V008 Unable to start the analysis on this file. -ovpn-daemon/commands/logoff.cpp 1 err V008 Unable to start the analysis on this file. -ovpn-daemon/commands/commands.cpp 1 err V008 Unable to start the analysis on this file. -ovpn-daemon/commands/command.cpp 1 err V008 Unable to start the analysis on this file. -ovpn-daemon/commands/firewall.cpp 1 err V008 Unable to start the analysis on this file. -ovpn-daemon/commands/startovpn.cpp 1 err V008 Unable to start the analysis on this file. -ovpn-daemon/commands/stopovpn.cpp 1 err V008 Unable to start the analysis on this file. -ovpn-daemon/commands/killovpn.cpp 1 err V008 Unable to start the analysis on this file.
View file
ovpn_2.4.0.orig.tar.gz/pvs-logs/pvs-tasks-ovpn-daemon-2022_12_07__12_45_30.log
Added
@@ -0,0 +1,9 @@ +pvs-studio.com/en/docs/warnings/ 1 err Help: The documentation for all analyzer warnings is available here: https://pvs-studio.com/en/docs/warnings/. +ovpn-daemon/commands/setdns.cpp 1 err V008 Unable to start the analysis on this file. +ovpn-daemon/commands/firewall.cpp 1 err V008 Unable to start the analysis on this file. +ovpn-daemon/commands/logoff.cpp 1 err V008 Unable to start the analysis on this file. +ovpn-daemon/commands/command.cpp 1 err V008 Unable to start the analysis on this file. +ovpn-daemon/commands/commands.cpp 1 err V008 Unable to start the analysis on this file. +ovpn-daemon/commands/killovpn.cpp 1 err V008 Unable to start the analysis on this file. +ovpn-daemon/commands/startovpn.cpp 1 err V008 Unable to start the analysis on this file. +ovpn-daemon/commands/stopovpn.cpp 1 err V008 Unable to start the analysis on this file.
View file
ovpn_2.4.0.orig.tar.gz/pvs-logs/pvs.log
Changed
@@ -15,10 +15,10 @@ # d99cf3ba-6fcd-43f9-9260-1179fa3a9bed r-vUVbw<6y|D3 h22y|D3xy|D3(L8Pu(j-o2U9wah>>ua(9h-2_=(Mokv~{U-(S(ouUP(_u=so8kw'2-u>o(=a'(8vk>w_UuP8>('8PPU>_=(=uo_>=}'kky|D3uaa8ay|D3rSSXy|D3g>U92uco8c=oUaocoLucU>U2f=-=c8>coL-=c -2u}y|D3 U2=uy|D3Sy|D3y|D3y|D3y|D3xy|D3 +r-vUVbw<6y|D3 h22y|D3xy|D3(L8Pu(j-o2U9wah>>ua(9h-2_=(Mokv~{U-(S(ouUP(_u=so8kw'2-u>o(=a'(8vk>w_UuP8>('8PPU>_=( -auU22}'kky|D3uaa8ay|D3rSSXy|D3g>U92uco8c=oUaocoLucU>U2f=-=c8>coL-=c -2u}y|D3 U2=uy|D3Sy|D3y|D3y|D3y|D3xy|D3 r-vUVbw<6y|D3 h22y|D3xy|D3(L8Pu(j-o2U9wah>>ua(9h-2_=(Mokv~{U-(S(ouUP(_u=so8kw'2-u>o(=a'(8vk>w_UuP8>('8PPU>_=(28j8 }'kky|D3uaa8ay|D3rSSXy|D3g>U92uco8c=oUaocoLucU>U2f=-=c8>coL-=c -2u}y|D3 U2=uy|D3Sy|D3y|D3y|D3y|D3xy|D3 -r-vUVbw<6y|D3 h22y|D3xy|D3(L8Pu(j-o2U9wah>>ua(9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|D3(L8Pu(j-o2U9wah>>ua(9h-2_=(Mokv~{U-(S(ouUP(_u=so8kw'2-u>o(=a'(8vk>w_UuP8>('8PPU>_=(=oUao8vk>}'kky|D3uaa8ay|D3rSSXy|D3g>U92uco8c=oUaocoLucU>U2f=-=c8>coL-=c -2u}y|D3 U2=uy|D3Sy|D3y|D3y|D3y|D3xy|D3 r-vUVbw<6y|D3 h22y|D3xy|D3(L8Pu(j-o2U9wah>>ua(9h-2_=(Mokv~{U-(S(ouUP(_u=so8kw'2-u>o(=a'(8vk>w_UuP8>('8PPU>_=(=o8k8vk>}'kky|D3uaa8ay|D3rSSXy|D3g>U92uco8c=oUaocoLucU>U2f=-=c8>coL-=c -2u}y|D3 U2=uy|D3Sy|D3y|D3y|D3y|D3xy|D3 -r-vUVbw<6y|D3 h22y|D3xy|D3(L8Pu(j-o2U9wah>>ua(9h-2_=(Mokv~{U-(S(ouUP(_u=so8kw'2-u>o(=a'(8vk>w_UuP8>('8PPU>_=(s-228vk>}'kky|D3uaa8ay|D3rSSXy|D3g>U92uco8c=oUaocoLucU>U2f=-=c8>coL-=c -2u}y|D3 U2=uy|D3Sy|D3y|D3y|D3y|D3xy|D3
View file
ovpn_2.4.0.orig.tar.gz/scripts/logs-parsing.sh
Changed
@@ -32,13 +32,37 @@ # set -o errtrace # trap 'err_trap $@' ERR +# ----------------------------------------------------------------------------- +escape_str() { + echo "${1}" | sed "s/\"/'/g" | sed "s/\'/\'\'/"g +} + +# ----------------------------------------------------------------------------- +db_create() { + sqlite3 "${DB_FILE}" <<EOF +create table logs (id INTEGER PRIMARY KEY,dt TEXT,type TEXT,module TEXT,submodule TEXT,message TEXT); +EOF +} + +# ----------------------------------------------------------------------------- +db_add() { + local DT=$(escape_str "${1}") + local TYPE=$(escape_str "${2}") + local MODULE=$(escape_str "${3}") + local SUBMODULE=$(escape_str "${4}") + local MESSAGE=$(escape_str "${5}") + sqlite3 "${DB_FILE}" <<EOF +insert into logs (dt,type,module,submodule,message) values ("'${DT}'","'${TYPE}'","'${MODULE}'","'${SUBMODULE}'","'${MESSAGE}'"); +EOF +} + # ----------------------------------------------------------------------------- check_part() { if z"${2}" == "z" ; then - echo "${1}" >> "${SKIP_FILE}" + echo "${1}" >>"${SKIP_FILE}" return 128 - fi + fi return 0 } @@ -63,20 +87,21 @@ # Add to a file with warnings # if "${TYPE}" == "warning" ; then - echo "${1}" >> "${WARNINGS_FILE}" + echo "${1}" >>"${WARNINGS_FILE}" fi # # Add to a file with errors # if "${TYPE}" == "error" ; then - echo "${1}" >> "${ERRORS_FILE}" + echo "${1}" >>"${ERRORS_FILE}" fi # # Add to a file with processed data # - echo "${DT},${TYPE},"${2}",${SUBMODULE},${MESSAGE}" >> "${CSV_FILE}" + db_add "${DT}" "${TYPE}" "${2}" "${SUBMODULE}" "${MESSAGE}" + echo "${DT},${TYPE},${2},${SUBMODULE},${MESSAGE}" >>"${CSV_FILE}" } # ----------------------------------------------------------------------------- @@ -110,15 +135,17 @@ readonly SKIP_FILE="${ARTIFACTS_DIR}/skipped-data.txt" readonly ERRORS_FILE="${ARTIFACTS_DIR}/errors.txt" readonly WARNINGS_FILE="${ARTIFACTS_DIR}/warnings.txt" +readonly DB_FILE="${ARTIFACTS_DIR}/logs.db" # Start logs processing TITLE="Logs processing" _start "${TITLE}" -echo "Date/Time,Type,Module,Submodule,Message" > "${CSV_FILE}" -echo "--- SKIPPED DATA ---" > "${SKIP_FILE}" -echo "--- ERRORS ---" > "${ERRORS_FILE}" -echo "--- WARNINGS ---" > "${WARNINGS_FILE}" +echo "Date/Time,Type,Module,Submodule,Message" >"${CSV_FILE}" +echo "--- SKIPPED DATA ---" >"${SKIP_FILE}" +echo "--- ERRORS ---" >"${ERRORS_FILE}" +echo "--- WARNINGS ---" >"${WARNINGS_FILE}" +db_create pushd "${ARTIFACTS_DIR}" process_logs_dir "${LOGS_DIR}" popd
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.