--- libclamunrar-0.95.1.orig/debian/control +++ libclamunrar-0.95.1/debian/control @@ -0,0 +1,24 @@ +Source: libclamunrar +Priority: extra +Section: non-free/libs +Maintainer: ClamAV Team +Uploaders: Michael Tautschnig +Build-Depends: debhelper (>= 7), autotools-dev +Standards-Version: 3.8.1 +Homepage: http://www.clamav.net/ + +Package: libclamunrar6 +Architecture: any +Depends: libclamav6, ${shlibs:Depends}, ${misc:Depends} +Description: anti-virus utility for Unix - unrar support + 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 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 libclamav6, which can be used by other software. + . + This package provides support for RAR packaged files or mail attachments. + Support will be available once this package is installed and clamd or a local + clamscan is restarted. --- libclamunrar-0.95.1.orig/debian/changelog +++ libclamunrar-0.95.1/debian/changelog @@ -0,0 +1,5 @@ +libclamunrar (0.95.1-1) unstable; urgency=low + + * Initial release + + -- Michael Tautschnig Sun, 12 Apr 2009 18:01:51 +0200 --- libclamunrar-0.95.1.orig/debian/watch +++ libclamunrar-0.95.1/debian/watch @@ -0,0 +1,4 @@ +version=3 +opts=uversionmangle=s/(\d+)(rc)/$1~$2/,dversionmangle=s/\+dfsg// \ +http://sf.net/clamav/clamav-(.*).tar.gz debian uupdate + --- libclamunrar-0.95.1.orig/debian/libclamunrar6.dirs +++ libclamunrar-0.95.1/debian/libclamunrar6.dirs @@ -0,0 +1 @@ +usr/lib --- libclamunrar-0.95.1.orig/debian/libclamunrar6.links +++ libclamunrar-0.95.1/debian/libclamunrar6.links @@ -0,0 +1,7 @@ +/usr/share/doc/libclamav6/AUTHORS /usr/share/doc/libclamunrar6/AUTHORS +/usr/share/doc/libclamav6/BUGS /usr/share/doc/libclamunrar6/BUGS +/usr/share/doc/libclamav6/FAQ /usr/share/doc/libclamunrar6/FAQ +/usr/share/doc/libclamav6/README.gz /usr/share/doc/libclamunrar6/README.gz +/usr/share/doc/libclamav6/README.Debian.gz /usr/share/doc/libclamunrar6/README.Debian.gz +/usr/share/doc/libclamav6/NEWS.Debian.gz /usr/share/doc/libclamunrar6/NEWS.Debian.gz +/usr/share/doc/libclamav6/changelog.gz /usr/share/doc/libclamunrar6/changelog.gz --- libclamunrar-0.95.1.orig/debian/copyright +++ libclamunrar-0.95.1/debian/copyright @@ -0,0 +1,108 @@ +This package was debianized by Stephen Gran and +Michael Tautschnig on Thu, 02 Apr 2009 11:36:09 +0200 + +The upstream's source can be downloaded from http://www.clamav.net/ + +Upstream Authors: Tomasz Kojm , + Nigel Horne +The full set of contributors can be found in the AUTHORS file + +Copyright: + + This package 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; version 2 dated June, 1991. + + This package 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 package; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, + USA. + +On Debian GNU/Linux systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL-2'. + +libclamunrar_iface/unrar_iface.c and libclamunrar_iface/unrar_iface.h are +Copyright (C) 2007 Sourcefire, Inc. + +and are licensed under the terms of the LGPL: + + This library 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; version 2.1 of the + License. + + 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 + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +On Debian GNU/Linux systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/LGPL-2.1'. + +libclamunrar/unrarhlp.c and libclamunrar/unrarhlp.h are +Copyright (C) 2007 Sourcefire, Inc. +All other source files in libclamunrar/ are +Copyright (C) 2005,2006 trog@uncon.org and based on the work of Alexander L. Roshal (C) +All source files in libclamunrar/ are licences under the terms of the UNRAR +license: + + The UnRAR sources may be used in any software to handle RAR + archives without limitations free of charge, but cannot be used + to re-create the RAR compression algorithm, which is proprietary. + Distribution of modified unRAR sources in separate form or as a + part of other software is permitted, provided that it is clearly + stated in the documentation and source comments that the code may + not be used to develop a RAR (WinRAR) compatible archiver. + + Original UnRAR licence: + + ****** ***** ****** UnRAR - free utility for RAR archives + ** ** ** ** ** ** ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + ****** ******* ****** License for use and distribution of + ** ** ** ** ** ** ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + ** ** ** ** ** ** FREE portable version + ~~~~~~~~~~~~~~~~~~~~~ + + The source code of UnRAR utility is freeware. This means: + + 1. All copyrights to RAR and the utility UnRAR are exclusively + owned by the author - Alexander Roshal. + + 2. The UnRAR sources may be used in any software to handle RAR + archives without limitations free of charge, but cannot be used + to re-create the RAR compression algorithm, which is proprietary. + Distribution of modified UnRAR sources in separate form or as a + part of other software is permitted, provided that it is clearly + stated in the documentation and source comments that the code may + not be used to develop a RAR (WinRAR) compatible archiver. + + 3. The UnRAR utility may be freely distributed. It is allowed + to distribute UnRAR inside of other software packages. + + 4. THE RAR ARCHIVER AND THE UnRAR UTILITY ARE DISTRIBUTED "AS IS". + NO WARRANTY OF ANY KIND IS EXPRESSED OR IMPLIED. YOU USE AT + YOUR OWN RISK. THE AUTHOR WILL NOT BE LIABLE FOR DATA LOSS, + DAMAGES, LOSS OF PROFITS OR ANY OTHER KIND OF LOSS WHILE USING + OR MISUSING THIS SOFTWARE. + + 5. Installing and using the UnRAR utility signifies acceptance of + these terms and conditions of the license. + + 6. If you don't agree with terms of the license you must remove + UnRAR files from your storage devices and cease to use the + utility. + + Thank you for your interest in RAR and UnRAR. + + + Alexander L. Roshal + --- libclamunrar-0.95.1.orig/debian/libclamunrar6.install +++ libclamunrar-0.95.1/debian/libclamunrar6.install @@ -0,0 +1,2 @@ +usr/lib/lib*.so.* +usr/lib/libclamunrar_iface.la --- libclamunrar-0.95.1.orig/debian/rules +++ libclamunrar-0.95.1/debian/rules @@ -0,0 +1,100 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Sample debian/rules that uses debhelper. +# This file was originally written by Joey Hess and Craig Small. +# As a special exception, when this file is copied by dh-make into a +# dh-make output file, you may use that output file without restriction. +# This special exception was added by Craig Small in version 0.37 of dh-make. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + + +# These are used for cross-compiling and for saving the configure script +# from having to guess our platform (since we know it already) +DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) +ifneq ($(DEB_HOST_GNU_TYPE),$(DEB_BUILD_GNU_TYPE)) +CROSS= --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE) +else +CROSS= --build $(DEB_BUILD_GNU_TYPE) +endif + + + + +# shared library versions, option 1 +#version=2.0.5 +#major=2 +# option 2, assuming the library is created as src/.libs/libfoo.so.2.0.5 or so +version=`ls libclamunrar/.libs/lib*.so.* | \ + awk '{if (match($$0,/[0-9]+\.[0-9]+\.[0-9]+$$/)) print substr($$0,RSTART)}'` +major=`ls libclamunrar/.libs/lib*.so.* | \ + awk '{if (match($$0,/\.so\.[0-9]+$$/)) print substr($$0,RSTART+4)}'` + +config.status: configure + dh_testdir + # Add here commands to configure the package. +ifneq "$(wildcard /usr/share/misc/config.sub)" "" + cp -f /usr/share/misc/config.sub config.sub +endif +ifneq "$(wildcard /usr/share/misc/config.guess)" "" + cp -f /usr/share/misc/config.guess config.guess +endif + ./configure $(CROSS) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs" --disable-clamav + + +build: build-stamp +build-stamp: config.status + dh_testdir + + # Add here commands to compile the package. + $(MAKE) + + touch $@ + +clean: + dh_testdir + dh_testroot + rm -f build-stamp + + # Add here commands to clean up after the build process. + [ ! -f Makefile ] || $(MAKE) distclean + rm -f config.sub config.guess + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_prep + dh_installdirs + + # Add here commands to install the package into debian/tmp + $(MAKE) DESTDIR=$(CURDIR)/debian/tmp install + + +# Build architecture-independent files here. +binary-indep: install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: install + dh_testdir + dh_testroot + dh_install + dh_installdocs + dh_installchangelogs -XChangeLog + dh_link + dh_strip + dh_compress + dh_fixperms + dh_makeshlibs + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install --- libclamunrar-0.95.1.orig/debian/compat +++ libclamunrar-0.95.1/debian/compat @@ -0,0 +1 @@ +7