mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-05-04 10:38:26 +02:00
testing/snapper: upgrade to 0.11.0
This commit is contained in:
parent
05600af4cc
commit
dc7f93f395
3 changed files with 22 additions and 10 deletions
|
@ -1,8 +1,8 @@
|
|||
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
|
||||
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
|
||||
pkgname=snapper
|
||||
pkgver=0.10.7
|
||||
pkgrel=1
|
||||
pkgver=0.11.0
|
||||
pkgrel=0
|
||||
pkgdesc="Manage filesystem snapshots and allow undo of system modifications"
|
||||
url="http://snapper.io"
|
||||
arch="all"
|
||||
|
@ -35,6 +35,7 @@ subpackages="
|
|||
"
|
||||
source="$pkgname-$pkgver.tar.gz::https://github.com/openSUSE/snapper/archive/v$pkgver.tar.gz
|
||||
miss-tinfo-link-to-ncurses.patch
|
||||
miss-uint-includes.patch
|
||||
drift-file-path.patch
|
||||
skip-locale-tests.patch
|
||||
statvfs64.patch
|
||||
|
@ -48,7 +49,6 @@ prepare() {
|
|||
# copy cron scripts to /etc/periodic/* instead of /etc/cron.*
|
||||
sed -i -e 's/cron\./periodic\//g' scripts/Makefile.am
|
||||
# fix config location in cron scripts
|
||||
sed -i -e 's@/etc/sysconfig/@/etc/snapper/@g' scripts/snapper-daily
|
||||
sed -i -e 's@/etc/sysconfig/@/etc/snapper/@g' scripts/snapper-hourly
|
||||
autoreconf -fvi
|
||||
}
|
||||
|
@ -79,8 +79,9 @@ package() {
|
|||
}
|
||||
|
||||
sha512sums="
|
||||
bf098c941735b60554ff0711fa43b30ef3634e01178f5ee8ad44c65b757c3366bd5bf568cef3a787b2ddcc2fc63090056109250480e6bd360ebf27a8343373b8 snapper-0.10.7.tar.gz
|
||||
3d264f7f9156342d5bad2ac78db9c8a30ea1ac25648245631a47d1495bb6610c6b39c28a5013741063df3c08f459388c0467caaedde5ad7cebb433eb432b7a70 miss-tinfo-link-to-ncurses.patch
|
||||
fe86be4ceb1439b5be3fa61f5bc037bc51a5fe47451d0698851f83e2783d6c245ef8d40a33f79b03e8d1d8b63433743c35938ad7dca0747e0e1f650a5a766c40 snapper-0.11.0.tar.gz
|
||||
9f03cf2de78407e2b1002f6b9fd644cbe61ef0762c938afcedd620456b8a97e593df3df8f878f06d2caf4297e5125c9be86ea5e43ce9991634bb59cbf3b2831e miss-tinfo-link-to-ncurses.patch
|
||||
1a451aca0d94e95995c4ee373b915f5f78bcd17df12370e5e1ed77022be9e98e836e4fa142f81242f67d6ace5444fb89e8eaacd5740c62c051b37017c93c078c miss-uint-includes.patch
|
||||
c2470da8a5d62a37babdacd361051bae8fb3e1be157cb7eec1563a40825d41702f6f10bb619ffcab2ea8d7407405a543b0c47997c70a744c20cc3135c0532c1f drift-file-path.patch
|
||||
16f9991b0688c959977876e39e8ed9214627d3b3eacdf01a8aaef9540fc8add7d7c4f50abc4225183495acb161a4c6e5f6ee3790bf685fc845a6782647269a53 skip-locale-tests.patch
|
||||
dc77db919fc4bd64929e784d09c4a6ed50530b6a88b3a26f4ea341f09e71dbd74e07d1e9fea37f85305d0f251a5c302e1dbb700084d04a16dc2e7687ecc83815 statvfs64.patch
|
||||
|
|
|
@ -1,11 +1,10 @@
|
|||
diff --git a/client/utils/Makefile.am b/client/utils/Makefile.am
|
||||
index c55fc4a..21aeaae 100644
|
||||
index e6a9968..aeeea5a 100644
|
||||
--- a/client/utils/Makefile.am
|
||||
+++ b/client/utils/Makefile.am
|
||||
@@ -18,5 +18,5 @@ libutils_la_SOURCES = \
|
||||
CsvFormatter.cc CsvFormatter.h \
|
||||
JsonFormatter.cc JsonFormatter.h
|
||||
@@ -20,4 +20,4 @@ libutils_la_SOURCES = \
|
||||
CsvFormatter.cc CsvFormatter.h \
|
||||
JsonFormatter.cc JsonFormatter.h
|
||||
|
||||
-libutils_la_LIBADD = ../../snapper/libsnapper.la -ltinfo
|
||||
+libutils_la_LIBADD = ../../snapper/libsnapper.la -lncurses
|
||||
|
||||
|
|
12
testing/snapper/miss-uint-includes.patch
Normal file
12
testing/snapper/miss-uint-includes.patch
Normal file
|
@ -0,0 +1,12 @@
|
|||
diff --git a/snapper/BcachefsUtils.cc b/snapper/BcachefsUtils.cc
|
||||
index e9163ff..4a510d5 100644
|
||||
--- a/snapper/BcachefsUtils.cc
|
||||
+++ b/snapper/BcachefsUtils.cc
|
||||
@@ -22,6 +22,7 @@
|
||||
|
||||
#include "config.h"
|
||||
|
||||
+#include <asm/types.h>
|
||||
#include <cstring>
|
||||
#include <cerrno>
|
||||
#include <sys/stat.h>
|
Loading…
Add table
Add a link
Reference in a new issue