From b61478cd2f32d181ecfbd12be0094cab24069dda Mon Sep 17 00:00:00 2001 From: =?utf8?q?Zden=C4=9Bk=20=C5=A0ustr?= Date: Mon, 26 Jan 2009 16:07:03 +0000 Subject: [PATCH] The most recent version copied. Do not modify this instance (RW in ./org.glite.lb). --- org.glite.lb.doc/configure | 47 +++++++++++++++++++++++++++++++++++- org.glite.lb.logger/configure | 47 +++++++++++++++++++++++++++++++++++- org.glite.lb.state-machine/configure | 47 +++++++++++++++++++++++++++++++++++- org.glite.lb.ws-test/configure | 47 +++++++++++++++++++++++++++++++++++- 4 files changed, 184 insertions(+), 4 deletions(-) diff --git a/org.glite.lb.doc/configure b/org.glite.lb.doc/configure index e58d090..5e0efcb 100755 --- a/org.glite.lb.doc/configure +++ b/org.glite.lb.doc/configure @@ -21,6 +21,10 @@ my $help = 0; my $listmodules; my $version; my $output; +my $lb_tag = ''; +my $lbjp_tag = ''; +my $sec_tag = ''; +my $jobid_tag = ''; my @nodes = qw/client server logger utils client-java doc ws-test/; my %enable_nodes; @@ -73,6 +77,10 @@ my @opts = ( 'version=s' => \$version, 'output=s' => \$output, 'stage=s' => \$stagedir, + 'lb-tag=s' => \$lb_tag, + 'lbjp-common-tag=s' => \$lbjp_tag, + 'security-tag=s' => \$sec_tag, + 'jobid-tag=s' => \$jobid_tag, 'help' => \$help, ); @@ -222,9 +230,42 @@ sub mode_build { sub mode_checkout() { for (@modules) { + my $module = $_; + my $tag = ""; + if ($lb_tag){ + for (@{$lbmodules{lb}}){ + if ("lb.".$_ eq $module){ + $tag = '-r '.$lb_tag; + } + } + } + if ($lbjp_tag){ + for (@{$lbmodules{'lbjp-common'}}){ + if ("lbjp-common.".$_ eq $module){ + $tag = '-r '.$lbjp_tag; + } + } + } + if ($sec_tag){ + for (@{$lbmodules{security}}){ + if ("security.".$_ eq $module){ + $tag = '-r '.$sec_tag; + } + } + } + if ($jobid_tag){ + for (@{$lbmodules{jobid}}){ + if ("jobid.".$_ eq $module){ + $tag = '-r '.$jobid_tag; + } + } + } + #if (grep {"lb.".$_ eq $module} @{$lbmodules{lb}}){ + # print "found"; + #} $_ = full($_); print "\n*** Checking out $_\n"; - system("cvs checkout $_") == 0 or die "cvs checkout $_: $?\n"; + system("cvs checkout $tag $_") == 0 or die "cvs checkout $tag $_: $?\n"; } } @@ -573,6 +614,10 @@ What to build: --enable-NODE build this "node" (set of modules) only. Available nodes are @{$lbmodules{lb}},@{$lbmodules{security}} --disable-NODE don't build this node + --lb-tag=tag checkout LB modules with specific tag + --lbjp-common-tag=tag checkout lbjp-common modules with specific tag + --security-tag=tag checkout security modules with specific tag + --jobid-tag=tag checkout jobid modules with specific tag Dependencies: --with-EXTERNAL=PATH where to look for an external. Required externals diff --git a/org.glite.lb.logger/configure b/org.glite.lb.logger/configure index e58d090..5e0efcb 100755 --- a/org.glite.lb.logger/configure +++ b/org.glite.lb.logger/configure @@ -21,6 +21,10 @@ my $help = 0; my $listmodules; my $version; my $output; +my $lb_tag = ''; +my $lbjp_tag = ''; +my $sec_tag = ''; +my $jobid_tag = ''; my @nodes = qw/client server logger utils client-java doc ws-test/; my %enable_nodes; @@ -73,6 +77,10 @@ my @opts = ( 'version=s' => \$version, 'output=s' => \$output, 'stage=s' => \$stagedir, + 'lb-tag=s' => \$lb_tag, + 'lbjp-common-tag=s' => \$lbjp_tag, + 'security-tag=s' => \$sec_tag, + 'jobid-tag=s' => \$jobid_tag, 'help' => \$help, ); @@ -222,9 +230,42 @@ sub mode_build { sub mode_checkout() { for (@modules) { + my $module = $_; + my $tag = ""; + if ($lb_tag){ + for (@{$lbmodules{lb}}){ + if ("lb.".$_ eq $module){ + $tag = '-r '.$lb_tag; + } + } + } + if ($lbjp_tag){ + for (@{$lbmodules{'lbjp-common'}}){ + if ("lbjp-common.".$_ eq $module){ + $tag = '-r '.$lbjp_tag; + } + } + } + if ($sec_tag){ + for (@{$lbmodules{security}}){ + if ("security.".$_ eq $module){ + $tag = '-r '.$sec_tag; + } + } + } + if ($jobid_tag){ + for (@{$lbmodules{jobid}}){ + if ("jobid.".$_ eq $module){ + $tag = '-r '.$jobid_tag; + } + } + } + #if (grep {"lb.".$_ eq $module} @{$lbmodules{lb}}){ + # print "found"; + #} $_ = full($_); print "\n*** Checking out $_\n"; - system("cvs checkout $_") == 0 or die "cvs checkout $_: $?\n"; + system("cvs checkout $tag $_") == 0 or die "cvs checkout $tag $_: $?\n"; } } @@ -573,6 +614,10 @@ What to build: --enable-NODE build this "node" (set of modules) only. Available nodes are @{$lbmodules{lb}},@{$lbmodules{security}} --disable-NODE don't build this node + --lb-tag=tag checkout LB modules with specific tag + --lbjp-common-tag=tag checkout lbjp-common modules with specific tag + --security-tag=tag checkout security modules with specific tag + --jobid-tag=tag checkout jobid modules with specific tag Dependencies: --with-EXTERNAL=PATH where to look for an external. Required externals diff --git a/org.glite.lb.state-machine/configure b/org.glite.lb.state-machine/configure index e58d090..5e0efcb 100755 --- a/org.glite.lb.state-machine/configure +++ b/org.glite.lb.state-machine/configure @@ -21,6 +21,10 @@ my $help = 0; my $listmodules; my $version; my $output; +my $lb_tag = ''; +my $lbjp_tag = ''; +my $sec_tag = ''; +my $jobid_tag = ''; my @nodes = qw/client server logger utils client-java doc ws-test/; my %enable_nodes; @@ -73,6 +77,10 @@ my @opts = ( 'version=s' => \$version, 'output=s' => \$output, 'stage=s' => \$stagedir, + 'lb-tag=s' => \$lb_tag, + 'lbjp-common-tag=s' => \$lbjp_tag, + 'security-tag=s' => \$sec_tag, + 'jobid-tag=s' => \$jobid_tag, 'help' => \$help, ); @@ -222,9 +230,42 @@ sub mode_build { sub mode_checkout() { for (@modules) { + my $module = $_; + my $tag = ""; + if ($lb_tag){ + for (@{$lbmodules{lb}}){ + if ("lb.".$_ eq $module){ + $tag = '-r '.$lb_tag; + } + } + } + if ($lbjp_tag){ + for (@{$lbmodules{'lbjp-common'}}){ + if ("lbjp-common.".$_ eq $module){ + $tag = '-r '.$lbjp_tag; + } + } + } + if ($sec_tag){ + for (@{$lbmodules{security}}){ + if ("security.".$_ eq $module){ + $tag = '-r '.$sec_tag; + } + } + } + if ($jobid_tag){ + for (@{$lbmodules{jobid}}){ + if ("jobid.".$_ eq $module){ + $tag = '-r '.$jobid_tag; + } + } + } + #if (grep {"lb.".$_ eq $module} @{$lbmodules{lb}}){ + # print "found"; + #} $_ = full($_); print "\n*** Checking out $_\n"; - system("cvs checkout $_") == 0 or die "cvs checkout $_: $?\n"; + system("cvs checkout $tag $_") == 0 or die "cvs checkout $tag $_: $?\n"; } } @@ -573,6 +614,10 @@ What to build: --enable-NODE build this "node" (set of modules) only. Available nodes are @{$lbmodules{lb}},@{$lbmodules{security}} --disable-NODE don't build this node + --lb-tag=tag checkout LB modules with specific tag + --lbjp-common-tag=tag checkout lbjp-common modules with specific tag + --security-tag=tag checkout security modules with specific tag + --jobid-tag=tag checkout jobid modules with specific tag Dependencies: --with-EXTERNAL=PATH where to look for an external. Required externals diff --git a/org.glite.lb.ws-test/configure b/org.glite.lb.ws-test/configure index e58d090..5e0efcb 100755 --- a/org.glite.lb.ws-test/configure +++ b/org.glite.lb.ws-test/configure @@ -21,6 +21,10 @@ my $help = 0; my $listmodules; my $version; my $output; +my $lb_tag = ''; +my $lbjp_tag = ''; +my $sec_tag = ''; +my $jobid_tag = ''; my @nodes = qw/client server logger utils client-java doc ws-test/; my %enable_nodes; @@ -73,6 +77,10 @@ my @opts = ( 'version=s' => \$version, 'output=s' => \$output, 'stage=s' => \$stagedir, + 'lb-tag=s' => \$lb_tag, + 'lbjp-common-tag=s' => \$lbjp_tag, + 'security-tag=s' => \$sec_tag, + 'jobid-tag=s' => \$jobid_tag, 'help' => \$help, ); @@ -222,9 +230,42 @@ sub mode_build { sub mode_checkout() { for (@modules) { + my $module = $_; + my $tag = ""; + if ($lb_tag){ + for (@{$lbmodules{lb}}){ + if ("lb.".$_ eq $module){ + $tag = '-r '.$lb_tag; + } + } + } + if ($lbjp_tag){ + for (@{$lbmodules{'lbjp-common'}}){ + if ("lbjp-common.".$_ eq $module){ + $tag = '-r '.$lbjp_tag; + } + } + } + if ($sec_tag){ + for (@{$lbmodules{security}}){ + if ("security.".$_ eq $module){ + $tag = '-r '.$sec_tag; + } + } + } + if ($jobid_tag){ + for (@{$lbmodules{jobid}}){ + if ("jobid.".$_ eq $module){ + $tag = '-r '.$jobid_tag; + } + } + } + #if (grep {"lb.".$_ eq $module} @{$lbmodules{lb}}){ + # print "found"; + #} $_ = full($_); print "\n*** Checking out $_\n"; - system("cvs checkout $_") == 0 or die "cvs checkout $_: $?\n"; + system("cvs checkout $tag $_") == 0 or die "cvs checkout $tag $_: $?\n"; } } @@ -573,6 +614,10 @@ What to build: --enable-NODE build this "node" (set of modules) only. Available nodes are @{$lbmodules{lb}},@{$lbmodules{security}} --disable-NODE don't build this node + --lb-tag=tag checkout LB modules with specific tag + --lbjp-common-tag=tag checkout lbjp-common modules with specific tag + --security-tag=tag checkout security modules with specific tag + --jobid-tag=tag checkout jobid modules with specific tag Dependencies: --with-EXTERNAL=PATH where to look for an external. Required externals -- 1.8.2.3