switchyard
LOW
maintainer wooptoo
1 votes
scanned 2026-08-25 13:26:42.022164
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: Radu Potop <radu at wooptoo dot com>
2
3
pkgname=switchyard
4
pkgver=0.1.0
5
pkgrel=1
6
pkgdesc='A lightweight bridge that accepts email over SMTP and forwards each message to XMPP'
7
arch=('x86_64')
8
license=('Custom: SEGV License')
9
url='https://tty.fail/mrus/switchyard'
10
source=("git+${url}.git#tag=v$pkgver")
11
makedepends=('git' 'go')
12
options=(!lto)
13
sha256sums=('61502f7b086fee9824f2d7a9cc22fd30c79c95f4478ae0b9991a001c86b2ed8d')
14
15
prepare() {
16
cd "$pkgname"
17
make test
18
}
19
20
build() {
21
cd "$pkgname"
22
export CGO_CPPFLAGS="${CPPFLAGS}"
23
export CGO_CFLAGS="${CFLAGS}"
24
export CGO_CXXFLAGS="${CXXFLAGS}"
25
export CGO_LDFLAGS="${LDFLAGS}"
26
make build
27
}
28
29
package() {
30
cd "$pkgname"
31
install -Dm755 "build/${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
32
install -Dm644 README.md "${pkgdir}/usr/share/doc/${pkgname}/README.md"
33
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
34
}
35
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-08-25 13:26:42 | Low | 1 |