ports/security/clamav-devel/files/patch-configure
Dirk Meyer 35de7eb27a - update to 20040210
- The install doesn't delete the database anymore
- Don't remove the database on deinstall
- Use OPTIONS target
- handle all config install via the port

You have to run freshclam manually once after upgrade to restore the database.

PR:		62653
Submitted by:	rob@debank.tv

- Fix deinstall when no database was installed.
Submitted by:	dinoex
2004-02-11 10:39:34 +00:00

26 lines
524 B
Text

--- configure.bak Fri Feb 6 14:46:08 2004
+++ configure Tue Feb 10 17:44:13 2004
@@ -9316,23 +9316,12 @@
-if test ! -r "$cfg_dir/clamav.conf"; then
- INSTALL_CLAMAV_CONF_TRUE=
- INSTALL_CLAMAV_CONF_FALSE='#'
-else
INSTALL_CLAMAV_CONF_TRUE='#'
INSTALL_CLAMAV_CONF_FALSE=
-fi
-
-if test ! -r "$cfg_dir/freshclam.conf"; then
- INSTALL_FRESHCLAM_CONF_TRUE=
- INSTALL_FRESHCLAM_CONF_FALSE='#'
-else
INSTALL_FRESHCLAM_CONF_TRUE='#'
INSTALL_FRESHCLAM_CONF_FALSE=
-fi
if test "$test_urandom" = "yes"