1
0
Fork 0
forked from murx/murx

Add Debian packaging and FreeBSD port

This commit is contained in:
Johannes Findeisen 2026-11-23 12:43:41 +01:00
commit 4854ebea27
13 changed files with 118 additions and 3 deletions

11
.gitignore vendored
View file

@ -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/

View file

@ -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.

View file

@ -29,7 +29,7 @@ sha512sums="
68c0e952a57d03e5c2cc6a7451cca1687341c20620634617529b6dc84f0fcdc7cb49cbc662bfad5b1fe3229c082a61480813ed5c01a1994c1b2a8e34bd421e29 murx.c
10a353b8447ff969fa55c5445b61604471c5e7ca1e8e632e05c0f77cb01d876b9c0a260ddb1e5a9a6d880a47f725c22a1279ea8a8e38d3b08c384ded592dc837 Makefile
219082e6277ee8c226cdd61a5b17d4e3c6893adf04b2f59ea84a6b6421dbd5a6d0ff38b93d8dd8ae41ed037e77252058dacadd5ff1f0c36c7c1ff95503e1e7a8 murx.1
7284e0a57c11cd7b6cbc1569b95974bc87a81018d6184b6decc2b9c2b6d005cca1a407a48141687d2f2bba83c72f57e159ccd9d0c8be00e2846437c1b49a0d39 README.md
2aab5c7ea1160bde6b7963709ed7d34d983ed57be681167fddc2e08532066145021f170774d665524a989a2433d5373d3d257bd61deacfeaae71a74047a72424 README.md
2fe33ba22c5f68e124904be594208f050be20f33d115f9a56f60cac93304102da32e6a7e78154e831d3704da7ca8bfefd7025e7b8901e65babcd83e7342f6382 LICENSE
4d32dba475e5f9818fcd008068b011cbae9fc4b8e29897c933775d6660f44a7992d08a1550320d83233af729a42b241ef1d182bf5983ef2f64deab76cab2260d AUTHORS
"

View file

@ -11,7 +11,7 @@ source=('murx.c' 'Makefile' 'murx.1' 'README.md' 'LICENSE' 'AUTHORS')
sha256sums=('358d39eed410a9657ef811892288ef407fe8f17709cb1b4b5e0405635594b70d'
'ee889dd531e7a3632032815a21ab26012a6ea882b50b56f86230bb3b9d9e5cad'
'953966bfdd0b49cb26c11220e1e2bf6b5862aaa1b2d0bf002cde9d276f0ae96b'
'0f28defaaa7b03fd24dc87aa53a1f3c1a9ea86ec27c7e3c688248220285879b1'
'5aff6a9acb8b73d0d014d6ac31a9130d348e3107ea8ae2272611f2956eef8190'
'31c5556be4cdd9bf52bb55f18ead0c68a4f0e793c2c2dab0a2a2c6d92407d0d4'
'dbc8a4fc569d4cd7bcd45516ccc98c1396fce0682c262103069c8f5150538cdb')

5
debian/changelog vendored Normal file
View file

@ -0,0 +1,5 @@
murx (1.0.3-1) unstable; urgency=medium
* Add Debian packaging for murx 1.0.3.
-- Johannes Findeisen <you@hanez.org> Mon, 23 Nov 2026 12:00:00 +0100

16
debian/control vendored Normal file
View file

@ -0,0 +1,16 @@
Source: murx
Section: utils
Priority: optional
Maintainer: Johannes Findeisen <you@hanez.org>
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.

15
debian/copyright vendored Normal file
View file

@ -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.

3
debian/docs vendored Normal file
View file

@ -0,0 +1,3 @@
README.md
AUTHORS
RELEASES.md

10
debian/rules vendored Executable file
View file

@ -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

1
debian/source/format vendored Normal file
View file

@ -0,0 +1 @@
3.0 (quilt)

View file

@ -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 <bsd.port.mk>

View file

@ -0,0 +1,3 @@
TIMESTAMP = 1795431600
SHA256 (murx-1.0.3.tar.gz) = b1b291e715fe02e3a95047d9ef16f35a00f8d92127d20b87e5690eac4ec910c3
SIZE (murx-1.0.3.tar.gz) = 564342

View file

@ -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.