[Pkg-clamav-commits] [SCM] Debian repository for ClamAV branch, test, updated. 0143548027e1a238da3e4268024f0836ef5740a4

Stephen Gran steve at lobefin.net
Thu Sep 4 12:14:19 UTC 2008


The following commit has been merged in the test branch:
commit 0143548027e1a238da3e4268024f0836ef5740a4
Author: Stephen Gran <steve at lobefin.net>
Date:   Thu Sep 4 13:05:50 2008 +0100

    Handle soname change
    Signed-off-by: Stephen Gran <steve at lobefin.net>

diff --git a/debian/clamav-config.1 b/debian/clamav-config.1
index edc9d90..ffef268 100644
--- a/debian/clamav-config.1
+++ b/debian/clamav-config.1
@@ -19,7 +19,7 @@
 .\"
 .TH CLAMAV-CONFIG 1 "June 2004" "Debian Project" "Debian GNU/Linux"
 .SH NAME
-clamav-config \- script to get information about libclamav4
+clamav-config \- script to get information about libclamav5
 .SH SYNOPSIS
 .B clamav\-config 
 .BI [\-\-prefix[= DIR ]]
@@ -30,27 +30,27 @@ clamav-config \- script to get information about libclamav4
 .B clamav\-config
 is a tool that is used to configure to determine the compiler and
 linker flags that should be used to compile and link programs that use
-.BR libclamav4 .
+.BR libclamav5 .
 .SH OPTIONS
 .TP
 .B \-\-version
 Print the currently installed version of 
-.B libclamav4
+.B libclamav5
 on the standard output.
 .TP
 .B \-\-libs
 Print the linker flags that are necessary to link a program with
-.BR libclamav4 .
+.BR libclamav5 .
 .TP
 .B \-\-cflags
 Print the compiler flags that are necessary to compile a program with 
-.BR libclamav4 .
+.BR libclamav5 .
 .TP
 .BI  \-\-prefix= PREFIX
 If specified, use 
 .I PREFIX
 instead of the installation prefix that 
-.B libclamav4
+.B libclamav5
 was built with when computing the output for the 
 .B \-\-cflags
 and
diff --git a/debian/clamav.links b/debian/clamav.links
index 522fe1e..c595dfb 100644
--- a/debian/clamav.links
+++ b/debian/clamav.links
@@ -1,6 +1,6 @@
-/usr/share/doc/libclamav4/AUTHORS /usr/share/doc/clamav/AUTHORS
-/usr/share/doc/libclamav4/BUGS /usr/share/doc/clamav/BUGS
-/usr/share/doc/libclamav4/FAQ /usr/share/doc/clamav/FAQ
-/usr/share/doc/libclamav4/README.gz /usr/share/doc/clamav/README.gz
-/usr/share/doc/libclamav4/README.Debian.gz /usr/share/doc/clamav/README.Debian.gz
-/usr/share/doc/libclamav4/NEWS.Debian.gz /usr/share/doc/clamav/NEWS.Debian.gz
+/usr/share/doc/libclamav5/AUTHORS /usr/share/doc/clamav/AUTHORS
+/usr/share/doc/libclamav5/BUGS /usr/share/doc/clamav/BUGS
+/usr/share/doc/libclamav5/FAQ /usr/share/doc/clamav/FAQ
+/usr/share/doc/libclamav5/README.gz /usr/share/doc/clamav/README.gz
+/usr/share/doc/libclamav5/README.Debian.gz /usr/share/doc/clamav/README.Debian.gz
+/usr/share/doc/libclamav5/NEWS.Debian.gz /usr/share/doc/clamav/NEWS.Debian.gz
diff --git a/debian/control b/debian/control
index 5870a62..a0b2c2a 100644
--- a/debian/control
+++ b/debian/control
@@ -17,7 +17,7 @@ Description: anti-virus utility for Unix - base package
  multi-threaded daemon in the clamav-daemon package, a command-line
  scanner in the clamav package, and a tool for automatic updating via
  the Internet in the clamav-freshclam package. The programs are based
