cockpit-file-sharing
MEDIUM
maintainer Elrondo46
10 votes
scanned 2026-09-06 13:11:32.219503
Why flagged
This package was orphaned and re-adopted within the last 30 days — a window where ownership transfers can introduce malicious changes.
Triggered rules
Medium
Recently orphaned & re-adopted
orphaned_readopted
This package was orphaned and re-adopted within the last 30 days — a window where ownership transfers can introduce malicious changes.
PKGBUILD
1
# Maintainer: Michael (https://aur.archlinux.org/account/michael_wzq)
2
# Contributor: noideaman (https://aur.archlinux.org/account/noideaman)
3
# Contributor: Bradley O'Connell <bradleyocon@gmail.com>
4
# Contributor: Brodi <me@brodi.space>
5
# shellcheck disable=SC2034,SC2154
6
7
_plugin=file-sharing
8
_pkgrel=2
9
pkgname="cockpit-${_plugin}"
10
pkgver="4.5.7"
11
pkgrel=1
12
pkgdesc="A Cockpit plugin to easily manage samba and NFS file sharing."
13
arch=("any")
14
url="https://github.com/45Drives/cockpit-file-sharing"
15
license=("GPL-3.0-only")
16
depends=("cockpit" "python")
17
optdepends=("samba" "nfs-utils")
18
makedepends=(
19
"git"
20
"jq"
21
"make"
22
"moreutils"
23
"yarn"
24
)
25
provides=("$pkgname")
26
#source=("${url}/archive/refs/tags/v${pkgver}-${_pkgrel}.tar.gz")
27
source=(
28
"git+https://github.com/45Drives/cockpit-file-sharing.git#commit=b76244460397de627ce8f39d5d2bebcb2a9e83e6"
29
"git+https://github.com/45Drives/houston-common.git#commit=5322e0d91305fe9ebb2413e8913dfda120e1da5a"
30
)
31
b2sums=('fcb6de4a7c1d25a2abb79f0fbe34512d3e6b048885666bbcaf99d38e450cfd072fef3029abdd09c577f029a51be239d72c26719cd9d7524754c1544f5a97609d'
32
'2dd753b7d8e676c6fe2ab948f161415708027f0c2095e552f9bc006e51bee2f8f29db8c5928b941b883d69194a3a2b44b9ef33b146f6985486e8b857c8de91e8')
33
34
prepare() {
35
cd "$pkgname" || exit 1
36
git submodule init
37
git config submodule.houston-common.url "$srcdir/houston-common"
38
git -c protocol.file.allow=always submodule update
39
}
40
41
build() {
42
cd "$srcdir/$pkgname" || exit 1
43
make DESTDIR="$pkgdir/"
44
}
45
46
package() {
47
cd "$srcdir/$pkgname" || exit 1
48
make DESTDIR="$pkgdir/" install RESTART_COCKPIT=1
49
}
50
51
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-06 13:11:32 | Medium | 1 |
| 2026-06-18 16:11:54 | Clean | 0 |