debian/0000755000000000000000000000000011345113463007167 5ustar debian/control0000644000000000000000000000136211341472753010602 0ustar Source: libphp-pclzip Section: php Priority: optional Maintainer: Federico Gimenez Nieto Build-Depends: debhelper (>= 7.0.50) Homepage: http://www.phpconcept.net/pclzip/ Standards-Version: 3.8.4 Package: libphp-pclzip Architecture: all Depends: php5 | php5-cli, ${misc:Depends} Description: zip archive manager class for PHP This library offers compression and extraction functions for Zip formatted archives (WinZip, PKZIP). It gives you the ability to manipulate zip formatted arhives. You can create, list and extract the contents of any zip file. . PclZip defines an object oriented interface to zip archives through a PHP class. This class manages the archive properties and offers access method and actions on it. debian/install0000644000000000000000000000005311341467322010560 0ustar pclzip.lib.php usr/share/php/libphp-pclzip debian/copyright0000644000000000000000000000236711332272642011133 0ustar This package was debianized by Jose Carlos Medeiros on Wed, 21 Sep 2005 11:47:26 -0300. It was downloaded from http://www.phpconcept.net/pclzip/ Copyright Holder: Vincent Blavet License: This package 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 2.1 of the License, or (at your option) any later version. 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser 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 systems, the complete text of the GNU Lesser General Public License can be found in `/usr/share/common-licenses/LGPL-2.1'. The debian packaging is Copyright (c) 2005-2007 Jose Carlos Medeiros Copyright (c) 2009 Federico Gimenez Nieto debian/patches/0000755000000000000000000000000011341463576010627 5ustar debian/patches/series0000644000000000000000000000002711341463554012037 0ustar temporary_dir_fix.diff debian/patches/temporary_dir_fix.diff0000644000000000000000000000213011341462711015171 0ustar # Description: Modified temporary directory from current dir to TMPDIR environment # variable (defaults to /tmp) # Author: Federico Gimenez Nieto # Last-modified: 2010-02-25 Index: libphp-pclzip-2.8.2/pclzip.lib.php =================================================================== --- libphp-pclzip-2.8.2.orig/pclzip.lib.php 2010-02-25 12:50:23.000000000 +0100 +++ libphp-pclzip-2.8.2/pclzip.lib.php 2010-02-25 12:52:44.000000000 +0100 @@ -63,7 +63,15 @@ // define( 'PCLZIP_TEMPORARY_DIR', '/temp/' ); // define( 'PCLZIP_TEMPORARY_DIR', 'C:/Temp/' ); if (!defined('PCLZIP_TEMPORARY_DIR')) { - define( 'PCLZIP_TEMPORARY_DIR', '' ); + // Attempt to honour the TMPDIR environment variable, defaulting to /tmp/ + $tmp_dir=getenv( 'TMPDIR' ); + if(empty( $tmp_dir )) + $tmp_dir = "/tmp/"; + // Perhaps TMPDIR is not defined with a trailing slash + else if( substr( $tmp_dir, -1 ) != '/') + $tmp_dir.="/"; + + define( 'PCLZIP_TEMPORARY_DIR', $tmp_dir ); } // ----- Optional threshold ratio for use of temporary files debian/rules0000755000000000000000000000024411341472546010255 0ustar #!/usr/bin/make -f PACKAGE = libphp-pclzip %: dh $@ override_dh_installdocs: dh_installdocs cp readme.txt debian/${PACKAGE}/usr/share/doc/${PACKAGE}/README debian/source/0000755000000000000000000000000011341461247010471 5ustar debian/source/format0000644000000000000000000000001411345113461011673 0ustar 3.0 (quilt) debian/changelog0000644000000000000000000000701711341472737011056 0ustar libphp-pclzip (2.8.2-2) unstable; urgency=low * Fixed watch file * Added 3.0 (quilt) source format * debian/control: - Bumped Standards-Version: 3.8.4 - Removed dpatch build dependency - Added ${misc:Depends} to Depends - Upgraded version of debhelper build dependency to 7.0.50 * debian/rules: modifications to use debhelper command sequencer with overrides * debian/compat: upgraded to 7 * Added debian/install file * Removed debian/dirs file -- Federico Gimenez Nieto Thu, 25 Feb 2010 12:39:07 +0100 libphp-pclzip (2.8.2-1) unstable; urgency=low * New upstream release -- Federico Gimenez Nieto Thu, 22 Oct 2009 18:01:07 +0200 libphp-pclzip (2.8.1-1) unstable; urgency=low * New maintainer (Closes: #529666) * New upstream release * debian/watch: fixed path, upstream version mangling and regexp for links * debian/control: - moved Homepage from long description to its own field - fixed section (web -> php) - modified original package description (trying to make it more readable) - removed dependencies: libapache-mod-php5 (obsolete package) and php5-cgi, libapache2-mod-php5 (already implied by the dependency on php5) - Added dependency on dpatch (at Build-Depends) - Updated standards version to 3.8.3 * debian/copyright: - removed reference to symlink license - added copyright information about packagers - fixed license number (2 -> 2.1) * debian/rules: - moved commands for binary-arch to binary-indep - removed targets: configure, configure-stamp, build-stamp, binary-arch - removed unused calls for binary-indep target: dh_link, dh_strip, dh_shlibdeps, dh_installexamples - added call to dh_install at install target (removed mv command) and debian/libphp-pclzip.install file - modified mv command for installed doc, now copies the original doc file with the destination name, removed debian/docs file - added patch (dpatch) for writing in $TMPDIR or (if not defined) in /tmp the temporary files used by the library instead of writing in the current directory (using template at /usr/share/dpatch/dpatch.make) - moved all dh_install*foo calls to the install target * Added debian/README.source refering to dpatch README (as for policy 4.14) -- Federico Gimenez Nieto Thu, 27 Aug 2009 08:57:07 +0200 libphp-pclzip (2.6-1) unstable; urgency=low * New upstream release * debian/watch updated. -- Jose Carlos Medeiros Thu, 01 Nov 2007 20:29:44 +0000 libphp-pclzip (2.5-2) unstable; urgency=low * Bump Standards-Version: 3.7.2. * Removed php4 references due to php4-removal. -- Jose Carlos Medeiros Thu, 17 May 2007 10:56:25 -0300 libphp-pclzip (2.5-1) unstable; urgency=low * New upstream release * Removed debian/compat file, created var DH_COMPAT in debian/rules. * Updated to DH_COMPAT=5. * Added denpendencies of php5. -- Jose Carlos Medeiros Tue, 14 Mar 2006 14:12:17 -0300 libphp-pclzip (2.4-1) unstable; urgency=low * New upstream release. * Changed package to Standards-Version: 3.6.2. * Updated address of FSF in debian/copyright file. -- Jose Carlos Medeiros Mon, 17 Oct 2005 18:28:51 -0200 libphp-pclzip (2.3-1) unstable; urgency=low * Initial Release. (closes: #329397) -- Jose Carlos Medeiros Wed, 21 Sep 2005 11:47:26 -0300 debian/watch0000644000000000000000000000020511341461515010215 0ustar version=3 opts=uversionmangle=s/-/./g \ http://www.phpconcept.net/pclzip/pclzip-downloads /download.php.file=pclzip-([\d\-]*)\.tgz.* debian/compat0000644000000000000000000000000211341472151010363 0ustar 7 debian/patched/0000755000000000000000000000000011341463017010576 5ustar