at-link-console-bin

MEDIUM
maintainer taotieren 0 votes scanned 2026-08-28 03:33:56.563888
View on AUR
Why flagged

One or more source=() URLs point to a host outside the trusted allowlist (github.com, gitlab.com, codeberg.org, pypi.org, …).

Triggered rules

Medium source=() URL on a non-standard host source_untrusted_domain

One or more source=() URLs point to a host outside the trusted allowlist (github.com, gitlab.com, codeberg.org, pypi.org, …).

  • PKGBUILD:35 source=("${_pkg_file_name}::https://www.arterytek.com/download/Program%20and%20Debug/Artery_ATLINK_Console_Linux-${arch}_V${pkgver}.zip")

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: taotieren <admin@taotieren.com>
2
3pkgname=at-link-console-bin
4pkgver=3.0.20
5pkgrel=3
6pkgdesc="Artery AT LINK Console 是一款基于 MCU Bootloader 的命令行应用程序。支持AT32 MCU「在电路编程」Console工具"
7arch=('x86_64')
8url="https://www.arterytek.com/cn/support/tools.jsp"
9license=('LicenseRef-Commercial')
10provides=(${pkgname%-bin} AT-LINK_Console)
11conflicts=(${pkgname%-bin})
12replaces=()
13depends=(
14 sh
15 libgcc_s.so
16 libstdc++.so
17 libusb
18 qt5-base
19)
20makedepends=('unzip')
21optdepends=(
22 'artery-isp-console'
23 'at32-bootloader-doc'
24 'at32-ide'
25 'at32-ide-project-generate'
26 'at32-new-clock-configuration'
27 'at32-work-bench'
28 'at32-openocd'
29 'jlink-software-and-documentation: Segger JLink software & documentation pack for Linux'
30)
31backup=()
32options=('!strip' '!debug' '!lto')
33install=${pkgname}.install
34_pkg_file_name=Artery_ATLINK_Console_V${pkgver}.zip
35source=("${_pkg_file_name}::https://www.arterytek.com/download/Program%20and%20Debug/Artery_ATLINK_Console_Linux-${arch}_V${pkgver}.zip")
36sha256sums=('2dd3f319ce6aa823fbe98ef2e1019289402ba9f1ee1e077ec32d073e06fe0074')
37noextract=(${_pkg_file_name})
38
39package() {
40 unzip -O gbk -o "${srcdir}"/${_pkg_file_name} -d "${srcdir}"
41
42 cd "${srcdir}"
43
44 install -dm0755 "${pkgdir}/opt/artery32/${pkgname%-bin}/" \
45 "${pkgdir}/usr/lib/"
46
47 cp -rv Document "${pkgdir}/opt/artery32/${pkgname%-bin}/Document"
48
49 # cd ${_pkg_file_name%_V${pkgver}.zip}_Linux-${arch}_V${pkgver}/
50 # 上游错误,下一版更新需要删除,改用上面的
51 cd ${_pkg_file_name%_V${pkgver}.zip}_Linux-${arch}_V${pkgver/10/09}/
52 install -Dm0755 ATLink_Console "${pkgdir}/opt/artery32/${pkgname%-bin}/ATLink_Console"
53 install -Dm0644 libATLINKLIB.so.1.0.0 "${pkgdir}/usr/lib/libATLINKLIB.so.1.0.0"
54 install -Dm0644 ATLink_Console.sh "${pkgdir}/opt/artery32/${pkgname%-bin}/ATLink_Console.sh.template"
55 install -Dm0644 download.sh "${pkgdir}/opt/artery32/${pkgname%-bin}/download.sh.template"
56
57 cd "${pkgdir}/usr/lib/"
58 for lib in lib*; do
59 ln -sf /usr/lib/"$lib" "${pkgdir}/usr/lib/${lib%.0.0}"
60 ln -sf /usr/lib/"$lib" "${pkgdir}/usr/lib/${lib%.1.0.0}"
61 done
62
63 # install -Dm0644 /dev/stdin "${pkgdir}/usr/lib/udev/rules.d/49-artery32-udev.rules" << EOF
64 # # Copy this file to /etc/udev/rules.d/
65 # # If rules fail to reload automatically, you can refresh udev rules
66 # # with the command "udevadm control --reload"
67 #
68 # ACTION!="add|change", GOTO="artery32_udev_rules_end"
69 #
70 # SUBSYSTEM=="gpio", MODE="0660", TAG+="uaccess"
71 #
72 # SUBSYSTEM!="usb|tty|hidraw", GOTO="artery32_udev_rules_end"
73 #
74 # # Artery tek
75 # ATTRS{idVendor}=="2e3c", ATTRS{idProduct}=="f000", MODE="660", TAG+="uaccess"
76 # ATTRS{idVendor}=="2e3c", ATTRS{idProduct}=="df11", MODE="660", TAG+="uaccess"
77 #
78 # # If you share your linux system with other users, or just don't like the
79 # # idea of write permission for everybody, you can replace MODE:="0666" with
80 # # OWNER:="yourusername" to create the device owned by you, or with
81 # # GROUP:="somegroupname" and mange access using standard unix groups.
82 #
83 # LABEL="artery32_udev_rules_end"
84 # EOF
85
86 install -Dm0755 /dev/stdin "${pkgdir}/usr/bin/${pkgname%-bin}" <<EOF
87#!/bin/bash
88/opt/artery32/${pkgname%-bin}/ATLink_Console "\$@"
89EOF
90
91}
92