- on libclamav4, which can be used by other software.
+ on libclamav5, which can be used by other software.
  .
  This package mainly manages the clamav system account. It is not really
  useful without the clamav package. It also handles the configuration
@@ -34,13 +34,13 @@ Description: anti-virus utility for Unix - documentation
  multi-threaded daemon in the clamav-daemon package, a command-line
  scanner in the clamav package, and a tool for automatic updating via
  the Internet in the clamav-freshclam package. The programs are based
- on libclamav4, which can be used by other software.
+ on libclamav5, which can be used by other software.
  .
  This package contains the documentation for the ClamAV suite.
 
 Package: clamav-dbg
 Architecture: any
-Depends: libclamav4, clamav, ${shlibs:Depends}
+Depends: libclamav5, clamav, ${shlibs:Depends}
 Priority: extra
 Description: debug symbols for ClamAV
  Clam AntiVirus is an anti-virus toolkit for Unix. The main purpose of
@@ -49,7 +49,7 @@ Description: debug symbols for ClamAV
  multi-threaded daemon in the clamav-daemon package, a command-line
  scanner in the clamav package, and a tool for automatic updating via
  the Internet in the clamav-freshclam package. The programs are based
- on libclamav4, which can be used by other software.
+ on libclamav5, which can be used by other software.
  .
  This package contains the stripped debugging symbols for the ClamAV suite.
 
@@ -65,7 +65,7 @@ Description: anti-virus utility for Unix - command-line interface
  multi-threaded daemon in the clamav-daemon package, a command-line
  scanner in the clamav package, and a tool for automatic updating via
  the Internet in the clamav-freshclam package. The programs are based
- on libclamav4, which can be used by other software.
+ on libclamav5, which can be used by other software.
  .
  This package contains the command line interface. Features:
   - built-in support for various archive formats, including Zip, RAR, Tar,
@@ -88,7 +88,7 @@ Description: anti-virus utility for Unix - command-line interface
 Package: libclamav-dev
 Section: libdevel
 Architecture: any
