pax-cli 1.0.0-arm64-mingw-ucrt
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/LICENSE.txt +9 -0
- data/README.md +129 -0
- data/exe/pax +5 -0
- data/libexec/pax.exe +0 -0
- metadata +45 -0
checksums.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: 58cdd6a212070aab68d97ef1cfca75038e293f2d571bf6a42e9d4141c9e5fda9
|
|
4
|
+
data.tar.gz: e1dc342d82a0cdd8ffa9fda5a0472ae8efbc5219560c8e9a3b0d21a6ff482e46
|
|
5
|
+
SHA512:
|
|
6
|
+
metadata.gz: ac74cabc3a50ce696891326650320566ba7b9ca68dc53922dcab5192ec00fbfb259eeab090bada67d9865b6885b4e2822199b7705354db19159839c6ad760d7f
|
|
7
|
+
data.tar.gz: 6840b7aad2985601bf3ceee4056eb7d40cc7a124a2b72f15c3d78d0cbd63908fd47c6f2cf812bca15bc6087de06983880f80a1640ad85301e392992a24d79a7f
|
data/LICENSE.txt
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Kuzey Bilgin
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
6
|
+
|
|
7
|
+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
8
|
+
|
|
9
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.md
ADDED
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
# Pax
|
|
2
|
+
|
|
3
|
+
Pax builds and converts software packages. The Go CLI is the sole
|
|
4
|
+
implementation; format-specific external tool requirements are listed below.
|
|
5
|
+
|
|
6
|
+
## Install
|
|
7
|
+
|
|
8
|
+
Download a platform archive from the
|
|
9
|
+
[GitHub Releases](https://github.com/meenbeese/pax/releases) page, extract it,
|
|
10
|
+
and place `pax` (or `pax.exe`) on your `PATH`. Release archives include the
|
|
11
|
+
CLI reference and license.
|
|
12
|
+
|
|
13
|
+
Or build from source with Go 1.24 or newer:
|
|
14
|
+
|
|
15
|
+
```sh
|
|
16
|
+
make build
|
|
17
|
+
./build/pax --help
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
On supported Ruby platforms, install the prebuilt CLI from RubyGems:
|
|
21
|
+
|
|
22
|
+
```sh
|
|
23
|
+
gem install pax-cli
|
|
24
|
+
pax --help
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
The gem includes a native CLI binary for Linux, macOS, and Windows on amd64
|
|
28
|
+
and arm64. Release tags publish the platform gems to RubyGems; repository
|
|
29
|
+
maintainers must configure the `RUBYGEMS_API_KEY` GitHub Actions secret.
|
|
30
|
+
|
|
31
|
+
`make install` installs the binary into Go's configured `GOBIN` (or
|
|
32
|
+
`GOPATH/bin`). To build a container image, run `make docker-build`.
|
|
33
|
+
The image runs as a non-root user; when mounting local files, pass your host
|
|
34
|
+
UID/GID with `--user "$(id -u):$(id -g)"` to make output files editable.
|
|
35
|
+
|
|
36
|
+
## Usage
|
|
37
|
+
|
|
38
|
+
Create a Debian package from a directory:
|
|
39
|
+
|
|
40
|
+
```sh
|
|
41
|
+
pax -s dir -t deb -n my-package -v 1.0 path/to/files
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
Convert an existing RPM to a tar archive:
|
|
45
|
+
|
|
46
|
+
```sh
|
|
47
|
+
pax -s rpm -t tar path/to/package.rpm
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
Use `pax --help` for all options. The generated
|
|
51
|
+
[CLI reference](docs/CLI.md) lists the current flags. `PAXOPTS`, `.pax`
|
|
52
|
+
configuration files, `--pax-options-file`, and `PAX_EDITOR` are supported.
|
|
53
|
+
|
|
54
|
+
## Format support
|
|
55
|
+
|
|
56
|
+
### Input formats
|
|
57
|
+
|
|
58
|
+
| Format | Notes |
|
|
59
|
+
| --- | --- |
|
|
60
|
+
| `cpan` | Local Perl distributions or module names resolved through MetaCPAN; builds and stages distributions using cpanm and Perl build tools. |
|
|
61
|
+
| `deb` | Debian packages. |
|
|
62
|
+
| `dir` | Directory trees. |
|
|
63
|
+
| `gem` | RubyGems packages. |
|
|
64
|
+
| `npm` | npm packages. |
|
|
65
|
+
| `osxpkg` | Flat macOS installer packages; requires macOS `pkgutil`. |
|
|
66
|
+
| `pacman` | Arch Linux package archives. |
|
|
67
|
+
| `pear` | PEAR packages. |
|
|
68
|
+
| `pleaserun` | A command and arguments used to generate service manifests. |
|
|
69
|
+
| `python` | Wheels, source distributions, and source directories. |
|
|
70
|
+
| `rpm` | RPM packages; bzip2 payloads and `--rpm-rpmbuild-define` require `rpmbuild`, while `--rpm-sign` requires GPG. |
|
|
71
|
+
| `snap` | Snap packages; requires `unsquashfs`. |
|
|
72
|
+
| `tar` | Tar archives, including supported compressed tar formats. |
|
|
73
|
+
| `virtualenv` | Python environments built from package specifications or requirements files. |
|
|
74
|
+
| `zip` | ZIP archives. |
|
|
75
|
+
|
|
76
|
+
### Output formats
|
|
77
|
+
|
|
78
|
+
| Format | Notes |
|
|
79
|
+
| --- | --- |
|
|
80
|
+
| `apk` | Alpine packages; package signing is not performed. |
|
|
81
|
+
| `deb` | Debian packages. |
|
|
82
|
+
| `dir` | Directory trees. |
|
|
83
|
+
| `empty` | Metadata-only output. |
|
|
84
|
+
| `freebsd` | FreeBSD txz package archives. |
|
|
85
|
+
| `osxpkg` | Flat macOS packages; requires macOS `pkgbuild`. |
|
|
86
|
+
| `p5p` | Solaris IPS package archives; requires IPS tools. |
|
|
87
|
+
| `pacman` | Arch Linux package archives; requires `bsdtar` and `du`. |
|
|
88
|
+
| `pkgin` | NetBSD pkgin archives; requires `pkg_info` and `pkg_create`. |
|
|
89
|
+
| `puppet` | Puppet module directories. |
|
|
90
|
+
| `rpm` | RPM packages. |
|
|
91
|
+
| `sh` | Self-extracting shell installers. |
|
|
92
|
+
| `snap` | Snap packages; requires `mksquashfs`. |
|
|
93
|
+
| `solaris` | Solaris SVR4 packages; requires `pkgproto`, `pkgmk`, and `pkgtrans`. |
|
|
94
|
+
| `tar` | Tar archives. |
|
|
95
|
+
| `zip` | ZIP archives. |
|
|
96
|
+
|
|
97
|
+
Some input formats also need their ecosystem tools: `gem` uses RubyGems,
|
|
98
|
+
`python` uses pip, `npm` uses npm, `cpan` uses cpanm and Perl build tools,
|
|
99
|
+
`pear` uses PEAR, and `virtualenv` uses virtualenv-related tooling. The Docker
|
|
100
|
+
image includes common Linux ecosystem tools; Solaris, NetBSD, and macOS package
|
|
101
|
+
tools are platform specific and must be run on their supported systems.
|
|
102
|
+
RPM output is native by default. `rpmbuild` is used only for bzip2 payloads or
|
|
103
|
+
custom `--rpm-rpmbuild-define` values; native `--rpm-sign` uses GPG.
|
|
104
|
+
|
|
105
|
+
## Script templates
|
|
106
|
+
|
|
107
|
+
With `--template-scripts`, script contents are rendered as Go
|
|
108
|
+
`text/template`, not Ruby ERB. For example, replace `<%= name %>` with
|
|
109
|
+
`{{.name}}`. Values passed with `--template-value KEY=VALUE` are available as
|
|
110
|
+
`{{.KEY}}`; keys that are not valid Go identifiers can be accessed with
|
|
111
|
+
`{{index . "key-with-dashes"}}`.
|
|
112
|
+
|
|
113
|
+
## Development
|
|
114
|
+
|
|
115
|
+
```sh
|
|
116
|
+
make test
|
|
117
|
+
make vet
|
|
118
|
+
make check
|
|
119
|
+
make docs
|
|
120
|
+
```
|
|
121
|
+
|
|
122
|
+
`make docs` regenerates the CLI reference from the Go command. GitHub Actions
|
|
123
|
+
runs tests and vet on Linux and macOS, builds the container image, and creates
|
|
124
|
+
cross-platform release archives when a `v*` tag is pushed. A release tag
|
|
125
|
+
publishes GitHub release artifacts and the platform gems to RubyGems when the
|
|
126
|
+
`RUBYGEMS_API_KEY` secret is configured.
|
|
127
|
+
|
|
128
|
+
The Go CLI is the only implementation shipped by this repository. Some formats
|
|
129
|
+
require ecosystem or platform tools at runtime, as noted in the format tables.
|
data/exe/pax
ADDED
data/libexec/pax.exe
ADDED
|
Binary file
|
metadata
ADDED
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
name: pax-cli
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 1.0.0
|
|
5
|
+
platform: arm64-mingw-ucrt
|
|
6
|
+
authors:
|
|
7
|
+
- Kuzey Bilgin
|
|
8
|
+
bindir: exe
|
|
9
|
+
cert_chain: []
|
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
11
|
+
dependencies: []
|
|
12
|
+
description: Pax is a Go command-line tool for building and converting software packages.
|
|
13
|
+
executables:
|
|
14
|
+
- pax
|
|
15
|
+
extensions: []
|
|
16
|
+
extra_rdoc_files: []
|
|
17
|
+
files:
|
|
18
|
+
- LICENSE.txt
|
|
19
|
+
- README.md
|
|
20
|
+
- exe/pax
|
|
21
|
+
- libexec/pax.exe
|
|
22
|
+
homepage: https://github.com/meenbeese/pax
|
|
23
|
+
licenses:
|
|
24
|
+
- MIT
|
|
25
|
+
metadata:
|
|
26
|
+
source_code_uri: https://github.com/meenbeese/pax
|
|
27
|
+
bug_tracker_uri: https://github.com/meenbeese/pax/issues
|
|
28
|
+
rdoc_options: []
|
|
29
|
+
require_paths:
|
|
30
|
+
- lib
|
|
31
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
32
|
+
requirements:
|
|
33
|
+
- - ">="
|
|
34
|
+
- !ruby/object:Gem::Version
|
|
35
|
+
version: '0'
|
|
36
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
37
|
+
requirements:
|
|
38
|
+
- - ">="
|
|
39
|
+
- !ruby/object:Gem::Version
|
|
40
|
+
version: '0'
|
|
41
|
+
requirements: []
|
|
42
|
+
rubygems_version: 3.6.9
|
|
43
|
+
specification_version: 4
|
|
44
|
+
summary: Build and convert software packages with Pax
|
|
45
|
+
test_files: []
|