Commit Graph

12 Commits

Author SHA1 Message Date
Jonas 'Sortie' Termansen 9a95771cd9 Change default OPTLEVEL to -Os -s. 2016-03-26 23:50:50 +01: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 6aa063a247 Strip ports not honoring -s in CFLAGS. 2016-03-06 14:55:03 +01:00
Jonas 'Sortie' Termansen ee971b463b Create tix collection even if PACKAGES is empty. 2016-02-07 14:58:38 +01:00
Jonas 'Sortie' Termansen 224c6595bc Build ports with -Werror=implicit-function-declaration. 2016-01-26 17:13:57 +01:00
Jonas 'Sortie' Termansen d879c2343b Build ports with -Werror=format. 2016-01-26 17:12:56 +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 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 d7b1dce054 Dumb down echo(1).
Options and escape sequences are fatally incompatible with historic echo
that has no room for such extensions. Instead they pose risk because it is
harder to use echo on unvalidated input safely and because any further
extensions potentially break existing scripts. Use printf(1) instead.
2015-08-22 00:44:39 +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 2586685061 Ongoing build system maintainance. 2014-12-02 17:09:28 +01:00
Renamed from build-ports.sh (Browse further)