66 Commits

Author SHA1 Message Date
Tom G. Christensen
9c6c2ac24d compute_octal has been moved to buildpkg.functions 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
8628db71e0 Make sure that only the hostname part is used when sourcing configfiles 2009-12-19 14:35:07 +01:00
Tom G. Christensen
d2947215a2 The specfile syntax for multiple prereqs are not so simple as I first
assumed.
This new code will correctly create a prereq with multiple conditions.
2009-12-19 14:35:07 +01:00
Tom G. Christensen
d9cbdd0ca9 Handle filenames with embedded spaces 2009-12-19 14:35:07 +01:00
Tom G. Christensen
df172ec972 Make it easier to redefine distfile by not declaring it until after host
specific configuration has been sourced
2009-12-19 14:35:07 +01:00
Tom G. Christensen
7c9f797bc4 Source a host specific configfile to ease the pains of
differing tool paths etc.
2009-12-19 14:34:48 +01:00
Tom G. Christensen
f9a1b91686 Avoid errors when optional meta files are not present
Fix a stupid bug in 'auto' dependency generator. I forgot to add .sw.devel
to the $pkgname making the prereq illegal (and causing gendist to core)
2003-12-06 16:03:02 +00:00
Tom G. Christensen
432baeee55 A major overhaul.
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
2003-12-06 14:55:30 +00:00
Tom G. Christensen
39348b938d Only create manpages if a man dir is present 2003-10-11 16:10:53 +00:00
Tom G. Christensen
7bc6737b64 Use the new fix_man function on Irix pr. default
It's controlled by the catman variable so it can be turned of if
necessary
2003-08-03 20:19:26 +00:00
Tom G. Christensen
a1980fc242 Updated to use an environmentvar (BUILDPKG_BASE) to locate the buildpkg root 2003-07-29 19:25:49 +00:00
Tom G. Christensen
abb51c4da3 Added another regex to the version number munging in fix_ver
Rearranged the internals of generic_pack so it will actually
do the right thing with 'shortroot' (oops :))
2003-07-25 20:01:47 +00:00
Tom G. Christensen
66ef930daa Configuration files for the Irix packaging support 2003-07-25 18:08:45 +00:00
Tom G. Christensen
3f5d7d0482 Fix a bug concerning the handling of symlinks in the idb file 2003-07-25 17:51: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