summaryrefslogtreecommitdiff
path: root/installperl
Commit message (Collapse)AuthorAgeFilesLines
* Replace multiple 'use vars' by 'our' in utilsNicolas R2017-11-111-2/+2
| | | | | Using vars pragma is discouraged and has been superseded by 'our' declarations available in Perl v5.6.0 or later.
* Remove "Warning: perl appears in your path"David Mitchell2016-11-141-43/+0
| | | | | | | | | This install warning is more or less obsolete, since most platforms already *will* have a /usr/bin/perl or similar provided by the OS. We agreed to remove it in this thread: http://nntp.perl.org/group/perl.perl5.porters/240000
* [perl #127556] update installperl to new location of W32 libperl link libDaniel Dragan2016-02-181-0/+9
| | | | | | | | | | | | | | | | | | | | commit bf543eaf90 made the Win32 GCC or VC linkers produce [lib]perl[5xx].[a/lib] in the /lib/CORE dir to reduce the prereq recipie lines needing to run until XS modules can be built ("Extensions" which builds all DLL XS modules is the longest running target and every effort should be made for it to be started sooner by the make tool in parallel build). The file is now made in /lib/CORE, previously it was made in root and xcopy-ed to /lib/CORE in the same target that built the file. xcopy is a seperate process run so was remove in that commit. installperl doesn't use uninstalled /lib/CORE to determine the contents of installed /lib/CORE (maybe that is a bug or bad design?), so the linking lib was not being installed after a "[g/d]make install" making it impossible to compile XS code on Win32 Perl. Change installperl to look for the linking lib in /lib/CORE on Win32 and not in root. Even though the nmake makefile still does the XCOPY since it is older/less maintained, the installperl code still works since the root and /lib/CORE files are identical on the nmake build and built in the same target.
* dont install PPPort.so/PPPort.dllDaniel Dragan2015-11-021-2/+2
| | | | | | | | | | | | | | | | | | | | | | This shared lib is only used for PPPort testing itself, it is similar to APItest.dll in purpose. PPPort.pm never uses XSLoader/DynaLoader, only its .t files do. This saves 616KB in the final install dir on Win32, and atleast one or two dozen KB on all OSes. Since where is auto dir, and what is arch dir, is complicated and unportable (atleast to me), and what other files live next to the shared lib (examples, .pdb file, .bs file, .a file) match the directory fragment, not the files inside of it or the dirs full path. Directory of C:\p523\src\lib\auto\Devel\PPPort 10/25/2015 07:16 PM <DIR> . 10/25/2015 07:16 PM <DIR> .. 10/25/2015 07:16 PM 0 .exists 10/25/2015 07:16 PM 59,392 PPPort.dll 10/25/2015 07:16 PM 796 PPPort.exp 10/25/2015 07:16 PM 1,738 PPPort.lib 10/25/2015 07:16 PM 569,344 PPPort.pdb 5 File(s) 631,270 bytes
* don't distribute version::vpp/EUMM::version::vppDaniel Dragan2015-10-281-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | version::vpp is not part of the public API of version::, the core cpan/version/lib/version.pm is not capable of using it unlike the version.pm on cpan, and the Makefile.PL from cpan version:: that picks between vpp and vxs isn't in core either. The xsubs behind core version.pm are permanently baked in universal.c, they arent "static XS" or "dynamic (shared lib) XS", and no XSLoader/DynaLoader is used. vpp.pm is therefore useless in blead distributed version:: since vpp.pm is only useful on very old perls. In blead, vpp only existed for the purpose of making 00impl-pp.t pass, yet takes up space in the perl tarball, and was installed into the final install location, so remove vpp.pm to save space since it is unusable. vpp.pm and the rest of version is developed on cpan, not in core, and vpp.pm is sort of a devel tool and sanity check and therefore an author test, and core doesn't include author tests like pod-coverage.t so that is one other reason it is being removed. Also remove EUMM's vpp.pm, first it isn't miniperl compatible, and it also is a copy more or less of version::vpp, and blead perl comes with version.pm, since it is blead perl and not an old perl. If there is an accident/error/bad behaviour EUMM::vpp.pm can get loaded ( http://www.nntp.perl.org/group/perl.perl5.porters/2015/10/msg232039.html ), but it is an error for it to ever be loaded. Prevent "silent failure" by deleteing EUMM::vpp.pm, this way the failure will be an obvious can't find EUMM::vpp.pm instead of subtle differences between the XS and PP version implementations, or the not miniperl compatible failure. Although ExtUtils::MakeMaker::version::regex.pm could be deleted for the same reasons as EUMM::vpp.pm, I am leaving it in for now until the EUMM patch in "version PP is not PP" goes through review, but still dont install it, blead comes with the official version::regex.pm version::vpp.pm is 22KB 00impl-pp.t is 0.5KB ExtUtils::MakeMaker::version::vpp.pm is 23KB ExtUtils::MakeMaker::version::regex.pm is 5KB The 3 .pm files were being installed into the final installed perl location where they are useless on blead perl. Some people complain perl core is too big/bloated (redhat perl), removing 50KB and 3 files from final location, and 45.5KB and 3 files from the tarball helps to trim the core.
* amigaos4: install scriptsAndy Broad2015-09-051-6/+19
| | | | | | - needs different mode for shared objects (libraries) - needs running the os-specific utility - no hard links but symlinks
* Replace common Emacs file-local variables with dir-localsDagfinn Ilmari Mannsåker2015-03-221-5/+0
| | | | | | | | | | | | | | | | An empty cpan/.dir-locals.el stops Emacs using the core defaults for code imported from CPAN. Committer's work: To keep t/porting/cmp_version.t and t/porting/utils.t happy, $VERSION needed to be incremented in many files, including throughout dist/PathTools. perldelta entry for module updates. Add two Emacs control files to MANIFEST; re-sort MANIFEST. For: RT #124119.
* [perl #123436] installperl patch related to $Config{dlext}kmx2014-12-161-1/+1
|
* Remove x2p remnantsMatthew Horsfall (alh)2014-06-191-18/+1
|
* Remove Module-Build remnantsSteve Hay2014-05-311-3/+2
|
* Remove Cwd from the "actually architecture dependant files" special cases.Nicholas Clark2013-09-191-1/+0
| | | | | This probably hasn't been needed since the file Cwd.pm was moved from lib/ into the directory containing its XS code.
* In install_lib.pl, no need to Config->import for the relocatableinc setup.Nicholas Clark2013-07-231-1/+1
| | | | | | | | | | require Config; within the BEGIN block instead of using it outside it to save creating one implicit BEGIN block, and running its import twice. Remove the require 5.004; as the require of Config will fail if running with anything other than the version about to be installed. Note in installperl and installman that install_lib.pl imports Config.
* Move the wrapper for File::Path::mkpath() to install_lib.plNicholas Clark2013-07-231-15/+9
| | | | | installperl and installman call File::Path::mkpath with identical arguments and options, so move the repeated code into a single place.
* Move {safe_,}rename() from install{man,perl} into install_lib.plNicholas Clark2013-07-231-14/+0
| | | | | | installman's rename() was identical to installperl's safe_rename() in all but name (and whitespace), so de-duplicate by moving the code to install_lib.pl
* Convert installperl to use Getopt::Long.Nicholas Clark2013-07-131-19/+24
| | | | | | | | | | | | | | This requires some special handling for the +v option. Fortunately, we can cheat, because we know that no other non-options are acceptable. This does change the behaviour slightly from before: * single letter options now also have long names * invalid options are now rejected * command line arguments that are not options are now rejected However, the behaviour for all valid documented invocations is unchanged. Also, add a --help option to display the usage message.
* In installperl rename $opt{dostrip} to $opt{strip}.Nicholas Clark2013-07-131-2/+2
| | | | | This will provide a more meaningful long option name once installperl is converted to Getopt::Long.
* In installperl, record the state of options in %opts instead of lexicals.Nicholas Clark2013-07-131-18/+17
| | | | | | | Replace all lexicals used to track the state of command line options with entries in the hash %opts. Make an exception for $versiononly, as it is controlled by 2 different command line options, and accessed in significantly more places than the state of any other command line option.
* In installperl, invert the sense of the variable used for the -o option.Nicholas Clark2013-07-131-4/+3
| | | | | | Previously it was $otherperls, and had to have its default of 1 explicitly set. Change it to $skip_otherperls, and the default default of undef is perfect.
* Remove dead code from installperl, related to a 5.000->5.001 change.Nicholas Clark2013-07-131-8/+0
| | | | | | | | | | | | | | 5.000 installed autosplit files into archlib. 5.001 and later install into privlib. archlib is earlier in @INC. It wasn't until 5.005 that perl put the version number into the paths used for privlib and archlib, hence without special treatment, the files installed by 5.001 would not be found, because those from 5.000 would be earlier in @INC. See commit a841533b5cf319b3 (Oct 2009) which removes similar special casing code dealing with perldiag.pod confusion between 5.003 and 5.004 All this code became redundant when 5.005 added the version number to library paths. (strictly, commit bfb7748a896459cc in Jul 1998)
* [perl #117033] wrong .packlist creation at installation on Cygwin with destdirTony Cook2013-07-091-4/+5
|
* typo fixes for root level scriptsDavid Steinbrunner2013-05-221-1/+1
| | | | | Add David Steinbrunner to AUTHORS. Update pod issues database.
* Remove cpan/CPANPLUS and associated utilitiesChris 'BinGOs' Williams2013-05-181-1/+1
|
* Remove the Rhapsody port.Nicholas Clark2013-01-161-2/+2
| | | | | | | Rhapsody was an Apple OS that later evolved into Darwin and Mac OS X. It was initially only released to developers, but later became Mac OS X Server, with releases in 1999 and 2000. It was obsoleted by Mac OS X 10.0, released in March 2001.
* Remove the MPE/iX port.Nicholas Clark2012-09-211-25/+2
| | | | | MPE/iX was a business-oriented minicomputer operating system made by Hewlett-Packard. Support from HP terminated at the end of 2010.
* installperl: CaseFolding.txt no longer neededKarl Williamson2012-06-021-1/+1
| | | | A previous commit has removed the dependency on this file.
* Set *.pod permissions in installperl.Craig A. Berry2012-04-191-0/+1
| | | | | | | | | | installperl takes responsibility for explicitly setting the permissions on most of the files it installs, but had not been doing so on pods for some reason. This commit makes it do so. Not having world/other read access could not only defeat attempts to read documentation, but also cause C<use diagnostics;> to fail when it attempted to open perldiag.pod.
* installperl now uses get_pod_metadata() to install dual-life pods correctly.Nicholas Clark2012-01-021-6/+8
| | | | | | | This ensures that perlfaq*, perlglossary, perlxs, perlxstut and perldoc's Pod files are installed in the same directory as perl.pod, perlintro.pod etc, as they were in 5.14.0 and earlier releases. This commit is analogous to commit d6a39ee219352c8f, which corrected the install location for man pages.
* In installperl, convert the File::Find::find(..., 'lib/') to no_chdir.Nicholas Clark2012-01-021-9/+18
| | | | | | | This eliminates the localized variable $::depth, which really only existed as a bodge to get plausible pathnames in the dry run output when run with -n. (Note, not for the output when running for real without -n, nor for the verbose output)
* In installperl, don't chdir 'lib' before finding files in lib/Nicholas Clark2012-01-021-8/+6
|
* In installperl, add the trailing / to the value held in $::depth.Nicholas Clark2012-01-021-2/+2
| | | | This should make future refactoring simpler.
* In installperl, initialise $do_install{arch,priv}lib at their declarations.Nicholas Clark2012-01-021-5/+10
| | | | Also, add an editor block.
* In installperl, simplify the strip/chmod code for libraries on Darwin.Nicholas Clark2012-01-021-8/+3
|
* Sanitise NetWare changes to installperl.Nicholas Clark2012-01-021-23/+19
| | | | | | | | Commit 2986a63f7e513cf3's changes to installperl could have been cleaner. Consistently pass $opts{verbose} to all invocations of mkpath(). The skip logic for paths matching /\.(?:nlp|nlm|bs)$/ should have been earlier, and should not have created copy&paste code duplication of the calls to copy_if_diff() and chmod.
* Eliminate a couple more suidperl and sperl references.Nicholas Clark2011-12-241-2/+0
| | | | | Remove a superfluous C<LD_LIBRARY_PATH=`pwd`> - make test does this automatically.
* Add x2p/a2p.pod to the 'master' array returned by get_pod_metadata().Nicholas Clark2011-12-241-1/+0
| | | | | | | | | | This makes installman install it correctly. Flagging it as 'toc_omit' means that everything else ignores it. This eliminates the last remaining use of the "pod =" feature of utils.lst, permitting related code to be removed from installperl and installman. This change has the possibly unfortunate cosmetic side effect of installman now installing a2p.1 first, before perl.1
* Update IO-Compress to CPAN version 2.044Chris 'BinGOs' Williams2011-12-041-1/+2
| | | | | | | | | | | | | | | | | [DELTA] 2.044 2 December 2011 * Moved FAQ.pod under the lib directory so it can get installed * Added bin/zipdetails * IO::Compress::Zip - In one-shot mode enable Zip64 mode if the input file/buffer >= 0xFFFFFFFF bytes. * IO::Compress::FAQ - Updates
* [RT #36079] Convert ` to '.jkeenan2011-11-221-1/+1
|
* PATCH: [perl #104226]: Name.pm missing from unicoreKarl Williamson2011-11-211-1/+1
| | | | The installperl script needed to be updated to include this file.
* installperl: Don't install unnecessary unicore/*.txtKarl Williamson2011-03-091-1/+1
| | | | | | This removes from installation certain .txt files in unicore that are no longer needed for execution by Unicode::UCD, since commit 05dbc6f80f8f2d5774f53874803f5a20450bbe82
* Use a buildcustomize.pl to set @INC in miniperl when building extensions.Nicholas Clark2011-02-151-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With the build tools now shipped in various subdirectories of cpan/ and dist/ we need to add several paths to @INC when invoking MakeMaker (etc) to build extensions. The previous approach of using $ENV{PERL5LIB} was fragile, because: a: It was hitting the length limit for %ENV variables on VMS b: It was running the risk of race conditions in a parallel build - ExtUtils::Makemaker "knows" to add -I../..lib, which puts lib at the *front* of @INC, but if one parallel process happens to copy a module into lib/ whilst another is searching for it, the second may get a partial read c: Overwriting $ENV{PERL5LIB} breaks any system where any of the installed build tools are actually implemented in Perl, if they are relying on $ENV{PERL5LIB} for setup This approach a: Doesn't have %ENV length limits b: Ensures that lib/ is last, so copy targets are always shadowing copy sources c: Only affects miniperl, and doesn't touch $ENV{PERL5LIB} Approaches that turned out to have fatal flaws: 1: Using $ENV{PERL5OPT} with a module fails because ExtUtils::MakeMaker searches for the build perl without setting lib, and treats the error caused by a failed -M as "not a valid perl 5 binary" 2: Refactoring ExtUtils::MakeMaker to *not* use -I for lib, and instead rely on $ENV{PERL5LIB} [which includes "../../lib"] fails because: some extensions have subdirectories, and on these EU::MM correctly uses -I../../../lib, where as $ENV{PERL5LIB} only has space for relative paths, and only with two levels. This approach actually takes advantage of ExtUtils::MakeMaker setting an -I option correct for the depth of directory being built.
* Fix typos (spelling errors) in install files.Peter J. Acklam) (via RT2011-01-071-1/+1
| | | | | | | | | # New Ticket Created by (Peter J. Acklam) # Please include the string: [perl #81886] # in the subject line of all future correspondence about this issue. # <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=81886 > Signed-off-by: Abigail <abigail@abigail.be>
* Don't install unnecessary unicore filesDavid Golden2010-11-171-0/+13
| | | | | | | Many of the files in lib/unicore are no longer needed after testing. This patches installperl to skip those files, cutting down the installed size of unicore from about 17M to about 7M.
* Update Archive-Tar to CPAN version 1.70Chris 'BinGOs' Williams2010-11-151-1/+1
| | | | | | | | | | | [DELTA] * important changes in version 1.70 15/11/2010 - Add ptargrep utility courtesy of Grant McLean ** I think I found everywhere that needed updating by grepping for 'ptardiff' and adding where needed. This stuff is definitively not intuitive.
* Remove old code dealing with installing 5.003's perldiagRafael Garcia-Suarez2009-10-141-15/+0
|
* Don't install uupacktool.plRafael Garcia-Suarez2009-10-141-1/+1
|
* Don't install filter-util.plRafael Garcia-Suarez2009-10-121-1/+1
| | | | | This file was getting incorrectly installed with perl since commit 2adbc9b6919cad1240a834325b355e9b2d5efd67, that moved it from t/ to ext/.
* Make installperl look in cpan/ and dist/ as well as in ext/ when lookingSteve Hay2009-10-021-24/+27
| | | | | | | | | for %archpms. Also add a trailing / after the $dir when checking whether a .pm file is that of a non-nonxs_ext module, otherwise entries in nonxs_ext for Digest and Math/BigInt wrongly cause Digest-MD5, Digest-SHA and Math-BigInt-FastCalc to be omitted.
* Don't install .gitignore filesVincent Pit2009-09-071-1/+1
|
* Install arch-dependent files into $archlib.Andy Dougherty2009-08-131-0/+4
| | | | | | | | After the great ext/ renaming, installperl stopped properly parsing the new directory names, and hence did not properly deduce which files are architecture-dependent. This was compounded by Configure's failure to detect ext/IO-Compress as an architecture-dependent module. These two patches fix both of those errors.
* install Config_heavy.pl in archlibDavid Mitchell2009-08-121-1/+1
| | | | commit ae089cc2f4 broke the special-casing of its install dir