Tom G. Christensen
96dd8f0a90
Add an _os variable than can be used for conditionals in build.sh scripts
2009-12-19 14:35:07 +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
1419d92967
compute_octal from buildpkg.packaging.irix was moved here
...
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.
2009-12-19 14:35:07 +01:00
Tom G. Christensen
9c6c2ac24d
compute_octal has been moved to buildpkg.functions
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
56201570f9
Two more helpers
...
In the next major revision all helpers should probably be updated to use _
prefix to they don't conflict with configure etc.
2009-12-19 14:35:07 +01:00
Tom G. Christensen
612166ff54
pkginfo.in is global so don't automatically copy it to $metadir of new
...
package
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
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
079ed3c2c7
Added a few more generic entries
2009-12-19 14:35:07 +01:00
Tom G. Christensen
c415821025
fix_man now properly handles manpages with embedded spaces in the name
...
Symlinks are now retargetet.
manpage RM moved to be pr. manpage, this fixes the race? condition I was
seeing on Irix 5.3 with GNU rm.
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
a0a12ecd2c
Irix 5.3 took exception to rm -rf'ing the directory directly
...
This seems to work around it.
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
72cdd16821
Fixed newpkg to use BUILDPKG_BASE env
...
Add several new default patterns to subsys.conf
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
483de5e1ea
The man image contains more than manpages so Documentation is a more
...
appropriate ID
2003-12-06 14:56:17 +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
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
1d65a34609
Added a var to control symbol stripping during the installstage
...
Changed default dir for new packages to distfiles/beta
2003-09-12 11:06:27 +00:00
Tom G. Christensen
5acdf80b84
Added fix_man. A function to create preformatted manpages from the raw ones
2003-08-03 20:20:44 +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
aae87e44a6
The slimmed down version with all the packaging specfic parts pulled out.
...
This is slated to become buildpkg-1_5_0 once it's gotten some testing.
2003-07-25 15:53:59 +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
Tom G. Christensen
2c6a932f12
Change default parameters for ./configure
2003-07-25 15:35:49 +00:00
Tom G. Christensen
641026ae54
Add an extra var to control patchfile location. This was a must after packing vim.
...
Vim provides updates to major release through source patches, we don't want those in src/
since we didn't create them. With patchdir we can easily control where patches should be located.
Made clean() tell what it does.
2003-07-10 09:07:10 +00:00
Tom G. Christensen
8f8403eebb
Added a function to add file entries to a prototype file - for now it's unused
...
Added the extra substitutions in the pkginfo file to pack_info also made sure all
the necessary variables are defined with a legal value.
2003-07-08 10:48:03 +00:00
Tom G. Christensen
ccbc7a4ff1
Added a distclean method
2003-07-08 10:43:42 +00:00
Tom G. Christensen
aa096141c0
Made the value of a few more keywords configurable from within the build script
2003-07-08 10:43:25 +00:00
Tom G. Christensen
9c9bf362c0
Copy the pkginfo template to the sandbox aswell
2003-07-07 14:09:41 +00:00
Tom G. Christensen
4e95126a88
Added a pkginfo template
...
the EMAIL variable should be edited to fit the user of the buildtree
2003-07-07 14:09:19 +00:00
Tom G. Christensen
be04489231
Doh! Too much cut'n'paste will do that :)
2003-07-07 13:45:13 +00:00
Tom G. Christensen
8a2bd4a614
Misc fixes and a few additional features added
...
Moved all helper functions in front of the generic ones
2003-07-07 13:44:19 +00:00
Tom G. Christensen
df081b7907
A few small changes
2003-07-07 13:40:13 +00:00
Tom G. Christensen
2a3230e81a
Simple helper script to properly populate a sandbox for a new package
2003-07-07 13:20:08 +00:00
Tom G. Christensen
2bb36fd0ab
A generic build script that can be used as a template for new packages
2003-07-07 13:19:23 +00:00
Tom G. Christensen
330098fd82
The first incarnation is now more or less done.
...
It's been tested with libao and it works correctly.
2003-07-07 11:19:32 +00:00
Tom G. Christensen
074971bbbc
Things are coming along nicely
...
I've added more helper functions to make it easier to override the functionality of the generic_*
functions. Breaking them down into smaller functions should make it easier to just replace a part of them
in the pr. package script.
2003-07-02 08:22:56 +00:00
Tom G. Christensen
cff842efd5
generic_prep seems to be working now
...
patch and unpack functions have not been thoroughly tested though :)
2003-06-30 14:20:19 +00:00
Tom G. Christensen
a7a7168953
My own package build system :)
...
This is the first attempt and it's not finished
2003-06-30 09:47:31 +00:00