--- libcache-mmap-perl-0.11.orig/debian/control +++ libcache-mmap-perl-0.11/debian/control @@ -0,0 +1,27 @@ +Source: libcache-mmap-perl +Section: perl +Priority: optional +Build-Depends: debhelper (>= 6), perl (>= 5.8.0-7) +Maintainer: Debian Perl Group +Uploaders: Jonas Genannt , + Damyan Ivanov , + gregor herrmann +Standards-Version: 3.7.3 +Homepage: http://search.cpan.org/dist/Cache-Mmap/ +Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libcache-mmap-perl/ +Vcs-Browser: http://svn.debian.org/wsvn/pkg-perl/trunk/libcache-mmap-perl/ + +Package: libcache-mmap-perl +Architecture: any +Depends: ${perl:Depends}, ${shlibs:Depends}, ${misc:Depends}, +Description: Shared data cache using memory mapped files + This module implements a shared data cache, using memory mapped files. + If routines are provided which interact with the underlying data, access to + the cache is completely transparent, and the module handles all the details of + refreshing cache contents, and updating underlying data, if necessary. + . + Cache entries are assigned to "buckets" within the cache file, depending on + the key. Within each bucket, entries are stored approximately in order of last + access, so that frequently accessed entries will move to the head of the + bucket, thus decreasing access time. Concurrent accesses to the same bucket are + prevented by file locking of the relevant section of the cache file. --- libcache-mmap-perl-0.11.orig/debian/rules +++ libcache-mmap-perl-0.11/debian/rules @@ -0,0 +1,73 @@ +#!/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 + +PERL ?= /usr/bin/perl +PACKAGE = $(shell dh_listpackages) +TMP = $(CURDIR)/debian/$(PACKAGE) + +# Allow disabling build optimisation 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="" + $(MAKE) test + touch $@ + +clean: + dh_testdir + dh_testroot + dh_clean build-stamp install-stamp + [ ! -f Makefile ] || $(MAKE) realclean + +install: install-stamp +install-stamp: build-stamp + dh_testdir + dh_testroot + dh_clean -k + $(MAKE) install DESTDIR=$(TMP) PREFIX=/usr + [ ! -d $(TMP)/usr/share/perl5 ] || \ + rmdir --ignore-fail-on-non-empty --parents --verbose \ + $(TMP)/usr/share/perl5 + touch $@ + +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do here for an architecture-dependent package + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot + dh_installdocs Todo + dh_installchangelogs Changes + dh_shlibdeps + dh_strip + dh_perl + dh_compress + dh_fixperms + dh_installdeb + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install --- libcache-mmap-perl-0.11.orig/debian/watch +++ libcache-mmap-perl-0.11/debian/watch @@ -0,0 +1,4 @@ +version=3 +# convert a.xyz to a.xy.z +opts="uversionmangle=s/(?<=\...)(?=.)/./" \ +http://search.cpan.org/dist/Cache-Mmap/ .*/Cache-Mmap-v?(\d[\d_.]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip) --- libcache-mmap-perl-0.11.orig/debian/copyright +++ libcache-mmap-perl-0.11/debian/copyright @@ -0,0 +1,31 @@ +This is the debian package for the Cache-Mmap module. +It was created by Clint Adams using dh-make-perl. + +It was downloaded from http://search.cpan.org/dist/Cache-Mmap/ + +Files: * +Author: Peter Haworth +Copyright: (C) Institute of Physics Publishing 2002-2008 +License: GPL-1+|Artistic + You may distribute under the terms of the GPL or the Artistic License, as + distributed with Perl. + . + Perl is distributed under your choice of the GNU General Public License or the + Artistic License. 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'. + +Files: ppport.h +Copyright: Version 2.x, Copyright (C) 2001, Paul Marquess + Version 1.x, Copyright (C) 1999, Kenneth Albanowski +License: GPL-1+|Artistic + This code may be used and distributed under the same license as any + version of Perl + +Files: debian/* +Copyright: © 2005,2006 Clint Adams + © 2006 Jonas Genannt + © 2007,2008 Debian Perl Group +License: other + It is assumed that all maintainers license their worh in a manner, compatible + with upstream's license. --- libcache-mmap-perl-0.11.orig/debian/compat +++ libcache-mmap-perl-0.11/debian/compat @@ -0,0 +1 @@ +6 --- libcache-mmap-perl-0.11.orig/debian/changelog +++ libcache-mmap-perl-0.11/debian/changelog @@ -0,0 +1,61 @@ +libcache-mmap-perl (0.11-1) unstable; urgency=low + + * New upstream release. + * debian/copyright: adjust years of copyright. + * debian/watch: extended regexp for matching upstream releases. + * Refresh debian/rules, no functional changes; unused dh_link removed. + * Add /me to Uploaders. + + -- gregor herrmann Wed, 16 Apr 2008 17:35:48 +0200 + +libcache-mmap-perl (0.09-4) unstable; urgency=low + + [ gregor herrmann ] + * debian/control: Added: Vcs-Svn field (source stanza); Vcs-Browser + field (source stanza); Homepage field (source stanza). Removed: XS- + Vcs-Svn fields. + * Wrap watch file. + * debian/rules: delete /usr/share/perl5 only if it exists. + + [ Damyan Ivanov ] + * debian/watch: use version mangling to force a.xy.z-like version + + use dist-based URL and better version pattern + * debian/copyright: convert to machine-readable format + + use dist-based upstream URL + + add copyright/licensing for packaging + + quote upstream licensing terms exactly + + add copyright/license information for ppport.h + * debian/rules: + + clean stamps before distclean + + move test suite to build-stamp + + fix target dependencies + + drop unused dh_makeshlibs and dh_link + + use "$@" when touching stamps + + do not install redundant README + * Standards-Version: 3.7.3 (no changes) + * debhelper compatibility level 6 + * add myself to Uploaders + + -- Damyan Ivanov Fri, 18 Jan 2008 15:50:38 +0200 + +libcache-mmap-perl (0.09-3) unstable; urgency=low + + * New Maintainer (Closes: #348951) + * debian/copyright: added url to homepage + * Bumped up Standards Version to 3.7.0 + * added debian/watch file + + -- Jonas Genannt Sun, 30 Apr 2006 14:32:45 +0200 + +libcache-mmap-perl (0.09-2) unstable; urgency=low + + * Orphan package. + + -- Clint Adams Sat, 21 Jan 2006 18:50:59 -0500 + +libcache-mmap-perl (0.09-1) unstable; urgency=low + + * Initial Release. + + -- Clint Adams Tue, 13 Dec 2005 11:25:16 -0500 +