parent
b72d95e10e
commit
953de7678d
Binary file not shown.
Binary file not shown.
@ -0,0 +1 @@
|
||||
DIST doctl-1.55.0.tar.gz 5157504 BLAKE2B 1d3db2ee4ca71a459456e72f035648c5ba73c5372c3369b360e1ee3cc44ec1155295e5f425611c307371f902c7ffed7dbce2f959266f79ecb8f149144fc86596 SHA512 6cea86e184ea25d5a6740d4090148fbe053ce93ebe8f2344f5a2bf62283381ed2a9574862a5ba39f34a52bf85af550313b7dd316a321f31089673f898d37cf78
|
@ -0,0 +1,40 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit bash-completion-r1 go-module
|
||||
|
||||
DESCRIPTION="A command line tool for DigitalOcean services"
|
||||
HOMEPAGE="https://github.com/digitalocean/doctl"
|
||||
SRC_URI="https://github.com/digitalocean/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0 MIT BSD BSD-2 ISC MPL-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
src_compile() {
|
||||
GOFLAGS="-v -x -mod=vendor" \
|
||||
go build ./cmd/... || die "build failed"
|
||||
|
||||
./doctl completion bash > doctl.bash || die "completion for bash failed"
|
||||
./doctl completion zsh > doctl.zsh || die "completion for sh failed"
|
||||
./doctl completion fish > doctl.fish || die "completion for fish failed"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
GOFLAGS="-v -x -mod=vendor" \
|
||||
go test -work ./do/... ./pkg/... . || die "test failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
einstalldocs
|
||||
dobin doctl
|
||||
|
||||
newbashcomp doctl.bash doctl
|
||||
insinto /usr/share/zsh/site-functions
|
||||
newins doctl.zsh _doctl
|
||||
insinto /usr/share/fish/completion
|
||||
newins doctl.fish doctl
|
||||
}
|
@ -0,0 +1,46 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
EGIT_REPO_URI="https://github.com/digitalocean/${PN}.git"
|
||||
|
||||
inherit bash-completion-r1 git-r3 go-module
|
||||
|
||||
DESCRIPTION="A command line tool for DigitalOcean services"
|
||||
HOMEPAGE="https://github.com/digitalocean/doctl"
|
||||
SRC_URI=""
|
||||
|
||||
LICENSE="Apache-2.0 MIT BSD BSD-2 ISC MPL-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS=""
|
||||
IUSE=""
|
||||
|
||||
src_unpack() {
|
||||
git-r3_src_unpack
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
GOFLAGS="-v -x -mod=vendor" \
|
||||
go build ./cmd/... || die "build failed"
|
||||
|
||||
./doctl completion bash > doctl.bash || die "completion for bash failed"
|
||||
./doctl completion zsh > doctl.zsh || die "completion for sh failed"
|
||||
./doctl completion fish > doctl.fish || die "completion for fish failed"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
GOFLAGS="-v -x -mod=vendor" \
|
||||
go test -work ./do/... ./pkg/... . || die "test failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
einstalldocs
|
||||
dobin doctl
|
||||
|
||||
newbashcomp doctl.bash doctl
|
||||
insinto /usr/share/zsh/site-functions
|
||||
newins doctl.zsh _doctl
|
||||
insinto /usr/share/fish/completion
|
||||
newins doctl.fish doctl
|
||||
}
|
@ -0,0 +1,20 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>spiderx@spiderx.dp.ua</email>
|
||||
<name>Vladimir Pavljuchenkov</name>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>proxy-maint@gentoo.org</email>
|
||||
<name>Proxy Maintainers</name>
|
||||
</maintainer>
|
||||
<longdescription lang="en">
|
||||
The official DigitalOcean command-line client,
|
||||
which leverages the DigitalOcean API to provide access
|
||||
to DigitalOcean services.
|
||||
</longdescription>
|
||||
<upstream>
|
||||
<remote-id type="github">digitalocean/doctl</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
Binary file not shown.
Binary file not shown.
@ -1 +1,2 @@
|
||||
DIST okteta-0.26.4.tar.xz 969572 BLAKE2B 37f3a0c83c3a922030816813de9a66edff0f4a1ae9f3450f9fe195b52d1b053c23f37c8fb2a06b08ef8df47061123536f202809b3d4954d824103dfb1b912559 SHA512 2410fc73d2685405cef7d3d639ae202632f8781885803aed5e2e5e4ff8b48f7cdf4f8b9565edbc1b5fa3db4bb22ae90019f8cfdf4bda09def7badc559ebe02a7
|
||||
DIST okteta-0.26.5.tar.xz 971940 BLAKE2B 44313d9603b15e9b9c4355b34d3d3b778c6530de7bfb2ab2589716c5123a5c66116d1cc8aa8197fb55135fb4dd6eca89155ec3c5f18b14e5f88c664f2197de4b SHA512 9a4934f8f4508bd858f8ed13f02174b211453ec5b38aa0fcc62d1173e3a0e0101754d23f53ce4bddcfe9106eeaed687f1141d2a1a65efc3ea8478e5d1840dc09
|
||||
|
@ -0,0 +1,70 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
ECM_DESIGNERPLUGIN="true"
|
||||
ECM_HANDBOOK="forceoptional"
|
||||
ECM_TEST="true"
|
||||
KFMIN=5.74.0
|
||||
QTMIN=5.15.2
|
||||
VIRTUALX_REQUIRED="test"
|
||||
inherit ecm kde.org
|
||||
|
||||
DESCRIPTION="Hex editor by KDE"
|
||||
HOMEPAGE="https://apps.kde.org/en/okteta
|
||||
https://utils.kde.org/projects/okteta/"
|
||||
|
||||
if [[ ${KDE_BUILD_TYPE} = release ]]; then
|
||||
SRC_URI="mirror://kde/stable/${PN}/${PV}/src/${P}.tar.xz"
|
||||
KEYWORDS="~amd64 ~arm64 ~x86"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-2 handbook? ( FDL-1.2 )"
|
||||
SLOT="5"
|
||||
IUSE="crypt"
|
||||
|
||||
DEPEND="
|
||||
>=dev-qt/qtdeclarative-${QTMIN}:5
|
||||
>=dev-qt/qtgui-${QTMIN}:5
|
||||
>=dev-qt/qtnetwork-${QTMIN}:5
|
||||
>=dev-qt/qtprintsupport-${QTMIN}:5
|
||||
>=dev-qt/qtscript-${QTMIN}:5[scripttools]
|
||||
>=dev-qt/qtwidgets-${QTMIN}:5
|
||||
>=dev-qt/qtxml-${QTMIN}:5
|
||||
>=kde-frameworks/kbookmarks-${KFMIN}:5
|
||||
>=kde-frameworks/kcmutils-${KFMIN}:5
|
||||
>=kde-frameworks/kcodecs-${KFMIN}:5
|
||||
>=kde-frameworks/kcompletion-${KFMIN}:5
|
||||
>=kde-frameworks/kconfig-${KFMIN}:5
|
||||
>=kde-frameworks/kconfigwidgets-${KFMIN}:5
|
||||
>=kde-frameworks/kcoreaddons-${KFMIN}:5
|
||||
>=kde-frameworks/kcrash-${KFMIN}:5
|
||||
>=kde-frameworks/kdbusaddons-${KFMIN}:5
|
||||
>=kde-frameworks/ki18n-${KFMIN}:5
|
||||
>=kde-frameworks/kiconthemes-${KFMIN}:5
|
||||
>=kde-frameworks/kio-${KFMIN}:5
|
||||
>=kde-frameworks/kjobwidgets-${KFMIN}:5
|
||||
>=kde-frameworks/knewstuff-${KFMIN}:5
|
||||
>=kde-frameworks/kparts-${KFMIN}:5
|
||||
>=kde-frameworks/kservice-${KFMIN}:5
|
||||
>=kde-frameworks/kwidgetsaddons-${KFMIN}:5
|
||||
>=kde-frameworks/kxmlgui-${KFMIN}:5
|
||||
crypt? ( >=app-crypt/qca-2.3.0:2 )
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DOMIT_EXAMPLES=ON
|
||||
$(cmake_use_find_package crypt Qca-qt5)
|
||||
)
|
||||
|
||||
ecm_src_configure
|
||||
}
|
||||
|
||||
src_test() {
|
||||
local myctestargs=( -j1 )
|
||||
|
||||
ecm_src_test
|
||||
}
|
Binary file not shown.
@ -0,0 +1,73 @@
|
||||
From bbd2d5a8120771ec59b86a80a1f51884e0a26e53 Mon Sep 17 00:00:00 2001
|
||||
From: Christian Ehrhardt <christian.ehrhardt@canonical.com>
|
||||
Date: Mon, 14 Dec 2020 16:09:38 +0100
|
||||
Subject: [PATCH] build: -no-pie is no functional linker flag
|
||||
|
||||
Recent binutils changes dropping unsupported options [1] caused a build
|
||||
issue in regard to the optionroms.
|
||||
|
||||
ld -m elf_i386 -T /<<PKGBUILDDIR>>/pc-bios/optionrom//flat.lds -no-pie \
|
||||
-s -o multiboot.img multiboot.o
|
||||
ld.bfd: Error: unable to disambiguate: -no-pie (did you mean --no-pie ?)
|
||||
|
||||
This isn't really a regression in ld.bfd, filing the bug upstream
|
||||
revealed that this never worked as a ld flag [2] - in fact it seems we
|
||||
were by accident setting --nmagic).
|
||||
|
||||
Since it never had the wanted effect this usage of LDFLAGS_NOPIE, should be
|
||||
droppable without any effect. This also is the only use-case of LDFLAGS_NOPIE
|
||||
in .mak, therefore we can also remove it from being added there.
|
||||
|
||||
[1]: https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=983d925d
|
||||
[2]: https://sourceware.org/bugzilla/show_bug.cgi?id=27050#c5
|
||||
|
||||
Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
|
||||
Message-Id: <20201214150938.1297512-1-christian.ehrhardt@canonical.com>
|
||||
Cc: qemu-stable@nongnu.org
|
||||
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
|
||||
---
|
||||
configure | 3 ---
|
||||
pc-bios/optionrom/Makefile | 1 -
|
||||
2 files changed, 4 deletions(-)
|
||||
|
||||
--- a/configure
|
||||
+++ b/configure
|
||||
@@ -2137,7 +2137,6 @@ EOF
|
||||
# Check we support --no-pie first; we will need this for building ROMs.
|
||||
if compile_prog "-Werror -fno-pie" "-no-pie"; then
|
||||
CFLAGS_NOPIE="-fno-pie"
|
||||
- LDFLAGS_NOPIE="-no-pie"
|
||||
fi
|
||||
|
||||
if test "$static" = "yes"; then
|
||||
@@ -2153,7 +2152,6 @@ if test "$static" = "yes"; then
|
||||
fi
|
||||
elif test "$pie" = "no"; then
|
||||
CONFIGURE_CFLAGS="$CFLAGS_NOPIE $CONFIGURE_CFLAGS"
|
||||
- CONFIGURE_LDFLAGS="$LDFLAGS_NOPIE $CONFIGURE_LDFLAGS"
|
||||
elif compile_prog "-Werror -fPIE -DPIE" "-pie"; then
|
||||
CONFIGURE_CFLAGS="-fPIE -DPIE $CONFIGURE_CFLAGS"
|
||||
CONFIGURE_LDFLAGS="-pie $CONFIGURE_LDFLAGS"
|
||||
@@ -6714,7 +6712,6 @@ echo "QEMU_CXXFLAGS=$QEMU_CXXFLAGS" >> $config_host_mak
|
||||
echo "GLIB_CFLAGS=$glib_cflags" >> $config_host_mak
|
||||
echo "GLIB_LIBS=$glib_libs" >> $config_host_mak
|
||||
echo "QEMU_LDFLAGS=$QEMU_LDFLAGS" >> $config_host_mak
|
||||
-echo "LDFLAGS_NOPIE=$LDFLAGS_NOPIE" >> $config_host_mak
|
||||
echo "LD_I386_EMULATION=$ld_i386_emulation" >> $config_host_mak
|
||||
echo "EXESUF=$EXESUF" >> $config_host_mak
|
||||
echo "HOST_DSOSUF=$HOST_DSOSUF" >> $config_host_mak
|
||||
diff --git a/pc-bios/optionrom/Makefile b/pc-bios/optionrom/Makefile
|
||||
index 084fc10f05..30771f8d17 100644
|
||||
--- a/pc-bios/optionrom/Makefile
|
||||
+++ b/pc-bios/optionrom/Makefile
|
||||
@@ -41,7 +41,6 @@ override CFLAGS += $(call cc-option, $(Wa)-32)
|
||||
|
||||
LD_I386_EMULATION ?= elf_i386
|
||||
override LDFLAGS = -m $(LD_I386_EMULATION) -T $(SRC_DIR)/flat.lds
|
||||
-override LDFLAGS += $(LDFLAGS_NOPIE)
|
||||
|
||||
all: multiboot.bin linuxboot.bin linuxboot_dma.bin kvmvapic.bin pvh.bin
|
||||
|
||||
--
|
||||
2.30.0
|
||||
|
@ -0,0 +1,155 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{6..9} )
|
||||
PYTHON_REQ_USE='xml,threads(+)'
|
||||
|
||||
inherit flag-o-matic multilib python-single-r1 toolchain-funcs
|
||||
|
||||
MY_PV=${PV/_/-}
|
||||
|
||||
XEN_EXTFILES_URL="http://xenbits.xensource.com/xen-extfiles"
|
||||
LIBPCI_URL=ftp://atrey.karlin.mff.cuni.cz/pub/linux/pci
|
||||
GRUB_URL=mirror://gnu-alpha/grub
|
||||
|
||||
UPSTREAM_VER=
|
||||
[[ -n ${UPSTREAM_VER} ]] && \
|
||||
UPSTREAM_PATCHSET_URI="https://dev.gentoo.org/~dlan/distfiles/${P/-pvgrub/}-upstream-patches-${UPSTREAM_VER}.tar.xz
|
||||
https://github.com/hydrapolic/gentoo-dist/raw/master/xen/${P/-pvgrub/}-upstream-patches-${UPSTREAM_VER}.tar.xz"
|
||||
|
||||
SRC_URI="
|
||||
https://downloads.xenproject.org/release/xen/${MY_PV}/xen-${MY_PV}.tar.gz
|
||||
$GRUB_URL/grub-0.97.tar.gz
|
||||
$XEN_EXTFILES_URL/zlib-1.2.3.tar.gz
|
||||
$LIBPCI_URL/pciutils-2.2.9.tar.bz2
|
||||
$XEN_EXTFILES_URL/lwip-1.3.0.tar.gz
|
||||
$XEN_EXTFILES_URL/newlib/newlib-1.16.0.tar.gz
|
||||
$XEN_EXTFILES_URL/polarssl-1.1.4-gpl.tgz
|
||||
${UPSTREAM_PATCHSET_URI}"
|
||||
|
||||
S="${WORKDIR}/xen-${MY_PV}"
|
||||
|
||||
DESCRIPTION="allows to boot Xen domU kernels from a menu.lst laying inside guest filesystem"
|
||||
HOMEPAGE="https://www.xenproject.org"
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
DEPEND="sys-devel/gettext
|
||||
sys-devel/bin86
|
||||
sys-apps/texinfo
|
||||
x11-libs/pixman"
|
||||
|
||||
RDEPEND="${PYTHON_DEPS}
|
||||
>=app-emulation/xen-tools-${PV}"
|
||||
|
||||
# python2 only
|
||||
RESTRICT="test"
|
||||
|
||||
pkg_setup() {
|
||||
python-single-r1_pkg_setup
|
||||
}
|
||||
|
||||
retar-externals() {
|
||||
# Purely to unclutter src_prepare
|
||||
local set="grub-0.97.tar.gz lwip-1.3.0.tar.gz newlib-1.16.0.tar.gz polarssl-1.1.4-gpl.tgz zlib-1.2.3.tar.gz"
|
||||
|
||||
# eapply can't patch in $WORKDIR, requires a sed; Bug #455194. Patchable, but sed informative
|
||||
sed -e s':AR=${AR-"ar rc"}:AR=${AR-"ar"}:' \
|
||||
-i "${WORKDIR}"/zlib-1.2.3/configure || die
|
||||
sed -e 's:^AR=ar rc:AR=ar:' \
|
||||
-e s':$(AR) $@:$(AR) rc $@:' \
|
||||
-i "${WORKDIR}"/zlib-1.2.3/{Makefile,Makefile.in} || die
|
||||
einfo "zlib Makefile edited"
|
||||
|
||||
cd "${WORKDIR}" || die
|
||||
tar czp zlib-1.2.3 -f zlib-1.2.3.tar.gz || die
|
||||
tar czp grub-0.97 -f grub-0.97.tar.gz || die
|
||||
tar czp lwip -f lwip-1.3.0.tar.gz || die
|
||||
tar czp newlib-1.16.0 -f newlib-1.16.0.tar.gz || die
|
||||
tar czp polarssl-1.1.4 -f polarssl-1.1.4-gpl.tgz || die
|
||||
mv $set "${S}"/stubdom/ || die
|
||||
einfo "tarballs moved to source"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Upstream's patchset
|
||||
if [[ -n ${UPSTREAM_VER} ]]; then
|
||||
einfo "Try to apply Xen Upstream patch set"
|
||||
EPATCH_SUFFIX="patch" \
|
||||
EPATCH_FORCE="yes" \
|
||||
EPATCH_OPTS="-p1" \
|
||||
eapply "${WORKDIR}"/patches-upstream
|
||||
fi
|
||||
|
||||
# Patch the unmergeable newlib, fix most of the leftover gcc QA issues
|
||||
cp "${FILESDIR}"/newlib-implicits.patch stubdom || die
|
||||
|
||||
# Patch stubdom/Makefile to patch insource newlib & prevent internal downloading
|
||||
eapply "${FILESDIR}"/${PN/-pvgrub/}-4.10-externals.patch
|
||||
|
||||
# fix jobserver in Makefile
|
||||
eapply "${FILESDIR}"/${PN}-4.8-jserver.patch
|
||||
|
||||
#Substitute for internal downloading. pciutils copied only due to the only .bz2
|
||||
cp "${DISTDIR}"/pciutils-2.2.9.tar.bz2 ./stubdom/ || die "pciutils not copied to stubdom"
|
||||
retar-externals || die "re-tar procedure failed"
|
||||
|
||||
default
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf="--prefix=${PREFIX}/usr \
|
||||
--libdir=${PREFIX}/usr/$(get_libdir) \
|
||||
--libexecdir=${PREFIX}/usr/libexec \
|
||||
--disable-werror \
|
||||
--disable-xen"
|
||||
|
||||
econf ${myconf}
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
unset CFLAGS
|
||||
if test-flag-CC -fno-strict-overflow; then
|
||||
append-flags -fno-strict-overflow
|
||||
fi
|
||||
|
||||
emake CC="$(tc-getCC)" LD="$(tc-getLD)" AR="$(tc-getAR)" -C tools/include
|
||||
emake CC="$(tc-getCC)" LD="$(tc-getLD)" AR="$(tc-getAR)" -C tools/libs
|
||||
|
||||
if use x86; then
|
||||
emake CC="$(tc-getCC)" LD="$(tc-getLD)" AR="$(tc-getAR)" \
|
||||
XEN_TARGET_ARCH="x86_32" -C stubdom pv-grub
|
||||
elif use amd64; then
|
||||
emake CC="$(tc-getCC)" LD="$(tc-getLD)" AR="$(tc-getAR)" \
|
||||
XEN_TARGET_ARCH="x86_64" -C stubdom pv-grub
|
||||
if has_multilib_profile; then
|
||||
multilib_toolchain_setup x86
|
||||
emake CC="$(tc-getCC)" AR="$(tc-getAR)" \
|
||||
XEN_TARGET_ARCH="x86_32" -C stubdom pv-grub
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
if use x86; then
|
||||
emake XEN_TARGET_ARCH="x86_32" DESTDIR="${D}" -C stubdom install-grub
|
||||
fi
|
||||
if use amd64; then
|
||||
emake XEN_TARGET_ARCH="x86_64" DESTDIR="${D}" -C stubdom install-grub
|
||||
if has_multilib_profile; then
|
||||
emake XEN_TARGET_ARCH="x86_32" DESTDIR="${D}" -C stubdom install-grub
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "Official Xen Guide and the offical wiki page:"
|
||||
elog "https://wiki.gentoo.org/wiki/Xen"
|
||||
elog "https://wiki.xen.org/wiki/Main_Page"
|
||||
}
|
@ -0,0 +1,512 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{6..9} )
|
||||
PYTHON_REQ_USE='ncurses,xml,threads(+)'
|
||||
|
||||
inherit bash-completion-r1 flag-o-matic multilib python-single-r1 toolchain-funcs
|
||||
|
||||
MY_PV=${PV/_/-}
|
||||
|
||||
if [[ $PV == *9999 ]]; then
|
||||
inherit git-r3
|
||||
REPO="xen.git"
|
||||
EGIT_REPO_URI="git://xenbits.xen.org/${REPO}"
|
||||
S="${WORKDIR}/${REPO}"
|
||||
else
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
|
||||
UPSTREAM_VER=
|
||||
SECURITY_VER=
|
||||
# xen-tools's gentoo patches tarball
|
||||
GENTOO_VER=22
|
||||
# xen-tools's gentoo patches version which apply to this specific ebuild
|
||||
GENTOO_GPV=0
|
||||
# xen-tools ovmf's patches
|
||||
OVMF_VER=
|
||||
|
||||
SEABIOS_VER="1.13.0"
|
||||
EDK2_COMMIT="06dc822d045c2bb42e497487935485302486e151"
|
||||
EDK2_OPENSSL_VERSION="1_1_1g"
|
||||
EDK2_SOFTFLOAT_COMMIT="b64af41c3276f97f0e181920400ee056b9c88037"
|
||||
EDK2_BROTLI_COMMIT="666c3280cc11dc433c303d79a83d4ffbdd12cc8d"
|
||||
IPXE_COMMIT="1dd56dbd11082fb622c2ed21cfaced4f47d798a6"
|
||||
|
||||
[[ -n ${UPSTREAM_VER} ]] && \
|
||||
UPSTREAM_PATCHSET_URI="https://dev.gentoo.org/~dlan/distfiles/${P/-tools/}-upstream-patches-${UPSTREAM_VER}.tar.xz
|
||||
https://github.com/hydrapolic/gentoo-dist/raw/master/xen/${P/-tools/}-upstream-patches-${UPSTREAM_VER}.tar.xz"
|
||||
[[ -n ${SECURITY_VER} ]] && \
|
||||
SECURITY_PATCHSET_URI="https://dev.gentoo.org/~dlan/distfiles/${PN/-tools}-security-patches-${SECURITY_VER}.tar.xz
|
||||
https://github.com/hydrapolic/gentoo-dist/raw/master/xen/${PN/-tools/}-security-patches-${SECURITY_VER}.tar.xz"
|
||||
[[ -n ${GENTOO_VER} ]] && \
|
||||
GENTOO_PATCHSET_URI="https://dev.gentoo.org/~dlan/distfiles/${PN/-tools}-gentoo-patches-${GENTOO_VER}.tar.xz
|
||||
https://github.com/hydrapolic/gentoo-dist/raw/master/xen/${PN/-tools/}-gentoo-patches-${GENTOO_VER}.tar.xz"
|
||||
[[ -n ${OVMF_VER} ]] && \
|
||||
OVMF_PATCHSET_URI="https://dev.gentoo.org/~dlan/distfiles/${PN/-tools}-ovmf-patches-${OVMF_VER}.tar.xz"
|
||||
|
||||
SRC_URI="https://downloads.xenproject.org/release/xen/${MY_PV}/xen-${MY_PV}.tar.gz
|
||||
https://github.com/qemu/seabios/archive/rel-${SEABIOS_VER}.tar.gz -> seabios-${SEABIOS_VER}.tar.gz
|
||||
ipxe? ( http://xenbits.xen.org/xen-extfiles/ipxe-git-${IPXE_COMMIT}.tar.gz )
|
||||
ovmf? ( https://github.com/tianocore/edk2/archive/${EDK2_COMMIT}.tar.gz -> edk2-${EDK2_COMMIT}.tar.gz
|
||||
https://github.com/openssl/openssl/archive/OpenSSL_${EDK2_OPENSSL_VERSION}.tar.gz
|
||||
https://github.com/ucb-bar/berkeley-softfloat-3/archive/${EDK2_SOFTFLOAT_COMMIT}.tar.gz -> berkeley-softfloat-${EDK2_SOFTFLOAT_COMMIT}.tar.gz
|
||||
https://github.com/google/brotli/archive/${EDK2_BROTLI_COMMIT}.tar.gz -> brotli-${EDK2_BROTLI_COMMIT}.tar.gz
|
||||
${OVMF_PATCHSET_URI} )
|
||||
${UPSTREAM_PATCHSET_URI}
|
||||
${SECURITY_PATCHSET_URI}
|
||||
${GENTOO_PATCHSET_URI}"
|
||||
|
||||
S="${WORKDIR}/xen-${MY_PV}"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Xen tools including QEMU and xl"
|
||||
HOMEPAGE="https://www.xenproject.org"
|
||||
DOCS=( README )
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0/$(ver_cut 1-2)"
|
||||
# Inclusion of IUSE ocaml on stabalizing requires maintainer of ocaml to (get off his hands and) make
|
||||
# >=dev-lang/ocaml-4 stable
|
||||
# Masked in profiles/eapi-5-files instead
|
||||
IUSE="api debug doc flask +hvm +ipxe ocaml ovmf +pam pygrub python +qemu +qemu-traditional +rombios screen sdl static-libs system-ipxe system-qemu system-seabios"
|
||||
|
||||
REQUIRED_USE="
|
||||
${PYTHON_REQUIRED_USE}
|
||||
ipxe? ( rombios )
|
||||
ovmf? ( hvm )
|
||||
pygrub? ( python )
|
||||
rombios? ( hvm )
|
||||
system-ipxe? ( rombios )
|
||||
?? ( ipxe system-ipxe )
|
||||
?? ( qemu system-qemu )"
|
||||
|
||||
COMMON_DEPEND="
|
||||
sys-apps/pciutils
|
||||
dev-libs/lzo:2
|
||||
dev-libs/glib:2
|
||||
dev-libs/yajl
|
||||
dev-libs/libaio
|
||||
dev-libs/libgcrypt:0
|
||||
sys-libs/zlib
|
||||
${PYTHON_DEPS}
|
||||
"
|
||||
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
app-misc/pax-utils
|
||||
dev-lang/perl
|
||||
>=sys-kernel/linux-headers-4.11
|
||||
x11-libs/pixman
|
||||
$(python_gen_cond_dep '
|
||||
dev-python/lxml[${PYTHON_MULTI_USEDEP}]
|
||||
pam? ( dev-python/pypam[${PYTHON_MULTI_USEDEP}] )
|
||||
')
|
||||
x86? ( sys-devel/dev86
|
||||
system-ipxe? ( sys-firmware/ipxe[qemu] )
|
||||
sys-power/iasl )
|
||||
api? ( dev-libs/libxml2
|
||||
net-misc/curl )
|
||||
|
||||
ovmf? (
|
||||
!arm? ( !arm64? ( dev-lang/nasm ) )
|
||||
$(python_gen_impl_dep sqlite)
|
||||
)
|
||||
!amd64? ( >=sys-apps/dtc-1.4.0 )
|
||||
amd64? ( sys-power/iasl
|
||||
system-seabios? ( sys-firmware/seabios )
|
||||
system-ipxe? ( sys-firmware/ipxe[qemu] )
|
||||
rombios? ( sys-devel/bin86 sys-devel/dev86 ) )
|
||||
doc? (
|
||||
app-text/ghostscript-gpl
|
||||
app-text/pandoc
|
||||
$(python_gen_cond_dep '
|
||||
dev-python/markdown[${PYTHON_MULTI_USEDEP}]
|
||||
')
|
||||
dev-texlive/texlive-latexextra
|
||||
media-gfx/transfig
|
||||
)
|
||||
hvm? ( x11-base/xorg-proto )
|
||||
qemu? (
|
||||
app-arch/snappy:=
|
||||
sdl? (
|
||||
media-libs/libsdl[X]
|
||||
media-libs/libsdl2[X]
|
||||
)
|
||||
)
|
||||
system-qemu? ( app-emulation/qemu[xen] )
|
||||
ocaml? ( dev-ml/findlib
|
||||
>=dev-lang/ocaml-4 )
|
||||
python? ( >=dev-lang/swig-4.0.0 )"
|
||||
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
sys-apps/iproute2[-minimal]
|
||||
net-misc/bridge-utils
|
||||
screen? (
|
||||
app-misc/screen
|
||||
app-admin/logrotate
|
||||
)"
|
||||
|
||||
# hvmloader is used to bootstrap a fully virtualized kernel
|
||||
# Approved by QA team in bug #144032
|
||||
QA_WX_LOAD="
|
||||
usr/libexec/xen/boot/hvmloader
|
||||
usr/share/qemu-xen/qemu/hppa-firmware.img
|
||||
usr/share/qemu-xen/qemu/s390-ccw.img
|
||||
usr/share/qemu-xen/qemu/u-boot.e500
|
||||
"
|
||||
|
||||
QA_PREBUILT="
|
||||
usr/libexec/xen/bin/elf2dmp
|
||||
usr/libexec/xen/bin/ivshmem-client
|
||||
usr/libexec/xen/bin/ivshmem-server
|
||||
usr/libexec/xen/bin/qemu-edid
|
||||
usr/libexec/xen/bin/qemu-img
|
||||
usr/libexec/xen/bin/qemu-io
|
||||
usr/libexec/xen/bin/qemu-keymap
|
||||
usr/libexec/xen/bin/qemu-nbd
|
||||
usr/libexec/xen/bin/qemu-pr-helper
|
||||
usr/libexec/xen/bin/qemu-system-i386
|
||||
usr/libexec/xen/bin/virtfs-proxy-helper
|
||||
usr/libexec/xen/libexec/xen-bridge-helper
|
||||
usr/share/qemu-xen/qemu/s390-ccw.img
|
||||
usr/share/qemu-xen/qemu/s390-netboot.img
|
||||
usr/share/qemu-xen/qemu/u-boot.e500
|
||||
"
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
pkg_setup() {
|
||||
python_setup
|
||||
export "CONFIG_LOMOUNT=y"
|
||||
|
||||
#bug 522642, disable compile tools/tests
|
||||
export "CONFIG_TESTS=n"
|
||||
|
||||
if [[ -z ${XEN_TARGET_ARCH} ]] ; then
|
||||
if use x86 && use amd64; then
|
||||
die "Confusion! Both x86 and amd64 are set in your use flags!"
|
||||
elif use x86; then
|
||||
export XEN_TARGET_ARCH="x86_32"
|
||||
elif use amd64 ; then
|
||||
export XEN_TARGET_ARCH="x86_64"
|
||||
elif use arm; then
|
||||
export XEN_TARGET_ARCH="arm32"
|
||||
elif use arm64; then
|
||||
export XEN_TARGET_ARCH="arm64"
|
||||
else
|
||||
die "Unsupported architecture!"
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
local i
|
||||
|
||||
# Upstream's patchset
|
||||
if [[ -n ${UPSTREAM_VER} ]]; then
|
||||
einfo "Try to apply Xen Upstream patch set"
|
||||
eapply "${WORKDIR}"/patches-upstream
|
||||
fi
|
||||
|
||||
# Security patchset
|
||||
if [[ -n ${SECURITY_VER} ]]; then
|
||||
einfo "Try to apply Xen Security patch set"
|
||||
# apply main xen patches
|
||||
# Two parallel systems, both work side by side
|
||||
# Over time they may concdense into one. This will suffice for now
|
||||
EPATCH_SUFFIX="patch"
|
||||
EPATCH_FORCE="yes"
|
||||
|
||||
source "${WORKDIR}"/patches-security/${PV}.conf || die
|
||||
|
||||
for i in ${XEN_SECURITY_MAIN}; do
|
||||
eapply "${WORKDIR}"/patches-security/xen/$i
|
||||
done
|
||||
|
||||
# apply qemu-xen/upstream patches
|
||||
pushd "${S}"/tools/qemu-xen/ > /dev/null
|
||||
for i in ${XEN_SECURITY_QEMUU}; do
|
||||
eapply "${WORKDIR}"/patches-security/qemuu/$i
|
||||
done
|
||||
popd > /dev/null
|
||||
|
||||
# apply qemu-traditional patches
|
||||
pushd "${S}"/tools/qemu-xen-traditional/ > /dev/null
|
||||
for i in ${XEN_SECURITY_QEMUT}; do
|
||||
eapply "${WORKDIR}"/patches-security/qemut/$i
|
||||
done
|
||||
popd > /dev/null
|
||||
fi
|
||||
|
||||
# move before Gentoo patch, one patch should apply to seabios, to fix gcc-4.5.x build err
|
||||
mv ../seabios-rel-${SEABIOS_VER} tools/firmware/seabios-dir-remote || die
|
||||
pushd tools/firmware/ > /dev/null
|
||||
ln -s seabios-dir-remote seabios-dir || die
|
||||
popd > /dev/null
|
||||
|
||||
# Gentoo's patchset
|
||||
if [[ -n ${GENTOO_VER} && -n ${GENTOO_GPV} ]]; then
|
||||
einfo "Try to apply Gentoo specific patch set"
|
||||
source "${FILESDIR}"/gentoo-patches.conf || die
|
||||
_gpv=_gpv_${PN/-/_}_${PV//./}_${GENTOO_GPV}
|
||||
for i in ${!_gpv}; do
|
||||
eapply "${WORKDIR}"/patches-gentoo/$i
|
||||
done
|
||||
fi
|
||||
|
||||
# Ovmf's patchset
|
||||
if use ovmf; then
|
||||
if [[ -n ${OVMF_VER} ]];then
|
||||
einfo "Try to apply Ovmf patch set"
|
||||
pushd "${WORKDIR}"/edk2-*/ > /dev/null
|
||||
eapply "${WORKDIR}"/patches-ovmf
|
||||
popd > /dev/null
|
||||
fi
|
||||
mv ../edk2-${EDK2_COMMIT} tools/firmware/ovmf-dir-remote || die
|
||||
rm -r tools/firmware/ovmf-dir-remote/CryptoPkg/Library/OpensslLib/openssl || die
|
||||
rm -r tools/firmware/ovmf-dir-remote/ArmPkg/Library/ArmSoftFloatLib/berkeley-softfloat-3 || die
|
||||
rm -r tools/firmware/ovmf-dir-remote/BaseTools/Source/C/BrotliCompress/brotli || die
|
||||
rm -r tools/firmware/ovmf-dir-remote/MdeModulePkg/Library/BrotliCustomDecompressLib/brotli || die
|
||||
mv ../openssl-OpenSSL_${EDK2_OPENSSL_VERSION} tools/firmware/ovmf-dir-remote/CryptoPkg/Library/OpensslLib/openssl || die
|
||||
mv ../berkeley-softfloat-3-${EDK2_SOFTFLOAT_COMMIT} tools/firmware/ovmf-dir-remote/ArmPkg/Library/ArmSoftFloatLib/berkeley-softfloat-3 || die
|
||||
cp -r ../brotli-${EDK2_BROTLI_COMMIT} tools/firmware/ovmf-dir-remote/BaseTools/Source/C/BrotliCompress/brotli || die
|
||||
cp -r ../brotli-${EDK2_BROTLI_COMMIT} tools/firmware/ovmf-dir-remote/MdeModulePkg/Library/BrotliCustomDecompressLib/brotli || die
|
||||
cp tools/firmware/ovmf-makefile tools/firmware/ovmf-dir-remote/Makefile || die
|
||||
fi
|
||||
|
||||
# ipxe
|
||||
if use ipxe; then
|
||||
cp "${DISTDIR}/ipxe-git-${IPXE_COMMIT}.tar.gz" tools/firmware/etherboot/_ipxe.tar.gz || die
|
||||
|
||||
# gcc 10
|
||||
cp "${WORKDIR}/patches-gentoo/xen-tools-4.13.0-ipxe-gcc10.patch" tools/firmware/etherboot/patches/ipxe-gcc10.patch || die
|
||||
echo ipxe-gcc10.patch >> tools/firmware/etherboot/patches/series || die
|
||||
fi
|
||||
|
||||
mv tools/qemu-xen/qemu-bridge-helper.c tools/qemu-xen/xen-bridge-helper.c || die
|
||||
|
||||
# Fix texi2html build error with new texi2html, qemu.doc.html
|
||||
sed -i -e "/texi2html -monolithic/s/-number//" tools/qemu-xen-traditional/Makefile || die
|
||||
|
||||
use api || sed -e "/SUBDIRS-\$(LIBXENAPI_BINDINGS) += libxen/d" -i tools/Makefile || die
|
||||
sed -e 's:$(MAKE) PYTHON=$(PYTHON) subdirs-$@:LC_ALL=C "$(MAKE)" PYTHON=$(PYTHON) subdirs-$@:' \
|
||||
-i tools/firmware/Makefile || die
|
||||
|
||||
# Drop .config, fixes to gcc-4.6
|
||||
sed -e '/-include $(XEN_ROOT)\/.config/d' -i Config.mk || die "Couldn't drop"
|
||||
|
||||
# drop flags
|
||||
unset CFLAGS
|
||||
unset LDFLAGS
|
||||
unset ASFLAGS
|
||||
unset CPPFLAGS
|
||||
|
||||
if ! use pygrub; then
|
||||
sed -e '/^SUBDIRS-y += pygrub/d' -i tools/Makefile || die
|
||||
fi
|
||||
|
||||
if ! use python; then
|
||||
sed -e '/^SUBDIRS-y += python$/d' -i tools/Makefile || die
|
||||
fi
|
||||
|
||||
if ! use hvm; then
|
||||
sed -e '/SUBDIRS-$(CONFIG_X86) += firmware/d' -i tools/Makefile || die
|
||||
# Bug 351648
|
||||
elif ! use x86 && ! has x86 $(get_all_abis); then
|
||||
mkdir -p "${WORKDIR}"/extra-headers/gnu || die
|
||||
touch "${WORKDIR}"/extra-headers/gnu/stubs-32.h || die
|
||||
export CPATH="${WORKDIR}"/extra-headers
|
||||
fi
|
||||
|
||||
if use qemu; then
|
||||
if use sdl; then
|
||||
sed -i -e "s:\$\$source/configure:\0 --enable-sdl:" \
|
||||
tools/Makefile || die
|
||||
else
|
||||
sed -i -e "s:\${QEMU_ROOT\:\-\.}/configure:\0 --disable-sdl:" \
|
||||
tools/qemu-xen-traditional/xen-setup || die
|
||||
sed -i -e "s:\$\$source/configure:\0 --disable-sdl:" \
|
||||
tools/Makefile || die
|
||||
fi
|
||||
else
|
||||
# Don't bother with qemu, only needed for fully virtualised guests
|
||||
sed -i '/SUBDIRS-$(CONFIG_QEMU_XEN)/s/^/#/g' tools/Makefile || die
|
||||
fi
|
||||
|
||||
# Reset bash completion dir; Bug 472438
|
||||
sed -e "s:^BASH_COMPLETION_DIR ?= \$(CONFIG_DIR)/bash_completion.d:BASH_COMPLETION_DIR ?= $(get_bashcompdir):" \
|
||||
-i Config.mk || die
|
||||
sed -i -e "/bash-completion/s/xl\.sh/xl/g" tools/libxl/Makefile || die
|
||||
|
||||
# xencommons, Bug #492332, sed lighter weight than patching
|
||||
sed -e 's:\$QEMU_XEN -xen-domid:test -e "\$QEMU_XEN" \&\& &:' \
|
||||
-i tools/hotplug/Linux/init.d/xencommons.in || die
|
||||
|
||||
# fix bashishm
|
||||
sed -e '/Usage/s/\$//g' \
|
||||
-i tools/hotplug/Linux/init.d/xendriverdomain.in || die
|
||||
|
||||
# respect multilib, usr/lib/libcacard.so.0.0.0
|
||||
sed -e "/^libdir=/s/\/lib/\/$(get_libdir)/" \
|
||||
-i tools/qemu-xen/configure || die
|
||||
|
||||
#bug 518136, don't build 32bit exactuable for nomultilib profile
|
||||
if [[ "${ARCH}" == 'amd64' ]] && ! has_multilib_profile; then
|
||||
sed -i -e "/x86_emulator/d" tools/tests/Makefile || die
|
||||
fi
|
||||
|
||||
# uncomment lines in xl.conf
|
||||
sed -e 's:^#autoballoon=:autoballoon=:' \
|
||||
-e 's:^#lockfile=:lockfile=:' \
|
||||
-e 's:^#vif.default.script=:vif.default.script=:' \
|
||||
-i tools/examples/xl.conf || die
|
||||
|
||||
# disable capstone (Bug #673474)
|
||||
sed -e "s:\$\$source/configure:\0 --disable-capstone:" \
|
||||
-i tools/Makefile || die
|
||||
|
||||
# disable glusterfs
|
||||
sed -e "s:\$\$source/configure:\0 --disable-glusterfs:" \
|
||||
-i tools/Makefile || die
|
||||
|
||||
default
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf="--prefix=${PREFIX}/usr \
|
||||
--libdir=${PREFIX}/usr/$(get_libdir) \
|
||||
--libexecdir=${PREFIX}/usr/libexec \
|
||||
--localstatedir=${EPREFIX}/var \
|
||||
--disable-werror \
|
||||
--disable-xen \
|
||||
--enable-tools \
|
||||
--enable-docs \
|
||||
$(use_enable api xenapi) \
|
||||
$(use_enable ipxe) \
|
||||
$(usex system-ipxe '--with-system-ipxe=/usr/share/ipxe' '') \
|
||||
$(use_enable ocaml ocamltools) \
|
||||
$(use_enable ovmf) \
|
||||
$(use_enable pam) \
|
||||
$(use_enable rombios) \
|
||||
--with-xenstored=$(usex ocaml 'oxenstored' 'xenstored') \
|
||||
"
|
||||
|
||||
use system-seabios && myconf+=" --with-system-seabios=/usr/share/seabios/bios.bin"
|
||||
use system-qemu && myconf+=" --with-system-qemu=/usr/bin/qemu-system-x86_64"
|
||||
use amd64 && myconf+=" $(use_enable qemu-traditional)"
|
||||
tc-ld-disable-gold # Bug 669570
|
||||
econf ${myconf}
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local myopt
|
||||
use debug && myopt="${myopt} debug=y"
|
||||
use python && myopt="${myopt} XENSTAT_PYTHON_BINDINGS=y"
|
||||
|
||||
if test-flag-CC -fno-strict-overflow; then
|
||||
append-flags -fno-strict-overflow
|
||||
fi
|
||||
|
||||
emake CC="$(tc-getCC)" LD="$(tc-getLD)" AR="$(tc-getAR)" RANLIB="$(tc-getRANLIB)" build-tools ${myopt}
|
||||
|
||||
if use doc; then
|
||||
emake -C docs build
|
||||
else
|
||||
emake -C docs man-pages
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# Override auto-detection in the build system, bug #382573
|
||||
export INITD_DIR=/tmp/init.d
|
||||
export CONFIG_LEAF_DIR=../tmp/default
|
||||
|
||||
# Let the build system compile installed Python modules.
|
||||
local PYTHONDONTWRITEBYTECODE
|
||||
export PYTHONDONTWRITEBYTECODE
|
||||
|
||||
emake DESTDIR="${ED}" DOCDIR="/usr/share/doc/${PF}" \
|
||||
XEN_PYTHON_NATIVE_INSTALL=y install-tools
|
||||
|
||||
# Created at runtime
|
||||
rm -rv "${ED}/var/run" || die
|
||||
|
||||
# Fix the remaining Python shebangs.
|
||||
python_fix_shebang "${D}"
|
||||
|
||||
# Remove RedHat-specific stuff
|
||||
rm -rf "${D}"/tmp || die
|
||||
|
||||
if use doc; then
|
||||
emake DESTDIR="${D}" DOCDIR="/usr/share/doc/${PF}" install-docs
|
||||
dodoc -r docs/{pdf,txt}
|
||||
else
|
||||
emake -C docs DESTDIR="${D}" DOCDIR="/usr/share/doc/${PF}" install-man-pages # Bug 668032
|
||||
fi
|
||||
dodoc ${DOCS[@]}
|
||||
|
||||
newconfd "${FILESDIR}"/xendomains.confd xendomains
|
||||
newconfd "${FILESDIR}"/xenstored.confd xenstored
|
||||
newconfd "${FILESDIR}"/xenconsoled.confd xenconsoled
|
||||
newinitd "${FILESDIR}"/xendomains.initd-r2 xendomains
|
||||
newinitd "${FILESDIR}"/xenstored.initd-r1 xenstored
|
||||
newinitd "${FILESDIR}"/xenconsoled.initd xenconsoled
|
||||
newinitd "${FILESDIR}"/xencommons.initd xencommons
|
||||
newconfd "${FILESDIR}"/xencommons.confd xencommons
|
||||
newinitd "${FILESDIR}"/xenqemudev.initd xenqemudev
|
||||
newconfd "${FILESDIR}"/xenqemudev.confd xenqemudev
|
||||
newinitd "${FILESDIR}"/xen-watchdog.initd xen-watchdog
|
||||
|
||||
if use screen; then
|
||||
cat "${FILESDIR}"/xendomains-screen.confd >> "${D}"/etc/conf.d/xendomains || die
|
||||
cp "${FILESDIR}"/xen-consoles.logrotate "${D}"/etc/xen/ || die
|
||||
keepdir /var/log/xen-consoles
|
||||
fi
|
||||
|
||||
# For -static-libs wrt Bug 384355
|
||||
if ! use static-libs; then
|
||||
rm -f "${D}"/usr/$(get_libdir)/*.a "${D}"/usr/$(get_libdir)/ocaml/*/*.a
|
||||
fi
|
||||
|
||||
# for xendomains
|
||||
keepdir /etc/xen/auto
|
||||
|
||||
# Remove files failing QA AFTER emake installs them, avoiding seeking absent files
|
||||
find "${D}" \( -name openbios-sparc32 -o -name openbios-sparc64 \
|
||||
-o -name openbios-ppc -o -name palcode-clipper \) -delete || die
|
||||
|
||||
keepdir /var/lib/xen/dump
|
||||
keepdir /var/lib/xen/xenpaging
|
||||
keepdir /var/lib/xenstored
|
||||
keepdir /var/log/xen
|
||||
|
||||
if use python; then
|
||||
python_domodule "${S}/tools/xenstat/libxenstat/bindings/swig/python/xenstat.py"
|
||||
python_domodule "${S}/tools/xenstat/libxenstat/bindings/swig/python/_xenstat.so"
|
||||
fi
|
||||
|
||||
python_optimize
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "Official Xen Guide and the offical wiki page:"
|
||||
elog "https://wiki.gentoo.org/wiki/Xen"
|
||||
elog "https://wiki.xen.org/wiki/Main_Page"
|
||||
elog ""
|
||||
elog "Recommended to utilise the xencommons script to config system at boot"
|
||||
elog "Add by use of rc-update on completion of the install"
|
||||
|
||||
if ! use hvm; then
|
||||
echo
|
||||
elog "HVM (VT-x and AMD-V) support has been disabled. If you need hvm"
|
||||
elog "support enable the hvm use flag."
|
||||
elog "An x86 or amd64 system is required to build HVM support."
|
||||
fi
|
||||
|
||||
if use qemu; then
|
||||
elog "The qemu-bridge-helper is renamed to the xen-bridge-helper in the in source"
|
||||
elog "build of qemu. This allows for app-emulation/qemu to be emerged concurrently"
|
||||
elog "with the qemu capable xen. It is up to the user to distinguish between and utilise"
|
||||
elog "the qemu-bridge-helper and the xen-bridge-helper. File bugs of any issues that arise"
|
||||
fi
|
||||
}
|
@ -1,5 +1,7 @@
|
||||
DIST xen-4.13.2-upstream-patches-1.tar.xz 15832 BLAKE2B 4e20a1e2d575ed7e1d21f3b34ed0d8bf6e1405cb39cc5c6ffc099614ea833ac9794bfcfcdea0893fdf81b318f536017ac3a023ad096bc8a8c7390c01f1d513ed SHA512 48dda9dadec1e87fb7b6952636e73057f6e0a5501f9727d05ac636fd47747194501db709c8ffa7154e79b6b612a98b658a03bc083c5065ff851ac57f454b599e
|
||||
DIST xen-4.13.2-upstream-patches-2.tar.xz 58992 BLAKE2B 535d67ae6a30e23feb975172a9e4abd6d7feb6c8c969aa243fdf672ed6580fe46bf57ea5530eab70457e22af9163f95061fdf97d10faa3be9f4c92033187c950 SHA512 6b6cdf72d13c0e595be65e3107c0f68299e932b74d4a1c4d59bfe3be8b76840c47f6adeaddd0efac71d5158cee8d778a0be863eea8f032cb9acf4191f629d8ae
|
||||
DIST xen-4.13.2-upstream-patches-3.tar.xz 63660 BLAKE2B 80abc9529ff49e782b64d4b5032f724e7d95fd255c2a06b7065c693d5765e1db1df44ebd5ce00c5a1e1ff24e1e5d344b0c2e459c68282e58fa20963e208272d2 SHA512 35288a1feac1316c33586dad55685e2c6a30100795e31852f78455003ce3dd6906074bea023655ee545a97fe4a0a8ad9a05ab91fd83186e61e5b57d10aa6b155
|
||||
DIST xen-4.13.2.tar.gz 39037826 BLAKE2B ad2b7c3003ca29e5e60a85c581f706ef87d99eadf939ed36ebe8f6698582f7a29dbdaf502039b60a0afe7ad4ae6ce89713e69dc8b8a7d5abe65063da7f1baa5b SHA512 cd3092281c97e9421e303aa288aac04dcccd5536ba7c0ff4d51fbf3d07b5ffacfe3456ba06f5cf63577dafbf8cf3a5d9825ceb5e9ef8ca1427900cc3e57b50a3
|
||||
DIST xen-4.14.0-upstream-patches-6.tar.xz 119116 BLAKE2B e3a0f807182d32754c6ae2000324237117cfa66c4a43c27b583b6aef69a3889949779751b71a87b2538f679fb481e8a723433950c689f28a8c2e96278c1b0ddb SHA512 03b1fdc08e74756001fbb0de4e21297456f63615e6f63b8f360f8270ef85b0d50c3872be41cc26529ed0d91d82ffda2af53882b7c5233113f223a4ec813a0d5b
|
||||
DIST xen-4.14.0.tar.gz 39950576 BLAKE2B db4c3e79cfdfb10260d0d14d9d28e8c8bd9bf23f42aee743acf8f560bf4cdb96a425c0df887c70f9755f62680be24bfbe0149e52a4cb843ae83090cd9d6afc71 SHA512 ebce47a2f754955d8517123d69f62006634d97620fbbe3784869a0667466e586a249f57ffaf7846d5bcb45d69377cde43354c82c233fbb5407e55653b9a33ac0
|
||||
DIST xen-4.14.1.tar.gz 39970115 BLAKE2B 21e5838b2b4d78420dcaaae2b8fc98ac876230217e6a3764aa643920150b8cef96025663e6a2fc423ab15f7f470b62547e91ce1be0337fc78f00c148c7ff40ab SHA512 c75cbec82793435f5a7026626ffdb2e9a2166b42d2be4b2f1194240e0312458124f0ebd53eeb02ce7330c22afe402a28a96b32f8af66e41e9416fe94535724c9
|
||||
|
@ -0,0 +1,165 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{6..9} )
|
||||
|
||||
inherit flag-o-matic mount-boot multilib python-any-r1 toolchain-funcs
|
||||
|
||||
MY_PV=${PV/_/-}
|
||||
MY_P=${PN}-${MY_PV}
|
||||
|
||||
if [[ $PV == *9999 ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="git://xenbits.xen.org/xen.git"
|
||||
SRC_URI=""
|
||||
else
|
||||
KEYWORDS="~amd64 ~arm -x86"
|
||||
UPSTREAM_VER=3
|
||||
SECURITY_VER=
|
||||
GENTOO_VER=
|
||||
|
||||
[[ -n ${UPSTREAM_VER} ]] && \
|
||||
UPSTREAM_PATCHSET_URI="https://dev.gentoo.org/~dlan/distfiles/${P}-upstream-patches-${UPSTREAM_VER}.tar.xz
|
||||
https://github.com/hydrapolic/gentoo-dist/raw/master/xen/${P}-upstream-patches-${UPSTREAM_VER}.tar.xz"
|
||||
[[ -n ${SECURITY_VER} ]] && \
|
||||
SECURITY_PATCHSET_URI="https://dev.gentoo.org/~dlan/distfiles/${PN}-security-patches-${SECURITY_VER}.tar.xz"
|
||||
[[ -n ${GENTOO_VER} ]] && \
|
||||
GENTOO_PATCHSET_URI="https://dev.gentoo.org/~dlan/distfiles/${PN}-gentoo-patches-${GENTOO_VER}.tar.xz"
|
||||
SRC_URI="https://downloads.xenproject.org/release/xen/${MY_PV}/${MY_P}.tar.gz
|
||||
${UPSTREAM_PATCHSET_URI}
|
||||
${SECURITY_PATCHSET_URI}
|
||||
${GENTOO_PATCHSET_URI}"
|
||||
fi
|
||||
|
||||
DESCRIPTION="The Xen virtual machine monitor"
|
||||
HOMEPAGE="https://www.xenproject.org"
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE="debug efi flask"
|
||||
|
||||
DEPEND="${PYTHON_DEPS}
|
||||
efi? ( >=sys-devel/binutils-2.22[multitarget] )
|
||||
!efi? ( >=sys-devel/binutils-2.22 )"
|
||||
RDEPEND=""
|
||||
PDEPEND="~app-emulation/xen-tools-${PV}"
|
||||
|
||||
# no tests are available for the hypervisor
|
||||
# prevent the silliness of /usr/lib/debug/usr/lib/debug files
|
||||
# prevent stripping of the debug info from the /usr/lib/debug/xen-syms
|
||||
RESTRICT="test splitdebug strip"
|
||||
|
||||
# Approved by QA team in bug #144032
|
||||
QA_WX_LOAD="boot/xen-syms-${PV}"
|
||||
|
||||
REQUIRED_USE="arm? ( debug )"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
pkg_setup() {
|
||||
python-any-r1_pkg_setup
|
||||
if [[ -z ${XEN_TARGET_ARCH} ]]; then
|
||||
if use amd64; then
|
||||
export XEN_TARGET_ARCH="x86_64"
|
||||
elif use arm; then
|
||||
export XEN_TARGET_ARCH="arm32"
|
||||
elif use arm64; then
|
||||
export XEN_TARGET_ARCH="arm64"
|
||||
else
|
||||
die "Unsupported architecture!"
|
||||
fi
|
||||
fi
|
||||
|
||||
if use flask ; then
|
||||
export "XSM_ENABLE=y"
|
||||
export "FLASK_ENABLE=y"
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Upstream's patchset
|
||||
[[ -n ${UPSTREAM_VER} ]] && eapply "${WORKDIR}"/patches-upstream
|
||||
|
||||
# Security patchset
|
||||
if [[ -n ${SECURITY_VER} ]]; then
|
||||
einfo "Try to apply Xen Security patch set"
|
||||
# apply main xen patches
|
||||
# Two parallel systems, both work side by side
|
||||
# Over time they may concdense into one. This will suffice for now
|
||||
source "${WORKDIR}"/patches-security/${PV}.conf
|
||||
|
||||
local i
|
||||
for i in ${XEN_SECURITY_MAIN}; do
|
||||
eapply "${WORKDIR}"/patches-security/xen/$i
|
||||
done
|
||||
fi
|
||||
|
||||
# Gentoo's patchset
|
||||
[[ -n ${GENTOO_VER} ]] && eapply "${WORKDIR}"/patches-gentoo
|
||||
|
||||
eapply "${FILESDIR}"/${PN}-4.11-efi.patch
|
||||
|
||||
# Drop .config
|
||||
sed -e '/-include $(XEN_ROOT)\/.config/d' -i Config.mk || die "Couldn't drop"
|
||||
|
||||
if use efi; then
|
||||
export EFI_VENDOR="gentoo"
|
||||
export EFI_MOUNTPOINT="/boot"
|
||||
fi
|
||||
|
||||
default
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
use arm && myopt="${myopt} CONFIG_EARLY_PRINTK=sun7i"
|
||||
|
||||
use debug && myopt="${myopt} debug=y"
|
||||
|
||||
# remove flags
|
||||
unset CFLAGS
|
||||
unset LDFLAGS
|
||||
unset ASFLAGS
|
||||
|
||||
tc-ld-disable-gold # Bug 700374
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# Send raw LDFLAGS so that --as-needed works
|
||||
emake V=1 CC="$(tc-getCC)" LDFLAGS="$(raw-ldflags)" LD="$(tc-getLD)" -C xen ${myopt}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local myopt
|
||||
use debug && myopt="${myopt} debug=y"
|
||||
|
||||
# The 'make install' doesn't 'mkdir -p' the subdirs
|
||||
if use efi; then
|
||||
mkdir -p "${D}"${EFI_MOUNTPOINT}/efi/${EFI_VENDOR} || die
|
||||
fi
|
||||
|
||||
emake LDFLAGS="$(raw-ldflags)" DESTDIR="${D}" -C xen ${myopt} install
|
||||
|
||||
# make install likes to throw in some extra EFI bits if it built
|
||||
use efi || rm -rf "${D}/usr/$(get_libdir)/efi"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "Official Xen Guide:"
|
||||
elog " https://wiki.gentoo.org/wiki/Xen"
|
||||
|
||||
use efi && einfo "The efi executable is installed in /boot/efi/gentoo"
|
||||
|
||||
elog "You can optionally block the installation of /boot/xen-syms by an entry"
|
||||
elog "in folder /etc/portage/env using the portage's feature INSTALL_MASK"
|
||||
elog "e.g. echo ${msg} > /etc/portage/env/xen.conf"
|
||||
|
||||
ewarn
|
||||
ewarn "Xen 4.12+ changed the default scheduler to credit2 which can cause"
|
||||
ewarn "domU lockups on multi-cpu systems. The legacy credit scheduler seems"
|
||||
ewarn "to work fine."
|
||||
ewarn
|
||||
ewarn "Add sched=credit to xen command line options to use the legacy scheduler."
|
||||
ewarn
|
||||
ewarn "https://wiki.gentoo.org/wiki/Xen#Xen_domU_hanging_with_Xen_4.12.2B"
|
||||
}
|
@ -0,0 +1,165 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{6..9} )
|
||||
|
||||
inherit flag-o-matic mount-boot multilib python-any-r1 toolchain-funcs
|
||||
|
||||
MY_PV=${PV/_/-}
|
||||
MY_P=${PN}-${MY_PV}
|
||||
|
||||
if [[ $PV == *9999 ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="git://xenbits.xen.org/xen.git"
|
||||
SRC_URI=""
|
||||
else
|
||||
KEYWORDS="~amd64 ~arm -x86"
|
||||
UPSTREAM_VER=
|
||||
SECURITY_VER=
|
||||
GENTOO_VER=
|
||||
|
||||
[[ -n ${UPSTREAM_VER} ]] && \
|
||||
UPSTREAM_PATCHSET_URI="https://dev.gentoo.org/~dlan/distfiles/${P}-upstream-patches-${UPSTREAM_VER}.tar.xz
|
||||
https://github.com/hydrapolic/gentoo-dist/raw/master/xen/${P}-upstream-patches-${UPSTREAM_VER}.tar.xz"
|
||||
[[ -n ${SECURITY_VER} ]] && \
|
||||
SECURITY_PATCHSET_URI="https://dev.gentoo.org/~dlan/distfiles/${PN}-security-patches-${SECURITY_VER}.tar.xz"
|
||||
[[ -n ${GENTOO_VER} ]] && \
|
||||
GENTOO_PATCHSET_URI="https://dev.gentoo.org/~dlan/distfiles/${PN}-gentoo-patches-${GENTOO_VER}.tar.xz"
|
||||
SRC_URI="https://downloads.xenproject.org/release/xen/${MY_PV}/${MY_P}.tar.gz
|
||||
${UPSTREAM_PATCHSET_URI}
|
||||
${SECURITY_PATCHSET_URI}
|
||||
${GENTOO_PATCHSET_URI}"
|
||||
fi
|
||||
|
||||
DESCRIPTION="The Xen virtual machine monitor"
|
||||
HOMEPAGE="https://www.xenproject.org"
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE="debug efi flask"
|
||||
|
||||
DEPEND="${PYTHON_DEPS}
|
||||
efi? ( >=sys-devel/binutils-2.22[multitarget] )
|
||||
!efi? ( >=sys-devel/binutils-2.22 )"
|
||||
RDEPEND=""
|
||||
PDEPEND="~app-emulation/xen-tools-${PV}"
|
||||
|
||||
# no tests are available for the hypervisor
|
||||
# prevent the silliness of /usr/lib/debug/usr/lib/debug files
|
||||
# prevent stripping of the debug info from the /usr/lib/debug/xen-syms
|
||||
RESTRICT="test splitdebug strip"
|
||||
|
||||
# Approved by QA team in bug #144032
|
||||
QA_WX_LOAD="boot/xen-syms-${PV}"
|
||||
|
||||
REQUIRED_USE="arm? ( debug )"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
pkg_setup() {
|
||||
python-any-r1_pkg_setup
|
||||
if [[ -z ${XEN_TARGET_ARCH} ]]; then
|
||||
if use amd64; then
|
||||
export XEN_TARGET_ARCH="x86_64"
|
||||
elif use arm; then
|
||||
export XEN_TARGET_ARCH="arm32"
|
||||
elif use arm64; then
|
||||
export XEN_TARGET_ARCH="arm64"
|
||||
else
|
||||
die "Unsupported architecture!"
|
||||
fi
|
||||
fi
|
||||
|
||||
if use flask ; then
|
||||
export "XSM_ENABLE=y"
|
||||
export "FLASK_ENABLE=y"
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Upstream's patchset
|
||||
[[ -n ${UPSTREAM_VER} ]] && eapply "${WORKDIR}"/patches-upstream
|
||||
|
||||
# Security patchset
|
||||
if [[ -n ${SECURITY_VER} ]]; then
|
||||
einfo "Try to apply Xen Security patch set"
|
||||
# apply main xen patches
|
||||
# Two parallel systems, both work side by side
|
||||
# Over time they may concdense into one. This will suffice for now
|
||||
source "${WORKDIR}"/patches-security/${PV}.conf
|
||||
|
||||
local i
|
||||
for i in ${XEN_SECURITY_MAIN}; do
|
||||
eapply "${WORKDIR}"/patches-security/xen/$i
|
||||
done
|
||||
fi
|
||||
|
||||
# Gentoo's patchset
|
||||
[[ -n ${GENTOO_VER} ]] && eapply "${WORKDIR}"/patches-gentoo
|
||||
|
||||
eapply "${FILESDIR}"/${PN}-4.14-efi.patch
|
||||
|
||||
# Drop .config
|
||||
sed -e '/-include $(XEN_ROOT)\/.config/d' -i Config.mk || die "Couldn't drop"
|
||||
|
||||
if use efi; then
|
||||
export EFI_VENDOR="gentoo"
|
||||
export EFI_MOUNTPOINT="/boot"
|
||||
fi
|
||||
|
||||
default
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
use arm && myopt="${myopt} CONFIG_EARLY_PRINTK=sun7i"
|
||||
|
||||
use debug && myopt="${myopt} debug=y"
|
||||
|
||||
# remove flags
|
||||
unset CFLAGS
|
||||
unset LDFLAGS
|
||||
unset ASFLAGS
|
||||
|
||||
tc-ld-disable-gold # Bug 700374
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# Send raw LDFLAGS so that --as-needed works
|
||||
emake V=1 CC="$(tc-getCC)" LDFLAGS="$(raw-ldflags)" LD="$(tc-getLD)" -C xen ${myopt}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local myopt
|
||||
use debug && myopt="${myopt} debug=y"
|
||||
|
||||
# The 'make install' doesn't 'mkdir -p' the subdirs
|
||||
if use efi; then
|
||||
mkdir -p "${D}"${EFI_MOUNTPOINT}/efi/${EFI_VENDOR} || die
|
||||
fi
|
||||
|
||||
emake LDFLAGS="$(raw-ldflags)" DESTDIR="${D}" -C xen ${myopt} install
|
||||
|
||||
# make install likes to throw in some extra EFI bits if it built
|
||||
use efi || rm -rf "${D}/usr/$(get_libdir)/efi"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "Official Xen Guide:"
|
||||
elog " https://wiki.gentoo.org/wiki/Xen"
|
||||
|
||||
use efi && einfo "The efi executable is installed in /boot/efi/gentoo"
|
||||
|
||||
elog "You can optionally block the installation of /boot/xen-syms by an entry"
|
||||
elog "in folder /etc/portage/env using the portage's feature INSTALL_MASK"
|
||||
elog "e.g. echo ${msg} > /etc/portage/env/xen.conf"
|
||||
|
||||
ewarn
|
||||
ewarn "Xen 4.12+ changed the default scheduler to credit2 which can cause"
|
||||
ewarn "domU lockups on multi-cpu systems. The legacy credit scheduler seems"
|
||||
ewarn "to work fine."
|
||||
ewarn
|
||||
ewarn "Add sched=credit to xen command line options to use the legacy scheduler."
|
||||
ewarn
|
||||
ewarn "https://wiki.gentoo.org/wiki/Xen#Xen_domU_hanging_with_Xen_4.12.2B"
|
||||
}
|
Binary file not shown.
@ -1 +1,2 @@
|
||||
DIST libnumbertext-1.0.6.tar.xz 283416 BLAKE2B d02a521db19a21c6036412f902af7227d7442ca25d38e5e35339f74c8ee6e275ed085aeb4c4f07f998bcdc33ac62be84ce6915dd430594dedad1fa0f65b388b6 SHA512 0b2a5226f363af9a6df90f788f6cdc5fe95ddb524d96ad2db1caf2e7f414649ce2975eae3c9e5fceecbf825a90c736a0717b02ec9671e980ab9cfb3e2df73b8d
|
||||
DIST libnumbertext-1.0.7.tar.xz 289764 BLAKE2B dc7a340dd1843ac77088fd31d4343b570bba0bd5758b939ad228d9d31a7f283ce9c11cf8a504e0c14464bfc6962911b7d1c075122d3efaa7014180a57d419248 SHA512 7755c713dd9b9b75e486eac7ffbfb418c3bdfefd67ecb149f0e25a339410814bf73296f69a4e009a17f9f21292f0eeafa931aef60596cd3d932dab47278de8c2
|
||||
|
@ -0,0 +1,24 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
DESCRIPTION="Number to number name and money text conversion libraries"
|
||||
HOMEPAGE="https://github.com/Numbertext/libnumbertext"
|
||||
SRC_URI="https://github.com/Numbertext/${PN}/releases/download/${PV}/${P}.tar.xz"
|
||||
|
||||
LICENSE="LGPL-3+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--disable-static \
|
||||
--disable-werror
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
find "${D}" -name '*.la' -type f -delete || die
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST poppler-20.11.0.tar.xz 1648432 BLAKE2B 373464ba60ed84863b40eca2e4f99ebc1625ea06f68a1621165675cf46e70713b649f90630049d15c5c2bc59bd0befb437a4039b47e17509d4fcc4fed8586d53 SHA512 c8237e931ef20d939656e2600453fffb12a2beeafb273782b2069aec6e5915d8cc85136982b7eaf5956af30ce00da2faf84d86ffab47f725447dfbb9d6ffe335
|
||||
DIST poppler-20.12.1.tar.xz 1660164 BLAKE2B b96198be824dad6bde3ed89cbd05ebae001914c253d1b95321088ee209c73134efbb7f0044aa5d20c07d35b2460f5d17171810f36b873d2542e4bc93f423273f SHA512 a7ede8b11ce73c724fc54bc1e522ecfedaff65a08265c5faee4645765f1d6670a35abf67e57bdebacfd01b2071f1c532a04b9e302939a500fea9185f6e8226d0
|
||||
DIST poppler-21.01.0.tar.xz 1680536 BLAKE2B 5f8d283cd26f4713c09b0c102dd3295bc7ae1c2ad2ba0f51d12fdaed5f89a864d98d10be7176e17c5613aa4579da3bea1aca56aff3cec4e5c53e977a1e84659f SHA512 aec130446df73a2fc66851a563a14cb40299212a2de4a0d03668b0fecb28312fffa70d0a82431c774d0c0e3f7293788bd2bdf28c8136aa09ad80edbca4cf0ddd
|
||||
DIST poppler-21.02.0.tar.xz 1684496 BLAKE2B f62399a70baa0af36abd9bf7f5bc69003fcdc9b668a64475a6373dbdd9885092a8beb42f887eafdafac5ee17e9aac5b610bad1c9a64af8112e72c82f47e6a304 SHA512 3964990749f38f4468b244c579ff1f2dab7357dfddecb3035d14d3aaeac6ee4be42e76b4a1cc1a8cf53715518def9e92cc59d08c1e22592ced00a9c948989035
|
||||
|
@ -0,0 +1,122 @@
|
||||
# Copyright 2005-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit cmake toolchain-funcs xdg-utils
|
||||
|
||||
if [[ ${PV} == *9999* ]] ; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://anongit.freedesktop.org/git/poppler/poppler.git"
|
||||
SLOT="0/9999"
|
||||
else
|
||||
SRC_URI="https://poppler.freedesktop.org/${P}.tar.xz"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
SLOT="0/107" # CHECK THIS WHEN BUMPING!!! SUBSLOT IS libpoppler.so SOVERSION
|
||||
fi
|
||||
|
||||
DESCRIPTION="PDF rendering library based on the xpdf-3.0 code base"
|
||||
HOMEPAGE="https://poppler.freedesktop.org/"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
IUSE="cairo cjk curl +cxx debug doc +introspection +jpeg +jpeg2k +lcms nss png qt5 tiff +utils"
|
||||
|
||||
# No test data provided
|
||||
RESTRICT="test"
|
||||
|
||||
BDEPEND="
|
||||
dev-util/glib-utils
|
||||
virtual/pkgconfig
|
||||
"
|
||||
DEPEND="
|
||||
media-libs/fontconfig
|
||||
media-libs/freetype
|
||||
sys-libs/zlib
|
||||
cairo? (
|
||||
dev-libs/glib:2
|
||||
x11-libs/cairo
|
||||
introspection? ( dev-libs/gobject-introspection:= )
|
||||
)
|
||||
curl? ( net-misc/curl )
|
||||
jpeg? ( virtual/jpeg:0 )
|
||||
jpeg2k? ( >=media-libs/openjpeg-2.3.0-r1:2= )
|
||||
lcms? ( media-libs/lcms:2 )
|
||||
nss? ( >=dev-libs/nss-3.19:0 )
|
||||
png? ( media-libs/libpng:0= )
|
||||
qt5? (
|
||||
dev-qt/qtcore:5
|
||||
dev-qt/qtgui:5
|
||||
dev-qt/qtxml:5
|
||||
)
|
||||
tiff? ( media-libs/tiff:0 )
|
||||
"
|
||||
RDEPEND="${DEPEND}
|
||||
cjk? ( app-text/poppler-data )
|
||||
"
|
||||
|
||||
DOCS=( AUTHORS NEWS README.md README-XPDF )
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-20.12.1-qt5-deps.patch"
|
||||
"${FILESDIR}/${PN}-20.12.0-respect-cflags.patch"
|
||||
"${FILESDIR}/${PN}-0.57.0-disable-internal-jpx.patch"
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
cmake_src_prepare
|
||||
|
||||
# Clang doesn't grok this flag, the configure nicely tests that, but
|
||||
# cmake just uses it, so remove it if we use clang
|
||||
if [[ ${CC} == clang ]] ; then
|
||||
sed -e 's/-fno-check-new//' -i cmake/modules/PopplerMacros.cmake || die
|
||||
fi
|
||||
|
||||
if ! grep -Fq 'cmake_policy(SET CMP0002 OLD)' CMakeLists.txt ; then
|
||||
sed -e '/^cmake_minimum_required/acmake_policy(SET CMP0002 OLD)' \
|
||||
-i CMakeLists.txt || die
|
||||
else
|
||||
einfo "policy(SET CMP0002 OLD) - workaround can be removed"
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
xdg_environment_reset
|
||||
local mycmakeargs=(
|
||||
-DBUILD_GTK_TESTS=OFF
|
||||
-DBUILD_QT5_TESTS=OFF
|
||||
-DBUILD_CPP_TESTS=OFF
|
||||
-DRUN_GPERF_IF_PRESENT=OFF
|
||||
-DENABLE_SPLASH=ON
|
||||
-DENABLE_ZLIB=ON
|
||||
-DENABLE_ZLIB_UNCOMPRESS=OFF
|
||||
-DENABLE_UNSTABLE_API_ABI_HEADERS=ON
|
||||
-DUSE_FLOAT=OFF
|
||||
-DWITH_Cairo=$(usex cairo)
|
||||
-DENABLE_LIBCURL=$(usex curl)
|
||||
-DENABLE_CPP=$(usex cxx)
|
||||
-DWITH_JPEG=$(usex jpeg)
|
||||
-DENABLE_DCTDECODER=$(usex jpeg libjpeg none)
|
||||
-DENABLE_LIBOPENJPEG=$(usex jpeg2k openjpeg2 none)
|
||||
-DENABLE_CMS=$(usex lcms lcms2 none)
|
||||
-DWITH_NSS3=$(usex nss)
|
||||
-DWITH_PNG=$(usex png)
|
||||
$(cmake_use_find_package qt5 Qt5Core)
|
||||
-DWITH_TIFF=$(usex tiff)
|
||||
-DENABLE_UTILS=$(usex utils)
|
||||
-DENABLE_QT6=OFF
|
||||
)
|
||||
use cairo && mycmakeargs+=( -DWITH_GObjectIntrospection=$(usex introspection) )
|
||||
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake_src_install
|
||||
|
||||
# live version doesn't provide html documentation
|
||||
if use cairo && use doc && [[ ${PV} != *9999* ]]; then
|
||||
# For now install gtk-doc there
|
||||
insinto /usr/share/gtk-doc/html/poppler
|
||||
doins -r "${S}"/glib/reference/html/*
|
||||
fi
|
||||
}
|
Binary file not shown.
@ -1 +1 @@
|
||||
DIST sqlcl-20.3.0.274.1916.zip 36309483 BLAKE2B 10051c6880da74a2803c3dedef4ff397eecfc92fb57ca3a7432d32041a2a255ce30cd4b69d242bcea182a30c200b89105fff40c0419cac371c99dfaee192b18c SHA512 b170bfb5ed31ccbf69b75f1ec7c2b292cb8d0bc70c8489ee6c42c288b54153ef8b8b2e4e0511dac1522d9b6cd161f66adc50d85574e8e8f3b7802d3a9f91a70b
|
||||
DIST sqlcl-20.4.1.351.1718.zip 36694031 BLAKE2B e2c3548676223891afdf346ed5e9e3150557251e017cc6b13709f00998113a9fe44d20fa5e5969b7c4671c88b9daec77dc7f730437e1be71fd93f1f542a7c4d5 SHA512 14efb04f87da6b3e93edbc654164ee25fe8258bcc5ba91ff2e42e10d036e493e0e65c2e82795ba7ac93055af7d2d923e35573e63dbd3f22c2241bd3041c3e56d
|
||||
|
@ -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
|
||||
|
||||
EAPI=7
|
Binary file not shown.
@ -1 +1,2 @@
|
||||
DIST granite-5.2.5.tar.gz 392987 BLAKE2B 507c3b810b750257a66195b45842a7664eb544f86a8606124d30d277c03680296f1ace7a9233d6e094ad5ce3357564e13b61d946f8ed926ccf22a5d9b5e98648 SHA512 64a08293bc4b33d77206c7070b4e2002dd8e2da8a358e43074b681a9228790dcb342d3a705cfc0309a7e1e7f498a2a656e972c2fee085ba99fb5214e33758fc3
|
||||
DIST granite-5.5.0.tar.gz 421478 BLAKE2B 9b6e956fcacf5dba722dd999ed3de527a99bd305a2059bdc39fe00d767f0f855e8f3a4d0854fd441203bb5dfbb250669356f85b64e067ddc08e3d6dfc3fb389d SHA512 981ff9aa42146153d8450989513dd6b63cfb6cf2e52cf3e1d2d6380373b30754d9b357418810cfd14a53689a050f08337ca766b5b8496a4063106f78b377f139
|
||||
|
@ -0,0 +1,60 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
VALA_MIN_API_VERSION=0.40
|
||||
BUILD_DIR="${WORKDIR}/${P}-build"
|
||||
|
||||
inherit meson vala xdg
|
||||
|
||||
DESCRIPTION="Elementary OS library that extends GTK+"
|
||||
HOMEPAGE="https://github.com/elementary/granite"
|
||||
SRC_URI="https://github.com/elementary/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-3+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
IUSE="doc"
|
||||
|
||||
BDEPEND="
|
||||
$(vala_depend)
|
||||
virtual/pkgconfig
|
||||
doc? (
|
||||
>=dev-lang/vala-0.40.20[valadoc]
|
||||
dev-util/gtk-doc
|
||||
)
|
||||
"
|
||||
DEPEND="
|
||||
>=dev-libs/glib-2.50:2
|
||||
>=x11-libs/gtk+-3.22:3[introspection]
|
||||
dev-libs/libgee:0.8[introspection]
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
vala_src_prepare
|
||||
|
||||
# Fix docs
|
||||
sed -i "s/find_program('valadoc')/find_program('valadoc-$(vala_best_api_version)')/g" doc/meson.build \
|
||||
|| die "Failed to replace valadoc"
|
||||
find lib/Widgets -type f -name "*.vala" -exec sed -ie "s@{{../doc@{{${BUILD_DIR}/doc@g" {} \; \
|
||||
|| die "Failed to fix docs"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local emesonargs=(
|
||||
$(meson_use doc documentation)
|
||||
)
|
||||
meson_src_configure
|
||||
|
||||
if use doc; then
|
||||
cp -r ./doc/images "${BUILD_DIR}/doc/" || die "Failed to copy doc images"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
use doc && local HTML_DOCS=( "${BUILD_DIR}/doc/granite/html/." )
|
||||
meson_src_install
|
||||
}
|
@ -1,13 +1,20 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<!-- maintainer-needed -->
|
||||
<longdescription lang="en">
|
||||
Granite is a companion library for GTK+ and GLib. Among other things,
|
||||
it provides complex widgets and convenience functions designed for
|
||||
use in apps built for elementary OS.
|
||||
</longdescription>
|
||||
<upstream>
|
||||
<remote-id type="github">elementary/granite</remote-id>
|
||||
</upstream>
|
||||
<maintainer type="person">
|
||||
<email>xgqt@protonmail.com</email>
|
||||
<name>Maciej Barć</name>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>proxy-maint@gentoo.org</email>
|
||||
<name>Proxy Maintainers</name>
|
||||
</maintainer>
|
||||
<longdescription lang="en">
|
||||
Granite is a companion library for GTK+ and GLib.
|
||||
Among other things, it provides complex widgets and convenience
|
||||
functions designed for use in apps built for elementary OS.
|
||||
</longdescription>
|
||||
<upstream>
|
||||
<remote-id type="github">elementary/granite</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
@ -1 +1,2 @@
|
||||
DIST libevdev-1.10.0.tar.xz 445792 BLAKE2B b7638ae85cac8b8d29c3255da1de50a06db9eb97d752b383852c85c32f8f93f31135e9d28acd474695d36d87eba04d455abd99badf6e492c2561893c47f796d2 SHA512 94ab4ee7e0854c41a491d8e4713baa95ae66dd337b41823011c0913aa1c72e8bbf8b808d5936c2ef456af794b6d3a5cd7cd0515fbd1d06dd1b7ba19275bd928f
|
||||
DIST libevdev-1.11.0.tar.xz 445316 BLAKE2B f3c1aa688d83f4a27abec23f18817bbdb7a5911cc30fab694271f620c23273cf20109598edb0049239e78a173baa20471ad1f25266eff34a50ed8898d7b86080 SHA512 b3c6b4a1532c5142f3684b920dcdd497a5368aec516e8c389e2c8f9d1eaba16c907b2a7f2c82a3c3ff89bb4d0ae5503c736098c095f9f1bc98f0668e99bf639d
|
||||
|
@ -0,0 +1,58 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{7,8,9} )
|
||||
|
||||
inherit meson multilib-minimal python-any-r1
|
||||
|
||||
DESCRIPTION="Handler library for evdev events"
|
||||
HOMEPAGE="https://www.freedesktop.org/wiki/Software/libevdev/ https://gitlab.freedesktop.org/libevdev/libevdev"
|
||||
|
||||
if [[ ${PV} == 9999* ]] ; then
|
||||
EGIT_REPO_URI="https://gitlab.freedesktop.org/libevdev/libevdev.git"
|
||||
inherit git-r3
|
||||
else
|
||||
SRC_URI="https://www.freedesktop.org/software/libevdev/${P}.tar.xz"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
|
||||
fi
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
IUSE="doc test"
|
||||
|
||||
DEPEND="test? ( dev-libs/check[${MULTILIB_USEDEP}] )"
|
||||
BDEPEND="
|
||||
${PYTHON_DEPS}
|
||||
doc? ( app-doc/doxygen )
|
||||
virtual/pkgconfig
|
||||
"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
multilib_src_configure() {
|
||||
local emesonargs=(
|
||||
$(meson_feature doc documentation)
|
||||
$(meson_feature test tests)
|
||||
)
|
||||
meson_src_configure
|
||||
}
|
||||
|
||||
multilib_src_compile() {
|
||||
meson_src_compile
|
||||
}
|
||||
|
||||
multilib_src_test() {
|
||||
meson test -v -C "${BUILD_DIR}" -t 100 || die "tests failed"
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
meson_src_install
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
if use doc; then
|
||||
local HTML_DOCS=( doc/html/. )
|
||||
einstalldocs
|
||||
fi
|
||||
}
|
Binary file not shown.
@ -1,2 +1,3 @@
|
||||
DIST ocaml-ssl-0.5.10.tar.gz 33951 BLAKE2B a27cce7e19c3737657cbdba31d919d51d0db137aafddc6397ff018fe36346a8e99b0353c76f4a4bc4dcc7dcf63ec326e87b2ebc809b78de1511963357be280b0 SHA512 f2d0acc8dcdb0a36c8ad236f60c6e9d7f8f76ea25183017218953dbe3432a19de5b0be8214714add71b88b211ac78318f09429d4df7ecba1e19dc94d4414f0e1
|
||||
DIST ocaml-ssl-0.5.3.tar.gz 125431 BLAKE2B e95b6757f27fcac16dda1087880bb49ad854108755719210aeeeebd0e14cfee9b6244986f21ddbf86a970ea4b4f9eb2bb8e0a5a888dafe2a7262f004194a26ba SHA512 c0dc38ab21c8adc104a42ec89b8a58de976205887a23a407f1ffee1181d526ddb8aa91877508f8a974c6df8583d6d8611558a995680e313fc78ad0cac184cf52
|
||||
DIST ocaml-ssl-0.5.9.tar.gz 32721 BLAKE2B c6b1ec659fddf384005f2cb045c0b0c059daaa93bd782904354e12e1ce63432c04c9bdc823dbfd0cd903ce872c91f0a750975cc69a56c9384ef6d09ed46c22cd SHA512 6826e5a6ab9f51013e8d097900f443d091e085e3d2d232a315a0e3a90ca334c9b9779d20dcae267f9ed961bc4a08fcb80372e669389c59a22d5c7706d37fcd5f
|
||||
|
@ -0,0 +1,27 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
DUNE_PKG_NAME="ssl"
|
||||
inherit dune
|
||||
|
||||
DESCRIPTION="OCaml bindings for OpenSSL"
|
||||
HOMEPAGE="https://github.com/savonet/ocaml-ssl"
|
||||
SRC_URI="https://github.com/savonet/ocaml-ssl/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~x86"
|
||||
IUSE="+ocamlopt"
|
||||
|
||||
BDEPEND="dev-ml/dune-configurator"
|
||||
DEPEND="dev-libs/openssl:0=
|
||||
>=dev-lang/ocaml-3.10:=[ocamlopt?]"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_install() {
|
||||
dune_src_install
|
||||
|
||||
dodoc CHANGES README.md
|
||||
}
|
Binary file not shown.
@ -0,0 +1,26 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="7"
|
||||
|
||||
inherit php-pear-r2
|
||||
|
||||
DESCRIPTION="Create and manipulate mime messages with PHP"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86"
|
||||
IUSE="test"
|
||||
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
DEPEND="test? ( dev-php/PEAR-PEAR )"
|
||||
|
||||
src_test() {
|
||||
# Requires the "pear" executable from dev-php/PEAR-PEAR.
|
||||
pear run-tests tests || die
|
||||
|
||||
# The command succeeds regardless of whether or not the test suite
|
||||
# passed, but this file is only written when there was a failure.
|
||||
[[ -f run-tests.log ]] && die "test suite failed"
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST PHP_CodeSniffer-3.5.4.tgz 697668 BLAKE2B f5915bcb73c0db0d8dcab3eda5ab647268888e490d244568f0d0e7fff38c4764cfe62fcc79dabe8095adcef56b1e6d0367d46c36b18d0c4e0fb04a048c697737 SHA512 3e8024aac18111741637f014629eeaf5863b2f080a673e5b379a676fafb69859d1889ae13289b0149a9810641b0a140123a970ae1178fcd2cf6da1c414233bfd
|
||||
DIST PHP_CodeSniffer-3.5.6.tgz 706080 BLAKE2B 1d9d097e7c60f520973a0dff16e6b31c9e259599ded3f58ac6dda2f10419969b03c18d1ce7c38f19a0f3474b0d5cf4afc5abb889f820da0d5d9e8f0574a0a354 SHA512 392c162cc8cb8d8fe455990d7f358cc59f486d8083387dc3bf60af6ca7aa0e75b72ed337f624b08948d8060cc96bd2d03373b7508fb9179da6a4e6b83adf06a7
|
||||
DIST PHP_CodeSniffer-3.5.8.tgz 716472 BLAKE2B e56efedc07a9db63eb2f135d9fef69bf055cef09c23dd9cd1e0efeed865d559b428e9aec06393b1ec1f58d32add92b2773c3d9ce33377f2441de0145560045a8 SHA512 69ef3d86520f541f492c955bd8158664c78aac6ecd4550f2b996f59d882d91f1bec81da9bbd106edc35c4f1a4c260ef2d9a56ec257fc0b4044047b902403065e
|
||||
|
@ -0,0 +1,55 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
DESCRIPTION="Detect violations of PHP code standards"
|
||||
HOMEPAGE="https://github.com/squizlabs/PHP_CodeSniffer"
|
||||
|
||||
# The test suite isn't part of the Github tarball at the moment. Keep an
|
||||
# eye on https://github.com/squizlabs/PHP_CodeSniffer/issues/548
|
||||
SRC_URI="http://download.pear.php.net/package/${P}.tgz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="dev-lang/php:*[cli(-),tokenizer(-),xmlwriter(-)]"
|
||||
DEPEND="test? (
|
||||
${RDEPEND}
|
||||
<dev-php/phpunit-6
|
||||
)"
|
||||
|
||||
DOCS=( CONTRIBUTING.md README.md )
|
||||
|
||||
src_prepare() {
|
||||
sed -i "s~@data_dir@~${EPREFIX}/usr/share/php/data~" src/Config.php || die
|
||||
default
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# The test suite will fail if date.timezone isn't set in php.ini.
|
||||
phpunit -d date.timezone=UTC tests/AllTests.php \
|
||||
|| die "test suite failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local MY_PN="PHP/CodeSniffer" script
|
||||
# The PEAR eclass would install everything into the wrong location.
|
||||
insinto "/usr/share/php/${MY_PN}"
|
||||
doins -r src autoload.php
|
||||
|
||||
insinto "/usr/share/php/data/${MY_PN}"
|
||||
doins CodeSniffer.conf.dist
|
||||
# These load code via relative paths, so they have to be symlinked
|
||||
# and not dobin'd.
|
||||
exeinto "/usr/share/php/${MY_PN}/bin"
|
||||
for script in phpcbf phpcs; do
|
||||
doexe "bin/${script}"
|
||||
dosym "../share/php/${MY_PN}/bin/${script}" "/usr/bin/${script}"
|
||||
done
|
||||
|
||||
einstalldocs
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST adodb-5.20.14.tar.gz 465896 BLAKE2B acd8494141584b0c02c2e30aa59b3916ae811b8095ca724d22f44ed2cb1456b8e8afc7ff9af41e7476f4a93809e762c44a175fd3775b69654107813342b3a47a SHA512 fa9b764742f3edf15e79da7a34ca52b19f51454fa20bc963cce963cdd40f7e78671e993cd672a21e9917aa2440c63601fbf768b5259dccb64b458a5be6f4b0eb
|
||||
DIST adodb-5.20.18.tar.gz 467003 BLAKE2B ea0b007359a4fdada0fface3d5af82c335f2e7efeacdbb66be37914d76bff2783b58b2318531c527d13c3c358800803385c660c8f9372cf4a49269ed7e0c7d51 SHA512 09b04987e20a674a202be3889523b3bada578ea01f07830fed15afafb046687004b4e305a6abf2af795a7b0e3563f6e8afec5b0189f21e5c74b5e84bfbee1cd9
|
||||
DIST adodb-5.20.20.tar.gz 469337 BLAKE2B cffe367e498978b095e28bab565c8af7e02769e4c76977fae7d807c6326d9b4679e319fa84debc9b250d0548e7dcac2e078b4968160490831e2390ce86fbe229 SHA512 2578a594bf9f1b33b5a78bd3e52b9fb73d0457b021a2bca6b5f8d311c0ecb347968a928a1dabd2c8806972dda6ec535fec94d6f792b6f5398aeff587321e5113
|
||||
|
@ -0,0 +1,40 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
MY_PN="ADOdb"
|
||||
DESCRIPTION="Database abstraction layer for PHP"
|
||||
HOMEPAGE="https://adodb.org/ https://github.com/ADOdb/ADOdb"
|
||||
SRC_URI="https://github.com/${MY_PN}/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD LGPL-2.1+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
|
||||
IUSE=""
|
||||
|
||||
# If you want to be picky, we should require that PHP be built with at
|
||||
# least one database driver enabled; otherwise adodb isn't going to be
|
||||
# able to do anything. But, the database USE flags for dev-lang/php are
|
||||
# a mess. What we would *like* to do is have a set of USE flags for
|
||||
# adodb that then propagate to PHP itself... for example, adodb[mysql]
|
||||
# could require php[mysql]. To do that would require that we duplicate
|
||||
# the database USE flag mess for adodb -- not desirable. Instead we punt
|
||||
# and let the user install adodb unconditionally. If he doesn't have
|
||||
# database support in PHP, it just won't work.
|
||||
RDEPEND="dev-lang/php:*"
|
||||
|
||||
S="${WORKDIR}/${MY_PN}-${PV}"
|
||||
|
||||
src_install() {
|
||||
DOCS="README.md docs/changelog*.md xmlschema*.dtd session/*.sql"
|
||||
DOCS+=" session/*.txt session/*.xml pear/auth_adodb_example.php"
|
||||
DOCS+=" pear/readme.Auth.txt"
|
||||
|
||||
dodoc $DOCS
|
||||
rm -f $DOCS || die "failed to remove docs before installation"
|
||||
|
||||
insinto "/usr/share/php/${PN}"
|
||||
doins *.php
|
||||
doins -r contrib datadict drivers lang pear perf replicate session xsl
|
||||
}
|
@ -1,10 +1,3 @@
|
||||
DIST composer-1.10.1.tar.gz 421852 BLAKE2B a40f59ab0af5eba777f1926bab78e55fd1973e53b324eec73fdca70678fc1cfe6f892790a61a66dbdbe07caa03343bfd109318daec99c2c18707785c6bf149e0 SHA512 ebc3ee48bf0d2597e7221e9ac0ab7188e7a99096d5dacdee4176b4c7b4d252d079c117b5bd9131ff38d8963f95930fa9c83fa51ed542d4f7d58276561de1f2b8
|
||||
DIST composer-1.10.10.tar.gz 426836 BLAKE2B 46266e0338e4bad201d6f025ffb3ae6a4441543cb6aeec27502e43127cb6e109a2824960f774d2996b231e469639a6fa6f58f831e82f6a7313364049ddb626e7 SHA512 a859026dc2b6dc5f3bf8a03f305b7eb59339bc13148036c3b23c24a1136cc53c50217277d8877987e441e3de80d97d771d014f2a60e76bb09513827be2ce71e7
|
||||
DIST composer-1.10.13.tar.gz 427175 BLAKE2B f81a108028f8697af9f1e624681fd924d30daa9e7d3b4ec7a6661c517393aa2c33f964b85b73824d24e023acbe0c8ce835b6c3897084b1112fd606c27d7fcf97 SHA512 f16baf2d063ea30b0099f604998857e027b3e2c0c8fbf62aee735d721788e2316261414785ee99945c254ea1e82fc37f72a2b83ee817ecf3aa6521c311e4c53e
|
||||
DIST composer-1.10.15.tar.gz 427919 BLAKE2B 38d2e1c795385dd13bedbf5283cf76b04efb54db8dc72eff05370b9505382e2e43f10e1528f148186edb759a098b948d1fee36ac99ab6a5591858723100a27aa SHA512 f8544632e00a08ec75b327e6eac2c96bff60ba78c238863c8ab6b4d82239997f11140a049df0d6c0338bb7523b52fc3ea6f767b9418f75b51535ccfde44fa68c
|
||||
DIST composer-1.10.5.tar.gz 423065 BLAKE2B 0c8595f3583a692f89294455984aeff2ad9cbf2a39541355cbb736e717baacae8245fa81e6b9fde11dd5bb56ad3a074262f6f8ecb65b4bef9c782ef39887deec SHA512 cdadb2d146afcc140316b83d3b4f4c018d79e8222f6a6207cdd52db75ae9c78e787a509d88a3fe113f8218df2ace56ba2dd043e1b6e6c3dbb5129fd51d8e9925
|
||||
DIST composer-1.10.6.tar.gz 423789 BLAKE2B 74d93e769c660f2c74e0ad5dd3ed5e5279c217552eb6d342ffd43d7fba10647865ade7b284c811f63504e0335e5655eae681cf14ae4d876eb56ff6a306c61268 SHA512 fdc209a82d3adda2728190282327b02d2b71bb9b1a80cbcda3699a826ee56451c997edac13d76e2784ebd4297d413bd46dd47b9538accd4bfe6c569464696779
|
||||
DIST composer-1.10.7.tar.gz 424264 BLAKE2B 9939e4d1f29071ca4467076c13e0ceab32d10282876ebb0a76f41dd3efbd9c40a50dbf278dd0a12b2119d40ff9424c171f07381fbaadb94218b1fdf69f403fdb SHA512 81ece3314cddced101b0be491e40b60d42ef503cef4b1d5598c32f3378f10524004a7a8ef4360453a4cdaaf9d3b986ce07696de075dc424deae7703945f6d577
|
||||
DIST composer-1.10.8.tar.gz 424875 BLAKE2B 5ce0e9f6b2345900640808df5233a8dbc959ba7421eda038d939e426ea5af67c236acad21d15c392bfc413187ea2611d3c587bd6f25b4e7de503b4832e4da54a SHA512 a891dca203667a63b722cd0fa8c05dfe12b07b17addad7ee94ae1db0d0887ce5fccf35985fb8fa3af5f98d2bb8df9cb2e4b9ce386c07617cf8a413b21621983d
|
||||
DIST composer-1.10.9.tar.gz 426433 BLAKE2B 160540a589469a41d470ad455a450ec5424548d1f215adf3ac71a629226fd2432a10fb0d9146dff4797a714e32ba276777f4db86f3ea86019b9792df6ba0da39 SHA512 e8dbdba3b1130a594703c74e6f12d30028247d54e1f08b5ddd904186645da2bbdbfb5b39fbf3098488f413b2311fee101bbbe9fb5ea02b7363a6ed1c28422b9a
|
||||
DIST composer-1.9.3.tar.gz 412212 BLAKE2B fc293a38baaf87cc2581304e1438d48e94a85ca2c5da4eff388b1307dadacb67327d9612211af70f1734872c7a377b8713492839c2d330c9e0e7226206cdc1f6 SHA512 42a37b2187895e06f2dc8c5225a1328377afc408ad28af12d9ef5d15fe083dcf22459ce0f482abfd528683113af5f9fd1a19758294c59c69b59a5bb32e65f2cc
|
||||
DIST composer-1.10.20.tar.gz 429016 BLAKE2B 29dcf1e32974230075e56c9b11e53316a1bada9a6ccf43f3357fc39577abadde566df962bb9bf92cc9806a012fbd70c18aba5daee87090fd10de273643d92ce7 SHA512 5b85ebc6a0612c01bd2dd6f6a57526581a821c1a45163ef85511bd0e629b10dc464776b56fe33be192b2a3f07ce818dc40cf2305d9f65ee10287b2265e198cca
|
||||
DIST composer-2.0.9.tar.gz 493134 BLAKE2B f08818ec05aeebd79501e221b9cef10425c7dd60b9aca17ca8dad2f6967258d6b1a8d0d1b383b0c7dd1214ce6416f666bc30785bcb5978c66051ef2e03d17304 SHA512 4953bcc0d2e9ae61ebbb3615c262ac05762fa0165db2114118eb5c2bb014bc4341b07c3b8739575feacaad92d2460b89486b49f4eb49b80ce4a9de36a1152b48
|
||||
|
@ -1,48 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
DESCRIPTION="Dependency Manager for PHP"
|
||||
HOMEPAGE="https://github.com/composer/composer"
|
||||
SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
dev-lang/php:*[curl]
|
||||
>=dev-php/ca-bundle-1.1.3
|
||||
>=dev-php/psr-log-1.1.0
|
||||
dev-php/fedora-autoloader
|
||||
>=dev-php/json-schema-5.2.7
|
||||
>=dev-php/jsonlint-1.7.1
|
||||
>=dev-php/phar-utils-1.0.1
|
||||
>=dev-php/semver-1.4.2
|
||||
>=dev-php/spdx-licenses-1.5.0
|
||||
>=dev-php/symfony-console-2.8.48
|
||||
>=dev-php/symfony-filesystem-2.8.48
|
||||
>=dev-php/symfony-finder-2.8.49
|
||||
>=dev-php/symfony-process-2.8.48
|
||||
>=dev-php/xdebug-handler-1.3.1"
|
||||
|
||||
src_install() {
|
||||
insinto "/usr/share/${PN}"
|
||||
|
||||
# Composer expects the LICENSE file to be there, and the
|
||||
# easiest thing to do is to give it what it wants.
|
||||
doins -r src res LICENSE
|
||||
|
||||
insinto "/usr/share/${PN}/vendor"
|
||||
newins "${FILESDIR}"/autoload-r1.php autoload.php
|
||||
|
||||
exeinto "/usr/share/${PN}/bin"
|
||||
doexe "bin/${PN}"
|
||||
dosym "../share/${PN}/bin/${PN}" "/usr/bin/${PN}"
|
||||
|
||||
dodoc CHANGELOG.md README.md doc/*.md
|
||||
dodoc -r doc/articles doc/faqs
|
||||
}
|
@ -1,48 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
DESCRIPTION="Dependency Manager for PHP"
|
||||
HOMEPAGE="https://github.com/composer/composer"
|
||||
SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
dev-lang/php:*[curl]
|
||||
>=dev-php/ca-bundle-1.1.3
|
||||
>=dev-php/psr-log-1.1.0
|
||||
dev-php/fedora-autoloader
|
||||
>=dev-php/json-schema-5.2.7
|
||||
>=dev-php/jsonlint-1.7.1
|
||||
>=dev-php/phar-utils-1.0.1
|
||||
>=dev-php/semver-1.4.2
|
||||
>=dev-php/spdx-licenses-1.5.0
|
||||
>=dev-php/symfony-console-2.8.48
|
||||
>=dev-php/symfony-filesystem-2.8.48
|
||||
>=dev-php/symfony-finder-2.8.49
|
||||
>=dev-php/symfony-process-2.8.48
|
||||
>=dev-php/xdebug-handler-1.3.1"
|
||||
|
||||
src_install() {
|
||||
insinto "/usr/share/${PN}"
|
||||
|
||||
# Composer expects the LICENSE file to be there, and the
|
||||
# easiest thing to do is to give it what it wants.
|
||||
doins -r src res LICENSE
|
||||
|
||||
insinto "/usr/share/${PN}/vendor"
|
||||
newins "${FILESDIR}"/autoload-r1.php autoload.php
|
||||
|
||||
exeinto "/usr/share/${PN}/bin"
|
||||
doexe "bin/${PN}"
|
||||
dosym "../share/${PN}/bin/${PN}" "/usr/bin/${PN}"
|
||||
|
||||
dodoc CHANGELOG.md README.md doc/*.md
|
||||
dodoc -r doc/articles doc/faqs
|
||||
}
|
@ -1,48 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
DESCRIPTION="Dependency Manager for PHP"
|
||||
HOMEPAGE="https://github.com/composer/composer"
|
||||
SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
dev-lang/php:*[curl]
|
||||
>=dev-php/ca-bundle-1.1.3
|
||||
>=dev-php/psr-log-1.1.0
|
||||
dev-php/fedora-autoloader
|
||||
>=dev-php/json-schema-5.2.7
|
||||
>=dev-php/jsonlint-1.7.1
|
||||
>=dev-php/phar-utils-1.0.1
|
||||
>=dev-php/semver-1.4.2
|
||||
>=dev-php/spdx-licenses-1.5.0
|
||||
>=dev-php/symfony-console-2.8.48
|
||||
>=dev-php/symfony-filesystem-2.8.48
|
||||
>=dev-php/symfony-finder-2.8.49
|
||||
>=dev-php/symfony-process-2.8.48
|
||||
>=dev-php/xdebug-handler-1.3.1"
|
||||
|
||||
src_install() {
|
||||
insinto "/usr/share/${PN}"
|
||||
|
||||
# Composer expects the LICENSE file to be there, and the
|
||||
# easiest thing to do is to give it what it wants.
|
||||
doins -r src res LICENSE
|
||||
|
||||
insinto "/usr/share/${PN}/vendor"
|
||||
newins "${FILESDIR}"/autoload-r1.php autoload.php
|
||||
|
||||
exeinto "/usr/share/${PN}/bin"
|
||||
doexe "bin/${PN}"
|
||||
dosym "../share/${PN}/bin/${PN}" "/usr/bin/${PN}"
|
||||
|
||||
dodoc CHANGELOG.md README.md doc/*.md
|
||||
dodoc -r doc/articles doc/faqs
|
||||
}
|
@ -1,48 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
DESCRIPTION="Dependency Manager for PHP"
|
||||
HOMEPAGE="https://github.com/composer/composer"
|
||||
SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
dev-lang/php:*[curl]
|
||||
>=dev-php/ca-bundle-1.1.3
|
||||
>=dev-php/psr-log-1.1.0
|
||||
dev-php/fedora-autoloader
|
||||
>=dev-php/json-schema-5.2.7
|
||||
>=dev-php/jsonlint-1.7.1
|
||||
>=dev-php/phar-utils-1.0.1
|
||||
>=dev-php/semver-1.4.2
|
||||
>=dev-php/spdx-licenses-1.5.0
|
||||
>=dev-php/symfony-console-2.8.48
|
||||
>=dev-php/symfony-filesystem-2.8.48
|
||||
>=dev-php/symfony-finder-2.8.49
|
||||
>=dev-php/symfony-process-2.8.48
|
||||
>=dev-php/xdebug-handler-1.3.1"
|
||||
|
||||
src_install() {
|
||||
insinto "/usr/share/${PN}"
|
||||
|
||||
# Composer expects the LICENSE file to be there, and the
|
||||
# easiest thing to do is to give it what it wants.
|
||||
doins -r src res LICENSE
|
||||
|
||||
insinto "/usr/share/${PN}/vendor"
|
||||
newins "${FILESDIR}"/autoload-r1.php autoload.php
|
||||
|
||||
exeinto "/usr/share/${PN}/bin"
|
||||
doexe "bin/${PN}"
|
||||
dosym "../share/${PN}/bin/${PN}" "/usr/bin/${PN}"
|
||||
|
||||
dodoc CHANGELOG.md README.md doc/*.md
|
||||
dodoc -r doc/articles doc/faqs
|
||||
}
|
@ -1,48 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
DESCRIPTION="Dependency Manager for PHP"
|
||||
HOMEPAGE="https://github.com/composer/composer"
|
||||
SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
dev-lang/php:*[curl]
|
||||
>=dev-php/ca-bundle-1.1.3
|
||||
>=dev-php/psr-log-1.1.0
|
||||
dev-php/fedora-autoloader
|
||||
>=dev-php/json-schema-5.2.7
|
||||
>=dev-php/jsonlint-1.7.1
|
||||
>=dev-php/phar-utils-1.0.1
|
||||
>=dev-php/semver-1.4.2
|
||||
>=dev-php/spdx-licenses-1.5.0
|
||||
>=dev-php/symfony-console-2.8.48
|
||||
>=dev-php/symfony-filesystem-2.8.48
|
||||
>=dev-php/symfony-finder-2.8.49
|
||||
>=dev-php/symfony-process-2.8.48
|
||||
>=dev-php/xdebug-handler-1.3.1"
|
||||
|
||||
src_install() {
|
||||
insinto "/usr/share/${PN}"
|
||||
|
||||
# Composer expects the LICENSE file to be there, and the
|
||||
# easiest thing to do is to give it what it wants.
|
||||
doins -r src res LICENSE
|
||||
|
||||
insinto "/usr/share/${PN}/vendor"
|
||||
newins "${FILESDIR}"/autoload-r1.php autoload.php
|
||||
|
||||
exeinto "/usr/share/${PN}/bin"
|
||||
doexe "bin/${PN}"
|
||||
dosym "../share/${PN}/bin/${PN}" "/usr/bin/${PN}"
|
||||
|
||||
dodoc CHANGELOG.md README.md doc/*.md
|
||||
dodoc -r doc/articles doc/faqs
|
||||
}
|
@ -1,48 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
DESCRIPTION="Dependency Manager for PHP"
|
||||
HOMEPAGE="https://github.com/composer/composer"
|
||||
SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
dev-lang/php:*[curl]
|
||||
>=dev-php/ca-bundle-1.1.3
|
||||
>=dev-php/psr-log-1.1.0
|
||||
dev-php/fedora-autoloader
|
||||
>=dev-php/json-schema-5.2.7
|
||||
>=dev-php/jsonlint-1.7.1
|
||||
>=dev-php/phar-utils-1.0.1
|
||||
>=dev-php/semver-1.4.2
|
||||
>=dev-php/spdx-licenses-1.5.0
|
||||
>=dev-php/symfony-console-2.8.48
|
||||
>=dev-php/symfony-filesystem-2.8.48
|
||||
>=dev-php/symfony-finder-2.8.49
|
||||
>=dev-php/symfony-process-2.8.48
|
||||
>=dev-php/xdebug-handler-1.3.1"
|
||||
|
||||
src_install() {
|
||||
insinto "/usr/share/${PN}"
|
||||
|
||||
# Composer expects the LICENSE file to be there, and the
|
||||
# easiest thing to do is to give it what it wants.
|
||||
doins -r src res LICENSE
|
||||
|
||||
insinto "/usr/share/${PN}/vendor"
|
||||
newins "${FILESDIR}"/autoload-r1.php autoload.php
|
||||
|
||||
exeinto "/usr/share/${PN}/bin"
|
||||
doexe "bin/${PN}"
|
||||
dosym "../share/${PN}/bin/${PN}" "/usr/bin/${PN}"
|
||||
|
||||
dodoc CHANGELOG.md README.md doc/*.md
|
||||
dodoc -r doc/articles doc/faqs
|
||||
}
|
@ -1,48 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
DESCRIPTION="Dependency Manager for PHP"
|
||||
HOMEPAGE="https://github.com/composer/composer"
|
||||
SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
dev-lang/php:*[curl]
|
||||
>=dev-php/ca-bundle-1.1.3
|
||||
>=dev-php/psr-log-1.1.0
|
||||
dev-php/fedora-autoloader
|
||||
>=dev-php/json-schema-5.2.7
|
||||
>=dev-php/jsonlint-1.7.1
|
||||
>=dev-php/phar-utils-1.0.1
|
||||
>=dev-php/semver-1.4.2
|
||||
>=dev-php/spdx-licenses-1.5.0
|
||||
>=dev-php/symfony-console-2.8.48
|
||||
>=dev-php/symfony-filesystem-2.8.48
|
||||
>=dev-php/symfony-finder-2.8.49
|
||||
>=dev-php/symfony-process-2.8.48
|
||||
>=dev-php/xdebug-handler-1.3.1"
|
||||
|
||||
src_install() {
|
||||
insinto "/usr/share/${PN}"
|
||||
|
||||
# Composer expects the LICENSE file to be there, and the
|
||||
# easiest thing to do is to give it what it wants.
|
||||
doins -r src res LICENSE
|
||||
|
||||
insinto "/usr/share/${PN}/vendor"
|
||||
newins "${FILESDIR}"/autoload-r1.php autoload.php
|
||||
|
||||
exeinto "/usr/share/${PN}/bin"
|
||||
doexe "bin/${PN}"
|
||||
dosym "../share/${PN}/bin/${PN}" "/usr/bin/${PN}"
|
||||
|
||||
dodoc CHANGELOG.md README.md doc/*.md
|
||||
dodoc -r doc/articles doc/faqs
|
||||
}
|
@ -1,48 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
DESCRIPTION="Dependency Manager for PHP"
|
||||
HOMEPAGE="https://github.com/composer/composer"
|
||||
SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
dev-lang/php:*[curl]
|
||||
>=dev-php/ca-bundle-1.1.3
|
||||
>=dev-php/psr-log-1.1.0
|
||||
dev-php/fedora-autoloader
|
||||
>=dev-php/json-schema-5.2.7
|
||||
>=dev-php/jsonlint-1.7.1
|
||||
>=dev-php/phar-utils-1.0.1
|
||||
>=dev-php/semver-1.4.2
|
||||
>=dev-php/spdx-licenses-1.5.0
|
||||
>=dev-php/symfony-console-2.8.48
|
||||
>=dev-php/symfony-filesystem-2.8.48
|
||||
>=dev-php/symfony-finder-2.8.49
|
||||
>=dev-php/symfony-process-2.8.48
|
||||
>=dev-php/xdebug-handler-1.3.1"
|
||||
|
||||
src_install() {
|
||||
insinto "/usr/share/${PN}"
|
||||
|
||||
# Composer expects the LICENSE file to be there, and the
|
||||
# easiest thing to do is to give it what it wants.
|
||||
doins -r src res LICENSE
|
||||
|
||||
insinto "/usr/share/${PN}/vendor"
|
||||
newins "${FILESDIR}"/autoload-r1.php autoload.php
|
||||
|
||||
exeinto "/usr/share/${PN}/bin"
|
||||
doexe "bin/${PN}"
|
||||
dosym "../share/${PN}/bin/${PN}" "/usr/bin/${PN}"
|
||||
|
||||
dodoc CHANGELOG.md README.md doc/*.md
|
||||
dodoc -r doc/articles doc/faqs
|
||||
}
|
@ -0,0 +1,76 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="7"
|
||||
|
||||
DESCRIPTION="Dependency Manager for PHP"
|
||||
HOMEPAGE="https://github.com/composer/composer"
|
||||
SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
RDEPEND="dev-lang/php:*[curl]
|
||||
>=dev-php/ca-bundle-1.0
|
||||
dev-php/fedora-autoloader
|
||||
>=dev-php/jsonlint-1.4
|
||||
>=dev-php/json-schema-5.2.10
|
||||
>=dev-php/phar-utils-1.0
|
||||
>=dev-php/psr-log-1.0
|
||||
>=dev-php/reactphp-promise-2.7
|
||||
>=dev-php/semver-3.0
|
||||
>=dev-php/spdx-licenses-1.2
|
||||
>=dev-php/symfony-console-2.8.52
|
||||
>=dev-php/symfony-filesystem-2.8.52
|
||||
>=dev-php/symfony-finder-2.8.52
|
||||
>=dev-php/symfony-process-2.8.52
|
||||
>=dev-php/xdebug-handler-1.1"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
mkdir vendor || die
|
||||
|
||||
phpab \
|
||||
--output vendor/autoload.php \
|
||||
--template "${FILESDIR}"/autoload.php.tpl \
|
||||
--basedir src \
|
||||
src \
|
||||
|| die
|
||||
|
||||
cat >> vendor/autoload.php <<EOF || die "failed to extend autoload.php"
|
||||
|
||||
// Dependencies
|
||||
\Fedora\Autoloader\Dependencies::required([
|
||||
'/usr/share/php/Composer/CaBundle/autoload.php',
|
||||
'/usr/share/php/Composer/Semver/autoload.php',
|
||||
'/usr/share/php/Composer/Spdx/autoload.php',
|
||||
'/usr/share/php/Composer/XdebugHandler/autoload.php',
|
||||
'/usr/share/php/JsonSchema/autoload.php',
|
||||
'/usr/share/php/Psr/Log/autoload.php',
|
||||
'/usr/share/php/Seld/JsonLint/autoload.php',
|
||||
'/usr/share/php/Seld/PharUtils/autoload.php',
|
||||
'/usr/share/php/Symfony/Component/Console/autoload.php',
|
||||
'/usr/share/php/Symfony/Component/Filesystem/autoload.php',
|
||||
'/usr/share/php/Symfony/Component/Finder/autoload.php',
|
||||
'/usr/share/php/Symfony/Component/Process/autoload.php',
|
||||
'/usr/share/php/React/Promise/autoload.php'
|
||||
]);
|
||||
EOF
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto "/usr/share/${PN}"
|
||||
|
||||
# Composer expects the LICENSE file to be there, and the
|
||||
# easiest thing to do is to give it what it wants.
|
||||
doins -r LICENSE res src vendor
|
||||
|
||||
exeinto "/usr/share/${PN}/bin"
|
||||
doexe "bin/${PN}"
|
||||
dosym "../share/${PN}/bin/${PN}" "/usr/bin/${PN}"
|
||||
|
||||
dodoc CHANGELOG.md README.md doc/*.md
|
||||
dodoc -r doc/articles doc/faqs
|
||||
}
|
@ -0,0 +1,12 @@
|
||||
<?php
|
||||
// @codingStandardsIgnoreFile
|
||||
// @codeCoverageIgnoreStart
|
||||
require_once 'Fedora/Autoloader'.'/autoload.php';
|
||||
|
||||
\Fedora\Autoloader\Autoload::addClassMap(
|
||||
array(
|
||||
___CLASSLIST___,
|
||||
),
|
||||
__DIR__ . '/../src'
|
||||
);
|
||||
// @codeCoverageIgnoreEnd
|
@ -0,0 +1,40 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
MY_PN="${PN/doctrine-//}"
|
||||
|
||||
DESCRIPTION="Utility to instantiate objects in PHP without invoking their constructors"
|
||||
HOMEPAGE="https://github.com/doctrine/instantiator"
|
||||
SRC_URI="https://github.com/doctrine/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86"
|
||||
IUSE=""
|
||||
|
||||
BDEPEND="dev-php/theseer-Autoload"
|
||||
|
||||
RDEPEND="dev-php/fedora-autoloader
|
||||
>=dev-lang/php-7.2:*"
|
||||
|
||||
S="${WORKDIR}/${MY_PN}-${PV}"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
phpab \
|
||||
--output src/Doctrine/Instantiator/autoload.php \
|
||||
--template fedora2 \
|
||||
--basedir src \
|
||||
src \
|
||||
|| die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto /usr/share/php/
|
||||
doins -r src/*
|
||||
|
||||
einstalldocs
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST jsonlint-1.8.2.tar.gz 13729 BLAKE2B 80cbe2e1dc6bcbc0d75d04f34a36deb8b53ebd78bc4dcff0dd1195549ae2eaa02360b642d91c6a848cba9a3f502ed0618937c149663d6d0c9c7ad0f33897b7c1 SHA512 675ae7bf6cddd83bb2fab60f4c2ac4a8b4bf0068e630f266511a1805682cadefc9a44006623448364ceb73c5e211739787643d9196794349b992cca4d5fc737c
|
||||
DIST jsonlint-1.8.3.tar.gz 10588 BLAKE2B af54e4bedb66e28f61c338f5161109cf1df45dc4aea7c5ab27d728aa4ca6cc0c1e76575527abffc0a1ff8b52465cee40935829f71b3b1a0284c0512827b5bc3c SHA512 c2a9a16e9abc048a1899e51cc78995410b8aa44d5afdab30930f7a7d88b174844ac0f547b0d0da83bc4a71ca0457392e586afbc97cef5de36e0dc2e032732bfc
|
||||
|
@ -0,0 +1,36 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
DESCRIPTION="JSON Lint for PHP"
|
||||
HOMEPAGE="https://github.com/Seldaek/jsonlint"
|
||||
SRC_URI="https://github.com/Seldaek/jsonlint/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
BDEPEND="dev-php/theseer-Autoload"
|
||||
|
||||
RDEPEND="dev-php/fedora-autoloader
|
||||
dev-lang/php:*"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
phpab \
|
||||
--output src/Seld/JsonLint/autoload.php \
|
||||
--template fedora2 \
|
||||
--basedir src \
|
||||
src \
|
||||
|| die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto "/usr/share/php/Seld/JsonLint"
|
||||
doins -r src/Seld/JsonLint/.
|
||||
|
||||
einstalldocs
|
||||
}
|
@ -1,72 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="7"
|
||||
|
||||
PHP_EXT_NAME="http"
|
||||
PHP_EXT_PECL_PKG="pecl_http"
|
||||
PHP_EXT_INI="yes"
|
||||
PHP_EXT_ZENDEXT="no"
|
||||
PHP_INI_NAME="50-http"
|
||||
|
||||
USE_PHP="php7-2 php7-3 php7-4 php8-0"
|
||||
|
||||
inherit php-ext-pecl-r3
|
||||
|
||||
USE_PHP="php7-2 php7-3 php7-4"
|
||||
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
DESCRIPTION="Extended HTTP Support for PHP"
|
||||
LICENSE="BSD-2 MIT"
|
||||
SLOT="7"
|
||||
IUSE="ssl curl_ssl_gnutls curl_ssl_libressl curl_ssl_nss +curl_ssl_openssl"
|
||||
|
||||
COMMON_DEPEND="app-arch/brotli:=
|
||||
dev-libs/libevent
|
||||
dev-php/pecl-propro:7[php_targets_php7-2(-)?,php_targets_php7-3(-)?,php_targets_php7-4(-)?]
|
||||
>=dev-php/pecl-raphf-2.0.1:7[php_targets_php7-2(-)?,php_targets_php7-3(-)?,php_targets_php7-4(-)?]
|
||||
net-dns/libidn2
|
||||
sys-libs/zlib
|
||||
ssl? ( net-misc/curl[ssl,curl_ssl_gnutls=,curl_ssl_libressl=,curl_ssl_nss=,curl_ssl_openssl=] )
|
||||
!ssl? ( net-misc/curl[-ssl] )
|
||||
"
|
||||
DEPEND="
|
||||
php_targets_php7-2? ( ${COMMON_DEPEND} dev-lang/php:7.2[hash,session,iconv] )
|
||||
php_targets_php7-3? ( ${COMMON_DEPEND} dev-lang/php:7.3[hash,session,iconv] )
|
||||
php_targets_php7-4? ( ${COMMON_DEPEND} dev-lang/php:7.4[session,iconv] )"
|
||||
RDEPEND="${DEPEND}
|
||||
php_targets_php8-0? ( dev-php/pecl-http:8[php_targets_php8-0(-)] )"
|
||||
|
||||
PHP_EXT_ECONF_ARGS=( --with-http --without-http-shared-deps --without-http-libidn-dir )
|
||||
|
||||
src_prepare() {
|
||||
if use php_targets_php7-2 || use php_targets_php7-3 || use php_targets_php7-4 ; then
|
||||
php-ext-source-r3_src_prepare
|
||||
else
|
||||
default_src_prepare
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
if use php_targets_php7-2 || use php_targets_php7-3 || use php_targets_php7-4 ; then
|
||||
php-ext-pecl-r3_src_install
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# Cannot use eclass function due to required modules
|
||||
# All tests SKIP otherwise
|
||||
for slot in $(php_get_slots); do
|
||||
php_init_slot_env "${slot}"
|
||||
# Link in required modules for testing
|
||||
ln -s "${EXT_DIR}/propro.so" "modules/propro.so" || die
|
||||
ln -s "${EXT_DIR}/raphf.so" "modules/raphf.so" || die
|
||||
sed -i \
|
||||
's/PHP_TEST_SHARED_EXTENSIONS)/PHP_TEST_SHARED_EXTENSIONS) -d extension=propro.so -d extension=raphf.so/' \
|
||||
Makefile || die
|
||||
SKIP_ONLINE_TESTS=yes NO_INTERACTION="yes" emake test
|
||||
# Clean up testing links
|
||||
rm modules/propro.so modules/raphf.so || die
|
||||
done
|
||||
}
|
@ -1,76 +0,0 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="7"
|
||||
|
||||
PHP_EXT_NAME="http"
|
||||
PHP_EXT_PECL_PKG="pecl_http"
|
||||
PHP_EXT_INI="yes"
|
||||
PHP_EXT_ZENDEXT="no"
|
||||
PHP_INI_NAME="50-http"
|
||||
|
||||
USE_PHP="php5-6 php7-1 php7-2 php7-3 php7-4"
|
||||
|
||||
inherit php-ext-pecl-r3
|
||||
|
||||
USE_PHP="php7-1 php7-2 php7-3 php7-4"
|
||||
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
DESCRIPTION="Extended HTTP Support for PHP"
|
||||
LICENSE="BSD-2 MIT"
|
||||
SLOT="7"
|
||||
IUSE="ssl curl_ssl_gnutls curl_ssl_libressl curl_ssl_nss +curl_ssl_openssl"
|
||||
|
||||
DEPEND="app-arch/brotli:=
|
||||
dev-libs/libevent
|
||||
dev-php/pecl-propro:7[php_targets_php7-1?,php_targets_php7-2?,php_targets_php7-3?,php_targets_php7-4?]
|
||||
>=dev-php/pecl-raphf-2.0.1:7[php_targets_php7-1?,php_targets_php7-2?,php_targets_php7-3?,php_targets_php7-4?]
|
||||
net-dns/libidn2
|
||||
sys-libs/zlib
|
||||
ssl? ( net-misc/curl[ssl,curl_ssl_gnutls=,curl_ssl_libressl=,curl_ssl_nss=,curl_ssl_openssl=] )
|
||||
!ssl? ( net-misc/curl[-ssl] )
|
||||
php_targets_php7-1? ( dev-lang/php:7.1[hash,session,iconv] )
|
||||
php_targets_php7-2? ( dev-lang/php:7.2[hash,session,iconv] )
|
||||
php_targets_php7-3? ( dev-lang/php:7.3[hash,session,iconv] )
|
||||
php_targets_php7-4? ( dev-lang/php:7.4[session,iconv] )"
|
||||
RDEPEND="${DEPEND}
|
||||
php_targets_php5-6? ( dev-php/pecl-http:2[php_targets_php5-6] )"
|
||||
|
||||
PHP_EXT_ECONF_ARGS=( --with-http --without-http-shared-deps --without-http-libidn-dir )
|
||||
|
||||
src_prepare() {
|
||||
if use php_targets_php7-1 || use php_targets_php7-2 || use php_targets_php7-3 || use php_targets_php7-4 ; then
|
||||
php-ext-source-r3_src_prepare
|
||||
else
|
||||
default_src_prepare
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
if use php_targets_php7-1 || use php_targets_php7-2 || use php_targets_php7-3 || use php_targets_php7-4 ; then
|
||||
php-ext-pecl-r3_src_install
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# Cannot use eclass function due to required modules
|
||||
# All tests SKIP otherwise
|
||||
for slot in $(php_get_slots); do
|
||||
php_init_slot_env "${slot}"
|
||||
# Link in required modules for testing
|
||||
ln -s "${EXT_DIR}/propro.so" "modules/propro.so" || die
|
||||
ln -s "${EXT_DIR}/raphf.so" "modules/raphf.so" || die
|
||||
sed -i \
|
||||
's/PHP_TEST_SHARED_EXTENSIONS)/PHP_TEST_SHARED_EXTENSIONS) -d extension=propro.so -d extension=raphf.so/' \
|
||||
Makefile || die
|
||||
SKIP_ONLINE_TESTS=yes NO_INTERACTION="yes" emake test
|
||||
# Clean up testing links
|
||||
rm modules/propro.so modules/raphf.so || die
|
||||
done
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
ewarn "This API has drastically changed and is not compatible with the 1.x syntax."
|
||||
ewarn "Please review the documentation and update your code."
|
||||
}
|
@ -1,70 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="7"
|
||||
|
||||
PHP_EXT_NAME="http"
|
||||
PHP_EXT_PECL_PKG="pecl_http"
|
||||
PHP_EXT_INI="yes"
|
||||
PHP_EXT_ZENDEXT="no"
|
||||
PHP_INI_NAME="50-http"
|
||||
|
||||
USE_PHP="php7-2 php7-3 php7-4 php8-0"
|
||||
|
||||
inherit php-ext-pecl-r3
|
||||
|
||||
USE_PHP="php8-0"
|
||||
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
DESCRIPTION="Extended HTTP Support for PHP"
|
||||
LICENSE="BSD-2 MIT"
|
||||
SLOT="8"
|
||||
IUSE="ssl curl_ssl_gnutls curl_ssl_libressl curl_ssl_nss +curl_ssl_openssl"
|
||||
|
||||
COMMON_DEPEND="app-arch/brotli:=
|
||||
dev-libs/libevent
|
||||
>=dev-php/pecl-raphf-2.0.1:7[php_targets_php8-0(-)?]
|
||||
net-dns/libidn2
|
||||
sys-libs/zlib
|
||||
ssl? ( net-misc/curl[ssl,curl_ssl_gnutls=,curl_ssl_libressl=,curl_ssl_nss=,curl_ssl_openssl=] )
|
||||
!ssl? ( net-misc/curl[-ssl] )
|
||||
"
|
||||
DEPEND="
|
||||
php_targets_php8-0? ( ${COMMON_DEPEND} dev-lang/php:8.0[session,iconv] )"
|
||||
RDEPEND="${DEPEND}
|
||||
php_targets_php7-2? ( dev-php/pecl-http:7[php_targets_php7-2(-)] )
|
||||
php_targets_php7-3? ( dev-php/pecl-http:7[php_targets_php7-3(-)] )
|
||||
php_targets_php7-4? ( dev-php/pecl-http:7[php_targets_php7-4(-)] )"
|
||||
|
||||
PHP_EXT_ECONF_ARGS=( --with-http --without-http-shared-deps --without-http-libidn-dir )
|
||||
|
||||
src_prepare() {
|
||||
if use php_targets_php8-0 ; then
|
||||
php-ext-source-r3_src_prepare
|
||||
else
|
||||
default_src_prepare
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
if use php_targets_php8-0 ; then
|
||||
php-ext-pecl-r3_src_install
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# Cannot use eclass function due to required modules
|
||||
# All tests SKIP otherwise
|
||||
for slot in $(php_get_slots); do
|
||||
php_init_slot_env "${slot}"
|
||||
# Link in required modules for testing
|
||||
ln -s "${EXT_DIR}/raphf.so" "modules/raphf.so" || die
|
||||
sed -i \
|
||||
's/PHP_TEST_SHARED_EXTENSIONS)/PHP_TEST_SHARED_EXTENSIONS) -d extension=raphf/' \
|
||||
Makefile || die
|
||||
SKIP_ONLINE_TESTS=yes NO_INTERACTION="yes" emake test
|
||||
# Clean up testing links
|
||||
rm modules/raphf.so || die
|
||||
done
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST timezonedb-2020.4.tgz 414667 BLAKE2B 1a219a090ae33a9f3eef76ab52e2bafd453a1f1161bbeeb53ee995d090f3fdd03c7a658a93ade72e3e1ae61df9d646eaef85dd4cacb5cea45c00adcfac8d6651 SHA512 d5c41c76b4b0b033464a4f086072d061504fc439c910c47a7077a0586b308cc37a4202ff9f418a39cee63534d55136d15a173bb94923160c0fa16bb33ac89a09
|
||||
DIST timezonedb-2021.1.tgz 415891 BLAKE2B c473f7d7556cae03263700300c09be75d3a827c4f80eaecd2683f706369d9e1a1a74379eba3fed720a51bba66da13ad330ea50720fe11f98fc5e495b6d406316 SHA512 53c53e061c1173e587b353da630272f2cbf9d223de7a49e6ce654b2c844da7afb641ef4a39ac4b17e0a56e86f23a4f4c448189e8c178e226ec0317f64c60c55a
|
||||
|
@ -0,0 +1,19 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="7"
|
||||
|
||||
PHP_EXT_NAME="timezonedb"
|
||||
PHP_EXT_INI="yes"
|
||||
PHP_EXT_ZENDEXT="no"
|
||||
|
||||
USE_PHP="php7-2 php7-3 php7-4 php8-0"
|
||||
|
||||
inherit php-ext-pecl-r3
|
||||
|
||||
DESCRIPTION="Timezone Database to be used with PHP's date and time functions"
|
||||
LICENSE="PHP-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86"
|
||||
IUSE=""
|
||||
PHP_EXT_ECONF_ARGS=""
|
@ -1 +1,2 @@
|
||||
DIST phar-io-manifest-1.0.3.tar.gz 21903 BLAKE2B 48fb8858ea6c89415e78da399e2d3b6660e1857958094bf5e6c42465cfc32e34122ec1ab6e413f36f48e288ef40af7b85f93c80e6a2cfa547a166557de04ec97 SHA512 f8f9a6d4b761b739ec24a9f94ae5d4ac74f7276621675e3f3c7c3085aa7662c73cc703b1c86531d327199cf42074bb19446c14f78a3c8a888b1d236dc59bed94
|
||||
DIST phar-io-manifest-2.0.1.tar.gz 10146 BLAKE2B dad3a04bf63c53c2cf4c715eb752ca57458f936a0872db481e81452b9efc8f10bb3903248cb834c8e25eb88987b68545903e1f68876e284597f54ceef755dfe8 SHA512 5c9772a5a48f17abab3806bbb8f9c07a2f26f3231385fb7dd7dcdc390f925f0f7de2d07d8b0bb4e966de86c3262bb4900cf81c1bf897fb38425aa8d644c74e95
|
||||
|
@ -0,0 +1,49 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="7"
|
||||
|
||||
DESCRIPTION="Reading phar.io manifest information from a PHP Archive (PHAR)"
|
||||
HOMEPAGE="https://github.com/phar-io/manifest"
|
||||
SRC_URI="https://github.com/phar-io/manifest/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86"
|
||||
IUSE="examples"
|
||||
|
||||
CDEPEND="dev-php/fedora-autoloader
|
||||
>=dev-php/phar-io-version-3.0.1
|
||||
>=dev-lang/php-7.2:*[phar,xml(-),xmlwriter(-)]"
|
||||
|
||||
BDEPEND="dev-php/theseer-Autoload"
|
||||
|
||||
RDEPEND="${CDEPEND}"
|
||||
|
||||
S="${WORKDIR}/manifest-${PV}"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
phpab \
|
||||
--output src/autoload.php \
|
||||
--template fedora2 \
|
||||
--basedir src \
|
||||
src \
|
||||
|| die
|
||||
|
||||
cat >> src/autoload.php <<EOF || die "failed to extend autoload.php"
|
||||
|
||||
// Dependencies
|
||||
\Fedora\Autoloader\Dependencies::required([
|
||||
'/usr/share/php/PharIo/Version/autoload.php'
|
||||
]);
|
||||
EOF
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto /usr/share/php/PharIo/Manifest
|
||||
doins -r src/*
|
||||
dodoc README.md
|
||||
use examples && dodoc -r examples
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST phar-io-version-2.0.1.tar.gz 10348 BLAKE2B 22a4f8426c14662781534e63ddb62e4e783fe563ae061c0c3ae87960e0c649d68adff9b19e4388e9aafc52184aa273e8ecc5df08f16e0918258a2a4862950181 SHA512 068d872ecafc3491c7cd27068fa2b35cf1d7e3abe21649677c935e897b6582d2efcdcbcef71a00f3b9b416320f6139c671411821ad41e3b7c906fac5288646ec
|
||||
DIST phar-io-version-3.0.4.tar.gz 6574 BLAKE2B 95456e6980465cbc613fd3b835e11b4bc2cc8641234a88003418125bd27bc52eccaafef506a954cda521d269abb1b14129a8c8cc1dd082d01c85c0cc05c465c5 SHA512 4bc3dc68545d2ba98606bffb3fa289af7668a0df8c9ab67cd2e3a1fe7790e9ce00d4e3642022d8224ef5f3bd0ab0797b68ee73301530a1893b18c123fecf47d2
|
||||
|
@ -0,0 +1,39 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="7"
|
||||
|
||||
DESCRIPTION="Library for handling version information and constraints"
|
||||
HOMEPAGE="https://github.com/phar-io/version"
|
||||
SRC_URI="https://github.com/phar-io/version/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86"
|
||||
IUSE=""
|
||||
|
||||
S="${WORKDIR}/version-${PV}"
|
||||
|
||||
CDEPEND="dev-php/fedora-autoloader
|
||||
>=dev-lang/php-7.2:*"
|
||||
|
||||
BDEPEND="dev-php/theseer-Autoload"
|
||||
|
||||
RDEPEND="${CDEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
phpab \
|
||||
--output src/autoload.php \
|
||||
--template fedora2 \
|
||||
--basedir src \
|
||||
src \
|
||||
|| die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto /usr/share/php/PharIo/Version
|
||||
doins src/*.php
|
||||
dodoc README.md
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST phpunit-5.7.15.tar.gz 205474 BLAKE2B 0220edd59fc3f191b7621f275d3e4ee8f8bf514f74533d99bfb925e11cc54a235fb292ffd1bb54f6bec1e038c06e35a0dc43c1227618590f99e7e85638a7de28 SHA512 6a836e1ad1656fd1d1c5a58ced3c1826b4decc01798b6a804b487c9b4e094ec32f6eb8a84058e268eade62a2fe19d7bd1e760b8b9433299d9fe9c09afdf2bdd3
|
||||
DIST phpunit-8.5.11.tar.gz 159302 BLAKE2B fdf156842b3607f4cbd26194efd7eb7cb204fb1d1d078c0c6bd3bb68e520e5d748767f8aab64b7c9bf313161e3d84e08d415fbf0408c26541ec1f70cfe7af8bd SHA512 3e9db4a1d6c5bea3546b24bd837479a0114a9200f96034aabc96933dfb42c1237b03f7118f19eeb1216e32f2034c1ec8c632d20ecacbe70d3660fbbfd167ac79
|
||||
DIST phpunit-8.5.14.tar.gz 163158 BLAKE2B 8be0765b89cd7c7f91c7c8753eda9be46a38368c1b538b9e1a06b6f7e5b2cf2c37ef806338b7f4dd213962bfb8f7d749e1a97dd65d0e877fb2ffdeb747dcd344 SHA512 589cd74bf44c16ee0bb0b0e85f3468b0fdbd7e6ce968894954918094d49a0fed46570cac2fa2367f417715bf64f942f5742a292b09edd91317bbea06624ac313
|
||||
|
@ -0,0 +1,97 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
DESCRIPTION="A PHP Unit Testing framework"
|
||||
HOMEPAGE="https://phpunit.de"
|
||||
SRC_URI="https://github.com/sebastianbergmann/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86"
|
||||
|
||||
BDEPEND="dev-php/theseer-Autoload"
|
||||
|
||||
RDEPEND="dev-php/fedora-autoloader
|
||||
>=dev-php/File_Iterator-2.0.2
|
||||
>=dev-php/Text_Template-1.2.1
|
||||
>=dev-php/PHP_CodeCoverage-7.0.12
|
||||
>=dev-php/PHP_Timer-2.1.2
|
||||
>=dev-php/doctrine-instantiator-1.3.1
|
||||
>=dev-php/myclabs-deepcopy-1.10.0
|
||||
>=dev-php/phar-io-manifest-2.0.1
|
||||
>=dev-php/phar-io-version-3.0.2
|
||||
>=dev-php/phpspec-prophecy-1.10.3
|
||||
>=dev-php/sebastian-comparator-3.0.2
|
||||
>=dev-php/sebastian-diff-3.0.2
|
||||
>=dev-php/sebastian-environment-4.2.3
|
||||
>=dev-php/sebastian-exporter-3.1.2
|
||||
>=dev-php/sebastian-global-state-3.0.0
|
||||
>=dev-php/sebastian-object-enumerator-3.0.3
|
||||
>=dev-php/sebastian-resource-operations-2.0.1
|
||||
>=dev-php/sebastian-type-1.1.3
|
||||
>=dev-php/sebastian-version-2.0.1
|
||||
|| (
|
||||
dev-lang/php:8.0[cli(-),unicode(-),xml(-),xmlwriter(-)]
|
||||
dev-lang/php:7.4[cli(-),json(-),unicode(-),xml(-),xmlwriter(-)]
|
||||
dev-lang/php:7.3[cli(-),json(-),unicode(-),xml(-),xmlwriter(-)]
|
||||
dev-lang/php:7.2[cli(-),json(-),unicode(-),xml(-),xmlwriter(-)]
|
||||
)
|
||||
!dev-php/phpunit-mock-objects
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
mkdir src/vendor || die
|
||||
|
||||
phpab \
|
||||
--output src/vendor/autoload.php \
|
||||
--template fedora2 \
|
||||
--basedir src/vendor \
|
||||
src || die
|
||||
|
||||
cat >> src/vendor/autoload.php <<EOF || die "failed to extend autoload.php"
|
||||
|
||||
// Dependencies
|
||||
\Fedora\Autoloader\Dependencies::required([
|
||||
__DIR__ . '/../../File/Iterator/autoload.php',
|
||||
__DIR__ . '/../../Text/Template/autoload.php',
|
||||
__DIR__ . '/../../PHP/CodeCoverage/autoload.php',
|
||||
__DIR__ . '/../../PHP/Timer/autoload.php',
|
||||
__DIR__ . '/../../phpspec/Prophecy/autoload.php',
|
||||
__DIR__ . '/../../SebastianBergmann/Diff/autoload.php', // Before comparator which may load v2
|
||||
__DIR__ . '/../../SebastianBergmann/Comparator/autoload.php',
|
||||
__DIR__ . '/../../SebastianBergmann/Environment/autoload.php',
|
||||
__DIR__ . '/../../SebastianBergmann/Exporter/autoload.php',
|
||||
__DIR__ . '/../../SebastianBergmann/GlobalState/autoload.php',
|
||||
__DIR__ . '/../../SebastianBergmann/ObjectEnumerator/autoload.php',
|
||||
__DIR__ . '/../../SebastianBergmann/ResourceOperations/autoload.php',
|
||||
__DIR__ . '/../../SebastianBergmann/Type/autoload.php',
|
||||
__DIR__ . '/../../SebastianBergmann/Version/autoload.php',
|
||||
__DIR__ . '/../../Doctrine/Instantiator/autoload.php',
|
||||
__DIR__ . '/../../myclabs/DeepCopy/autoload.php',
|
||||
__DIR__ . '/../../PharIo/Manifest/autoload.php',
|
||||
__DIR__ . '/../../PharIo/Version/autoload.php',
|
||||
]);
|
||||
EOF
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto /usr/share/php/PHPUnit
|
||||
doins -r src/*
|
||||
|
||||
# referenced by PHPUnit/Util/Configuration.php
|
||||
insinto /usr/share/php/
|
||||
doins phpunit.xsd
|
||||
|
||||
exeinto /usr/share/php/PHPUnit
|
||||
doexe phpunit
|
||||
dosym ../share/php/PHPUnit/phpunit /usr/bin/phpunit
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "${PN} can optionally use json, pdo-sqlite and pdo-mysql features."
|
||||
elog "If you want those, emerge dev-lang/php with USE=\"json pdo sqlite mysql\"."
|
||||
}
|
@ -0,0 +1 @@
|
||||
DIST reactphp-promise-2.8.0.tar.gz 17178 BLAKE2B 43e5a9eef0f774ec4de7be44fbab300dfd78a23b21de2acbb39e44af49ee95b2532f66b711acc4ee152522d4725e1e29f9abae20d0ac2e18fba3dbb3f615cc5e SHA512 8c882c96b47cc53f791de964303014feb00a73594a510287ea352ff619a8432d88f4c094523d4de98234f985f7351cd244bb094484a257aa36357e85eb0ee62e
|
@ -0,0 +1,12 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>php-bugs@gentoo.org</email>
|
||||
<name>PHP</name>
|
||||
</maintainer>
|
||||
<stabilize-allarches/>
|
||||
<upstream>
|
||||
<remote-id type="github">reactphp/promise</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -0,0 +1,48 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
MY_PN="promise"
|
||||
|
||||
DESCRIPTION="A lightweight implementation of CommonJS Promises/A for PHP"
|
||||
HOMEPAGE="https://reactphp.org/promise/"
|
||||
SRC_URI="https://github.com/reactphp/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
BDEPEND="dev-php/theseer-Autoload"
|
||||
|
||||
RDEPEND="dev-php/fedora-autoloader
|
||||
>=dev-lang/php-7.2:*"
|
||||
|
||||
S="${WORKDIR}/${MY_PN}-${PV}"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
phpab \
|
||||
--output src/autoload.php \
|
||||
--template fedora2 \
|
||||
--basedir src \
|
||||
src \
|
||||
|| die
|
||||
|
||||
cat >> src/autoload.php <<EOF || die "failed to extend autoload.php"
|
||||
|
||||
// Dependencies
|
||||
\Fedora\Autoloader\Dependencies::required([
|
||||
'/usr/share/php/React/Promise/functions.php'
|
||||
]);
|
||||
EOF
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto /usr/share/php/React/Promise
|
||||
doins -r src/*
|
||||
|
||||
einstalldocs
|
||||
}
|
@ -0,0 +1 @@
|
||||
DIST scrypt-1.4.2.tgz 21585 BLAKE2B 6297b15aac8470eedc619c498badc4e453476a390cab0cfe7fabef00012131ff9e363834b9423a566dba603ea2a4351eee416419cc1e6c1245a9aba54d63a5ab SHA512 34a87e63250dcfb21b3d36f90a4e5f4bac9f0623917ceb0d613d49112ce0e13df9a93fb0730fb797be6337d023dc490fb881902b5492309fe8bf3e6fd5e685a0
|
@ -0,0 +1,49 @@
|
||||
From 5010f9fa0743518d149d994728ca930503adde1e Mon Sep 17 00:00:00 2001
|
||||
From: Remi Collet <remi@remirepo.net>
|
||||
Date: Tue, 22 Sep 2020 14:55:32 +0200
|
||||
Subject: [PATCH] trivial fix for PHP 8
|
||||
|
||||
---
|
||||
crypto/crypto_scrypt-sse.c | 1 +
|
||||
php_scrypt.h | 5 +++++
|
||||
php_scrypt_utils.c | 1 +
|
||||
3 files changed, 7 insertions(+)
|
||||
|
||||
diff --git a/crypto/crypto_scrypt-sse.c b/crypto/crypto_scrypt-sse.c
|
||||
index a52ce81..709a04f 100644
|
||||
--- a/crypto/crypto_scrypt-sse.c
|
||||
+++ b/crypto/crypto_scrypt-sse.c
|
||||
@@ -44,6 +44,7 @@
|
||||
#include "sysendian.h"
|
||||
|
||||
#include "crypto_scrypt.h"
|
||||
+#include "php_scrypt.h"
|
||||
|
||||
static void blkcpy(void *, void *, size_t);
|
||||
static void blkxor(void *, void *, size_t);
|
||||
diff --git a/php_scrypt.h b/php_scrypt.h
|
||||
index a1117c8..6cc1c4c 100644
|
||||
--- a/php_scrypt.h
|
||||
+++ b/php_scrypt.h
|
||||
@@ -35,4 +35,9 @@ PHP_FUNCTION(scrypt_pickparams);
|
||||
extern zend_module_entry scrypt_module_entry;
|
||||
#define phpext_scrypt_ptr &scrypt_module_entry
|
||||
|
||||
+#ifndef TSRMLS_CC
|
||||
+#define TSRMLS_CC
|
||||
+#define TSRMLS_FETCH()
|
||||
+#endif
|
||||
+
|
||||
#endif
|
||||
diff --git a/php_scrypt_utils.c b/php_scrypt_utils.c
|
||||
index 797e2c7..34fe347 100644
|
||||
--- a/php_scrypt_utils.c
|
||||
+++ b/php_scrypt_utils.c
|
||||
@@ -25,6 +25,7 @@
|
||||
*/
|
||||
|
||||
#include "php_scrypt_utils.h"
|
||||
+#include "php_scrypt.h"
|
||||
|
||||
/*
|
||||
* Casts a long into a uint64_t.
|
@ -0,0 +1,22 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>spiderx@spiderx.dp.ua</email>
|
||||
<name>Vladimir Pavljuchenkov</name>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>proxy-maint@gentoo.org</email>
|
||||
<name>Proxy Maintainers</name>
|
||||
</maintainer>
|
||||
<longdescription lang="en">
|
||||
A PHP library providing a wrapper to Colin Percival's scrypt
|
||||
implementation. Scrypt is a key derivation function designed
|
||||
to be far more secure against hardware brute-force attacks
|
||||
than alternative functions such as PBKDF2 or bcrypt.
|
||||
</longdescription>
|
||||
<upstream>
|
||||
<remote-id type="github">DomBlack/php-scrypt</remote-id>
|
||||
<remote-id type="pecl">scrypt</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -0,0 +1,20 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PHP_EXT_ECONF_ARGS="--enable-scrypt"
|
||||
USE_PHP="php7-3 php7-4 php8-0"
|
||||
|
||||
inherit php-ext-pecl-r3
|
||||
|
||||
DESCRIPTION="A PHP wrapper fo the scrypt hashing algorithm"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="dev-util/re2c"
|
||||
|
||||
PATCHES=( "${FILESDIR}"/"${P}"-php8-0.patch )
|
@ -0,0 +1,20 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PHP_EXT_ECONF_ARGS="--enable-scrypt"
|
||||
USE_PHP="php7-3 php7-4 php8-0"
|
||||
EGIT_REPO_URI="https://github.com/DomBlack/php-scrypt.git"
|
||||
|
||||
inherit git-r3 php-ext-pecl-r3
|
||||
|
||||
DESCRIPTION="A PHP wrapper fo the scrypt hashing algorithm"
|
||||
SRC_URI=""
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS=""
|
||||
IUSE=""
|
||||
|
||||
DEPEND="dev-util/re2c"
|
@ -0,0 +1,35 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
DESCRIPTION="Semantic versioning utilities, constraint parsing, and checking"
|
||||
HOMEPAGE="https://github.com/composer/semver"
|
||||
SRC_URI="https://github.com/composer/semver/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
BDEPEND="dev-php/theseer-Autoload"
|
||||
|
||||
RDEPEND="dev-php/fedora-autoloader
|
||||
>=dev-lang/php-7.2:*"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
phpab \
|
||||
--output src/autoload.php \
|
||||
--template fedora2 \
|
||||
--basedir src \
|
||||
src \
|
||||
|| die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto '/usr/share/php/Composer/Semver'
|
||||
doins -r src/*
|
||||
|
||||
einstalldocs
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue