head	1.3;
access;
symbols
	pkgsrc-2013Q2:1.2.0.14
	pkgsrc-2013Q2-base:1.2
	pkgsrc-2013Q1:1.2.0.12
	pkgsrc-2013Q1-base:1.2
	pkgsrc-2012Q4:1.2.0.10
	pkgsrc-2012Q4-base:1.2
	pkgsrc-2012Q3:1.2.0.8
	pkgsrc-2012Q3-base:1.2
	pkgsrc-2012Q2:1.2.0.6
	pkgsrc-2012Q2-base:1.2
	pkgsrc-2012Q1:1.2.0.4
	pkgsrc-2012Q1-base:1.2
	pkgsrc-2011Q4:1.2.0.2
	pkgsrc-2011Q4-base:1.2;
locks; strict;
comment	@# @;


1.3
date	2013.08.15.11.12.06;	author marino;	state dead;
branches;
next	1.2;
commitid	H8gHqh7qKxKFBx1x;

1.2
date	2011.11.14.02.00.20;	author marino;	state Exp;
branches;
next	1.1;

1.1
date	2011.11.02.21.13.28;	author marino;	state Exp;
branches;
next	;


desc
@@


1.3
log
@Remove pkgtools/tinderbox-dragonfly

This package is no longer in use, and is far behind upstream now.
It is heavily customized so maintenance is far from trivial.  There were
no objections to the announcement of my intentions to remove this package
which I made on package-users@@ a month ago.

I feel it is better to retire this package than allow it to bitrot further.
@
text
@$NetBSD: patch-av,v 1.2 2011/11/14 02:00:20 marino Exp $

--- ../FreeBSD/lib/makemake	2011-10-16 00:52:55.000000000 +0000
+++ lib/makemake
@@@@ -1,4 +1,4 @@@@
-#!/usr/bin/perl
+#!/usr/pkg/bin/perl
 #-
 # Copyright (c) 2004-2005 FreeBSD GNOME Team <freebsd-gnome@@FreeBSD.org>
 # All rights reserved.
@@@@ -139,7 +139,7 @@@@ my (
 );
 
 $portbase  = $ENV{'PORTSDIR'};
-$makecache = new Tinderbox::MakeCache($portbase, $ENV{'PKGSUFFIX'});
+$makecache = new Tinderbox::MakeCache($portbase, $ENV{'OPTNFILE'});
 
 while (scalar(@@PORTS)) {
         my $port    = shift @@PORTS;
@@@@ -162,7 +162,7 @@@@ while (scalar(@@PORTS)) {
         $pkgname = $makecache->PkgName($portdir);
 
         # Create a list of duds (ports that will not be attempted because they
-        # are marked IGNORE or FORBIDDEN).
+        # are marked _CBBH (aka not for this platform) ).
         if (!$noduds) {
                 my $dudpkg = $makecache->IgnoreList($portdir);
                 push @@duds, $dudpkg if ($dudpkg);
@@@@ -229,9 +229,9 @@@@ foreach my $key (keys %pkgdir) {
         printf MK "\t@@%s %s %s %s %s %s ",
             tinderLoc($pb, 'scripts', 'lib/portbuild'), $BUILD_NAME, $JAIL_NAME,
             $PORTSTREE_NAME, $ENV{'PORTBUILD_ARGS'};
-        printf MK "\"%s\" \"%s\" \"%s\" \"%s\" \"%s\" \"%s\" ", $edeplst, $pdeplst,
-            $fdeplst, $bdeplst, $rdeplst, $tdeplst;
-        printf MK "%s /usr/ports/%s\n", $pname, $key;
+        printf MK "\"%s\" \"%s\" \"%s\" \"%s\" \"%s\" \"%s\" ",
+            $edeplst, $pdeplst, $fdeplst, $bdeplst, $rdeplst, $tdeplst;
+        printf MK "%s /usr/pkgsrc/%s\n", $pname, $key;
 }
 
 close(MK);
@


1.2
log
@pkgtools/tinderbox-dragonfly: Several bug fixes

This update of tinderbox addresses several issues:
 1) Updates obsolete failure message on options.mk
 2) Adds support for PKG_DEVELOPER=yes
 3) Switches build failure default to build only once, twice is the option.
 4) Merge BOOTSTRAP_DEPENDS with FETCH_DEPENDS in order to maintain the
    same database structure as Tinderbox.  Removes two patches.
 5) Change behavior where leftover files immediately after package deinstall
    is no longer considered an error, but still list the files that do this.
 6) Add a way out of an infinite recursion loop as seen when the package
    name changed between portbuild and buildscript (considered a safeguard).
 7) Push the package name from portbuild to buildscript to avoid issue with
    php5 packages getting renamed to php53 (for example), which was the
    cause for the infinite loop on lang/pear.
 8) Fix enterbuild by allowing it to properly detected when the port has
    entered the sleep state.
 9) Fix php/pgsql bug on row limiting, should be fixed upstream for next
    released.  Requires old patch to be reincarnated.
