version uses. Instead we'll have to dump it's output to a file and then use
that to lookup dependencies by hand. This should also work on Irix 6.2
since the outputs are compatible.
See the dep_pkg_name function for details.
Add deps_resolve_symlinks control variable. If set readlink will be used to
resolve symlinks before doing lookups in the showfiles cache for
dependencies.
Add relnotes support for Irix 5.3 IDO controlled by the mipspro variable.
Default permissions weren't being used when generating prototype files
Keep track of packages and make each one gets the proper pkginfo file added
to the prototype file.
pkgdef entries should now be relative to $topinstalldir.
Fix a bug in prereq processing when creating the specfile. This avoids
adding spurious leftovers from previous subsystems to later subsystems.
Add support for adding sha1sum of all source[x] entries to relnotes.
Make it possible to filter autodeps by putting them in ignore_deps
Add a hint to notify auto_rel when mipspro is used.
Make it possible to use the auto keyword for external depends. This is
useful for adding hidden dependencies that autodeps can't pick up.
When autodeps looks for scripts it needs to filter ou any args that
may be given to the interpreter (like -w with perl)
Fix up rel_conf_sub to match auto_rel wrt. configure info and relnotes
Add flag to indicat to auto_rel if the compiler was mipspro so it can
act accordingly when filling out the COMPILER field
Implement run_configure and autoconf overrides
run_configure is a new platform specific way to do the configure step of
the build.
It was implemented to allow the use of the ac_overrides variable to easily
override autoconf settings which is needed on Irix.
run_configure will also run an automatic scan (using an external script
check_ac) of config.log for suspicious ac_cv_lib definitions.
The contents of ac_overrides will be added in the Configure part of the
relnotes.
Fixed the FIXME's regarding perl in auto_rel by replacing perl with awk.
Thanks to Laura Fairhead who posted that awk trick on usenet in 2001.
accidentally picked from an already installed revision of the same software.
Only list a dependency once in the relnotes.
Irix 6.2 ldd is too stupid to be used to extract dependencies since it will
just abort if one of the libraries are missing. We use Ariel Faigons perl
version of ldd originally written for Irix 5.3 (which lacks ldd) instead.
Also we need to use GNU xargs which supports -r (--no-run-if-empty) to
avoid running showfiles on empty input since otherwise it will list all
installed packages.
Exclude patchSG* packages from depends
This checkin includes some new functions to automatically handle
the extraction of dependency information.
It was heavily inspired by the find-requires script found in the rpm
distribution.
Kill shortroot handling. This is now handled at install time.
Cleanup the topinstalldir/metainstalldir etc. confusion
topinstalldir now explicitly marks where the package is attached to the
filesystem. Like /usr/local or /.
metainstalldir is used to define the location of the metadata files like
relnotes and distfiles.
Reimplement the auto keyword for depends.
It's now used slightly differently, where before it would create an
explicit depend on sw.base it can create a depend on any internal subsystem
In depends you can now put:
sw.base sw.lib auto
And you sw.base will automatically depend on the explicit version of sw.lib
Add new error message that will be trigged by an overflow of the version
number in fix_ver (buildpkg.packaging.irix)
Add a small Irix specific hack to clean (see the commit comment for
buildpkg.packaging.irix, r1.32 for the full explanation)
I think was sorely missing before and something that's standard on Solaris.
Make it possible to automatically have modified configure_args put into
relnotes. It's a bit of a hack where instead of assigning the value
directly to the variable we go through a function. Now the nasty bit
is that we can't add relnotes.txt to META_CLEAN since generic_pack
does clean meta which would wipe out changes from build stage.
Instead we add a hack to the distclean method in clean that removes this
file.
I may eventually have to create a generic_clean method that can
be called from pr. platform specific clean function to avoid this kind
of layer violation.
Fix the format of the spec version field again.
I just realised a fairly obvious flaw with the existing system where
increasing the pkgrev from single digits to multiple digits didn't increase
the version but actually decreased it.
Ie. 1.19-9 becomes 11990000 and 1.19-10 becomes 11910000 - ooops!
Instead the pkgrev should be right justified, so instead of 11910000 we'd
have 11900010.
I also eliminated the need for printf in fix_ver, something I shou've
done from the beginning when I realised that Irix 5.3 printf was not up to
the task (only supports %s).