12 Commits

Author SHA1 Message Date
Tom G. Christensen
2ff1b5e084 Split strip function into system specific subfunctions.
After the rewrite of add_files in the Irix function library permissions
where not assigned correctly. This has been fixed.
2009-12-19 14:38:40 +01:00
Tom G. Christensen
5def702b56 Make the output from the unpackaged files check much more readable. 2009-12-19 14:38:40 +01:00
Tom G. Christensen
de840b7038 One more attempt at fixing the parse_def logic.
New defaults needed by the enhanced strip function
2009-12-19 14:38:40 +01:00
Tom G. Christensen
152a6acd21 Fix a very subtle gotcha in the pkgdef definition.
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.
2009-12-19 14:38:40 +01:00
Tom G. Christensen
6d88b4bd9e Make check_unpackaged list the diff so one can actually see what's
missing :)
2009-12-19 14:35:08 +01:00
Tom G. Christensen
d15a078371 Add helper functions to extract PKG and PSTAMP from pkginfo files
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
2009-12-19 14:35:08 +01:00
Tom G. Christensen
6fd05c7a42 Major new functionality:
- 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)
2009-12-19 14:35:07 +01:00
Tom G. Christensen
451501c423 *** empty log message *** 2009-12-19 14:35:07 +01:00
Tom G. Christensen
4db33ad718 Add a doc function to automate the copying of docs from srcdir to a
predefined location.
Add shortroot modifier variable to replace passing the shortroot argument
to generic_pack.
2009-12-19 14:35:07 +01:00
Tom G. Christensen
bcfb081765 Brown paperbag time (spelt my name wrong in the pkginfo.in file :()
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.
2009-12-19 14:35:07 +01:00
Tom G. Christensen
c4f462c7ba Add a var to control whether to look for a meta/depend file or not 2003-09-12 11:07:07 +00:00
Tom G. Christensen
9e870ace11 A big reorganization which splits out the packaging specfic parts of the script.
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.
2003-07-25 15:50:55 +00:00