--- cons-2.3.0.1+2.2.0.orig/cons +++ cons-2.3.0.1+2.2.0/cons @@ -1,4 +1,4 @@ -#!/usr/bin/env perl +#!/usr/bin/perl # NOTE: Cons intentionally does not use the "perl -w" option or # "use strict." Because Cons "configuration files" are actually @@ -1822,7 +1822,7 @@ sub new { my($class, $builder, $tgts) = @_; - bless { 'builder' => $builder, 'tgts' => $tgts }; + bless { 'builder' => $builder, 'env' => $builder->{env}, 'tgts' => $tgts }; } sub script { --- cons-2.3.0.1+2.2.0.orig/debian/rules +++ cons-2.3.0.1+2.2.0/debian/rules @@ -0,0 +1,37 @@ +#!/usr/bin/make -f + +build: + $(checkdir) + touch build + +clean: + $(checkdir) + rm -f build + dh_clean + +binary-arch: checkroot build + dh_testdir + +binary-indep: checkroot build + dh_testdir + #rm -rf debian/tmp + #install -d debian/tmp + dh_installdirs usr/bin usr/share/man/man1 + install -m755 cons debian/cons/usr/bin + zcat cons.1.gz > debian/cons/usr/share/man/man1/cons.1 + dh_installdocs README RELEASE + dh_installchangelogs CHANGES + dh_compress + dh_fixperms + dh_installdeb + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch + +checkroot: + dh_testdir + dh_testroot + +.PHONY: binary binary-arch binary-indep clean checkroot --- cons-2.3.0.1+2.2.0.orig/debian/control +++ cons-2.3.0.1+2.2.0/debian/control @@ -0,0 +1,37 @@ +Source: cons +Section: devel +Priority: optional +Maintainer: Hwei Sheng Teoh +Build-Depends-Indep: debhelper (>=4.9.1) +Standards-Version: 3.6.2.1 + +Package: cons +Architecture: all +Depends: perl, libdigest-md5-perl +Description: a Perl replacement for Make + Excerpted from the README file: + . + Cons is a system for constructing, primarily, software, but is quite + different from previous software construction systems. Cons was + designed from the ground up to deal easily with the construction of + software spread over multiple source directories. Cons makes it easy + to create build scripts that are simple, understandable and + maintainable. Cons ensures that complex software is easily and + accurately reproducible. + . + Cons uses a number of techniques to accomplish all of this. + Construction scripts are just Perl scripts, making them both easy to + comprehend and very flexible. Global scoping of variables is replaced + with an import/export mechanism for sharing information between + scripts, significantly improving the readability and maintainability + of each script. Construction environments are introduced: these are + Perl objects that capture the information required for controlling the + build process. Multiple environments are used when different semantics + are required for generating products in the build tree. Cons + implements automatic dependency analysis and uses this to globally + sequence the entire build. Variant builds are easily produced from a + single source tree. Intelligent build subsetting is possible, when + working on localized changes. Overrides can be setup to easily + override build instructions without modifying any scripts. MD5 + cryptographic signatures are associated with derived files, and are + used to accurately determine whether a given file needs to be rebuilt. --- cons-2.3.0.1+2.2.0.orig/debian/changelog +++ cons-2.3.0.1+2.2.0/debian/changelog @@ -0,0 +1,114 @@ +cons (2.3.0.1+2.2.0-1) unstable; urgency=low + + * Revert to version 2.2.0, the last known-to-be-good version + - (Closes: #346041) + - Unfortunately, 2.3.0 has horrible problems with non-trivial + dependencies which makes it pointless to use cons over make. + - The odd version string is to avoid using epochs. + * The dependency patch from 2.3.0-2 is still applied; if this causes + problems, please file a bug and I'll remove it. + + -- Hwei Sheng Teoh Fri, 13 Jan 2006 10:50:50 -0800 + +cons (2.3.0-2) unstable; urgency=low + + * Apply patch to fix a bug in the dependency code. + + -- Hwei Sheng Teoh Mon, 7 Nov 2005 15:51:36 -0800 + +cons (2.3.0-1) unstable; urgency=low + + * New maintainer (closes: #206100) + * New upstream release (closes: #205978) + * Cleaned up debian/rules and added debian/compat for updated debhelper + compatibility. + + -- Hwei Sheng Teoh Thu, 16 Jun 2005 13:13:11 -0700 + +cons (2.2.0-4) unstable; urgency=low + + * Switch to debhelper and do some cleanup. + + -- Santiago Vila Sun, 30 Jan 2005 19:35:00 +0100 + +cons (2.2.0-3) unstable; urgency=low + + * Ack NMU. Closes: #187647. + * Orphaning this package; setting maintainer to QA group. + + -- John Goerzen Mon, 18 Aug 2003 14:26:05 -0500 + +cons (2.2.0-2.1) unstable; urgency=low + + * NMU. + * Add Build-Depends-Indep field. Closes: #187647. + * Build package in binary-indep instead of binary-arch. + + -- Daniel Schepler Mon, 28 Jul 2003 14:05:14 -0700 + +cons (2.2.0-2) unstable; urgency=low + + * Include manpage. Closes: #90445. + + -- John Goerzen Tue, 24 Apr 2001 10:54:00 -0500 + +cons (2.2.0-1) unstable; urgency=low + + * New upstream release. Closes: #86440. + * Updated location of author's website in copyright file. + + -- John Goerzen Fri, 23 Feb 2001 09:57:39 -0500 + +cons (2.0.1-1) unstable; urgency=low + + * New upstream release. Closes: #60568. + + -- John Goerzen Tue, 8 Aug 2000 23:11:32 -0500 + +cons (1.5-1) unstable; urgency=low + + * New upstream release + * Updated to standards-version 3.0.1. + * Now has a manpage, PostScript docs obsolete. + * New manual file: RELEASE. + * Updated copyright file. + * Closes: #25188, #41463 + + -- John Goerzen Wed, 22 Sep 1999 08:09:28 -0500 + +cons (1.1-4.1) unstable; urgency=low + + * NMU for the perl upgrade. Closes: #41463 + * Corrected the perl dependency. + * Replaced the dependency to libmd5perl by libdigest-md5-perl + which replaces it. + * Upgraded standards-version to 3.0.0. Uses debstd. + * Added the link to undocumented where needed. Closes: #25188 + + -- Raphael Hertzog Thu, 22 Jul 1999 18:30:07 +0200 + +cons (1.1-4) frozen unstable; urgency=low + + * The -3 release did not make it into frozen. This one needs to or + else some archs will have a problem. + + -- John Goerzen Sun, 29 Nov 1998 11:16:05 -0600 + +cons (1.1-3) unstable; urgency=low + + * Fixed control, set arch to all. + Fixes #25451, #26285 + + -- John Goerzen Sat, 21 Nov 1998 20:50:39 -0600 + +cons (1.1-2) unstable; urgency=low + + * Added a dependency on libmd5-perl and perl >= 5.002 + + -- John Goerzen Sun, 29 Mar 1998 00:24:47 -0600 + +cons (1.1-1) unstable; urgency=low + + * Initial Release. + + -- John Goerzen Sun, 29 Mar 1998 00:00:55 -0600 --- cons-2.3.0.1+2.2.0.orig/debian/copyright +++ cons-2.3.0.1+2.2.0/debian/copyright @@ -0,0 +1,31 @@ +This package was debianized by John Goerzen jgoerzen@complete.org on +Sun, 29 Mar 1998 00:00:55 -0600. + +It was downloaded from CPAN in the directory: + +authors/Bob_Sidebotham/ + +You can find the file on the Web at: + +http://www.dsmit.com/cons/ + +Copyright: + +Copyright (c) 1996-1998 FORE Systems, Inc. All rights reserved. + +Permission to use, copy, modify and distribute this software and +its documentation for any purpose and without fee is hereby granted, +provided that the above copyright notice appear in all copies and +that both that copyright notice and this permission notice appear +in supporting documentation, and that the name of FORE Systems, Inc. +("FORE Systems") not be used in advertising or publicity pertaining to +distribution of the software without specific, written prior permission. + +FORE SYSTEMS DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, +INCLUDING ANY WARRANTIES REGARDING INTELLECTUAL PROPERTY RIGHTS AND +ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. IN NO EVENT SHALL FORE SYSTEMS BE LIABLE FOR ANY SPECIAL, +INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING +FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, +NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION +WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. --- cons-2.3.0.1+2.2.0.orig/debian/compat +++ cons-2.3.0.1+2.2.0/debian/compat @@ -0,0 +1 @@ +4