license under MIT

LICENSE (MIT), installed as /usr/share/doc/terraria-server-manager/copyright
in both packages and with %license in the RPM. README gains a License
section and an up-to-date repository layout and build section.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
adamandClaude Opus 5.5 committed 2026-10-02 22:59:52 +00:00
1 parent 85da15a26f
commit d2320a8ab4
6 files changed
+42 -8

No files matched your search

+12 -5
View File
@@ -75,21 +75,24 @@ See [docs/guide.md](docs/guide.md). It covers installation, creating instances,
```
bin/terractl The command-line tool
systemd/ terraria@.service and terraria@.socket
lib/terractl-remote Managing other hosts (--host, remote, daemon, copy, move), in Python
systemd/ terraria@ service and socket, terractld, terraria-backup@ service and timer
completions/bash/ Bash completion for terractl
config/ /etc/default settings, sysusers.d and tmpfiles.d entries
config/ /etc/default settings, sysusers.d, tmpfiles.d, polkit and journald files
packaging/deb/ Debian package metadata and install/remove scripts
packaging/rpm/ RPM spec (Fedora, RHEL)
docs/guide.md Full documentation
tools/windows/ export-tmod-mods.ps1 for exporting mods from Windows
VERSION Current version, used by the build
Makefile make check | deb | install | uninstall | clean
Makefile make check | deb | rpm | install | uninstall | clean
```
## Building
```bash
make check # bash -n on all scripts, plus shellcheck if installed
make check # syntax checks, plus shellcheck, pyflakes and rpmspec if installed
make deb # build/terraria-server-manager_<version>_all.deb
make rpm # build/terraria-server-manager-<version>-1.noarch.rpm (needs rpmbuild)
```
To release, update `VERSION` and `CHANGELOG.md`, commit, and push a matching tag:
@@ -98,7 +101,11 @@ To release, update `VERSION` and `CHANGELOG.md`, commit, and push a matching tag
git tag v$(cat VERSION) && git push origin v$(cat VERSION)
```
The `release` workflow (`.gitea/workflows/release.yaml`, Gitea Actions) then builds the `.deb`, publishes it as a release with that version's changelog section as the notes, and adds it to the apt repository. It needs a runner with the `ubuntu-latest` label. To build a package by hand instead, run `make deb`.
The `release` workflow (`.gitea/workflows/release.yaml`, Gitea Actions) then builds the `.deb` and the `.rpm`, publishes them as a release with that version's changelog section as the notes, and adds them to the apt and RPM repositories. It needs a runner with the `ubuntu-latest` label. To build a package by hand instead, run `make deb` or `make rpm`.
## License
MIT; see [LICENSE](LICENSE).
## Disclaimer