272 Commits

Author SHA1 Message Date
Tom G. Christensen
3cd10f85d4 Make pkgdef filename a global variable 2019-05-31 10:16:46 +02:00
Tom G. Christensen
7eb78af9ae Update copyright years 2019-05-30 11:16:49 +02:00
Tom G. Christensen
d38443871c Enable passing options to make in generic_build() 2019-05-30 11:12:18 +02:00
Tom G. Christensen
fe7f6cb97e Add support for lz compressed tar archives 2018-04-14 14:08:25 +02:00
Tom G. Christensen
f95e226c80 Update urls in license text 2018-04-09 20:37:52 +02:00
Tom G. Christensen
27e745bc1c Update copyright years 2018-04-09 20:31:40 +02:00
Tom G. Christensen
6e408949ea Make gnu symlink creation work again
Since the default configure_args is now expanded immediately it cannot depend
on variables defined later.
To fix this for users of gnu_link_progs another API change is necessary.

gnu_link_progs is now a private array of programs to link. The
private gnu_link function is renamed do_gnu_link. A new public function
named gnu_link is added which handles populating gnu_link_progs and
modifying configure_args.
2013-10-10 16:16:33 +02:00
Tom G. Christensen
6620dc6854 build.sh.functions: use build_arch in logfile name 2013-09-21 18:11:38 +02:00
Tom G. Christensen
6750c1f90d buildpkg.functions: change how pkgdirdesig and topinstalldir is defined
Instead of defining pkgdirdesig using topinstalldir do it the other way
around.
2013-09-21 11:58:36 +02:00
Tom G. Christensen
6d8afb783d buildpkg.packaging.solaris: distinguish between arch and build_arch
This allows building for targets like sparc64-sun-solaris2.9 by
defining build_arch as sparc64.
2013-09-20 16:49:37 +02:00
Tom G. Christensen
72de05b968 buildpkg.packaging.solaris: add more arch and os helper vars
These used to be defined in gcc/build.sh.gcc.common.
2013-09-20 16:44:48 +02:00
Tom G. Christensen
18f46e6fe6 buildpkg.packaging.irix: remove obsolete functions 2013-08-11 16:15:20 +02:00
Tom G. Christensen
a238b33578 Convert configure_args to an array
This makes it possible to avoid difficult or impossible quoting needed
for passing arguments.
2013-08-11 16:15:11 +02:00
Tom G. Christensen
277d9108ac buildpkg.packaging.solaris: update PKG attr limit 2013-07-13 16:05:51 +02:00
Tom G. Christensen
dd2f1dece0 buildpkg.functions: tell to curl use remote timestamp when downloading files 2013-04-26 10:27:44 +02:00
Tom G. Christensen
b15779639a buildpkg.functions: add support for changing the generic install target 2013-04-26 10:27:44 +02:00
Tom G. Christensen
23d8ded3d4 Update copyright years 2013-04-26 10:24:43 +02:00
Tom G. Christensen
4f1c76c750 buildpkg.packaging: simplify variable expansion for relnotes
Pick up only the variable names and not the values from the instrumented
build.sh to avoid double expansion of self-referencing assignments.
Instead we get the values from the running environment.
2013-04-26 10:29:24 +02:00
Tom G. Christensen
54976188a5 buildpkg.packaging.solaris: correct comment for add_proto() 2013-01-27 13:50:17 +01:00
Tom G. Christensen
d7d89b9209 buildpkg.packaging.solaris: fixup add_file() 2013-01-27 13:50:04 +01:00
Tom G. Christensen
a8454b7c03 buildpkg.functions: style cleanup in generic_install() 2013-01-27 13:47:27 +01:00
Tom G. Christensen
a61b3bb05f buildpkg.functions: output configure command for log purposes 2013-01-27 13:43:33 +01:00
Tom G. Christensen
7cdc5dd06f newpkg: style cleanup 2013-01-27 13:42:51 +01:00
Tom G. Christensen
a9fed27639 Extend gnu symlink functionality
This makes the gnu symlink functionality an integrated part of the
install function.
The interface is now the variable gnu_link_progs which when defined
triggers the automatic symlinking.
2013-01-27 13:39:22 +01:00
Tom G. Christensen
1b0d55ddd0 buildpkg.packaging.solaris: really look for arch specific depend file 2012-12-31 19:53:59 +01:00
Tom G. Christensen
77e906db65 buildpkg.functions: add a simple helper to create symlinks in gnu/bin 2012-12-20 11:55:08 +01:00
Tom G. Christensen
fe0a670fdf buildpkg.packaging.solaris: look for arch specific depend file 2012-12-20 11:47:35 +01:00
Tom G. Christensen
3daa127b5f buildpkg.packaging.solaris: look for arch specific pkgdef file 2012-09-09 11:45:07 +02:00
Tom G. Christensen
22aa969f36 build.sh.functions: add timestamp printing for nolog functions 2012-09-09 12:03:52 +02:00
Tom G. Christensen
1a95962a45 Fix misleading comments 2012-07-08 12:22:46 +02:00
Tom G. Christensen
71104210b2 Allow for more text in file output
On Solaris 11 unstripped ELF binaries can have additional text in the output
from 'file' which we need to account for.
2012-07-08 12:11:06 +02:00
Tom G. Christensen
5b36aaacb7 Quote & to make it pass through sed literally 2012-07-08 12:10:11 +02:00
Tom G. Christensen
51df067e56 Make sure identify_compiler also gives output in log mode for non-gcc compiler
Additionally declare local vars at function entry.
2012-06-03 16:25:22 +02:00
Tom G. Christensen
13bd8b42d3 Refactor changelog check into a generic function
This allows calling it early in generic_pack and avoid doing expensive
operations before finding out the ChangeLog is not updated.
2012-05-27 11:39:45 +02:00
Tom G. Christensen
8a92bf85d5 Fix ChangeLog version check
Additionally turn any problem with the ChangeLog into a fatal error.
2012-05-27 11:18:10 +02:00
Tom G. Christensen
3aae9488ab Automatically create stagedir if it is missing
Also don't treat a missing stagedir as an error when calling clean.
2012-05-27 11:11:18 +02:00
Tom G. Christensen
9430cf5c7e Automatically create srcdir if it is missing 2012-05-27 11:11:13 +02:00
Tom G. Christensen
a6007c62d5 Update copyright years 2012-05-27 10:06:26 +02:00
Tom G. Christensen
e0ec247848 Exclude prep and distclean from autolog 2012-05-27 10:04:19 +02:00
Tom G. Christensen
697f9cff21 Add automatic logging of all operations 2012-05-27 09:51:22 +02:00
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
0c7484d227 Add support for xz compressed tarballs 2012-05-21 20:23:35 +02:00
Tom G. Christensen
8015851ba8 Make sure compver files are regenerated 2011-06-03 16:09:35 +02:00
Tom G. Christensen
b066ccb0dc Mention the BUILDPKG_* variables 2010-01-13 11:18:16 +01:00
Tom G. Christensen
de45cfa6a4 Update README 2010-01-10 12:17:25 +01:00
Tom G. Christensen
f40ebf2c88 Add __bash and use it in newpkg 2010-01-10 12:02:44 +01:00
Tom G. Christensen
b17d5ad85f Add a README describing buildpkg 2010-01-10 11:53:48 +01:00
Tom G. Christensen
0ae7c57a2c Update copyright years 2010-01-10 11:51:32 +01:00
Tom G. Christensen
3b907e54fe Remove personal comment 2010-01-10 11:51:32 +01:00