parent
171112db3d
commit
ca1162689a
Binary file not shown.
Binary file not shown.
@ -0,0 +1,32 @@
|
|||||||
|
From 2379c720a7e490854a2f352ca53af6fbd99c0832 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Matt Whitlock <whitslack@users.noreply.github.com>
|
||||||
|
Date: Wed, 9 Jun 2021 10:25:18 -0400
|
||||||
|
Subject: [PATCH] configure.ac: fix SYSCONFDEFDIR default value
|
||||||
|
|
||||||
|
configure.ac was using AC_ARG_WITH incorrectly, yielding a generated configure script like:
|
||||||
|
|
||||||
|
# Check whether --with-sysconfdefdir was given.
|
||||||
|
if test "${with_sysconfdefdir+set}" = set; then :
|
||||||
|
withval=$with_sysconfdefdir; SYSCONFDEFDIR=$withval
|
||||||
|
else
|
||||||
|
"/etc/sysconfig"
|
||||||
|
fi
|
||||||
|
|
||||||
|
This commit fixes the default case so that the SYSCONFDEFDIR variable is assigned the value "/etc/sysconfig" rather than trying to execute "/etc/sysconfig" as a command.
|
||||||
|
---
|
||||||
|
configure.ac | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/configure.ac b/configure.ac
|
||||||
|
index f7d1947..33b81fe 100644
|
||||||
|
--- a/configure.ac
|
||||||
|
+++ b/configure.ac
|
||||||
|
@@ -172,7 +172,7 @@ AC_SUBST([RASSTATEDIR])
|
||||||
|
AC_ARG_WITH(sysconfdefdir,
|
||||||
|
AC_HELP_STRING([--with-sysconfdefdir=DIR], [rasdaemon environment file dir]),
|
||||||
|
[SYSCONFDEFDIR=$withval],
|
||||||
|
- ["/etc/sysconfig"])
|
||||||
|
+ [SYSCONFDEFDIR=/etc/sysconfig])
|
||||||
|
AC_SUBST([SYSCONFDEFDIR])
|
||||||
|
|
||||||
|
AC_DEFINE([RAS_DB_FNAME], ["ras-mc_event.db"], [ras events database])
|
@ -1,5 +1,6 @@
|
|||||||
DIST salt-3000.2-py38-misc.patch.gz 6250 BLAKE2B 68fff80a042e6bf208ea2d9692da7a7b1e29572f1ec3c850c14743bbf2821d231f933ec4e6d6eaad12acee0b7666888a37a72872b2b082c92d8db9de988fbbec SHA512 6d4a66323a423e630f7cc73b566ed96c452c8fc3d72c25a2dd86033c4774c1c8e8b8701e1d4ee92994d4148c398d704f419023e26d8b40c8fdd63f9d79d9d52f
|
DIST salt-3000.2-py38-misc.patch.gz 6250 BLAKE2B 68fff80a042e6bf208ea2d9692da7a7b1e29572f1ec3c850c14743bbf2821d231f933ec4e6d6eaad12acee0b7666888a37a72872b2b082c92d8db9de988fbbec SHA512 6d4a66323a423e630f7cc73b566ed96c452c8fc3d72c25a2dd86033c4774c1c8e8b8701e1d4ee92994d4148c398d704f419023e26d8b40c8fdd63f9d79d9d52f
|
||||||
DIST salt-3000.8.tar.gz 15249139 BLAKE2B df306669ba11dd650621222ff9c69f5a6e16b6f431e9d93e6712ee95da43091bfe28416fe0d71988ed9ee70cb347755b779a356c50fa59c63c67a874ed1906f4 SHA512 a18d5bea3b3835f83d5b1e5315990d83f6c58c36df5589d5de0f8cc3a46db4c960b58032e29d56841a160b9b170cdbb81bca38dbbd72ccb5866ccc8a7da6e800
|
DIST salt-3000.8.tar.gz 15249139 BLAKE2B df306669ba11dd650621222ff9c69f5a6e16b6f431e9d93e6712ee95da43091bfe28416fe0d71988ed9ee70cb347755b779a356c50fa59c63c67a874ed1906f4 SHA512 a18d5bea3b3835f83d5b1e5315990d83f6c58c36df5589d5de0f8cc3a46db4c960b58032e29d56841a160b9b170cdbb81bca38dbbd72ccb5866ccc8a7da6e800
|
||||||
|
DIST salt-3000.9.tar.gz 15250432 BLAKE2B b76c166363b0b0fd3e3aa4b5306ba8280a2c99fbc7fd9866d957406bba8e6fcc03b769b53dbb80b115f9fa9f1fdc93e1eb257f4bf04283e414a309c16e4f078f SHA512 94214f20a8a080ebdcbb7e3351f60a466c3a92cc85d177c2ea677192a63e58b0f9cacfb1af04e14022a7ac570ebd0b931722d1d001a7655dcd7502813c29a092
|
||||||
DIST salt-3001.6.tar.gz 15736056 BLAKE2B 00e7674452e9d61c3cd487d27a3a1f3435c6b12dcc89008aa63c96814957b6ce8654f4d4d51dbce7b14027f0cee66fd2ea9602f6be18bf2f4beac11ae164f89f SHA512 e45c9cfddb64ab1c9d66b6b6b3e5ff8d9010c01307161e5013140b4362ee630cf912ab153d1afa72f56d18fc5353293b2f4b449caf8ee384d1e93204d490bf4c
|
DIST salt-3001.6.tar.gz 15736056 BLAKE2B 00e7674452e9d61c3cd487d27a3a1f3435c6b12dcc89008aa63c96814957b6ce8654f4d4d51dbce7b14027f0cee66fd2ea9602f6be18bf2f4beac11ae164f89f SHA512 e45c9cfddb64ab1c9d66b6b6b3e5ff8d9010c01307161e5013140b4362ee630cf912ab153d1afa72f56d18fc5353293b2f4b449caf8ee384d1e93204d490bf4c
|
||||||
DIST salt-3002.5.tar.gz 15784880 BLAKE2B baa90bb0caea572dfbe12d92fb488ee0c4adef9a07221f394009cd43a62ffef18c57f2e7cdcfcd923807c7a3d02ce6833480f74d70250c29d311420f30514300 SHA512 dda2caa338f646ec51d2de6b0df10fbb27eceddbe8c797ae192b9ef1312d566ae71a243a3a95918fa375b125089aa29a73b1b908c5cc1b0451dccb582a4978a1
|
DIST salt-3002.5.tar.gz 15784880 BLAKE2B baa90bb0caea572dfbe12d92fb488ee0c4adef9a07221f394009cd43a62ffef18c57f2e7cdcfcd923807c7a3d02ce6833480f74d70250c29d311420f30514300 SHA512 dda2caa338f646ec51d2de6b0df10fbb27eceddbe8c797ae192b9ef1312d566ae71a243a3a95918fa375b125089aa29a73b1b908c5cc1b0451dccb582a4978a1
|
||||||
DIST salt-3003.tar.gz 15830910 BLAKE2B ea4f02eece951c3fb4fcc480d00f7b531ac549b2e23ff9a210b73f749f9ba83e0402e02a59028f41f94958d17512e417b7c1b7015e8ee3aeac55be9b1374fe6f SHA512 7f631466372f303c03f2852a5cfba1ee5c6ba1636a6fe1e1622e90d0b1376ef9f670aa1b4754f3d9c8c7fe1b99fe1b4c49e140dc86d90d157a1ec1e73ba43c38
|
DIST salt-3003.tar.gz 15830910 BLAKE2B ea4f02eece951c3fb4fcc480d00f7b531ac549b2e23ff9a210b73f749f9ba83e0402e02a59028f41f94958d17512e417b7c1b7015e8ee3aeac55be9b1374fe6f SHA512 7f631466372f303c03f2852a5cfba1ee5c6ba1636a6fe1e1622e90d0b1376ef9f670aa1b4754f3d9c8c7fe1b99fe1b4c49e140dc86d90d157a1ec1e73ba43c38
|
||||||
|
@ -0,0 +1,12 @@
|
|||||||
|
diff --git a/tests/unit/modules/test_cmdmod.py b/tests/unit/modules/test_cmdmod.py
|
||||||
|
index 2d88706b49..ec8b623f5b 100644
|
||||||
|
--- a/tests/unit/modules/test_cmdmod.py
|
||||||
|
+++ b/tests/unit/modules/test_cmdmod.py
|
||||||
|
@@ -509,6 +509,7 @@ class CMDMODTestCase(TestCase, LoaderModuleMockMixin):
|
||||||
|
self.assertEqual(ret['stdout'],
|
||||||
|
salt.utils.stringutils.to_unicode(stdout))
|
||||||
|
|
||||||
|
+ @skipIf(True, "Not happy in sandbox")
|
||||||
|
def test_run_all_output_loglevel_debug(self):
|
||||||
|
'''
|
||||||
|
Test that specifying debug for loglevel
|
@ -0,0 +1,203 @@
|
|||||||
|
# Copyright 1999-2021 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
PYTHON_COMPAT=( python3_{7..8} )
|
||||||
|
|
||||||
|
inherit systemd distutils-r1
|
||||||
|
|
||||||
|
DESCRIPTION="Salt is a remote execution and configuration manager"
|
||||||
|
HOMEPAGE="https://www.saltstack.com/resources/community/
|
||||||
|
https://github.com/saltstack"
|
||||||
|
|
||||||
|
if [[ ${PV} == 9999* ]]; then
|
||||||
|
inherit git-r3
|
||||||
|
EGIT_REPO_URI="git://github.com/${PN}stack/${PN}.git"
|
||||||
|
EGIT_BRANCH="develop"
|
||||||
|
SRC_URI=""
|
||||||
|
else
|
||||||
|
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz
|
||||||
|
https://dev.gentoo.org/~chutzpah/dist/salt/salt-3000.2-py38-misc.patch.gz"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
fi
|
||||||
|
|
||||||
|
LICENSE="Apache-2.0"
|
||||||
|
SLOT="0"
|
||||||
|
IUSE="cheetah cherrypy ldap libcloud libvirt genshi gnupg keyring mako
|
||||||
|
mongodb neutron nova openssl portage profile redis selinux test raet
|
||||||
|
+zeromq vim-syntax"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
sys-apps/pciutils
|
||||||
|
dev-python/distro[${PYTHON_USEDEP}]
|
||||||
|
dev-python/jinja[${PYTHON_USEDEP}]
|
||||||
|
dev-python/libnacl[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/msgpack-0.5[${PYTHON_USEDEP}]
|
||||||
|
<dev-python/msgpack-1.0[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pycryptodome[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||||
|
dev-python/markupsafe[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/requests-1.0.0[${PYTHON_USEDEP}]
|
||||||
|
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||||
|
libcloud? ( >=dev-python/libcloud-0.14.0[${PYTHON_USEDEP}] )
|
||||||
|
mako? ( dev-python/mako[${PYTHON_USEDEP}] )
|
||||||
|
ldap? ( dev-python/python-ldap[${PYTHON_USEDEP}] )
|
||||||
|
libvirt? (
|
||||||
|
$(python_gen_cond_dep 'dev-python/libvirt-python[${PYTHON_USEDEP}]' python3_8)
|
||||||
|
)
|
||||||
|
openssl? (
|
||||||
|
dev-libs/openssl:0=[-bindist]
|
||||||
|
dev-python/pyopenssl[${PYTHON_USEDEP}]
|
||||||
|
)
|
||||||
|
raet? (
|
||||||
|
>=dev-python/libnacl-1.0.0[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/ioflo-1.1.7[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/raet-0.6.0[${PYTHON_USEDEP}]
|
||||||
|
)
|
||||||
|
cherrypy? ( >=dev-python/cherrypy-3.2.2[${PYTHON_USEDEP}] )
|
||||||
|
cheetah? ( dev-python/cheetah3[${PYTHON_USEDEP}] )
|
||||||
|
mongodb? ( dev-python/pymongo[${PYTHON_USEDEP}] )
|
||||||
|
portage? ( sys-apps/portage[${PYTHON_USEDEP}] )
|
||||||
|
keyring? ( dev-python/keyring[${PYTHON_USEDEP}] )
|
||||||
|
redis? ( dev-python/redis-py[${PYTHON_USEDEP}] )
|
||||||
|
selinux? ( sec-policy/selinux-salt )
|
||||||
|
nova? (
|
||||||
|
$(python_gen_cond_dep '>=dev-python/python-novaclient-2.17.0[${PYTHON_USEDEP}]' python3_8)
|
||||||
|
)
|
||||||
|
neutron? (
|
||||||
|
$(python_gen_cond_dep '>=dev-python/python-neutronclient-2.3.6[${PYTHON_USEDEP}]' python3_8)
|
||||||
|
)
|
||||||
|
gnupg? ( dev-python/python-gnupg[${PYTHON_USEDEP}] )
|
||||||
|
profile? ( dev-python/yappi[${PYTHON_USEDEP}] )
|
||||||
|
vim-syntax? ( app-vim/salt-vim )
|
||||||
|
zeromq? ( >=dev-python/pyzmq-2.2.0[${PYTHON_USEDEP}] )
|
||||||
|
"
|
||||||
|
BDEPEND="
|
||||||
|
test? (
|
||||||
|
${RDEPEND}
|
||||||
|
>=dev-python/boto-2.32.1[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/jsonschema-3.0[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/libcloud-0.14.0[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/mock-2.0.0[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/moto-0.3.6[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pip[${PYTHON_USEDEP}]
|
||||||
|
dev-python/psutil[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pytest[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pytest-helpers-namespace[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pytest-helpers-namespace[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/pytest-salt-2018.12.8[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pytest-tempdir[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/SaltTesting-2016.5.11[${PYTHON_USEDEP}]
|
||||||
|
dev-python/virtualenv[${PYTHON_USEDEP}]
|
||||||
|
!x86? ( >=dev-python/boto3-1.2.1[${PYTHON_USEDEP}] )
|
||||||
|
)"
|
||||||
|
|
||||||
|
DOCS=( README.rst AUTHORS )
|
||||||
|
|
||||||
|
REQUIRED_USE="|| ( raet zeromq )
|
||||||
|
test? ( cheetah genshi )"
|
||||||
|
RESTRICT="!test? ( test ) x86? ( test )"
|
||||||
|
|
||||||
|
# tests failing with newer versions of deps
|
||||||
|
#RESTRICT+=" test"
|
||||||
|
|
||||||
|
PATCHES=(
|
||||||
|
"${FILESDIR}/salt-2017.7.0-dont-realpath-tmpdir.patch"
|
||||||
|
"${FILESDIR}/salt-2019.2.0-skip-tests-that-oom-machine.patch"
|
||||||
|
"${FILESDIR}/salt-3000.1-tests.patch"
|
||||||
|
"${FILESDIR}/salt-3000.2-tests.patch"
|
||||||
|
"${FILESDIR}/salt-3000.9-tests.patch"
|
||||||
|
|
||||||
|
# https://github.com/saltstack/salt/pull/55410
|
||||||
|
"${FILESDIR}/salt-3000.2-py38.patch"
|
||||||
|
|
||||||
|
# https://github.com/saltstack/salt/pull/55900
|
||||||
|
"${FILESDIR}/salt-3000.2-py38-abc.patch"
|
||||||
|
|
||||||
|
# misc py38 fixups
|
||||||
|
"${WORKDIR}/salt-3000.2-py38-misc.patch"
|
||||||
|
"${FILESDIR}/salt-3000.2-py38-logwarn.patch"
|
||||||
|
"${FILESDIR}/salt-2019.2.8-ansible-roster-fix.patch"
|
||||||
|
)
|
||||||
|
|
||||||
|
python_prepare_all() {
|
||||||
|
# remove tests with external dependencies that may not be available, and
|
||||||
|
# tests that don't work in sandbox
|
||||||
|
rm tests/unit/{test_zypp_plugins,utils/test_{extend,cache}}.py || die
|
||||||
|
rm tests/unit/modules/test_{file,boto_{vpc,secgroup,elb}}.py || die
|
||||||
|
rm tests/unit/states/test_boto_vpc.py tests/unit/test_module_names.py || die
|
||||||
|
|
||||||
|
# tests that require network access
|
||||||
|
rm tests/unit/{states,modules}/test_zcbuildout.py || die
|
||||||
|
rm tests/unit/transport/test_zeromq.py || die
|
||||||
|
|
||||||
|
# make sure pkg_resources doesn't bomb because pycrypto isn't installed
|
||||||
|
find . -name '*.txt' -print0 | xargs -0 sed -e '/pycrypto>/ d' -i || die
|
||||||
|
distutils-r1_python_prepare_all
|
||||||
|
}
|
||||||
|
|
||||||
|
python_prepare() {
|
||||||
|
einfo "Fixing collections.abc warnings for ${EPYTHON}"
|
||||||
|
local abc
|
||||||
|
abc="$("${EPYTHON}" -c 'import collections.abc; print("|".join((c for c in dir(collections.abc) if not c.startswith("_"))))')" || die
|
||||||
|
find -name '*.py' -type f -print0 | xargs -0 sed -r -e "s:collections\\.(${abc}):collections.abc.\\1:g" -i || die
|
||||||
|
|
||||||
|
# allow the use of the renamed msgpack
|
||||||
|
sed -i '/^msgpack/d' requirements/base.txt || die
|
||||||
|
}
|
||||||
|
|
||||||
|
python_install_all() {
|
||||||
|
local svc
|
||||||
|
USE_SETUPTOOLS=1 distutils-r1_python_install_all
|
||||||
|
|
||||||
|
for svc in minion master syndic api; do
|
||||||
|
newinitd "${FILESDIR}"/${svc}-initd-5 salt-${svc}
|
||||||
|
newconfd "${FILESDIR}"/${svc}-confd-1 salt-${svc}
|
||||||
|
systemd_dounit "${FILESDIR}"/salt-${svc}.service
|
||||||
|
done
|
||||||
|
|
||||||
|
insinto /etc/${PN}
|
||||||
|
doins -r conf/*
|
||||||
|
}
|
||||||
|
|
||||||
|
python_test() {
|
||||||
|
local tempdir
|
||||||
|
# testsuite likes lots of files
|
||||||
|
ulimit -n 3072 || die
|
||||||
|
|
||||||
|
# ${T} is too long a path for the tests to work
|
||||||
|
tempdir="$(mktemp -du --tmpdir=/tmp salt-XXX)"
|
||||||
|
mkdir "${T}/$(basename "${tempdir}")"
|
||||||
|
|
||||||
|
(
|
||||||
|
cleanup() { rm -f "${tempdir}" || die; }
|
||||||
|
|
||||||
|
trap cleanup EXIT
|
||||||
|
|
||||||
|
addwrite "${tempdir}"
|
||||||
|
ln -s "$(realpath --relative-to=/tmp "${T}/$(basename "${tempdir}")")" "${tempdir}" || die
|
||||||
|
|
||||||
|
USE_SETUPTOOLS=1 NO_INTERNET=1 SHELL="/bin/bash" \
|
||||||
|
TMPDIR="${tempdir}" \
|
||||||
|
${EPYTHON} tests/runtests.py \
|
||||||
|
--unit-tests --no-report --verbose \
|
||||||
|
|| die "testing failed with ${EPYTHON}"
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
if use python_targets_python3_8; then
|
||||||
|
if use nova; then
|
||||||
|
ewarn "Salt's nova functionality will not work with python3.8 since"
|
||||||
|
ewarn "dev-python/python-novaclient does not support it yet"
|
||||||
|
fi
|
||||||
|
if use neutron; then
|
||||||
|
ewarn "Salt's neutron functionality will not work with python3.8 since"
|
||||||
|
ewarn "dev-python/python-neutronclient does not support it yet"
|
||||||
|
fi
|
||||||
|
if use libvirt; then
|
||||||
|
ewarn "Salt's libvirt functionality will not work with python3.8 since"
|
||||||
|
ewarn "dev-python/libvirt-python does not support it yet"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
}
|
Binary file not shown.
@ -1,8 +1,2 @@
|
|||||||
DIST dpkg_1.19.0.5.tar.xz 4557428 BLAKE2B 99c31705bfad1cfa024366c788264f4e747a7143f87c581730797975303c1054003e41fd65ecf80df1dc053ba87c0e8449ec574ddcb158228b41ae57a23db18f SHA512 60d7198ffe6ea759c30ad82143b3107d41ce59224b853cb5a7beb79af0de6ba6a69414c365e6b3555a0a9c60e3cf9b543a3a448d80a734be38ccecb77ae963a9
|
|
||||||
DIST dpkg_1.19.6.tar.xz 4802832 BLAKE2B e35a805942e2b26a90cec80493a14697461cfb1c1352fa7fadce7171c8cca88785ff2590d34b8f0bd4763642cb21ee7bf449df86b01eef223554daba4604d1b1 SHA512 71981079835ea4bd5c4a381ca8702cf489c788034e29c129899eb288cfaf4ec55eb58c0aea13145dcde99f15a47d2de71fba7b5e7eb8e6b1b1d6f016de8a919d
|
|
||||||
DIST dpkg_1.19.7.tar.xz 4716724 BLAKE2B d65200fc5da986db8b66e31e1ea45b9757b87e0fa15f7fc0579f1c1c63de78829c1a10bbc72726fe3b75bf6c11cbe1fe3c9b62f8374c796f990835f9f0e79dd2 SHA512 9ca441dc265baf5359c71617aef1c57504a7097c26ea57108b88dadc511bfa9918fcc765d8c67cec9def9916c5df92d6cabe508446dbc7223a29b45260445e81
|
|
||||||
DIST dpkg_1.20.0.tar.xz 4738556 BLAKE2B 2e58b3881abd46854416b05b0f9d2e972c3b545412a506b7bc18f1ebae5d82eac8bc2b55920d706fee0ca02239871c4f1c121e0c780aef31404e0408fbfa76e8 SHA512 5dd7961bde19ccc891fd5b77ca0085f7fc0308c20380e20b393397ff92e50d1c0f54e7b57676c05876021b44aa3788af8258c21ff2b672110ac92c7ce0b408f9
|
|
||||||
DIST dpkg_1.20.2.tar.xz 4710300 BLAKE2B 0d10ee7f5cc863a6496fd8340cf0457f9af3d7d7a74821d561d0cc500a056d52664d1418453fa45dcb27d01ef59e55eb299ce1fcccd1ae7cb72b7c9e43b6b120 SHA512 523713e40d4f49332d96fdcabaeaf4d97f56b40bbbd51f18d17b5c79598249d04fdf96dfc5c8684408a666cf04f622cbd30da60efe68ba2cf1cd836cb2503e02
|
|
||||||
DIST dpkg_1.20.3.tar.xz 4712980 BLAKE2B 92a1ff07dbb01f8942452eee269eb45d4c164272bf3ae5d0a62a6086c4321e7fc3dd5b164089d7f2e476258f8ec8c480c1614d4f43e3a7a7f1e632bf13191d2e SHA512 5893ae34efc6f9d54e47fc403487c79233501666968681b827bbabbf39b1401cb7064f8fe8797708ed32bb37345dbb78a1daac04c6dc7064f2811265f3a4e82c
|
|
||||||
DIST dpkg_1.20.5.tar.xz 4715684 BLAKE2B 32b88cbd1ae75685b6c0b04b7c829372df323a9508ddd088076097e8bf2ac9050f1f4ec591fb7d40c4d4ea34207cef0edd430d0326cb73e1f7c8dd560db916be SHA512 6b3789c25c81022181b87a28ca9baa4a463a68940a871568c699a2a30e3b4ce705835ed6a171ac8c5902e377200b31cc0be1e03cbd7d35c4eaf92c7300d9227f
|
|
||||||
DIST dpkg_1.20.7.1.tar.xz 4952736 BLAKE2B 0439cd9440c34597ff5c5e04bd8e1b79d34cd7675a216cbe1e7dc4d68460847143a8a7dff14b1845374d8e504d6fba63842b1d1ac37aa01f7b2a96b78ef0278d SHA512 beec7a7ba1cfbd6954b3d583e57c811af3bfa5e4e4554e6af6673d4a4be0e79fb4aded2f6aeeda592c2ba3d91facb82138f2eb8eb2338dc4fae1832911df2fd6
|
DIST dpkg_1.20.7.1.tar.xz 4952736 BLAKE2B 0439cd9440c34597ff5c5e04bd8e1b79d34cd7675a216cbe1e7dc4d68460847143a8a7dff14b1845374d8e504d6fba63842b1d1ac37aa01f7b2a96b78ef0278d SHA512 beec7a7ba1cfbd6954b3d583e57c811af3bfa5e4e4554e6af6673d4a4be0e79fb4aded2f6aeeda592c2ba3d91facb82138f2eb8eb2338dc4fae1832911df2fd6
|
||||||
|
DIST dpkg_1.20.9.tar.xz 4954428 BLAKE2B 4e04f7a90c8696971895081e18b220d9dee4bc5930428f131556ae71c673e61e18c363e279b566c2218da60a5aca421807c14cf518952502e707c7397769097b SHA512 904a4742f5f340dc65b2137364dce102a0b2eb42ccedb2a73f79c207362c699fbffaaf1379f1f6c8b8b0e490321af1d03c34b50ebe0c703f5ce8a7f75f17a839
|
||||||
|
@ -1,87 +0,0 @@
|
|||||||
# Copyright 1999-2020 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=6
|
|
||||||
inherit eutils multilib autotools toolchain-funcs
|
|
||||||
|
|
||||||
DESCRIPTION="Package maintenance system for Debian"
|
|
||||||
HOMEPAGE="https://packages.qa.debian.org/dpkg"
|
|
||||||
SRC_URI="mirror://debian/pool/main/d/${PN}/${P/-/_}.tar.xz"
|
|
||||||
|
|
||||||
LICENSE="GPL-2+"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux"
|
|
||||||
IUSE="+bzip2 +lzma nls selinux test unicode +update-alternatives +zlib"
|
|
||||||
RESTRICT="!test? ( test )"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
>=dev-lang/perl-5.14.2:=
|
|
||||||
bzip2? ( app-arch/bzip2 )
|
|
||||||
lzma? ( app-arch/xz-utils )
|
|
||||||
selinux? ( sys-libs/libselinux )
|
|
||||||
zlib? ( >=sys-libs/zlib-1.1.4 )
|
|
||||||
"
|
|
||||||
DEPEND="
|
|
||||||
${RDEPEND}
|
|
||||||
app-arch/xz-utils
|
|
||||||
sys-devel/flex
|
|
||||||
virtual/pkgconfig
|
|
||||||
nls? (
|
|
||||||
app-text/po4a
|
|
||||||
>=sys-devel/gettext-0.18.2
|
|
||||||
)
|
|
||||||
test? (
|
|
||||||
dev-perl/IO-String
|
|
||||||
dev-perl/Test-Pod
|
|
||||||
virtual/perl-Test-Harness
|
|
||||||
)
|
|
||||||
"
|
|
||||||
|
|
||||||
DOCS=(
|
|
||||||
ChangeLog
|
|
||||||
THANKS
|
|
||||||
TODO
|
|
||||||
)
|
|
||||||
PATCHES=(
|
|
||||||
"${FILESDIR}"/${PN}-1.18.12-dpkg_buildpackage-test.patch
|
|
||||||
"${FILESDIR}"/${PN}-1.18.12-flags.patch
|
|
||||||
"${FILESDIR}"/${PN}-1.18.12-rsyncable.patch
|
|
||||||
)
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
use nls && strip-linguas -i po
|
|
||||||
|
|
||||||
default
|
|
||||||
|
|
||||||
eautoreconf
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
tc-export CC
|
|
||||||
econf \
|
|
||||||
$(use_enable nls) \
|
|
||||||
$(use_enable unicode) \
|
|
||||||
$(use_enable update-alternatives) \
|
|
||||||
$(use_with bzip2 libbz2) \
|
|
||||||
$(use_with lzma liblzma) \
|
|
||||||
$(use_with selinux libselinux) \
|
|
||||||
$(use_with zlib libz) \
|
|
||||||
--disable-compiler-warnings \
|
|
||||||
--disable-dselect \
|
|
||||||
--disable-start-stop-daemon \
|
|
||||||
--localstatedir="${EPREFIX}"/var \
|
|
||||||
--without-libmd
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
emake AR=$(tc-getAR)
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
default
|
|
||||||
|
|
||||||
keepdir /usr/$(get_libdir)/db/methods/{mnt,floppy,disk}
|
|
||||||
keepdir /usr/$(get_libdir)/db/{alternatives,info,methods,parts,updates}
|
|
||||||
|
|
||||||
find "${ED}" -name '*.la' -delete || die
|
|
||||||
}
|
|
@ -1,91 +0,0 @@
|
|||||||
# Copyright 1999-2020 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=6
|
|
||||||
inherit eutils multilib autotools toolchain-funcs
|
|
||||||
|
|
||||||
DESCRIPTION="Package maintenance system for Debian"
|
|
||||||
HOMEPAGE="https://packages.qa.debian.org/dpkg"
|
|
||||||
SRC_URI="mirror://debian/pool/main/d/${PN}/${P/-/_}.tar.xz"
|
|
||||||
|
|
||||||
LICENSE="GPL-2+"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
|
|
||||||
IUSE="+bzip2 libmd +lzma nls selinux static-libs test unicode +update-alternatives +zlib"
|
|
||||||
RESTRICT="!test? ( test )"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
>=dev-lang/perl-5.14.2:=
|
|
||||||
bzip2? ( app-arch/bzip2 )
|
|
||||||
libmd? ( app-crypt/libmd )
|
|
||||||
lzma? ( app-arch/xz-utils )
|
|
||||||
nls? ( virtual/libintl )
|
|
||||||
selinux? ( sys-libs/libselinux )
|
|
||||||
zlib? ( >=sys-libs/zlib-1.1.4 )
|
|
||||||
"
|
|
||||||
DEPEND="
|
|
||||||
${RDEPEND}
|
|
||||||
app-arch/xz-utils
|
|
||||||
sys-devel/flex
|
|
||||||
virtual/pkgconfig
|
|
||||||
nls? (
|
|
||||||
app-text/po4a
|
|
||||||
>=sys-devel/gettext-0.18.2
|
|
||||||
)
|
|
||||||
test? (
|
|
||||||
dev-perl/IO-String
|
|
||||||
dev-perl/Test-Pod
|
|
||||||
virtual/perl-Test-Harness
|
|
||||||
)
|
|
||||||
"
|
|
||||||
DOCS=(
|
|
||||||
ChangeLog
|
|
||||||
THANKS
|
|
||||||
TODO
|
|
||||||
)
|
|
||||||
PATCHES=(
|
|
||||||
"${FILESDIR}"/${PN}-1.18.12-dpkg_buildpackage-test.patch
|
|
||||||
"${FILESDIR}"/${PN}-1.18.12-flags.patch
|
|
||||||
"${FILESDIR}"/${PN}-1.18.12-rsyncable.patch
|
|
||||||
)
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
use nls && strip-linguas -i po
|
|
||||||
|
|
||||||
default
|
|
||||||
|
|
||||||
eautoreconf
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
tc-export CC
|
|
||||||
econf \
|
|
||||||
$(use_enable nls) \
|
|
||||||
$(use_enable static-libs static) \
|
|
||||||
$(use_enable unicode) \
|
|
||||||
$(use_enable update-alternatives) \
|
|
||||||
$(use_with bzip2 libbz2) \
|
|
||||||
$(use_with libmd) \
|
|
||||||
$(use_with lzma liblzma) \
|
|
||||||
$(use_with selinux libselinux) \
|
|
||||||
$(use_with zlib libz) \
|
|
||||||
--disable-compiler-warnings \
|
|
||||||
--disable-dselect \
|
|
||||||
--disable-start-stop-daemon \
|
|
||||||
--localstatedir="${EPREFIX}"/var
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
emake AR=$(tc-getAR)
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
default
|
|
||||||
|
|
||||||
keepdir \
|
|
||||||
/usr/$(get_libdir)/db/methods/{mnt,floppy,disk} \
|
|
||||||
/var/lib/dpkg/{alternatives,info,parts,updates}
|
|
||||||
# /usr/$(get_libdir)/db/{alternatives,info,parts,updates} \
|
|
||||||
|
|
||||||
find "${ED}" -name '*.la' -delete || die
|
|
||||||
}
|
|
@ -1,91 +0,0 @@
|
|||||||
# Copyright 1999-2020 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=6
|
|
||||||
inherit eutils multilib autotools toolchain-funcs
|
|
||||||
|
|
||||||
DESCRIPTION="Package maintenance system for Debian"
|
|
||||||
HOMEPAGE="https://packages.qa.debian.org/dpkg"
|
|
||||||
SRC_URI="mirror://debian/pool/main/d/${PN}/${P/-/_}.tar.xz"
|
|
||||||
|
|
||||||
LICENSE="GPL-2+"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
|
|
||||||
IUSE="+bzip2 libmd +lzma nls selinux static-libs test unicode +update-alternatives +zlib"
|
|
||||||
RESTRICT="!test? ( test )"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
>=dev-lang/perl-5.14.2:=
|
|
||||||
bzip2? ( app-arch/bzip2 )
|
|
||||||
libmd? ( app-crypt/libmd )
|
|
||||||
lzma? ( app-arch/xz-utils )
|
|
||||||
nls? ( virtual/libintl )
|
|
||||||
selinux? ( sys-libs/libselinux )
|
|
||||||
zlib? ( >=sys-libs/zlib-1.1.4 )
|
|
||||||
"
|
|
||||||
DEPEND="
|
|
||||||
${RDEPEND}
|
|
||||||
app-arch/xz-utils
|
|
||||||
sys-devel/flex
|
|
||||||
virtual/pkgconfig
|
|
||||||
nls? (
|
|
||||||
app-text/po4a
|
|
||||||
>=sys-devel/gettext-0.18.2
|
|
||||||
)
|
|
||||||
test? (
|
|
||||||
dev-perl/IO-String
|
|
||||||
dev-perl/Test-Pod
|
|
||||||
virtual/perl-Test-Harness
|
|
||||||
)
|
|
||||||
"
|
|
||||||
DOCS=(
|
|
||||||
ChangeLog
|
|
||||||
THANKS
|
|
||||||
TODO
|
|
||||||
)
|
|
||||||
PATCHES=(
|
|
||||||
"${FILESDIR}"/${PN}-1.18.12-dpkg_buildpackage-test.patch
|
|
||||||
"${FILESDIR}"/${PN}-1.18.12-flags.patch
|
|
||||||
"${FILESDIR}"/${PN}-1.18.12-rsyncable.patch
|
|
||||||
)
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
use nls && strip-linguas -i po
|
|
||||||
|
|
||||||
default
|
|
||||||
|
|
||||||
eautoreconf
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
tc-export CC
|
|
||||||
econf \
|
|
||||||
$(use_enable nls) \
|
|
||||||
$(use_enable static-libs static) \
|
|
||||||
$(use_enable unicode) \
|
|
||||||
$(use_enable update-alternatives) \
|
|
||||||
$(use_with bzip2 libbz2) \
|
|
||||||
$(use_with libmd) \
|
|
||||||
$(use_with lzma liblzma) \
|
|
||||||
$(use_with selinux libselinux) \
|
|
||||||
$(use_with zlib libz) \
|
|
||||||
--disable-compiler-warnings \
|
|
||||||
--disable-dselect \
|
|
||||||
--disable-start-stop-daemon \
|
|
||||||
--localstatedir="${EPREFIX}"/var
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
emake AR=$(tc-getAR)
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
default
|
|
||||||
|
|
||||||
keepdir \
|
|
||||||
/usr/$(get_libdir)/db/methods/{mnt,floppy,disk} \
|
|
||||||
/var/lib/dpkg/{alternatives,info,parts,updates}
|
|
||||||
# /usr/$(get_libdir)/db/{alternatives,info,parts,updates} \
|
|
||||||
|
|
||||||
find "${ED}" -name '*.la' -delete || die
|
|
||||||
}
|
|
@ -1,90 +0,0 @@
|
|||||||
# Copyright 1999-2020 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=6
|
|
||||||
inherit eutils multilib autotools toolchain-funcs
|
|
||||||
|
|
||||||
DESCRIPTION="Package maintenance system for Debian"
|
|
||||||
HOMEPAGE="https://packages.qa.debian.org/dpkg"
|
|
||||||
SRC_URI="mirror://debian/pool/main/d/${PN}/${P/-/_}.tar.xz"
|
|
||||||
|
|
||||||
LICENSE="GPL-2+"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
|
|
||||||
IUSE="+bzip2 libmd +lzma nls selinux static-libs test unicode +update-alternatives +zlib"
|
|
||||||
RESTRICT="!test? ( test )"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
>=dev-lang/perl-5.14.2:=
|
|
||||||
bzip2? ( app-arch/bzip2 )
|
|
||||||
libmd? ( app-crypt/libmd )
|
|
||||||
lzma? ( app-arch/xz-utils )
|
|
||||||
nls? ( virtual/libintl )
|
|
||||||
selinux? ( sys-libs/libselinux )
|
|
||||||
zlib? ( >=sys-libs/zlib-1.1.4 )
|
|
||||||
"
|
|
||||||
DEPEND="
|
|
||||||
${RDEPEND}
|
|
||||||
app-arch/xz-utils
|
|
||||||
sys-devel/flex
|
|
||||||
virtual/pkgconfig
|
|
||||||
nls? (
|
|
||||||
app-text/po4a
|
|
||||||
>=sys-devel/gettext-0.18.2
|
|
||||||
)
|
|
||||||
test? (
|
|
||||||
dev-perl/IO-String
|
|
||||||
dev-perl/Test-Pod
|
|
||||||
virtual/perl-Test-Harness
|
|
||||||
)
|
|
||||||
"
|
|
||||||
DOCS=(
|
|
||||||
ChangeLog
|
|
||||||
THANKS
|
|
||||||
TODO
|
|
||||||
)
|
|
||||||
PATCHES=(
|
|
||||||
"${FILESDIR}"/${PN}-1.18.12-dpkg_buildpackage-test.patch
|
|
||||||
"${FILESDIR}"/${PN}-1.18.12-flags.patch
|
|
||||||
"${FILESDIR}"/${PN}-1.18.12-rsyncable.patch
|
|
||||||
)
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
use nls && strip-linguas -i po
|
|
||||||
|
|
||||||
default
|
|
||||||
|
|
||||||
eautoreconf
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
tc-export CC
|
|
||||||
econf \
|
|
||||||
$(use_enable nls) \
|
|
||||||
$(use_enable static-libs static) \
|
|
||||||
$(use_enable unicode) \
|
|
||||||
$(use_enable update-alternatives) \
|
|
||||||
$(use_with bzip2 libbz2) \
|
|
||||||
$(use_with libmd) \
|
|
||||||
$(use_with lzma liblzma) \
|
|
||||||
$(use_with selinux libselinux) \
|
|
||||||
$(use_with zlib libz) \
|
|
||||||
--disable-compiler-warnings \
|
|
||||||
--disable-dselect \
|
|
||||||
--disable-start-stop-daemon \
|
|
||||||
--localstatedir="${EPREFIX}"/var
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
emake AR=$(tc-getAR)
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
default
|
|
||||||
|
|
||||||
keepdir \
|
|
||||||
/usr/$(get_libdir)/db/methods/{mnt,floppy,disk} \
|
|
||||||
/var/lib/dpkg/{alternatives,info,parts,updates}
|
|
||||||
|
|
||||||
find "${ED}" -name '*.la' -delete || die
|
|
||||||
}
|
|
@ -1,90 +0,0 @@
|
|||||||
# Copyright 1999-2020 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
inherit multilib autotools toolchain-funcs
|
|
||||||
|
|
||||||
DESCRIPTION="Package maintenance system for Debian"
|
|
||||||
HOMEPAGE="https://packages.qa.debian.org/dpkg"
|
|
||||||
SRC_URI="mirror://debian/pool/main/d/${PN}/${P/-/_}.tar.xz"
|
|
||||||
|
|
||||||
LICENSE="GPL-2+"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
|
|
||||||
IUSE="+bzip2 libmd +lzma nls selinux static-libs test unicode +update-alternatives +zlib"
|
|
||||||
RESTRICT="!test? ( test )"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
>=dev-lang/perl-5.14.2:=
|
|
||||||
bzip2? ( app-arch/bzip2 )
|
|
||||||
libmd? ( app-crypt/libmd )
|
|
||||||
lzma? ( app-arch/xz-utils )
|
|
||||||
nls? ( virtual/libintl )
|
|
||||||
selinux? ( sys-libs/libselinux )
|
|
||||||
zlib? ( >=sys-libs/zlib-1.1.4 )
|
|
||||||
"
|
|
||||||
DEPEND="
|
|
||||||
${RDEPEND}
|
|
||||||
app-arch/xz-utils
|
|
||||||
virtual/pkgconfig
|
|
||||||
test? (
|
|
||||||
dev-perl/IO-String
|
|
||||||
dev-perl/Test-Pod
|
|
||||||
virtual/perl-Test-Harness
|
|
||||||
)
|
|
||||||
"
|
|
||||||
BDEPEND="
|
|
||||||
sys-devel/flex
|
|
||||||
nls? (
|
|
||||||
app-text/po4a
|
|
||||||
>=sys-devel/gettext-0.18.2
|
|
||||||
)
|
|
||||||
"
|
|
||||||
DOCS=(
|
|
||||||
ChangeLog
|
|
||||||
THANKS
|
|
||||||
TODO
|
|
||||||
)
|
|
||||||
PATCHES=(
|
|
||||||
"${FILESDIR}"/${PN}-1.18.12-dpkg_buildpackage-test.patch
|
|
||||||
"${FILESDIR}"/${PN}-1.18.12-flags.patch
|
|
||||||
"${FILESDIR}"/${PN}-1.18.12-rsyncable.patch
|
|
||||||
)
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
default
|
|
||||||
|
|
||||||
eautoreconf
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
tc-export CC
|
|
||||||
econf \
|
|
||||||
$(use_enable nls) \
|
|
||||||
$(use_enable static-libs static) \
|
|
||||||
$(use_enable unicode) \
|
|
||||||
$(use_enable update-alternatives) \
|
|
||||||
$(use_with bzip2 libbz2) \
|
|
||||||
$(use_with libmd) \
|
|
||||||
$(use_with lzma liblzma) \
|
|
||||||
$(use_with selinux libselinux) \
|
|
||||||
$(use_with zlib libz) \
|
|
||||||
--disable-compiler-warnings \
|
|
||||||
--disable-dselect \
|
|
||||||
--disable-start-stop-daemon \
|
|
||||||
--localstatedir="${EPREFIX}"/var
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
emake AR=$(tc-getAR)
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
default
|
|
||||||
|
|
||||||
keepdir \
|
|
||||||
/usr/$(get_libdir)/db/methods/{mnt,floppy,disk} \
|
|
||||||
/var/lib/dpkg/{alternatives,info,parts,updates}
|
|
||||||
|
|
||||||
find "${ED}" -name '*.la' -delete || die
|
|
||||||
}
|
|
@ -1,90 +0,0 @@
|
|||||||
# Copyright 1999-2020 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
inherit multilib autotools toolchain-funcs
|
|
||||||
|
|
||||||
DESCRIPTION="Package maintenance system for Debian"
|
|
||||||
HOMEPAGE="https://packages.qa.debian.org/dpkg"
|
|
||||||
SRC_URI="mirror://debian/pool/main/d/${PN}/${P/-/_}.tar.xz"
|
|
||||||
|
|
||||||
LICENSE="GPL-2+"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
|
|
||||||
IUSE="+bzip2 libmd +lzma nls selinux static-libs test unicode +update-alternatives +zlib"
|
|
||||||
RESTRICT="!test? ( test )"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
>=dev-lang/perl-5.14.2:=
|
|
||||||
bzip2? ( app-arch/bzip2 )
|
|
||||||
libmd? ( app-crypt/libmd )
|
|
||||||
lzma? ( app-arch/xz-utils )
|
|
||||||
nls? ( virtual/libintl )
|
|
||||||
selinux? ( sys-libs/libselinux )
|
|
||||||
zlib? ( >=sys-libs/zlib-1.1.4 )
|
|
||||||
"
|
|
||||||
DEPEND="
|
|
||||||
${RDEPEND}
|
|
||||||
app-arch/xz-utils
|
|
||||||
virtual/pkgconfig
|
|
||||||
test? (
|
|
||||||
dev-perl/IO-String
|
|
||||||
dev-perl/Test-Pod
|
|
||||||
virtual/perl-Test-Harness
|
|
||||||
)
|
|
||||||
"
|
|
||||||
BDEPEND="
|
|
||||||
sys-devel/flex
|
|
||||||
nls? (
|
|
||||||
app-text/po4a
|
|
||||||
>=sys-devel/gettext-0.18.2
|
|
||||||
)
|
|
||||||
"
|
|
||||||
DOCS=(
|
|
||||||
ChangeLog
|
|
||||||
THANKS
|
|
||||||
TODO
|
|
||||||
)
|
|
||||||
PATCHES=(
|
|
||||||
"${FILESDIR}"/${PN}-1.18.12-dpkg_buildpackage-test.patch
|
|
||||||
"${FILESDIR}"/${PN}-1.18.12-flags.patch
|
|
||||||
"${FILESDIR}"/${PN}-1.18.12-rsyncable.patch
|
|
||||||
)
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
default
|
|
||||||
|
|
||||||
eautoreconf
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
tc-export CC
|
|
||||||
econf \
|
|
||||||
$(use_enable nls) \
|
|
||||||
$(use_enable static-libs static) \
|
|
||||||
$(use_enable unicode) \
|
|
||||||
$(use_enable update-alternatives) \
|
|
||||||
$(use_with bzip2 libbz2) \
|
|
||||||
$(use_with libmd) \
|
|
||||||
$(use_with lzma liblzma) \
|
|
||||||
$(use_with selinux libselinux) \
|
|
||||||
$(use_with zlib libz) \
|
|
||||||
--disable-compiler-warnings \
|
|
||||||
--disable-dselect \
|
|
||||||
--disable-start-stop-daemon \
|
|
||||||
--localstatedir="${EPREFIX}"/var
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
emake AR=$(tc-getAR)
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
default
|
|
||||||
|
|
||||||
keepdir \
|
|
||||||
/usr/$(get_libdir)/db/methods/{mnt,floppy,disk} \
|
|
||||||
/var/lib/dpkg/{alternatives,info,parts,updates}
|
|
||||||
|
|
||||||
find "${ED}" -name '*.la' -delete || die
|
|
||||||
}
|
|
@ -1,4 +1,4 @@
|
|||||||
# Copyright 1999-2020 Gentoo Authors
|
# Copyright 1999-2021 Gentoo Authors
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
EAPI=7
|
EAPI=7
|
@ -1,10 +0,0 @@
|
|||||||
--- a/scripts/Makefile.am
|
|
||||||
+++ b/scripts/Makefile.am
|
|
||||||
@@ -238,7 +238,6 @@
|
|
||||||
t/Dpkg_Source_Package.t \
|
|
||||||
t/Dpkg_Dist_Files.t \
|
|
||||||
t/dpkg_source.t \
|
|
||||||
- t/dpkg_buildpackage.t \
|
|
||||||
t/merge_changelogs.t \
|
|
||||||
t/mk.t \
|
|
||||||
$(nil)
|
|
Binary file not shown.
@ -1 +1,2 @@
|
|||||||
DIST borgmatic-1.5.13.tar.gz 72469 BLAKE2B 3a71be201143a96968bb1ea6008b62e11f6ab199f44f38d0d66f31f24827a8f32cc7b8f50cc5d33a8bbd7046e6697afe509525be90dd9519f4c686b8737f64c5 SHA512 60bcbcc825db3f93a423ab8e44e0b0809ff4937d8e41bc56ec6226e4865c3a66fae8b6749d33cdb0692ea9dd07cfff56750ff2feee68c96791b83c9dd5f35433
|
DIST borgmatic-1.5.13.tar.gz 72469 BLAKE2B 3a71be201143a96968bb1ea6008b62e11f6ab199f44f38d0d66f31f24827a8f32cc7b8f50cc5d33a8bbd7046e6697afe509525be90dd9519f4c686b8737f64c5 SHA512 60bcbcc825db3f93a423ab8e44e0b0809ff4937d8e41bc56ec6226e4865c3a66fae8b6749d33cdb0692ea9dd07cfff56750ff2feee68c96791b83c9dd5f35433
|
||||||
|
DIST borgmatic-1.5.14.tar.gz 273464 BLAKE2B 8325643c79f1e2e0a6d94f1e73dbf45bef82ba3d63c48b6652ffc2fb6a7d1dd5b45fb369346292129f948ae88216e93c2b0ab88ff889ae49cfb0dd321bed4125 SHA512 eb0aedfafe06f90dc3e54a19299a9ea7e8c83bdec0a305228bf13b951d75a5d2a68d2fe6b037adb57588b036081075fb697e000c8ea4ff467a582a6b1ac9fd60
|
||||||
|
@ -0,0 +1,71 @@
|
|||||||
|
# Copyright 1999-2021 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
PYTHON_COMPAT=( python3_{7..9} )
|
||||||
|
DISTUTILS_SINGLE_IMPL=1
|
||||||
|
DISTUTILS_USE_SETUPTOOLS="rdepend"
|
||||||
|
|
||||||
|
inherit distutils-r1 systemd
|
||||||
|
|
||||||
|
DESCRIPTION="Automatically create, prune and verify backups with borgbackup"
|
||||||
|
HOMEPAGE="https://torsion.org/borgmatic/"
|
||||||
|
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="GPL-3"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~arm ~arm64"
|
||||||
|
|
||||||
|
# Fails due to problems with dev-python/flexmock-0.10.4; see Bug #740128
|
||||||
|
RESTRICT="test"
|
||||||
|
|
||||||
|
# borg is called as an external tool, hence no pythonic stuff
|
||||||
|
RDEPEND="app-backup/borgbackup
|
||||||
|
$(python_gen_cond_dep '
|
||||||
|
dev-python/colorama[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/pykwalify-1.6.0[${PYTHON_USEDEP}]
|
||||||
|
dev-python/requests[${PYTHON_USEDEP}]
|
||||||
|
<dev-python/ruamel-yaml-0.18.0[${PYTHON_USEDEP}]
|
||||||
|
')"
|
||||||
|
#BDEPEND="
|
||||||
|
# test? (
|
||||||
|
# $(python_gen_cond_dep '
|
||||||
|
# dev-python/flexmock[${PYTHON_USEDEP}]
|
||||||
|
# ')
|
||||||
|
# )"
|
||||||
|
|
||||||
|
PATCHES=(
|
||||||
|
"${FILESDIR}"/${PN}-1.5.1-systemd_service_bin_path.patch
|
||||||
|
"${FILESDIR}"/${PN}-1.5.1-no_test_coverage.patch
|
||||||
|
)
|
||||||
|
|
||||||
|
distutils_enable_tests pytest
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
distutils-r1_src_prepare
|
||||||
|
|
||||||
|
# Unlike the other two test files in integration/commands, which use the
|
||||||
|
# relevant modules' respective APIs, test_borgmatic.py tries to call the
|
||||||
|
# 'borgmatic' executable - which by the time we execute src_test will
|
||||||
|
# not have been created yet. Adding --install to distutils_enable_tests would
|
||||||
|
# likely take care of this - but between the aforementioned behaviour
|
||||||
|
# inconsistency and the fact the only test run from this file as of version
|
||||||
|
# 1.5.13 is the parsing of contents of 'borgmatic --version', just skip it.
|
||||||
|
rm -f "${S}"/tests/integration/commands/test_borgmatic.py
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
distutils-r1_src_install
|
||||||
|
systemd_dounit sample/systemd/borgmatic.{service,timer}
|
||||||
|
keepdir /etc/borgmatic
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
if [[ -z "${REPLACING_VERSIONS}" ]]; then
|
||||||
|
elog "To generate a sample configuration file, run:"
|
||||||
|
elog " generate-borgmatic-config"
|
||||||
|
fi
|
||||||
|
elog
|
||||||
|
elog "Systemd users wishing to periodically run borgmatic can use the provided timer and service units."
|
||||||
|
}
|
Binary file not shown.
@ -1,3 +1,2 @@
|
|||||||
DIST certbot-1.14.0.tar.gz 1415709 BLAKE2B db06b380f70eb6e674d935870582489a722fb8b38fba7535a642200dd6a9d036f55742286129266556f6313e232b2a45003b17f7c34e5f7087b6ab14261a8132 SHA512 39ae44374cdbac11c544d4d3194debf4f98c8d8459138a650ab276f59c84e8c8d738bdc056d444506a326280c1f9fb84356a9a8f4fa6a138d701bdf792b817e5
|
|
||||||
DIST certbot-1.15.0.tar.gz 1379695 BLAKE2B 002fe05d7ba0bdcb142b57ef2ce6cae4d3e69603f253af6be6e8381311e4962a4c51ef0212d1dfc151af5b40a27a13c22bfff261dead5f8c5bc0ade7f595ca28 SHA512 373447e150974cb1d72cb4eaffe6a8563ce7a43cdd84286bd11dab69d83f52f2736b6538cf5d38c10f7af838437124da9f2de71b6819fcf9347230df05df8259
|
DIST certbot-1.15.0.tar.gz 1379695 BLAKE2B 002fe05d7ba0bdcb142b57ef2ce6cae4d3e69603f253af6be6e8381311e4962a4c51ef0212d1dfc151af5b40a27a13c22bfff261dead5f8c5bc0ade7f595ca28 SHA512 373447e150974cb1d72cb4eaffe6a8563ce7a43cdd84286bd11dab69d83f52f2736b6538cf5d38c10f7af838437124da9f2de71b6819fcf9347230df05df8259
|
||||||
DIST certbot-1.16.0.tar.gz 1384177 BLAKE2B 4e46e7d7b9db2f6ef19fab60c2d904f84b502d2911ed496967bbe272db5352c1e9bdb65b8f45358f222214bce4721ceecc12c018b875148bc897f83c5eb63933 SHA512 c2a0c4ea52ab241e387d686a9e5ed67aa5e8b4b7d34ad8996e34562e036c25ab8b397bf482a856758ca787b97bbd78c890189250c0c3d948f03fbf91aa25ece0
|
DIST certbot-1.16.0.tar.gz 1384177 BLAKE2B 4e46e7d7b9db2f6ef19fab60c2d904f84b502d2911ed496967bbe272db5352c1e9bdb65b8f45358f222214bce4721ceecc12c018b875148bc897f83c5eb63933 SHA512 c2a0c4ea52ab241e387d686a9e5ed67aa5e8b4b7d34ad8996e34562e036c25ab8b397bf482a856758ca787b97bbd78c890189250c0c3d948f03fbf91aa25ece0
|
||||||
|
@ -1,68 +0,0 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
PYTHON_COMPAT=(python{3_7,3_8,3_9})
|
|
||||||
DISTUTILS_USE_SETUPTOOLS=rdepend
|
|
||||||
|
|
||||||
if [[ ${PV} == 9999* ]]; then
|
|
||||||
EGIT_REPO_URI="https://github.com/certbot/certbot.git"
|
|
||||||
inherit git-r3
|
|
||||||
S=${WORKDIR}/${P}/${PN}
|
|
||||||
else
|
|
||||||
SRC_URI="https://github.com/certbot/certbot/archive/v${PV}.tar.gz -> certbot-${PV}.tar.gz"
|
|
||||||
KEYWORDS="amd64 ~arm ~arm64 ~ppc64 x86"
|
|
||||||
S=${WORKDIR}/certbot-${PV}/acme
|
|
||||||
fi
|
|
||||||
|
|
||||||
inherit distutils-r1
|
|
||||||
|
|
||||||
DESCRIPTION="An implementation of the ACME protocol"
|
|
||||||
HOMEPAGE="https://github.com/certbot/certbot https://letsencrypt.org/"
|
|
||||||
|
|
||||||
LICENSE="Apache-2.0"
|
|
||||||
SLOT="0"
|
|
||||||
IUSE="doc test"
|
|
||||||
RESTRICT="!test? ( test )"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
>=dev-python/cryptography-2.1.4[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/josepy-1.1.0[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/pyopenssl-17.3.0[${PYTHON_USEDEP}]
|
|
||||||
dev-python/pyrfc3339[${PYTHON_USEDEP}]
|
|
||||||
dev-python/pytz[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/requests-2.10[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/requests-toolbelt-0.3.0[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/idna-2.0.0[${PYTHON_USEDEP}]
|
|
||||||
"
|
|
||||||
DEPEND="
|
|
||||||
doc? (
|
|
||||||
dev-python/sphinx[${PYTHON_USEDEP}]
|
|
||||||
dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}]
|
|
||||||
)
|
|
||||||
test? (
|
|
||||||
${RDEPEND}
|
|
||||||
dev-python/nose[${PYTHON_USEDEP}]
|
|
||||||
dev-python/pytest[${PYTHON_USEDEP}]
|
|
||||||
dev-python/pytest-xdist[${PYTHON_USEDEP}]
|
|
||||||
)
|
|
||||||
"
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
python_foreach_impl run_in_build_dir default
|
|
||||||
distutils-r1_src_compile
|
|
||||||
if use doc ; then
|
|
||||||
cd docs || die
|
|
||||||
sphinx-build -b html -d _build/doctrees . _build/html
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
python_test() {
|
|
||||||
nosetests -w ${PN} || die
|
|
||||||
}
|
|
||||||
|
|
||||||
python_install_all() {
|
|
||||||
use doc && local HTML_DOCS=( docs/_build/html/. )
|
|
||||||
|
|
||||||
distutils-r1_python_install_all
|
|
||||||
}
|
|
@ -1,3 +1,2 @@
|
|||||||
DIST certbot-1.14.0.tar.gz 1415709 BLAKE2B db06b380f70eb6e674d935870582489a722fb8b38fba7535a642200dd6a9d036f55742286129266556f6313e232b2a45003b17f7c34e5f7087b6ab14261a8132 SHA512 39ae44374cdbac11c544d4d3194debf4f98c8d8459138a650ab276f59c84e8c8d738bdc056d444506a326280c1f9fb84356a9a8f4fa6a138d701bdf792b817e5
|
|
||||||
DIST certbot-1.15.0.tar.gz 1379695 BLAKE2B 002fe05d7ba0bdcb142b57ef2ce6cae4d3e69603f253af6be6e8381311e4962a4c51ef0212d1dfc151af5b40a27a13c22bfff261dead5f8c5bc0ade7f595ca28 SHA512 373447e150974cb1d72cb4eaffe6a8563ce7a43cdd84286bd11dab69d83f52f2736b6538cf5d38c10f7af838437124da9f2de71b6819fcf9347230df05df8259
|
DIST certbot-1.15.0.tar.gz 1379695 BLAKE2B 002fe05d7ba0bdcb142b57ef2ce6cae4d3e69603f253af6be6e8381311e4962a4c51ef0212d1dfc151af5b40a27a13c22bfff261dead5f8c5bc0ade7f595ca28 SHA512 373447e150974cb1d72cb4eaffe6a8563ce7a43cdd84286bd11dab69d83f52f2736b6538cf5d38c10f7af838437124da9f2de71b6819fcf9347230df05df8259
|
||||||
DIST certbot-1.16.0.tar.gz 1384177 BLAKE2B 4e46e7d7b9db2f6ef19fab60c2d904f84b502d2911ed496967bbe272db5352c1e9bdb65b8f45358f222214bce4721ceecc12c018b875148bc897f83c5eb63933 SHA512 c2a0c4ea52ab241e387d686a9e5ed67aa5e8b4b7d34ad8996e34562e036c25ab8b397bf482a856758ca787b97bbd78c890189250c0c3d948f03fbf91aa25ece0
|
DIST certbot-1.16.0.tar.gz 1384177 BLAKE2B 4e46e7d7b9db2f6ef19fab60c2d904f84b502d2911ed496967bbe272db5352c1e9bdb65b8f45358f222214bce4721ceecc12c018b875148bc897f83c5eb63933 SHA512 c2a0c4ea52ab241e387d686a9e5ed67aa5e8b4b7d34ad8996e34562e036c25ab8b397bf482a856758ca787b97bbd78c890189250c0c3d948f03fbf91aa25ece0
|
||||||
|
@ -1,30 +0,0 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
PYTHON_COMPAT=(python{3_7,3_8,3_9})
|
|
||||||
DISTUTILS_USE_SETUPTOOLS=rdepend
|
|
||||||
|
|
||||||
if [[ ${PV} == 9999* ]]; then
|
|
||||||
EGIT_REPO_URI="https://github.com/certbot/certbot.git"
|
|
||||||
inherit git-r3
|
|
||||||
S=${WORKDIR}/${P}/${PN}
|
|
||||||
else
|
|
||||||
SRC_URI="https://github.com/${PN%-apache}/${PN%-apache}/archive/v${PV}.tar.gz -> ${PN%-apache}-${PV}.tar.gz"
|
|
||||||
KEYWORDS="amd64 ~arm64 x86"
|
|
||||||
S=${WORKDIR}/${PN%-apache}-${PV}/${PN}
|
|
||||||
fi
|
|
||||||
|
|
||||||
inherit distutils-r1
|
|
||||||
|
|
||||||
DESCRIPTION="Apache plugin for certbot (Let's Encrypt Client)"
|
|
||||||
HOMEPAGE="https://github.com/certbot/certbot https://letsencrypt.org/"
|
|
||||||
|
|
||||||
LICENSE="Apache-2.0"
|
|
||||||
SLOT="0"
|
|
||||||
|
|
||||||
RDEPEND=">=app-crypt/acme-0.29.0[${PYTHON_USEDEP}]
|
|
||||||
>=app-crypt/certbot-1.6.0[${PYTHON_USEDEP}]
|
|
||||||
dev-python/python-augeas[${PYTHON_USEDEP}]
|
|
||||||
dev-python/zope-component[${PYTHON_USEDEP}]
|
|
||||||
dev-python/zope-interface[${PYTHON_USEDEP}]"
|
|
@ -1,3 +1,2 @@
|
|||||||
DIST certbot-1.14.0.tar.gz 1415709 BLAKE2B db06b380f70eb6e674d935870582489a722fb8b38fba7535a642200dd6a9d036f55742286129266556f6313e232b2a45003b17f7c34e5f7087b6ab14261a8132 SHA512 39ae44374cdbac11c544d4d3194debf4f98c8d8459138a650ab276f59c84e8c8d738bdc056d444506a326280c1f9fb84356a9a8f4fa6a138d701bdf792b817e5
|
|
||||||
DIST certbot-1.15.0.tar.gz 1379695 BLAKE2B 002fe05d7ba0bdcb142b57ef2ce6cae4d3e69603f253af6be6e8381311e4962a4c51ef0212d1dfc151af5b40a27a13c22bfff261dead5f8c5bc0ade7f595ca28 SHA512 373447e150974cb1d72cb4eaffe6a8563ce7a43cdd84286bd11dab69d83f52f2736b6538cf5d38c10f7af838437124da9f2de71b6819fcf9347230df05df8259
|
DIST certbot-1.15.0.tar.gz 1379695 BLAKE2B 002fe05d7ba0bdcb142b57ef2ce6cae4d3e69603f253af6be6e8381311e4962a4c51ef0212d1dfc151af5b40a27a13c22bfff261dead5f8c5bc0ade7f595ca28 SHA512 373447e150974cb1d72cb4eaffe6a8563ce7a43cdd84286bd11dab69d83f52f2736b6538cf5d38c10f7af838437124da9f2de71b6819fcf9347230df05df8259
|
||||||
DIST certbot-1.16.0.tar.gz 1384177 BLAKE2B 4e46e7d7b9db2f6ef19fab60c2d904f84b502d2911ed496967bbe272db5352c1e9bdb65b8f45358f222214bce4721ceecc12c018b875148bc897f83c5eb63933 SHA512 c2a0c4ea52ab241e387d686a9e5ed67aa5e8b4b7d34ad8996e34562e036c25ab8b397bf482a856758ca787b97bbd78c890189250c0c3d948f03fbf91aa25ece0
|
DIST certbot-1.16.0.tar.gz 1384177 BLAKE2B 4e46e7d7b9db2f6ef19fab60c2d904f84b502d2911ed496967bbe272db5352c1e9bdb65b8f45358f222214bce4721ceecc12c018b875148bc897f83c5eb63933 SHA512 c2a0c4ea52ab241e387d686a9e5ed67aa5e8b4b7d34ad8996e34562e036c25ab8b397bf482a856758ca787b97bbd78c890189250c0c3d948f03fbf91aa25ece0
|
||||||
|
@ -1,32 +0,0 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
PYTHON_COMPAT=(python{3_7,3_8,3_9})
|
|
||||||
DISTUTILS_USE_SETUPTOOLS=rdepend
|
|
||||||
|
|
||||||
if [[ ${PV} == 9999* ]]; then
|
|
||||||
EGIT_REPO_URI="https://github.com/certbot/certbot.git"
|
|
||||||
inherit git-r3
|
|
||||||
S=${WORKDIR}/${P}/${PN}
|
|
||||||
else
|
|
||||||
SRC_URI="https://github.com/${PN%-nginx}/${PN%-nginx}/archive/v${PV}.tar.gz -> ${PN%-nginx}-${PV}.tar.gz"
|
|
||||||
KEYWORDS="amd64 ~arm ~arm64 x86"
|
|
||||||
S=${WORKDIR}/${PN%-nginx}-${PV}/${PN}
|
|
||||||
fi
|
|
||||||
|
|
||||||
inherit distutils-r1
|
|
||||||
|
|
||||||
DESCRIPTION="Nginx plugin for certbot (Let's Encrypt Client)"
|
|
||||||
HOMEPAGE="https://github.com/certbot/certbot https://letsencrypt.org/"
|
|
||||||
|
|
||||||
LICENSE="Apache-2.0"
|
|
||||||
SLOT="0"
|
|
||||||
IUSE=""
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
>=app-crypt/acme-1.4.0[${PYTHON_USEDEP}]
|
|
||||||
>=app-crypt/certbot-1.6.0[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/pyopenssl-17.3.0[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/pyparsing-2.2.0[${PYTHON_USEDEP}]
|
|
||||||
dev-python/zope-interface[${PYTHON_USEDEP}]"
|
|
@ -1,3 +1,2 @@
|
|||||||
DIST certbot-1.14.0.tar.gz 1415709 BLAKE2B db06b380f70eb6e674d935870582489a722fb8b38fba7535a642200dd6a9d036f55742286129266556f6313e232b2a45003b17f7c34e5f7087b6ab14261a8132 SHA512 39ae44374cdbac11c544d4d3194debf4f98c8d8459138a650ab276f59c84e8c8d738bdc056d444506a326280c1f9fb84356a9a8f4fa6a138d701bdf792b817e5
|
|
||||||
DIST certbot-1.15.0.tar.gz 1379695 BLAKE2B 002fe05d7ba0bdcb142b57ef2ce6cae4d3e69603f253af6be6e8381311e4962a4c51ef0212d1dfc151af5b40a27a13c22bfff261dead5f8c5bc0ade7f595ca28 SHA512 373447e150974cb1d72cb4eaffe6a8563ce7a43cdd84286bd11dab69d83f52f2736b6538cf5d38c10f7af838437124da9f2de71b6819fcf9347230df05df8259
|
DIST certbot-1.15.0.tar.gz 1379695 BLAKE2B 002fe05d7ba0bdcb142b57ef2ce6cae4d3e69603f253af6be6e8381311e4962a4c51ef0212d1dfc151af5b40a27a13c22bfff261dead5f8c5bc0ade7f595ca28 SHA512 373447e150974cb1d72cb4eaffe6a8563ce7a43cdd84286bd11dab69d83f52f2736b6538cf5d38c10f7af838437124da9f2de71b6819fcf9347230df05df8259
|
||||||
DIST certbot-1.16.0.tar.gz 1384177 BLAKE2B 4e46e7d7b9db2f6ef19fab60c2d904f84b502d2911ed496967bbe272db5352c1e9bdb65b8f45358f222214bce4721ceecc12c018b875148bc897f83c5eb63933 SHA512 c2a0c4ea52ab241e387d686a9e5ed67aa5e8b4b7d34ad8996e34562e036c25ab8b397bf482a856758ca787b97bbd78c890189250c0c3d948f03fbf91aa25ece0
|
DIST certbot-1.16.0.tar.gz 1384177 BLAKE2B 4e46e7d7b9db2f6ef19fab60c2d904f84b502d2911ed496967bbe272db5352c1e9bdb65b8f45358f222214bce4721ceecc12c018b875148bc897f83c5eb63933 SHA512 c2a0c4ea52ab241e387d686a9e5ed67aa5e8b4b7d34ad8996e34562e036c25ab8b397bf482a856758ca787b97bbd78c890189250c0c3d948f03fbf91aa25ece0
|
||||||
|
@ -1,36 +0,0 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
PYTHON_COMPAT=(python{3_7,3_8,3_9})
|
|
||||||
DISTUTILS_USE_SETUPTOOLS=rdepend
|
|
||||||
|
|
||||||
if [[ ${PV} == 9999* ]]; then
|
|
||||||
EGIT_REPO_URI="https://github.com/certbot/certbot.git"
|
|
||||||
inherit git-r3
|
|
||||||
else
|
|
||||||
SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
|
||||||
KEYWORDS="amd64 ~arm ~arm64 ~ppc64 x86"
|
|
||||||
fi
|
|
||||||
S=${WORKDIR}/${P}/${PN}
|
|
||||||
|
|
||||||
inherit distutils-r1
|
|
||||||
|
|
||||||
DESCRIPTION="Let's encrypt client to automate deployment of X.509 certificates"
|
|
||||||
HOMEPAGE="https://github.com/certbot/certbot https://letsencrypt.org/"
|
|
||||||
|
|
||||||
LICENSE="Apache-2.0"
|
|
||||||
SLOT="0"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
>=app-crypt/acme-1.8.0[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/configargparse-0.9.3[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/configobj-5.0.6[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/cryptography-2.8[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/distro-1.0.1[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/josepy-1.1.0[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/parsedatetime-2.4[${PYTHON_USEDEP}]
|
|
||||||
dev-python/pyrfc3339[${PYTHON_USEDEP}]
|
|
||||||
dev-python/pytz[${PYTHON_USEDEP}]
|
|
||||||
dev-python/zope-component[${PYTHON_USEDEP}]
|
|
||||||
dev-python/zope-interface[${PYTHON_USEDEP}]"
|
|
@ -1,2 +1,2 @@
|
|||||||
DIST tpm2-tools-4.3.0.tar.gz 881544 BLAKE2B 0415f30845658e84e97a964abebc3082e45fb880c10bec405cd89c7bfa373ace10b669c4af78e7e47f2d2bb62fc7cc34b2e54e392a95c8f9b8956b8c92af6aee SHA512 4e622bbc8642ba7fd93a7343900560fe3779cba03e363d16f391fc8929724a11913d238e3986de06982cbced27c3c2ca8c7e73d75796407b8646c101ccf393a8
|
DIST tpm2-tools-4.3.1.tar.gz 891993 BLAKE2B d145fd542952ebbf59bb82640b9ac41cc777dcd8f526683447e3a3fd22fd4c46ab59899418ae52382d88e05418b772afd7f10093c5e0ef4cba685470cf7a7c8e SHA512 0104b6bca9e56ee30c033f3ddb2ab75b683b07ff917b800ff8fde49ce5cdc6d42e5fff63ed3ee9700f656dbf34bca76cee7408c256f1e30d92148c506b0032f2
|
||||||
DIST tpm2-tools-5.0.tar.gz 990855 BLAKE2B 5d39bbef0bc6f0d84f37c64c697260343a9f9e134bce015a6b529176195adb907672f35b85382b0a4785e40e368030ac347083086c3799bdfe86dced1ac69848 SHA512 ea57a28a61e28b78cae7067ff58facd8754fafab7a2689fd93f8b3374073b6ac30301a75f8ff5c654800ab469ee6604d0b8a86c310631b9545b816ecaa05968e
|
DIST tpm2-tools-5.0.tar.gz 990855 BLAKE2B 5d39bbef0bc6f0d84f37c64c697260343a9f9e134bce015a6b529176195adb907672f35b85382b0a4785e40e368030ac347083086c3799bdfe86dced1ac69848 SHA512 ea57a28a61e28b78cae7067ff58facd8754fafab7a2689fd93f8b3374073b6ac30301a75f8ff5c654800ab469ee6604d0b8a86c310631b9545b816ecaa05968e
|
||||||
|
Binary file not shown.
@ -1,2 +1,2 @@
|
|||||||
DIST diskimage-builder-3.10.0.tar.gz 474514 BLAKE2B 75e54b58be31a1d175ea97fd587040d2d8a69619fa66f7283866241c8a38b898c7e863b484be1199b61fe5fce76f51a4e5bf72d42fbd5d5456b1402501c337f0 SHA512 678718eb12e024899d0020c0219899e213a69a445afe3352a49a99dc786d7388e0af37c0fb1273eeb2176ad3b24f62f8299b4f15e9f7fc9714f03be3bf3b4f7c
|
|
||||||
DIST diskimage-builder-3.11.0.tar.gz 475123 BLAKE2B 2d286193c99077b943ddc2342871878d78380c27b247cca895d14e9ca1ca69c3d260fe0061e9f09a80156cee327234ce0a8c129f2008422d0db1bd736175f490 SHA512 083a3dff0ec32cd35cb5a95f25b115778aa4b74ab47796c13ac007fa6af5940140117eb4c2b5f44674316f65b0c0b53b6e077787e8018f6d7735906d333d2da0
|
DIST diskimage-builder-3.11.0.tar.gz 475123 BLAKE2B 2d286193c99077b943ddc2342871878d78380c27b247cca895d14e9ca1ca69c3d260fe0061e9f09a80156cee327234ce0a8c129f2008422d0db1bd736175f490 SHA512 083a3dff0ec32cd35cb5a95f25b115778aa4b74ab47796c13ac007fa6af5940140117eb4c2b5f44674316f65b0c0b53b6e077787e8018f6d7735906d333d2da0
|
||||||
|
DIST diskimage-builder-3.12.0.tar.gz 477540 BLAKE2B 9facf1d6ef9a38b960b7bcc8ee035d8f7ae6c5189d1de25e335d68a6e8389be0ab0f3b787e5d5112ee7ef508b583d1df612ca75149659f78685a2fdf6dee21a7 SHA512 edec229023673c48a3176b315c9d84067b4e7b4a30843839722a7ce300f898d92ee5f5146b6d92f2eda692bada4370b32f1b19f3b929a379b3e604b6e7ce29d6
|
||||||
|
@ -0,0 +1,327 @@
|
|||||||
|
# Copyright 1999-2021 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
PYTHON_COMPAT=( python3_{7,8,9} )
|
||||||
|
|
||||||
|
inherit meson bash-completion-r1 linux-info python-any-r1 readme.gentoo-r1 tmpfiles verify-sig
|
||||||
|
|
||||||
|
if [[ ${PV} = *9999* ]]; then
|
||||||
|
inherit git-r3
|
||||||
|
EGIT_REPO_URI="https://gitlab.com/libvirt/libvirt.git"
|
||||||
|
EGIT_BRANCH="master"
|
||||||
|
SRC_URI=""
|
||||||
|
SLOT="0"
|
||||||
|
else
|
||||||
|
SRC_URI="https://libvirt.org/sources/${P}.tar.xz
|
||||||
|
verify-sig? ( https://libvirt.org/sources/${P}.tar.xz.asc )"
|
||||||
|
KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
|
||||||
|
SLOT="0/${PV}"
|
||||||
|
fi
|
||||||
|
|
||||||
|
DESCRIPTION="C toolkit to manipulate virtual machines"
|
||||||
|
HOMEPAGE="https://www.libvirt.org/ https://gitlab.com/libvirt/libvirt/"
|
||||||
|
LICENSE="LGPL-2.1"
|
||||||
|
VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/libvirt.org.asc
|
||||||
|
IUSE="
|
||||||
|
apparmor audit bash-completion +caps dtrace firewalld fuse glusterfs
|
||||||
|
iscsi iscsi-direct +libvirtd lvm libssh lxc nfs nls numa openvz
|
||||||
|
parted pcap policykit +qemu rbd sasl selinux +udev
|
||||||
|
virtualbox +virt-network wireshark-plugins xen zfs
|
||||||
|
"
|
||||||
|
|
||||||
|
REQUIRED_USE="
|
||||||
|
firewalld? ( virt-network )
|
||||||
|
libvirtd? ( || ( lxc openvz qemu virtualbox xen ) )
|
||||||
|
lxc? ( caps libvirtd )
|
||||||
|
openvz? ( libvirtd )
|
||||||
|
qemu? ( libvirtd )
|
||||||
|
virt-network? ( libvirtd )
|
||||||
|
virtualbox? ( libvirtd )
|
||||||
|
xen? ( libvirtd )"
|
||||||
|
|
||||||
|
BDEPEND="
|
||||||
|
app-text/xhtml1
|
||||||
|
dev-lang/perl
|
||||||
|
dev-libs/libxslt
|
||||||
|
dev-perl/XML-XPath
|
||||||
|
dev-python/docutils
|
||||||
|
virtual/pkgconfig
|
||||||
|
bash-completion? ( >=app-shells/bash-completion-2.0 )
|
||||||
|
verify-sig? ( app-crypt/openpgp-keys-libvirt )"
|
||||||
|
|
||||||
|
# gettext.sh command is used by the libvirt command wrappers, and it's
|
||||||
|
# non-optional, so put it into RDEPEND.
|
||||||
|
# We can use both libnl:1.1 and libnl:3, but if you have both installed, the
|
||||||
|
# package will use 3 by default. Since we don't have slot pinning in an API,
|
||||||
|
# we must go with the most recent
|
||||||
|
RDEPEND="
|
||||||
|
acct-user/qemu
|
||||||
|
app-misc/scrub
|
||||||
|
>=dev-libs/glib-2.48.0
|
||||||
|
dev-libs/libgcrypt:0
|
||||||
|
dev-libs/libnl:3
|
||||||
|
>=dev-libs/libxml2-2.7.6
|
||||||
|
>=net-analyzer/openbsd-netcat-1.105-r1
|
||||||
|
>=net-libs/gnutls-1.0.25:0=
|
||||||
|
net-libs/libssh2
|
||||||
|
net-libs/libtirpc
|
||||||
|
net-libs/rpcsvc-proto
|
||||||
|
>=net-misc/curl-7.18.0
|
||||||
|
sys-apps/dbus
|
||||||
|
sys-apps/dmidecode
|
||||||
|
sys-devel/gettext
|
||||||
|
sys-libs/ncurses:0=
|
||||||
|
sys-libs/readline:=
|
||||||
|
virtual/acl
|
||||||
|
apparmor? ( sys-libs/libapparmor )
|
||||||
|
audit? ( sys-process/audit )
|
||||||
|
caps? ( sys-libs/libcap-ng )
|
||||||
|
dtrace? ( dev-util/systemtap )
|
||||||
|
firewalld? ( >=net-firewall/firewalld-0.6.3 )
|
||||||
|
fuse? ( sys-fs/fuse:0= )
|
||||||
|
glusterfs? ( >=sys-cluster/glusterfs-3.4.1 )
|
||||||
|
iscsi? ( sys-block/open-iscsi )
|
||||||
|
iscsi-direct? ( >=net-libs/libiscsi-1.18.0 )
|
||||||
|
libssh? ( net-libs/libssh )
|
||||||
|
lvm? ( >=sys-fs/lvm2-2.02.48-r2[-device-mapper-only(-)] )
|
||||||
|
lxc? ( !sys-apps/systemd[cgroup-hybrid(-)] )
|
||||||
|
nfs? ( net-fs/nfs-utils )
|
||||||
|
numa? (
|
||||||
|
>sys-process/numactl-2.0.2
|
||||||
|
sys-process/numad
|
||||||
|
)
|
||||||
|
parted? (
|
||||||
|
>=sys-block/parted-1.8[device-mapper]
|
||||||
|
sys-fs/lvm2[-device-mapper-only(-)]
|
||||||
|
)
|
||||||
|
pcap? ( >=net-libs/libpcap-1.0.0 )
|
||||||
|
policykit? (
|
||||||
|
acct-group/libvirt
|
||||||
|
>=sys-auth/polkit-0.9
|
||||||
|
)
|
||||||
|
qemu? (
|
||||||
|
>=app-emulation/qemu-2.11
|
||||||
|
dev-libs/yajl
|
||||||
|
)
|
||||||
|
rbd? ( sys-cluster/ceph )
|
||||||
|
sasl? ( dev-libs/cyrus-sasl )
|
||||||
|
selinux? ( >=sys-libs/libselinux-2.0.85 )
|
||||||
|
virt-network? (
|
||||||
|
net-dns/dnsmasq[dhcp,ipv6,script]
|
||||||
|
net-firewall/ebtables
|
||||||
|
>=net-firewall/iptables-1.4.10[ipv6]
|
||||||
|
net-misc/radvd
|
||||||
|
sys-apps/iproute2[-minimal]
|
||||||
|
)
|
||||||
|
wireshark-plugins? ( net-analyzer/wireshark:= )
|
||||||
|
xen? (
|
||||||
|
>=app-emulation/xen-4.6.0
|
||||||
|
app-emulation/xen-tools:=
|
||||||
|
)
|
||||||
|
udev? (
|
||||||
|
virtual/libudev
|
||||||
|
>=x11-libs/libpciaccess-0.10.9
|
||||||
|
)
|
||||||
|
zfs? ( sys-fs/zfs )"
|
||||||
|
|
||||||
|
DEPEND="${BDEPEND}
|
||||||
|
${RDEPEND}
|
||||||
|
${PYTHON_DEPS}"
|
||||||
|
|
||||||
|
PATCHES=(
|
||||||
|
"${FILESDIR}"/${PN}-6.0.0-fix_paths_in_libvirt-guests_sh.patch
|
||||||
|
"${FILESDIR}"/${PN}-6.7.0-do-not-use-sysconfig.patch
|
||||||
|
"${FILESDIR}"/${PN}-6.7.0-fix-paths-for-apparmor.patch
|
||||||
|
)
|
||||||
|
|
||||||
|
pkg_setup() {
|
||||||
|
# Check kernel configuration:
|
||||||
|
CONFIG_CHECK=""
|
||||||
|
use fuse && CONFIG_CHECK+="
|
||||||
|
~FUSE_FS"
|
||||||
|
|
||||||
|
use lvm && CONFIG_CHECK+="
|
||||||
|
~BLK_DEV_DM
|
||||||
|
~DM_MULTIPATH
|
||||||
|
~DM_SNAPSHOT"
|
||||||
|
|
||||||
|
use lxc && CONFIG_CHECK+="
|
||||||
|
~BLK_CGROUP
|
||||||
|
~CGROUP_CPUACCT
|
||||||
|
~CGROUP_DEVICE
|
||||||
|
~CGROUP_FREEZER
|
||||||
|
~CGROUP_NET_PRIO
|
||||||
|
~CGROUP_PERF
|
||||||
|
~CGROUPS
|
||||||
|
~CGROUP_SCHED
|
||||||
|
~CPUSETS
|
||||||
|
~IPC_NS
|
||||||
|
~MACVLAN
|
||||||
|
~NAMESPACES
|
||||||
|
~NET_CLS_CGROUP
|
||||||
|
~NET_NS
|
||||||
|
~PID_NS
|
||||||
|
~POSIX_MQUEUE
|
||||||
|
~SECURITYFS
|
||||||
|
~USER_NS
|
||||||
|
~UTS_NS
|
||||||
|
~VETH
|
||||||
|
~!GRKERNSEC_CHROOT_MOUNT
|
||||||
|
~!GRKERNSEC_CHROOT_DOUBLE
|
||||||
|
~!GRKERNSEC_CHROOT_PIVOT
|
||||||
|
~!GRKERNSEC_CHROOT_CHMOD
|
||||||
|
~!GRKERNSEC_CHROOT_CAPS"
|
||||||
|
|
||||||
|
kernel_is lt 4 7 && use lxc && CONFIG_CHECK+="
|
||||||
|
~DEVPTS_MULTIPLE_INSTANCES"
|
||||||
|
|
||||||
|
use virt-network && CONFIG_CHECK+="
|
||||||
|
~BRIDGE_EBT_MARK_T
|
||||||
|
~BRIDGE_NF_EBTABLES
|
||||||
|
~NETFILTER_ADVANCED
|
||||||
|
~NETFILTER_XT_CONNMARK
|
||||||
|
~NETFILTER_XT_MARK
|
||||||
|
~NETFILTER_XT_TARGET_CHECKSUM
|
||||||
|
~IP_NF_FILTER
|
||||||
|
~IP_NF_MANGLE
|
||||||
|
~IP_NF_NAT
|
||||||
|
~IP_NF_TARGET_MASQUERADE
|
||||||
|
~IP6_NF_FILTER
|
||||||
|
~IP6_NF_MANGLE
|
||||||
|
~IP6_NF_NAT"
|
||||||
|
# Bandwidth Limiting Support
|
||||||
|
use virt-network && CONFIG_CHECK+="
|
||||||
|
~BRIDGE_EBT_T_NAT
|
||||||
|
~IP_NF_TARGET_REJECT
|
||||||
|
~NET_ACT_POLICE
|
||||||
|
~NET_CLS_FW
|
||||||
|
~NET_CLS_U32
|
||||||
|
~NET_SCH_HTB
|
||||||
|
~NET_SCH_INGRESS
|
||||||
|
~NET_SCH_SFQ"
|
||||||
|
|
||||||
|
ERROR_USER_NS="Optional depending on LXC configuration."
|
||||||
|
|
||||||
|
if [[ -n ${CONFIG_CHECK} ]]; then
|
||||||
|
linux-info_pkg_setup
|
||||||
|
fi
|
||||||
|
|
||||||
|
python-any-r1_pkg_setup
|
||||||
|
}
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
touch "${S}/.mailmap" || die
|
||||||
|
|
||||||
|
default
|
||||||
|
python_fix_shebang .
|
||||||
|
|
||||||
|
# Tweak the init script:
|
||||||
|
cp "${FILESDIR}/libvirtd.init-r19" "${S}/libvirtd.init" || die
|
||||||
|
sed -e "s/USE_FLAG_FIREWALLD/$(usex firewalld 'need firewalld' '')/" \
|
||||||
|
-i "${S}/libvirtd.init" || die "sed failed"
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
local emesonargs=(
|
||||||
|
$(meson_feature apparmor)
|
||||||
|
$(meson_use apparmor apparmor_profiles)
|
||||||
|
$(meson_feature audit)
|
||||||
|
$(meson_feature caps capng)
|
||||||
|
$(meson_feature dtrace)
|
||||||
|
$(meson_feature firewalld)
|
||||||
|
$(meson_feature fuse)
|
||||||
|
$(meson_feature glusterfs)
|
||||||
|
$(meson_feature glusterfs storage_gluster)
|
||||||
|
$(meson_feature iscsi storage_iscsi)
|
||||||
|
$(meson_feature iscsi-direct storage_iscsi_direct)
|
||||||
|
$(meson_feature libvirtd driver_libvirtd)
|
||||||
|
$(meson_feature libssh)
|
||||||
|
$(meson_feature lvm storage_lvm)
|
||||||
|
$(meson_feature lvm storage_mpath)
|
||||||
|
$(meson_feature lxc driver_lxc)
|
||||||
|
$(meson_feature nls)
|
||||||
|
$(meson_feature numa numactl)
|
||||||
|
$(meson_feature numa numad)
|
||||||
|
$(meson_feature openvz driver_openvz)
|
||||||
|
$(meson_feature parted storage_disk)
|
||||||
|
$(meson_feature pcap libpcap)
|
||||||
|
$(meson_feature policykit polkit)
|
||||||
|
$(meson_feature qemu driver_qemu)
|
||||||
|
$(meson_feature qemu yajl)
|
||||||
|
$(meson_feature rbd storage_rbd)
|
||||||
|
$(meson_feature sasl)
|
||||||
|
$(meson_feature selinux)
|
||||||
|
$(meson_feature udev)
|
||||||
|
$(meson_feature virt-network driver_network)
|
||||||
|
$(meson_feature virtualbox driver_vbox)
|
||||||
|
$(meson_feature wireshark-plugins wireshark_dissector)
|
||||||
|
$(meson_feature xen driver_libxl)
|
||||||
|
$(meson_feature zfs storage_zfs)
|
||||||
|
|
||||||
|
-Dnetcf=disabled
|
||||||
|
-Dsanlock=disabled
|
||||||
|
|
||||||
|
-Ddriver_esx=enabled
|
||||||
|
-Dinit_script=systemd
|
||||||
|
-Dqemu_user=$(usex caps qemu root)
|
||||||
|
-Dqemu_group=$(usex caps qemu root)
|
||||||
|
-Ddriver_remote=enabled
|
||||||
|
-Dstorage_fs=enabled
|
||||||
|
-Ddriver_vmware=enabled
|
||||||
|
|
||||||
|
--localstatedir="${EPREFIX}/var"
|
||||||
|
-Drunstatedir="${EPREFIX}/run"
|
||||||
|
-Ddocdir="${EPREFIX}/usr/share/doc/${PF}"
|
||||||
|
)
|
||||||
|
|
||||||
|
meson_src_configure
|
||||||
|
}
|
||||||
|
|
||||||
|
src_test() {
|
||||||
|
export VIR_TEST_DEBUG=1
|
||||||
|
meson_src_test
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
meson_src_install
|
||||||
|
|
||||||
|
# Depending on configuration option, libvirt will create some bogus
|
||||||
|
# directoreis. They are either not used, or libvirtd is able to create
|
||||||
|
# them on demand, so let's remove them.
|
||||||
|
#
|
||||||
|
# Note, we are using -f here so that rm does not fail or warn if the
|
||||||
|
# directory is nonexistent.
|
||||||
|
rm -rf "${D}"/etc/sysconfig
|
||||||
|
rm -rf "${D}"/var
|
||||||
|
rm -rf "${D}"/run
|
||||||
|
|
||||||
|
use libvirtd || return 0
|
||||||
|
# From here, only libvirtd-related instructions, be warned!
|
||||||
|
|
||||||
|
newtmpfiles "${FILESDIR}"/libvirtd.tmpfiles.conf libvirtd.conf
|
||||||
|
|
||||||
|
newinitd "${S}/libvirtd.init" libvirtd
|
||||||
|
newinitd "${FILESDIR}/libvirt-guests.init-r4" libvirt-guests
|
||||||
|
newinitd "${FILESDIR}/virtlockd.init-r2" virtlockd
|
||||||
|
newinitd "${FILESDIR}/virtlogd.init-r2" virtlogd
|
||||||
|
|
||||||
|
newconfd "${FILESDIR}/libvirtd.confd-r5" libvirtd
|
||||||
|
newconfd "${FILESDIR}/libvirt-guests.confd" libvirt-guests
|
||||||
|
|
||||||
|
DOC_CONTENTS=$(<"${FILESDIR}/README.gentoo-r3")
|
||||||
|
DISABLE_AUTOFORMATTING=true
|
||||||
|
readme.gentoo_create_doc
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
if [[ -e "${ROOT}"/etc/libvirt/qemu/networks/default.xml ]]; then
|
||||||
|
touch "${ROOT}"/etc/libvirt/qemu/networks/default.xml || die
|
||||||
|
fi
|
||||||
|
|
||||||
|
use libvirtd || return 0
|
||||||
|
# From here, only libvirtd-related instructions, be warned!
|
||||||
|
|
||||||
|
readme.gentoo_print_elog
|
||||||
|
}
|
Binary file not shown.
@ -1 +1 @@
|
|||||||
DIST filebus-0.3.1.tar.gz 16926 BLAKE2B 87eea36a58895a89a70e236f505af09efabf37ce04ce58c713dc99222e415f0ecd9a55fc921a9b6336f4dea04c5e3860252425e257706f0e37be3d43d76668c0 SHA512 e0d4e30f478c9ae95b520122b5aa70bc792d7caad9f9dbde6a72dec9eff314ca884b0291ed9ad662998d1e0e91679dc96ec749b33f55188fab61e7b2b5baa792
|
DIST filebus-0.3.2.tar.gz 17310 BLAKE2B 0f30aabcd316f52ea12d12b136befe643085dff5e283f65edf2a459b127cd3e2d48c472ae0dd8f302bb7211e4da5541a6fc7ac274573631ab03fc246bc8b566f SHA512 88ce3cd2d8aec7afd30d16315a6a8a37dee1b21d882571ef87c7dca56251e737d6500a5fad0124c62aea6383aae5ec30abd8abf86c2fac5d582f8fe96049eaa6
|
||||||
|
Binary file not shown.
Binary file not shown.
@ -1 +1,2 @@
|
|||||||
DIST evince-40.1.tar.xz 2928924 BLAKE2B e9376c186da9fed132b820b2e9a1ef6bb0997f22abca3d7b271691291ea4870132b48075ada5a992e056193e6af51bdf95e6bbdac79c789475fb985d692f9ccc SHA512 c688ee962cfff8b024b572161bae689d25b5b566ac623abeff38b4b8e6e541ce343023ed2c1ba0df1f65d6ec9a631aac3a748c940db556dbb89ab45ac565147d
|
DIST evince-40.1.tar.xz 2928924 BLAKE2B e9376c186da9fed132b820b2e9a1ef6bb0997f22abca3d7b271691291ea4870132b48075ada5a992e056193e6af51bdf95e6bbdac79c789475fb985d692f9ccc SHA512 c688ee962cfff8b024b572161bae689d25b5b566ac623abeff38b4b8e6e541ce343023ed2c1ba0df1f65d6ec9a631aac3a748c940db556dbb89ab45ac565147d
|
||||||
|
DIST evince-40.2.tar.xz 2928072 BLAKE2B 86051e8568044ec484a7a3c036a523ee44d22e46bdf5e75c6052d3302f92a27d48cb26e2408b176cfee3fafd3879a8771f4bf29a51f6b8085c31fa28f4885660 SHA512 f3ee19053a0bc6989a50fc790d1d54747d7aac5cbf0cd1e0eaea6cb743c0ebbbdf2565e88ea995fbba31c7f97e4279f9c0fa44c386bcf635a500033f6105ca9f
|
||||||
|
@ -0,0 +1,127 @@
|
|||||||
|
# Copyright 1999-2021 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
inherit gnome.org meson systemd xdg
|
||||||
|
|
||||||
|
DESCRIPTION="Simple document viewer for GNOME"
|
||||||
|
HOMEPAGE="https://wiki.gnome.org/Apps/Evince"
|
||||||
|
|
||||||
|
LICENSE="GPL-2+ CC-BY-SA-3.0"
|
||||||
|
# subslot = evd3.(suffix of libevdocument3)-evv3.(suffix of libevview3)
|
||||||
|
SLOT="0/evd3.4-evv3.3"
|
||||||
|
IUSE="cups djvu dvi gstreamer gnome gnome-keyring gtk-doc +introspection nautilus nsplugin postscript spell t1lib tiff xps"
|
||||||
|
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-solaris"
|
||||||
|
|
||||||
|
# atk used in libview
|
||||||
|
# bundles unarr
|
||||||
|
DEPEND="
|
||||||
|
dev-libs/atk
|
||||||
|
>=dev-libs/glib-2.44.0:2
|
||||||
|
>=gui-libs/libhandy-1.0:1=
|
||||||
|
>=dev-libs/libxml2-2.5:2
|
||||||
|
sys-libs/zlib:=
|
||||||
|
>=x11-libs/gdk-pixbuf-2.40:2
|
||||||
|
>=x11-libs/gtk+-3.22.0:3[cups?,introspection?]
|
||||||
|
gnome-base/gsettings-desktop-schemas
|
||||||
|
>=x11-libs/cairo-1.10:=
|
||||||
|
>=app-text/poppler-0.76.0[cairo]
|
||||||
|
>=app-arch/libarchive-3.2.0
|
||||||
|
djvu? ( >=app-text/djvu-3.5.22:= )
|
||||||
|
dvi? (
|
||||||
|
>=app-text/libspectre-0.2:=
|
||||||
|
dev-libs/kpathsea:=
|
||||||
|
t1lib? ( >=media-libs/t1lib-5:= ) )
|
||||||
|
gstreamer? (
|
||||||
|
media-libs/gstreamer:1.0
|
||||||
|
media-libs/gst-plugins-base:1.0
|
||||||
|
media-libs/gst-plugins-good:1.0 )
|
||||||
|
gnome? ( gnome-base/gnome-desktop:3= )
|
||||||
|
gnome-keyring? ( >=app-crypt/libsecret-0.5 )
|
||||||
|
introspection? ( >=dev-libs/gobject-introspection-1:= )
|
||||||
|
nautilus? ( >=gnome-base/nautilus-3.28.0 )
|
||||||
|
postscript? ( >=app-text/libspectre-0.2:= )
|
||||||
|
spell? ( >=app-text/gspell-1.6.0:= )
|
||||||
|
tiff? ( >=media-libs/tiff-3.6:0= )
|
||||||
|
xps? ( >=app-text/libgxps-0.2.1:= )
|
||||||
|
"
|
||||||
|
RDEPEND="${DEPEND}
|
||||||
|
gnome-base/gvfs
|
||||||
|
gnome-base/librsvg
|
||||||
|
|| (
|
||||||
|
>=x11-themes/adwaita-icon-theme-2.17.1
|
||||||
|
>=x11-themes/hicolor-icon-theme-0.10
|
||||||
|
)
|
||||||
|
"
|
||||||
|
BDEPEND="
|
||||||
|
gtk-doc? ( >=dev-util/gtk-doc-1.33 )
|
||||||
|
app-text/docbook-xml-dtd:4.3
|
||||||
|
dev-libs/appstream-glib
|
||||||
|
dev-util/gdbus-codegen
|
||||||
|
dev-util/glib-utils
|
||||||
|
dev-util/itstool
|
||||||
|
>=sys-devel/gettext-0.19.8
|
||||||
|
virtual/pkgconfig
|
||||||
|
"
|
||||||
|
|
||||||
|
PATCHES=(
|
||||||
|
"${FILESDIR}"/40.0-internal-synctex.patch
|
||||||
|
)
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
default
|
||||||
|
|
||||||
|
# Do not depend on adwaita-icon-theme, bug #326855, #391859
|
||||||
|
# https://gitlab.freedesktop.org/xdg/default-icon-theme/issues/7
|
||||||
|
sed -i '/adwaita_icon_theme_dep/d' meson.build shell/meson.build || die
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
local emesonargs=(
|
||||||
|
-Dplatform=gnome
|
||||||
|
|
||||||
|
-Dviewer=true
|
||||||
|
-Dpreviewer=true
|
||||||
|
-Dthumbnailer=true
|
||||||
|
$(meson_use nsplugin browser_plugin)
|
||||||
|
$(meson_use nautilus)
|
||||||
|
|
||||||
|
-Dcomics=enabled
|
||||||
|
$(meson_feature djvu)
|
||||||
|
$(meson_feature dvi)
|
||||||
|
-Dpdf=enabled
|
||||||
|
$(meson_feature postscript ps)
|
||||||
|
$(meson_feature tiff)
|
||||||
|
$(meson_feature xps)
|
||||||
|
|
||||||
|
$(meson_use gtk-doc gtk_doc)
|
||||||
|
-Duser_doc=true
|
||||||
|
$(meson_use introspection)
|
||||||
|
-Ddbus=true
|
||||||
|
$(meson_feature gnome-keyring keyring)
|
||||||
|
$(meson_feature cups gtk_unix_print)
|
||||||
|
$(meson_feature gnome thumbnail_cache)
|
||||||
|
$(meson_feature gstreamer multimedia)
|
||||||
|
$(meson_feature spell gspell)
|
||||||
|
|
||||||
|
$(meson_feature t1lib)
|
||||||
|
|
||||||
|
-Dbrowser_plugin_dir="${EPREFIX}/usr/$(get_libdir)/nsbrowser/plugins"
|
||||||
|
-Dsystemduserunitdir="$(systemd_get_userunitdir)"
|
||||||
|
|
||||||
|
)
|
||||||
|
meson_src_configure
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
meson_src_compile
|
||||||
|
}
|
||||||
|
|
||||||
|
src_test() {
|
||||||
|
meson_src_test
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
meson_src_install
|
||||||
|
}
|
Binary file not shown.
@ -0,0 +1 @@
|
|||||||
|
DIST pystring-1.1.3.tar.gz 18364 BLAKE2B caab1a3b1dc688ad6ecbb32e5e8139bb883a88b78ce8a021229924d57376e94b17d89277e2fccf4f7ec478c81ee9259c5e56848f4388c44b2eab9cfb841bcfb8 SHA512 a46bb2e96d6eb351a4a8097cde46ac2877d28e88f9e57e0ac36c42e8fc8543517c4be70306a01e2f88a891fc53c612494aeb37f47a200d94b8e1b050ed16eff6
|
@ -0,0 +1,15 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||||
|
<pkgmetadata>
|
||||||
|
<maintainer type="person" proxied="yes">
|
||||||
|
<email>darkdefende@gmail.com</email>
|
||||||
|
<name>Sebastian Parborg</name>
|
||||||
|
</maintainer>
|
||||||
|
<maintainer type="project" proxied="proxy">
|
||||||
|
<email>proxy-maint@gentoo.org</email>
|
||||||
|
<name>Proxy Maintainers</name>
|
||||||
|
</maintainer>
|
||||||
|
<upstream>
|
||||||
|
<remote-id type="github">imageworks/pystring</remote-id>
|
||||||
|
</upstream>
|
||||||
|
</pkgmetadata>
|
@ -0,0 +1,38 @@
|
|||||||
|
# Copyright 2020-2021 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
DESCRIPTION="C++ functions matching the interface and behavior of python string methods"
|
||||||
|
HOMEPAGE="https://github.com/imageworks/pystring"
|
||||||
|
|
||||||
|
if [[ "${PV}" == "9999" ]]; then
|
||||||
|
inherit git-r3
|
||||||
|
EGIT_REPO_URI="https://github.com/imageworks/pystring.git"
|
||||||
|
else
|
||||||
|
SRC_URI="https://github.com/imageworks/pystring/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
KEYWORDS="~amd64"
|
||||||
|
fi
|
||||||
|
|
||||||
|
BDEPEND="
|
||||||
|
virtual/libc
|
||||||
|
sys-devel/libtool
|
||||||
|
"
|
||||||
|
RESTRICT="mirror"
|
||||||
|
|
||||||
|
LICENSE="all-rights-reserved"
|
||||||
|
SLOT="0"
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
sed -i -e "s|-O3|${CXXFLAGS}|g" Makefile || die
|
||||||
|
emake LIBDIR="${S}" install
|
||||||
|
|
||||||
|
# Fix header location
|
||||||
|
mkdir ${S}/pystring || die
|
||||||
|
mv ${S}/pystring.h ${S}/pystring || die
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
dolib.so ${S}/libpystring.so{,.0{,.0.0}}
|
||||||
|
doheader -r ${S}/pystring
|
||||||
|
}
|
Binary file not shown.
Binary file not shown.
@ -0,0 +1,385 @@
|
|||||||
|
# Copyright 1999-2021 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
# Build written by Andrew John Hughes (gnu_andrew@member.fsf.org)
|
||||||
|
|
||||||
|
# *********************************************************
|
||||||
|
# * IF YOU CHANGE THIS EBUILD, CHANGE ICEDTEA-6.* AS WELL *
|
||||||
|
# *********************************************************
|
||||||
|
|
||||||
|
EAPI=6
|
||||||
|
SLOT="8"
|
||||||
|
|
||||||
|
inherit check-reqs eapi7-ver flag-o-matic java-pkg-2 java-vm-2 multiprocessing pax-utils prefix toolchain-funcs xdg-utils
|
||||||
|
|
||||||
|
ICEDTEA_VER=$(ver_cut 1-3)
|
||||||
|
ICEDTEA_BRANCH=$(ver_cut 1-2)
|
||||||
|
ICEDTEA_PKG=icedtea-${ICEDTEA_VER}
|
||||||
|
|
||||||
|
CORBA_TARBALL="${PV}.tar.xz"
|
||||||
|
JAXP_TARBALL="${PV}.tar.xz"
|
||||||
|
JAXWS_TARBALL="${PV}.tar.xz"
|
||||||
|
JDK_TARBALL="${PV}.tar.xz"
|
||||||
|
LANGTOOLS_TARBALL="${PV}.tar.xz"
|
||||||
|
OPENJDK_TARBALL="${PV}.tar.xz"
|
||||||
|
NASHORN_TARBALL="${PV}.tar.xz"
|
||||||
|
HOTSPOT_TARBALL="${PV}.tar.xz"
|
||||||
|
SHENANDOAH_TARBALL="${PV}.tar.xz"
|
||||||
|
AARCH32_TARBALL="${PV}.tar.xz"
|
||||||
|
|
||||||
|
CACAO_TARBALL="cacao-c182f119eaad.tar.xz"
|
||||||
|
JAMVM_TARBALL="jamvm-ec18fb9e49e62dce16c5094ef1527eed619463aa.tar.gz"
|
||||||
|
|
||||||
|
CORBA_GENTOO_TARBALL="icedtea-${ICEDTEA_BRANCH}-corba-${CORBA_TARBALL}"
|
||||||
|
JAXP_GENTOO_TARBALL="icedtea-${ICEDTEA_BRANCH}-jaxp-${JAXP_TARBALL}"
|
||||||
|
JAXWS_GENTOO_TARBALL="icedtea-${ICEDTEA_BRANCH}-jaxws-${JAXWS_TARBALL}"
|
||||||
|
JDK_GENTOO_TARBALL="icedtea-${ICEDTEA_BRANCH}-jdk-${JDK_TARBALL}"
|
||||||
|
LANGTOOLS_GENTOO_TARBALL="icedtea-${ICEDTEA_BRANCH}-langtools-${LANGTOOLS_TARBALL}"
|
||||||
|
OPENJDK_GENTOO_TARBALL="icedtea-${ICEDTEA_BRANCH}-openjdk-${OPENJDK_TARBALL}"
|
||||||
|
NASHORN_GENTOO_TARBALL="icedtea-${ICEDTEA_BRANCH}-nashorn-${NASHORN_TARBALL}"
|
||||||
|
HOTSPOT_GENTOO_TARBALL="icedtea-${ICEDTEA_BRANCH}-hotspot-${HOTSPOT_TARBALL}"
|
||||||
|
SHENANDOAH_GENTOO_TARBALL="icedtea-${ICEDTEA_BRANCH}-shenandoah-${SHENANDOAH_TARBALL}"
|
||||||
|
AARCH32_GENTOO_TARBALL="icedtea-${ICEDTEA_BRANCH}-aarch32-${AARCH32_TARBALL}"
|
||||||
|
|
||||||
|
CACAO_GENTOO_TARBALL="icedtea-${CACAO_TARBALL}"
|
||||||
|
JAMVM_GENTOO_TARBALL="icedtea-${JAMVM_TARBALL}"
|
||||||
|
|
||||||
|
DROP_URL="https://icedtea.classpath.org/download/drops"
|
||||||
|
ICEDTEA_URL="${DROP_URL}/icedtea${SLOT}/${ICEDTEA_VER}"
|
||||||
|
|
||||||
|
DESCRIPTION="A harness to build OpenJDK using Free Software build tools and dependencies"
|
||||||
|
HOMEPAGE="https://icedtea.classpath.org"
|
||||||
|
SRC_PKG="${ICEDTEA_PKG}.tar.xz"
|
||||||
|
SRC_URI="
|
||||||
|
https://icedtea.classpath.org/download/source/${SRC_PKG}
|
||||||
|
${ICEDTEA_URL}/openjdk.tar.xz -> ${OPENJDK_GENTOO_TARBALL}
|
||||||
|
${ICEDTEA_URL}/corba.tar.xz -> ${CORBA_GENTOO_TARBALL}
|
||||||
|
${ICEDTEA_URL}/jaxp.tar.xz -> ${JAXP_GENTOO_TARBALL}
|
||||||
|
${ICEDTEA_URL}/jaxws.tar.xz -> ${JAXWS_GENTOO_TARBALL}
|
||||||
|
${ICEDTEA_URL}/jdk.tar.xz -> ${JDK_GENTOO_TARBALL}
|
||||||
|
${ICEDTEA_URL}/hotspot.tar.xz -> ${HOTSPOT_GENTOO_TARBALL}
|
||||||
|
${ICEDTEA_URL}/nashorn.tar.xz -> ${NASHORN_GENTOO_TARBALL}
|
||||||
|
${ICEDTEA_URL}/langtools.tar.xz -> ${LANGTOOLS_GENTOO_TARBALL}
|
||||||
|
shenandoah? ( ${ICEDTEA_URL}/shenandoah.tar.xz -> ${SHENANDOAH_GENTOO_TARBALL} )
|
||||||
|
arm? ( ${ICEDTEA_URL}/aarch32.tar.xz -> ${AARCH32_GENTOO_TARBALL} )
|
||||||
|
${DROP_URL}/cacao/${CACAO_TARBALL} -> ${CACAO_GENTOO_TARBALL}
|
||||||
|
${DROP_URL}/jamvm/${JAMVM_TARBALL} -> ${JAMVM_GENTOO_TARBALL}"
|
||||||
|
|
||||||
|
LICENSE="Apache-1.1 Apache-2.0 GPL-1 GPL-2 GPL-2-with-linking-exception LGPL-2 MPL-1.0 MPL-1.1 public-domain W3C"
|
||||||
|
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
|
||||||
|
|
||||||
|
IUSE="+alsa cacao +cups doc examples +gtk headless-awt
|
||||||
|
jamvm +jbootstrap kerberos pax_kernel +pch
|
||||||
|
pulseaudio sctp selinux shenandoah smartcard +source +system-lcms test zero"
|
||||||
|
|
||||||
|
RESTRICT="!test? ( test )"
|
||||||
|
REQUIRED_USE="gtk? ( !headless-awt )"
|
||||||
|
|
||||||
|
# Ideally the following were optional at build time.
|
||||||
|
ALSA_COMMON_DEP=">=media-libs/alsa-lib-1.0"
|
||||||
|
CUPS_COMMON_DEP=">=net-print/cups-1.2.12"
|
||||||
|
|
||||||
|
X_COMMON_DEP="
|
||||||
|
>=media-libs/giflib-4.1.6:0=
|
||||||
|
>=media-libs/libpng-1.2:0=
|
||||||
|
>=x11-libs/libX11-1.1.3
|
||||||
|
>=x11-libs/libXext-1.1.1
|
||||||
|
>=x11-libs/libXi-1.1.3
|
||||||
|
>=x11-libs/libXrender-0.9.4
|
||||||
|
>=x11-libs/libXtst-1.0.3
|
||||||
|
x11-libs/libXcomposite
|
||||||
|
"
|
||||||
|
|
||||||
|
X_DEPEND="
|
||||||
|
x11-base/xorg-proto
|
||||||
|
>=x11-libs/libXau-1.0.3
|
||||||
|
>=x11-libs/libXdmcp-1.0.2
|
||||||
|
>=x11-libs/libXinerama-1.0.2
|
||||||
|
"
|
||||||
|
|
||||||
|
# The Javascript requirement is obsolete; OpenJDK 8+ has Nashorn
|
||||||
|
COMMON_DEP="
|
||||||
|
>=dev-libs/glib-2.26:2=
|
||||||
|
>=dev-util/systemtap-1
|
||||||
|
media-libs/fontconfig:1.0=
|
||||||
|
>=media-libs/freetype-2.5.3:2=
|
||||||
|
>=sys-libs/zlib-1.2.3
|
||||||
|
virtual/jpeg:0=
|
||||||
|
gtk? (
|
||||||
|
>=dev-libs/atk-1.30.0
|
||||||
|
>=x11-libs/cairo-1.8.8
|
||||||
|
x11-libs/gdk-pixbuf:2
|
||||||
|
>=x11-libs/gtk+-2.8:2
|
||||||
|
>=x11-libs/pango-1.24.5
|
||||||
|
)
|
||||||
|
kerberos? ( virtual/krb5 )
|
||||||
|
sctp? ( net-misc/lksctp-tools )
|
||||||
|
smartcard? ( sys-apps/pcsc-lite )
|
||||||
|
system-lcms? ( >=media-libs/lcms-2.9:2= )
|
||||||
|
"
|
||||||
|
|
||||||
|
RDEPEND="${COMMON_DEP}
|
||||||
|
!dev-java/icedtea:0
|
||||||
|
!dev-java/icedtea-web:7
|
||||||
|
>=gnome-base/gsettings-desktop-schemas-3.12.2
|
||||||
|
>=sys-apps/baselayout-java-0.1.0-r1
|
||||||
|
virtual/ttf-fonts
|
||||||
|
alsa? ( ${ALSA_COMMON_DEP} )
|
||||||
|
cups? ( ${CUPS_COMMON_DEP} )
|
||||||
|
!headless-awt? ( ${X_COMMON_DEP} )
|
||||||
|
selinux? ( sec-policy/selinux-java )
|
||||||
|
"
|
||||||
|
|
||||||
|
# perl is needed for running the SystemTap tests and the bootstrap javac
|
||||||
|
# lsb-release is used to obtain distro information for the version & crash dump output
|
||||||
|
# attr is needed for xattr.h which defines the extended attribute syscalls used by NIO2
|
||||||
|
# x11-libs/libXt is needed for headers only (Intrinsic.h, IntrinsicP.h, Shell.h, StringDefs.h)
|
||||||
|
# Ant is no longer needed under the new build system
|
||||||
|
DEPEND="${COMMON_DEP} ${ALSA_COMMON_DEP} ${CUPS_COMMON_DEP} ${X_COMMON_DEP} ${X_DEPEND}
|
||||||
|
|| (
|
||||||
|
dev-java/openjdk-bin:8
|
||||||
|
dev-java/openjdk:8
|
||||||
|
dev-java/icedtea-bin:8
|
||||||
|
dev-java/icedtea:8
|
||||||
|
)
|
||||||
|
app-arch/cpio
|
||||||
|
app-arch/unzip
|
||||||
|
app-arch/zip
|
||||||
|
app-misc/ca-certificates
|
||||||
|
dev-lang/perl
|
||||||
|
dev-libs/openssl:0
|
||||||
|
sys-apps/attr
|
||||||
|
sys-apps/lsb-release
|
||||||
|
x11-libs/libXt
|
||||||
|
virtual/pkgconfig
|
||||||
|
pax_kernel? ( sys-apps/elfix )"
|
||||||
|
|
||||||
|
PDEPEND="pulseaudio? ( dev-java/icedtea-sound )"
|
||||||
|
|
||||||
|
S="${WORKDIR}"/${ICEDTEA_PKG}
|
||||||
|
|
||||||
|
icedtea_check_requirements() {
|
||||||
|
local CHECKREQS_DISK_BUILD
|
||||||
|
|
||||||
|
if use doc; then
|
||||||
|
CHECKREQS_DISK_BUILD="9000M"
|
||||||
|
else
|
||||||
|
CHECKREQS_DISK_BUILD="8500M"
|
||||||
|
fi
|
||||||
|
|
||||||
|
check-reqs_pkg_${EBUILD_PHASE}
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_pretend() {
|
||||||
|
icedtea_check_requirements
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_setup() {
|
||||||
|
icedtea_check_requirements
|
||||||
|
|
||||||
|
JAVA_PKG_WANT_BUILD_VM="
|
||||||
|
openjdk-8 openjdk-bin-8
|
||||||
|
icedtea-8 icedtea-bin-8"
|
||||||
|
JAVA_PKG_WANT_SOURCE="1.5"
|
||||||
|
JAVA_PKG_WANT_TARGET="1.5"
|
||||||
|
|
||||||
|
java-vm-2_pkg_setup
|
||||||
|
java-pkg-2_pkg_setup
|
||||||
|
}
|
||||||
|
|
||||||
|
src_unpack() {
|
||||||
|
unpack ${SRC_PKG}
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
# GCC10/-fno-common handling, #723102
|
||||||
|
if [[ $(gcc-major-version) -ge 10 ]]; then
|
||||||
|
append-flags -fcommon
|
||||||
|
append-flags -fno-delete-null-pointer-checks -fno-lifetime-dse
|
||||||
|
fi
|
||||||
|
# this patch helps with gcc10 as well
|
||||||
|
# since build system unpacks tarballs itself, this is a way to force makefile
|
||||||
|
# to apply our patch. it expects relative path inside source, so we can't specify
|
||||||
|
# ${FILESDIR} directly.
|
||||||
|
mkdir -v gentoo_patches || die
|
||||||
|
cp -v "${FILESDIR}/openjdk-8-hotspot-arrayallocator.patch" gentoo_patches || die
|
||||||
|
export DISTRIBUTION_PATCHES="gentoo_patches//openjdk-8-hotspot-arrayallocator.patch"
|
||||||
|
|
||||||
|
# For bootstrap builds as the sandbox control file might not yet exist.
|
||||||
|
addpredict /proc/self/coredump_filter #nowarn
|
||||||
|
|
||||||
|
# icedtea doesn't like some locales. #330433 #389717
|
||||||
|
export LANG="C" LC_ALL="C"
|
||||||
|
|
||||||
|
local cacao_config config hotspot_port hs_config jamvm_config use_cacao use_jamvm use_zero zero_config
|
||||||
|
local vm=$(java-pkg_get-current-vm)
|
||||||
|
|
||||||
|
# gcj-jdk ensures ecj is present.
|
||||||
|
if use jbootstrap || has "${vm}" gcj-jdk; then
|
||||||
|
use jbootstrap || einfo "bootstrap is necessary when building with ${vm}, ignoring USE=\"-jbootstrap\""
|
||||||
|
config+=" --enable-bootstrap"
|
||||||
|
else
|
||||||
|
config+=" --disable-bootstrap"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Use Zero if requested
|
||||||
|
if use zero; then
|
||||||
|
use_zero="yes"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Use JamVM if requested
|
||||||
|
if use jamvm; then
|
||||||
|
use_jamvm="yes"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Use CACAO if requested
|
||||||
|
if use cacao; then
|
||||||
|
use_cacao="yes"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Are we on a architecture with a HotSpot port?
|
||||||
|
# In-tree JIT ports are available for amd64, arm, arm64, ppc64 (be&le), SPARC and x86.
|
||||||
|
if { use amd64 || use arm || use arm64 || use ppc64 || use sparc || use x86; }; then
|
||||||
|
hotspot_port="yes"
|
||||||
|
# Work around stack alignment issue, bug #647954.
|
||||||
|
use x86 && append-flags -mincoming-stack-boundary=2
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Always use HotSpot as the primary VM if available. #389521 #368669 #357633 ...
|
||||||
|
# Otherwise use Zero for now until alternate VMs are working
|
||||||
|
if test "x${hotspot_port}" != "xyes"; then
|
||||||
|
use_zero="yes"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if use shenandoah; then
|
||||||
|
if { use amd64 || use arm64; }; then
|
||||||
|
hs_config="--with-hotspot-build=shenandoah"
|
||||||
|
hs_config+=" --with-hotspot-src-zip="${DISTDIR}/${SHENANDOAH_GENTOO_TARBALL}""
|
||||||
|
else
|
||||||
|
eerror "Shenandoah is only supported on arm64 and x86_64. Please re-build with USE="-shenandoah""
|
||||||
|
fi
|
||||||
|
else
|
||||||
|
if use arm ; then
|
||||||
|
hs_config="--with-hotspot-src-zip="${DISTDIR}/${AARCH32_GENTOO_TARBALL}""
|
||||||
|
else
|
||||||
|
hs_config="--with-hotspot-src-zip="${DISTDIR}/${HOTSPOT_GENTOO_TARBALL}""
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Turn on JamVM if needed (non-HS archs) or requested
|
||||||
|
if test "x${use_jamvm}" = "xyes"; then
|
||||||
|
if test "x${hotspot_port}" = "xyes"; then
|
||||||
|
ewarn 'Enabling JamVM on an architecture with HotSpot support; issues may result.'
|
||||||
|
ewarn 'If so, please rebuild with USE="-jamvm"'
|
||||||
|
fi
|
||||||
|
ewarn 'JamVM is known to still have issues with IcedTea 3.x; please rebuild with USE="-jamvm"'
|
||||||
|
jamvm_config="--enable-jamvm"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Turn on CACAO if needed (non-HS archs) or requested
|
||||||
|
if test "x${use_cacao}" = "xyes"; then
|
||||||
|
if test "x${hotspot_port}" = "xyes"; then
|
||||||
|
ewarn 'Enabling CACAO on an architecture with HotSpot support; issues may result.'
|
||||||
|
ewarn 'If so, please rebuild with USE="-cacao"'
|
||||||
|
fi
|
||||||
|
ewarn 'CACAO is known to still have issues with IcedTea 3.x; please rebuild with USE="-cacao"'
|
||||||
|
cacao_config="--enable-cacao"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Turn on Zero if needed (non-HS/CACAO archs) or requested
|
||||||
|
if test "x${use_zero}" = "xyes"; then
|
||||||
|
if test "x${hotspot_port}" = "xyes"; then
|
||||||
|
ewarn 'Enabling Zero on an architecture with HotSpot support; performance will be significantly reduced.'
|
||||||
|
fi
|
||||||
|
zero_config="--enable-zero"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# PaX breaks pch, bug #601016
|
||||||
|
if use pch && ! host-is-pax; then
|
||||||
|
config+=" --enable-precompiled-headers"
|
||||||
|
else
|
||||||
|
config+=" --disable-precompiled-headers"
|
||||||
|
fi
|
||||||
|
|
||||||
|
config+=" --with-parallel-jobs=$(makeopts_jobs)"
|
||||||
|
|
||||||
|
unset JAVA_HOME JDK_HOME CLASSPATH JAVAC JAVACFLAGS
|
||||||
|
|
||||||
|
# force bash for now https://bugs.gentoo.org/722292
|
||||||
|
CONFIG_SHELL="${EPREFIX}/bin/bash" econf ${config} \
|
||||||
|
--with-openjdk-src-zip="${DISTDIR}/${OPENJDK_GENTOO_TARBALL}" \
|
||||||
|
--with-corba-src-zip="${DISTDIR}/${CORBA_GENTOO_TARBALL}" \
|
||||||
|
--with-jaxp-src-zip="${DISTDIR}/${JAXP_GENTOO_TARBALL}" \
|
||||||
|
--with-jaxws-src-zip="${DISTDIR}/${JAXWS_GENTOO_TARBALL}" \
|
||||||
|
--with-jdk-src-zip="${DISTDIR}/${JDK_GENTOO_TARBALL}" \
|
||||||
|
--with-langtools-src-zip="${DISTDIR}/${LANGTOOLS_GENTOO_TARBALL}" \
|
||||||
|
--with-nashorn-src-zip="${DISTDIR}/${NASHORN_GENTOO_TARBALL}" \
|
||||||
|
--with-cacao-src-zip="${DISTDIR}/${CACAO_GENTOO_TARBALL}" \
|
||||||
|
--with-jamvm-src-zip="${DISTDIR}/${JAMVM_GENTOO_TARBALL}" \
|
||||||
|
--with-jdk-home="$(java-config -O)" \
|
||||||
|
--prefix="${EPREFIX}/usr/$(get_libdir)/icedtea${SLOT}" \
|
||||||
|
--mandir="${EPREFIX}/usr/$(get_libdir)/icedtea${SLOT}/man" \
|
||||||
|
--with-pkgversion="Gentoo ${PF}" \
|
||||||
|
--disable-ccache \
|
||||||
|
--disable-downloading --disable-Werror --disable-tests \
|
||||||
|
--disable-systemtap-tests --enable-improved-font-rendering \
|
||||||
|
--enable-system-jpeg --enable-system-zlib \
|
||||||
|
$(use_enable headless-awt headless) \
|
||||||
|
$(use_enable !headless-awt system-gif) \
|
||||||
|
$(use_enable !headless-awt system-png) \
|
||||||
|
$(use_enable doc docs) \
|
||||||
|
$(use_enable kerberos system-kerberos) \
|
||||||
|
$(use_enable system-lcms) \
|
||||||
|
$(use_with pax_kernel pax "${EPREFIX}/usr/sbin/paxmark.sh") \
|
||||||
|
$(use_enable sctp system-sctp) \
|
||||||
|
$(use_enable smartcard system-pcsc) \
|
||||||
|
${zero_config} ${cacao_config} ${jamvm_config} ${hs_config}
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
default
|
||||||
|
}
|
||||||
|
|
||||||
|
src_test() {
|
||||||
|
default
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
default
|
||||||
|
|
||||||
|
local dest="/usr/$(get_libdir)/icedtea${SLOT}"
|
||||||
|
local ddest="${ED}${dest#/}"
|
||||||
|
|
||||||
|
if ! use alsa; then
|
||||||
|
rm -v "${ddest}"/jre/lib/$(get_system_arch)/libjsoundalsa.* || die
|
||||||
|
fi
|
||||||
|
|
||||||
|
if ! use examples; then
|
||||||
|
rm -r "${ddest}"/demo "${ddest}"/sample || die
|
||||||
|
fi
|
||||||
|
|
||||||
|
if ! use source; then
|
||||||
|
rm -v "${ddest}"/src.zip || die
|
||||||
|
fi
|
||||||
|
|
||||||
|
dosym ../../../usr/share/doc/"${PF}" usr/share/doc/"${PN}${SLOT}"
|
||||||
|
|
||||||
|
# Fix the permissions.
|
||||||
|
find "${ddest}" \! -type l \( -perm /111 -exec chmod 755 {} \; -o -exec chmod 644 {} \; \) || die
|
||||||
|
|
||||||
|
dosym ../../../../../../etc/ssl/certs/java/cacerts "${dest}"/jre/lib/security/cacerts
|
||||||
|
|
||||||
|
java-vm_install-env "${FILESDIR}/icedtea.env.sh"
|
||||||
|
java-vm_sandbox-predict /proc/self/coredump_filter
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
xdg_icon_cache_update
|
||||||
|
java-vm-2_pkg_postinst
|
||||||
|
einfo "JavaWebStart functionality provided by icedtea-web package"
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postrm() {
|
||||||
|
xdg_icon_cache_update
|
||||||
|
java-vm-2_pkg_postrm
|
||||||
|
}
|
@ -1,11 +0,0 @@
|
|||||||
--- build.xml.orig 2007-05-07 19:59:49.000000000 +0300
|
|
||||||
+++ build.xml 2007-05-07 20:01:21.000000000 +0300
|
|
||||||
@@ -291,7 +291,7 @@
|
|
||||||
</if>
|
|
||||||
</target>
|
|
||||||
|
|
||||||
- <target name="dist" depends="init, compile">
|
|
||||||
+ <target name="dist" depends="init, compile-driver,compile.integration">
|
|
||||||
|
|
||||||
<delete file="${buildDir}/${fullProdName}-bin.jar" />
|
|
||||||
<delete file="${distDir}/${fullProdName}.jar" />
|
|
@ -1,39 +0,0 @@
|
|||||||
--- mysql-connector-java-5.0.5/src/testsuite/regression/DataSourceRegressionTest.java 2007-03-01 17:48:47.000000000 +0100
|
|
||||||
+++ mysql-connector-java-5.0.5-no-jboss-test/src/testsuite/regression/DataSourceRegressionTest.java 2007-04-12 09:53:05.000000000 +0200
|
|
||||||
@@ -52,7 +52,6 @@
|
|
||||||
import testsuite.simple.DataSourceTest;
|
|
||||||
|
|
||||||
import com.mysql.jdbc.NonRegisteringDriver;
|
|
||||||
-import com.mysql.jdbc.integration.jboss.MysqlValidConnectionChecker;
|
|
||||||
import com.mysql.jdbc.jdbc2.optional.MysqlConnectionPoolDataSource;
|
|
||||||
import com.mysql.jdbc.jdbc2.optional.MysqlDataSource;
|
|
||||||
import com.mysql.jdbc.jdbc2.optional.MysqlDataSourceFactory;
|
|
||||||
@@ -315,28 +314,6 @@
|
|
||||||
assertEquals(testIntFlag, thawedDs.getBlobSendChunkSize());
|
|
||||||
}
|
|
||||||
|
|
||||||
- /**
|
|
||||||
- * Tests fix for BUG#20242 - MysqlValidConnectionChecker for JBoss doesn't
|
|
||||||
- * work with MySQLXADataSources.
|
|
||||||
- *
|
|
||||||
- * @throws Exception if the test fails.
|
|
||||||
- */
|
|
||||||
- public void testBug20242() throws Exception {
|
|
||||||
- if (versionMeetsMinimum(5, 0)) {
|
|
||||||
- try {
|
|
||||||
- Class.forName("org.jboss.resource.adapter.jdbc.ValidConnectionChecker");
|
|
||||||
- } catch (Exception ex) {
|
|
||||||
- return; // class not available for testing
|
|
||||||
- }
|
|
||||||
-
|
|
||||||
- MysqlXADataSource xaDs = new MysqlXADataSource();
|
|
||||||
- xaDs.setUrl(dbUrl);
|
|
||||||
-
|
|
||||||
- MysqlValidConnectionChecker checker = new MysqlValidConnectionChecker();
|
|
||||||
- assertNull(checker.isValidConnection(xaDs.getXAConnection().getConnection()));
|
|
||||||
- }
|
|
||||||
- }
|
|
||||||
-
|
|
||||||
private void bindDataSource(String name, DataSource ds) throws Exception {
|
|
||||||
this.ctx.bind(this.tempDir.getAbsolutePath() + name, ds);
|
|
||||||
}
|
|
@ -1,34 +0,0 @@
|
|||||||
--- build.xml.orig 2010-01-20 19:45:30.000000000 +0100
|
|
||||||
+++ build.xml 2010-02-13 00:34:30.000000000 +0100
|
|
||||||
@@ -131,7 +131,7 @@
|
|
||||||
</if>
|
|
||||||
</target>
|
|
||||||
|
|
||||||
- <target name="init" depends="-compiler-check, -init-copy, -init-no-crypto">
|
|
||||||
+ <target name="init" depends="-init-copy, -init-no-crypto">
|
|
||||||
<!-- We need the following for source distributions as there we
|
|
||||||
can't dynamically alter the classpath, and not having this
|
|
||||||
directory present causes the build to fail -->
|
|
||||||
@@ -746,7 +746,8 @@
|
|
||||||
<javac sourcepath="" srcdir="${buildDir}/${fullProdName}"
|
|
||||||
destdir="${compiler.output}"
|
|
||||||
deprecation="off"
|
|
||||||
- debug="${debug.enable}">
|
|
||||||
+ debug="${debug.enable}"
|
|
||||||
+ bootclasspath="${gentoo.bootclasspath}">
|
|
||||||
<include name="**/*.java" />
|
|
||||||
<exclude name="testsuite/**" />
|
|
||||||
<exclude name="com/mysql/jdbc/integration/**" />
|
|
||||||
@@ -763,11 +764,7 @@
|
|
||||||
<javac destdir="${compiler.output}"
|
|
||||||
deprecation="off"
|
|
||||||
debug="${debug.enable}"
|
|
||||||
- fork="yes"
|
|
||||||
- executable="${com.mysql.jdbc.java6.javac}"
|
|
||||||
- compiler="modern"
|
|
||||||
- sourcepath="" srcdir="${buildDir}/${fullProdName}"
|
|
||||||
- bootclasspath="${com.mysql.jdbc.java6.rtjar}">
|
|
||||||
+ sourcepath="" srcdir="${buildDir}/${fullProdName}">
|
|
||||||
<include name="**/JDBC4*.java" />
|
|
||||||
<include name="com/mysql/jdbc/exceptions/jdbc4/*" />
|
|
||||||
|
|
@ -1,83 +0,0 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI="5"
|
|
||||||
|
|
||||||
JAVA_PKG_IUSE="source"
|
|
||||||
JAVA_PKG_WANT_BOOTCLASSPATH="1.5"
|
|
||||||
WANT_ANT_TASKS="ant-contrib"
|
|
||||||
|
|
||||||
inherit epatch java-pkg-2 java-ant-2
|
|
||||||
|
|
||||||
MY_PN="mysql-connector-java"
|
|
||||||
MY_P="${MY_PN}-${PV}"
|
|
||||||
|
|
||||||
DESCRIPTION="MySQL JDBC driver"
|
|
||||||
HOMEPAGE="https://www.mysql.com/products/connector/j/"
|
|
||||||
SRC_URI="https://dev.mysql.com/get/Downloads/Connector-J/${MY_P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="GPL-2-with-MySQL-FLOSS-exception"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="amd64 ppc64 x86"
|
|
||||||
|
|
||||||
IUSE="c3p0 log4j"
|
|
||||||
|
|
||||||
COMMON_DEP="
|
|
||||||
dev-java/slf4j-api:0
|
|
||||||
log4j? ( dev-java/log4j:0 )
|
|
||||||
c3p0? ( dev-java/c3p0:0 )"
|
|
||||||
|
|
||||||
RDEPEND=">=virtual/jre-1.6
|
|
||||||
${COMMON_DEP}"
|
|
||||||
|
|
||||||
DEPEND=">=virtual/jdk-1.6
|
|
||||||
${COMMON_DEP}"
|
|
||||||
|
|
||||||
S="${WORKDIR}/${MY_P}"
|
|
||||||
|
|
||||||
java_prepare() {
|
|
||||||
epatch "${FILESDIR}/5.0.5-remove-jboss-dependency-from-tests.patch"
|
|
||||||
|
|
||||||
# http://bugs.mysql.com/bug.php?id=28286
|
|
||||||
epatch "${FILESDIR}/5.0.5-dist-target-depends.patch"
|
|
||||||
|
|
||||||
# Use java6 for everything except jdbc3 - #283848
|
|
||||||
epatch "${FILESDIR}/5.1.14-java6.patch"
|
|
||||||
|
|
||||||
find . -name '*.jar' -print -delete || die
|
|
||||||
|
|
||||||
cd src/lib
|
|
||||||
java-pkg_jar-from slf4j-api
|
|
||||||
use log4j && java-pkg_jar-from log4j
|
|
||||||
use c3p0 && java-pkg_jar-from c3p0
|
|
||||||
}
|
|
||||||
|
|
||||||
JAVA_ANT_IGNORE_SYSTEM_CLASSES="true"
|
|
||||||
EANT_BUILD_TARGET="dist"
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
# Cannot use rewrite-bootclasspath because of the jdbc4 part.
|
|
||||||
java-pkg-2_src_compile \
|
|
||||||
-Dgentoo.bootclasspath="$(java-pkg_get-bootclasspath 1.5)"
|
|
||||||
}
|
|
||||||
|
|
||||||
# Tests need a mysql DB to exist.
|
|
||||||
RESTRICT="test"
|
|
||||||
|
|
||||||
src_test() {
|
|
||||||
cd src/lib
|
|
||||||
java-pkg_jar-from junit
|
|
||||||
|
|
||||||
cd "${S}"
|
|
||||||
ANT_TASKS="ant-junit" eant test -Dcom.mysql.jdbc.noCleanBetweenCompiles=true
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
# Skip bytecode check because we want two versions there
|
|
||||||
JAVA_PKG_STRICT= java-pkg_newjar build/${MY_P}-SNAPSHOT/${MY_P}-SNAPSHOT-bin.jar ${PN}.jar
|
|
||||||
|
|
||||||
dodoc README CHANGES
|
|
||||||
dohtml docs/*.html
|
|
||||||
|
|
||||||
use source && java-pkg_dosrc src/com src/org
|
|
||||||
}
|
|
@ -1,12 +1,8 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||||
<pkgmetadata>
|
<pkgmetadata>
|
||||||
<maintainer type="project">
|
<maintainer type="project">
|
||||||
<email>java@gentoo.org</email>
|
<email>java@gentoo.org</email>
|
||||||
<name>Java</name>
|
<name>Java</name>
|
||||||
</maintainer>
|
</maintainer>
|
||||||
<use>
|
|
||||||
<flag name="c3p0">Enable c3p0 support</flag>
|
|
||||||
<flag name="log4j">Enable log4 support</flag>
|
|
||||||
</use>
|
|
||||||
</pkgmetadata>
|
</pkgmetadata>
|
||||||
|
@ -0,0 +1,55 @@
|
|||||||
|
# Copyright 2008-2021 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI="7"
|
||||||
|
JAVA_PKG_IUSE="doc source"
|
||||||
|
|
||||||
|
inherit java-pkg-2 java-pkg-simple
|
||||||
|
|
||||||
|
if [[ "${PV}" == "9999" ]]; then
|
||||||
|
inherit git-r3
|
||||||
|
|
||||||
|
EGIT_REPO_URI="https://github.com/protocolbuffers/protobuf"
|
||||||
|
EGIT_SUBMODULES=()
|
||||||
|
fi
|
||||||
|
|
||||||
|
DESCRIPTION="Google's Protocol Buffers - Java bindings"
|
||||||
|
HOMEPAGE="https://developers.google.com/protocol-buffers/ https://github.com/protocolbuffers/protobuf"
|
||||||
|
if [[ "${PV}" == "9999" ]]; then
|
||||||
|
SRC_URI=""
|
||||||
|
else
|
||||||
|
SRC_URI="https://github.com/protocolbuffers/protobuf/archive/v${PV}.tar.gz -> protobuf-${PV}.tar.gz"
|
||||||
|
fi
|
||||||
|
|
||||||
|
LICENSE="BSD"
|
||||||
|
SLOT="0/28"
|
||||||
|
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86 ~amd64-linux ~x86-linux ~x64-macos"
|
||||||
|
IUSE=""
|
||||||
|
|
||||||
|
BDEPEND="~dev-libs/protobuf-${PV}
|
||||||
|
>=virtual/jdk-1.8:*"
|
||||||
|
DEPEND=">=virtual/jdk-1.8:*"
|
||||||
|
RDEPEND=">=virtual/jre-1.8:*"
|
||||||
|
|
||||||
|
S="${WORKDIR}/protobuf-${PV}/java"
|
||||||
|
|
||||||
|
if [[ "${PV}" == "9999" ]]; then
|
||||||
|
EGIT_CHECKOUT_DIR="${WORKDIR}/protobuf-${PV}"
|
||||||
|
fi
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
pushd "${WORKDIR}/protobuf-${PV}" > /dev/null || die
|
||||||
|
eapply_user
|
||||||
|
popd > /dev/null || die
|
||||||
|
|
||||||
|
java-pkg-2_src_prepare
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
"${BROOT}/usr/bin/protoc" --java_out=core/src/main/java -I../src ../src/google/protobuf/descriptor.proto || die
|
||||||
|
JAVA_SRC_DIR="core/src/main/java" JAVA_JAR_FILENAME="protobuf.jar" java-pkg-simple_src_compile
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
JAVA_SRC_DIR="core/src/main/java" JAVA_JAR_FILENAME="protobuf.jar" java-pkg-simple_src_install
|
||||||
|
}
|
Binary file not shown.
Binary file not shown.
@ -0,0 +1,140 @@
|
|||||||
|
# Copyright 2008-2021 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI="7"
|
||||||
|
|
||||||
|
inherit autotools elisp-common flag-o-matic multilib-minimal toolchain-funcs
|
||||||
|
|
||||||
|
if [[ "${PV}" == "9999" ]]; then
|
||||||
|
inherit git-r3
|
||||||
|
|
||||||
|
EGIT_REPO_URI="https://github.com/protocolbuffers/protobuf"
|
||||||
|
EGIT_SUBMODULES=()
|
||||||
|
fi
|
||||||
|
|
||||||
|
DESCRIPTION="Google's Protocol Buffers - Extensible mechanism for serializing structured data"
|
||||||
|
HOMEPAGE="https://developers.google.com/protocol-buffers/ https://github.com/protocolbuffers/protobuf"
|
||||||
|
if [[ "${PV}" == "9999" ]]; then
|
||||||
|
SRC_URI=""
|
||||||
|
else
|
||||||
|
SRC_URI="https://github.com/protocolbuffers/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
fi
|
||||||
|
|
||||||
|
LICENSE="BSD"
|
||||||
|
SLOT="0/28"
|
||||||
|
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
|
||||||
|
IUSE="emacs examples static-libs test zlib"
|
||||||
|
RESTRICT="!test? ( test )"
|
||||||
|
|
||||||
|
BDEPEND="emacs? ( app-editors/emacs:* )"
|
||||||
|
DEPEND="test? ( >=dev-cpp/gtest-1.9[${MULTILIB_USEDEP}] )
|
||||||
|
zlib? ( sys-libs/zlib[${MULTILIB_USEDEP}] )"
|
||||||
|
RDEPEND="emacs? ( app-editors/emacs:* )
|
||||||
|
zlib? ( sys-libs/zlib[${MULTILIB_USEDEP}] )"
|
||||||
|
|
||||||
|
PATCHES=(
|
||||||
|
"${FILESDIR}/${PN}-3.17.0-disable_no-warning-test.patch"
|
||||||
|
"${FILESDIR}/${PN}-3.17.0-system_libraries.patch"
|
||||||
|
"${FILESDIR}/${PN}-3.16.0-protoc_input_output_files.patch"
|
||||||
|
)
|
||||||
|
|
||||||
|
DOCS=(CHANGES.txt CONTRIBUTORS.txt README.md)
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
default
|
||||||
|
|
||||||
|
# https://github.com/protocolbuffers/protobuf/issues/7413
|
||||||
|
sed -e "/^AC_PROG_CXX_FOR_BUILD$/d" -i configure.ac || die
|
||||||
|
|
||||||
|
# https://github.com/protocolbuffers/protobuf/issues/8082
|
||||||
|
sed -e "/^TEST_F(IoTest, LargeOutput) {$/,/^}$/d" -i src/google/protobuf/io/zero_copy_stream_unittest.cc || die
|
||||||
|
|
||||||
|
# https://github.com/protocolbuffers/protobuf/issues/8459
|
||||||
|
sed \
|
||||||
|
-e "/^TEST(ArenaTest, BlockSizeSmallerThanAllocation) {$/a\\ if (sizeof(void*) == 4) {\n GTEST_SKIP();\n }" \
|
||||||
|
-e "/^TEST(ArenaTest, SpaceAllocated_and_Used) {$/a\\ if (sizeof(void*) == 4) {\n GTEST_SKIP();\n }" \
|
||||||
|
-i src/google/protobuf/arena_unittest.cc || die
|
||||||
|
|
||||||
|
# https://github.com/protocolbuffers/protobuf/issues/8460
|
||||||
|
sed -e "/^TEST(AnyTest, TestPackFromSerializationExceedsSizeLimit) {$/a\\ if (sizeof(void*) == 4) {\n GTEST_SKIP();\n }" -i src/google/protobuf/any_test.cc || die
|
||||||
|
|
||||||
|
eautoreconf
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
append-cppflags -DGOOGLE_PROTOBUF_NO_RTTI
|
||||||
|
|
||||||
|
if tc-ld-is-gold; then
|
||||||
|
# https://sourceware.org/bugzilla/show_bug.cgi?id=24527
|
||||||
|
tc-ld-disable-gold
|
||||||
|
fi
|
||||||
|
|
||||||
|
multilib-minimal_src_configure
|
||||||
|
}
|
||||||
|
|
||||||
|
multilib_src_configure() {
|
||||||
|
local options=(
|
||||||
|
$(use_enable static-libs static)
|
||||||
|
$(use_with zlib)
|
||||||
|
)
|
||||||
|
|
||||||
|
if tc-is-cross-compiler; then
|
||||||
|
# Build system uses protoc when building, so protoc copy runnable on host is needed.
|
||||||
|
mkdir -p "${WORKDIR}/build" || die
|
||||||
|
pushd "${WORKDIR}/build" > /dev/null || die
|
||||||
|
ECONF_SOURCE="${S}" econf_build "${options[@]}"
|
||||||
|
options+=(--with-protoc="$(pwd)/src/protoc")
|
||||||
|
popd > /dev/null || die
|
||||||
|
fi
|
||||||
|
|
||||||
|
ECONF_SOURCE="${S}" econf "${options[@]}"
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
multilib-minimal_src_compile
|
||||||
|
|
||||||
|
if use emacs; then
|
||||||
|
elisp-compile editors/protobuf-mode.el
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
multilib_src_compile() {
|
||||||
|
if tc-is-cross-compiler; then
|
||||||
|
emake -C "${WORKDIR}/build/src" protoc
|
||||||
|
fi
|
||||||
|
|
||||||
|
default
|
||||||
|
}
|
||||||
|
|
||||||
|
multilib_src_test() {
|
||||||
|
emake check
|
||||||
|
}
|
||||||
|
|
||||||
|
multilib_src_install_all() {
|
||||||
|
find "${ED}" -name "*.la" -delete || die
|
||||||
|
|
||||||
|
insinto /usr/share/vim/vimfiles/syntax
|
||||||
|
doins editors/proto.vim
|
||||||
|
insinto /usr/share/vim/vimfiles/ftdetect
|
||||||
|
doins "${FILESDIR}/proto.vim"
|
||||||
|
|
||||||
|
if use emacs; then
|
||||||
|
elisp-install ${PN} editors/protobuf-mode.el*
|
||||||
|
elisp-site-file-install "${FILESDIR}/70${PN}-gentoo.el"
|
||||||
|
fi
|
||||||
|
|
||||||
|
if use examples; then
|
||||||
|
DOCS+=(examples)
|
||||||
|
docompress -x /usr/share/doc/${PF}/examples
|
||||||
|
fi
|
||||||
|
|
||||||
|
einstalldocs
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
use emacs && elisp-site-regen
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postrm() {
|
||||||
|
use emacs && elisp-site-regen
|
||||||
|
}
|
Binary file not shown.
@ -1,4 +1,5 @@
|
|||||||
DIST camlp4-4.05_p1.tar.gz 647566 BLAKE2B 068c1016a75616811787eb480b61349a32960997f03e0bc99d63e15357a8932a6019d9e7195541fd942ef99fc1d71c067fb5fcb0fd0c2c3efb77aac494589854 SHA512 0ee9720286d0d832fb7d2d21a8877856e0e47c94c86b1b58d28f8e757a18472eecb56a16e3a04ce815f240dd5048f5d597515461d084fd1cf4da1b121f97a3fe
|
DIST camlp4-4.05_p1.tar.gz 647566 BLAKE2B 068c1016a75616811787eb480b61349a32960997f03e0bc99d63e15357a8932a6019d9e7195541fd942ef99fc1d71c067fb5fcb0fd0c2c3efb77aac494589854 SHA512 0ee9720286d0d832fb7d2d21a8877856e0e47c94c86b1b58d28f8e757a18472eecb56a16e3a04ce815f240dd5048f5d597515461d084fd1cf4da1b121f97a3fe
|
||||||
DIST camlp4-4.08_p1.tar.gz 649830 BLAKE2B 8dff6f82618d0f61a56acfa71ae679d4ba5ed4aea272019da7b19ea64960c80e50c55482ff9782748dad5042aa1bcd8728ff0825f8f900ff27239db0e0db3515 SHA512 1f8d6df42935ecdbed96a7b02d05564665b4bf0cbe4f5fd1800a1f292d8b3864d973df1e9e8c566c0fd00b5a55ba47ecd9bd07f134a9be83601e010b0246e075
|
DIST camlp4-4.09_p1.tar.gz 649702 BLAKE2B 2bf0fd0b4f22d21b9fa7e195a26f4dece56549c56d191480d5c874aac9422d2d4aa41e23e96c078f653f6da6bdbd186583cb02e857741fdb526b53b000b981bb SHA512 71a8eed173013bdea61f7a268c82acaa1f5215aebbf4b638efba137760e849f9fede82f801aa14e5d6cc334d6e67d752988b15a36557b363a8feaf9ba1d1add4
|
||||||
DIST camlp4-4.10_p1.tar.gz 650092 BLAKE2B d7a6221dba5f6ec6963fe35236c29f39b8ae8f928618b5a58f72e7b1cc1f50d716b110f9684150716b56784cf703c0d8fcbc1aad32aeab638faca9c1bf2d5b9e SHA512 7ae0e20053a43399daa4ee9b93b6f4dbebc3e17c5ee79d069c4903cdfb2bf1cfc7d6badecf92fcf62e97a5f85f3be6ed82a62eb2a311bf6398b2792eacf763d8
|
DIST camlp4-4.10_p1.tar.gz 650092 BLAKE2B d7a6221dba5f6ec6963fe35236c29f39b8ae8f928618b5a58f72e7b1cc1f50d716b110f9684150716b56784cf703c0d8fcbc1aad32aeab638faca9c1bf2d5b9e SHA512 7ae0e20053a43399daa4ee9b93b6f4dbebc3e17c5ee79d069c4903cdfb2bf1cfc7d6badecf92fcf62e97a5f85f3be6ed82a62eb2a311bf6398b2792eacf763d8
|
||||||
DIST camlp4-4.11_p1.tar.gz 650280 BLAKE2B 6fe46b49c1f2b2e5fc87fbbbdba3ccae795c555737495c298456b84f0dca79c750aa6e4ab2c23bbc7ba4724defdfb739e370f468a78658035474d2f3ad255995 SHA512 8e572602c1c465017a234565efa2249c935ba1ad3d399a6b264bfbec345958130a96311c79e437ac995e3ead9ff7b4f2d3fe6aa4a3a82431ae0cc6257a300f4c
|
DIST camlp4-4.11_p1.tar.gz 650280 BLAKE2B 6fe46b49c1f2b2e5fc87fbbbdba3ccae795c555737495c298456b84f0dca79c750aa6e4ab2c23bbc7ba4724defdfb739e370f468a78658035474d2f3ad255995 SHA512 8e572602c1c465017a234565efa2249c935ba1ad3d399a6b264bfbec345958130a96311c79e437ac995e3ead9ff7b4f2d3fe6aa4a3a82431ae0cc6257a300f4c
|
||||||
|
DIST camlp4-4.12.tar.gz 650428 BLAKE2B 4957d3db73ec82fbac58dd95fa13c48f9f8480a70cd6bded43a00df0a182f9b9e31a43acef8264f9d940776667d10b0a5c46bded59ebf4a645719264628428fc SHA512 0a19bb596e47076a28a6bea62007f1d3b59c4d688075f6b723abaa205c555707feb4ea0624259994a4ba5251fdea9dc61cdc936dc13611b36937e755a4bc9b7b
|
||||||
|
@ -0,0 +1,46 @@
|
|||||||
|
# Copyright 1999-2021 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
MY_PV=${PV/_p/+}
|
||||||
|
MY_P=${PN}-${MY_PV}
|
||||||
|
|
||||||
|
DESCRIPTION="System for writing extensible parsers for programming languages"
|
||||||
|
HOMEPAGE="https://github.com/camlp4/camlp4"
|
||||||
|
SRC_URI="https://github.com/camlp4/camlp4/archive/${MY_PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="LGPL-2-with-linking-exception"
|
||||||
|
SLOT="0/${PV}"
|
||||||
|
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
|
||||||
|
IUSE="+ocamlopt"
|
||||||
|
|
||||||
|
DEPEND="dev-lang/ocaml:0/4.11[ocamlopt?]"
|
||||||
|
RDEPEND="${DEPEND}"
|
||||||
|
DEPEND="${DEPEND}
|
||||||
|
dev-ml/ocamlbuild"
|
||||||
|
|
||||||
|
QA_FLAGS_IGNORED='.*'
|
||||||
|
|
||||||
|
S=${WORKDIR}/${P/_p/-}
|
||||||
|
PATCHES=( "${FILESDIR}/reload.patch" )
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
./configure \
|
||||||
|
--bindir="${EPREFIX}/usr/bin" \
|
||||||
|
--libdir="$(ocamlc -where)" \
|
||||||
|
--pkgdir="$(ocamlc -where)" \
|
||||||
|
|| die
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
# Increase stack limit to 11GiB to avoid stack overflow error.
|
||||||
|
ulimit -s 11530000
|
||||||
|
emake byte
|
||||||
|
use ocamlopt && emake native
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
emake DESTDIR="${D}" install install-META
|
||||||
|
dodoc CHANGES.md README.md
|
||||||
|
}
|
@ -0,0 +1,58 @@
|
|||||||
|
# Copyright 1999-2021 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
inherit findlib vcs-clean
|
||||||
|
|
||||||
|
DESCRIPTION="A preprocessor-pretty-printer of ocaml"
|
||||||
|
HOMEPAGE="https://camlp5.github.io/"
|
||||||
|
SRC_URI="https://github.com/camlp5/camlp5/archive/rel${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
S="${WORKDIR}/${PN}-rel${PV}"
|
||||||
|
|
||||||
|
LICENSE="BSD"
|
||||||
|
SLOT="0/${PV}"
|
||||||
|
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
|
||||||
|
IUSE="doc +ocamlopt"
|
||||||
|
|
||||||
|
DEPEND="
|
||||||
|
>=dev-lang/ocaml-3.10:=[ocamlopt?]
|
||||||
|
"
|
||||||
|
RDEPEND="${DEPEND}"
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
egit_clean
|
||||||
|
default
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
./configure \
|
||||||
|
--strict \
|
||||||
|
-prefix /usr \
|
||||||
|
-bindir /usr/bin \
|
||||||
|
-libdir /usr/$(get_libdir)/ocaml \
|
||||||
|
-mandir /usr/share/man || die "configure failed"
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
ulimit -s 11530000
|
||||||
|
emake out
|
||||||
|
if use ocamlopt; then
|
||||||
|
emake opt
|
||||||
|
emake opt.opt
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
src_test() {
|
||||||
|
emake bootstrap
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
emake DESTDIR="${ED}" install
|
||||||
|
# findlib support
|
||||||
|
insinto "$(ocamlfind printconf destdir)/${PN}"
|
||||||
|
doins etc/META
|
||||||
|
|
||||||
|
dodoc -r doc/*
|
||||||
|
dodoc CHANGES DEVEL ICHANGES README.md UPGRADING MODE
|
||||||
|
}
|
@ -1,2 +1,3 @@
|
|||||||
|
DIST labltk-8.06.10.tar.gz 371871 BLAKE2B da67b13aa0a0c179c2fcefe6b03f68225b6e886a1233de77b9749be32b8efc845cac60244f9a8494241c8c77c7d6991786280c274becb70f5527ad891c3aac69 SHA512 ef797d21adac48ca5ed35d95ad05fee26f9b6c99b0510909f6087abb9580b8efd219ca65b1efddb170b5409567d83eaaac0473898f5f4db3e15ae4f39df364c8
|
||||||
DIST labltk-8.06.7.tar.gz 370870 BLAKE2B 2d836c824d9adbd4f03d0e7e81faa51669837eecb4f94f6c89c657966774fe7d6ed928459be3ccca7fd3e7cf67a54ee63f7d2d08dcc8b7e853f5ad64769b33a2 SHA512 3c7352d14bc337adfb1939e72bd2658bb5e60b463f10f3748779084d1b7a6e6225028c775b548e355d69984a8944b91580fa978ff904b20b8b762ba9046f5e7d
|
DIST labltk-8.06.7.tar.gz 370870 BLAKE2B 2d836c824d9adbd4f03d0e7e81faa51669837eecb4f94f6c89c657966774fe7d6ed928459be3ccca7fd3e7cf67a54ee63f7d2d08dcc8b7e853f5ad64769b33a2 SHA512 3c7352d14bc337adfb1939e72bd2658bb5e60b463f10f3748779084d1b7a6e6225028c775b548e355d69984a8944b91580fa978ff904b20b8b762ba9046f5e7d
|
||||||
DIST labltk-8.06.9.tar.gz 371504 BLAKE2B 587ff01da120501f85f6d9921e46275858f1e1ce730eef205f9e7d7c64f6d3c0ea701cf832fdb8eb0746e1f0cff1151bccb077641740fb18811473b1553e2940 SHA512 fd6defa302d919f229394c486dcefab110b144534525a87082a27d2cab29c0af4ece3da821098fea25416850ad857f7af979d48790330d62dfb8d8db8f2bf6ca
|
DIST labltk-8.06.9.tar.gz 371504 BLAKE2B 587ff01da120501f85f6d9921e46275858f1e1ce730eef205f9e7d7c64f6d3c0ea701cf832fdb8eb0746e1f0cff1151bccb077641740fb18811473b1553e2940 SHA512 fd6defa302d919f229394c486dcefab110b144534525a87082a27d2cab29c0af4ece3da821098fea25416850ad857f7af979d48790330d62dfb8d8db8f2bf6ca
|
||||||
|
@ -0,0 +1,44 @@
|
|||||||
|
# Copyright 1999-2021 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
inherit findlib
|
||||||
|
|
||||||
|
DESCRIPTION="OCaml interface to the Tcl/Tk GUI framework"
|
||||||
|
HOMEPAGE="https://garrigue.github.io/labltk/"
|
||||||
|
SRC_URI="https://github.com/garrigue/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="QPL-1.0 LGPL-2"
|
||||||
|
SLOT="0/${PV}"
|
||||||
|
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
|
||||||
|
IUSE="+ocamlopt X"
|
||||||
|
|
||||||
|
RDEPEND="dev-lang/tk:=
|
||||||
|
>=dev-lang/ocaml-4.11:=[ocamlopt?,X(+)?]"
|
||||||
|
DEPEND="${RDEPEND}
|
||||||
|
dev-ml/findlib
|
||||||
|
"
|
||||||
|
|
||||||
|
PATCHES=(
|
||||||
|
"${FILESDIR}/findlib.patch"
|
||||||
|
)
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
./configure --use-findlib --verbose $(usex X "--tk-x11" "--tk-no-x11") || die "configure failed!"
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
emake -j1
|
||||||
|
use ocamlopt && emake -j1 opt
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
findlib_src_preinst
|
||||||
|
dodir /usr/bin
|
||||||
|
emake \
|
||||||
|
INSTALLDIR="${D}/$(ocamlc -where)/labltk" \
|
||||||
|
INSTALLBINDIR="${ED}/usr/bin/" \
|
||||||
|
install
|
||||||
|
dodoc Changes README.mlTk
|
||||||
|
}
|
@ -1 +1,2 @@
|
|||||||
DIST ocaml-fileutils-0.6.2.tar.bz2 43060 BLAKE2B 20828875a25b1a9d2a41bf495cda00b0ac753efa20111b32a9d2ca439a56e9f07bf0953d16ee9148cf065e204fa1d8d624eaa89f6f4ae7e1613fdaa7cb44fc24 SHA512 104c7389832f22ec189ce6f1596144b28dcaeea7d23d5b19d369c44e54326e97fcb7b4f4c4a8d2965523e63b35b594a1351b7e630dde590871efe512fe38853c
|
DIST ocaml-fileutils-0.6.2.tar.bz2 43060 BLAKE2B 20828875a25b1a9d2a41bf495cda00b0ac753efa20111b32a9d2ca439a56e9f07bf0953d16ee9148cf065e204fa1d8d624eaa89f6f4ae7e1613fdaa7cb44fc24 SHA512 104c7389832f22ec189ce6f1596144b28dcaeea7d23d5b19d369c44e54326e97fcb7b4f4c4a8d2965523e63b35b594a1351b7e630dde590871efe512fe38853c
|
||||||
|
DIST ocaml-fileutils-0.6.3.tar.bz2 43157 BLAKE2B a9adf17d028abd664dbdec3fefa301a6b502941a6da4ef9c3ef02b876f187d224e404f6a9ffb5460035ba475154c60109a5218cb8b9bb36153ca791f8d218e7d SHA512 2c5e75b894e9f5e3b003d61977a87f5c6964a89d844949eedc55f97c5875cc52052182420bbb4e73925d306479c66400df74e4adfccc5b2102347d13e99505cf
|
||||||
|
@ -0,0 +1,31 @@
|
|||||||
|
# Copyright 1999-2021 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
DUNE_PKG_NAME="fileutils"
|
||||||
|
|
||||||
|
inherit dune
|
||||||
|
|
||||||
|
DESCRIPTION="Pure OCaml functions to manipulate real file (POSIX like) and filename"
|
||||||
|
HOMEPAGE="https://github.com/gildor478/ocaml-fileutils"
|
||||||
|
SRC_URI="https://github.com/gildor478/${PN}/releases/download/v${PV}/${DUNE_PKG_NAME}-v${PV}.tbz -> ${P}.tar.bz2"
|
||||||
|
|
||||||
|
LICENSE="LGPL-2.1-with-linking-exception"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
IUSE="+ocamlopt"
|
||||||
|
|
||||||
|
DEPEND=">=dev-ml/ounit2-2.0.0
|
||||||
|
>=dev-ml/stdlib-shims-0.2.0"
|
||||||
|
|
||||||
|
DOCS=( "README.md" "CHANGES.md" "LICENSE.txt" )
|
||||||
|
|
||||||
|
S="${WORKDIR}/${DUNE_PKG_NAME}-v${PV}"
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
default
|
||||||
|
|
||||||
|
# Port to dev-ml/ounit2
|
||||||
|
sed -i -e 's/oUnit/ounit2/' test/dune || die
|
||||||
|
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue