Skip to content

Commit

Permalink
Bump version to 1.1.0 and update change log
Browse files Browse the repository at this point in the history
And bump the copyright year in various files.
  • Loading branch information
micahsnyder committed Mar 16, 2022
1 parent 7ec14a4 commit 56a21bc
Show file tree
Hide file tree
Showing 5 changed files with 65 additions and 5 deletions.
60 changes: 60 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,66 @@
> - Fixed: 🐛
> - Security: 🛡
## Version 1.1.0

➕ CVD-Update can now get the DNS nameserver IP from an environment variable.

Specify the IP address of the nameserver in the environment variable
`CVDUPDATE_NAMESERVER` to ensure said nameserver is used when querying the
TXT record containing the current database definition version available.

Using this environment variable will take precedence over any option specified
in the config file.

Feature courtesy of Philippe Ballandras.

➕ CVD-Update can now accept multiple DNS nameservers from the `nameserver`
config option, or from the `CVDUPDATE_NAMESERVER` environment variable.

To set multiple DNS nameservers, specify the `nameserver` config option or the
`CVDUPDATE_NAMESERVER` environment variable as a comma separated list.

E.g.:
```bash
CVDUPDATE_NAMESERVER=1.1.1.1,8.8.8.8 cvd update
```

Feature courtesy of Michael Callahan.

🐛 In prior versions, CVD-Update would assume that a CVD file exists because it
is listed in the `config.json` "dbs" record. So if you delete that file by
accident and try to update, it would not notice and would instead claim that
it is up-to-date. In this release, CVD-Update will detect that a deleted file
is missing from the database directory and will re-download it.

Fix courtesy of Brent Clark.

🌌 CVD-Update will no longer remove extra files from the database directory
when you run `cvd clean dbs`. It will only remove those file managed by the
CVD-Update tool.

This means that you can now store third-party extra signature databases in the
CVD-Update database directory and CVD-Update will not delete them if you run
the clean command.

Improvement courtesy of Brent Clark.

🌌 CVD-Update now stores the database state information separately from the
configuration information. If you're upgrading from CVD-Update version 1.0.2,
your `config.json` file will be migrated automatatically when you run
`cvd update` to split it into `config.json` + `state.json`.
This change allows you to administrate the CVD-Update config files with a
config management tool.
Improvement courtesy of Bill Sanders.
Special thanks to:
- Bill Sanders
- Brent Clark
- Michael Callahan
- Philippe Ballandras
## Version 1.0.2
🐛 Fixed a Python 3.6 compatibility issue in the package version check.
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<p align="center">A tool to download and update clamav databases and database patch files
for the purposes of hosting your own database mirror.
<p align="center"><em>Copyright (C) 2021 Cisco Systems, Inc. and/or its affiliates. All rights reserved.</em></p>
<p align="center"><em>Copyright (C) 2021-2022 Cisco Systems, Inc. and/or its affiliates. All rights reserved.</em></p>

<p align="center">
<a href="https://pypi.org/project/cvdupdate/">
Expand Down
2 changes: 1 addition & 1 deletion cvdupdate/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"""

_copyright = """
Copyright (C) 2021 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
Copyright (C) 2021-2022 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
"""

"""
Expand Down
2 changes: 1 addition & 1 deletion cvdupdate/cvdupdate.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""
Copyright (C) 2021 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
Copyright (C) 2021-2022 Cisco Systems, Inc. and/or its affiliates. All rights reserved.
This module provides a tool to download and update clamav databases and database
patch files (CDIFFs) for the purposes of hosting your own database mirror.
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@

setuptools.setup(
name="cvdupdate",
version="1.0.2",
version="1.1.0",
author="The ClamAV Team",
author_email="clamav-bugs@external.cisco.com",
copyright="Copyright (C) 2021 Cisco Systems, Inc. and/or its affiliates. All rights reserved.",
copyright="Copyright (C) 2022 Cisco Systems, Inc. and/or its affiliates. All rights reserved.",
description="ClamAV Private Database Mirror Updater Tool",
long_description=long_description,
long_description_content_type="text/markdown",
Expand Down

0 comments on commit 56a21bc

Please sign in to comment.