-Depends: libclamav4 (= ${binary:Version}), libssl-dev, libidn11-dev, libc6-dev | libc-dev, zlib1g-dev (>=1:1.1.4), libbz2-dev, libgmp3-dev
+Depends: libclamav5 (= ${binary:Version}), libssl-dev, libidn11-dev, libc6-dev | libc-dev, zlib1g-dev (>=1:1.1.4), libbz2-dev, libgmp3-dev
 Description: anti-virus utility for Unix - development files
  Clam AntiVirus is an anti-virus toolkit for Unix. The main purpose of
  this software is the integration with mail servers (attachment
@@ -96,14 +96,14 @@ Description: anti-virus utility for Unix - development files
  multi-threaded daemon in the clamav-daemon package, a command-line
  scanner in the clamav package, and a tool for automatic updating via
  the Internet in the clamav-freshclam package. The programs are based
- on libclamav4, which can be used by other software.
+ on libclamav5, which can be used by other software.
  .
  The package contains the needed headers and libraries for
  developing software using the libclamav interface.
  .
  This library can be used to develop virus scanner applications.
 
-Package: libclamav4
+Package: libclamav5
 Section: libs
 Architecture: any
 Depends: ${shlibs:Depends}
@@ -114,7 +114,7 @@ Description: anti-virus utility for Unix - library
  multi-threaded daemon in the clamav-daemon package, a command-line
  scanner in the clamav package, and a tool for automatic updating via
  the Internet in the clamav-freshclam package. The programs are based
- on libclamav4, which can be used by other software.
+ on libclamav5, which can be used by other software.
  .
  For programs written using the libclamav library. Libclamav may be used to add
  virus protection into software. The library is thread-safe, and automatically
@@ -132,7 +132,7 @@ Description: anti-virus utility for Unix - scanner daemon
  multi-threaded daemon in the clamav-daemon package, a command-line
  scanner in the clamav package, and a tool for automatic updating via
  the Internet in the clamav-freshclam package. The programs are based
- on libclamav4, which can be used by other software.
+ on libclamav5, which can be used by other software.
  .
  This package contains the daemon and its command line interface,
  featuring:
@@ -151,7 +151,7 @@ Description: anti-virus utility for Unix - test files
  multi-threaded daemon in the clamav-daemon package, a command-line
  scanner in the clamav package, and a tool for automatic updating via
  the Internet in the clamav-freshclam package. The programs are based
- on libclamav4, which can be used by other software.
+ on libclamav5, which can be used by other software.
  .
  This package contains files 'infected' with a test signature. The test
  signature (ClamAV-Test-Signature) should be detectable by all
@@ -170,7 +170,7 @@ Description: anti-virus utility for Unix - virus database update utility
  multi-threaded daemon in the clamav-daemon package, a command-line
  scanner in the clamav package, and a tool for automatic updating via
  the Internet in the clamav-freshclam package. The programs are based
- on libclamav4, which can be used by other software.
+ on libclamav5, which can be used by other software.
  .
  This package contains the freshclam program and scripts to automate virus
  database updating. It relies on an Internet connection, but can be
@@ -189,7 +189,7 @@ Description: anti-virus utility for Unix - sendmail integration
  multi-threaded daemon in the clamav-daemon package, a command-line
  scanner in the clamav package, and a tool for automatic updating via
  the Internet in the clamav-freshclam package. The programs are based
- on libclamav4, which can be used by other software.
+ on libclamav5, which can be used by other software.
  .
  This package contains the ClamAV milter for use with sendmail. It can
  be configured to be run either standalone, or using clamav-daemon.
diff --git a/debian/libclamav-dev.links b/debian/libclamav-dev.links
index 3d12dfc..9f7c826 100644
--- a/debian/libclamav-dev.links
+++ b/debian/libclamav-dev.links
@@ -1,6 +1,6 @@
-/usr/share/doc/libclamav4/AUTHORS.gz /usr/share/doc/libclamav-dev/AUTHORS.gz
-/usr/share/doc/libclamav4/BUGS /usr/share/doc/libclamav-dev/BUGS
-/usr/share/doc/libclamav4/FAQ /usr/share/doc/libclamav-dev/FAQ
-/usr/share/doc/libclamav4/README.gz /usr/share/doc/libclamav-dev/README.gz
-/usr/share/doc/libclamav4/README.Debian.gz /usr/share/doc/libclamav-dev/README.Debian.gz
-/usr/share/doc/libclamav4/NEWS.Debian.gz /usr/share/doc/libclamav-dev/NEWS.Debian.gz
+/usr/share/doc/libclamav5/AUTHORS.gz /usr/share/doc/libclamav-dev/AUTHORS.gz
+/usr/share/doc/libclamav5/BUGS /usr/share/doc/libclamav-dev/BUGS
+/usr/share/doc/libclamav5/FAQ /usr/share/doc/libclamav-dev/FAQ
+/usr/share/doc/libclamav5/README.gz /usr/share/doc/libclamav-dev/README.gz
+/usr/share/doc/libclamav5/README.Debian.gz /usr/share/doc/libclamav-dev/README.Debian.gz
+/usr/share/doc/libclamav5/NEWS.Debian.gz /usr/share/doc/libclamav-dev/NEWS.Debian.gz
diff --git a/debian/libclamav4.install b/debian/libclamav4.install
deleted file mode 100644
index e59c5f4..0000000
--- a/debian/libclamav4.install
+++ /dev/null
@@ -1,2 +0,0 @@
-debian/tmp/usr/lib/libclamav.so.4.0.*
-debian/tmp/usr/lib/libclamav.so.4
diff --git a/debian/libclamav4.docs b/debian/libclamav5.docs
similarity index 100%
rename from debian/libclamav4.docs
rename to debian/libclamav5.docs
diff --git a/debian/libclamav5.install b/debian/libclamav5.install
new file mode 100644
index 0000000..191f36b
--- /dev/null
+++ b/debian/libclamav5.install
@@ -0,0 +1,2 @@
+debian/tmp/usr/lib/libclamav.so.5.0.*
+debian/tmp/usr/lib/libclamav.so.5
diff --git a/debian/rules b/debian/rules
index 55c66f8..abab488 100755
--- a/debian/rules
+++ b/debian/rules
@@ -164,7 +164,7 @@ clamav-dbg:
 	dh_installdocs -p$@
 	dh_installchangelogs -p$@ ChangeLog
 	dh_compress -p$@
-	dh_shlibdeps -l debian/libclamav4/usr/lib -p$@
+	dh_shlibdeps -l debian/libclamav5/usr/lib -p$@
 	dh_installdeb -p$@
 	dh_gencontrol -p$@
 	dh_builddeb -p$@
@@ -185,7 +185,7 @@ clamav: install
 	cp debian/clamav.overrides debian/clamav/usr/share/lintian/overrides/clamav
 	dh_md5sums -p$@
 	dh_installdeb -p$@
-	dh_shlibdeps -l debian/libclamav4/usr/lib -p$@
+	dh_shlibdeps -l debian/libclamav5/usr/lib -p$@
 	dh_gencontrol -p$@
 	dh_fixperms -p$@
 	dh_builddeb -p$@
@@ -210,7 +210,7 @@ clamav-freshclam: install
 	dh_installdebconf -p$@
 	dh_md5sums -p$@
 	dh_installdeb -p$@
-	dh_shlibdeps -l debian/libclamav4/usr/lib -p$@
+	dh_shlibdeps -l debian/libclamav5/usr/lib -p$@
 	dh_gencontrol -p$@
 	dh_fixperms -p$@ -Xclamav-freshclam-ifupdown
 	chmod +x debian/clamav-freshclam/etc/network/if-up.d/clamav-freshclam-ifupdown
@@ -237,7 +237,7 @@ clamav-daemon: install
 	dh_compress -p$@
 	dh_md5sums -p$@
 	dh_installdeb -p$@
-	dh_shlibdeps -l debian/libclamav4/usr/lib -p$@
+	dh_shlibdeps -l debian/libclamav5/usr/lib -p$@
 	dh_gencontrol -p$@
 	dh_fixperms -p$@
 	dh_builddeb -p$@
@@ -260,12 +260,12 @@ clamav-milter: install
 	dh_compress -p$@
 	dh_md5sums -p$@
 	dh_installdeb -p$@
-	dh_shlibdeps -l debian/libclamav4/usr/lib -p$@
+	dh_shlibdeps -l debian/libclamav5/usr/lib -p$@
 	dh_gencontrol -p$@
 	dh_fixperms -p$@
 	dh_builddeb -p$@
 
-libclamav4: install
+libclamav5: install
 	dh_testdir
 	dh_testroot
 	dh_installdirs -p$@
@@ -277,7 +277,7 @@ libclamav4: install
 	dh_makeshlibs -V -p$@
 	dh_md5sums -p$@
 	dh_installdeb -p$@
-	dh_shlibdeps -l debian/libclamav4/usr/lib -p$@
+	dh_shlibdeps -l debian/libclamav5/usr/lib -p$@
 	dh_gencontrol -p$@
 	dh_fixperms -p$@
 	dh_builddeb -p$@
@@ -306,7 +306,7 @@ libclamav-dev: install
 binary-indep: build install clamav-base clamav-testfiles clamav-docs
 
 # Build architecture dependant packages using the common target.
-binary-arch: build install libclamav4 clamav clamav-daemon clamav-freshclam clamav-milter libclamav-dev clamav-dbg
+binary-arch: build install libclamav5 clamav clamav-daemon clamav-freshclam clamav-milter libclamav-dev clamav-dbg
 
 binary: binary-indep binary-arch
 .PHONY: build clean binary-indep binary-arch binary install 

-- 
Debian repository for ClamAV



More information about the Pkg-clamav-commits mailing list