mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-19 05:36:38 +02:00
75 lines
3.6 KiB
Text
75 lines
3.6 KiB
Text
# Contributor: Carlo Landmeter <clandmeter@alpinelinux.org>
|
|
# Maintainer: Carlo Landmeter <clandmeter@alpinelinux.org>
|
|
pkgname=lxc-templates-legacy
|
|
pkgver=3.0.4
|
|
pkgrel=0
|
|
pkgdesc="Legacy LXC container templates"
|
|
url="https://linuxcontainers.org"
|
|
arch="noarch"
|
|
license="LGPL-2.1-or-later"
|
|
depends="bash tar"
|
|
subpackages="$pkgname-alpine"
|
|
source="https://linuxcontainers.org/downloads/lxc/lxc-templates-$pkgver.tar.gz
|
|
0001-Update-alpine-keys-URI-fix-package-verification.patch
|
|
0002-Fix-alpine-template.patch
|
|
0003-lxc-alpine-variable-for-apk.static-path.patch
|
|
0004-lxc-alpine-more-specific-SHA1-sig-file-match.patch
|
|
0005-lxc-alpine-remove-unverified-apk.static.patch
|
|
0006-lxc-alpine-use-SHA256-signature-if-available.patch
|
|
0007-alpine-fix-arch-and-enable-mips64-and-s390x.patch
|
|
0008-alpine-use-https-repository-by-default.patch
|
|
0009-alpine-add-riscv64-key.patch
|
|
0010-alpine-only-create-missing-device-node.patch
|
|
0011-alpine-add-loongarch64-key.patch
|
|
"
|
|
builddir="$srcdir/lxc-templates-$pkgver"
|
|
|
|
prepare() {
|
|
default_prepare
|
|
update_config_sub
|
|
}
|
|
|
|
build() {
|
|
./configure \
|
|
--build=$CBUILD \
|
|
--host=$CHOST \
|
|
--prefix=/usr \
|
|
--sysconfdir=/etc \
|
|
--mandir=/usr/share/man \
|
|
--localstatedir=/var
|
|
make
|
|
}
|
|
|
|
check() {
|
|
make check
|
|
}
|
|
|
|
package() {
|
|
make DESTDIR="$pkgdir" install
|
|
}
|
|
|
|
alpine() {
|
|
pkgdesc="$pkgdesc (for Alpine)"
|
|
depends=
|
|
mkdir -p "$subpkgdir"/usr/share/lxc/templates \
|
|
"$subpkgdir"/usr/share/lxc/config
|
|
local i; for i in templates/lxc-alpine config/alpine.userns.conf \
|
|
config/alpine.common.conf; do
|
|
mv $pkgdir/usr/share/lxc/$i "$subpkgdir"/usr/share/lxc/${i%/*}/
|
|
done
|
|
}
|
|
|
|
sha512sums="
|
|
e5b628b40e7108fca858dbd9ae92495016069ff3cba7feb34e9559c7f61dfc36944a9ef441369952a988e821f8b5d883ae97b81f6eef0683a22f1f702b5b913e lxc-templates-3.0.4.tar.gz
|
|
057df78d3ba2620ef0dc27d2fde2a27e0c7580748b8631d57c67d8496e174abe687988b6de1dec890fce45029093afe55611eec3097654d10b831181f0c01b30 0001-Update-alpine-keys-URI-fix-package-verification.patch
|
|
bf4b319706eb06bc9e207feae3d2b6215d6497b2b4479d5f50056df1df06b8edf44c13f53a54308b9fde1346cdb64796aa8824dd9272fb6deb011e38fb8e2ee6 0002-Fix-alpine-template.patch
|
|
fe22ea41f0f863cb548cd9fe30a3bbdcb45625c1774a1d2d8ef6ad30bbf914faa293c6eb4798be15750f6b13afb3f5bd6a070d3854658ee7f9082b6d36875341 0003-lxc-alpine-variable-for-apk.static-path.patch
|
|
a8b290da18302c82554dc4f2cd095569a06cebce2cab8e6f27c08f8a5a572dc6558a90751faa7b9837dd2ba964e5528c5040043cc6dfa6d149e5bb2a47b3c045 0004-lxc-alpine-more-specific-SHA1-sig-file-match.patch
|
|
b9ae7ea6ea602a544335e1060209986b1e7cf5dd15d3bc6fa96caa0fbbd3a23370fb7e7f599e5e388d59f93a3c72c5160242300b53de3f3d7fc0ad7290daf4f5 0005-lxc-alpine-remove-unverified-apk.static.patch
|
|
551289685341d2f776ccd7911368596b8229fb1ebff3ca32e05c5c3a95a1b8dce5f40c42f7b53b68781da234ef33c66e4624524f4115d22b6a11c5c5ab136338 0006-lxc-alpine-use-SHA256-signature-if-available.patch
|
|
e33605d5f8c1236b56b5846c71f20907fd07e3c8a1db148c890b3458d147cae91f94a6322ed589bb5455d249f9ff3c76a28b9368cf0d597308413b1adfff8183 0007-alpine-fix-arch-and-enable-mips64-and-s390x.patch
|
|
f1940a02054f85e4bbfced9898d0252019033c1267d05ce76ced7ad3cd63c1eaab9043c92649e501464458f76f4912d1674394405d5ae495f8dfbea256ea6bfd 0008-alpine-use-https-repository-by-default.patch
|
|
e65c017fbdc174c6c901efb1ff5dcfc1bc2608ed24535a41e1a06ed176b9c94f7a611168ff091bb93c7a28f1a5c555ef2fe3f5c12eef9ff91de6664b3c535e94 0009-alpine-add-riscv64-key.patch
|
|
9af0f943ea874b5d0644f7f466b01a611230912211b508974d45fc8badd7f0b2fd1a7deb083332d632a81fb9fb1a36d19c3a917b01620baf57a782f90ed24e05 0010-alpine-only-create-missing-device-node.patch
|
|
1803d400196b8cab0b93cc9a5b462cb0d4f47b02886d485b8c6b7e8d2e0a3dde46ba4f60aec204d50d2b76ecfdf50fb88f2a3d40016fc756c0c95a0e9e30c2cb 0011-alpine-add-loongarch64-key.patch
|
|
"
|