Commit Graph

45 Commits

Author SHA1 Message Date
Jonas 'Sortie' Termansen 397bac9862 Add support for modifying release iso images. 2018-03-31 00:55:33 +02:00
Jonas 'Sortie' Termansen 645ab7689c Only mention tix-install destination if not the root directory. 2017-12-04 23:56:47 +01:00
Jonas 'Sortie' Termansen 8d66162301 Add -q option to tix-install(8). 2017-04-18 23:38:52 +02:00
Jonas 'Sortie' Termansen 9bbdb791af Add split packages and cross-bootstrapping support to tix-build(8).
pkg.use-bootstrap can now be set to true to add a bootstrap phase to
cross-builds. I.e. the package is built for the native platform and
installed to a temporary location, which is in the PATH during the
actual cross-compilation. This feature is useful for some misbehaving
ports that can cross-compile, but require the exact same version of the
software installed locally. The bootstrap build is controlled with the
bootstrap.foo variables rather than the normal pkg.foo variables.

pkg.source-package can now be set to the name of another package, whose
source code is built using the current tixbuildinfo. This feature allows
providing multiple packages using the same source code package. By
default, the source code of the source package is assumed to be in
../${pkg.source-package}, but this can be overridden with the option
--source-directory.

pkg.alias-of can now be set to the name of another package to specify
that this package is an alias of the other package, creating an empty
binary package depending on the real package.

pkg.subdir support has been fixed in the clean and post-install phases.

pkg-config support has been improved and PKG_CONFIG is now set to
$HOST-pkg-config and PKG_CONFIG_FOR_BUILD is set to pkg-config.

tix-build has been refactored as needed and generally cleaned up. Error
handling, such as on allocations, have been added in a lot of cases. The
support for FOO_FOR_BUILD variables have been unified and simplified.
Appending to PATH now correctly handles the empty PATH.
2016-12-27 23:14:00 +01:00
Jonas 'Sortie' Termansen 848eaaf593 Port build utilities to musl. 2016-09-29 00:01:40 +02:00
Jonas 'Sortie' Termansen 92106d4d34 Remove unnecessary tix gitignore entry. 2016-07-23 22:13:39 +02:00
Jonas 'Sortie' Termansen 63146072a4 Fix getline(3) and getdelim(3) usage. 2016-05-15 19:32:04 +02:00
Jonas 'Sortie' Termansen e69565fd15 Remove compatibility with Sortix 0.9. 2016-05-15 01:31:48 +02:00
Jonas 'Sortie' Termansen e770766cc8 Fix tix archive owner, group and permissions.
tix-build recorded the owner and group as the user building the package,
rather than setting the owner and group to user 0 (root).

tix-install tried to chown extracted files as the owner and group in the
archive, rather than the current user. It also applied the current umask
rather than restoring the same permissions.
2016-03-26 23:29:08 +01:00
Jonas 'Sortie' Termansen cadef6fedb Rename i486-sortix platform to i686-sortix. 2016-03-06 18:59:10 +01:00
Jonas 'Sortie' Termansen 2b72262b4f Relicense Sortix to the ISC license.
I hereby relicense all my work on Sortix under the ISC license as below.

All Sortix contributions by other people are already under this license,
are not substantial enough to be copyrightable, or have been removed.

All imported code from other projects is compatible with this license.

All GPL licensed code from other projects had previously been removed.

Copyright 2011-2016 Jonas 'Sortie' Termansen and contributors.

Permission to use, copy, modify, and distribute this software for any
purpose with or without fee is hereby granted, provided that the above
copyright notice and this permission notice appear in all copies.

THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
2016-03-05 22:21:50 +01:00
Jonas 'Sortie' Termansen 1cc29fe0ee Convert tix to C. 2016-03-03 23:02:24 +01:00
Jonas 'Sortie' Termansen 7c3d9bf2b9 Move tix to sbin. 2016-01-26 22:11:12 +01:00
Jonas 'Sortie' Termansen 14c27ff3fa Preclean only in tix-build when the port is dirty. 2016-01-26 21:17:08 +01:00
Jonas 'Sortie' Termansen 9ccfdb9990 Modernize tix temporary files and directory creation. 2016-01-25 17:39:57 +01:00
Jonas 'Sortie' Termansen beaa824076 Store tixinfo and manifest on tix install. 2016-01-25 17:39:57 +01:00
Jonas 'Sortie' Termansen 8174ab7b30 Remove tix util.h cruft. 2016-01-25 17:39:57 +01:00
Jonas 'Sortie' Termansen e5590985d5 Restore tix repository support. 2016-01-25 17:39:57 +01:00
Jonas 'Sortie' Termansen f4560a9527 Remove tix tools command line interface cruft.
This removes the ability to override standard shell utilities using
environment variables. The standard names are invoked unconditionally and
can be overridden using the standard approach of adding replacements to the
PATH. Additionally environment variables like PREFIX and HOST are no longer
honored as defaults for the --prefix and --host options. These features are
removed because they've never been used and cause more trouble than they
are worth.

