debian/0000755000000000000000000000000011763242633007175 5ustar debian/patches/0000755000000000000000000000000011763243123010617 5ustar debian/patches/README0000644000000000000000000000021111715070224011466 0ustar 0xxx: Grabbed from upstream development. 1xxx: Possibly relevant for upstream adoption. 2xxx: Only relevant for official Debian release. debian/patches/2001_avoid_non-DFSG_tests.patch0000644000000000000000000000157411763243123016230 0ustar Description: Avoid use of stripped non-DFSG files in testsuite Author: Jonas Smedegaard Last-Update: 2012-06-05 --- a/t/03lib.t +++ b/t/03lib.t @@ -13,7 +13,7 @@ use Data::ParseBinary::Data::Cap qw{$data_cap_parser}; use Data::ParseBinary::FileSystem::MBR qw{$mbr_parser}; use Data::ParseBinary::Data::Netflow qw($netflow_v5_parser); -use Test::More tests => 27; +use Test::More tests => 23; #use Test::More qw(no_plan); $| = 1; @@ -33,10 +33,10 @@ test_parse_build($wmf_parser, "wmf1.wmf"); -test_parse_only($pe32_parser, "notepad.exe"); -test_parse_only($pe32_parser, "sqlite3.dll"); +#test_parse_only($pe32_parser, "notepad.exe"); +#test_parse_only($pe32_parser, "sqlite3.dll"); -test_parse_build($elf32_parser, "_ctypes_test.so"); +#test_parse_build($elf32_parser, "_ctypes_test.so"); test_parse_build($data_cap_parser, "cap2.cap"); debian/patches/series0000644000000000000000000000004011763241676012041 0ustar 2001_avoid_non-DFSG_tests.patch debian/control0000644000000000000000000000200611763243231010571 0ustar Source: libdata-parsebinary-perl Section: perl Priority: optional Build-Depends: devscripts, cdbs (>= 0.4.73~), perl, debhelper, dh-buildinfo Maintainer: Debian Perl Group Uploaders: Jonas Smedegaard Standards-Version: 3.9.3 Vcs-Git: git://git.debian.org/git/pkg-perl/packages/libdata-parsebinary-perl Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-perl/packages/libdata-parsebinary-perl.git Homepage: http://search.cpan.org/dist/Data-ParseBinary/ Package: libdata-parsebinary-perl Architecture: all Depends: ${cdbs:Depends}, ${misc:Depends}, ${perl:Depends} Recommends: ${cdbs:Recommends} Suggests: ${cdbs:Suggests} Description: yet another parser for binary structures Data::ParseBinary is a Perl Port for PyConstructs . . Data::ParseBinary enables writing declarations for simple and complex binary structures, parsing binary to hash/array data structure, and building binary data from hash/array data structure. debian/source/0000755000000000000000000000000011752713702010473 5ustar debian/source/format0000644000000000000000000000001411373262460011700 0ustar 3.0 (quilt) debian/changelog0000644000000000000000000000027211763240356011050 0ustar libdata-parsebinary-perl (0.31~dfsg-1) unstable; urgency=low * Initial packaging release. Closes: bug#676101. -- Jonas Smedegaard Tue, 05 Jun 2012 01:12:41 +0200 debian/compat0000644000000000000000000000000211524363714010372 0ustar 7 debian/watch0000644000000000000000000000035211763237323010226 0ustar # Run the "uscan" command to check for upstream updates and more. version=3 opts=dversionmangle=s/\~dfsg.*//,uversionmangle=s/_(\d+)/~$1/ \ http://search.cpan.org/dist/Data-ParseBinary/ .*/Data-ParseBinary-([\d._]+)\.tar\.gz debian debian/copyright_hints0000644000000000000000000000277311763242617012350 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: FIXME Upstream-Contact: FIXME Source: FIXME Disclaimer: Autogenerated by CDBS Files: Changes MANIFEST META.yml Makefile.PL debian/compat debian/control debian/control.in debian/gbp.conf debian/patches/2001_avoid_non-DFSG_tests.patch debian/patches/README debian/patches/series debian/source/format debian/watch lib/Data/ParseBinary/Adapters.pm lib/Data/ParseBinary/Constructs.pm lib/Data/ParseBinary/Core.pm lib/Data/ParseBinary/Data/Cap.pm lib/Data/ParseBinary/Data/Netflow.pm lib/Data/ParseBinary/Executable/ELF32.pm lib/Data/ParseBinary/Executable/PE32.pm lib/Data/ParseBinary/FileSystem/MBR.pm lib/Data/ParseBinary/Graphics/BMP.pm lib/Data/ParseBinary/Graphics/EMF.pm lib/Data/ParseBinary/Graphics/PNG.pm lib/Data/ParseBinary/Graphics/WMF.pm lib/Data/ParseBinary/Stream/Bit.pm lib/Data/ParseBinary/Stream/File.pm lib/Data/ParseBinary/Stream/String.pm lib/Data/ParseBinary/Stream/StringBuffer.pm lib/Data/ParseBinary/Stream/Wrapper.pm lib/Data/ParseBinary/Streams.pm t/01various.t t/02streams.t t/03lib.t t/04encodings.t t/05bigint.t t/bitmapx1.bmp t/bitmapx24.bmp t/bitmapx4.bmp t/bitmapx8.bmp t/emf1.emf t/netflowv5.pdu t/png1.png t/png2.png t/wmf1.wmf Copyright: *No copyright* License: UNKNOWN FIXME Files: README lib/Data/ParseBinary.pm Copyright: 2008, Shmuel Fomberg License: UNKNOWN FIXME Files: debian/rules Copyright: 2012, Jonas Smedegaard License: GPL-2+ FIXME debian/copyright0000644000000000000000000000336711763237076011146 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: Data::ParseBinary Upstream-Contact: Fomberg Shmuel Source: http://search.cpan.org/dist/Data-ParseBinary/ Repackaged, excluding source-less and possibly non-DFSG binary code Files-Excluded: t/_ctypes_test.so t/notepad.exe t/python.exe t/sqlite3.dll Files: * Copyright: 2008, Fomberg Shmuel License: Artistic or GPL-1+ This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. Comment: Perl 5 is licensed under either the 'Artistic license' or the 'GNU General Public License' version 1 or later. Files: debian/* Copyright: 2012, Jonas Smedegaard License: GPL-2+ License: Artistic Comment: On Debian systems the 'Artistic License' is located in '/usr/share/common-licenses/Artistic'. License: GPL-1+ Comment: On Debian systems the 'GNU General Public License' version 1 is located in '/usr/share/common-licenses/GPL-1'. License: GPL-2+ 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 2, or (at your option) any later version. . This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. Comment: On Debian systems the 'GNU General Public License' version 2 is located in '/usr/share/common-licenses/GPL-2'. . You should have received a copy of the 'GNU General Public License' along with this program. If not, see . debian/gbp.conf0000644000000000000000000000014611373262460010612 0ustar # Configuration file for git-buildpackage and friends [DEFAULT] pristine-tar = True sign-tags = True debian/rules0000755000000000000000000000275511763237111010261 0ustar #!/usr/bin/make -f # -*- mode: makefile; coding: utf-8 -*- # Copyright 2012, Jonas Smedegaard # Description: Main Debian packaging script for Data::ParseBinary # # 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 2, or (at your option) # any later version. # # This program is distributed in the hope that it will be useful, but # WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see . include /usr/share/cdbs/1/rules/upstream-tarball.mk include /usr/share/cdbs/1/rules/utils.mk include /usr/share/cdbs/1/class/perl-makemaker.mk include /usr/share/cdbs/1/rules/debhelper.mk DEB_UPSTREAM_PACKAGE = Data-ParseBinary DEB_UPSTREAM_URL = http://www.cpan.org/modules/by-module/Data DEB_UPSTREAM_TARBALL_BASENAME_MANGLE = s/~/_/ DEB_UPSTREAM_TARBALL_MD5 = 8432e6c6d3e45ae32a0d6252a2c4d0c6 # source-less and possibly non-DFSG binary code DEB_UPSTREAM_REPACKAGE_EXCLUDES += \ ./t/_ctypes_test.so \ ./t/notepad.exe \ ./t/python.exe \ ./t/sqlite3.dll # Suppress a binary test file (in addition to default stuff) DEB_COPYRIGHT_CHECK_IGNORE_REGEX = ^(t/cap2\.cap|debian/(changelog|copyright(|_hints|_newhints)))$ debian/control.in0000644000000000000000000000171411763233373011211 0ustar Source: libdata-parsebinary-perl Section: perl Priority: optional Build-Depends: @cdbs@ Maintainer: Debian Perl Group Uploaders: Jonas Smedegaard Standards-Version: 3.9.3 Vcs-Git: git://git.debian.org/git/pkg-perl/packages/libdata-parsebinary-perl Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-perl/packages/libdata-parsebinary-perl.git Homepage: http://search.cpan.org/dist/Data-ParseBinary/ Package: libdata-parsebinary-perl Architecture: all Depends: ${cdbs:Depends}, ${misc:Depends}, ${perl:Depends} Recommends: ${cdbs:Recommends} Suggests: ${cdbs:Suggests} Description: yet another parser for binary structures Data::ParseBinary is a Perl Port for PyConstructs . . Data::ParseBinary enables writing declarations for simple and complex binary structures, parsing binary to hash/array data structure, and building binary data from hash/array data structure.