From bf3bab4284cab262a8ff4a447c52d731d84810da5c5546c622d7b4f613d8126d Mon Sep 17 00:00:00 2001 From: Wolfgang Frisch Date: Tue, 16 Jul 2024 07:55:37 +0000 Subject: [PATCH] - Update to 6.18: * Remove unnecessary line from #154 fix in App.pm * Change default clamtk user directory to .config/clamtk (Github #161) * Fix for scanned directories not showing in logs * Update App.pm to support $XDG_CONFIG_HOME environnement variable (Github #154) OBS-URL: https://build.opensuse.org/package/show/security/clamtk?expand=0&rev=81 --- .gitattributes | 23 + .gitignore | 1 + clamtk-6.16.tar.xz | 3 + clamtk-6.16.tar.xz.asc | 16 + clamtk-6.18.tar.xz | 3 + clamtk-6.18.tar.xz.asc | 17 + clamtk-add_searchpath.patch | 12 + clamtk.changes | 851 ++++++++++++++++++++++++++++++++++++ clamtk.keyring | 53 +++ clamtk.spec | 106 +++++ 10 files changed, 1085 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 clamtk-6.16.tar.xz create mode 100644 clamtk-6.16.tar.xz.asc create mode 100644 clamtk-6.18.tar.xz create mode 100644 clamtk-6.18.tar.xz.asc create mode 100644 clamtk-add_searchpath.patch create mode 100644 clamtk.changes create mode 100644 clamtk.keyring create mode 100644 clamtk.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/clamtk-6.16.tar.xz b/clamtk-6.16.tar.xz new file mode 100644 index 0000000..d6cb545 --- /dev/null +++ b/clamtk-6.16.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ff316066067078408b0cc6a09029f77c5b521f6abeb016311a338fdc98391a00 +size 287832 diff --git a/clamtk-6.16.tar.xz.asc b/clamtk-6.16.tar.xz.asc new file mode 100644 index 0000000..7f10c4c --- /dev/null +++ b/clamtk-6.16.tar.xz.asc @@ -0,0 +1,16 @@ +-----BEGIN PGP SIGNATURE----- + +iQIzBAABCAAdFiEE3Bi16xK4KJffDQquyB3w+sSv6yIFAmR5yb0ACgkQyB3w+sSv +6yJMiw//WFJawksz2Z5qMwbbrb2QZK44smBwmjnWQ3OefkfOTFQr1Uk0Xawf7uys +1KkAOtCDXyjjUWPgn0NvlQW46S4bvgxFY2iLkFlGHYcgVOMeotiDkz1kwqIYX/zO +K8aG3gvRiMjbEOkNvTVaWDZ/9I8RIJrWB+ehcuHlKFPmVSIoACNjtiRZgmsW7LGd +fqd6Qa40vYBe2390UMMNTMpxRtBmoAFjrsQ3iBDoLQiDchWYa1zBKr7kgg7XdEpF +55moJ9/ne3e4FA87WUBgO2g8OnIjoDBokvoXElfGuhxnB9NwFClzqqyc3j7fZQXK +4AuErtDTtYURezgRc2K+Axn3MC3C0VUgBM8ctUxWc90ukmtPnzLyDK/rSR4H09q6 +rzOjY2BpTnsko/6BgU5IW6+r0A7tt+tbB7yDtxV3DjlWt6pyhDwL5AKreXVtFxb2 +aBkBg9kEpchlvfhXxGplO6Jv8dkdmWKe4FyXrx4GhuScmO/fXAqCka4Dk7q5GcJi +BIwtstpzlABxPnxlB701VkZgiPnAnGmz3VLXau4q2KH5pA2TMawnndb6/fbKao7C +glts9G2z7kOXu8MbeaUTEmLFN8WkE9oulqwOqljegLPhEvFvwYmMP2B/q/sZYDoX +rteX+Ev4jF5NzQzCp8E/y0vnbxhfGb0Tz6DEkcBcT5YLdkMZx54= +=dSY8 +-----END PGP SIGNATURE----- diff --git a/clamtk-6.18.tar.xz b/clamtk-6.18.tar.xz new file mode 100644 index 0000000..2428d25 --- /dev/null +++ b/clamtk-6.18.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:02de0e29d6edb18efb6f7400c4230d8ce006d76cd30c5f01fec58a14d5d85afe +size 287692 diff --git a/clamtk-6.18.tar.xz.asc b/clamtk-6.18.tar.xz.asc new file mode 100644 index 0000000..461581c --- /dev/null +++ b/clamtk-6.18.tar.xz.asc @@ -0,0 +1,17 @@ +-----BEGIN PGP SIGNATURE----- + +iQJIBAABCAAyFiEE3Bi16xK4KJffDQquyB3w+sSv6yIFAmWzolQUHGRhdmUubmVy +ZEBnbWFpbC5jb20ACgkQyB3w+sSv6yJz2RAAzmJ0NB0SlzrxPcN8C/s/M4b0ekvk +g5b/CnrJ5/atCztQP5x0SQxdyQb99nXKO6f6eA0KhwGi8+ZNbACjdQuld2LJUq1Z +QgY0mmMq/8Orsv8lKPsUsV5AzV+s1PGAW9I/pZSNfv/SZzLdB9CTLsXgCvFfXStM +5PGRZJM5cQ41HbanX8+lQ2t0q1qRpDai/vSaj5Omfs26GY0FnFv7ENPHDlRxrh9e +tEurkq1k+UGWdBpCMPppiN0XHQBYN5cUf6W6uDk6D45D6DUYST4XT9QwPthw4pAW +cJcrBQ9WqmXHa04xIxvHUWoRD4k2+xostJc8qusS3VzeLm/Euv0jQZSS/lliPU5h +EETwG6uxr3FC9NLqnYQ883rSWNJvq+ztdOPkUDt2/hBt3j8lCGIGTeVtUYtGd6gz +vRznBsEz2WLnxiWsvdynuaKtv1PT0xFZ5ipnBLoP8eWNZ9il4A1bK6rvaakzaJrL +8/y/UtLn5MD84TcD3NGlScevEn8hOxf44n/SZku2PEi6T67MUVAGZdf0jkBMqYf4 +Y8baXCoHhGuqfz+DRVu0wIkQ6FhsW+ZYUHmRTO3G5L/kexPQNIUCEbDHjm5sAxt9 +rrmH3WsayDiNjLF+SpYotu/fNxKohuUbkCh8UvygLNkYMFDBQojp4suOnwLR4JgI +0Mf68fqda/8cpVI= +=RFFc +-----END PGP SIGNATURE----- diff --git a/clamtk-add_searchpath.patch b/clamtk-add_searchpath.patch new file mode 100644 index 0000000..8f454b8 --- /dev/null +++ b/clamtk-add_searchpath.patch @@ -0,0 +1,12 @@ +Index: clamtk +=================================================================== +--- clamtk.orig ++++ clamtk +@@ -20,6 +20,7 @@ + use utf8; + $| = 1; + ++use lib qw(/usr/lib); + use ClamTk::Analysis; + use ClamTk::App; + use ClamTk::Assistant; diff --git a/clamtk.changes b/clamtk.changes new file mode 100644 index 0000000..50b0602 --- /dev/null +++ b/clamtk.changes @@ -0,0 +1,851 @@ +------------------------------------------------------------------- +Wed Jul 10 08:00:19 UTC 2024 - Paolo Stivanin + +- Update to 6.18: + * Remove unnecessary line from #154 fix in App.pm + * Change default clamtk user directory to .config/clamtk (Github #161) + * Fix for scanned directories not showing in logs + * Update App.pm to support $XDG_CONFIG_HOME environnement variable (Github #154) + +------------------------------------------------------------------- +Mon Feb 26 10:57:59 UTC 2024 - Dominique Leuenberger + +- Use %autosetup macro. Allows to eliminate the usage of deprecated + PatchN. + +------------------------------------------------------------------- +Tue Jun 13 11:34:02 UTC 2023 - Andrea Manzini + +- Update to version 6.16 + * Fix for Virustotal privacy warning before upload or sending file hash only + * Remove (hopefully) no longer needed lines; improve a few others (Scan.pm) + * Updated language files: Dutch (nl) + * Update README and site links for updated GPG key + +- Update to version 6.15 +--------------- + * Fix for Unable to delete previous analysis result + * Updated language files: Indonesian (id), Swedish (sv), German (de), Chinese (zh_CN), Burmese (my) + * Fix to German language string in clamtk.desktop + * Update DISCLAIMER to use markdown (DISCLAIMER.md) + +------------------------------------------------------------------- +Thu Dec 9 22:27:02 UTC 2021 - Ferdinand Thiessen + +- Update to version 6.14 + * Fix for context-menu scanning image issues + +------------------------------------------------------------------- +Wed Aug 4 11:25:50 UTC 2021 - Paolo Stivanin + +- Update to version 6.13: + * Fixes for appdata.xml + * Partially work Github #129 (engine version, date of sigs, title) + * Update translations in clamtk.desktop + +------------------------------------------------------------------- +Tue Apr 27 14:08:44 UTC 2021 - Paolo Stivanin + +- Update to version 6.11: + * Clamtk and Clamav do not update automatically + * Add appdata.xml file + * Remove code referencing old repo. + * Bug: app doesn't scan files/folders on demand + * Bug: Do not inject 'no-separator' into window decoration + * Add --alert-broken-media option for versions >= 103.1 + * Remove older repo (clamtk-gtk3), use clamtk only +- Remove 0001-Do-not-inject-no-separator-into-window-decoration.patch + +------------------------------------------------------------------- +Fri Feb 12 09:45:59 UTC 2021 - Dominique Leuenberger + +- Update to version 6.07: + + Update to look for additional information during update to know + when finished. + + Update dates to 2021. +- Add 0001-Do-not-inject-no-separator-into-window-decoration.patch: + Do not add no-separator to window decoration (boo#1182151). + +------------------------------------------------------------------- +Fri Sep 25 09:56:42 UTC 2020 - Paolo Stivanin + +- update to 6.06: + * Fix for 'Show Hidden Files' checkbox automatically + * Remove env from clamtk startup for correct + dependency detection (rpmlint) + * Minor language updates to desktop file + * Updated language files: Japanese (ja), English (en_AU), + Mon (mnw_MM), Finnish (fi), Malay (ms) + +------------------------------------------------------------------- +Sun Aug 16 13:04:11 UTC 2020 - Dirk Mueller + +- update to 6.05: + * Exclude Timeshift directory (Github #121) + * Added Help button in Analysis to explain its purpose + (Github #122) + * Updated language files: English (en_UK), Galician (gl), + Ukrainian (uk), French (fr), Afrikans (af), Hebrew (he), + Chinese (zh_TW) + * Add Encrypted.PDF as clean (Github #120). Also, remove alert- + encrypted-* options + * Add set LC_TIME (Gitlab commit a7b3a31c) + * More README cleanup + * Updated language files: Dutch (nl), Afrikans (af), + Indonesian (id), English (en_UK) + * Bug fix affecting manual updates + * Update year (2019 -> 2020) + * Clean up man page + * Heuristic scanning made an option rather than a default + * Fix icon mismatch in the Scheduler + * Fix icon glitch in Update + * Updated language files: English (en_UK), Indonesian (id), + Swedish (sv) (Launchpad #1688469) + +------------------------------------------------------------------- +Mon Feb 3 10:50:34 UTC 2020 - Ismail Dönmez + +- Update to version 6.0.2 + * No changelog upstream +- Cleanup spec file + +------------------------------------------------------------------- +Tue May 7 13:48:53 UTC 2019 - ecsos@opensuse.org + +- update to 5.27 + * Update options for new ClamAV (0.101.0) + * Update language files: Swedish (sv), Japanese (ja) + * Language files will begin to incorporate new "Language" field + * Language files are now BSD because Launchpad. + https://help.launchpad.net/Translations/LicensingFAQ + * Update year to 2019; 15th year :) + +------------------------------------------------------------------- +Tue Feb 5 08:16:33 UTC 2019 - ecsos@opensuse.org + +- update to 5.26 + * UI change to single-click + * Update year to 2018; 14th year :) + * Updates to the man pages + * Update Swedish (sv) language file for Launchpad #1688469 + * Begin move to https://gitlab.com/dave_m/clamtk + +------------------------------------------------------------------- +Thu Nov 9 20:46:34 UTC 2017 - sebix+novell.com@sebix.at + +- update to 5.25 + * Remove forced white background (Github #51) + * Update bitbucket path in various places + * Use "other" for infobar button type (Github #51) + * Updated language files: Chinese (zh_TW), Italian (it), + English (en_AU), Dutch (nl), French (fr), Hungarian (hu), + Swedish (sv) +- add source file validation + +------------------------------------------------------------------- +Sun Jan 8 11:10:58 UTC 2017 - ecsos@opensuse.org + +- update to 5.24 + * Fix startup crash when icon theme lacks 'gtk-new' or other + icon with Arch patch. Thanks to anthraxx. Closes BZ #1386370 + * Initial credits.md file showing contributors + * Add comments line in About dialog to translation file + * Removed built-in help documentation until updated + and translated + * Updated language files: Ukrainian (uk), Hebrew (he), + English (en_UK), Galician (gl), Italian (it) Finnish (fi) + +- changes from 5.23 + * Fix Github #67 (Directories not scanning under Linux Mint 18 + KDE [LiveUSB]) + +------------------------------------------------------------------- +Thu Sep 22 16:15:23 UTC 2016 - ecsos@opensuse.org + +- update to 5.22 + * Directories not scanning if users home includes /sys or + /dev (Github #61). + * Fix all of Github #59 (max-scansize) + * Fix to names of whitelisted directories with extra ";" + * Update website in About dialog as github.io + * Begin digitally signing rpms again, like debs + * Updated language files: pt_BR, en_AU, sv + +- changes from 5.21 + * Update man pages to include updated URLs for bug reporting + * Explicitly add archive scanning (Github #59) + * Removed most monospacing as requested + * Improved text layout + * Updated language files: (ja), Indonesian (id), Polish (pl), + Esperanto (eo), Spanish (es), Danish (da), Malay (ms) + +------------------------------------------------------------------- +Sat Jan 23 14:04:23 UTC 2016 - p.drouand@gmail.com + +- Update to version 5.20 + * Remove nautilus as dependency for clamtk (BZ #1260284) + * Updated language files: Khmer (km), Thai (th), Lao (lo), + French (fr) +- Perform a spec-cleaner +- Add %{perl_requires} macro +- Install perl libraries into %{perl_vendorlib} + +------------------------------------------------------------------- +Sun Jul 19 11:27:55 UTC 2015 - ecsos@opensuse.org + +- update to 5.19 + * Minor fix for History view and row selection (iter) + * Minor tweak to improve display of objects scanned + * Continue replacing Windows -> boxes + * Updated language files: Korean (ko_KR), Italian (it) + +------------------------------------------------------------------- +Tue May 12 20:12:01 UTC 2015 - ecsos@opensuse.org + +- update to 5.18 + * Improvements with Results window + * Minor tweak on PUA-identified files + * Add github bug reporting page to help documentation + * Updated language files: Indonesian (id), Uzbek (uz), + Finnish (fi), Ukrainian (uk), Galician (gl), German (de), + Hebrew (he), English (en_UK), Chinese (zh_TW), Korean (ko_KR), + Dutch (nl) + +- changes from 5.17 + * Fix crash with Results window + * Remove freecode references from help files + +- changes from 5.16 + * Properly destroy Results window + * Fix incorrect version in legacy build + * Fix progressbar count issue for when recursive is + not selected + * Improve hidden files scanning/counting + * Update website page to github + * Updated language files: French (fr), Polish (pl) + +------------------------------------------------------------------- +Fri Apr 3 22:22:36 UTC 2015 - ecsos@opensuse.org + +- update to 5.15 + * Speed up file count/progressbar when directory + chosen for scanning is root (/) by switching to + progressbar's activity mode (no % complete) + * Minor fix to keep window open after closing Results + when main window is open + * Fix window doesn't always show + * Updated language files: Sinhalese (si), Croatian (hr), + Dutch (nl) + +- changes from 5.14 + * Add more meaningful progressbar back; requires + File::Find (usually bundled, shouldn't add new requirements) + * Fix language file text gets inserted into Update process + for some ridiculous reason + * Add more obvious notice for files that are too big to upload + for Analysis (32MB limit through API) + * Add more meaningful messages when trying to scan + files/directories if user does not have permissions + * Fix for when quit button requires more than one click + * Minor font tweak to prevent words from being cut off + * Updated language files: Finnish (fi), German (de), + Ukrainian (uk), English (en_CA), English (en_AU), + English (en_GB), Russian (ru), Galician (gl), Malay (ms), + Romanian (ro), Chinese (zh_TW) + +------------------------------------------------------------------- +Sat Jan 24 12:09:59 UTC 2015 - ecsos@opensuse.org + +- update to 5.13 + * Fix for submitting new files in Analysis + * Update for Virustotal API return results + * Fix closing Results window exits program + * Fix "extra" translation in Scan finish + * Fix Results window doesn't show in some situations + * Fix scan statistics not resetting after scan + +- changes from 5.12 + * Fix for mouse focus issue in history window + (Google Issue #29) + * Add delete keybinding to history window + * Fix error with analysis function where incorrect + results were given + * Add initial support for Trash. Thanks, Nikita! + * Fix formatting issue when quarantining or deleting + items in the Results panel + +------------------------------------------------------------------- +Wed Nov 19 17:19:51 UTC 2014 - ecsos@opensuse.org + +- insert requires: gnome-icon-theme because of crash + +------------------------------------------------------------------- +Mon Nov 17 17:22:48 UTC 2014 - ecsos@opensuse.org + +- update to 5.11 + * Fix for clamtk.py to right-click scan files with + special characters + * Minor improvements to the Update dialog; the new benefit + is one-click signature updating vice two + * Minor updates to help documentation (PUAs) + * Minor improvement in Update Assistant + * Updated language files: German (de), Brazilian + Portuguese (pt_BR), Bulgarian (bg) + +- changes from 5.10 + * Display total number of signatures properly. Thanks, Natalia! + * Main window opens centered, which seems to prevent some + display issues. Thanks, John! + * Updated language files: Dutch (nl), Slovak (sk), + Indonesian (id), French (fr), Polish (pl), Italian (it), + Romanian (ro) + +- changes from 5.09 + * Release proper version for Ubuntu legacy (Google Issue #25). + Thanks, Thom! + * Fix check for updates issue due to change of ClamAV + website + * Updated language files: Uzbek (uz) + +------------------------------------------------------------------- +Sun Aug 24 19:18:40 UTC 2014 - ecsos@opensuse.org + +- update to 5.08 + * Add missing proxy code (Google Issue #20 ). Thanks, Uri! + * Add the ability to submit files from results window + to Virustotal + * Minor tweak to improve redrawing of main window + * Lots of language file updates + * See all changes or check out the README + +- added missing help + +------------------------------------------------------------------- +Sun Jun 15 11:43:43 UTC 2014 - ecsos@opensuse.org + +- update to 5.07 + * Fix to make ClamTk show up again in Dash and + other areas (clamtk.desktop); + the OnlyShowIn portion from 5.06 removed it + * Improve two tooltips in Settings panel + * Minor fix to wording in Update panel + * Standardize locale files permissions + * Updated language files: Arabic (ar), German (de), + Azerbaijani (az), English (en_AU), Galician (gl), + French (fr), Tamil (ta), Ukrainian (uk), Uzbek (uz), + Finnish (fi), Romanian (ro), Spanish (es), Hebrew (he), + Asturian (ast), Czech (cz), Dutch (nl), Malay (ms), Slovak (sk) + +------------------------------------------------------------------- +Wed May 7 15:14:59 UTC 2014 - ecsos@opensuse.org + +- added patch for visibilty in kde menu + +------------------------------------------------------------------- +Mon May 5 16:57:45 UTC 2014 - ecsos@opensuse.org + +- update to 5.06 + * Add some extra arguments to scan to avoid scanning accidents + * Actually remove zenity from dependencies (i.e., + from the build files); it was already removed from code in 5.05 + * Use ShowOnlyIn in .desktop file + * Minor update for dpkg installation instructions in Help files + * Minor display fix for the progressbar in the legacy version + (Google Issue #17) + * Temporary fix for incorrect text in Settings panel + * Updated language files: Japanese (ja), Italian (it), German (de), + Russian (ru), English (en_GB), Slovak (sk), Chinese (zh_TW) + + 5.05 - Mar 14 2014 + * Preference to use single or double click in the + main interface on the icons. No restart required + (Google Issue #7) + * Fix Analysis FileChooserButton reset issue (again). + This time, ensure it is disabled after submitting + a new file + * Minor encoding fix for Scan.pm, Quarantine.pm. + * Minor fix to use current version, not 5.00, in $ua + (Analysis.pm) + * Minor regex fix in selecting directories (GUI.pm) + * Removed last remnants of Gtk2::Tooltips, which + is deprecated + * Remove zenity portion which has never been used. + * Remove non-Italian strings from Italian (it) language file + * Standardize some words in Update.pm + * Minor cleanup + * Updated language files: Slovak (sk), Chinese (zh_TW), + Italian (it), Dutch (nl), Bulgarian (bg), Czech (cs_CZ), + Ukrainian (uk), Uzbek (uz), German (de), Finnish (fi), + Asturian (ast), Galician (gl), Spanish (es), French (fr), + Portuguese (pt), Hebrew (he), Brazilian Portuguese (pt_BR), + Malay (ms) + +------------------------------------------------------------------- +Sun Feb 16 11:08:35 UTC 2014 - ecsos@opensuse.org + +- update to 5.04: + * Clear combobox text area after action + (Launchpad #1276125). + * Search button active without filename and + update analysis reports (Launchpad #1276141). + * Fix update problem (Google Issue #4, Launchpad #1273165). + * Updated language files: Polish (pl), German (de), + Bulgarian (bg), Azerbaijani (az), Spanish (es), Uzbek (uz) + +------------------------------------------------------------------- +Sun Jan 19 18:34:05 UTC 2014 - pascal.bleser@opensuse.org + +- update to 5.03: + * Re-add scheduler (Google Issue #1). This adds cron or cronie back as a dependency. + * Update requirement for some distros to gnome-icon-theme-full, and + gnome-icon-theme for some distros (Google Issue #2) + * Remove extra gettext subs + * Fix ugly copyright symbol + * Minor help documentation and man page tweaks. + +------------------------------------------------------------------- +Fri Jan 3 16:13:29 UTC 2014 - pascal.bleser@opensuse.org + +- added missing requires for perl(Text::CSV), thanks to Gerrit Jan Eldering for + reporting + +------------------------------------------------------------------- +Fri Jan 03 08:57:56 UTC 2014 - pascal.bleser@opensuse.org + +- update to 5.02: + * add gnome-icon-theme to requirements + * update statusbar after saving update preferences + * add missing icon in Nautilus context menu + * remove unused (notify-send and more) code from App.pm + * ensure FileChooserButton cannot be clicked with nothing (due to inability + to reset) + * remove deprecated encoding pragma + +- changes from 5.01: + * fix minimum Gtk2 version to >= 1.241 + * fix parsing issue on paths with spaces and special characters + * update VT file size limit + * correct quarantine sorting from lexical to spaceship operator (numerically + ascending) + * allow quarantine scrollwindow to actually scroll + * results columns are now resizable + +- changes from 5.00: + * right-click file manager support; uses nautilus-python + * use of Virustotal API; requires perl-JSON and perl-LWP-Protocol-https + * now using Time::Piece instead of Date::Calc; it's a Perl built-in + * now using Digest::SHA (sha256) instead of Digest::MD5 + +- changes from 4.46: + * minor bug fix for recursive option + +------------------------------------------------------------------- +Wed Aug 07 22:14:37 UTC 2013 - pascal.bleser@opensuse.org + +- update to 4.45: + * fixed and improved submit file for analysis functionality + * updated translations: ast, bg, hr, da_DK, fi, lt, pl, es, th + +------------------------------------------------------------------- +Thu Apr 18 12:43:59 UTC 2013 - meissner@suse.com + +- updated to 4.44: + * This version contains a minor fix, a couple improvements, and an updated + language file. + +------------------------------------------------------------------- +Thu Oct 18 23:17:56 UTC 2012 - pascal.bleser@opensuse.org + +- update to 4.42: + * Added tooltips in scanning preferences for clarity + * Removed unnecessary buttons in Prefs dialog + * updated translations + +------------------------------------------------------------------- +Sun Jun 03 08:34:53 UTC 2012 - pascal.bleser@opensuse.org + +- update to 4.41: + * Actually remove File::Find::Rule from ClamTk sources, which should have + been done in 4.40 + +------------------------------------------------------------------- +Sun May 27 06:33:38 UTC 2012 - pascal.bleser@opensuse.org + +- update to 4.40: + * improvements to startup/scanning time, especially for full system scans + (lp#697614) + * removed "Ready" and "Elapsed time" fields: kind of pointless and makes the + other two fields more clear + * removed some debugging statements left from 4.39 + * update translations + +------------------------------------------------------------------- +Sat Apr 21 22:37:19 UTC 2012 - pascal.bleser@opensuse.org + +- update to 4.39: + * Removed engine out of date warning. Worst. Thing. Ever.; removing Net::DNS + as requirement and other minor things + * Some utf-8 encoding fixes for Scheduler and Histories (lp#978566) + * Added option to delete duplicate signature databases. Enabled by default. + * Using sigtool to parse signature db files rather than manually. This way, + if the format is changed, the information should still be valid + * Added warning for when signature updates failed, which can happen when + (e.g.) mirrors are not working + * Updated localization. + +------------------------------------------------------------------- +Thu Mar 29 17:01:44 UTC 2012 - pascal.bleser@opensuse.org + +- update to 4.38: + * new icon + * fix for crontab: note that you may have to delete and re-add your scheduled + scan if this problem affected you + * improvement for scanning from commandline + * updated translations + +------------------------------------------------------------------- +Sun Feb 12 16:08:22 UTC 2012 - pascal.bleser@opensuse.org + +- update to 4.37: + * added drag and drop + * fixed 1px line is left behind (lp#880148) + * fix where the recursive option was not passed to the scanner + * fix the count of files to be scanned (ClamAV does not scan empty files) + * updated URLs for submitting malware and false positives to ClamAV + * another minor improvement for the RTL override misery + * more obvious context menu for results + * more obvious notification during scanning start + +------------------------------------------------------------------- +Sun Oct 16 17:00:35 UTC 2011 - pascal.bleser@opensuse.org + +- update to 4.36: + * improvement for handling certain BiDi text malware (e.g., RTL override) + * do not display Results window unless threats are found + * keep Threats Found bolded if threats are found + * minor fix to status bar display + * icons removed from menubar + * added Indonesian (id) language file + * updated Slovak (sk_SK), English (en_BG) and Spanish (es) + +------------------------------------------------------------------- +Mon Sep 26 08:28:13 UTC 2011 - pascal.bleser@opensuse.org + +- update to 4.35: + * fix for very slow scanning affecting small number of users + * fix toolbar to show all buttons, no arrow + * minor fix to AV wizard + * fix to elapsed timer not resetting after scans + * updated translations: Malay (ms), Slovak (sk_SK), English (en_GB), Polish + (pl), Bosnian (bs), German (de), Spanish (es) + +------------------------------------------------------------------- +Thu Sep 8 22:06:50 UTC 2011 - pascal.bleser@opensuse.org + +- fix typo in patch, thanks to Heinz Pöpperl for reporting + +------------------------------------------------------------------- +Sat Aug 20 11:30:01 UTC 2011 - pascal.bleser@opensuse.org + +- update to 4.34: + * fix regular expression in scanning portion (LP#787864) + * fix to display so that changing signature update method refreshes to show + current signature status + * fix to Last scan value + * additional updates to clamtk.desktop file + * many updated translations + +------------------------------------------------------------------- +Sat Jun 11 23:27:27 UTC 2011 - pascal.bleser@opensuse.org + +- update to 4.33: + * fixed parsing of AV signature dates: will now reflect status with date as a + tooltip + * sorting histories works again + * fixed a mismatched tooltip (lp#790570) + * minor gui improvements (buttons, placement, reflecting stats after AV + wizard) + * now using the most current date of signatures (cld vs cvd, if both exist) + * no longer using .VIRUS extension for quarantined files: a fix is now in + place to remove it from current files, and newly quarantined files will not + use it at all + * the formatting of saved virus logs has been improved + * added a pound sign to allowed characters in virus filenames (as seen in + recent UPS wave) for submission + * started updating the .desktop file (ie., missing translations, minor fixes) + * translation updates + +------------------------------------------------------------------- +Mon Apr 25 20:49:37 UTC 2011 - pascal.bleser@opensuse.org + +- update to 4.32: + * minor GUI improvements + * new and updated language files + +------------------------------------------------------------------- +Sun Jan 9 22:52:40 UTC 2011 - pascal.bleser@opensuse.org + +- update to 4.31: + * minor fixes to quarantine restoration + * added an extra check to ensure files reviewed in quarantine are regular + files (and not directories) + * added option to scan or ignore files under ~/.gvfs and ~/smb4k; by default, + the option is ignore; we'll expand this as needed; the idea is to allow or + disallow scanning of smb-mounted drives + * scanning speed has been optimized by filtering unwanted directories and + files prior to collection phase + * AV wizard now has (Gtk2::)Assistant interface + * new translations: ca_ES, fo + * updated translations: gl, tr, hr, ko, es, nl, he, pt_BR, de, hu, nb, bg, + pl, zh_CN, it, da_DK, bs, zh_TW + +------------------------------------------------------------------- +Sun Nov 7 22:05:31 UTC 2010 - pascal.bleser@opensuse.org + +- update to 4.30: + * adds the ability to submit files for analysis + +------------------------------------------------------------------- +Sat Sep 11 18:48:26 UTC 2010 - pascal.bleser@opensuse.org + +- update to 4.29: + * minor code cleanup + * updated language files + +------------------------------------------------------------------- +Thu Aug 19 14:08:37 UTC 2010 - pascal.bleser@opensuse.org + +- update to 4.28: + * replaces hal with udev + * contains minor code cleanup + * updated language files + +------------------------------------------------------------------- +Sat Jul 10 21:46:57 UTC 2010 - pascal.bleser@opensuse.org + +- update to 4.27: + * adds an easy shortcut to scanning devices + * contains minor improvements, code cleanup + * language file updates. + +------------------------------------------------------------------- +Sat May 1 22:30:18 UTC 2010 - pascal.bleser@opensuse.org + +- update to 4.26: + * minor improvements + * updated language files + +------------------------------------------------------------------- +Sun Mar 7 15:23:03 UTC 2010 - pascal.bleser@opensuse.org + +- update to 4.25: + * various documentation updates were made + * when disambiguating a spec like foo::bar, where cat-1/pkg::foo + and cat-2/pkg::bar exist, the implied preference for cat-2 is + now recognized + * a bug causing NoConfig clients to fail to find profiles when + used with a supplemental repository that does not provide its + own profiles description has been fixed + +------------------------------------------------------------------- +Sun Feb 28 16:02:00 UTC 2010 - pascal.bleser@opensuse.org + +- update to 4.24: + * minor bug fixes + * a proxy configuration tab + * a new icon + * language file updates + +------------------------------------------------------------------- +Wed Jan 20 22:04:01 UTC 2010 - pascal.bleser@opensuse.org + +- update to 4.23: + * makes ClamTk more out-of-the-box ready + * contains cleaned up code and numerous language file updates + +------------------------------------------------------------------- +Sat Dec 26 23:35:09 UTC 2009 - pascal.bleser@opensuse.org + +- update to 4.22: + * adds directory whitelisting + * UI improvements + * a few minor bugfixes + * updated language files + +------------------------------------------------------------------- +Sat Dec 5 23:33:21 UTC 2009 - pascal.bleser@opensuse.org + +- moved localization to -lang subpackage + +------------------------------------------------------------------- +Sat Dec 5 23:19:17 UTC 2009 - pascal.bleser@opensuse.org + +- update to 4.21: + * minor bug fix for loop count in updater + * updated language files for nb, ar, da_DK, sl, ro and ja + +------------------------------------------------------------------- +Mon Nov 03 12:00:00 CEST 2009 Sebastian Siebert + +- add a patch to fix the problem with search path + +------------------------------------------------------------------- +Sun Nov 1 17:25:33 UTC 2009 - pascal.bleser@opensuse.org + +- update to 4.20: + * new "restore" feature: remembers a file's original place, so + once quarantined, it can be returned if need be (e.g., a false + positive) + * sortable history views + * updated language files + +------------------------------------------------------------------- +Tue Sep 22 00:00:00 CEST 2009 - pascal.bleser@opensuse.org + +- update to 4.19: + * adds a unified Preferences window with additional options + * Bulgarian translation + +------------------------------------------------------------------- +Sat Aug 8 00:00:00 CEST 2009 - pascal.bleser@opensuse.org + +- update to 4.18: + * adds the ability to schedule daily scans and antivirus updates + * adds an easy way to switch methods of updating antivirus updates + +------------------------------------------------------------------- +Sun Jul 12 00:00:00 CEST 2009 - pascal.bleser@opensuse.org + +- update to 4.17: + * minor cosmetic fix to avoid the perception that the program has + stalled + * the Danish and Brazilian Portuguese language files have been + updated + +------------------------------------------------------------------- +Sun Jun 21 00:00:00 CEST 2009 - pascal.bleser@opensuse.org + +- update to 4.16: + * adds a recursive checkbox option to the main interface, which + enables easier recursive scanning and allows the end user to + save it as a startup option + * minor GUI improvements + * large number of language file additions and updates + +------------------------------------------------------------------- +Sat Jun 13 00:00:00 CEST 2009 - pascal.bleser@opensuse.org + +- update to 4.15: + * fixes a timeout issue which occurred occasionally during start + up + * adds Arabic language support + +------------------------------------------------------------------- +Mon May 25 00:00:00 CEST 2009 - pascal.bleser@opensuse.org + +- update to 4.14: + * fixes a crash which occurred when not connected to the Internet + * the Chinese and Dutch language files updated + * minor updates to the update dialogue + +------------------------------------------------------------------- +Tue Apr 28 00:00:00 CEST 2009 - pascal.bleser@opensuse.org + +- update to 4.13: + * adds Dutch (nl_BE) and Greek (el_GR) language files, with + updates to the Romanian and Spanish language files + * clamtk-kde is deprecated + +------------------------------------------------------------------- +Sun Apr 26 00:00:00 CEST 2009 - pascal.bleser@opensuse.org + +- added missing Requires: zenity + +------------------------------------------------------------------- +Sun Mar 22 00:00:00 CET 2009 - pascal.bleser@opensuse.org + +- update to 4.12: + * this release adds Turkish language support and updates the + French, Brazilian, and Spanish language files + * additionally, there are a few minor dependency changes +- clamtk-kde moved into its own package (clamtk-kde3) + +------------------------------------------------------------------- +Thu Feb 19 00:00:00 CET 2009 - pascal.bleser@opensuse.org + +- update to 4.11: + * adds support for Slovak + * updates translations for French, Korean and Spanish + +------------------------------------------------------------------- +Sun Feb 15 00:00:00 CET 2009 - guru@unixtech.be + +- update to 4.10: + * fixes a situation where signatures were not accurately counted + * some patches were re-added + +------------------------------------------------------------------- +Sun Dec 28 00:00:00 CET 2008 - guru@unixtech.be + +- update to 4.09: + * updated language files + * one minor bugfix related to language display + +------------------------------------------------------------------- +Sat Dec 20 00:00:00 CET 2008 - guru@unixtech.be + +- update to 4.08: + * minor bugfixes + +------------------------------------------------------------------- +Sun Dec 7 00:00:00 CET 2008 - guru@unixtech.be + +- moved to openSUSE Build Service +- scrapped old %changelog entries +- update to 4.07: + * this release contains minor bugfixes involving the save-as dialog + +------------------------------------------------------------------- +Fri Nov 28 00:00:00 CET 2008 - guru@unixtech.be + +- update to 4.06: + * fixes AV version detection + +------------------------------------------------------------------- +Sun Nov 16 00:00:00 CET 2008 - guru@unixtech.be + +- update to 4.05: + * adds several minor bugfixes + * updates the Slovene and Italian language files + +------------------------------------------------------------------- +Mon Nov 10 00:00:00 CET 2008 - guru@unixtech.be + +- update to 4.04: + * fixes a minor bug + * GUI improvements + * updates to Chinese and Swedish translations + +------------------------------------------------------------------- +Sun Oct 26 00:00:00 CEST 2008 - guru@unixtech.be + +- update to 4.03: + * updates the Polish, French, Russian, and Brazilian language files to the + 4.x series + * a few missing translation lines were added + * the display of the GUI and the logs were improved + +------------------------------------------------------------------- +Sun Oct 19 00:00:00 CEST 2008 - guru@unixtech.be + +- update to 4.02: + * bugfixes + * updated korean translation + +------------------------------------------------------------------- +Mon Oct 13 00:00:00 CEST 2008 - guru@unixtech.be + +- update to 4.01: + * bugfixes + * updates README + * updates Dutch translation diff --git a/clamtk.keyring b/clamtk.keyring new file mode 100644 index 0000000..2beb9d7 --- /dev/null +++ b/clamtk.keyring @@ -0,0 +1,53 @@ +-----BEGIN PGP PUBLIC KEY BLOCK----- +Comment: DC18 B5EB 12B8 2897 DF0D 0AAE C81D F0FA C4AF EB22 +Comment: Dave M + +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 +l43AMMb6NorGfzrlx7hVgtyDQzveZPEhOA== +=kz0a +-----END PGP PUBLIC KEY BLOCK----- diff --git a/clamtk.spec b/clamtk.spec new file mode 100644 index 0000000..d79bb2c --- /dev/null +++ b/clamtk.spec @@ -0,0 +1,106 @@ +# +# spec file for package clamtk +# +# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2012 Pascal Bleser +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +Name: clamtk +Version: 6.18 +Release: 0 +Summary: GUI for the ClamAV Antivirus +License: Artistic-1.0 OR GPL-1.0-or-later +Group: Productivity/Security +URL: https://gitlab.com/dave_m/clamtk/-/wikis/home +Source: https://github.com/dave-theunsub/clamtk/releases/download/v%{version}/clamtk-%{version}.tar.xz +Source1: https://github.com/dave-theunsub/clamtk/releases/download/v%{version}/clamtk-%{version}.tar.xz.asc +Source2: %{name}.keyring +Patch0: clamtk-add_searchpath.patch +BuildRequires: update-desktop-files +Requires: clamav >= 0.88 +Requires: gnome-icon-theme >= 3 +Requires: zenity +Requires: perl(Cwd) +Requires: perl(Digest::SHA) +Requires: perl(Encode) +Requires: perl(File::Basename) +Requires: perl(File::Copy) +Requires: perl(File::Path) +Requires: perl(Glib) +Requires: perl(Gtk3) +Requires: perl(JSON) +Requires: perl(LWP::Protocol::https) +Requires: perl(LWP::UserAgent) +Requires: perl(Locale::gettext) +Requires: perl(Net::DNS) +Requires: perl(Text::CSV) +Requires: perl(Time::Piece) +Requires: typelib(Gdk) = 3.0 +Requires: typelib(GdkPixbuf) = 2.0 +Requires: typelib(GdkPixdata) = 2.0 +Requires: typelib(Gtk) = 3.0 +Requires: typelib(Pango) = 1.0 +Recommends: clamav-db +BuildArch: noarch +%{perl_requires} + +%description +ClamTk is a GUI front-end for ClamAV using Gtk3-perl. +It is designed to be an easy-to-use, point and click virus scanner. + +%lang_package + +%prep +%autosetup -p0 + +%build +gzip -dc clamtk.1.gz > clamtk.1 +rm clamtk.1.gz + +%install +install -D -m 0755 clamtk %{buildroot}%{_bindir}/clamtk +install -D -m 0644 images/clamtk.png %{buildroot}%{_datadir}/pixmaps/clamtk.png +install -D -m 0644 clamtk.1 %{buildroot}%{_mandir}/man1/clamtk.1 + +# install in the perl vendorlib location: +install -d %{buildroot}/%{perl_vendorlib}/ClamTk +install -m0644 lib/*.pm %{buildroot}/%{perl_vendorlib}/ClamTk/ + +pushd po +for mo in *.mo; do + lang="${mo%%.mo}" + install -D -m 0644 ${mo} %{buildroot}%{_datadir}/locale/${lang}/LC_MESSAGES/%{name}.mo +done +popd #po +for l in cs_CZ el_GR nl_BE ast; do + rm -rf %{buildroot}%{_datadir}/locale/$l +done + +%suse_update_desktop_file -i -r %{name} System Security + +%find_lang %{name} %{?no_lang_C} + +%files +%license LICENSE +%doc CHANGES DISCLAIMER.md README.md +%{_bindir}/clamtk +%{perl_vendorlib}/ClamTk +%{_datadir}/pixmaps/clamtk.png +%{_datadir}/applications/%{name}.desktop +%{_mandir}/man1/clamtk.1%{?ext_man} + +%files lang -f %{name}.lang + +%changelog