debian/0000755000000000000000000000000012231175060007163 5ustar debian/watch0000644000000000000000000000017411643613635010231 0ustar version=3 http://search.cpan.org/dist/Term-ReadLine-Gnu/ .*/Term-ReadLine-Gnu-v?(\d[\d.]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$ debian/clean0000644000000000000000000000002211643613635010175 0ustar Changes.generated debian/rules0000755000000000000000000000105111643613635010253 0ustar #!/usr/bin/make -f PACKAGE = $(shell dh_listpackages) TMP = $(CURDIR)/debian/$(PACKAGE) %: dh $@ override_dh_auto_test: # the test suite needs an interactive terminal to run override_dh_installchangelogs: # Extract changelog from README tail -n`grep -n "Revision History" README | cut -d: -f1` README >Changes.generated dh_installchangelogs Changes.generated override_dh_installexamples: dh_installexamples sed -i '1s|^#.*perl|#!/usr/bin/perl|' $(TMP)/usr/share/doc/$(PACKAGE)/examples/* \ $(TMP)/usr/lib/perl5/Term/ReadLine/Gnu/XS.pm debian/copyright0000644000000000000000000000361711643613635011140 0ustar Format-Specification: http://anonscm.debian.org/viewvc/dep/web/deps/dep5.mdwn?view=markup&pathrev=135 Maintainer: Hiroo Hayashi Source: http://search.cpan.org/dist/Term-ReadLine-Gnu/ Name: Term-ReadLine-Gnu Files: * Copyright: 1996-2010, Hiroo Hayashi License: Artistic or GPL-1+ Files: ppport.h Copyright: 2004-2009, Marcus Holland-Moritz 2001, Paul Marquess (Version 2.x) 1999, Kenneth Albanowski (Version 1.x) License: Artistic or GPL-1+ Files: debian/* Copyright: 1998, Ben Gertzfield 1999-2001, Darren Stalder 2000, Matthias Klose 2001, Raphaël Hertzog 2002-2003, Joerg Jaspert 2002, Joey Hess 2005, Gunnar Wolf 2006, Krzysztof Krzyzaniak (eloy) 2006-2008, Niko Tyni 2007-2011, gregor herrmann 2007, gregor herrmann 2008, Martín Ferrari 2009, Ryan Niebur 2010, Jonathan Yu 2011, Ansgar Burchardt 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/libterm-readline-gnu-perl.examples0000644000000000000000000000000511643613635015677 0ustar eg/* debian/source/0000755000000000000000000000000011643613635010476 5ustar debian/source/format0000644000000000000000000000001411643613635011704 0ustar 3.0 (quilt) debian/patches/0000755000000000000000000000000011643613635010625 5ustar debian/patches/10term.patch0000644000000000000000000000113411643613635012755 0ustar # 10term.patch by Niko Tyni # DP: Fix uninitialized value message # DP: (#99843, patch by Nicolas Bertolissio) --- a/Gnu/XS.pm +++ b/Gnu/XS.pm @@ -363,11 +363,12 @@ use vars qw(%term_no_ue); %term_no_ue = ( kterm => 1 ); + sub ornaments { return $rl_term_set unless @_; $rl_term_set = shift; $rl_term_set ||= ',,,'; - $rl_term_set = $term_no_ue{$ENV{TERM}} ? 'us,me,,' : 'us,ue,,' + $rl_term_set = $term_no_ue{defined($ENV{TERM}) ? $ENV{TERM} : ''} ? 'us,me,,' : 'us,ue,,' if $rl_term_set eq '1'; my @ts = split /,/, $rl_term_set, 4; my @rl_term_set debian/patches/30outstream.patch0000644000000000000000000000077511643613635014045 0ustar # 30outstream.patch by Niko Tyni # DP: Fix SIGSEGV after "|" command. (#236018) --- a/Gnu.xs +++ b/Gnu.xs @@ -2769,6 +2769,12 @@ PerlIO_releaseFILE(outstreamPIO, rl_outstream); #endif rl_outstream = PerlIO_findFILE(stream); + /* + * Debian-specific addition fixing a segfault with "PERLIO=stdio" + * see http://bugs.debian.org/350991 + */ + if (!rl_outstream) + rl_outstream = stdout; RETVAL = outstreamPIO = stream; #ifdef __CYGWIN__ { debian/patches/20new.patch0000644000000000000000000000117211643613635012602 0ustar # 20new.patch by Niko Tyni # DP: Fix new() argument checking and documentation. # DP: (#204362, patch by Nicolas Bertolissio) --- a/Gnu.pm +++ b/Gnu.pm @@ -210,7 +210,7 @@ sub ReadLine { 'Term::ReadLine::Gnu'; } -=item C +=item C returns the handle for subsequent calls to following functions. Argument is the name of the application. Optionally can be followed @@ -224,6 +224,7 @@ my $this = shift; # Package my $class = ref($this) || $this; + croak "Wrong number of arguments" unless @_==1 or @_==3; my $name = shift; my $self = \%Attribs; debian/patches/40terminfo.patch0000644000000000000000000000136511643613635013642 0ustar Description: check for -ltinfo Origin: vendor Bug_debian: http://bugs.debian.org/644423 Forwarded: no Author: gregor herrmann Last-Update: 2011-10-07 --- a/Makefile.PL +++ b/Makefile.PL @@ -61,11 +61,12 @@ my $PREFER_CURSES = $Config{osname} eq 'aix' || $Config{osname} eq 'hpux' || $Config{osname} eq 'cygwin'; my $TERMCAP_LIB = (! $PREFER_CURSES && &search_lib('-ltermcap')) - || &search_lib('-lncurses') + || &search_lib('-ltinfo') + || &search_lib('-lncurses') || &search_lib('-lcurses'); unless ($TERMCAP_LIB) { - warn "Could not find neither libtermcap.a, libncurses.a, or libcurses.\n"; + warn "Could not find neither libtinfo, libtermcap.a, libncurses.a, or libcurses.\n"; exit $err; } debian/patches/series0000644000000000000000000000007411643613635012043 0ustar 10term.patch 20new.patch 30outstream.patch 40terminfo.patch debian/compat0000644000000000000000000000000211643613635010374 0ustar 8 debian/control0000644000000000000000000000252011643613635010600 0ustar Source: libterm-readline-gnu-perl Section: perl Priority: optional Build-Depends: perl, debhelper (>= 8), libreadline-dev Maintainer: Debian Perl Group Uploaders: Niko Tyni , Krzysztof Krzyzaniak (eloy) , Jonathan Yu , Martín Ferrari , Ryan Niebur , gregor herrmann Standards-Version: 3.9.2 Homepage: http://search.cpan.org/dist/Term-ReadLine-Gnu/ Vcs-Git: git://git.debian.org/pkg-perl/packages/libterm-readline-gnu-perl.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-perl/packages/libterm-readline-gnu-perl.git Package: libterm-readline-gnu-perl Architecture: any Depends: ${misc:Depends}, ${perl:Depends}, ${shlibs:Depends} Description: Perl extension for the GNU ReadLine/History Library Term::ReadLine::Gnu is a Perl interface to the GNU ReadLine Library, allowing developers to provide features including input line editing, input history management, word completion and more. . Through this module, you have access to almost all variables and functions as documented in the GNU ReadLine/History Library. This means you can write your custom editing function, custom completion function, and so on, with Perl. You may find it useful for prototyping before programming with C. debian/changelog0000644000000000000000000002736312231175060011050 0ustar libterm-readline-gnu-perl (1.20-2build2) trusty; urgency=low * Rebuild for Perl 5.18. -- Colin Watson Mon, 21 Oct 2013 10:56:00 +0100 libterm-readline-gnu-perl (1.20-2build1) precise; urgency=low * Rebuild for Perl 5.14. -- Colin Watson Tue, 15 Nov 2011 20:16:14 +0000 libterm-readline-gnu-perl (1.20-2) 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 ] * New patch 40terminfo.patch: check for -ltinfo in Makefile.PL. Thanks to Sven Joachim for the bug report and the proposals for the fix. (Closes: #644423) * debian/copyright: update license stanzas and list of debian/* contributors. * Bump debhelper compatibility level to 8. * Set Standards-Version to 3.9.2 (no changes). -- gregor herrmann Fri, 07 Oct 2011 17:07:26 +0200 libterm-readline-gnu-perl (1.20-1) unstable; urgency=low [ Jonathan Yu ] * New upstream release * Use new 3.0 (quilt) source format * Add myself to Copyright and Uploaders * Standards-Version 3.8.4 (no changes) * Rewrite control description * Extract debian/ copyright holders from changelog * Install a generated changelog file [ Ryan Niebur ] * Update ryan52's email address [ gregor herrmann ] * debian/copyright: update years of upstream copyright. * Refresh 30outstream.patch. * Replace fix_shebang.patch with an override in debian/rules. -- Jonathan Yu Mon, 03 May 2010 10:10:54 -0400 libterm-readline-gnu-perl (1.19-2) unstable; urgency=low [ Nathan Handler ] * debian/watch: Update to ignore development releases. [ gregor herrmann ] * Remove first part of 30outstream.patch, applied upstream. Thanks to Niko Tyni for spotting (closes: #520590). * Replace build dependency on libreadline5-dev with libreadline-dev, thanks to Matthias Klose for the heads-up. * Drop version from perl build dependency. * Set Standards-Version to 3.8.3 (no further changes). * Add /me to Uploaders. * Simplify debian/rules, bump build dependencies on debhelper and quilt. -- gregor herrmann Sun, 13 Sep 2009 16:35:52 +0200 libterm-readline-gnu-perl (1.19-1) unstable; urgency=low [ Ryan Niebur ] * New upstream release * debian policy 3.8.1 [ gregor herrmann ] * debian/control: mention module name in long description. -- Ryan Niebur Fri, 20 Mar 2009 19:51:44 -0700 libterm-readline-gnu-perl (1.18-1) unstable; urgency=low [ Martín Ferrari ] * Updating my email address [ gregor herrmann ] * Add debian/README.source to document quilt usage, as required by Debian Policy since 3.8.0. * debian/control: Changed: Switched Vcs-Browser field to ViewSVN (source stanza). * debian/control: Added: ${misc:Depends} to Depends: field. [ Ryan Niebur ] * New upstream release * debhelper 7 * add myself to uploaders * machine readable copyright * bump Standards Version to 3.8.0 [ gregor herrmann ] * debian/watch: extended regexp for matching upstream releases. -- Ryan Niebur Fri, 27 Feb 2009 23:10:16 -0800 libterm-readline-gnu-perl (1.17a-2) unstable; urgency=low * Disable the test suite again, it needs an interactive terminal to run. (Closes: #465619) * Switch to my @debian.org email address. -- Niko Tyni Tue, 19 Feb 2008 14:41:04 +0200 libterm-readline-gnu-perl (1.17a-1) unstable; urgency=low * New upstream release. * debian/control: - Added myself to Uploaders. - Bumped Standards-Version (no changes). - s/dpatch/quilt/. * debian/watch: upgraded version, change to dist/ URL. * debian/rules: - remove unused dh_* - use quilt (and properly depend on it) - use debhelper instead of manually handling various things - removed shebang corrections (moved to patch) - always use -g in CFLAGS and honour noopt - use DESTDIR in make - use install-stamp - fix various dependencies. * debian/patches/*: converted to quilt. -- Martín Ferrari Mon, 11 Feb 2008 11:31:40 -0200 libterm-readline-gnu-perl (1.16-3) UNRELEASED; 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: remove /usr/share/perl5 (and nothing else) only if it exists. -- gregor herrmann Tue, 09 Oct 2007 22:32:20 +0200 libterm-readline-gnu-perl (1.16-2) unstable; urgency=low * debian/patches/30outstream.dpatch: + fix segmentation fault with "PERLIO=stdio". (Closes: #350991) * Upgrade to Standards-Version 3.7.2. No changes needed. * Upgrade to debhelper compatibility level 5. -- Niko Tyni Sat, 17 Jun 2006 18:24:37 +0300 libterm-readline-gnu-perl (1.16-1) unstable; urgency=low * New upstream release * debian/control: Added me to Uploaders -- Krzysztof Krzyzaniak (eloy) Wed, 5 Apr 2006 11:32:46 +0200 libterm-readline-gnu-perl (1.15-3) unstable; urgency=low * Fixed maintainer email address. (Closes: #343484) * Add myself to Uploaders. * Migrate to dpatch. * debian/patches/30outstream.dpatch: + make sure the 'rl_outstream' variable inside libreadline is always in sync. (Closes: #236018) * Add debian/watch. -- Niko Tyni Sun, 15 Jan 2006 22:31:22 +0200 libterm-readline-gnu-perl (1.15-2) unstable; urgency=low * Moved to libreadline5-dev, fixing double-free/corruption (Closes: #304604, #322746, #323849) -- Gunnar Wolf Tue, 30 Aug 2005 12:23:11 -0500 libterm-readline-gnu-perl (1.15-1) unstable; urgency=low * New upstream release * New maintainer: Debian Perl group * Bumped up standards-version to 3.6.2 -- Gunnar Wolf Fri, 15 Jul 2005 14:35:39 +0300 libterm-readline-gnu-perl (1.14-2) unstable; urgency=low * Bug fix: "libterm-readline-gnu-perl: package description syntax", thanks to Nicolas Bertolissio (Closes: #207230). * Deleted watch file. -- Joerg Jaspert Sat, 15 Nov 2003 22:47:38 +0100 libterm-readline-gnu-perl (1.14-1) unstable; urgency=low * New Upstream Version (closes: #187448) - kludge not to cause segmentation fault on Perl 5.8.0 w/PerlIO and FileHandle (ex. CPAN.pm) - clean up Makefile.PL (use strict, fix for HPUX and FreeBSD, fix typo, etc.) * Use patch from Nicolas Bertolissio to fix the "unintialized value message" (closes: #99843) * Update Section to perl. * Use patch from Nicolas Bertolissio to fix the "new" method which (closes: #204362) -- Joerg Jaspert Fri, 22 Aug 2003 18:38:29 +0200 libterm-readline-gnu-perl (1.13-1.1) unstable; urgency=low * NMU for perl 5.8. No changes except a build-dep on perl >= 5.8 -- Joey Hess Wed, 31 Jul 2002 05:19:05 +0000 libterm-readline-gnu-perl (1.13-1) unstable; urgency=low * New Upstream Version - readline-4.2 support - new variables rl_completion_suppress_append rl_completion_mark_symlink_dirs - new functions rl_replace_line() rl_completion_mode() - tgetstr() calls tput() to apply padding information. No more "$<2>" on prompt. - shadow_redisplay() with ornament works on xterm. -- Joerg Jaspert Sun, 28 Jul 2002 18:25:29 +0200 libterm-readline-gnu-perl (1.12-5) unstable; urgency=low * Applied Patch from Upstream which closes the bug for "Ornaments and shadow_redisplay don't mix" (closes: #45949) -- Joerg Jaspert Sun, 28 Jul 2002 02:21:38 +0200 libterm-readline-gnu-perl (1.12-4) unstable; urgency=low * Rebuild with newest libreadline. * Updated Standards-version in debian/control. * Build-Depends for debhelper now for Version > 4.x and DH_COMPAT in debian/rules is 4 now. * Cleaned debian/rules a bit. * Remove empty /usr/share/perl5 from .deb -- Joerg Jaspert Sun, 21 Jul 2002 23:53:49 +0200 libterm-readline-gnu-perl (1.12-3) unstable; urgency=low * Changed my Email to the @debian.org * Added debian/watch file for uscan. -- Joerg Jaspert Thu, 18 Apr 2002 21:20:49 +0200 libterm-readline-gnu-perl (1.12-2) unstable; urgency=low * Updated debian/copyright * This Bug is closed since 1.10 so close it now. (closes: #69816) -- Joerg Jaspert (JJ) Fri, 5 Apr 2002 18:22:50 +0200 libterm-readline-gnu-perl (1.12-1) unstable; urgency=low * New Maintainer (closes: #141230) * Acknowledge the NMU Bugfixes. (closes: #67054, #67804, #60845, #87030, #65374, #80688, #84505, #78657, #67745, #87405) * New Upstream Version. * Removed postinst and prerm. debhelper creates the same one, we dont need special things in here. * Reworked debian/rules to use more of debhelper and be a little bit easier to read. Hope i dont break anything with it. -- Joerg Jaspert (JJ) Fri, 5 Apr 2002 15:56:11 +0200 libterm-readline-gnu-perl (1.10-1) unstable; urgency=low * New upstream version * Made minor modifications to debian/*. Package continues to be lintian clean primarily due to Matthias's and Raphael's work. * It looks like bug #69816 is fixed, I've asked the submitter if they can duplicate it with this new package. * I can still repro bug #45949 and I'll check into it. -- Darren Stalder Thu, 10 May 2001 23:35:04 -0700 libterm-readline-gnu-perl (1.09-0.1) unstable; urgency=low * Non Maintainer Upload. * New upstream version. Closes: #78657, #84505 * Correct permissions on postinst/prerm. Closes: #67804 * Built against latest libraries. Closes: #65374 * Updated to latest perl policy. Closes: #80668 * This new upstream version does build with the latest libraries. Closes: #87030 * Commented out the make test. On the command line it does work ok but it waits indefinitely when runned from debian/rules with debuild. * Updated to latest policy. Lintian clean again. -- Raphael Hertzog Sat, 24 Feb 2001 14:17:53 +0100 libterm-readline-gnu-perl (1.07-2.1) unstable; urgency=low * NMU, recompiled for libreadline4 (closes grave #60845, #67054). * debian/control: Added Build-Depends. * Made lintian clean. -- Matthias Klose Tue, 25 Jul 2000 06:11:57 +0200 libterm-readline-gnu-perl (1.07-2) unstable; urgency=low * make test opens /dev/tty. The autobuilders run from cron and therefore don't have a /dev/tty. Therefore the package fails to build under the autobuilders. Using the idea from Roman Hodek , make test only runs if /dev/tty is available. Closes Bug#42882. -- Darren Stalder Fri, 13 Aug 1999 00:59:45 -0700 libterm-readline-gnu-perl (1.07-1) unstable; urgency=low * New upstream version. * Use correct LDLOADLIBS line. Thanks to Manish Singh for this. Fixes Bug#41868,#41677,#42018. -- Darren Stalder Tue, 10 Aug 1999 04:07:20 -0700 libterm-readline-gnu-perl (1.06-1) unstable; urgency=low * New Maintainer. * New upstream version. * Complies with Perl packaging standard 1.0. * Completely rewrote debian/rules to my standards. * Rewrote control description section. * Changed source package name to be the same as the (one) binary package. * Changed priority to optional. -- Darren Stalder Tue, 13 Jul 1999 01:24:06 -0700 libterm-readline-gnu-perl (1.03-1) unstable; urgency=low * Initial release. -- Ben Gertzfield Tue, 13 Oct 1998 17:44:34 -0700 debian/libterm-readline-gnu-perl.docs0000644000000000000000000000000711643613635015013 0ustar README