--- libtie-cache-perl-0.17.orig/debian/watch +++ libtie-cache-perl-0.17/debian/watch @@ -0,0 +1,3 @@ +version=3 +http://search.cpan.org/~chamas/Tie-Cache/ \ +.*Tie-Cache-(.*)\.t.* --- libtie-cache-perl-0.17.orig/debian/control +++ libtie-cache-perl-0.17/debian/control @@ -0,0 +1,22 @@ +Source: libtie-cache-perl +Section: perl +Priority: extra +Build-Depends: debhelper (>= 5.0.42) +Build-Depends-Indep: perl (>= 5.8.8-7) +Maintainer: Deepak Tripathi +Standards-Version: 3.7.3 +Homepage: http://www.cpan.org/modules/by-module/Tie/ + +Package: libtie-cache-perl +Architecture: all +Depends: ${perl:Depends} +Description: perl Tie::Cache - LRU Cache in Memory + This module implements a least recently used (LRU) cache in memory + through a tie interface. Any time data is stored in the tied hash, that + key/value pair has an entry time associated with it, and as the cache + fills up, those members of the cache that are the oldest are removed to + make room for new entries. + . + So, the cache only "remembers" the last written entries, up to the size + of the cache. This can be especially useful if you access great amounts + of data, but only access a minority of the data a majority of the time. --- libtie-cache-perl-0.17.orig/debian/rules +++ libtie-cache-perl-0.17/debian/rules @@ -0,0 +1,84 @@ +#!/usr/bin/make -f +# This debian/rules file is provided as a template for normal perl +# packages. It was created by Marc Brockschmidt for +# the Debian Perl Group (http://pkg-perl.alioth.debian.org/) but may +# be used freely wherever it is useful. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +# If set to a true value then MakeMaker's prompt function will +# always return the default without waiting for user input. +export PERL_MM_USE_DEFAULT=1 + +PACKAGE=$(shell dh_listpackages) + +ifndef PERL +PERL = /usr/bin/perl +endif + +TMP =$(CURDIR)/debian/$(PACKAGE) + +build: build-stamp +build-stamp: + dh_testdir + + # Add commands to compile the package here + $(PERL) Makefile.PL INSTALLDIRS=vendor + $(MAKE) OPTIMIZE="-Wall -O2 -g" + + touch build-stamp + +clean: + dh_testdir + dh_testroot + + # Add commands to clean up after the build process here + [ ! -f Makefile ] || $(MAKE) realclean + + dh_clean build-stamp install-stamp + +install: build install-stamp +install-stamp: + dh_testdir + dh_testroot + dh_clean -k + + # Add commands to install the package into debian/$PACKAGE_NAME here + $(MAKE) test + $(MAKE) install DESTDIR=$(TMP) PREFIX=/usr + rm -f $(TMP)/usr/share/perl5/Tie/bench.pl + + # As this is a architecture independent package, we are not + # supposed to install stuff to /usr/lib. MakeMaker creates + # the dirs, we delete them from the deb: + [ ! -d $(TMP)/usr/lib/perl5 ] || rmdir --ignore-fail-on-non-empty --parents --verbose $(TMP)/usr/lib/perl5 + + touch install-stamp + +binary-arch: +# We have nothing to do by default. + +binary-indep: build install + dh_testdir + dh_testroot +# dh_installcron +# dh_installmenu + dh_installexamples + dh_installdocs README + dh_installchangelogs CHANGES + dh_perl + dh_link + dh_strip + dh_compress + dh_fixperms + dh_installdeb + dh_gencontrol + dh_md5sums + dh_builddeb + +source diff: + @echo >&2 'source and diff are obsolete - use dpkg-source -b'; false + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary --- libtie-cache-perl-0.17.orig/debian/compat +++ libtie-cache-perl-0.17/debian/compat @@ -0,0 +1 @@ +5 --- libtie-cache-perl-0.17.orig/debian/changelog +++ libtie-cache-perl-0.17/debian/changelog @@ -0,0 +1,53 @@ +libtie-cache-perl (0.17-4) unstable; urgency=low + + * FTBFS with perl5.10 (Closes: #467984) + - Changes done in debian/rules + * Bumped Standard version to 3.7.3. + * Changed debian/control + - Removed Homepage from description and used as a Standard tag. + + -- Deepak Tripathi Sun, 02 Mar 2008 00:34:14 +0530 + +libtie-cache-perl (0.17-3) unstable; urgency=low + + * New maintainer. Closes: #279807. + + -- Deepak Tripathi Mon, 09 Jul 2007 18:22:47 +0000 + +libtie-cache-perl (0.17-2) unstable; urgency=low + + * QA Upload + * Changed Maintainer to Debian QA Group + * Changed Section from 'interpreters' to 'perl' to match override. + * Removed /usr/share/perl5/Tie/bench.pl, this is provided as an example. + + -- Stephen Quinney Wed, 2 Mar 2005 21:38:54 +0000 + +libtie-cache-perl (0.17-1) unstable; urgency=low + + * New upstream release. + * New maintainer, + Closes: #151255 + + -- Stephen Zander Sat, 6 Jul 2002 21:53:30 -0700 + +libtie-cache-perl (0.15-2) unstable; urgency=low + + * Build-Depends-Indep in debian/control + + -- Piotr Roszatycki Wed, 17 Oct 2001 14:48:32 +0200 + +libtie-cache-perl (0.15-1) unstable; urgency=low + + * New upstream release. + * New Debian Policy. + * Removed yada. + + -- Piotr Roszatycki Thu, 12 Jul 2001 15:12:55 +0200 + +libtie-cache-perl (0.08-1) unstable; urgency=low + + * Initial Debian version. + + -- Piotr Roszatycki Fri, 21 Jul 2000 10:07:58 +0200 + --- libtie-cache-perl-0.17.orig/debian/copyright +++ libtie-cache-perl-0.17/debian/copyright @@ -0,0 +1,31 @@ +This is the Debian prepackaged version of perl Tie::Cache - LRU Cache +in Memory. It was Debianised by Piotr Roszatycki , +using files obtained from + and is now maintained +by Deepak Tripathi + +Copyright and licence notice: + + Copyright (c) 1999-2001 Joshua Chamas, Chamas Enterprises Inc. + + All rights reserved. This program is free software; you can redistribute + it and/or modify it under the same terms as Perl itself. + + Sponsored by development on NodeWorks http://www.nodeworks.com + + a) the GNU General Public License as published by the Free + Software Foundation; either version 1, or (at your option) any + later version, or + + b) the "Artistic License" which comes with Debian. + + You should have received a copy of the Artistic License with this + Kit, in the file /usr/share/common-licenses/Artistic. If not, I'll be + glad to provide one. + + You should also have received a copy of the GNU General Public + License along with this system, in /usr/share/common-licenses/GPL; if not, + write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, + Boston, MA 02110-1301, USA. + +. --- libtie-cache-perl-0.17.orig/debian/examples +++ libtie-cache-perl-0.17/debian/examples @@ -0,0 +1,2 @@ +test.pl +bench.pl --- libtie-cache-perl-0.17.orig/Cache.pm +++ libtie-cache-perl-0.17/Cache.pm @@ -1,4 +1,4 @@ -#!/usr/local/bin/perl -w +#!/usr/bin/perl -w package Tie::Cache; use strict;