summaryrefslogtreecommitdiffstats
path: root/debian
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2021-03-07 22:46:59 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2021-03-07 22:46:59 +0900
commitb443273c98c21b59348ab446a76ac1a5d53ab480 (patch)
treefa36876f0d66fd1a333f5505205a8ae12435c0a9 /debian
parent12dcc700a83c4c76187e9bbcd046a032a202872e (diff)
downloadtde-packaging-b443273c98c21b59348ab446a76ac1a5d53ab480.tar.gz
tde-packaging-b443273c98c21b59348ab446a76ac1a5d53ab480.zip
DEB: added packaging files for klamav.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'debian')
-rw-r--r--debian/_base/applications/klamav/debian/cdbs/debian-tde.mk227
-rw-r--r--debian/_base/applications/klamav/debian/cdbs/versions.pl19
-rw-r--r--debian/_base/applications/klamav/debian/changelog258
-rw-r--r--debian/_base/applications/klamav/debian/compat1
-rw-r--r--debian/_base/applications/klamav/debian/control20
-rw-r--r--debian/_base/applications/klamav/debian/copyright174
-rw-r--r--debian/_base/applications/klamav/debian/docs2
-rw-r--r--debian/_base/applications/klamav/debian/menu5
-rw-r--r--debian/_base/applications/klamav/debian/patches/series0
-rwxr-xr-xdebian/_base/applications/klamav/debian/rules20
-rw-r--r--debian/_base/applications/klamav/debian/source/format1
-rw-r--r--debian/_base/applications/klamav/debian/source/options6
12 files changed, 733 insertions, 0 deletions
diff --git a/debian/_base/applications/klamav/debian/cdbs/debian-tde.mk b/debian/_base/applications/klamav/debian/cdbs/debian-tde.mk
new file mode 100644
index 000000000..641c6c6cc
--- /dev/null
+++ b/debian/_base/applications/klamav/debian/cdbs/debian-tde.mk
@@ -0,0 +1,227 @@
+# -*- mode: makefile; coding: utf-8 -*-
+# Copyright © 2003 Christopher L Cheney <ccheney@debian.org>
+# Copyright © 2019 TDE Team
+# Description: A class for TDE packages; sets TDE environment variables, etc
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License as
+# published by the Free Software Foundation; either version 2, or (at
+# your option) any later version.
+#
+# This program is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+# 02111-1307 USA.
+
+ifndef _cdbs_bootstrap
+_cdbs_scripts_path ?= /usr/lib/cdbs
+_cdbs_rules_path ?= /usr/share/cdbs/1/rules
+_cdbs_class_path ?= /usr/share/cdbs/1/class
+endif
+
+ifndef _cdbs_class_debian-qt-kde
+_cdbs_class_debian-qt-kde := 1
+
+# for dh_icons
+CDBS_BUILD_DEPENDS := $(CDBS_BUILD_DEPENDS), debhelper (>= 5.0.7ubuntu4)
+
+# Note: This _must_ be included before autotools.mk, or it won't work.
+common-configure-arch common-configure-indep:: debian/stamp-cvs-make
+debian/stamp-cvs-make:
+ifndef _cdbs_class_cmake
+ cp -Rp /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
+ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
+ cp -Rp /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ cp -Rp /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
+endif
+ $(MAKE) -C $(DEB_SRCDIR) -f admin/Makefile.common dist;
+endif
+ touch debian/stamp-cvs-make
+
+include $(_cdbs_rules_path)/buildcore.mk$(_cdbs_makefile_suffix)
+
+ifdef _cdbs_tarball_dir
+DEB_BUILDDIR = $(_cdbs_tarball_dir)/obj-$(DEB_BUILD_GNU_TYPE)
+else
+DEB_BUILDDIR = obj-$(DEB_BUILD_GNU_TYPE)
+endif
+
+ifndef _cdbs_class_cmake
+include $(_cdbs_class_path)/autotools.mk$(_cdbs_makefile_suffix)
+endif
+
+ifndef _cdbs_rules_patchsys_quilt
+DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
+
+export kde_cgidir = \$${libdir}/cgi-bin
+export kde_confdir = \$${sysconfdir}/trinity
+export kde_htmldir = \$${datadir}/doc/tde/HTML
+
+DEB_KDE_ENABLE_FINAL := yes
+DEB_INSTALL_DOCS_ALL :=
+
+DEB_DH_MAKESHLIBS_ARGS_ALL := -V
+DEB_SHLIBDEPS_INCLUDE = $(foreach p,$(PACKAGES_WITH_LIBS),debian/$(p)/usr/lib)
+
+DEB_AC_AUX_DIR = $(DEB_SRCDIR)/admin
+DEB_CONFIGURE_INCLUDEDIR = "\$${prefix}/include"
+DEB_COMPRESS_EXCLUDE = .dcl .docbook -license .tag .sty .el
+
+ifeq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+ cdbs_treat_me_gently_arches := arm m68k alpha ppc64 armel armeb
+ ifeq (,$(filter $(DEB_HOST_ARCH_CPU),$(cdbs_treat_me_gently_arches)))
+ cdbs_kde_enable_final = $(if $(DEB_KDE_ENABLE_FINAL),--enable-final,)
+ else
+ cdbs_kde_enable_final =
+ endif
+endif
+
+ifneq (,$(filter nostrip,$(DEB_BUILD_OPTIONS)))
+ cdbs_kde_enable_final =
+ cdbs_kde_enable_debug = --enable-debug=yes
+else
+ cdbs_kde_enable_debug = --disable-debug
+endif
+
+ifneq (,$(filter debug,$(DEB_BUILD_OPTIONS)))
+ cdbs_kde_enable_debug = --enable-debug=full
+endif
+
+DEB_BUILD_PARALLEL ?= true
+
+cdbs_configure_flags += \
+ --with-qt-dir=/usr/share/qt3 \
+ --disable-rpath \
+ --with-xinerama \
+ $(cdbs_kde_enable_final) \
+ $(cdbs_kde_enable_debug)
+
+
+# This is a convenience target for calling manually.
+# It's not part of the build process.
+buildprep: clean apply-patches
+ifndef _cdbs_class_cmake
+ $(MAKE) -f admin/Makefile.common dist
+endif
+ debian/rules clean
+
+.tdepkginfo:
+ echo "# TDE package information" >.tdepkginfo
+ dpkg-parsechangelog | sed -n "s|^Source: |Name: |p" >>.tdepkginfo
+ dpkg-parsechangelog | sed -n "s|^Version: |Version: |p" >>.tdepkginfo
+ date +"DateTime: %m/%d/%Y %H:%M" -u -d "$$(dpkg-parsechangelog | sed -n 's|^Date: ||p')" >>.tdepkginfo
+
+post-patches:: .tdepkginfo
+
+common-build-arch:: debian/stamp-man-pages
+debian/stamp-man-pages:
+ if ! test -d debian/man/out; then mkdir -p debian/man/out; fi
+ for f in $$(find debian/man -name '*.sgml'); do \
+ docbook-to-man $$f > debian/man/out/`basename $$f .sgml`.1; \
+ done
+ for f in $$(find debian/man -name '*.man'); do \
+ soelim -I debian/man $$f \
+ > debian/man/out/`basename $$f .man`.`head -n1 $$f | awk '{print $$NF}'`; \
+ done
+ touch debian/stamp-man-pages
+
+common-binary-indep::
+ ( set -e; \
+ tmpf=`mktemp debian/versions.XXXXXX`; \
+ perl debian/cdbs/versions.pl >$$tmpf; \
+ for p in $(DEB_INDEP_PACKAGES); do \
+ cat $$tmpf >>debian/$$p.substvars; \
+ done; \
+ rm -f $$tmpf )
+
+common-binary-arch::
+ ( set -e; \
+ tmpf=`mktemp debian/versions.XXXXXX`; \
+ perl debian/cdbs/versions.pl >$$tmpf; \
+ for p in $(DEB_ARCH_PACKAGES); do \
+ cat $$tmpf >>debian/$$p.substvars; \
+ done; \
+ rm -f $$tmpf )
+ # update multi-arch path in install files
+ ls -d debian/* | \
+ grep -E "(install|links)$$" | \
+ while read a; do \
+ [ -d $$a ] || [ -f $$a.arch ] || \
+ ! grep -q "\$$(DEB_HOST_MULTIARCH)" $$a || \
+ sed -i.arch "s|\$$(DEB_HOST_MULTIARCH)|$(DEB_HOST_MULTIARCH)|g" $$a; \
+ done
+
+clean::
+ rm -rf debian/man/out
+ -rmdir debian/man
+ rm -f debian/stamp-man-pages
+ rm -rf debian/shlibs-check
+ # revert multi-arch path in install files
+ ls -d debian/* | \
+ grep -E "(install|links)$$" | \
+ while read a; do \
+ [ ! -f $$a.arch ] || \
+ mv $$a.arch $$a; \
+ done
+
+$(patsubst %,binary-install/%,$(DEB_PACKAGES)) :: binary-install/%:
+ if test -x /usr/bin/dh_icons; then dh_icons -p$(cdbs_curpkg) $(DEB_DH_ICONCACHE_ARGS); fi
+ if test -x /usr/bin/dh_desktop; then dh_desktop -p$(cdbs_curpkg) $(DEB_DH_DESKTOP_ARGS); fi
+ if test -e debian/$(cdbs_curpkg).lintian; then \
+ install -p -D -m644 debian/$(cdbs_curpkg).lintian \
+ debian/$(cdbs_curpkg)/usr/share/lintian/overrides/$(cdbs_curpkg); \
+ fi
+ if test -e debian/$(cdbs_curpkg).presubj; then \
+ install -p -D -m644 debian/$(cdbs_curpkg).presubj \
+ debian/$(cdbs_curpkg)/usr/share/bug/$(cdbs_curpkg)/presubj; \
+ fi
+
+binary-install/$(DEB_SOURCE_PACKAGE)-doc-html::
+ set -e; \
+ for doc in `cd $(DEB_DESTDIR)/opt/trinity/share/doc/tde/HTML/en; find . -name index.docbook`; do \
+ pkg=$${doc%/index.docbook}; pkg=$${pkg#./}; \
+ echo Building $$pkg HTML docs...; \
+ mkdir -p $(CURDIR)/debian/$(DEB_SOURCE_PACKAGE)-doc-html/opt/trinity/share/doc/tde/HTML/en/$$pkg; \
+ cd $(CURDIR)/debian/$(DEB_SOURCE_PACKAGE)-doc-html/opt/trinity/share/doc/tde/HTML/en/$$pkg; \
+ /opt/trinity/bin/meinproc $(DEB_DESTDIR)/opt/trinity/share/doc/tde/HTML/en/$$pkg/index.docbook; \
+ done
+ for pkg in $(DOC_HTML_PRUNE) ; do \
+ rm -rf debian/$(DEB_SOURCE_PACKAGE)-doc-html/opt/trinity/share/doc/tde/HTML/en/$$pkg; \
+ done
+
+common-build-indep:: debian/stamp-kde-apidox
+debian/stamp-kde-apidox:
+ $(if $(DEB_KDE_APIDOX),+$(DEB_MAKE_INVOKE) apidox)
+ touch $@
+
+common-install-indep:: common-install-kde-apidox
+common-install-kde-apidox::
+ $(if $(DEB_KDE_APIDOX),+$(DEB_MAKE_INVOKE) install-apidox DESTDIR=$(DEB_DESTDIR))
+
+cleanbuilddir::
+ -$(if $(call cdbs_streq,$(DEB_BUILDDIR),$(DEB_SRCDIR)),,rm -rf $(DEB_BUILDDIR))
+
+clean::
+ifndef _cdbs_class_cmake
+ if test -n "$(DEB_KDE_CVS_MAKE)" && test -d $(DEB_SRCDIR); then \
+ cd $(DEB_SRCDIR); \
+ find . -name Makefile.in -print | \
+ xargs --no-run-if-empty rm -f; \
+ rm -f Makefile.am acinclude.m4 aclocal.m4 config.h.in \
+ configure configure.files configure.in stamp-h.in \
+ subdirs; \
+ fi
+endif
+ rm -f .tdepkginfo
+ rm -f debian/stamp-kde-apidox
+ rm -f debian/stamp-cvs-make
+
+endif
diff --git a/debian/_base/applications/klamav/debian/cdbs/versions.pl b/debian/_base/applications/klamav/debian/cdbs/versions.pl
new file mode 100644
index 000000000..1b110f7af
--- /dev/null
+++ b/debian/_base/applications/klamav/debian/cdbs/versions.pl
@@ -0,0 +1,19 @@
+#!/usr/bin/env perl
+
+use strict;
+use warnings;
+
+my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`;
+my ($version3, $version3_next);
+my ($version2, $version2_next);
+
+($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/;
+($version2 = $version3) =~ s/\.[^.]+$//;
+
+($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e;
+($version2_next = $version2) =~ s/(?<=\.)(\d+)$/($1+1)/e;
+
+print "TDE-Version3=$version3\n";
+print "TDE-Version2=$version2\n";
+print "TDE-Next-Version3=$version3_next\n";
+print "TDE-Next-Version2=$version2_next\n";
diff --git a/debian/_base/applications/klamav/debian/changelog b/debian/_base/applications/klamav/debian/changelog
new file mode 100644
index 000000000..c2c716a53
--- /dev/null
+++ b/debian/_base/applications/klamav/debian/changelog
@@ -0,0 +1,258 @@
+klamav-trinity (0.47) testing; urgency=low
+
+ * Initial release for TDE
+
+ -- Michele Calgaro <michele.calgaro@yahoo.it> Sun, 07 Mar 2021 22:11:32 +0900
+
+klamav (0.46-3+deb6u1) squeeze-lts; urgency=low
+
+ * Rebuild with libclamav7 for clamav 0.99
+
+ -- Scott Kitterman <scott@kitterman.com> Sun, 28 Feb 2016 13:35:10 +0000
+
+klamav (0.46-3) unstable; urgency=low
+
+ * Add debian/patches/13_ltmail.sh_fix.diff to fix FTBFS on amd64
+ (Closes: #542973)
+ - Thanks to Stefan Potyra for the patch
+ * Update standards version to 3.8.3
+ - Add README.Source
+ * Adjust package description to reflect the more limited funcitonality
+ available with a KDE4 desktop
+
+ -- Scott Kitterman <scott@kitterman.com> Mon, 26 Oct 2009 18:11:17 -0400
+
+klamav (0.46-2) unstable; urgency=low
+
+ * Just build-dep on libltdl3-dev
+
+ -- Scott Kitterman <scott@kitterman.com> Mon, 30 Mar 2009 12:58:00 -0400
+
+klamav (0.46-1) unstable; urgency=low
+
+ * New upstream release for clamav 0.95 compatibility
+ - Updated debian/copyright
+ - Add build-dep on libltdl7-dev | libltdl3-dev
+ * Drop 11-ukraine.patch and 12-clamav-0.94_build_fix.diff
+ - Incorporated upstream
+ * Freshen 09-disable-autoscan.patch
+ * Add 11_desktop_directory.diff, move .desktop file to xdg directory
+ - Thanks to Jonathan Riddell <jriddell@ubuntu.com> for the patch
+ * Add 12_no_mediaslave.diff, remove obsolete (due to impending KDE4
+ transition) Devices section from launcher
+ * Update standards version to 3.8.1 without further change
+
+ -- Scott Kitterman <scott@kitterman.com> Mon, 30 Mar 2009 10:43:32 -0400
+
+klamav (0.44-3) unstable; urgency=low
+
+ * Add debian/patches/12-clamav-0.94_build_fix.diff to fix FTBFS against
+ clamav 0.94
+ - Thanks to Mandriva for the patch
+
+ -- Scott Kitterman <scott@kitterman.com> Sat, 06 Sep 2008 19:06:06 -0400
+
+klamav (0.44-2) unstable; urgency=low
+
+ * Add 11-ukraine.patch for Ukranian translation (thanks to Yuri Chornoivan)
+
+ -- Scott Kitterman <scott@kitterman.com> Fri, 25 Jul 2008 18:14:43 -0400
+
+klamav (0.44-1) unstable; urgency=low
+
+ * New upstream release (The "Hey, Debian has patches" release)
+ - Remove debian/patches/02_servicemenu_fix.patch, incorporated upstream
+ - Remove debian/patches/05_kuniqueapplication.patch, incorporated upstream
+ - Remove debian/patches/06_gcc43_build.patch, incorporated upstream
+ - Remove debian/patches/07-fix-config-path.patch, incorporated upstream
+ - Remove debian/patches/11_fix_arj_option.patch, incorporated upstream
+ - Remove debian/patches/12_clamscan_0.93_option_update.patch, incorporated
+ upstream
+ * Remove unneeded debian/patches/13_test.patch
+ * Bump standards version to 3.8.0.1 without further change
+ * Update debian/copyright to be more pedantic
+ * Update debian/patches/09-disable-autoscan.patch to remove unused option
+ choices too
+ - Thanks to Yuriy Kozlov for pointing out the fix
+
+ -- Scott Kitterman <scott@kitterman.com> Sun, 13 Jul 2008 13:16:12 -0400
+
+klamav (0.43-1) unstable; urgency=low
+
+ * New upstream release
+ - Drop debian/patches/11_clamav093.patch, fixed upstream
+ * Add debian/patches/11_fix_arj_option.patch to correct option passed to
+ clamscan to scan arj files (LP: #222486)
+ * Add debian/patches/12_clamscan_0.93_option_update.patch to update for
+ clamscan option changes in clamav 0.93
+
+ -- Scott Kitterman <scott@kitterman.com> Mon, 05 May 2008 16:59:57 -0400
+
+klamav (0.42-3) unstable; urgency=low
+
+ * Update to work with clamav 0.93/libclamav4
+ - Add debian/patches/11_clamav093.patch so it builds (patch from Fedora)
+ - Bump libclamav build-dep and clamav depends version to 0.93~
+
+ -- Scott Kitterman <scott@kitterman.com> Mon, 05 May 2008 09:32:57 -0400
+
+klamav (0.42-2) unstable; urgency=low
+
+ [ Scott Kitterman ]
+ .
+ * Add 09-disable-autoscan.patch to remove U/I for autoscan
+ - Upstream removed the functionality in 0.42, but did us the favor of
+ leaving the unused U/I (patch from Kubuntu)
+ * Add 10-fix-window-size.patch to make window sizes larger (Closes: #468443)
+ - Patch from mandriva
+ * Add correct .SH NAME section to ScanWithKlamAV.1, klamarkollon.1, and
+ klammail.1
+ * Restore debian/changelog for this package (Kubuntu heritage) and drop the
+ Debian history from the previous maintainer's package
+ - remove debian/changelog.kubuntu
+ .
+ [ Philipp Kern ]
+ * Add DM-Upload-Allowed to this package.
+
+ -- Scott Kitterman <scott@kitterman.com> Sun, 20 Apr 2008 18:15:21 -0400
+
+klamav (0.42-1) unstable; urgency=low
+
+ * Agreed maintainer change
+ * New upstream release (closes: #402593) (closes: #416619) (closes: #454397)
+ - Upstream support for clamav 0.9x versions
+ - Removed on access scanning functions (klamd)
+ - Removed docbook source for klamd.1 and updated debian/rules
+ * Rebase packaging on Kubuntu package for 0.42 (historical Kubuntu debian/
+ changelog moved to debian/changelog.kubuntu)
+ - Adjust version/distro for Debian
+ - Use package description from Debian package and update for new version
+ - Rename kubuntu* series patches to remove distro specific name
+ - Freshen patches
+ * Acknowledge NMU (closes: #409636) (closes: #411810) (closes: #412856)
+ - Thank you Stephen Gran
+ * Add 06_gcc43_build.patch to fix buid failures on GCC 4.3 (closes: #455375)
+ - Patch thanks to Andy Shevchenko on klamav-users
+ * Add 07-fix-config-path.patch and 08-use-default-database-path.patch using
+ relevant parts of 00-fix-config-path.patch and
+ 02-use-default-database-path.patch from experimental (closes: #402485)
+ * Correctly version libclamav-dev build-dep and clamav dependency
+ * Add watch file
+
+ -- Scott Kitterman <scott@kitterman.com> Wed, 27 Feb 2008 00:15:41 -0500
+
+klamav (0.42-0ubuntu1) hardy; urgency=low
+
+ * New upstream release
+ - Set DEB_CONFIGURE_EXTRA_FLAGS = --with-disableupdates in debian/rules
+ to invoke the upstream option to disable updates, but retain our
+ kubuntu_03_no_update_software_config_section.patch since it goes farther
+ and removes the update GUI
+ * Update long description slightly
+ * Remove kubuntu_06_fix_crash_on_update.diff and
+ kubuntu_07_cli_gentempfd.patch
+ - Upstream code reworked substantially, patches no longer required
+ * Freshened remaining patches
+
+ -- Scott Kitterman <scott@kitterman.com> Wed, 06 Feb 2008 14:45:24 -0500
+
+klamav (0.41.1-0ubuntu2) hardy; urgency=low
+
+ * Update for transition to libclamav3
+ - Add debian/patches/kubuntu_07_cli_gentempfd.patch to support new
+ API. Patch from Sourceforge #1812936
+ * Bump standards version to 3.7.3 without further change
+ * Move homepage from extended description to Homepage: field in debian/
+ control
+
+ -- Scott Kitterman <scott@kitterman.com> Sun, 23 Dec 2007 01:32:04 -0500
+
+klamav (0.41.1-0ubuntu1) gutsy; urgency=low
+
+ * New upstream release
+ - Freshen all patches for new directory structure/names.
+ - Add the autotools CDBS class and Set DEB_CONFIGURE_SCRIPT in debian/rules
+ to account for new config location
+ * Change maintainer to MOTU
+ * In debian/control, updated package description to remove mention of
+ automatic updates.
+
+ -- Scott Kitterman <scott@kitterman.com> Tue, 14 Aug 2007 10:59:11 -0400
+
+klamav (0.41-0ubuntu4) gutsy; urgency=low
+
+ * Rebuild for the libcurl transition mess.
+
+ -- Steve Kowalik <stevenk@ubuntu.com> Thu, 5 Jul 2007 00:14:30 +1000
+
+klamav (0.41-0ubuntu3) gutsy; urgency=low
+
+ * Added kubuntu_02_servicemenu_fix.patch
+ Fixes LP: 103202
+ * Added kubuntu_03_no_update_software_config_section.patch
+ Softwares are handled by package management. There is no reason
+ for the software to manage the update itself
+ * Added kubuntu_04_fix_french_translation.patch
+ * Added kubuntu_05_kuniqueapplication.patch
+ klamav is a systray based software, which shoudln't be launched several
+ times.
+
+ -- Anthony Mercatante <tonio@ubuntu.com> Sat, 30 Jun 2007 23:53:57 +0200
+
+klamav (0.41-0ubuntu2) feisty; urgency=low
+
+ * Add 02_fix_crash_on_update.diff (LP: #96090)
+ - Thanks to dmueller@suse.de for the fixes in the opensuse klamav package.
+
+ -- Frode M. Døving <frode@ubuntu.com> Sat, 14 Apr 2007 11:14:58 +0200
+
+klamav (0.41-0ubuntu1) feisty; urgency=low
+
+ * New upstream release
+ * Tarball rebuild to remove admin/CVS, src/icons/.cvsignore and dazuko sources
+ * New Upstream release necessary this late in the development cycle due to
+ clamav being upgraded, so the old release is broken.
+ * Closes Malone #87117, #85224 (the feisty part), #85213, #82236, and #94103
+
+ -- Sarah Hobbs <hobbsee@ubuntu.com> Wed, 21 Mar 2007 14:25:28 +1100
+
+klamav (0.38-0ubuntu1) feisty; urgency=low
+
+ * New upstream release
+ * Tarball rebuild to remove admin/CVS, src/icons/.cvsignore and dazuko sources
+ (not needed while packaging).
+
+ -- Anthony Mercatante <tonio@ubuntu.com> Tue, 16 Nov 2006 04:15:43 +0200
+
+klamav (0.37-0ubuntu1) edgy; urgency=low
+
+ * New upstream release
+ * Tarball rebuild to remove admin/CVS, src/icons/.cvsignore and dazuko sources
+ (not needed while packaging).
+ * Removed useless kubuntu_02_fix_desktop_file.patch
+ * Removed obsolete kubuntu_03_fix_ScanWithKlamAV_shell_script_name.patch
+
+ -- Anthony Mercatante <tonio@ubuntu.com> Tue, 11 Jul 2006 23:28:29 +0200
+
+klamav (0.32-0ubuntu3) dapper; urgency=low
+
+ * Rebuild for dh_iconcache
+
+ -- Brandon Holtsclaw <brandon@imbrandon.com> Tue, 23 May 2006 16:46:03 +0000
+
+klamav (0.32-0ubuntu2) dapper; urgency=low
+
+ * Added clamav as Depends (required to scan anything!)
+
+ -- Martin Meredith <mez@ubuntu.com> Wed, 4 Jan 2006 08:52:30 +0000
+
+klamav (0.32-0ubuntu1) dapper; urgency=low
+
+ * Initial Release.
+ * Tarball rebuild to remove admin/CVS, src/icons/.cvsignore and dazuko sources (not needed while packaging).
+ * Added patch kubuntu_01_kdepot.patch to allow pot files to be added to rosetta
+ * Added patch kubuntu_02_fix_desktop_file.patch to add french Comment, french and english GenericName and Categories to klamav.desktop
+ * Added patch kubuntu_03_fix_ScanWithKlamAV_shell_script_name.patch to rename ScanWithKlamAV.sh to ScanWithKlamAV and modify references in the sources, to avoid having a .sh file in /usr/bin
+ * Sponsored upload for Anthony Mercatante <anthony.mercatante@laposte.net>
+
+ -- Jonathan Riddell <jriddell@ubuntu.com> Wed, 15 Dec 2005 00:05:28 +0200
diff --git a/debian/_base/applications/klamav/debian/compat b/debian/_base/applications/klamav/debian/compat
new file mode 100644
index 000000000..ec635144f
--- /dev/null
+++ b/debian/_base/applications/klamav/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/debian/_base/applications/klamav/debian/control b/debian/_base/applications/klamav/debian/control
new file mode 100644
index 000000000..b85c91ce6
--- /dev/null
+++ b/debian/_base/applications/klamav/debian/control
@@ -0,0 +1,20 @@
+Source: klamav-trinity
+Section: admin
+Priority: optional
+Maintainer: TDE Debian Team <team-debian@trinitydesktop.org>
+XSBC-Original-Maintainer: Scott Kitterman <scott@kitterman.com>
+Build-Depends: cdbs, debhelper (>= 9~), quilt, cmake, tdelibs14-trinity-dev, libclamav-dev (>= 0.102~)
+Standards-Version: 3.8.4
+
+Package: klamav-trinity
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, clamav (>= 0.102)
+Replaces: klamav-trinity (<< 4:14.0.0~)
+Breaks: klamav-trinity (<< 4:14.0.0~)
+Description: TDE frontend for dpkg [Trinity]
+ KlamAV is an anti-virus manager for the TDE desktop that allows you to
+ manage your virus-scanning, scheduling, virus research and
+ software/database updates.
+ .
+ KlamAV features manual scanning, quarantine management, virus browser, mail
+ scanning (KMail and Evolution) and scan scheduler.
diff --git a/debian/_base/applications/klamav/debian/copyright b/debian/_base/applications/klamav/debian/copyright
new file mode 100644
index 000000000..304f8cb2c
--- /dev/null
+++ b/debian/_base/applications/klamav/debian/copyright
@@ -0,0 +1,174 @@
+This package was debianized by Anthony Mercatante <anthony.mercatante@laposte.net> on
+Wed, 15 Dec 2005 03:39:28 +0200.
+
+It is currently maintained by Scott Kitterman <scott@kitterman.com>
+
+It was downloaded from http://klamav.sf.net/
+
+Upstream Author:
+ Robert Hogan <robert@roberthogan.net>
+ uses code from :
+ Akregator
+ ClamAV
+ KCron
+ AmaroK
+ Kicker
+ K3b
+
+Uses Arkollon as an installation medium ( Copyright David Sansome ).
+
+License:
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ On Debian GNU/Linux systems, the complete text of the GNU General
+ Public License can be found in `/usr/share/common-licenses/GPL-2'.
+
+Copyright
+
+KlamAv:
+
+ (C) 2004, 2006 Robert Hogan <robert@roberthogan.net>
+
+Akregator:
+
+ (C) 2001-2004 Frerich Raabe <raabe@kde.org>
+ (C) 2003 Georg Robbers <Georg.Robbers@urz.uni-hd.de>
+ (C) 2004 Gary Cramblitt <garycramblitt@comcast.net>
+ (C) 2004 Sashmit Bhaduri <smt@vfemail.net>
+ (C) 2004 Stanislav Karchebny <stanislav.karchebny@kdemail.net>
+ (C) 2004 Teemu Rytilahti <teemu.rytilahti@kde-fi.org>
+
+ClamAv:
+
+ (C) 2002 - 2005 ClamAV Team
+ * ClamAV DB code:
+ * Copyright (C) 2002 - 2005 Tomasz Kojm <tkojm@clamav.net>
+
+Kcron:
+ Copyright (C) 1999, Gary Meyer <gary@meyer.net>
+
+debian/klamav.1.docbook, debian/klammail.1.docbook, debian/ScanWithKlamAV.1.docbook and debian/klamarkollon.1:
+
+ Copyright (C) 2005 by Anthony Mercatante <anthony.mercatante@laposte.net>
+
+Kicker (src/datepicker.cpp):
+
+Copyright (c) 1996-2002 the kicker authors. See file AUTHORS.
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
+AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
+CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE
+
+K3b:
+
+/*
+ *
+ * $Id: k3bjobprogressosd_mod.cpp,v 1.5 2007/05/29 21:44:25 hoganrobert Exp $
+ * Copyright (C) 2005 Sebastian Trueg <trueg@k3b.org>
+ *
+ * This file is part of the K3b project.
+ * Copyright (C) 1998-2005 Sebastian Trueg <trueg@k3b.org>
+ *
+ * Some minor changes for KlamAV:
+ * Copyright (C) 2006 by Robert Hogan *
+ * robert@roberthogan.net *
+
+admin/install-sh:
+
+# This originates from X11R5 (mit/util/scripts/install.sh), which was
+# later released in X11R6 (xc/config/util/install.sh) with the
+# following copyright and license.
+#
+# Copyright (C) 1994 X Consortium
+#
+# Permission is hereby granted, free of charge, to any person obtaining a copy
+# of this software and associated documentation files (the "Software"), to
+# deal in the Software without restriction, including without limitation the
+# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
+# sell copies of the Software, and to permit persons to whom the Software is
+# furnished to do so, subject to the following conditions:
+#
+# The above copyright notice and this permission notice shall be included in
+# all copies or substantial portions of the Software.
+#
+# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+# X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
+# AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC-
+# TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+#
+# Except as contained in this notice, the name of the X Consortium shall not
+# be used in advertising or otherwise to promote the sale, use or other deal-
+# ings in this Software without prior written authorization from the X Consor-
+# tium.
+#
+#
+# FSF changes to this file are in the public domain.
+
+admin/doxygen.sh
+
+# doxygen.sh Copyright (C) 2005 by Adriaan de Groot and Dimitri van Heesch
+# Based on some code from Doxyfile.am, among other things.
+# License: GPL version 2.
+# See file COPYING in kdelibs for details.
+
+src/sqlite/*
+
+** 2001 - 2005
+**
+** The author disclaims copyright to this source code. In place of
+** a legal notice, here is a blessing:
+**
+** May you do good and not evil.
+** May you find forgiveness for yourself and forgive others.
+** May you share freely, never taking more than you give.
+
+admin/config.pl
+# written by Michael Matz <matz@kde.org>
+# adapted by Dirk Mueller <mueller@kde.org>
+src/clicklineedit.cpp
+ Copyright (c) 2004 Daniel Molkentin <molkentin@kde.org>
+ based on code by Cornelius Schumacher <schumacher@kde.org>
+
+Are both licensed under LGPL2 or later
+
+ This file is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Library General Public
+ License as published by the Free Software Foundation; either
+ version 2 of the License, or (at your option) any later version.
+
+ This library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Library General Public License for more details.
+
+ You should have received a copy of the GNU Library General Public License
+ along with this library; see the file COPYING.LIB. If not, write to
+ the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
+ Boston, MA 02110-1301, USA.
+
+ On Debian GNU/Linux systems, the complete text of the GNU Library General
+ Public License can be found in `/usr/share/common-licenses/LGPL-2'.
diff --git a/debian/_base/applications/klamav/debian/docs b/debian/_base/applications/klamav/debian/docs
new file mode 100644
index 000000000..6f12db508
--- /dev/null
+++ b/debian/_base/applications/klamav/debian/docs
@@ -0,0 +1,2 @@
+AUTHORS
+README
diff --git a/debian/_base/applications/klamav/debian/menu b/debian/_base/applications/klamav/debian/menu
new file mode 100644
index 000000000..3f144ae50
--- /dev/null
+++ b/debian/_base/applications/klamav/debian/menu
@@ -0,0 +1,5 @@
+?package(klamav-trinity):\
+ section="Apps/System"\
+ hints="TDE,KlamAV"\
+ title="klamav"\
+ command="/opt/trinity/bin/klamav"
diff --git a/debian/_base/applications/klamav/debian/patches/series b/debian/_base/applications/klamav/debian/patches/series
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/debian/_base/applications/klamav/debian/patches/series
diff --git a/debian/_base/applications/klamav/debian/rules b/debian/_base/applications/klamav/debian/rules
new file mode 100755
index 000000000..85bbba0dc
--- /dev/null
+++ b/debian/_base/applications/klamav/debian/rules
@@ -0,0 +1,20 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/cmake.mk
+include debian/cdbs/debian-tde.mk
+
+DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
+ && echo xz || echo bzip2)
+
+DEB_CMAKE_EXTRA_FLAGS := \
+ -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
+ -DCMAKE_INSTALL_PREFIX="/opt/trinity" \
+ -DCONFIG_INSTALL_DIR="/etc/trinity" \
+ -DSYSCONF_INSTALL_DIR="/etc" \
+ -DXDG_MENU_INSTALL_DIR="/etc/xdg/menus" \
+ -DCMAKE_BUILD_TYPE=RelWithDebInfo \
+ -DCMAKE_VERBOSE_MAKEFILE="ON" \
+ -DCMAKE_SKIP_RPATH="OFF" \
+ -DBUILD_ALL="ON" \
+ -DWITH_ALL_OPTIONS="ON"
diff --git a/debian/_base/applications/klamav/debian/source/format b/debian/_base/applications/klamav/debian/source/format
new file mode 100644
index 000000000..163aaf8d8
--- /dev/null
+++ b/debian/_base/applications/klamav/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/_base/applications/klamav/debian/source/options b/debian/_base/applications/klamav/debian/source/options
new file mode 100644
index 000000000..72f1f5450
--- /dev/null
+++ b/debian/_base/applications/klamav/debian/source/options
@@ -0,0 +1,6 @@
+# Use xz instead of gzip
+compression = "xz"
+compression-level = 9
+
+# Don't run differences
+diff-ignore = .*