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
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).
Do't include pristine source in the tardist to save space. Instead
only local patches will be in the opt.src subsystem (now truly optional)
Add a - infront of the shortdesc, it looks nicer in swmgr
product ID string.
Fix check_unpackaged. We didn't really need that CMP since all the work was
being done with cat | sort | uniq -u anyway.
Copy original sourcecode also in auto_src.
Fix prereq handling in create_spec().
Fix auto_rel to also work correctly when compiler is gcc 3.4.1
By extending it to a mandatory 8 digits and padding it with zeroes on the
right side it should be possible to avoid problems with version numbers
changing format.
This means 1.19.5->1.20 should be handled correctly now.
Add support for the new subsys.conf keyword (defalt/nodefault).
Flesh out the auto_rel function to help with release notes maintenance.
Added a relnotes.template.irix and make newpkg install a copy
into new sandboxes.
Also clean up newpkg a bit.
Fix a problem with the fix_man function and how to locate the man pages.
The problem was discoved when building gcc-3.4.1 into
$prefix=/usr/local/gcc-3.4.1 and still needing $topinstalldir
to be /usr/local. We now attempt to find any extra subdirs
needed by comparing $prefix and $topinstalldir.
From now on pkgdir will be used to designate the toplevel dir of the pkg
under $BUILDPKG_BASE
Irix specific changes:
Source formatting fixes
Finally get rid of the FIXME on imageconf
Automatically handle opt.src and opt.relnotes subsystems
Now Irix also uses pkgdef and checks for unpackaged files in the stagedir.
subsys.conf will only contain descriptions like image.conf
What missing?
ops & depend functionality is untested
strip function needs to be either generalized or moved to the pr. pkgsystem
function libraries.
Perhaps introduce something like attr from RPM to set specific permissions
in pkgdef.
With this commit we implicitly enable NLS
Enable full wildcard usage in subsys.conf
Currently unpackaged_file detection is missing and perhaps the subsys.conf
syntax should be scrapped in favor of the solaris style pkgdef
since there are many similarities.
New functionality added:
- 'hide' meta file to list files that should be 'nohist' in the IDB
- 'ops' meta file to list files and associated ops
- 'depends' meta file to list prereqs for the specfile.
Several new functions where introduced and a few old ones where
updated.
Fixed a bug in create_idb which resulted in all toplevel image
descriptions being set to the first one listed in image.conf
Extended subsys.conf to use wildcards to match files
for the subsystems
What's missing currently is the ability to check
if there are unpackaged files left in the staging
area, like rpm does.
New functionality has been ligthly tested
The existing solaris/sysv support was split into it's own file
Support for Irix 'inst' packages was added. This is working but I'm not
completely sure that the .tardist format is generated correctly.