Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 14 additions & 14 deletions packaging/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,13 +50,13 @@ with SHA-256 checks on the downloaded tarballs.
## Install

```sh
curl -fsSL https://github.com/Urdemonlord/irisproject/releases/download/v0.4.1/install.sh | sudo sh
curl -fsSL https://github.com/Urdemonlord/irisproject/releases/download/v0.5.0/install.sh | sudo sh
```

Or download the `.deb` from the release and run it:

```sh
sudo dpkg -i iris-mail-stack_0.4.1_amd64.deb
sudo dpkg -i iris-mail-stack_0.5.0_amd64.deb
```

The installer asks for your domain (or set `IRIS_DOMAIN` first), then
Expand All @@ -68,7 +68,7 @@ DMARC records for your domain. Publish those in your DNS panel.
Non-interactive install:

```sh
sudo IRIS_DOMAIN=example.com IRIS_ADMIN_EMAIL=admin@example.com dpkg -i iris-mail-stack_0.4.1_amd64.deb
sudo IRIS_DOMAIN=example.com IRIS_ADMIN_EMAIL=admin@example.com dpkg -i iris-mail-stack_0.5.0_amd64.deb
```

To pick the admin password instead of a generated one, set
Expand All @@ -79,8 +79,8 @@ A portable tarball of the same payload is attached to each release.
On a system without dpkg, unpack it as root and run `./install.sh`:

```sh
tar xzf iris-mail-stack-0.4.1.tar.gz
cd iris-mail-stack-0.4.1
tar xzf iris-mail-stack-0.5.0.tar.gz
cd iris-mail-stack-0.5.0
sudo ./install.sh example.com
```

Expand All @@ -91,8 +91,8 @@ The same stack as a tarball for macOS 14 and later, Apple Silicon
formula yet; the tarball is the install.

```sh
tar xzf iris-mail-stack-0.4.1-macos-arm64.tar.gz
cd iris-mail-stack-0.4.1-macos-arm64
tar xzf iris-mail-stack-0.5.0-macos-arm64.tar.gz
cd iris-mail-stack-0.5.0-macos-arm64
sudo ./install.sh example.com
```

Expand Down Expand Up @@ -155,8 +155,8 @@ only (Stalwart publishes no Windows ARM binary). There is no `.deb`,
`.msi` or Winget package yet; the zip is the install.

```powershell
Expand-Archive iris-mail-stack-0.4.1-windows-x86_64.zip
cd iris-mail-stack-0.4.1-windows-x86_64
Expand-Archive iris-mail-stack-0.5.0-windows-x86_64.zip
cd iris-mail-stack-0.5.0-windows-x86_64
# Run PowerShell as Administrator:
.\scripts\install.ps1 -Domain example.com
```
Expand Down Expand Up @@ -232,7 +232,7 @@ restarts the services. `/etc/iris`, `/var/lib/iris` and
`/var/lib/stalwart` are kept, so accounts, mail and settings survive.

```sh
sudo dpkg -i iris-mail-stack_0.4.1_amd64.deb
sudo dpkg -i iris-mail-stack_0.5.0_amd64.deb
```

## Uninstall
Expand Down Expand Up @@ -274,8 +274,8 @@ sudo dpkg -P iris-mail-stack
It verifies the pinned tarball checksums, builds IRIS from this repo
checkout (building it if needed), assembles the package tree, runs
`bash -n`, `py_compile` and `systemd-analyze verify`, and writes
`build/iris-mail-stack_0.4.1_amd64.deb` and
`build/iris-mail-stack-0.4.1.tar.gz`.
`build/iris-mail-stack_0.5.0_amd64.deb` and
`build/iris-mail-stack-0.5.0.tar.gz`.

macOS tarballs are built on a Mac (or a macOS CI runner), one per arch:

Expand All @@ -289,8 +289,8 @@ It verifies the pinned macOS tarball checksums in
`versions-macos.env`, builds IRIS for `aarch64-apple-darwin` and
`x86_64-apple-darwin`, assembles the trees, runs `bash -n`,
`py_compile` and `plutil -lint`, and writes
`build/macos/iris-mail-stack-0.4.1-macos-arm64.tar.gz` and
`build/macos/iris-mail-stack-0.4.1-macos-amd64.tar.gz`.
`build/macos/iris-mail-stack-0.5.0-macos-arm64.tar.gz` and
`build/macos/iris-mail-stack-0.5.0-macos-amd64.tar.gz`.

## Real install test

Expand Down
2 changes: 1 addition & 1 deletion packaging/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.4.1
0.5.0
4 changes: 2 additions & 2 deletions packaging/scripts/install-one-liner.sh
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
#!/bin/sh
# One-line installer for iris-mail-stack (Debian 12 / Ubuntu 24.04, amd64).
# Usage: curl -fsSL https://github.com/Urdemonlord/irisproject/releases/download/v0.4.1/install.sh | sudo sh
# Usage: curl -fsSL https://github.com/Urdemonlord/irisproject/releases/download/v0.5.0/install.sh | sudo sh
# Or download it first, read it, then run it. It installs the .deb from
# the same release and lets its postinst do the setup.
set -e
[ "$(id -u)" = 0 ] || { echo "run as root (sudo sh install.sh)" >&2; exit 1; }
VERSION=0.4.1
VERSION=0.5.0
URL="https://github.com/Urdemonlord/irisproject/releases/download/v${VERSION}/iris-mail-stack_${VERSION}_amd64.deb"
TMP=$(mktemp -d)
trap 'rm -rf "$TMP"' EXIT INT TERM
Expand Down
Loading