Skip to content

Commit

Permalink
Merge pull request #115 from extremeshok/dev
Browse files Browse the repository at this point in the history
5.3.1
  • Loading branch information
extremeshok committed May 14, 2016
2 parents c451daf + 1d03895 commit be3d2fe
Show file tree
Hide file tree
Showing 8 changed files with 136 additions and 60 deletions.
12 changes: 8 additions & 4 deletions .codeclimate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,16 @@
engines:
shellcheck:
enabled: true
checks:
SC2001:
enabled: false
SC2154:
enabled: false
SC2076:
enabled: false
fixme:
enabled: true
ratings:
paths: []
exclude_paths:
- .travis/
checks:
SC2001:
enabled: false
- .t/
File renamed without changes.
19 changes: 19 additions & 0 deletions .travis/ci-test.sh → .t/ci-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -71,3 +71,22 @@ else
echo .. ERROR
exit 1
fi

echo "check database integrity test"
bash clamav-unofficial-sigs.sh --test-database sanesecurity.ftm
if [ "$?" -eq "0" ] ; then
echo .. OK
else
echo .. ERROR
exit 1
fi

echo "check gpg verify test"
bash clamav-unofficial-sigs.sh --gpg-verify scam.ndb
if [ "$?" -eq "0" ] ; then
echo .. OK
else
echo .. ERROR
exit 1
fi

File renamed without changes.
File renamed without changes.
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ before_install:
# - "sudo mkdir -p tmp/cache/"
# - "ls -laFh tmp/cache/clamav-dbs"
# - "sudo rsync -rlptDv tmp/cache/ /var/lib/clamav/"
- "sudo cp -f .travis/tests/bytecode.cvd /var/lib/clamav/bytecode.cvd"
- "sudo cp -f .t/tests/bytecode.cvd /var/lib/clamav/bytecode.cvd"
- "sudo chown -R clamav:clamav /var/lib/clamav"
# - "sudo freshclam"
# - "ls -laFh /var/lib/clamav/"
Expand All @@ -42,11 +42,11 @@ install:
- "sudo mkdir -p /etc/clamav-unofficial-sigs"
- "sudo cp -f config/master.conf /etc/clamav-unofficial-sigs/master.conf"
- "sudo cp -f config/os.ubuntu.conf /etc/clamav-unofficial-sigs/os.conf"
- "sudo cp -f .travis/tests/user.conf /etc/clamav-unofficial-sigs/user.conf"
- "sudo cp -f .t/tests/user.conf /etc/clamav-unofficial-sigs/user.conf"
- "sudo cp -f clamav-unofficial-sigs.sh /usr/sbin/clamav-unofficial-sigs"

script:
- sudo sh -e .travis/ci-test.sh
- sudo sh -e .t/ci-test.sh

addons:
code_climate:
Expand Down
12 changes: 10 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,15 @@ Usage of free Linux Malware Detect clamav signatures: https://www.rfxn.com/proje

## Change Log

### Version 5.3.0 (updated 2016-05-07)
### Version 5.3.1 (updated 2016-05-14)
- eXtremeSHOK.com Maintenance
- Bug Fix: for GPG Signature test FAILED by @DamianoBianchi
- Remove unused $GETOPT
- Refactor clamscan_integrity_test_specific_database_file (--test-database)
- Refactor gpg_verify_specific_sanesecurity_database_file (--gpg-verify)
- Big fix: missing $pid_dir

### Version 5.3.0
- eXtremeSHOK.com Maintenance
- Major change: Updated to use new database structure, now allows all low/medium/high databases to be enabled or disabled.
- Major change: curl replaced with wget (will fallback to curl is wget is not installed)
Expand Down Expand Up @@ -480,7 +488,7 @@ Usage: clamav-unofficial-sigs.sh [OPTION] [PATH|FILE]
information is provided when using this flag

-t, --test-database Clamscan integrity test a specific database file
eg: '-s filename.ext' (do not include file path)
eg: '-t filename.ext' (do not include file path)

-o, --output-triggered If HAM directory scanning is enabled in the script's
configuration file, then output names of any third-party
Expand Down
Loading

0 comments on commit be3d2fe

Please sign in to comment.