parent
87fff3e1d4
commit
04f69200ae
@ -1,23 +1,23 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA512
|
||||
|
||||
MANIFEST Manifest.files.gz 29291 BLAKE2B 22569c3607efda973f03b894a446a34fae922ef11648ad2728ce125da6f385621a9054ba461555782542137a37fe33881f5566c3831eb239e830403cf0e03cc0 SHA512 268381f81e9bce9d86ecad9ad17559e048bb18e8eccb4587216eed293eb80910a933139d52a6678170b165c248ee0904e1f85ba0cd478e412c9f438a14a62085
|
||||
TIMESTAMP 2021-02-01T11:08:28Z
|
||||
MANIFEST Manifest.files.gz 29297 BLAKE2B 287a5978b1b1fce9f70f91a5108cd3f2dfd6557d4cbd49ec73629e1cee0c1000ea5d91f1fed1117617b95cc05d4638a65ba8500922ea23c69dbabb2d1a51ae17 SHA512 4938ea0f702023ce595b63b58bcc3ba86b6a80e82a96a164154414a887c6bd7634a18cf10658df283cc029f138fd0d929b70930c37e60e3ef8bec9d1748df972
|
||||
TIMESTAMP 2021-02-02T06:08:31Z
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQKTBAEBCgB9FiEE4dartjv8+0ugL98c7FkO6skYklAFAmAX4SxfFIAAAAAALgAo
|
||||
iQKTBAEBCgB9FiEE4dartjv8+0ugL98c7FkO6skYklAFAmAY7F9fFIAAAAAALgAo
|
||||
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEUx
|
||||
RDZBQkI2M0JGQ0ZCNEJBMDJGREYxQ0VDNTkwRUVBQzkxODkyNTAACgkQ7FkO6skY
|
||||
klD7Bw//d86W/9YZkgh4rtI/vUC8o8WZKovhT+eEirlEcPmWscCWVsaSgrjQSOyr
|
||||
6+vpC4mncAXIddVxEQLqx1kDRtJPXRePLS5Z+U/HATuE+AtGwI4sfhEcvm5kG4r/
|
||||
5Ut6+BeFum8DbxGSNv45uOa/lDmb0kxSpYr9/WQSRP2pEIW4s4cY5j6wkmp7S6zz
|
||||
9NIDDdnVagNtSaPH0EkUH+OwHNvhaJx196ZAItcr7f72RrViV0ogCuRr2MU/vGEu
|
||||
I4DyZzTFX+wO5jgrKFxKx4Osbr03AOjkWKXQv2zWy+bywS1Oz9bZD5Lh3NFI+Q4y
|
||||
kiWCq3u+pelIzlOv8x/ovP9vFg/zjtKmHUMp90mL+/o2XjS0sZoQKdZPx9vbzXdy
|
||||
bpIBW8yvUNTIoIbBa1gV7qUR4lZoTmMs2CX/WACmsfvph91dOYuAGnh1gzKSL5+B
|
||||
iaynuE+UWxLfUxs68/g9Bf46L3b7llxwk64TkeMFZv1OHKrT+YGDA2hAOAlF5c0e
|
||||
CMMkHzO4newMpEstX7ytrZuI/3tVlTdouciR7nagCQ+jz4F4uwN4rmmUqOo+gZtD
|
||||
LiaKwp5T6a1rYrOcj7N/Y6vypuxxJP5OKSaea8xTap9Tne+Z08Lgy+fGTgfJbveq
|
||||
CG1zmVkKaPmoF2WA1sH7gotpMfXhEGH+4FbxKPZ+ledqSQebGhM=
|
||||
=2k1R
|
||||
klBsFw//WaXtANGc5eNtHoU57nyWIBRHj7ILFUE4+k6Md5IqWUKhey8KXwxdrhoq
|
||||
e4opBX6EcumHl0qJwPu6ZfAiD7/Q47MdoTMZSRj2bHwpOPb9Cm1TLYQlZqS/akK1
|
||||
4H1yd6Yfauy79UEuwjDSOKryWpcU6pSGvB1O6YtUwkFTrvl7SPseS864k+pqAb7N
|
||||
30/l821z2Tk2cs/bdkN8zaH5lxUwJKGfyAGwkQcQjMq8qy27D9/YTOKTwCrRVlxB
|
||||
2mTyqce67STa2gNs4MJZ283IQmrm/QX5OIdGAj5CcDuWcb+nF6VgC52Bjr4joLPc
|
||||
6eRHikhLNrH+PNztoWAPY3rmhSTcHHt1bAyGKVkX+Mwk26M5bzTWFvMKvBbbjuQr
|
||||
wjafPzKVxcvySK1E7BRIpEKbI3kIvLQK4Z6Ts8299f2gIbTTyTOIpy6ikwlQhauQ
|
||||
KJTMuehUpMP3s+dmhX0GYkT86fpkC/Ew8Z0Q2SL6C/fIGSDCXsR0BsNQXqdKXU+x
|
||||
OttL9+x20VZ+GxqM3S5uq5xYbPE3Ndo0d8vJ+sqNOVY7x0/JGHfdGu6tuQ8Dhd37
|
||||
lyprPEo/gNXx/aY24XP+KxMBJJoHqoXvBaddj5lYUdmO7xq9nMrhUHQ53fSFgbad
|
||||
I4qb2+FYtWuc7j5p1S2oxh1poSh25EXHislGCjiTHm1zYAJt3CY=
|
||||
=HkM1
|
||||
-----END PGP SIGNATURE-----
|
||||
|
Binary file not shown.
Binary file not shown.
@ -0,0 +1,4 @@
|
||||
DIST doctl-1.55.0.tar.gz 5157504 BLAKE2B 1d3db2ee4ca71a459456e72f035648c5ba73c5372c3369b360e1ee3cc44ec1155295e5f425611c307371f902c7ffed7dbce2f959266f79ecb8f149144fc86596 SHA512 6cea86e184ea25d5a6740d4090148fbe053ce93ebe8f2344f5a2bf62283381ed2a9574862a5ba39f34a52bf85af550313b7dd316a321f31089673f898d37cf78
|
||||
EBUILD doctl-1.55.0.ebuild 1052 BLAKE2B 35c7455909cd2473f76475f8018a70f04d39797144dd066317c5169dddda96eff650360ed81bebe770afbfd65f35c72300200b7f87ac4a468a38891861f46dc9 SHA512 a1c6467a53f6367e2ae79c77777fa56f12d9b215b51043adc5729ee4dfb2fdcf00657af4616c0d4a0b28ad6e9652b5ddb3cc0a3a0c4807261d550a3130920de9
|
||||
EBUILD doctl-9999.ebuild 1070 BLAKE2B 7d2dc8ba1e8eeeaab13f95daa8ab64cbbe3e87e1467684696c51db6f59a9b61570aeb2475d3012218c0bea8710f01e80871f80cca7ec9cd0df8d363bfd03cbbf SHA512 9bcf8071bb9e09cc032bd3ef850899f208dd68d715fcdaeffdc9f8248289031af7942d16c9ec30d9aa3197c03db0c02f5898be50fe04418e39055ae024106642
|
||||
MISC metadata.xml 639 BLAKE2B f0d6454d5d90aca55ca539f51583c08c1a6dec8bf79586ce2bdf3140c8fedc20fd22da3db92565c856f507e983de12de6c798bd8116d998f43b06857b1c77a24 SHA512 c21ed1e14490427fb76174e8182bc2b960ea60aafe5f5218eebdb06d04a51497f18cc00e5ea264181440ca80e765f9856c362c0bf01e31531ca8980f5db074b7
|
@ -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.
@ -1,6 +1,6 @@
|
||||
DIST libmd-1.0.1.tar.xz 257372 BLAKE2B e954ab6b1247952abcf6964d8d714c2a47a644e206a455db547a0159a97ebbc323cf1258a24c744cea3106f267f1a319a689fe545b672580f4e134d96cc7cb3d SHA512 6f343101f9ad8f927d862e6bae948d35ba596ecfd375c255fefb86efc621cf6e9de3597770ad66e0a48e8f4ea018df78debb571ea6746a7457d8900fec87069b
|
||||
DIST libmd-1.0.3.tar.xz 258584 BLAKE2B 35b732800a4b0a7b8d0a88eeff5e7e80fe55ab5ed05b7a7a1ffe866e156cc6dc6daca95f865a56297857b10b1bdfc9815b5bf0b198e8284f217498265c08fcc9 SHA512 f4b5a86bea7b9fac9f7f173032ee436d1e7141f760c1a114a785d31644edbf6802fe8193cc4cf3b5c66d38963be919c05055780bdf6bf5a47927690490ff5966
|
||||
EBUILD libmd-1.0.1.ebuild 655 BLAKE2B 277dab7e12e30f7d570cdad5f044efddb604d718d60bfddebdeb2da857b518cafaff7a3174e924ea073e666cad7ffdf6346a9a23caa73e2ddcb188810f8037a7 SHA512 c40343fc729bd8f3f2a4f793f627d970e2b5859bbb74fe9d59cd93982c886a0342fc4142f8f213173ee422f302b9c95670a6b25c5ced1698c2bd62c4b098a2bf
|
||||
EBUILD libmd-1.0.3.ebuild 591 BLAKE2B 35c36ea274fd91148976f8b116cb805a9d13c7e934843f50397981d260d3d67df49bbfd7d0df48a64447d32370d70e6aa22fe2ed05e8f34418bc059281c13fa6 SHA512 a3faf8a16e63b97c637371e128975f4bf06f6ec9eaee5851e6c91231e93d0f6be74ac07a04e19e28df34b95f6ae211fd97d2f38d5f5a6fd549fd7596d91ea754
|
||||
EBUILD libmd-1.0.3.ebuild 590 BLAKE2B 930433bb6705e30b2111200a4a231295536d0b10d6182bb543a990f451e0353b987d800c07a704a24011570fc26c833fa6b777e33b39cec220342375d2d913a1 SHA512 9ae9167cb185813004fcc52768c104f5953e9384abc4aab1d8479f76436a37da718a70bf8b9004e0c66b06e53116042167197831d88508c934e1c9c1ae01973f
|
||||
EBUILD libmd-99999.ebuild 568 BLAKE2B f3e942f902160f0fbf840e0c082a3dd07f57c2fe1a9d785a5d7b26c429f2baf6be48e4420b65d3c6b9b15684d6043576e989b15d188a167b016f8d404669d59f SHA512 d8479e0df2f68c33deece78037021a2dd26d75ed623b3fc486837b6bb53bd33fb49d4401e9dc5f938f161a296adeb2e7da8ca6294aaed56b8f9e8adf2fb2f759
|
||||
MISC metadata.xml 166 BLAKE2B c254f1fb642881aba57637be14fb0a89b10384f91a128feaec3a8c870d76efc2cbacb92caccc0dee2dd19a5ac5eaf8643080dafa05c4e2ac96a68568927e5afd SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84
|
||||
|
Binary file not shown.
@ -1,3 +1,5 @@
|
||||
DIST okteta-0.26.4.tar.xz 969572 BLAKE2B 37f3a0c83c3a922030816813de9a66edff0f4a1ae9f3450f9fe195b52d1b053c23f37c8fb2a06b08ef8df47061123536f202809b3d4954d824103dfb1b912559 SHA512 2410fc73d2685405cef7d3d639ae202632f8781885803aed5e2e5e4ff8b48f7cdf4f8b9565edbc1b5fa3db4bb22ae90019f8cfdf4bda09def7badc559ebe02a7
|
||||
DIST okteta-0.26.5.tar.xz 971940 BLAKE2B 44313d9603b15e9b9c4355b34d3d3b778c6530de7bfb2ab2589716c5123a5c66116d1cc8aa8197fb55135fb4dd6eca89155ec3c5f18b14e5f88c664f2197de4b SHA512 9a4934f8f4508bd858f8ed13f02174b211453ec5b38aa0fcc62d1173e3a0e0101754d23f53ce4bddcfe9106eeaed687f1141d2a1a65efc3ea8478e5d1840dc09
|
||||
EBUILD okteta-0.26.4.ebuild 1748 BLAKE2B 2dde9f4114d76cf744609ee57879ddcf4a4d1a7cddba1ee11a954c4bab2f07d8abf36970c333c24e9db73281bb764210cbfda67bdc1787bbfc4be3a1347258b1 SHA512 843900a57980eddaa49d34ab1912b34868a0020e5d4243aa2247fda2883128336a7cbb037b755164200cf53843b6221f8512c5108e38873e178021038427917f
|
||||
EBUILD okteta-0.26.5.ebuild 1750 BLAKE2B 74155ad1b5f24168a1dc0c7d22a70d08eae09d30b236bda0f6c29c420384c2a4d958413807ad5c511cfde3829f6504f6ee3701cf4f3d083a8c104e368508c90e SHA512 a0ffbe6000332e69ef8d1f36c2865c573573cb4e1ce71138a6618361a0e49e0039f0c96a6f70d844ffa7651cc21cd2a31772390c1fa95af4e5869ac35453335b
|
||||
MISC metadata.xml 340 BLAKE2B a8e14dd471ebcdaf382d71d9dec13809433c811acbc813ea4c74b1cd05829474df09efba54d8e3aa1041bce3f5e4a61db879e228bab4f79e3b4d9eed32e40a25 SHA512 c6fa7ef3ff6e38f17ef6db3784bfe04e35607464521488253d03863919392c38e76b7d4cf92e83502b1bec109fa1b1a257a7e4a955ea2c01d61e1784f89f59ae
|
||||
|
@ -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.
@ -1,3 +1,3 @@
|
||||
DIST genymotion-3.1.2-linux_x64.bin 40553630 BLAKE2B fd11ad2a190788758cc84d8be7774aabcd3e21a7cfda05948ed2bd09fae9834489ab69a6f834ef700ae283899185ef2c9f2371b7a0549327f95fb83701e4f29e SHA512 068f491965edf0d455676aa1903ef7df427986d750efc80e691ca68f7c4908101de782c71dbefc6dd53d2c8344b5b7fbd0e4c8f2fa5f3e2944d6c558627c2dc3
|
||||
EBUILD genymotion-bin-3.1.2.ebuild 3592 BLAKE2B 86cf768889157d29282a787c244d2819f83c18969f127ade68556be74a61e965ee1643fe7868cd46637d77009f9bb1104798e27ac095d29446a0129569232d07 SHA512 4094ee96e501dad45c108b1e8b74e3f91e9fe307d2074cff99aba46705c7a07a216bbd687f59ff5ce2c43f5064178a555332d2e5acfeeea2bebfe7cf2f13666e
|
||||
MISC metadata.xml 483 BLAKE2B 1ed85dae79388f3c548163e5fafd2838e1adf9bfc9a9c793ce7f9e7e323f8e3c9e7e2f3190b3ec54a0c598d048c61b6ad67c8eefb3845cd446ea67b01e0df8a8 SHA512 e88ad9fd8c20d5be5569c64544c3f4dd72eb3243d46333c30aaa1b939eb6ce35855aa3e771008b2fff990de5b2e5bf79ca378714e3cf7dc375144b7cd8f5649c
|
||||
MISC metadata.xml 371 BLAKE2B d19be76b4ad2e2001f890c52fa894b50dd3fb63de95eb8b1a36666efe3e087c4c66d33a4d9d369f1ef3bbbc9be59648d91859448da8cca1397da8dcaf8efc1fc SHA512 5ffa59cea45522f04e42a63fb486e8584f30d07ce5ab9c9d875cc7342d1ff99665db25585d924b3f5e25eff42e54c55a3e970cd9b88b32a1112066d9a8c214d8
|
||||
|
@ -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
|
||||
}
|
@ -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,3 +1,5 @@
|
||||
DIST libnumbertext-1.0.6.tar.xz 283416 BLAKE2B d02a521db19a21c6036412f902af7227d7442ca25d38e5e35339f74c8ee6e275ed085aeb4c4f07f998bcdc33ac62be84ce6915dd430594dedad1fa0f65b388b6 SHA512 0b2a5226f363af9a6df90f788f6cdc5fe95ddb524d96ad2db1caf2e7f414649ce2975eae3c9e5fceecbf825a90c736a0717b02ec9671e980ab9cfb3e2df73b8d
|
||||
DIST libnumbertext-1.0.7.tar.xz 289764 BLAKE2B dc7a340dd1843ac77088fd31d4343b570bba0bd5758b939ad228d9d31a7f283ce9c11cf8a504e0c14464bfc6962911b7d1c075122d3efaa7014180a57d419248 SHA512 7755c713dd9b9b75e486eac7ffbfb418c3bdfefd67ecb149f0e25a339410814bf73296f69a4e009a17f9f21292f0eeafa931aef60596cd3d932dab47278de8c2
|
||||
EBUILD libnumbertext-1.0.6.ebuild 544 BLAKE2B 886724679f53691089fe45359180712ee3bf74c16c7a939fda4b84493283065fc6f9cf9ca4b6890adf6e0f2f390cac52fe4c20294232db7f96fb278e28da4b83 SHA512 d3737fb073898718813b7b0465a295a9e772f6fb119250b6d70522ca09802f79e2a3741788f63985a29c1d55d25f78f55e2f3271ae9b7327b013e486fe38b786
|
||||
EBUILD libnumbertext-1.0.7.ebuild 547 BLAKE2B 01bcf67a2e05382f90add525bd38c16a416971e456654c0bd13bf25052c7db56b08c8f49213539d63027674c347b87940271cd528e5b9318bc32ab272c271a61 SHA512 124f3ce9fefb6248c8308ffab658a7827c510aa7a00b7dd3c5ab5e2804436cb39bb359085062d95d9b331c566ef64b11b0d354366c568288e261747c57eea97d
|
||||
MISC metadata.xml 255 BLAKE2B 9b8486730bea2158e8be5cbbe0552c5460d1b18e2236a68e3f11d85ce4eeb96eb0e746f44a10cb7cdcf1bf498190a512ef42f47852c6843b9a3c937ceabc338d SHA512 ac646e8ac676faf0aac283e4be31c5f2b29e98ccf07327073ed05e688ce696caf639bdfea63e4aed141a90e84c0a86892bc717a52b95cdf1739aaa15240013c3
|
||||
|
@ -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
|
||||
}
|
@ -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,3 +1,3 @@
|
||||
DIST sqlcl-20.3.0.274.1916.zip 36309483 BLAKE2B 10051c6880da74a2803c3dedef4ff397eecfc92fb57ca3a7432d32041a2a255ce30cd4b69d242bcea182a30c200b89105fff40c0419cac371c99dfaee192b18c SHA512 b170bfb5ed31ccbf69b75f1ec7c2b292cb8d0bc70c8489ee6c42c288b54153ef8b8b2e4e0511dac1522d9b6cd161f66adc50d85574e8e8f3b7802d3a9f91a70b
|
||||
EBUILD sqlcl-bin-20.3.0.274.1916.ebuild 937 BLAKE2B 838e0215c542324f2d80519deedfef87084c92546f18f0ca224a6fa684ad6c787a90232ea24e9a6944131a9ef87eafc7e03ce33dcaa99b0d1b510ff6993ba021 SHA512 2c45d150dc664633c040044eb73dafb0ddec972aff56d52aec13040a6c7112612b70ce0e7f8f96b1f2a38062f1d2c61eda0724eed8574f74aec3f845de6495bc
|
||||
MISC metadata.xml 483 BLAKE2B 1ed85dae79388f3c548163e5fafd2838e1adf9bfc9a9c793ce7f9e7e323f8e3c9e7e2f3190b3ec54a0c598d048c61b6ad67c8eefb3845cd446ea67b01e0df8a8 SHA512 e88ad9fd8c20d5be5569c64544c3f4dd72eb3243d46333c30aaa1b939eb6ce35855aa3e771008b2fff990de5b2e5bf79ca378714e3cf7dc375144b7cd8f5649c
|
||||
DIST sqlcl-20.4.1.351.1718.zip 36694031 BLAKE2B e2c3548676223891afdf346ed5e9e3150557251e017cc6b13709f00998113a9fe44d20fa5e5969b7c4671c88b9daec77dc7f730437e1be71fd93f1f542a7c4d5 SHA512 14efb04f87da6b3e93edbc654164ee25fe8258bcc5ba91ff2e42e10d036e493e0e65c2e82795ba7ac93055af7d2d923e35573e63dbd3f22c2241bd3041c3e56d
|
||||
EBUILD sqlcl-bin-20.4.1.351.1718.ebuild 937 BLAKE2B e21df4f4713969555029c69f4af4a494e0c4cd85bc5465aec3f915064b8f7ad562e1d12936cae5cc4c80005611c1d7f5defcf474a745f5a18a87a2d30ca2218b SHA512 0cc3d5ae15deeb45635d23a89ff82fada8450e4327df6565bf10faf522e431a1c09931e9d5ef64deb3173ec63b50d5247236aed6a1c2e7eed53b3fb300764fcb
|
||||
MISC metadata.xml 371 BLAKE2B d19be76b4ad2e2001f890c52fa894b50dd3fb63de95eb8b1a36666efe3e087c4c66d33a4d9d369f1ef3bbbc9be59648d91859448da8cca1397da8dcaf8efc1fc SHA512 5ffa59cea45522f04e42a63fb486e8584f30d07ce5ab9c9d875cc7342d1ff99665db25585d924b3f5e25eff42e54c55a3e970cd9b88b32a1112066d9a8c214d8
|
||||
|
@ -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,3 +1,5 @@
|
||||
DIST granite-5.2.5.tar.gz 392987 BLAKE2B 507c3b810b750257a66195b45842a7664eb544f86a8606124d30d277c03680296f1ace7a9233d6e094ad5ce3357564e13b61d946f8ed926ccf22a5d9b5e98648 SHA512 64a08293bc4b33d77206c7070b4e2002dd8e2da8a358e43074b681a9228790dcb342d3a705cfc0309a7e1e7f498a2a656e972c2fee085ba99fb5214e33758fc3
|
||||
EBUILD granite-5.2.5-r1.ebuild 1867 BLAKE2B 3731912ee305d02bf85b53b83f2d45a342494ec21ee668a774cf1426f51ed41e55fdc4d66e38670bb38b64c7945be7d108946a29abd6d3e168e0afff05eced7a SHA512 ff7953d1d51b4317e8043d5afbec2931cb097d36dd71b39cb516f8dff16910d90a9fdc499b5d09edb104e52158f5cbf3b4ac73d79486b84f169f992159b23647
|
||||
MISC metadata.xml 479 BLAKE2B 39d2fbbb6b128236ce6565ac9e765928351c4b5f953a96b293a61a3f0deb67ef8a05066b5e0ca0547d616e303c721815c405ca185318b1cf4fe59df31540c170 SHA512 394f3a02381f849c82e112c064c045d7afc2c8ac62e2788c049332447b27b094da1301eb649f562850c04ba02a4d7bddfe49569e5623da8bd714897d770b8dc1
|
||||
DIST granite-5.5.0.tar.gz 421478 BLAKE2B 9b6e956fcacf5dba722dd999ed3de527a99bd305a2059bdc39fe00d767f0f855e8f3a4d0854fd441203bb5dfbb250669356f85b64e067ddc08e3d6dfc3fb389d SHA512 981ff9aa42146153d8450989513dd6b63cfb6cf2e52cf3e1d2d6380373b30754d9b357418810cfd14a53689a050f08337ca766b5b8496a4063106f78b377f139
|
||||
EBUILD granite-5.2.5-r1.ebuild 1860 BLAKE2B 2d1137832f99c220ce6893bcbc7af6ca471551bd35d9890837aab0f4d5938c7d6f418a47f869d8f729f4145cbdd099aa9796e3de96181e76ecda8f748fc2ef7c SHA512 711548b6e8a56962667195b4f67a55acd125fbcf0751a9e4d08c647ec978db88f50cf1be60d3a064586f3ed30955a5055b7dafb16b439ff19ef6e26eac028de6
|
||||
EBUILD granite-5.5.0.ebuild 1322 BLAKE2B 9bf5cce71d79ab7779091cc5c077c32541011c257396e7d39677b572a89ee84ef7d99835e5100d09845fdbff21fbcad56634b50de2f70c998e5b32e4141b1824 SHA512 3f3417d6e83a271b801393490178f7f5586f77a28e114a22646e5f53bd3cadcebf186834b7811244406c0dad1c513ed2f39ac5c8ddf39c7b72942ce202bc47d4
|
||||
MISC metadata.xml 748 BLAKE2B 7f6eeeac0667efbdc6bf98c22207688342ec8725865e85a1990ff67d60e5c28e8a9ff88f628ce1b8476362b24a8220ffc585f3107dbfa53241280e2f14b8c511 SHA512 5cf1e483842eea74f495b72e3887c0fc8a64abe163c951b15b130a660de3cd4bdb41a5dc981a6d24b5ce77fd5ae3d567bf6c6c6c51c0275bb12f9a7991f5fb61
|
||||
|
@ -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,5 +1,5 @@
|
||||
AUX hidapi-0.8.0_rc1_p20140719-autoconf-2.70.patch 300 BLAKE2B f82fe6a6e2ebfda10eb9762bbff1586346ecf8945996599a3b58658c37799d85dc573f8be54bba483f95e27177db3f421d99ac713e7012130d2e2b92252ebd87 SHA512 5b29caa5f7a9b61fffb16226cff9709a5b142c6ac36017c567ab5933b21f06cb17c78a93fa19e8c92cb1443f1cbe97c3687002845965bea2b3ef39eeaef1f4a2
|
||||
DIST hidapi-0.8.0_rc1_p20140719.tgz 103079 BLAKE2B f40a4c17cb8c5eed41f4eea84fac46a879ec2057f28212aa43c8fd718ceea68d760785cb4f4e2ea3bcd2a4345b65d75d0d278b93697ec61963be9270684a15cb SHA512 204934a707da4e67b834823650b0cfd9be7b413972071129cc5aeeb93465834dde2f5ee23283c55d35b56e3aed8b7ad5fe947399839081f4d895fb65c8cd3e3d
|
||||
EBUILD hidapi-0.8.0_rc1_p20140719-r1.ebuild 1846 BLAKE2B 114ceec61e90c1ada45c8eb9e5aec9194be98d8ed19306852a48b59812f3805f24cb92902c76dd84cbce338663488b2304aa932102d3b087749bbe6a30a0bcfc SHA512 2bad7544896966bc660d6f392ecfffc1c6f8a24ce883e53019ac69a7a12fc724f24efa70c1acd8712abac3d311a54b2619020f647541e284ed06eb68ed588c01
|
||||
EBUILD hidapi-0.8.0_rc1_p20140719-r1.ebuild 1845 BLAKE2B 8739529dfb703312efc9d736a8ae895d4359d8e236960d315145a7195150ebd5945b3d048ef60f437abca65f221a9649fad1f98dee9303956521cb01af28df37 SHA512 e7687e1b52efec017253d1218f5a1f14701cedb9e9fab8c6ab3a272f11109045400a506955f672193ec5bae83264a3ef022c905e9d3c1b2e06045dee3d72a975
|
||||
EBUILD hidapi-0.8.0_rc1_p20140719.ebuild 1985 BLAKE2B 87615eda8dea3490a69324a0d07dea4fc79d0792ff132a6d10b5ee8387e46245b3fbb763eccdb8d8cfbbc6b4ec7c0bd16c411ef5a8afa0e60a9d64d390b00d63 SHA512 7e25765fb19ee59e2877c4155cd0495b82e3548e25b1c15ba8b3d2f58ad22711480c766b96f43e150268ed1fb5745c03184badcff35cfc0e96272767b3af8af5
|
||||
MISC metadata.xml 540 BLAKE2B 6396197ca946971d1e954233589189f5e91dd4dc4fd6182f5cdf24890a5601a5e32fa71e2f4b2a676d346cb8feb1232467fa569f9348a5b788f5ee4a6838d7dc SHA512 3e0185fa3a56d0bb18f1256fe9e5c74cb5cdaea91cd24054d12243512012fdead25ac69c84a82d282b070bd73be2a9a7e313e858c05e6c2fe49bd38cba4d28d1
|
||||
|
@ -1,4 +1,6 @@
|
||||
DIST libevdev-1.10.0.tar.xz 445792 BLAKE2B b7638ae85cac8b8d29c3255da1de50a06db9eb97d752b383852c85c32f8f93f31135e9d28acd474695d36d87eba04d455abd99badf6e492c2561893c47f796d2 SHA512 94ab4ee7e0854c41a491d8e4713baa95ae66dd337b41823011c0913aa1c72e8bbf8b808d5936c2ef456af794b6d3a5cd7cd0515fbd1d06dd1b7ba19275bd928f
|
||||
DIST libevdev-1.11.0.tar.xz 445316 BLAKE2B f3c1aa688d83f4a27abec23f18817bbdb7a5911cc30fab694271f620c23273cf20109598edb0049239e78a173baa20471ad1f25266eff34a50ed8898d7b86080 SHA512 b3c6b4a1532c5142f3684b920dcdd497a5368aec516e8c389e2c8f9d1eaba16c907b2a7f2c82a3c3ff89bb4d0ae5503c736098c095f9f1bc98f0668e99bf639d
|
||||
EBUILD libevdev-1.10.0.ebuild 1252 BLAKE2B 445b3ae22bb70fb6d4f4e9f36dcd1baec01d28b0b4c9c8f3efe26deb452767f6db4eaa1c2049acc0fe31b4a5c9228f7e2ee43cc6acc5a38f8053dd1255c35407 SHA512 2bbffed6d3693907dd99588b83a76db4c9b19c7c0eeb90976a4e4dc58d527097f540ba75a77c3f31e9e3cb0d144eb5cd2fab6e7db0b5e7225bb85a6cfc3d7894
|
||||
EBUILD libevdev-1.11.0.ebuild 1253 BLAKE2B d5abb022d4bd0409b5bdf3b9614cdd30b8650796fbb3bb510505c65576f75b6be872333aed5e953cafa4856df83f2b2d09b078c2fb8c0f3bab9ea3b792019dfa SHA512 651eecb8b2840382cdc4bfbb3885bfd9b1d7ad0804b73fa8d659aac4f6a41276195a01bbac8c4f1a6ca7b7449df938f1b43ad2ce58cfec9f6d3141259f59f565
|
||||
EBUILD libevdev-9999.ebuild 1253 BLAKE2B d5abb022d4bd0409b5bdf3b9614cdd30b8650796fbb3bb510505c65576f75b6be872333aed5e953cafa4856df83f2b2d09b078c2fb8c0f3bab9ea3b792019dfa SHA512 651eecb8b2840382cdc4bfbb3885bfd9b1d7ad0804b73fa8d659aac4f6a41276195a01bbac8c4f1a6ca7b7449df938f1b43ad2ce58cfec9f6d3141259f59f565
|
||||
MISC metadata.xml 230 BLAKE2B 70bf59e64305ef14908197f2aa7ffbc1769ade265097da68e001245451658af5921760c91cb74aae717543ea0017e2471fd94bfc5c4c447d2d60e2c23aa3b007 SHA512 d7a2643abd1904cc5ff4d91cbb6f1baeb7f75fd1db542c5e14f19412f4f0bd4b903f8e703a7662ba7482c79dac5529057760b6427599d35e0842755fd946e057
|
||||
|
@ -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,3 +1,3 @@
|
||||
DIST ocaml-gettext-0.4.2.tar.gz 110249 BLAKE2B 54a25ba9f8fb20194fdfaf651586222fab68f927ebfa711812f7c9a387ff40c19e1bf3f63124127356b32b0ca0be2c5ff4e1cdfaf5f3afe690b90c0ca96c470d SHA512 fb89be8d8d9e0ed9327b81a0c81c884ff3f1a97e46b475ef8084abded5c84a256de05d5aa0f42be94f43ab438276a4506af726b6950e4161359a9616fb5832ec
|
||||
EBUILD ocaml-gettext-stub-0.4.2.ebuild 815 BLAKE2B 9026c3dcc230132991967252a9901e22435e51c84bf60677df7e277083e9926cec7a222cd1f6f02cf62aee468b49c3d82265b88b47597541e82a0b02ec681892 SHA512 eaf98bdc19abcc78506a09b5e406ec8927e350a37e55753162639583297900a5d8284f49a6e0a4e25bcae5f61b40181267ead3d665499d04a4e1b364df2dc16a
|
||||
EBUILD ocaml-gettext-stub-0.4.2.ebuild 845 BLAKE2B 374225b66618373de9cb49a469c86e8928db5da187d5585fc9df215a24920f490e4161afc63ac11565d079f15f8db2dc67cab5187d605db1d56415f6c489cd65 SHA512 45325f76eb977b7f0acab9a485208158c464d72333403d27f153eed8f30de5723af59efd82d6f7dc02ebd955d44e942359864022d0d773c76d8b89e397b57ff1
|
||||
MISC metadata.xml 632 BLAKE2B d683f2b55fe66ac0ccae90494f7485042652afc9a1c01d583cef1fb9181b15d9a9d66c44eee51fb380318946288e9a05320896f376cc91992115349987ec8466 SHA512 70332af42127e51035802cf05ed4fff1d2ca363ecfe7c43a6db70277e6625de026091f2fc0b98158c283f7e3d9107d898708443121d935f6618ed0d822883610
|
||||
|
@ -1,6 +1,6 @@
|
||||
AUX ocaml-unsafe-string.patch 599 BLAKE2B 22e49acb160c01cfc9eed25bfbfbf45b281ca049c77801a81c2d4a5191c50eea5650a2db2f34df1bd49169fa2bd49dbf957fee57e3fe181ef6c37252df04d693 SHA512 78ba4efdfb0e681c4ab77af7d957de7e56a67cd97557db991ab62ec857f8fa19d374c979b4773d2a9e146db5942ce124c1603aefab065c503ddded38eef9f6b7
|
||||
DIST ocaml-gettext-0.3.7.tar.gz 134316 BLAKE2B 9de6ef9e04afbb6001ddc5ef145a687ad88a20eef1c27d3a3e6136f81ad46100cc6496cb66e3edfbf0f7eacfa8abbccb44d846d2f676862c96b8ceb860d8f424 SHA512 1358320359b9d2f3fd97a47d69b2a619942a65605c1e5cbf25e33ef42a10273167b526bca15e6c9523b87d8ea9dfd3215334050ad8eb84a8c41d4feef880a27a
|
||||
DIST ocaml-gettext-0.4.2.tar.gz 110249 BLAKE2B 54a25ba9f8fb20194fdfaf651586222fab68f927ebfa711812f7c9a387ff40c19e1bf3f63124127356b32b0ca0be2c5ff4e1cdfaf5f3afe690b90c0ca96c470d SHA512 fb89be8d8d9e0ed9327b81a0c81c884ff3f1a97e46b475ef8084abded5c84a256de05d5aa0f42be94f43ab438276a4506af726b6950e4161359a9616fb5832ec
|
||||
EBUILD ocaml-gettext-0.3.7-r2.ebuild 1359 BLAKE2B 7ec1b27566f101a7e71cef5f63bf498dacc1f5f1452ab00f96b7cc7061964a1e60d4c7ea9e285f1991a8168675ff537ba99f6fbc7f2e65d9bfd185e8cf62fca7 SHA512 1aff6ac57461fe13814c0c905657bdce746f40813c4f0980bc25e98a805dd7007ca9fac5d7856b098c862c55794949702630668078642b871bdbeda88fa622e4
|
||||
EBUILD ocaml-gettext-0.3.7-r2.ebuild 1387 BLAKE2B 3ed194dcae360ff403489d550360eeb1f9ad34f5952cb8a15127ead202cb027451315d15e7be802097f9c7ef034006791ff8e6c5774f4541cfee04a42a07d82c SHA512 17c7a4e777e476115b0be95e3238d9fa36299f71d6bc90baeb048ee88d58cd70f56784fc3b74192bb060da633572107c584084a811b0d85acf120fd9fad5bcd7
|
||||
EBUILD ocaml-gettext-0.4.2.ebuild 782 BLAKE2B caaa2993e3b8aed055be1a07e6d339332d79f84550f34abc6bb13303d70ba6112613e47bef0136f992589010aa0b2b2b2b4e42701389038777665ed45e679cf8 SHA512 64442e7b6fd4218bfccbcbb1494138ab6e4fac7723b14f8e3cfdafc54498c87803d5d95be0355f22a71329c435a065692d9761b386c0011978307d53240c3ed8
|
||||
MISC metadata.xml 632 BLAKE2B d683f2b55fe66ac0ccae90494f7485042652afc9a1c01d583cef1fb9181b15d9a9d66c44eee51fb380318946288e9a05320896f376cc91992115349987ec8466 SHA512 70332af42127e51035802cf05ed4fff1d2ca363ecfe7c43a6db70277e6625de026091f2fc0b98158c283f7e3d9107d898708443121d935f6618ed0d822883610
|
||||
|
@ -1,5 +1,7 @@
|
||||
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
|
||||
EBUILD ocaml-ssl-0.5.10.ebuild 596 BLAKE2B bc7c81afc83dd6740a44552024248e974258e9666585ff961aeae0ce6d2a0a8c4abb24509cdd0f921e49c7bc0464e706a06d1779d30d67d6f5388408e0b06732 SHA512 3ca3d8d41474aa7844b7e030e4c46c1cfb28ad3432ebd88dc2e1e370e555a92a5a5d1020b7196726757d685a00c986368714ae56825847056eed12b54b4891ef
|
||||
EBUILD ocaml-ssl-0.5.3-r1.ebuild 619 BLAKE2B 183a3abfc50c321e29ad653cbe2055ba45873e621ffbed38d42008cf311ea3575de8209413b5dc91ed1eef8c2f1be9dfc9036b913e6f759293447dc91333183e SHA512 d6421c2302377ceed8b932b3f1e788ec77a53b6bdc9703f90a494b5cdba3a2f26e9eae81661a245a3cc395e5ffff5b0ae03aa78dad0de96597b5ce039b57c045
|
||||
EBUILD ocaml-ssl-0.5.9.ebuild 596 BLAKE2B c59b1a6b280d3506168a501dc5bb1162a276c9ea01873ba8a55351a4a9b769617b30f7918cee802370eee91b0bbad11fc1613df3f9da151146425ad8ece6f332 SHA512 e7f6faed62f89d48d15843779a0746f42d3c5b4dd27320695de4c7dc36a2e884bf693784dca6d4f2fccd3f412e2b5fe81f46941282b0a4b13ded5baaa1c62f33
|
||||
MISC metadata.xml 366 BLAKE2B 3500b88cfc5c67cc1cea168548db25e3c38b0e821dc9140b68472da7b8f11bedbcd9f9cf1c3bed002e4ce6848e83b2cf2a0531f0f60cd92a605596d5ed8ae8b4 SHA512 0d755921669d45da244c75aea1fdeadc05fca6c98256ba5b2afb8a524b8db705a91127a5e726cbd0f5be329a779a46578c941a93fc801a5ac373a6e8b0bc3e27
|
||||
|
@ -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,5 +1,7 @@
|
||||
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
|
||||
EBUILD PHP_CodeSniffer-3.5.4.ebuild 1502 BLAKE2B 02a3242341c9006a02cbaacff2a5f4b4eb6cb0d9b680c8ba3102316503c7bfb0bcc7be7799fcf4134991010f94ced0cd15c7b8e468c84f707b2904fa64a8b57f SHA512 c3cc91615ce68a44868765c66a8b6f45bcf93e8ed79f74ba9909249797b79c18565baac9ee98a0b1941fdd0a081f568c6a64a47d1cc328346585e0896f909b19
|
||||
EBUILD PHP_CodeSniffer-3.5.6.ebuild 1445 BLAKE2B a7d29b2211a6db7ba565908923e1bfedf6cf4f97d0f64374a34237ff854f3c7a1f29182c41a1b1199ea6de8337092af01eefba5f760c211e8e8df21ec10f8f6f SHA512 2ba7d933623e6d552c1676ff2a8e3b8cd407be3e365921b24a0cbe56875883d951cda7d9afee7dee044403ca94de6ab2f592c18337e0af4ca16fa950b6b381f3
|
||||
EBUILD PHP_CodeSniffer-3.5.8.ebuild 1450 BLAKE2B cf406c2ceb6ee7cc5556cce50962e30cc185f62319d9407264077bffaa357bf9aeb4b5440a8edc85c2bc1496f654f1c8e734e81367b17fb4356e0571dcac90d6 SHA512 5a94e1232ddbc0ecdcce41f016a7167405b8b71c309a18833e429a66939f8dc6fb076842c40a0e407ec2927aa2a106d10ab0bd57bad8d3abeb3619666096d271
|
||||
MISC metadata.xml 329 BLAKE2B 786efd240520e1b8b5ec8fde8fe4772defb0dbae2bf69358710c227454f5de1bc831600eb81d605053163d78e0129cd657b3229a74d30bcec7ffe6ce960d87d8 SHA512 5a983e0b393c626d49f7b3b8757cb68e73a7f292ebc861ca5e6f83c20b5c6f79918422aee7830ad3dccacda719c6d42d6bfcc5eb7ddca7ed29785ef1dd9e0f30
|
||||
|
@ -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,5 +1,7 @@
|
||||
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
|
||||
EBUILD adodb-5.20.14.ebuild 1446 BLAKE2B ae4189f84a9e1d0b94f1d365504c9d9982ee2e6a8475f39b897ef7b6b544e01039b572a54ff062e853af45e60d355d5f389a836b7ada6df629f741969101b72b SHA512 60ec66bd4b94e70a13a4bc331dbf042c21c0ad4ecccb4582b5167a65d553b98539ea2afdf27c2f658c3a3e95f857ea8e6c3abd795107c1465c2e49c2e9eb4919
|
||||
EBUILD adodb-5.20.18.ebuild 1452 BLAKE2B aa01cdfbab7c732279973480c2524c8c13668b54c85f8396e205d54f849f8e43a553b6a8325743dc8a17f088317397457a4a3f8e3a3bebaade4515965123fbf1 SHA512 9af2be6f93b6c9d1610393c3fda939b30993ac7121c286541d2e52035b4c084c2034f2bb9c45db1affcbd0f194974276464679c808b3c6d7895b6d16cbea1ccf
|
||||
EBUILD adodb-5.20.20.ebuild 1477 BLAKE2B c75a324745a1347176758993809b5bb5b9859221cfe6846135b0b43cf0cdb28898f03c2635013eb0ae507a39ad6887c011d880b639426c3a4bf77f04cf3d4b07 SHA512 0403b784e49f1d1de81dc7b65568ea6ed624542a81f84d8016c7988143714f027dcbd393f16749e3b040378e984548afceb72d2e23b75697f7560b58ec41b391
|
||||
MISC metadata.xml 490 BLAKE2B fe6674acd3eb6a1c95ae4deb6f4215b0c31251918cc96eef1d6c784914d8e3c7eb273b868b90d7b8585421acb58172b7ce6a54d99b6b41abfed923b6e34abfd3 SHA512 c81b170a7a9532e27707f6bccea90be62a8504228571eae8b5564eea37c6789bafcb2681e4de8cc99916e1304056121575c3d8487cc1102f13909d14a7565fcb
|
||||
|
@ -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,22 +1,9 @@
|
||||
AUX autoload-r1.php 973 BLAKE2B d01d694be6f50af0e995dc24da1545b666609ce0098b4206a1843b249fedcbf983f1826a3158e98ad7cfe675057b12fe52ff82b6b66e2d582ccf983b929c2f90 SHA512 06f9e2862521c54b765f55fe1c1e02728befd296916d0f41357d4e6004f2d00ddaa533ed5210e92e4642eb548a2d5fabf80604fc09ef7e871742716f4c02d112
|
||||
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
|
||||
AUX autoload.php.tpl 253 BLAKE2B 421f8bd3aa659c6add54e46094ee1d8806ab4fd33ee915515fbe94d241b6a1d5f222b85a720733c5e48369f3a737d5696cf4f8343df7fe809b3a7e4ec38854a1 SHA512 0cfa3e377406d7eada27c56c50b57943b096ea35ec23b2bfe1c926bc4eb276151578d3cfbfa28c76b3358875db35b9e2460204d50571da2d3df6d9a665514da9
|
||||
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
|
||||
EBUILD composer-1.10.1.ebuild 1232 BLAKE2B 584b0a2251e7f63a1bdc9d5c32524690d4dabe7668220fdf8678c0fc8749044334db0b5d39385e8fc181b3c25ec3d955e7dc73f9e0d2bde5d27724b4566fedee SHA512 597a47db43a02071beec253a84b1c548ccba8c6e9604a538055a6de268bba0e0c87b04dae897c15d95a807730c789ad6a15a4eb6b6eb0a850ea94571f7de73ac
|
||||
EBUILD composer-1.10.10.ebuild 1232 BLAKE2B 584b0a2251e7f63a1bdc9d5c32524690d4dabe7668220fdf8678c0fc8749044334db0b5d39385e8fc181b3c25ec3d955e7dc73f9e0d2bde5d27724b4566fedee SHA512 597a47db43a02071beec253a84b1c548ccba8c6e9604a538055a6de268bba0e0c87b04dae897c15d95a807730c789ad6a15a4eb6b6eb0a850ea94571f7de73ac
|
||||
EBUILD composer-1.10.13.ebuild 1232 BLAKE2B 584b0a2251e7f63a1bdc9d5c32524690d4dabe7668220fdf8678c0fc8749044334db0b5d39385e8fc181b3c25ec3d955e7dc73f9e0d2bde5d27724b4566fedee SHA512 597a47db43a02071beec253a84b1c548ccba8c6e9604a538055a6de268bba0e0c87b04dae897c15d95a807730c789ad6a15a4eb6b6eb0a850ea94571f7de73ac
|
||||
DIST composer-1.10.20.tar.gz 429016 BLAKE2B 29dcf1e32974230075e56c9b11e53316a1bada9a6ccf43f3357fc39577abadde566df962bb9bf92cc9806a012fbd70c18aba5daee87090fd10de273643d92ce7 SHA512 5b85ebc6a0612c01bd2dd6f6a57526581a821c1a45163ef85511bd0e629b10dc464776b56fe33be192b2a3f07ce818dc40cf2305d9f65ee10287b2265e198cca
|
||||
DIST composer-2.0.9.tar.gz 493134 BLAKE2B f08818ec05aeebd79501e221b9cef10425c7dd60b9aca17ca8dad2f6967258d6b1a8d0d1b383b0c7dd1214ce6416f666bc30785bcb5978c66051ef2e03d17304 SHA512 4953bcc0d2e9ae61ebbb3615c262ac05762fa0165db2114118eb5c2bb014bc4341b07c3b8739575feacaad92d2460b89486b49f4eb49b80ce4a9de36a1152b48
|
||||
EBUILD composer-1.10.15.ebuild 1232 BLAKE2B 584b0a2251e7f63a1bdc9d5c32524690d4dabe7668220fdf8678c0fc8749044334db0b5d39385e8fc181b3c25ec3d955e7dc73f9e0d2bde5d27724b4566fedee SHA512 597a47db43a02071beec253a84b1c548ccba8c6e9604a538055a6de268bba0e0c87b04dae897c15d95a807730c789ad6a15a4eb6b6eb0a850ea94571f7de73ac
|
||||
EBUILD composer-1.10.5.ebuild 1232 BLAKE2B 584b0a2251e7f63a1bdc9d5c32524690d4dabe7668220fdf8678c0fc8749044334db0b5d39385e8fc181b3c25ec3d955e7dc73f9e0d2bde5d27724b4566fedee SHA512 597a47db43a02071beec253a84b1c548ccba8c6e9604a538055a6de268bba0e0c87b04dae897c15d95a807730c789ad6a15a4eb6b6eb0a850ea94571f7de73ac
|
||||
EBUILD composer-1.10.6.ebuild 1232 BLAKE2B 584b0a2251e7f63a1bdc9d5c32524690d4dabe7668220fdf8678c0fc8749044334db0b5d39385e8fc181b3c25ec3d955e7dc73f9e0d2bde5d27724b4566fedee SHA512 597a47db43a02071beec253a84b1c548ccba8c6e9604a538055a6de268bba0e0c87b04dae897c15d95a807730c789ad6a15a4eb6b6eb0a850ea94571f7de73ac
|
||||
EBUILD composer-1.10.7.ebuild 1232 BLAKE2B 584b0a2251e7f63a1bdc9d5c32524690d4dabe7668220fdf8678c0fc8749044334db0b5d39385e8fc181b3c25ec3d955e7dc73f9e0d2bde5d27724b4566fedee SHA512 597a47db43a02071beec253a84b1c548ccba8c6e9604a538055a6de268bba0e0c87b04dae897c15d95a807730c789ad6a15a4eb6b6eb0a850ea94571f7de73ac
|
||||
EBUILD composer-1.10.8.ebuild 1232 BLAKE2B 584b0a2251e7f63a1bdc9d5c32524690d4dabe7668220fdf8678c0fc8749044334db0b5d39385e8fc181b3c25ec3d955e7dc73f9e0d2bde5d27724b4566fedee SHA512 597a47db43a02071beec253a84b1c548ccba8c6e9604a538055a6de268bba0e0c87b04dae897c15d95a807730c789ad6a15a4eb6b6eb0a850ea94571f7de73ac
|
||||
EBUILD composer-1.10.9.ebuild 1232 BLAKE2B 584b0a2251e7f63a1bdc9d5c32524690d4dabe7668220fdf8678c0fc8749044334db0b5d39385e8fc181b3c25ec3d955e7dc73f9e0d2bde5d27724b4566fedee SHA512 597a47db43a02071beec253a84b1c548ccba8c6e9604a538055a6de268bba0e0c87b04dae897c15d95a807730c789ad6a15a4eb6b6eb0a850ea94571f7de73ac
|
||||
EBUILD composer-1.9.3.ebuild 1232 BLAKE2B 584b0a2251e7f63a1bdc9d5c32524690d4dabe7668220fdf8678c0fc8749044334db0b5d39385e8fc181b3c25ec3d955e7dc73f9e0d2bde5d27724b4566fedee SHA512 597a47db43a02071beec253a84b1c548ccba8c6e9604a538055a6de268bba0e0c87b04dae897c15d95a807730c789ad6a15a4eb6b6eb0a850ea94571f7de73ac
|
||||
EBUILD composer-1.10.20.ebuild 1233 BLAKE2B 8ca659735c9256070bdf634a96eb790a23ef4a5f6e9bc1c4d488d2082d97d87a043b8becc944f9e33479516b40c29b2ddd93c7fe4219c1a3b143c333464b160d SHA512 5cf952c3bda93befd1a77ed5330905f3be8bddb254cdb3d52c6ea6c24eba0bfd32cb936fbbbe18e18dcdf1362b5e423b45f47346f1fd5e5192753c66f51e00e6
|
||||
EBUILD composer-2.0.9.ebuild 2103 BLAKE2B d46051503b70b8c5f27b4d6b7310cccf74afcc2736194ea1dbb5a42d6aae193406c466e6b6f79f0a0e0573e73131b8c780d28680daa9b9ab8a462cf7deaa97ea SHA512 dbb17d0d0b34d31ec6c315e3c6e21c3e355237eabafe94568188620da5e0d706a5fba97c74a29408b4fdf9d87912574e96aecd52a020fafdd917f966b46e7e62
|
||||
MISC metadata.xml 774 BLAKE2B 8a1f75c0c7da6f0d193a981c6db3888d62e2223b6368c4a7dece62ae33cc9a2a8c0b34714170462f262569954e70cc9b976012ff864ccfa36a46da3c719169ae SHA512 1a17bfae65923a3bea593c57d7ecf4fb2aeef43d0537636105e52294de295cbfeaed4b3c36ffb8675a563f657f4f969e62096cee20b9ab178c962acf2f68ac3a
|
||||
|
@ -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,4 +1,6 @@
|
||||
AUX autoload.php 262 BLAKE2B 0394eabe0e8bc08b09cc637e514aa49dee2b83b9c424f0d767a67f75024a86a20bbe63d30fce00cb17b69ee3bd6c74cf310e16a004720fb25aad1e1c65ba82b9 SHA512 476263a08ab0137aed1bb71446f1a66a618247f9095b138b958464f4f47faf775f4bb2ecbe87efa34ff56fb386351e3a3de0dafdf7367c461f0db0717ae5d46e
|
||||
DIST jsonlint-1.8.2.tar.gz 13729 BLAKE2B 80cbe2e1dc6bcbc0d75d04f34a36deb8b53ebd78bc4dcff0dd1195549ae2eaa02360b642d91c6a848cba9a3f502ed0618937c149663d6d0c9c7ad0f33897b7c1 SHA512 675ae7bf6cddd83bb2fab60f4c2ac4a8b4bf0068e630f266511a1805682cadefc9a44006623448364ceb73c5e211739787643d9196794349b992cca4d5fc737c
|
||||
DIST jsonlint-1.8.3.tar.gz 10588 BLAKE2B af54e4bedb66e28f61c338f5161109cf1df45dc4aea7c5ab27d728aa4ca6cc0c1e76575527abffc0a1ff8b52465cee40935829f71b3b1a0284c0512827b5bc3c SHA512 c2a9a16e9abc048a1899e51cc78995410b8aa44d5afdab30930f7a7d88b174844ac0f547b0d0da83bc4a71ca0457392e586afbc97cef5de36e0dc2e032732bfc
|
||||
EBUILD jsonlint-1.8.2.ebuild 887 BLAKE2B 0743d13b44a4a5b8c203fbed8c0080abe564f59e1b5951339b588c2e33df9c356e1622b8c2104abdf89bbb78d09f47fdce25508809b121abc3517f6da6fee994 SHA512 086309631776a66ee68a796c0dc791722374637bd06d971e92aeeb401b5b302dc9e04708004c1067fe4dc698838aaf853a405c297805de19fcc7bc46a37b88cd
|
||||
EBUILD jsonlint-1.8.3.ebuild 662 BLAKE2B b3bf6c6552b0fbf1023b64a40e1cec1047d7c9a6878cb9e7a509aed1d45c1b96db71c04a7100e83846b67ed2682021def5907332b91949ebc780551c954b12d5 SHA512 fe8bd10910616bc5857e739d7a67c07b4ad16dfa29efc9492f0088be32b8b835eb8507f96406c6ad72e333ffdad5e597d8caaacf9f4c1651e4c03e7ad738926e
|
||||
MISC metadata.xml 554 BLAKE2B d3e5440418af5ffa8bcf2188f4733fdea1f0b352482b36611f97e3574dc8046dcaa492961d9934215656ce954e7a20506f5208df1c09f052fd7cf06f83538c9a SHA512 78495ee38c55d98dd9368ea8f185d4c0a19f98b49da20aa9721c975d4df4279fe4df842fe55e351ebf1280569172be0877705266d2cfb90e0c52f3374506595e
|
||||
|
@ -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,12 +1,7 @@
|
||||
DIST pecl_http-3.2.1.tgz 221244 BLAKE2B b6581829fb8a800e24ccedd4d0f3efbaf558850bdc356d27a6e1d1097a8e2cfc61963a1daccd1d0f269a7cef5b243d45cdfaff5138321fe20df615dde44d19e3 SHA512 e67d4b32ba6f524e3fcf65f5497b94275e1a4a14fce97c57afe366369f368b3acdbedf364ed73cf983fb2c5f57f498adaa1100e7c936f11cbc5de1caedad7b51
|
||||
DIST pecl_http-3.2.3.tgz 220204 BLAKE2B 2a712dc8f69a8a80f6f8c306883df580fdff4a0d4cb0ac06cc004f8622b30b8e2f5d373276381fd3ad67657a80cc929be81745f200a98b6ed5e475de5639dfc5 SHA512 e955e3246db9a9172081dd9a077154139c585bfce546e91839052bbab4d0db9d0695122574a66891ceba5c0b7e8a8f0768274e1516521ccb95cd19504dc13666
|
||||
DIST pecl_http-3.2.4.tgz 220631 BLAKE2B 996236cf9dd2f7d9bfaf046306e99c3ccf778261df19df8fd828b5811798f784841d89a6890e7347bd20cc6da71c966ea3ac9b17bf058e0bb766db7e1a8a6c49 SHA512 59c41d57c94a6e50e2f0b261130a24791b2845246f783b55e7f644f9a897d3650da364c5b38a860761b4a23f9266ed05000d6348bae2a7941e59d6bf5fb61a9e
|
||||
DIST pecl_http-4.0.0.tgz 218259 BLAKE2B c9f5973686fd4db95a24dd4c50f217b93becc6a439066a395b0b7fec6e977154e5ae8f2261414458aed8e4a9d1281f44da2ecc67a05127610579f5be91196a88 SHA512 268b569c23f10ed72fe3c84fc5e5bf526c3e5ac345ca0556a24fbd01ce95da468d4e9aac6300d058001534ab826836793bf901e9560b744f1e20d7059be2ec79
|
||||
DIST pecl_http-4.0.0beta1.tgz 219277 BLAKE2B 184ea0a92fc514f24fd31aaec7824ba80293a52d168d11b3b3a9cea410df1bc9a6a819c45f301b357a3d19246e3c36b56f238c264579509eadf00fb42ae32d91 SHA512 d3e487d10e18e8af1a750d171e4432dd30562e1fb8d8ae7cbb33a379e3d385d27a6ce1896ed8f727802eae1045505254cb68840395098310e22f6dc640c5c616
|
||||
EBUILD pecl-http-3.2.1.ebuild 2300 BLAKE2B 60e5a929270af09032e8494a55d90ef56b7a82821c4fb20a3ed8b03e08aa8ef77cc2d101ddbc31b095ec8b051acf9ebf2d0506a195e6f1aed4124eb54c6564b7 SHA512 0e2d36bfea79ec4662aff2425dae4193eff07864c2ef8c25bd087b56cba02c4c0eaa2af9c8449e64322ce0e42d75fbcfa8381e737172bd59c3e8a7d4dd90e0e0
|
||||
EBUILD pecl-http-3.2.3-r1.ebuild 2225 BLAKE2B 45d41708ee444876c304c109abc79dea3ae6fe905f3e479185b14ab4a56214e27b9e86cba06d64316a6d5070a93c535f3c71d62e8bd8d8c52c27db0079f728b5 SHA512 a20e4f6321d9f31a4b4c4e80b91ab7686b38ac984efc2529033793bc0ada3c48792141b99a566a148454619c74c663bf03cbc443a44e7da1e83200f813966583
|
||||
EBUILD pecl-http-3.2.3.ebuild 2471 BLAKE2B 1ffdd3704cf738741f61dd0370995530b32404d49d3bfbfd517612c11e27dbe8456786dc018d5cc03bd59cb03437bc2629ff775e52eb58cf4f1b14ac9e77bbdd SHA512 aaeb45f27eb7815b8fd4708ad7741a96fbe6050c01fc5465db364679f3224321e647d56a7b5e66bb87bbc960b674b453467baa7db7324e9b41974af155cbd97f
|
||||
EBUILD pecl-http-3.2.4.ebuild 2034 BLAKE2B 801d05dd8f4faf201c5079deb6d367b6b7cb6340ea693e019f321dfc2a96e6a94545139e8fabc57e26b179d829fe08da58666436ab276ce1e59edd3421e10ef0 SHA512 e3d2bae0a7c135d19a600e944d97190777a46421c3fccdb48bc6c7f64f391a161ca4ce4b22faebd6f8fdd8bcb071878daaea8b023cfe3d9972a1a07a0502f154
|
||||
EBUILD pecl-http-4.0.0.ebuild 1769 BLAKE2B 712a4d8aee8498a6cb8a9074ee7fc1c676021a336dcae0bc9a8c9115be389fe44189793363283099e747c61232460c2078213ef819f5c21134a851122c605d6d SHA512 b3d1d2f3760aebe5dee98de6e0068b614dc136a7e0daec92da5c295c228c7a857bb3880f42e93676702a3717a70026b3ebec1490e30fa6c79788182c0beec81e
|
||||
EBUILD pecl-http-4.0.0_beta1.ebuild 1844 BLAKE2B bba6fbc8f959af90e10eac63c9b5ee3d0fcc51680941073e602f8a2d0beee9c67b81c6ab59f072cf325dfb1c16b1283ceccc8de191145bfb00ce5840313a61c0 SHA512 6ecf7da9af0a836d5bacaac6c3bfe653c4503f933a590ad68ffeedc10fabc5bee0af6c517818b523159cebd19d441fbdf3cfcb90aeac798641a244e0d6827b6b
|
||||
EBUILD pecl-http-3.2.4.ebuild 2021 BLAKE2B f5cb3e15af3e2d4e263df6fe5b6a17f2beb2708950ba9259a2e571f18ff6da387390b42931adcc9251c4973fca9c5b9833659bf21918310f4400d4619aac4dc1 SHA512 86e25ed3765edf637cf9fbcb3d670366d82bba7a3f83542217693f6df530379baeb80ebe5a2c5a5f731497fc557e24aec866dd5980af4a79aff56f6e5b4f2676
|
||||
EBUILD pecl-http-4.0.0.ebuild 1747 BLAKE2B e73bd951bab8c3b1fc2da5e28557f77bf5b9dbad70440960ed43068ad4c1af26fa7d4745d05f4c5490bbf7cfcb8d47740e7e39d70323adcae83a89ca08500aa3 SHA512 c5e8b1b34da25acc2698dd6d1eab1d84dacb67730e28cf594f9084575cd2264a33e2b250d37fcb690bbfdecb52eb2c032e629e180bffa5781d5e7ce3d785e34e
|
||||
MISC metadata.xml 239 BLAKE2B 9b7c5dcb74289073481cf07031b7a92f32496cc1097becb074d74a8fbb8133de429ce1baf284e446e44132943c8b32e6b824570f15828588e42ea49ef5661f00 SHA512 2181b874bfe8cd31e7730d8207e26cfd2f272eaf2d1b57ae0faff126347a5298fa1c506d9107e1da9736c8a0ed9c8c339e4d9509a8726b79dbe86e073c12dee0
|
||||
|
@ -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,3 +1,5 @@
|
||||
DIST timezonedb-2020.4.tgz 414667 BLAKE2B 1a219a090ae33a9f3eef76ab52e2bafd453a1f1161bbeeb53ee995d090f3fdd03c7a658a93ade72e3e1ae61df9d646eaef85dd4cacb5cea45c00adcfac8d6651 SHA512 d5c41c76b4b0b033464a4f086072d061504fc439c910c47a7077a0586b308cc37a4202ff9f418a39cee63534d55136d15a173bb94923160c0fa16bb33ac89a09
|
||||
DIST timezonedb-2021.1.tgz 415891 BLAKE2B c473f7d7556cae03263700300c09be75d3a827c4f80eaecd2683f706369d9e1a1a74379eba3fed720a51bba66da13ad330ea50720fe11f98fc5e495b6d406316 SHA512 53c53e061c1173e587b353da630272f2cbf9d223de7a49e6ce654b2c844da7afb641ef4a39ac4b17e0a56e86f23a4f4c448189e8c178e226ec0317f64c60c55a
|
||||
EBUILD pecl-timezonedb-2020.4.ebuild 450 BLAKE2B ce811112800741e818bfeb9d7275462e50e48dab938a11166e9a3a3f2afc3e10ab541d1308bb10590dfb5da819200076df33165c148432c8a82297f73cf7e467 SHA512 afb8a8dd9808a66dc0c97e86cfcb9814855e50845780533d394e9882a6b4bff578abaac660d1b58ac938d48b2d05872c0b593ba340dff04f97c97ab89f2685c2
|
||||
EBUILD pecl-timezonedb-2021.1.ebuild 450 BLAKE2B cc6e9f2f9528466780bdd5d356b9b3142107bf02f0f6af36fb2e3fbab7d2f43bc9e5d323cceb9aef5bbabae7e4fb35649f2db2ebc1292b907c19132e4c326f3c SHA512 f3f9d6da01f8b8cc385fab3ea89d4997a4eef7fb1a9a57dd3db841c341a77f844f1938e58b94c1db76b47659472c12d2f54f37adc0ee87756267cc1a201261a1
|
||||
MISC metadata.xml 635 BLAKE2B 9c3fa685e184fdb85fd630b9bbbd69bfc20569455f1fa84f147b2d2404739077f5bffbe2c4e5d1a1ff28a9f2ec36bb04d7d55952c7cee4cc5ee3dbc1b11bbc40 SHA512 3b06142a7f995b5859650fa156973deb5cf783be8ee123dc2820f1c4a0d8588d6c73a739a3fe547a3b450ee544a0a69abd260c44d53c87ba0c9911cd68e539dc
|
||||
|
@ -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,4 +1,6 @@
|
||||
AUX autoload.php 3913 BLAKE2B a3c8a3b75e2b150157892bc8ea168e7c60e5cef95cdee1279579a4b1efd4a4647bb5ec22f272575342d8945674fce048b1a091cd48977cdc77a975668c3a0849 SHA512 d43f3a726eb79ee88e674ac0ec3fb4d175ac0041b96638e4d2a40a47720ebd3a983cd36dd943fff9c0220dda68549361628636e94f595b0601d6eddf2b937fe6
|
||||
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
|
||||
EBUILD phar-io-manifest-1.0.3.ebuild 707 BLAKE2B 43809d8fc3bbd0e6e6937d7fee43c7d33f7ce71a08b215c7008c05a9a02addba0f598eec5136a227a433b8c45ed68ac7be58831586b1cbd52abf41ecd7edd414 SHA512 95db205b5928a1272f816f1fd8ccaf4baf1457b4b6e9e5c9138aaed5533e05cf4b8272dd641ac7e35dd13a35ea223ac8ccb4a47a8fa9cbdb0950c5b0f936f1e9
|
||||
EBUILD phar-io-manifest-2.0.1.ebuild 1079 BLAKE2B 47e9c7aa48dee6219ec90f6b106e9518d553c5cfdd4a3a6d5151738ba82c7af6b01ebd659ab2543e94f474902deaa3ea281ecf69c1b0bfd17a1b1f42582cbdb3 SHA512 6938c953c8e02aad408e0faa33aee945339ecc7ffc2b80c245f04a9f867ed96a0c2839fe21be5bdf6aa40287446b08a5e8150a8eb2bc9ad4561e7042123058c8
|
||||
MISC metadata.xml 344 BLAKE2B 627dae6eda92fb35dabea0e5b5bc023a92bd350c7828cb0bb39397d7254e1ed4d6f24c16b127eea35df4258c65985368bd3dbc0c353af8680ff216d8840e88f9 SHA512 0cd7c60c7182625c7779665c027bb0467531c3e00308413a4e02312b3cc0ae3fc2819dc27b24b92c9f723b0bde6168f11a6624a76da724d212cb0b99b69ed679
|
||||
|
@ -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
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue