1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-12 18:59:50 +03:00

testing/tayga: update origin and version

This commit is contained in:
Andrew Palardy 2025-06-19 11:17:48 -04:00 committed by Celeste
parent a6da3df5ca
commit b143ed4126
2 changed files with 15 additions and 30 deletions

View file

@ -1,35 +1,32 @@
# Contributor: Anjandev Momi <anjan@momi.ca>
# Maintainer: Anjandev Momi <anjan@momi.ca>
# Maintainer: Andrew palardy <andrew@apalrd.net>
maintainer="Andrew palardy <andrew@apalrd.net>"
pkgname=tayga
pkgver=0.9.2
pkgver=0.9.5
pkgrel=0
pkgdesc="NAT64 daemon"
url="http://www.litech.org/tayga/"
url="https://github.com/apalrd/tayga/"
arch="all"
license="GPL-2.0-only"
makedepends="linux-headers"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.bz2::http://www.litech.org/tayga/tayga-$pkgver.tar.bz2
implicit-function-decl.patch
"
options="!check" # no tests
source="$pkgname-$pkgver.tar.gz::https://github.com/apalrd/tayga/archive/refs/tags/$pkgver.tar.gz"
options="!check" # no tests a future release will run the test suite
build() {
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc/tayga \
--mandir=/usr/share/man \
--localstatedir=/var
make
make RELEASE="$pkgver"
}
package() {
make DESTDIR="$pkgdir" install
# In the future, the makefile will do this
local sbindir="/usr/sbin"
local mandir="/usr/share/man"
install -Dm 755 tayga -t "$pkgdir$sbindir"/
install -Dm 644 tayga.8 -t "$pkgdir$mandir"/man8/
install -Dm 644 tayga.conf.5 -t "$pkgdir$mandir"/man5/
}
sha512sums="
a7a81cccb7c3e32f00f142b1bac598b732dd748772b307561239d695418ada5302182d487e51d1cf95ed736c0180c01db2f33409d0b9343d6587b76cbb3bc573 tayga-0.9.2.tar.bz2
06a62211b2dfc42b170964afe347a3df7cc50764da1ce626149e622023acec87f99b0ec8e17f094eff85fec51107cb7212c258da2a787b94c18812a848cd79b3 implicit-function-decl.patch
a2ece7fbaf650550ce3d3606d55a165b98174ce097128eff086d78a5da516cd4a12a7ca8eef8d0eb2181cc52dfa1c880c56fb1a49a99bc857d00e6bdfd4d48c7 tayga-0.9.5.tar.gz
"

View file

@ -1,12 +0,0 @@
diff --git a/tayga.h b/tayga.h
index 2284d2a..a999d7c 100644
--- a/tayga.h
+++ b/tayga.h
@@ -31,6 +31,7 @@
#include <syslog.h>
#include <errno.h>
#include <time.h>
+#include <sys/uio.h>
#include <linux/if.h>
#include <linux/if_tun.h>
#include <linux/if_ether.h>