--- makepatch-2.03.orig/Makefile.PL +++ makepatch-2.03/Makefile.PL @@ -57,7 +57,7 @@ my $TMPDIR = $ENV{TMPDIR} || $ENV{TEMP}; $TMPDIR = File::Spec->tmpdir if !$TMPDIR && File::Spec->can("tmpdir"); -$TMPDIR ||= "/usr/tmp"; +$TMPDIR ||= "/tmp"; unless ( -d $TMPDIR && -w $TMPDIR ) { print STDERR < Mon, 27 Dec 2021 22:14:29 +0200 + +makepatch (2.03-1.1) unstable; urgency=medium + + * Non-maintainer upload. + * Fix "FTBFS with perl 5.22 in experimental (MakeMaker changes)": + use DESTDIR in debian/rules. + (Closes: #795626) + + -- gregor herrmann Wed, 26 Aug 2015 18:01:41 +0200 + +makepatch (2.03-1) unstable; urgency=low + + * New upstream release. + * My changes to remove warnings are no longer necessary. + * Bump Standards-Version to 3.7.3 (no changes). + * Change debhelper compatibility level from 3 to 7. + + -- Roderick Schertler Wed, 23 Jul 2008 10:14:30 -0400 + +makepatch (2.00.12-1) unstable; urgency=low + + * New upstream release. + * Remove warnings in makepatch: + - Use IO::File rather than IO. + - Don't use pseudo-hashes. + * Convert changelog to UTF-8. + * Remove change list from copyright. The only difference is that the + scripts use /tmp rather than /usr/tmp by default. + + -- Roderick Schertler Mon, 23 Aug 2004 10:11:18 -0400 + +makepatch (2.00.09-1.1) unstable; urgency=low + + * Sponsored Non-maintainer upload by Alexander Wirt + * applypatch: "use IO::File", not "use IO" 'cause the latter is deprecated + (Closes: #223188) + * debian/control: + - Moved perl to B-D-I + - Bumped Standards-Version (no other changes) + + -- Marc Brockschmidt Sat, 13 Dec 2003 17:49:42 +0100 + +makepatch (2.00.09-1) unstable; urgency=low + + * New upstream release. + + -- Roderick Schertler Fri, 20 Sep 2002 09:39:03 -0400 + +makepatch (2.00.08-1) unstable; urgency=low + + * New upstream release. + + -- Roderick Schertler Fri, 23 Aug 2002 08:32:44 -0400 + +makepatch (2.00.03-1) unstable; urgency=medium + + * New upstream version. + * Update to policy 3.5.2. + * Update to latest Perl policy. + + -- Roderick Schertler Tue, 13 Mar 2001 21:00:20 -0500 + +makepatch (2.00a-3) unstable; urgency=medium + + * Move man pages to /usr/share/man (closes: #81443). + * Update standards version to 3.2.1 (no changes). + + -- Roderick Schertler Fri, 9 Feb 2001 23:52:28 -0500 + +makepatch (2.00a-2) unstable; urgency=medium + + * Don't run -B on a filehandle, patch from Raphaƫl Hertzog + (closes: #41624). + + -- Roderick Schertler Fri, 30 Jul 1999 10:12:45 -0400 + +makepatch (2.00a-1) unstable; urgency=low + + * New upstream release. + * Simple updates for 3.0.0 standards. + * Simple updates for new Perl policy. + + -- Roderick Schertler Thu, 15 Jul 1999 11:07:36 -0400 + +makepatch (1.93-1) unstable; urgency=low + + * New upstream release. + * Oops, move Depends to binary package section of control file, and add + perl dependency. + + -- Roderick Schertler Tue, 6 Oct 1998 19:31:52 -0400 + +makepatch (1.13-3) frozen unstable; urgency=low + + * Oops, upload to frozen in addition to unstable. This version contains + only two bug fixes, one is for a security hole (#21563). + * Update the list of changes from the standard distribution in the + copyright file. + + -- Roderick Schertler Fri, 22 May 1998 11:06:24 -0400 + +makepatch (1.13-2) unstable; urgency=low + + * Use tempfile for temporary files (closes: #21563). + * Messages sent to stderr weren't working properly if stdout and stderr + were both connected to a terminal, fix and send patch upstream. + * Update Standards-Version to 2.4.1.0 (no changes). + + -- Roderick Schertler Fri, 22 May 1998 10:39:48 -0400 + +makepatch (1.13-1) unstable; urgency=low + + * Initial version. + + -- Roderick Schertler Sun, 1 Mar 1998 10:09:06 -0500 + +$Id: changelog,v 1.17 2008-07-23 14:28:30 roderick Exp $ --- makepatch-2.03.orig/debian/compat +++ makepatch-2.03/debian/compat @@ -0,0 +1 @@ +7 --- makepatch-2.03.orig/debian/control +++ makepatch-2.03/debian/control @@ -0,0 +1,26 @@ +Source: makepatch +Section: utils +Priority: optional +Maintainer: Debian QA Group +Standards-Version: 3.7.3 +Build-Depends: debhelper (>= 3.0.5) +Build-Depends-Indep: perl (>= 5.6.0-16) + +Package: makepatch +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends}, ${perl:Depends} +Description: generate/apply patch files with more functionality than plain diff + This package contains a pair of programs, makepatch and applypatch, to + assist in the generation and application of patch kits to synchronise + source trees. + . + makepatch knows about common conventions for patch kits (it generates + Index: and Prereq: lines, it patches patchlevel.h first, it can use + manifest files), plus it prepends some shell code which if run will + take care adding directories, removing files, setting execute mode on + scripts, and the like. + . + applypatch uses some extra data supplied by makepatch to verify both the + patch and the source directory before applying the patch. Afterwards it + will clean up the directory tree plus fix up the permissions and even + the timestamps on the patched files. --- makepatch-2.03.orig/debian/copyright +++ makepatch-2.03/debian/copyright @@ -0,0 +1,24 @@ +$Id: copyright,v 1.7 2004-08-23 14:14:32 roderick Exp $ + +This is a Debian prepackaged version of makepatch. It was put together +by Roderick Schertler with sources obtained from +. + +Copyright: + + This program is Copyright 1992,1998 by Squirrel Consultancy. All + rights reserved. + + 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. + + 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 either the + GNU General Public License or the Artistic License for more details. + +On Debian systems, the complete text of the GNU General Public License +can be found in `/usr/share/common-licenses/GPL'. --- makepatch-2.03.orig/debian/rules +++ makepatch-2.03/debian/rules @@ -0,0 +1,74 @@ +#!/usr/bin/make -f + +# $Id: rules,v 1.7 2008-07-23 14:28:30 roderick Exp $ + +dt := debian/makepatch +prefix = `pwd`/$(dt) +stamp_build := debian/stamp.build +stamp_install := debian/stamp.install +clean := $(stamp_build) $(stamp_install) t/d1/tdata2 t/d2/tdata2 + +ifneq "" "$(findstring debug,$(DEB_BUILD_OPTIONS))" + CFLAGS += -g +endif +PERL ?= perl + +build: $(stamp_build) +$(stamp_build): + dh_testdir + $(PERL) Makefile.PL INSTALLDIRS=vendor + $(MAKE) OPTIMIZE="-O2 -Wall $(CFLAGS)" + $(MAKE) test + touch $@ + +install: $(stamp_install) +$(stamp_install): $(stamp_build) + dh_testdir + dh_testroot + dh_prep + dh_installdirs + $(MAKE) install DESTDIR=$(prefix) + find $(prefix) -depth -type d -print0 | \ + xargs -0r rmdir --ignore-fail-on-non-empty + touch $@ + +clean: + dh_testdir + dh_testroot + [ ! -f Makefile ] || $(MAKE) realclean + dh_clean $(clean) + +binary: binary-indep binary-arch +binary-arch: +binary-indep: $(stamp_install) + dh_testdir + dh_testroot +# dh_installdebconf + dh_installdocs + dh_installexamples + dh_installmenu +# dh_installlogrotate +# dh_installemacsen +# dh_installpam +# dh_installmime +# dh_installinit + dh_installcron + dh_installman + dh_installinfo +# dh_undocumented + dh_installchangelogs CHANGES + dh_link + dh_strip + dh_compress + dh_fixperms +# dh_makeshlibs + dh_installdeb + dh_perl + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +build-arch: build +build-indep: build +.PHONY: build build-arch build-indep install clean binary-indep binary-arch binary --- makepatch-2.03.orig/debian/watch +++ makepatch-2.03/debian/watch @@ -0,0 +1,5 @@ +# $Id: watch,v 1.2 2004-08-23 14:14:18 roderick Exp $ + +version=2 + +http://www.cpan.org/authors/Johan_Vromans/makepatch-(\d.*)\.tar\.gz --- makepatch-2.03.orig/script/makepatch +++ makepatch-2.03/script/makepatch @@ -64,7 +64,7 @@ my @workq = (); # pre/post work my $TMPDIR = $ENV{TMPDIR} || $ENV{TEMP}; $TMPDIR = File::Spec->tmpdir if !$TMPDIR && File::Spec->can("tmpdir"); -$TMPDIR ||= "/usr/tmp"; +$TMPDIR ||= "/tmp"; my $dot_u = File::Spec::Unix->curdir; # UNIX current dir my $dot = File::Spec->curdir; # current dir my $dotdot = File::Spec->updir; # parent dir @@ -1930,7 +1930,7 @@ =item TMPDIR C can be used to designate the area where temporary files are -placed. It defaults to C. +placed. It defaults to C. =item TEMP