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.
It's now possible to designate install status, either default
or nodefault on each subsystem in subsys.conf
The pkgdef template was updated to reflect the changes in subsys.conf
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.
If the last (or only) section in a pkgdef file didn't end with a blank
line then the 'section end' actions wouldn't be performed.
The 'section end' marker is still a *single* blank line and if there are
multiple sections in a pkgdef they *must* be seperated by such a line.
Fix list_pkgs so it actually works the way it was intended
Fix make_pkg to use the fixed list_pkgs
Remove old prototype function and PKGPROTO helper var
Add 'depend' support to add_scripts
Bash 2.03 needs (()) expansion in quotes in parse_def to avoid
a syntax error
Use $AWK instead of awk
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.
- RPM style filelists
- RPM style unpackaged files detection
- Easy creation of multiple packages from one sourcetree
What's currently missing:
- How to handle cleanup of meta data for multiple packages
- Further testing of corner cases (like filenames or paths with spaces)
Extra helper progs and variables needed to support the new functionality
in buildpkg.packaging.solaris was added.
Note that some stuff now has a _ prefix. This is just the beginning
of a major namespace cleanup.
To combat this I've finally done the sensible thing and made the pkginfo.in
template in the scripts directory the default pkginfo file.
I added a feature from buildpkg.packaging.irix which allows pr. machine
configs.