summaryrefslogtreecommitdiff
path: root/installperl
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Fix installation of 'autodie'Jerry D. Hedden2009-03-051-1/+1
|
* Fix to installing non-xs ext's in priv libJerry D. Hedden2009-02-241-1/+2
|
* Move XSSymSet.pm to lib/ExtUtils/, but only install it on VMS.Nicholas Clark2009-02-051-0/+2
| | | | This reduces the number of places with special-casing logic.
* suidperl goes.Nicholas Clark2009-01-231-13/+0
|
* much better git related version numbering in our (*nix for now) build processYves Orton2008-12-311-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The net result of this patch is to make available via Config.pm and -v/-V the details about the git version info we have available for the build. When built within a git repository git is queried directly. When built from a snapshot or bundle it is assumed that the source is unchanged, and that the required details are avaialble in a file called .patch, whose format current is a four field string in the following format: "$branchname $date.$time $sha1 $describe". The generator of these files currently resides on camel.booking.com. * git-describe is now used more directly with -v. When the prefix of git-describe matches the version number as determined by the defines in patchlevel.h then we use ONLY the git-describe output, otherwise we include the git describe in parenthesis after the version number. Either way the describe text is optionally followed by a star should there be uncommitted changes. eg: This is perl, v5.11.0 (GitLive-blead-136-g58ca560) built for i686-linux or: This is perl, v5.11.0-1-g58ca560 built for i686-linux or: This is perl, v5.11.0 built for i686-linux * include the SHA1 in perl -V summary, and automatically include unpushed commits in the registered patches list * include various git/version/.patch details in %Config, as follows: git_commit_id # sha1 of HEAD git_ancestor # ancestor in $remote/$branch (presumably canonical) git_describe # git describe git_branch # current branch git_uncommitted_changes # "true" if there are any, empty otherwise git_unpushed_commits # List of sha1's of unpushed commits git_commit_id_title # Used to make the perl -V summary output Additionally one more value is added depending on build process used: when building from an rsynced snapshot (or any dist including a file called .patch) then the second field will be used to populate the "git_snapshot_date" field. Otherwise if built in a git directory (as is hopefully recommended these day) then the field will be "git_commit_date" which will be the commit date of HEAD. This patch introduces two new files (on top of .patchnum) that will be generated by make_patchnum.sh: "lib/Config_git.pl" and "unpushed.h", the former is used to make git data available to Config.pm/%Config without rebuilding everything else, and the second is used to expose unpushed commits (if any) via the registered patch facility of patchlevel.h
* installperl patchletAndreas J. Koenig2008-10-281-0/+1
| | | | | | Message-ID: <87k5btpdef.fsf@k75.linux.bogus> Date: Tue, 28 Oct 2008 05:11:20 +0100 p4raw-id: //depot/perl@34620