parent
443cbe8b17
commit
2e07874c8a
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1,56 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
inherit bash-completion-r1 distutils-r1
|
||||
|
||||
DESCRIPTION="Universal Command Line Environment for AWS"
|
||||
HOMEPAGE="https://pypi.org/project/awscli/"
|
||||
#SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
|
||||
SRC_URI="https://github.com/aws/aws-cli/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}/aws-cli-${PV}"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~x86"
|
||||
|
||||
# botocore is x.(y+1).z
|
||||
BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 1)).$(ver_cut 3-)"
|
||||
RDEPEND="
|
||||
>=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}]
|
||||
dev-python/colorama[${PYTHON_USEDEP}]
|
||||
dev-python/docutils[${PYTHON_USEDEP}]
|
||||
dev-python/rsa[${PYTHON_USEDEP}]
|
||||
>=dev-python/s3transfer-0.4.0[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
distutils_enable_tests --install pytest
|
||||
|
||||
src_prepare() {
|
||||
# do not rely on bundled deps in botocore (sic!)
|
||||
find -name '*.py' -exec sed -i \
|
||||
-e 's:from botocore[.]vendored import:import:' \
|
||||
-e 's:from botocore[.]vendored[.]:from :' \
|
||||
{} + || die
|
||||
distutils-r1_src_prepare
|
||||
}
|
||||
|
||||
python_test() {
|
||||
distutils_install_for_testing
|
||||
# integration tests require AWS credentials and Internet access
|
||||
epytest tests/{functional,unit}
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
newbashcomp bin/aws_bash_completer aws
|
||||
|
||||
insinto /usr/share/zsh/site-functions
|
||||
newins bin/aws_zsh_completer.sh _aws
|
||||
|
||||
distutils-r1_python_install_all
|
||||
|
||||
rm "${ED}"/usr/bin/{aws.cmd,aws_bash_completer,aws_zsh_completer.sh} || die
|
||||
}
|
@ -1 +1 @@
|
||||
DIST exo-1.46.0.tar.gz 5559295 BLAKE2B 145731040a5479f30ce30043d87e28d0974d8a2a61ef347f223b90527fca35e9e55b1eac7a9316ee4a2b14e78d4ad8f0d1074bf810fe1667d0090fb12d62c76c SHA512 a0376c78e46b565e4ebc39a5a543042e4ddea3b0b4b7205b7be884ec3543f2e7d9aa4e9902e207a61adad70e11a2c153e358ad698b67d6be16adabe0a41c677d
|
||||
DIST exo-1.47.0.tar.gz 5552584 BLAKE2B 3b6a776fdc3d227babab4a0d0679fc2a9eaef3f506d86becbe3af69d4652a0a09bf9e75730a3b9e26db38c94340e0aece5a3fd387a4952a1b429e3dde0e0e95c SHA512 55487ac2a269da3672b7d5fb3b5f885ffe88b1eb79cb105565d669e16a45b3877780099cdce3033f16ee7ba6fadf4ad72a6b087d2522523b67aecbff4a7bf8cd
|
||||
|
Binary file not shown.
@ -1,3 +1 @@
|
||||
DIST unp_2.0~pre7+nmu1.tar.bz2 17537 BLAKE2B 7ef6cfcc524daf95c7cd9dc41ba690cb8db1b1983cd45709c8764591af36d6d00631975bfef0359ac633aae1c11b73efe827e367931f73fe7c5fcc8832b0fe84 SHA512 1b30f14c8d17e0a6b149ca4795f2219e9180f814347410e7ff7fa2b9720a9d308190f2ded8fcfd11bac9b5bb7a64ffd93f140bdaffcba1127f0e15e3d2737362
|
||||
DIST unp_2.0~pre8.tar.xz 16336 BLAKE2B 6c6ffd75acda980e6c572c48944b238788a64d2bf1f854b45a3bc468da19fc6e593a8b604d99dac51b5b645ec88b27300be6af4d988a56470812a7ae92f19336 SHA512 58d2a6a9f7fe868773273532b46249109e1e757517dd46e485f2b3a77fea404aeea34edf4460e76376806ae0d28baefa55f1063919bdf1493617f1b361fe6039
|
||||
DIST unp_2.0~pre9.tar.xz 16424 BLAKE2B 9042f48be0f80d5e40a08161a35c282ba458dc98cf13992835bdeecebd5fbadd33b3af9165738332cb9f508550a234a48d314332f00ecdacc808a8051eb0740b SHA512 74c9a6e143c9023bdd456dacff5c3a6e30722e259f324c066fe3eed9e4a09c38b399b381719c8677c2fa84434c1e7720384d782d97c098fa6fbcbdbf4030986e
|
||||
|
@ -1,10 +0,0 @@
|
||||
diff -Naur unp-2.0~pre7+nmu1/bash_completion.d/unp unp-2.0~pre7+nmu1-1/bash_completion.d/unp
|
||||
--- unp-2.0~pre7+nmu1/bash_completion.d/unp 2012-05-16 22:05:13.000000000 +0200
|
||||
+++ unp-2.0~pre7+nmu1-1/bash_completion.d/unp 2014-10-22 10:34:20.343233166 +0200
|
||||
@@ -1,6 +1,5 @@
|
||||
# bash completion for unp
|
||||
|
||||
-have unp &&
|
||||
_unp()
|
||||
{
|
||||
local cur
|
@ -1,52 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit eutils bash-completion-r1
|
||||
|
||||
DESCRIPTION="Script for unpacking various file formats"
|
||||
HOMEPAGE="https://packages.qa.debian.org/u/unp.html"
|
||||
TEMP_PV="${PV/_pre/$'\x7e'pre}"
|
||||
MY_PV="${TEMP_PV/_p/+nmu}"
|
||||
SRC_URI="mirror://debian/pool/main/u/unp/${PN}_${MY_PV}.tar.bz2"
|
||||
S="${WORKDIR}/${PN}-${MY_PV}"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm ~hppa ~ppc x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x86-solaris"
|
||||
IUSE="nls"
|
||||
|
||||
DEPEND="nls? ( sys-devel/gettext )"
|
||||
|
||||
RDEPEND="${DEPEND}
|
||||
dev-lang/perl"
|
||||
|
||||
PATCHES=( "${FILESDIR}/${P}-remove-deprecated-have.diff" )
|
||||
|
||||
src_compile() {
|
||||
if use nls; then
|
||||
strip-linguas -i .
|
||||
if [ -n "$LINGUAS" ]; then
|
||||
emake -C po MOFILES="${LINGUAS// /.po }.po"
|
||||
else
|
||||
emake -C po
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin unp
|
||||
dosym unp /usr/bin/ucat
|
||||
doman debian/unp.1
|
||||
dodoc debian/changelog debian/README.Debian
|
||||
dobashcomp bash_completion.d/unp
|
||||
|
||||
if use nls; then
|
||||
if [ -n "$LINGUAS" ]; then
|
||||
emake -C po MOFILES="${LINGUAS// /.mo }.mo" DESTDIR="${D}" install
|
||||
else
|
||||
emake -C po DESTDIR="${D}" install
|
||||
fi
|
||||
fi
|
||||
}
|
@ -1,49 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit eutils bash-completion-r1
|
||||
|
||||
DESCRIPTION="Script for unpacking various file formats"
|
||||
HOMEPAGE="https://packages.qa.debian.org/u/unp.html"
|
||||
MY_PV="${PV/_pre/$'\x7e'pre}"
|
||||
SRC_URI="mirror://debian/pool/main/u/unp/${PN}_${MY_PV}.tar.xz"
|
||||
S="${WORKDIR}/${PN}-${MY_PV}"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~hppa ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x86-solaris"
|
||||
IUSE="nls"
|
||||
|
||||
DEPEND="nls? ( sys-devel/gettext )"
|
||||
|
||||
RDEPEND="${DEPEND}
|
||||
dev-lang/perl"
|
||||
|
||||
src_compile() {
|
||||
if use nls; then
|
||||
strip-linguas -i .
|
||||
if [ -n "$LINGUAS" ]; then
|
||||
emake -C po MOFILES="${LINGUAS// /.po }.po"
|
||||
else
|
||||
emake -C po
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin unp
|
||||
dosym unp /usr/bin/ucat
|
||||
doman debian/unp.1
|
||||
dodoc debian/changelog debian/README.Debian
|
||||
newbashcomp debian/unp.bash-completion unp
|
||||
|
||||
if use nls; then
|
||||
if [ -n "$LINGUAS" ]; then
|
||||
emake -C po MOFILES="${LINGUAS// /.mo }.mo" DESTDIR="${D}" install
|
||||
else
|
||||
emake -C po DESTDIR="${D}" install
|
||||
fi
|
||||
fi
|
||||
}
|
Binary file not shown.
@ -1 +1,2 @@
|
||||
DIST swtpm-0.6.1.tar.gz 326488 BLAKE2B 46c53cbd4195cfc1d45ef5e56b1f78c59dcb9f859349e161f07d9933ce720ec3511343cf29236119d08162410355fc50cb5d15745c84db78d860b006812c169f SHA512 a44e36820ad61e84d62b330f3adf0c463c98438056d74c5ba30916d956e722633e0198ae87be8352a0ab909ae5a4bbc3826410d2166186c43bba067f533fec85
|
||||
DIST swtpm-0.7.0.tar.gz 353641 BLAKE2B a9169affdfd09cec887667e21d4db72b7d4b489bf3ecf5e43da9ae2d59ef3f15b94627ce22ed1f6fca69f46da40293ba1ef3d129fab7de3ca32c4b12ffc51544 SHA512 32096309bf710e51d7565f013db32627423682fb2bfa9358976126102a0bf07401146bae9346af389c932c038f3d03217739375cef01a2ff10b01c7bd004b55e
|
||||
|
@ -0,0 +1,70 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8,9,10} )
|
||||
|
||||
inherit autotools python-single-r1
|
||||
|
||||
DESCRIPTION="Libtpms-based TPM emulator"
|
||||
HOMEPAGE="https://github.com/stefanberger/swtpm"
|
||||
SRC_URI="https://github.com/stefanberger/swtpm/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
|
||||
IUSE="fuse +gnutls seccomp test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
RDEPEND="fuse? (
|
||||
dev-libs/glib:2
|
||||
sys-fs/fuse:0
|
||||
)
|
||||
gnutls? (
|
||||
dev-libs/libtasn1:=
|
||||
>=net-libs/gnutls-3.1.0:=[tools,pkcs11]
|
||||
)
|
||||
seccomp? ( sys-libs/libseccomp )
|
||||
acct-group/tss
|
||||
acct-user/tss
|
||||
dev-libs/openssl:0=
|
||||
dev-libs/json-glib
|
||||
dev-libs/libtpms
|
||||
${PYTHON_DEPS}"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
test? (
|
||||
net-misc/socat
|
||||
dev-tcltk/expect
|
||||
)"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-0.6.0-fix-localca-path.patch"
|
||||
"${FILESDIR}/${PN}-0.5.0-build-sys-Remove-WError.patch"
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
use test || eapply "${FILESDIR}/${PN}-0.5.0-disable-test-dependencies.patch"
|
||||
default
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--with-openssl \
|
||||
--without-selinux \
|
||||
$(use_with fuse cuse) \
|
||||
$(use_with gnutls) \
|
||||
$(use_with seccomp)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
fowners -R tss:root /var/lib/swtpm-localca
|
||||
fperms 750 /var/lib/swtpm-localca
|
||||
keepdir /var/lib/swtpm-localca
|
||||
find "${D}" -name '*.la' -delete || die
|
||||
}
|
Binary file not shown.
@ -0,0 +1,81 @@
|
||||
# Copyright 2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit linux-info
|
||||
|
||||
DESCRIPTION="Secure and fast microVMs for serverless computing (static build)"
|
||||
HOMEPAGE="https://firecracker-microvm.github.io https://github.com/firecracker-microvm/firecracker"
|
||||
SRC_URI="
|
||||
amd64? (
|
||||
https://github.com/firecracker-microvm/firecracker/releases/download/v${PV}/firecracker-v${PV}-x86_64.tgz
|
||||
)
|
||||
arm64? (
|
||||
https://github.com/firecracker-microvm/firecracker/releases/download/v${PV}/firecracker-v${PV}-aarch64.tgz
|
||||
)"
|
||||
|
||||
LICENSE="|| ( Apache-2.0 MIT Apache-2.0-with-LLVM-exceptions ) MPL-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64"
|
||||
|
||||
RESTRICT="test strip"
|
||||
|
||||
RDEPEND="!app-emulation/firecracker
|
||||
acct-group/kvm"
|
||||
|
||||
QA_PREBUILT="usr/bin/firecracker
|
||||
usr/bin/jailer
|
||||
usr/bin/seccompiler-bin"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
pkg_pretend() {
|
||||
if use kernel_linux && kernel_is lt 4 14; then
|
||||
eerror "Firecracker requires a host kernel of 4.14 or higher."
|
||||
elif use kernel_linux; then
|
||||
if ! linux_config_exists; then
|
||||
eerror "Unable to check your kernel for KVM support"
|
||||
else
|
||||
CONFIG_CHECK="~KVM ~TUN ~BRIDGE"
|
||||
ERROR_KVM="You must enable KVM in your kernel to continue"
|
||||
ERROR_KVM_AMD="If you have an AMD CPU, you must enable KVM_AMD in"
|
||||
ERROR_KVM_AMD+=" your kernel configuration."
|
||||
ERROR_KVM_INTEL="If you have an Intel CPU, you must enable"
|
||||
ERROR_KVM_INTEL+=" KVM_INTEL in your kernel configuration."
|
||||
ERROR_TUN="You will need the Universal TUN/TAP driver compiled"
|
||||
ERROR_TUN+=" into your kernel or loaded as a module to use"
|
||||
ERROR_TUN+=" virtual network devices."
|
||||
ERROR_BRIDGE="You will also need support for 802.1d"
|
||||
ERROR_BRIDGE+=" Ethernet Bridging for some network configurations."
|
||||
|
||||
if use amd64 || use amd64-linux; then
|
||||
if grep -q AuthenticAMD /proc/cpuinfo; then
|
||||
CONFIG_CHECK+=" ~KVM_AMD"
|
||||
elif grep -q GenuineIntel /proc/cpuinfo; then
|
||||
CONFIG_CHECK+=" ~KVM_INTEL"
|
||||
fi
|
||||
fi
|
||||
|
||||
# Now do the actual checks setup above
|
||||
check_extra_config
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() { :; }
|
||||
|
||||
src_install() {
|
||||
if use amd64; then
|
||||
my_arch=x86_64
|
||||
elif use arm64; then
|
||||
my_arch=aarch64
|
||||
fi
|
||||
|
||||
dodoc "release-v${PV}-${my_arch}/firecracker_spec-v${PV}.yaml"
|
||||
dodoc "release-v${PV}-${my_arch}/seccomp-filter-v${PV}-${my_arch}.json"
|
||||
|
||||
newbin "release-v${PV}-${my_arch}/firecracker-v${PV}-${my_arch}" firecracker
|
||||
newbin "release-v${PV}-${my_arch}/jailer-v${PV}-${my_arch}" jailer
|
||||
newbin "release-v${PV}-${my_arch}/seccompiler-bin-v${PV}-${my_arch}" seccompiler-bin
|
||||
}
|
@ -1,163 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit autotools bash-completion-r1 linux-info optfeature systemd verify-sig
|
||||
|
||||
DESCRIPTION="Fast, dense and secure container management"
|
||||
HOMEPAGE="https://linuxcontainers.org/lxd/introduction/ https://github.com/lxc/lxd"
|
||||
SRC_URI="https://linuxcontainers.org/downloads/lxd/${P}.tar.gz
|
||||
verify-sig? ( https://linuxcontainers.org/downloads/lxd/${P}.tar.gz.asc )"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64"
|
||||
IUSE="apparmor ipv6 nls verify-sig"
|
||||
|
||||
DEPEND="app-arch/xz-utils
|
||||
>=app-emulation/lxc-3.0.0[apparmor?,seccomp(+)]
|
||||
dev-libs/dqlite
|
||||
dev-libs/lzo
|
||||
dev-libs/raft[lz4]
|
||||
>=dev-util/xdelta-3.0[lzma(+)]
|
||||
net-dns/dnsmasq[dhcp,ipv6?]"
|
||||
RDEPEND="${DEPEND}
|
||||
acct-group/lxd
|
||||
net-firewall/ebtables
|
||||
net-firewall/iptables[ipv6?]
|
||||
sys-apps/iproute2[ipv6?]
|
||||
sys-fs/fuse:*
|
||||
sys-fs/lxcfs
|
||||
sys-fs/squashfs-tools[lzma]
|
||||
virtual/acl"
|
||||
BDEPEND="dev-lang/go
|
||||
nls? ( sys-devel/gettext )
|
||||
verify-sig? ( app-crypt/openpgp-keys-linuxcontainers )"
|
||||
|
||||
CONFIG_CHECK="
|
||||
~CGROUPS
|
||||
~IPC_NS
|
||||
~NET_NS
|
||||
~PID_NS
|
||||
|
||||
~SECCOMP
|
||||
~USER_NS
|
||||
~UTS_NS
|
||||
"
|
||||
|
||||
ERROR_IPC_NS="CONFIG_IPC_NS is required."
|
||||
ERROR_NET_NS="CONFIG_NET_NS is required."
|
||||
ERROR_PID_NS="CONFIG_PID_NS is required."
|
||||
ERROR_SECCOMP="CONFIG_SECCOMP is required."
|
||||
ERROR_UTS_NS="CONFIG_UTS_NS is required."
|
||||
|
||||
# Go magic.
|
||||
QA_PREBUILT="/usr/bin/fuidshift
|
||||
/usr/bin/lxc
|
||||
/usr/bin/lxc-to-lxd
|
||||
/usr/bin/lxd-agent
|
||||
/usr/bin/lxd-benchmark
|
||||
/usr/bin/lxd-p2c
|
||||
/usr/sbin/lxd"
|
||||
|
||||
EGO_PN="github.com/lxc/lxd"
|
||||
GOPATH="${S}/_dist" # this seems to reset every now and then, though
|
||||
|
||||
VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/linuxcontainers.asc
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
export GOPATH="${S}/_dist"
|
||||
|
||||
sed -i \
|
||||
-e "s:\./configure:./configure --prefix=/usr --libdir=${EPREFIX}/usr/lib/lxd:g" \
|
||||
-e "s:make:make ${MAKEOPTS}:g" \
|
||||
Makefile || die
|
||||
|
||||
# Fix hardcoded ovmf file path, see bug 763180
|
||||
sed -i \
|
||||
-e "s:/usr/share/OVMF:/usr/share/edk2-ovmf:g" \
|
||||
-e "s:OVMF_VARS.ms.fd:OVMF_VARS.secboot.fd:g" \
|
||||
doc/environment.md \
|
||||
lxd/apparmor/instance_qemu.go \
|
||||
lxd/instance/drivers/driver_qemu.go || die "Failed to fix hardcoded ovmf paths."
|
||||
|
||||
# Fix hardcoded virtfs-proxy-helper file path, see bug 798924
|
||||
sed -i \
|
||||
-e "s:/usr/lib/qemu/virtfs-proxy-helper:/usr/libexec/virtfs-proxy-helper:g" \
|
||||
lxd/device/disk.go || die "Failed to fix virtfs-proxy-helper path."
|
||||
}
|
||||
|
||||
src_configure() { :; }
|
||||
|
||||
src_compile() {
|
||||
export GOPATH="${S}/_dist"
|
||||
export GO111MODULE=auto
|
||||
export CGO_LDFLAGS_ALLOW="-Wl,-z,now"
|
||||
|
||||
cd "${S}" || die
|
||||
|
||||
for k in fuidshift lxd-benchmark lxc lxc-to-lxd; do
|
||||
go install -v -x "${EGO_PN}/${k}" || die "failed compiling ${k}"
|
||||
done
|
||||
|
||||
go install -v -x -tags libsqlite3 ${EGO_PN}/lxd || die "Failed to build the daemon"
|
||||
|
||||
# Needs to be built statically
|
||||
CGO_ENABLED=0 go install -v -tags netgo "${EGO_PN}"/lxd-p2c
|
||||
CGO_ENABLED=0 go install -v -tags agent,netgo "${EGO_PN}"/lxd-agent
|
||||
|
||||
use nls && emake build-mo
|
||||
}
|
||||
|
||||
src_test() {
|
||||
export GOPATH="${S}/_dist"
|
||||
export GO111MODULE=off
|
||||
go test -v ${EGO_PN}/lxd || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local bindir="_dist/bin"
|
||||
export GOPATH="${S}/_dist"
|
||||
|
||||
dosbin ${bindir}/lxd
|
||||
|
||||
for l in fuidshift lxd-agent lxd-benchmark lxd-p2c lxc lxc-to-lxd; do
|
||||
dobin ${bindir}/${l}
|
||||
done
|
||||
|
||||
cd "${S}" || die
|
||||
|
||||
newbashcomp scripts/bash/lxd-client lxc
|
||||
|
||||
newconfd "${FILESDIR}"/lxd-4.0.0.confd lxd
|
||||
newinitd "${FILESDIR}"/lxd-4.0.0.initd lxd
|
||||
|
||||
if use apparmor; then
|
||||
systemd_newunit "${FILESDIR}"/lxd-4.0.0_apparmor.service lxd.service
|
||||
else
|
||||
systemd_newunit "${FILESDIR}"/lxd-4.0.0.service lxd.service
|
||||
fi
|
||||
|
||||
systemd_newunit "${FILESDIR}"/lxd-containers-4.0.0.service lxd-containers.service
|
||||
systemd_newunit "${FILESDIR}"/lxd-4.0.0.socket lxd.socket
|
||||
|
||||
dodoc AUTHORS doc/*
|
||||
use nls && domo po/*.mo
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog
|
||||
elog "Consult https://wiki.gentoo.org/wiki/LXD for more information,"
|
||||
elog "including a Quick Start."
|
||||
elog
|
||||
elog "Please run 'lxc-checkconfig' to see all optional kernel features."
|
||||
elog
|
||||
optfeature "btrfs storage backend" sys-fs/btrfs-progs
|
||||
optfeature "lvm2 storage backend" sys-fs/lvm2
|
||||
optfeature "zfs storage backend" sys-fs/zfs
|
||||
elog
|
||||
elog "Be sure to add your local user to the lxd group."
|
||||
}
|
Binary file not shown.
@ -1 +1,2 @@
|
||||
DIST carbon-c-relay-3.7.2.tar.gz 561080 BLAKE2B 55674699b2afcffa911954a52e3c51b92380c81083db0330e7e6eab495e72938b7761a8c7bc17ac65ea56db1c11f4c360bab3b7442ca13f3466170d6bb3f6fd6 SHA512 dab2eaf2da07afd429012b93f0c826e2fe6e43371afa07d34793dd212820790af2487f5710524deac52c3ed18b874ce8ff54d90b3872e269dc570b7ad30c1826
|
||||
DIST carbon-c-relay-3.7.3.tar.gz 575680 BLAKE2B d2d07c7f1ec356a16bb375bd740ffa018a0d256ef1ce97ae0555001411a05e28173c2009f3980b0d711977068392b5a0baca68f9dda3a677c7c3d245cad70a0e SHA512 ba3e4b7173abe5e3b018413a8d46d91c3f433e785dcf3d7643836b91f9a6ff993b22c3db51192476c75d45486d1e2541ad73056671b4bdbfd1447dcfc3f26ff3
|
||||
|
@ -0,0 +1,58 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
DESCRIPTION="Enhanced C version of Carbon relay, aggregator and rewriter"
|
||||
HOMEPAGE="https://github.com/grobian/carbon-c-relay"
|
||||
SRC_URI="https://github.com/grobian/carbon-c-relay/releases/download/v${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~ppc64 ~x64-macos ~x64-solaris ~x86-solaris"
|
||||
IUSE="lz4 snappy zlib ssl pcre pcre2 +oniguruma"
|
||||
|
||||
# ensure only one of pcre, pcre2 and oniguruma is set, or none (libc)
|
||||
# unforunately pcre is in global USE, so we have to exclude that here
|
||||
REQUIRED_USE="
|
||||
pcre2? ( !oniguruma )
|
||||
oniguruma? ( !pcre2 )
|
||||
"
|
||||
RDEPEND="lz4? ( app-arch/lz4 )
|
||||
snappy? ( app-arch/snappy )
|
||||
zlib? ( app-arch/gzip )
|
||||
ssl? ( dev-libs/openssl:0= )
|
||||
!oniguruma? ( !pcre2? ( pcre? ( dev-libs/libpcre ) ) )
|
||||
pcre2? ( dev-libs/libpcre2 )
|
||||
oniguruma? ( dev-libs/oniguruma )
|
||||
acct-group/carbon
|
||||
acct-user/carbon"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_configure() {
|
||||
local pcrecfg
|
||||
if use !pcre2 && use !oniguruma ; then
|
||||
pcrecfg=$(use_with pcre)
|
||||
else
|
||||
pcrecfg="--without-pcre"
|
||||
fi
|
||||
|
||||
econf $(use_with lz4) $(use_with snappy) \
|
||||
$(use_with ssl) $(use_with zlib gzip) \
|
||||
"${pcrecfg}" $(use_with pcre2) $(use_with oniguruma)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
# rename too generic name
|
||||
mv "${ED}"/usr/bin/{relay,${PN}} || die
|
||||
|
||||
# remove libfaketime, necessary for testing only
|
||||
rm -f "${ED}"/usr/$(get_libdir)/libfaketime.*
|
||||
|
||||
dodoc ChangeLog.md
|
||||
|
||||
newinitd "${FILESDIR}"/${PN}.initd-r1 ${PN}
|
||||
newconfd "${FILESDIR}"/${PN}.confd-r1 ${PN}
|
||||
}
|
@ -0,0 +1,135 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
|
||||
inherit linux-info optfeature python-single-r1 qmake-utils systemd
|
||||
|
||||
DESCRIPTION="Personal full text search package"
|
||||
HOMEPAGE="https://www.lesbonscomptes.com/recoll/"
|
||||
SRC_URI="https://www.lesbonscomptes.com/recoll/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
IUSE="camelcase chm +inotify qt5 session +spell systemd webengine"
|
||||
REQUIRED_USE="
|
||||
session? ( inotify )
|
||||
webengine? ( qt5 )
|
||||
${PYTHON_REQUIRED_USE}
|
||||
"
|
||||
|
||||
DEPEND="
|
||||
dev-libs/xapian:=
|
||||
sys-libs/zlib:=
|
||||
virtual/libiconv
|
||||
chm? (
|
||||
dev-libs/chmlib
|
||||
dev-python/pychm
|
||||
)
|
||||
qt5? (
|
||||
dev-qt/qtcore:5
|
||||
dev-qt/qtgui:5
|
||||
dev-qt/qtprintsupport:5
|
||||
webengine? ( dev-qt/qtwebengine:5[widgets] )
|
||||
)
|
||||
session? (
|
||||
inotify? (
|
||||
x11-libs/libSM
|
||||
x11-libs/libICE
|
||||
x11-libs/libX11
|
||||
)
|
||||
)
|
||||
spell? ( app-text/aspell )
|
||||
systemd? ( sys-apps/systemd )
|
||||
${PYTHON_DEPS}
|
||||
"
|
||||
|
||||
BDEPEND="
|
||||
qt5? ( dev-qt/linguist-tools:5 )
|
||||
"
|
||||
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
app-arch/unzip
|
||||
"
|
||||
|
||||
pkg_pretend() {
|
||||
if has_version "<app-misc/recoll-1.20"; then
|
||||
elog "Installing ${PV} over an 1.19 index is possible,"
|
||||
elog "but there have been small changes in the way"
|
||||
elog "compound words are indexed. So it is best to reset"
|
||||
elog "the index. The best method to reset the index is to"
|
||||
elog "quit all recoll programs and delete the index directory"
|
||||
elog "rm -rf ~/.recoll/xapiandb, then start recoll or recollindex."
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
if use inotify; then
|
||||
local CONFIG_CHECK="~INOTIFY_USER"
|
||||
check_extra_config
|
||||
fi
|
||||
python-single-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
python_fix_shebang filters
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
use qt5 && export QMAKE="$(qt5_get_bindir)/qmake"
|
||||
|
||||
local myeconfargs=(
|
||||
$(use_enable camelcase)
|
||||
$(use_enable chm python-chm)
|
||||
$(use_enable session x11mon)
|
||||
$(use_enable qt5 qtgui)
|
||||
$(use_enable webengine)
|
||||
$(use_with inotify)
|
||||
$(use_with spell aspell)
|
||||
$(use_with systemd)
|
||||
--with-system-unit-dir="$(systemd_get_systemunitdir)"
|
||||
--with-user-unit-dir="$(systemd_get_userunitdir)"
|
||||
--disable-webkit
|
||||
--without-fam
|
||||
--enable-recollq
|
||||
)
|
||||
|
||||
econf "${myeconfargs[@]}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake STRIP="$(type -P true || die)" DESTDIR="${D}" install
|
||||
python_optimize
|
||||
|
||||
# html docs should be placed in /usr/share/doc/${PN}/html
|
||||
dodoc -r "${ED}"/usr/share/recoll/doc/.
|
||||
rm -r "${ED}/usr/share/recoll/doc" || die
|
||||
find "${D}" -name '*.la' -delete || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
optfeature "XML based documents support" "dev-libs/libxslt[python] dev-libs/libxml2[python]"
|
||||
optfeature "PDF files support" app-text/poppler
|
||||
optfeature "PDF files with OCR support" app-text/tesseract
|
||||
optfeature "MS Word files support" app-text/antiword
|
||||
optfeature "Wordperfect files support" "app-text/libwpd[tools]"
|
||||
optfeature "Lyx files support" app-office/lyx
|
||||
optfeature "GNU Info files support" sys-apps/texinfo
|
||||
optfeature "RAR archives support" dev-python/rarfile
|
||||
optfeature "7zip archives support" dev-python/pylzma
|
||||
optfeature "iCalendar files support" dev-python/icalendar
|
||||
optfeature "Postscript files support" app-text/pstotext
|
||||
optfeature "RTF files support" app-text/unrtf
|
||||
optfeature "TeX files support" dev-text/detex
|
||||
optfeature "DVI files support" virtual/tex-base
|
||||
optfeature "DJVU files support" app-text/djvu
|
||||
optfeature "tags in audio files support" media-libs/mutagen
|
||||
optfeature "tags in image files support" media-libs/exiftool
|
||||
optfeature "Midi karaoke files support" dev-python/chardet
|
||||
}
|
Binary file not shown.
@ -1,27 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
EGIT_REPO_URI="git://git.code.sf.net/p/dfu-util/dfu-util"
|
||||
inherit autotools git-r3
|
||||
else
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
|
||||
KEYWORDS="amd64 x86"
|
||||
fi
|
||||
|
||||
DESCRIPTION="implements the Host (PC) side of the USB DFU (Device Firmware Upgrade) protocol"
|
||||
HOMEPAGE="http://dfu-util.sourceforge.net/"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
|
||||
RDEPEND="virtual/libusb:1"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
[[ ${PV} == "9999" ]] && eautoreconf
|
||||
}
|
Binary file not shown.
@ -1,2 +0,0 @@
|
||||
DIST tidy-html5-5.6.0.tar.gz 665438 BLAKE2B 3e362c8a22a5de827ec14110bad08985ff326c061043cd3cb0ffefd6b3af9a178197fca6a97bbb42b94760e530ec44646f13f6429736f7989effe52515580f21 SHA512 179088a6dbd29bb0e4f0219222f755b186145495f7414f6d0e178803ab67140391283d35352d946f9790c6b1b5b462ee6e24f1cc84f19391cb9b65e73979ffd1
|
||||
DIST tidy-html5-5.7.28.tar.gz 670474 BLAKE2B f1f030bda478f09f1786b34f62ac547249cbfe9d7d06aa7a3a07fb993ee64cf9911d04e4c487c9854e86493da08ef8ca5ee65faf0ce6473cd5914c74ad8c9251 SHA512 557cae0c00d581c9272649e0b3c143b70bc1941a59c497dd0b7266d70b3b2ff652dea075a855737d2d02ea58bb57d9403d61287c1ae40ec0281e7801991b57d7
|
@ -1,11 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>monsieurp@gentoo.org</email>
|
||||
<name>Patrice Clement</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">htacg/tidy-html5</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -1,25 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit cmake
|
||||
|
||||
DESCRIPTION="Tidy the layout and correct errors in HTML, HTML5 and XML documents"
|
||||
HOMEPAGE="https://www.html-tidy.org/"
|
||||
SRC_URI="https://github.com/htacg/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86"
|
||||
|
||||
RDEPEND="!app-text/htmltidy"
|
||||
|
||||
DOCS=( README/{CODESTYLE,CONTRIBUTING,LICENSE,VERSION}.md )
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DLIB_INSTALL_DIR="$(get_libdir)"
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
@ -1,26 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit cmake
|
||||
|
||||
DESCRIPTION="Tidy the layout and correct errors in HTML, HTML5 and XML documents"
|
||||
HOMEPAGE="https://www.html-tidy.org/"
|
||||
SRC_URI="https://github.com/htacg/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
|
||||
|
||||
RDEPEND="!app-text/htmltidy"
|
||||
|
||||
DOCS=( README/{CODESTYLE,CONTRIBUTING,LICENSE,VERSION}.md )
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DTIDY_CONSOLE_SHARED=yes
|
||||
-DLIB_INSTALL_DIR="$(get_libdir)"
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
@ -1,25 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit cmake
|
||||
|
||||
DESCRIPTION="Tidy the layout and correct errors in HTML, HTML5 and XML documents"
|
||||
HOMEPAGE="https://www.html-tidy.org/"
|
||||
SRC_URI="https://github.com/htacg/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
|
||||
|
||||
RDEPEND="!app-text/htmltidy"
|
||||
|
||||
DOCS=( README/{CODESTYLE,CONTRIBUTING,LICENSE,VERSION}.md )
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DLIB_INSTALL_DIR="$(get_libdir)"
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
@ -0,0 +1,35 @@
|
||||
From: Sam James <sam@gentoo.org>
|
||||
Date: Wed, 10 Nov 2021 04:53:33 +0000
|
||||
Subject: [PATCH] Don't hardcode paths to utilities
|
||||
|
||||
The path to e.g. links at build time is not necessarily
|
||||
the same as the path at runtime.
|
||||
|
||||
TODO: Could chop out the checks from configure but
|
||||
this package is fragile enough. Leaving it for now.
|
||||
--- a/xmlto.in
|
||||
+++ b/xmlto.in
|
||||
@@ -272,13 +272,13 @@ then
|
||||
USE_BACKEND=DEFAULT
|
||||
fi
|
||||
|
||||
-LINKS_PATH=@LINKS@
|
||||
-W3M_PATH=@W3M@
|
||||
-LYNX_PATH=@LYNX@
|
||||
-GCP_PATH=@GCP@
|
||||
-SED_PATH=@SED@
|
||||
-GREP_PATH=@GREP@
|
||||
-ZIP_PATH=@ZIP@
|
||||
+LINKS_PATH=$(command -v links)
|
||||
+W3M_PATH=$(command -v w3m)
|
||||
+LYNX_PATH=$(command -v lynx)
|
||||
+GCP_PATH=$(command -v cp)
|
||||
+SED_PATH=$(command -v sed)
|
||||
+GREP_PATH=$(command -v grep)
|
||||
+ZIP_PATH=$(command -v zip)
|
||||
|
||||
# Process any options
|
||||
ARGS=$(${GETOPT} \
|
||||
--
|
||||
2.33.1
|
||||
|
@ -0,0 +1,53 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit autotools
|
||||
|
||||
DESCRIPTION="Script for converting XML and DocBook documents to a variety of output formats"
|
||||
HOMEPAGE="https://pagure.io/xmlto"
|
||||
SRC_URI="https://releases.pagure.org/${PN}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="latex text"
|
||||
|
||||
RDEPEND="
|
||||
app-text/docbook-xsl-stylesheets
|
||||
app-text/docbook-xml-dtd:4.2
|
||||
dev-libs/libxslt
|
||||
|| ( sys-apps/util-linux app-misc/getopt )
|
||||
text? ( || ( virtual/w3m www-client/elinks www-client/links www-client/lynx ) )
|
||||
latex? ( dev-texlive/texlive-formatsextra )
|
||||
"
|
||||
# We only depend on flex when we patch the input lexer.
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
DOCS=( AUTHORS ChangeLog FAQ NEWS README THANKS )
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-0.0.22-format_fo_passivetex_check.patch
|
||||
"${FILESDIR}"/${PN}-0.0.28-allow-links.patch
|
||||
"${FILESDIR}"/${PN}-0.0.28-dont-hardcode-paths.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# fix symbol clash on Solaris
|
||||
if [[ ${CHOST} == *-solaris* ]] ; then
|
||||
sed -i -e 's/\(attrib\|val\)/XMLTO\1/g' xmlif/xmlif.l || die
|
||||
fi
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# We don't want the script to detect /bin/sh if it is bash.
|
||||
export ac_cv_path_BASH="${BASH}"
|
||||
has_version sys-apps/util-linux || export GETOPT=getopt-long
|
||||
|
||||
econf
|
||||
}
|
Binary file not shown.
Binary file not shown.
@ -1,54 +1,59 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
EAPI="8"
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="Fast, reliable, simple package for creating and reading constant databases"
|
||||
HOMEPAGE="http://cr.yp.to/cdb.html"
|
||||
SRC_URI="http://cr.yp.to/cdb/${P}.tar.gz"
|
||||
HOMEPAGE="https://cr.yp.to/cdb.html"
|
||||
SRC_URI="https://cr.yp.to/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="public-domain"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="!dev-db/tinycdb"
|
||||
RDEPEND="${DEPEND}"
|
||||
RDEPEND="!dev-db/tinycdb"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${P}-errno.diff
|
||||
"${FILESDIR}"/${P}-stdint.diff
|
||||
"${FILESDIR}"/${PN}-errno.patch
|
||||
"${FILESDIR}"/${PN}-inline.patch
|
||||
"${FILESDIR}"/${PN}-stdint.patch
|
||||
)
|
||||
DOCS=( CHANGES README TODO VERSION )
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
sed -i -e 's/head -1/head -n 1/g' Makefile \
|
||||
|| die "sed Makefile failed"
|
||||
sed -i \
|
||||
-e "s/head -1/head -n 1/g" \
|
||||
-e "s/ar /$(tc-getAR) /" \
|
||||
-e "s/ranlib /$(tc-getRANLIB) /" \
|
||||
Makefile
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
echo "$(tc-getCC) ${CFLAGS} -fPIC" > conf-cc || die
|
||||
echo "$(tc-getCC) ${LDFLAGS}" > conf-ld || die
|
||||
echo "${EPREFIX}/usr" > conf-home || die
|
||||
echo "$(tc-getCC) ${CFLAGS} -fPIC" >conf-cc || die
|
||||
echo "$(tc-getCC) ${LDFLAGS}" >conf-ld || die
|
||||
echo "${EPREFIX}/usr" >conf-home || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin cdbdump cdbget cdbmake cdbmake-12 cdbmake-sv cdbstats cdbtest
|
||||
dobin ${PN}{dump,get,make{,-12,-sv},stats,test}
|
||||
|
||||
# ok so ... first off, some automakes fail at finding
|
||||
# cdb.a, so install that now
|
||||
dolib.a *.a
|
||||
|
||||
# then do this pretty little symlinking to solve the somewhat
|
||||
# cosmetic library issue at hand
|
||||
dosym cdb.a /usr/$(get_libdir)/libcdb.a
|
||||
dosym ${PN}.a /usr/$(get_libdir)/lib${PN}.a
|
||||
|
||||
# uint32.h needs installation too, otherwise compiles depending
|
||||
# on it will fail
|
||||
insinto /usr/include/cdb
|
||||
doins cdb*.h buffer.h alloc.h uint32.h
|
||||
insinto /usr/include/${PN}
|
||||
doins ${PN}*.h {alloc,buffer,uint32}.h
|
||||
|
||||
dodoc CHANGES FILES README SYSDEPS TODO VERSION
|
||||
einstalldocs
|
||||
}
|
||||
|
@ -0,0 +1,11 @@
|
||||
--- a/cdbmake.c
|
||||
+++ b/cdbmake.c
|
||||
@@ -26,7 +26,7 @@
|
||||
strerr_die2x(111,FATAL,"unable to read input: bad format");
|
||||
}
|
||||
|
||||
-inline void get(char *ch)
|
||||
+static inline void get(char *ch)
|
||||
{
|
||||
switch(buffer_GETC(buffer_0,ch)) {
|
||||
case 0: die_readformat();
|
@ -1 +0,0 @@
|
||||
DIST sadisplay-0.4.9.tar.gz 9536 BLAKE2B 0265eb470ab600b761cf6d0e1872c3225e863de8aa602fbcdb1839c33ced8825318d4e4f8ee24de420847c077d1830af069af37ea8d3e3e6c76f47dc2335e1b3 SHA512 30fe8dd2a6247328bc4d7640e5a34b15a062322729cb8a2ffb66c740145475a95ac924f752017fda8f347268ce598957cfe78e8fd6f80413267c72b143b3e8b8
|
@ -1,21 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person" proxied="yes">
|
||||
<email>gentoo@chymera.eu</email>
|
||||
<name>Horea Christian</name>
|
||||
</maintainer>
|
||||
<maintainer type="project" proxied="proxy">
|
||||
<email>proxy-maint@gentoo.org</email>
|
||||
<name>Proxy Maintainers</name>
|
||||
</maintainer>
|
||||
<longdescription lang="en">
|
||||
Simple package for describing SQLAlchemy schema and display raw
|
||||
database tables by reflecting feature. Works with mapped classes
|
||||
and raw tables. Relation detecting by ForeignKey columns.
|
||||
Supports mapped class inherit.
|
||||
</longdescription>
|
||||
<upstream>
|
||||
<remote-id type="pypi">sadisplay</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -1,22 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{7,8} )
|
||||
|
||||
DISTUTILS_USE_SETUPTOOLS=rdepend
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="SqlAlchemy schema display script"
|
||||
HOMEPAGE="https://pypi.org/project/sadisplay"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
RDEPEND="dev-python/sqlalchemy[${PYTHON_USEDEP}]"
|
||||
|
||||
distutils_enable_tests pytest
|
Binary file not shown.
@ -1,2 +1,3 @@
|
||||
DIST jide-oss-3.6.12.tar.gz 4751908 BLAKE2B 731e2c2308e1a7d118a348e3f88258078e16b15f0b3c5bd2ab2ded72d75c4a4c2649e6928d9fbdd1ba7d7b99589a7c1090cb10798e678c44f830df26f0afedff SHA512 a2a60a2af653a1c20099fe81479aadfd252eed086c1009c20a17b561502748cca1cc4b016fe184a60dcb281fd5843c63ad876ca93062bb788e55b485d0e46124
|
||||
DIST jide-oss-3.6.18.tar.gz 4752506 BLAKE2B dae7fa89da88295ef5aee03e54778c971b44cc2fc6c017d2e9b24ff9454b9691c34849c9649435ac0a04b28f7fb1ac6b1c147e7fb632e2e30461cf388b3dee7f SHA512 c35f4e5b0462247bb8cc207e1f2120f6a861e796893ce6e7c55e06cab76da84402b3465d420f3fc8d09490f0eb98361d3609bb1675beb9fbf145be4c0bd5ea8c
|
||||
DIST jide-oss-3.7.12.tar.gz 4819086 BLAKE2B 9f84b8f9e87b6e74844e11c925546b9a43ae99476c91b84be9269dd8e31658889c3cf38cd67c4a5ec94419d8c5ccecb600c55f747d15e3427e01eb146b0ee755 SHA512 f17ab94fd77237fa0891eb87972b0630a0709fbd7e5d07e6d8389fd18668747d13ca9f631f81cf1153f7d233131a0500e8e76dabf8d33fdce846db14f9958456
|
||||
|
@ -0,0 +1,58 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
# Skeleton command:
|
||||
# java-ebuilder --generate-ebuild --workdir . --pom pom.xml --download-uri https://github.com/jidesoft/jide-oss/archive/19083238ce00ecbd7370f856cb64ea69dae669a5.tar.gz --slot 0 --keywords "~amd64 ~x86" --ebuild jide-oss.3.7.12-r2.ebuild
|
||||
|
||||
EAPI=7
|
||||
|
||||
JAVA_PKG_IUSE="doc source test"
|
||||
MAVEN_ID="com.jidesoft:jide-oss:3.7.12"
|
||||
JAVA_TESTING_FRAMEWORKS="junit-4"
|
||||
MY_COMMIT="19083238ce00ecbd7370f856cb64ea69dae669a5"
|
||||
|
||||
inherit java-pkg-2 java-pkg-simple
|
||||
|
||||
DESCRIPTION="JIDE Common Layer (Professional Swing Components)"
|
||||
HOMEPAGE="https://github.com/jidesoft/jide-oss"
|
||||
SRC_URI="https://github.com/jidesoft/jide-oss/archive/${MY_COMMIT}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2-with-exceptions"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
# Upstream does not support java-11
|
||||
# https://github.com/jidesoft/jide-oss/issues/30
|
||||
DEPEND="virtual/jdk:1.8"
|
||||
RDEPEND="virtual/jre:1.8"
|
||||
|
||||
DOCS=( {LICENSE,'Readme JDK9',README}.txt libs/README_lib )
|
||||
|
||||
S="${WORKDIR}/${PN}-${MY_COMMIT}"
|
||||
|
||||
JAVA_GENTOO_CLASSPATH_EXTRA="libs/ui.jar"
|
||||
JAVA_SRC_DIR=( "src" "src-jdk8" )
|
||||
JAVA_RESOURCE_DIRS=( "src" "properties" )
|
||||
|
||||
JAVA_TEST_SRC_DIR="test"
|
||||
JAVA_TEST_GENTOO_CLASSPATH="junit-4"
|
||||
|
||||
JAVA_TEST_EXCLUDES=(
|
||||
"com.jidesoft.swing.CornerScrollerVisualTest" # No runnable methods
|
||||
"com.jidesoft.swing.TestResizableWindow" # No runnable methods
|
||||
"com.jidesoft.utils.TestCacheArray" # No runnable methods
|
||||
# junit.framework.AssertionFailedError: expected:<0> but was:<100>
|
||||
# probably the test is wrong as a cache entry is created for each font size
|
||||
# and each iteration creates a new font size
|
||||
"com.jidesoft.utils.TestFontUtils"
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
rm libs/junit-4.10.jar || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
java-pkg-simple_src_install
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST picocli-4.6.1-sources.tar.gz 13467061 BLAKE2B fd7dc19d572e975a4b47ac0bd9a7ab4be0f5fdf1e3e03c2d3b5026ee9ad6cbcf5e6214234746551d61c427915095e067f44c1d3dfb27071456e76db26d567b23 SHA512 e2c6c6171c3ec9cbe35e7034e119dfe922993c9e7b8d81ea94faeb8b24c9c4c26023be1edb5d67041119c4bf73077d522fbe711e8c1af788063663e2bb06ab1f
|
||||
DIST picocli-4.6.2-sources.tar.gz 13488726 BLAKE2B dbec032bd0f40a45172e7c72884c32c9f769a9df0bdacc1904f3d45f4b02d1a3cc7c541a2ae4ca8a6754d67b5351412e4d91f2dc6fbbb3fc37bc4e2776ccdd68 SHA512 83ae37666a3c703b186cdb920095ad46de46de9a092841c352ec7db33877fa102afbd24227a1f73cad8be8a75b800f5c1487a8720d7080bdc8aa20dd8acafbe4
|
||||
|
@ -0,0 +1,44 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
# Skeleton command:
|
||||
# java-ebuilder --generate-ebuild --workdir . --pom pom.xml --download-uri https://github.com/remkop/picocli/archive/refs/tags/v4.6.2.tar.gz --slot 0 --keywords "~amd64 ~arm64 ~ppc64 ~x86" --ebuild picocli-4.6.2.ebuild
|
||||
|
||||
EAPI=7
|
||||
|
||||
JAVA_PKG_IUSE="doc source test"
|
||||
MAVEN_ID="info.picocli:picocli:4.6.2"
|
||||
JAVA_TESTING_FRAMEWORKS="junit-4"
|
||||
|
||||
inherit java-pkg-2 java-pkg-simple
|
||||
|
||||
DESCRIPTION="Java command line parser with both an annotations API and a programmatic API"
|
||||
HOMEPAGE="http://picocli.info"
|
||||
SRC_URI="https://github.com/remkop/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}-sources.tar.gz"
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
|
||||
|
||||
# package org.junit.contrib.java.lang.system does not exist
|
||||
# the project is here: https://github.com/stefanbirkner/system-rules
|
||||
RESTRICT="test"
|
||||
|
||||
DEPEND="
|
||||
>=virtual/jdk-1.8:*
|
||||
"
|
||||
|
||||
RDEPEND="
|
||||
>=virtual/jre-1.8:*
|
||||
"
|
||||
|
||||
DOCS=( LICENSE README.md RELEASE-NOTES.md )
|
||||
|
||||
S="${WORKDIR}/${P}"
|
||||
|
||||
JAVA_SRC_DIR="src/main/java"
|
||||
|
||||
JAVA_TEST_GENTOO_CLASSPATH="junit-4"
|
||||
JAVA_TEST_SRC_DIR="src/test/java"
|
||||
JAVA_TEST_RESOURCE_DIRS=(
|
||||
"src/test/resources"
|
||||
)
|
Binary file not shown.
@ -1,144 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PATCH_GCC_VER=6.3.0
|
||||
PATCH_VER="1.0"
|
||||
|
||||
TOOLCHAIN_GCC_PV=6.3.0 # upstream is 6.3.1 but ada.eclass already assumes 6.3.0
|
||||
|
||||
REL=6
|
||||
MYP=gcc-${REL}-gpl-${PV}-src
|
||||
BTSTRP_X86=gnat-gpl-2014-x86-linux-bin
|
||||
BTSTRP_AMD64=gnat-gpl-2014-x86_64-linux-bin
|
||||
|
||||
# we provide own tarball below
|
||||
GCC_TARBALL_SRC_URI="
|
||||
http://mirrors.cdn.adacore.com/art/591adbb4c7a4473fcc4532a3
|
||||
-> ${P}-src.tar.gz
|
||||
http://mirrors.cdn.adacore.com/art/591adb65c7a4473fcbb153ac
|
||||
-> ${MYP}.tar.gz
|
||||
http://mirrors.cdn.adacore.com/art/591adbc5c7a4473fcbb153ae
|
||||
-> gcc-interface-${REL}-gpl-${PV}-src.tar.gz
|
||||
bootstrap? (
|
||||
amd64? (
|
||||
http://mirrors.cdn.adacore.com/art/564b3ebec8e196b040fbe66c ->
|
||||
${BTSTRP_AMD64}.tar.gz
|
||||
)
|
||||
x86? (
|
||||
http://mirrors.cdn.adacore.com/art/564b3e9dc8e196b040fbe248 ->
|
||||
${BTSTRP_X86}.tar.gz
|
||||
)
|
||||
)"
|
||||
|
||||
inherit toolchain-funcs toolchain
|
||||
|
||||
DESCRIPTION="GNAT Ada Compiler - GPL version"
|
||||
HOMEPAGE="http://libre.adacore.com/"
|
||||
|
||||
LICENSE+=" GPL-2 GPL-3"
|
||||
SLOT="${TOOLCHAIN_GCC_PV}"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="+ada +bootstrap"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="!sys-devel/gcc:${TOOLCHAIN_GCC_PV}"
|
||||
DEPEND="${RDEPEND}
|
||||
elibc_glibc? ( >=sys-libs/glibc-2.13 )
|
||||
>=sys-devel/binutils-2.20"
|
||||
|
||||
S="${WORKDIR}"/${MYP}
|
||||
PDEPEND="${PDEPEND} elibc_glibc? ( >=sys-libs/glibc-2.13 )"
|
||||
|
||||
src_unpack() {
|
||||
if ! use bootstrap && [[ -z "$(type ${GNATMAKE} 2>/dev/null)" ]] ; then
|
||||
eerror "You need a gcc compiler that provides the Ada Compiler:"
|
||||
eerror "1) use gcc-config to select the right compiler or"
|
||||
eerror "2) set the bootstrap use flag"
|
||||
die "ada compiler not available"
|
||||
fi
|
||||
|
||||
toolchain_src_unpack
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
if use amd64; then
|
||||
BTSTRP=${BTSTRP_AMD64}
|
||||
else
|
||||
BTSTRP=${BTSTRP_X86}
|
||||
fi
|
||||
|
||||
if use bootstrap; then
|
||||
GCC="${WORKDIR}"/${BTSTRP}/bin/gcc
|
||||
else
|
||||
GCC=${ADA:-$(tc-getCC)}
|
||||
fi
|
||||
|
||||
gnatbase=$(basename ${GCC})
|
||||
gnatpath=$(dirname ${GCC})
|
||||
|
||||
GNATMAKE=${gnatbase/gcc/gnatmake}
|
||||
if [[ ${gnatpath} != "." ]] ; then
|
||||
GNATMAKE="${gnatpath}/${GNATMAKE}"
|
||||
fi
|
||||
|
||||
if use bootstrap; then
|
||||
rm "${WORKDIR}"/${BTSTRP}/libexec/gcc/*/4.7.4/ld || die
|
||||
fi
|
||||
|
||||
CC=${GCC}
|
||||
CXX="${gnatbase/gcc/g++}"
|
||||
GNATBIND="${gnatbase/gcc/gnatbind}"
|
||||
GNATLINK="${gnatbase/gcc/gnatlink}"
|
||||
GNATLS="${gnatbase/gcc/gnatls}"
|
||||
if [[ ${gnatpath} != "." ]] ; then
|
||||
CXX="${gnatpath}/${CXX}"
|
||||
GNATBIND="${gnatpath}/${GNATBIND}"
|
||||
GNATLINK="${gnatpath}/${GNATLINK}"
|
||||
GNATLS="${gnatpath}/${GNATLS}"
|
||||
fi
|
||||
mkdir bin || die
|
||||
ln -s $(which ${GCC}) bin/gcc || die
|
||||
ln -s $(which ${CXX}) bin/g++ || die
|
||||
ln -s $(which ${GNATMAKE}) bin/gnatmake || die
|
||||
ln -s $(which ${GNATBIND}) bin/gnatbind || die
|
||||
ln -s $(which ${GNATLINK}) bin/gnatlink || die
|
||||
ln -s $(which ${GNATLS}) bin/gnatls || die
|
||||
|
||||
# upstream is 6.3.1 but ada.eclass already assumes 6.3.0
|
||||
echo ${TOOLCHAIN_GCC_PV} > gcc/BASE-VER
|
||||
|
||||
cd ..
|
||||
mv ${P}-src/src/ada ${MYP}/gcc/ || die
|
||||
mv gcc-interface-${REL}-gpl-${PV}-src ${MYP}/gcc/ada/gcc-interface || die
|
||||
eapply "${FILESDIR}"/${P}-gentoo.patch
|
||||
cd -
|
||||
sed -i \
|
||||
-e 's:$(P) ::g' \
|
||||
gcc/ada/gcc-interface/Makefile.in \
|
||||
|| die "sed failed"
|
||||
# fix missing ustat.h
|
||||
eapply "${FILESDIR}/${P}-ustat.patch"
|
||||
|
||||
toolchain_src_prepare
|
||||
eapply "${FILESDIR}"/${P}-libgomp-Werror.patch
|
||||
eapply "${FILESDIR}"/${P}-libatomic-Werror.patch
|
||||
eapply "${FILESDIR}"/${P}-libitm-Werror.patch
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
export PATH=${PWD}/bin:${PATH}
|
||||
downgrade_arch_flags "$(gcc-version)"
|
||||
toolchain_src_configure
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
toolchain_pkg_postinst
|
||||
einfo "This provide the GNAT compiler with gcc for ada/c/c++ and more"
|
||||
einfo "The compiler binary is ${CTARGET}-gcc-${TOOLCHAIN_GCC_PV}"
|
||||
einfo "Even if the c/c++ compilers are using almost the same patched"
|
||||
einfo "source as the sys-devel/gcc package its use is not extensively"
|
||||
einfo "tested, and not supported for updating your system, except for ada"
|
||||
einfo "related packages"
|
||||
}
|
@ -1,140 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PATCH_GCC_VER=7.3.0
|
||||
PATCH_VER="1.8"
|
||||
|
||||
TOOLCHAIN_GCC_PV=7.3.1
|
||||
|
||||
REL=7
|
||||
MYP=gcc-${REL}-gpl-${PV}-src
|
||||
BTSTRP_X86=gnat-gpl-2014-x86-linux-bin
|
||||
BTSTRP_AMD64=gnat-gpl-2014-x86_64-linux-bin
|
||||
|
||||
# we provide own tarball below
|
||||
GCC_TARBALL_SRC_URI="
|
||||
http://mirrors.cdn.adacore.com/art/5b0819dfc7a447df26c27aa5
|
||||
-> ${P}-src.tar.gz
|
||||
http://mirrors.cdn.adacore.com/art/5b0819dfc7a447df26c27aa7
|
||||
-> ${MYP}.tar.gz
|
||||
http://mirrors.cdn.adacore.com/art/5b0819dfc7a447df26c27aa6
|
||||
-> gcc-interface-${REL}-gpl-${PV}-src.tar.gz
|
||||
bootstrap? (
|
||||
amd64? (
|
||||
http://mirrors.cdn.adacore.com/art/564b3ebec8e196b040fbe66c ->
|
||||
${BTSTRP_AMD64}.tar.gz
|
||||
)
|
||||
x86? (
|
||||
http://mirrors.cdn.adacore.com/art/564b3e9dc8e196b040fbe248 ->
|
||||
${BTSTRP_X86}.tar.gz
|
||||
)
|
||||
)"
|
||||
|
||||
inherit toolchain-funcs toolchain
|
||||
|
||||
DESCRIPTION="GNAT Ada Compiler - GPL version"
|
||||
HOMEPAGE="http://libre.adacore.com/"
|
||||
|
||||
LICENSE+=" GPL-2 GPL-3"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="+ada +bootstrap"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="!sys-devel/gcc:${TOOLCHAIN_GCC_PV}"
|
||||
DEPEND="${RDEPEND}
|
||||
elibc_glibc? ( >=sys-libs/glibc-2.13 )
|
||||
>=sys-devel/binutils-2.20"
|
||||
|
||||
S="${WORKDIR}"/${MYP}
|
||||
PDEPEND="${PDEPEND} elibc_glibc? ( >=sys-libs/glibc-2.13 )"
|
||||
|
||||
src_unpack() {
|
||||
if ! use bootstrap && [[ -z "$(type ${GNATMAKE} 2>/dev/null)" ]] ; then
|
||||
eerror "You need a gcc compiler that provides the Ada Compiler:"
|
||||
eerror "1) use gcc-config to select the right compiler or"
|
||||
eerror "2) set the bootstrap use flag"
|
||||
die "ada compiler not available"
|
||||
fi
|
||||
|
||||
toolchain_src_unpack
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
if use amd64; then
|
||||
BTSTRP=${BTSTRP_AMD64}
|
||||
else
|
||||
BTSTRP=${BTSTRP_X86}
|
||||
fi
|
||||
|
||||
if use bootstrap; then
|
||||
GCC="${WORKDIR}"/${BTSTRP}/bin/gcc
|
||||
else
|
||||
GCC=${ADA:-$(tc-getCC)}
|
||||
fi
|
||||
|
||||
gnatbase=$(basename ${GCC})
|
||||
gnatpath=$(dirname ${GCC})
|
||||
|
||||
GNATMAKE=${gnatbase/gcc/gnatmake}
|
||||
if [[ ${gnatpath} != "." ]] ; then
|
||||
GNATMAKE="${gnatpath}/${GNATMAKE}"
|
||||
fi
|
||||
if use bootstrap; then
|
||||
rm "${WORKDIR}"/${BTSTRP}/libexec/gcc/*/4.7.4/ld || die
|
||||
fi
|
||||
|
||||
CC=${GCC}
|
||||
CXX="${gnatbase/gcc/g++}"
|
||||
GNATBIND="${gnatbase/gcc/gnatbind}"
|
||||
GNATLINK="${gnatbase/gcc/gnatlink}"
|
||||
GNATLS="${gnatbase/gcc/gnatls}"
|
||||
if [[ ${gnatpath} != "." ]] ; then
|
||||
CXX="${gnatpath}/${CXX}"
|
||||
GNATBIND="${gnatpath}/${GNATBIND}"
|
||||
GNATLINK="${gnatpath}/${GNATLINK}"
|
||||
GNATLS="${gnatpath}/${GNATLS}"
|
||||
fi
|
||||
mkdir bin || die
|
||||
ln -s $(which ${GCC}) bin/gcc || die
|
||||
ln -s $(which ${CXX}) bin/g++ || die
|
||||
ln -s $(which ${GNATMAKE}) bin/gnatmake || die
|
||||
ln -s $(which ${GNATBIND}) bin/gnatbind || die
|
||||
ln -s $(which ${GNATLINK}) bin/gnatlink || die
|
||||
ln -s $(which ${GNATLS}) bin/gnatls || die
|
||||
|
||||
cd ..
|
||||
sed -i \
|
||||
-e 's:$(P) ::g' \
|
||||
gcc-interface-${REL}-gpl-${PV}-src/Makefile.in \
|
||||
|| die "sed failed"
|
||||
mv ${P}-src/src/ada ${MYP}/gcc/ || die
|
||||
mv gcc-interface-${REL}-gpl-${PV}-src ${MYP}/gcc/ada/gcc-interface || die
|
||||
eapply "${FILESDIR}"/${P}-gentoo.patch
|
||||
cd -
|
||||
|
||||
EPATCH_EXCLUDE+=" 91_all_bmi-i386-PR-target-81763.patch"
|
||||
EPATCH_EXCLUDE+=" 93_all_copy-constructible-fix.patch"
|
||||
EPATCH_EXCLUDE+=" 95_all_libsanitizer-avoidustat.h-glibc-2.28-part-1.patch"
|
||||
EPATCH_EXCLUDE+=" 98_all_msp430-partial-int.patch"
|
||||
toolchain_src_prepare
|
||||
eapply "${FILESDIR}"/${P}-libsanitizer-p1.patch
|
||||
eapply "${FILESDIR}"/${P}-libsanitizer-p2.patch
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
export PATH=${PWD}/bin:${PATH}
|
||||
downgrade_arch_flags "$(gcc-version)"
|
||||
toolchain_src_configure
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
toolchain_pkg_postinst
|
||||
einfo "This provide the GNAT compiler with gcc for ada/c/c++ and more"
|
||||
einfo "The compiler binary is ${CTARGET}-gcc-${TOOLCHAIN_GCC_PV}"
|
||||
einfo "Even if the c/c++ compilers are using almost the same patched"
|
||||
einfo "source as the sys-devel/gcc package its use is not extensively"
|
||||
einfo "tested, and not supported for updating your system, except for ada"
|
||||
einfo "related packages"
|
||||
}
|
Binary file not shown.
@ -1 +1,2 @@
|
||||
DIST hidapi-0.11.0.tgz 232631 BLAKE2B 770c0663b007aa36580af217d0d38be72923e0ad84cee137594ca3e174e589cebb9188003a50999e1c561b0e4e9ca68bd1af29029b89fde2b0a46020b12f9744 SHA512 0de4abc963600d159ce231416c468b9e81a8361e4d2c2202988d6eb2e58a923700e9b9be639fbddc6bc14625131848409e2e88dbc4b34a1f8a726c8fa4692d92
|
||||
DIST hidapi-0.8.0_rc1_p20140719.tgz 103079 BLAKE2B f40a4c17cb8c5eed41f4eea84fac46a879ec2057f28212aa43c8fd718ceea68d760785cb4f4e2ea3bcd2a4345b65d75d0d278b93697ec61963be9270684a15cb SHA512 204934a707da4e67b834823650b0cfd9be7b413972071129cc5aeeb93465834dde2f5ee23283c55d35b56e3aed8b7ad5fe947399839081f4d895fb65c8cd3e3d
|
||||
|
@ -0,0 +1,62 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit autotools multilib-minimal
|
||||
|
||||
DESCRIPTION="A multi-platform library for USB and Bluetooth HID-Class devices"
|
||||
HOMEPAGE="https://github.com/libusb/hidapi"
|
||||
SRC_URI="https://github.com/libusb/hidapi/archive/${P}.tar.gz -> ${P}.tgz"
|
||||
|
||||
LICENSE="|| ( BSD GPL-3 HIDAPI )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86"
|
||||
IUSE="doc fox"
|
||||
|
||||
RDEPEND="
|
||||
virtual/libusb:1[${MULTILIB_USEDEP}]
|
||||
virtual/libudev:0[${MULTILIB_USEDEP}]"
|
||||
DEPEND="${RDEPEND}
|
||||
fox? ( x11-libs/fox )"
|
||||
BDEPEND="
|
||||
virtual/pkgconfig
|
||||
doc? ( app-doc/doxygen )"
|
||||
|
||||
S="${WORKDIR}/${PN}-${P}"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
if ! use fox; then
|
||||
sed -i -e 's:PKG_CHECK_MODULES(\[fox\], .*):AC_SUBST(fox_CFLAGS,[ ])AC_SUBST(fox_LIBS,[ ]):' configure.ac || die
|
||||
fi
|
||||
|
||||
# Portage handles license texts itself, no need to install them
|
||||
sed -i -e 's/LICENSE.*/ # blank/' Makefile.am || die
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
ECONF_SOURCE="${S}" econf \
|
||||
--disable-static \
|
||||
$(multilib_native_use_enable fox testgui)
|
||||
}
|
||||
|
||||
multilib_src_compile() {
|
||||
default
|
||||
if use doc && multilib_is_native_abi; then
|
||||
doxygen "${S}/doxygen/Doxyfile" || die
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
emake install DESTDIR="${D}"
|
||||
find "${D}" -name '*.la' -delete || die
|
||||
|
||||
if use doc && multilib_is_native_abi; then
|
||||
local HTML_DOCS=( html/. )
|
||||
fi
|
||||
einstalldocs
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST libtasn1-4.17.0.tar.gz 1906654 BLAKE2B a76798bdb8e68f2ca2337fa2648ff42adb7a9a51f27efefee5b9856e56ac09672237bd9a5b2afe808298e462eda31f2e8d3601c35ac00b84935f307ad981b2b1 SHA512 9cbd920196d1e4c8f5aa613259cded2510d40edb583ce20cc2702e2dee9bf32bee85a159c74600ffbebc2af2787e28ed0fe0adf15fc46839283747f4fe166d3d
|
||||
DIST libtasn1-4.18.0.tar.gz 1724441 BLAKE2B b5f93a7575dde46741b6fc97183105efbc934e44041735241ba40ecd578c94637741df193dfab0d97e0348e2dde34b8b89a33ed616afa0bf64db6dbddebf1786 SHA512 4f2f4afc7561fda7a1f1c6c525c3c3b08228a1a4aa8c3d3d5e02e993d8f83ccee1dd0f1b201cec0fbfc97043d4b1d7a95ffd34d65422a38b85b931ac7a015831
|
||||
|
@ -0,0 +1,54 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit multilib-minimal libtool
|
||||
|
||||
DESCRIPTION="ASN.1 library"
|
||||
HOMEPAGE="https://www.gnu.org/software/libtasn1/"
|
||||
SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3 LGPL-2.1"
|
||||
SLOT="0/6" # subslot = libtasn1 soname version
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="doc static-libs test valgrind"
|
||||
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
BDEPEND="sys-apps/help2man
|
||||
virtual/yacc
|
||||
test? ( valgrind? ( dev-util/valgrind ) )"
|
||||
|
||||
DOCS=(
|
||||
AUTHORS
|
||||
ChangeLog
|
||||
NEWS
|
||||
README.md
|
||||
THANKS
|
||||
)
|
||||
|
||||
pkg_setup() {
|
||||
if use doc; then
|
||||
DOCS+=( doc/libtasn1.pdf )
|
||||
HTML_DOCS=( doc/reference/html/. )
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
elibtoolize # for Solaris shared library
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
local myeconfargs=(
|
||||
$(use_enable static-libs static)
|
||||
$(multilib_native_use_enable valgrind valgrind-tests)
|
||||
)
|
||||
ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
einstalldocs
|
||||
find "${ED}" -type f -name '*.la' -delete || die
|
||||
}
|
@ -1,2 +1,2 @@
|
||||
DIST libthreadar-1.3.2.tar.gz 442260 BLAKE2B 2a743fbcd8ae0b462910b7ccde34a3fcb90239df9bf608c9d249dd9bf100315ade3b2151339ae55b1121709446c23044c3fd7bb420efb009ae8d5fe0a21a496a SHA512 6edc3a1a6eb41a3b9ada35327d712fcf3562875dbddd0bd2f3f016492cb0f10fe669ed1ac3a65573d88261b4de50201b2abe8dcbffa0abc5cc257d7a8c3c4df2
|
||||
DIST libthreadar-1.3.3.tar.gz 442979 BLAKE2B bf310487fc377d648610157953ff8be4b5ae1d1ba046ac18743c0a83f3cd1b6a1a0fffdb917cb9744f48a241321f52300e6627ed398918a934bfc61c374f8d10 SHA512 0ad4ea503ce55a5482275d6a1a0eb4b7b886a26646db9e21c458d28898a473c1ed028c5c08ce7db82e9daf100bb1944710ae3f67f829cb883265f053385fc8c5
|
||||
DIST libthreadar-1.3.5.tar.gz 443192 BLAKE2B d8e06c7b58636b51bd2ffd50f51a8a024780e4955693a28085296ccffeef8ad2866ac12e53b3c78b37a650c4b1c54b5fa8dcbacd1002577cdd7b30eccee2ef69 SHA512 c4c34036a7882d1ecdbc025e0d927b6712fb067aaeee8bae5bc740a5259c5f49d651a8ad6323ddf6cdf13fd2e5e7c396f9c134ef3447b3743ae8e64abd646850
|
||||
|
Binary file not shown.
@ -1 +1,2 @@
|
||||
DIST uunf-13.0.0.tbz 39387 BLAKE2B fa8c46f63e2f8cf44cffe0db8c0aea73a0ffb6449f4a3c7c59baf4750db8e2364686276e6e5f284b2a528a45f02400274669c4e081533fbb25cdd36c6eb8fcb0 SHA512 ade9815b1d620a055a63dd0f8c5d5c54544eacfdcf0c6059cd20f1004a1319287f71021018fbc7e652bde738a97fae7e9d0963d5b192a4b0bb6e5b95456012a8
|
||||
DIST uunf-14.0.0.tbz 41632 BLAKE2B f2c6523f773b77905092f14934ff40a1deaf76c3f769df6d00f5c743ac9d240a78838142016b7b0eb9d2c9a132c3c2df67e31bf433ec9888e9cc2b831cf45d67 SHA512 9aac01483abb8a8a5d68832d7f7692909d61559f2c9b0284c1da293f8115d1100df26e9e4cf7280bda6499ba866f5da2c72c4c21ca99a1d594b29d000e9bb051
|
||||
|
@ -0,0 +1,31 @@
|
||||
# Copyright 2019-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit opam
|
||||
|
||||
DESCRIPTION="Unicode text normalization"
|
||||
HOMEPAGE="https://erratique.ch/software/uunf https://github.com/dbuenzli/uunf"
|
||||
SRC_URI="https://erratique.ch/software/uunf/releases/${P}.tbz"
|
||||
|
||||
LICENSE="ISC"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="dev-ml/topkg:=
|
||||
dev-ml/uutf:=
|
||||
dev-ml/cmdliner:="
|
||||
RDEPEND="${DEPEND}"
|
||||
BDEPEND="dev-ml/findlib"
|
||||
OPAM_FILE=opam
|
||||
|
||||
src_compile() {
|
||||
# Increase stack limit to 11GiB to avoid stack overflow error.
|
||||
# bug #798270
|
||||
ulimit -s 11530000
|
||||
|
||||
ocaml pkg/pkg.ml build \
|
||||
|| die
|
||||
}
|
@ -1 +0,0 @@
|
||||
DIST xmlm-1.3.0.tbz 25176 BLAKE2B 546f433386101c2460b0a8cadf94e383269e81792d068fa4c85d78117a5e65a64bd5e2fac0a5857d6bdefc7c511ae98cc77410b276ecb0300baf73d70ccb2251 SHA512 fd3b9ba8cd12321fd8d56e9ce829a7c8b121bff11cbf7ede58fa0280302fe0ba64f510360ff5b5182591faef660792db66db36e45f6355e3d22bb521f8e308fe
|
@ -1,8 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>ml@gentoo.org</email>
|
||||
<name>ML</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -1,25 +0,0 @@
|
||||
# Copyright 2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit opam
|
||||
|
||||
DESCRIPTION="Streaming XML codec for OCaml"
|
||||
HOMEPAGE="http://erratique.ch/software/xmlm"
|
||||
SRC_URI="http://erratique.ch/software/xmlm/releases/xmlm-1.3.0.tbz"
|
||||
|
||||
LICENSE="ISC"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="+ocamlopt"
|
||||
|
||||
BDEPEND="
|
||||
dev-ml/findlib[ocamlopt=]
|
||||
dev-ml/ocamlbuild[ocamlopt=]
|
||||
dev-ml/topkg
|
||||
"
|
||||
|
||||
src_compile() {
|
||||
ocaml pkg/pkg.ml build || die
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue