--- file-mmagic-1.25.orig/debian/changelog +++ file-mmagic-1.25/debian/changelog @@ -0,0 +1,114 @@ +file-mmagic (1.25-1) unstable; urgency=low + + * New upstream release + + -- NOKUBI Takatsugu Sun, 28 Aug 2005 18:27:50 +0900 + +file-mmagic (1.22-1) unstable; urgency=low + + * New upstream release + * Changed to treat string/[BCc] as same as string, closes #237277. + + -- NOKUBI Takatsugu Mon, 15 Mar 2004 17:29:12 +0900 + +file-mmagic (1.20-1) unstable; urgency=low + + * New upstream release + + -- NOKUBI Takatsugu Thu, 31 Jul 2003 22:05:54 +0900 + +file-mmagic (1.17-1) unstable; urgency=low + + * New upstream release + + -- NOKUBI Takatsugu Mon, 3 Mar 2003 22:01:32 +0900 + +file-mmagic (1.16-1) unstable; urgency=low + + * New upstream release + + -- NOKUBI Takatsugu Wed, 22 Jan 2003 16:50:25 +0900 + +file-mmagic (1.15-4) unstable; urgency=low + + * Oops, I had make a mistake... closes: Bug#157456. + + -- NOKUBI Takatsugu Tue, 27 Aug 2002 13:43:04 +0900 + +file-mmagic (1.15-3) unstable; urgency=low + + * Changed to make deb on binary-indep target, closes: Bug#15764. + + -- NOKUBI Takatsugu Wed, 21 Aug 2002 15:44:12 +0900 + +file-mmagic (1.15-2) unstable; urgency=low + + * Added debhelper in Build-Depends line, closes: Bug#141443. + + -- NOKUBI Takatsugu Mon, 8 Apr 2002 17:00:07 +0900 + +file-mmagic (1.15-1) unstable; urgency=low + + * New upstream release, Closes: Bug#131717. + + -- NOKUBI Takatsugu Fri, 22 Feb 2002 15:07:48 +0900 + +file-mmagic (1.13-1) unstable; urgency=low + + * New upstream release, Closes: Bug#100945, Bug#100946. + + -- NOKUBI Takatsugu Tue, 19 Jun 2001 14:27:03 +0900 + +file-mmagic (1.12-1) unstable; urgency=low + + * New upstream release + + * Adapted to new perl policy, Closes: Bug#95424. + + -- NOKUBI Takatsugu Tue, 3 Apr 2001 16:29:54 +0900 + +file-mmagic (1.11-1) unstable; urgency=low + + * New upstream version. + + -- NOKUBI Takatsugu Fri, 9 Feb 2001 09:42:52 +0900 + +file-mmagic (1.09-1) unstable; urgency=low + + * New upstream version. + + -- NOKUBI Takatsugu Wed, 11 Oct 2000 09:52:32 +0900 + +file-mmagic (1.08-3) unstable; urgency=low + + * Fixed some packaging mistakes. + + -- NOKUBI Takatsugu Mon, 25 Sep 2000 18:22:32 +0900 + +file-mmagic (1.08-2) unstable; urgency=low + + * Removed Makefile.old. + + * Fixed bad original archives. + + -- NOKUBI Takatsugu Mon, 25 Sep 2000 17:36:54 +0900 + +file-mmagic (1.08-1) unstable; urgency=low + + * New upstream release + + -- Takuo KITAME Wed, 13 Sep 2000 19:00:16 +0900 + +file-mmagic (1.07-1) unstable; urgency=low + + * New upstream release + + -- Takuo KITAME Mon, 21 Aug 2000 11:47:07 +0900 + +file-mmagic (1.06-1) unstable; urgency=low + + * Initial Release. + + -- Takuo KITAME Thu, 6 Apr 2000 09:31:44 +0900 + + --- file-mmagic-1.25.orig/debian/copyright +++ file-mmagic-1.25/debian/copyright @@ -0,0 +1,102 @@ +This package was debianized by Takuo KITAME on +Thu, 6 Apr 2000 09:31:44 +0900. + +This program is originated from file.kulp that is a production of The +Unix Reconstruction Projct. + +Copyright (c) 1999 NOKUBI Takatsugu . + +There is no warranty for the program. + +This product includes software developed by the Apache Group +for use in the Apache HTTP server project (http://www.apache.org/). + +Licence for the program is followed the original software. The licence is +below. + +This program is free and open software. You may use, copy, modify, distribute +and sell this program (and any modified variants) in any way you wish, +provided you do not restrict others to do the same, except for the following +consideration. + +I read some of Ian F. Darwin's BSD C implementation, to +try to determine how some of this was done since the specification +is a little vague. I don't believe that this perl version could +be construed as an "altered version", but I did grab the tokens for +identifying the hard-coded file types in names.h and copied some of +the man page. + +Here's his notice: + + * Copyright (c) Ian F. Darwin, 1987. + * Written by Ian F. Darwin. + * + * This software is not subject to any license of the American Telephone + * and Telegraph Company or of the Regents of the University of California. + * + * Permission is granted to anyone to use this software for any purpose on + * any computer system, and to alter it and redistribute it freely, subject + * to the following restrictions: + * + * 1. The author is not responsible for the consequences of use of this + * software, no matter how awful, even if they arise from flaws in it. + * + * 2. The origin of this software must not be misrepresented, either by + * explicit claim or by omission. Since few users ever read sources, + * credits must appear in the documentation. + * + * 3. Altered versions must be plainly marked as such, and must not be + * misrepresented as being the original software. Since few users + * ever read sources, credits must appear in the documentation. + * + * 4. This notice may not be removed or altered. + +The following is the Apache License. This program contains the magic file +that derived from the Apache HTTP Server. + + * Copyright (c) 1995-1999 The Apache Group. All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in + * the documentation and/or other materials provided with the + * distribution. + * + * 3. All advertising materials mentioning features or use of this + * software must display the following acknowledgment: + * "This product includes software developed by the Apache Group + * for use in the Apache HTTP server project (http://www.apache.org/)." + * + * 4. The names "Apache Server" and "Apache Group" must not be used to + * endorse or promote products derived from this software without + * prior written permission. For written permission, please contact + * apache@apache.org. + * + * 5. Products derived from this software may not be called "Apache" + * nor may "Apache" appear in their names without prior written + * permission of the Apache Group. + * + * 6. Redistributions of any form whatsoever must retain the following + * acknowledgment: + * "This product includes software developed by the Apache Group + * for use in the Apache HTTP server project (http://www.apache.org/)." + * + * THIS SOFTWARE IS PROVIDED BY THE APACHE GROUP ``AS IS'' AND ANY + * EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR + * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE APACHE GROUP OR + * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, + * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT + * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; + * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, + * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED + * OF THE POSSIBILITY OF SUCH DAMAGE. + --- file-mmagic-1.25.orig/debian/control +++ file-mmagic-1.25/debian/control @@ -0,0 +1,14 @@ +Source: file-mmagic +Section: interpreters +Priority: optional +Maintainer: NOKUBI Takatsugu +Build-Depends-Indep: perl (>= 5.6.0-16), debhelper +Standards-Version: 3.6.0 + +Package: libfile-mmagic-perl +Architecture: all +Depends: ${perl:Depends} +Description: Perl module to guess file type + File-MMagic is a Perl module to guess file type from its contents like file(1) + command. + It has built-in magic entry exported from mod_mime_magic Apache module. --- file-mmagic-1.25.orig/debian/rules +++ file-mmagic-1.25/debian/rules @@ -0,0 +1,82 @@ +#!/usr/bin/make -f +# Sample debian/rules that uses debhelper. +# GNU copyright 1997 to 1999 by Joey Hess. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +# This is the debhelper compatability version to use. +export DH_COMPAT=1 + +build: build-stamp +build-stamp: + dh_testdir + + # Add here commands to compile the package. + /usr/bin/perl Makefile.PL INSTALLDIRS=vendor + $(MAKE) +# make pure_install PREFIX=`pwd`/debian/tmp/usr + + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp + + # Add here commands to clean up after the build process. + -$(MAKE) clean + if [ -f Makefile.old ]; then rm Makefile.old; fi + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # Add here commands to install the package into debian/tmp. + $(MAKE) pure_install PREFIX=`pwd`/debian/tmp/usr +# INSTALLMAN3DIR=`pwd`/debian/tmp/usr/share/man/man3 + +# find debian/tmp -type f -name .packlist | xargs rm -f +# -find debian/tmp/usr/lib/perl5 -type d -empty | xargs rmdir -p + +# Build architecture-independent files here. +binary-indep: build install +# dh_testversion + dh_testdir + dh_testroot +# dh_installdebconf + dh_installdocs +# dh_installexamples +# dh_installmenu +# dh_installemacsen +# dh_installpam +# dh_installinit +# dh_installcron + dh_installmanpages +# dh_installinfo +# dh_undocumented + dh_installchangelogs ChangeLog +# dh_link + dh_strip + dh_compress + dh_fixperms + # You may want to make some executables suid here. +# dh_suidregister +# dh_makeshlibs + dh_installdeb + dh_perl + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +# Build architecture-dependent files here. +binary-arch: build install +# We have nothing to do by default. + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install --- file-mmagic-1.25.orig/debian/docs +++ file-mmagic-1.25/debian/docs @@ -0,0 +1,2 @@ +README.en +README.ja --- file-mmagic-1.25.orig/debian/watch +++ file-mmagic-1.25/debian/watch @@ -0,0 +1,5 @@ +# Example watch control file for uscan +# Rename this file to "watch" and then you can run the "uscan" command +# to check for upstream updates and more. +# Site Directory Pattern Version Script +ring.asahi-net.or.jp /pub/lang/perl/CPAN/modules/by-module/File File-MMagic-(.*)\.tar\.gz debian uupdate \ No newline at end of file