debian/0000755000000000000000000000000011461075073007172 5ustar debian/compat0000644000000000000000000000000210755644737010406 0ustar 5 debian/rules0000755000000000000000000000275411417167625010270 0ustar #!/usr/bin/make -f DEB_PYTHON_SYSTEM=pysupport include /usr/share/cdbs/1/rules/debhelper.mk # Variables for the get-orig-source rule VERSION=$(shell dpkg-parsechangelog | sed -n -e'/^ / { s/.*(\(.*\)).*/\1/; s/-[^-]*$$//; p; q }') BTMPDIR=/tmp/pyclamd-pkg-source STMPDIR=$(BTMPDIR)/pyclamd-$(VERSION) install/python-pyclamd:: dh_install pyclamd.py /usr/share/python-support/python-pyclamd/ #dh_installchangelogs CHANGELOG binary-install/python-pyclamd:: dh_pysupport -ppython-pyclamd clean:: rm -f pyclamd.pyc rm -rf $(BTMPDIR) get-orig-source: rm -rf $(BTMPDIR); mkdir -p $(STMPDIR) wget --quiet -O $(BTMPDIR)/pyclamd.py http://xael.org/norman/python/pyclamd/pyclamd.py unexpand --first-only --tabs=4 $(BTMPDIR)/pyclamd.py > $(STMPDIR)/pyclamd.py sed -i "s/#!\/usr\/bin\/env python//g" $(STMPDIR)/pyclamd.py sed -i "s/\/var\/run\/clamd/\/var\/run\/clamav\/clamd.ctl/g" $(STMPDIR)/pyclamd.py #wget --quiet -O $(BTMPDIR)/CHANGELOG http://xael.org/norman/python/pyclamd/CHANGELOG #grep -A99999 "CHANGELOG" $(BTMPDIR)/CHANGELOG > $(STMPDIR)/CHANGELOG if grep -qs 'GNU Lesser General Public License' $(STMPDIR)/pyclamd.py; then \ cp /usr/share/common-licenses/LGPL-3 $(STMPDIR)/COPYING.LGPL; \ cp /usr/share/common-licenses/GPL-3 $(STMPDIR)/COPYING; \ else \ echo "Possible licence change detected, aborting...";\ rm -rf $(BTMPDIR);\ exit 1;\ fi cd $(BTMPDIR); tar -czvf $(CURDIR)/../pyclamd_$(VERSION).orig.tar.gz pyclamd-$(VERSION) rm -r $(BTMPDIR) # Tarball generated successfully. debian/control0000644000000000000000000000144011461071165010572 0ustar Source: pyclamd Section: python Priority: optional Maintainer: Debian Python Modules Team Uploaders: Siegfried-Angel Gevatter Pujals Homepage: http://xael.org/norman/python/pyclamd/ Vcs-Svn: svn://svn.debian.org/python-modules/packages/pyclamd/trunk/ Vcs-Browser: http://svn.debian.org/viewsvn/python-modules/packages/pyclamd/trunk/ Build-Depends: cdbs, debhelper (>= 5) Build-Depends-Indep: python-support (>= 0.5.3) Standards-Version: 3.9.1 Package: python-pyclamd Architecture: all Depends: ${misc:Depends}, ${python:Depends}, clamav-daemon Description: Python interface to the ClamAV daemon This package adds virus detection capabilities to Python software in an efficient and easy way, thanks to the ClamAV antivirus toolkit. debian/changelog0000644000000000000000000000331311461075053011042 0ustar pyclamd (0.2.2-1) unstable; urgency=low * New upstream release: - Replaced deprecated string exceptions with classes. - Added a timeout option to socket operations to avoid blocking. - Code improvements (PEP-8 compliance, new private helper functions). * debian/rules: - Updated get-orig-source (don't take the changelog since it's outdated, and replace GPL2 with LGPL3, ensure indentation is correct -unexpand-). - Don't try to install CHANGELOG as it has been removed. * debian/control: - Bump Standards-Version to 3.9.1. * debian/copyright: - Update copyright years and change license from GPL2+ to LGPL3+. * Remove debian/patches, the string exceptions change has been accepted upstream. -- Siegfried-Angel Gevatter Pujals Sun, 24 Oct 2010 20:24:58 +0200 pyclamd (0.1.1-2) unstable; urgency=low [ Siegfried-Angel Gevatter Pujals ] * debian/control: - Swap Maintainer/Uploader fields. - Bump Standards-Version from 3.7.3 to 3.8.4. * debian/copyright: - Replace "(C)" with "©". - Change GPL to GPL-2. * debian/source/format: - Change source format to "3.0 (quilt)". * debian/patches/string-exceptions, debian/patches/series: - Change exceptions from strings to classes, for python2.6+ compatibility; thanks to Julien Danjou for reporting (Closes: #576694). [ Sandro Tosi ] * debian/control - Switch Vcs-Browser field to viewsvn. -- Siegfried-Angel Gevatter Pujals Sun, 06 Jun 2010 22:01:52 +0100 pyclamd (0.1.1-1) unstable; urgency=low * Initial release (Closes: 466133). -- Siegfried-Angel Gevatter Pujals (RainCT) Sat, 16 Feb 2008 14:38:01 +0100 debian/copyright0000644000000000000000000000236011416710354011124 0ustar This package was debianized by Siegfried-Angel Gevatter Pujals (RainCT) on Fri, 15 Feb 2008 21:58:24 +0100. The tarball was automatically generated by an get-orig-source rule that downloads the necessary files from http://xael.org/norman/python/pyclamd/. Upstream Author: Alexandre Norman Copyright: Copyright © 2006-2010 Alexandre Norman License: This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. See http://www.gnu.org/licenses/lgpl-3.0.txt. 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 Lesser General Public License for more details. On Debian systems, the complete text of the GNU Lesser General Public License can be found in /usr/share/common-licenses/. The Debian packaging is © 2008-2010, Siegfried-A. Gevatter Pujals and is provided under the same license as the pyclamd. debian/source/0000755000000000000000000000000011461075073010472 5ustar debian/source/format0000644000000000000000000000001411403005255011667 0ustar 3.0 (quilt)