[oe-commits] Roman I Khimov : clamav-0.94.2: remove deprecated options from config file

git version control git at git.openembedded.org
Wed Mar 31 09:01:49 UTC 2010


Module: openembedded.git
Branch: shr/unstable
Commit: 1f71e0d0b6f76e74ed848d75f6b50896f2ae160b
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=1f71e0d0b6f76e74ed848d75f6b50896f2ae160b

Author: Roman I Khimov <khimov at altell.ru>
Date:   Mon Mar 29 22:30:23 2010 +0400

clamav-0.94.2: remove deprecated options from config file

Signed-off-by: Roman I Khimov <khimov at altell.ru>

---

 recipes/clamav/clamav_0.94.2.bb |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/recipes/clamav/clamav_0.94.2.bb b/recipes/clamav/clamav_0.94.2.bb
index e85cc50..3ce005f 100644
--- a/recipes/clamav/clamav_0.94.2.bb
+++ b/recipes/clamav/clamav_0.94.2.bb
@@ -2,5 +2,9 @@ require clamav.inc
 
 EXTRA_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
+}
\ No newline at end of file





More information about the Openembedded-commits mailing list