minicom-ble

LOW
maintainer hockinglee 0 votes scanned 2026-10-06 08:02:16.298752
View on AUR
Why flagged

Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.

Triggered rules

Low Few votes, recently uploaded zero_votes_recent

Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.

PKGBUILD

1# Maintainer: Hocking Lee <hockinglee@gmail.com>
2# Based on the Arch Linux minicom package:
3# Contributor: Morten Linderud <foxboron@archlinux.org>
4# Contributor: Giovanni Scafora <giovanni@archlinux.org>
5# Contributor: dorphell <dorphell@archlinux.org>
6# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
7# Contributor: Denis Tikhomirov <dvtikhomirov@gmail.com>
8
9_pkgname=minicom
10pkgname=minicom-ble
11pkgver=2.11.1
12pkgrel=2
13pkgdesc='minicom with a BLE serial mode (GATT write/notify characteristics via BlueZ), plus UI hang fixes'
14arch=('x86_64')
15url='https://salsa.debian.org/minicom-team/minicom'
16license=('GPL-2.0-or-later')
17depends=(
18 'bash'
19 'glibc'
20 'ncurses' 'libncursesw.so'
21 'systemd-libs' 'libsystemd.so')
22optdepends=('lrzsz: for xmodem, ymodem and zmodem file transfer protocols'
23 'bluez: for the BLE serial mode (minicom --ble)')
24provides=("${_pkgname}=${pkgver}")
25conflicts=("${_pkgname}" 'minicom-hangfix')
26replaces=('minicom-hangfix')
27backup=('etc/minirc.dfl')
28source=("${_pkgname}-${pkgver}.tar.gz::https://salsa.debian.org/minicom-team/minicom/-/archive/${pkgver}/minicom-${pkgver}.tar.gz"
29 '0001-minicom-2.9-lrzsz-rename.patch'
30 '0002-dial-Fix-use-of-check_io_frontend.patch'
31 '0003-window-Consider-that-wcwidth-can-return-1-on-invalid.patch'
32 '0004-window-Clamp-cwidth-of-_write-to-1.patch'
33 '0005-window-Always-advance-at-least-one-cell-when-redrawi.patch'
34 '0006-Show-the-port-in-the-terminal-window-title.patch'
35 '0007-Add-BLE-serial-mode.patch'
36 '0008-Default-the-logfile-to-tmp-minicom.log.patch'
37 '0009-ble-Receive-notifications-through-AcquireNotify.patch'
38 '0010-ble-Keep-a-shared-link-up-when-exiting.patch')
39sha256sums=('b296b0e5795ca143fb1ffa78f46fd294daddfccd720faf9909a842d2f70c564e'
40 '4b00e97cadeb51e2cacba7114d2572dbe671b00f0f6695df96aa0ea0dab68c15'
41 '329d949e938aa519948ad66c0b680d3af0fbbed8fd392c7fe4dad254fafab804'
42 '9210031ead31058cfa73c3b09687b8e05d933a9a3b70fe215ff9b38c1dce87f8'
43 '958f44b3377e76d1ec08b29c4d87a4cfdb274d2467a3bf3b0b706a8e98db0382'
44 '35570693f8b6f046aba87701c55b0984fe3fc198eb1be22bdcd934f0c5cdce34'
45 'cbc77159409ba42d5bfcae3aaefad67d7a402b2fcd0ff2b7bf000838037c5584'
46 '8a83ea0d1185ba6adecab95d786d7bc1fa4c0ceeff72d3bf9d1f9108e76e0b59'
47 'a945ed38bce24c1d02ed06456d26457358cccea4d5f97f1221b8a03a16fe2fad'
48 'b45ed635ac2678155ad48e3ad59ebb849b7326f9d72b06cb3413f499434cee17'
49 '8e6d7fd3a9dafc04c1a76f9b0c74ede8fd8ccd3db816629eb7f4c12aae332ec9')
50
51prepare() {
52 cd "${_pkgname}-${pkgver}"
53
54 patch -Np1 -i ../0001-minicom-2.9-lrzsz-rename.patch
55 patch -Np1 -i ../0002-dial-Fix-use-of-check_io_frontend.patch
56 patch -Np1 -i ../0003-window-Consider-that-wcwidth-can-return-1-on-invalid.patch
57 # Upstream 155279d: control chars (e.g. XON) in the screen map made
58 # mc_wclose() spin forever, freezing the UI (Ctrl-A Q dead, kill -9).
59 patch -Np1 -i ../0004-window-Clamp-cwidth-of-_write-to-1.patch
60 # Same hang for wcwidth() == 0 chars (e.g. U+200B), not yet upstream.
61 patch -Np1 -i ../0005-window-Always-advance-at-least-one-cell-when-redrawi.patch
62 # Show "minicom: <port>" in the terminal title; VTE >= 0.78 clears the
63 # shell-set title on the DECSTR minicom sends at startup.
64 patch -Np1 -i ../0006-Show-the-port-in-the-terminal-window-title.patch
65 # BLE serial mode: minicom --ble talks to a GATT write/notify
66 # characteristic pair (e.g. Nordic UART Service) via BlueZ.
67 patch -Np1 -i ../0007-Add-BLE-serial-mode.patch
68 # Default logfile is /tmp/minicom.log instead of ~/minicom.log.
69 patch -Np1 -i ../0008-Default-the-logfile-to-tmp-minicom.log.patch
70 # BLE: subscribe with AcquireNotify; with StartNotify two minicoms on
71 # one characteristic each got every notification twice.
72 patch -Np1 -i ../0009-ble-Receive-notifications-through-AcquireNotify.patch
73 # BLE: on exit, don't drop a link another program still uses.
74 patch -Np1 -i ../0010-ble-Keep-a-shared-link-up-when-exiting.patch
75
76 # 0007 and 0008 touch configure.ac and src/Makefile.am
77 autoreconf -fi
78}
79
80build() {
81 cd "${_pkgname}-${pkgver}"
82
83 ./configure \
84 --prefix=/usr \
85 --sysconfdir=/etc \
86 --enable-ble
87 make
88}
89
90package() {
91 cd "${_pkgname}-${pkgver}"
92
93 make DESTDIR="${pkgdir}/" install
94 install -Dm644 doc/minirc.dfl ${pkgdir}/etc/minirc.dfl
95}
96

