summaryrefslogtreecommitdiff
path: root/security/clamav-devel/files
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2004-02-11 10:39:34 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2004-02-11 10:39:34 +0000
commit35de7eb27a113b74bb48d16275575a614811b9f0 (patch)
tree2d8ac8d51b1c3d4504761bfc5a5febc7edff8b5c /security/clamav-devel/files
parentUpdate to 0.82 (diff)
- 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
Notes
Notes: svn path=/head/; revision=100662
Diffstat (limited to 'security/clamav-devel/files')
-rw-r--r--security/clamav-devel/files/patch-configure26
-rw-r--r--security/clamav-devel/files/patch-database_Makefile.in15
2 files changed, 41 insertions, 0 deletions
diff --git a/security/clamav-devel/files/patch-configure b/security/clamav-devel/files/patch-configure
new file mode 100644
index 000000000000..c2d83239eecd
--- /dev/null
+++ b/security/clamav-devel/files/patch-configure
@@ -0,0 +1,26 @@
+--- 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"
diff --git a/security/clamav-devel/files/patch-database_Makefile.in b/security/clamav-devel/files/patch-database_Makefile.in
new file mode 100644
index 000000000000..ff745761e284
--- /dev/null
+++ b/security/clamav-devel/files/patch-database_Makefile.in
@@ -0,0 +1,15 @@
+--- database/Makefile.in.orig Tue Feb 10 17:19:06 2004
++++ database/Makefile.in Tue Feb 10 17:19:38 2004
+@@ -248,9 +248,9 @@
+
+ install:
+ $(mkinstalldirs) $(DESTDIR)$(DBINST)
+- test -f $(DESTDIR)$(DBINST)/main.cvd || @$(INSTALL_DATA) main.cvd $(DESTDIR)$(DBINST)
+- test -f $(DESTDIR)$(DBINST)/daily.cvd || @$(INSTALL_DATA) daily.cvd $(DESTDIR)$(DBINST)
+- test -f $(DESTDIR)$(DBINST)/mirrors.txt || @$(INSTALL_DATA) mirrors.txt $(DESTDIR)$(DBINST)
++ test -f $(DESTDIR)$(DBINST)/main.cvd || $(INSTALL_DATA) main.cvd $(DESTDIR)$(DBINST)
++ test -f $(DESTDIR)$(DBINST)/daily.cvd || $(INSTALL_DATA) daily.cvd $(DESTDIR)$(DBINST)
++ test -f $(DESTDIR)$(DBINST)/mirrors.txt || $(INSTALL_DATA) mirrors.txt $(DESTDIR)$(DBINST)
+ test -f $(DESTDIR)$(DBINST)/viruses.db && rm -f $(DESTDIR)$(DBINST)/viruses.db || true
+ test -f $(DESTDIR)$(DBINST)/viruses.db2 && rm -f $(DESTDIR)$(DBINST)/viruses.db2 || true
+ @if test `id -u` -eq 0 && test -n "${CLAMAVUSER}" && test -n "${CLAMAVGROUP}"; then \