debian/0000755000000000000000000000000012265533434007175 5ustar debian/watch0000644000000000000000000000016712265532447010235 0ustar version=3 http://search.cpan.org/dist/Filter/ .*/Filter-v?(\d[\d_.]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip) debian uupdate debian/clean0000644000000000000000000000003112265532447010177 0ustar # for 'make test' Try.pm debian/rules0000755000000000000000000000042312265532447010257 0ustar #! /usr/bin/make -f export DEB_CFLAGS_MAINT_APPEND := -Wall %: dh $@ override_dh_auto_configure: dh_auto_configure -- INSTALLMAN3DIR=/usr/share/man/man3 override_dh_install: dh_install chmod +x debian/libfilter-perl/usr/share/doc/libfilter-perl/examples/decrypt/decr debian/install0000644000000000000000000000011312265532447010564 0ustar decrypt/decr decrypt/encrypt usr/share/doc/libfilter-perl/examples/decrypt debian/examples0000644000000000000000000000001312265532447010733 0ustar examples/* debian/.git-dpm0000644000000000000000000000043112265532447010540 0ustar # see git-dpm(1) from git-dpm package 413f46dbd09cd0231d1166adfead01dd5d1eb4a7 413f46dbd09cd0231d1166adfead01dd5d1eb4a7 54759a756cc6fd9a7e1981399a3205aab5017520 54759a756cc6fd9a7e1981399a3205aab5017520 libfilter-perl_1.49.orig.tar.gz 2551c94fc11979faa2a9237618c15300887a0f3f 85905 debian/copyright0000644000000000000000000000176512265533146011141 0ustar This package was debianized by Colin Watson on Wed, 27 Dec 2000 21:19:47 +0000. It was downloaded from http://www.cpan.org/modules/by-module/Filter/ Upstream Author: Paul Marquess Copyright: Copyright (c) 1995-2007 Paul Marquess. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. Perl's licensing terms at the time of writing are as follows: This program is free software; you can redistribute it and/or modify it under the terms of either: a) the GNU General Public License as published by the Free Software Foundation; either version 1, or (at your option) any later version, or b) the "Artistic License" which comes with Perl. On Debian GNU/Linux systems, the complete text of the GNU General Public License can be found in `/usr/share/common-licenses/GPL-1' and the Artistic Licence in `/usr/share/common-licenses/Artistic'. debian/docs0000644000000000000000000000000712265532447010050 0ustar README debian/lintian-overrides0000644000000000000000000000025212265532447012560 0ustar # Built with -D_FORTIFY_SOURCE=2, but read() calls not verifiable at run-time. libfilter-perl: hardening-no-fortify-functions usr/lib/perl5/auto/Filter/Util/Exec/Exec.so debian/source/0000755000000000000000000000000012265532447010500 5ustar debian/source/format0000644000000000000000000000001412265532447011706 0ustar 3.0 (quilt) debian/patches/0000755000000000000000000000000012265533065010624 5ustar debian/patches/examples-reference.patch0000644000000000000000000000160312265532447015422 0ustar From 413f46dbd09cd0231d1166adfead01dd5d1eb4a7 Mon Sep 17 00:00:00 2001 From: Colin Watson Date: Wed, 15 Jan 2014 16:19:51 +0000 Subject: Refer to encryption/decryption scripts from Filter::decrypt(3pm) Bug-Debian: http://bugs.debian.org/566739 Forwarded: no Last-Update: 2010-05-26 Patch-Name: examples-reference.patch --- decrypt/decrypt.pm | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/decrypt/decrypt.pm b/decrypt/decrypt.pm index 541d182..7289065 100644 --- a/decrypt/decrypt.pm +++ b/decrypt/decrypt.pm @@ -104,6 +104,11 @@ If you feel that the source filtering mechanism is not secure enough you could try using the unexec/undump method. See the Perl FAQ for further details. +=head1 EXAMPLES + +See /usr/share/doc/libfilter-perl/examples/decrypt/ for examples of +encryption and decryption scripts using this filter. + =head1 AUTHOR Paul Marquess debian/patches/no-inplace.patch0000644000000000000000000000136512265532447013702 0ustar From 34e7ecf0c26875a2eb0e826983f8a6161f471901 Mon Sep 17 00:00:00 2001 From: Colin Watson Date: Wed, 15 Jan 2014 16:19:49 +0000 Subject: Disable in-place editing in Makefile.PL Forwarded: no Last-Update: 2010-05-26 Patch-Name: no-inplace.patch --- Makefile.PL | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile.PL b/Makefile.PL index 071a55f..d7df4cf 100755 --- a/Makefile.PL +++ b/Makefile.PL @@ -115,7 +115,7 @@ sub MY::libscan sub oldWarnings { - local ($^I) = ".bak" ; + local ($^I) = "" ; local (@ARGV) = @_ ; while (<>) @@ -139,7 +139,7 @@ sub oldWarnings sub newWarnings { - local ($^I) = ".bak" ; + local ($^I) = "" ; local (@ARGV) = @_ ; while (<>) debian/patches/perlfilter-man-section.patch0000644000000000000000000000165112265532447016236 0ustar From 9e8573df4746859442e86a016b19e5a2f5d0aa48 Mon Sep 17 00:00:00 2001 From: Colin Watson Date: Wed, 15 Jan 2014 16:19:50 +0000 Subject: Install perlfilter manual page in section 1, not 3 Forwarded: no Last-Update: 2013-04-28 Patch-Name: perlfilter-man-section.patch --- Makefile.PL | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/Makefile.PL b/Makefile.PL index d7df4cf..c43db39 100755 --- a/Makefile.PL +++ b/Makefile.PL @@ -113,6 +113,20 @@ sub MY::libscan #' ; #} +{ + package MY; + + # Fun hack by cjwatson to get perlfilter.pod manified in section 1 with + # all the other perl*.pod pages. + sub constants { + my ($self) = @_; + $self->{MAN1PODS}->{'perlfilter.pod'} = + $self->catfile("\$(INST_MAN1DIR)", "perlfilter.\$(MAN1EXT)"); + delete $self->{MAN3PODS}->{'perlfilter.pod'}; + $self->SUPER::constants(); + } +} + sub oldWarnings { local ($^I) = "" ; debian/patches/shebang.patch0000644000000000000000000000250312265532447013257 0ustar From 4ed796e0e9df4d3e01eabd860f9be275f86a1324 Mon Sep 17 00:00:00 2001 From: Colin Watson Date: Wed, 15 Jan 2014 16:19:48 +0000 Subject: Apply #!/usr/bin/perl to all installed Perl scripts Forwarded: no Last-Update: 2010-05-26 Patch-Name: shebang.patch --- decrypt/decr | 2 +- decrypt/encrypt | 1 + examples/filtdef | 2 +- examples/filtuu | 1 + 4 files changed, 4 insertions(+), 2 deletions(-) diff --git a/decrypt/decr b/decrypt/decr index 592414e..66cfcef 100644 --- a/decrypt/decr +++ b/decrypt/decr @@ -1,4 +1,4 @@ -#!/usr/local/bin/perl +#!/usr/bin/perl # This script will decrypt a Perl script that has been encrypted using the # "encrypt" script. It cannot decrypt any other kind of encrypted Perl script. diff --git a/decrypt/encrypt b/decrypt/encrypt index 314612a..c92a62b 100755 --- a/decrypt/encrypt +++ b/decrypt/encrypt @@ -1,3 +1,4 @@ +#!/usr/bin/perl require 5.002 ; diff --git a/examples/filtdef b/examples/filtdef index 6e47dea..97af007 100755 --- a/examples/filtdef +++ b/examples/filtdef @@ -1,4 +1,4 @@ -#!/usr/local/bin/perl +#!/usr/bin/perl use strict ; use warnings ; diff --git a/examples/filtuu b/examples/filtuu index e16ab39..dfebfc5 100755 --- a/examples/filtuu +++ b/examples/filtuu @@ -1,3 +1,4 @@ +#!/usr/bin/perl print "use Filter::UUdecode ;\n" ; while (<>) { debian/patches/series0000644000000000000000000000012512265532447012042 0ustar shebang.patch no-inplace.patch perlfilter-man-section.patch examples-reference.patch debian/compat0000644000000000000000000000000212265532447010376 0ustar 9 debian/control0000644000000000000000000000220212265533365010577 0ustar Source: libfilter-perl Section: perl Priority: optional Maintainer: Colin Watson Build-Depends: dpkg-dev (>= 1.16.1~), debhelper (>= 9~), perl (>= 5.8.0-3), libtest-pod-perl (>= 1.00) Standards-Version: 3.9.5 Homepage: http://www.cpan.org/modules/by-module/Filter/ Vcs-Git: git://anonscm.debian.org/users/cjwatson/libfilter-perl.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=users/cjwatson/libfilter-perl.git Package: libfilter-perl Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, ${perl:Depends} Suggests: libcompress-zlib-perl Description: Perl source filters Source filters alter the program text of a module before Perl sees it, much as a C preprocessor alters the source text of a C program before the compiler sees it. . This package contains a number of source filters, including: . exec and sh: pipe the source file through an external command cpp: pipe the source file through the C preprocessor decrypt: example of simple (though weak!) source obfuscation tee: copy filtered source to a file (debugging aid) . A substantial amount of documentation and examples is also included. debian/changelog0000644000000000000000000001551512265533434011056 0ustar libfilter-perl (1.49-2) unstable; urgency=medium * Switch to git; add Vcs-* fields. * Policy version 3.9.5: refer to GPL-1 in copyright file rather than unversioned GPL. -- Colin Watson Wed, 15 Jan 2014 16:28:10 +0000 libfilter-perl (1.49-1) unstable; urgency=low * New upstream release. -- Colin Watson Sun, 28 Apr 2013 14:46:58 +0100 libfilter-perl (1.45-1) unstable; urgency=low * New upstream release. * Upgrade to debhelper 9 to improve hardening flags support. * Add a Lintian override for hardening-no-fortify-functions in /usr/lib/perl5/auto/Filter/Util/Exec/Exec.so; -D_FORTIFY_SOURCE=2 is used, but its read() calls appear not to be verifiable at run-time. -- Colin Watson Fri, 22 Jun 2012 13:35:25 +0100 libfilter-perl (1.43-1) unstable; urgency=low * New upstream release. - Fix tee and all tests to work with Perl 5.14 and higher. * Build-depend on libtest-pod-perl (>= 1.00) for t/pod.t. -- Colin Watson Wed, 07 Mar 2012 10:42:01 +0000 libfilter-perl (1.39-1) unstable; urgency=low * New upstream release. - Fix decrypt to work with Perl 5.14 (closes: #627807). -- Colin Watson Tue, 24 May 2011 23:03:05 +0100 libfilter-perl (1.37-4) unstable; urgency=low * Convert to source format 3.0 (quilt). All patches are now maintained separately and tagged according to DEP-3. * Policy version 3.8.4: no changes required. -- Colin Watson Sun, 06 Jun 2010 23:42:49 +0100 libfilter-perl (1.37-3) unstable; urgency=low * Install decrypt/encrypt and decrypt/decr into /usr/share/doc/libfilter-perl/examples/decrypt/, and point to them from the Filter::decrypt(3pm) documentation (closes: #566739). -- Colin Watson Sun, 24 Jan 2010 23:18:03 +0000 libfilter-perl (1.37-2) unstable; urgency=low * Add ${misc:Depends}. * Policy version 3.8.3: no changes required. -- Colin Watson Mon, 07 Sep 2009 01:34:07 +0100 libfilter-perl (1.37-1) unstable; urgency=low * New upstream release. * Update DEB_BUILD_OPTIONS parsing code from policy 3.8.0. * Convert to debhelper 7. * Policy version 3.8.2. -- Colin Watson Sun, 26 Jul 2009 18:34:42 +0100 libfilter-perl (1.34-1) unstable; urgency=low * New upstream release. - Support Perl 5.10 (closes: #466751). * Update copyright dates. -- Colin Watson Thu, 21 Feb 2008 09:18:07 +0000 libfilter-perl (1.31-2) unstable; urgency=low * Add ${shlibs:Depends} and call dh_shlibdeps. * Don't ignore errors from 'make realclean' other than the Makefile not existing. * Use debhelper v4. * Add a Homepage field. * Policy version 3.7.3: no changes required. * debian/watch: use dist-based URL. -- Colin Watson Thu, 17 Jan 2008 23:56:29 +0000 libfilter-perl (1.31-1) unstable; urgency=low * New upstream release (closes: #329543). * Remove my Makefile.PL hack for Subversion from 1.29-2, which is no longer necessary with current perl. * Policy version 3.6.2: no changes required. -- Colin Watson Thu, 22 Sep 2005 09:32:09 +0100 libfilter-perl (1.30-2) unstable; urgency=low * Upgrade debian/watch to format version 2. * Improve package description, based on a suggestion by Anthony DeRobertis (closes: #258801). * Policy version 3.6.1: no changes required. -- Colin Watson Sun, 11 Jul 2004 20:22:59 +0100 libfilter-perl (1.30-1) unstable; urgency=low * New upstream release. -- Colin Watson Tue, 19 Aug 2003 00:47:33 +0100 libfilter-perl (1.29-2) unstable; urgency=low * debian/copyright: Copy Perl's licensing terms rather than referring to them. * debian/watch: Improve pattern to avoid downloading Filter::Trigraphs by mistake. * debian/control: Change section from interpreters to perl. * debian/rules: Move debhelper compatibility level to debian/compat. Requires debhelper 3.4.4. * Makefile.PL: Add workaround from #190065 to cope with keeping the package in Subversion. -- Colin Watson Sat, 24 May 2003 12:06:16 +0100 libfilter-perl (1.29-1) unstable; urgency=low * New upstream release (closes: #193820). * Policy version 3.5.10: drop DEB_BUILD_OPTIONS=debug and support noopt. * Clean up "Upstream Author(s)" in debian/copyright (lintian). -- Colin Watson Wed, 21 May 2003 00:22:55 +0100 libfilter-perl (1.28-3) unstable; urgency=low * Add a pointer to /usr/share/doc/perl/copyright in the copyright file (closes: #157586). -- Colin Watson Mon, 26 Aug 2002 03:19:07 +0100 libfilter-perl (1.28-2) unstable; urgency=low * Rebuild for perl 5.8. Bumped perl build-dependency to 5.8.0-3. -- Colin Watson Wed, 31 Jul 2002 13:41:45 +0000 libfilter-perl (1.28-1) unstable; urgency=low * New upstream release. -- Colin Watson Sat, 26 Jan 2002 15:22:33 +0000 libfilter-perl (1.25-1) unstable; urgency=low * New upstream release. * Policy version 3.5.6, Perl policy version 1.20 (versioned build-dependency on perl). * Actually build-depend on perl 5.6.1 so that new warnings are used. * Add evil hack to Makefile.PL to install perlfilter.pod in section 1p. -- Colin Watson Thu, 4 Oct 2001 01:06:04 +0100 libfilter-perl (1.23-1) unstable; urgency=low * New upstream release. * Build-depend on debhelper (>= 3.0.18), in accordance with version 1.19 of the Perl policy. -- Colin Watson Sat, 19 May 2001 15:31:52 +0100 libfilter-perl (1.22-1) unstable; urgency=low * New upstream release. * Updated policy version to 3.5.2. * Install our perlfilter documentation; vendor packages now put podfiles in a different place to core packages, and while perl-doc installs perlfilter(1) we happen to install perlfilter(3pm). I've filed a bug against perl-doc asking for the perlfilter documentation to be removed from there, as otherwise man will show perlfilter(1) in preference. -- Colin Watson Sun, 4 Mar 2001 17:59:08 +0000 libfilter-perl (1.20-2) unstable; urgency=low * Update to new Perl policy. * Suggest libcompress-zlib-perl for the benefit of the filtdef example. -- Colin Watson Thu, 15 Feb 2001 12:01:29 +0000 libfilter-perl (1.20-1) unstable; urgency=low * Uploaded to Debian (closes: #85155, #85343). * New maintainer address. * New upstream release. * Updated policy version to 3.5.0. * Fixed debian/watch. -- Colin Watson Fri, 9 Feb 2001 21:26:49 +0000 libfilter-perl (1.19-1) unstable; urgency=low * Initial Release. -- Colin Watson Wed, 27 Dec 2000 21:42:32 +0000