Date: Thursday, March 30, 2023 @ 22:40:31
Author: dvzrv
Revision: 1431352
archrelease: copy trunk to community-x86_64
Added:
cri-o/repos/community-x86_64/PKGBUILD
(from rev 1431351, cri-o/trunk/PKGBUILD)
cri-o/repos/community-x86_64/cri-o.install
(from rev 1431351, cri-o/trunk/cri-o.install)
cri-o/repos/community-x86_64/modules-cri-o.conf
(from rev 1431351, cri-o/trunk/modules-cri-o.conf)
cri-o/repos/community-x86_64/sysctl-cri-o.conf
(from rev 1431351, cri-o/trunk/sysctl-cri-o.conf)
Deleted:
cri-o/repos/community-x86_64/PKGBUILD
cri-o/repos/community-x86_64/cri-o.install
cri-o/repos/community-x86_64/modules-cri-o.conf
cri-o/repos/community-x86_64/sysctl-cri-o.conf
--------------------+
PKGBUILD | 201 +++++++++++++++++++++++++--------------------------
cri-o.install | 16 ++--
modules-cri-o.conf | 4 -
sysctl-cri-o.conf | 6 -
4 files changed, 114 insertions(+), 113 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2023-03-30 22:40:14 UTC (rev 1431351)
+++ PKGBUILD 2023-03-30 22:40:31 UTC (rev 1431352)
@@ -1,100 +0,0 @@
-# Maintainer: David Runge <[email protected]>
-# Maintainer: Morten Linderud <[email protected]>
-# Contributor: Tony Lambiris <[email protected]>
-
-pkgname=cri-o
-pkgver=1.26.2
-pkgrel=1
-pkgdesc="Open Container Initiative-based implementation of Kubernetes
Container Runtime Interface"
-arch=(x86_64)
-url="https://github.com/cri-o/cri-o"
-license=(Apache)
-depends=(
- cni-plugins
- conmon
- conntrack-tools
- containers-common
- glibc
- gpgme # NOTE: dlopen'd
- iproute2
- iptables
- oci-runtime
-)
-makedepends=(
- apparmor
- btrfs-progs
- device-mapper
- go
- go-md2man
- libassuan
- libseccomp
- ostree
-)
-optdepends=(
- 'apparmor: for apparmor integration'
- 'btrfs-progs: for btrfs support'
-)
-provides=(container-runtime)
-backup=(
- etc/crio/crio.conf
-)
-# configuration override and hook directories should exist
-options=(emptydirs)
-install=$pkgname.install
-source=(
-
$pkgname-$pkgver.tar.gz::https://github.com/$pkgname/$pkgname/archive/v$pkgver.tar.gz
- modules-$pkgname.conf
- sysctl-$pkgname.conf
-)
-sha512sums=('d6e169f6f33c5777d905bf10ddd514b9c10ec318c6a95b764d64a524c53045c3c160a3b6a1e7cde8df5407b1857f199b4222c0faf276209af903a5386d8f0733'
-
'85ee1310cb36c85c42b4068a9549a3ef72b856cd61b2c1036c3e871ef43a69ed80b43599ad94ce5b069ddd823e730596bb3d3875d4ba8cd77c4cc1985335ffff'
-
'fbcc3c29d5d3dedf56ea96577dec50cb2656b4a22f5a82bf2d600ae20c6b113d35d5db116bac5520398d47a22d40835f56b86433c5713924060e1a7018d297ec')
-b2sums=('dbbbe25291e7fd860770b1be72fb0f1f86fe645f3c9ddf3b54f5a80f24666d77c7e0e0f5ef1f8d39a25a2e0c8f687bb242b13d0361428199232983bb4af6108c'
-
'2771c64b45876d728fc139aa90754df8aadb07e14a7e1126a1488dfcbad7ebcbca923cb0230c4b87acdc6dad8243af2ad06ef4ce587d5c71fc200e40835d8b8d'
-
'c8a2133df6575c54eb9bd0a89a0c6c764c0cd456bff7338c4a2e1ef4f70a5a778d5a05c335fcf2491ed55e15fc36c677853c0bc8ab66d673f1950fa2c7695f6e')
-
-prepare() {
- cd $pkgname-$pkgver
- # make sure that /run instead of /var/run is used
- sed -e 's|/var/run|/run|g' \
- -i crictl.yaml pkg/config/config{,_unix}.go \
- docs/*.md crio-umount.conf \
- vendor/github.com/containers/conmon/runner/config/config_unix.go
- # make sure that /usr/bin is used in systemd units
- sed -e 's|/usr/local|/usr|g' -i contrib/systemd/*.service
- # set the correct default PATH for cni-plugins
- sed -e 's|/opt/cni/bin/|/usr/lib/cni/|g' -i pkg/config/config_unix.go
-}
-
-build() {
- cd $pkgname-$pkgver
- export CGO_CPPFLAGS="$CPPFLAGS"
- export CGO_CFLAGS="$CFLAGS"
- export CGO_CXXFLAGS="$CXXFLAGS"
- export CGO_LDFLAGS="$LDFLAGS"
- export GOFLAGS="-buildmode=pie -trimpath -ldflags=-linkmode=external
-mod=readonly -modcacherw"
-
- make V=1 GO_MD2MAN=/usr/bin/go-md2man
-}
-
-package() {
- depends+=(
- device-mapper libdevmapper.so
- libseccomp libseccomp.so
- )
-
- cd $pkgname-$pkgver
- # makefile is mixing DESTDIR and PREFIX
- make install install.systemd GO_MD2MAN=/usr/bin/go-md2man DESTDIR="$pkgdir"
PREFIX="$pkgdir/usr"
- # drop-in config dir for CNI plugins
- install -vdm 755 "$pkgdir/etc/cni/net.d/"
- # modules
- install -vDm 644 ../modules-$pkgname.conf
"$pkgdir/usr/lib/modules-load.d/cri-o.conf"
- # sysctl
- install -vDm 644 ../sysctl-$pkgname.conf
"$pkgdir/usr/lib/sysctl.d/90-cri-o.conf"
- # docs
- install -vDm 644
{CONTRIBUTING,README,awesome,code-of-conduct,install,transfer,tutorial}.md -t
"$pkgdir/usr/share/doc/$pkgname/"
- install -vDm 644 tutorials/*.md -t
"$pkgdir/usr/share/doc/$pkgname/tutorials/"
- install -vDm 644 contrib/cni/*.{conflist,md} -t
"$pkgdir/usr/share/doc/$pkgname/examples/cni/"
- install -vDm 644
contrib/metrics-exporter/{Containerfile,*.{yaml,gif,json,go}} -t
"$pkgdir/usr/share/doc/$pkgname/examples/metrics-exporter/"
-}
Copied: cri-o/repos/community-x86_64/PKGBUILD (from rev 1431351,
cri-o/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2023-03-30 22:40:31 UTC (rev 1431352)
@@ -0,0 +1,101 @@
+# Maintainer: David Runge <[email protected]>
+# Maintainer: Morten Linderud <[email protected]>
+# Contributor: Tony Lambiris <[email protected]>
+
+pkgname=cri-o
+pkgver=1.26.3
+pkgrel=1
+pkgdesc="Open Container Initiative-based implementation of Kubernetes
Container Runtime Interface"
+arch=(x86_64)
+url="https://github.com/cri-o/cri-o"
+license=(Apache)
+depends=(
+ cni-plugins
+ conmon
+ conntrack-tools
+ containers-common
+ gcc-libs
+ glibc
+ gpgme # NOTE: dlopen'd
+ iproute2
+ iptables
+ oci-runtime
+)
+makedepends=(
+ apparmor
+ btrfs-progs
+ device-mapper
+ go
+ go-md2man
+ libassuan
+ libseccomp
+ ostree
+)
+optdepends=(
+ 'apparmor: for apparmor integration'
+ 'btrfs-progs: for btrfs support'
+)
+provides=(container-runtime)
+backup=(
+ etc/crio/crio.conf
+)
+# configuration override and hook directories should exist
+options=(emptydirs)
+install=$pkgname.install
+source=(
+
$pkgname-$pkgver.tar.gz::https://github.com/$pkgname/$pkgname/archive/v$pkgver.tar.gz
+ modules-$pkgname.conf
+ sysctl-$pkgname.conf
+)
+sha512sums=('fb069579d08dd3cc1459578424b8e948c32be7165179c65c0bb86dbeda4d9bfc0897729a6522c5b1e0a4d0896c1984577b05590a23d0aa1b938e745efbbbce8f'
+
'85ee1310cb36c85c42b4068a9549a3ef72b856cd61b2c1036c3e871ef43a69ed80b43599ad94ce5b069ddd823e730596bb3d3875d4ba8cd77c4cc1985335ffff'
+
'fbcc3c29d5d3dedf56ea96577dec50cb2656b4a22f5a82bf2d600ae20c6b113d35d5db116bac5520398d47a22d40835f56b86433c5713924060e1a7018d297ec')
+b2sums=('487a68c3506f0adb3fa03da34f39bacf505aaff155b07ada94a423b0ec8f17c9e803cabfd2e14f286872a28923e2c31c11bb10b4b3a22d683ce880fbfe61b242'
+
'2771c64b45876d728fc139aa90754df8aadb07e14a7e1126a1488dfcbad7ebcbca923cb0230c4b87acdc6dad8243af2ad06ef4ce587d5c71fc200e40835d8b8d'
+
'c8a2133df6575c54eb9bd0a89a0c6c764c0cd456bff7338c4a2e1ef4f70a5a778d5a05c335fcf2491ed55e15fc36c677853c0bc8ab66d673f1950fa2c7695f6e')
+
+prepare() {
+ cd $pkgname-$pkgver
+ # make sure that /run instead of /var/run is used
+ sed -e 's|/var/run|/run|g' \
+ -i crictl.yaml pkg/config/config{,_unix}.go \
+ docs/*.md crio-umount.conf \
+ vendor/github.com/containers/conmon/runner/config/config_unix.go
+ # make sure that /usr/bin is used in systemd units
+ sed -e 's|/usr/local|/usr|g' -i contrib/systemd/*.service
+ # set the correct default PATH for cni-plugins
+ sed -e 's|/opt/cni/bin/|/usr/lib/cni/|g' -i pkg/config/config_unix.go
+}
+
+build() {
+ cd $pkgname-$pkgver
+ export CGO_CPPFLAGS="$CPPFLAGS"
+ export CGO_CFLAGS="$CFLAGS"
+ export CGO_CXXFLAGS="$CXXFLAGS"
+ export CGO_LDFLAGS="$LDFLAGS"
+ export GOFLAGS="-buildmode=pie -trimpath -ldflags=-linkmode=external
-mod=readonly -modcacherw"
+
+ make V=1 GO_MD2MAN=/usr/bin/go-md2man
+}
+
+package() {
+ depends+=(
+ device-mapper libdevmapper.so
+ libseccomp libseccomp.so
+ )
+
+ cd $pkgname-$pkgver
+ # makefile is mixing DESTDIR and PREFIX
+ make install install.systemd GO_MD2MAN=/usr/bin/go-md2man DESTDIR="$pkgdir"
PREFIX="$pkgdir/usr"
+ # drop-in config dir for CNI plugins
+ install -vdm 755 "$pkgdir/etc/cni/net.d/"
+ # modules
+ install -vDm 644 ../modules-$pkgname.conf
"$pkgdir/usr/lib/modules-load.d/cri-o.conf"
+ # sysctl
+ install -vDm 644 ../sysctl-$pkgname.conf
"$pkgdir/usr/lib/sysctl.d/90-cri-o.conf"
+ # docs
+ install -vDm 644
{CONTRIBUTING,README,awesome,code-of-conduct,install,transfer,tutorial}.md -t
"$pkgdir/usr/share/doc/$pkgname/"
+ install -vDm 644 tutorials/*.md -t
"$pkgdir/usr/share/doc/$pkgname/tutorials/"
+ install -vDm 644 contrib/cni/*.{conflist,md} -t
"$pkgdir/usr/share/doc/$pkgname/examples/cni/"
+ install -vDm 644
contrib/metrics-exporter/{Containerfile,*.{yaml,gif,json,go}} -t
"$pkgdir/usr/share/doc/$pkgname/examples/metrics-exporter/"
+}
Deleted: cri-o.install
===================================================================
--- cri-o.install 2023-03-30 22:40:14 UTC (rev 1431351)
+++ cri-o.install 2023-03-30 22:40:31 UTC (rev 1431352)
@@ -1,8 +0,0 @@
-post_install() {
- if ! grep "br_netfilter" /proc/modules; then
- echo "Load the br_netfilter kernel module or reboot: modprobe
br_netfilter."
- fi
- if ! grep "overlay" /proc/modules; then
- echo "Load the overlay kernel module (if required) or reboot: modprobe
overlay."
- fi
-}
Copied: cri-o/repos/community-x86_64/cri-o.install (from rev 1431351,
cri-o/trunk/cri-o.install)
===================================================================
--- cri-o.install (rev 0)
+++ cri-o.install 2023-03-30 22:40:31 UTC (rev 1431352)
@@ -0,0 +1,8 @@
+post_install() {
+ if ! grep "br_netfilter" /proc/modules; then
+ echo "Load the br_netfilter kernel module or reboot: modprobe
br_netfilter."
+ fi
+ if ! grep "overlay" /proc/modules; then
+ echo "Load the overlay kernel module (if required) or reboot: modprobe
overlay."
+ fi
+}
Deleted: modules-cri-o.conf
===================================================================
--- modules-cri-o.conf 2023-03-30 22:40:14 UTC (rev 1431351)
+++ modules-cri-o.conf 2023-03-30 22:40:31 UTC (rev 1431352)
@@ -1,2 +0,0 @@
-br_netfilter
-overlay
Copied: cri-o/repos/community-x86_64/modules-cri-o.conf (from rev 1431351,
cri-o/trunk/modules-cri-o.conf)
===================================================================
--- modules-cri-o.conf (rev 0)
+++ modules-cri-o.conf 2023-03-30 22:40:31 UTC (rev 1431352)
@@ -0,0 +1,2 @@
+br_netfilter
+overlay
Deleted: sysctl-cri-o.conf
===================================================================
--- sysctl-cri-o.conf 2023-03-30 22:40:14 UTC (rev 1431351)
+++ sysctl-cri-o.conf 2023-03-30 22:40:31 UTC (rev 1431352)
@@ -1,3 +0,0 @@
-net.bridge.bridge-nf-call-iptables = 1
-net.bridge.bridge-nf-call-ip6tables = 1
-net.ipv4.ip_forward = 1
Copied: cri-o/repos/community-x86_64/sysctl-cri-o.conf (from rev 1431351,
cri-o/trunk/sysctl-cri-o.conf)
===================================================================
--- sysctl-cri-o.conf (rev 0)
+++ sysctl-cri-o.conf 2023-03-30 22:40:31 UTC (rev 1431352)
@@ -0,0 +1,3 @@
+net.bridge.bridge-nf-call-iptables = 1
+net.bridge.bridge-nf-call-ip6tables = 1
+net.ipv4.ip_forward = 1