Tom G. Christensen
9f182d0a8b
New function for outputting compiler information
...
This refactors part of the relnotes generation out into a new function
with a few tweaks to the output and an attempt to honor CC if set.
Additionally a more verbose output mode can be requested.
2012-05-27 09:51:20 +02:00
Tom G. Christensen
09c04aeabb
Remove trailing whitespace
2012-05-26 10:54:42 +02:00
Tom G. Christensen
0ae7c57a2c
Update copyright years
2010-01-10 11:51:32 +01:00
Tom G. Christensen
80fffefc88
Remove commented obsolete code
2010-01-10 11:51:32 +01:00
Tom G. Christensen
80e4a9d3fc
Separate buildtree and buildpkg code
...
Code is now located via BUILDPKG_SCRIPTS while the buildtree is located
via BUILDPKG_BASE.
2010-01-10 11:51:27 +01:00
Tom G. Christensen
2f1bc2aea6
If a ChangeLog exists then append it to relnotes
2009-12-19 14:38:47 +01:00
Tom G. Christensen
24e3551aba
* buildpkg.packaging.solaris(auto_rel): Adjusted to new interfaces
2009-12-19 14:38:47 +01:00
Tom G. Christensen
4c815f5742
Add support for if(var) conditional expression in pkgdef files.
...
At pack time "var" is evaluated and if it's not defined then the line is
skipped.
2009-12-19 14:38:46 +01:00
Tom G. Christensen
c351659693
Too much cut'n'paste broke sha1sums on Solaris.
2009-12-19 14:38:46 +01:00
Tom G. Christensen
6dfdcc73c4
Allow URLs in source entries.
...
Provide helpers to abstract extraction of source paths and filenames.
Cleanup all direct uses of source[] to use the helpers.
Add new fetch_source function to handle URLs. Depends on new __curl define.
Small unrelated change in buildpkg.packaging.irix, we must use gsed to get
\n expanded in the strings.
2009-12-19 14:38:46 +01:00
Tom G. Christensen
b27fef0e1b
The buildpkg framework is now under the GPLv3.
2009-12-19 14:38:46 +01:00
Tom G. Christensen
8460c89814
Fallback to the global relnotes template if it's missing from metadir.
...
(Note huge diff because a large block of code was reindented).
2009-12-19 14:38:46 +01:00
Tom G. Christensen
5a471b8792
I'm not quite sure what happened here, but the list of deps are nolonger
...
newline seperated which means sed /d kills all deps.
2009-12-19 14:38:46 +01:00
Tom G. Christensen
32e18a9df3
Cleanup tools usage and only use __ prefixed tool namespace.
2009-12-19 14:38:46 +01:00
Tom G. Christensen
17e61dfc80
Symlink entries requires special handling to get just the path part.
2009-12-19 14:38:44 +01:00
Tom G. Christensen
546b05fa8f
When computing dirs in auto_dir also consider symlink entries.
...
Use metaprefix to locate metadata when adding relnotes.
2009-12-19 14:38:44 +01:00
Tom G. Christensen
34c7c7f1bc
Use metaprefix like in the irix version to mean the relative path between
...
topinstalldir and metainstalldir.
2009-12-19 14:38:44 +01:00
Tom G. Christensen
9a16e37050
Find relnotes using metainstalldir
2009-12-19 14:38:44 +01:00
Tom G. Christensen
8af94ba2f7
Sort out static archives since ldd complains about them.
2009-12-19 14:38:44 +01:00
Tom G. Christensen
ffb69138ec
Correct egreps that filter executables vs. scripts
2009-12-19 14:38:44 +01:00
Tom G. Christensen
3b6029b3bc
Don't add extra newlines in depend files.
2009-12-19 14:38:44 +01:00
Tom G. Christensen
5ded564107
Add auto_dir function which will automatically add missing dir entries
...
to the prototype file.
2009-12-19 14:38:44 +01:00
Tom G. Christensen
8ab0c3b7c9
Add default_docs keyword as a shortcut to docs installed with doc or
...
docs_for functions.
2009-12-19 14:38:44 +01:00
Tom G. Christensen
123e3ae66f
Remove blank lines when parsing depends for relnotes
2009-12-19 14:38:44 +01:00
Tom G. Christensen
fdb938e48b
Revert using pkgdesc|shortdesc in NAME.
...
NAME should interpret the condensed name in PKG.
pkgdesc|shortdesc describes what the package does and that belongs in DESC.
2009-12-19 14:38:44 +01:00
Tom G. Christensen
5f28041b5f
Add docs_for function that will take a secname as param so we can add docs
...
to a specific subpackage in its own dir.
2009-12-19 14:38:44 +01:00
Tom G. Christensen
7510588256
The std. now suggests that man and info dirs should be under share.
...
Only add one set of relnotes to each package.
2009-12-19 14:38:44 +01:00
Tom G. Christensen
5892861537
Make sums file be generated with secname suffix to avoid having to reset
...
between subpackages.
Add compat function to make it easy to add a series of versions to a
compver file.
2009-12-19 14:38:44 +01:00
Tom G. Christensen
ec29ff9f0b
Create relnotes for all sections in pkgdef
...
Correctly remove version lines from the depend file when extracting deps
for the relnotes file
Correctly match on packagenames when finding deps in the shared depend file
2009-12-19 14:38:44 +01:00
Tom G. Christensen
b14f4dfac2
Add relnotes facility
...
The auto_rel function fills out a template and installs it in the stagedir
Add access function to support extraction of VENDOR field value from a
pkginfo file
Small hack in check_unpackaged to sort out relnotes since we've not added
that information in any metadata yet.
2009-12-19 14:38:43 +01:00
Tom G. Christensen
846fd7d60a
Add support for compver files
2009-12-19 14:38:43 +01:00
Tom G. Christensen
0952290956
iauto_deps v2.
...
Defer auto_deps and add_scripts until all pkgdef entries have been
parsed
Add support for filtering out intrapackage deps
Add support for adding manual deps including intrapackage deps
Add support for ignoring specific deps via a filter
Make deps on non buildvendor packages optional
Make versioned deps optional (off, buildvendor, all)
Add access functions to support extraction of VERSION and NAME field
values from pkginfo files
2009-12-19 14:38:43 +01:00
Tom G. Christensen
1603b4dd44
Revert this change:
...
Reset package variables between sections to avoid any spill over
At present it causes more problems than it solves.
2009-12-19 14:38:43 +01:00
Tom G. Christensen
ff8d8ab8ee
Don't unset pkgver as it's usually only defined once in build.sh
2009-12-19 14:38:43 +01:00
Tom G. Christensen
95125067f6
Reset package variables between sections to avoid any spill over
2009-12-19 14:38:43 +01:00
Tom G. Christensen
ac054594dc
Enforce length limits on PKG and NAME fields in pkginfo
2009-12-19 14:38:43 +01:00
Tom G. Christensen
b77881b345
Add auto_deps feature.
2009-12-19 14:38:43 +01:00
Tom G. Christensen
4cc084570f
Also substitute arch in the pkginfo template.
2009-12-19 14:38:43 +01:00
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