sortix-mirror/tix/tix-execdiff.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

48 lines
1 KiB
Groff

.Dd June 6, 2022
.Dt TIX-EXECDIFF 8
.Os
.Sh NAME
.Nm tix-execdiff
.Nd compare executable permissions between two trees
.Sh SYNOPSIS
.Nm
.Ar old
.Ar new
.Sh DESCRIPTION
.Nm
recursively finds the files with different executable permissions between the
.Ar old
and
.Ar new
directory trees.
.Nm
writes a shell script that transforms the permissions of old tree into that of
the new tree, which can be applied using
.Xr tix-execpatch 8 .
.Pp
Files are considered executable if the current user has executable permission
and directories are omitted from the output.
.Pp
Additions of executable permissions are written shell single quoted as:
.Bd -ragged -offset indent
chmod +x -- 'path'
.Ed
.Pp
Removals of executable permissions are written shell single quoted as:
.Bd -ragged -offset indent
chmod -x -- 'path'
.Ed
.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-execpatch 8 ,
.Xr tix-rmdiff 8 ,
.Xr tix-rmpatch 8
.Sh HISTORY
.Nm
originally appeared in Sortix 0.8.