r44465 - in /trunk/libmodule-find-perl: Find.pm META.yml README debian/changelog debian/compat debian/control debian/copyright debian/rules
jawnsy-guest at users.alioth.debian.org
jawnsy-guest at users.alioth.debian.org
Sun Sep 20 22:34:15 UTC 2009
Author: jawnsy-guest
Date: Sun Sep 20 22:34:09 2009
New Revision: 44465
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=44465
Log:
* New upstream release
+ New feature to follow symlinks
* Added myself to Uploaders and Copyright
* Standards-Version 3.8.3 (drop perl version dependency)
* Bump to debhelper 7 + short rules format
* Updated copyright information
Modified:
trunk/libmodule-find-perl/Find.pm
trunk/libmodule-find-perl/META.yml
trunk/libmodule-find-perl/README
trunk/libmodule-find-perl/debian/changelog
trunk/libmodule-find-perl/debian/compat
trunk/libmodule-find-perl/debian/control
trunk/libmodule-find-perl/debian/copyright
trunk/libmodule-find-perl/debian/rules
Modified: trunk/libmodule-find-perl/Find.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmodule-find-perl/Find.pm?rev=44465&op=diff
==============================================================================
--- trunk/libmodule-find-perl/Find.pm (original)
+++ trunk/libmodule-find-perl/Find.pm Sun Sep 20 22:34:09 2009
@@ -7,15 +7,18 @@
use File::Spec;
use File::Find;
-our $VERSION = '0.06';
+our $VERSION = '0.08';
our $basedir = undef;
our @results = ();
our $prune = 0;
+our $followMode = 1;
our @ISA = qw(Exporter);
our @EXPORT = qw(findsubmod findallmod usesub useall setmoduledirs);
+
+our @EXPORT_OK = qw(followsymlinks ignoresymlinks);
=head1 NAME
@@ -39,6 +42,15 @@
# set your own search dirs (uses @INC otherwise)
setmoduledirs(@INC, @plugindirs, $appdir);
+
+ # not exported by default
+ use Module::Find qw(ignoresymlinks followsymlinks);
+
+ # ignore symlinks
+ ignoresymlinks();
+
+ # follow symlinks (default)
+ followsymlinks();
=head1 DESCRIPTION
@@ -118,8 +130,7 @@
=item C<@found = useall Module::Category>
-Uses and returns modules found in the Module/Category subdirectories of your perl
-installation. E.g. C<useall CGI> will return C<CGI::Session> and also
+Uses and returns modules found in the Module/Category subdirectories of your perl installation. E.g. C<useall CGI> will return C<CGI::Session> and also
C<CGI::Session::File> .
=cut
@@ -178,7 +189,8 @@
next unless -d $basedir;
find({wanted => \&_wanted,
- no_chdir => 1}, $basedir);
+ no_chdir => 1,
+ follow => $followMode}, $basedir);
}
# filter duplicate modules
@@ -189,6 +201,26 @@
return @results;
}
+=item C<ignoresymlinks()>
+
+Do not follow symlinks. This function is not exported by default.
+
+=cut
+
+sub ignoresymlinks {
+ $followMode = 0;
+}
+
+=item C<followsymlinks()>
+
+Follow symlinks (default behaviour). This function is not exported by default.
+
+=cut
+
+sub followsymlinks {
+ $followMode = 1;
+}
+
=back
=head1 HISTORY
@@ -225,9 +257,17 @@
=item 0.06, 2008-01-26
-Module::Find now won't report duplicate modules several times anymore (thanks to Uwe Vlker for the report and the patch)
+Module::Find now won't report duplicate modules several times anymore (thanks to Uwe Völker for the report and the patch)
+
+=item 0.07, 2009-09-08
+
+Fixed RT#38302: Module::Find now follows symlinks by default (can be disabled).
=back
+
+=head1 DEVELOPMENT NOTES
+
+Please report any bugs sing the CPAN RT system. The development repository for this module is hosted on GitHub: L<http://github.com/crenz/Module-Find/>.
=head1 SEE ALSO
Modified: trunk/libmodule-find-perl/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmodule-find-perl/META.yml?rev=44465&op=diff
==============================================================================
--- trunk/libmodule-find-perl/META.yml (original)
+++ trunk/libmodule-find-perl/META.yml Sun Sep 20 22:34:09 2009
@@ -1,19 +1,21 @@
--- #YAML:1.0
name: Module-Find
-version: 0.06
+version: 0.08
+version_from: Find.pm
abstract: Find and use installed modules in a (sub)category
license: perl
author:
- Christian Renz <crenz at web42.com>
-generated_by: ExtUtils::MakeMaker version 6.42
distribution_type: module
requires:
File::Find: 0
File::Spec: 0
Test::More: 0
+ perl: 5.006001
+recommends:
+ Test::Pod::Coverage 1.04
build_requires:
Test::Pod: 1.14
- Test::Pod::Coverage: 1.04
meta-spec:
- url: http://module-build.sourceforge.net/META-spec-v1.3.html
- version: 1.3
+ url: http://module-build.sourceforge.net/META-spec-v1.4.html
+ version: 1.4
Modified: trunk/libmodule-find-perl/README
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmodule-find-perl/README?rev=44465&op=diff
==============================================================================
--- trunk/libmodule-find-perl/README (original)
+++ trunk/libmodule-find-perl/README Sun Sep 20 22:34:09 2009
@@ -1,5 +1,5 @@
-Module::Find version 0.05
-=========================
+Module::Find
+============
Module::Find lets you find and use modules in categories. This can be very
useful for auto-detecting driver or plugin modules. You can differentiate
@@ -24,7 +24,7 @@
COPYRIGHT AND LICENCE
-Copyright (C) 2004-2005 Christian Renz <crenz at web42.com>. All rights reserved.
+Copyright (C) 2004-2009 Christian Renz <crenz at web42.com>. All rights reserved.
This library is free software; you can redistribute it and/or modify
it under the same terms as Perl itself.
Modified: trunk/libmodule-find-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmodule-find-perl/debian/changelog?rev=44465&op=diff
==============================================================================
--- trunk/libmodule-find-perl/debian/changelog (original)
+++ trunk/libmodule-find-perl/debian/changelog Sun Sep 20 22:34:09 2009
@@ -1,4 +1,12 @@
-libmodule-find-perl (0.06-3) UNRELEASED; urgency=low
+libmodule-find-perl (0.08-1) UNRELEASED; urgency=low
+
+ [ Jonathan Yu ]
+ * New upstream release
+ + New feature to follow symlinks
+ * Added myself to Uploaders and Copyright
+ * Standards-Version 3.8.3 (drop perl version dependency)
+ * Bump to debhelper 7 + short rules format
+ * Updated copyright information
[ gregor herrmann ]
* debian/control: Changed: Switched Vcs-Browser field to ViewSVN
@@ -8,7 +16,7 @@
[ Nathan Handler ]
* debian/watch: Update to ignore development releases.
- -- gregor herrmann <gregoa at debian.org> Sun, 16 Nov 2008 20:44:53 +0100
+ -- Jonathan Yu <jawnsy at cpan.org> Sun, 20 Sep 2009 14:26:48 -0400
libmodule-find-perl (0.06-2) unstable; urgency=low
Modified: trunk/libmodule-find-perl/debian/compat
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmodule-find-perl/debian/compat?rev=44465&op=diff
==============================================================================
--- trunk/libmodule-find-perl/debian/compat (original)
+++ trunk/libmodule-find-perl/debian/compat Sun Sep 20 22:34:09 2009
@@ -1,1 +1,1 @@
-6
+7
Modified: trunk/libmodule-find-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmodule-find-perl/debian/control?rev=44465&op=diff
==============================================================================
--- trunk/libmodule-find-perl/debian/control (original)
+++ trunk/libmodule-find-perl/debian/control Sun Sep 20 22:34:09 2009
@@ -1,15 +1,15 @@
Source: libmodule-find-perl
Section: perl
Priority: optional
-Build-Depends: debhelper (>= 6)
-Build-Depends-Indep: perl (>= 5.8.0-7),
+Build-Depends: debhelper (>= 7)
+Build-Depends-Indep: perl
Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
-Uploaders: Krzysztof Krzyzaniak (eloy) <eloy at debian.org>, Gunnar Wolf <gwolf at debian.org>
-Standards-Version: 3.7.3
+Uploaders: Krzysztof Krzyzaniak (eloy) <eloy at debian.org>, Gunnar Wolf <gwolf at debian.org>,
+ Jonathan Yu <jawnsy at cpan.org>
+Standards-Version: 3.8.3
Homepage: http://search.cpan.org/dist/Module-List
Vcs-Svn: svn://svn.debian.org/pkg-perl/trunk/libmodule-find-perl/
Vcs-Browser: http://svn.debian.org/viewsvn/pkg-perl/trunk/libmodule-find-perl
-
Package: libmodule-find-perl
Architecture: all
Modified: trunk/libmodule-find-perl/debian/copyright
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmodule-find-perl/debian/copyright?rev=44465&op=diff
==============================================================================
--- trunk/libmodule-find-perl/debian/copyright (original)
+++ trunk/libmodule-find-perl/debian/copyright Sun Sep 20 22:34:09 2009
@@ -1,14 +1,31 @@
-This is the debian package for the Module-Find module.
-It was created by Krzysztof Krzyzaniak (eloy) <eloy at debian.org>.
+Format-Specification:
+ http://wiki.debian.org/Proposals/CopyrightFormat?action=recall&rev=196
+Upstream-Maintainer: Christian Renz <crenz at web42.com>
+Upstream-Source: http://search.cpan.org/dist/Module-Find/
+Upstream-Name: Module-Find
-The upstream author is: Christian Renz, <crenz at web42.com>.
+Files: *
+Copyright: 2004-2009, Christian Renz <crenz at web42.com>
+License-Alias: Perl
+License: Artistic | GPL-1+
-It was downloaded from: http://search.cpan.org/dist/Module-List
+Files: debian/*
+Copyright: 2009, Jonathan Yu <jawnsy at cpan.org>
+ 2008, Gunnar Wolf <gwolf at debian.org>
+ 2005-2008, Krzysztof Krzyzaniak (eloy) <eloy at debian.org>
+License: Artistic | GPL-1+
-This program is free software, you can redistribute it and/or modify it under
-the same terms as Perl itself.
+License: Artistic
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the Artistic License, which comes with Perl.
+ On Debian GNU/Linux systems, the complete text of the Artistic License
+ can be found in `/usr/share/common-licenses/Artistic'
-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'.
+License: GPL-1+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 1, or (at your option)
+ any later version.
+ On Debian GNU/Linux systems, the complete text of the GNU General
+ Public License can be found in `/usr/share/common-licenses/GPL'
+
Modified: trunk/libmodule-find-perl/debian/rules
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libmodule-find-perl/debian/rules?rev=44465&op=diff
==============================================================================
--- trunk/libmodule-find-perl/debian/rules (original)
+++ trunk/libmodule-find-perl/debian/rules Sun Sep 20 22:34:09 2009
@@ -1,67 +1,4 @@
#!/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.
-# 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
- $(PERL) Makefile.PL INSTALLDIRS=vendor
- $(MAKE) OPTIMIZE="-Wall -O2 -g"
- touch build-stamp
-
-clean:
- dh_testdir
- dh_testroot
- [ ! -f Makefile ] || $(MAKE) distclean
- 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
- [ ! -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_installdocs README test/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
+%:
+ dh $@
More information about the Pkg-perl-cvs-commits
mailing list