Roman I Khimov : clamav-0.94.2: remove deprecated options from config file
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 23 lines · git version control
Module: openembedded.git Branch: org.openembedded.dev Commit: 1f71e0d0b6f76e74ed848d75f6b50896f2ae160b URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=1f71e0d0b6f76e74ed848d75f6b50896f2ae160bAuthor: Roman I Khimov <[email protected]> Date: Mon Mar 29 22:30:23 2010 +0400clamav-0.94.2: remove deprecated options from config file
Signed-off-by Roman I Khimov <[email protected]>---
recipes/clamav/clamav_0.94.2.bb | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-)recipes/clamav/clamav_0.94.2.bb +0
-0@@ -2,5 +2,9 @@ require clamav.inc
recipes/clamav/clamav_0.94.2.bb require clamav.inc · line 10
Quoted 10 lines
recipes/clamav/clamav_0.94.2.bb +5
-1EXTRA_OECONF += "--program-transform-name=''" -PR = "${INC_PR}.0" +PR = "${INC_PR}.1" +do_install_append() { + # Remove deprecated options + sed -ri "/Archive(Block)?Max/d" ${D}/${sysconfdir}/clamd.conf +}
Maybe we should start making this per version? I know we're inconsistent about this stuff a good bit, but it seems like that's the best way to handle incompatible config files. I say this since it seems possible that come April we have the old stuff in the conf file and no versions that need it. Now that I've said this in public, someone might make a note to make sure that doesn't happen, but I think the point is still valid ;)
Signature · 2 lines
Tom Rini <[email protected]> Mentor Graphics Corporation
В сообщении от Вторник 30 марта 2010 23:14:46 автор Tom Rini написал:
Quoted 6 lines
Review
Quoted 5 lines
(quoted diff) +4
-0+do_install_append() { + # Remove deprecated options + sed -ri "/Archive(Block)?Max/d" ${D}/${sysconfdir}/clamd.conf +}
Quoted 7 lines
Maybe we should start making this per version? I know we're inconsistent about this stuff a good bit, but it seems like that's the best way to handle incompatible config files. I say this since it seems possible that come April we have the old stuff in the conf file and no versions that need it. Now that I've said this in public, someone might make a note to make sure that doesn't happen, but I think the point is still valid ;)
As of today, this takes less bytes than storing whole another config, so it's done this way. And I have had clamd.conf update planned as part of ClamAV < 0.95 removal, "EXTRA_OECONF" will also be moved into .inc.
Signature · 3 lines
http://roman.khimov.ru mailto: [email protected] gpg --keyserver hkp://subkeys.pgp.net --recv-keys 0xE5E055C3