From 2a5580b00ea1fa17303beaecd097dbedcd955b30 Mon Sep 17 00:00:00 2001 From: hanez Date: Mon, 23 Nov 2026 11:47:31 +0100 Subject: [PATCH 1/9] README update. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 093d0cc..db89d47 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # murx -murx logo +![murx](murx.png) A deliberately small terminal multiplexer. One C file, no config file, no dependencies. From 636d5b239c0c34f4927f70146acda7de12380940 Mon Sep 17 00:00:00 2001 From: hanez Date: Mon, 23 Nov 2026 11:55:50 +0100 Subject: [PATCH 2/9] Fix Configuration menu toggles --- APKBUILD | 4 ++-- PKGBUILD | 4 ++-- README.md | 3 ++- murx.c | 19 ++++++++++--------- 4 files changed, 16 insertions(+), 14 deletions(-) diff --git a/APKBUILD b/APKBUILD index 6805ec5..9269041 100644 --- a/APKBUILD +++ b/APKBUILD @@ -26,10 +26,10 @@ package() { } sha512sums=" -275a6a517689726858f106f27a921aab726d21260b876ef7d228d62f38800dd549dbeccea680b1f9261b01dda1c72860bb147e95270d66a8aa08a7b3a2e9823e murx.c +bc093a0e3f748d16ecec21363cb3ab07ae4bd733ea8d0ddcd2a646bd5a1372bd419bab7ea9474aea63f6c4cc588b43ed635a0e016c1d468a8242a31d074462db murx.c ebce5c1268253d4dbf1cc1c7d6200c3bad97cba6361d8ff3c5d4563b670565a1a70d83d7bcb2dc0b1ca9fad9ca49d2ff8366b21ac73fb26cb7b46730d0acc425 Makefile 219082e6277ee8c226cdd61a5b17d4e3c6893adf04b2f59ea84a6b6421dbd5a6d0ff38b93d8dd8ae41ed037e77252058dacadd5ff1f0c36c7c1ff95503e1e7a8 murx.1 -11c39781332eab62dc36125ed4b72df12208b73f3d9201a8a3f16b8b9c09f9e32069597f15160efd52d97609e7d322a09db7ce249361c0c84f7e22dc013e55d8 README.md +5b0da48df43e7c13ac8447dda8fb0f57bf4c5bacb630e39d9f2105a4ee4a0485b80fb0e3c4a7f88ac16411f5e4c88bdf81ac67ccf4805af3beb68cf7e1725f0d README.md 2fe33ba22c5f68e124904be594208f050be20f33d115f9a56f60cac93304102da32e6a7e78154e831d3704da7ca8bfefd7025e7b8901e65babcd83e7342f6382 LICENSE 4d32dba475e5f9818fcd008068b011cbae9fc4b8e29897c933775d6660f44a7992d08a1550320d83233af729a42b241ef1d182bf5983ef2f64deab76cab2260d AUTHORS " diff --git a/PKGBUILD b/PKGBUILD index acee6bb..3a967f2 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -8,10 +8,10 @@ url='https://codeberg.org/armin/murx' license=('Apache-2.0') depends=('glibc') source=('murx.c' 'Makefile' 'murx.1' 'README.md' 'LICENSE' 'AUTHORS') -sha256sums=('a13edd7ca2da2d431ecd9e8fa1a4cae0a6e99a6a074893df204a73e8b3b19fc0' +sha256sums=('a19c6d5edf4ef832184e6c18ab222b689b8fa9bdeacb70cc1fc66430b7d637d7' '4301fe8afe6a6e7cc665d8820ec43047f6af6f3b394a3a3a4f6e52dcf32fdec2' '953966bfdd0b49cb26c11220e1e2bf6b5862aaa1b2d0bf002cde9d276f0ae96b' - '6411f0a1129e0436fd2b86372ac58adb6336eb4b7eacff268650d5188626e8ff' + 'ce2b324f9524663b1c0af9b9d064aa5dd80fc0a5cdfe6eff10c416c2faf9acae' '31c5556be4cdd9bf52bb55f18ead0c68a4f0e793c2c2dab0a2a2c6d92407d0d4' 'dbc8a4fc569d4cd7bcd45516ccc98c1396fce0682c262103069c8f5150538cdb') diff --git a/README.md b/README.md index db89d47..5a4c60a 100644 --- a/README.md +++ b/README.md @@ -328,7 +328,8 @@ scrollback, forced resize and kill server. `Configuration...` contains: titles. - `Reset display/status defaults`. -Settings changes apply immediately. Session settings affect all attached +Press Enter on a toggle to turn it on or off. Settings changes apply +immediately. Session settings affect all attached clients; the prefix is per-client. Nothing is written to disk, so changes last until the session ends or you change them again. The command-line options still decide the initial values when a session starts. diff --git a/murx.c b/murx.c index 2fd8a6e..ca1bb63 100644 --- a/murx.c +++ b/murx.c @@ -3502,27 +3502,28 @@ static void fit_session_to_client(Client *c, Session *s) { } static void menu_apply_setting(Client *c, Session *s, const MenuItem *it) { + int value = it->type == MI_TOGGLE ? !menu_setting_on(s, c, it) : it->arg; switch (it->id) { case SET_STATUS_BOTTOM: - s->status_bottom = it->arg ? 1 : 0; + s->status_bottom = value; session_layout(s); s->redraw = 1; break; case SET_STATUS_BG: - s->status_bg = it->arg == 1 ? (int32_t)RGB_FLAG : - it->arg == 2 ? (int32_t)(RGB_FLAG | 0x191a1c) : 0; + s->status_bg = value == 1 ? (int32_t)RGB_FLAG : + value == 2 ? (int32_t)(RGB_FLAG | 0x191a1c) : 0; s->redraw = 1; break; - case SET_SHOW_CWD: s->display.show_cwd = it->arg ? 1 : 0; break; - case SET_SHOW_CLOCK: s->display.show_clock = it->arg ? 1 : 0; break; - case SET_SHOW_MURX: s->display.show_murx = it->arg ? 1 : 0; break; - case SET_SHOW_HOSTNAME: s->display.show_hostname = it->arg ? 1 : 0; break; + case SET_SHOW_CWD: s->display.show_cwd = value; break; + case SET_SHOW_CLOCK: s->display.show_clock = value; break; + case SET_SHOW_MURX: s->display.show_murx = value; break; + case SET_SHOW_HOSTNAME: s->display.show_hostname = value; break; case SET_SHOW_PANE_TITLES: - s->display.show_pane_titles = it->arg ? 1 : 0; + s->display.show_pane_titles = value; session_layout(s); s->redraw = 1; break; - case SET_PREFIX: c->prefix = (unsigned char)it->arg; break; + case SET_PREFIX: c->prefix = (unsigned char)value; break; default: return; } /* Window names carry the hostname setting, so refresh them at once. */ From a04c064fddc57e695a1e473adbdd5cf043fcf4e8 Mon Sep 17 00:00:00 2001 From: hanez Date: Mon, 23 Nov 2026 11:59:48 +0100 Subject: [PATCH 3/9] Prepare murx 1.0.3 release --- APKBUILD | 4 ++-- PKGBUILD | 4 ++-- RELEASES.md | 8 ++++++++ murx.c | 2 +- 4 files changed, 13 insertions(+), 5 deletions(-) diff --git a/APKBUILD b/APKBUILD index 9269041..717bd98 100644 --- a/APKBUILD +++ b/APKBUILD @@ -1,6 +1,6 @@ # Local source snapshot; refresh version and checksums with `make pkgsums`. pkgname=murx -pkgver=1.0.2 +pkgver=1.0.3 pkgrel=0 pkgdesc="Small persistent terminal multiplexer" url="https://codeberg.org/armin/murx" @@ -26,7 +26,7 @@ package() { } sha512sums=" -bc093a0e3f748d16ecec21363cb3ab07ae4bd733ea8d0ddcd2a646bd5a1372bd419bab7ea9474aea63f6c4cc588b43ed635a0e016c1d468a8242a31d074462db murx.c +68c0e952a57d03e5c2cc6a7451cca1687341c20620634617529b6dc84f0fcdc7cb49cbc662bfad5b1fe3229c082a61480813ed5c01a1994c1b2a8e34bd421e29 murx.c ebce5c1268253d4dbf1cc1c7d6200c3bad97cba6361d8ff3c5d4563b670565a1a70d83d7bcb2dc0b1ca9fad9ca49d2ff8366b21ac73fb26cb7b46730d0acc425 Makefile 219082e6277ee8c226cdd61a5b17d4e3c6893adf04b2f59ea84a6b6421dbd5a6d0ff38b93d8dd8ae41ed037e77252058dacadd5ff1f0c36c7c1ff95503e1e7a8 murx.1 5b0da48df43e7c13ac8447dda8fb0f57bf4c5bacb630e39d9f2105a4ee4a0485b80fb0e3c4a7f88ac16411f5e4c88bdf81ac67ccf4805af3beb68cf7e1725f0d README.md diff --git a/PKGBUILD b/PKGBUILD index 3a967f2..acab578 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,6 +1,6 @@ # Local source snapshot; refresh version and checksums with `make pkgsums`. pkgname=murx -pkgver=1.0.2 +pkgver=1.0.3 pkgrel=1 pkgdesc='Small persistent terminal multiplexer' arch=('x86_64' 'aarch64') @@ -8,7 +8,7 @@ url='https://codeberg.org/armin/murx' license=('Apache-2.0') depends=('glibc') source=('murx.c' 'Makefile' 'murx.1' 'README.md' 'LICENSE' 'AUTHORS') -sha256sums=('a19c6d5edf4ef832184e6c18ab222b689b8fa9bdeacb70cc1fc66430b7d637d7' +sha256sums=('358d39eed410a9657ef811892288ef407fe8f17709cb1b4b5e0405635594b70d' '4301fe8afe6a6e7cc665d8820ec43047f6af6f3b394a3a3a4f6e52dcf32fdec2' '953966bfdd0b49cb26c11220e1e2bf6b5862aaa1b2d0bf002cde9d276f0ae96b' 'ce2b324f9524663b1c0af9b9d064aa5dd80fc0a5cdfe6eff10c416c2faf9acae' diff --git a/RELEASES.md b/RELEASES.md index ef5af9e..7eb06ff 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -1,3 +1,11 @@ +# murx 1.0.3 released + +**November 23, 2026** + +- Fixed the Configuration menu (`Ctrl-A m` → Configuration). Pressing Enter + now turns display settings on or off. Previously, an enabled setting could + not be turned off from its menu entry. + # murx 1.0.2 released **November 23, 2026** diff --git a/murx.c b/murx.c index ca1bb63..bb701db 100644 --- a/murx.c +++ b/murx.c @@ -87,7 +87,7 @@ #define MURX_NOIPA #endif -#define MURX_VERSION "1.0.2" +#define MURX_VERSION "1.0.3" #define DEFAULT_PREFIX 0x01 /* client -> server */ From 33683c8344174ce73b2219657371bcde09cd23f1 Mon Sep 17 00:00:00 2001 From: hanez Date: Mon, 23 Nov 2026 12:15:47 +0100 Subject: [PATCH 4/9] Add Gentoo packaging for murx 1.0.3 --- .gitignore | 2 +- APKBUILD | 2 +- PKGBUILD | 2 +- README.md | 13 ++++++++++++ gentoo/app-misc/murx/Manifest | 1 + gentoo/app-misc/murx/murx-1.0.3.ebuild | 29 ++++++++++++++++++++++++++ 6 files changed, 46 insertions(+), 3 deletions(-) create mode 100644 gentoo/app-misc/murx/Manifest create mode 100644 gentoo/app-misc/murx/murx-1.0.3.ebuild diff --git a/.gitignore b/.gitignore index 4673c72..e31a02b 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,5 @@ # Build files -murx +/murx *.o src/ diff --git a/APKBUILD b/APKBUILD index 717bd98..d8c8cc5 100644 --- a/APKBUILD +++ b/APKBUILD @@ -29,7 +29,7 @@ sha512sums=" 68c0e952a57d03e5c2cc6a7451cca1687341c20620634617529b6dc84f0fcdc7cb49cbc662bfad5b1fe3229c082a61480813ed5c01a1994c1b2a8e34bd421e29 murx.c ebce5c1268253d4dbf1cc1c7d6200c3bad97cba6361d8ff3c5d4563b670565a1a70d83d7bcb2dc0b1ca9fad9ca49d2ff8366b21ac73fb26cb7b46730d0acc425 Makefile 219082e6277ee8c226cdd61a5b17d4e3c6893adf04b2f59ea84a6b6421dbd5a6d0ff38b93d8dd8ae41ed037e77252058dacadd5ff1f0c36c7c1ff95503e1e7a8 murx.1 -5b0da48df43e7c13ac8447dda8fb0f57bf4c5bacb630e39d9f2105a4ee4a0485b80fb0e3c4a7f88ac16411f5e4c88bdf81ac67ccf4805af3beb68cf7e1725f0d README.md +8353d847c8d49c3f74956f17612528c1d20b20e7f981f352a2ca601ce93222c99ef3e0c034e14648df1a466376148cb1f06d3078f3a98bc1a9a00f0e3aa71c02 README.md 2fe33ba22c5f68e124904be594208f050be20f33d115f9a56f60cac93304102da32e6a7e78154e831d3704da7ca8bfefd7025e7b8901e65babcd83e7342f6382 LICENSE 4d32dba475e5f9818fcd008068b011cbae9fc4b8e29897c933775d6660f44a7992d08a1550320d83233af729a42b241ef1d182bf5983ef2f64deab76cab2260d AUTHORS " diff --git a/PKGBUILD b/PKGBUILD index acab578..ff5f9a8 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -11,7 +11,7 @@ source=('murx.c' 'Makefile' 'murx.1' 'README.md' 'LICENSE' 'AUTHORS') sha256sums=('358d39eed410a9657ef811892288ef407fe8f17709cb1b4b5e0405635594b70d' '4301fe8afe6a6e7cc665d8820ec43047f6af6f3b394a3a3a4f6e52dcf32fdec2' '953966bfdd0b49cb26c11220e1e2bf6b5862aaa1b2d0bf002cde9d276f0ae96b' - 'ce2b324f9524663b1c0af9b9d064aa5dd80fc0a5cdfe6eff10c416c2faf9acae' + 'a9231e00964b19553032f531832fa532f231dcedf3d6c7c0e52a1e2761bfd6c7' '31c5556be4cdd9bf52bb55f18ead0c68a4f0e793c2c2dab0a2a2c6d92407d0d4' 'dbc8a4fc569d4cd7bcd45516ccc98c1396fce0682c262103069c8f5150538cdb') diff --git a/README.md b/README.md index 5a4c60a..ca32a0c 100644 --- a/README.md +++ b/README.md @@ -474,6 +474,19 @@ makepkg -si This builds the package and installs it through pacman. The recipe lists `x86_64` and `aarch64`; builds run on the current architecture. +For Gentoo, copy the [`app-misc/murx` package directory](gentoo/app-misc/murx) +into a configured local Portage overlay. The ebuild fetches the tagged release +archive and includes a Manifest with its checksums. It is keyworded `~amd64`; +accept that keyword for `app-misc/murx` if your system uses stable keywords. +Then install it with: + +```sh +emerge --ask app-misc/murx +``` + +For a new Gentoo release, copy the ebuild to the new versioned filename and +run `ebuild murx-VERSION.ebuild manifest` after publishing the matching tag. + After changing a packaged source file, run `make pkgsums` to sync both package versions and refresh both sets of checksums. This target requires `abuild` and `updpkgsums` (from `pacman-contrib`). Neither recipe diff --git a/gentoo/app-misc/murx/Manifest b/gentoo/app-misc/murx/Manifest new file mode 100644 index 0000000..4fbbe01 --- /dev/null +++ b/gentoo/app-misc/murx/Manifest @@ -0,0 +1 @@ +DIST murx-1.0.3.tar.gz 564342 BLAKE2B 7132cff9c517537fd1bd2b0aeedb0c90a274810d31515b941f5a63288790b299aa24744134afd1c2b4c9f0439077fb1262626115535338fcfc5182f65a8308af SHA512 658dadaafac4561a87dc7be1a6c094cc06eca9ea44f8c756ac7e913841c4ebe13d00da5f4ff415fa96b4b91f171e567b2c18d8ad2f735746644fd9c344643b28 diff --git a/gentoo/app-misc/murx/murx-1.0.3.ebuild b/gentoo/app-misc/murx/murx-1.0.3.ebuild new file mode 100644 index 0000000..ec1a48f --- /dev/null +++ b/gentoo/app-misc/murx/murx-1.0.3.ebuild @@ -0,0 +1,29 @@ +EAPI=8 + +inherit toolchain-funcs + +DESCRIPTION="Small persistent terminal multiplexer" +HOMEPAGE="https://xw3.org/murx/murx" +SRC_URI="https://xw3.org/murx/murx/archive/${P}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${PN}" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" + +DOCS=( README.md AUTHORS RELEASES.md ) + +src_compile() { + tc-export CC + emake +} + +src_test() { + ./murx --help >/dev/null || die "murx --help failed" + [[ $(./murx --version) == "${PN} ${PV}" ]] || die "Unexpected murx version" +} + +src_install() { + emake DESTDIR="${D}" PREFIX=/usr install + einstalldocs +} From 3c756ae46b74526eca8c47e367bc54929118d02a Mon Sep 17 00:00:00 2001 From: hanez Date: Mon, 23 Nov 2026 12:26:37 +0100 Subject: [PATCH 5/9] Move Arch and Alpine package recipes into subdirectories --- .gitignore | 4 ++++ Makefile | 35 ++++++++++++++++++++++------------- README.md | 15 +++++++++------ APKBUILD => alpine/APKBUILD | 4 ++-- PKGBUILD => arch/PKGBUILD | 4 ++-- 5 files changed, 39 insertions(+), 23 deletions(-) rename APKBUILD => alpine/APKBUILD (83%) rename PKGBUILD => arch/PKGBUILD (87%) diff --git a/.gitignore b/.gitignore index e31a02b..7757a94 100644 --- a/.gitignore +++ b/.gitignore @@ -4,6 +4,10 @@ src/ # Packages +/alpine/* +!/alpine/APKBUILD +/arch/* +!/arch/PKGBUILD *.apk *.xz diff --git a/Makefile b/Makefile index 44ec907..b239b57 100644 --- a/Makefile +++ b/Makefile @@ -28,29 +28,38 @@ clean: rm -f murx pkgclean: - rm -rf *.apk - rm -rf *.xz + rm -f *.apk alpine/*.apk + rm -f *.xz arch/*.pkg.tar.* -pkgalpine: pkgclean - abuild checksum - abuild -r +pkgsources: + @for dir in alpine arch; do \ + for source in murx.c Makefile murx.1 README.md LICENSE AUTHORS; do \ + if [ ! -e "$$dir/$$source" ] && [ ! -L "$$dir/$$source" ]; then \ + ln -s "../$$source" "$$dir/$$source" || exit 1; \ + fi; \ + done; \ + done -pkgarch: pkgclean - updpkgsums - makepkg +pkgalpine: pkgclean pkgsources + cd alpine && abuild checksum + cd alpine && abuild -r -pkgsums: +pkgarch: pkgclean pkgsources + cd arch && updpkgsums + cd arch && makepkg + +pkgsums: pkgsources @version=$$(sed -n 's/^#define MURX_VERSION "\([^"]*\)"$$/\1/p' murx.c); \ if [ -z "$$version" ]; then \ echo "Could not read MURX_VERSION from murx.c" >&2; exit 1; \ fi; \ tmp=$$(mktemp .pkgsums.XXXXXX) || exit 1; \ trap 'rm -f "$$tmp"' 0; \ - for recipe in APKBUILD PKGBUILD; do \ + for recipe in alpine/APKBUILD arch/PKGBUILD; do \ sed "s/^pkgver=.*/pkgver=$$version/" "$$recipe" > "$$tmp" && \ cat "$$tmp" > "$$recipe" || exit 1; \ done - abuild checksum - updpkgsums + cd alpine && abuild checksum + cd arch && updpkgsums -.PHONY: all install uninstall clean pkgclean pkgalpine pkgarch pkgsums +.PHONY: all install uninstall clean pkgclean pkgsources pkgalpine pkgarch pkgsums diff --git a/README.md b/README.md index ca32a0c..7131ff1 100644 --- a/README.md +++ b/README.md @@ -445,10 +445,10 @@ that otherwise collapses pane grids to 1x1. ## Linux packages -The root directory includes [APKBUILD](APKBUILD) for Alpine Linux and -[PKGBUILD](PKGBUILD) for Arch Linux. Both build the local source files rather -than downloading a release. The package version comes from `MURX_VERSION` in -`murx.c`; adjust the package release fields separately as needed. Both recipes +The [Alpine recipe](alpine/APKBUILD) and [Arch recipe](arch/PKGBUILD) +build from the local checkout using symlinks to the source files. The package +version comes from `MURX_VERSION` in `murx.c`. Adjust the package release fields +separately as needed. Both recipes build with the default C compiler and pass distro `CFLAGS` to `make`. The packages install under `/usr`, including the manual, README, AUTHORS and license. @@ -457,7 +457,7 @@ On Alpine, install `alpine-sdk`, configure your abuild signing key with `abuild-keygen -a -i`, and run as a regular user with abuild configured: ```sh -abuild -r +make pkgalpine ``` Install the resulting `murx` package and its `murx-doc` subpackage for the @@ -468,10 +468,13 @@ package after trusting your local signing key. On Arch, install `base-devel` and run as a regular user: ```sh +make pkgsources +cd arch makepkg -si ``` -This builds the package and installs it through pacman. The recipe lists +This builds the package and installs it through pacman. To build from the +repository root, run `make pkgarch`. The recipe lists `x86_64` and `aarch64`; builds run on the current architecture. For Gentoo, copy the [`app-misc/murx` package directory](gentoo/app-misc/murx) diff --git a/APKBUILD b/alpine/APKBUILD similarity index 83% rename from APKBUILD rename to alpine/APKBUILD index d8c8cc5..ffdc049 100644 --- a/APKBUILD +++ b/alpine/APKBUILD @@ -27,9 +27,9 @@ package() { sha512sums=" 68c0e952a57d03e5c2cc6a7451cca1687341c20620634617529b6dc84f0fcdc7cb49cbc662bfad5b1fe3229c082a61480813ed5c01a1994c1b2a8e34bd421e29 murx.c -ebce5c1268253d4dbf1cc1c7d6200c3bad97cba6361d8ff3c5d4563b670565a1a70d83d7bcb2dc0b1ca9fad9ca49d2ff8366b21ac73fb26cb7b46730d0acc425 Makefile +10a353b8447ff969fa55c5445b61604471c5e7ca1e8e632e05c0f77cb01d876b9c0a260ddb1e5a9a6d880a47f725c22a1279ea8a8e38d3b08c384ded592dc837 Makefile 219082e6277ee8c226cdd61a5b17d4e3c6893adf04b2f59ea84a6b6421dbd5a6d0ff38b93d8dd8ae41ed037e77252058dacadd5ff1f0c36c7c1ff95503e1e7a8 murx.1 -8353d847c8d49c3f74956f17612528c1d20b20e7f981f352a2ca601ce93222c99ef3e0c034e14648df1a466376148cb1f06d3078f3a98bc1a9a00f0e3aa71c02 README.md +7284e0a57c11cd7b6cbc1569b95974bc87a81018d6184b6decc2b9c2b6d005cca1a407a48141687d2f2bba83c72f57e159ccd9d0c8be00e2846437c1b49a0d39 README.md 2fe33ba22c5f68e124904be594208f050be20f33d115f9a56f60cac93304102da32e6a7e78154e831d3704da7ca8bfefd7025e7b8901e65babcd83e7342f6382 LICENSE 4d32dba475e5f9818fcd008068b011cbae9fc4b8e29897c933775d6660f44a7992d08a1550320d83233af729a42b241ef1d182bf5983ef2f64deab76cab2260d AUTHORS " diff --git a/PKGBUILD b/arch/PKGBUILD similarity index 87% rename from PKGBUILD rename to arch/PKGBUILD index ff5f9a8..8b49400 100644 --- a/PKGBUILD +++ b/arch/PKGBUILD @@ -9,9 +9,9 @@ license=('Apache-2.0') depends=('glibc') source=('murx.c' 'Makefile' 'murx.1' 'README.md' 'LICENSE' 'AUTHORS') sha256sums=('358d39eed410a9657ef811892288ef407fe8f17709cb1b4b5e0405635594b70d' - '4301fe8afe6a6e7cc665d8820ec43047f6af6f3b394a3a3a4f6e52dcf32fdec2' + 'ee889dd531e7a3632032815a21ab26012a6ea882b50b56f86230bb3b9d9e5cad' '953966bfdd0b49cb26c11220e1e2bf6b5862aaa1b2d0bf002cde9d276f0ae96b' - 'a9231e00964b19553032f531832fa532f231dcedf3d6c7c0e52a1e2761bfd6c7' + '0f28defaaa7b03fd24dc87aa53a1f3c1a9ea86ec27c7e3c688248220285879b1' '31c5556be4cdd9bf52bb55f18ead0c68a4f0e793c2c2dab0a2a2c6d92407d0d4' 'dbc8a4fc569d4cd7bcd45516ccc98c1396fce0682c262103069c8f5150538cdb') From 4854ebea27c77a050713c8798e3478a59b28d78c Mon Sep 17 00:00:00 2001 From: hanez Date: Mon, 23 Nov 2026 12:43:41 +0100 Subject: [PATCH 6/9] Add Debian packaging and FreeBSD port --- .gitignore | 11 +++++++++++ README.md | 22 +++++++++++++++++++++- alpine/APKBUILD | 2 +- arch/PKGBUILD | 2 +- debian/changelog | 5 +++++ debian/control | 16 ++++++++++++++++ debian/copyright | 15 +++++++++++++++ debian/docs | 3 +++ debian/rules | 10 ++++++++++ debian/source/format | 1 + freebsd/sysutils/murx/Makefile | 28 ++++++++++++++++++++++++++++ freebsd/sysutils/murx/distinfo | 3 +++ freebsd/sysutils/murx/pkg-descr | 3 +++ 13 files changed, 118 insertions(+), 3 deletions(-) create mode 100644 debian/changelog create mode 100644 debian/control create mode 100644 debian/copyright create mode 100644 debian/docs create mode 100755 debian/rules create mode 100644 debian/source/format create mode 100644 freebsd/sysutils/murx/Makefile create mode 100644 freebsd/sysutils/murx/distinfo create mode 100644 freebsd/sysutils/murx/pkg-descr diff --git a/.gitignore b/.gitignore index 7757a94..8094679 100644 --- a/.gitignore +++ b/.gitignore @@ -25,3 +25,14 @@ src/ # Tooling compile_commands.json .cache/ + +# Debian build outputs +/debian/.debhelper/ +/debian/debhelper-build-stamp +/debian/files +/debian/murx/ +/debian/*.debhelper.log +/debian/*.substvars + +# FreeBSD port build outputs +/freebsd/sysutils/murx/work/ diff --git a/README.md b/README.md index 7131ff1..0742fc0 100644 --- a/README.md +++ b/README.md @@ -443,7 +443,7 @@ automatically on the BSDs where it is needed). Tested with Clang and GCC 16; `grid_resize()` carries a guarded workaround for a GCC 16 optimizer bug that otherwise collapses pane grids to 1x1. -## Linux packages +## Packages The [Alpine recipe](alpine/APKBUILD) and [Arch recipe](arch/PKGBUILD) build from the local checkout using symlinks to the source files. The package @@ -495,6 +495,26 @@ versions and refresh both sets of checksums. This target requires `abuild` and `updpkgsums` (from `pacman-contrib`). Neither recipe requires a test suite; its check step runs `murx --help` as a smoke check. +### Debian + +The [Debian packaging](debian/) builds from the local checkout. Install +`build-essential` and `debhelper`, then run: + +```sh +dpkg-buildpackage -b -us -uc +``` + +The resulting `murx_*.deb` is written to the parent directory. Install it +with `apt install ../murx_1.0.3-1_$(dpkg --print-architecture).deb`. + +### FreeBSD + +Copy the [`sysutils/murx` port](freebsd/sysutils/murx/) into a FreeBSD Ports +tree. From the port directory, run `make package` to fetch the tagged source, +verify its checksum, and build a package. Install the resulting package with +`pkg add`. To update the port for a new release, change `DISTVERSION` and run +`make makesum` after publishing the matching tag. + ## Authors See [AUTHORS](AUTHORS) for project credits. diff --git a/alpine/APKBUILD b/alpine/APKBUILD index ffdc049..eb014ed 100644 --- a/alpine/APKBUILD +++ b/alpine/APKBUILD @@ -29,7 +29,7 @@ sha512sums=" 68c0e952a57d03e5c2cc6a7451cca1687341c20620634617529b6dc84f0fcdc7cb49cbc662bfad5b1fe3229c082a61480813ed5c01a1994c1b2a8e34bd421e29 murx.c 10a353b8447ff969fa55c5445b61604471c5e7ca1e8e632e05c0f77cb01d876b9c0a260ddb1e5a9a6d880a47f725c22a1279ea8a8e38d3b08c384ded592dc837 Makefile 219082e6277ee8c226cdd61a5b17d4e3c6893adf04b2f59ea84a6b6421dbd5a6d0ff38b93d8dd8ae41ed037e77252058dacadd5ff1f0c36c7c1ff95503e1e7a8 murx.1 -7284e0a57c11cd7b6cbc1569b95974bc87a81018d6184b6decc2b9c2b6d005cca1a407a48141687d2f2bba83c72f57e159ccd9d0c8be00e2846437c1b49a0d39 README.md +2aab5c7ea1160bde6b7963709ed7d34d983ed57be681167fddc2e08532066145021f170774d665524a989a2433d5373d3d257bd61deacfeaae71a74047a72424 README.md 2fe33ba22c5f68e124904be594208f050be20f33d115f9a56f60cac93304102da32e6a7e78154e831d3704da7ca8bfefd7025e7b8901e65babcd83e7342f6382 LICENSE 4d32dba475e5f9818fcd008068b011cbae9fc4b8e29897c933775d6660f44a7992d08a1550320d83233af729a42b241ef1d182bf5983ef2f64deab76cab2260d AUTHORS " diff --git a/arch/PKGBUILD b/arch/PKGBUILD index 8b49400..151a2f4 100644 --- a/arch/PKGBUILD +++ b/arch/PKGBUILD @@ -11,7 +11,7 @@ source=('murx.c' 'Makefile' 'murx.1' 'README.md' 'LICENSE' 'AUTHORS') sha256sums=('358d39eed410a9657ef811892288ef407fe8f17709cb1b4b5e0405635594b70d' 'ee889dd531e7a3632032815a21ab26012a6ea882b50b56f86230bb3b9d9e5cad' '953966bfdd0b49cb26c11220e1e2bf6b5862aaa1b2d0bf002cde9d276f0ae96b' - '0f28defaaa7b03fd24dc87aa53a1f3c1a9ea86ec27c7e3c688248220285879b1' + '5aff6a9acb8b73d0d014d6ac31a9130d348e3107ea8ae2272611f2956eef8190' '31c5556be4cdd9bf52bb55f18ead0c68a4f0e793c2c2dab0a2a2c6d92407d0d4' 'dbc8a4fc569d4cd7bcd45516ccc98c1396fce0682c262103069c8f5150538cdb') diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..4ee4e82 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +murx (1.0.3-1) unstable; urgency=medium + + * Add Debian packaging for murx 1.0.3. + + -- Johannes Findeisen Mon, 23 Nov 2026 12:00:00 +0100 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..3b10df3 --- /dev/null +++ b/debian/control @@ -0,0 +1,16 @@ +Source: murx +Section: utils +Priority: optional +Maintainer: Johannes Findeisen +Build-Depends: debhelper-compat (= 13) +Standards-Version: 4.7.0 +Rules-Requires-Root: no +Homepage: https://codeberg.org/armin/murx + +Package: murx +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: small persistent terminal multiplexer + murx runs shells and terminal applications in named sessions with windows + and split panes. Sessions keep running when clients detach, and several + clients can attach to the same session. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..f3f9fa7 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,15 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: murx +Source: https://codeberg.org/armin/murx + +Files: * +Copyright: 2026 Armin Jenewein +License: Apache-2.0 + +Files: debian/* +Copyright: 2026 Johannes Findeisen +License: Apache-2.0 + +License: Apache-2.0 + On Debian systems, the full text of the Apache License, Version 2.0 + is available at /usr/share/common-licenses/Apache-2.0. diff --git a/debian/docs b/debian/docs new file mode 100644 index 0000000..dc9a571 --- /dev/null +++ b/debian/docs @@ -0,0 +1,3 @@ +README.md +AUTHORS +RELEASES.md diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..1d3cb05 --- /dev/null +++ b/debian/rules @@ -0,0 +1,10 @@ +#!/usr/bin/make -f + +%: + dh $@ + +override_dh_auto_test: + ./murx --help >/dev/null + +override_dh_auto_install: + $(MAKE) DESTDIR="$(CURDIR)/debian/murx" PREFIX=/usr install diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/freebsd/sysutils/murx/Makefile b/freebsd/sysutils/murx/Makefile new file mode 100644 index 0000000..9c56547 --- /dev/null +++ b/freebsd/sysutils/murx/Makefile @@ -0,0 +1,28 @@ +PORTNAME= murx +DISTVERSION= 1.0.3 +CATEGORIES= sysutils +MASTER_SITES= https://xw3.org/murx/murx/archive/ + +MAINTAINER= you@hanez.org +COMMENT= Small persistent terminal multiplexer +WWW= https://codeberg.org/armin/murx + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/LICENSE + +WRKSRC= ${WRKDIR}/murx +MAKE_ARGS= PREFIX="${PREFIX}" MANDIR="${PREFIX}/share/man" + +PLIST_FILES= bin/murx share/man/man1/murx.1.gz +PORTDOCS= AUTHORS README.md RELEASES.md + +OPTIONS_DEFINE= DOCS + +post-install: + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/murx + +post-install-DOCS-on: + ${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} + +.include diff --git a/freebsd/sysutils/murx/distinfo b/freebsd/sysutils/murx/distinfo new file mode 100644 index 0000000..da157cf --- /dev/null +++ b/freebsd/sysutils/murx/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1795431600 +SHA256 (murx-1.0.3.tar.gz) = b1b291e715fe02e3a95047d9ef16f35a00f8d92127d20b87e5690eac4ec910c3 +SIZE (murx-1.0.3.tar.gz) = 564342 diff --git a/freebsd/sysutils/murx/pkg-descr b/freebsd/sysutils/murx/pkg-descr new file mode 100644 index 0000000..0906991 --- /dev/null +++ b/freebsd/sysutils/murx/pkg-descr @@ -0,0 +1,3 @@ +murx is a small terminal multiplexer with persistent named sessions, +windows, split panes, scrollback, and support for multiple clients +attached to a session. It has built-in defaults and no configuration file. From 9e4d8ea3a2cf1dbfa35ac3ec336e83c616366f67 Mon Sep 17 00:00:00 2001 From: hanez Date: Mon, 23 Nov 2026 12:47:25 +0100 Subject: [PATCH 7/9] Add OpenBSD port for murx 1.0.3 --- .gitignore | 3 +++ README.md | 8 ++++++++ alpine/APKBUILD | 2 +- arch/PKGBUILD | 2 +- openbsd/sysutils/murx/Makefile | 31 +++++++++++++++++++++++++++++++ openbsd/sysutils/murx/distinfo | 2 ++ openbsd/sysutils/murx/pkg/DESCR | 3 +++ openbsd/sysutils/murx/pkg/PLIST | 6 ++++++ 8 files changed, 55 insertions(+), 2 deletions(-) create mode 100644 openbsd/sysutils/murx/Makefile create mode 100644 openbsd/sysutils/murx/distinfo create mode 100644 openbsd/sysutils/murx/pkg/DESCR create mode 100644 openbsd/sysutils/murx/pkg/PLIST diff --git a/.gitignore b/.gitignore index 8094679..397bbbf 100644 --- a/.gitignore +++ b/.gitignore @@ -36,3 +36,6 @@ compile_commands.json # FreeBSD port build outputs /freebsd/sysutils/murx/work/ + +# OpenBSD port build outputs +/openbsd/sysutils/murx/w-*/ diff --git a/README.md b/README.md index 0742fc0..3815001 100644 --- a/README.md +++ b/README.md @@ -515,6 +515,14 @@ verify its checksum, and build a package. Install the resulting package with `pkg add`. To update the port for a new release, change `DISTVERSION` and run `make makesum` after publishing the matching tag. +### OpenBSD + +Copy the [`sysutils/murx` port](openbsd/sysutils/murx/) into an OpenBSD ports +tree. From the port directory, run `make package` to fetch and verify the +tagged source and build a package. Run `make install` to install it through +the ports tree. For a new release, update `DISTNAME` and run `make makesum` +after publishing the matching tag. + ## Authors See [AUTHORS](AUTHORS) for project credits. diff --git a/alpine/APKBUILD b/alpine/APKBUILD index eb014ed..5af209b 100644 --- a/alpine/APKBUILD +++ b/alpine/APKBUILD @@ -29,7 +29,7 @@ sha512sums=" 68c0e952a57d03e5c2cc6a7451cca1687341c20620634617529b6dc84f0fcdc7cb49cbc662bfad5b1fe3229c082a61480813ed5c01a1994c1b2a8e34bd421e29 murx.c 10a353b8447ff969fa55c5445b61604471c5e7ca1e8e632e05c0f77cb01d876b9c0a260ddb1e5a9a6d880a47f725c22a1279ea8a8e38d3b08c384ded592dc837 Makefile 219082e6277ee8c226cdd61a5b17d4e3c6893adf04b2f59ea84a6b6421dbd5a6d0ff38b93d8dd8ae41ed037e77252058dacadd5ff1f0c36c7c1ff95503e1e7a8 murx.1 -2aab5c7ea1160bde6b7963709ed7d34d983ed57be681167fddc2e08532066145021f170774d665524a989a2433d5373d3d257bd61deacfeaae71a74047a72424 README.md +6ef36f741587cd78f354e6cbe76f674a75964dc131ee218fabe39fa6c96cda80ce0d292030e76d871c4c4811e00b5074847364a1fd2b3bbde60831dae677fa80 README.md 2fe33ba22c5f68e124904be594208f050be20f33d115f9a56f60cac93304102da32e6a7e78154e831d3704da7ca8bfefd7025e7b8901e65babcd83e7342f6382 LICENSE 4d32dba475e5f9818fcd008068b011cbae9fc4b8e29897c933775d6660f44a7992d08a1550320d83233af729a42b241ef1d182bf5983ef2f64deab76cab2260d AUTHORS " diff --git a/arch/PKGBUILD b/arch/PKGBUILD index 151a2f4..7d8b141 100644 --- a/arch/PKGBUILD +++ b/arch/PKGBUILD @@ -11,7 +11,7 @@ source=('murx.c' 'Makefile' 'murx.1' 'README.md' 'LICENSE' 'AUTHORS') sha256sums=('358d39eed410a9657ef811892288ef407fe8f17709cb1b4b5e0405635594b70d' 'ee889dd531e7a3632032815a21ab26012a6ea882b50b56f86230bb3b9d9e5cad' '953966bfdd0b49cb26c11220e1e2bf6b5862aaa1b2d0bf002cde9d276f0ae96b' - '5aff6a9acb8b73d0d014d6ac31a9130d348e3107ea8ae2272611f2956eef8190' + 'dc82161e37e6800fa14561bc261e7cc3b0ea2165de42601085353a92a6153f08' '31c5556be4cdd9bf52bb55f18ead0c68a4f0e793c2c2dab0a2a2c6d92407d0d4' 'dbc8a4fc569d4cd7bcd45516ccc98c1396fce0682c262103069c8f5150538cdb') diff --git a/openbsd/sysutils/murx/Makefile b/openbsd/sysutils/murx/Makefile new file mode 100644 index 0000000..4d342b6 --- /dev/null +++ b/openbsd/sysutils/murx/Makefile @@ -0,0 +1,31 @@ +COMMENT = small persistent terminal multiplexer + +DISTNAME = murx-1.0.3 +CATEGORIES = sysutils +HOMEPAGE = https://codeberg.org/armin/murx +MAINTAINER = Johannes Findeisen + +# Apache-2.0 +PERMIT_PACKAGE = Yes + +WANTLIB += c util + +SITES = https://xw3.org/murx/murx/archive/ +WRKDIST = ${WRKDIR}/murx + +MAKE_FLAGS = CC="${CC}" CFLAGS="${CFLAGS} -std=c99 -Wall -Wextra" \ + LDFLAGS="${LDFLAGS}" + +do-test: + ${WRKSRC}/murx --help >/dev/null + +do-install: + ${INSTALL_PROGRAM_DIR} ${PREFIX}/bin + ${INSTALL_MAN_DIR} ${PREFIX}/man/man1 + ${INSTALL_PROGRAM} ${WRKSRC}/murx ${PREFIX}/bin/ + ${INSTALL_MAN} ${WRKSRC}/murx.1 ${PREFIX}/man/man1/ + ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/murx + ${INSTALL_DATA} ${WRKSRC}/AUTHORS ${WRKSRC}/README.md \ + ${WRKSRC}/RELEASES.md ${PREFIX}/share/doc/murx/ + +.include diff --git a/openbsd/sysutils/murx/distinfo b/openbsd/sysutils/murx/distinfo new file mode 100644 index 0000000..c25dba7 --- /dev/null +++ b/openbsd/sysutils/murx/distinfo @@ -0,0 +1,2 @@ +SHA256 (murx-1.0.3.tar.gz) = sbKR5xX+AuOpUEfZ7xbzWgD42SEn0guH5WkOrE7JEMM= +SIZE (murx-1.0.3.tar.gz) = 564342 diff --git a/openbsd/sysutils/murx/pkg/DESCR b/openbsd/sysutils/murx/pkg/DESCR new file mode 100644 index 0000000..0906991 --- /dev/null +++ b/openbsd/sysutils/murx/pkg/DESCR @@ -0,0 +1,3 @@ +murx is a small terminal multiplexer with persistent named sessions, +windows, split panes, scrollback, and support for multiple clients +attached to a session. It has built-in defaults and no configuration file. diff --git a/openbsd/sysutils/murx/pkg/PLIST b/openbsd/sysutils/murx/pkg/PLIST new file mode 100644 index 0000000..80aa733 --- /dev/null +++ b/openbsd/sysutils/murx/pkg/PLIST @@ -0,0 +1,6 @@ +@bin bin/murx +@man man/man1/murx.1 +share/doc/murx/ +share/doc/murx/AUTHORS +share/doc/murx/README.md +share/doc/murx/RELEASES.md From 2da5312982b89984d4e05f598e535602875df44e Mon Sep 17 00:00:00 2001 From: hanez Date: Mon, 23 Nov 2026 12:50:17 +0100 Subject: [PATCH 8/9] Document package builds for each supported OS --- .gitignore | 2 ++ Makefile | 5 ++- README.md | 86 ++++++----------------------------------------- alpine/APKBUILD | 8 ++--- alpine/README.md | 18 ++++++++++ arch/PKGBUILD | 8 ++--- arch/README.md | 24 +++++++++++++ debian/README.md | 13 +++++++ freebsd/README.md | 14 ++++++++ gentoo/README.md | 16 +++++++++ openbsd/README.md | 14 ++++++++ 11 files changed, 123 insertions(+), 85 deletions(-) create mode 100644 alpine/README.md create mode 100644 arch/README.md create mode 100644 debian/README.md create mode 100644 freebsd/README.md create mode 100644 gentoo/README.md create mode 100644 openbsd/README.md diff --git a/.gitignore b/.gitignore index 397bbbf..f88a524 100644 --- a/.gitignore +++ b/.gitignore @@ -6,8 +6,10 @@ src/ # Packages /alpine/* !/alpine/APKBUILD +!/alpine/README.md /arch/* !/arch/PKGBUILD +!/arch/README.md *.apk *.xz diff --git a/Makefile b/Makefile index b239b57..6fd84b6 100644 --- a/Makefile +++ b/Makefile @@ -33,11 +33,14 @@ pkgclean: pkgsources: @for dir in alpine arch; do \ - for source in murx.c Makefile murx.1 README.md LICENSE AUTHORS; do \ + for source in murx.c Makefile murx.1 LICENSE AUTHORS; do \ if [ ! -e "$$dir/$$source" ] && [ ! -L "$$dir/$$source" ]; then \ ln -s "../$$source" "$$dir/$$source" || exit 1; \ fi; \ done; \ + if [ ! -e "$$dir/MURX-README.md" ] && [ ! -L "$$dir/MURX-README.md" ]; then \ + ln -s ../README.md "$$dir/MURX-README.md" || exit 1; \ + fi; \ done pkgalpine: pkgclean pkgsources diff --git a/README.md b/README.md index 3815001..18f9b44 100644 --- a/README.md +++ b/README.md @@ -445,83 +445,17 @@ that otherwise collapses pane grids to 1x1. ## Packages -The [Alpine recipe](alpine/APKBUILD) and [Arch recipe](arch/PKGBUILD) -build from the local checkout using symlinks to the source files. The package -version comes from `MURX_VERSION` in `murx.c`. Adjust the package release fields -separately as needed. Both recipes -build with the default C compiler and pass distro `CFLAGS` to `make`. The -packages install under `/usr`, including the manual, README, AUTHORS and -license. +- [Alpine Linux](alpine/README.md) +- [Arch Linux](arch/README.md) +- [Debian](debian/README.md) +- [Gentoo](gentoo/README.md) +- [FreeBSD](freebsd/README.md) +- [OpenBSD](openbsd/README.md) -On Alpine, install `alpine-sdk`, configure your abuild signing key with -`abuild-keygen -a -i`, and run as a regular user with abuild configured: - -```sh -make pkgalpine -``` - -Install the resulting `murx` package and its `murx-doc` subpackage for the -manual. abuild writes packages beneath its configured repository destination -(normally `~/packages`); use `apk add /path/to/package.apk` for each signed -package after trusting your local signing key. - -On Arch, install `base-devel` and run as a regular user: - -```sh -make pkgsources -cd arch -makepkg -si -``` - -This builds the package and installs it through pacman. To build from the -repository root, run `make pkgarch`. The recipe lists -`x86_64` and `aarch64`; builds run on the current architecture. - -For Gentoo, copy the [`app-misc/murx` package directory](gentoo/app-misc/murx) -into a configured local Portage overlay. The ebuild fetches the tagged release -archive and includes a Manifest with its checksums. It is keyworded `~amd64`; -accept that keyword for `app-misc/murx` if your system uses stable keywords. -Then install it with: - -```sh -emerge --ask app-misc/murx -``` - -For a new Gentoo release, copy the ebuild to the new versioned filename and -run `ebuild murx-VERSION.ebuild manifest` after publishing the matching tag. - -After changing a packaged source file, run `make pkgsums` to sync both package -versions and refresh both sets of checksums. This target requires `abuild` -and `updpkgsums` (from `pacman-contrib`). Neither recipe -requires a test suite; its check step runs `murx --help` as a smoke check. - -### Debian - -The [Debian packaging](debian/) builds from the local checkout. Install -`build-essential` and `debhelper`, then run: - -```sh -dpkg-buildpackage -b -us -uc -``` - -The resulting `murx_*.deb` is written to the parent directory. Install it -with `apt install ../murx_1.0.3-1_$(dpkg --print-architecture).deb`. - -### FreeBSD - -Copy the [`sysutils/murx` port](freebsd/sysutils/murx/) into a FreeBSD Ports -tree. From the port directory, run `make package` to fetch the tagged source, -verify its checksum, and build a package. Install the resulting package with -`pkg add`. To update the port for a new release, change `DISTVERSION` and run -`make makesum` after publishing the matching tag. - -### OpenBSD - -Copy the [`sysutils/murx` port](openbsd/sysutils/murx/) into an OpenBSD ports -tree. From the port directory, run `make package` to fetch and verify the -tagged source and build a package. Run `make install` to install it through -the ports tree. For a new release, update `DISTNAME` and run `make makesum` -after publishing the matching tag. +The Alpine and Arch recipes build from the local checkout. After changing +packaged source files, run `make pkgsums` to sync their versions with +`MURX_VERSION` in `murx.c` and refresh their checksums. This target requires +`abuild` and `updpkgsums` (from `pacman-contrib`). ## Authors diff --git a/alpine/APKBUILD b/alpine/APKBUILD index 5af209b..64b6f6a 100644 --- a/alpine/APKBUILD +++ b/alpine/APKBUILD @@ -7,7 +7,7 @@ url="https://codeberg.org/armin/murx" arch="all" license="Apache-2.0" subpackages="$pkgname-doc" -source="murx.c Makefile murx.1 README.md LICENSE AUTHORS" +source="murx.c Makefile murx.1 MURX-README.md LICENSE AUTHORS" builddir="$srcdir" build() { @@ -20,16 +20,16 @@ check() { package() { make DESTDIR="$pkgdir" PREFIX=/usr install - install -Dm644 README.md "$pkgdir/usr/share/doc/$pkgname/README.md" + install -Dm644 MURX-README.md "$pkgdir/usr/share/doc/$pkgname/README.md" install -Dm644 AUTHORS "$pkgdir/usr/share/doc/$pkgname/AUTHORS" install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" } sha512sums=" 68c0e952a57d03e5c2cc6a7451cca1687341c20620634617529b6dc84f0fcdc7cb49cbc662bfad5b1fe3229c082a61480813ed5c01a1994c1b2a8e34bd421e29 murx.c -10a353b8447ff969fa55c5445b61604471c5e7ca1e8e632e05c0f77cb01d876b9c0a260ddb1e5a9a6d880a47f725c22a1279ea8a8e38d3b08c384ded592dc837 Makefile +090b3755edac7de08fe7951f05808cb3f86f845a0a968b382c01f5c634a3ba82dbb8cd0a78d68409a2d3062608a668d40287fa7dd37953319abb31c6fdb812e1 Makefile 219082e6277ee8c226cdd61a5b17d4e3c6893adf04b2f59ea84a6b6421dbd5a6d0ff38b93d8dd8ae41ed037e77252058dacadd5ff1f0c36c7c1ff95503e1e7a8 murx.1 -6ef36f741587cd78f354e6cbe76f674a75964dc131ee218fabe39fa6c96cda80ce0d292030e76d871c4c4811e00b5074847364a1fd2b3bbde60831dae677fa80 README.md +ae46b4ffcca738c9692746c678cd969b4de709e5a5a5306214242eb17c15e04b827fcb692d099387a27cbdffb71b9d2853d4ddffeb01257c22a445140dde610a MURX-README.md 2fe33ba22c5f68e124904be594208f050be20f33d115f9a56f60cac93304102da32e6a7e78154e831d3704da7ca8bfefd7025e7b8901e65babcd83e7342f6382 LICENSE 4d32dba475e5f9818fcd008068b011cbae9fc4b8e29897c933775d6660f44a7992d08a1550320d83233af729a42b241ef1d182bf5983ef2f64deab76cab2260d AUTHORS " diff --git a/alpine/README.md b/alpine/README.md new file mode 100644 index 0000000..78adbd9 --- /dev/null +++ b/alpine/README.md @@ -0,0 +1,18 @@ +# Build the Alpine packages + +Install `alpine-sdk` and configure abuild for your regular user. Generate and +install a signing key with `abuild-keygen -a -i` if you need one. + +From the murx checkout root, run: + +```sh +make pkgalpine +``` + +The target prepares local sources for [APKBUILD](APKBUILD), refreshes their +checksums, and invokes `abuild -r`. The packages are written to abuild's +configured repository destination, typically `~/packages`. + +Install the resulting `murx` and `murx-doc` APKs with `apk add` and their +respective file paths. Trust your local signing key first. The `murx-doc` +subpackage contains the manual. diff --git a/arch/PKGBUILD b/arch/PKGBUILD index 7d8b141..2061302 100644 --- a/arch/PKGBUILD +++ b/arch/PKGBUILD @@ -7,11 +7,11 @@ arch=('x86_64' 'aarch64') url='https://codeberg.org/armin/murx' license=('Apache-2.0') depends=('glibc') -source=('murx.c' 'Makefile' 'murx.1' 'README.md' 'LICENSE' 'AUTHORS') +source=('murx.c' 'Makefile' 'murx.1' 'MURX-README.md' 'LICENSE' 'AUTHORS') sha256sums=('358d39eed410a9657ef811892288ef407fe8f17709cb1b4b5e0405635594b70d' - 'ee889dd531e7a3632032815a21ab26012a6ea882b50b56f86230bb3b9d9e5cad' + '7fee28fdd2016230d02cc7fee8a4cc759083d8dbe3d82b42a7353f883dd1774c' '953966bfdd0b49cb26c11220e1e2bf6b5862aaa1b2d0bf002cde9d276f0ae96b' - 'dc82161e37e6800fa14561bc261e7cc3b0ea2165de42601085353a92a6153f08' + 'e2056cacb32df2fd2e49990d0db5900e777128792a55f382565b5b50da160b94' '31c5556be4cdd9bf52bb55f18ead0c68a4f0e793c2c2dab0a2a2c6d92407d0d4' 'dbc8a4fc569d4cd7bcd45516ccc98c1396fce0682c262103069c8f5150538cdb') @@ -28,7 +28,7 @@ check() { package() { cd "$srcdir" make DESTDIR="$pkgdir" PREFIX=/usr install - install -Dm644 README.md "$pkgdir/usr/share/doc/$pkgname/README.md" + install -Dm644 MURX-README.md "$pkgdir/usr/share/doc/$pkgname/README.md" install -Dm644 AUTHORS "$pkgdir/usr/share/doc/$pkgname/AUTHORS" install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" } diff --git a/arch/README.md b/arch/README.md new file mode 100644 index 0000000..5b95891 --- /dev/null +++ b/arch/README.md @@ -0,0 +1,24 @@ +# Build the Arch Linux package + +Install `base-devel` and `pacman-contrib`. As a regular user, run this from +the murx checkout root: + +```sh +make pkgarch +``` + +The target prepares local sources for [PKGBUILD](PKGBUILD), updates their +checksums, and runs `makepkg`. The package is written to `arch/` unless you +configured a different `PKGDEST`. Install it with `pacman -U` and the package +path. + +To build and install in one step, run these commands from the checkout root: + +```sh +make pkgsources +cd arch +updpkgsums +makepkg -si +``` + +The recipe supports x86_64 and aarch64. diff --git a/debian/README.md b/debian/README.md new file mode 100644 index 0000000..f53dbb8 --- /dev/null +++ b/debian/README.md @@ -0,0 +1,13 @@ +# Build the Debian package + +Install `build-essential`, `dpkg-dev`, and `debhelper` with compatibility +level 13 available. From the murx checkout root, run: + +```sh +dpkg-buildpackage -b -us -uc +``` + +This builds an unsigned binary package from the checkout. Find its version +in the [Debian changelog](changelog). The `.deb` is written to the checkout's +parent directory. Install the package with `apt install` and the path to the +`.deb`. diff --git a/freebsd/README.md b/freebsd/README.md new file mode 100644 index 0000000..5b1280b --- /dev/null +++ b/freebsd/README.md @@ -0,0 +1,14 @@ +# Build the FreeBSD package + +Copy the [`sysutils/murx` port](sysutils/murx/) into the `sysutils` category +of a FreeBSD ports tree. From the copied port directory, run: + +```sh +make package +``` + +The ports framework fetches the tagged source archive, verifies its checksum, +and builds the package. Install the resulting package with `pkg add` and the package path. + +To package a new release, update `DISTVERSION` in the port Makefile and run +`make makesum` after publishing the matching tag. diff --git a/gentoo/README.md b/gentoo/README.md new file mode 100644 index 0000000..7efb414 --- /dev/null +++ b/gentoo/README.md @@ -0,0 +1,16 @@ +# Build the Gentoo package + +Copy the [`app-misc/murx` directory](app-misc/murx/) into a configured local +Portage overlay. Keep the ebuild and Manifest together. The ebuild fetches and +verifies the tagged release archive and builds it from source. + +On an amd64 system using stable keywords, add `app-misc/murx ~amd64` to +`/etc/portage/package.accept_keywords` or a file in that directory. Then run: + +```sh +emerge --ask app-misc/murx +``` + +To prepare a new package version, copy the ebuild to a filename with the new +version and run `ebuild murx-VERSION.ebuild manifest` from the package +directory after publishing the matching tag. diff --git a/openbsd/README.md b/openbsd/README.md new file mode 100644 index 0000000..3624791 --- /dev/null +++ b/openbsd/README.md @@ -0,0 +1,14 @@ +# Build the OpenBSD package + +Copy the [`sysutils/murx` port](sysutils/murx/) into the `sysutils` category +of a OpenBSD ports tree. From the copied port directory, run: + +```sh +make package +``` + +The ports framework fetches the tagged source archive, verifies its checksum, +and builds the package. Run `make install` from the port directory to install it through the ports tree. + +To package a new release, update `DISTNAME` in the port Makefile and run +`make makesum` after publishing the matching tag. From 79e4bcdd683f7b257a288ccc853185ec9c97ba86 Mon Sep 17 00:00:00 2001 From: hanez Date: Mon, 23 Nov 2026 13:06:31 +0100 Subject: [PATCH 9/9] Move OS packaging directories under os --- .gitignore | 29 ++++++++-------- Makefile | 34 ++++++++++++------- README.md | 12 +++---- {alpine => os/alpine}/APKBUILD | 4 +-- {alpine => os/alpine}/README.md | 0 {arch => os/arch}/PKGBUILD | 4 +-- {arch => os/arch}/README.md | 4 +-- {debian => os/debian}/README.md | 5 +-- {debian => os/debian}/changelog | 0 {debian => os/debian}/control | 0 {debian => os/debian}/copyright | 0 {debian => os/debian}/docs | 0 {debian => os/debian}/rules | 0 {debian => os/debian}/source/format | 0 {freebsd => os/freebsd}/README.md | 0 .../freebsd}/sysutils/murx/Makefile | 0 .../freebsd}/sysutils/murx/distinfo | 0 .../freebsd}/sysutils/murx/pkg-descr | 0 {gentoo => os/gentoo}/README.md | 0 {gentoo => os/gentoo}/app-misc/murx/Manifest | 0 .../gentoo}/app-misc/murx/murx-1.0.3.ebuild | 0 {openbsd => os/openbsd}/README.md | 0 .../openbsd}/sysutils/murx/Makefile | 0 .../openbsd}/sysutils/murx/distinfo | 0 .../openbsd}/sysutils/murx/pkg/DESCR | 0 .../openbsd}/sysutils/murx/pkg/PLIST | 0 26 files changed, 51 insertions(+), 41 deletions(-) rename {alpine => os/alpine}/APKBUILD (83%) rename {alpine => os/alpine}/README.md (100%) rename {arch => os/arch}/PKGBUILD (87%) rename {arch => os/arch}/README.md (84%) rename {debian => os/debian}/README.md (67%) rename {debian => os/debian}/changelog (100%) rename {debian => os/debian}/control (100%) rename {debian => os/debian}/copyright (100%) rename {debian => os/debian}/docs (100%) rename {debian => os/debian}/rules (100%) rename {debian => os/debian}/source/format (100%) rename {freebsd => os/freebsd}/README.md (100%) rename {freebsd => os/freebsd}/sysutils/murx/Makefile (100%) rename {freebsd => os/freebsd}/sysutils/murx/distinfo (100%) rename {freebsd => os/freebsd}/sysutils/murx/pkg-descr (100%) rename {gentoo => os/gentoo}/README.md (100%) rename {gentoo => os/gentoo}/app-misc/murx/Manifest (100%) rename {gentoo => os/gentoo}/app-misc/murx/murx-1.0.3.ebuild (100%) rename {openbsd => os/openbsd}/README.md (100%) rename {openbsd => os/openbsd}/sysutils/murx/Makefile (100%) rename {openbsd => os/openbsd}/sysutils/murx/distinfo (100%) rename {openbsd => os/openbsd}/sysutils/murx/pkg/DESCR (100%) rename {openbsd => os/openbsd}/sysutils/murx/pkg/PLIST (100%) diff --git a/.gitignore b/.gitignore index f88a524..e831ec5 100644 --- a/.gitignore +++ b/.gitignore @@ -4,12 +4,12 @@ src/ # Packages -/alpine/* -!/alpine/APKBUILD -!/alpine/README.md -/arch/* -!/arch/PKGBUILD -!/arch/README.md +/os/alpine/* +!/os/alpine/APKBUILD +!/os/alpine/README.md +/os/arch/* +!/os/arch/PKGBUILD +!/os/arch/README.md *.apk *.xz @@ -29,15 +29,16 @@ compile_commands.json .cache/ # Debian build outputs -/debian/.debhelper/ -/debian/debhelper-build-stamp -/debian/files -/debian/murx/ -/debian/*.debhelper.log -/debian/*.substvars +/debian +/os/debian/.debhelper/ +/os/debian/debhelper-build-stamp +/os/debian/files +/os/debian/murx/ +/os/debian/*.debhelper.log +/os/debian/*.substvars # FreeBSD port build outputs -/freebsd/sysutils/murx/work/ +/os/freebsd/sysutils/murx/work/ # OpenBSD port build outputs -/openbsd/sysutils/murx/w-*/ +/os/openbsd/sysutils/murx/w-*/ diff --git a/Makefile b/Makefile index 6fd84b6..6d29332 100644 --- a/Makefile +++ b/Makefile @@ -28,28 +28,36 @@ clean: rm -f murx pkgclean: - rm -f *.apk alpine/*.apk - rm -f *.xz arch/*.pkg.tar.* + rm -f *.apk os/alpine/*.apk + rm -f *.xz os/arch/*.pkg.tar.* pkgsources: - @for dir in alpine arch; do \ + @for dir in os/alpine os/arch; do \ for source in murx.c Makefile murx.1 LICENSE AUTHORS; do \ if [ ! -e "$$dir/$$source" ] && [ ! -L "$$dir/$$source" ]; then \ - ln -s "../$$source" "$$dir/$$source" || exit 1; \ + ln -s "../../$$source" "$$dir/$$source" || exit 1; \ fi; \ done; \ if [ ! -e "$$dir/MURX-README.md" ] && [ ! -L "$$dir/MURX-README.md" ]; then \ - ln -s ../README.md "$$dir/MURX-README.md" || exit 1; \ + ln -s ../../README.md "$$dir/MURX-README.md" || exit 1; \ fi; \ done pkgalpine: pkgclean pkgsources - cd alpine && abuild checksum - cd alpine && abuild -r + cd os/alpine && abuild checksum + cd os/alpine && abuild -r pkgarch: pkgclean pkgsources - cd arch && updpkgsums - cd arch && makepkg + cd os/arch && updpkgsums + cd os/arch && makepkg + +pkgdebian: + @if [ -e debian ] || [ -L debian ]; then \ + echo "debian already exists at the repository root" >&2; exit 1; \ + fi; \ + ln -s os/debian debian || exit 1; \ + trap 'unlink debian' 0; \ + dpkg-buildpackage -b -us -uc pkgsums: pkgsources @version=$$(sed -n 's/^#define MURX_VERSION "\([^"]*\)"$$/\1/p' murx.c); \ @@ -58,11 +66,11 @@ pkgsums: pkgsources fi; \ tmp=$$(mktemp .pkgsums.XXXXXX) || exit 1; \ trap 'rm -f "$$tmp"' 0; \ - for recipe in alpine/APKBUILD arch/PKGBUILD; do \ + for recipe in os/alpine/APKBUILD os/arch/PKGBUILD; do \ sed "s/^pkgver=.*/pkgver=$$version/" "$$recipe" > "$$tmp" && \ cat "$$tmp" > "$$recipe" || exit 1; \ done - cd alpine && abuild checksum - cd arch && updpkgsums + cd os/alpine && abuild checksum + cd os/arch && updpkgsums -.PHONY: all install uninstall clean pkgclean pkgsources pkgalpine pkgarch pkgsums +.PHONY: all install uninstall clean pkgclean pkgsources pkgalpine pkgarch pkgdebian pkgsums diff --git a/README.md b/README.md index 18f9b44..c81181f 100644 --- a/README.md +++ b/README.md @@ -445,12 +445,12 @@ that otherwise collapses pane grids to 1x1. ## Packages -- [Alpine Linux](alpine/README.md) -- [Arch Linux](arch/README.md) -- [Debian](debian/README.md) -- [Gentoo](gentoo/README.md) -- [FreeBSD](freebsd/README.md) -- [OpenBSD](openbsd/README.md) +- [Alpine Linux](os/alpine/README.md) +- [Arch Linux](os/arch/README.md) +- [Debian](os/debian/README.md) +- [Gentoo](os/gentoo/README.md) +- [FreeBSD](os/freebsd/README.md) +- [OpenBSD](os/openbsd/README.md) The Alpine and Arch recipes build from the local checkout. After changing packaged source files, run `make pkgsums` to sync their versions with diff --git a/alpine/APKBUILD b/os/alpine/APKBUILD similarity index 83% rename from alpine/APKBUILD rename to os/alpine/APKBUILD index 64b6f6a..9c329a8 100644 --- a/alpine/APKBUILD +++ b/os/alpine/APKBUILD @@ -27,9 +27,9 @@ package() { sha512sums=" 68c0e952a57d03e5c2cc6a7451cca1687341c20620634617529b6dc84f0fcdc7cb49cbc662bfad5b1fe3229c082a61480813ed5c01a1994c1b2a8e34bd421e29 murx.c -090b3755edac7de08fe7951f05808cb3f86f845a0a968b382c01f5c634a3ba82dbb8cd0a78d68409a2d3062608a668d40287fa7dd37953319abb31c6fdb812e1 Makefile +ac75bfe596fae665ba882a10f5d16551bdd02cd601b786364763ac74dbc651c386d3a464eb63e0344354b953611629135190633e3b8ff3a8ef0f0849d60a3f7b Makefile 219082e6277ee8c226cdd61a5b17d4e3c6893adf04b2f59ea84a6b6421dbd5a6d0ff38b93d8dd8ae41ed037e77252058dacadd5ff1f0c36c7c1ff95503e1e7a8 murx.1 -ae46b4ffcca738c9692746c678cd969b4de709e5a5a5306214242eb17c15e04b827fcb692d099387a27cbdffb71b9d2853d4ddffeb01257c22a445140dde610a MURX-README.md +1b98d82dc3c41c376827cfd3883ee8918f24e82eab138fbb0e62bc5c2b0ba9498eb3abe59dc96b3f3d67a20fbdb331ed113d1898297c4f3c904e6341364cfdc9 MURX-README.md 2fe33ba22c5f68e124904be594208f050be20f33d115f9a56f60cac93304102da32e6a7e78154e831d3704da7ca8bfefd7025e7b8901e65babcd83e7342f6382 LICENSE 4d32dba475e5f9818fcd008068b011cbae9fc4b8e29897c933775d6660f44a7992d08a1550320d83233af729a42b241ef1d182bf5983ef2f64deab76cab2260d AUTHORS " diff --git a/alpine/README.md b/os/alpine/README.md similarity index 100% rename from alpine/README.md rename to os/alpine/README.md diff --git a/arch/PKGBUILD b/os/arch/PKGBUILD similarity index 87% rename from arch/PKGBUILD rename to os/arch/PKGBUILD index 2061302..a036fb1 100644 --- a/arch/PKGBUILD +++ b/os/arch/PKGBUILD @@ -9,9 +9,9 @@ license=('Apache-2.0') depends=('glibc') source=('murx.c' 'Makefile' 'murx.1' 'MURX-README.md' 'LICENSE' 'AUTHORS') sha256sums=('358d39eed410a9657ef811892288ef407fe8f17709cb1b4b5e0405635594b70d' - '7fee28fdd2016230d02cc7fee8a4cc759083d8dbe3d82b42a7353f883dd1774c' + '78a9c19c212e8038422e1bb4bb96d9b25eb19ad1359489cd32edf9e1a76638b2' '953966bfdd0b49cb26c11220e1e2bf6b5862aaa1b2d0bf002cde9d276f0ae96b' - 'e2056cacb32df2fd2e49990d0db5900e777128792a55f382565b5b50da160b94' + '1a9c479723f74cdc3a2af6cf7a4ad52388681b11a5ba3f4cfb73d28af631e036' '31c5556be4cdd9bf52bb55f18ead0c68a4f0e793c2c2dab0a2a2c6d92407d0d4' 'dbc8a4fc569d4cd7bcd45516ccc98c1396fce0682c262103069c8f5150538cdb') diff --git a/arch/README.md b/os/arch/README.md similarity index 84% rename from arch/README.md rename to os/arch/README.md index 5b95891..b41eaed 100644 --- a/arch/README.md +++ b/os/arch/README.md @@ -8,7 +8,7 @@ make pkgarch ``` The target prepares local sources for [PKGBUILD](PKGBUILD), updates their -checksums, and runs `makepkg`. The package is written to `arch/` unless you +checksums, and runs `makepkg`. The package is written to `os/arch/` unless you configured a different `PKGDEST`. Install it with `pacman -U` and the package path. @@ -16,7 +16,7 @@ To build and install in one step, run these commands from the checkout root: ```sh make pkgsources -cd arch +cd os/arch updpkgsums makepkg -si ``` diff --git a/debian/README.md b/os/debian/README.md similarity index 67% rename from debian/README.md rename to os/debian/README.md index f53dbb8..142348b 100644 --- a/debian/README.md +++ b/os/debian/README.md @@ -4,10 +4,11 @@ Install `build-essential`, `dpkg-dev`, and `debhelper` with compatibility level 13 available. From the murx checkout root, run: ```sh -dpkg-buildpackage -b -us -uc +make pkgdebian ``` -This builds an unsigned binary package from the checkout. Find its version +The target temporarily links `os/debian` at the checkout root for +`dpkg-buildpackage` and builds an unsigned binary package. Find its version in the [Debian changelog](changelog). The `.deb` is written to the checkout's parent directory. Install the package with `apt install` and the path to the `.deb`. diff --git a/debian/changelog b/os/debian/changelog similarity index 100% rename from debian/changelog rename to os/debian/changelog diff --git a/debian/control b/os/debian/control similarity index 100% rename from debian/control rename to os/debian/control diff --git a/debian/copyright b/os/debian/copyright similarity index 100% rename from debian/copyright rename to os/debian/copyright diff --git a/debian/docs b/os/debian/docs similarity index 100% rename from debian/docs rename to os/debian/docs diff --git a/debian/rules b/os/debian/rules similarity index 100% rename from debian/rules rename to os/debian/rules diff --git a/debian/source/format b/os/debian/source/format similarity index 100% rename from debian/source/format rename to os/debian/source/format diff --git a/freebsd/README.md b/os/freebsd/README.md similarity index 100% rename from freebsd/README.md rename to os/freebsd/README.md diff --git a/freebsd/sysutils/murx/Makefile b/os/freebsd/sysutils/murx/Makefile similarity index 100% rename from freebsd/sysutils/murx/Makefile rename to os/freebsd/sysutils/murx/Makefile diff --git a/freebsd/sysutils/murx/distinfo b/os/freebsd/sysutils/murx/distinfo similarity index 100% rename from freebsd/sysutils/murx/distinfo rename to os/freebsd/sysutils/murx/distinfo diff --git a/freebsd/sysutils/murx/pkg-descr b/os/freebsd/sysutils/murx/pkg-descr similarity index 100% rename from freebsd/sysutils/murx/pkg-descr rename to os/freebsd/sysutils/murx/pkg-descr diff --git a/gentoo/README.md b/os/gentoo/README.md similarity index 100% rename from gentoo/README.md rename to os/gentoo/README.md diff --git a/gentoo/app-misc/murx/Manifest b/os/gentoo/app-misc/murx/Manifest similarity index 100% rename from gentoo/app-misc/murx/Manifest rename to os/gentoo/app-misc/murx/Manifest diff --git a/gentoo/app-misc/murx/murx-1.0.3.ebuild b/os/gentoo/app-misc/murx/murx-1.0.3.ebuild similarity index 100% rename from gentoo/app-misc/murx/murx-1.0.3.ebuild rename to os/gentoo/app-misc/murx/murx-1.0.3.ebuild diff --git a/openbsd/README.md b/os/openbsd/README.md similarity index 100% rename from openbsd/README.md rename to os/openbsd/README.md diff --git a/openbsd/sysutils/murx/Makefile b/os/openbsd/sysutils/murx/Makefile similarity index 100% rename from openbsd/sysutils/murx/Makefile rename to os/openbsd/sysutils/murx/Makefile diff --git a/openbsd/sysutils/murx/distinfo b/os/openbsd/sysutils/murx/distinfo similarity index 100% rename from openbsd/sysutils/murx/distinfo rename to os/openbsd/sysutils/murx/distinfo diff --git a/openbsd/sysutils/murx/pkg/DESCR b/os/openbsd/sysutils/murx/pkg/DESCR similarity index 100% rename from openbsd/sysutils/murx/pkg/DESCR rename to os/openbsd/sysutils/murx/pkg/DESCR diff --git a/openbsd/sysutils/murx/pkg/PLIST b/os/openbsd/sysutils/murx/pkg/PLIST similarity index 100% rename from openbsd/sysutils/murx/pkg/PLIST rename to os/openbsd/sysutils/murx/pkg/PLIST