Changes since previous scan

--- PKGBUILD @ 2026-06-19 19:07
+++ PKGBUILD @ 2026-08-28 03:33
@@ -2,7 +2,7 @@
pkgname=at-link-console-bin
pkgver=3.0.20
-pkgrel=1
+pkgrel=3
pkgdesc="Artery AT LINK Console 是一款基于 MCU Bootloader 的命令行应用程序。支持AT32 MCU「在电路编程」Console工具"
arch=('x86_64')
url="https://www.arterytek.com/cn/support/tools.jsp"
@@ -11,18 +11,23 @@
conflicts=(${pkgname%-bin})
replaces=()
depends=(
- bash
- gcc-libs
- glibc
+ sh
+ libgcc_s.so
+ libstdc++.so
libusb
- qt5-base)
+ qt5-base
+)
makedepends=('unzip')
-optdepends=('artery-isp-console-bin: Artery ISP Console 是一款基于 MCU Bootloader 的命令行应用程序。使用该应用程序,用户可以通过 UART 端口或者 USB 端口配置操作 Artery 的 MCU 设备。'
- 'at32-ide-bin: AT32 IDE 是个跨平台 ARM 嵌入式系统的软件开发环境。 它包含一系列的 Eclipse 插件和工具。该插件可让用户在 AT32 IDE 开发环境下创建、建置和调试 AT32
-MCU。'
- 'at32-ide-project-generate: AT32 IDE 是个跨平台 ARM 嵌入式系统的软件开发环境。 它包含一系列的 Eclipse 插件和工具。该插件可让用户在 AT32 IDE 开发环境下创建、建置和调试 AT32 MCU。'
- 'at32-work-bench: AT32 MCU 图形化配置软件,生成初始化 C 代码(目前仅支持 AT32F421 系列)'
- 'jlink-software-and-documentation: Segger JLink software & documentation pack for Linux')
+optdepends=(
+ 'artery-isp-console'
+ 'at32-bootloader-doc'
+ 'at32-ide'
+ 'at32-ide-project-generate'
+ 'at32-new-clock-configuration'
+ 'at32-work-bench'
+ 'at32-openocd'
+ 'jlink-software-and-documentation: Segger JLink software & documentation pack for Linux'
+)
backup=()
options=('!strip' '!debug' '!lto')
install=${pkgname}.install

Scan history

Scanned at (UTC)SeverityRules
2026-08-28 03:33:56 Medium 1
2026-06-19 19:07:35 Clean 2
2026-06-18 18:55:24 Clean 2
2026-06-18 16:11:54 Medium 1

Report a package

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

0 / 4000
Your suggestion