r21886 - in /trunk/libcache-fastmmap-perl: Cache-FastMmap-CImpl/CImpl.pm Cache-FastMmap-CImpl/mmap_cache.c Changes FastMmap.pm META.yml Makefile.PL debian/changelog debian/compat debian/control debian/copyright debian/rules

eloy at users.alioth.debian.org eloy at users.alioth.debian.org
Thu Jun 19 14:27:06 UTC 2008


Author: eloy
Date: Thu Jun 19 14:27:06 2008
New Revision: 21886

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=21886
Log:
  * New upstream release
  * debian/control:
   + Standards-Version: 3.8.0.1 (no changes)
  * debian/copyright:
   + link changed to non-versioned sources
  * debian/compat:
   + bumbed to 7 (no changes)
  * debian/rules:
   + used rules.simple example from debhelper 7


Modified:
    trunk/libcache-fastmmap-perl/Cache-FastMmap-CImpl/CImpl.pm
    trunk/libcache-fastmmap-perl/Cache-FastMmap-CImpl/mmap_cache.c
    trunk/libcache-fastmmap-perl/Changes
    trunk/libcache-fastmmap-perl/FastMmap.pm
    trunk/libcache-fastmmap-perl/META.yml
    trunk/libcache-fastmmap-perl/Makefile.PL
    trunk/libcache-fastmmap-perl/debian/changelog
    trunk/libcache-fastmmap-perl/debian/compat
    trunk/libcache-fastmmap-perl/debian/control
    trunk/libcache-fastmmap-perl/debian/copyright
    trunk/libcache-fastmmap-perl/debian/rules

Modified: trunk/libcache-fastmmap-perl/Cache-FastMmap-CImpl/CImpl.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcache-fastmmap-perl/Cache-FastMmap-CImpl/CImpl.pm?rev=21886&op=diff
==============================================================================
--- trunk/libcache-fastmmap-perl/Cache-FastMmap-CImpl/CImpl.pm (original)
+++ trunk/libcache-fastmmap-perl/Cache-FastMmap-CImpl/CImpl.pm Thu Jun 19 14:27:06 2008
@@ -15,7 +15,7 @@
 use strict;
 use warnings;
 
-our $VERSION = '1.26';
+our $VERSION = '1.27';
 
 require XSLoader;
 XSLoader::load('Cache::FastMmap::CImpl', $VERSION);

