Lines Matching refs:globals
31 use installer::globals;
99 if ( exists($installer::globals::dependfilenames{$local_abbreviation}) )
105 $installer::globals::dependfilenames{$local_abbreviation} = $local_packagename;
114 if ( exists($installer::globals::dependfilenames{$abbreviation}) )
120 $installer::globals::dependfilenames{$abbreviation} = $packagename;
216 if ( $installer::globals::islinuxbuild )
261 if ( $installer::globals::islinuxbuild ) { $group = "root"; }
262 …if (( $installer::globals::issolarisbuild ) && ( $onefile->{'SolarisGroup'} )) { $group = $onefile…
275 if ( $installer::globals::islinuxbuild )
298 if ( $installer::globals::islinuxbuild ) { $group = "root"; }
358 $installer::globals::packageversion = $onepackage->{'packageversion'};
359 …installer::packagelist::resolve_packagevariables(\$installer::globals::packageversion, $variablesh…
360 …if ( $variableshashref->{'PACKAGEREVISION'} ) { $installer::globals::packagerevision = $variablesh…
362 $line = "%version" . " " . $installer::globals::packageversion . "\n";
365 $line = "%release" . " " . $installer::globals::packagerevision . "\n";
366 …if ( $installer::globals::islinuxrpmbuild ) { $line = "%release" . " " . $installer::globals::buil…
389 if ( $installer::globals::iswindowsbuild || $installer::globals::isos2 )
400 …if (( $installer::globals::languagepack ) # in language packs the files LICENSE and README are rem…
403 if ( $installer::globals::iswindowsbuild || $installer::globals::isos2 )
417 if ( $installer::globals::issolarisbuild )
429 if ( $installer::globals::islinuxbuild )
462 …if (( $installer::globals::issolarispkgbuild ) && ( ! $variableshashref->{'NO_LICENSE_INTO_COPYRIG…
464 if ( ! $installer::globals::englishlicenseset ) { installer::worker::set_english_license() }
477 …r ( my $i = 0; $i <= $#{$installer::globals::englishlicense}; $i++ ) { push(@{$copyrightfile}, ${$…
480 …$$fileref = $copyrightdir . $installer::globals::separator . "solariscopyrightfile_" . $onepackage…
515 if (( $installer::globals::issolarispkgbuild ) && ( ! $installer::globals::patch ))
519 elsif (( $installer::globals::islinuxbuild ) && ( ! $installer::globals::patch ))
524 if (( $replaces ) && ( ! $installer::globals::patch ))
537 if ( $installer::globals::linuxlinkrpmprocess ) { $onereplaces = $onereplaces . "u"; }
538 …if ( $installer::globals::debian ) { $onereplaces =~ s/_/-/g; } # Debian allows no underline in pa…
543 if ( $installer::globals::debian && $variableshashref->{'UNIXPRODUCTNAME'} eq 'openoffice' )
558 if ( $installer::globals::issolarispkgbuild )
563 elsif ( $installer::globals::isfreebsdpkgbuild )
568 elsif (( $installer::globals::islinuxrpmbuild ) &&
569 ( $installer::globals::patch ) &&
601 if ( $installer::globals::linuxlinkrpmprocess ) { $oneprovides = $oneprovides . "u"; }
602 …if ( $installer::globals::debian ) { $oneprovides =~ s/_/-/g; } # Debian allows no underline in pa…
612 …if ( $installer::globals::add_required_package ) { $requiresstring = $requiresstring . "," . $inst…
632 …if ( $installer::globals::debian ) { $onerequires =~ s/_/-/g; } # Debian allows no underline in pa…
653 if ( $installer::globals::add_required_package )
655 my $requiresstring = $installer::globals::add_required_package;
667 …if ( $installer::globals::debian ) { $onerequires =~ s/_/-/g; } # Debian allows no underline in pa…
822 …if (($$epmfileref eq "") && (!($installer::globals::epm_in_path))) { installer::exiter::exit_progr…
823 …if (($$epmfileref eq "") && ($installer::globals::epm_in_path)) { $epmname = $installer::globals::…
850 if ( $_ =~ /Patched for .*OpenOffice/ ) { $installer::globals::is_special_epm = 1; last; }
851 if ( $_ =~ /Apache OpenOffice compatible/ ) { $installer::globals::is_special_epm = 1; last; }
856 if ( $installer::globals::is_special_epm )
869 …if ( ( $installer::globals::is_special_epm ) && (($installer::globals::islinuxrpmbuild) || ($insta…
872 $installer::globals::postprocess_specialepm = 1;
873 $installer::globals::postprocess_standardepm = 0;
877 $installer::globals::postprocess_specialepm = 0;
878 $installer::globals::postprocess_standardepm = 1;
901 my $packageformat = $installer::globals::packageformat;
905 if ( $installer::globals::debian ) { $localpackagename = lc($localpackagename); }
908 …if ( $installer::globals::epmoutpath ne "" ) { $outdirstring = " --output-dir $installer::globals:…
915 if ( $installer::globals::debian ) { $ldpreloadstring = get_ld_preload_string() . " "; }
921 if ( ! $installer::globals::quiet ) { $verboseflag = "-v2"; };
970 if ( $installer::globals::issolarispkgbuild )
975 if ( $installer::globals::islinuxrpmbuild )
1007 my $revisionstring = "\,REV\=" . $installer::globals::packagerevision;
1040 if ( $installer::globals::issolarisx86build ) { $pkgversion = "SOLIAPKGVERSION"; }
1051 my $version = $installer::globals::packageversion;
1106 if ( $installer::globals::issolarisx86build ) { $patchlistname = "SOLIAPATCHLISTFORRESPIN"; }
1308 $newepmdir = cwd() . $installer::globals::separator . $newepmdir; # only absolute path allowed
1354 my $packager = $installer::globals::longmanufacturer;
1634 if ( $installer::globals::issolarispkgbuild )
1672 if ( $installer::globals::islinuxrpmbuild )
1797 my $path = $installer::globals::patchincludepath;
1799 $path = $path . $installer::globals::separator;
1806 for ( my $i = 0; $i <= $#installer::globals::solarispatchscriptsforextensions; $i++ )
1808 my $sourcefilename = $path . $installer::globals::solarispatchscriptsforextensions[$i];
1809 my $destfile = $installer::globals::solarispatchscriptsforextensions[$i];
1819 my $destdir = $extensiondir . $installer::globals::separator . $prototypefilename;
1821 my $destpath = $destdir . $installer::globals::separator . $destfile;
1841 for ( my $i = 0; $i <= $#installer::globals::solarispatchscripts; $i++ )
1843 …my $line = "i $installer::globals::solarispatchscripts[$i]=" . $path . $installer::globals::solari…
1878 if ( $installer::globals::issolarisx86build ) { $patchidname = "SOLIAPATCHID"; }
1886 if ( $installer::globals::issolarisx86build ) { $patchobsoletesname = "SOLIAPATCHOBSOLETES"; }
1894 if ( $installer::globals::issolarisx86build ) { $patchrequiresname = "SOLIAPATCHREQUIRES"; }
1990 push(@installer::globals::patchfilecollector, $packagenamestring);
1996 if ( $installer::globals::islinuxrpmbuild )
2004 push(@installer::globals::patchfilecollector, $filename);
2008 if ( $installer::globals::issolarispkgbuild )
2015 push(@installer::globals::patchfilecollector, $filename);
2020 push(@installer::globals::patchfilecollector, "\n");
2044 if ( exists($installer::globals::dependfilenames{$abbreviation}) )
2046 my $packagename = $installer::globals::dependfilenames{$abbreviation};
2075 my $newepmdir = $installer::globals::epmoutpath . $installer::globals::separator;
2080 if ( $installer::globals::issolarispkgbuild )
2086 if ( $installer::globals::islinuxrpmbuild )
2108 if ( $installer::globals::islinuxrpmbuild )
2118 …if ( $installer::globals::patch ) { collect_patch_files($changefile, $packagename, $localrelocatab…
2123 if ( $installer::globals::issolarispkgbuild )
2128 if ( $installer::globals::issolarisx86build ) { fix_architecture_setting($changefile); }
2129 …if ( ! $installer::globals::patch ) { set_patchlist_in_pkginfo_for_respin($changefile, $filename, …
2130 …if ( $installer::globals::patch ) { include_patchinfos_into_pkginfo($changefile, $filename, $varia…
2148 …if ( $installer::globals::patch ) { add_scripts_into_prototypefile($prototypefile, $prototypefilen…
2151 if ( $installer::globals::patch ) { collect_patch_files($prototypefile, $packagename, ""); }
2235 if ( $installer::globals::rpm ne "" )
2285 if ( $installer::globals::rpm ne "" )
2333 if ( $installer::globals::issolarispkgbuild )
2386 if ( ! $installer::globals::jds_language_controlled )
2389 $installer::globals::correct_jds_language = $correct_language;
2390 $installer::globals::jds_language_controlled = 1;
2393 if ( $installer::globals::correct_jds_language )
2395 if ( $installer::globals::saved_packages_path eq "" )
2398 $installer::globals::saved_packages_path = $packagestempdir;
2399 push(@installer::globals::jdsremovedirs, $packagestempdir);
2429 if ( ! $installer::globals::solarisdontcompress )
2486 if ( $installer::globals::islinuxrpmbuild )
2492 my $rpmcommand = $installer::globals::rpm;
2498 $installer::globals::rpmcommand = $rpmcommand;
2499 $installer::globals::rpmquerycommand = "rpm";
2502 if ( $installer::globals::compiler =~ /unxlngi/) { $target = "i586"; }
2503 elsif ( $installer::globals::compiler =~ /unxlng/) {$target = (POSIX::uname())[4]; }
2517 if ( ! $installer::globals::rpminfologged )
2520 $installer::globals::rpminfologged = 1;
2624 if ( $installer::globals::issolarispkgbuild )
2648 if ( $installer::globals::islinuxrpmbuild )
2720 my $newdir = $installer::globals::epmoutpath;
2722 if ( $installer::globals::islinuxrpmbuild )
2726 if ( $installer::globals::compiler =~ /unxlngi/) {
2729 elsif ( $installer::globals::compiler =~ /unxlng/) {
2880 …path . $installer::globals::separator . $installer::globals::compiler . $installer::globals::separ…
2891 $localdestdir = $localdestdir . $installer::globals::separator . $onemodule->{'Subdir'};
2896 …if ( $installer::globals::issolarispkgbuild ) { $packagename = unpack_tar_gz_file($packagename, $l…
2898 if (( $installer::globals::isxpdplatform ) && ( $allvariables->{'XPDINSTALLER'} ))
2994 …if (( $installer::globals::islinuxbuild ) && ( ! ( ${$allpackages}[$j] =~ /\.rpm\s*$/ ))) { next; }
3054 …if ( ! $installer::globals::issolarispkgbuild ) { ($newcontent, $subdir) = control_subdirectories(…
3057 …if (( $installer::globals::issolarispkgbuild ) && ( $installer::globals::englishlicenseset ) && ( …
3059 if (( $installer::globals::isxpdplatform ) && ( $allvariables->{'XPDINSTALLER'} ))
3119 …$$staticpathref = $rootpath . $installer::globals::separator . $installer::globals::officedirhostn…
3123 if ( $installer::globals::islinuxrpmbuild )
3126 …$$staticpathref = $installer::globals::officedirhostname; # to be used as replacement in shell scr…
3129 if ( $installer::globals::islinuxdebbuild )
3150 for ( my $i = 0; $i <= $#installer::globals::installsetfiles; $i++ )
3152 my $onefile = $installer::globals::installsetfiles[$i];
3155 if ( $installer::globals::addjavainstaller ) { $destfile = $onefile->{'Name'}; }
3156 else { $destfile = $destdir . $installer::globals::separator . $onefile->{'Name'}; }
3191 if ( $installer::globals::issolarissparcbuild ) { $architecture = "sparc"; }
3192 if ( $installer::globals::issolarisx86build ) { $architecture = "i386"; }
3203 if ( $installer::globals::issolarissparcbuild ) { $requiresstring = "SOLSPARCPATCHREQUIRES"; }
3204 if ( $installer::globals::issolarisx86build ) { $requiresstring = "SOLIAPATCHREQUIRES"; }
3223 if ( $installer::globals::issolarisx86build ) { $patchidname = "SOLIAPATCHID"; }
3233 my $sourcepath = $installer::globals::patchincludepath;
3236 for ( my $i = 0; $i <= $#installer::globals::solarispatchfiles; $i++ )
3238 …my $sourcefile = $sourcepath . $installer::globals::separator . $installer::globals::solarispatchf…
3239 …my $destfile = $patchid . $installer::globals::separator . $installer::globals::solarispatchfiles[…
3245 my $patchinfofilename = $patchid . $installer::globals::separator . "patchinfo";