Diff containers-common-0.56.0 with a containers-common-0.56.0-r1
/usr/portage/app-containers/containers-common/containers-common-0.56.0-r1.ebuild 2023-10-09 14:52:28.216368318 +0300 | ||
---|---|---|
12 | 12 |
else |
13 | 13 |
SRC_URI="https://github.com/containers/common/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
14 | 14 |
S="${WORKDIR}/${P#containers-}" |
15 |
KEYWORDS="~amd64" |
|
15 |
KEYWORDS="~amd64 ~arm64 ~riscv" |
|
16 | 16 |
fi |
17 | 17 | |
18 | 18 |
LICENSE="Apache-2.0" |
19 | 19 |
SLOT="0" |
20 | ||
20 |
RESTRICT="test" |
|
21 | 21 |
RDEPEND=" |
22 | 22 |
app-containers/containers-image |
23 | 23 |
app-containers/containers-storage |
24 | 24 |
app-containers/containers-shortnames |
25 |
!<app-containers/podman-4.5.0-r1 |
|
25 | 26 |
net-firewall/nftables |
26 | 27 |
net-firewall/iptables[nftables] |
27 | 28 |
|| ( app-containers/crun app-containers/runc ) |
... | ... | |
42 | 43 |
sed -i -e 's|/usr/local|/usr|g;' docs/Makefile || die |
43 | 44 | |
44 | 45 |
eapply "${FILESDIR}/fix-warnings.patch" |
45 |
} |
|
46 | ||
47 |
src_configure() { |
|
48 |
return |
|
46 |
eapply "${FILESDIR}/examplify-mounts-conf.patch" |
|
49 | 47 |
} |
50 | 48 | |
51 | 49 |
src_compile() { |
52 | 50 |
emake docs |
53 | 51 |
} |
54 | 52 | |
55 |
src_test() { |
|
56 |
return |
|
57 |
} |
|
58 | ||
59 | 53 |
src_install() { |
60 | 54 |
emake DESTDIR="${D}" install |
61 | 55 | |
... | ... | |
68 | 62 |
doins "${FILESDIR}/default.yaml" |
69 | 63 | |
70 | 64 |
insinto /usr/share/containers |
71 |
# https://github.com/containers/common/raw/main/pkg/seccomp/seccomp.json |
|
72 |
# https://github.com/containers/common/raw/main/pkg/subscriptions/mounts.conf |
|
73 |
doins "${FILESDIR}/seccomp.json" "${FILESDIR}/mounts.conf" |
|
65 |
doins pkg/seccomp/seccomp.json pkg/subscriptions/mounts.conf |
|
74 | 66 | |
75 | 67 |
keepdir /etc/containers/certs.d /etc/containers/oci/hooks.d /etc/containers/systemd /var/lib/containers/sigstore |
76 | 68 |
} |