Modified: trunk/libcache-fastmmap-perl/Cache-FastMmap-CImpl/mmap_cache.c
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcache-fastmmap-perl/Cache-FastMmap-CImpl/mmap_cache.c?rev=21886&op=diff
==============================================================================
--- trunk/libcache-fastmmap-perl/Cache-FastMmap-CImpl/mmap_cache.c (original)
+++ trunk/libcache-fastmmap-perl/Cache-FastMmap-CImpl/mmap_cache.c Thu Jun 19 14:27:06 2008
@@ -596,6 +596,7 @@
   void **val_ptr, int *val_len,
   MU32 *flags
 ) {
+  MU32 * slot_ptr;
 
   /* Increase read count for page */
   if (cache->enable_stats) {
@@ -604,7 +605,7 @@
   }
 
   /* Search slots for key */
-  MU32 * slot_ptr = _mmc_find_slot(cache, hash_slot, key_ptr, key_len, 0);
+  slot_ptr = _mmc_find_slot(cache, hash_slot, key_ptr, key_len, 0);
 
   /* Did we find a value? */
   if (!slot_ptr || *slot_ptr == 0) {

Modified: trunk/libcache-fastmmap-perl/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcache-fastmmap-perl/Changes?rev=21886&op=diff
==============================================================================
--- trunk/libcache-fastmmap-perl/Changes (original)
+++ trunk/libcache-fastmmap-perl/Changes Thu Jun 19 14:27:06 2008
@@ -1,4 +1,8 @@
 Revision history for Perl extension Cache::FastMmap.
+
+1.27  Wed Jun 18 17:15 2008
+  - Fix non-ansi C code
+  - Remove debug flags
 
 1.26  Thu May 22 14:50 2008
   - Check for write failure when creating file

Modified: trunk/libcache-fastmmap-perl/FastMmap.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcache-fastmmap-perl/FastMmap.pm?rev=21886&op=diff
==============================================================================
--- trunk/libcache-fastmmap-perl/FastMmap.pm (original)
+++ trunk/libcache-fastmmap-perl/FastMmap.pm Thu Jun 19 14:27:06 2008
@@ -283,7 +283,7 @@
 use warnings;
 use bytes;
 
-our $VERSION = '1.26';
+our $VERSION = '1.27';
 
 use Cache::FastMmap::CImpl;
 

Modified: trunk/libcache-fastmmap-perl/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcache-fastmmap-perl/META.yml?rev=21886&op=diff
==============================================================================
--- trunk/libcache-fastmmap-perl/META.yml (original)
+++ trunk/libcache-fastmmap-perl/META.yml Thu Jun 19 14:27:06 2008
@@ -1,7 +1,7 @@
 # http://module-build.sourceforge.net/META-spec.html
 #XXXXXXX This is a prototype!!!  It will change in the future!!! XXXXX#
 name:         Cache-FastMmap
-version:      1.26
+version:      1.27
 version_from: FastMmap.pm
 installdirs:  site
 requires:

Modified: trunk/libcache-fastmmap-perl/Makefile.PL
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcache-fastmmap-perl/Makefile.PL?rev=21886&op=diff
==============================================================================
--- trunk/libcache-fastmmap-perl/Makefile.PL (original)
+++ trunk/libcache-fastmmap-perl/Makefile.PL Thu Jun 19 14:27:06 2008
@@ -12,5 +12,5 @@
     'DIR'           => [
       'Cache-FastMmap-CImpl'
     ],
-	    'OPTIMIZE' => '-g -DDEBUG',
+#	    'OPTIMIZE' => '-g -DDEBUG -ansi -pedantic',
 );

Modified: trunk/libcache-fastmmap-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcache-fastmmap-perl/debian/changelog?rev=21886&op=diff
==============================================================================
--- trunk/libcache-fastmmap-perl/debian/changelog (original)
+++ trunk/libcache-fastmmap-perl/debian/changelog Thu Jun 19 14:27:06 2008
@@ -1,3 +1,17 @@
+libcache-fastmmap-perl (1.27-1) UNRELEASED; urgency=low
+
+  * New upstream release
+  * debian/control:
+   + Standards-Version: 3.8.0.1 (no changes)
+  * debian/copyright:
+   + link changed to non-versioned sources
+  * debian/compat:
+   + bumbed to 7 (no changes)
+  * debian/rules:
+   + used rules.simple example from debhelper 7
+
+ -- Krzysztof Krzyżaniak (eloy) <eloy at debian.org>  Thu, 19 Jun 2008 16:09:46 +0200
+
 libcache-fastmmap-perl (1.26-1) unstable; urgency=low
 
   * New upstream release

Modified: trunk/libcache-fastmmap-perl/debian/compat
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcache-fastmmap-perl/debian/compat?rev=21886&op=diff
==============================================================================
--- trunk/libcache-fastmmap-perl/debian/compat (original)
+++ trunk/libcache-fastmmap-perl/debian/compat Thu Jun 19 14:27:06 2008
@@ -1,1 +1,1 @@
-6
+7

Modified: trunk/libcache-fastmmap-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcache-fastmmap-perl/debian/control?rev=21886&op=diff
==============================================================================
--- trunk/libcache-fastmmap-perl/debian/control (original)
+++ trunk/libcache-fastmmap-perl/debian/control Thu Jun 19 14:27:06 2008
@@ -1,13 +1,13 @@
 Source: libcache-fastmmap-perl
 Section: perl
 Priority: optional
-Build-Depends: debhelper (>= 5.0.0), perl (>= 5.8.0-7)
+Build-Depends: debhelper (>= 7), perl (>= 5.8.0-7)
 Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
 Uploaders: Krzysztof Krzyzaniak (eloy) <eloy at debian.org>
 Homepage: http://search.cpan.org/dist/Cache::FastMmap/
 Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libcache-fastmmap-perl/
 Vcs-Browser: http://svn.debian.org/wsvn/pkg-perl/trunk/libcache-fastmmap-perl/
-Standards-Version: 3.7.3
+Standards-Version: 3.8.0.1
 
 Package: libcache-fastmmap-perl
 Architecture: any

Modified: trunk/libcache-fastmmap-perl/debian/copyright
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcache-fastmmap-perl/debian/copyright?rev=21886&op=diff
==============================================================================
--- trunk/libcache-fastmmap-perl/debian/copyright (original)
+++ trunk/libcache-fastmmap-perl/debian/copyright Thu Jun 19 14:27:06 2008
@@ -1,7 +1,7 @@
 This is the debian package for the Cache-FastMmap module.
 It was created by Krzysztof Krzyzaniak (eloy) <eloy at debian.org>.
 
-It was downloaded from: http://search.cpan.org/~robm/Cache-FastMmap-1.09/
+It was downloaded from: http://search.cpan.org/dist/Cache-FastMmap/
 
 The upstream author is Rob Mueller <cpan at robm.fastmail.fm>.
 

Modified: trunk/libcache-fastmmap-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libcache-fastmmap-perl/debian/rules?rev=21886&op=diff
==============================================================================
--- trunk/libcache-fastmmap-perl/debian/rules (original)
+++ trunk/libcache-fastmmap-perl/debian/rules Thu Jun 19 14:27:06 2008
@@ -1,82 +1,22 @@
 #!/usr/bin/make -f
-# This debian/rules file is provided as a template for normal perl
-# packages. It was created by Marc Brockschmidt <marc at dch-faq.de> 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=""
+	dh build
 	touch build-stamp
 
 clean:
-	dh_testdir
-	dh_testroot
-	[ ! -f Makefile ] || $(MAKE) realclean
-	dh_clean build-stamp install-stamp
+	dh clean
 
 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:
-	[ ! -d $(TMP)/usr/share/perl5 ] || rmdir --ignore-fail-on-non-empty --parents --verbose $(TMP)/usr/share/perl5
+	dh install
 	touch install-stamp
 
-# Build architecture-independent files here.
-binary-indep: build install
-# We have nothing to do by default.
+binary-arch: install
+	dh binary-arch
 
-# Build architecture-dependent files here.
-binary-arch: build install
-	dh_testdir
-	dh_testroot
-	dh_installdocs
-	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
+binary-indep: install
+	
 
-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
+binary: binary-arch binary-indep




More information about the Pkg-perl-cvs-commits mailing list