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::…
849 if ( $_ =~ /Patched for OpenOffice.org/ ) { $installer::globals::is_special_epm = 1; }
854 if ( $installer::globals::is_special_epm )
867 …if ( ( $installer::globals::is_special_epm ) && (($installer::globals::islinuxrpmbuild) || ($insta…
870 $installer::globals::postprocess_specialepm = 1;
871 $installer::globals::postprocess_standardepm = 0;
875 $installer::globals::postprocess_specialepm = 0;
876 $installer::globals::postprocess_standardepm = 1;
918 my $packageformat = $installer::globals::packageformat;
922 if ( $installer::globals::debian ) { $localpackagename = lc($localpackagename); }
925 …if ( $installer::globals::epmoutpath ne "" ) { $outdirstring = " --output-dir $installer::globals:…
931 …if ( $installer::globals::debian ) { $ldpreloadstring = get_ld_preload_string($includepatharrayref…
937 if ( ! $installer::globals::quiet ) { $verboseflag = "-v2"; };
986 if ( $installer::globals::issolarispkgbuild )
991 if ( $installer::globals::islinuxrpmbuild )
1023 my $revisionstring = "\,REV\=" . $installer::globals::packagerevision;
1056 if ( $installer::globals::issolarisx86build ) { $pkgversion = "SOLIAPKGVERSION"; }
1067 my $version = $installer::globals::packageversion;
1122 if ( $installer::globals::issolarisx86build ) { $patchlistname = "SOLIAPATCHLISTFORRESPIN"; }
1324 $newepmdir = cwd() . $installer::globals::separator . $newepmdir; # only absolute path allowed
1370 my $packager = $installer::globals::longmanufacturer;
1650 if ( $installer::globals::issolarispkgbuild )
1688 if ( $installer::globals::islinuxrpmbuild )
1813 my $path = $installer::globals::patchincludepath;
1815 $path = $path . $installer::globals::separator;
1822 for ( my $i = 0; $i <= $#installer::globals::solarispatchscriptsforextensions; $i++ )
1824 my $sourcefilename = $path . $installer::globals::solarispatchscriptsforextensions[$i];
1825 my $destfile = $installer::globals::solarispatchscriptsforextensions[$i];
1835 my $destdir = $extensiondir . $installer::globals::separator . $prototypefilename;
1837 my $destpath = $destdir . $installer::globals::separator . $destfile;
1857 for ( my $i = 0; $i <= $#installer::globals::solarispatchscripts; $i++ )
1859 …my $line = "i $installer::globals::solarispatchscripts[$i]=" . $path . $installer::globals::solari…
1894 if ( $installer::globals::issolarisx86build ) { $patchidname = "SOLIAPATCHID"; }
1902 if ( $installer::globals::issolarisx86build ) { $patchobsoletesname = "SOLIAPATCHOBSOLETES"; }
1910 if ( $installer::globals::issolarisx86build ) { $patchrequiresname = "SOLIAPATCHREQUIRES"; }
2006 push(@installer::globals::patchfilecollector, $packagenamestring);
2012 if ( $installer::globals::islinuxrpmbuild )
2020 push(@installer::globals::patchfilecollector, $filename);
2024 if ( $installer::globals::issolarispkgbuild )
2031 push(@installer::globals::patchfilecollector, $filename);
2036 push(@installer::globals::patchfilecollector, "\n");
2060 if ( exists($installer::globals::dependfilenames{$abbreviation}) )
2062 my $packagename = $installer::globals::dependfilenames{$abbreviation};
2091 my $newepmdir = $installer::globals::epmoutpath . $installer::globals::separator;
2096 if ( $installer::globals::issolarispkgbuild )
2102 if ( $installer::globals::islinuxrpmbuild )
2124 if ( $installer::globals::islinuxrpmbuild )
2134 …if ( $installer::globals::patch ) { collect_patch_files($changefile, $packagename, $localrelocatab…
2139 if ( $installer::globals::issolarispkgbuild )
2144 if ( $installer::globals::issolarisx86build ) { fix_architecture_setting($changefile); }
2145 …if ( ! $installer::globals::patch ) { set_patchlist_in_pkginfo_for_respin($changefile, $filename, …
2146 …if ( $installer::globals::patch ) { include_patchinfos_into_pkginfo($changefile, $filename, $varia…
2164 …if ( $installer::globals::patch ) { add_scripts_into_prototypefile($prototypefile, $prototypefilen…
2167 if ( $installer::globals::patch ) { collect_patch_files($prototypefile, $packagename, ""); }
2251 if ( $installer::globals::rpm ne "" )
2301 if ( $installer::globals::rpm ne "" )
2349 if ( $installer::globals::issolarispkgbuild )
2402 if ( ! $installer::globals::jds_language_controlled )
2405 $installer::globals::correct_jds_language = $correct_language;
2406 $installer::globals::jds_language_controlled = 1;
2409 if ( $installer::globals::correct_jds_language )
2411 if ( $installer::globals::saved_packages_path eq "" )
2414 $installer::globals::saved_packages_path = $packagestempdir;
2415 push(@installer::globals::jdsremovedirs, $packagestempdir);
2445 if ( ! $installer::globals::solarisdontcompress )
2502 if ( $installer::globals::islinuxrpmbuild )
2508 my $rpmcommand = $installer::globals::rpm;
2514 $installer::globals::rpmcommand = $rpmcommand;
2515 $installer::globals::rpmquerycommand = "rpm";
2518 if ( $installer::globals::compiler =~ /unxlngi/) { $target = "i586"; }
2519 elsif ( $installer::globals::compiler =~ /unxlng/) {$target = (POSIX::uname())[4]; }
2533 if ( ! $installer::globals::rpminfologged )
2536 $installer::globals::rpminfologged = 1;
2640 if ( $installer::globals::issolarispkgbuild )
2664 if ( $installer::globals::islinuxrpmbuild )
2736 my $newdir = $installer::globals::epmoutpath;
2738 if ( $installer::globals::islinuxrpmbuild )
2742 if ( $installer::globals::compiler =~ /unxlngi/) {
2745 elsif ( $installer::globals::compiler =~ /unxlng/) {
2896 …path . $installer::globals::separator . $installer::globals::compiler . $installer::globals::separ…
2907 $localdestdir = $localdestdir . $installer::globals::separator . $onemodule->{'Subdir'};
2912 …if ( $installer::globals::issolarispkgbuild ) { $packagename = unpack_tar_gz_file($packagename, $l…
2914 if (( $installer::globals::isxpdplatform ) && ( $allvariables->{'XPDINSTALLER'} ))
3010 …if (( $installer::globals::islinuxbuild ) && ( ! ( ${$allpackages}[$j] =~ /\.rpm\s*$/ ))) { next; }
3070 …if ( ! $installer::globals::issolarispkgbuild ) { ($newcontent, $subdir) = control_subdirectories(…
3073 …if (( $installer::globals::issolarispkgbuild ) && ( $installer::globals::englishlicenseset ) && ( …
3075 if (( $installer::globals::isxpdplatform ) && ( $allvariables->{'XPDINSTALLER'} ))
3135 …$$staticpathref = $rootpath . $installer::globals::separator . $installer::globals::officedirhostn…
3139 if ( $installer::globals::islinuxrpmbuild )
3142 …$$staticpathref = $installer::globals::officedirhostname; # to be used as replacement in shell scr…
3145 if ( $installer::globals::islinuxdebbuild )
3166 for ( my $i = 0; $i <= $#installer::globals::installsetfiles; $i++ )
3168 my $onefile = $installer::globals::installsetfiles[$i];
3171 if ( $installer::globals::addjavainstaller ) { $destfile = $onefile->{'Name'}; }
3172 else { $destfile = $destdir . $installer::globals::separator . $onefile->{'Name'}; }
3207 if ( $installer::globals::issolarissparcbuild ) { $architecture = "sparc"; }
3208 if ( $installer::globals::issolarisx86build ) { $architecture = "i386"; }
3219 if ( $installer::globals::issolarissparcbuild ) { $requiresstring = "SOLSPARCPATCHREQUIRES"; }
3220 if ( $installer::globals::issolarisx86build ) { $requiresstring = "SOLIAPATCHREQUIRES"; }
3239 if ( $installer::globals::issolarisx86build ) { $patchidname = "SOLIAPATCHID"; }
3249 my $sourcepath = $installer::globals::patchincludepath;
3252 for ( my $i = 0; $i <= $#installer::globals::solarispatchfiles; $i++ )
3254 …my $sourcefile = $sourcepath . $installer::globals::separator . $installer::globals::solarispatchf…
3255 …my $destfile = $patchid . $installer::globals::separator . $installer::globals::solarispatchfiles[…
3261 my $patchinfofilename = $patchid . $installer::globals::separator . "patchinfo";