community/lxc to 5.0.2-1

This commit is contained in:
Kevin Mihelich 2023-01-21 21:14:20 +00:00
parent 3e2cba2b1f
commit 4306f1c0c4

View file

@ -10,8 +10,8 @@
pkgname=lxc
epoch=1
pkgver=5.0.1
pkgrel=2
pkgver=5.0.2
pkgrel=1
pkgdesc="Linux Containers"
arch=('x86_64')
url="https://linuxcontainers.org"
@ -22,23 +22,17 @@ optdepends=('dnsmasq: lxc-net.service'
'lua-filesystem: lxc-top'
'lua-alt-getopt: lxc-top')
license=('LGPL')
options=('emptydirs' 'debug')
options=('emptydirs')
backup=('etc/lxc/default.conf'
'etc/default/lxc')
validpgpkeys=('602F567663E593BCBD14F338C638974D64792D67')
source=("https://linuxcontainers.org/downloads/lxc/$pkgname-${pkgver}.tar.gz"{,.asc}
"$pkgname-glibc-2.36-part1.patch::https://github.com/lxc/lxc/commit/c1115e1503bf.patch"
"$pkgname-glibc-2.36-part2.patch::https://github.com/lxc/lxc/commit/ef1e0607b82e.patch"
"$pkgname-glibc-2.36-part3.patch::https://github.com/lxc/lxc/commit/cbabe8abf11e.patch"
"https://patch-diff.githubusercontent.com/raw/lxc/lxc/pull/4187.patch"
"lxc.tmpfiles.d"
"lxc.service"
"lxc-auto.service")
sha256sums=('d8195423bb1e206f8521d24b6cde4789f043960c7cf065990a9cf741dcfd4222'
sha256sums=('bea08d2e49efcee34fa58acd2bc95c0adc64d291c07f4cfaf4ac1d8ac5a36f45'
'SKIP'
'bc2b4476dff49a2c34e4053d043a0adc9411a1694a49497e0be119b09b24fc58'
'e6136b56515739b20e8be6837393168eb8033e763681daee0f2bfd248fad1ec4'
'9cdd52333cb394cef30af529e7dfd3c80aa59a9259144ca288dc875a59e41130'
'cd66dee51d8f693c45d24e7bf01e237c55fc2855c04ad06f3ca18b969320d720'
'10e4f661872f773bf3122a2f9f2cb13344fea86a4ab72beecb4213be4325c479'
'bbe7e0447bc3bf5f75f312c34d647f5218024731628a5e8633b1ea1801ebe16b'
@ -49,11 +43,6 @@ prepare() {
cd "$pkgname-${pkgver/_/-}"
sed -i "s|if sanitize == 'none'|if false|g" src/lxc/cmd/meson.build
# https://github.com/lxc/lxc/issues/4176
patch -Np1 -i ../$pkgname-glibc-2.36-part1.patch
patch -Np1 -i ../$pkgname-glibc-2.36-part2.patch
patch -Np1 -i ../$pkgname-glibc-2.36-part3.patch
patch -p1 -i ../4187.patch
}