mirror of
https://gitlab.com/sortix/sortix.git
synced 2023-02-13 20:55:38 -05:00
9588b0d3db
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.
42 lines
903 B
Groff
42 lines
903 B
Groff
.Dd June 6, 2022
|
|
.Dt TIX-RMPATCH 8
|
|
.Os
|
|
.Sh NAME
|
|
.Nm tix-rmpatch
|
|
.Nd remove files and directories per the rmpatch
|
|
.Sh SYNOPSIS
|
|
.Nm
|
|
.Op Fl \-check
|
|
.Op Fl \-directory Ns = Ns Ar directory
|
|
.Ar rmpatch
|
|
.Sh DESCRIPTION
|
|
.Nm
|
|
recursively removes the files and directories per an rmpatch
|
|
produced by
|
|
.Xr tix-rmdiff 8 .
|
|
The rmpatch is checked for validity and absolute paths and paths containing
|
|
.Sq ..
|
|
components are rejected.
|
|
.Pp
|
|
The options are as follows:
|
|
.Bl -tag -width "12345678"
|
|
.It Fl \-check
|
|
Check only the rmpatch is valid and don't remove any files or directories.
|
|
.It Fl \-directory Ns = Ns Ar directory
|
|
Remove 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-execpatch 8 ,
|
|
.Xr tix-rmdiff 8
|
|
.Sh HISTORY
|
|
.Nm
|
|
originally appeared in Sortix 0.8.
|