debian/0000755000000000000000000000000012262007455007171 5ustar debian/compat0000644000000000000000000000000212262007455010367 0ustar 8 debian/copyright0000644000000000000000000000243712262007455011132 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: Data-Random Upstream-Contact: Buddy Burden Source: https://metacpan.org/release/Data-Random Files: * Copyright: 2000-2011, Adekunle Olonoh License: Artistic or GPL-1+ Files: inc/Module/* Copyright: 2002-2012, Adam Kennedy 2002-2012, Audrey Tang 2002-2012, Brian Ingerson License: Artistic or GPL-1+ Files: debian/* Copyright: 2006-2013, gregor herrmann 2007, Damyan Ivanov 2007, Niko Tyni License: Artistic or GPL-1+ 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 systems, the complete text of the Artistic License can be found 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 systems, the complete text of version 1 of the GNU General Public License can be found in `/usr/share/common-licenses/GPL-1'. debian/rules0000755000000000000000000000013012262007455010243 0ustar #!/usr/bin/make -f %: dh $@ override_dh_auto_test: AUTOMATED_TESTING=1 dh_auto_test debian/watch0000644000000000000000000000016112262007455010220 0ustar version=3 https://metacpan.org/release/Data-Random .*/Data-Random-v?(\d[\d.]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip) debian/control0000644000000000000000000000157612262007455010605 0ustar Source: libdata-random-perl Section: perl Priority: optional Build-Depends: debhelper (>= 8) Build-Depends-Indep: libdate-calc-perl, libgd-perl, libtest-pod-perl, libtest-pod-coverage-perl, perl Maintainer: Debian Perl Group Uploaders: gregor herrmann , Niko Tyni , Damyan Ivanov Standards-Version: 3.9.5 Homepage: https://metacpan.org/release/Data-Random Vcs-Git: git://anonscm.debian.org/pkg-perl/packages/libdata-random-perl.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-perl/packages/libdata-random-perl.git Package: libdata-random-perl Architecture: all Depends: ${perl:Depends}, ${misc:Depends}, libdate-calc-perl, libgd-perl Description: Perl module to generate random data Data::Random is a module used to generate random data. It is useful mostly for test programs. debian/source/0000755000000000000000000000000012262007455010471 5ustar debian/source/format0000644000000000000000000000001412262007455011677 0ustar 3.0 (quilt) debian/patches/0000755000000000000000000000000012262007455010620 5ustar debian/patches/10dict_location.patch0000644000000000000000000000211512262007455014614 0ustar Description: Change /usr/dict/words to /usr/share/dict/words to reflect FHS. Origin: vendor Forwarded: not needed Author: gregor herrmann Last-Update: 2011-11-26 --- a/lib/Data/Random/WordList.pm +++ b/lib/Data/Random/WordList.pm @@ -130,7 +130,7 @@ use Data::Random::WordList; - my $wl = new Data::Random::WordList( wordlist => '/usr/dict/words' ); + my $wl = new Data::Random::WordList( wordlist => '/usr/share/dict/words' ); my @rand_words = $wl->get_words(10); --- a/lib/Data/Random.pm +++ b/lib/Data/Random.pm @@ -583,7 +583,7 @@ =item * -wordlist - the path to the wordlist file. A lot of systems have one at /usr/dict/words. You can also optionally supply a Data::Random::WordList object to keep a persistent wordlist. The default is the wordlist distributed with this module. +wordlist - the path to the wordlist file. On Debian systems one can be found at /usr/share/dict/words. You can also optionally supply a Data::Random::WordList object to keep a persistent wordlist. The default is the wordlist distributed with this module. =item * debian/patches/series0000644000000000000000000000005112262007455012031 0ustar 10dict_location.patch 20man_hyphen.patch debian/patches/20man_hyphen.patch0000644000000000000000000000167612262007455014143 0ustar Description: fix pod Origin: vendor Forwarded: no Author: gregor herrmann Last-Update: 2011-11-26 --- a/lib/Data/Random.pm +++ b/lib/Data/Random.pm @@ -688,7 +688,7 @@ =head2 rand_date() -This returns a random date in the form "YYYY-MM-DD". 2-digit years are not currently supported. Efforts are made to make sure you're returned a truly valid date--ie, you'll never be returned the date February 31st. See the options below to find out how to control the date range. Here are a few examples: +This returns a random date in the form "YYYY-MM-DD". 2-digit years are not currently supported. Efforts are made to make sure you're returned a truly valid date - ie, you'll never be returned the date February 31st. See the options below to find out how to control the date range. Here are a few examples: # returns a date somewhere in between the current date, and one year from the current date $date = rand_date(); debian/changelog0000644000000000000000000001006612262007455011046 0ustar libdata-random-perl (0.11-1) unstable; urgency=medium * Team upload. * Imported Upstream version 0.11 * Refresh 10dict_location.patch patch (offset) * Refresh 20man_hyphen.patch patch (offset) * Declare compliance with Debian policy 3.9.5 -- Salvatore Bonaccorso Sat, 04 Jan 2014 14:39:22 +0100 libdata-random-perl (0.10-1) unstable; urgency=low * Team upload * Imported Upstream version 0.10 + rand_chars() returns a string of random characters when callid in scalar context -- Damyan Ivanov Wed, 06 Nov 2013 16:46:32 +0200 libdata-random-perl (0.09-1) unstable; urgency=low [ Salvatore Bonaccorso ] * Change Vcs-Git to canonical URI (git://anonscm.debian.org) * Change search.cpan.org based URIs to metacpan.org based URIs [ gregor herrmann ] * debian/watch: remove obsolete comment. * New upstream release. * Drop patch 40rand_datetime.patch; merged upstream. Also remove unused 30rand_time.patch from source package. * Update years of packaging copyright. * Update (build) dependencies. * Declare compliance with Debian Policy 3.9.4. -- gregor herrmann Wed, 18 Sep 2013 19:50:11 +0200 libdata-random-perl (0.07-1) unstable; urgency=low * New upstream release. * Update years of copyright for inc/Module/* and debian/*. * debian/copyright: update to Copyright-Format 1.0. * Bump Standards-Version to 3.9.3 (no changes). -- gregor herrmann Mon, 04 Jun 2012 19:42:21 +0200 libdata-random-perl (0.06-1) unstable; urgency=low [ Nathan Handler ] * debian/watch: Update to ignore development releases. [ gregor herrmann ] * Email change: gregor herrmann -> gregoa@debian.org [ Ansgar Burchardt ] * debian/control: Convert Vcs-* fields to Git. [ gregor herrmann ] * New upstream release. * Switch to "3.0 (quilt)" source format, remove quilt framework. * Use debhelper 8, and tiny debian/rules. * Rewrite debian/copyright. * Bump Standards-Version to 3.9.2; remove version from perl build dependency. * Add build dependency on Test::More 0.88. * Mention module name in long description. * Activate additional tests. * Disable 30rand_time.patch, refresh remaining patches. -- gregor herrmann Sat, 26 Nov 2011 17:42:39 +0100 libdata-random-perl (0.05-4) unstable; urgency=low * debian/control: Added: Vcs-Svn field (source stanza); Vcs-Browser field (source stanza); Homepage field (source stanza). Removed: XS- Vcs-Svn fields. * debian/rules: - delete /usr/lib/perl5 only if it exists (closes: #467749) - re-arrange stamp inter-dependencies (stamp-files depending only on other stamp-files) - remove some comments and whitespace - don't install almost empty README any more * Set Standards-Version to 3.7.3 (no changes). * Set debhelper compatibility level to 6. * debian/watch: use dist-based URL. * debian/copyright: add upstream source location and convert to new format. -- gregor herrmann Sun, 02 Mar 2008 01:56:23 +0100 libdata-random-perl (0.05-3) unstable; urgency=low * Convert from dpatch to quilt * Add 40rand_datetime.patch to fix t/rand_datetime.t, which fails when returned random datetime has zero time. Closes: #441746 -- random FTBFS * Dropped unused dh_strip and dh_link calls * Drop unused OPTIMIZE="..." * Move dh_clean $stamp_file before the "$(MAKE) clean" call which may fail * Added myself to Uploaders: (and wrapped it) -- Damyan Ivanov Tue, 11 Sep 2007 11:43:41 +0300 libdata-random-perl (0.05-2) unstable; urgency=medium * debian/patches/30rand_time.dpatch: fix test failure happening with a probability of about 7%. (Closes: #427188) * Urgency set to medium because of an RC bug fix. * Add alternative dependencies on libgd-gd2-noxpm-perl. -- Niko Tyni Sat, 2 Jun 2007 21:27:39 +0300 libdata-random-perl (0.05-1) unstable; urgency=low * Initial Release (closes: #370485). -- gregor herrmann Mon, 5 Jun 2006 15:11:25 +0200 debian/libdata-random-perl.docs0000644000000000000000000000004712262007455013662 0ustar README2.linux.words README.linux.words