Changes since previous scan

--- PKGBUILD @ 2026-10-06 00:13
+++ PKGBUILD @ 2026-10-06 08:02
@@ -9,7 +9,7 @@
_pkgname=minicom
pkgname=minicom-ble
pkgver=2.11.1
-pkgrel=1
+pkgrel=2
pkgdesc='minicom with a BLE serial mode (GATT write/notify characteristics via BlueZ), plus UI hang fixes'
arch=('x86_64')
url='https://salsa.debian.org/minicom-team/minicom'
@@ -34,7 +34,8 @@
'0006-Show-the-port-in-the-terminal-window-title.patch'
'0007-Add-BLE-serial-mode.patch'
'0008-Default-the-logfile-to-tmp-minicom.log.patch'
- '0009-ble-Receive-notifications-through-AcquireNotify.patch')
+ '0009-ble-Receive-notifications-through-AcquireNotify.patch'
+ '0010-ble-Keep-a-shared-link-up-when-exiting.patch')
sha256sums=('b296b0e5795ca143fb1ffa78f46fd294daddfccd720faf9909a842d2f70c564e'
'4b00e97cadeb51e2cacba7114d2572dbe671b00f0f6695df96aa0ea0dab68c15'
'329d949e938aa519948ad66c0b680d3af0fbbed8fd392c7fe4dad254fafab804'
@@ -44,7 +45,8 @@
'cbc77159409ba42d5bfcae3aaefad67d7a402b2fcd0ff2b7bf000838037c5584'
'8a83ea0d1185ba6adecab95d786d7bc1fa4c0ceeff72d3bf9d1f9108e76e0b59'
'a945ed38bce24c1d02ed06456d26457358cccea4d5f97f1221b8a03a16fe2fad'
- 'b45ed635ac2678155ad48e3ad59ebb849b7326f9d72b06cb3413f499434cee17')
+ 'b45ed635ac2678155ad48e3ad59ebb849b7326f9d72b06cb3413f499434cee17'
+ '8e6d7fd3a9dafc04c1a76f9b0c74ede8fd8ccd3db816629eb7f4c12aae332ec9')
prepare() {
cd "${_pkgname}-${pkgver}"
@@ -68,6 +70,8 @@
# BLE: subscribe with AcquireNotify; with StartNotify two minicoms on
# one characteristic each got every notification twice.
patch -Np1 -i ../0009-ble-Receive-notifications-through-AcquireNotify.patch
+ # BLE: on exit, don't drop a link another program still uses.
+ patch -Np1 -i ../0010-ble-Keep-a-shared-link-up-when-exiting.patch
# 0007 and 0008 touch configure.ac and src/Makefile.am
autoreconf -fi

Scan history

Scanned at (UTC)SeverityRules
2026-10-06 08:02:16 Low 1
2026-10-06 00:13:36 Clean 2
2026-10-05 23:40:58 Low 1

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion