compsize-git
MEDIUM
maintainer ilovemikael
5 votes
scanned 2026-09-13 19:15:06.142757
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: Timofey Titovets <nefelim4ag@gmail.com>
2
3
pkgname=compsize-git
4
pkgver=v1.2.r0.g7b91a8be5d0b
5
pkgrel=1
6
pkgdesc="Btrfs: find compression type/ratio on a file or set of files"
7
arch=('any')
8
url="https://github.com/kilobyte/compsize"
9
license=('GPL2')
10
makedepends=('gcc' 'git')
11
source=("$pkgname"::'git://github.com/kilobyte/compsize.git#branch=master')
12
conflicts=('compsize')
13
md5sums=('SKIP')
14
15
pkgver() {
16
cd "$pkgname"
17
( set -o pipefail
18
git describe --long 2>/dev/null | sed 's/\([^-]*-g\)/r\1/;s/-/./g' ||
19
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
20
)
21
}
22
23
build(){
24
cd "$srcdir/${pkgname}/"
25
make
26
gzip -9 compsize.8
27
}
28
29
package() {
30
cd "${srcdir}/${pkgname}/"
31
install -Dm755 \
32
"./compsize" \
33
"${pkgdir}/usr/bin/compsize"
34
install -Dm755 \
35
"./compsize.8.gz" \
36
"${pkgdir}/usr/share/man/man8/compsize.8.gz"
37
}
38
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-13 19:15:06 | Medium | 1 |
| 2026-06-18 16:11:54 | Clean | 0 |