parent
858e34f641
commit
ec8041cae2
Binary file not shown.
Binary file not shown.
@ -0,0 +1,7 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||||
|
<pkgmetadata>
|
||||||
|
<maintainer type="person">
|
||||||
|
<email>mpagano@gentoo.org</email>
|
||||||
|
</maintainer>
|
||||||
|
</pkgmetadata>
|
@ -0,0 +1,10 @@
|
|||||||
|
# Copyright 1999-2023 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
inherit acct-group
|
||||||
|
|
||||||
|
DESCRIPTION="A group for www-servers/nginx-unit"
|
||||||
|
|
||||||
|
ACCT_GROUP_ID="526"
|
Binary file not shown.
@ -0,0 +1,7 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||||
|
<pkgmetadata>
|
||||||
|
<maintainer type="person">
|
||||||
|
<email>mpagano@gentoo.org</email>
|
||||||
|
</maintainer>
|
||||||
|
</pkgmetadata>
|
@ -0,0 +1,12 @@
|
|||||||
|
# Copyright 2019-2023 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
inherit acct-user
|
||||||
|
|
||||||
|
ACCT_USER_ID="526"
|
||||||
|
ACCT_USER_GROUPS=( "nginx-unit" )
|
||||||
|
ACCT_USER_HOME="/var/lib/nginx-unit"
|
||||||
|
|
||||||
|
acct-user_add_deps
|
Binary file not shown.
@ -1,3 +1,5 @@
|
|||||||
DIST ansible-core-2.12.10.tar.gz 7762154 BLAKE2B deffcc42c124a40ce34ce9a26a0c400b1199018cb05478ea8860500e1a507f9f604c1f40f0d006682fc14ad8f0cc3d035b8ffb1307ee37d26191be3c68e33253 SHA512 8b4eb0e923f976680e81ffbe942c4ddc7ddaaaffe83d14c20f78f7c6ab4f548f21920cdfa57b48de2bc24683028e744a92ac4ca45fecc459ea2b042de8c40737
|
DIST ansible-core-2.12.10.tar.gz 7762154 BLAKE2B deffcc42c124a40ce34ce9a26a0c400b1199018cb05478ea8860500e1a507f9f604c1f40f0d006682fc14ad8f0cc3d035b8ffb1307ee37d26191be3c68e33253 SHA512 8b4eb0e923f976680e81ffbe942c4ddc7ddaaaffe83d14c20f78f7c6ab4f548f21920cdfa57b48de2bc24683028e744a92ac4ca45fecc459ea2b042de8c40737
|
||||||
DIST ansible-core-2.13.7.tar.gz 13940230 BLAKE2B fd3556514f7692b48a66987ff5a084b132217c910ba0b216f2533cd1e542a9b6da6d2aa96e8e32142ab3a6ed7357fc1b68b9827ceaf44b91238bfbcb15b5d026 SHA512 f46d8acb07fa1d397e6e640c52237ed70b575ae0760eeb82b9e41afc6c06d99d341856d6af3452edb82e63a708600c2f348782b8bebc18c0ea9b03a4df80594a
|
DIST ansible-core-2.13.7.tar.gz 13940230 BLAKE2B fd3556514f7692b48a66987ff5a084b132217c910ba0b216f2533cd1e542a9b6da6d2aa96e8e32142ab3a6ed7357fc1b68b9827ceaf44b91238bfbcb15b5d026 SHA512 f46d8acb07fa1d397e6e640c52237ed70b575ae0760eeb82b9e41afc6c06d99d341856d6af3452edb82e63a708600c2f348782b8bebc18c0ea9b03a4df80594a
|
||||||
|
DIST ansible-core-2.13.8.tar.gz 13985893 BLAKE2B c0fd9ebde2dacd590588a654df29ed56e681ee67f3df41f1d1e91351259c22a0b01f0eb108763596198133e4d980c2130317f79d4f8f25ea1e36dac9325a8b40 SHA512 a3abeaca7076a590892b31735c901447654b5f1db59ca3095ad1d98c8de11b982e1375a22f1814712545fe84a870f57132d87c2ca47fa6a779bd53cd99d17ba4
|
||||||
DIST ansible-core-2.14.2.tar.gz 11514103 BLAKE2B f908ca83497f4a444ab738cd0f7f75a00e1ee6f2e7dc9c32a67c7e5fcfba166fe7b2938168c8a0fdbafdfcdf5bc08e582cc1c98ab0c032e3768a8fb4e21a99af SHA512 210dcd32b3a7faa50028200cc7f2ef4b8a8c5ee90fdfdf31cb61d2bc6d03c86aeb644a751e0c14aea3c1a95ea9e18703de1de304beeedcda4a98780f3e79cfec
|
DIST ansible-core-2.14.2.tar.gz 11514103 BLAKE2B f908ca83497f4a444ab738cd0f7f75a00e1ee6f2e7dc9c32a67c7e5fcfba166fe7b2938168c8a0fdbafdfcdf5bc08e582cc1c98ab0c032e3768a8fb4e21a99af SHA512 210dcd32b3a7faa50028200cc7f2ef4b8a8c5ee90fdfdf31cb61d2bc6d03c86aeb644a751e0c14aea3c1a95ea9e18703de1de304beeedcda4a98780f3e79cfec
|
||||||
|
DIST ansible-core-2.14.3.tar.gz 11516886 BLAKE2B 95c209842c1ccd090467e529f8c84def76cb3df69863b02c01f61a1ac6d4fa911134cc336e51e087215939efa91883ad51d4c01d2b3f4c124b82c540ab0e3be0 SHA512 95278d9c55d3eef2f66db1ee62648b5493e138f19513c32780684c55631c1ec49f94988a8d0f5eede44dbcceca7b4dd34aca10fa67d17dbe90ef8cf37051581d
|
||||||
|
@ -0,0 +1,53 @@
|
|||||||
|
# Copyright 1999-2023 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
PYTHON_COMPAT=( python3_{10..11} )
|
||||||
|
DISTUTILS_USE_SETUPTOOLS=bdepend
|
||||||
|
|
||||||
|
inherit distutils-r1
|
||||||
|
|
||||||
|
DESCRIPTION="Model-driven deployment, config management, and command execution framework"
|
||||||
|
HOMEPAGE="https://www.ansible.com/"
|
||||||
|
|
||||||
|
if [[ ${PV} == 9999 ]]; then
|
||||||
|
inherit git-r3
|
||||||
|
EGIT_REPO_URI="https://github.com/ansible/ansible.git"
|
||||||
|
EGIT_BRANCH="devel"
|
||||||
|
else
|
||||||
|
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||||
|
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86 ~x64-macos"
|
||||||
|
fi
|
||||||
|
|
||||||
|
LICENSE="GPL-3"
|
||||||
|
SLOT="0"
|
||||||
|
RESTRICT="test"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
dev-python/paramiko[${PYTHON_USEDEP}]
|
||||||
|
dev-python/jinja[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||||
|
dev-python/cryptography[${PYTHON_USEDEP}]
|
||||||
|
dev-python/httplib2[${PYTHON_USEDEP}]
|
||||||
|
dev-python/six[${PYTHON_USEDEP}]
|
||||||
|
dev-python/netaddr[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pexpect[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/resolvelib-0.5.3[${PYTHON_USEDEP}]
|
||||||
|
<dev-python/resolvelib-0.9.0[${PYTHON_USEDEP}]
|
||||||
|
net-misc/sshpass
|
||||||
|
virtual/ssh
|
||||||
|
"
|
||||||
|
BDEPEND="
|
||||||
|
>=dev-python/packaging-16.6[${PYTHON_USEDEP}]
|
||||||
|
test? (
|
||||||
|
dev-python/botocore[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pytz[${PYTHON_USEDEP}]
|
||||||
|
)"
|
||||||
|
|
||||||
|
distutils_enable_tests pytest
|
||||||
|
|
||||||
|
python_compile() {
|
||||||
|
export ANSIBLE_SKIP_CONFLICT_CHECK=1
|
||||||
|
distutils-r1_python_compile
|
||||||
|
}
|
@ -0,0 +1,53 @@
|
|||||||
|
# Copyright 1999-2023 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
PYTHON_COMPAT=( python3_{10..11} )
|
||||||
|
DISTUTILS_USE_SETUPTOOLS=bdepend
|
||||||
|
|
||||||
|
inherit distutils-r1
|
||||||
|
|
||||||
|
DESCRIPTION="Model-driven deployment, config management, and command execution framework"
|
||||||
|
HOMEPAGE="https://www.ansible.com/"
|
||||||
|
|
||||||
|
if [[ ${PV} == 9999 ]]; then
|
||||||
|
inherit git-r3
|
||||||
|
EGIT_REPO_URI="https://github.com/ansible/ansible.git"
|
||||||
|
EGIT_BRANCH="devel"
|
||||||
|
else
|
||||||
|
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||||
|
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86 ~x64-macos"
|
||||||
|
fi
|
||||||
|
|
||||||
|
LICENSE="GPL-3"
|
||||||
|
SLOT="0"
|
||||||
|
RESTRICT="test"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
dev-python/paramiko[${PYTHON_USEDEP}]
|
||||||
|
dev-python/jinja[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||||
|
dev-python/cryptography[${PYTHON_USEDEP}]
|
||||||
|
dev-python/httplib2[${PYTHON_USEDEP}]
|
||||||
|
dev-python/six[${PYTHON_USEDEP}]
|
||||||
|
dev-python/netaddr[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pexpect[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/resolvelib-0.5.3[${PYTHON_USEDEP}]
|
||||||
|
<dev-python/resolvelib-0.9.0[${PYTHON_USEDEP}]
|
||||||
|
net-misc/sshpass
|
||||||
|
virtual/ssh
|
||||||
|
"
|
||||||
|
BDEPEND="
|
||||||
|
>=dev-python/packaging-16.6[${PYTHON_USEDEP}]
|
||||||
|
test? (
|
||||||
|
dev-python/botocore[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pytz[${PYTHON_USEDEP}]
|
||||||
|
)"
|
||||||
|
|
||||||
|
distutils_enable_tests pytest
|
||||||
|
|
||||||
|
python_compile() {
|
||||||
|
export ANSIBLE_SKIP_CONFLICT_CHECK=1
|
||||||
|
distutils-r1_python_compile
|
||||||
|
}
|
@ -1,3 +1,4 @@
|
|||||||
DIST ansible-5.10.0.tar.gz 36898833 BLAKE2B 5705325c150909e4911cbc6fafb9b6194bcd15cf7a97978835b29cb8b87b671fa888163e28e825d1fc98006c57313677afed63236f4a55af415a70daf5fe305f SHA512 d81b34642533dfaf0c3dba5ecc8ba483efb3d82bd40afa469de2778666e932bec3c20e61ae579184fcbd7f1ec7c8d694617f334ebb3e910db3c9f6709d3b9385
|
DIST ansible-5.10.0.tar.gz 36898833 BLAKE2B 5705325c150909e4911cbc6fafb9b6194bcd15cf7a97978835b29cb8b87b671fa888163e28e825d1fc98006c57313677afed63236f4a55af415a70daf5fe305f SHA512 d81b34642533dfaf0c3dba5ecc8ba483efb3d82bd40afa469de2778666e932bec3c20e61ae579184fcbd7f1ec7c8d694617f334ebb3e910db3c9f6709d3b9385
|
||||||
DIST ansible-6.7.0.tar.gz 36371372 BLAKE2B 75cb14f158c36ded8313a1c5b798838afdf3a38ffc8e29a87c8e1e3e74c9aeca827432397ad83ed23a1d3aeaaef91822cc3c23aa226a307d93f84f54b25d71bb SHA512 676baf03626d5bf36aea7117d39ef71ba7878ab6bccdec1ee199bd699d559a5f3f6a0d9032ef120204093677b7fbbe1b575529d3aa692acd1a4447f9c2715f3a
|
DIST ansible-6.7.0.tar.gz 36371372 BLAKE2B 75cb14f158c36ded8313a1c5b798838afdf3a38ffc8e29a87c8e1e3e74c9aeca827432397ad83ed23a1d3aeaaef91822cc3c23aa226a307d93f84f54b25d71bb SHA512 676baf03626d5bf36aea7117d39ef71ba7878ab6bccdec1ee199bd699d559a5f3f6a0d9032ef120204093677b7fbbe1b575529d3aa692acd1a4447f9c2715f3a
|
||||||
DIST ansible-7.2.0.tar.gz 36997591 BLAKE2B 3652ff103cf9d6c415387537d5abe1d11ec9c2b7f8b1e8728308532b2ba449bd3efa08d49d2edb8424d3f845c1c3694557c1acae99b7dcdf93f0e97c6b8623a2 SHA512 30d7f912cd6b2e41f1e5d880b014f00d332b4cc533512be8de885e95b63cf890ffb38a616de74c6b7fd9d6a961b7e2a1843bfe758fbcd9f3c962f1c856f20725
|
DIST ansible-7.2.0.tar.gz 36997591 BLAKE2B 3652ff103cf9d6c415387537d5abe1d11ec9c2b7f8b1e8728308532b2ba449bd3efa08d49d2edb8424d3f845c1c3694557c1acae99b7dcdf93f0e97c6b8623a2 SHA512 30d7f912cd6b2e41f1e5d880b014f00d332b4cc533512be8de885e95b63cf890ffb38a616de74c6b7fd9d6a961b7e2a1843bfe758fbcd9f3c962f1c856f20725
|
||||||
|
DIST ansible-7.3.0.tar.gz 37218246 BLAKE2B 04a1a4d00c8f33fa81b907d71f76988ea58e66bb88817475ed4f53fd0fef61468e9e2623ff9224e37f7ea06301aad34ebc39f68e51bdfe049e110d683e6b0171 SHA512 078bda71b6de438c083068902da1543b97f160265a6607fdbf9a386361b0932ba673cf46192c5a3521bc52724489ea9fc0900b0f742756ff4dbf5d2b7d4471bc
|
||||||
|
@ -0,0 +1,29 @@
|
|||||||
|
# Copyright 1999-2023 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
PYTHON_COMPAT=( python3_{9..11} )
|
||||||
|
|
||||||
|
inherit distutils-r1
|
||||||
|
|
||||||
|
DESCRIPTION="Model-driven deployment, config management, and command execution framework"
|
||||||
|
HOMEPAGE="https://www.ansible.com/"
|
||||||
|
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="GPL-3+"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86 ~x64-macos"
|
||||||
|
RESTRICT="test"
|
||||||
|
|
||||||
|
RDEPEND=">=app-admin/ansible-core-2.14.0
|
||||||
|
<app-admin/ansible-core-2.15"
|
||||||
|
|
||||||
|
python_compile() {
|
||||||
|
local -x ANSIBLE_SKIP_CONFLICT_CHECK=1
|
||||||
|
distutils-r1_python_compile
|
||||||
|
}
|
||||||
|
python_install() {
|
||||||
|
local -x ANSIBLE_SKIP_CONFLICT_CHECK=1
|
||||||
|
distutils-r1_python_install
|
||||||
|
}
|
@ -1,2 +1,4 @@
|
|||||||
DIST aws-cli-1.27.74.gh.tar.gz 2368706 BLAKE2B 3eb9d8c21b9ddfd3a3e4bb53172a46ad69ca71033785bd29fd8b0b0f694c2ed62a4cad998ccd13b07949b86a89f2ca238a63a4553e591ba9066832f51ed87759 SHA512 cf61a3f1dd643bb7d0f81f047c1eeae78a7793532bffa612045273c46ae970b2763156a7679b6e16e65c2f886dec68e54db0169580bb3c37cc08420f874e704c
|
DIST aws-cli-1.27.74.gh.tar.gz 2368706 BLAKE2B 3eb9d8c21b9ddfd3a3e4bb53172a46ad69ca71033785bd29fd8b0b0f694c2ed62a4cad998ccd13b07949b86a89f2ca238a63a4553e591ba9066832f51ed87759 SHA512 cf61a3f1dd643bb7d0f81f047c1eeae78a7793532bffa612045273c46ae970b2763156a7679b6e16e65c2f886dec68e54db0169580bb3c37cc08420f874e704c
|
||||||
DIST aws-cli-1.27.79.gh.tar.gz 2376690 BLAKE2B 8e55d3607b805ebc5673c682731483f0fd6eb77a6cc972d58ce3219c33f9f2054529df6ab46fc85b39849871580cea03c4d7f490c4386cd5ce9d222ecb3c8eda SHA512 fd8b880b6358c50ed189fac538d91ef88d762b8c382da1b57bb086a316f7ee96fa33206a53f3eae2df98df175929c819b855c7ff5b7e5f84c73ecff88f297c79
|
DIST aws-cli-1.27.79.gh.tar.gz 2376690 BLAKE2B 8e55d3607b805ebc5673c682731483f0fd6eb77a6cc972d58ce3219c33f9f2054529df6ab46fc85b39849871580cea03c4d7f490c4386cd5ce9d222ecb3c8eda SHA512 fd8b880b6358c50ed189fac538d91ef88d762b8c382da1b57bb086a316f7ee96fa33206a53f3eae2df98df175929c819b855c7ff5b7e5f84c73ecff88f297c79
|
||||||
|
DIST aws-cli-1.27.80.gh.tar.gz 2377306 BLAKE2B 3a0e6c66bb9c373456bb05537f20ad339c0987290557c30dbd2e2a8ea127b0f8bfc7028930db712fcbe7461c7bc87dac123c1847da93b675403822f6c02b1d3f SHA512 b94aab2588e8bc0ad007e0392c6eed0642683246b1803007332563495a69deb5da924eda48944e37b674c714cf2e5a45aeddbbedb5d12d51ad8c9c8e76c18ebc
|
||||||
|
DIST aws-cli-1.27.81.gh.tar.gz 2377937 BLAKE2B 7323c06cab727066c6541772478a961bc4f7b409b0910e57c79207fad928b7ec82d1b0048983e64d8a8fa3e7ef69d1898cadf2fbd1ea560e05d7a2582e726f88 SHA512 19cff28cd4721df32079795cfab852a11b36f1a2d0335567f0f1dae48eaaf268ae04163dac960a2d543be869f39e8c55e6a0bcee746ccbab29bcf8f37881c305
|
||||||
|
@ -0,0 +1,80 @@
|
|||||||
|
# Copyright 1999-2023 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
DISTUTILS_USE_PEP517=setuptools
|
||||||
|
PYTHON_COMPAT=( python3_{10..11} )
|
||||||
|
|
||||||
|
inherit bash-completion-r1 distutils-r1 multiprocessing
|
||||||
|
|
||||||
|
MY_P=aws-cli-${PV}
|
||||||
|
DESCRIPTION="Universal Command Line Environment for AWS"
|
||||||
|
HOMEPAGE="
|
||||||
|
https://github.com/aws/aws-cli/
|
||||||
|
https://pypi.org/project/awscli/
|
||||||
|
"
|
||||||
|
SRC_URI="
|
||||||
|
https://github.com/aws/aws-cli/archive/${PV}.tar.gz
|
||||||
|
-> ${MY_P}.gh.tar.gz
|
||||||
|
"
|
||||||
|
S=${WORKDIR}/${MY_P}
|
||||||
|
|
||||||
|
LICENSE="Apache-2.0"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
|
||||||
|
|
||||||
|
# botocore is x.(y+2).z
|
||||||
|
BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 2)).$(ver_cut 3-)"
|
||||||
|
RDEPEND="
|
||||||
|
>=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}]
|
||||||
|
dev-python/colorama[${PYTHON_USEDEP}]
|
||||||
|
dev-python/docutils[${PYTHON_USEDEP}]
|
||||||
|
dev-python/rsa[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/s3transfer-0.6.0[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||||
|
!app-admin/awscli-bin
|
||||||
|
"
|
||||||
|
BDEPEND="
|
||||||
|
test? (
|
||||||
|
dev-python/pytest-forked[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pytest-xdist[${PYTHON_USEDEP}]
|
||||||
|
)
|
||||||
|
"
|
||||||
|
|
||||||
|
distutils_enable_tests pytest
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
# do not rely on bundled deps in botocore (sic!)
|
||||||
|
find -name '*.py' -exec sed -i \
|
||||||
|
-e 's:from botocore[.]vendored import:import:' \
|
||||||
|
-e 's:from botocore[.]vendored[.]:from :' \
|
||||||
|
{} + || die
|
||||||
|
# strip overzealous upper bounds on requirements
|
||||||
|
sed -i -e 's:,<[0-9.]*::' -e 's:==:>=:' setup.py || die
|
||||||
|
distutils-r1_src_prepare
|
||||||
|
}
|
||||||
|
|
||||||
|
python_test() {
|
||||||
|
local EPYTEST_DESELECT=(
|
||||||
|
# TODO
|
||||||
|
tests/functional/eks/test_kubeconfig.py::TestKubeconfigLoader::test_load_simple
|
||||||
|
tests/unit/customizations/eks/test_update_kubeconfig.py::TestKubeconfigSelector::test_choose_env_only
|
||||||
|
tests/unit/customizations/eks/test_update_kubeconfig.py::TestKubeconfigSelector::test_choose_existing
|
||||||
|
tests/unit/customizations/eks/test_kubeconfig.py::TestKubeconfigValidator::test_valid
|
||||||
|
)
|
||||||
|
|
||||||
|
# integration tests require AWS credentials and Internet access
|
||||||
|
epytest tests/{functional,unit} -n "$(makeopts_jobs)" --forked
|
||||||
|
}
|
||||||
|
|
||||||
|
python_install_all() {
|
||||||
|
newbashcomp bin/aws_bash_completer aws
|
||||||
|
|
||||||
|
insinto /usr/share/zsh/site-functions
|
||||||
|
newins bin/aws_zsh_completer.sh _aws
|
||||||
|
|
||||||
|
distutils-r1_python_install_all
|
||||||
|
|
||||||
|
rm "${ED}"/usr/bin/{aws.cmd,aws_bash_completer,aws_zsh_completer.sh} || die
|
||||||
|
}
|
@ -0,0 +1,80 @@
|
|||||||
|
# Copyright 1999-2023 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
DISTUTILS_USE_PEP517=setuptools
|
||||||
|
PYTHON_COMPAT=( python3_{10..11} )
|
||||||
|
|
||||||
|
inherit bash-completion-r1 distutils-r1 multiprocessing
|
||||||
|
|
||||||
|
MY_P=aws-cli-${PV}
|
||||||
|
DESCRIPTION="Universal Command Line Environment for AWS"
|
||||||
|
HOMEPAGE="
|
||||||
|
https://github.com/aws/aws-cli/
|
||||||
|
https://pypi.org/project/awscli/
|
||||||
|
"
|
||||||
|
SRC_URI="
|
||||||
|
https://github.com/aws/aws-cli/archive/${PV}.tar.gz
|
||||||
|
-> ${MY_P}.gh.tar.gz
|
||||||
|
"
|
||||||
|
S=${WORKDIR}/${MY_P}
|
||||||
|
|
||||||
|
LICENSE="Apache-2.0"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
|
||||||
|
|
||||||
|
# botocore is x.(y+2).z
|
||||||
|
BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 2)).$(ver_cut 3-)"
|
||||||
|
RDEPEND="
|
||||||
|
>=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}]
|
||||||
|
dev-python/colorama[${PYTHON_USEDEP}]
|
||||||
|
dev-python/docutils[${PYTHON_USEDEP}]
|
||||||
|
dev-python/rsa[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/s3transfer-0.6.0[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||||
|
!app-admin/awscli-bin
|
||||||
|
"
|
||||||
|
BDEPEND="
|
||||||
|
test? (
|
||||||
|
dev-python/pytest-forked[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pytest-xdist[${PYTHON_USEDEP}]
|
||||||
|
)
|
||||||
|
"
|
||||||
|
|
||||||
|
distutils_enable_tests pytest
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
# do not rely on bundled deps in botocore (sic!)
|
||||||
|
find -name '*.py' -exec sed -i \
|
||||||
|
-e 's:from botocore[.]vendored import:import:' \
|
||||||
|
-e 's:from botocore[.]vendored[.]:from :' \
|
||||||
|
{} + || die
|
||||||
|
# strip overzealous upper bounds on requirements
|
||||||
|
sed -i -e 's:,<[0-9.]*::' -e 's:==:>=:' setup.py || die
|
||||||
|
distutils-r1_src_prepare
|
||||||
|
}
|
||||||
|
|
||||||
|
python_test() {
|
||||||
|
local EPYTEST_DESELECT=(
|
||||||
|
# TODO
|
||||||
|
tests/functional/eks/test_kubeconfig.py::TestKubeconfigLoader::test_load_simple
|
||||||
|
tests/unit/customizations/eks/test_update_kubeconfig.py::TestKubeconfigSelector::test_choose_env_only
|
||||||
|
tests/unit/customizations/eks/test_update_kubeconfig.py::TestKubeconfigSelector::test_choose_existing
|
||||||
|
tests/unit/customizations/eks/test_kubeconfig.py::TestKubeconfigValidator::test_valid
|
||||||
|
)
|
||||||
|
|
||||||
|
# integration tests require AWS credentials and Internet access
|
||||||
|
epytest tests/{functional,unit} -n "$(makeopts_jobs)" --forked
|
||||||
|
}
|
||||||
|
|
||||||
|
python_install_all() {
|
||||||
|
newbashcomp bin/aws_bash_completer aws
|
||||||
|
|
||||||
|
insinto /usr/share/zsh/site-functions
|
||||||
|
newins bin/aws_zsh_completer.sh _aws
|
||||||
|
|
||||||
|
distutils-r1_python_install_all
|
||||||
|
|
||||||
|
rm "${ED}"/usr/bin/{aws.cmd,aws_bash_completer,aws_zsh_completer.sh} || die
|
||||||
|
}
|
@ -1,2 +1,2 @@
|
|||||||
DIST eselect-1.4.17.tar.xz 178980 BLAKE2B d905ac88bc009080912af75e64c7920d745788866fa3cb35466d68a652efbbd6984d6e1efeed76d9a344aed94705b74c85aa43e9c037d4d548d2e24afa69bd7a SHA512 35dc4c52f44c4f64db9c0dc2aec57b3055a6d36760b1bbbd094ad11b3f9e71a731444802632817b89c3b511f1dc9bb92046b59322d177e13fdc501ed767b591e
|
|
||||||
DIST eselect-1.4.20.tar.xz 180272 BLAKE2B 424653d00eda45335c3aaae50f6fbf2e89486da4529f657596516352f3b7fcb9859ceb2dc5b9762a34c44fb64e645fa27c46b86453bf50be6e8ae820664a4289 SHA512 9589ed89c4d5d31f71d535886eb50da67b84dec8a13a5df081e7569efee861dede4eaa43a0bfb9930c5b95d4f334e19245cb8820a73f7361527da262da1d1fb2
|
DIST eselect-1.4.20.tar.xz 180272 BLAKE2B 424653d00eda45335c3aaae50f6fbf2e89486da4529f657596516352f3b7fcb9859ceb2dc5b9762a34c44fb64e645fa27c46b86453bf50be6e8ae820664a4289 SHA512 9589ed89c4d5d31f71d535886eb50da67b84dec8a13a5df081e7569efee861dede4eaa43a0bfb9930c5b95d4f334e19245cb8820a73f7361527da262da1d1fb2
|
||||||
|
DIST eselect-1.4.21.tar.xz 182780 BLAKE2B 64db8ec3655bc78ad0e40be3c83625f46c49b1cd88e881dba843f05cdc56aba4e746b5fd27ab5c6663947dacc93211a98b224d48aeccc0154e203d3929d49116 SHA512 0dfb771401af3ce5f4002ac6717b37351b3a37b0421cf292b7b5a432f4ee2cff1705a44a45f8e5b3dee73440c7b49b2b76a69fb1cfa727874dd64285d1097eb7
|
||||||
|
@ -1,58 +0,0 @@
|
|||||||
# Copyright 1999-2023 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
inherit bash-completion-r1
|
|
||||||
|
|
||||||
DESCRIPTION="Gentoo's multi-purpose configuration and management tool"
|
|
||||||
HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Eselect"
|
|
||||||
SRC_URI="https://dev.gentoo.org/~ulm/eselect/${P}.tar.xz"
|
|
||||||
|
|
||||||
LICENSE="GPL-2+ || ( GPL-2+ CC-BY-SA-4.0 )"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
|
||||||
IUSE="doc emacs vim-syntax"
|
|
||||||
|
|
||||||
DEPEND="sys-apps/sed
|
|
||||||
|| (
|
|
||||||
sys-apps/coreutils
|
|
||||||
app-misc/realpath
|
|
||||||
)"
|
|
||||||
RDEPEND="${DEPEND}
|
|
||||||
sys-apps/file
|
|
||||||
sys-libs/ncurses:0"
|
|
||||||
BDEPEND="doc? ( dev-python/docutils )"
|
|
||||||
PDEPEND="emacs? ( app-emacs/eselect-mode )
|
|
||||||
vim-syntax? ( app-vim/eselect-syntax )"
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
emake
|
|
||||||
use doc && emake html
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
emake DESTDIR="${D}" install
|
|
||||||
newbashcomp misc/${PN}.bashcomp ${PN}
|
|
||||||
dodoc AUTHORS ChangeLog NEWS README TODO doc/*.txt
|
|
||||||
if use doc; then
|
|
||||||
docinto html
|
|
||||||
dodoc *.html doc/*.html doc/*.css
|
|
||||||
fi
|
|
||||||
|
|
||||||
# needed by news module
|
|
||||||
keepdir /var/lib/gentoo/news
|
|
||||||
if ! use prefix; then
|
|
||||||
fowners root:portage /var/lib/gentoo/news
|
|
||||||
fperms g+w /var/lib/gentoo/news
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
# fowners in src_install doesn't work for the portage group:
|
|
||||||
# merging changes the group back to root
|
|
||||||
if ! use prefix; then
|
|
||||||
chgrp portage "${EROOT}/var/lib/gentoo/news" \
|
|
||||||
&& chmod g+w "${EROOT}/var/lib/gentoo/news"
|
|
||||||
fi
|
|
||||||
}
|
|
@ -0,0 +1,58 @@
|
|||||||
|
# Copyright 1999-2023 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
inherit bash-completion-r1
|
||||||
|
|
||||||
|
DESCRIPTION="Gentoo's multi-purpose configuration and management tool"
|
||||||
|
HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Eselect"
|
||||||
|
SRC_URI="https://dev.gentoo.org/~ulm/eselect/${P}.tar.xz"
|
||||||
|
|
||||||
|
LICENSE="GPL-2+ || ( GPL-2+ CC-BY-SA-4.0 )"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||||
|
IUSE="doc emacs vim-syntax"
|
||||||
|
|
||||||
|
DEPEND="sys-apps/sed
|
||||||
|
|| (
|
||||||
|
sys-apps/coreutils
|
||||||
|
app-misc/realpath
|
||||||
|
)"
|
||||||
|
RDEPEND="${DEPEND}
|
||||||
|
sys-apps/file
|
||||||
|
sys-libs/ncurses:0"
|
||||||
|
BDEPEND="doc? ( dev-python/docutils )"
|
||||||
|
PDEPEND="emacs? ( app-emacs/eselect-mode )
|
||||||
|
vim-syntax? ( app-vim/eselect-syntax )"
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
emake
|
||||||
|
use doc && emake html
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
emake DESTDIR="${D}" install
|
||||||
|
newbashcomp misc/${PN}.bashcomp ${PN}
|
||||||
|
dodoc AUTHORS ChangeLog NEWS README TODO doc/*.txt
|
||||||
|
if use doc; then
|
||||||
|
docinto html
|
||||||
|
dodoc *.html doc/*.html doc/*.css
|
||||||
|
fi
|
||||||
|
|
||||||
|
# needed by news module
|
||||||
|
keepdir /var/lib/gentoo/news
|
||||||
|
if ! use prefix; then
|
||||||
|
fowners root:portage /var/lib/gentoo/news
|
||||||
|
fperms g+w /var/lib/gentoo/news
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
# fowners in src_install doesn't work for the portage group:
|
||||||
|
# merging changes the group back to root
|
||||||
|
if ! use prefix; then
|
||||||
|
chgrp portage "${EROOT}/var/lib/gentoo/news" \
|
||||||
|
&& chmod g+w "${EROOT}/var/lib/gentoo/news"
|
||||||
|
fi
|
||||||
|
}
|
@ -1,263 +0,0 @@
|
|||||||
# Copyright 1999-2023 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
inherit go-module optfeature
|
|
||||||
|
|
||||||
EGO_SUM=(
|
|
||||||
"bitbucket.org/creachadair/stringset v0.0.10"
|
|
||||||
"bitbucket.org/creachadair/stringset v0.0.10/go.mod"
|
|
||||||
"filippo.io/age v1.0.0"
|
|
||||||
"filippo.io/age v1.0.0/go.mod"
|
|
||||||
"filippo.io/edwards25519 v1.0.0"
|
|
||||||
"filippo.io/edwards25519 v1.0.0/go.mod"
|
|
||||||
"github.com/BurntSushi/toml v0.4.1/go.mod"
|
|
||||||
"github.com/ProtonMail/go-crypto v0.0.0-20220730123233-d6ffb7692adf"
|
|
||||||
"github.com/ProtonMail/go-crypto v0.0.0-20220730123233-d6ffb7692adf/go.mod"
|
|
||||||
"github.com/atotto/clipboard v0.1.4"
|
|
||||||
"github.com/atotto/clipboard v0.1.4/go.mod"
|
|
||||||
"github.com/blang/semver/v4 v4.0.0"
|
|
||||||
"github.com/blang/semver/v4 v4.0.0/go.mod"
|
|
||||||
"github.com/boombuler/barcode v1.0.1-0.20190219062509-6c824513bacc"
|
|
||||||
"github.com/boombuler/barcode v1.0.1-0.20190219062509-6c824513bacc/go.mod"
|
|
||||||
"github.com/bwesterb/go-ristretto v1.2.0/go.mod"
|
|
||||||
"github.com/bwesterb/go-ristretto v1.2.1/go.mod"
|
|
||||||
"github.com/caspr-io/yamlpath v0.0.0-20200722075116-502e8d113a9b"
|
|
||||||
"github.com/caspr-io/yamlpath v0.0.0-20200722075116-502e8d113a9b/go.mod"
|
|
||||||
"github.com/cenkalti/backoff v2.2.1+incompatible"
|
|
||||||
"github.com/cenkalti/backoff v2.2.1+incompatible/go.mod"
|
|
||||||
"github.com/chzyer/logex v1.2.1"
|
|
||||||
"github.com/chzyer/logex v1.2.1/go.mod"
|
|
||||||
"github.com/chzyer/readline v1.5.1"
|
|
||||||
"github.com/chzyer/readline v1.5.1/go.mod"
|
|
||||||
"github.com/chzyer/test v1.0.0"
|
|
||||||
"github.com/chzyer/test v1.0.0/go.mod"
|
|
||||||
"github.com/cloudflare/circl v1.1.0/go.mod"
|
|
||||||
"github.com/cloudflare/circl v1.2.0"
|
|
||||||
"github.com/cloudflare/circl v1.2.0/go.mod"
|
|
||||||
"github.com/coreos/go-systemd/v22 v22.3.3-0.20220203105225-a9a7ef127534/go.mod"
|
|
||||||
"github.com/cpuguy83/go-md2man/v2 v2.0.2"
|
|
||||||
"github.com/cpuguy83/go-md2man/v2 v2.0.2/go.mod"
|
|
||||||
"github.com/creack/pty v1.1.9/go.mod"
|
|
||||||
"github.com/davecgh/go-spew v1.1.0/go.mod"
|
|
||||||
"github.com/davecgh/go-spew v1.1.1"
|
|
||||||
"github.com/davecgh/go-spew v1.1.1/go.mod"
|
|
||||||
"github.com/dustin/go-humanize v1.0.0"
|
|
||||||
"github.com/dustin/go-humanize v1.0.0/go.mod"
|
|
||||||
"github.com/fatih/color v1.13.0"
|
|
||||||
"github.com/fatih/color v1.13.0/go.mod"
|
|
||||||
"github.com/godbus/dbus v0.0.0-20190623212516-8a1682060722"
|
|
||||||
"github.com/godbus/dbus v0.0.0-20190623212516-8a1682060722/go.mod"
|
|
||||||
"github.com/godbus/dbus/v5 v5.0.4/go.mod"
|
|
||||||
"github.com/gokyle/twofactor v1.0.1"
|
|
||||||
"github.com/gokyle/twofactor v1.0.1/go.mod"
|
|
||||||
"github.com/golang/mock v1.6.0"
|
|
||||||
"github.com/golang/protobuf v1.3.1/go.mod"
|
|
||||||
"github.com/golang/protobuf v1.3.2/go.mod"
|
|
||||||
"github.com/golang/protobuf v1.5.0/go.mod"
|
|
||||||
"github.com/golang/protobuf v1.5.2"
|
|
||||||
"github.com/golang/protobuf v1.5.2/go.mod"
|
|
||||||
"github.com/google/go-cmp v0.3.0/go.mod"
|
|
||||||
"github.com/google/go-cmp v0.5.2/go.mod"
|
|
||||||
"github.com/google/go-cmp v0.5.5/go.mod"
|
|
||||||
"github.com/google/go-cmp v0.5.8"
|
|
||||||
"github.com/google/go-cmp v0.5.8/go.mod"
|
|
||||||
"github.com/google/go-github v17.0.0+incompatible"
|
|
||||||
"github.com/google/go-github v17.0.0+incompatible/go.mod"
|
|
||||||
"github.com/google/go-github/v33 v33.0.0"
|
|
||||||
"github.com/google/go-github/v33 v33.0.0/go.mod"
|
|
||||||
"github.com/google/go-querystring v1.0.0/go.mod"
|
|
||||||
"github.com/google/go-querystring v1.1.0"
|
|
||||||
"github.com/google/go-querystring v1.1.0/go.mod"
|
|
||||||
"github.com/hashicorp/errwrap v1.0.0/go.mod"
|
|
||||||
"github.com/hashicorp/errwrap v1.1.0"
|
|
||||||
"github.com/hashicorp/errwrap v1.1.0/go.mod"
|
|
||||||
"github.com/hashicorp/go-multierror v1.1.1"
|
|
||||||
"github.com/hashicorp/go-multierror v1.1.1/go.mod"
|
|
||||||
"github.com/hashicorp/golang-lru v0.5.4"
|
|
||||||
"github.com/hashicorp/golang-lru v0.5.4/go.mod"
|
|
||||||
"github.com/jsimonetti/pwscheme v0.0.0-20220125093853-4d9895f5db73"
|
|
||||||
"github.com/jsimonetti/pwscheme v0.0.0-20220125093853-4d9895f5db73/go.mod"
|
|
||||||
"github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51"
|
|
||||||
"github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51/go.mod"
|
|
||||||
"github.com/kr/pretty v0.1.0/go.mod"
|
|
||||||
"github.com/kr/pretty v0.2.1/go.mod"
|
|
||||||
"github.com/kr/pretty v0.3.0"
|
|
||||||
"github.com/kr/pretty v0.3.0/go.mod"
|
|
||||||
"github.com/kr/pty v1.1.1/go.mod"
|
|
||||||
"github.com/kr/text v0.1.0/go.mod"
|
|
||||||
"github.com/kr/text v0.2.0"
|
|
||||||
"github.com/kr/text v0.2.0/go.mod"
|
|
||||||
"github.com/martinhoefling/goxkcdpwgen v0.1.1"
|
|
||||||
"github.com/martinhoefling/goxkcdpwgen v0.1.1/go.mod"
|
|
||||||
"github.com/mattn/go-colorable v0.1.4/go.mod"
|
|
||||||
"github.com/mattn/go-colorable v0.1.9/go.mod"
|
|
||||||
"github.com/mattn/go-colorable v0.1.12"
|
|
||||||
"github.com/mattn/go-colorable v0.1.12/go.mod"
|
|
||||||
"github.com/mattn/go-isatty v0.0.8/go.mod"
|
|
||||||
"github.com/mattn/go-isatty v0.0.10/go.mod"
|
|
||||||
"github.com/mattn/go-isatty v0.0.12/go.mod"
|
|
||||||
"github.com/mattn/go-isatty v0.0.14"
|
|
||||||
"github.com/mattn/go-isatty v0.0.14/go.mod"
|
|
||||||
"github.com/mattn/go-runewidth v0.0.7/go.mod"
|
|
||||||
"github.com/mattn/go-tty v0.0.4"
|
|
||||||
"github.com/mattn/go-tty v0.0.4/go.mod"
|
|
||||||
"github.com/mitchellh/go-homedir v1.1.0"
|
|
||||||
"github.com/mitchellh/go-homedir v1.1.0/go.mod"
|
|
||||||
"github.com/mitchellh/go-ps v1.0.0"
|
|
||||||
"github.com/mitchellh/go-ps v1.0.0/go.mod"
|
|
||||||
"github.com/muesli/crunchy v0.4.0"
|
|
||||||
"github.com/muesli/crunchy v0.4.0/go.mod"
|
|
||||||
"github.com/nbutton23/zxcvbn-go v0.0.0-20210217022336-fa2cb2858354"
|
|
||||||
"github.com/nbutton23/zxcvbn-go v0.0.0-20210217022336-fa2cb2858354/go.mod"
|
|
||||||
"github.com/pkg/diff v0.0.0-20210226163009-20ebb0f2a09e/go.mod"
|
|
||||||
"github.com/pkg/errors v0.8.1/go.mod"
|
|
||||||
"github.com/pkg/errors v0.9.1"
|
|
||||||
"github.com/pkg/errors v0.9.1/go.mod"
|
|
||||||
"github.com/pmezard/go-difflib v1.0.0"
|
|
||||||
"github.com/pmezard/go-difflib v1.0.0/go.mod"
|
|
||||||
"github.com/pquerna/otp v1.3.0"
|
|
||||||
"github.com/pquerna/otp v1.3.0/go.mod"
|
|
||||||
"github.com/rogpeppe/go-internal v1.6.1/go.mod"
|
|
||||||
"github.com/rogpeppe/go-internal v1.8.1-0.20210923151022-86f73c517451"
|
|
||||||
"github.com/rogpeppe/go-internal v1.8.1-0.20210923151022-86f73c517451/go.mod"
|
|
||||||
"github.com/rs/xid v1.3.0/go.mod"
|
|
||||||
"github.com/rs/zerolog v1.27.0"
|
|
||||||
"github.com/rs/zerolog v1.27.0/go.mod"
|
|
||||||
"github.com/russross/blackfriday/v2 v2.1.0"
|
|
||||||
"github.com/russross/blackfriday/v2 v2.1.0/go.mod"
|
|
||||||
"github.com/schollz/closestmatch v0.0.0-20190308193919-1fbe626be92e"
|
|
||||||
"github.com/schollz/closestmatch v0.0.0-20190308193919-1fbe626be92e/go.mod"
|
|
||||||
"github.com/skip2/go-qrcode v0.0.0-20200617195104-da1b6568686e"
|
|
||||||
"github.com/skip2/go-qrcode v0.0.0-20200617195104-da1b6568686e/go.mod"
|
|
||||||
"github.com/spf13/pflag v1.0.3/go.mod"
|
|
||||||
"github.com/stretchr/objx v0.1.0/go.mod"
|
|
||||||
"github.com/stretchr/objx v0.4.0/go.mod"
|
|
||||||
"github.com/stretchr/testify v1.1.4/go.mod"
|
|
||||||
"github.com/stretchr/testify v1.3.0/go.mod"
|
|
||||||
"github.com/stretchr/testify v1.7.0/go.mod"
|
|
||||||
"github.com/stretchr/testify v1.7.1/go.mod"
|
|
||||||
"github.com/stretchr/testify v1.8.0"
|
|
||||||
"github.com/stretchr/testify v1.8.0/go.mod"
|
|
||||||
"github.com/twpayne/go-pinentry v0.2.0"
|
|
||||||
"github.com/twpayne/go-pinentry v0.2.0/go.mod"
|
|
||||||
"github.com/urfave/cli/v2 v2.11.1"
|
|
||||||
"github.com/urfave/cli/v2 v2.11.1/go.mod"
|
|
||||||
"github.com/xrash/smetrics v0.0.0-20170218160415-a3153f7040e9/go.mod"
|
|
||||||
"github.com/xrash/smetrics v0.0.0-20201216005158-039620a65673"
|
|
||||||
"github.com/xrash/smetrics v0.0.0-20201216005158-039620a65673/go.mod"
|
|
||||||
"go.uber.org/atomic v1.7.0/go.mod"
|
|
||||||
"go.uber.org/atomic v1.9.0"
|
|
||||||
"go.uber.org/atomic v1.9.0/go.mod"
|
|
||||||
"go.uber.org/multierr v1.8.0"
|
|
||||||
"go.uber.org/multierr v1.8.0/go.mod"
|
|
||||||
"golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod"
|
|
||||||
"golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod"
|
|
||||||
"golang.org/x/crypto v0.0.0-20220315160706-3147a52a75dd/go.mod"
|
|
||||||
"golang.org/x/crypto v0.0.0-20220722155217-630584e8d5aa"
|
|
||||||
"golang.org/x/crypto v0.0.0-20220722155217-630584e8d5aa/go.mod"
|
|
||||||
"golang.org/x/exp v0.0.0-20220722155223-a9213eeb770e"
|
|
||||||
"golang.org/x/exp v0.0.0-20220722155223-a9213eeb770e/go.mod"
|
|
||||||
"golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod"
|
|
||||||
"golang.org/x/net v0.0.0-20190603091049-60506f45cf65/go.mod"
|
|
||||||
"golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod"
|
|
||||||
"golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2/go.mod"
|
|
||||||
"golang.org/x/net v0.0.0-20220728211354-c7608f3a8462"
|
|
||||||
"golang.org/x/net v0.0.0-20220728211354-c7608f3a8462/go.mod"
|
|
||||||
"golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod"
|
|
||||||
"golang.org/x/oauth2 v0.0.0-20220722155238-128564f6959c"
|
|
||||||
"golang.org/x/oauth2 v0.0.0-20220722155238-128564f6959c/go.mod"
|
|
||||||
"golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod"
|
|
||||||
"golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod"
|
|
||||||
"golang.org/x/sys v0.0.0-20190222072716-a9d3bda3a223/go.mod"
|
|
||||||
"golang.org/x/sys v0.0.0-20191008105621-543471e840be/go.mod"
|
|
||||||
"golang.org/x/sys v0.0.0-20191120155948-bd437916bb0e/go.mod"
|
|
||||||
"golang.org/x/sys v0.0.0-20200116001909-b77594299b42/go.mod"
|
|
||||||
"golang.org/x/sys v0.0.0-20200223170610-d5e6a3e2c0ae/go.mod"
|
|
||||||
"golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod"
|
|
||||||
"golang.org/x/sys v0.0.0-20210423082822-04245dca01da/go.mod"
|
|
||||||
"golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1/go.mod"
|
|
||||||
"golang.org/x/sys v0.0.0-20210630005230-0f9fa26af87c/go.mod"
|
|
||||||
"golang.org/x/sys v0.0.0-20210927094055-39ccf1dd6fa6/go.mod"
|
|
||||||
"golang.org/x/sys v0.0.0-20211007075335-d3039528d8ac/go.mod"
|
|
||||||
"golang.org/x/sys v0.0.0-20220310020820-b874c991c1a5/go.mod"
|
|
||||||
"golang.org/x/sys v0.0.0-20220315194320-039c03cc5b86/go.mod"
|
|
||||||
"golang.org/x/sys v0.0.0-20220731174439-a90be440212d"
|
|
||||||
"golang.org/x/sys v0.0.0-20220731174439-a90be440212d/go.mod"
|
|
||||||
"golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod"
|
|
||||||
"golang.org/x/term v0.0.0-20220722155259-a9ba230a4035"
|
|
||||||
"golang.org/x/term v0.0.0-20220722155259-a9ba230a4035/go.mod"
|
|
||||||
"golang.org/x/text v0.3.0/go.mod"
|
|
||||||
"golang.org/x/text v0.3.2/go.mod"
|
|
||||||
"golang.org/x/text v0.3.3/go.mod"
|
|
||||||
"golang.org/x/text v0.3.6/go.mod"
|
|
||||||
"golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod"
|
|
||||||
"golang.org/x/tools v0.0.0-20190624222133-a101b041ded4/go.mod"
|
|
||||||
"golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod"
|
|
||||||
"google.golang.org/appengine v1.1.0/go.mod"
|
|
||||||
"google.golang.org/appengine v1.6.7"
|
|
||||||
"google.golang.org/appengine v1.6.7/go.mod"
|
|
||||||
"google.golang.org/protobuf v1.26.0-rc.1/go.mod"
|
|
||||||
"google.golang.org/protobuf v1.26.0/go.mod"
|
|
||||||
"google.golang.org/protobuf v1.28.1"
|
|
||||||
"google.golang.org/protobuf v1.28.1/go.mod"
|
|
||||||
"gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod"
|
|
||||||
"gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod"
|
|
||||||
"gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c"
|
|
||||||
"gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c/go.mod"
|
|
||||||
"gopkg.in/errgo.v2 v2.1.0/go.mod"
|
|
||||||
"gopkg.in/yaml.v3 v3.0.0-20200121175148-a6ecf24a6d71/go.mod"
|
|
||||||
"gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod"
|
|
||||||
"gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b/go.mod"
|
|
||||||
"gopkg.in/yaml.v3 v3.0.1"
|
|
||||||
"gopkg.in/yaml.v3 v3.0.1/go.mod"
|
|
||||||
"gotest.tools/v3 v3.0.2"
|
|
||||||
"gotest.tools/v3 v3.0.2/go.mod"
|
|
||||||
"rsc.io/qr v0.2.0"
|
|
||||||
"rsc.io/qr v0.2.0/go.mod"
|
|
||||||
)
|
|
||||||
|
|
||||||
go-module_set_globals
|
|
||||||
|
|
||||||
DESCRIPTION="a simple but powerful password manager for the terminal"
|
|
||||||
HOMEPAGE="https://www.gopass.pw/"
|
|
||||||
# These have the same raw content, just different paths in them upstream
|
|
||||||
# The COMMIT file is still missing!
|
|
||||||
RAW_SRC_URI="https://github.com/gopasspw/gopass/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
|
||||||
RELEASE_SRC_URI="https://github.com/gopasspw/gopass/releases/download/v${PV}/${P}.tar.gz"
|
|
||||||
COMMIT="4fdac8b"
|
|
||||||
SRC_URI="${EGO_SUM_SRC_URI}"
|
|
||||||
SRC_URI+=" ${RAW_SRC_URI}"
|
|
||||||
|
|
||||||
LICENSE="MIT Apache-2.0 BSD MPL-2.0 BSD-2"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="amd64 ~ppc64 ~riscv ~x86"
|
|
||||||
|
|
||||||
RESTRICT="strip test"
|
|
||||||
|
|
||||||
QA_PRESTRIPPED="usr/bin/gopass"
|
|
||||||
|
|
||||||
DEPEND=">=dev-lang/go-1.18"
|
|
||||||
RDEPEND="
|
|
||||||
dev-vcs/git
|
|
||||||
>=app-crypt/gnupg-2
|
|
||||||
"
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
default
|
|
||||||
# If this file does not exist, the makefile will call Git, and then fail.
|
|
||||||
test -e "${S}/COMMIT" || echo "$COMMIT" >"${S}/COMMIT"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
emake install DESTDIR="${ED}/usr"
|
|
||||||
einstalldocs
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
optfeature "browser integration" app-admin/gopass-jsonapi
|
|
||||||
optfeature "git credentials helper" app-admin/git-credential-gopass
|
|
||||||
optfeature "haveibeenpwnd.com integration" app-admin/gopass-hibp
|
|
||||||
optfeature "summon secrets helper" app-admin/gopass-summon-provider
|
|
||||||
}
|
|
@ -0,0 +1,286 @@
|
|||||||
|
# Copyright 1999-2023 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
inherit pam libtool tmpfiles toolchain-funcs
|
||||||
|
|
||||||
|
MY_P="${P/_/}"
|
||||||
|
MY_P="${MY_P/beta/b}"
|
||||||
|
|
||||||
|
DESCRIPTION="Allows users or groups to run commands as other users"
|
||||||
|
HOMEPAGE="https://www.sudo.ws/"
|
||||||
|
|
||||||
|
if [[ ${PV} == 9999 ]] ; then
|
||||||
|
inherit mercurial
|
||||||
|
EHG_REPO_URI="https://www.sudo.ws/repos/sudo"
|
||||||
|
else
|
||||||
|
VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}"/usr/share/openpgp-keys/sudo.ws.asc
|
||||||
|
inherit verify-sig
|
||||||
|
|
||||||
|
uri_prefix=
|
||||||
|
case ${P} in
|
||||||
|
*_beta*|*_rc*) uri_prefix=beta/ ;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
SRC_URI="
|
||||||
|
https://www.sudo.ws/sudo/dist/${uri_prefix}${MY_P}.tar.gz
|
||||||
|
ftp://ftp.sudo.ws/pub/sudo/${uri_prefix}${MY_P}.tar.gz
|
||||||
|
verify-sig? (
|
||||||
|
https://www.sudo.ws/sudo/dist/${uri_prefix}${MY_P}.tar.gz.sig
|
||||||
|
ftp://ftp.sudo.ws/pub/sudo/${uri_prefix}${MY_P}.tar.gz.sig
|
||||||
|
)
|
||||||
|
"
|
||||||
|
|
||||||
|
if [[ ${PV} != *_beta* && ${PV} != *_rc* ]] ; then
|
||||||
|
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~sparc-solaris"
|
||||||
|
fi
|
||||||
|
|
||||||
|
BDEPEND+="verify-sig? ( sec-keys/openpgp-keys-sudo )"
|
||||||
|
fi
|
||||||
|
|
||||||
|
S="${WORKDIR}/${MY_P}"
|
||||||
|
|
||||||
|
# Basic license is ISC-style as-is, some files are released under
|
||||||
|
# 3-clause BSD license
|
||||||
|
LICENSE="ISC BSD"
|
||||||
|
SLOT="0"
|
||||||
|
IUSE="gcrypt ldap nls offensive pam sasl +secure-path selinux +sendmail skey ssl sssd"
|
||||||
|
|
||||||
|
DEPEND="
|
||||||
|
sys-libs/zlib:=
|
||||||
|
virtual/libcrypt:=
|
||||||
|
gcrypt? ( dev-libs/libgcrypt:= )
|
||||||
|
ldap? (
|
||||||
|
>=net-nds/openldap-2.1.30-r1:=
|
||||||
|
sasl? (
|
||||||
|
dev-libs/cyrus-sasl
|
||||||
|
net-nds/openldap:=[sasl]
|
||||||
|
)
|
||||||
|
)
|
||||||
|
pam? ( sys-libs/pam )
|
||||||
|
sasl? ( dev-libs/cyrus-sasl )
|
||||||
|
selinux? ( sys-libs/libselinux )
|
||||||
|
skey? ( >=sys-auth/skey-1.1.5-r1 )
|
||||||
|
ssl? ( dev-libs/openssl:0= )
|
||||||
|
sssd? ( sys-auth/sssd[sudo] )
|
||||||
|
"
|
||||||
|
RDEPEND="
|
||||||
|
${DEPEND}
|
||||||
|
>=app-misc/editor-wrapper-3
|
||||||
|
virtual/editor
|
||||||
|
ldap? ( dev-lang/perl )
|
||||||
|
pam? ( sys-auth/pambase )
|
||||||
|
selinux? ( sec-policy/selinux-sudo )
|
||||||
|
sendmail? ( virtual/mta )
|
||||||
|
"
|
||||||
|
BDEPEND+="
|
||||||
|
sys-devel/bison
|
||||||
|
virtual/pkgconfig
|
||||||
|
"
|
||||||
|
|
||||||
|
REQUIRED_USE="
|
||||||
|
?? ( pam skey )
|
||||||
|
?? ( gcrypt ssl )
|
||||||
|
"
|
||||||
|
|
||||||
|
MAKEOPTS+=" SAMPLES="
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
default
|
||||||
|
|
||||||
|
elibtoolize
|
||||||
|
}
|
||||||
|
|
||||||
|
set_secure_path() {
|
||||||
|
# First extract the default ROOTPATH from build env
|
||||||
|
SECURE_PATH=$(unset ROOTPATH; . "${EPREFIX}"/etc/profile.env; echo "${ROOTPATH}")
|
||||||
|
|
||||||
|
case "${SECURE_PATH}" in
|
||||||
|
*/usr/sbin*)
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
SECURE_PATH=$(unset PATH; . "${EPREFIX}"/etc/profile.env; echo "${PATH}")
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
if [[ -z ${SECURE_PATH} ]] ; then
|
||||||
|
ewarn " Failed to detect SECURE_PATH, please report this"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Then remove duplicate path entries
|
||||||
|
cleanpath() {
|
||||||
|
local newpath thisp IFS=:
|
||||||
|
for thisp in $1 ; do
|
||||||
|
if [[ :${newpath}: != *:${thisp}:* ]] ; then
|
||||||
|
newpath+=:${thisp}
|
||||||
|
else
|
||||||
|
einfo " Duplicate entry ${thisp} removed..."
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
SECURE_PATH=${newpath#:}
|
||||||
|
}
|
||||||
|
cleanpath /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin${SECURE_PATH:+:${SECURE_PATH}}
|
||||||
|
|
||||||
|
# Finally, strip gcc paths, bug #136027
|
||||||
|
rmpath() {
|
||||||
|
local e newpath thisp IFS=:
|
||||||
|
for thisp in ${SECURE_PATH} ; do
|
||||||
|
for e ; do
|
||||||
|
[[ ${thisp} == ${e} ]] && continue 2 ;
|
||||||
|
done
|
||||||
|
newpath+=:${thisp}
|
||||||
|
done
|
||||||
|
SECURE_PATH=${newpath#:}
|
||||||
|
}
|
||||||
|
rmpath '*/gcc-bin/*' '*/gnat-gcc-bin/*' '*/gnat-gcc/*'
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
local SECURE_PATH
|
||||||
|
|
||||||
|
set_secure_path
|
||||||
|
|
||||||
|
# bug #767712
|
||||||
|
tc-export PKG_CONFIG
|
||||||
|
|
||||||
|
# - audit: somebody got to explain me how I can test this before I
|
||||||
|
# enable it.. - Diego
|
||||||
|
# - plugindir: autoconf code is crappy and does not delay evaluation
|
||||||
|
# until `make` time, so we have to use a full path here rather than
|
||||||
|
# basing off other values.
|
||||||
|
local myeconfargs=(
|
||||||
|
# We set all of the relevant options by ourselves (patched
|
||||||
|
# into the toolchain) and setting these in the build system
|
||||||
|
# actually causes a downgrade when using e.g. -D_FORTIFY_SOURCE=3
|
||||||
|
# (it'll downgrade to =2). So, this has no functional effect on
|
||||||
|
# the hardening for users. It's safe.
|
||||||
|
--disable-hardening
|
||||||
|
|
||||||
|
# requires some python eclass
|
||||||
|
--disable-python
|
||||||
|
--enable-tmpfiles.d="${EPREFIX}"/usr/lib/tmpfiles.d
|
||||||
|
--enable-zlib=system
|
||||||
|
--with-editor="${EPREFIX}"/usr/libexec/editor
|
||||||
|
--with-env-editor
|
||||||
|
--with-plugindir="${EPREFIX}"/usr/$(get_libdir)/sudo
|
||||||
|
--with-rundir="${EPREFIX}"/run/sudo
|
||||||
|
--with-vardir="${EPREFIX}"/var/db/sudo
|
||||||
|
--without-linux-audit
|
||||||
|
--without-opie
|
||||||
|
$(use_enable gcrypt)
|
||||||
|
$(use_enable nls)
|
||||||
|
$(use_enable sasl)
|
||||||
|
$(use_enable ssl openssl)
|
||||||
|
$(use_with ldap)
|
||||||
|
$(use_with ldap ldap_conf_file /etc/ldap.conf.sudo)
|
||||||
|
$(use_with offensive insults)
|
||||||
|
$(use_with offensive all-insults)
|
||||||
|
$(use_with pam)
|
||||||
|
$(use_with pam pam-login)
|
||||||
|
$(use_with secure-path secure-path "${SECURE_PATH}")
|
||||||
|
$(use_with selinux)
|
||||||
|
$(use_with sendmail)
|
||||||
|
$(use_with skey)
|
||||||
|
$(use_with sssd)
|
||||||
|
)
|
||||||
|
|
||||||
|
econf "${myeconfargs[@]}"
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
default
|
||||||
|
|
||||||
|
if use ldap ; then
|
||||||
|
dodoc README.LDAP.md
|
||||||
|
|
||||||
|
cat <<-EOF > "${T}"/ldap.conf.sudo
|
||||||
|
# See ldap.conf(5) and README.LDAP.md for details
|
||||||
|
# This file should only be readable by root
|
||||||
|
|
||||||
|
# supported directives: host, port, ssl, ldap_version
|
||||||
|
# uri, binddn, bindpw, sudoers_base, sudoers_debug
|
||||||
|
# tls_{checkpeer,cacertfile,cacertdir,randfile,ciphers,cert,key}
|
||||||
|
EOF
|
||||||
|
|
||||||
|
if use sasl ; then
|
||||||
|
cat <<-EOF >> "${T}"/ldap.conf.sudo
|
||||||
|
|
||||||
|
# SASL directives: use_sasl, sasl_mech, sasl_auth_id
|
||||||
|
# sasl_secprops, rootuse_sasl, rootsasl_auth_id, krb5_ccname
|
||||||
|
EOF
|
||||||
|
fi
|
||||||
|
|
||||||
|
insinto /etc
|
||||||
|
doins "${T}"/ldap.conf.sudo
|
||||||
|
fperms 0440 /etc/ldap.conf.sudo
|
||||||
|
|
||||||
|
insinto /etc/openldap/schema
|
||||||
|
newins docs/schema.OpenLDAP sudo.schema
|
||||||
|
fi
|
||||||
|
|
||||||
|
if use pam ; then
|
||||||
|
pamd_mimic system-auth sudo auth account session
|
||||||
|
pamd_mimic system-auth sudo-i auth account session
|
||||||
|
fi
|
||||||
|
|
||||||
|
keepdir /var/db/sudo/lectured
|
||||||
|
fperms 0700 /var/db/sudo/lectured
|
||||||
|
# bug #652958
|
||||||
|
fperms 0711 /var/db/sudo
|
||||||
|
|
||||||
|
# Don't install into /run as that is a tmpfs most of the time
|
||||||
|
# (bug #504854)
|
||||||
|
rm -rf "${ED}"/run || die
|
||||||
|
|
||||||
|
# bug #697812
|
||||||
|
find "${ED}" -type f -name "*.la" -delete || die
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
tmpfiles_process sudo.conf
|
||||||
|
|
||||||
|
# bug #652958
|
||||||
|
local sudo_db="${EROOT}/var/db/sudo"
|
||||||
|
if [[ "$(stat -c %a "${sudo_db}")" -ne 711 ]] ; then
|
||||||
|
chmod 711 "${sudo_db}" || die
|
||||||
|
fi
|
||||||
|
|
||||||
|
if use ldap ; then
|
||||||
|
ewarn
|
||||||
|
ewarn "sudo uses the ${ROOT}/etc/ldap.conf.sudo file for ldap configuration."
|
||||||
|
ewarn
|
||||||
|
if grep -qs '^[[:space:]]*sudoers:' "${ROOT}"/etc/nsswitch.conf ; then
|
||||||
|
ewarn "In 1.7 series, LDAP is no more consulted, unless explicitly"
|
||||||
|
ewarn "configured in ${ROOT}/etc/nsswitch.conf."
|
||||||
|
ewarn
|
||||||
|
ewarn "To make use of LDAP, add this line to your ${ROOT}/etc/nsswitch.conf:"
|
||||||
|
ewarn " sudoers: ldap files"
|
||||||
|
ewarn
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
if use prefix ; then
|
||||||
|
ewarn
|
||||||
|
ewarn "To use sudo on Prefix, you need to change file ownership and permissions"
|
||||||
|
ewarn "with root privileges, as follows:"
|
||||||
|
ewarn
|
||||||
|
ewarn " # chown root:root ${EPREFIX}/usr/bin/sudo"
|
||||||
|
ewarn " # chown root:root ${EPREFIX}/usr/lib/sudo/sudoers.so"
|
||||||
|
ewarn " # chown root:root ${EPREFIX}/etc/sudoers"
|
||||||
|
ewarn " # chown root:root ${EPREFIX}/etc/sudoers.d"
|
||||||
|
ewarn " # chown root:root ${EPREFIX}/var/db/sudo"
|
||||||
|
ewarn " # chmod 4111 ${EPREFIX}/usr/bin/sudo"
|
||||||
|
ewarn
|
||||||
|
fi
|
||||||
|
|
||||||
|
elog "To use the -A (askpass) option, you need to install a compatible"
|
||||||
|
elog "password program from the following list. Starred packages will"
|
||||||
|
elog "automatically register for the use with sudo (but will not force"
|
||||||
|
elog "the -A option):"
|
||||||
|
elog ""
|
||||||
|
elog " [*] net-misc/ssh-askpass-fullscreen"
|
||||||
|
elog " net-misc/x11-ssh-askpass"
|
||||||
|
elog ""
|
||||||
|
elog "You can override the choice by setting the SUDO_ASKPASS environmnent"
|
||||||
|
elog "variable to the program you want to use."
|
||||||
|
}
|
@ -1 +1,2 @@
|
|||||||
DIST yadm-3.2.1.tar.gz 109838 BLAKE2B 4e0b829ca6f74c1300b78831d64fd95250bcea7779cca672707751e38129a7e618e8a69b2f3862ac6e87cb086de09380e4e624d54c4672c125d16ea8cc3ea11c SHA512 8ce9bc66a33fc3841e47293e002b834fac5760dc771ede37adfc47a9e911ddade23c0ef5379cf8f00cf9b24853abbc1263198b8439ca4e8a3acd5787fbd935cb
|
DIST yadm-3.2.1.tar.gz 109838 BLAKE2B 4e0b829ca6f74c1300b78831d64fd95250bcea7779cca672707751e38129a7e618e8a69b2f3862ac6e87cb086de09380e4e624d54c4672c125d16ea8cc3ea11c SHA512 8ce9bc66a33fc3841e47293e002b834fac5760dc771ede37adfc47a9e911ddade23c0ef5379cf8f00cf9b24853abbc1263198b8439ca4e8a3acd5787fbd935cb
|
||||||
|
DIST yadm-3.2.2.tar.gz 111249 BLAKE2B 24dceda15f8bcb85df64fce987409feb4a94fac4dacb34f246ee11557e280ca1df3569f6b110fb2de02e6b756e82261a4da1896187b670df1c5e8edf123353cc SHA512 c61da3f644c2f587079fd717d4ef566861f20224f287906ef5b6d07169bc5f02aef7974afd8d4441267a92417a4fd0c7edda562b8f0cf2fc104c91fc0f5f85ff
|
||||||
|
@ -0,0 +1,90 @@
|
|||||||
|
# Copyright 1999-2023 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
PYTHON_COMPAT=( python3_{9..10} )
|
||||||
|
inherit bash-completion-r1 python-any-r1
|
||||||
|
|
||||||
|
DESCRIPTION="Git based tool for managing dotfiles"
|
||||||
|
HOMEPAGE="https://github.com/TheLocehiliosan/yadm"
|
||||||
|
SRC_URI="https://github.com/TheLocehiliosan/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="GPL-3+"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~ppc64 ~x86"
|
||||||
|
IUSE="test"
|
||||||
|
|
||||||
|
RESTRICT="!test? ( test )"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
app-crypt/gnupg
|
||||||
|
app-shells/bash
|
||||||
|
dev-vcs/git
|
||||||
|
"
|
||||||
|
|
||||||
|
BDEPEND="
|
||||||
|
test? (
|
||||||
|
${RDEPEND}
|
||||||
|
${PYTHON_DEPS}
|
||||||
|
$(python_gen_any_dep '
|
||||||
|
dev-python/pytest[${PYTHON_USEDEP}]
|
||||||
|
')
|
||||||
|
dev-tcltk/expect
|
||||||
|
)
|
||||||
|
"
|
||||||
|
|
||||||
|
DOCS=( CHANGES README.md ${PN}.md )
|
||||||
|
|
||||||
|
python_check_deps() {
|
||||||
|
python_has_version -b "dev-python/pytest[${PYTHON_USEDEP}]"
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_setup() {
|
||||||
|
use test && python-any-r1_pkg_setup
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
emake "${PN}.md"
|
||||||
|
}
|
||||||
|
|
||||||
|
src_test() {
|
||||||
|
# prevent system config having influence on tests
|
||||||
|
local -x GIT_CONFIG_NOSYSTEM=1
|
||||||
|
|
||||||
|
# prevent git branch warning, it confuses tests
|
||||||
|
local -x GIT_CONFIG_GLOBAL="${HOME}/.gitconfig"
|
||||||
|
git config --global init.defaultBranch master || die "setting default branch name failed"
|
||||||
|
|
||||||
|
# un-hardcode path to tmp, otherwise encryption tests fail
|
||||||
|
sed -e "/^cache_dir/s@/tmp@${T}@" -i pytest.ini || die "cannot patch cache dir"
|
||||||
|
|
||||||
|
local EPYTEST_DESELECT=(
|
||||||
|
test/test_alt.py # requires envtpl, not packaged
|
||||||
|
test/test_compat_jinja.py # ditto
|
||||||
|
test/test_unit_template_j2.py # ditto
|
||||||
|
test/test_syntax.py # needs new yamllint, not packaged yet
|
||||||
|
test/test_upgrade.py::test_upgrade # needs old version of yadm
|
||||||
|
test/test_compat_alt.py # tests obsolete features, broken
|
||||||
|
test/test_unit_template_esh.py # requires esh, not packaged
|
||||||
|
test/test_encryption.py::test_symmetric_encrypt[clean-encrypt_exists-bad_phrase] # hangs in sandbox
|
||||||
|
test/test_encryption.py::test_symmetric_encrypt[overwrite-encrypt_exists-bad_phrase] # ditto
|
||||||
|
)
|
||||||
|
|
||||||
|
epytest
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
einstalldocs
|
||||||
|
|
||||||
|
dobin "${PN}"
|
||||||
|
doman "${PN}.1"
|
||||||
|
|
||||||
|
dobashcomp completion/bash/yadm
|
||||||
|
|
||||||
|
insinto /usr/share/zsh/site-functions
|
||||||
|
doins completion/zsh/_${PN}
|
||||||
|
|
||||||
|
insinto /usr/share/fish/vendor_completions.d
|
||||||
|
doins completion/fish/${PN}.fish
|
||||||
|
}
|
Binary file not shown.
@ -0,0 +1,139 @@
|
|||||||
|
# Copyright 1999-2023 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
inherit multilib-minimal toolchain-funcs verify-sig
|
||||||
|
|
||||||
|
DESCRIPTION="Multi-format archive and compression library"
|
||||||
|
HOMEPAGE="
|
||||||
|
https://www.libarchive.org/
|
||||||
|
https://github.com/libarchive/libarchive/
|
||||||
|
"
|
||||||
|
SRC_URI="
|
||||||
|
https://www.libarchive.de/downloads/${P}.tar.xz
|
||||||
|
verify-sig? ( https://www.libarchive.de/downloads/${P}.tar.xz.asc )
|
||||||
|
"
|
||||||
|
|
||||||
|
LICENSE="BSD BSD-2 BSD-4 public-domain"
|
||||||
|
SLOT="0/13"
|
||||||
|
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||||
|
IUSE="acl blake2 +bzip2 +e2fsprogs expat +iconv lz4 +lzma lzo nettle static-libs xattr zstd"
|
||||||
|
VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/libarchive.org.asc
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
sys-libs/zlib[${MULTILIB_USEDEP}]
|
||||||
|
acl? ( virtual/acl[${MULTILIB_USEDEP}] )
|
||||||
|
blake2? ( app-crypt/libb2[${MULTILIB_USEDEP}] )
|
||||||
|
bzip2? ( app-arch/bzip2[${MULTILIB_USEDEP}] )
|
||||||
|
expat? ( dev-libs/expat[${MULTILIB_USEDEP}] )
|
||||||
|
!expat? ( dev-libs/libxml2[${MULTILIB_USEDEP}] )
|
||||||
|
iconv? ( virtual/libiconv[${MULTILIB_USEDEP}] )
|
||||||
|
kernel_linux? (
|
||||||
|
xattr? ( sys-apps/attr[${MULTILIB_USEDEP}] )
|
||||||
|
)
|
||||||
|
dev-libs/openssl:0=[${MULTILIB_USEDEP}]
|
||||||
|
lz4? ( >=app-arch/lz4-0_p131:0=[${MULTILIB_USEDEP}] )
|
||||||
|
lzma? ( >=app-arch/xz-utils-5.2.5-r1[${MULTILIB_USEDEP}] )
|
||||||
|
lzo? ( >=dev-libs/lzo-2[${MULTILIB_USEDEP}] )
|
||||||
|
nettle? ( dev-libs/nettle:0=[${MULTILIB_USEDEP}] )
|
||||||
|
zstd? ( app-arch/zstd[${MULTILIB_USEDEP}] )
|
||||||
|
"
|
||||||
|
DEPEND="${RDEPEND}
|
||||||
|
kernel_linux? (
|
||||||
|
virtual/os-headers
|
||||||
|
e2fsprogs? ( sys-fs/e2fsprogs[${MULTILIB_USEDEP}] )
|
||||||
|
)
|
||||||
|
"
|
||||||
|
BDEPEND="
|
||||||
|
verify-sig? ( >=sec-keys/openpgp-keys-libarchive-20221209 )
|
||||||
|
"
|
||||||
|
|
||||||
|
# false positives (checks for libc-defined hash functions)
|
||||||
|
QA_CONFIG_IMPL_DECL_SKIP=(
|
||||||
|
SHA256_Init SHA256_Update SHA256_Final
|
||||||
|
SHA384_Init SHA384_Update SHA384_Final
|
||||||
|
SHA512_Init SHA512_Update SHA512_Final
|
||||||
|
)
|
||||||
|
|
||||||
|
multilib_src_configure() {
|
||||||
|
export ac_cv_header_ext2fs_ext2_fs_h=$(usex e2fsprogs) #354923
|
||||||
|
|
||||||
|
local myconf=(
|
||||||
|
$(use_enable acl)
|
||||||
|
$(use_enable static-libs static)
|
||||||
|
$(use_enable xattr)
|
||||||
|
$(use_with blake2 libb2)
|
||||||
|
$(use_with bzip2 bz2lib)
|
||||||
|
$(use_with expat)
|
||||||
|
$(use_with !expat xml2)
|
||||||
|
$(use_with iconv)
|
||||||
|
$(use_with lz4)
|
||||||
|
$(use_with lzma)
|
||||||
|
$(use_with lzo lzo2)
|
||||||
|
$(use_with nettle)
|
||||||
|
--with-zlib
|
||||||
|
$(use_with zstd)
|
||||||
|
|
||||||
|
# Windows-specific
|
||||||
|
--without-cng
|
||||||
|
)
|
||||||
|
if multilib_is_native_abi ; then
|
||||||
|
myconf+=(
|
||||||
|
--enable-bsdcat="$(tc-is-static-only && echo static || echo shared)"
|
||||||
|
--enable-bsdcpio="$(tc-is-static-only && echo static || echo shared)"
|
||||||
|
--enable-bsdtar="$(tc-is-static-only && echo static || echo shared)"
|
||||||
|
)
|
||||||
|
else
|
||||||
|
myconf+=(
|
||||||
|
--disable-bsdcat
|
||||||
|
--disable-bsdcpio
|
||||||
|
--disable-bsdtar
|
||||||
|
)
|
||||||
|
fi
|
||||||
|
|
||||||
|
ECONF_SOURCE="${S}" econf "${myconf[@]}"
|
||||||
|
}
|
||||||
|
|
||||||
|
multilib_src_compile() {
|
||||||
|
if multilib_is_native_abi ; then
|
||||||
|
emake
|
||||||
|
else
|
||||||
|
emake libarchive.la
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
src_test() {
|
||||||
|
mkdir -p "${T}"/bin || die
|
||||||
|
# tests fail when lbzip2[symlink] is used in place of ref bunzip2
|
||||||
|
ln -s "${BROOT}/bin/bunzip2" "${T}"/bin || die
|
||||||
|
local -x PATH=${T}/bin:${PATH}
|
||||||
|
multilib-minimal_src_test
|
||||||
|
}
|
||||||
|
|
||||||
|
multilib_src_test() {
|
||||||
|
# sandbox is breaking long symlink behavior
|
||||||
|
local -x SANDBOX_ON=0
|
||||||
|
local -x LD_PRELOAD=
|
||||||
|
# some locales trigger different output that breaks tests
|
||||||
|
local -x LC_ALL=C
|
||||||
|
emake check
|
||||||
|
}
|
||||||
|
|
||||||
|
multilib_src_install() {
|
||||||
|
if multilib_is_native_abi ; then
|
||||||
|
emake DESTDIR="${D}" install
|
||||||
|
else
|
||||||
|
local install_targets=(
|
||||||
|
install-includeHEADERS
|
||||||
|
install-libLTLIBRARIES
|
||||||
|
install-pkgconfigDATA
|
||||||
|
)
|
||||||
|
emake DESTDIR="${D}" "${install_targets[@]}"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Libs.private: should be used from libarchive.pc instead
|
||||||
|
find "${ED}" -type f -name "*.la" -delete || die
|
||||||
|
# https://github.com/libarchive/libarchive/issues/1766
|
||||||
|
sed -e '/Requires\.private/s:iconv::' \
|
||||||
|
-i "${ED}/usr/$(get_libdir)/pkgconfig/libarchive.pc" || die
|
||||||
|
}
|
@ -1,126 +0,0 @@
|
|||||||
# Copyright 1999-2022 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
inherit multilib-minimal toolchain-funcs verify-sig
|
|
||||||
|
|
||||||
DESCRIPTION="Multi-format archive and compression library"
|
|
||||||
HOMEPAGE="https://www.libarchive.org/"
|
|
||||||
SRC_URI="
|
|
||||||
https://www.libarchive.de/downloads/${P}.tar.xz
|
|
||||||
verify-sig? ( https://www.libarchive.de/downloads/${P}.tar.xz.asc )
|
|
||||||
"
|
|
||||||
|
|
||||||
LICENSE="BSD BSD-2 BSD-4 public-domain"
|
|
||||||
SLOT="0/13"
|
|
||||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
|
||||||
IUSE="acl blake2 +bzip2 +e2fsprogs expat +iconv lz4 +lzma lzo nettle static-libs xattr zstd"
|
|
||||||
VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/libarchive.org.asc
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
sys-libs/zlib[${MULTILIB_USEDEP}]
|
|
||||||
acl? ( virtual/acl[${MULTILIB_USEDEP}] )
|
|
||||||
blake2? ( app-crypt/libb2[${MULTILIB_USEDEP}] )
|
|
||||||
bzip2? ( app-arch/bzip2[${MULTILIB_USEDEP}] )
|
|
||||||
expat? ( dev-libs/expat[${MULTILIB_USEDEP}] )
|
|
||||||
!expat? ( dev-libs/libxml2[${MULTILIB_USEDEP}] )
|
|
||||||
iconv? ( virtual/libiconv[${MULTILIB_USEDEP}] )
|
|
||||||
kernel_linux? (
|
|
||||||
xattr? ( sys-apps/attr[${MULTILIB_USEDEP}] )
|
|
||||||
)
|
|
||||||
dev-libs/openssl:0=[${MULTILIB_USEDEP}]
|
|
||||||
lz4? ( >=app-arch/lz4-0_p131:0=[${MULTILIB_USEDEP}] )
|
|
||||||
lzma? ( >=app-arch/xz-utils-5.2.5-r1[${MULTILIB_USEDEP}] )
|
|
||||||
lzo? ( >=dev-libs/lzo-2[${MULTILIB_USEDEP}] )
|
|
||||||
nettle? ( dev-libs/nettle:0=[${MULTILIB_USEDEP}] )
|
|
||||||
zstd? ( app-arch/zstd[${MULTILIB_USEDEP}] )
|
|
||||||
"
|
|
||||||
DEPEND="${RDEPEND}
|
|
||||||
kernel_linux? (
|
|
||||||
virtual/os-headers
|
|
||||||
e2fsprogs? ( sys-fs/e2fsprogs[${MULTILIB_USEDEP}] )
|
|
||||||
)
|
|
||||||
"
|
|
||||||
BDEPEND="
|
|
||||||
verify-sig? ( >=sec-keys/openpgp-keys-libarchive-20221209 )
|
|
||||||
"
|
|
||||||
|
|
||||||
multilib_src_configure() {
|
|
||||||
export ac_cv_header_ext2fs_ext2_fs_h=$(usex e2fsprogs) #354923
|
|
||||||
|
|
||||||
local myconf=(
|
|
||||||
$(use_enable acl)
|
|
||||||
$(use_enable static-libs static)
|
|
||||||
$(use_enable xattr)
|
|
||||||
$(use_with blake2 libb2)
|
|
||||||
$(use_with bzip2 bz2lib)
|
|
||||||
$(use_with expat)
|
|
||||||
$(use_with !expat xml2)
|
|
||||||
$(use_with iconv)
|
|
||||||
$(use_with lz4)
|
|
||||||
$(use_with lzma)
|
|
||||||
$(use_with lzo lzo2)
|
|
||||||
$(use_with nettle)
|
|
||||||
--with-zlib
|
|
||||||
$(use_with zstd)
|
|
||||||
|
|
||||||
# Windows-specific
|
|
||||||
--without-cng
|
|
||||||
)
|
|
||||||
if multilib_is_native_abi ; then
|
|
||||||
myconf+=(
|
|
||||||
--enable-bsdcat="$(tc-is-static-only && echo static || echo shared)"
|
|
||||||
--enable-bsdcpio="$(tc-is-static-only && echo static || echo shared)"
|
|
||||||
--enable-bsdtar="$(tc-is-static-only && echo static || echo shared)"
|
|
||||||
)
|
|
||||||
else
|
|
||||||
myconf+=(
|
|
||||||
--disable-bsdcat
|
|
||||||
--disable-bsdcpio
|
|
||||||
--disable-bsdtar
|
|
||||||
)
|
|
||||||
fi
|
|
||||||
|
|
||||||
ECONF_SOURCE="${S}" econf "${myconf[@]}"
|
|
||||||
}
|
|
||||||
|
|
||||||
multilib_src_compile() {
|
|
||||||
if multilib_is_native_abi ; then
|
|
||||||
emake
|
|
||||||
else
|
|
||||||
emake libarchive.la
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_test() {
|
|
||||||
mkdir -p "${T}"/bin || die
|
|
||||||
# tests fail when lbzip2[symlink] is used in place of ref bunzip2
|
|
||||||
ln -s "${BROOT}/bin/bunzip2" "${T}"/bin || die
|
|
||||||
local -x PATH=${T}/bin:${PATH}
|
|
||||||
multilib-minimal_src_test
|
|
||||||
}
|
|
||||||
|
|
||||||
multilib_src_test() {
|
|
||||||
# sandbox is breaking long symlink behavior
|
|
||||||
local -x SANDBOX_ON=0
|
|
||||||
local -x LD_PRELOAD=
|
|
||||||
# some locales trigger different output that breaks tests
|
|
||||||
local -x LC_ALL=C
|
|
||||||
emake check
|
|
||||||
}
|
|
||||||
|
|
||||||
multilib_src_install() {
|
|
||||||
if multilib_is_native_abi ; then
|
|
||||||
emake DESTDIR="${D}" install
|
|
||||||
else
|
|
||||||
local install_targets=(
|
|
||||||
install-includeHEADERS
|
|
||||||
install-libLTLIBRARIES
|
|
||||||
install-pkgconfigDATA
|
|
||||||
)
|
|
||||||
emake DESTDIR="${D}" "${install_targets[@]}"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Libs.private: should be used from libarchive.pc instead
|
|
||||||
find "${ED}" -type f -name "*.la" -delete || die
|
|
||||||
}
|
|
@ -1 +1,2 @@
|
|||||||
|
DIST p7zip-17.05.tar.gz 6722048 BLAKE2B 3aa653b7875bb1b5ce96af7f7b8f4097860a9e5f0e172803fde6917ae4b7ef9c9e06d1daa31b7e33bb4ff91302972e8ece10f846bfa152fa6c783b234ac77ed3 SHA512 973fd906eaf376ca7d1d0738bb9aa137dcae3a6b17f974d3afc6bbb4efab4c7afa78e3dc9fbdf7b6d37630c9986ddaca7afc209ba18da1ed27944ee88a321a55
|
||||||
DIST p7zip_16.02_src_all.tar.bz2 4239909 BLAKE2B 075356fba5284cbb124e30c36364a910ae5a7ac6bee8a8fb682c5a7ce2f1870ef83d3160c84f8dabad1d616c13d642cba1f19fb9384160d21590cf678dd8f1a6 SHA512 d2c4d53817f96bb4c7683f42045198d4cd509cfc9c3e2cb85c8d9dc4ab6dfa7496449edeac4e300ecf986a9cbbc90bd8f8feef8156895d94617c04e507add55f
|
DIST p7zip_16.02_src_all.tar.bz2 4239909 BLAKE2B 075356fba5284cbb124e30c36364a910ae5a7ac6bee8a8fb682c5a7ce2f1870ef83d3160c84f8dabad1d616c13d642cba1f19fb9384160d21590cf678dd8f1a6 SHA512 d2c4d53817f96bb4c7683f42045198d4cd509cfc9c3e2cb85c8d9dc4ab6dfa7496449edeac4e300ecf986a9cbbc90bd8f8feef8156895d94617c04e507add55f
|
||||||
|
@ -0,0 +1,142 @@
|
|||||||
|
# Copyright 1999-2023 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
WX_GTK_VER="3.0-gtk3"
|
||||||
|
inherit multilib toolchain-funcs wrapper wxwidgets xdg
|
||||||
|
|
||||||
|
DESCRIPTION="Port of 7-Zip archiver for Unix"
|
||||||
|
HOMEPAGE="https://github.com/p7zip-project/p7zip"
|
||||||
|
SRC_URI="https://github.com/p7zip-project/p7zip/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
#S="${WORKDIR}/${PN}-${PV}"
|
||||||
|
|
||||||
|
LICENSE="LGPL-2.1 rar? ( unRAR )"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris"
|
||||||
|
IUSE="abi_x86_x32 doc kde +pch rar static wxwidgets"
|
||||||
|
REQUIRED_USE="kde? ( wxwidgets )"
|
||||||
|
|
||||||
|
RDEPEND="wxwidgets? ( x11-libs/wxGTK:${WX_GTK_VER}[X] )"
|
||||||
|
DEPEND="${RDEPEND}"
|
||||||
|
BDEPEND="
|
||||||
|
abi_x86_x32? ( >=dev-lang/yasm-1.2.0-r1 )
|
||||||
|
amd64? ( dev-lang/yasm )
|
||||||
|
x86? ( dev-lang/nasm )"
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
default
|
||||||
|
|
||||||
|
if ! use pch; then
|
||||||
|
sed "s:PRE_COMPILED_HEADER=StdAfx.h.gch:PRE_COMPILED_HEADER=:g" -i makefile.* || die
|
||||||
|
fi
|
||||||
|
|
||||||
|
sed \
|
||||||
|
-e 's|-m32 ||g' \
|
||||||
|
-e 's|-m64 ||g' \
|
||||||
|
-e 's|-pipe||g' \
|
||||||
|
-e "/[ALL|OPT]FLAGS/s|-s||;/OPTIMIZE/s|-s||" \
|
||||||
|
-e "/CFLAGS=/s|=|+=|" \
|
||||||
|
-e "/CXXFLAGS=/s|=|+=|" \
|
||||||
|
-i makefile* || die
|
||||||
|
|
||||||
|
# remove non-free RAR codec
|
||||||
|
if use rar; then
|
||||||
|
ewarn "Enabling nonfree RAR decompressor"
|
||||||
|
else
|
||||||
|
sed \
|
||||||
|
-e '/Rar/d' \
|
||||||
|
-e '/RAR/d' \
|
||||||
|
-i makefile* CPP/7zip/Bundles/Format7zFree/makefile || die
|
||||||
|
rm -r CPP/7zip/Compress/Rar || die
|
||||||
|
fi
|
||||||
|
|
||||||
|
if use abi_x86_x32; then
|
||||||
|
sed -i -e "/^ASM=/s:amd64:x32:" makefile* || die
|
||||||
|
cp -f makefile.linux_amd64_asm makefile.machine || die
|
||||||
|
elif use amd64; then
|
||||||
|
cp -f makefile.linux_amd64_asm makefile.machine || die
|
||||||
|
elif use x86; then
|
||||||
|
cp -f makefile.linux_x86_asm_gcc_4.X makefile.machine || die
|
||||||
|
elif [[ ${CHOST} == *-darwin* ]] ; then
|
||||||
|
# Mac OS X needs this special makefile, because it has a non-GNU
|
||||||
|
# linker, it doesn't matter so much for bitwidth, for it doesn't
|
||||||
|
# do anything with it
|
||||||
|
cp -f makefile.macosx_llvm_64bits makefile.machine || die
|
||||||
|
# bundles have extension .bundle but don't die because USE=-rar
|
||||||
|
# removes the Rar directory
|
||||||
|
sed -i -e '/strcpy(name/s/\.so/.bundle/' \
|
||||||
|
CPP/Windows/DLL.cpp || die
|
||||||
|
sed -i -e '/^PROG=/s/\.so/.bundle/' \
|
||||||
|
CPP/7zip/Bundles/Format7zFree/makefile.list \
|
||||||
|
$(use rar && echo CPP/7zip/Compress/Rar/makefile.list) || die
|
||||||
|
fi
|
||||||
|
|
||||||
|
if use static; then
|
||||||
|
sed -i -e '/^LOCAL_LIBS=/s/LOCAL_LIBS=/&-static /' makefile.machine || die
|
||||||
|
fi
|
||||||
|
|
||||||
|
if use kde || use wxwidgets; then
|
||||||
|
setup-wxwidgets unicode
|
||||||
|
einfo "Preparing dependency list"
|
||||||
|
emake CC="$(tc-getCC)" CXX="$(tc-getCXX)" depend
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
emake CC="$(tc-getCC)" CXX="$(tc-getCXX)" all3
|
||||||
|
if use kde || use wxwidgets; then
|
||||||
|
emake CC="$(tc-getCC)" CXX="$(tc-getCXX)" -- 7zG
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
src_test() {
|
||||||
|
emake test test_7z test_7zr
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
# these wrappers cannot be symlinks, p7zip should be called with full path
|
||||||
|
make_wrapper 7zr /usr/$(get_libdir)/p7zip/7zr
|
||||||
|
make_wrapper 7za /usr/$(get_libdir)/p7zip/7za
|
||||||
|
make_wrapper 7z /usr/$(get_libdir)/p7zip/7z
|
||||||
|
|
||||||
|
if use kde || use wxwidgets; then
|
||||||
|
make_wrapper 7zG /usr/$(get_libdir)/p7zip/7zG
|
||||||
|
|
||||||
|
dobin GUI/p7zipForFilemanager
|
||||||
|
exeinto /usr/$(get_libdir)/p7zip
|
||||||
|
doexe bin/7zG
|
||||||
|
|
||||||
|
insinto /usr/$(get_libdir)/p7zip
|
||||||
|
doins -r GUI/Lang
|
||||||
|
|
||||||
|
insinto /usr/share/icons/hicolor/16x16/apps/
|
||||||
|
newins GUI/p7zip_16_ok.png p7zip.png
|
||||||
|
|
||||||
|
if use kde; then
|
||||||
|
rm GUI/kde4/p7zip_compress.desktop || die
|
||||||
|
insinto /usr/share/kservices5/ServiceMenus
|
||||||
|
doins GUI/kde4/*.desktop
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
dobin contrib/gzip-like_CLI_wrapper_for_7z/p7zip
|
||||||
|
doman contrib/gzip-like_CLI_wrapper_for_7z/man1/p7zip.1
|
||||||
|
|
||||||
|
exeinto /usr/$(get_libdir)/p7zip
|
||||||
|
doexe bin/7z bin/7za bin/7zr bin/7zCon.sfx
|
||||||
|
doexe bin/*$(get_modname)
|
||||||
|
if use rar; then
|
||||||
|
exeinto /usr/$(get_libdir)/p7zip/Codecs
|
||||||
|
doexe bin/Codecs/*$(get_modname)
|
||||||
|
fi
|
||||||
|
|
||||||
|
doman man1/7z.1 man1/7za.1 man1/7zr.1
|
||||||
|
|
||||||
|
dodoc ChangeLog README TODO
|
||||||
|
if use doc; then
|
||||||
|
dodoc DOC/*.txt
|
||||||
|
docinto html
|
||||||
|
dodoc -r DOC/MANUAL/.
|
||||||
|
fi
|
||||||
|
}
|
Binary file not shown.
@ -1,3 +1,3 @@
|
|||||||
DIST bareos-20.0.8.tar.gz 13429247 BLAKE2B 5576cf738fccad0ac39f7c92e8da01f4925d58e4373c8bc19f68ddb8cc8d6a07bf73dfd39bd2111766ccd20ce2da224680b8ab9adf7b84421874ae916e633f75 SHA512 1da30d0ff2f1fda2c4a41ec6d41ec60e3212b1bdb153c7f397931580894f31e36ab84f655d263aed47b9eb21e68ef7e59ec3b7bbd4f2c8981ae04b84733ffb68
|
DIST bareos-20.0.8.tar.gz 13429247 BLAKE2B 5576cf738fccad0ac39f7c92e8da01f4925d58e4373c8bc19f68ddb8cc8d6a07bf73dfd39bd2111766ccd20ce2da224680b8ab9adf7b84421874ae916e633f75 SHA512 1da30d0ff2f1fda2c4a41ec6d41ec60e3212b1bdb153c7f397931580894f31e36ab84f655d263aed47b9eb21e68ef7e59ec3b7bbd4f2c8981ae04b84733ffb68
|
||||||
DIST bareos-21.1.2.tar.gz 11582588 BLAKE2B e7e02b3897d7e377cc79d9d0880da821f1b81d1f54891d89e704e78f51471cdf94b5a02ffe2f4ed54dec38bf37ccc757bf1641c3b678a04e401f48484ed3c941 SHA512 acdc787ff828add93c81b2b7d293dec90f2aa22aa3aee3002662bd30e88dc0dc58b753bb63ca7c111fac6c7eeea888938236c1169f92ed6cec27941036c7b6b1
|
DIST bareos-21.1.6.tar.gz 11654525 BLAKE2B 9b023a07e28098fd93aca57aead5b2bf993b85c52dc8f76870dc53ee88ec5995bcc908397173c7d3504c78214e37311442dd96bb563fa4382ae35904fef69e0a SHA512 e9ccafd379ea2a7ede2b6852fa544e7d4b63b23e9d91e8b747c1aecf5d764b06991a57f658842d48fbbe49335a92f29eea90e56b613a3123246a9cd9e8273f36
|
||||||
DIST bareos-21.1.5.tar.gz 11655244 BLAKE2B 18ef42669cfdd7a663910fa1ce9b46f12eab0aa3a2106e9877dc3d341e9a7b309c21bc1768d4873d626938fcbb2084884a85d6dcef0aa2834b117aef1034d28f SHA512 637c6c0500ff31bb2c87f27d87f908d49836191afb880de4b636432b9c20433ec6f32f5805aaa7fb57f2f99a0201c51802c8d213ee5573642698f74da4cb06b7
|
DIST bareos-22.0.2.tar.gz 14442217 BLAKE2B 34b8a506b608765f803cb788a203b7556dda67ae8bdd2cb82e1c8ea1ea8a07759f381c33b25e743d296417bef1072ccfcfecf536096cc1babdf20c57767cc369 SHA512 924e07aafa44829730f367a29f0a17356d06d5e44bcbe511936ebfe582912439010d8376370530982dfdfe54d8a722ff257648634cea429cbfbd566d2c25e464
|
||||||
|
@ -1,390 +0,0 @@
|
|||||||
# Copyright 1999-2023 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python3_{9..10} )
|
|
||||||
CMAKE_WARN_UNUSED_CLI=no
|
|
||||||
#CMAKE_REMOVE_MODULES=yes
|
|
||||||
|
|
||||||
inherit python-any-r1 systemd cmake tmpfiles
|
|
||||||
|
|
||||||
DESCRIPTION="Featureful client/server network backup suite"
|
|
||||||
HOMEPAGE="https://www.bareos.org/"
|
|
||||||
SRC_URI="https://github.com/${PN}/${PN}/archive/Release/${PV}.tar.gz -> ${P}.tar.gz"
|
|
||||||
|
|
||||||
# some tests still fail propably due to missing bits in src_test -> TODO
|
|
||||||
RESTRICT="mirror test"
|
|
||||||
#RESTRICT="
|
|
||||||
# mirror
|
|
||||||
# !test? ( test )
|
|
||||||
#"
|
|
||||||
|
|
||||||
LICENSE="AGPL-3"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~x86"
|
|
||||||
IUSE="X acl ceph clientonly +director glusterfs ipv6 lmdb
|
|
||||||
logwatch ndmp readline scsi-crypto
|
|
||||||
static +storage-daemon systemd tcpd test vim-syntax vmware xattr"
|
|
||||||
|
|
||||||
# get cmake variables from core/cmake/BareosSetVariableDefaults.cmake
|
|
||||||
DEPEND="
|
|
||||||
!app-backup/bacula
|
|
||||||
acct-group/${PN}
|
|
||||||
!x86? (
|
|
||||||
ceph? ( sys-cluster/ceph )
|
|
||||||
)
|
|
||||||
glusterfs? ( sys-cluster/glusterfs )
|
|
||||||
lmdb? ( dev-db/lmdb )
|
|
||||||
dev-libs/gmp:0
|
|
||||||
!clientonly? (
|
|
||||||
acct-user/${PN}
|
|
||||||
dev-db/postgresql:*[threads]
|
|
||||||
director? (
|
|
||||||
virtual/mta
|
|
||||||
)
|
|
||||||
)
|
|
||||||
logwatch? ( sys-apps/logwatch )
|
|
||||||
ndmp? ( net-libs/rpcsvc-proto )
|
|
||||||
tcpd? ( sys-apps/tcp-wrappers )
|
|
||||||
readline? ( sys-libs/readline:0 )
|
|
||||||
static? (
|
|
||||||
acl? ( virtual/acl[static-libs] )
|
|
||||||
dev-libs/jansson:=[static-libs]
|
|
||||||
dev-libs/lzo[static-libs]
|
|
||||||
dev-libs/openssl:0=[static-libs]
|
|
||||||
sys-libs/ncurses:=[static-libs]
|
|
||||||
sys-libs/zlib[static-libs]
|
|
||||||
)
|
|
||||||
!static? (
|
|
||||||
acl? ( virtual/acl )
|
|
||||||
dev-libs/jansson:=
|
|
||||||
dev-libs/lzo
|
|
||||||
dev-libs/openssl:0=
|
|
||||||
sys-libs/ncurses:=
|
|
||||||
sys-libs/zlib
|
|
||||||
)
|
|
||||||
"
|
|
||||||
RDEPEND="${DEPEND}
|
|
||||||
!clientonly? (
|
|
||||||
storage-daemon? (
|
|
||||||
sys-block/mtx
|
|
||||||
app-arch/mt-st
|
|
||||||
)
|
|
||||||
)
|
|
||||||
vim-syntax? ( || ( app-editors/vim app-editors/gvim ) )
|
|
||||||
"
|
|
||||||
|
|
||||||
BDEPEND="
|
|
||||||
${PYTHON_DEPS}
|
|
||||||
test? (
|
|
||||||
dev-cpp/gtest
|
|
||||||
dev-db/postgresql:*[server,threads]
|
|
||||||
dev-db/mariadb:*[server]
|
|
||||||
)
|
|
||||||
"
|
|
||||||
|
|
||||||
REQUIRED_USE="
|
|
||||||
static? ( clientonly )
|
|
||||||
x86? ( !ceph )
|
|
||||||
"
|
|
||||||
|
|
||||||
S=${WORKDIR}/${PN}-Release-${PV}
|
|
||||||
|
|
||||||
pkg_pretend() {
|
|
||||||
local active_removed_backend=""
|
|
||||||
if has_version "<app-backup/bareos-21[director,mysql]"; then
|
|
||||||
if grep -qhriE "dbdriver.*=.*mysql" /etc/bareos/; then
|
|
||||||
active_removed_backend=MySQL
|
|
||||||
fi
|
|
||||||
elif has_version "<app-backup/bareos-21[director,sqlite]"; then
|
|
||||||
if grep -qhriE "dbdriver.*=.*sqlite" /etc/bareos/; then
|
|
||||||
active_removed_backend=SQLite
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
if [[ -n $active_removed_backend ]]; then
|
|
||||||
ewarn
|
|
||||||
ewarn "You are currently using bareos with the $active_removed_backend"
|
|
||||||
ewarn "catalog backend."
|
|
||||||
ewarn
|
|
||||||
ewarn "THIS IS NOT SUPPORTED ANYMORE"
|
|
||||||
ewarn
|
|
||||||
ewarn "Beginning with version 21.0.0 bareos has dropped support for"
|
|
||||||
ewarn "MySQL and SQLite catalog backends."
|
|
||||||
ewarn
|
|
||||||
ewarn "To upgrade to bareos >=21.0.0 you need to migrate to PostgreSQL"
|
|
||||||
ewarn "catalog backend using the 'bareos-dbcopy' tool of your current"
|
|
||||||
ewarn "installation first."
|
|
||||||
ewarn
|
|
||||||
die "current catalog backend not supported anymore"
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_test() {
|
|
||||||
# initialze catalog test database
|
|
||||||
initdb -D "${T}"/pgsql || die
|
|
||||||
pg_ctl -w -D "${T}"/pgsql start \
|
|
||||||
-o "-h '' -k '${T}'" || die
|
|
||||||
createuser -h "${T}" bareos || die
|
|
||||||
createdb -h "${T}" --owner bareos bareos || die
|
|
||||||
export PGHOST="${T}"
|
|
||||||
|
|
||||||
# initiale mariadb database for backup tests
|
|
||||||
# $USER must be set and != root
|
|
||||||
export USER=portage
|
|
||||||
|
|
||||||
default
|
|
||||||
cmake_src_test
|
|
||||||
|
|
||||||
pg_ctl -w -D "${T}"/pgsql stop || die
|
|
||||||
rm -rvf "${T}"/pgsql
|
|
||||||
}
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
# fix gentoo platform support
|
|
||||||
eapply -p1 "${FILESDIR}/${PN}-21-cmake-gentoo.patch"
|
|
||||||
eapply "${FILESDIR}/${PN}-21.1.2-werror.patch"
|
|
||||||
eapply "${FILESDIR}/${PN}-21.1.2-no-automagic-ccache.patch"
|
|
||||||
|
|
||||||
# fix missing DESTDIR in symlink creation
|
|
||||||
sed -i '/bareos-symlink-default-db-backend.cmake/d' "${S}/core/src/cats/CMakeLists.txt"
|
|
||||||
|
|
||||||
cmake_src_prepare
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
local mycmakeargs=()
|
|
||||||
|
|
||||||
cmake_comment_add_subdirectory webui
|
|
||||||
|
|
||||||
if use clientonly; then
|
|
||||||
mycmakeargs+=(
|
|
||||||
-Dclient-only=ON
|
|
||||||
-Dstatic-cons=$(usex static)
|
|
||||||
-Dstatic-fd=$(usex static)
|
|
||||||
)
|
|
||||||
fi
|
|
||||||
|
|
||||||
for useflag in acl ipv6 ndmp scsi-crypto \
|
|
||||||
systemd lmdb; do
|
|
||||||
mycmakeargs+=( -D$useflag=$(usex $useflag) )
|
|
||||||
done
|
|
||||||
|
|
||||||
mycmakeargs+=(
|
|
||||||
-DHAVE_PYTHON=0
|
|
||||||
-Darchivedir=/var/lib/bareos/storage
|
|
||||||
-Dbackenddir=/usr/$(get_libdir)/${PN}/backend
|
|
||||||
-Dbasename="`hostname -s`"
|
|
||||||
-Dbatch-insert=yes
|
|
||||||
-Dbsrdir=/var/lib/bareos/bsr
|
|
||||||
-Dconfdir=/etc/bareos
|
|
||||||
-Dcoverage=no
|
|
||||||
-Ddb_password=`cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 16 | head -n 1`
|
|
||||||
-Ddir-group=bareos
|
|
||||||
-Ddir-password="`cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1`"
|
|
||||||
-Ddir-user=bareos
|
|
||||||
-Ddocdir=/usr/share/doc/${PF}
|
|
||||||
-Ddynamic-cats-backends=yes
|
|
||||||
-Ddynamic-storage-backends=yes
|
|
||||||
-Dfd-group=bareos
|
|
||||||
-Dfd-password="`cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1`"
|
|
||||||
-Dfd-user=root
|
|
||||||
-Dhost=${CHOST}
|
|
||||||
-Dhostname="`hostname -s`"
|
|
||||||
-Dhtmldir=/usr/share/doc/${PF}/html
|
|
||||||
-Dlibdir=/usr/$(get_libdir)
|
|
||||||
-Dlogdir=/var/log/bareos
|
|
||||||
-Dmandir=/usr/share/man
|
|
||||||
-Dmon-dir-password="`cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1`"
|
|
||||||
-Dmon-fd-password="`cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1`"
|
|
||||||
-Dmon-sd-password="`cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1`"
|
|
||||||
-Dopenssl=yes
|
|
||||||
-Dpiddir=/run/bareos
|
|
||||||
-Dplugindir=/usr/$(get_libdir)/${PN}/plugin
|
|
||||||
-Dsbin-perm=0755
|
|
||||||
-Dsbindir=/usr/sbin
|
|
||||||
-Dscriptdir=/usr/libexec/bareos
|
|
||||||
-Dsd-group=bareos
|
|
||||||
-Dsd-password="`cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1`"
|
|
||||||
-Dsd-user=root
|
|
||||||
-Dsubsysdir=/run/lock/subsys
|
|
||||||
-Dsysconfdir=/etc
|
|
||||||
-Dworkingdir=/var/lib/bareos
|
|
||||||
-Dx=$(usex X)
|
|
||||||
)
|
|
||||||
|
|
||||||
# disable droplet support for now as it does not build with gcc 10
|
|
||||||
# ... and this is a bundled lib, which should have its own package
|
|
||||||
cd core && cmake_comment_add_subdirectory "src/droplet"
|
|
||||||
|
|
||||||
cmake_src_configure
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
cmake_src_install
|
|
||||||
|
|
||||||
# remove some scripts we don't need at all
|
|
||||||
rm -f "${D}"/usr/libexec/bareos/{bareos,bareos-ctl-dir,bareos-ctl-fd,bareos-ctl-sd}
|
|
||||||
rm -f "${D}"/usr/sbin/bareos
|
|
||||||
|
|
||||||
# remove upstream init scripts and systemd units
|
|
||||||
rm -f "${D}"/etc/init.d/bareos-* "${D}"/lib/systemd/system/bareos-*.service
|
|
||||||
|
|
||||||
# remove misc stuff we do not need in production
|
|
||||||
rm -f "${D}"/etc/bareos/bareos-regress.conf
|
|
||||||
rm -f "${D}"/etc/logrotate.d/bareos-dir
|
|
||||||
|
|
||||||
# get rid of py2 stuff
|
|
||||||
rm -rf "$D"/usr/lib64/python2.7 || die
|
|
||||||
rm -f "$D"/usr/lib64/bareos/plugin/python-fd.so || die
|
|
||||||
if ! use vmware; then
|
|
||||||
rm -f "$D"/usr/lib64/bareos/plugin/{BareosFdPluginVMware.py,bareos-fd-vmware.py}
|
|
||||||
fi
|
|
||||||
|
|
||||||
# rename statically linked apps
|
|
||||||
if use clientonly && use static ; then
|
|
||||||
pushd "${D}"/usr/sbin || die
|
|
||||||
mv static-bareos-fd bareos-fd || die
|
|
||||||
mv static-bconsole bconsole || die
|
|
||||||
popd || die
|
|
||||||
fi
|
|
||||||
|
|
||||||
# extra files which 'make install' doesn't cover
|
|
||||||
if ! use clientonly; then
|
|
||||||
# the logrotate configuration
|
|
||||||
# (now unconditional wrt bug #258187)
|
|
||||||
diropts -m0755
|
|
||||||
insinto /etc/logrotate.d
|
|
||||||
insopts -m0644
|
|
||||||
newins "${S}"/core/scripts/logrotate bareos
|
|
||||||
|
|
||||||
# the logwatch scripts
|
|
||||||
if use logwatch; then
|
|
||||||
diropts -m0750
|
|
||||||
dodir /etc/log.d/scripts/services
|
|
||||||
dodir /etc/log.d/scripts/shared
|
|
||||||
dodir /etc/log.d/conf/logfiles
|
|
||||||
dodir /etc/log.d/conf/services
|
|
||||||
pushd "${S}"/core/scripts/logwatch >&/dev/null || die
|
|
||||||
|
|
||||||
into /etc/log.d/scripts/services
|
|
||||||
dobin bareos
|
|
||||||
|
|
||||||
into /etc/log.d/scripts/shared
|
|
||||||
dobin applybareosdate
|
|
||||||
|
|
||||||
insinto /etc/log.d/conf/logfiles
|
|
||||||
newins logfile.bareos.conf bareos.conf
|
|
||||||
|
|
||||||
insinto /etc/log.d/conf/services
|
|
||||||
newins services.bareos.conf bareos.conf
|
|
||||||
|
|
||||||
popd >&/dev/null || die
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
|
|
||||||
rm -vf "${D}"/usr/share/man/man1/bareos-bwxconsole.1*
|
|
||||||
if use clientonly || ! use director; then
|
|
||||||
rm -vf "${D}"/usr/share/man/man8/bareos-dir.8*
|
|
||||||
rm -vf "${D}"/usr/share/man/man8/bareos-dbcheck.8*
|
|
||||||
rm -vf "${D}"/usr/share/man/man1/bsmtp.1*
|
|
||||||
rm -vf "${D}"/usr/share/man/man8/bwild.8*
|
|
||||||
rm -vf "${D}"/usr/share/man/man8/bregex.8*
|
|
||||||
rm -vf "${D}"/usr/share/man/man8/bpluginfo.8*
|
|
||||||
rm -vf "${D}"/usr/libexec/bareos/create_*_database
|
|
||||||
rm -vf "${D}"/usr/libexec/bareos/drop_*_database
|
|
||||||
rm -vf "${D}"/usr/libexec/bareos/make_*_tables
|
|
||||||
rm -vf "${D}"/usr/libexec/bareos/update_*_tables
|
|
||||||
rm -vf "${D}"/usr/libexec/bareos/drop_*_tables
|
|
||||||
rm -vf "${D}"/usr/libexec/bareos/grant_*_privileges
|
|
||||||
rm -vf "${D}"/usr/libexec/bareos/*_catalog_backup
|
|
||||||
fi
|
|
||||||
if use clientonly || ! use storage-daemon; then
|
|
||||||
rm -vf "${D}"/usr/share/man/man8/bareos-sd.8*
|
|
||||||
rm -vf "${D}"/usr/share/man/man8/bcopy.8*
|
|
||||||
rm -vf "${D}"/usr/share/man/man8/bextract.8*
|
|
||||||
rm -vf "${D}"/usr/share/man/man8/bls.8*
|
|
||||||
rm -vf "${D}"/usr/share/man/man8/bscan.8*
|
|
||||||
rm -vf "${D}"/usr/share/man/man8/btape.8*
|
|
||||||
rm -vf "${D}"/usr/libexec/bareos/disk-changer
|
|
||||||
rm -vf "${D}"/usr/libexec/bareos/mtx-changer
|
|
||||||
rm -vf "${D}"/usr/libexec/bareos/dvd-handler
|
|
||||||
rm -vf "${D}"/etc/bareos/mtx-changer.conf
|
|
||||||
fi
|
|
||||||
if ! use scsi-crypto; then
|
|
||||||
rm -vf "${D}"/usr/share/man/man8/bscrypto.8*
|
|
||||||
fi
|
|
||||||
|
|
||||||
# documentation
|
|
||||||
dodoc README.md
|
|
||||||
dodoc core/README.configsubdirectories
|
|
||||||
use glusterfs dodoc core/README.glusterfs
|
|
||||||
use ndmp && dodoc core/README.NDMP
|
|
||||||
use scsi-crypto && dodoc core/README.scsicrypto
|
|
||||||
|
|
||||||
# vim-files
|
|
||||||
if use vim-syntax; then
|
|
||||||
insinto /usr/share/vim/vimfiles/syntax
|
|
||||||
doins core/scripts/bareos.vim
|
|
||||||
insinto /usr/share/vim/vimfiles/ftdetect
|
|
||||||
newins core/scripts/filetype.vim bareos_ft.vim
|
|
||||||
fi
|
|
||||||
|
|
||||||
# setup init scripts
|
|
||||||
myscripts="bareos-fd"
|
|
||||||
if ! use clientonly; then
|
|
||||||
if use director; then
|
|
||||||
myscripts+=" bareos-dir"
|
|
||||||
fi
|
|
||||||
if use storage-daemon; then
|
|
||||||
myscripts+=" bareos-sd"
|
|
||||||
fi
|
|
||||||
fi
|
|
||||||
for script in ${myscripts}; do
|
|
||||||
# install init script and config
|
|
||||||
newinitd "${FILESDIR}/${script}-21".initd "${script}"
|
|
||||||
newconfd "${FILESDIR}/${script}-21".confd "${script}"
|
|
||||||
done
|
|
||||||
|
|
||||||
# install systemd unit files
|
|
||||||
if use systemd; then
|
|
||||||
if ! use clientonly; then
|
|
||||||
use director && systemd_dounit "${FILESDIR}"/bareos-dir.service
|
|
||||||
use storage-daemon && systemd_dounit "${FILESDIR}"/bareos-sd.service
|
|
||||||
fi
|
|
||||||
systemd_dounit "${FILESDIR}"/bareos-fd.service
|
|
||||||
fi
|
|
||||||
|
|
||||||
# make sure the working directory exists
|
|
||||||
diropts -m0750
|
|
||||||
keepdir /var/lib/bareos
|
|
||||||
keepdir /var/lib/bareos/storage
|
|
||||||
|
|
||||||
diropts -m0755
|
|
||||||
keepdir /var/log/bareos
|
|
||||||
|
|
||||||
newtmpfiles "${FILESDIR}"/tmpfiles.d-bareos.conf bareos.conf
|
|
||||||
|
|
||||||
# make sure bareos group can execute bareos libexec scripts
|
|
||||||
fowners -R root:bareos /usr/libexec/bareos
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
tmpfiles_process bareos.conf
|
|
||||||
|
|
||||||
if use clientonly; then
|
|
||||||
fowners root:bareos /var/lib/bareos
|
|
||||||
else
|
|
||||||
fowners bareos:bareos /var/lib/bareos
|
|
||||||
fi
|
|
||||||
|
|
||||||
if ! use clientonly && use director; then
|
|
||||||
einfo
|
|
||||||
einfo "If this is a new install, you must create the database:"
|
|
||||||
einfo
|
|
||||||
einfo " su postgres -c '/usr/libexec/bareos/create_bareos_database postgresql'"
|
|
||||||
einfo " su postgres -c '/usr/libexec/bareos/make_bareos_tables postgresql'"
|
|
||||||
einfo " su postgres -c '/usr/libexec/bareos/grant_bareos_privileges postgresql'"
|
|
||||||
einfo
|
|
||||||
fi
|
|
||||||
}
|
|
@ -0,0 +1,413 @@
|
|||||||
|
# Copyright 1999-2023 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
PYTHON_COMPAT=( python3_{9..11} )
|
||||||
|
CMAKE_WARN_UNUSED_CLI=no
|
||||||
|
#CMAKE_REMOVE_MODULES=yes
|
||||||
|
|
||||||
|
inherit python-any-r1 systemd cmake tmpfiles
|
||||||
|
|
||||||
|
DESCRIPTION="Featureful client/server network backup suite"
|
||||||
|
HOMEPAGE="https://www.bareos.org/"
|
||||||
|
SRC_URI="https://github.com/${PN}/${PN}/archive/Release/${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
|
||||||
|
# some tests still fail propably due to missing bits in src_test -> TODO
|
||||||
|
RESTRICT="mirror test"
|
||||||
|
#RESTRICT="
|
||||||
|
# mirror
|
||||||
|
# !test? ( test )
|
||||||
|
#"
|
||||||
|
|
||||||
|
LICENSE="AGPL-3"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
IUSE="X acl ceph clientonly +director glusterfs ipv6 lmdb
|
||||||
|
logwatch ndmp readline scsi-crypto split-usr
|
||||||
|
static +storage-daemon systemd tcpd test vim-syntax vmware xattr"
|
||||||
|
|
||||||
|
# get cmake variables from core/cmake/BareosSetVariableDefaults.cmake
|
||||||
|
DEPEND="
|
||||||
|
!app-backup/bacula
|
||||||
|
acct-group/${PN}
|
||||||
|
!x86? (
|
||||||
|
ceph? ( sys-cluster/ceph )
|
||||||
|
)
|
||||||
|
glusterfs? ( sys-cluster/glusterfs )
|
||||||
|
lmdb? ( dev-db/lmdb )
|
||||||
|
dev-libs/gmp:0
|
||||||
|
!clientonly? (
|
||||||
|
acct-user/${PN}
|
||||||
|
dev-db/postgresql:*[threads]
|
||||||
|
director? (
|
||||||
|
virtual/mta
|
||||||
|
)
|
||||||
|
)
|
||||||
|
logwatch? ( sys-apps/logwatch )
|
||||||
|
ndmp? ( net-libs/rpcsvc-proto )
|
||||||
|
tcpd? ( sys-apps/tcp-wrappers )
|
||||||
|
readline? ( sys-libs/readline:0 )
|
||||||
|
static? (
|
||||||
|
acl? ( virtual/acl[static-libs] )
|
||||||
|
dev-libs/jansson:=[static-libs]
|
||||||
|
dev-libs/lzo[static-libs]
|
||||||
|
dev-libs/openssl:0=[static-libs]
|
||||||
|
sys-libs/ncurses:=[static-libs]
|
||||||
|
sys-libs/zlib[static-libs]
|
||||||
|
)
|
||||||
|
!static? (
|
||||||
|
acl? ( virtual/acl )
|
||||||
|
dev-libs/jansson:=
|
||||||
|
dev-libs/lzo
|
||||||
|
dev-libs/openssl:0=
|
||||||
|
sys-libs/ncurses:=
|
||||||
|
sys-libs/zlib
|
||||||
|
)
|
||||||
|
"
|
||||||
|
RDEPEND="${DEPEND}
|
||||||
|
!clientonly? (
|
||||||
|
storage-daemon? (
|
||||||
|
sys-block/mtx
|
||||||
|
app-arch/mt-st
|
||||||
|
)
|
||||||
|
)
|
||||||
|
vim-syntax? ( || ( app-editors/vim app-editors/gvim ) )
|
||||||
|
"
|
||||||
|
|
||||||
|
BDEPEND="
|
||||||
|
${PYTHON_DEPS}
|
||||||
|
test? (
|
||||||
|
dev-cpp/gtest
|
||||||
|
dev-db/postgresql:*[server,threads]
|
||||||
|
dev-db/mariadb:*[server]
|
||||||
|
)
|
||||||
|
"
|
||||||
|
|
||||||
|
REQUIRED_USE="
|
||||||
|
static? ( clientonly )
|
||||||
|
x86? ( !ceph )
|
||||||
|
"
|
||||||
|
|
||||||
|
S=${WORKDIR}/${PN}-Release-${PV}
|
||||||
|
|
||||||
|
pkg_pretend() {
|
||||||
|
local active_removed_backend=""
|
||||||
|
if has_version "<app-backup/bareos-21[director,mysql]"; then
|
||||||
|
if grep -qhriE "dbdriver.*=.*mysql" /etc/bareos/; then
|
||||||
|
active_removed_backend=MySQL
|
||||||
|
fi
|
||||||
|
elif has_version "<app-backup/bareos-21[director,sqlite]"; then
|
||||||
|
if grep -qhriE "dbdriver.*=.*sqlite" /etc/bareos/; then
|
||||||
|
active_removed_backend=SQLite
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
if [[ -n $active_removed_backend ]]; then
|
||||||
|
ewarn
|
||||||
|
ewarn "You are currently using bareos with the $active_removed_backend"
|
||||||
|
ewarn "catalog backend."
|
||||||
|
ewarn
|
||||||
|
ewarn "THIS IS NOT SUPPORTED ANYMORE"
|
||||||
|
ewarn
|
||||||
|
ewarn "Beginning with version 21.0.0 bareos has dropped support for"
|
||||||
|
ewarn "MySQL and SQLite catalog backends."
|
||||||
|
ewarn
|
||||||
|
ewarn "To upgrade to bareos >=21.0.0 you need to migrate to PostgreSQL"
|
||||||
|
ewarn "catalog backend using the 'bareos-dbcopy' tool of your current"
|
||||||
|
ewarn "installation first."
|
||||||
|
ewarn
|
||||||
|
die "current catalog backend not supported anymore"
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
src_test() {
|
||||||
|
# initialze catalog test database
|
||||||
|
initdb -D "${T}"/pgsql || die
|
||||||
|
pg_ctl -w -D "${T}"/pgsql start \
|
||||||
|
-o "-h '' -k '${T}'" || die
|
||||||
|
createuser -h "${T}" bareos || die
|
||||||
|
createdb -h "${T}" --owner bareos bareos || die
|
||||||
|
export PGHOST="${T}"
|
||||||
|
|
||||||
|
# initiale mariadb database for backup tests
|
||||||
|
# $USER must be set and != root
|
||||||
|
export USER=portage
|
||||||
|
|
||||||
|
default
|
||||||
|
cmake_src_test
|
||||||
|
|
||||||
|
pg_ctl -w -D "${T}"/pgsql stop || die
|
||||||
|
rm -rvf "${T}"/pgsql
|
||||||
|
}
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
# fix gentoo platform support
|
||||||
|
eapply -p1 "${FILESDIR}/${PN}-21-cmake-gentoo.patch"
|
||||||
|
eapply "${FILESDIR}/${PN}-22.0.2-werror.patch"
|
||||||
|
eapply "${FILESDIR}/${PN}-21.1.2-no-automagic-ccache.patch"
|
||||||
|
|
||||||
|
# fix missing DESTDIR in symlink creation
|
||||||
|
sed -i '/bareos-symlink-default-db-backend.cmake/d' "${S}/core/src/cats/CMakeLists.txt"
|
||||||
|
|
||||||
|
cmake_src_prepare
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
local mycmakeargs=()
|
||||||
|
|
||||||
|
cmake_comment_add_subdirectory webui
|
||||||
|
|
||||||
|
if use clientonly; then
|
||||||
|
mycmakeargs+=(
|
||||||
|
-Dclient-only=ON
|
||||||
|
-Dstatic-cons=$(usex static)
|
||||||
|
-Dstatic-fd=$(usex static)
|
||||||
|
)
|
||||||
|
fi
|
||||||
|
|
||||||
|
for useflag in acl ipv6 ndmp scsi-crypto \
|
||||||
|
systemd lmdb; do
|
||||||
|
mycmakeargs+=( -D$useflag=$(usex $useflag) )
|
||||||
|
done
|
||||||
|
|
||||||
|
mycmakeargs+=(
|
||||||
|
-DHAVE_PYTHON=0
|
||||||
|
-Darchivedir=/var/lib/bareos/storage
|
||||||
|
-Dbackenddir=/usr/$(get_libdir)/${PN}/backend
|
||||||
|
-Dbasename="`hostname -s`"
|
||||||
|
-Dbatch-insert=yes
|
||||||
|
-Dbsrdir=/var/lib/bareos/bsr
|
||||||
|
-Dconfdir=/etc/bareos
|
||||||
|
-Dcoverage=no
|
||||||
|
-Ddb_password=`cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 16 | head -n 1`
|
||||||
|
-Ddir-group=bareos
|
||||||
|
-Ddir-password="`cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1`"
|
||||||
|
-Ddir-user=bareos
|
||||||
|
-Ddocdir=/usr/share/doc/${PF}
|
||||||
|
-Ddynamic-cats-backends=yes
|
||||||
|
-Ddynamic-storage-backends=yes
|
||||||
|
-Dfd-group=bareos
|
||||||
|
-Dfd-password="`cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1`"
|
||||||
|
-Dfd-user=root
|
||||||
|
-Dhost=${CHOST}
|
||||||
|
-Dhostname="`hostname -s`"
|
||||||
|
-Dhtmldir=/usr/share/doc/${PF}/html
|
||||||
|
-Dlibdir=/usr/$(get_libdir)
|
||||||
|
-Dlogdir=/var/log/bareos
|
||||||
|
-Dmandir=/usr/share/man
|
||||||
|
-Dmon-dir-password="`cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1`"
|
||||||
|
-Dmon-fd-password="`cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1`"
|
||||||
|
-Dmon-sd-password="`cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1`"
|
||||||
|
-Dopenssl=yes
|
||||||
|
-Dpiddir=/run/bareos
|
||||||
|
-Dplugindir=/usr/$(get_libdir)/${PN}/plugin
|
||||||
|
-Dsbin-perm=0755
|
||||||
|
-Dsbindir=/usr/sbin
|
||||||
|
-Dscriptdir=/usr/libexec/bareos
|
||||||
|
-Dsd-group=bareos
|
||||||
|
-Dsd-password="`cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1`"
|
||||||
|
-Dsd-user=root
|
||||||
|
-Dsubsysdir=/run/lock/subsys
|
||||||
|
-Dsysconfdir=/etc
|
||||||
|
-Dworkingdir=/var/lib/bareos
|
||||||
|
-Dx=$(usex X)
|
||||||
|
)
|
||||||
|
|
||||||
|
# disable droplet support for now as it does not build with gcc 10
|
||||||
|
# ... and this is a bundled lib, which should have its own package
|
||||||
|
cd core && cmake_comment_add_subdirectory "src/droplet"
|
||||||
|
|
||||||
|
cmake_src_configure
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
cmake_src_install
|
||||||
|
|
||||||
|
# remove some scripts we don't need at all
|
||||||
|
rm -f "${D}"/usr/libexec/bareos/{bareos,bareos-ctl-dir,bareos-ctl-fd,bareos-ctl-sd}
|
||||||
|
rm -f "${D}"/usr/sbin/bareos
|
||||||
|
|
||||||
|
# remove upstream init scripts and systemd units
|
||||||
|
rm -f "${D}"/etc/init.d/bareos-* "${D}"/lib/systemd/system/bareos-*.service
|
||||||
|
|
||||||
|
# remove misc stuff we do not need in production
|
||||||
|
rm -f "${D}"/etc/bareos/bareos-regress.conf
|
||||||
|
rm -f "${D}"/etc/logrotate.d/bareos-dir
|
||||||
|
|
||||||
|
# remove duplicate binaries being installed in /usr/sbin and replace
|
||||||
|
# them by symlinks to not break systems that still use split-usr
|
||||||
|
if use split-usr; then
|
||||||
|
for f in bwild bregex bsmtp bconsole; do
|
||||||
|
rm -f "${D}/usr/sbin/$f" || die
|
||||||
|
ln -s "../bin/$f" "${D}/usr/sbin/$f" || die
|
||||||
|
done
|
||||||
|
fi
|
||||||
|
|
||||||
|
# get rid of py2 stuff
|
||||||
|
rm -rf "$D"/usr/lib64/python2.7 || die
|
||||||
|
rm -f "$D"/usr/lib64/bareos/plugin/python-fd.so || die
|
||||||
|
if ! use vmware; then
|
||||||
|
rm -f "$D"/usr/lib64/bareos/plugin/{BareosFdPluginVMware.py,bareos-fd-vmware.py}
|
||||||
|
fi
|
||||||
|
|
||||||
|
# rename statically linked apps
|
||||||
|
if use clientonly && use static ; then
|
||||||
|
pushd "${D}"/usr/sbin || die
|
||||||
|
mv static-bareos-fd bareos-fd || die
|
||||||
|
mv static-bconsole bconsole || die
|
||||||
|
popd || die
|
||||||
|
fi
|
||||||
|
|
||||||
|
# extra files which 'make install' doesn't cover
|
||||||
|
if ! use clientonly; then
|
||||||
|
# the logrotate configuration
|
||||||
|
# (now unconditional wrt bug #258187)
|
||||||
|
diropts -m0755
|
||||||
|
insinto /etc/logrotate.d
|
||||||
|
insopts -m0644
|
||||||
|
newins "${S}"/core/scripts/logrotate bareos
|
||||||
|
|
||||||
|
# the logwatch scripts
|
||||||
|
if use logwatch; then
|
||||||
|
diropts -m0750
|
||||||
|
dodir /etc/log.d/scripts/services
|
||||||
|
dodir /etc/log.d/scripts/shared
|
||||||
|
dodir /etc/log.d/conf/logfiles
|
||||||
|
dodir /etc/log.d/conf/services
|
||||||
|
pushd "${S}"/core/scripts/logwatch >&/dev/null || die
|
||||||
|
|
||||||
|
into /etc/log.d/scripts/services
|
||||||
|
dobin bareos
|
||||||
|
|
||||||
|
into /etc/log.d/scripts/shared
|
||||||
|
dobin applybareosdate
|
||||||
|
|
||||||
|
insinto /etc/log.d/conf/logfiles
|
||||||
|
newins logfile.bareos.conf bareos.conf
|
||||||
|
|
||||||
|
insinto /etc/log.d/conf/services
|
||||||
|
newins services.bareos.conf bareos.conf
|
||||||
|
|
||||||
|
popd >&/dev/null || die
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
rm -vf "${D}"/usr/share/man/man1/bareos-bwxconsole.1*
|
||||||
|
if use clientonly || ! use director; then
|
||||||
|
rm -vf "${D}"/usr/share/man/man8/bareos-dir.8*
|
||||||
|
rm -vf "${D}"/usr/share/man/man8/bareos-dbcheck.8*
|
||||||
|
rm -vf "${D}"/usr/share/man/man1/bsmtp.1*
|
||||||
|
rm -vf "${D}"/usr/share/man/man8/bwild.8*
|
||||||
|
rm -vf "${D}"/usr/share/man/man8/bregex.8*
|
||||||
|
rm -vf "${D}"/usr/share/man/man8/bpluginfo.8*
|
||||||
|
rm -vf "${D}"/usr/libexec/bareos/create_*_database
|
||||||
|
rm -vf "${D}"/usr/libexec/bareos/drop_*_database
|
||||||
|
rm -vf "${D}"/usr/libexec/bareos/make_*_tables
|
||||||
|
rm -vf "${D}"/usr/libexec/bareos/update_*_tables
|
||||||
|
rm -vf "${D}"/usr/libexec/bareos/drop_*_tables
|
||||||
|
rm -vf "${D}"/usr/libexec/bareos/grant_*_privileges
|
||||||
|
rm -vf "${D}"/usr/libexec/bareos/*_catalog_backup
|
||||||
|
fi
|
||||||
|
if use clientonly || ! use storage-daemon; then
|
||||||
|
rm -vf "${D}"/usr/share/man/man8/bareos-sd.8*
|
||||||
|
rm -vf "${D}"/usr/share/man/man8/bcopy.8*
|
||||||
|
rm -vf "${D}"/usr/share/man/man8/bextract.8*
|
||||||
|
rm -vf "${D}"/usr/share/man/man8/bls.8*
|
||||||
|
rm -vf "${D}"/usr/share/man/man8/bscan.8*
|
||||||
|
rm -vf "${D}"/usr/share/man/man8/btape.8*
|
||||||
|
rm -vf "${D}"/usr/libexec/bareos/disk-changer
|
||||||
|
rm -vf "${D}"/usr/libexec/bareos/mtx-changer
|
||||||
|
rm -vf "${D}"/usr/libexec/bareos/dvd-handler
|
||||||
|
rm -vf "${D}"/etc/bareos/mtx-changer.conf
|
||||||
|
fi
|
||||||
|
if ! use scsi-crypto; then
|
||||||
|
rm -vf "${D}"/usr/share/man/man8/bscrypto.8*
|
||||||
|
fi
|
||||||
|
|
||||||
|
# documentation
|
||||||
|
dodoc README.md
|
||||||
|
dodoc core/README.configsubdirectories
|
||||||
|
use glusterfs dodoc core/README.glusterfs
|
||||||
|
use ndmp && dodoc core/README.NDMP
|
||||||
|
use scsi-crypto && dodoc core/README.scsicrypto
|
||||||
|
|
||||||
|
# vim-files
|
||||||
|
if use vim-syntax; then
|
||||||
|
insinto /usr/share/vim/vimfiles/syntax
|
||||||
|
doins core/scripts/bareos.vim
|
||||||
|
insinto /usr/share/vim/vimfiles/ftdetect
|
||||||
|
newins core/scripts/filetype.vim bareos_ft.vim
|
||||||
|
fi
|
||||||
|
|
||||||
|
# setup init scripts
|
||||||
|
myscripts="bareos-fd"
|
||||||
|
if ! use clientonly; then
|
||||||
|
if use director; then
|
||||||
|
myscripts+=" bareos-dir"
|
||||||
|
fi
|
||||||
|
if use storage-daemon; then
|
||||||
|
myscripts+=" bareos-sd"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
for script in ${myscripts}; do
|
||||||
|
# install init script and config
|
||||||
|
newinitd "${FILESDIR}/${script}-21-r1".initd "${script}"
|
||||||
|
newconfd "${FILESDIR}/${script}-21".confd "${script}"
|
||||||
|
done
|
||||||
|
|
||||||
|
# install systemd unit files
|
||||||
|
if use systemd; then
|
||||||
|
if ! use clientonly; then
|
||||||
|
use director && systemd_newunit "${FILESDIR}"/bareos-dir-21.service bareos-dir.service
|
||||||
|
use storage-daemon && systemd_dounit "${FILESDIR}"/bareos-sd.service
|
||||||
|
fi
|
||||||
|
systemd_dounit "${FILESDIR}"/bareos-fd.service
|
||||||
|
fi
|
||||||
|
|
||||||
|
# make sure the working directory exists
|
||||||
|
diropts -m0750
|
||||||
|
keepdir /var/lib/bareos
|
||||||
|
keepdir /var/lib/bareos/storage
|
||||||
|
|
||||||
|
# set log directory ownership
|
||||||
|
if ! use clientonly; then
|
||||||
|
diropts -m0755 -o bareos -g bareos
|
||||||
|
fi
|
||||||
|
keepdir /var/log/bareos
|
||||||
|
|
||||||
|
newtmpfiles "${FILESDIR}"/tmpfiles.d-bareos.conf bareos.conf
|
||||||
|
|
||||||
|
# make sure bareos group can execute bareos libexec scripts
|
||||||
|
fowners -R root:bareos /usr/libexec/bareos
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
tmpfiles_process bareos.conf
|
||||||
|
|
||||||
|
if use clientonly; then
|
||||||
|
fowners root:bareos /var/lib/bareos
|
||||||
|
else
|
||||||
|
fowners bareos:bareos /var/lib/bareos
|
||||||
|
fi
|
||||||
|
|
||||||
|
if ! use clientonly && use director; then
|
||||||
|
einfo
|
||||||
|
einfo "If this is a new install, you must create the database:"
|
||||||
|
einfo
|
||||||
|
einfo " su postgres -c '/usr/libexec/bareos/create_bareos_database'"
|
||||||
|
einfo " su postgres -c '/usr/libexec/bareos/make_bareos_tables'"
|
||||||
|
einfo " su postgres -c '/usr/libexec/bareos/grant_bareos_privileges'"
|
||||||
|
einfo
|
||||||
|
einfo "or run"
|
||||||
|
einfo
|
||||||
|
einfo " emerge --config app-backup/bareos"
|
||||||
|
einfo
|
||||||
|
einfo "to do this"
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_config() {
|
||||||
|
su postgres -c '/usr/libexec/bareos/create_bareos_database' || die "could not create bareos database"
|
||||||
|
su postgres -c '/usr/libexec/bareos/make_bareos_tables' || die "could not create bareos database tables"
|
||||||
|
su postgres -c '/usr/libexec/bareos/grant_bareos_privileges' || die "could not grant bareos database privileges"
|
||||||
|
}
|
@ -0,0 +1,23 @@
|
|||||||
|
diff -urN bareos-Release-22.0.2.orig/core/CMakeLists.txt bareos-Release-22.0.2/core/CMakeLists.txt
|
||||||
|
--- bareos-Release-22.0.2.orig/core/CMakeLists.txt 2023-02-07 15:30:01.000000000 +0530
|
||||||
|
+++ bareos-Release-22.0.2/core/CMakeLists.txt 2023-03-01 23:06:39.577048453 +0530
|
||||||
|
@@ -104,7 +104,7 @@
|
||||||
|
-Werror=format-security compiler_error_format_security
|
||||||
|
)
|
||||||
|
if(${compiler_error_format_security})
|
||||||
|
- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Werror=format-security")
|
||||||
|
+ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wformat-security")
|
||||||
|
endif()
|
||||||
|
endif()
|
||||||
|
|
||||||
|
@@ -394,8 +394,8 @@
|
||||||
|
add_definitions("-DDEVELOPER=1")
|
||||||
|
endif()
|
||||||
|
|
||||||
|
-set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Werror -Wall -Wextra")
|
||||||
|
-set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Werror -Wall -Wextra")
|
||||||
|
+set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra")
|
||||||
|
+set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wextra")
|
||||||
|
|
||||||
|
include(BareosSetVariableDefaults)
|
||||||
|
option(ENABLE_BCONSOLE "Build bconsole binary" ON)
|
Binary file not shown.
@ -1,2 +1,3 @@
|
|||||||
DIST crun-1.4.4.tar.xz 877892 BLAKE2B 57e48c0a229db3f54212177cef3fdb3f59b4bb1d1cc865da956f026a35837d839489bd126f880d7a9ceb18f5cffbf0e32ac9ae59a4cd39c34e3aff5b32c0559a SHA512 1756dccf6509457a5dc114d43c4f4e99258a20c3437dfe06016d080989c5d3035f5735d62d18ab537b660ec36de04df369a2582745baf4ab680af367a19830fd
|
DIST crun-1.4.4.tar.xz 877892 BLAKE2B 57e48c0a229db3f54212177cef3fdb3f59b4bb1d1cc865da956f026a35837d839489bd126f880d7a9ceb18f5cffbf0e32ac9ae59a4cd39c34e3aff5b32c0559a SHA512 1756dccf6509457a5dc114d43c4f4e99258a20c3437dfe06016d080989c5d3035f5735d62d18ab537b660ec36de04df369a2582745baf4ab680af367a19830fd
|
||||||
DIST crun-1.4.5.tar.xz 879044 BLAKE2B c80cae28c23140086682493a7dddb40640491e3ea827f0a7376d9be12570111d056022f50b8d7c574ca07790753d20de2314db5b89463994c4fffbc7576c372d SHA512 9f288279615fdf587018c465047fc8793daae280ab864bf9046994983239129d50f2eb89cac9b092e5cdc49a10f3523ab403a3f0e7451f7536b79f651a355153
|
DIST crun-1.4.5.tar.xz 879044 BLAKE2B c80cae28c23140086682493a7dddb40640491e3ea827f0a7376d9be12570111d056022f50b8d7c574ca07790753d20de2314db5b89463994c4fffbc7576c372d SHA512 9f288279615fdf587018c465047fc8793daae280ab864bf9046994983239129d50f2eb89cac9b092e5cdc49a10f3523ab403a3f0e7451f7536b79f651a355153
|
||||||
|
DIST crun-1.8.1.tar.xz 692152 BLAKE2B b5dce1a454641221c591f50ac8519d4e9e9d892ea56232fa3fc9916934c19eba5853019238b1837cd5fb61f0dec5e0e6a11c02f628bece3b69c9c4f5750addae SHA512 6230b378f4746aff1d53f3ed797229b2056ece76e8e5b22d6f5f7b42e6042c6aff5294298f3cfd1293b4a87371dfa58cc69e57455e20948abd7269059ad39042
|
||||||
|
@ -0,0 +1,70 @@
|
|||||||
|
# Copyright 2019-2023 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
PYTHON_COMPAT=( python3_{9..11} )
|
||||||
|
|
||||||
|
# Can drop autotools/eautoreconf after next release & glibc patch gone
|
||||||
|
inherit autotools python-any-r1
|
||||||
|
|
||||||
|
DESCRIPTION="A fast and low-memory footprint OCI Container Runtime fully written in C"
|
||||||
|
HOMEPAGE="https://github.com/containers/crun"
|
||||||
|
SRC_URI="https://github.com/containers/${PN}/releases/download/${PV}/${P}.tar.xz"
|
||||||
|
|
||||||
|
LICENSE="GPL-2+ LGPL-2.1+"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv"
|
||||||
|
IUSE="+bpf +caps criu +seccomp selinux systemd static-libs"
|
||||||
|
|
||||||
|
DEPEND="
|
||||||
|
dev-libs/libgcrypt:=
|
||||||
|
dev-libs/yajl:=
|
||||||
|
sys-kernel/linux-headers
|
||||||
|
caps? ( sys-libs/libcap )
|
||||||
|
criu? ( >=sys-process/criu-3.15 )
|
||||||
|
seccomp? ( sys-libs/libseccomp )
|
||||||
|
systemd? ( sys-apps/systemd:= )
|
||||||
|
"
|
||||||
|
RDEPEND="${DEPEND}
|
||||||
|
selinux? ( sec-policy/selinux-container )"
|
||||||
|
BDEPEND="
|
||||||
|
${PYTHON_DEPS}
|
||||||
|
virtual/pkgconfig
|
||||||
|
"
|
||||||
|
|
||||||
|
# the crun test suite is comprehensive to the extent that tests will fail
|
||||||
|
# within a sandbox environment, due to the nature of the privileges
|
||||||
|
# required to create linux "containers".
|
||||||
|
RESTRICT="test"
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
default
|
||||||
|
|
||||||
|
eautoreconf
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
local myeconfargs=(
|
||||||
|
$(use_enable bpf)
|
||||||
|
$(use_enable caps)
|
||||||
|
$(use_enable criu)
|
||||||
|
$(use_enable seccomp)
|
||||||
|
$(use_enable systemd)
|
||||||
|
$(usex static-libs '--enable-shared --enable-static' '--enable-shared --disable-static' '' '')
|
||||||
|
)
|
||||||
|
|
||||||
|
econf "${myeconfargs[@]}"
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
emake git-version.h
|
||||||
|
emake -C libocispec
|
||||||
|
emake crun
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
emake "DESTDIR=${D}" install-exec
|
||||||
|
doman crun.1
|
||||||
|
einstalldocs
|
||||||
|
}
|
Binary file not shown.
@ -0,0 +1,85 @@
|
|||||||
|
https://gitlab.gnome.org/GNOME/seahorse/-/commit/6d673637d90066f4756568ce1b2f1f3c89a37c74
|
||||||
|
|
||||||
|
From 6d673637d90066f4756568ce1b2f1f3c89a37c74 Mon Sep 17 00:00:00 2001
|
||||||
|
From: =?UTF-8?q?Pablo=20Correa=20G=C3=B3mez?= <ablocorrea@hotmail.com>
|
||||||
|
Date: Thu, 20 Oct 2022 18:35:33 +0200
|
||||||
|
Subject: [PATCH] ssh: avoid stdout and stderr variable names
|
||||||
|
|
||||||
|
In Alpine Linux, the compiler:
|
||||||
|
|
||||||
|
C compiler for the host machine: gcc (gcc 12.2.1 "gcc (Alpine 12.2.1_git20220924-r3) 12.2.1 20220924")
|
||||||
|
C linker for the host machine: gcc ld.bfd 2.39
|
||||||
|
Vala compiler for the host machine: valac (valac 0.56.3)
|
||||||
|
|
||||||
|
ended up including stdio.h into the C code generated from Vala.
|
||||||
|
This produced the following (and similar) errors due to
|
||||||
|
stderr and stdout being #define in stdio.h:
|
||||||
|
|
||||||
|
ninja: job failed: gcc -Issh/libseahorse-ssh.a.p -Issh -I../ssh -Icommon -I../common -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gio-unix-2.0 -I/usr/include/gcr-3 -I/usr/include/gck-1 -I/usr/include/p11-kit-1 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libdrm -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/libhandy-1 -flto=auto -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -w -O0 -DGCR_API_SUBJECT_TO_CHANGE -DGCK_API_SUBJECT_TO_CHANGE -DSECRET_WITH_UNSTABLE -include config.h -Wno-unused-parameter -Wno-missing-field-initializers -Os -fomit-frame-pointer -Os -fomit-frame-pointer -fPIC -pthread -MD -MQ ssh/libseahorse-ssh.a.p/meson-generated_operation.c.o -MF ssh/libseahorse-ssh.a.p/meson-generated_operation.c.o.d -o ssh/libseahorse-ssh.a.p/meson-generated_operation.c.o -c ssh/libseahorse-ssh.a.p/operation.c
|
||||||
|
In file included from /usr/include/fortify/stdio.h:22,
|
||||||
|
from /usr/include/pango-1.0/pango/pango-utils.h:25,
|
||||||
|
from /usr/include/pango-1.0/pango/pango.h:51,
|
||||||
|
from /usr/include/gtk-3.0/gdk/gdktypes.h:35,
|
||||||
|
from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:30,
|
||||||
|
from /usr/include/gtk-3.0/gdk/gdk.h:32,
|
||||||
|
from /usr/include/gtk-3.0/gtk/gtk.h:30,
|
||||||
|
from common/seahorse-common.h:11,
|
||||||
|
from ssh/seahorse-ssh.h:6,
|
||||||
|
from ssh/libseahorse-ssh.a.p/operation.c:25:
|
||||||
|
ssh/libseahorse-ssh.a.p/operation.c: In function 'seahorse_ssh_operation_operation_async_co':
|
||||||
|
ssh/libseahorse-ssh.a.p/operation.c:621:17: error: expected identifier before '(' token
|
||||||
|
621 | _data_->stdout = NULL;
|
||||||
|
| ^~~~~~
|
||||||
|
ssh/libseahorse-ssh.a.p/operation.c:622:17: error: expected identifier before '(' token
|
||||||
|
622 | _data_->stderr = NULL;
|
||||||
|
| ^~~~~~
|
||||||
|
|
||||||
|
Fix the problem by naming the variables std_out and std_err, as it
|
||||||
|
was before commit e60e5fd4b1545053e99758b894e8ef981de08c3e
|
||||||
|
|
||||||
|
Fixes e60e5fd4b1545053e99758b894e8ef981de08c3e
|
||||||
|
|
||||||
|
Coauthored-by: psykose <alice@ayaya.dev>
|
||||||
|
--- a/ssh/operation.vala
|
||||||
|
+++ b/ssh/operation.vala
|
||||||
|
@@ -84,12 +84,12 @@ public abstract class Operation : GLib.Object {
|
||||||
|
|
||||||
|
// And off we go to run the program
|
||||||
|
var subprocess = launcher.spawnv(args);
|
||||||
|
- string? stdout = null, stderr = null;
|
||||||
|
+ string? std_out = null, std_err = null;
|
||||||
|
try {
|
||||||
|
- yield subprocess.communicate_utf8_async(input, cancellable, out stdout, out stderr);
|
||||||
|
- return stdout;
|
||||||
|
+ yield subprocess.communicate_utf8_async(input, cancellable, out std_out, out std_err);
|
||||||
|
+ return std_out;
|
||||||
|
} catch (GLib.Error e) {
|
||||||
|
- Seahorse.Util.show_error(null, this.prompt_title, stderr);
|
||||||
|
+ Seahorse.Util.show_error(null, this.prompt_title, std_err);
|
||||||
|
throw e;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@@ -221,10 +221,10 @@ public class PrivateImportOperation : Operation {
|
||||||
|
|
||||||
|
// Start command to generate public key
|
||||||
|
string cmd = "%s -y -f '%s'".printf(Config.SSH_KEYGEN_PATH, file);
|
||||||
|
- string stdout = yield operation_async(cmd, null, cancellable);
|
||||||
|
+ string std_out = yield operation_async(cmd, null, cancellable);
|
||||||
|
|
||||||
|
// We'll build the key string from the output
|
||||||
|
- var key_str = new StringBuilder(stdout);
|
||||||
|
+ var key_str = new StringBuilder(std_out);
|
||||||
|
|
||||||
|
// Only use the first line of the output
|
||||||
|
int pos = int.max(key_str.str.index_of_char('\n'), key_str.str.index_of_char('\r'));
|
||||||
|
@@ -232,7 +232,7 @@ public class PrivateImportOperation : Operation {
|
||||||
|
key_str.erase(pos);
|
||||||
|
|
||||||
|
// Parse the data so we can get the fingerprint
|
||||||
|
- KeyData? keydata = KeyData.parse_line(stdout);
|
||||||
|
+ KeyData? keydata = KeyData.parse_line(std_out);
|
||||||
|
|
||||||
|
// Add the comment to the output
|
||||||
|
if (data.comment != null) {
|
||||||
|
--
|
||||||
|
GitLab
|
@ -0,0 +1,84 @@
|
|||||||
|
# Copyright 1999-2023 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
PYTHON_COMPAT=( python3_{9..11} )
|
||||||
|
inherit gnome.org gnome2-utils meson python-any-r1 vala xdg
|
||||||
|
|
||||||
|
DESCRIPTION="Manage your passwords and encryption keys"
|
||||||
|
HOMEPAGE="https://wiki.gnome.org/Apps/Seahorse"
|
||||||
|
|
||||||
|
LICENSE="GPL-2+ FDL-1.1+"
|
||||||
|
SLOT="0"
|
||||||
|
IUSE="ldap zeroconf"
|
||||||
|
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
>=dev-libs/glib-2.66:2
|
||||||
|
>=app-crypt/gcr-3.38:0=
|
||||||
|
>=app-crypt/gpgme-1.14.0:=
|
||||||
|
>=x11-libs/gtk+-3.24.0:3
|
||||||
|
>=app-crypt/gnupg-2.2
|
||||||
|
>=gui-libs/libhandy-1.6.0:1
|
||||||
|
>=app-crypt/libsecret-0.16
|
||||||
|
dev-libs/libpwquality
|
||||||
|
net-misc/openssh
|
||||||
|
ldap? ( net-nds/openldap:= )
|
||||||
|
net-libs/libsoup:3.0
|
||||||
|
zeroconf? ( >=net-dns/avahi-0.6[dbus] )
|
||||||
|
"
|
||||||
|
DEPEND="${RDEPEND}
|
||||||
|
$(vala_depend)
|
||||||
|
dev-libs/libxml2:2
|
||||||
|
app-crypt/gcr:0[vala]
|
||||||
|
app-crypt/libsecret[vala]
|
||||||
|
gui-libs/libhandy:1[vala]
|
||||||
|
"
|
||||||
|
BDEPEND="
|
||||||
|
${PYTHON_DEPS}
|
||||||
|
app-text/docbook-xml-dtd:4.2
|
||||||
|
app-text/docbook-xsl-stylesheets
|
||||||
|
dev-libs/appstream-glib
|
||||||
|
dev-libs/libxslt
|
||||||
|
dev-util/gdbus-codegen
|
||||||
|
dev-util/glib-utils
|
||||||
|
dev-util/itstool
|
||||||
|
>=sys-devel/gettext-0.19.8
|
||||||
|
virtual/pkgconfig
|
||||||
|
"
|
||||||
|
|
||||||
|
PATCHES=(
|
||||||
|
"${FILESDIR}"/${P}-gnupg-2.4.patch
|
||||||
|
"${FILESDIR}"/${P}-musl-stdout.patch
|
||||||
|
)
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
default
|
||||||
|
vala_setup
|
||||||
|
gnome2_environment_reset
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
local emesonargs=(
|
||||||
|
-Dhelp=true
|
||||||
|
-Dpgp-support=true
|
||||||
|
-Dcheck-compatible-gpg=false # keep lowest version listed as compatible as min dep for gnupg RDEPEND
|
||||||
|
-Dpkcs11-support=true
|
||||||
|
-Dkeyservers-support=true
|
||||||
|
-Dhkp-support=true
|
||||||
|
$(meson_use ldap ldap-support)
|
||||||
|
$(meson_use zeroconf key-sharing)
|
||||||
|
-Dmanpage=true
|
||||||
|
)
|
||||||
|
meson_src_configure
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
xdg_pkg_postinst
|
||||||
|
gnome2_schemas_update
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postrm() {
|
||||||
|
xdg_pkg_postrm
|
||||||
|
gnome2_schemas_update
|
||||||
|
}
|
@ -0,0 +1,42 @@
|
|||||||
|
# Copyright 1999-2023 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
PYTHON_COMPAT=( python3_{9..11} )
|
||||||
|
DISTUTILS_USE_PEP517=poetry
|
||||||
|
|
||||||
|
inherit distutils-r1
|
||||||
|
|
||||||
|
DESCRIPTION="Python library and command line tool for configuring a YubiKey"
|
||||||
|
HOMEPAGE="https://developers.yubico.com/yubikey-manager/"
|
||||||
|
# Per https://github.com/Yubico/yubikey-manager/issues/217, Yubico is
|
||||||
|
# the official source for tarballs, not Github
|
||||||
|
SRC_URI="https://developers.yubico.com/${PN}/Releases/${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="BSD-2"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
|
||||||
|
IUSE="ssl"
|
||||||
|
|
||||||
|
# app-crypt/ccid required for
|
||||||
|
# - 'ykman oath'
|
||||||
|
# - 'ykman openpgp'
|
||||||
|
# - 'ykman piv'
|
||||||
|
RDEPEND="
|
||||||
|
app-crypt/ccid
|
||||||
|
dev-python/click[${PYTHON_USEDEP}]
|
||||||
|
dev-python/cryptography[${PYTHON_USEDEP}]
|
||||||
|
dev-python/fido2:0/0.9[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pyscard[${PYTHON_USEDEP}]
|
||||||
|
ssl? ( >=dev-python/pyopenssl-0.15.1[${PYTHON_USEDEP}] )"
|
||||||
|
BDEPEND="test? (
|
||||||
|
dev-python/makefun[${PYTHON_USEDEP}]
|
||||||
|
)"
|
||||||
|
|
||||||
|
distutils_enable_tests pytest
|
||||||
|
|
||||||
|
python_install_all() {
|
||||||
|
distutils-r1_python_install_all
|
||||||
|
doman man/ykman.1
|
||||||
|
}
|
Binary file not shown.
@ -1 +0,0 @@
|
|||||||
DIST 2BabDict-1.0.zip 16960 BLAKE2B b510222a9d1d4045c9e29512db34b7a10ec9206291cc1604e87e8d04603cb40444403096fef5678b4a2dc1a5dd7f1a8a5c02f328b580dfb69c5cda7c53173913 SHA512 e6a3bf16461f5bdfe422beae0b4c2acf1f6701ed25d6ad7e7ae568ef232c49511d16ad78b0390bc114e8fb084eefd782314066af80498d8ac640e3c4ae817280
|
|
@ -1,12 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
|
||||||
<pkgmetadata>
|
|
||||||
<maintainer type="person">
|
|
||||||
<email>marecki@gentoo.org</email>
|
|
||||||
<name>Marek Szuba</name>
|
|
||||||
</maintainer>
|
|
||||||
<longdescription>
|
|
||||||
Definitions and Symbols from The Two Babylons by Rev. Alexander Hissop. Electronic edition formatted for the Online Bible by Gary Gallant.
|
|
||||||
</longdescription>
|
|
||||||
<stabilize-allarches/>
|
|
||||||
</pkgmetadata>
|
|
@ -1,13 +0,0 @@
|
|||||||
# Copyright 1999-2022 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
SWORD_MINIMUM_VERSION="1.5.1a"
|
|
||||||
|
|
||||||
inherit sword-module
|
|
||||||
|
|
||||||
DESCRIPTION="Definitions and Symbols from The Two Babylons"
|
|
||||||
HOMEPAGE="https://crosswire.org/sword/modules/ModInfo.jsp?modName=2BabDict"
|
|
||||||
LICENSE="public-domain"
|
|
||||||
KEYWORDS="~amd64 ~loong ~ppc ~riscv ~x86"
|
|
@ -1 +0,0 @@
|
|||||||
DIST AB-1.3.1.zip 1203747 BLAKE2B 9850d115e7f398375f72e8c350969e5d8aa3eb0cad6d8a1fc32f5c303dced090c70b60323bb16ade42cf7b2b78f62fc738cb34f04ef9bfbbfeddd167da80400f SHA512 11c27e2cfc162d4e12d1b2d9413d3417340c916d980f9591f27ae0d151e8e7832b4931e8421aab04ae89fcec91e8b09537aabf09464d07804f1e9399fe33528b
|
|
@ -1,9 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
|
||||||
<pkgmetadata>
|
|
||||||
<maintainer type="person">
|
|
||||||
<email>marecki@gentoo.org</email>
|
|
||||||
<name>Marek Szuba</name>
|
|
||||||
</maintainer>
|
|
||||||
<stabilize-allarches/>
|
|
||||||
</pkgmetadata>
|
|
@ -1,13 +0,0 @@
|
|||||||
# Copyright 1999-2022 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
SWORD_MINIMUM_VERSION="1.5.8"
|
|
||||||
|
|
||||||
inherit sword-module
|
|
||||||
|
|
||||||
DESCRIPTION="The Apostles' Bible"
|
|
||||||
HOMEPAGE="https://crosswire.org/sword/modules/ModInfo.jsp?modName=AB"
|
|
||||||
LICENSE="crosswire"
|
|
||||||
KEYWORDS="~amd64 ~loong ~ppc ~riscv ~x86"
|
|
@ -1 +0,0 @@
|
|||||||
DIST ABP-1.2.zip 4666032 BLAKE2B b2fef12a4f2a5ae915c02962424a7deecf5be2af92082470a1103e34ce5ee9b9314c4d5a57c7d0cc93a6e040c2e40710c1b8220703250494659738f7bbd96995 SHA512 b91531fbbaf4dff73c624de745e4589b2380cf86dd4426076b37f8074b954422fb4ac03a5e0b91c90bf2045d7af412311821123e96706b942d7f9483bf2e489c
|
|
@ -1,9 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
|
||||||
<pkgmetadata>
|
|
||||||
<maintainer type="person">
|
|
||||||
<email>marecki@gentoo.org</email>
|
|
||||||
<name>Marek Szuba</name>
|
|
||||||
</maintainer>
|
|
||||||
<stabilize-allarches/>
|
|
||||||
</pkgmetadata>
|
|
@ -1,13 +0,0 @@
|
|||||||
# Copyright 1999-2022 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
SWORD_MINIMUM_VERSION="1.5.9"
|
|
||||||
|
|
||||||
inherit sword-module
|
|
||||||
|
|
||||||
DESCRIPTION="Apostolic Bible Polyglot English Text"
|
|
||||||
HOMEPAGE="https://crosswire.org/sword/modules/ModInfo.jsp?modName=ABP"
|
|
||||||
LICENSE="crosswire"
|
|
||||||
KEYWORDS="~amd64 ~loong ~ppc ~riscv ~x86"
|
|
@ -1 +0,0 @@
|
|||||||
DIST ABPGRK-1.2.zip 4377505 BLAKE2B d6418e60f3801c12141560f7a2d778f19de7fb5ffb1610fd52171d045dd57bb9dac4234c2146d21082c0de2cfda9bf01911d26dc1c2e0874c4e9f63216841119 SHA512 5cc5850f00131ee75fefb43c125c432ee23778464afe8b717e7c005f053dbf540195be1b2e74cf2b60c85c2f11fe1d3076988d4a4d0999cd4dce54970c54c894
|
|
@ -1,9 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
|
||||||
<pkgmetadata>
|
|
||||||
<maintainer type="person">
|
|
||||||
<email>marecki@gentoo.org</email>
|
|
||||||
<name>Marek Szuba</name>
|
|
||||||
</maintainer>
|
|
||||||
<stabilize-allarches/>
|
|
||||||
</pkgmetadata>
|
|
@ -1,13 +0,0 @@
|
|||||||
# Copyright 1999-2022 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
SWORD_MINIMUM_VERSION="1.5.9"
|
|
||||||
|
|
||||||
inherit sword-module
|
|
||||||
|
|
||||||
DESCRIPTION="Apostolic Bible Polyglot Greek Text"
|
|
||||||
HOMEPAGE="https://crosswire.org/sword/modules/ModInfo.jsp?modName=ABPGRK"
|
|
||||||
LICENSE="crosswire"
|
|
||||||
KEYWORDS="~amd64 ~loong ~ppc ~riscv ~x86"
|
|
@ -1 +0,0 @@
|
|||||||
DIST ABS_Essay_GoodSam_SWB-1.0.zip 9530 BLAKE2B 10f46b8b5690040ccedf12cdaf77d55742836ef2f296e18391ace6c71ebd3c0fd6855fd5dfdecba3ecedf998d50d033179fffdd8651f31eccd36861e0aac5477 SHA512 6a9d60fbb241dd5612ef3ca09714084e19a092dc50534811e42592578bbcb160153e724be487f2851d78e47148ecdf6483fff079d683027a6a65401ef6969983
|
|
@ -1,9 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
|
||||||
<pkgmetadata>
|
|
||||||
<maintainer type="person">
|
|
||||||
<email>marecki@gentoo.org</email>
|
|
||||||
<name>Marek Szuba</name>
|
|
||||||
</maintainer>
|
|
||||||
<stabilize-allarches/>
|
|
||||||
</pkgmetadata>
|
|
@ -1,13 +0,0 @@
|
|||||||
# Copyright 1999-2022 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
SWORD_MINIMUM_VERSION="1.5.3"
|
|
||||||
|
|
||||||
inherit sword-module
|
|
||||||
|
|
||||||
DESCRIPTION="Essays on The Good Samaritan: Violence on the Road, Social World of Bandits"
|
|
||||||
HOMEPAGE="https://crosswire.org/sword/modules/ModInfo.jsp?modName=ABS_Essay_GoodSam_SWB"
|
|
||||||
LICENSE="public-domain"
|
|
||||||
KEYWORDS="~amd64 ~loong ~ppc ~riscv ~x86"
|
|
@ -1 +0,0 @@
|
|||||||
DIST ACV-2.0.zip 1396326 BLAKE2B 0aaf48548d4b6f7597b1d5339183d47ac35711a875dde8c42aeefe9345a2b7c19efa5ae58422f1feac93e98c521f4c4f09331f70f0e3d8f07b30fbb2c0ddf8a9 SHA512 913597446f8efda893bc27267a17c9de393d4dc6b6d865abc2d8c99f5b20f4bfc0b1107cd7d81a03c3c192bd8166ec5135d3e5eb9bfaf76998bc797eddf70dca
|
|
@ -1,9 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
|
||||||
<pkgmetadata>
|
|
||||||
<maintainer type="person">
|
|
||||||
<email>marecki@gentoo.org</email>
|
|
||||||
<name>Marek Szuba</name>
|
|
||||||
</maintainer>
|
|
||||||
<stabilize-allarches/>
|
|
||||||
</pkgmetadata>
|
|
@ -1,13 +0,0 @@
|
|||||||
# Copyright 1999-2022 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
SWORD_MINIMUM_VERSION="1.5.9"
|
|
||||||
|
|
||||||
inherit sword-module
|
|
||||||
|
|
||||||
DESCRIPTION="A Conservative Version"
|
|
||||||
HOMEPAGE="https://crosswire.org/sword/modules/ModInfo.jsp?modName=ACV"
|
|
||||||
LICENSE="public-domain"
|
|
||||||
KEYWORDS="~amd64 ~loong ~ppc ~riscv ~x86"
|
|
@ -1 +0,0 @@
|
|||||||
DIST AKJV-1.4.zip 1402903 BLAKE2B 726e61e4fd3b9eace74627c5dfbd38424b0472e127c3ec762b6cd3f587bccfbd690330245b3a8b2ca12cdc47c9ccdaf6fc5d710bab9ff963d9fd9c5b3e641580 SHA512 6f9ac42e6b768d356520384dd063f4deef409e15380e7b17c94e0870717c4b37881e17b4fe5eef62a55b71092fd37507a4f0b3a42149757756896b3fb021612c
|
|
@ -1,9 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
|
||||||
<pkgmetadata>
|
|
||||||
<maintainer type="person">
|
|
||||||
<email>marecki@gentoo.org</email>
|
|
||||||
<name>Marek Szuba</name>
|
|
||||||
</maintainer>
|
|
||||||
<stabilize-allarches/>
|
|
||||||
</pkgmetadata>
|
|
@ -1,13 +0,0 @@
|
|||||||
# Copyright 1999-2022 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
SWORD_MINIMUM_VERSION="1.5.1a"
|
|
||||||
|
|
||||||
inherit sword-module
|
|
||||||
|
|
||||||
DESCRIPTION="American King James Version"
|
|
||||||
HOMEPAGE="https://crosswire.org/sword/modules/ModInfo.jsp?modName=AKJV"
|
|
||||||
LICENSE="free-noncomm"
|
|
||||||
KEYWORDS="~amd64 ~loong ~ppc ~riscv ~x86"
|
|
@ -1 +0,0 @@
|
|||||||
DIST ASV-2.0.zip 3285762 BLAKE2B 511be1fd95ca75fd013a65c344f49205588bbee02ccfcf8e17760096a3734e54de442dbf528083e08a11e2a8a7f5eb32a44f14cdeafc02332825976f981418cc SHA512 0566e21ee437d2f2f93d3b93f5ae466a91b44c9df62bb8cda169cf586dccbe461ef1fe039225219bce29bf155ede2d778518bf3faeeaf56fb677f9c42deb18a6
|
|
@ -1,9 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
|
||||||
<pkgmetadata>
|
|
||||||
<maintainer type="person">
|
|
||||||
<email>marecki@gentoo.org</email>
|
|
||||||
<name>Marek Szuba</name>
|
|
||||||
</maintainer>
|
|
||||||
<stabilize-allarches/>
|
|
||||||
</pkgmetadata>
|
|
@ -1,13 +0,0 @@
|
|||||||
# Copyright 1999-2022 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
SWORD_MINIMUM_VERSION="1.5.9"
|
|
||||||
|
|
||||||
inherit sword-module
|
|
||||||
|
|
||||||
DESCRIPTION="American Standard Version (1901)"
|
|
||||||
HOMEPAGE="https://crosswire.org/sword/modules/ModInfo.jsp?modName=ASV"
|
|
||||||
LICENSE="public-domain"
|
|
||||||
KEYWORDS="~amd64 ~loong ~ppc ~riscv ~x86"
|
|
@ -1 +0,0 @@
|
|||||||
DIST Abbott-1.1.zip 435868 BLAKE2B 905e0a08b27a28f2de227738a3c2b48818c39cc4b5115c48ffaacdd817435ebd003cd71c0e011d18437a8a87277c2d352a4e344474b5b66de1d19133b975b9a4 SHA512 999fa69c552296140c6bb4309848b61c53e7cd96543b07d13b43bdf7250b55f33363961105058378fb4979a52e928fe2c1e0e6ff7655839fda0cd1fbc2a12fae
|
|
@ -1,9 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
|
||||||
<pkgmetadata>
|
|
||||||
<maintainer type="person">
|
|
||||||
<email>marecki@gentoo.org</email>
|
|
||||||
<name>Marek Szuba</name>
|
|
||||||
</maintainer>
|
|
||||||
<stabilize-allarches/>
|
|
||||||
</pkgmetadata>
|
|
@ -1,13 +0,0 @@
|
|||||||
# Copyright 1999-2022 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
SWORD_MINIMUM_VERSION="1.5.9"
|
|
||||||
|
|
||||||
inherit sword-module
|
|
||||||
|
|
||||||
DESCRIPTION="Illustrated New Testament"
|
|
||||||
HOMEPAGE="https://crosswire.org/sword/modules/ModInfo.jsp?modName=Abbott"
|
|
||||||
LICENSE="public-domain"
|
|
||||||
KEYWORDS="~amd64 ~loong ~ppc ~riscv ~x86"
|
|
@ -1 +0,0 @@
|
|||||||
DIST AbbottSmith-3.1.zip 1380078 BLAKE2B db5f850aec600f0f2547923b411c16230805785a0b02dd97a8acc1a64721dafdaa2a6b783f4d0c413986275211a5704c48c1a429630a7e97caef05bd0ca71d13 SHA512 37b3f7960f8018edd5ae3c68ffdc548cd84e522ca06d595c87178efb84f9a0eca26bb12324773b713c25b4e2dcfa1affa3ae19b6bd4d5bc34f9d3fd890784db5
|
|
@ -1,9 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
|
||||||
<pkgmetadata>
|
|
||||||
<maintainer type="person">
|
|
||||||
<email>marecki@gentoo.org</email>
|
|
||||||
<name>Marek Szuba</name>
|
|
||||||
</maintainer>
|
|
||||||
<stabilize-allarches/>
|
|
||||||
</pkgmetadata>
|
|
@ -1,13 +0,0 @@
|
|||||||
# Copyright 1999-2022 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
SWORD_MINIMUM_VERSION="1.7.2"
|
|
||||||
|
|
||||||
inherit sword-module
|
|
||||||
|
|
||||||
DESCRIPTION="G. Abbott-Smith's A Manual Greek Lexicon of the New Testament"
|
|
||||||
HOMEPAGE="https://crosswire.org/sword/modules/ModInfo.jsp?modName=AbbottSmith"
|
|
||||||
LICENSE="public-domain"
|
|
||||||
KEYWORDS="~amd64 ~loong ~ppc ~riscv ~x86"
|
|
@ -1 +0,0 @@
|
|||||||
DIST AbbottSmithStrongs-3.1.zip 1359849 BLAKE2B 8f8eb28c0f89f8a75b06e449657619b8ef0d876330274036fe6853c50cf994d68952a0433505a1b84e012bd84196be17e6126a8349e49d7cdfdc9e2a325a6357 SHA512 2c1ad24cc50b8a40105fbb3dcb0cf9a6790e1eadbd1dd65b0410dca57943d77d290eeff904085a6b3f81d7f02b7dca5d8fbfb2ecae609ccfe71608a76b1fa16c
|
|
@ -1,12 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
|
||||||
<pkgmetadata>
|
|
||||||
<maintainer type="person">
|
|
||||||
<email>marecki@gentoo.org</email>
|
|
||||||
<name>Marek Szuba</name>
|
|
||||||
</maintainer>
|
|
||||||
<stabilize-allarches/>
|
|
||||||
<longdescription>
|
|
||||||
Abbott-Smith is a project to mark up the G. Abbott-Smith's A Manual Greek Lexicon of the New Testament (New York: Scribner's, 1922) using TEI.
|
|
||||||
</longdescription>
|
|
||||||
</pkgmetadata>
|
|
@ -1,13 +0,0 @@
|
|||||||
# Copyright 1999-2022 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
SWORD_MINIMUM_VERSION="1.7.2"
|
|
||||||
|
|
||||||
inherit sword-module
|
|
||||||
|
|
||||||
DESCRIPTION="G. Abbott-Smith's A Manual Greek Lexicon of the New Testament"
|
|
||||||
HOMEPAGE="https://crosswire.org/sword/modules/ModInfo.jsp?modName=AbbottSmithStrongs"
|
|
||||||
LICENSE="public-domain"
|
|
||||||
KEYWORDS="~amd64 ~loong ~ppc ~riscv ~x86"
|
|
@ -1 +0,0 @@
|
|||||||
DIST Afr1953-1.3.2.zip 1447108 BLAKE2B e392da75c2bde25ebed24c71e2a5cd0c210759fb7d2afa005a74f233aeecf34d18c78d5b8880a987d3d93d292f9f922acd516bc971102f7b6d48ad6cbfad29dc SHA512 804fb54ae9e33000f6bc8f960318a41948a93cf9178aa479a6369084298ce6cd20d73c0a80f5210c33fbdc0f5b2806f9a5f060bbb454f0ab40ba0bb1c84ccb90
|
|
@ -1,9 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
|
||||||
<pkgmetadata>
|
|
||||||
<maintainer type="person">
|
|
||||||
<email>marecki@gentoo.org</email>
|
|
||||||
<name>Marek Szuba</name>
|
|
||||||
</maintainer>
|
|
||||||
<stabilize-allarches/>
|
|
||||||
</pkgmetadata>
|
|
@ -1,13 +0,0 @@
|
|||||||
# Copyright 1999-2022 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
SWORD_MINIMUM_VERSION="1.5.9"
|
|
||||||
|
|
||||||
inherit sword-module
|
|
||||||
|
|
||||||
DESCRIPTION="1933/1953 Afrikaans Bybel"
|
|
||||||
HOMEPAGE="https://crosswire.org/sword/modules/ModInfo.jsp?modName=Afr1953"
|
|
||||||
LICENSE="crosswire free-noncomm"
|
|
||||||
KEYWORDS="~amd64 ~loong ~ppc ~riscv ~x86"
|
|
@ -1 +0,0 @@
|
|||||||
DIST Alb-2.0.zip 1588203 BLAKE2B 26db7c2487f54dc810b99a4b0f5650f84724b52f6aa0d7b75091773f3dfc485d78791584cde18a1fb39b11e9a31b967a2be134388336e076b391258d0f1ea167 SHA512 7bd57c40e69c75f40a35d6601ff1a74827feefa13c8878ae60a046504c20b7eaf4cdca3573d31756cedd30951982f82b6c5950178c94eb81a1b7b50cb1a827e4
|
|
@ -1,9 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
|
||||||
<pkgmetadata>
|
|
||||||
<maintainer type="person">
|
|
||||||
<email>marecki@gentoo.org</email>
|
|
||||||
<name>Marek Szuba</name>
|
|
||||||
</maintainer>
|
|
||||||
<stabilize-allarches/>
|
|
||||||
</pkgmetadata>
|
|
@ -1,13 +0,0 @@
|
|||||||
# Copyright 1999-2022 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
SWORD_MINIMUM_VERSION="1.5.9"
|
|
||||||
|
|
||||||
inherit sword-module
|
|
||||||
|
|
||||||
DESCRIPTION="Albanian Bible"
|
|
||||||
HOMEPAGE="https://crosswire.org/sword/modules/ModInfo.jsp?modName=Alb"
|
|
||||||
LICENSE="public-domain"
|
|
||||||
KEYWORDS="~amd64 ~loong ~ppc ~riscv ~x86"
|
|
@ -1 +0,0 @@
|
|||||||
DIST Aleppo-2.0.zip 863221 BLAKE2B 939056461cf7ec9e5d5d574832b9513b827cb0181fbdee2d66ecde6da247d63dfc2ec108a0930f3e28b90145c57b726dfb1e1f34afd3ddb6f017beff69ca37d1 SHA512 1e9d9546fcb276ec191a863dc5750f954abeadd6c1f2e83fd58917d395cdbc34a5d268a581336a21ccc6d6c87f19e29b690d6329be823a2fe932b59e521ee061
|
|
@ -1,13 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
|
||||||
<pkgmetadata>
|
|
||||||
<maintainer type="person">
|
|
||||||
<email>marecki@gentoo.org</email>
|
|
||||||
<name>Marek Szuba</name>
|
|
||||||
</maintainer>
|
|
||||||
<stabilize-allarches/>
|
|
||||||
<longdescription>
|
|
||||||
The Aleppo Codex (i.e. Hebrew Bible) without Vowel Points or Punctuation.
|
|
||||||
Based on the electronic edition at http://www.mechon-mamre.org
|
|
||||||
</longdescription>
|
|
||||||
</pkgmetadata>
|
|
@ -1,13 +0,0 @@
|
|||||||
# Copyright 1999-2022 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
SWORD_MINIMUM_VERSION="1.6.0"
|
|
||||||
|
|
||||||
inherit sword-module
|
|
||||||
|
|
||||||
DESCRIPTION="Aleppo Codex"
|
|
||||||
HOMEPAGE="https://crosswire.org/sword/modules/ModInfo.jsp?modName=Aleppo"
|
|
||||||
LICENSE="public-domain"
|
|
||||||
KEYWORDS="~amd64 ~loong ~ppc ~riscv ~x86"
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue