From ab406f2206ea019032119d312bbb3fcec6104bb5 Mon Sep 17 00:00:00 2001
From: Ivan Rako <ivan.rako@srce.hr>
Date: Wed, 2 Sep 2020 11:41:22 +0200
Subject: [PATCH] Prva verzija za buster.

---
 README.CARNet => README.CARNET |    0
 debian/changelog               |    6 ++++++
 debian/compat                  |    2 +-
 debian/control                 |   10 +++++-----
 debian/copyright               |    2 +-
 debian/docs                    |    2 +-
 debian/lintian-overrides       |    3 +++
 debian/postinst                |    2 +-
 debian/source/format           |    1 +
 9 files changed, 19 insertions(+), 9 deletions(-)
 rename README.CARNet => README.CARNET (100%)
 create mode 100644 debian/lintian-overrides
 create mode 100644 debian/source/format

diff --git a/README.CARNet b/README.CARNET
similarity index 100%
rename from README.CARNet
rename to README.CARNET
diff --git a/debian/changelog b/debian/changelog
index c9291b9..fb2f0df 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+clamav-cn (4:0.102.4+cn10u1) stable; urgency=medium
+
+  * Prva verzija za buster
+
+ -- Ivan Rako <Ivan.Rako@CARNET.hr>  Wed, 02 Sep 2020 11:36:08 +0200
+
 clamav-cn (4:0.99.4~cn0) stable; urgency=medium
 
   * Prva verzija za stretch
diff --git a/debian/compat b/debian/compat
index ec63514..f599e28 100644
--- a/debian/compat
+++ b/debian/compat
@@ -1 +1 @@
-9
+10
diff --git a/debian/control b/debian/control
index f5ad1c7..25eb739 100644
--- a/debian/control
+++ b/debian/control
@@ -1,18 +1,18 @@
 Source: clamav-cn
 Section: net
 Priority: optional
-Maintainer: Ivan Rako <Ivan.Rako@CARNet.hr>
-Build-Depends: debhelper (>= 9)
+Maintainer: Ivan Rako <Ivan.Rako@CARNET.hr>
+Build-Depends: debhelper (>= 10)
 Standards-Version: 3.9.8
 
 Package: clamav-cn
 Architecture: all
 Depends: ${misc:Depends}, carnet-tools-cn (>= 2.3), clamav-unofficial-sigs (>= 5.6.2-1)
-Pre-Depends: clamav-daemon (>= 0.99.4), clamav-freshclam (>= 0.99.4), clamav (>= 0.99.4)
-Conflicts: amavisd-cn (<< 2:20030616p5-0), libclamav1, libclamav2, libclamav3, libclamav4, libclamav5, libclamav6
+Pre-Depends: clamav-daemon (>= 0.102.4), clamav-freshclam (>= 0.102.4), clamav (>= 0.102.4)
+Conflicts: amavisd-cn (<< 2:20030616p5-0), libclamav1, libclamav2, libclamav3, libclamav4, libclamav5, libclamav6, libclamav7, libclamav8
 Description: antivirus scanner for Unix
  Clam AntiVirus is an anti-virus toolkit for Unix. The main purpose of this
  software is the integration with mail servers (attachment scanning). The
- package provides a flexible and scalable multi-threaded daemon in the
+ metapackage provides a flexible and scalable multi-threaded daemon in the
  clamav-daemon package, a commandline scanner in the clamav package, and a tool
  for automatic updating via Internet through the clamav-freshclam package.
diff --git a/debian/copyright b/debian/copyright
index 28add9f..840ef7c 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,4 +1,4 @@
-Copyright 2006 CARNet <paketi@carnet.hr>
+Copyright 2006 CARNET <paketi@carnet.hr>
 
 You are free to distribute this software package under the terms of the
 GNU General Public License.
diff --git a/debian/docs b/debian/docs
index 8f6e250..db3c4b3 100644
--- a/debian/docs
+++ b/debian/docs
@@ -1 +1 @@
-README.CARNet
+README.CARNET
diff --git a/debian/lintian-overrides b/debian/lintian-overrides
new file mode 100644
index 0000000..4a4fe9c
--- /dev/null
+++ b/debian/lintian-overrides
@@ -0,0 +1,3 @@
+clamav-cn: maintainer-script-should-not-use-recursive-chown-or-chmod postinst:17
+clamav-cn: maintainer-script-should-not-use-recursive-chown-or-chmod postinst:21
+clamav-cn: maintainer-script-should-not-use-recursive-chown-or-chmod postinst:25
diff --git a/debian/postinst b/debian/postinst
index 414f933..8104833 100755
--- a/debian/postinst
+++ b/debian/postinst
@@ -5,7 +5,7 @@ set -e
 [ "$1" = "configure" ] || exit 0
 [ "$DEBIAN_SCRIPT_DEBUG" ] && set -vx
 
-# Load CARNet Tools
+# Load CARNET Tools
 . /usr/share/carnet-tools/functions.sh
 
 # obsolete option
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..d3827e7
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+1.0
-- 
1.7.10.4