debian/0000755000000000000000000000000012223100731007155 5ustar debian/rules0000755000000000000000000000036112223100731010235 0ustar #!/usr/bin/make -f PACKAGE := $(shell dh_listpackages) TMP := $(CURDIR)/debian/$(PACKAGE) %: dh $@ override_dh_installexamples: dh_installexamples sed -i "s,^#! perl,#! /usr/bin/perl," $(TMP)/usr/share/doc/$(PACKAGE)/examples/*.pl debian/control0000644000000000000000000000214412223100731010561 0ustar Source: libfile-libmagic-perl Section: perl Priority: optional Build-Depends: debhelper (>= 9.20120312), libmagic-dev (>= 1:5.14-2) | libmagic-dev (<< 1:5.14-1~), perl Maintainer: Debian Perl Group Uploaders: Ryan Niebur , Ansgar Burchardt , gregor herrmann Standards-Version: 3.9.4 Homepage: https://metacpan.org/release/File-LibMagic/ Vcs-Git: git://anonscm.debian.org/pkg-perl/packages/libfile-libmagic-perl.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-perl/packages/libfile-libmagic-perl.git Package: libfile-libmagic-perl Architecture: any Depends: ${misc:Depends}, ${perl:Depends}, ${shlibs:Depends}, libmagic1 (>= 5.10) Description: Perl interface to libmagic for determining file type The File::LibMagic module is a simple perl interface to libmagic from the file-4.x or file-5.x package from Christos Zoulas (ftp://ftp.astron.com/pub/file/). . Libmagic is a library for detecting file type, and works like file(1). debian/source/0000755000000000000000000000000012223100731010455 5ustar debian/source/format0000644000000000000000000000001412223100731011663 0ustar 3.0 (quilt) debian/changelog0000644000000000000000000000627012223100731011034 0ustar libfile-libmagic-perl (1.00-1) unstable; urgency=low * New upstream release. -- gregor herrmann Wed, 02 Oct 2013 22:27:40 +0200 libfile-libmagic-perl (0.99-1) unstable; urgency=low * New upstream release. * Update patches: - drop do-not-link-libz.patch, file-5.10.patch, new-devel-checklib.patch (merged upstream) - refresh fix-checklib-fail.patch (offset) * Update upstream copyright. * Drop debian/clean: the files are not modified anymore. And the build fails when they are removed. -- gregor herrmann Tue, 27 Aug 2013 23:28:17 +0200 libfile-libmagic-perl (0.96-4) 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 ] * Update bundled Devel::CheckLib via a quilt patch. (Closes: #708074) * Update versioned build dependency on libmagic-dev to avoid #708281. * Use debhelper 9.20120312 to get all hardening flags. * Set Standards-Version to 3.9.4 (no changes). * Update years of packaging copyright. -- gregor herrmann Tue, 21 May 2013 17:45:01 +0200 libfile-libmagic-perl (0.96-3) unstable; urgency=low * Team upload * Add fix-checklib-fail.patch -- Alessandro Ghedini Tue, 07 Aug 2012 22:53:59 +0200 libfile-libmagic-perl (0.96-2) unstable; urgency=low [ Ansgar Burchardt ] * Email change: Ansgar Burchardt -> ansgar@debian.org * debian/control: Convert Vcs-* fields to Git. [ gregor herrmann ] * Add patch file-5.10.patch to deal with changes in file 5.10 in test suite. Thanks to Moritz Muehlenhoff for the bug report. (Closes: #661800) * debian/rules: remove override_dh_clean (svn era). * debian/copyright: update to copyright-format 1.0. * Switch to debhelper compatibility level 9 to pass CFLAGS to Makefile.PL/Build.PL. * Add /me to Uploaders. * Bump Standards-Version to 3.9.3 (no changes). -- gregor herrmann Thu, 01 Mar 2012 23:52:30 +0100 libfile-libmagic-perl (0.96-1) unstable; urgency=low [ Ryan Niebur ] * New upstream release * update copyright * Update ryan52's email address [ 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). [ Ansgar Burchardt ] * Do not link libz. (Closes: #577288) + new patch: do-not-link-libz.patch * No longer install README. * Use source format 3.0 (quilt). * Use tiny debian/rules. * Update debian/copyright for current DEP-5 proposal. * Bump Standards-Version to 3.8.4. * Add myself to Uploaders. -- Ansgar Burchardt Sun, 11 Apr 2010 18:04:18 +0900 libfile-libmagic-perl (0.91-2) unstable; urgency=low * Fix FTBFS (Closes: #520870) -- Ryan Niebur Mon, 23 Mar 2009 09:33:19 -0700 libfile-libmagic-perl (0.91-1) unstable; urgency=low * Initial Release. (Closes: #519621) -- Ryan Niebur Fri, 20 Mar 2009 21:49:37 -0700 debian/compat0000644000000000000000000000000212223100731010353 0ustar 9 debian/patches/0000755000000000000000000000000012223100731010604 5ustar debian/patches/fix-checklib-fail.patch0000644000000000000000000000066212223100731015072 0ustar Description: Trigger build failure when libmagic is not found Origin: vendor Forwarded: not-needed Author: Alessandro Ghedini Reviewed-by: Alessandro Ghedini Last-Update: 2013-08-27 --- a/Makefile.PL +++ b/Makefile.PL @@ -9,7 +9,7 @@ use lib qw( inc ); use Devel::CheckLib; -check_lib_or_exit( lib => 'magic', header => 'magic.h' ); +assert_lib( lib => 'magic', header => 'magic.h' ); debian/patches/series0000644000000000000000000000003012223100731012012 0ustar fix-checklib-fail.patch debian/copyright0000644000000000000000000000265312223100731011116 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: File-LibMagic Upstream-Contact: Dave Rolsky Source: https://metacpan.org/release/File-LibMagic/ Files: * Copyright: 2005-2013, Andreas Fitzner 2005-2013, Michael Hendricks 2013, Dave Rolsky License: Artistic or GPL-1+ Files: inc/Devel/CheckLib.pm Copyright: 2007, David Cantrell 2007, David Golden License: Artistic or GPL-1+ Files: ppport.h Copyright: 2004-2010, Marcus Holland-Moritz 2001, Paul Marquess (Version 2.x) 1999, Kenneth Albanowski (Version 1.x) License: Artistic or GPL-1+ Files: debian/* Copyright: 2009, Ryan Niebur 2012-2013, gregor herrmann 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 the GNU General Public License can be found in `/usr/share/common-licenses/GPL-1'. debian/watch0000644000000000000000000000017012223100731010204 0ustar version=3 https://metacpan.org/release/File-LibMagic/ .*/File-LibMagic-v?(\d[\d.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$ debian/libfile-libmagic-perl.examples0000644000000000000000000000001212223100731015021 0ustar example/*