--- libcache-fastmmap-perl-1.09.orig/debian/control +++ libcache-fastmmap-perl-1.09/debian/control @@ -0,0 +1,16 @@ +Source: libcache-fastmmap-perl +Section: perl +Priority: optional +Build-Depends: debhelper (>= 4.0.2), perl (>= 5.8.0-7) +Maintainer: Debian Catalyst Maintainers +Uploaders: Krzysztof Krzyzaniak (eloy) +Standards-Version: 3.6.2 + +Package: libcache-fastmmap-perl +Architecture: any +Depends: ${perl:Depends}, ${shlibs:Depends} +Description: Mmmap'ed file as a shared memory interprocess cache + A shared memory cache through an mmap'ed file. It's core is written in C for + performance. It uses fcntl locking to ensure multiple processes can safely + access the cache at the same time. It uses a basic LRU algorithm to keep the + most used entries in the cache. --- libcache-fastmmap-perl-1.09.orig/debian/compat +++ libcache-fastmmap-perl-1.09/debian/compat @@ -0,0 +1 @@ +4 --- libcache-fastmmap-perl-1.09.orig/debian/watch +++ libcache-fastmmap-perl-1.09/debian/watch @@ -0,0 +1,3 @@ +version=2 +http://mirrors.kernel.org/cpan/modules/by-module/Cache/Cache-FastMmap-([\d\.]+).tar.gz + --- libcache-fastmmap-perl-1.09.orig/debian/changelog +++ libcache-fastmmap-perl-1.09/debian/changelog @@ -0,0 +1,48 @@ +libcache-fastmmap-perl (1.09-7) unstable; urgency=low + + * debian/watch - fixed + + -- Krzysztof Krzyzaniak (eloy) Sun, 26 Feb 2006 12:19:33 +0100 + +libcache-fastmmap-perl (1.09-6) unstable; urgency=low + + [ Krzysztof Krzyzaniak] + * Added debian/watch file + * Cleaned debian/rules + + -- Krzysztof Krzyzaniak (eloy) Fri, 14 Oct 2005 10:55:04 +0200 + +libcache-fastmmap-perl (1.09-5) unstable; urgency=low + + [ Krzysztof Krzyzaniak] + * typo fixed in debian/control + + -- Krzysztof Krzyzaniak (eloy) Tue, 13 Sep 2005 19:00:22 +0200 + +libcache-fastmmap-perl (1.09-4) unstable; urgency=low + + [ Krzysztof Krzyzaniak ] + * Package donated to Debian Catalyst Maintainers + * cleaning (updated files: copyright, control, rules) + + -- Krzysztof Krzyzaniak (eloy) Tue, 13 Sep 2005 13:42:10 +0200 + +libcache-fastmmap-perl (1.09-3) unstable; urgency=low + + * debian/copyright updated + + -- Krzysztof Krzyzaniak (eloy) Tue, 19 Jul 2005 19:01:22 +0200 + +libcache-fastmmap-perl (1.09-2) unstable; urgency=low + + * Rebuilded with libc6 (>=2.3.2.ds1-22) + + -- Krzysztof Krzyzaniak (eloy) Tue, 19 Jul 2005 11:35:00 +0200 + +libcache-fastmmap-perl (1.09-1) unstable; urgency=low + + * Initial Release. + * Close ITP bug (closes: #315637) + + -- Krzysztof Krzyzaniak (eloy) Fri, 24 Jun 2005 11:56:24 +0200 + --- libcache-fastmmap-perl-1.09.orig/debian/copyright +++ libcache-fastmmap-perl-1.09/debian/copyright @@ -0,0 +1,23 @@ +This is the debian package for the Cache-FastMmap module. +It was created by Krzysztof Krzyzaniak (eloy) . + +It was downloaded from: http://search.cpan.org/~robm/Cache-FastMmap-1.09/ + +The upstream author is Rob Mueller . + +Copyright (C) 2003-2005 by FastMail IP Partners + +This program is free software, you can redistribute it and/or modify it under +the same terms as Perl itself. + +Perl is distributed under licenses: + + 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 Perl. + + On Debian GNU/Linux systems, the complete text of the GNU General + Public License can be found in /usr/share/common-licenses/GPL' and + the Artistic Licence in /usr/share/common-licenses/Artistic'. --- libcache-fastmmap-perl-1.09.orig/debian/rules +++ libcache-fastmmap-perl-1.09/debian/rules @@ -0,0 +1,82 @@ +#!/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. + +# 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) + +# Allow disabling build optimation by setting noopt in +# $DEB_BUILD_OPTIONS +CFLAGS = -Wall -g +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif + +build: build-stamp +build-stamp: + dh_testdir + $(PERL) Makefile.PL INSTALLDIRS=vendor + $(MAKE) OPTIMIZE="$(CFLAGS)" LD_RUN_PATH="" + touch build-stamp + +clean: + dh_testdir + dh_testroot + -$(MAKE) realclean + dh_clean build-stamp install-stamp + +install: build install-stamp +install-stamp: + dh_testdir + dh_testroot + dh_clean -k + $(MAKE) test + $(MAKE) install DESTDIR=$(TMP) PREFIX=/usr + + # As this is a architecture dependent package, we are not + # supposed to install stuff to /usr/share. MakeMaker creates + # the dirs, we delete them from the deb: + rmdir --ignore-fail-on-non-empty --parents $(TMP)/usr/share/perl5 + touch install-stamp + +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot +# dh_installdocs README Cache-FastMmap-CImpl/README + dh_installexamples + dh_installchangelogs Changes + dh_link + dh_strip + dh_compress + dh_fixperms + dh_makeshlibs + dh_installdeb + dh_perl + dh_shlibdeps + 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