24 Commits

Author SHA1 Message Date
Tom G. Christensen
41f5645189 Redefine NAME to be a shortname + description. This means the dedicated
DESC field is removed and pkgdesc/shortdesc is added to NAME instead.
2009-12-19 14:38:43 +01:00
Tom G. Christensen
f38be83b81 Don't hardcode name of packager in pkginfo.in
Add default configure args
2009-12-19 14:38:43 +01:00
Tom G. Christensen
0f8e3a0c89 Add support for specifying MAXINST in the pkgdef file. Defaults to 1. 2009-12-19 14:38:43 +01:00
Tom G. Christensen
c1242c5ed7 Slight change to naming
Use defined EXPR tool instead of what's in the path
Recognize shortdesc as a substitute for pkgdesc (easier copy paste with
irix packages)
Add email to the fields updated in pkginfo
2009-12-19 14:38:43 +01:00
Tom G. Christensen
82dcedd482 Add 'nice' os tagging to PSTAMP
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.
2009-12-19 14:38:42 +01:00
Tom G. Christensen
cfd7946990 shootroot semantics changed. This brings Solaris in line with that change. 2009-12-19 14:38:42 +01:00
Tom G. Christensen
4b73e80fac Add compress_info support 2009-12-19 14:38:41 +01:00
Tom G. Christensen
36e25bc278 Do the right thing if someone deleted pkginfo.$secname instead
of rm -rf'ing the package dir.
2009-12-19 14:38:41 +01:00
Tom G. Christensen
f0079c1084 Custom PSTAMP format
Add support for a space file
Don't compress manpages on Solaris since it won't know what to do with them
2009-12-19 14:38:41 +01:00
Tom G. Christensen
d4accdc00b Move package revision into the version field using the standard ,REV=
notation.
Seperate formatting of manpages and compression of manpages.
2009-12-19 14:38:41 +01:00
Tom G. Christensen
b9c7b5c0ee Fix check_unpackaged. We didn't really need that CMP since all the work was
being done with cat | sort | uniq -u anyway.
2009-12-19 14:38:40 +01:00
Tom G. Christensen
ec325c188b Redefine the meaning of the topdir variable.
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
2009-12-19 14:38:40 +01:00
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