},
jdk => {
prefix=> '/usr/java/latest',
- locations => [ '/usr/java/latest', '/usr/lib/jvm/java' ],
+ locations => [ '/usr/lib/jvm/java', '/usr/java/latest' ],
},
libtar => {
prefix=> '/usr'
'jp' => [ qw/client doc index primary server-common ws-interface/ ],
'gridsite' => [ qw/apache shared commands core devel slashgrid services service-clients gsexec/ ],
'px' => [ qw/proxyrenewal myproxy-yaim/ ],
+ 'canl' => [ qw/c/ ],
);
'lbjp-common-tag=s' => \$lbjp_tag,
'jp-tag=s' => \$jp_tag,
'jobid-tag=s' => \$jobid_tag,
+ 'canl-tag=s' => \$canl_tag,
'help' => \$help,
'libdir=s' => \$libdir,
'project=s' => \$project,
}
}
}
- if ($lbjp_tag){
+ if ($lbjp_tag) {
for (@{$lbmodules{'lbjp-common'}}){
if ("lbjp-common.".$_ eq $module){
$tag = '-r '.$lbjp_tag;
}
}
}
+ if ($canl_tag) {
+ for (@{$lbmodules{'canl'}}){
+ if ("canl.".$_ eq $module){
+ $tag = '-r '.$canl_tag;
+ }
+ }
+ }
#if (grep {"lb.".$_ eq $module} @{$lbmodules{lb}}){
# print "found";
#}
'lb.server' => [ qw/globus_essentials:R globus:B expat cares mysql:R mysql-server:R mysql-devel:B cppunit:B gsoap:B classads voms lcas gridsite bison:B libtool:B libxml2 flex:B/ ],
'lb.state-machine' => [ qw/classads libtool:B libxslt:B expat:B/ ],
'lb.utils' => [ qw/cppunit:B libtool:B/ ],
- 'lb.ws-interface' => [ qw/libxslt:B/ ],
+ 'lb.ws-interface' => [ qw/libxslt:B tidy:B/ ],
'lb.ws-test' => [ qw/gsoap:B libtool:B/ ],
'lb.types' => [ qw// ],
'lb.harvester' => [ qw/docbook-utils:B libtool:B/ ],
'gridsite.1.5-compat' => [ qw/httpd-devel:B gsoap:B globus:B curl:B doxygen:B fuse-devel:B libxml2:B openssl:B build_common_cpp:B doxygen:B/ ],
'px.proxyrenewal' => [ qw/globus:B globus_essentials:R myproxy-devel:B myproxy-libs:R voms libtool:B/ ],
'px.myproxy-config' => [ qw/myproxy-admin:R/ ], # in myproxy-config.spec
+ 'canl.c' => [ qw/cares:B openssl:B libtool:B/ ],
);
%need_jars = (
lb.utils:R
/ ],
'lb.server' => [ qw/
- lb.ws-interface lb.types:B lb.common lb.state-machine
+ lb.ws-interface lb.types:B lb.common lb.state-machine lb.utils:R
lbjp-common.db lbjp-common.server-bones lbjp-common.trio lbjp-common.maildir lbjp-common.log
jobid.api-c
lbjp-common.gsoap-plugin lbjp-common.gss
'px.emi-px' => [qw/px.myproxy-yaim:R/],
'px.myproxy-yaim' => [ qw// ],
'px.myproxy-config' => [],
+
+ 'canl.c' => [],
);
for my $ext (keys %deps_aux) {
}
-%extrafull = ( gridsite=>'org.gridsite.core');
+%extrafull = ( gridsite=>'org.gridsite.core', 'canl.c' => 'emi.canl.canl-c');
#( java => 'client-java' );
%extranodmod = (
jpclient => 'jp.client',
lb => 'lb.glite-LB',
px => 'px.glite-PX',
- proxyrenewal => 'px.proxyrenewal'
+ proxyrenewal => 'px.proxyrenewal',
+ canl => 'canl.c',
);
%obsoletes = (
'lbjp-common' => 'org.glite',
'gridsite' => 'org',
'px' => 'org.glite',
+ 'canl' => 'emi',
);
%cvs_tag_prefix = (
'lbjp-common' => 'glite-',
'gridsite' => '',
'px' => 'glite-',
+ 'canl' => 'emi-',
);
# ==== projects specification ====
'lbjp-common' => 'emi-',
'gridsite' => 'emi-',
'px' => 'emi-',
+ 'canl' => 'emi-',
},
tag_prefix => { %cvs_tag_prefix },
flavours => '--thrflavour= --nothrflavour=',
'myproxy-devel' => 'myproxy-devel.x86_64',
},
deb6_x86_64_gcc445 => {
- globus_essentials => 'libglobus-gssapi-gsi4',
- globus => 'libglobus-gssapi-gsi-dev',
- axis => 'libaxis-java',
- cares => 'libc-ares2',
- cppunit => 'libcppunit',
- expat => 'libexpat1',
- log4c => 'liblog4c3',
- curl => 'libcurl3',
- 'mysql' => 'libmysqlclient6',
- 'mysql-devel' => 'libmysqlclient-dev',
- libxslt => 'xsltproc',
- 'jakarta-commons-codec' => 'libcommons-codec-java',
- 'jakarta-commons-lang' => 'libcommons-lang-java',
- 'tetex-latex' => 'texlive-latex-extra',
- 'perl-LDAP' => 'libnet-ldap-perl',
- 'fuse-lib' => 'libfuse2',
- 'fuse' => 'fuse-utils',
+ axis => 'axis1.4',
+ # mappings in ETICS project configuration
+ #globus_essentials => 'libglobus-gssapi-gsi4',
+ #globus => 'libglobus-gssapi-gsi-dev',
+ #axis => 'libaxis-java',
+ #cares => 'libc-ares2',
+ #cppunit => 'libcppunit',
+ #expat => 'libexpat1',
+ #log4c => 'liblog4c3',
+ #curl => 'libcurl3',
+ #'mysql' => 'libmysqlclient16',
+ #'mysql-devel' => 'libmysqlclient-dev',
+ #libxslt => 'xsltproc',
+ #'jakarta-commons-codec' => 'libcommons-codec-java',
+ #'jakarta-commons-lang' => 'libcommons-lang-java',
+ #'tetex-latex' => 'texlive-latex-extra',
+ #'perl-LDAP' => 'libnet-ldap-perl',
+ #'fuse-lib' => 'libfuse2',
+ #'fuse' => 'fuse-utils',
},
},
etics_externs_devel => {
jdk=>'java-devel',
},
deb6_x86_64_gcc445 => {
- cares => 'libc-ares-dev',
- cppunit => 'libcppunit-dev',
- expat => 'libexpat1-dev',
- libtar => 'libtar-dev',
- log4c => 'liblog4c-dev',
- postgresql => 'libpq-dev',
- curl => 'libcurl4-openssl-dev',
- libxml2 => 'libxml2-dev',
- openssl => 'libssl-dev',
- 'tetex-latex' => 'texlive-latex-extra',
- libxslt=>'xsltproc',
- 'httpd-devel' => 'apache2-prefork-dev',
- 'fuse-devel' => 'libfuse-dev',
- gsoap => 'gsoap',
+ # mappings in ETICS project configuration
+ #cares => 'libc-ares-dev',
+ #cppunit => 'libcppunit-dev',
+ #expat => 'libexpat1-dev',
+ #libtar => 'libtar-dev',
+ #log4c => 'liblog4c-dev',
+ #postgresql => 'libpq-dev',
+ #curl => 'libcurl4-openssl-dev',
+ #libxml2 => 'libxml2-dev',
+ #openssl => 'libssl-dev',
+ #'tetex-latex' => 'texlive-latex-extra',
+ #libxslt=>'xsltproc',
+ #'httpd-devel' => 'apache2-prefork-dev',
+ #'fuse-devel' => 'libfuse-dev',
+ #gsoap => 'gsoap',
},
},
etics_projects => {
sl5_x86_64_gcc412EPEL => 1,
sl5_ia32_gcc412EPEL => 1,
sl6_x86_64_gcc445EPEL => 1,
-# deb6_x86_64_gcc445 => 1,
+ deb6_x86_64_gcc445 => 1,
},
modules => {
'lb' => [ qw/emi-lb/ ],
sub full
{
my $short = shift;
- return $extrafull{$short} ? $extrafull{$short} : 'org.glite.'.$short;
+ my $subsys = $short;
+ $subsys =~ s/\..*//;
+
+ my $cvs_prefix = exists $cvs_prefix{$subsys} ? $cvs_prefix{$subsys} : 'org.glite';
+ return $extrafull{$short} ? $extrafull{$short} : "$cvs_prefix.$short";
}
sub mkinc
lbjp-common.db lbjp-common.log lbjp-common.maildir lbjp-common.server-bones lbjp-common.trio lbjp-common.jp-interface lbjp-common.gss lbjp-common.gsoap-plugin
jp.client jp.doc jp.index jp.primary jp.server-common jp.ws-interface
px.proxyrenewal px.myproxy-yaim px.glite-PX px.myproxy-config px.emi-px
+canl.c
/;
@aux{@m} = (1) x ($#m+1);
($major,$minor,$rev,$age) = ($1,$2,$3,$4);
}
else {
- my $path = "$cvs_prefix{$subsys}.$subsys.$module/project";
+ my $full = full "$subsys.$module";
+ my $path = "$full/project";
if ($subsys eq 'gridsite') {
$path = "$cvs_prefix{$subsys}.$subsys.core/project";
}
open V,"$path/version.properties"
- or die "$cvs_prefix{$subsys}.$subsys.$module/project/version.properties: $!\n";
+ or die "$path/version.properties: $!\n";
while ($_ = <V>) {
chomp;
my $package_description = "";
my $package_summary = "";
- if (-e "$cvs_prefix{$subsys}.$subsys.$module/project/package.description") {
- open V, "$cvs_prefix{$subsys}.$subsys.$module/project/package.description";
+ my $cvs_module = full "$subsys.$module";
+
+ if (-e "$cvs_module/project/package.description") {
+ open V, "$cvs_module/project/package.description";
$package_description = join ("", <V>);
close V;
chomp $package_description;
else {
print STDERR "package.description not found for $subsys.$module!\n"; }
- if (-e "$cvs_prefix{$subsys}.$subsys.$module/project/package.summary") {
- open V, "$cvs_prefix{$subsys}.$subsys.$module/project/package.summary";
+ if (-e "$cvs_module/project/package.summary") {
+ open V, "$cvs_module/project/package.summary";
$package_summary = join ("", <V>);
close V;
chomp $package_summary;
print STDERR "package.summary not found for $subsys.$module!\n"; }
my %cmd;
- $cmd_vcs{checkout} = "cvs -d \${vcsroot} co -d \${moduleName} ".($conftag eq 'HEAD' ? '-A' : '-r ${tag}')." $cvs_prefix{$subsys}.$subsys.$module 2>/dev/null";
- #$cmd_vcs{checkout} = "(test -d jra1mw/.git && (cd jra1mw; git pull) || git clone http://scientific.zcu.cz/git/jra1mw.git)";
- #$cmd_vcs{checkout} .= " && (cd jra1mw; git checkout \${tag})" unless ($conftag =~ /HEAD/);
- #$cmd_vcs{checkout} .= " && ln -s jra1mw/$cvs_prefix{$subsys}.$subsys.$module \${moduleName}";
+ $cmd_vcs{checkout} = "cvs -d \${vcsroot} co -d \${moduleName} ".($conftag eq 'HEAD' ? '-A' : '-r ${tag}')." $cvs_module 2>/dev/null";
+ #$cmd_vcs{checkout} = "((test -d jra1mw/.git && (cd jra1mw; git pull)) || (git clone -q http://scientific.zcu.cz/git/jra1mw.git";
+ #$cmd_vcs{checkout} .= " && (cd jra1mw; git checkout -b \${tag} --track origin/epel)" unless ($conftag =~ /HEAD/);
+ #$cmd_vcs{checkout} .= ")) && (test -d \${moduleName} || ln -s jra1mw/$cvs_module \${moduleName})";
$cmd_vcs{tag} = "cvs -d \${vcsroot} tag -R \${tag} ${moduleName}";
$cmd{default}{init} = 'None';
--jp-tag=tag checkout JP modules with specific tag
--lbjp-common-tag=tag checkout lbjp-common modules with specific tag
--jobid-tag=tag checkout jobid modules with specific tag
+ --canl-tag=tag checkout canl modules with specific tag
Dependencies (summary of what will be used is always printed):
--with-EXTERNAL=PATH where to look for an external [autodetect]