versitygw

LOW
maintainer agony4001 0 votes scanned 2026-11-04 12:07:05.127509
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: agony <27015 at riseup dot net>
2
3pkgname=versitygw
4pkgver=1.10.0
5pkgrel=1
6pkgdesc='S3 object storage server for a filesystem'
7arch=('x86_64' 'aarch64')
8url='https://github.com/versity/versitygw'
9license=('Apache-2.0')
10depends=('glibc' 'bash')
11makedepends=('go')
12backup=('etc/versitygw.d/example.conf'
13 'etc/versitygw.d/example-iam.conf')
14source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/refs/tags/v${pkgver}.tar.gz")
15sha256sums=('2412650615032f002f67fdc83e03e33f36298f8cfeeff9755c3f61c0df0b4fb8')
16
17prepare() {
18 cd "${pkgname}-${pkgver}"
19 export GOPATH="${srcdir}/gopath"
20 go mod download -x -modcacherw
21}
22
23build() {
24 cd "${pkgname}-${pkgver}"
25 export GOPATH="${srcdir}/gopath"
26 export CGO_CPPFLAGS="${CPPFLAGS}"
27 export CGO_CFLAGS="${CFLAGS}"
28 export CGO_CXXFLAGS="${CXXFLAGS}"
29 export CGO_LDFLAGS="${LDFLAGS}"
30 export GOFLAGS='-buildmode=pie -trimpath -buildvcs=false -mod=readonly -modcacherw'
31 go build -v -ldflags="-linkmode=external -X main.Version=${pkgver}" -o versitygw ./cmd/versitygw
32}
33
34check() {
35 cd "${pkgname}-${pkgver}"
36 export GOPATH="${srcdir}/gopath"
37 export GOFLAGS='-buildvcs=false -mod=readonly -modcacherw'
38 # TestIntegration listens on the fixed port 127.0.0.1:7070,
39 # IPv6_loopback fails on hosts without ::1 on lo
40 go test -skip '^TestIntegration$|^TestNewMultiAddrListener$/^IPv6_loopback$' ./...
41}
42
43package() {
44 cd "${pkgname}-${pkgver}"
45 install -Dm755 versitygw -t "${pkgdir}/usr/bin"
46 install -Dm644 extra/versitygw@.service -t "${pkgdir}/usr/lib/systemd/system"
47 install -dm700 "${pkgdir}/etc/versitygw.d"
48 install -m644 extra/example.conf extra/example-iam.conf -t "${pkgdir}/etc/versitygw.d"
49 install -Dm644 extra/versitygw.sh "${pkgdir}/usr/share/bash-completion/completions/versitygw"
50 install -Dm644 extra/versitygw.zsh "${pkgdir}/usr/share/zsh/site-functions/_versitygw"
51 install -Dm644 extra/versitygw.fish -t "${pkgdir}/usr/share/fish/vendor_completions.d"
52 install -Dm644 NOTICE -t "${pkgdir}/usr/share/licenses/${pkgname}"
53}
54

Scan history

Scanned at (UTC)SeverityRules
2026-11-04 12:07:05 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