The tix collection option now defaults to the root directory to simplify
common invocations. The tix-build prefix also now defaults to the empty
prefix.

Support installing multiple packages at once with tix-install.

Tighten file and directory creation modes while here.

Add --generation for forward compatibility.

Silence tix-collection creation.

Fix uninitialized getline invocations.

Fix porttix-create buffer overflow.
2016-01-25 17:39:57 +01:00
Jonas 'Sortie' Termansen 67af95c7ee Update command line parsing to current coding conventions. 2015-12-12 19:28:07 +01:00
Jonas 'Sortie' Termansen 14a47ea15e Decide tix build triplets on Sortix without running cc. 2015-10-28 20:13:37 +01:00
Jonas 'Sortie' Termansen 143e0a2059 Pass --keep-directory-symlink to tix-install child tar extract. 2015-08-26 21:49:42 +02:00
Jonas 'Sortie' Termansen 33c7f48909 Add unset variable feature to tix-build. 2015-08-26 16:29:18 +02:00
Jonas 'Sortie' Termansen 095a264d26 Always set tool variables in tix-build. 2015-08-26 16:29:18 +02:00
Jonas 'Sortie' Termansen 158716f96a Fix ctype invocations with wrong domain. 2015-08-11 15:57:56 +02:00
Jonas 'Sortie' Termansen cd21cd41c3 Fix tix-collection multiarch compatibility applying to Sortix. 2015-07-28 22:01:44 +02:00
Jonas 'Sortie' Termansen 53f20c5519 Fix printf checking of print_string utility functions. 2015-06-27 17:06:44 +02:00
Jonas 'Sortie' Termansen f3e4be0d83 Fix getdelim(3). 2015-05-15 16:18:40 +02:00
Jonas 'Sortie' Termansen dd26ee724a Fix tix-build honoring empty triplet variables. 2015-04-24 18:56:57 +02:00
Jonas 'Sortie' Termansen b2addd979c Fix tix-build considering empty strings as valid target triplets. 2015-04-24 18:38:04 +02:00
Jonas 'Sortie' Termansen 57cd616f59 Ignore makefile projects failing to clean. 2015-04-24 17:58:01 +02:00
Jonas 'Sortie' Termansen 8afe04a35d Fix tix-build not handling gcc compatibility issues too. 2015-04-24 13:26:45 +02:00
Jonas 'Sortie' Termansen 2874495111 Remove per-architecture exec-prefixes from filesystem hierarchy. 2015-04-23 20:02:03 +02:00
Jonas 'Sortie' Termansen a03546be01 Add tix-build support for catching warnings. 2014-12-27 23:42:59 +01:00
Jonas 'Sortie' Termansen 2586685061 Ongoing build system maintainance. 2014-12-02 17:09:28 +01:00
Jonas 'Sortie' Termansen 2dffa408ad Add pkg.make.needed-vars.AR. 2014-12-01 21:39:05 +01:00
Jonas 'Sortie' Termansen 5c79d42036 Use -k when tix-build makes distclean. 2014-11-27 00:20:53 +01:00
Jonas 'Sortie' Termansen 8d5a78d823 Remove tix-object-insert. 2014-11-26 22:01:11 +01:00
Jonas 'Sortie' Termansen 9e6148f6ff Refactor default compiler options logic. 2014-11-24 17:10:50 +01:00
Jonas 'Sortie' Termansen 9f34e60cbc Offer option to dump environment in tix-build(1) recovery shell. 2014-03-17 19:22:11 +01:00
Jonas 'Sortie' Termansen 926ce2c6c8 Silence uninitialized variable warning in tix-execpatch(1). 2014-02-06 00:15:03 +01:00
Jonas 'Sortie' Termansen 9d7a032f80 Fix tix programs not including <signal.h> to get SIGPIPE. 2014-02-02 23:13:06 +01:00
Jonas 'Sortie' Termansen c57b5fe176 Fix tix-build(1) not preserving PKG_CONFIG_LIBDIR in PKG_CONFIG_FOR_BUILD. 2014-01-18 16:30:55 +01:00
Jonas 'Sortie' Termansen 7b02492649 Fix MAKEFLAGS not being correctly purified in tix-build(1). 2014-01-18 16:30:55 +01:00
Jonas 'Sortie' Termansen b0d07b9142 Add the Tix package management system. 2013-12-19 18:09:08 +01:00