-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ZCS-13605:Updated clamav-db for ClamAV-1.0.1
- Loading branch information
Showing
4 changed files
with
35 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,9 @@ | ||
zimbra-clamav-db (1.0.0-1zimbra8.7b2ZAPPEND) unstable; urgency=low | ||
|
||
* ZCS-13605, Updated clamav-db for ClamAV-1.0.1 | ||
|
||
-- Zimbra Packaging Services <[email protected]> Fri, 23 Jun 2023 16:05:22 +0000 | ||
|
||
zimbra-clamav-db (1.0.0-ITERATIONZAPPEND) unstable; urgency=low | ||
|
||
* Initial Release. | ||
|
13 changes: 11 additions & 2 deletions
13
thirdparty/clamav-db/zimbra-clamav-db/debian/zimbra-clamav-db.postinst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,15 @@ | ||
#!/bin/bash | ||
if [ "$1" = configure ]; then | ||
/bin/chown -R zimbra:zimbra /opt/zimbra/data/clamav | ||
/bin/chmod 644 /opt/zimbra/data/clamav/init/*.init | ||
/bin/chown -R zimbra:zimbra /opt/zimbra/data/clamav | ||
/bin/chmod 644 /opt/zimbra/data/clamav/init/*.init | ||
if [ -f /opt/zimbra/data/clamav/db/daily.cvd ]; then | ||
rm -rf /opt/zimbra/data/clamav/db/daily.cvd | ||
fi | ||
if [ -f /opt/zimbra/data/clamav/db/main.cvd ]; then | ||
rm -rf /opt/zimbra/data/clamav/db/main.cvd | ||
fi | ||
if [ -f /opt/zimbra/data/clamav/db/bytecode.cvd ]; then | ||
rm -rf /opt/zimbra/data/clamav/db/bytecode.cvd | ||
fi | ||
fi | ||
exit 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
Summary: Initial ClamAV Databases for ClamAV | ||
Name: zimbra-clamav-db | ||
Version: 1.0.0 | ||
Release: ITERATIONZAPPEND | ||
Release: 1zimbra8.7b2ZAPPEND | ||
License: GPL-2 | ||
Requires: zimbra-base | ||
Packager: Zimbra Packaging Services <[email protected]> | ||
|
@@ -14,6 +14,8 @@ AutoReqProv: no | |
Initial ClamAV Databases for ClamAV | ||
|
||
%changelog | ||
* Fri Jun 23 2023 Zimbra Packaging Services <[email protected]> - VERSION-1zimbra8.7b2ZAPPEND | ||
- ZCS-13605, Updated clamav-db for ClamAV-1.0.1 | ||
* Wed Mar 09 2016 Zimbra Packaging Services <[email protected]> - 1.0.0-ITERATIONZAPPEND | ||
- Initial version | ||
|
||
|
@@ -27,3 +29,14 @@ cp ../../../src/main.cvd ${RPM_BUILD_ROOT}/opt/zimbra/data/clamav/init/main.cvd. | |
%attr(644,zimbra,zimbra) /opt/zimbra/data/clamav/init/bytecode.cvd.init | ||
%attr(644,zimbra,zimbra) /opt/zimbra/data/clamav/init/daily.cvd.init | ||
%attr(644,zimbra,zimbra) /opt/zimbra/data/clamav/init/main.cvd.init | ||
|
||
%post -p /bin/bash | ||
if [ -f /opt/zimbra/data/clamav/db/daily.cvd ]; then | ||
rm -rf /opt/zimbra/data/clamav/db/daily.cvd | ||
fi | ||
if [ -f /opt/zimbra/data/clamav/db/main.cvd ]; then | ||
rm -rf /opt/zimbra/data/clamav/db/main.cvd | ||
fi | ||
if [ -f /opt/zimbra/data/clamav/db/bytecode.cvd ]; then | ||
rm -rf /opt/zimbra/data/clamav/db/bytecode.cvd | ||
fi |