sortix-mirror/tix/tix-execpatch.8
Jonas 'Sortie' Termansen 9588b0d3db Add ports to the Sortix repository.
This change imports the ports collection from the former porttix and srctix
repositories and converts them to port(5) files with metadata pointing to
the upstream release tarballs with patches checked into this repository.
Ports are now developed and versioned along with the operating system and
are automatically built per the PACKAGES environment variable. The patches
are licensed under the same license as the relevant ports.

Tix has gained support for the new port(5) format. tix-port(8) is the new
high level ports build even point that handles downloading pstream releases
into the new mirror cache directory, applying the patches, building the port
with the lower-level tix-build(8), and finally installing the binary
package. The new tix-vars(8) program parses port(5) files and the new
tix-rmdiff(8) program produces input for tix-rmpatch(8).

The old doc/ directory is discontinued in favor of manual pages documenting
the new ports system.

The obsolete porttix-create(8) and srctix-create(8) programs are removed.
2022-06-13 22:29:53 +02:00

44 lines
994 B
Groff

.Dd June 6, 2022
.Dt TIX-EXECPATCH 8
.Os
.Sh NAME
.Nm tix-execpatch
.Nd apply executable permissions per the execpatch
.Sh SYNOPSIS
.Nm
.Op Fl \-check
.Op Fl \-directory Ns = Ns Ar directory
.Ar execpatch
.Sh DESCRIPTION
.Nm
updates the executable permissions in the working directory per an execpatch
produced by
.Xr tix-execdiff 8 .
The execpatch is checked for validity and absolute paths and paths containing
.Sq ..
components are rejected.
The executable permissions are updated per the umask.
.Pp
The options are as follows:
.Bl -tag -width "12345678"
.It Fl \-check
Check only the execpatch is valid and don't update any permissions.
.It Fl \-directory Ns = Ns Ar directory
Apply permission changes inside
.Ar directory
instead of the working directory.
.El
.Sh EXIT STATUS
.Nm
will exit 0 on success and non-zero otherwise.
.Sh SEE ALSO
.Xr diff 1 ,
.Xr patch 1 ,
.Xr port 5 ,
.Xr tix-execdiff 8 ,
.Xr tix-rmdiff 8 ,
.Xr tix-rmpatch 8
.Sh HISTORY
.Nm
originally appeared in Sortix 0.8.