libobjfwhid

maintainer Midar · 3 votes · base objfw · scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged The source is a tarball from the project's official domain (objfw.nil.im), which is plausibly the project's own infrastructure; building from source is normal AUR packaging behavior, and the checksum is verified.

Triggered rules

LOW AI review downgraded a static finding llm_review

The static rules flagged this MEDIUM, but an AI model (qwen/qwen3-235b-a22b-07-25) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The source is a tarball from the project's official domain (objfw.nil.im), which is plausibly the project's own infrastructure; building from source is normal AUR packaging behavior, and the checksum is verified.

1 higher static finding superseded - not the current verdict (shown for transparency)
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:13 source=("https://objfw.nil.im/downloads/$pkgbase-$pkgver.tar.gz")

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Jonathan Schleifer <js@nil.im>
2pkgname=('libobjfw' 'libobjfwrt' 'libobjfwtls' 'libobjfwhid' 'ofarc' 'ofdns'
3 'ofgctester' 'ofhash' 'ofhttp')
4pkgbase=objfw
5pkgver=1.5.7
6pkgrel=1
7pkgdesc="Portable, lightweight framework for the Objective-C language"
8arch=('x86_64')
9url="https://objfw.nil.im/"
10license=('LGPL3')
11groups=(objfw)
12makedepends=(clang)
13source=("https://objfw.nil.im/downloads/$pkgbase-$pkgver.tar.gz")
14sha256sums=(e637c32731dc07396b812c4019f34d1417a3f7aa39d450b7f27c9bcdc23b3e12)
15
16build() {
17 cd "$pkgbase-$pkgver"
18 ./configure OBJC=clang --prefix=/usr --with-tls=openssl
19 make -j$(nproc)
20}
21
22check() {
23 cd "$pkgbase-$pkgver"
24 make check
25}
26
27package_libobjfw() {
28 pkgdesc="ObjFW library"
29 depends=(glibc gcc-libs libobjfwrt bash)
30
31 cd "$pkgbase-$pkgver"
32 make DESTDIR="$pkgdir/" install
33
34 for i in COPYING COPYING.LESSER; do
35 install -D -m 644 "$i" "$pkgdir/usr/share/licenses/$pkgname/$i"
36 done
37
38 # Those are in subpackages
39 rm -f "$pkgdir/usr/bin/ofarc"
40 rm -f "$pkgdir/usr/bin/ofdns"
41 rm -f "$pkgdir/usr/bin/ofgctester"
42 rm -f "$pkgdir/usr/bin/ofhash"
43 rm -f "$pkgdir/usr/bin/ofhttp"
44 rm -fr "$pkgdir/usr/include/ObjFWHID"
45 rm -fr "$pkgdir/usr/include/ObjFWRT"
46 rm -fr "$pkgdir/usr/include/ObjFWTLS"
47 rm -f "$pkgdir/usr/lib/libobjfwhid.so"*
48 rm -f "$pkgdir/usr/lib/libobjfwrt.so"*
49 rm -f "$pkgdir/usr/lib/libobjfwtls.so"*
50 rm -f "$pkgdir/usr/lib/objfw-config/ObjFWHID.oc"
51 rm -f "$pkgdir/usr/lib/objfw-config/ObjFWTLS.oc"
52 rm -f "$pkgdir/usr/share/man/man1/ofarc.1"
53 rm -f "$pkgdir/usr/share/man/man1/ofdns.1"
54 rm -f "$pkgdir/usr/share/man/man1/ofgctester.1"
55 rm -f "$pkgdir/usr/share/man/man1/ofhash.1"
56 rm -f "$pkgdir/usr/share/man/man1/ofhttp.1"
57 rm -fr "$pkgdir/usr/share/ofarc"
58 rm -fr "$pkgdir/usr/share/ofdns"
59 rm -fr "$pkgdir/usr/share/ofhash"
60 rm -fr "$pkgdir/usr/share/ofhttp"
61}
62
63package_libobjfwrt() {
64 pkgdesc="ObjFW Objective-C runtime library"
65 depends=(glibc gcc-libs)
66
67 cd "$pkgbase-$pkgver"
68 make -C src/runtime DESTDIR="$pkgdir/" install
69
70 for i in COPYING COPYING.LESSER; do
71 install -D -m 644 "$i" "$pkgdir/usr/share/licenses/$pkgname/$i"
72 done
73}
74
75package_libobjfwtls() {
76 pkgdesc="TLS support for ObjFW"
77 depends=(glibc gcc-libs libobjfw libobjfwrt openssl)
78
79 cd "$pkgbase-$pkgver"
80 make -C src/tls DESTDIR="$pkgdir/" install
81
82 for i in COPYING COPYING.LESSER; do
83 install -D -m 644 "$i" "$pkgdir/usr/share/licenses/$pkgname/$i"
84 done
85}
86
87package_libobjfwhid() {
88 pkgdesc="HID support for ObjFW"
89 depends=(glibc gcc-libs libobjfw libobjfwrt)
90
91 cd "$pkgbase-$pkgver"
92 make -C src/hid DESTDIR="$pkgdir/" install
93
94 for i in COPYING COPYING.LESSER; do
95 install -D -m 644 "$i" "$pkgdir/usr/share/licenses/$pkgname/$i"
96 done
97}
98
99package_ofarc() {
100 pkgdesc="Utility for handling ZIP, Tar, LHA and Zoo archives"
101 depends=(glibc gcc-libs libobjfw libobjfwrt libobjfwtls)
102
103 cd "$pkgbase-$pkgver"
104 make -C utils/ofarc DESTDIR="$pkgdir/" install
105
106 for i in COPYING COPYING.LESSER; do
107 install -D -m 644 "$i" "$pkgdir/usr/share/licenses/$pkgname/$i"
108 done
109}
110
111package_ofdns() {
112 pkgdesc="Utility for performing DNS requests on the command line"
113 depends=(glibc gcc-libs libobjfw libobjfwrt)
114
115 cd "$pkgbase-$pkgver"
116 make -C utils/ofdns DESTDIR="$pkgdir/" install
117
118 for i in COPYING COPYING.LESSER; do
119 install -D -m 644 "$i" "$pkgdir/usr/share/licenses/$pkgname/$i"
120 done
121}
122
123package_ofgctester() {
124 pkgdesc="Game controller tester for the terminal"
125 depends=(glibc gcc-libs libobjfw libobjfwrt libobjfwhid)
126
127 cd "$pkgbase-$pkgver"
128 make -C utils/ofgctester DESTDIR="$pkgdir/" install
129
130 for i in COPYING COPYING.LESSER; do
131 install -D -m 644 "$i" "$pkgdir/usr/share/licenses/$pkgname/$i"
132 done
133}
134
135package_ofhash() {
136 pkgdesc="Utility to hash files with various cryptographic hash functions"
137 depends=(glibc gcc-libs libobjfw libobjfwrt libobjfwtls)
138
139 cd "$pkgbase-$pkgver"
140 make -C utils/ofhash DESTDIR="$pkgdir/" install
141
142 for i in COPYING COPYING.LESSER; do
143 install -D -m 644 "$i" "$pkgdir/usr/share/licenses/$pkgname/$i"
144 done
145}
146
147package_ofhttp() {
148 pkgdesc="Command line downloader for HTTP(S)"
149 depends=(glibc gcc-libs libobjfw libobjfwrt libobjfwtls)
150
151 cd "$pkgbase-$pkgver"
152 make -C utils/ofhttp DESTDIR="$pkgdir/" install
153
154 for i in COPYING COPYING.LESSER; do
155 install -D -m 644 "$i" "$pkgdir/usr/share/licenses/$pkgname/$i"
156 done
157}
158

Scan history

Scanned at (UTC)SeverityRules
2026-08-03 00:08:14 LOW 2
2026-08-02 00:16:08 LOW 2
2026-08-01 00:11:18 LOW 2
2026-07-31 00:14:10 LOW 2
2026-07-30 00:17:23 LOW 2
2026-07-29 00:25:53 LOW 2
2026-07-28 00:07:28 LOW 2
2026-07-27 00:24:32 LOW 2
2026-07-26 00:07:32 LOW 2
2026-07-25 00:13:44 LOW 2
2026-07-24 00:02:28 LOW 2
2026-07-23 00:14:47 LOW 2
2026-07-22 00:29:32 LOW 2
2026-07-21 00:24:15 LOW 2
2026-07-20 00:19:49 LOW 2
2026-07-19 00:17:08 LOW 2
2026-07-18 00:14:48 LOW 2
2026-07-17 00:06:16 LOW 2
2026-07-16 00:05:41 LOW 2
2026-07-15 00:09:25 LOW 2

Report a package

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

0 / 4000
Your suggestion