10) Fix PLIST, several files were missing
11) Add utility script to add all 10K packages to database (this takes
    several hours to do)
@
text
@d1 1
a1 1
$NetBSD$
@


1.1
log
@Import pkgtools/tinderbox-dragonfly

Tinderbox is a well-known package building system for FreeBSD.
This commit ports the original Tinderbox to DragonFly.  The scripts
are highly platform specific, so only one operating system can be
supported per package.  With interest, alternative versions such as
tinderbox-netbsd and tinderbox-sunos could be developed fairly easily
as they would share the pkgsrc-specific changes with this package.

The repository for the project is:
https://github.com/jrmarino/pkgsrc-tinderbox
@
text
@d11 1
a11 6
@@@@ -135,11 +135,11 @@@@ if (!scalar(@@ARGV)) {
 my (
         %pkgdir,   %pkgdeps,  %pkgedeps, %pkgpdeps, %pkgfdeps,
         %pkgbdeps, %pkgrdeps, @@duds,     $portbase, $makecache,
-        %pkgtdeps,
+        %pkgtdeps, %pkgsdeps,
d20 1
a20 1
@@@@ -162,14 +162,15 @@@@ while (scalar(@@PORTS)) {
d29 1
a29 42
         }
 
-        my (@@edeps, @@pdeps, @@fdeps, @@bdeps, @@rdeps, @@tdeps) = ();
+        my (@@sdeps, @@edeps, @@pdeps, @@fdeps, @@bdeps, @@rdeps, @@tdeps) = ();
         $pkgdeps{$portdir}  = [];
+        $pkgsdeps{$portdir} = [];
         $pkgedeps{$portdir} = [];
         $pkgpdeps{$portdir} = [];
         $pkgfdeps{$portdir} = [];
@@@@ -177,6 +178,7 @@@@ while (scalar(@@PORTS)) {
         $pkgrdeps{$portdir} = [];
         $pkgtdeps{$portdir} = [];
         $pkgdir{$portdir}   = $pkgname;
+        push @@sdeps, $makecache->BootstrapDependsList($portdir); 
         push @@edeps, $makecache->ExtractDependsList($portdir);
         push @@pdeps, $makecache->PatchDependsList($portdir);
         push @@fdeps, $makecache->FetchDependsList($portdir);
@@@@ -184,6 +186,7 @@@@ while (scalar(@@PORTS)) {
         push @@rdeps, $makecache->RunDependsList($portdir);
         push @@tdeps, $makecache->TestDependsList($portdir);
 
+        findRunDepends(\@@sdeps, \%pkgsdeps, $portdir, $makecache, \@@PORTS);
         findRunDepends(\@@edeps, \%pkgedeps, $portdir, $makecache, \@@PORTS);
         findRunDepends(\@@pdeps, \%pkgpdeps, $portdir, $makecache, \@@PORTS);
         findRunDepends(\@@fdeps, \%pkgfdeps, $portdir, $makecache, \@@PORTS);
@@@@ -192,6 +195,7 @@@@ while (scalar(@@PORTS)) {
         findRunDepends(\@@tdeps, \%pkgtdeps, $portdir, $makecache, \@@PORTS);
 
         foreach my $depport (
+                @@{$pkgsdeps{$portdir}},
                 @@{$pkgedeps{$portdir}}, @@{$pkgpdeps{$portdir}},
                 @@{$pkgfdeps{$portdir}}, @@{$pkgbdeps{$portdir}},
                 @@{$pkgrdeps{$portdir}}, @@{$pkgtdeps{$portdir}},
@@@@ -216,6 +220,7 @@@@ cleanup($ds, 1, "Failed to open $builddi
 foreach my $key (keys %pkgdir) {
         my $pname    = $pkgdir{$key} . $ENV{'PKGSUFFIX'};
         my $pkgnames = makeList(\%pkgdir, 1, $makecache, @@{$pkgdeps{$key}});
+        my $sdeplst  = makeList(\%pkgdir, 1, $makecache, @@{$pkgsdeps{$key}});
         my $edeplst  = makeList(\%pkgdir, 1, $makecache, @@{$pkgedeps{$key}});
         my $pdeplst  = makeList(\%pkgdir, 1, $makecache, @@{$pkgpdeps{$key}});
         my $fdeplst  = makeList(\%pkgdir, 1, $makecache, @@{$pkgfdeps{$key}});
@@@@ -229,9 +234,10 @@@@ foreach my $key (keys %pkgdir) {
d36 2
a37 3
+        printf MK "\"%s\" \"%s\" \"%s\" \"%s\" \"%s\" \"%s\" \"%s\" ",
+            $edeplst, $pdeplst, $fdeplst, $bdeplst, $rdeplst, $tdeplst,
+            $sdeplst;
@

