Lines Matching refs:installer
24 package installer::epmfile;
27 use installer::converter;
28 use installer::existence;
29 use installer::exiter;
30 use installer::files;
31 use installer::globals;
32 use installer::logger;
33 use installer::packagelist;
34 use installer::pathanalyzer;
35 use installer::remover;
36 use installer::scriptitems;
37 use installer::systemactions;
38 use installer::worker;
52 …if ( $packagemapname eq "" ) { installer::exiter::exit_program("ERROR: Property PACKAGEMAP must be…
54 $installer::logger::Lang->printf("\n");
55 $installer::logger::Lang->printf("\n");
56 $installer::logger::Lang->printf("nCollected abbreviations and package names:\n");
59 my $allpackagemapnames = installer::converter::convert_stringlist_into_hash(\$packagemapname, ",");
62 …my $packagemapref = installer::scriptitems::get_sourcepath_from_filename_and_includepath(\$onepack…
64 …if ( $$packagemapref eq "" ) { installer::exiter::exit_program("ERROR: Could not find package map …
66 my $packagemapcontent = installer::files::read_file($$packagemapref);
79 installer::packagelist::resolve_packagevariables(\$abbreviation, $allvariables, 0);
80 installer::packagelist::resolve_packagevariables(\$packagename, $allvariables, 0);
94 $installer::logger::Lang->printf("%s : %s : %s\n",
99 if ( exists($installer::globals::dependfilenames{$local_abbreviation}) )
101 …installer::exiter::exit_program("ERROR: Packagename for Solaris package $local_abbreviation alrea…
105 $installer::globals::dependfilenames{$local_abbreviation} = $local_packagename;
112 $installer::logger::Lang->printf("%s : %s\n", $abbreviation, $packagename);
114 if ( exists($installer::globals::dependfilenames{$abbreviation}) )
116 …installer::exiter::exit_program("ERROR: Packagename for Solaris package $abbreviation already def…
120 $installer::globals::dependfilenames{$abbreviation} = $packagename;
127 …installer::exiter::exit_program("ERROR: Wrong syntax in file \"$onepackagemapname\" (line $errorli…
132 $installer::logger::Lang->print("\n");
133 $installer::logger::Lang->print("\n");
200 …installer::exiter::exit_program("ERROR: No string found for $searchstring in epm header file (-h)"…
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"; }
347 installer::packagelist::resolve_packagevariables(\$productnamestring, $variableshashref, 0);
357 …if ( ! $onepackage->{'packageversion'} ) { installer::exiter::exit_program("ERROR: No packageversi…
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…
373 installer::packagelist::resolve_packagevariables(\$descriptionstring, $variableshashref, 0);
378 installer::packagelist::resolve_packagevariables(\$copyrightstring, $variableshashref, 0);
383 installer::packagelist::resolve_packagevariables(\$vendorstring, $variableshashref, 0);
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 )
456 …my $fileref = installer::scriptitems::get_sourcepath_from_filename_and_includepath(\$licensefilena…
458 …if ( $$fileref eq "" ) { installer::exiter::exit_program("ERROR: Could not find license file $lice…
462 …if (( $installer::globals::issolarispkgbuild ) && ( ! $variableshashref->{'NO_LICENSE_INTO_COPYRIG…
464 if ( ! $installer::globals::englishlicenseset ) { installer::worker::set_english_license() }
471 my $copyrightdir = installer::systemactions::create_directories("copyright", \$languagestring);
473 my $copyrightfile = installer::files::read_file($$fileref);
477 …for ( my $i = 0; $i <= $#{$installer::globals::englishlicense}; $i++ ) { push(@{$copyrightfile}, $…
480 …$$fileref = $copyrightdir . $installer::globals::separator . "solariscopyrightfile_" . $onepackage…
482 installer::files::save_file($$fileref, $copyrightfile);
485 $installer::logger::Lang->printf("Using license file: \"%s\"!\n", $$fileref);
503 …installer::exiter::exit_program("ERROR: Could not find license file $licensefilename (B)", "create…
508 …installer::exiter::exit_program("ERROR: Could not find readme file $readmefilename (C)", "create_e…
515 if (( $installer::globals::issolarispkgbuild ) && ( ! $installer::globals::patch ))
519 elsif (( $installer::globals::islinuxbuild ) && ( ! $installer::globals::patch ))
524 if (( $replaces ) && ( ! $installer::globals::patch ))
530 my $allreplaces = installer::converter::convert_stringlist_into_array(\$replacesstring, ",");
536 installer::packagelist::resolve_packagevariables(\$onereplaces, $variableshashref, 1);
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 ) &&
594 my $allprovides = installer::converter::convert_stringlist_into_array(\$providesstring, ",");
600 installer::packagelist::resolve_packagevariables(\$oneprovides, $variableshashref, 1);
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…
621 …$requiresstring = installer::converter::replace_masked_separator($requiresstring, ",", "$replaceme…
623 my $allrequires = installer::converter::convert_stringlist_into_array(\$requiresstring, ",");
625 installer::converter::resolve_masked_separator($allrequires, ",", $replacementstring);
631 installer::packagelist::resolve_packagevariables2(\$onerequires, $variableshashref, 0, $isdict);
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;
658 …$requiresstring = installer::converter::replace_masked_separator($requiresstring, ",", "$replaceme…
659 my $allrequires = installer::converter::convert_stringlist_into_array(\$requiresstring, ",");
660 installer::converter::resolve_masked_separator($allrequires, ",", $replacementstring);
666 installer::packagelist::resolve_packagevariables(\$onerequires, $variableshashref, 0);
667 …if ( $installer::globals::debian ) { $onerequires =~ s/_/-/g; } # Debian allows no underline in pa…
766 my $shellscriptsfileref = installer::files::read_file($shellscriptsfilename);
788 installer::logger::include_header_into_logfile("Check epm on system");
809 …my $epmref = installer::scriptitems::get_sourcepath_from_filename_and_includepath( \$epmname, $inc…
810 …if ($$epmref eq "") { installer::exiter::exit_program("ERROR: Could not find program $epmname (EPM…
815 …installer::exiter::exit_program("Environment variable EPM set (\"$ENV{'EPM'}\"), but file does not…
820 …my $epmfileref = installer::scriptitems::get_sourcepath_from_filename_and_includepath(\$epmname, $…
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::…
827 $installer::logger::Lang->printf("Using epmfile: %s\n", $epmname);
849 if ( $_ =~ /Patched for OpenOffice.org/ ) { $installer::globals::is_special_epm = 1; }
854 if ( $installer::globals::is_special_epm )
856 $installer::logger::Lang->print("\n");
857 $installer::logger::Lang->print("Patch state: This is a patched version of epm!\n");
858 $installer::logger::Lang->print("\n");
862 $installer::logger::Lang->print("\n");
863 $installer::logger::Lang->print("Patch state: This is an unpatched version of epm!\n");
864 $installer::logger::Lang->print("\n");
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;
892 …my $getuidlibraryref = installer::scriptitems::get_sourcepath_from_filename_and_includepath(\$getu…
900 …if ($$getuidlibraryref eq "") { installer::exiter::exit_program("ERROR: Could not find $getuidlibr…
916 installer::logger::include_header_into_logfile("epm call for $packagename");
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"; };
941 $installer::logger::Info->printf("... %s ...\n", $systemcall);
955 $installer::logger::Lang->printf("Systemcall (Try %d): \n", $i, $systemcall);
960 $installer::logger::Lang->print($epmoutput[$j]);
965 … $installer::logger::Lang->printf("Try %d : Could not execute \"%s\"!\n", $i, $systemcall);
966 …if ( $i == $maxepmcalls ) { installer::exiter::exit_program("ERROR: \"$systemcall\"!", "call_epm")…
970 …$installer::logger::Info->printf("Success: Executed (Try %d): \"%s\" successfully\n", $i, $systemc…
971 …$installer::logger::Lang->printf("Success: Executed (Try %d): \"%s\" successfully\n", $i, $systemc…
986 if ( $installer::globals::issolarispkgbuild )
991 if ( $installer::globals::islinuxrpmbuild )
1007 …if (! $inserted_line) { installer::exiter::exit_program("ERROR: Did not find string \"Group:\" in …
1011 … $installer::logger::Lang->printf("Success: Added line %s into file !\n", $insertline, $filename);
1023 my $revisionstring = "\,REV\=" . $installer::globals::packagerevision;
1045 $installer::logger::Lang->printf("Info: Changed in %s file: \"%s\" to \"\"!\n",
1056 if ( $installer::globals::issolarisx86build ) { $pkgversion = "SOLIAPKGVERSION"; }
1067 my $version = $installer::globals::packageversion;
1103 …$installer::logger::Lang->printf("Info: Changed in %s file: \"%s\" to \"\"!\n", $filename, $oldstr…
1122 if ( $installer::globals::issolarisx86build ) { $patchlistname = "SOLIAPATCHLISTFORRESPIN"; }
1133 …my $allpatches = installer::converter::convert_whitespace_stringlist_into_array(\$allpatchesstring…
1154 …installer::exiter::exit_program("ERROR: Unknown patch string: $patchdefinition", "set_patchlist_in…
1180 my $patchstring = installer::converter::convert_array_to_space_separated_string(\@usedpatches);
1193 …if ( ! $allvariables->{$key} ) { installer::exiter::exit_program("ERROR: No Patch info available i…
1324 $newepmdir = cwd() . $installer::globals::separator . $newepmdir; # only absolute path allowed
1335 …$installer::logger::Lang->printf("Info: Removed line \"%s\" from file %s!\n", $removeline, $filena…
1353 …$installer::logger::Lang->printf("Success: Added line %s into file %s!\n", $topdirline, $filename);
1357 …if (! $inserted_line) { installer::exiter::exit_program("ERROR: Did not find string \"Group:\" in …
1370 my $packager = $installer::globals::longmanufacturer;
1378 $installer::logger::Lang->printf("Info: Changed Packager in spec file from %s to %s!\n",
1403 … $installer::logger::Lang->printf("Info: Changed requirements in spec file from %s to %s!\n",
1438 … $installer::logger::Lang->printf("Success: Added line %s into spec file!\n", $autoreqprovline);
1460 … $installer::logger::Lang->printf("Info: Replaced Copyright with License: %s !\n", $license);
1499 … $installer::logger::Lang->printf("Info: Removed line \"%s\" from prototype file!\n", $line);
1511 …$installer::logger::Lang->printf("Info: Changed line in prototype file: %s !\n", ${$prototypefile}…
1547 $installer::logger::Lang->printf(
1574 $installer::logger::Lang->printf("Info: Substituting in %s %s by %s\n",
1603 $installer::logger::Lang->printf("Info: Substituting in %s %s by %s\n",
1609 $installer::logger::Lang->printf("Old Line: %s", $oldline);
1610 $installer::logger::Lang->printf("New Line: %s", ${$scriptfile}[$i]);
1634 $installer::logger::Lang->printf("Info: Directory created by epm: %s\n", $dirname);
1650 if ( $installer::globals::issolarispkgbuild )
1670 … $installer::logger::Lang->printf("TAB: Changing content from \"%s\" to \"%s\" .\n",
1674 if (! installer::existence::exists_in_array($onefile->{'SolarisClass'}, \@newclasses))
1685 $newclassesstring = installer::converter::convert_array_to_space_separated_string(\@newclasses);
1688 if ( $installer::globals::islinuxrpmbuild )
1712 $installer::logger::Lang->printf(
1743 … $installer::logger::Lang->printf("pkginfo file: Changing content from \"%s\" to \"%s\" .\n",
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];
1831 …my $extensiondir = installer::systemactions::create_directories("extensionscripts", $languagestrin…
1835 my $destdir = $extensiondir . $installer::globals::separator . $prototypefilename;
1836 if ( ! -d $destdir ) { installer::systemactions::create_directory($destdir); }
1837 my $destpath = $destdir . $installer::globals::separator . $destfile;
1841 my $scriptfile = installer::files::read_file($sourcefilename);
1848 installer::files::save_file($destpath, $scriptfile);
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"; }
1896 …if ( ! $variableshashref->{$patchidname} ) { installer::exiter::exit_program("ERROR: Variable $pat…
1902 if ( $installer::globals::issolarisx86build ) { $patchobsoletesname = "SOLIAPATCHOBSOLETES"; }
1910 if ( $installer::globals::issolarisx86build ) { $patchrequiresname = "SOLIAPATCHREQUIRES"; }
1979 installer::packagelist::resolve_packagevariables(\$packagelistentry, $variableshashref, 1);
1987 installer::packagelist::resolve_packagevariables(\$packagelistentry, $variableshashref, 1);
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");
2058 …if ( $abbreviation =~ /\%/ ) { installer::exiter::exit_program("ERROR: Could not resolve all prope…
2060 if ( exists($installer::globals::dependfilenames{$abbreviation}) )
2062 my $packagename = $installer::globals::dependfilenames{$abbreviation};
2063 …if ( $packagename =~ /\%/ ) { installer::exiter::exit_program("ERROR: Could not resolve all proper…
2070 …installer::exiter::exit_program("ERROR: Missing packagename for Solaris package \"$abbreviation\"!…
2091 my $newepmdir = $installer::globals::epmoutpath . $installer::globals::separator;
2096 if ( $installer::globals::issolarispkgbuild )
2102 if ( $installer::globals::islinuxrpmbuild )
2111 …if ( ! -f $completefilename) { installer::exiter::exit_program("ERROR: Did not find file: $complet…
2112 my $changefile = installer::files::read_file($completefilename);
2116 installer::files::save_file($completefilename, $changefile);
2124 if ( $installer::globals::islinuxrpmbuild )
2127 …set_autoprovreq_in_specfile($changefile, $onepackage->{'findrequires'}, "$installer::globals::unpa…
2133 installer::files::save_file($completefilename, $changefile);
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…
2148 installer::files::save_file($completefilename, $changefile);
2152 …if (! -f $prototypefilename) { installer::exiter::exit_program("ERROR: Did not find prototype file…
2154 my $prototypefile = installer::files::read_file($prototypefilename);
2161 installer::files::save_file($completefilename, $changefile);
2164 …if ( $installer::globals::patch ) { add_scripts_into_prototypefile($prototypefile, $prototypefilen…
2166 installer::files::save_file($prototypefilename, $prototypefile);
2167 if ( $installer::globals::patch ) { collect_patch_files($prototypefile, $packagename, ""); }
2174 my $dependfile = installer::files::read_file($dependfilename);
2176 installer::files::save_file($dependfilename, $dependfile);
2203 $installer::logger::Lang->printf("Spec File: Changing content from \"%s\" to \"%s\".\n",
2228 installer::logger::include_header_into_logfile("Replacing variables in epm list file:");
2251 if ( $installer::globals::rpm ne "" )
2253 $systemcall = "$installer::globals::rpm --version |";
2268 $installer::logger::Lang->printf("Systemcall: %s\n", $systemcall);
2272 $installer::logger::Lang->printf("ERROR: Could not find file \"rpm\" !\n");
2276 $installer::logger::Lang->printf("Success: rpm version: %s\n", $rpmout);
2282 …else { installer::exiter::exit_program("ERROR: Unknown format: $rpmout ! Expected: \"a.b.c\", or \…
2297 $installer::logger::Lang->printf("\n");
2298 $installer::logger::Lang->printf("Logging rpmrc content using --showrc\n");
2299 $installer::logger::Lang->printf("\n");
2301 if ( $installer::globals::rpm ne "" )
2303 $systemcall = "$installer::globals::rpm --showrc |";
2325 $installer::logger::Lang->print($infoline);
2330 … $installer::logger::Lang->printf("Problem in systemcall: %s : No return value\n", $systemcall);
2333 $installer::logger::Lang->printf("End of logging rpmrc\n");
2334 $installer::logger::Lang->print("\n");
2349 if ( $installer::globals::issolarispkgbuild )
2352 …if (! -f $prototypefile) { installer::exiter::exit_program("ERROR: Did not find file: $prototypefi…
2355 installer::pathanalyzer::get_path_from_fullqualifiedname(\$destinationdir);
2360 $installer::logger::Info->printf("... %s ...\n", $systemcall);
2374 $installer::logger::Lang->printf("Systemcall (Try %d): %s\n", $i, $systemcall);
2379 $installer::logger::Lang->print($pkgmkoutput[$j]);
2384 $installer::logger::Lang->printf("Try %s : Could not execute \"%s\"!\n",
2386 …if ( $i == $maxpkgmkcalls ) { installer::exiter::exit_program("ERROR: \"$systemcall\"!", "create_p…
2390 … $installer::logger::Info->printf("Success: (Try %d): Executed \"%s\" successfully\n",
2392 … $installer::logger::Lang->printf("Success: (Try %d): Executed \"%s\" successfully\n",
2402 if ( ! $installer::globals::jds_language_controlled )
2404 my $correct_language = installer::worker::check_jds_language($allvariables, $languagestringref);
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 "" )
2413 $packagestempdir = installer::systemactions::create_directories("jds", $languagestringref);
2414 $installer::globals::saved_packages_path = $packagestempdir;
2415 push(@installer::globals::jdsremovedirs, $packagestempdir);
2418 …$systemcall = "cd $destinationdir; cp -p -R $packagename $installer::globals::saved_packages_path;…
2420 $installer::logger::Info->printf("... %s ...\n", $systemcall);
2426 $installer::logger::Info->printf("... %s ...\n", $systemcall);
2430 $installer::logger::Lang->printf("Systemcall: %s\n", $systemcall);
2434 … $installer::logger::Lang->printf("ERROR: Could not execute \"%s\"!\n", $systemcall);
2438 … $installer::logger::Lang->printf("Success: Executed \"%s\" successfully!\n", $systemcall);
2445 if ( ! $installer::globals::solarisdontcompress )
2449 …my $compressorref = installer::scriptitems::get_sourcepath_from_filename_and_includepath(\$faspac,…
2459 $installer::logger::Lang->printf("Found compressor: %s\n", $faspac);
2461 $installer::logger::Info->printf("... %s ...\n", $faspac);
2462 $installer::logger::Lang->add_timestamp("Starting $faspac");
2473 $installer::logger::Lang->add_timestamp("End of $faspac");
2477 $installer::logger::Lang->printf("Not found: %s\n", $faspac);
2484 $installer::logger::Info->printf("... %s ...\n", $systemcall);
2488 $installer::logger::Lang->printf("Systemcall: %s\n", $systemcall);
2492 $installer::logger::Lang->printf("ERROR: Could not execute \"%s\"!\n", $systemcall);
2496 … $installer::logger::Lang->printf("Success: Executed \"%s\" successfully!\n", $systemcall);
2502 if ( $installer::globals::islinuxrpmbuild )
2505 …if (! -f $specfilename) { installer::exiter::exit_program("ERROR: Did not find file: $specfilename…
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;
2541 $installer::logger::Info->printf("... %s ...\n", $systemcall);
2556 $installer::logger::Lang->printf("Systemcall (Try %d): %s\n", $i, $systemcall);
2562 $installer::logger::Lang->print($rpmoutput[$j]);
2567 … $installer::logger::Lang->printf("Try %d : Could not execute \"%s\"!\n", $i, $systemcall);
2572 …$installer::logger::Info->printf("Success (Try %d): Executed \"%s\" successfully!\n", $i, $systemc…
2573 …$installer::logger::Lang->printf("Success (Try %d): Executed \"%s\" successfully!\n", $i, $systemc…
2588 $installer::logger::Info->printf("... %s ...\n", $rpmprog);
2600 $installer::logger::Lang->printf("\n");
2601 … $installer::logger::Lang->printf("Last try: Using %s directly (problem with LD_LIBARY_PATH)\n",
2604 $installer::logger::Lang->printf("\n");
2605 $installer::logger::Lang->printf("Systemcall: %s\n", $helpersystemcall);
2609 $installer::logger::Lang->print($helperrpmoutput[$j]);
2614 … $installer::logger::Lang->printf("Could not execute \"%s\"!\n", $helpersystemcall);
2618 … $installer::logger::Lang->printf("Success: Executed \"%s\" successfully!\n", $helpersystemcall);
2619 … $installer::logger::Info->printf("Success: Executed \"%s\" successfully!\n", $helpersystemcall);
2625 …if ( $rpm_failed ) { installer::exiter::exit_program("ERROR: \"$systemcall\"!", "create_packages_w…
2640 if ( $installer::globals::issolarispkgbuild )
2660 $installer::logger::Lang->printf("Systemcall: %s\n", $systemcall);
2664 if ( $installer::globals::islinuxrpmbuild )
2673 $installer::logger::Lang->printf("Systemcall: %s\n", $systemcall);
2681 $installer::logger::Info->printf("... %s ...\n", $systemcall);
2689 $installer::logger::Info->printf("... %s ...\n", $systemcall);
2693 $installer::logger::Lang->printf("Systemcall: %s\n", $systemcall);
2697 $installer::logger::Lang->printf("ERROR: Could not execute \"%s\"!\n", $systemcall);
2701 … $installer::logger::Lang->printf("Success: Executed \"%s\" successfully!\n", $systemcall);
2716 $installer::logger::Lang->printf("Systemcall: %s\n", $systemcall);
2720 $installer::logger::Lang->printf("ERROR: Could not execute \"%s\"!\n", $systemcall);
2724 $installer::logger::Lang->printf("Success: Executed \"%s\" successfully!\n", $systemcall);
2736 my $newdir = $installer::globals::epmoutpath;
2738 if ( $installer::globals::islinuxrpmbuild )
2742 if ( $installer::globals::compiler =~ /unxlngi/) {
2743 $rpmdir = "$installer::globals::epmoutpath/RPMS/i586";
2745 elsif ( $installer::globals::compiler =~ /unxlng/) {
2747 $rpmdir = "$installer::globals::epmoutpath/RPMS/$machine";
2749 …else { installer::exiter::exit_program("ERROR: rpmdir undefined !", "create_new_directory_structur…
2755 $installer::logger::Lang->printf("Systemcall: %s\n", $systemcall);
2759 $installer::logger::Lang->printf("ERROR: Could not move content of \"%s\" to \"%s\"!\n",
2764 $installer::logger::Lang->printf("Success: Moved content of \"%s\" to \"%s\"!\n",
2772 … installer::systemactions::remove_empty_directory("$installer::globals::epmoutpath/RPMS/$machine");
2774 installer::systemactions::remove_empty_directory("$installer::globals::epmoutpath/RPMS/x86_64");
2775 installer::systemactions::remove_empty_directory("$installer::globals::epmoutpath/RPMS/i586");
2776 installer::systemactions::remove_empty_directory("$installer::globals::epmoutpath/RPMS/i386");
2777 installer::systemactions::remove_empty_directory("$installer::globals::epmoutpath/RPMS");
2786 $installer::logger::Lang->printf("Systemcall: %s\n", $localcall);
2790 $installer::logger::Lang->printf("ERROR: Could not execute \"%s\"!\n", $localcall);
2794 $installer::logger::Lang->printf("Success: Executed \"%s\" successfully!\n", $localcall);
2859 my $oldcontent = installer::systemactions::read_directory($destdir);
2870 …my ($newcontent, $allcontent ) = installer::systemactions::find_new_content_in_directory($destdir,…
2872 installer::pathanalyzer::make_absolute_filename_to_relative_filename(\$newpackagename);
2896 … = $sopackpath . $installer::globals::separator . $installer::globals::compiler . $installer::glob…
2900 …my $sourcepathref = installer::scriptitems::get_sourcepath_from_filename_and_includepath(\$package…
2904 …if ( ! -f $sourcefile ) { installer::exiter::exit_program("ERROR: File not found: $sourcefile ($pa…
2907 $localdestdir = $localdestdir . $installer::globals::separator . $onemodule->{'Subdir'};
2908 if ( ! -d $localdestdir ) { installer::systemactions::create_directory($localdestdir); }
2910 installer::systemactions::copy_one_file($sourcefile, $localdestdir);
2912 …if ( $installer::globals::issolarispkgbuild ) { $packagename = unpack_tar_gz_file($packagename, $l…
2914 if (( $installer::globals::isxpdplatform ) && ( $allvariables->{'XPDINSTALLER'} ))
2916 …installer::xpdinstaller::create_xpd_file_for_childproject($onemodule, $localdestdir, $packagename,…
2947 …else { installer::exiter::exit_program("ERROR: Environment variable SO_PACK not set!", "put_childp…
3005 installer::pathanalyzer::make_absolute_filename_to_relative_filename(\$subdir);
3006 my $allpackages = installer::systemactions::read_directory(${$content}[$i]);
3010 …if (( $installer::globals::islinuxbuild ) && ( ! ( ${$allpackages}[$j] =~ /\.rpm\s*$/ ))) { next; }
3055 … $installer::logger::Lang->printf("Including into installation set: %s\n", $packagetarfilename);
3057 …my $sourcepathref = installer::scriptitems::get_sourcepath_from_filename_and_includepath(\$package…
3058 …if ( $$sourcepathref eq "" ) { installer::exiter::exit_program("ERROR: Source path not found for $…
3061 my $oldcontent = installer::systemactions::read_directory($destdir);
3066 …my ($newcontent, $allcontent ) = installer::systemactions::find_new_content_in_directory($destdir,…
3070 …if ( ! $installer::globals::issolarispkgbuild ) { ($newcontent, $subdir) = control_subdirectories(…
3073 …installer::globals::issolarispkgbuild ) && ( $installer::globals::englishlicenseset ) && ( ! $vari…
3075 if (( $installer::globals::isxpdplatform ) && ( $allvariables->{'XPDINSTALLER'} ))
3077 …installer::xpdinstaller::create_xpd_file_for_systemintegration($onemodule, $newcontent, $modulesar…
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'}; }
3173 installer::systemactions::copy_one_file($sourcefile, $destfile);
3175 $installer::logger::Lang->printf("Adding to installation set \"%s\" from source \"%s\".\n",
3207 if ( $installer::globals::issolarissparcbuild ) { $architecture = "sparc"; }
3208 if ( $installer::globals::issolarisx86build ) { $architecture = "i386"; }
3212 …if ( ! $allvariables->{'SOLARISPATCHCORRECTS'} ) { installer::exiter::exit_program("ERROR: No sett…
3219 if ( $installer::globals::issolarissparcbuild ) { $requiresstring = "SOLSPARCPATCHREQUIRES"; }
3220 if ( $installer::globals::issolarisx86build ) { $requiresstring = "SOLIAPATCHREQUIRES"; }
3239 if ( $installer::globals::issolarisx86build ) { $patchidname = "SOLIAPATCHID"; }
3241 …if ( ! $allvariables->{$patchidname} ) { installer::exiter::exit_program("ERROR: Variable $patchid…
3243 installer::systemactions::rename_directory($newepmdir, $patchid);
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[…
3256 installer::systemactions::copy_one_file($sourcefile, $destfile);
3261 my $patchinfofilename = $patchid . $installer::globals::separator . "patchinfo";
3262 my $patchinfofile = installer::files::read_file($patchinfofilename);
3264 installer::files::save_file($patchinfofilename, $patchinfofile);
3281 installer::logger::include_header_into_logfile("Creating Linux patch setup:");
3286 …my $scriptref = installer::scriptitems::get_sourcepath_from_filename_and_includepath(\$scriptfilen…
3287 …if ($$scriptref eq "") { installer::exiter::exit_program("ERROR: Could not find patch script templ…
3288 my $scriptfile = installer::files::read_file($$scriptref);
3290 $installer::logger::Lang->printf("Found script file %s: %s \n", $scriptfilename, $$scriptref);
3295 my $rpmfiles = installer::systemactions::find_file_with_file_extension($fileextension, $newepmdir);
3296 …if ( ! ( $#{$rpmfiles} > -1 )) { installer::exiter::exit_program("ERROR: Could not find rpm in dir…
3297 …for ( my $i = 0; $i <= $#{$rpmfiles}; $i++ ) { installer::pathanalyzer::make_absolute_filename_to_…
3327 …if ( ! $found_package ) { installer::exiter::exit_program("ERROR: No package containing \"-core01\…
3333 …$#{$scriptfile}; $j++ ) { ${$scriptfile}[$j] =~ s/PRODUCTDIRECTORYNAME/$installer::globals::office…
3340 … $installer::logger::Lang->printf("Adding productname %s into Linux patch script\n", $productname);
3347 installer::files::save_file($newscriptfilename, $scriptfile);
3349 $installer::logger::Lang->printf("Saved Linux patch setup %s\n", $newscriptfilename);