apk-tools: update to 2.12.0.

This commit is contained in:
Leah Neukirchen 2020-10-11 18:51:37 +02:00
parent cc3216e0a8
commit f1302c52b3
2 changed files with 8 additions and 28 deletions

View file

@ -1,21 +0,0 @@
--- src/archive.c.orig 2018-10-19 14:12:08.563391676 +0200
+++ src/archive.c 2018-10-19 14:12:34.374508920 +0200
@@ -24,6 +24,7 @@
#include <limits.h>
#include <stdint.h>
#include <stdlib.h>
+#include <sys/sysmacros.h>
#include "apk_defines.h"
#include "apk_print.h"
--- src/database.c.orig 2018-10-19 14:13:54.465872730 +0200
+++ src/database.c 2018-10-19 14:14:11.279949108 +0200
@@ -28,6 +28,7 @@
#include <sys/mount.h>
#include <sys/statvfs.h>
#include <linux/magic.h>
+#include <sys/sysmacros.h>
#include "apk_defines.h"
#include "apk_package.h"

View file

@ -1,19 +1,20 @@
# Template file for 'apk-tools'
pkgname=apk-tools
version=2.10.5
revision=2
version=2.12.0
revision=1
build_style=gnu-makefile
make_build_args="LUAAPK="
hostmakedepends="pkg-config"
makedepends="libressl-devel zlib-devel lua52-devel"
# Link libapk statically
make_build_args="LUAAPK=no LDFLAGS_apk.static= static"
hostmakedepends="pkg-config lua53 lua53-zlib"
makedepends="libressl-devel zlib-devel"
short_desc="Alpine Package Keeper (Alpine package manager)"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="GPL-2.0-only"
homepage="http://git.alpinelinux.org/cgit/apk-tools"
distfiles="http://git.alpinelinux.org/cgit/${pkgname}/snapshot/${pkgname}-${version}.tar.bz2"
checksum=d0de1793ff56d4a311841cf4f13a51bb1cc1c0a259d8748c1e633f8f11c6f965
checksum=763ed44a5b33f8cf6054b9ad6de53c355a37dcdf954024bbc59b953c675b78c6
CFLAGS="-Wno-error"
do_install() {
vbin src/apk
vbin src/apk.static apk
}