debian/0000755000000000000000000000000012252150466007171 5ustar debian/perlindex.templates0000644000000000000000000000027512252150454013104 0ustar Template: perlindex/removeindexonpurge Type: boolean Default: true _Description: Remove the index when purging the package? perlindex creates some index files under /var/cache/perlindex/. debian/rules0000755000000000000000000000023612252150454010247 0ustar #!/usr/bin/make -f %: dh $@ override_dh_auto_build: INDEXDIR=/var/cache/perlindex dh_auto_build override_dh_auto_clean: dh_auto_clean debconf-updatepo debian/perlindex.install0000644000000000000000000000011412252150454012544 0ustar debian/config/config etc/perlindex/ usr/bin usr/share/man/man1/perlindex.1p debian/perlindex.postrm0000644000000000000000000000131412252150454012425 0ustar #! /bin/sh set -e case "$1" in purge) if [ -f /usr/share/debconf/confmodule ]; then . /usr/share/debconf/confmodule db_get perlindex/removeindexonpurge if [ "$RET" = true ]; then rm -f /var/cache/perlindex/index_fn \ /var/cache/perlindex/index_idf \ /var/cache/perlindex/index_if \ /var/cache/perlindex/index_if.new \ /var/cache/perlindex/index_seen fi fi ;; remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) ;; *) echo "postinst called with unknown argument \`$1'" >&2 exit 1 ;; esac # dh_installdeb will replace this with shell code automatically # generated by other debhelper scripts. #DEBHELPER# exit 0 debian/control0000644000000000000000000000313212252150454010570 0ustar Source: perlindex Maintainer: Debian Perl Group Uploaders: gregor herrmann , Damyan Ivanov , Ignace Mouzannar Section: perl Priority: optional Build-Depends: debhelper (>= 8), po-debconf Build-Depends-Indep: perl Standards-Version: 3.9.5 Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-perl/packages/perlindex.git Vcs-Git: git://anonscm.debian.org/pkg-perl/packages/perlindex.git Homepage: https://metacpan.org/release/perlindex/ Package: libtext-english-perl Architecture: all Depends: ${perl:Depends}, ${misc:Depends} Description: Perl module implementing the Porter Stemming algorithm libtext-english-perl implements the Porter Stemming algorithm in pure Perl. . The Porter stemming algorithm is a process for removing the commoner morphological and inflexional endings from words in English. Its main use is as part of a term normalisation process that is usually done when setting up Information Retrieval systems. Package: perlindex Architecture: all Depends: ${perl:Depends}, ${misc:Depends}, libtext-english-perl (= ${binary:Version}), libterm-readkey-perl Recommends: libio-stringy-perl Description: Perl manual pages index and query application Perlindex is a program to index and search the perl documentation. . An index database must be built that will store keywords for *all* perl and installed modules man pages. . Then perlindex can be run and will present the user the most likely choice for documentation. debian/perlindex.postinst0000644000000000000000000000334312252150454012770 0ustar #! /bin/sh # postinst script for perlindex # # see: dh_installdeb(1) set -e . /usr/share/debconf/confmodule # summary of how this script can be called: # * `configure' # * `abort-upgrade' # * `abort-remove' `in-favour' # # * `abort-deconfigure' `in-favour' # `removing' # # for details, see http://www.debian.org/doc/debian-policy/ or # the debian-policy package # case "$1" in configure) if [ -z "$2" ]; then echo -n "Generating index (this may take a while)..." perlindex -index >/dev/null 2>&1 echo " done." elif dpkg --compare-versions "$2" lt "1.605-4~"; then echo -n "Moving index files to /var/cache/perlindex..." SRC=/usr/share/man DST=/var/cache/perlindex for p in fn idf if if.new seen; do src_f="$SRC/index_$p" dst_f="$DST/index_$p" # move in two passes, since /var and /usr may be in # different file systems if [ -e "$src_f" ]; then if ! [ -e "$dst_f" ] || [ "$src_f" -nt "$dst_f" ]; then echo -n " index_$p" mv "$src_f" "$dst_f.migrated" mv "$dst_f.migrated" "$dst_f" else # proper index file is already newer rm "$src_f" fi fi done echo ", done." fi ;; abort-upgrade|abort-remove|abort-deconfigure) ;; *) echo "postinst called with unknown argument \`$1'" >&2 exit 1 ;; esac # dh_installdeb will replace this with shell code automatically # generated by other debhelper scripts. #DEBHELPER# exit 0 debian/source/0000755000000000000000000000000012252150454010466 5ustar debian/source/format0000644000000000000000000000001412252150454011674 0ustar 3.0 (quilt) debian/changelog0000644000000000000000000002234012252150454011041 0ustar perlindex (1.606-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 ] * Add Italian debconf translation. Thanks to Beatrice Torracca. (Closes: #714005) [ Axel Beckert ] * debian/copyright: migrate pre-1.0 format to 1.0 using "cme fix dpkg- copyright" [ gregor herrmann ] * New upstream release. * debian/po/de.po: convert to UTF-8. * Drop perl4libs.patch, merged upstream. * Update conffile.patch. * Declare compliance with Debian Policy 3.9.5. -- gregor herrmann Wed, 11 Dec 2013 21:54:51 +0100 perlindex (1.605-4) unstable; urgency=low [ Ansgar Burchardt ] * debian/control: Convert Vcs-* fields to Git. [ Salvatore Bonaccorso ] * debian/copyright: Replace DEP5 Format-Specification URL from svn.debian.org to anonscm.debian.org URL. [ gregor herrmann ] * Add Brazilian Portuguese debconf templates translation. Thanks to Marco Juliano e Silva (Closes: #649497) [ Damyan Ivanov ] * rules: invoke upstream build system with INDEXDIR in /var/cache otherwise the index files end up in /usr/share/man (Closes: #657312) * postinst: migrate existing index files from /usr/share/man to /var/cache/perlindex on upgrades from versions creating them in /usr/share/man * cron.daily: create /var/cache/perlindex if it doesn't exist Thanks to Ansgar Burchardt * add a patch replacing usage of deprecated 'find.pl' with File::Find * postrm: add /var/cache/perlindex/index_if.new to the list of files to purge * bump years of debian/* copyright -- Damyan Ivanov Thu, 26 Jan 2012 19:15:15 +0200 perlindex (1.605-3) unstable; urgency=low * Add Danish debconf translation, thanks to Joe Dalton (closes: #627709). * Switch to source format 3.0 (quilt); remove quilt framework. * Bump debhelper compatibility level to 8. * Set Standards-Version to 3.9.2 (no changes). * debian/copyright: update formatting. * Add a patch to fix a spelling mistakes; refresh headers for other patches. -- gregor herrmann Sat, 04 Jun 2011 23:34:04 +0200 perlindex (1.605-2) unstable; urgency=low [ Ignace Mouzannar ] * debian/control: - Standards-Version bumped to 3.8.3. - Updated dependency on debhelper (>= 7.0.50~). - Updated dependency on quilt (>= 0.46-7). - Added myself to Uploaders. - Updated the short descriptions. * debian/rules: - Updated the rules files to use the dh7 features. * debian/patches: - Updated testsuite.patch to fit the new version of the t/basic.t file. This pervents quilt from failing to apply the patch. (Closes: #538635) - Refreshed conffile.patch to remove the offset. * debian/perlindex.dirs: - Added the etc/perlindex directory. * debian/po: - Added the Russian translation file (ru.po) provided by Yuri Kozlov . (Closes: #541759) * Renamed and moved debian/configfile to debian/config/config. * debian/perlindex.install: - Updated config file installation path. * debian/copyright: - Updated the Debian changelog to follow Revision 196 of the Copyright Proposal format. - Merged *.copyright into one debian/copyright. [ Ryan Niebur ] * Remove Florian Ragwitz from Uploaders (Closes: #523220) [ Nathan Handler ] * debian/watch: Update to ignore development releases. [ Salvatore Bonaccorso ] * debian/control: Changed: Replace versioned (build-)dependency on perl (>= 5.6.0-{12,16}) with an unversioned dependency on perl (as permitted by Debian Policy 3.8.3). -- Ignace Mouzannar Sun, 18 Oct 2009 22:57:56 +0200 perlindex (1.605-1) unstable; urgency=low [ gregor herrmann ] * Add Swedish debconf translation, thanks to Martin Bagge (closes: #503609). * Call debconf-updatepo in debian/rules' clean target; add build dependency on po-debconf in debian/control. * Add 'set -e' to debian/perlindex.config. * debian/control: Changed: Switched Vcs-Browser field to ViewSVN (source stanza). [ Damyan Ivanov ] * Add Japanese debconf translation, thanks to Hideki Yamane (Closes: #510731) * config: preserve old debconf setting (Closes: #503647) * Add Spanish debconf translation, thanks to Francisco Javier Cuadrado (Closes: #514601) * Convert debian/rules to DH7, bump debhelper dependency and debian/compat * do not ship redundant README in doc/ * add ${misc:Depends} to the list of dependencies of libtext-english-perl * *.copyright: add one sentence explaining how 'same as perl' becomes GPL|Artistic * add myself to Uploaders * New upstream release -- Damyan Ivanov Tue, 10 Feb 2009 16:07:38 +0200 perlindex (1.502-3) unstable; urgency=low * Take over for the Debian Perl Group with maintainer's permission (cf. http://lists.debian.org/debian-perl/2008/06/msg00039.htm) * debian/control: Added: Vcs-Svn field (source stanza); Vcs-Browser field (source stanza); Homepage field (source stanza). Changed: Maintainer set to Debian Perl Group (was: Florian Ragwitz ); Florian Ragwitz moved to Uploaders. * debian/watch: use dist-based URL. * Change patch system from dpatch to quilt. * Fix patch conffile.patch to actually use the directories from the config file (closes: #458928), thanks to Slaven Rezic for the bug report. * debian/*.copyright: use author-independent download URLs, update copyright/license information. * Refresh debian/rules, no functional changes. * Set Standards-Version to 3.8.0; add debian/README.source to document quilt usage. * Use ${binary:Version} instead of deprecated ${Source-Version} in Depends. * Add /me to Uploaders. -- gregor herrmann Mon, 21 Jul 2008 20:43:15 +0200 perlindex (1.502-2.1) unstable; urgency=high * Non-maintainer upload during BSP. * Fix unconditional use of debconf in postrm (Closes: #417005). * Add German debconf translation (Closes: #409070). * Add Dutch debconf translation (Closes: #420926). * Add Portuguese debconf translation (Closes: #425135). -- Luk Claes Sat, 19 May 2007 18:37:41 +0200 perlindex (1.502-2) unstable; urgency=low * Include czech template translation (Closes: #382927). -- Florian Ragwitz Sat, 2 Sep 2006 15:32:51 +0200 perlindex (1.502-1) unstable; urgency=low * New upstream release. + Includes debian/patches/pod_text.dpatch. Removing it. * Add french debconf templates translation (Closes: #374564). -- Florian Ragwitz Mon, 3 Jul 2006 16:09:18 +0200 perlindex (1.501-2) unstable; urgency=low * Added debconf question about removing the index files on purge. -- Florian Ragwitz Sat, 17 Jun 2006 18:42:00 +0200 perlindex (1.501-1) unstable; urgency=low * New upstream release. + Absolute filenames were accessed incorrectly from hit list (Closes: #340821). * Use DH_COMPAT 5. * Bump up Standards-Version to 3.7.2 (no changes). * Use my @debian.org address in the Maintainer field. * Make dpatches out off all previous Debian modifications. + Add dpatch to Build-Depends. + Modify debian/rules to use dpatch * Added dpatch which fixes indexing with Pod::Text * Remove unneeded dh_* calls in debian/rules. * Only generate the index in postinst configure if the package is installed for the first time. -- Florian Ragwitz Sat, 17 Jun 2006 16:51:08 +0200 perlindex (1.302-7) unstable; urgency=low * Fixed Description (Closes: #275928). * Added debian/watch. -- Florian Ragwitz Mon, 11 Oct 2004 10:32:53 +0200 perlindex (1.302-6) unstable; urgency=low * Generate index files in postinst (Closes: #265337). -- Florian Ragwitz Thu, 12 Aug 2004 22:16:21 +0200 perlindex (1.302-5) unstable; urgency=low * We're now using /etc/perlindex/config to set @perllib. -- Florian Ragwitz Sun, 18 Jul 2004 14:43:51 +0200 perlindex (1.302-4) unstable; urgency=low * Fixed perlindex' libtext-english-perl dependency (Closes: #251669). * Improved package description of libtext-english-perl. -- Florian Ragwitz Sun, 30 May 2004 22:16:45 +0200 perlindex (1.302-3) unstable; urgency=low * Added dependency to libterm-readkey-perl (Closes: #251150). * Moved perl Build-Dependency to Build-Depends-Indep. -- Florian Ragwitz Thu, 27 May 2004 13:12:25 +0200 perlindex (1.302-2) unstable; urgency=low * Added daily cron script to update the database (Closes: #249694). -- Florian Ragwitz Wed, 19 May 2004 01:06:02 +0200 perlindex (1.302-1) unstable; urgency=low * New upstream release. * Removed debian/patches because the patch was added to upstream. * Removed dpatch stuff from debian/rules. * Removed build dependency to dpatch. * Splited up + changed debian/copyright. -- Florian Ragwitz Sun, 2 May 2004 17:40:42 +0200 perlindex (1.301-1) unstable; urgency=low * Initial Release (Closes: #215521). -- Florian Ragwitz Sat, 1 May 2004 19:50:22 +0200 debian/libtext-english-perl.install0000644000000000000000000000004312252150454014615 0ustar usr/share/perl5 usr/share/man/man3 debian/config/0000755000000000000000000000000012252150454010433 5ustar debian/config/config0000644000000000000000000000022412252150454011621 0ustar /usr/lib/perl /usr/lib/perl5 /usr/share/perl /usr/share/perl5 /usr/local/lib/perl /usr/local/lib/perl5 /usr/local/share/perl /usr/local/share/perl5 debian/po/0000755000000000000000000000000012252150466007607 5ustar debian/po/pt.po0000644000000000000000000000205312252150454010567 0ustar # Portuguese translations for perlindex package. # Copyright (C) 2007 Miguel Figueiredo # This file is distributed under the same license as the perlindex package. # Miguel Figueiredo , 2007. # msgid "" msgstr "" "Project-Id-Version: perlindex 1.502-2\n" "Report-Msgid-Bugs-To: rafl@debian.org\n" "POT-Creation-Date: 2006-09-02 15:34+0200\n" "PO-Revision-Date: 2007-05-19 11:28+0100\n" "Last-Translator: Miguel Figueiredo \n" "Language-Team: Portuguese \n" "Language: pt\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. Type: boolean #. Description #: ../perlindex.templates:1001 msgid "Remove the index when purging the package?" msgstr "Remover o índice quando purgar o pacote?" #. Type: boolean #. Description #: ../perlindex.templates:1001 msgid "perlindex creates some index files under /var/cache/perlindex/." msgstr "O perlindex cria alguns ficheiros de índices em /usr/cache/perlindex/." debian/po/de.po0000644000000000000000000000202312252150454010531 0ustar # Translation of perlindex debconf templates to German # Copyright (C) Helge Kreutzmann , 2007. # This file is distributed under the same license as the perlindex package. # msgid "" msgstr "" "Project-Id-Version: perlindex 1.502-2\n" "Report-Msgid-Bugs-To: rafl@debian.org\n" "POT-Creation-Date: 2006-09-02 15:34+0200\n" "PO-Revision-Date: 2007-01-30 19:16+0100\n" "Last-Translator: Helge Kreutzmann \n" "Language-Team: German \n" "Language: de\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #. Type: boolean #. Description #: ../perlindex.templates:1001 msgid "Remove the index when purging the package?" msgstr "Den Index beim vollständigen löschen (»purge«) des Pakets entfernen?" #. Type: boolean #. Description #: ../perlindex.templates:1001 msgid "perlindex creates some index files under /var/cache/perlindex/." msgstr "Perlindex erstellt einige Index-Dateien unter /var/cache/perlindex/." debian/po/ja.po0000644000000000000000000000214112252150454010534 0ustar # Copyright (C) 2008 Debian Perl Group # This file is distributed under the same license as the perlindex package. # Hideki Yamane (Debian-JP) , 2008. # msgid "" msgstr "" "Project-Id-Version: perlindex 1.502-3\n" "Report-Msgid-Bugs-To: rafl@debian.org\n" "POT-Creation-Date: 2006-09-02 15:34+0200\n" "PO-Revision-Date: 2008-12-28 22:26+0900\n" "Last-Translator: Hideki Yamane (Debian-JP) \n" "Language-Team: Japanese \n" "Language: ja\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #. Type: boolean #. Description #: ../perlindex.templates:1001 msgid "Remove the index when purging the package?" msgstr "パッケージを完全に削除する際にインデックスを削除しますか?" #. Type: boolean #. Description #: ../perlindex.templates:1001 msgid "perlindex creates some index files under /var/cache/perlindex/." msgstr "" "perlindex は /var/cache/perlindex/ 以下にインデックスファイルを作成します。" debian/po/it.po0000644000000000000000000000217512252150454010565 0ustar # Italian translation of perlindex debconf messages # Copyright (C) 2013, perlindex package copyright holder # This file is distributed under the same license as the perlindex package. # Beatrice Torracca , 2013. msgid "" msgstr "" "Project-Id-Version: perlindex 1.605-4\n" "Report-Msgid-Bugs-To: rafl@debian.org\n" "POT-Creation-Date: 2006-09-02 15:34+0200\n" "PO-Revision-Date: 2013-06-10 18:59+0200\n" "Last-Translator: Beatrice Torracca \n" "Language-Team: Italian \n" "Language: it\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" "X-Generator: Virtaal 0.7.1\n" #. Type: boolean #. Description #: ../perlindex.templates:1001 msgid "Remove the index when purging the package?" msgstr "Rimuovere l'indice quando il pacchetto viene completamente eliminato?" #. Type: boolean #. Description #: ../perlindex.templates:1001 msgid "perlindex creates some index files under /var/cache/perlindex/." msgstr "perlindex crea alcuni file indice in /var/cache/perlindex/." debian/po/fr.po0000644000000000000000000000203712252150454010555 0ustar # translation of fr.po to French # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Florentin Duneau , 2006. msgid "" msgstr "" "Project-Id-Version: perlindex\n" "Report-Msgid-Bugs-To: rafl@debian.org\n" "POT-Creation-Date: 2006-09-02 15:34+0200\n" "PO-Revision-Date: 2006-06-19 15:06+0200\n" "Last-Translator: Florentin Duneau \n" "Language-Team: French \n" "Language: fr\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: KBabel 1.11.2\n" #. Type: boolean #. Description #: ../perlindex.templates:1001 msgid "Remove the index when purging the package?" msgstr "Faut-il supprimer l'index lors de la purge du paquet ?" #. Type: boolean #. Description #: ../perlindex.templates:1001 msgid "perlindex creates some index files under /var/cache/perlindex/." msgstr "Perlindex crée des fichiers d'index dans /var/cache/perlindex/." debian/po/cs.po0000644000000000000000000000176312252150454010560 0ustar # SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # Martin Sin , 2006. # msgid "" msgstr "" "Project-Id-Version: perlindex 1.502-1\n" "Report-Msgid-Bugs-To: rafl@debian.org\n" "POT-Creation-Date: 2006-09-02 15:34+0200\n" "PO-Revision-Date: 2006-08-10 21:41+0200\n" "Last-Translator: Martin Sin \n" "Language-Team: Czech \n" "Language: cs\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" #. Type: boolean #. Description #: ../perlindex.templates:1001 msgid "Remove the index when purging the package?" msgstr "Smazat při odstranění balíčku také rejstřík?" #. Type: boolean #. Description #: ../perlindex.templates:1001 msgid "perlindex creates some index files under /var/cache/perlindex/." msgstr "perlindex vytváří soubory s rejstříky v /var/cache/perlindex/." debian/po/es.po0000644000000000000000000000351112252150454010553 0ustar # perlindex po-debconf translation to Spanish # Copyright (C) 2009 Software in the Public Interest # This file is distributed under the same license as the perlindex package. # # Changes: # - Initial translation # Francisco Javier Cuadrado , 2009 # # Traductores, si no conocen el formato PO, merece la pena leer la # documentación de gettext, especialmente las secciones dedicadas a este # formato, por ejemplo ejecutando: # info -n '(gettext)PO Files' # info -n '(gettext)Header Entry' # # Equipo de traducción al español, por favor lean antes de traducir # los siguientes documentos: # # - El proyecto de traducción de Debian al español # http://www.debian.org/intl/spanish/ # especialmente las notas de traducción en # http://www.debian.org/intl/spanish/notas # # - La guía de traducción de po's de debconf: # /usr/share/doc/po-debconf/README-trans # o http://www.debian.org/intl/l10n/po-debconf/README-trans # msgid "" msgstr "" "Project-Id-Version: perlindex 1.502-3\n" "Report-Msgid-Bugs-To: rafl@debian.org\n" "POT-Creation-Date: 2006-09-02 15:34+0200\n" "PO-Revision-Date: 2009-02-01 11:00+0100\n" "Last-Translator: Francisco Javier Cuadrado \n" "Language-Team: Debian l10n Spanish \n" "Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #. Type: boolean #. Description #: ../perlindex.templates:1001 msgid "Remove the index when purging the package?" msgstr "¿Desea borrar el índice cuando se elimine el paquete?" #. Type: boolean #. Description #: ../perlindex.templates:1001 msgid "perlindex creates some index files under /var/cache/perlindex/." msgstr "" "perlindex crea varios archivos de índice en el directorio «/var/cache/" "perlindex/»." debian/po/pt_BR.po0000644000000000000000000000205012252150454011147 0ustar # Debconf translations for perlindex. # Copyright (C) 2011 perlindex COPYRIGHT HOLDER # This file is distributed under the same license as the perlindex package. # Marco Juliano e Silva , 2011. # msgid "" msgstr "" "Project-Id-Version: perlindex 1.605-3\n" "Report-Msgid-Bugs-To: rafl@debian.org\n" "POT-Creation-Date: 2006-09-02 15:34+0200\n" "PO-Revision-Date: 2011-11-09 11:32-0200\n" "Last-Translator: Marco Juliano e Silva \n" "Language-Team: Brazilian Portuguese \n" "Language: pt_BR\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #. Type: boolean #. Description #: ../perlindex.templates:1001 msgid "Remove the index when purging the package?" msgstr "Remover o índice ao expurgar o pacote?" #. Type: boolean #. Description #: ../perlindex.templates:1001 msgid "perlindex creates some index files under /var/cache/perlindex/." msgstr "O perlindex cria alguns arquivos de índice em /var/cache/perlindex/." debian/po/da.po0000644000000000000000000000175712252150454010542 0ustar # Danish translation perlindex. # Copyright (C) perlindex & nedenstående oversættere. # This file is distributed under the same license as the perlindex package. # Joe Hansen (joedalton2@yahoo.dk), 2011. # msgid "" msgstr "" "Project-Id-Version: perlindex\n" "Report-Msgid-Bugs-To: rafl@debian.org\n" "POT-Creation-Date: 2006-09-02 15:34+0200\n" "PO-Revision-Date: 2011-05-23 18:30+01:00\n" "Last-Translator: Joe Hansen \n" "Language-Team: Danish \n" "Language: da\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #. Type: boolean #. Description #: ../perlindex.templates:1001 msgid "Remove the index when purging the package?" msgstr "Fjern indekset når pakken afinstalleres?" #. Type: boolean #. Description #: ../perlindex.templates:1001 msgid "perlindex creates some index files under /var/cache/perlindex/." msgstr "perlindex opretter nogle indeksfiler under /var/cache/perlindex/." debian/po/POTFILES.in0000644000000000000000000000005612252150454011362 0ustar [type: gettext/rfc822deb] perlindex.templates debian/po/templates.pot0000644000000000000000000000152512252150454012331 0ustar # SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: rafl@debian.org\n" "POT-Creation-Date: 2006-09-02 15:34+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=CHARSET\n" "Content-Transfer-Encoding: 8bit\n" #. Type: boolean #. Description #: ../perlindex.templates:1001 msgid "Remove the index when purging the package?" msgstr "" #. Type: boolean #. Description #: ../perlindex.templates:1001 msgid "perlindex creates some index files under /var/cache/perlindex/." msgstr "" debian/po/sv.po0000644000000000000000000000201612252150454010573 0ustar # translation of perlindex.po to swedish # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Martin Bagge , 2008. msgid "" msgstr "" "Project-Id-Version: perlindex\n" "Report-Msgid-Bugs-To: rafl@debian.org\n" "POT-Creation-Date: 2006-09-02 15:34+0200\n" "PO-Revision-Date: 2008-10-26 18:38+0100\n" "Last-Translator: Martin Bagge \n" "Language-Team: swedish \n" "Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: KBabel 1.11.4\n" #. Type: boolean #. Description #: ../perlindex.templates:1001 msgid "Remove the index when purging the package?" msgstr "Ska indexfilerna raderas när paketet tas bort?" #. Type: boolean #. Description #: ../perlindex.templates:1001 msgid "perlindex creates some index files under /var/cache/perlindex/." msgstr "perlindex skapar några indexfiler i /var/cache/perlindex/." debian/po/ru.po0000644000000000000000000000231712252150454010575 0ustar # translation of ru.po to Russian # Copyright (C) 2009, Yuri Kozlov # This file is distributed under the same license as the perlindex package. # # Yuri Kozlov , 2009. msgid "" msgstr "" "Project-Id-Version: perlindex 1.605-1\n" "Report-Msgid-Bugs-To: rafl@debian.org\n" "POT-Creation-Date: 2006-09-02 15:34+0200\n" "PO-Revision-Date: 2009-08-06 20:33+0400\n" "Last-Translator: Yuri Kozlov \n" "Language-Team: Russian \n" "Language: ru\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: KBabel 1.11.4\n" "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" "%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" #. Type: boolean #. Description #: ../perlindex.templates:1001 msgid "Remove the index when purging the package?" msgstr "Удалять индексы при вычистке пакета?" #. Type: boolean #. Description #: ../perlindex.templates:1001 msgid "perlindex creates some index files under /var/cache/perlindex/." msgstr "perlindex создаёт индексные файлы в каталоге /var/cache/perlindex/." debian/po/nl.po0000644000000000000000000000205512252150454010557 0ustar # SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR , YEAR. # msgid "" msgstr "" "Project-Id-Version: perlindex\n" "Report-Msgid-Bugs-To: rafl@debian.org\n" "POT-Creation-Date: 2006-09-02 15:34+0200\n" "PO-Revision-Date: 2007-03-15 19:03+0100\n" "Last-Translator: Bart Cornelis \n" "Language-Team: debian-l10n-dutch \n" "Language: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Poedit-Language: Dutch\n" #. Type: boolean #. Description #: ../perlindex.templates:1001 msgid "Remove the index when purging the package?" msgstr "Wilt u de index verwijderen wanneer dit pakket gewist wordt?" #. Type: boolean #. Description #: ../perlindex.templates:1001 msgid "perlindex creates some index files under /var/cache/perlindex/." msgstr "" "perlindex maakt een aantal indexbestanden aan in de map /var/cache/" "perlindex/." debian/compat0000644000000000000000000000000212252150454010364 0ustar 8 debian/perlindex.config0000644000000000000000000000041612252150454012350 0ustar #!/bin/sh set -e . /usr/share/debconf/confmodule if db_get perlindex/removeindexonpurge; then CURRENT=$RET fi db_title perlindex configuration db_set perlindex/removeindexonpurge ${CURRENT:-true} db_input high perlindex/removeindexonpurge || true db_go || true debian/patches/0000755000000000000000000000000012252150454010615 5ustar debian/patches/spelling.patch0000644000000000000000000000056612252150454013462 0ustar Description: fix a spelling mistake Origin: vendor Forwarded: no Author: gregor herrmann Last-Update: 2011-06-04 --- a/perlindex.PL +++ b/perlindex.PL @@ -635,7 +635,7 @@ =item B<-nocbreak> -Switch to cbreak in menu mode or dont. B<-cbreak> is the default. +Switch to cbreak in menu mode or don't. B<-cbreak> is the default. =item B<-verbose> debian/patches/conffile.patch0000644000000000000000000000355312252150454013431 0ustar Description: Use a config file instead of hardcoded paths to determine @perllib Forwarded: no Author: Florian Ragwitz Reviewed-by: gregor herrmann Last-Update: 2012-12-11 --- a/perlindex.PL +++ b/perlindex.PL @@ -82,6 +82,7 @@ $index_dir = $Config{'man1direxp'}; $index_dir =~ s:/[^/]*$::; $index_dir = $ENV{'INDEXDIR'} if $ENV{'INDEXDIR'}; +$conffile = $ENV{'CONFFILE'} || '/etc/perlindex/config'; print OUT <<"EOC"; \$nroff = \'$Config{'nroff'}\' || \'nroff\'; @@ -89,6 +90,7 @@ \$man3direxp = \'$Config{'man3direxp'}\'; \$IDIR = \'$index_dir\'; \$prefix = \'$Config{'prefix'}\'; +\$conffile = \'$conffile\'; EOC ; @@ -139,8 +141,13 @@ 'verbose', 'dict:i', 'idir=s', + 'conf=s', ) || die "Usage: $0 [-index] [words ...]\n"; +if (defined $opt_conf) { + $conffile = $opt_conf; +} + if (defined $opt_idir) { $IDIR = $opt_idir; # avoid to many changes below. } @@ -182,10 +189,15 @@ require File::Find; + open (CONFIG, "<$conffile") || die "Can't open config file $conffile: $!"; + my @config_perllib = ; + chomp @config_perllib; + unless (@ARGV) { # breaks compatibility :-( my %seen; my @perllib = grep(length && -d && !$seen{$_}++, @Config{qw(installprivlib installarchlib installsitelib installvendorlib installscript installsitearch)}); + push @perllib, @config_perllib; for $dir (@perllib) { print "Scanning $dir ... \n"; @@ -630,6 +642,14 @@ Generates additional information which query words have been not found in the database and which words of the query are stopwords. +=item B<-conf> + +!NO!SUBS! + +print OUT "Use another config than the default config ($conffile).\n"; + +print OUT <<'!NO!SUBS!'; + =back =head1 EXAMPLE debian/patches/series0000644000000000000000000000005612252150454012033 0ustar conffile.patch testsuite.patch spelling.patch debian/patches/testsuite.patch0000644000000000000000000000140012252150454013662 0ustar Description: Use the config file in the test suite Forwarded: no Author: Ignace Mouzannar Reviewed-by: gregor herrmann Last-Update: 2009-10-18 --- a/t/basic.t +++ b/t/basic.t @@ -42,13 +42,13 @@ ok( run( - "-Mblib ./perlindex -idir $tmp --index $cwd/README $cwd/MANIFEST $cwd/perlindex.PL", + "-Mblib ./perlindex -conf debian/config/config -idir $tmp --index $cwd/README $cwd/MANIFEST $cwd/perlindex.PL", sub { print "[[$_[0]]]\n"; $_[0] =~ /MANIFEST/ } ) ); ok( run( - "-Mblib ./perlindex -idir $tmp --nomenu index", + "-Mblib ./perlindex -conf debian/config/config -idir $tmp --nomenu index", sub { print "[[$_[0]]]\n"; $_[0] =~ /perlindex.PL/ } ) ); debian/copyright0000644000000000000000000000260512252150454011124 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: perlindex Upstream-Contact: Ulrich Pfeifer Source: https://metacpan.org/release/perlindex/ Files: * Copyright: 1996-2005, Ulrich Pfeifer License: Artistic or GPL-1+ Files: lib/Text/English.pm Copyright: 2004, Public IP Exchange Ltd (PIPEX) License: Artistic or GPL-1+ Files: debian/* Copyright: 2004-2006, Florian Ragwitz 2007, Luk Claes 2008-2011, gregor herrmann 2009, 2012, Damyan Ivanov 2009, Nathan Handler 2009, Ryan Niebur 2009, Ignace Mouzannar 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/perlindex.dirs0000644000000000000000000000004212252150454012037 0ustar var/cache/perlindex etc/perlindex debian/perlindex.cron.daily0000644000000000000000000000032312252150454013142 0ustar #!/bin/sh # cron script for perlindex to update the database. test -x /usr/bin/perlindex || exit 0 DIR=/var/cache/perlindex [ -d $DIR ] || mkdir $DIR && chmod 0755 $DIR perlindex -index >/dev/null 2>/dev/null debian/watch0000644000000000000000000000015612252150454010221 0ustar version=3 https://metacpan.org/release/perlindex/ .*/perlindex-v?(\d[\d.]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)