Skip to content

Commit

Permalink
Merge pull request #85 from extremeshok/dev
Browse files Browse the repository at this point in the history
5.1.0
  • Loading branch information
extremeshok committed Apr 8, 2016
2 parents e817d74 + 1961481 commit 5646a58
Show file tree
Hide file tree
Showing 7 changed files with 829 additions and 575 deletions.
24 changes: 24 additions & 0 deletions .travis/ci-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,28 @@ if bash clamav-unofficial-sigs.sh ; then
else
echo .. ERROR
exit 1
fi

if bash clamav-unofficial-sigs.sh --install-cron ; then
if [ -e "/etc/cron.d/clamav-unofficial-sigs" ] ; then
echo .. OK
else
echo .. ERROR
exit 1
fi
else
echo .. ERROR
exit 1
fi

if bash clamav-unofficial-sigs.sh --install-logrotate ; then
if [ -e "/etc/logrotate.d/clamav-unofficial-sigs" ] ; then
echo .. OK
else
echo .. ERROR
exit 1
fi
else
echo .. ERROR
exit 1
fi
15 changes: 10 additions & 5 deletions INSTALL
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,11 @@ Uncompress/Unpackage the archive:
* Set 755 permissions on /usr/local/bin/clamav-unofficial-sigs.sh
* Make the directory /etc/clamav-unofficial-sigs/
* Copy the contents of config/ into /etc/clamav-unofficial-sigs/
* Copy the contents of cron.d/ into /etc/cron.d/
* Copy the contents of logrotate.d/ into /etc/logrotate.d/
* Copy clamav-unofficial-sigs.8 into /usr/share/man/man8/
* Rename the your os.your-distro.conf to os.conf, where your-distro is your distribution
* Set your user config options in the configs /etc/clamav-unofficial-sigs/user.conf

* Run the script with --install-cron to install the cron file
* Run the script with --install-logrotate to install the logrotate file

Install:
mkdir -p /usr/local/bin/
Expand All @@ -66,8 +65,6 @@ Install:
chmod +x /usr/local/bin/clamav-unofficial-sigs.sh
cp -f /tmp/clamav-unofficial-sigs/config/*.* /etc/clamav-unofficial-sigs/
cp -f /tmp/clamav-unofficial-sigs/clamav-unofficial-sigs.8 /usr/share/man/man8/clamav-unofficial-sigs.8
cp -f /tmp/clamav-unofficial-sigs/cron.d/clamav-unofficial-sigs /etc/cron.d/clamav-unofficial-sigs
cp -f /tmp/clamav-unofficial-sigs/logrotate.d/clamav-unofficial-sigs /etc/logrotate.d/clamav-unofficial-sigs

Install Systemd configs:
cp -f /tmp/clamav-unofficial-sigs/systemd/*.* /etc/systemd/
Expand All @@ -78,6 +75,14 @@ Configure:
Edit the /etc/logrotate.d/clamav-unofficial-sigs file
Edit the /etc/cron.d/clamav-unofficial-sigs file

Install Cron configs:
After the configs have been configured
Run: bash clamav-unofficial-sigs.sh --install-croCron:

Install logrotate configs::
After the configs have been configured
Run: bash clamav-unofficial-sigs.sh --install-logrotate

IMPORTANT CONFIGURATION CONSIDERATIONS:
- Make sure that the PATH statement correctly defines the location of your binary files. These
include: find, sed, awk, cut, grep, tail, chown, chmod, cmp, diff, dig, host, gzip, ls, cp, mv,
Expand Down
18 changes: 16 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,20 @@ The clamav-unofficial-sigs script provides a simple way to download, test, and u
### Support / Suggestions / Comments
Please post them on the issue tracker : https://github.com/extremeshok/clamav-unofficial-sigs/issues

### Submit Patches / Pull requests to the "Dev" Branch

### Quick Install Guide
* Download the files to /tmp/
* Copy clamav-unofficial-sigs.sh to /usr/local/bin/
* Set 755 permissions on /usr/local/bin/clamav-unofficial-sigs.sh
* Make the directory /etc/clamav-unofficial-sigs/
* Copy the contents of config/ into /etc/clamav-unofficial-sigs/
* Copy the contents of cron.d/ into /etc/cron.d/
* Copy the contents of logrotate.d/ into /etc/logrotate.d/
* Copy clamav-unofficial-sigs.8 into /usr/share/man/man8/
* Make the directory /var/log/clamav-unofficial-sigs/
* Rename the your os.your-distro.conf to os.conf, where your-distro is your distribution
* Set your user config options in the configs /etc/clamav-unofficial-sigs/user.conf
* Run the script with --install-cron to install the cron file
* Run the script with --install-logrotate to install the logrotate file

### Systemd
* Copy the contents of systemd/ into to /etc/systemd/
Expand Down Expand Up @@ -77,6 +78,19 @@ Usage of free Linux Malware Detect clamav signatures: https://www.rfxn.com/proje
- Enabled by default, no configuration required

## Change Log
### Version 5.1.0 (updated 2016-04-08)
- eXtremeSHOK.com Maintenance
- Added --install-cron this will automatically generate and install the cron file
- Added --install-logrotate this will automatically generate and install the logrotate file
- Change official URL of SecuriteInfo signatures
- Added a new database (securiteinfoandroid.hdb) for SecuriteInfo
- Remove database files after disabling a database group by @reneschuster
- Updated Gentoo OS config by @orlitzky
- Regroup functiuons
- Increase travis-ci code testing
- Set minimum config required to 60
- Bump config to 60

### Version 5.0.6 (updated 2016-04-04)
- eXtremeSHOK.com Maintenance
- Updated winnow databases as per information from Tom @ OITC
Expand Down
Loading

0 comments on commit 5646a58

Please sign in to comment.