mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-06-07 21:04:46 +02:00
go: downloading github.com/OpenPrinting/goipp v1.1.0 --- FAIL: TestTCPClientUIDIp4 (0.00s) tcpuid_test.go:32: lo: tcpuid_test.go:34: 127.0.0.1/8 tcpuid_test.go:34: ::1/128 tcpuid_test.go:32: gre0: tcpuid_test.go:32: gretap0: tcpuid_test.go:32: erspan0: tcpuid_test.go:32: eth0: tcpuid_test.go:34: 172.16.31.5/24 tcpuid_test.go:34: fe80::216:3eff:fe75:ba5d/64 tcpuid_test.go:94: TCPClientUID("127.0.0.1:54184","127.0.0.1:38367"): NLMSG_ERROR: no such file or directory --- FAIL: TestTCPClientUIDIp6 (0.00s) tcpuid_test.go:32: lo: tcpuid_test.go:34: 127.0.0.1/8 tcpuid_test.go:34: ::1/128 tcpuid_test.go:32: gre0: tcpuid_test.go:32: gretap0: tcpuid_test.go:32: erspan0: tcpuid_test.go:32: eth0: tcpuid_test.go:34: 172.16.31.5/24 tcpuid_test.go:34: fe80::216:3eff:fe75:ba5d/64 tcpuid_test.go:94: TCPClientUID("[::1]:33676","[::1]:41877"): NLMSG_ERROR: no such file or directory FAIL FAIL github.com/OpenPrinting/ipp-usb 0.010s FAIL >>> ERROR: ipp-usb: check failed
52 lines
1.5 KiB
Text
52 lines
1.5 KiB
Text
# Contributor: Angelo Verlain <hey@vixalien.com>
|
|
# Contributor: Sertonix <sertonix@posteo.net>
|
|
maintainer="Angelo Verlain <hey@vixalien.com>"
|
|
pkgname=ipp-usb
|
|
pkgver=0.9.30
|
|
pkgrel=0
|
|
pkgdesc="HTTP reverse proxy, backed by IPP-over-USB connection to device"
|
|
url="https://github.com/OpenPrinting/ipp-usb"
|
|
arch="all"
|
|
license="BSD-2-Clause"
|
|
makedepends="
|
|
avahi-dev
|
|
go
|
|
libusb-dev
|
|
"
|
|
subpackages="$pkgname-doc $pkgname-openrc"
|
|
options="net"
|
|
source="
|
|
https://github.com/OpenPrinting/ipp-usb/archive/refs/tags/$pkgver/ipp-usb-$pkgver.tar.gz
|
|
ipp-usb.initd
|
|
"
|
|
|
|
export GOCACHE="${GOCACHE:-"$srcdir/go-cache"}"
|
|
export GOTMPDIR="${GOTMPDIR:-"$srcdir"}"
|
|
export GOMODCACHE="${GOMODCACHE:-"$srcdir/go"}"
|
|
|
|
case "$CARCH" in
|
|
# tests failinng on build-edge-x86
|
|
x86) options="$options !check" ;;
|
|
esac
|
|
|
|
build() {
|
|
go build -tags nethttpomithttp2
|
|
}
|
|
|
|
check() {
|
|
go test ./...
|
|
}
|
|
|
|
package() {
|
|
install -D -m755 -t "$pkgdir"/usr/sbin/ ipp-usb
|
|
install -D -m644 -t "$pkgdir"/usr/lib/udev/rules.d/ systemd-udev/*.rules
|
|
install -D -m644 -t "$pkgdir"/etc/ipp-usb/ ipp-usb.conf
|
|
install -D -m644 -t "$pkgdir"/usr/share/man/man8/ ./*.8
|
|
install -D -m644 -t "$pkgdir"/usr/share/ipp-usb/quirks/ ipp-usb-quirks/*
|
|
install -D -m755 "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname
|
|
}
|
|
|
|
sha512sums="
|
|
32694ac23e5707817017e43f1732ad204af530a0dc766dea956d868389b2653bf9ca10b3e7c4dd723553fc9dad1f792627ae933fb08eb6a66b532fe6a0643ad2 ipp-usb-0.9.30.tar.gz
|
|
46b66cd698ad1dcc54ffc2dba64fd4b395085d5caeb1abfa00b68a2884edae1afd4826065bbde8a032644c39f9710f12cd81e11730d0aef56b87f6767d1c0bbc ipp-usb.initd
|
|
"
|