FS#38399 - [clamav] pkg should provide default conf files in their "live" home locations
Attached to Project:
Arch Linux
Opened by John (graysky) - Monday, 06 January 2014, 19:10 GMT
Last edited by Gaetan Bisson (vesath) - Wednesday, 08 January 2014, 07:30 GMT
Opened by John (graysky) - Monday, 06 January 2014, 19:10 GMT
Last edited by Gaetan Bisson (vesath) - Wednesday, 08 January 2014, 07:30 GMT
|
Details
Request to modify the PKGBUILD to provide the needed config
files. This request is a departure from the "do not modify
upstream" thinking but doing so allows:
1) Convenience: the creation of files needed to use the software (i.e. users MUST do this manually which seems wasteful when the pkg can provide them. 2) Consistency: many other Arch packages such as open-ssl for example provide skel config files out-of-the-box. /etc/clamav/clamd.conf /etc/clamav/freshclam.conf Additional info: * package version(s) clamav-0.98-1 |
This task depends upon
Closed by Gaetan Bisson (vesath)
Wednesday, 08 January 2014, 07:30 GMT
Reason for closing: Implemented
Additional comments about closing: clamav-0.98-2 in [extra]
Wednesday, 08 January 2014, 07:30 GMT
Reason for closing: Implemented
Additional comments about closing: clamav-0.98-2 in [extra]
I've put clamav-0.98-2 in [testing] and will let it there for a few days just to make sure everybody is happy with the changes. Please let me know what you think.
Your thoughts?
Before, we heavily patched those sample files to match Arch's configuration; this was a bit ugly and quite useless since the user still had to remove the Example line and copy those files to their propre names (without the sample suffix).
Now, we ship vanilla upstream sample files, together with minimalistic files that make the software work out of the box. I think this is much cleaner. If a user needs info to configure clamav, they can always find it in the sample files. At the same time, our default configuration is now concise and easier to read/edit/maintain than a 100+ line sample file.
freshclam.conf (8.4 KiB)
And it seems to me that from a user perspective the result is the same anyhow:
- those who just want to run clamd out-of-the-box will not know the difference;
- those who wish to configure clamd will have to select which options they want to bring over from the sample file to the configuration file, or to just copy the sample file over the configuration file - but it is their responsibility to do so and it shows that Arch itself only maintains a minimalistic configuration file.