parent
1ddaf11267
commit
3c205a63bc
@ -1,6 +1,8 @@
|
||||
DIST keepassxc-2.1.4.tar.gz 3345520 SHA256 40a990dbcf442eb3cad99452b58ffd36e5855b39e78f213ea20e99fbc7876701 SHA512 48030eb6df595c73644f43d6222654c5f76962ae5aa2f44ca4dc9c8e45726380c6be4300af7a8279b07c06b70912da444f2b17c5b6c37a91cb239d695e7518d8 WHIRLPOOL da2bdac3e334b48903c6b20532ea4a0af0fe057e10e702ba6a4221e828b8f416d666ff67407b434d38b4cbbe5119d3c8a49927e4d5092f4f62ab49e30981017c
|
||||
DIST keepassxc-2.2.0.tar.gz 3814252 SHA256 9d9d39b9c056955fe5d7a5212efe1703be02fa4731c36e2b1e06a78174b0a7b8 SHA512 e23968c259afade81c8dcf0786ed68ca77ca8e9726dffb12e1017f2f60afb29b60ec1b71450ce7e284d543bcaa72bbc79bec917dea852d5bb923dff7fc6edcb5 WHIRLPOOL a993068922d8fd0bd1b06d434fff7340160c30992a166f15d9692d83e4a985939b88d20fce2b0425d3bab00de0e2ffce6fd2d34ff0bd92d08d95747ae03c9df9
|
||||
DIST keepassxc-2.2.1.tar.gz 3880551 SHA256 184663e8b08e081dedf4c9dbdd68bf86ed0f5e32388b4781b7afcf89ef5c8e4d SHA512 bce2a0d6d3ad32bb507afac22670b34c37f5e36de6a30bb7c9b5a523c12bad59d95a414b90608451660fb9ce224279c7658e1892f2b99c673908449cc86e5595 WHIRLPOOL 32a0ede5c150bc4fc54c1b0a8f3c46110a19349d732913bdc9f3bc6492c1998569b2cd7a178ec9bb11e5b8dc9698138d8a7f26000211377a0c90f505605fe54c
|
||||
EBUILD keepassxc-2.1.4.ebuild 1296 SHA256 21020aa77454309d2b4ec78c59789b1fc5682cf8b2f496d98fd63379ca7e1c4d SHA512 bff1649354cc4188a248409fca71653831ee5af2f59d8ee8cf2fedbf7b0da08211744379ba3d12db70cddfb397000f827703265f74c5b4842dda2b5952a9b990 WHIRLPOOL 508a2cab8eef69078287ea5ee446546160b764d38319553352ee84000bbeddc72748f71186dbb3efe91df5daeab70a0564a653a75f7c913786edcdac26bcb47b
|
||||
EBUILD keepassxc-2.2.0.ebuild 1335 SHA256 0228a57f08e54e04b81f675dd39daaf55576b847651665ecbafeff680f76e337 SHA512 6fbf334e67c6a0f36ff423512fb889257a1458219c1a1ce096de09b0cfb795616f1c4bc943222e0e8ab6cdb8de0e4218b062e20e78e5c4db95c296cdfd6bd832 WHIRLPOOL 7111027f4c17cca3e790a71c60fcd937ba8463d940de988720b3d4d57d13d7e35848cba1a8f35710cd0c41a758623a866e702fb30b1e51d801f9637e7537ae36
|
||||
EBUILD keepassxc-2.2.1.ebuild 1335 SHA256 0228a57f08e54e04b81f675dd39daaf55576b847651665ecbafeff680f76e337 SHA512 6fbf334e67c6a0f36ff423512fb889257a1458219c1a1ce096de09b0cfb795616f1c4bc943222e0e8ab6cdb8de0e4218b062e20e78e5c4db95c296cdfd6bd832 WHIRLPOOL 7111027f4c17cca3e790a71c60fcd937ba8463d940de988720b3d4d57d13d7e35848cba1a8f35710cd0c41a758623a866e702fb30b1e51d801f9637e7537ae36
|
||||
EBUILD keepassxc-9999.ebuild 1335 SHA256 0228a57f08e54e04b81f675dd39daaf55576b847651665ecbafeff680f76e337 SHA512 6fbf334e67c6a0f36ff423512fb889257a1458219c1a1ce096de09b0cfb795616f1c4bc943222e0e8ab6cdb8de0e4218b062e20e78e5c4db95c296cdfd6bd832 WHIRLPOOL 7111027f4c17cca3e790a71c60fcd937ba8463d940de988720b3d4d57d13d7e35848cba1a8f35710cd0c41a758623a866e702fb30b1e51d801f9637e7537ae36
|
||||
MISC metadata.xml 819 SHA256 eef8083b85f448c94b9b84f542ac6894cb0d16e91f03a22e27d31cc744667d7d SHA512 b0607500bf25e7d4b504dd7fe0c03cf25f21cc32b79a0fe3a58d847f7ad2647c0452077ad8e16e1b2c63987ef68842b8d673fa0ebe657d918f27e0b163c8957d WHIRLPOOL aa80bba4cfa8cb4e5fadb8e36eced51596072c5a01a20b723742940dd1e7ec12a9ccd908fdf0ec04b8c703b81d6fe520a2f8aea4cae248afa9eafe12076e9914
|
||||
|
@ -0,0 +1,65 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
SCM=""
|
||||
[[ "${PV}" == 9999 ]] && SCM="git-r3"
|
||||
inherit cmake-utils ${SCM}
|
||||
unset SCM
|
||||
|
||||
DESCRIPTION="KeePassXC - KeePass Cross-platform Community Edition"
|
||||
HOMEPAGE="https://github.com/keepassxreboot/keepassxc"
|
||||
|
||||
if [[ "${PV}" != 9999 ]] ; then
|
||||
SRC_URI="https://github.com/keepassxreboot/keepassxc/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
else
|
||||
EGIT_REPO_URI="https://github.com/keepassxreboot/${PN}"
|
||||
fi
|
||||
|
||||
LICENSE="LGPL-2.1 GPL-2 GPL-3"
|
||||
SLOT="0"
|
||||
IUSE="autotype debug http test yubikey"
|
||||
|
||||
RDEPEND="
|
||||
dev-libs/libgcrypt:=
|
||||
dev-qt/qtcore:5
|
||||
dev-qt/qtdbus:5
|
||||
dev-qt/qtgui:5
|
||||
dev-qt/qtnetwork:5
|
||||
dev-qt/qtwidgets:5
|
||||
sys-libs/zlib
|
||||
autotype? (
|
||||
dev-qt/qtx11extras:5
|
||||
x11-libs/libX11
|
||||
x11-libs/libXi
|
||||
x11-libs/libXtst
|
||||
)
|
||||
yubikey? ( sys-auth/ykpers )
|
||||
"
|
||||
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
dev-qt/linguist-tools:5
|
||||
dev-qt/qtconcurrent:5
|
||||
test? ( dev-qt/qttest:5 )
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
use test || \
|
||||
sed -e "/^find_package(Qt5Test/d" -i CMakeLists.txt || die
|
||||
|
||||
cmake-utils_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DWITH_GUI_TESTS=OFF
|
||||
-DWITH_TESTS="$(usex test)"
|
||||
-DWITH_XC_AUTOTYPE="$(usex autotype)"
|
||||
-DWITH_XC_HTTP="$(usex http)"
|
||||
-DWITH_XC_YUBIKEY="$(usex yubikey)"
|
||||
)
|
||||
cmake-utils_src_configure
|
||||
}
|
@ -1,9 +1,7 @@
|
||||
DIST restic-0.4.0.tar.gz 22926188 SHA256 746dbc7b73f5a542be57b71714b243266a011f1d750f56f5100c08a59df1aeac SHA512 ccd15f010f8da3bae3d33698e70ff1d9565f52fb56991b78d35f95493417a4ab050021153d81c424947233255d9553d050f7a66e1c709843fe3b2d323a81f85b WHIRLPOOL 94e6b9ed777a86cb6e46cf734b9280e68cc2ce1ea061c8a94409dca594add1ec24fb736a56e35571302ff5043a60bef7f60ff3b39b038ee128bc815f7d3d48cd
|
||||
DIST restic-0.5.0.tar.gz 22937327 SHA256 a8e99087478a076b8a9c7c74d37cd23a56224d8c9b242c171756784ade024fda SHA512 571e4b0aa92a6cd9320f48c46a4b2190576d9328169d54762747dfa024ab280fb41ee377b59f0114d89ebd50bc54488a8cb5e2b36c57959202e848394107bb3c WHIRLPOOL 19fef25a6e2dff3145a6700abb581e7cae3abe5522ee0197f56a572d499824e84ba25a3111c5e71856ffac18d75622766c74c585a44b6db489468050e1c8d59a
|
||||
DIST restic-0.6.1.tar.gz 25231223 SHA256 7cd709c592a5978723673397d7d13c37c0977e20c43db253d0c274b53a55654a SHA512 8c899ca8b6e3dfa399fe5c4306f72a1bcfa869dd667d27f3f88efa26aaa1000959bf91b515911b2ef7b2d4c5bb3e2ed4f202c87add7766d2147b7d40f0757a9a WHIRLPOOL 39225876fd6ce9e4ddac765688238ab5ea430272aacc6e96d54c359de939d2e69cdc45a5571cb63777c258a74b5a9bfbd6114d2463004b242b009856d87b6e2e
|
||||
DIST restic-0.7.1.tar.gz 25438170 SHA256 81efde662c34225b5705f3d72daa1f6278455c2b8f786224d7a1ecca0b14efca SHA512 3b887149c801fe81f9bf65e0ae4a17ba97f66c0133f45b3f5526d79d580f072e0e5fd89cd78a5018992dc42e6dafb9385139f4336fe6f06d57d8abe7a9e323b1 WHIRLPOOL bbdeafadd7b329147b7ea30b13d806d20de76e8efcc1ace4eea74420aa39f6d7a8f5eb186169d2a053988d07d44063ca71c54287aa07c4cd4cdc906a07b80dc7
|
||||
EBUILD restic-0.4.0.ebuild 891 SHA256 ced7a80d6c6d326098e4cfe5611761e3ff0bd6a0eac92b7b44b444f544c56c16 SHA512 30430d876a6553c656dc9e215d9f2a83c2427f5315ae5b1ff73bbb25b61e99f7972af11c668573f8c38e5142a26c50e9e769e159183a9d1b1edb0c866db544fa WHIRLPOOL 4008b83e18e4d72e5bb921f210cea7bb3ef3cff1ada67f6acaf62878e7c8d693ce7934ffdaf91ae50ee1f2bb58061ff60625955b11a6bca902b5604207070e89
|
||||
EBUILD restic-0.5.0.ebuild 889 SHA256 e6439353281c1279010e49c3385beb7e299482eda266606410008f4bef987554 SHA512 417f6c4d0c8f1f9392a23f84b72b3402435237d6b937d361afff46600966fbfe3423a1b0065178b57d79c5942f621f1eabde421d902f6fd9325d099b1e6b3d38 WHIRLPOOL 31c766b7423014b47b16c16de24ac0f9616158a117280132a0f7fb79cf62fa5553e9e661fd6f0317b12c0c5d24a957277ccaad4b80746ce8fdb22a1907e8eda2
|
||||
DIST restic-0.7.3.tar.gz 37062625 SHA256 6d795a5f052b3a8cb8e7571629da14f00e92035b7174eb20e32fd1440f68aaff SHA512 2d44b4fc363c7f6389c1f06469cf30ebeff4d6ade0bd4fcae1d7d9def3922936b45043b04f4072284b773df2c6487c58db6aea41c7de5c8184ca33ca3c44d44a WHIRLPOOL dde430e4d718928b01da0f1558fd8a7bf65a0d9e3a4a620cc7557e6afd4760a8dc6c1a9d7c744649cb817b99fb22ee2e2f893d5fd49fa961d5ab6b8bb02941b0
|
||||
EBUILD restic-0.6.1.ebuild 1078 SHA256 fbf4569989a192faa3f3f050f0a610dd358b6b77f5540f157cf1b42fbc9a6928 SHA512 4eaec8118534b3f5b9c97860ac0bae066712e6ce196594ccd90bcc92979e39166bb41d40cde54513ca30409935b31ee20eb71040f95da230632329bc73ee8fe2 WHIRLPOOL b5014804b4eec0c7b6f62d27545cca7c5c50bd565e66ae939f3d36ad37775a354d1ea8c8b1539949414c1e55957d66d1e04ba0362a4c76e59bbc6b601730321c
|
||||
EBUILD restic-0.7.1.ebuild 1073 SHA256 0b082e0f0e5c1de3d1fcba6848833e361347f1dee2497e6c670ba204ce9a5722 SHA512 08f73d1e267f90a9eda7e16ad883d38dd05ed21e1f2fdcb02c5cb7fb66cc5f9d7f7a6caef756d41e6b562df882572a96ceb077e8050e7407d42862bec3bbf989 WHIRLPOOL c4094ae266505536b744733db7de420256b6782b4f08a9ee492ed7fd543526c0e980d2f63fb5b8225ecd0e19aa153f71ddc16e3b3d9a5d09c1c46767a591f228
|
||||
EBUILD restic-0.7.3.ebuild 1276 SHA256 64f0bf271cfca8e1cab982059c2bcf7e157c1d6920d6fd0c50830bf6eb4d9fd0 SHA512 d7bfd4df6620cba9400e6b6c484864a0a5fae4953744cef7e1979f234a3c7d40a53e8750a572d414c98090f99734bc8243aac6353493c845b710190915f52cfe WHIRLPOOL b1e6925506f14ee4d498fe9627922101434568373db9aae0320d1910618e47403af11dcab450e34b5e605d553ac54e1c080e0bf477641f9a0224f18a4ff94a5d
|
||||
MISC metadata.xml 444 SHA256 664313cb01b0dc4e6bbe464c977a6b9ad167b75fd4623b680fe83b4c0d9276c4 SHA512 8dbd7df10769ff8d0271588be8c97402d5917a4c0dbafa5daad2090245ee4b022193a6c271f71c342540d7599b029998c91c10364eae7d55de0275276342c0f4 WHIRLPOOL 2719b3876d2a4fad1a609ee45efe354f9e9343edbb20b4de494a14a63a97b73162b28e47b4b2347144bb8183b3a00adb86145a5403245a090bf65d1c229abb91
|
||||
|
@ -1,42 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
DESCRIPTION="restic is a backup program that is fast, efficient and secure"
|
||||
HOMEPAGE="https://restic.github.io/"
|
||||
SRC_URI="https://github.com/restic/restic/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
|
||||
DOCS=( README.md CONTRIBUTING.md doc/Design.md doc/FAQ.md doc/index.md doc/Manual.md doc/REST_backend.md )
|
||||
|
||||
DEPEND="dev-lang/go
|
||||
test? ( sys-fs/fuse:0 )"
|
||||
|
||||
RDEPEND="sys-fs/fuse:0"
|
||||
|
||||
src_compile() {
|
||||
local mygoargs=(
|
||||
-v
|
||||
-work
|
||||
-x
|
||||
-tags release
|
||||
-ldflags "-w -X main.version=${PV}"
|
||||
-o "${S}"/restic cmds/restic
|
||||
)
|
||||
|
||||
GOPATH="${S}:${S}/vendor" go build "${mygoargs[@]}" || die
|
||||
}
|
||||
|
||||
src_test() {
|
||||
GOPATH="${S}:${S}/vendor" go test -v -work -x restic/... cmds/... || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin restic
|
||||
einstalldocs
|
||||
}
|
@ -1,42 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
DESCRIPTION="restic is a backup program that is fast, efficient and secure"
|
||||
HOMEPAGE="https://restic.github.io/"
|
||||
SRC_URI="https://github.com/restic/restic/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
|
||||
DOCS=( README.md CONTRIBUTING.md doc/Design.md doc/FAQ.md doc/index.md doc/Manual.md doc/REST_backend.md )
|
||||
|
||||
DEPEND="dev-lang/go
|
||||
test? ( sys-fs/fuse )"
|
||||
|
||||
RDEPEND="sys-fs/fuse:0"
|
||||
|
||||
src_compile() {
|
||||
local mygoargs=(
|
||||
-v
|
||||
-work
|
||||
-x
|
||||
-tags release
|
||||
-ldflags "-w -X main.version=${PV}"
|
||||
-o "${S}"/restic cmds/restic
|
||||
)
|
||||
|
||||
GOPATH="${S}:${S}/vendor" go build "${mygoargs[@]}" || die
|
||||
}
|
||||
|
||||
src_test() {
|
||||
GOPATH="${S}:${S}/vendor" go test -v -work -x restic/... cmds/... || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin restic
|
||||
einstalldocs
|
||||
}
|
@ -0,0 +1,62 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit golang-vcs-snapshot
|
||||
|
||||
DESCRIPTION="A backup program that is fast, efficient and secure"
|
||||
HOMEPAGE="https://restic.github.io/"
|
||||
SRC_URI="https://github.com/restic/restic/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
EGO_PN="github.com/restic/restic"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
IUSE="test"
|
||||
|
||||
DOCS=(
|
||||
README.rst CONTRIBUTING.md doc/design.rst
|
||||
doc/faq.rst doc/index.rst doc/manual.rst
|
||||
doc/rest_backend.rst doc/development.rst
|
||||
doc/talks.rst doc/tutorial_aws_s3.rst doc/installation.rst
|
||||
)
|
||||
|
||||
DEPEND="
|
||||
dev-lang/go
|
||||
test? ( sys-fs/fuse:0 )"
|
||||
|
||||
RDEPEND="sys-fs/fuse:0"
|
||||
|
||||
S="${WORKDIR}/${P}/src/${EGO_PN}"
|
||||
|
||||
src_compile() {
|
||||
local mygoargs=(
|
||||
-v
|
||||
-work
|
||||
-x
|
||||
-tags release
|
||||
-ldflags "-s -w -X main.version=${PV}"
|
||||
-asmflags "-trimpath=${S}"
|
||||
-gcflags "-trimpath=${S}"
|
||||
-o restic ${EGO_PN}/cmd/restic
|
||||
)
|
||||
|
||||
GOPATH="${WORKDIR}/${P}:$(get_golibdir_gopath)" \
|
||||
go build "${mygoargs[@]}" || die
|
||||
}
|
||||
|
||||
src_test() {
|
||||
GOPATH="${WORKDIR}/${P}:$(get_golibdir_gopath)" \
|
||||
go test -timeout 30m -v -work -x ${EGO_PN}/cmd/... ${EGO_PN}/internal/... || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin restic
|
||||
einstalldocs
|
||||
|
||||
local i
|
||||
for i in doc/man/*; do
|
||||
doman "$i"
|
||||
done
|
||||
}
|
@ -1,7 +0,0 @@
|
||||
DIST jakarta-jmeter-2.0.1_src.tgz 5368483 SHA256 8dc7b0ff680af721adeeab198f7dc99f5e376df04c2504291564cfaccdcf5f36 SHA512 221a9d1ed19407ab0b863443827f8b6d7f179ef27227defc3c71ab4ccb5981bbb82f239206993590500a9adf2444cdcefb219dcb28afe6488659a2be19374b08 WHIRLPOOL 07a980e7f46da636d760a0c62ba42de653fda3417cc2442fc34d5e13b46291b3a3f0c49fd05a93bdebb7d8968c5a77e643a59094fdf619d0dc24e048a9e5f762
|
||||
EBUILD jmeter-2.0.1-r4.ebuild 1465 SHA256 88691db15ecbd1c36373eb4a3ded3ffec6e29b7a0527a7b7605a14892eb0326a SHA512 7525e0caac78a3d58b765a309956d57ac8e2f9b645b3ac288cb374f26a8b7fab3cce1c0398608dfbb8fe11989e45800dc6848dadf2344034ee2eceeb6771a0ed WHIRLPOOL 3dfc0d0f3239dea92145a1e5cb6e23c9676551c08a75e3606443c84cb1e6ddf45c31063744230222d3058756ffe8a04a1a640551cdccf33c2046a2f1f5a89d33
|
||||
EBUILD jmeter-2.0.1-r5.ebuild 1786 SHA256 f6463818a9ce464dda885422dbbb6fc2d006ccb0836acf813aec9a5896faf421 SHA512 2e363141fc0c637aac78fe00ecc72c1498cb67fa8ca51ac366b85d3cc0fb6c55fe246ca096e411288423394e7f8b22a4df3065218c8bd91c81be3425513f0712 WHIRLPOOL 546ee0113ba05192274d99d0fb4c0062ada0730b5e5c4afa4bd8e3e1b687672812c9f9cd7490f7c447c76f7973eac751c4a866276756e1e901eea2723debeda1
|
||||
EBUILD jmeter-2.0.1-r6.ebuild 1802 SHA256 8141901db2e85f63b5f1ecadd2493bf6c277b81e41bb3fe0056975014f30d8da SHA512 26b46527d863bd525ca2b011edb9ae944dfe9d89753cb30190a18e2d72a7c379721b44e44be080e1048cfa180214789bb6f4789ff7ae2e565fe1635ad6b458b6 WHIRLPOOL 3fcda8b9e5b121b5a997436396c6d4df11df885a8ddde12b12aa0754f44381d7a69b6dd5507b6a14ca4d67289b2a4521c75485b9256e4f19cb0e3d5112429882
|
||||
MISC ChangeLog 3647 SHA256 ff56db2e34d880dab9c287f3955042d1feb8777c133f97822413985b704b66f8 SHA512 7d944ffb06f9ec37e9373d4615a28dce7d48bde2b6fc77381e2f6bada04d37318b9a85a10c07d27c667091b9321e9a5ff6011a64e432e58117a916bffbd94c85 WHIRLPOOL 2ddef18105616f4b660d8e3698130cddbf14b8200d8ec7155485199aaf244283fe0aa8e6bee32cbf33ef699c57ca7c618fbce8e55232e068e365a68f41075f66
|
||||
MISC ChangeLog-2015 6476 SHA256 b1d0d7d49629d28d367325f9bd28767a24062884d5376ba5954119d21b863dbe SHA512 9672746bae503735d1deb5e5ab19da6bf4f8224bd1e13dc18cb18b3bdcdf42751d19a558dcd9c3fd5711fd79658b2e9b0f32186ed6a071db65f46a25d6d7e104 WHIRLPOOL 93d7ed7c7e204c857fc1f89d06fb2b69abd026a7808b2b52db590b1a0371efa1482424699736639b056ec5ca693b401a01f8bf86132ae53d7bdb2bbb728d0d4e
|
||||
MISC metadata.xml 311 SHA256 6589f208ec033ad7aeb876df0bf96439d4a9471e325b9604e63ed97c4fd96df8 SHA512 383881a84b7aee433bed722e61d9031399b744dbf5e16fea84001b793112e7a591cf77d38ec939d40152c24e6d3b7bf18b5967e039236991d88898aa0f27f8c2 WHIRLPOOL f5445c2da5e1c4a75b1fb08395ffb34f77bd7e173ae50542ffdd256bdc7b98b5c6c3d90243172334079fdf01ff5397a90dbb479b58136740e781ff1dae224cb4
|
@ -1,59 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
inherit java-pkg-2 java-ant-2
|
||||
|
||||
DESCRIPTION="Load test and measure performance on HTTP/FTP services and databases"
|
||||
HOMEPAGE="http://jmeter.apache.org/"
|
||||
SRC_URI="mirror://apache/jakarta/jmeter/source/jakarta-${P}_src.tgz"
|
||||
COMMON_DEP="
|
||||
beanshell? ( dev-java/bsh )
|
||||
>=dev-java/bsf-2.3
|
||||
=dev-java/junit-3.8*
|
||||
java-virtuals/javamail"
|
||||
DEPEND=">=virtual/jdk-1.4
|
||||
doc? ( >=dev-java/velocity-1.4 )
|
||||
dev-java/ant-nodeps
|
||||
sys-apps/sed
|
||||
${COMMON_DEP}"
|
||||
RDEPEND=">=virtual/jre-1.4
|
||||
${COMMON_DEP}"
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="beanshell doc"
|
||||
|
||||
S=${WORKDIR}/jakarta-${P}
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
|
||||
cd "${S}"
|
||||
sed -i -e 's/%//g' bin/jmeter || die "Unable to sed."
|
||||
cd "${S}/lib"
|
||||
# FIXME replace all bundled jars bug #63309
|
||||
# then rm -f *.jar
|
||||
use beanshell && java-pkg_jar-from bsh
|
||||
java-pkg_jar-from bsf-2.3
|
||||
java-pkg_jar-from junit
|
||||
java-pkg_jar-from --virtual javamail
|
||||
java-pkg_filter-compiler jikes
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local tasks="ant-nodeps"
|
||||
use doc && tasks="${tasks} velocity"
|
||||
ANT_TASKS="${tasks}" eant package $(use_doc docs-all) || die "compile problem"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
diropts --mode=0775
|
||||
dodir /opt/${PN}
|
||||
local dest="${D}/opt/${PN}/"
|
||||
cp -pPR bin/ lib/ printable_docs/ "${dest}"
|
||||
if use doc; then
|
||||
cp -pPR printable_docs "${dest}" || die "Failed to install docs"
|
||||
fi
|
||||
dodoc README || die
|
||||
use doc && dohtml -r docs/*
|
||||
}
|
@ -1,71 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
JAVA_PKG_IUSE="doc source examples"
|
||||
|
||||
inherit java-pkg-2 java-ant-2
|
||||
|
||||
DESCRIPTION="Load test and measure performance on HTTP/FTP services and databases"
|
||||
HOMEPAGE="http://jmeter.apache.org/"
|
||||
SRC_URI="mirror://apache/jakarta/jmeter/source/jakarta-${P}_src.tgz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
IUSE="beanshell"
|
||||
|
||||
COMMON_DEP="
|
||||
beanshell? ( dev-java/bsh )
|
||||
>=dev-java/bsf-2.3
|
||||
=dev-java/junit-3.8*
|
||||
java-virtuals/javamail"
|
||||
DEPEND=">=virtual/jdk-1.4
|
||||
doc? ( >=dev-java/velocity-1.4 )
|
||||
dev-java/ant-nodeps
|
||||
sys-apps/sed
|
||||
${COMMON_DEP}"
|
||||
RDEPEND=">=virtual/jre-1.4
|
||||
${COMMON_DEP}"
|
||||
|
||||
S=${WORKDIR}/jakarta-${P}
|
||||
|
||||
java_prepare() {
|
||||
sed -i -e 's/%//g' bin/jmeter || die "Unable to sed."
|
||||
cd "${S}/lib" || die
|
||||
# FIXME replace all bundled jars bug #63309
|
||||
# then rm -f *.jar
|
||||
use beanshell && java-pkg_jar-from bsh
|
||||
java-pkg_jar-from bsf-2.3
|
||||
java-pkg_jar-from junit
|
||||
java-pkg_jar-from --virtual javamail
|
||||
java-pkg_filter-compiler jikes
|
||||
|
||||
find "${S}"/src -name "*.java" | xargs sed -i -e 's:\benum\b:enumx:g' || die # fix for bug #514662
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local tasks="ant-nodeps"
|
||||
use doc && tasks="${tasks} velocity"
|
||||
ANT_TASKS="${tasks}" eant package $(use_doc docs-all) || die "compile problem"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
diropts --mode=0775
|
||||
dodir /opt/${PN}
|
||||
local dest="${D}/opt/${PN}/"
|
||||
cp -pPR bin/ lib/ "${dest}" || die
|
||||
if use doc; then
|
||||
cp -pPR printable_docs "${dest}" || die "Failed to install docs"
|
||||
fi
|
||||
dodoc README
|
||||
|
||||
echo "PATH=\"/opt/${PN}/bin\"" > "${T}/90${PN}" || die
|
||||
doenvd "${T}/90${PN}" || die "failed to install env.d file"
|
||||
|
||||
use doc && dohtml -r docs/*
|
||||
use source && java-pkg_dosrc src/*
|
||||
use examples && java-pkg_doexamples xdocs/demos/*
|
||||
}
|
@ -1,77 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
JAVA_PKG_IUSE="doc source examples"
|
||||
|
||||
inherit java-pkg-2 java-ant-2
|
||||
|
||||
DESCRIPTION="Load test and measure performance on HTTP/FTP services and databases"
|
||||
HOMEPAGE="http://jmeter.apache.org/"
|
||||
SRC_URI="mirror://apache/jakarta/jmeter/source/jakarta-${P}_src.tgz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
|
||||
IUSE="beanshell"
|
||||
|
||||
CDEPEND="
|
||||
beanshell? (
|
||||
dev-java/bsh:0
|
||||
)
|
||||
dev-java/bsf:2.3
|
||||
dev-java/junit:0
|
||||
dev-java/oracle-javamail:0"
|
||||
DEPEND="virtual/jdk:1.7
|
||||
doc? (
|
||||
dev-java/velocity:0
|
||||
)
|
||||
dev-java/ant-nodeps
|
||||
sys-apps/sed
|
||||
${CDEPEND}"
|
||||
RDEPEND="virtual/jre:1.7
|
||||
${CDEPEND}"
|
||||
|
||||
JAVA_ANT_ENCODING="ISO-8859-1"
|
||||
|
||||
S=${WORKDIR}/jakarta-${P}
|
||||
|
||||
java_prepare() {
|
||||
sed -i -e 's/%//g' bin/jmeter || die "Unable to sed."
|
||||
cd "${S}/lib" || die
|
||||
# FIXME replace all bundled jars bug #63309
|
||||
# then rm -f *.jar
|
||||
use beanshell && java-pkg_jar-from bsh
|
||||
java-pkg_jar-from bsf-2.3
|
||||
java-pkg_jar-from junit
|
||||
java-pkg_jar-from oracle-javamail
|
||||
java-pkg_filter-compiler jikes
|
||||
|
||||
find "${S}"/src -name "*.java" | xargs sed -i -e 's:\benum\b:enumx:g' || die # fix for bug #514662
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local tasks="ant-nodeps"
|
||||
use doc && tasks="${tasks} velocity"
|
||||
ANT_TASKS="${tasks}" eant package $(use_doc docs-all) || die "compile problem"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
diropts --mode=0775
|
||||
dodir /opt/${PN}
|
||||
local dest="${D}/opt/${PN}/"
|
||||
cp -pPR bin/ lib/ "${dest}" || die
|
||||
if use doc; then
|
||||
cp -pPR printable_docs "${dest}" || die "Failed to install docs"
|
||||
fi
|
||||
dodoc README
|
||||
|
||||
echo "PATH=\"/opt/${PN}/bin\"" > "${T}/90${PN}" || die
|
||||
doenvd "${T}/90${PN}" || die "failed to install env.d file"
|
||||
|
||||
use doc && dohtml -r docs/*
|
||||
use source && java-pkg_dosrc src/*
|
||||
use examples && java-pkg_doexamples xdocs/demos/*
|
||||
}
|
@ -1,11 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>java@gentoo.org</email>
|
||||
<name>Java</name>
|
||||
</maintainer>
|
||||
<use>
|
||||
<flag name="beanshell">Enable BeanShell scripting support</flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
@ -1,5 +1,5 @@
|
||||
AUX 50basic-toolkit-gentoo.el 77 SHA256 be67fbb8bd2e3ff4bfc7109e34cb12ca45bf2ff819ad7287e4ef4dcb013e73e4 SHA512 e6e622dbb2df0d55e5f5b18e29afa95a52065783a84f3e982799c614c95f305081ec6f9214f8bb31a50eef77c7c18987259d326c5ad56d01f4130266fc29a6ef WHIRLPOOL ec541f92a81209bff38677ccc2e001e83836e85fd162ac5679f4ccd259f83d66f714e673cf1347ba2aafacf79afa18c67931c4b19a4b9b8511662f11ca989783
|
||||
DIST basic-toolkit-0.3.el.xz 6524 SHA256 22d93aa75512c861dfad57bc4923527da31b7c8c9a8eee13ee2f73f985ecdbec SHA512 3ba22833e8e899c5276e9c36779b1cffdcf3a76adaa0379a346331190f4529c8706b7e3b850768ce270016d8bc184abb4a48dc5ed11bb4766062bae966e9806d WHIRLPOOL 5ede8fa1c938491457fd3fd1a7a0f38cff6eba696dcf9bfc3857880f429b3e794b988589ed6ec615ba0a2d9e958e64982d516d59ee018f645468808ab806a662
|
||||
EBUILD basic-toolkit-0.3.ebuild 575 SHA256 d4350203ed02d4d8ce508d5cbe82c99c6100780c58127ff49e0af208e62ef76b SHA512 cb6283d578f87171dee180a37ae507679327fb758527250faf16955dac37040940d3972a412b531d1c650e6dbe3d117d4b033df3194556c87bb78e8bf4823981 WHIRLPOOL bcaf50757f2d79aa9b917e87d679e18e9431f7a0a4408ad3a3c4360e43f6e690ea171d58499d660a47b3f3a269a4b70830a97227666ab0146bf41b98fa797423
|
||||
EBUILD basic-toolkit-0.3.ebuild 573 SHA256 4614b016b125bfc12e569b7da067da7d1affc6d779f1d9341f78ee308bfd805c SHA512 614df71ae1578fbdc0c428e275dd2fa3ba63ed4fc7c3250c7b2c27922f6fa6f34c481e030c8aa81aa3ae9fde4d698b817d5564a59623415bdd6acd9ddfff3f17 WHIRLPOOL 8e3579d231a15fa0d441628a6e3d1ed3117949f15d1205365d4f44c898541b46eff440bbb7b5531cab4f49b3bfe2db92dab5288667055d0764f898a8d8a70693
|
||||
MISC ChangeLog 696 SHA256 94f59f19ff4e9165898f2039d51d06d7bcee55b1739ea07562592d03b76d98da SHA512 c71b98dd78c2368958996ea6b07e641fe9eaa532e79256817efdac8b343e9bb40ae67b7eafa7251c3a56681d344662143e0520eca4cdde169b92b627acc2ecec WHIRLPOOL c9e251d114e2dc34725eda25215d489d9e6be7808e97d8451974b40c7fd1b3f5ef9addbedd1c7d8930d664f415c14a4d2eddf88f17510880bf41764b93c4c134
|
||||
MISC metadata.xml 552 SHA256 a2df42ae967d15d7b634d4df231ac2bb1d16ee35e2734eeed618270f7cab047e SHA512 64101032c49cef4fe26c39b039e55d07631d35279afbd8b9d0d020ca842eeaab7ae8a131077e1265d674ee8a02c7f29f325da7a1856ae2f5fae4ec0a86517f93 WHIRLPOOL a23247f3fe98f96d3ae910c9636548b1b17c8d1ec1813b063d05f524a2ebde7f6ad56ae561a454af1a76f7770e9dbd3f7caa385f80d409fdb7a73707b76b24d3
|
||||
|
@ -1,5 +1,5 @@
|
||||
AUX 50buffer-extension-gentoo.el 80 SHA256 3487623bd87a09d51787b7ad8e24d85f2232c115370599f540fe7e0c281eb61f SHA512 e3f1534344a9c1cca133f93fd03024a5dd9867823358bf83beb81cadece5488054bac378fbe947c9a1f71b085381254dacc6b7e7c3a18e8ad72cebdfd41fc2d9 WHIRLPOOL 0e247f2c74e7e608fac8daedb69c860879fef856fcb94eb3d95ea376ce9d0d5bd2b77c5865165c1df1cb02c99876e3da7a3845f0c40476ed4626e264b4073020
|
||||
DIST buffer-extension-0.1.el.xz 2472 SHA256 34dc964347be388aaba54c5a2f42d5f7b36eb53ef57cfccf1a0ee353a04860d8 SHA512 fef6380a7455fab534563da44868cbab2a54a793e7c86142171940b6133c4e8a9d7008c7f1297568135071eb4f1936f67ec6eea4d2f0a450be5337d97cd0139c WHIRLPOOL 5bc948ea4c9cdd422855a70e17c447a1167bc28ad5a8f149606f47f4e58f272aafbe8921d10fbc6312791a6281eee0291d1c6fe4d6237dee124b0f09968cb176
|
||||
EBUILD buffer-extension-0.1.ebuild 590 SHA256 d79aacf60b1cb34891d63a2b76161805015b3f417965c775fbcc397766175e44 SHA512 6cc5ca6bf4c4f7c9060dc2c66b5aa78b1c9bb22de14a68bc3a09b797df68d2e39e6c437a42a42d206ab78967d0b6a8f607f3725dd350f1ca47b1b651e89fd783 WHIRLPOOL 836040b98514112e0f422538182d1fa9d6367bd8c56376d5b991e03642c0f2b9f983de381009b08bffaf12ebb3bcb006eab38dc8cd91bec7a0dac52491ee89f9
|
||||
EBUILD buffer-extension-0.1.ebuild 588 SHA256 0d6c087684a76274e60057a2161c7264d69d14bcba348e5f4cca183fe3656ec0 SHA512 099d16974743288f4b4f3b2253f415990736fbb3d69e643c6ea795118b795cff4e30570b746aeb6c2e2fa8bb31fe781750202ef4d6864efa9df21f44ae0e620a WHIRLPOOL 86878157dc07bf310a3cadcc00ef9fd0885022f9ce86065ac10a8dc86010cc232cd39e08f69d14b26ca4023adc6c61de4d22ae80fc6228fb5be3d0848e6d572e
|
||||
MISC ChangeLog 711 SHA256 60df89365847e8ccaa1a84893c9fea1256cd65457d3529ed2ede5d445e79a1de SHA512 f66fdb2a65fa80e35d31a6bd80e36d405e99e214c3d12c1eee19f31723eeaa03f89df263642684bc653531f4250e418a2149f26b8fef4066a3e513aca3769121 WHIRLPOOL dd18a0dc596834c272bfe81dc37ed0ac4725eccb09e6d941f5caaadea3542345d3e9c2176dfb5f759e39fb3fde4fae6b9b58a4da9c7eb6491927aaef2ef1d035
|
||||
MISC metadata.xml 552 SHA256 a2df42ae967d15d7b634d4df231ac2bb1d16ee35e2734eeed618270f7cab047e SHA512 64101032c49cef4fe26c39b039e55d07631d35279afbd8b9d0d020ca842eeaab7ae8a131077e1265d674ee8a02c7f29f325da7a1856ae2f5fae4ec0a86517f93 WHIRLPOOL a23247f3fe98f96d3ae910c9636548b1b17c8d1ec1813b063d05f524a2ebde7f6ad56ae561a454af1a76f7770e9dbd3f7caa385f80d409fdb7a73707b76b24d3
|
||||
|
@ -1,5 +1,5 @@
|
||||
AUX 50cycle-buffer-gentoo.el 76 SHA256 6d217977d1ca2265c074d906d82f4c47520b37409142f6011f203bc25780608c SHA512 e19c819b054a961e3265c6bfc96f20bfc90ee9cfbdf78f30d86e211b168e4e4ccf94ed6ef8d52c08a37dee3202773eb1164f7d758572c943e3bb2de52fea3fbd WHIRLPOOL 2b6a3fc16a2a94cd944c66877b6cb49774d8e1192e59393dfe1fbf14ef5135ab0466d293245eacbb0994ca518f99cc3b72ad5235df6e2be808f905a307ec0b69
|
||||
DIST cycle-buffer-2.16.el.xz 5392 SHA256 bf7a63fb50dffdb553d13c41bd8aa188b6eebda4b1de4e5e10d450c86398c3a8 SHA512 344c07af9e2c9ff06dfa81ff44d02c1e8a9434381486c227a7af06c989e7c623b0f9bf547500b320e2ede7d181f0212725c03a84f53a43683ab3b8229b99a6c6 WHIRLPOOL 43f3b8793ead034f59488d9082d6f72df2a72598285e6cae5b175ddb52b12a71b44fd90fdc8e8140a9f8c0920cbadbf7b7df11b17cb6273ea72af3cfd1d34704
|
||||
EBUILD cycle-buffer-2.16.ebuild 521 SHA256 b2d04cc48c93562bf344cf5b091a6e1fbdd3c928481875948e5699f31944e7b5 SHA512 568f1a32487c09f329cdd352bb7c4eea54fcae8d26cb51196602bb5640a1133e2c40ec65309695628b98718112b0351234cab5e6e41d5113b9d9f6d30fd04c10 WHIRLPOOL 03f23f8b35aeeea979e3292c42a7f1fde580a40266df7f25bd9cd662945ecb3002cf8225a963e22e85c3500c0fef0bdbea2ce0768f231eae200268b9945bbfd8
|
||||
EBUILD cycle-buffer-2.16.ebuild 519 SHA256 0c3ef8e87f8270daa97f0d6bb8eeb7594740b6818ab042eb410676fab60e62c1 SHA512 8a6548e9184e7fbea6aced221dbae7bd7879a3bdde9aa3b9e8ad160bb0f23fcf9801447c593e91d014771cd170bfd6f6702cafbe85259126bb76f897e8eccecf WHIRLPOOL ad5888838f51b4e157eeb7e3d1e617ece355f780423a391fe3502e432f8b165e71138105f93c43cb730aeac92ebfdf76948e823b5e9a50d21f34625c090f704e
|
||||
MISC ChangeLog 695 SHA256 49b2b496094fc93f5399211cfde38d57a60e78dfe86923ddb3db620eba5a3e9b SHA512 551f74806da6e1542183252b02b167d77755165bd13a0869ddb4d4e37ae9305cc263dbe4cc2076c930d84a950e05842c729e1d7f78b87ad67e8c345263f127f7 WHIRLPOOL 939b1147ff8c9520123f5b367afba46a2eaf0c97a591eddc40b28ac2ecee88238e848903d5ee05f03cda3246ab08144ba2d75b8ad0b893c4c7b5812cf3eab2a5
|
||||
MISC metadata.xml 552 SHA256 a2df42ae967d15d7b634d4df231ac2bb1d16ee35e2734eeed618270f7cab047e SHA512 64101032c49cef4fe26c39b039e55d07631d35279afbd8b9d0d020ca842eeaab7ae8a131077e1265d674ee8a02c7f29f325da7a1856ae2f5fae4ec0a86517f93 WHIRLPOOL a23247f3fe98f96d3ae910c9636548b1b17c8d1ec1813b063d05f524a2ebde7f6ad56ae561a454af1a76f7770e9dbd3f7caa385f80d409fdb7a73707b76b24d3
|
||||
|
@ -1,5 +1,5 @@
|
||||
AUX 50revive-gentoo.el 70 SHA256 a2c66fc6a2bda60f9e356d5e34bf99370402356ee4bb5d24870ef9093efc8670 SHA512 500ca2eb2c81fdf53a3f169885631b835d46bb6aabc640c337a99d6f5cd33b512e76940a9e80c7ba8cb06591ba395db9c2195532a2e9d4b2767a163727d6584e WHIRLPOOL 6802cad52e5c3f4731d757cdee39b9893f0d2369bfb69dd894d50bb399f4dacf692d1c2af4c2b29a601d7d956323754ac3ab3bd632d072877e18dae41308cd86
|
||||
DIST revive-2.23.el.xz 9960 SHA256 6a68048e6e6de6b2bc3059d25accaf2ec63e240aad63bc401c735d269f832a2d SHA512 6eccd93e217bdb6d6f78b95c5b620f069c70e87deb5d9ddfdb30c01edafd1ea123eb9d2943e0143062e8db4423cf30bf9028e51cbb1519e67e9210b2dc282128 WHIRLPOOL 85e1b7f98e8ee4eed2bfb8b0f821e408046396c372af7d996d7d67564254e8ee5dca8dd6ae208eb4b66f8f87847669b3742a7806d31847432b40eb0c097fde65
|
||||
EBUILD revive-2.23.ebuild 480 SHA256 8bbe85d0a5d0911328068e19407a5a32ceaad4e0f65521d83ed19f1ad29465c9 SHA512 15a6a4a01c1136db7c69ffe2cd2ecf2d44e775adbec321299d0b9f4caa3688082df159e2926881b9d6049ad03def80203f04d2296a24858c13bca1903cb875e3 WHIRLPOOL a124d14934c7d342e8632b9910a746458b396238a4212c60a4bdb79aff65c24df7f0f9b8b3b905f2bedc86b20c72141eb576438da32f87b0dd1ed756a8688f52
|
||||
EBUILD revive-2.23.ebuild 478 SHA256 e8427abc2255c0c27a0a315e5d7349c3ea4192dd0ae4a465c7f544427cbc38ae SHA512 11f7581b2b7ed57e551198478b5a2bc7074a8ace16847de6e1614322452e4bac4403ffba4bf8ee0050051b9a50223664a18e95a6191d16a950821bacead77620 WHIRLPOOL 250207cb774fecab61cec0b4ffb28cb3ce9c8a912d6370cd8f144b060ab23bc875d34308d48156b672e27df009ae8151d8e6aa51e13211b903aef7d88c7ee8ae
|
||||
MISC ChangeLog 646 SHA256 515bc6769f4e34d12aec879d61a0767f5dcf5fa9f6e69d335d91ffb223661d01 SHA512 ee99af8df606d3fd4a9b94d4b83a2bd59e9d04e9c1f97997812fbead1c37957c71a3f2cbd8ac3407fad1fb9c002ddaf4c20932462b399973ae0da868928e75a2 WHIRLPOOL e602c13f418f9a99d395cc643e8c348ef893e9e1e0d3eb2e66930f944f20edd823171e31f157b9272f6a626c77e9e8c93a8b0d95a372715c74edc82cd6381c47
|
||||
MISC metadata.xml 552 SHA256 a2df42ae967d15d7b634d4df231ac2bb1d16ee35e2734eeed618270f7cab047e SHA512 64101032c49cef4fe26c39b039e55d07631d35279afbd8b9d0d020ca842eeaab7ae8a131077e1265d674ee8a02c7f29f325da7a1856ae2f5fae4ec0a86517f93 WHIRLPOOL a23247f3fe98f96d3ae910c9636548b1b17c8d1ec1813b063d05f524a2ebde7f6ad56ae561a454af1a76f7770e9dbd3f7caa385f80d409fdb7a73707b76b24d3
|
||||
|
@ -1,5 +1,5 @@
|
||||
AUX 50windows-gentoo.el 71 SHA256 5f22d4a6c46187a95637cfc5a3bc9c67fb27bd743039869eeeaf913fcfb4e33d SHA512 9ee731d8d54d7808903fea39ca70fee4d9216f6980f02b8511b6d643040335acfdad2a9336d9c8baa9babf0805f9eef5ace760cd0e965c6c964a2bd7599e5d6d WHIRLPOOL 8dd307936ecffb70064cb5145e0a3b96d5f577fadf666ca9ac08af5fb44ed92ff123890a23691bd7fd3c89d30c66a2ae79ff3b381763d99733f696126c8725c5
|
||||
DIST windows-2.49.el.xz 26240 SHA256 14c32604b604f6ce7cb7622d5813870165cf97d65c4ed128cae3c3174afd957d SHA512 de75f2c07cd544de7e7c616b5b928c0dd538b341396819a49525304ed3d9c01c4814e0f8a8da97bdf1a449844605127da690db3ccd95980240156d3c3600b704 WHIRLPOOL 5e325a3756b1fe60cc7fca0d772f5f2bd4f7a8de3052b908590a3795fcc8e78670dd4d024421e829803401b2cdbf63ba74f774ed9d6f80e52d27ddd5fe1dc8d5
|
||||
EBUILD windows-2.49.ebuild 545 SHA256 840cbf0e28fceda4158ed1fc60dcb6130bacff2f24452e095b6da4ccd666b0bf SHA512 60ccc54b91e32d1f2b2d0b40d85a4abc5f48100534c51c6e2d7430e6831200dfe9521c862adcee77514c61e31e64540a98b7dec20be753283fa0510b6975aa7b WHIRLPOOL d982707c0daf2c7795d377ee7cabd9d75a66e335aa941cf15278689f560f0fe3274a1e6b5447b78aa7f64fef3d26ceb4ef20e3aae5bdaf1579283e6c4374ceab
|
||||
EBUILD windows-2.49.ebuild 543 SHA256 9f9e11a763cdb055f04e994c1121ede5de5e2564bb3b48661213e3334535b696 SHA512 01e8aa63f4f4cf212737c906a11ed1cb7291c70f54cc8c432d1eef6bac694f7b81724645274ff35932592a264910d829719f8a11b904bffb4505773e56d86dbf WHIRLPOOL e79ec1650a77cb07f4f1513ab95a245afd8c970236613bc1136f1a832624bf721673d16e89a09ddd340cfd681149b4b08e987125e02edf60d636d1217dcc8945
|
||||
MISC ChangeLog 668 SHA256 ead16031f8051b3db609ce6060627d70886d413f7c8623879580e8fe59ec0b05 SHA512 fe7abe3284266b012846cfbf455f7770b2b5487b3bedad4ff542a2ec36baf7456b1ee416885d9eb9e02cb371a1d6f20a82f991519ee095f4c784b8bb9bf59738 WHIRLPOOL d050f668aa0bc99a4e43e961cb68dba7e5d1d00c9a632629fde04f5b3142d0a5b4f0525c3d654ffa43cb13c5c912c33138b8dea726d3d84964ff4666ebc8326a
|
||||
MISC metadata.xml 552 SHA256 a2df42ae967d15d7b634d4df231ac2bb1d16ee35e2734eeed618270f7cab047e SHA512 64101032c49cef4fe26c39b039e55d07631d35279afbd8b9d0d020ca842eeaab7ae8a131077e1265d674ee8a02c7f29f325da7a1856ae2f5fae4ec0a86517f93 WHIRLPOOL a23247f3fe98f96d3ae910c9636548b1b17c8d1ec1813b063d05f524a2ebde7f6ad56ae561a454af1a76f7770e9dbd3f7caa385f80d409fdb7a73707b76b24d3
|
||||
|
@ -1,36 +0,0 @@
|
||||
From 9714f6b87e19b32d3a6663a20df6610265c4bfe5 Mon Sep 17 00:00:00 2001
|
||||
From: Juergen Gross <jgross@suse.com>
|
||||
Date: Wed, 28 Sep 2016 06:02:44 +0200
|
||||
Subject: [PATCH] pvgrub: fix crash when booting kernel with p2m list outside
|
||||
kernel mapping
|
||||
|
||||
When trying to boot a kernel with the p2m list not mapped by the
|
||||
initial kernel mapping it can happen that pvgrub is failing as it is
|
||||
keeping some page tables mapped.
|
||||
|
||||
Unmap the additional page tables created for the special p2m mapping
|
||||
will avoid this failure.
|
||||
|
||||
Reported-by: Sven Koehler <sven.koehler@gmail.com>
|
||||
Signed-off-by: Juergen Gross <jgross@suse.com>
|
||||
Acked-by: Wei Liu <wei.liu2@citrix.com>
|
||||
---
|
||||
stubdom/grub/kexec.c | 2 ++
|
||||
1 file changed, 2 insertions(+)
|
||||
|
||||
diff --git a/stubdom/grub/kexec.c b/stubdom/grub/kexec.c
|
||||
index 8fd9ff9..71c2f3f 100644
|
||||
--- a/stubdom/grub/kexec.c
|
||||
+++ b/stubdom/grub/kexec.c
|
||||
@@ -347,6 +347,8 @@ void kexec(void *kernel, long kernel_size, void *module, long module_size, char
|
||||
/* Unmap libxc's projection of the boot page table */
|
||||
seg = xc_dom_seg_to_ptr(dom, &dom->pgtables_seg);
|
||||
munmap(seg, dom->pgtables_seg.vend - dom->pgtables_seg.vstart);
|
||||
+ seg = xc_dom_seg_to_ptr(dom, &dom->p2m_seg);
|
||||
+ munmap(seg, dom->p2m_seg.vend - dom->p2m_seg.vstart);
|
||||
|
||||
/* Unmap day0 pages to avoid having a r/w mapping of the future page table */
|
||||
for (pfn = 0; pfn < allocated; pfn++)
|
||||
--
|
||||
2.10.0
|
||||
|
@ -1,18 +1,16 @@
|
||||
DIST khal-0.8.1.tar.gz 125681 SHA256 9d352e4aa6256e493d5aea69540f642158bdcab75d2383e1e43506bf89982094 SHA512 01b24b7fb041a78443eb1ede80797ca689c2141bf6bb6b171f49931de7440055c38efc4611c483fe85da90794d074e4d08224ce633878ca2f7b8d66799391033 WHIRLPOOL cbcff5dec339ea97ee7bc83860b4f0c0f75801553e191d5856d30758c95936b2a156cea09ae9bd5a2ea96a3914b454f84ce0123970d1d74693be75caa23cbd27
|
||||
DIST khal-0.8.3.tar.gz 126656 SHA256 1ec6940a9fbd207c41428b103bac1d1555129b9b4eca2b843c544bd48ac63ee3 SHA512 f49e57a6cc9abfcf8dbc5811c2fe00661fd09a8a6d1a64bae4df5ce9c1d01c6f325adeef68a7b45eed3a34bd797b801c00fcd8fa4fdf378335d5273629f0a165 WHIRLPOOL 20963f12d9419f2421680548a6de22261e4d9c4482f6a28937b4339335b5a4965178bae0624cc5172da98c534603d3cd0ed5337e03c04190195a478b34b4a34f
|
||||
DIST khal-0.8.4.tar.gz 129251 SHA256 2e5c41eadf83c8f175dc05816571e747da921b025e4acc6b287c109b6e237e0f SHA512 8a1066f137db1b3a9c2cc246ea17baf6745efd3db9dadacb76b287546137da363bcd78a4ac2acd2c659fbf25f16b155cc993099067a736ef3b68b2e8512d7b83 WHIRLPOOL 094c9ec2a0343d557ba70956239d5fa719d9fd08c7038d542b173f18ebce30b11761ac2e09780381fb55a9942cb885fd63b46d6c32573c94ed52990f34841e7b
|
||||
DIST khal-0.9.0.tar.gz 158220 SHA256 b9aa992a8ed1a5d816eeeff79256ad7edea591acdf16ae30e65bfdc3adef0f8d SHA512 f457d6cbd323f65c2185776b8c8ed67268820ee4c06c845f3640dfc085a5528b19c855ada670d397a74d6c0785b7abeb90247528cbc826b39b51284917577acd WHIRLPOOL 4f003e39735917a7dec13f4aaffb851755e0d1f2c2d007111a4766622dfc900cece0c0dd38d5735d145ba36855639c08d1db3c3a7e5e9da5d428e23c469fc600
|
||||
DIST khal-0.9.3.tar.gz 165182 SHA256 d4d748ae09fd0069124bf28ca61db1b1fbc3e8e95e2f23e597e28e2e38336ac7 SHA512 38f9c059eb8ebaacd40d4d5e276f8e42ea0bcc5237b46647974601458fc8576ec8920873cc90c002a8e101b2383028d60a2e74dbfb601acd9c0770ada2c63b65 WHIRLPOOL 8461b39508fb3b5bd2a0532dd71507334852b71492688f0dabcf76b9d70cf8f29e831a36d38028340c1fa1853dda4c1eda706559e8ee6dfb9ecdc112363b5002
|
||||
DIST khal-0.9.4.tar.gz 169530 SHA256 21aa1ac464383a515be9f18d6b06413d17116ef9353d5349211c540c4bd7996e SHA512 a17643dc998b3414bb62d2fd2fd42a364dd5344eeb54be9cb310df8da952e06add41669d65d61b550385bc94bccff4382fca78e4cdcf71a202b8abe5c394d394 WHIRLPOOL 4ca55e0b5cdde8cde0b85d45b1b3936bd3f0b39bce127d9d59e2c442b37d93a520b83b523506579f4ebbccacd6bc26698ab4cd2de9330e872ed01c006f54d47a
|
||||
DIST khal-0.9.5.tar.gz 170011 SHA256 b945894cb4ededa6711989814bd4866815f322aa25dff581d808a7eae5047b3b SHA512 8dae0989a7351a4148e9f6e52e8b69d1b46c7e5465233d5e389db5a20c9da6349da11f0119df7536b01c620a30cb43805cfcedaa32d563a592a337b0faf56946 WHIRLPOOL c98a2a7e7c03654c3b2bac0ba80104b61b8ef1ae8db6e41c8662a75470b7044d9ccfe6a01c702e65b79db645583793deed4fa4f6e65297f0b9079477159d6eb8
|
||||
DIST khal-0.9.6.tar.gz 169539 SHA256 6ec7ce0202764839521f47805e10ac1f54e9adfae3f82e7c1e67ad88eefd6772 SHA512 3d8299d714fcf64d4790d270238acfc9250bfabce2182f49922e51004bce33509853ed6889e9eb694ee2f8f3357b1a175b2cec29ec135cf7fc8bacf237bbcc11 WHIRLPOOL 0bce1dca6f0a7fab0cd0399a9bbd020d8c77d30991181ba6856a46905295e6d68889149c171bfebd7c119a490a7154a3bc13820e072d754b7e0f65c83c523f75
|
||||
EBUILD khal-0.8.1.ebuild 1153 SHA256 0972fcb85d986cf094507bb1bf4c35f70cd428fa405cf592087875691d171334 SHA512 797e257f9fff350b4ab74a439a96e40d9bc0b3ea43509232093e56aa001a0fb0fee8480a9c89cd0ea0108a8d8ab35cb044e8adf882b530f012dbb14cf5fb115c WHIRLPOOL 508d7fbac3d626d2739fd70d370192bd2737260ee125f68c63b349d1edcd4f21f447c7c9cf0e024fcc62b31e6077e95688d55768eb56acca558347c739f85000
|
||||
EBUILD khal-0.8.3.ebuild 1151 SHA256 23ec573c9d60b9df113a20aa7cd97b45ed58cc2d0ae7f3e9431db621296e3afc SHA512 a5d52e25b3ceb769d8b7a3a0ab288614d0a82233e952a74636dd4b0a070752e62349d544059c5d0a9d0aebfbd94bec39cd8d36281d7e826329c94d52e4f5d814 WHIRLPOOL b7773abd83056d990d5b712f7f32723c6d95d4ec18f4d20e0492cdcceff50042dcefb8c19c990e5c652f8609d30dc807420e4f47a77bbd412485c27d65fc250e
|
||||
DIST khal-0.9.7.tar.gz 173401 SHA256 bbdacd99e725a21e35c5baf335261bf40528735bda6499c509ebbde39c303774 SHA512 24fd1ee472971f029f998b061da719a0dfe4ee9584a5ea237b6cf0c886b5c45d7a7ee4bf9c23c41eb0dd0c5eba0bcabed7a5f05ae486a890150429031e215180 WHIRLPOOL 7fa7125c169bc45ea4a9d638fd916698c9f4a7b792c8695020e7b82c593b8af3583546c11fb519cd3cd470caeaf21bda59ee9782e7d4bbb74e6710a7b0e63009
|
||||
EBUILD khal-0.8.4.ebuild 1151 SHA256 23ec573c9d60b9df113a20aa7cd97b45ed58cc2d0ae7f3e9431db621296e3afc SHA512 a5d52e25b3ceb769d8b7a3a0ab288614d0a82233e952a74636dd4b0a070752e62349d544059c5d0a9d0aebfbd94bec39cd8d36281d7e826329c94d52e4f5d814 WHIRLPOOL b7773abd83056d990d5b712f7f32723c6d95d4ec18f4d20e0492cdcceff50042dcefb8c19c990e5c652f8609d30dc807420e4f47a77bbd412485c27d65fc250e
|
||||
EBUILD khal-0.9.0.ebuild 1153 SHA256 7a2a9f4aaef30d9facf68d2df0410e9565d242be3f13c484cbc275359116c39a SHA512 91d0cfc7b312a591a14d376990cb110adcda9f147395bd7826699c8355acf0f4d537ce157e3d2f4f908cfb4413285145789e0a98b1d2fc8e385293d593e9facf WHIRLPOOL b5f23b5894ab531733ca9361e90059ae3ccbe3d24cdd1acac97547e2c7ebf1ce6c406792bb6e09e7da3e773bd715932956904ff316e0f39901281bc536e61a9c
|
||||
EBUILD khal-0.9.3.ebuild 1157 SHA256 05852e03ae965f17293ad4e42dae39ca48db0ad4a31f14ef620d18d32e167942 SHA512 f4d62e00c1e6af9d40684a5c979f8055b1519754092f7e7ac13b58b7dd12b5f53341b879b83ecc03557bd363640f905832c0bb921c3e98001c6340401487e2cd WHIRLPOOL a449a011629dee02f9dfbc9ed095ba9e460f1e6141fe148e2aac1dc18b7666bb5295e4bec48263c49673b2af3dd259ef8f62afc7979b50d10b893597eb9115e5
|
||||
EBUILD khal-0.9.4.ebuild 1159 SHA256 b4a5ced84cb9033e5f7307a755ab9c64b0605b1bd68acfffd650215535129035 SHA512 25edba1f75d1fc43065e23bcac10799dad769129575468097962cfaf24e1e4d2b7e72db4f8b0b2dc815736877ecae2dfb2a56391d1b1d337cf229506218c7f8d WHIRLPOOL ebaef43610fdf57236a246db7668df5e4d3d68afead3d17106bf708f3bf2da1d0e990ab6a30b2e369c0a732c5a64ff11ce6f0ec7f62e67bf790b13ac5088d8ce
|
||||
EBUILD khal-0.9.5.ebuild 1159 SHA256 b4a5ced84cb9033e5f7307a755ab9c64b0605b1bd68acfffd650215535129035 SHA512 25edba1f75d1fc43065e23bcac10799dad769129575468097962cfaf24e1e4d2b7e72db4f8b0b2dc815736877ecae2dfb2a56391d1b1d337cf229506218c7f8d WHIRLPOOL ebaef43610fdf57236a246db7668df5e4d3d68afead3d17106bf708f3bf2da1d0e990ab6a30b2e369c0a732c5a64ff11ce6f0ec7f62e67bf790b13ac5088d8ce
|
||||
EBUILD khal-0.9.6.ebuild 1207 SHA256 cc69298bcf31c06a6ca65a154a8f15522f3df0d435373715b07018ba6543dc11 SHA512 d7ca15a1a4003b4da7ae77e8917c5746b55c35c4286bdf82dbd8acf14ed0c468151466d5f279d4a4b5b066a48d9f6b48ec5f53bc7f109bf825184e9e53b62166 WHIRLPOOL fc40514a004c56247567e011f14602b29eaafbdd4f519088c58519a4d81c059ad47f5405c82c60675005314c49221770922cbd7e66702e5f3f4429f91ffa6d66
|
||||
EBUILD khal-0.9.7.ebuild 1207 SHA256 cc69298bcf31c06a6ca65a154a8f15522f3df0d435373715b07018ba6543dc11 SHA512 d7ca15a1a4003b4da7ae77e8917c5746b55c35c4286bdf82dbd8acf14ed0c468151466d5f279d4a4b5b066a48d9f6b48ec5f53bc7f109bf825184e9e53b62166 WHIRLPOOL fc40514a004c56247567e011f14602b29eaafbdd4f519088c58519a4d81c059ad47f5405c82c60675005314c49221770922cbd7e66702e5f3f4429f91ffa6d66
|
||||
MISC ChangeLog 1028 SHA256 d879f18124fea76db8d4cc51579cdab621b389f144aead24c842bbf0622daaf7 SHA512 06c356eabff51f8edb7847dfbb85eb645b6c14321ce6f22803e1fddb97a7dd078f8e4d46cb429d31d91d6aee7f27b25d33379de13f8a6883b38d5ef8f106b976 WHIRLPOOL 465fb22893050fbba31ff811d35d158f3d06434ed14e5f68c520c225cdafa558202439cedb883c8978ccb3d43fb3fc8879f009b9684563dcea952a5e8e9a9d27
|
||||
MISC metadata.xml 284 SHA256 edf94250bc0c7fc9f49be9cb2b451cde8023f01eea032ca9e22444cab947bcdd SHA512 f820693ee6476d881b86783e810e6be3ad1df41f35dc1c30d03f44551ae71b1e5a99a1aa5f8543ffa15a0a5a1e420193c57d6ef4b88fa98257bf0d4f2fab5934 WHIRLPOOL 44ff13c695839104ed16e2a4167e3808e429799c7808e03d79bfefafcd3446c36cf5790d2eee6f247653011177300453cfef12ef63db742c88ab0a7b0acdb9aa
|
||||
|
@ -1,43 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="6"
|
||||
|
||||
PYTHON_COMPAT=( python3_4 )
|
||||
PYTHON_REQ_USE="sqlite"
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A CalDAV based calendar"
|
||||
HOMEPAGE="http://lostpackets.de/khal/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
SLOT="0"
|
||||
IUSE="zsh-completion"
|
||||
|
||||
RDEPEND=">=dev-python/click-3.2[${PYTHON_USEDEP}]
|
||||
dev-python/icalendar[${PYTHON_USEDEP}]
|
||||
dev-python/urwid[${PYTHON_USEDEP}]
|
||||
dev-python/pyxdg[${PYTHON_USEDEP}]
|
||||
dev-python/pytz[${PYTHON_USEDEP}]
|
||||
>=dev-python/vdirsyncer-0.5.2[${PYTHON_USEDEP}]
|
||||
dev-python/pkginfo[${PYTHON_USEDEP}]
|
||||
dev-python/python-dateutil[${PYTHON_USEDEP}]
|
||||
dev-python/configobj[${PYTHON_USEDEP}]
|
||||
dev-python/tzlocal[${PYTHON_USEDEP}]
|
||||
dev-python/setproctitle[${PYTHON_USEDEP}]
|
||||
zsh-completion? ( app-shells/zsh )"
|
||||
|
||||
DEPEND="dev-python/setuptools_scm[${PYTHON_USEDEP}]"
|
||||
|
||||
DOCS=( AUTHORS.txt CHANGELOG.rst CONTRIBUTING.txt README.rst khal.conf.sample )
|
||||
|
||||
src_install() {
|
||||
distutils-r1_src_install
|
||||
if use zsh-completion; then
|
||||
insinto /usr/share/zsh/site-functions
|
||||
doins misc/__khal
|
||||
fi
|
||||
}
|
@ -1,7 +1,9 @@
|
||||
DIST pdfpc-3.1.1.tgz 199004 SHA256 ec5ffb9c2b55d1bac76172a6a13ed527ceed8cf0d659aca5e302f6a7185f00f2 SHA512 554203094b18fe11fd085414961de6644df3c258ad52d46ad171cfd6c2199028bcbaa9560bdaba63d83f858b467407cc276972b34f341cc25260db1d1358e88d WHIRLPOOL bddcba6a4285ea2b58dd01f76b7b050db630eaa97de5bba32a66f7f85563e6a99763a52e82286297f605dfa59d9ff918007baab297e587968ac1c83e3d69e8a8
|
||||
DIST pdfpc-4.0.7.tar.gz 83626 SHA256 25d5aa2cce344f1554f1f45a7c1f636576587cfd553d75d704e0c95ae3b2a503 SHA512 557e2a24e7aa4b0a7bc413517d6b274c7bad91f5e9d24ec139d0e62c490712081344448bfbedc82a90d28cd9b5910a6f51863aa44dc1c7a61ada6d154780444c WHIRLPOOL f5018d7ba64bea17923c9e3f2e5b6e7e3bc950ffea02a53c93d63057590f1538371fe6b11383d6fbfb4c32d04887f75d1e01f6b24c4b9fc43ac1aacf9be075cd
|
||||
DIST pdfpc-4.0.8.tar.gz 91138 SHA256 c04539398176b0911ec7216c48a04d90d7c893aa5b16cfdef8ea861885991066 SHA512 f077f08f2ee997d55b4e4ced31ec6f21791353871104fff9ece264455a18e30ba365933b15b6b596817f3e6f3f0a181f4fecf19180b8a4337f3752d3aebec7d7 WHIRLPOOL 901f46b831162c88d510754288feb7851e5b3f31af618b7e0b91f884b980bb72ac1de897878bc07db72b6b5d6fa15f108404e835778a0c3615e06a94451567b5
|
||||
EBUILD pdfpc-3.1.1.ebuild 590 SHA256 cd0fc35a23e5c800784c16991f569e456a1d8f849ecea186de8e995ccfcd1b1d SHA512 aabac9f519dee433cfb1578288563351f289b813ca63b390ec13d181e739c813e2b4f05f5beabcb805718a1cfd513b92a0f0a23a2e814b6a8c94483f201b2147 WHIRLPOOL b04040c22d857bf9351f78150db5fd511ec54d5c41606528c7002421e636cea2ddf76346e70979a290738546d90127e3b476aa4423e3f7b3fe2c2a471d82179c
|
||||
EBUILD pdfpc-4.0.7.ebuild 1034 SHA256 3ff520b1d24bb3480e3e936f99fd76910af939fefec1f4a9672c67905818970e SHA512 f7931867088f95943195534f4be6bb9de33b6cd5c0e065c8bae0b84ec45f690a7f4a16e24727a941534ecf8a37cb646a56fa7e9783009343c96a40cad10411b7 WHIRLPOOL 41653a5cb274bf6b764e708e855a35bc338b5f87bac8c23f88e2371726fee12719a73dbe0612aaf890e8e31076c74b1e3637e9d42aebff6655a8de046dc65b90
|
||||
EBUILD pdfpc-4.0.8.ebuild 1034 SHA256 3ff520b1d24bb3480e3e936f99fd76910af939fefec1f4a9672c67905818970e SHA512 f7931867088f95943195534f4be6bb9de33b6cd5c0e065c8bae0b84ec45f690a7f4a16e24727a941534ecf8a37cb646a56fa7e9783009343c96a40cad10411b7 WHIRLPOOL 41653a5cb274bf6b764e708e855a35bc338b5f87bac8c23f88e2371726fee12719a73dbe0612aaf890e8e31076c74b1e3637e9d42aebff6655a8de046dc65b90
|
||||
MISC ChangeLog 3683 SHA256 d9d2553b84a94155f76d3cf74da2fc80a4a88cbdf58cb2e0d64cc2bfb35d55ff SHA512 50fbc143491eded5a2244fb85412c9a0cec28fb95182a8ccda53f40fcc443b403861eaf3515fadf65afbf634e9dca8b9faa74e9cb5863ec0ee73b19e227d95c2 WHIRLPOOL 3e036209708d2232917ee51ed4f7109bf0cf11fc375495659143196daf64d0d4eea8f72950523088798ebadeace3409da0bcf51c41d3ff4796f084c0915244f2
|
||||
MISC ChangeLog-2015 1098 SHA256 c1ce7cf2b0d8495e6b5b3b4292fcd763b0e03f29e92410f23640772eff6983e9 SHA512 1e5913fb5922569f4235faa5f59ea27022c939ae609fced56b96d327d618f33fc5630c2b055fafbc479c77fb305237a9049d4a91cb7eccb558e69969f27f2b7f WHIRLPOOL c802cf79becd8a9f0139952c66700259cd397c1a01ee04672bfa39995e1dfb97096a3a88061962ff83220d478a6e29676a44ccaf7684d37c3a93c1c4aa7a2463
|
||||
MISC metadata.xml 248 SHA256 5c8977883d58e31b4f8070ee870a4fa79cd0cc99653f15976e5aefd04f5db3ee SHA512 55030b20a7a78b1738b2421cdb749e17c0704fa5b90109d83a4f81f09c177d2b27686e524935a63c8f1e7bd8f011a3a966d6ce336d335c2361fdd208763c28ef WHIRLPOOL 2a504933f19290acefe1f6961c2ebbe96fe45be7df0fd43137573d870961bf12fddce4ce0a79fb19f5f509c49dc458e7f00b8975cf699bff63312ff21947aafd
|
||||
|
@ -0,0 +1,43 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
VALA_MIN_API_VERSION="0.26"
|
||||
VALA_MAX_API_VERSION="0.36" # fix sed line if you increase this
|
||||
|
||||
inherit vala cmake-utils
|
||||
|
||||
DESCRIPTION="Presenter console with multi-monitor support for PDF files"
|
||||
HOMEPAGE="http://pdfpc.github.io"
|
||||
SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="gstreamer"
|
||||
|
||||
RDEPEND="app-text/poppler:=[cairo]
|
||||
dev-libs/glib:2
|
||||
dev-libs/libgee:0.8
|
||||
gnome-base/librsvg
|
||||
gstreamer? ( media-libs/gstreamer:1.0
|
||||
media-libs/gst-plugins-base:1.0 )
|
||||
sys-apps/dbus
|
||||
x11-libs/gtk+:3"
|
||||
DEPEND="${RDEPEND}
|
||||
$(vala_depend)"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
sed -i -e "s/valac-0.20/valac-0.36 valac-0.34 valac-0.32 valac-0.30 valac-0.28 valac-0.26/" cmake/vala/FindVala.cmake || die
|
||||
vala_src_prepare
|
||||
}
|
||||
|
||||
src_configure(){
|
||||
local mycmakeargs=(
|
||||
-DSYSCONFDIR="${EPREFIX}/etc"
|
||||
-DMOVIES=$(usex gstreamer on off)
|
||||
)
|
||||
cmake-utils_src_configure
|
||||
}
|
@ -1,5 +1,5 @@
|
||||
DIST quoter-3.0_p2.tar.gz 10691 SHA256 19a335095991c8fa0f637c81b7e8b9a262af67e230507af87f3c113228965732 SHA512 23d77105fa05d79a7d0bcaa3f6aead25b7cb3b6f459d2740314616da587e03cd3e6b0b1e8af8f79904309bbe76603db848d42996ed7ae5ef779e27184a434fb5 WHIRLPOOL 1c083d7dc9bc8e1e4719b6e4c03087f39d4324df3aa70011e84087c7de3145f932ca3ae9fc1057b17dbe9471592c5d32ac99dff63b7962fb3c7548b31aa2a225
|
||||
EBUILD quoter-3.0_p2-r1.ebuild 772 SHA256 9d556332561de3f2832c24c2f1658458e6d6ca7e139a682a2e3795050cefbe17 SHA512 79c70fc850b399d238f05117faa53f8896eb37054ea57bbd979737371cae8e82c609b2f4f1b5043a09239c35b45ac8ed83e39a64bcc551769a9409de21d0b85a WHIRLPOOL fff8476758fb63356b13ddc4fabe2305b41b8ac3f0f8804dc92e77f0f891494bd6918a4125a42c816fad260ed3aa94f6ae863dbc30a007a6d4e20ba119cb3094
|
||||
EBUILD quoter-3.0_p2-r1.ebuild 770 SHA256 d6981eb1f41260d6adccf09a492451ce645620ac5062e18dc867a0891ac05751 SHA512 f87ed561932b895952d669588d7074f23d47339a0ff6ff21f2d909ffe530ca1e464028277ec3995772d304b84aa8e6d50cc92f4c27c3699775d39378720e1a48 WHIRLPOOL 905d98a1731cb629d2e7a8fb51c8f5f928dac726780d9187a1049f3efc5ccdc1263389530f800e64019b61b4419b142db6b5e06c286616b90e85270654b78114
|
||||
EBUILD quoter-3.0_p2.ebuild 652 SHA256 794d3fbfeae65d9e54ab274f0e0e8e060775e34e733de22d1010252110b06c60 SHA512 0196c51aaf96642caad2a0263cbec45ba86f74dda973f0bfd959ac8a644812a389f3f79b83892bff9535b1fb0bb28aa0e9479bf4d4b0f73681971aaa88237663 WHIRLPOOL a2db7f15f27786f08ebe176592e369367d9693c7dd38888308a2fbc19300e10098012c6ed78da12fddeb14da9d71991f6893f3e32857b7ef4887ad1e211e2229
|
||||
MISC ChangeLog 457 SHA256 0412d4151c0c50ec8543fc799809bf6538a8edf5462fa0f618d2f283cab313e9 SHA512 afc61b58837490575e8cf4fc2b4d01f4f7e8eae13f0c96432571ba7b2d2306698fdee31947a988dbada978a81dd4e417ea1544555a0e093a34970caf9ed4598a WHIRLPOOL f5289411d03ee5c837315fd67c0e676dadf122214c75d424dd74e5294b46ff148b5cc17534ec00700875e50e23b2c527bf476bb9d44d7e33c3a20a6384b1969b
|
||||
MISC metadata.xml 801 SHA256 e3e190967b2686538cfb34bfc3718be7895dcac10268029467db2adb429dbcfb SHA512 5d8191e1c67650a09c29ea131545a7acdd62b2635c5c0633e67decd0d9c2326590f4d4b60fdbb5a41109f792ad514d378cc9fed71f9ba30ec3d63e2f63442d3d WHIRLPOOL b6cf046536a73d98804ded678dc36cf3836dbc50c512df974b3ad9f8d5c986c25e7f69cbc4b16d75ef7f145ca7a8d4807234a15b909153fc41fda93d8806fca6
|
||||
|
@ -1,6 +0,0 @@
|
||||
DIST adiff-1.4 10902 SHA256 c4e56a2a2288e4dc53a824e603d942c59caaebf9b72f01e332a9d98ebfa6df72 SHA512 edbb4d6a8ce8f636a874d22d1e44bc04b860ab31f1e825ce3e865ee3f6bf07fb6a7b9dd44e5429aad21a475d82b34f176d76f8466e58aeca74717740f7054219 WHIRLPOOL 1099775af9d2c5908d8a26cf4277b24ed3ab41b583f83c4bf263f09b190a8c8b68cf6c431219156346fad0848fd40670a93c8cf3c476333e0ec823f319b6b3bc
|
||||
EBUILD adiff-1.4-r1.ebuild 709 SHA256 c2ef9bd0a7b20af366dbe136c5df843a1ab7665f9b8f2ea975fb497e53b017ab SHA512 ff86307edf9a9aa28dfba6ded4e73852838fcda28ff2fbdb99229bc4ebec504da56abbd1cb14a3150e6c7fe306ff33f2fb941fba5311ba03953d82746dabdfac WHIRLPOOL b9801170b44218acee1e4fe0bafb7693c17a99725e16496480b2352f213527cb15528d7772a084841f1dc7e2a485b49a9e35984fa61fb17c4c15622ccfeb44d6
|
||||
EBUILD adiff-1.4.ebuild 641 SHA256 ab082d2f09dd464bdfbdb891d74ea4f6ed12fdab6e9b67b901132bcba6866723 SHA512 b64ad50d537549f3c2177a6ff6a772d4d458316a8e86fb8e2d4dd92e92553f1d08bd535c3fb4222d521da730d8a5ba0f94cd865de35bb9606da817599637a26c WHIRLPOOL ed81d605f37a4af250eda99bf43d7330af797db3c8f0df1e1b0a86e88e792a5e31698d467846926c24ecb6191e8c70b2f92a37e615f52a319f309d17b2490c64
|
||||
MISC ChangeLog 2512 SHA256 ba82c90d93442174f29f6bf2f6c55ac93363d8cbf1765f4dae1042f6cc99439d SHA512 278076c858a3c84bc6aa2a7b96e9113dc26e9a65ede5e14a10a242325f7e99330ff0eb5d53c887c3e629006f41d93eadb60356031f474f0341b296d61d762944 WHIRLPOOL 986aee29c15030658030fa8771a067cd9b3966ba04f9d8daa68666b8a7838db6103b1196bce2340ae7b4991770f3ce3c80401a065eec7249e0058f8a1836efb9
|
||||
MISC ChangeLog-2015 1736 SHA256 df4c34dd4c8de9429b1b4817bb5c59a2174fa4b181f972594a9c8d8a77f5f086 SHA512 8bfc3dc1fa478e78a805b49a2d07e65a459056bd04c2b55474c0790b986aa1caafb1ac3599cffec6c735e6f2e4947181f05ef4c974264856b330497e74235e31 WHIRLPOOL 589854d38d2df0956ac3e7ccaa812d2cc288bf67952822fabaa4ea5655a50cb1f2bce94ec43a123b0c6c722fe46710de953a05cd35bfee0dc578a2f0a6d6b4aa
|
||||
MISC metadata.xml 166 SHA256 2caff447f5bd2701d8456ada5cc633c41ef4373fa4bfeabeb73599d40bcc941b SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84 WHIRLPOOL 1ff70497eca6531f0e0614c72a19f4b8e5ff486a58d369f4f0b36308d1d6b01168f9da887740e3b9f536236be251d3fe05f904d27a9233a7cf613416ba882968
|
@ -1,43 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
DESCRIPTION="Wordise diff"
|
||||
HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage"
|
||||
SRC_URI="mirror://gentoo/${P}"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~ia64 ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
|
||||
|
||||
DEPEND="
|
||||
dev-lang/perl
|
||||
!app-arch/atool"
|
||||
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
sys-apps/diffutils"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
src_unpack() {
|
||||
:; # Nothing to unpack.
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local _p2m=(
|
||||
--release=${PV}
|
||||
--center="${HOMEPAGE}"
|
||||
--date="2007-12-11"
|
||||
"${DISTDIR}"/${P}
|
||||
${PN}.1
|
||||
)
|
||||
|
||||
pod2man "${_p2m[@]}" || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
newbin "${DISTDIR}/${P}" "${PN}"
|
||||
doman "${PN}.1"
|
||||
}
|
@ -1,33 +0,0 @@
|
||||
# Copyright 1999-2010 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
DESCRIPTION="wordwise diff"
|
||||
HOMEPAGE="http://agriffis.n01se.net/adiff/"
|
||||
SRC_URI="${HOMEPAGE}/${P}"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 ia64 ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="dev-lang/perl
|
||||
!app-arch/atool"
|
||||
RDEPEND="${DEPEND}
|
||||
sys-apps/diffutils"
|
||||
|
||||
S=${WORKDIR}
|
||||
|
||||
src_unpack() {
|
||||
# Nothing to unpack
|
||||
:
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
pod2man --release=${PV} --center="${HOMEPAGE}" \
|
||||
--date="2007-12-11" "${DISTDIR}"/${P} ${PN}.1 || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
newbin "${DISTDIR}"/${P} ${PN}
|
||||
doman ${PN}.1
|
||||
}
|
@ -1,5 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<!-- maintainer-needed -->
|
||||
</pkgmetadata>
|
@ -1,38 +0,0 @@
|
||||
Description: fix FTBFS with --as-needed linker option
|
||||
Libraries must be placed after object files in command line.
|
||||
Author: Ilya Barygin <randomaction@ubuntu.com>
|
||||
|
||||
--- a/src/CMakeLists.txt
|
||||
+++ b/src/CMakeLists.txt
|
||||
@@ -135,6 +135,10 @@
|
||||
# All libraries for .exe files
|
||||
set(all_libs ${aseprite_libraries} ${libs3rdparty} ${sys_libs})
|
||||
|
||||
+if(LIBALLEGRO4_LINK_FLAGS)
|
||||
+ set(all_libs ${all_libs} ${LIBALLEGRO4_LINK_FLAGS})
|
||||
+endif()
|
||||
+
|
||||
######################################################################
|
||||
# ASEPRITE libraries
|
||||
|
||||
@@ -405,10 +409,6 @@
|
||||
|
||||
add_executable(aseprite WIN32 main.cpp ${win32_resources} ${x11_resources})
|
||||
target_link_libraries(aseprite ${all_libs})
|
||||
-if(LIBALLEGRO4_LINK_FLAGS)
|
||||
- set_target_properties(aseprite
|
||||
- PROPERTIES LINK_FLAGS ${LIBALLEGRO4_LINK_FLAGS})
|
||||
-endif()
|
||||
|
||||
install(TARGETS aseprite
|
||||
RUNTIME DESTINATION bin)
|
||||
@@ -450,8 +450,7 @@
|
||||
endif()
|
||||
|
||||
if(LIBALLEGRO4_LINK_FLAGS)
|
||||
- set_target_properties(${testname}
|
||||
- PROPERTIES LINK_FLAGS ${LIBALLEGRO4_LINK_FLAGS})
|
||||
+ target_link_libraries(${testname} ${LIBALLEGRO4_LINK_FLAGS})
|
||||
endif()
|
||||
|
||||
if(extra_definitions)
|
@ -1,21 +0,0 @@
|
||||
From 169edeaa69cce2670213c39232a249a487670883 Mon Sep 17 00:00:00 2001
|
||||
From: hasufell <hasufell@hasufell.de>
|
||||
Date: Sun, 2 Nov 2014 16:58:33 +0100
|
||||
Subject: [PATCH] Fix underlinking with USE_SHARED_ALLEGRO4=ON
|
||||
|
||||
---
|
||||
src/CMakeLists.txt | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
|
||||
index 21c3352..0ce11d2 100644
|
||||
--- a/src/CMakeLists.txt
|
||||
+++ b/src/CMakeLists.txt
|
||||
@@ -58,6 +58,7 @@ if(USE_SHARED_ALLEGRO4)
|
||||
OUTPUT_VARIABLE LIBALLEGRO4_LINK_FLAGS
|
||||
OUTPUT_STRIP_TRAILING_WHITESPACE)
|
||||
|
||||
+ set(LIBALLEGRO4_LINK_FLAGS ${LIBALLEGRO4_LINK_FLAGS} ${PLATFORM_LIBS})
|
||||
include_directories(${LIBALLEGRO4_INCLUDE_DIR})
|
||||
else()
|
||||
add_definitions(-DALLEGRO4_WITH_RESIZE_PATCH)
|
@ -1,7 +1,9 @@
|
||||
AUX physfs-2.0.3-zip_seek.diff 535 SHA256 4371e43ae98ea9292a50e611f961e76a9f76f3b135bfdae27430031e07dd402a SHA512 016f5cafecdfc7f4d2d9dcb517f0ebe7b7765912361399e2c7e239c936c287ca15c0124fd9378c23d6d0d3669c45c4d4dc498098eb052901d349459c94a29ef2 WHIRLPOOL 0e36ec294b8f4e1cf82ff28f47a21f9df2ed8ed9b5c63b2500415704b072b38d71a531ae8b1436f6f125dea7277c689767facf54e882ab3a9ab4831fa121ad14
|
||||
DIST physfs-2.0.3.tar.bz2 560628 SHA256 ca862097c0fb451f2cacd286194d071289342c107b6fe69079c079883ff66b69 SHA512 47eff0c81b8dc3bb526766b0a8ad2437d2951867880116d6e6e8f2ec1490e263541fb741867fed6517cc3fa8a9c5651b36e3e02a499f19cfdc5c7261c9707e80 WHIRLPOOL 30362f92d5702842142c08c3183a384876a03e9e3e400364b0fa59c99ffee994667c1ad08fe633ef146e98301789a980a3419f60a18b24b9c341bb74144ccc73
|
||||
DIST physfs-3.0.0.tar.bz2 194277 SHA256 f2617d6855ea97ea42e4a8ebcad404354be99dfd8a274eacea92091b27fd7324 SHA512 4293dc72a5b2e41fbd02c4426da7bfc1e94a013d8a332b3124798a91ef27b4a57adef303f23d5e03150855de69cf22fc8bb29e6395725a18e3a12f6c74b4111f WHIRLPOOL e0010e15b2449565939dd5e9d65fb63cbbb78069a0390fc0ba95c7671a484db7470ec300cfd8aaa5810aff7fd14bbc669f8e902a9469ba7d51ebeed6c94b15f4
|
||||
EBUILD physfs-2.0.3-r2.ebuild 1417 SHA256 afba6b34450c8653be2983fe921bd8a9068cd357cb83988a93cd203ea8f7bfb4 SHA512 0b13fa37b61627c4eb8309087d1e538ba19f66eef0c932f7b0070df4128cbe0e712c62f2c7a1ad1d9b3b08198ee7e2dea0e0483c302a929005df6ac9a06981be WHIRLPOOL 7c7819fa3b2ff275ff3bb25717870bd3f6a585fe3a5f93e6b26e1b0b5063bfddf3648bb836a88aa69794e7c99c727a4220b23ca3571d3a0e55708dd6d24aa699
|
||||
EBUILD physfs-9999.ebuild 1505 SHA256 809543cd3d883b61d81c91f7dd53bc59b84870c99a94d818d6947d239493eaf0 SHA512 d6ae83bde2e2fa9d33820a6096355555f278fe316e2fe75058fee576e255276dbe544fdfd9f8700b2780cc659b3c7fa6c18450fe37df9cefba08e8990d2e932d WHIRLPOOL f578880479136b2c481baf58020110de8e8b536737a3a0977b7fa90d45ea0fdb45428074f5481bc05e9a6f230b4145671fe06f60e8e4a682fe30c8500a9d639e
|
||||
EBUILD physfs-3.0.0.ebuild 1132 SHA256 562cdb6452ebeb99c2afd263595dfcbdebc4d30178c76a2457a7dd8d8e79e015 SHA512 9935cf7a2af2f8b3d336d422fd93317799fc1521026a8621aa4a197a3973287ddcead7834eb890f01cee26ac2d24fc2ed4a0cf49ce6ff13c35816b12f14a7ab3 WHIRLPOOL d6c3ce478b2ea41248b57b045004174acd5244945cc6c655eb22b7660027f8b967ad778f490baf1edf7da37474ca8c3ff5880b598429f1dcdd1511f3a3709ede
|
||||
EBUILD physfs-9999.ebuild 1246 SHA256 a857081fe4a6c655b759a4b9380b649ccae33fa2857d74339e96eff210a4ad5f SHA512 1db1cb2df7f7f457710ca2b7ed2b7bc40de7d0a24cfdb90ee81b2182e5b3e86902ead39df83acbc01d2dc2142ed94ed9d10ea405d3e584740fb79d382a34d3ec WHIRLPOOL 4bea15d5e1979e879463068df2c60ccbc5692a1cfde55702944624b69f703dae6eefd1ce6e1d1d47031cbbfd433b9747cfe877bf763a3f96c634f827e0143765
|
||||
MISC ChangeLog 2431 SHA256 099f43e2fdfd7460a914f8e55fcb59cd66e0be1ed600f211aa5b52d13c20409a SHA512 c019650836efe001d5a932b06951e86c393831e080803adf7a52c196979f05369cc1b7b67ad3e67062afe81a7e3d9a3057055c3d351f81c428d0d094199a11ad WHIRLPOOL 9f72642a54fbc8c8b3a41e3d18ba76abc7fdd65a58fdd3cc139ca4d568071b992e61e285e82885ba418e9fb0f182e9f791b3ca1cbdf71673e0d9593654bdeaa5
|
||||
MISC ChangeLog-2015 7649 SHA256 dfe9ed4277f66ca02c979d90d7064f1e8d8485f407bacc0a9698989102b198f6 SHA512 dda73f3b974906e287303cb06e356858f1f87ffc1d429db82b3471ff34652e5589047176b93745878cfa83516be1356a11509471b467bb755b3fa31782cbedcd WHIRLPOOL 3a44a4b735866e5f185790918e4673eeb41f47c3c630d451ddcb2997189656bc282d8a236817e3c4a0044d4c4fcfaf29cc0484953f9994c212f04085a635c691
|
||||
MISC metadata.xml 1807 SHA256 a7e6ba6e78f907c535d8ae8f470a524fd3dc89012225f9ec8b7d2f4b218ac241 SHA512 914416e5632d1587b4677b8c8997eed056603049bf71424ccc679a6a4fa050ad2c9f5bf2db0927a5925bdc662565fc2d49901c9de419a623a830a2c6da65341e WHIRLPOOL 17f6fa2ecf2bf30388d86d8cf81e90221847fcd8927c061cb3a2fbcbbf7861c37bcee6ec4b8e9ab99cd2d988b7a143687d8a8e30d2a084a94518ff3bd6004a05
|
||||
|
@ -0,0 +1,45 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
inherit cmake-multilib
|
||||
|
||||
DESCRIPTION="Abstraction layer for filesystem and archive access"
|
||||
HOMEPAGE="http://icculus.org/physfs/"
|
||||
SRC_URI="http://icculus.org/physfs/downloads/${P}.tar.bz2"
|
||||
|
||||
LICENSE="ZLIB"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc64 ~x86 ~x86-fbsd"
|
||||
IUSE="grp hog mvl qpak static-libs wad +zip"
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND=""
|
||||
|
||||
DOCS=( docs/CHANGELOG.txt docs/CREDITS.txt docs/TODO.txt )
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
sed -i -e 's:-Werror::' CMakeLists.txt || die
|
||||
# make sure these libs aren't used
|
||||
rm -rf lzma zlib*
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DPHYSFS_ARCHIVE_7Z=OFF
|
||||
-DPHYSFS_BUILD_SHARED=ON
|
||||
-DPHYSFS_BUILD_TEST=OFF
|
||||
-DPHYSFS_BUILD_WX_TEST=OFF
|
||||
-DPHYSFS_INTERNAL_ZLIB=OFF
|
||||
-DPHYSFS_BUILD_STATIC="$(usex static-libs)"
|
||||
-DPHYSFS_ARCHIVE_GRP="$(usex grp)"
|
||||
-DPHYSFS_ARCHIVE_HOG="$(usex hog)"
|
||||
-DPHYSFS_ARCHIVE_MVL="$(usex mvl)"
|
||||
-DPHYSFS_ARCHIVE_WAD="$(usex wad)"
|
||||
-DPHYSFS_ARCHIVE_QPAK="$(usex qpak)"
|
||||
-DPHYSFS_ARCHIVE_ZIP="$(usex zip)"
|
||||
)
|
||||
|
||||
cmake-multilib_src_configure
|
||||
}
|
@ -1,9 +0,0 @@
|
||||
AUX gnu-classpath-inetlib-1.0-jdk15.patch 3035 SHA256 c8cc12545a6ae37fc510b338dd8470ac1d704baf135b6c4dec51fb9a254cfd30 SHA512 50dfd68aef46acc10c9fc6b0d6415f15c78aba40ebeb2ad4169e669d6e419568b87113a2333434ce941324a30373d05f5d2ca899a39dc45bd50e67c01f421971 WHIRLPOOL 5f0fe18b7468d2b111358bed765533a797a5b1e319ab0d241ff097706e7fc6a25d68e5ec36c9ed84d67fa7bd2aed3ea4fe840a1efcc854854e992e8224dbec4d
|
||||
AUX gnu-classpath-inetlib-1.1-jdk15.patch 3932 SHA256 98cafdb45968673a3378b1c031f15be7519add216a5fd19d8ad672bc3c6b1129 SHA512 d9f2aea4825a1564aca9906f5431d58cde218e91dc3fb0779610a047c34a46fb7ecfbdb942fafa9e75603b32fd52006b8881328a3ec72b053c903d95ccef9aa7 WHIRLPOOL 23618cd9a61d2230d0cc29d2f23d8b883b243dee33f7f3f0ecef26220b3de4d0a143d9006d7d0874232b48efed93298e8e8663dcbbe5672c4d0d3e3a278f3b72
|
||||
DIST inetlib-1.0.tar.gz 151002 SHA256 f59a46051b01dd01f04d0cc677d95a6c02b3389787d59a63b0f74bef20f887f8 SHA512 f3efa679d4f09d65025b3a903bb94eeced6470fff4414a1a1dc00985f644855bef9aaf5015c24c4321a6088e5ca48ced2177548f11dc84c07b4e5281b9709ede WHIRLPOOL 8f79486a4c11926ab9063a25efe411c39adebe377c93a8bc2484fc09907ed97455f231778d462aaae5fb8830da1d39d9a00cdbdc50e83905df4e9bc1491399d8
|
||||
DIST inetlib-1.1.tar.gz 177251 SHA256 2b30cad60f3136b04f9ae4a906da8ac964654dacd3281097ec3558e67c9a51a0 SHA512 0ebc112bc8758ca8da23797d71d91d386896be6105cc1a40448445e59a6cdc43dc5dcd84f8b69332d7b7eaf11efd474588cadcb68f7356f2aa40657aaf62147b WHIRLPOOL 48bc55ac1b102c81f3de0d1e943ff51731e963b5cd9ac080a91a99f3da7ed48966deb034f4c863d722aef0461ff96f153dccb62c1edced5ac7c8c1897bb0b5d6
|
||||
EBUILD gnu-classpath-inetlib-1.0-r3.ebuild 1735 SHA256 27d86d6dabd823edbab2c76f4f89c70fe79cdd0a1b48832c2c5a1b0aa935967f SHA512 c9d73f406be4de3a6845826d9980a0257fb577c9ea511dd899cdd5dc97500718afcfa090e26eb1060f10b0567d297abd0a8be422fa74d223c1c467bc54749b13 WHIRLPOOL 489aa0c6caf4e49b7da03e2c457281cbdd4dd9e76a1ce00428681519b66cd1911a04cf4fdf2ddcf0b7cf8074b4c723664b21bb302cfa46917b3ede7c2d1f3e10
|
||||
EBUILD gnu-classpath-inetlib-1.1-r3.ebuild 1325 SHA256 3b0f04d24eacb49b7384d7ca3f2749747a076cb5ba9ed2b764d2937088ecc60a SHA512 18e249129a2ace04d38de186398b1c6f034f74539892f528d4cc9451273945b223bab7d81b3229c87c8425f26f4843557124016328eb203b4583ef4f1fb6afe1 WHIRLPOOL 6456fde6dcfbd1255eec652e32c4a1412500ab7ee480ac6b1b2b086959b1d9a82fef4f7c59441cedf0190aabad3fcb60bb5e7cb16cd35fc540341ed7d36c0273
|
||||
MISC ChangeLog 3444 SHA256 4979393af961807242b566c783dfe4730e4cc992a793e5c6263a6d68db544599 SHA512 b222a3dd87a6513bcc0784b1d3e3d3c6d6a3aaf47102cc33db7c0dc7314f3e6a52f2031c95a975cc94886ed025d92dd01482eb13125ac22539b012924a7a8f6b WHIRLPOOL c07cd85f6a896aa76bc1a94c3c3c25b7e43cbbc780cb6575f2010135ea2c818ded049da58d638e00bb0a0ab6eaadbf458ee8a2b95580b0e2099fc534a8b394c8
|
||||
MISC ChangeLog-2015 3100 SHA256 2cf78b3ca75f4ca47b89c5bbee03cc19b7c1bc5e8a16560afcd614eaec93e3e8 SHA512 b585b903b671ca2e15a41ef126d978936ca0ec9ee6b52fd520960e791196a5508174cca724bc8937d6d01fffaebefe63d2883c4afb38ae10a0090f1f56a9348f WHIRLPOOL 11835abe650042073aafcf116264e7c50d7935ad4636d77ef3208ac271e9509dff173fa007eed3617b50886032f0e1690d0941cc0d263e6b336429e060821d90
|
||||
MISC metadata.xml 504 SHA256 a42b641db592c71a9bb0c93708841f4483212c2c9fc3c09f856be48968990e8f SHA512 ea3e90d9fd99d742bf2f886c387bea76d6614c8b20ae16b4c7b28a21c526a30d0cd9d0ec053efbf59aa3bcc62195b64b9f09482cfee20b896482e908959248f1 WHIRLPOOL af56d965c27626623c9e1a452c061eb48064d0a4007c9bebafae01d112940848357712a4ecdc5488ded8e42707ff27580b3e1f3cefcf81a914c11d27487851da
|
@ -1,64 +0,0 @@
|
||||
diff -uNr inetlib-1.0.orig/source/gnu/inet/imap/IMAPConnection.java inetlib-1.0/source/gnu/inet/imap/IMAPConnection.java
|
||||
--- inetlib-1.0.orig/source/gnu/inet/imap/IMAPConnection.java 2006-09-19 13:18:21.512067374 +0200
|
||||
+++ inetlib-1.0/source/gnu/inet/imap/IMAPConnection.java 2006-09-19 13:19:07.024373510 +0200
|
||||
@@ -45,7 +45,6 @@
|
||||
import java.util.Iterator;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
-import java.util.Properties;
|
||||
|
||||
import javax.net.ssl.SSLContext;
|
||||
import javax.net.ssl.SSLSocket;
|
||||
@@ -555,7 +554,7 @@
|
||||
String[] m = new String[] { mechanism };
|
||||
CallbackHandler ch = new SaslCallbackHandler(username, password);
|
||||
// Avoid lengthy callback procedure for GNU Crypto
|
||||
- Properties p = new Properties();
|
||||
+ HashMap p = new HashMap();
|
||||
p.put("gnu.crypto.sasl.username", username);
|
||||
p.put("gnu.crypto.sasl.password", password);
|
||||
SaslClient sasl = Sasl.createSaslClient(m, null, "smtp",
|
||||
diff -uNr inetlib-1.0.orig/source/gnu/inet/pop3/POP3Connection.java inetlib-1.0/source/gnu/inet/pop3/POP3Connection.java
|
||||
--- inetlib-1.0.orig/source/gnu/inet/pop3/POP3Connection.java 2006-09-19 13:18:21.531064997 +0200
|
||||
+++ inetlib-1.0/source/gnu/inet/pop3/POP3Connection.java 2006-09-19 13:20:28.841137790 +0200
|
||||
@@ -39,8 +39,8 @@
|
||||
import java.security.MessageDigest;
|
||||
import java.security.NoSuchAlgorithmException;
|
||||
import java.util.ArrayList;
|
||||
+import java.util.HashMap;
|
||||
import java.util.List;
|
||||
-import java.util.Properties;
|
||||
|
||||
import javax.net.ssl.SSLContext;
|
||||
import javax.net.ssl.SSLSocket;
|
||||
@@ -220,7 +220,7 @@
|
||||
String[] m = new String[] { mechanism };
|
||||
CallbackHandler ch = new SaslCallbackHandler (username, password);
|
||||
// Avoid lengthy callback procedure for GNU Crypto
|
||||
- Properties p = new Properties ();
|
||||
+ HashMap p = new HashMap();
|
||||
p.put ("gnu.crypto.sasl.username", username);
|
||||
p.put ("gnu.crypto.sasl.password", password);
|
||||
SaslClient sasl =
|
||||
diff -uNr inetlib-1.0.orig/source/gnu/inet/smtp/SMTPConnection.java inetlib-1.0/source/gnu/inet/smtp/SMTPConnection.java
|
||||
--- inetlib-1.0.orig/source/gnu/inet/smtp/SMTPConnection.java 2006-09-19 13:18:21.533064747 +0200
|
||||
+++ inetlib-1.0/source/gnu/inet/smtp/SMTPConnection.java 2006-09-19 13:21:16.996113371 +0200
|
||||
@@ -37,8 +37,8 @@
|
||||
import java.security.GeneralSecurityException;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Collections;
|
||||
+import java.util.HashMap;
|
||||
import java.util.List;
|
||||
-import java.util.Properties;
|
||||
|
||||
import javax.net.ssl.SSLContext;
|
||||
import javax.net.ssl.SSLSocket;
|
||||
@@ -567,7 +567,7 @@
|
||||
String[] m = new String[] { mechanism };
|
||||
CallbackHandler ch = new SaslCallbackHandler (username, password);
|
||||
// Avoid lengthy callback procedure for GNU Crypto
|
||||
- Properties p = new Properties ();
|
||||
+ HashMap p = new HashMap();
|
||||
p.put ("gnu.crypto.sasl.username", username);
|
||||
p.put ("gnu.crypto.sasl.password", password);
|
||||
SaslClient sasl =
|
@ -1,87 +0,0 @@
|
||||
diff -uNr inetlib.orig/source/gnu/inet/imap/IMAPConnection.java inetlib/source/gnu/inet/imap/IMAPConnection.java
|
||||
--- inetlib.orig/source/gnu/inet/imap/IMAPConnection.java 2006-09-19 10:25:48.402313856 +0200
|
||||
+++ inetlib/source/gnu/inet/imap/IMAPConnection.java 2006-09-19 10:27:02.775026067 +0200
|
||||
@@ -46,7 +46,6 @@
|
||||
import java.util.Iterator;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
-import java.util.Properties;
|
||||
|
||||
import javax.net.ssl.SSLContext;
|
||||
import javax.net.ssl.SSLSocket;
|
||||
@@ -653,7 +652,7 @@
|
||||
String[] m = new String[] { mechanism };
|
||||
CallbackHandler ch = new SaslCallbackHandler (username, password);
|
||||
// Avoid lengthy callback procedure for GNU Crypto
|
||||
- Properties p = new Properties ();
|
||||
+ HashMap p = new HashMap();
|
||||
p.put ("gnu.crypto.sasl.username", username);
|
||||
p.put ("gnu.crypto.sasl.password", password);
|
||||
SaslClient sasl = Sasl.createSaslClient (m, null, "smtp",
|
||||
diff -uNr inetlib.orig/source/gnu/inet/nntp/NNTPConnection.java inetlib/source/gnu/inet/nntp/NNTPConnection.java
|
||||
--- inetlib.orig/source/gnu/inet/nntp/NNTPConnection.java 2006-09-19 10:25:48.420311609 +0200
|
||||
+++ inetlib/source/gnu/inet/nntp/NNTPConnection.java 2006-09-19 10:29:02.781039000 +0200
|
||||
@@ -42,7 +42,7 @@
|
||||
import java.util.Calendar;
|
||||
import java.util.Date;
|
||||
import java.util.GregorianCalendar;
|
||||
-import java.util.Properties;
|
||||
+import java.util.HashMap;
|
||||
import java.util.TimeZone;
|
||||
|
||||
import javax.security.auth.callback.CallbackHandler;
|
||||
@@ -1140,7 +1140,7 @@
|
||||
String[] m = new String[] { mechanism };
|
||||
CallbackHandler ch = new SaslCallbackHandler (username, password);
|
||||
// Avoid lengthy callback procedure for GNU Crypto
|
||||
- Properties p = new Properties ();
|
||||
+ HashMap p = new HashMap();
|
||||
p.put ("gnu.crypto.sasl.username", username);
|
||||
p.put ("gnu.crypto.sasl.password", password);
|
||||
SaslClient sasl =
|
||||
diff -uNr inetlib.orig/source/gnu/inet/pop3/POP3Connection.java inetlib/source/gnu/inet/pop3/POP3Connection.java
|
||||
--- inetlib.orig/source/gnu/inet/pop3/POP3Connection.java 2006-09-19 10:25:48.426310859 +0200
|
||||
+++ inetlib/source/gnu/inet/pop3/POP3Connection.java 2006-09-19 10:27:59.374957608 +0200
|
||||
@@ -41,10 +41,10 @@
|
||||
import java.security.NoSuchAlgorithmException;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Collections;
|
||||
+import java.util.HashMap;
|
||||
import java.util.LinkedHashMap;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
-import java.util.Properties;
|
||||
|
||||
import javax.net.ssl.SSLContext;
|
||||
import javax.net.ssl.SSLSocket;
|
||||
@@ -232,7 +232,7 @@
|
||||
String[] m = new String[] { mechanism };
|
||||
CallbackHandler ch = new SaslCallbackHandler (username, password);
|
||||
// Avoid lengthy callback procedure for GNU Crypto
|
||||
- Properties p = new Properties ();
|
||||
+ HashMap p = new HashMap();
|
||||
p.put ("gnu.crypto.sasl.username", username);
|
||||
p.put ("gnu.crypto.sasl.password", password);
|
||||
SaslClient sasl =
|
||||
diff -uNr inetlib.orig/source/gnu/inet/smtp/SMTPConnection.java inetlib/source/gnu/inet/smtp/SMTPConnection.java
|
||||
--- inetlib.orig/source/gnu/inet/smtp/SMTPConnection.java 2006-09-19 10:25:48.428310610 +0200
|
||||
+++ inetlib/source/gnu/inet/smtp/SMTPConnection.java 2006-09-19 10:26:34.107606132 +0200
|
||||
@@ -38,8 +38,8 @@
|
||||
import java.security.GeneralSecurityException;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Collections;
|
||||
+import java.util.HashMap;
|
||||
import java.util.List;
|
||||
-import java.util.Properties;
|
||||
|
||||
import javax.net.ssl.SSLContext;
|
||||
import javax.net.ssl.SSLSocket;
|
||||
@@ -598,7 +598,7 @@
|
||||
String[] m = new String[] { mechanism };
|
||||
CallbackHandler ch = new SaslCallbackHandler (username, password);
|
||||
// Avoid lengthy callback procedure for GNU Crypto
|
||||
- Properties p = new Properties ();
|
||||
+ HashMap p = new HashMap();
|
||||
p.put ("gnu.crypto.sasl.username", username);
|
||||
p.put ("gnu.crypto.sasl.password", password);
|
||||
SaslClient sasl =
|
@ -1,63 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
inherit java-pkg-2
|
||||
|
||||
MY_PN="inetlib"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
DESCRIPTION="Network extensions library for GNU classpath and classpathx"
|
||||
HOMEPAGE="https://www.gnu.org/software/classpath/"
|
||||
SRC_URI="mirror://gnu/classpath/${MY_P}.tar.gz"
|
||||
LICENSE="GPL-2-with-linking-exception"
|
||||
SLOT="1.0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="doc"
|
||||
RDEPEND=">=virtual/jre-1.3
|
||||
>=dev-java/gnu-crypto-2.0.1"
|
||||
DEPEND=">=virtual/jdk-1.3
|
||||
${RDEPEND}"
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
# TODO we could give configure the lib dir on the live filesystem
|
||||
# instead of populating ${S}/ext with the jars we need -nichoj
|
||||
# TODO fix jikes support. Related to bug #89711
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
|
||||
epatch "${FILESDIR}/${P}-jdk15.patch"
|
||||
|
||||
mkdir ext && cd ext
|
||||
java-pkg_jar-from gnu-crypto javax-security.jar javax-security-auth-callback.jar
|
||||
java-pkg_jar-from gnu-crypto javax-security.jar javax-security-sasl.jar
|
||||
# fake jar to shut build system up, jsse is part of JDK's classpath already
|
||||
ln -s javax-security-sasl.jar jsse.jar
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
econf \
|
||||
--enable-smtp \
|
||||
--enable-imap \
|
||||
--enable-pop3 \
|
||||
--enable-nntp \
|
||||
--enable-ftp \
|
||||
--enable-gopher \
|
||||
--with-jsse-jar="${S}"/ext \
|
||||
--with-javax-security-auth-callback-jar="${S}"/ext \
|
||||
--with-javax-security-sasl-jar="${S}"/ext \
|
||||
|| die "econf failed"
|
||||
# https://bugs.gentoo.org/show_bug.cgi?id=179897
|
||||
emake JAVACFLAGS="${JAVACFLAGS}" -j1 || die "emake failed"
|
||||
if use doc ; then
|
||||
emake -j1 javadoc || die "emake javadoc failed"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
einstall || die
|
||||
rm -rf "${D}"/usr/share/java
|
||||
java-pkg_dojar ${MY_PN}.jar
|
||||
use doc && java-pkg_dojavadoc docs
|
||||
dodoc AUTHORS NEWS README || die
|
||||
}
|
@ -1,57 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
inherit java-pkg-2 java-ant-2
|
||||
|
||||
MY_PN="inetlib"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
DESCRIPTION="Network extensions library for GNU classpath and classpathx"
|
||||
HOMEPAGE="https://www.gnu.org/software/classpath/"
|
||||
SRC_URI="mirror://gnu/classpath/${MY_P}.tar.gz"
|
||||
LICENSE="GPL-2-with-linking-exception"
|
||||
SLOT="1.1"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="doc"
|
||||
RDEPEND=">=virtual/jre-1.3
|
||||
>=dev-java/gnu-crypto-2.0.1"
|
||||
DEPEND=">=virtual/jdk-1.3
|
||||
${RDEPEND}"
|
||||
S="${WORKDIR}/${MY_PN}"
|
||||
|
||||
src_unpack() {
|
||||
unpack ${A}
|
||||
cd "${S}"
|
||||
|
||||
epatch "${FILESDIR}/${P}-jdk15.patch"
|
||||
|
||||
mkdir ext && cd ext
|
||||
java-pkg_jar-from gnu-crypto
|
||||
# fake jar to shut build system up, jsse is part of JDK's classpath already
|
||||
ln -s javax-security.jar jsse.jar
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
econf \
|
||||
--enable-smtp \
|
||||
--enable-imap \
|
||||
--enable-pop3 \
|
||||
--enable-nntp \
|
||||
--enable-ftp \
|
||||
--enable-gopher \
|
||||
--with-jsse-jar="${S}"/ext \
|
||||
--with-javax-security-jar="${S}"/ext \
|
||||
|| die
|
||||
# https://bugs.gentoo.org/show_bug.cgi?id=179897
|
||||
emake JAVACFLAGS="${JAVACFLAGS}" -j1 || die
|
||||
if use doc ; then
|
||||
emake -j1 javadoc || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
einstall || die
|
||||
rm -rf "${D}"/usr/share/java
|
||||
java-pkg_dojar inetlib.jar
|
||||
use doc && java-pkg_dojavadoc docs
|
||||
dodoc AUTHORS NEWS README || die
|
||||
}
|
@ -1,15 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>java@gentoo.org</email>
|
||||
<name>Java</name>
|
||||
</maintainer>
|
||||
|
||||
<longdescription>
|
||||
GNU Classpath inetlib is an extension library to provide extra network
|
||||
protocol support for GNU Classpath and ClasspathX project, but it can
|
||||
also used standalone to make adding http, imap, pop3 and smtp client
|
||||
support to applictions.
|
||||
</longdescription>
|
||||
</pkgmetadata>
|
@ -1,5 +0,0 @@
|
||||
DIST mail-1.0.tar.gz 707084 SHA256 0dcbf6b24ea1f0a47a4aff15060dda19349d8bea7025a6e7d2249969afb7099e SHA512 14513b577a312c4c3ba994db02ca561614f64d532baf07a3f58d97d8a8e129d83ed29a835b079131c1789c584b851188ae1450a531b6e5a544513c219bc37f09 WHIRLPOOL 6001858a0bb73bbb5ea855fc781ee09ed3773c7de67fc4cfed7fd6b34ea3bced42c78900de022996a2ae34651aa7884cb2e6a69d25e5fb2ade7415707a51913b
|
||||
EBUILD gnu-javamail-1.0-r2.ebuild 1371 SHA256 075aed91439ec6ace2607c9f14e83187cc59c9dbecbef03fc21e1b51a4a6feb8 SHA512 c1ce5260fd312444eb06b7b09faf3491a553ed39f68b1497b600b68c5431cba49d0a596d4c28eecd3e15572de60fe05371b6337eda7719318ac976e36a2f9de1 WHIRLPOOL 2a69febe4cc0ab8c2518404fc1824df79ce88800c44a7ad777fea052a3dd68b76576e7fdcbb9ce3530ff5244359870cd7a4beb392085eb0e10ff964a833f0f24
|
||||
MISC ChangeLog 2997 SHA256 e6ba8663e7c14f05de8d5957098bd73d93bb9d4cc4df1b3608e6827f867a07e5 SHA512 61f5912971dc355f4d4ef6bf9a160b6e2f5556ca9b4ea1ad25b21ac2ddf3670bf7167c6cd7c7fab1acaf6e24e16a747c8144c462028a9d92e69372cba0a86681 WHIRLPOOL 8a6f8bab924bb907bcc8a9bc0c328675c387c8a001e1f57678f9cf096a48403f5ba8950c4d9270a9132c50c6f3dd293be865f988fe93051a6e409b8210d1d7c3
|
||||
MISC ChangeLog-2015 3496 SHA256 86a5d39476afacb7fb1db9afaa394d2e0fcba12c78c09fc2eaa921ea8bd3981c SHA512 9f52b7e8aa97b4c85b83413210c6e79354b740610a939a76f2cbc945f8d5bd414d89c4735c5a00aa67fbb5431f9ffd4b27f5111cdb8f679c63a7fd47d0459685 WHIRLPOOL 6eed1c089d1692207e04c5dc3f3fe61787f47dbcbdf78b4a2c8d2474072e39a118ca030481f46bf1e404b1e7977d8ee394a19c9d3ebcbedbd2d18129225f0a43
|
||||
MISC metadata.xml 1168 SHA256 eb5d597dec2dbfcdc16eb2c73706f59fb0c67b56b405e1e2e4d046e6008626e0 SHA512 47080e42803fe861d56b28507c0c9ccb2e299b31ff458bfce462da8c34f05ba1bd7c1d2fcbdb9c4e9fe5d59872b88c895cfcdb5c03014e27df690ca17cc2c029 WHIRLPOOL ce6ec52253f07f53618506b451916a227f12b652b5b7dd9af45627ba776e91155d77cc275e5dda3bc8053b36eedb2aa7328141ee12b33e758f5264b315bc910f
|
@ -1,54 +0,0 @@
|
||||
# Copyright 1999-2008 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
inherit java-pkg-2
|
||||
|
||||
MY_PN="mail"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
DESCRIPTION="GNU implementation of the Javamail API"
|
||||
HOMEPAGE="https://www.gnu.org/software/classpathx/javamail/"
|
||||
SRC_URI="mirror://gnu/classpathx/${MY_P}.tar.gz"
|
||||
LICENSE="GPL-2-with-linking-exception"
|
||||
SLOT="1"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="doc"
|
||||
RDEPEND=">=virtual/jre-1.4
|
||||
=dev-java/gnu-jaf-1*
|
||||
=dev-java/gnu-classpath-inetlib-1.0*
|
||||
!<=dev-java/mx4j-3.0.1
|
||||
!<=dev-java/mx4j-3.0.1-r2"
|
||||
DEPEND=">=virtual/jdk-1.4
|
||||
${RDEPEND}"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
# TODO: Re-enable jikes support (see bug #89711)
|
||||
|
||||
src_compile() {
|
||||
local activation=$(dirname $(java-pkg_getjar gnu-jaf-1 activation.jar))
|
||||
local inetlib=$(dirname $(java-pkg_getjar gnu-classpath-inetlib-1.0 inetlib.jar))
|
||||
|
||||
econf \
|
||||
--with-activation-jar=${activation} \
|
||||
--with-inetlib-jar=${inetlib} \
|
||||
--enable-smtp \
|
||||
--enable-imap \
|
||||
--enable-pop3 \
|
||||
--enable-nntp \
|
||||
--enable-mbox \
|
||||
--enable-maildir \
|
||||
|| die "failed to configure"
|
||||
|
||||
emake JAVACFLAGS="${JAVACFLAGS}" || die "failed to compile"
|
||||
|
||||
if use doc; then
|
||||
emake javadoc || die "failed to generate javadoc"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_dojar gnumail-providers.jar
|
||||
java-pkg_newjar gnumail.jar mail.jar
|
||||
dodoc AUTHORS ChangeLog NEWS README README.*
|
||||
use doc && java-pkg_dojavadoc docs
|
||||
}
|
@ -1,29 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>java@gentoo.org</email>
|
||||
<name>Java</name>
|
||||
</maintainer>
|
||||
|
||||
<longdescription>
|
||||
GNU JavaMail is a free implementation of the JavaMail API specification,
|
||||
version 1.3. All the code has been written from scratch without
|
||||
reference to Sun's code, which allows GNU JavaMail to be used on a
|
||||
completely free operating system such as GNU/Linux or the Hurd. The code
|
||||
is optimized to work with free Java implementations, nothing prevents it
|
||||
from being used with any compliant JVM.
|
||||
|
||||
GNU JavaMail provides a protocol-independent framework for building mail
|
||||
client applications in Java. The API itself provides a complete MIME
|
||||
implementation, and drivers for individual messaging protocols, known as
|
||||
providers, can be plugged into the JavaMail framework dynamically.
|
||||
Several providers, implementing Internet standard protocols, are
|
||||
included with GNU JavaMail. These include:
|
||||
|
||||
* SMTP, IMAP, POP3
|
||||
* NNTP including posting to news servers
|
||||
* The UNIX mbox format
|
||||
* Dan Bernstein's Maildir format
|
||||
</longdescription>
|
||||
</pkgmetadata>
|
@ -1,4 +0,0 @@
|
||||
DIST mail-1.4-sources.jar 465692 SHA256 a20f7b4b98307424cb065ed4478dbce0a5831dfa48e1dea08d3d775632a9e1a6 SHA512 a4be6983d77a4baababcdb20d8586da7dc2f6a75419a02a1c8d72456023d4043b1aae6981321092a54e9f8dd0dc0ec7ab7d1080ab10fd9d84827e6c7a1d4c31c WHIRLPOOL 2885f46cd8780e708236ce0a336e12dfe373208638e0a2c9203452ca212deb44a55331620e2a25274889e9d9b9463bd4848541809fabc1cf4ff24722057c6561
|
||||
EBUILD javax-mail-1.4.ebuild 597 SHA256 ab8fbdb86a3244f4d1e28fe06e4fcf1d585656bb9d80114a5a65aa1b1aa4ac4e SHA512 799afeb1ec08bbd3fa2ae269a78c5c70ab4dfa62e6565e107cc0be81fa3ee698bf0ea55a493420955207e4deb62d133f3317f99b1de8423ee6c87e8f87d1b0ea WHIRLPOOL 866d237f208f969d74f9e3f1f0ae61ea27bbfcdc0b233037b4594dbf5148abe3c1a7d7a172df94685c68156b8930d14bbed0c593e64528739271241402de47ef
|
||||
MISC ChangeLog 313 SHA256 7e5cb90022972dd316da8c19fe1c0aecd10872a35625b03239747393967a9433 SHA512 8072d1b6938b96f6e0716f286ad5d6ed81588f242d1baad7b6b9033681a8cfbb1b76274afda1c3e39a428400f2039895f08dca0091adc299aac0d4d6c5bf8b65 WHIRLPOOL e0d12d67b5ca75227ceb53a7f49a248a570e9c232e1beef40fb39916d0bfccb136e077ba1d5a141784d08b42d8eb5efe7c4bda059dde9bac3ee25a435591b7f3
|
||||
MISC metadata.xml 242 SHA256 653cd0d34675fe6c6201752e96e6b035bad682c39a376c236b0a8f70dbdcc1c9 SHA512 50f4d6219b995b723d6ebbb4f2a18adbf558a685f862aea00f072254dcc0fe6c1388e4aeaf21fb3ce0fb840a2ef4851807536d037c9682b21cb1986198715a4f WHIRLPOOL 12c33e00040d7a3f4c26a8b7a6a6eaf10007a9e29af9904d192f89db5120a2760a7174fa40c40068eb6066d6a4f0dbbc57a12e852581de95cc956e210351b705
|
@ -1,25 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
JAVA_PKG_IUSE="doc source"
|
||||
|
||||
inherit java-pkg-2 java-pkg-simple
|
||||
|
||||
DESCRIPTION="Provides a platform/protocol-independent framework for mail and messaging apps"
|
||||
HOMEPAGE="https://javamail.java.net/"
|
||||
SRC_URI="http://repo1.maven.org/maven2/javax/mail/mail/${PV}/mail-${PV}-sources.jar"
|
||||
|
||||
LICENSE="|| ( CDDL GPL-2-with-classpath-exception )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc64 ~x86"
|
||||
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
${CDEPEND}
|
||||
>=virtual/jre-1.6"
|
||||
DEPEND="
|
||||
${CDEPEND}
|
||||
>=virtual/jdk-1.6
|
||||
app-arch/unzip"
|
@ -1,8 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>java@gentoo.org</email>
|
||||
<name>Java</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -1,5 +0,0 @@
|
||||
DIST sun-javamail-1.4.3.zip 1174915 SHA256 5204fd4e38b4f2a43fb727c861d7d1f69933d489706de100189970032582becd SHA512 092b44857ed8a7fee25e9dd5085144b9b04aaec2e294ac7271accda8d0f8ea71792671079c2e377dadce02282446f176abbd3f78f55a8342930667a985080210 WHIRLPOOL f0440fd2bd7f3a8db357e9824a81aaa68b08688aab0b77c08dcd8e136a8b5856678fc5e50c5799234e59df4df516c06ac3c78c0f699d757cbfbb06f54296372e
|
||||
EBUILD sun-javamail-1.4.3-r1.ebuild 870 SHA256 d33290a7e6945c551dbdcb72cb59e052ee35cf918564b7b9aec825d68baa1b75 SHA512 6ce2a8df38c8db93b5205b58f8bfb86c3d8ea15587f8c31e4651b5770464f6d2f2f0839e2aaab09866237147868f126cdfdc5a73163bcf9dbc531f1bc05a2d21 WHIRLPOOL 00e02099f0c44aeb899d40bf647ec73b94e8fcd3f93413349f41ffc7becd999ec9a22feb829432dc6227c15a84826bb6b01baca16fa67d9cd8f128ac6419b73d
|
||||
MISC ChangeLog 2585 SHA256 7021440c551ef1a07136ecca9d1db9961da4b9ddf3ad88b3a1635ee59619776a SHA512 b83dfd332066bcb4bbe2306e08f7f51b0e0c46e6e37a476d4285a5eee69c610808c799f32518b4a2cc2aced55a60ccfb50dfe3a3b4b91fbdbf018b9ef2516a2d WHIRLPOOL 67109e0665161077d0f241f05374d880d9f1fbc9cf92e68f3c7907b2dbed4813e13095d9def0d3a470685bdb6f952f2c7535d80ba53e2deb14e97714c117b4ff
|
||||
MISC ChangeLog-2015 3897 SHA256 297c3db1a32c7fb685aeffa517ae2512253c619f5fbd46a7475c9e8b2ebadd84 SHA512 ce9da49cebdb2fc7d2be5de9185b6e317618bc1287b0a2b4ac11b46c566d8b6c7822b8f58ffdec0d18ede857c35832e5862178477932c3fc3fe9586e517ed4dc WHIRLPOOL a1f39fa9b3c2ccd501613f9345d9a065d99d6a5c92694397c0f8f2cff82cc37b0b808a7b36ec7992a32f1cceb0a46b2052986e7e6e71e2fcea55c2836b0e19a6
|
||||
MISC metadata.xml 236 SHA256 3e778d35b34b5cc1a4dd7ce105fe7d2a99b25fb6dfe24709455da94baa8a0548 SHA512 1755c2590e59060f697294c5ad125b83f2d50e05a71f7091b7de75953941914cd2db3a893bd6154a2c90fa4aff5e313e75e3e174dbba1edd5c112787da5be253 WHIRLPOOL 7967660784d0d28e9a3c3c222c5bf85b3a8b59fd84b61780e4e7cc1aa5d8bd87bee40e4c5c42e646f15d6641fe182340bcbe8be94c785f40e0ac870c7a96e5cc
|
@ -1,8 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>java@gentoo.org</email>
|
||||
<name>Java</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -1,36 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
JAVA_PKG_IUSE="doc source"
|
||||
|
||||
inherit java-pkg-2 java-pkg-simple
|
||||
|
||||
DESCRIPTION="A Java-based framework to build multiplatform mail and messaging applications"
|
||||
HOMEPAGE="http://java.sun.com/products/javamail/index.html"
|
||||
SRC_URI="mirror://gentoo/javamail-${PV}-src.zip -> ${P}.zip"
|
||||
|
||||
LICENSE="|| ( CDDL GPL-2 BSD )"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm ppc64 x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
|
||||
DEPEND=">=virtual/jdk-1.6"
|
||||
RDEPEND=">=virtual/jre-1.6"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
JAVA_ENCODING="ISO-8859-1"
|
||||
JAVA_SRC_DIR="mail"
|
||||
|
||||
HTML_DOCS=( doc/release )
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
rm -rv mail/src/test || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg-simple_src_install
|
||||
einstalldocs
|
||||
}
|
@ -0,0 +1,55 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit versionator
|
||||
|
||||
DESCRIPTION="a non-interactive scripting language"
|
||||
HOMEPAGE="https://www.skarnet.org/software/execline/"
|
||||
SRC_URI="https://www.skarnet.org/software/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="ISC"
|
||||
SLOT="0/$(get_version_component_range 1-2)"
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
IUSE="static static-libs"
|
||||
|
||||
DEPEND=">=sys-devel/make-3.81
|
||||
static? (
|
||||
>=dev-libs/skalibs-2.6.0.0[static-libs]
|
||||
)
|
||||
!static? (
|
||||
>=dev-libs/skalibs-2.6.0.0
|
||||
)
|
||||
"
|
||||
RDEPEND="
|
||||
!static? (
|
||||
>=dev-libs/skalibs-2.6.0.0:=
|
||||
)
|
||||
"
|
||||
|
||||
HTML_DOCS="doc/*"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# Remove QA warning about LDFLAGS addition
|
||||
sed -i "s/tryldflag LDFLAGS_AUTO -Wl,--hash-style=both/:/" "${S}/configure" || die
|
||||
|
||||
# configure overrides gentoo's -fstack-protector default
|
||||
sed -i "/^tryflag CFLAGS_AUTO -fno-stack-protector$/d" "${S}/configure" || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
--bindir=/bin \
|
||||
--dynlibdir=/$(get_libdir) \
|
||||
--libdir=/usr/$(get_libdir)/${PN} \
|
||||
--with-dynlib=/$(get_libdir) \
|
||||
--with-lib=/usr/$(get_libdir)/skalibs \
|
||||
--with-sysdeps=/usr/$(get_libdir)/skalibs \
|
||||
$(use_enable !static shared) \
|
||||
$(use_enable static allstatic) \
|
||||
$(use_enable static static-libc) \
|
||||
$(use_enable static-libs static)
|
||||
}
|
@ -0,0 +1,739 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit flag-o-matic versionator systemd
|
||||
|
||||
DESCRIPTION="The PHP language runtime engine"
|
||||
HOMEPAGE="http://php.net/"
|
||||
SRC_URI="http://php.net/distributions/${P}.tar.xz"
|
||||
|
||||
LICENSE="PHP-3.01
|
||||
BSD
|
||||
Zend-2.0
|
||||
bcmath? ( LGPL-2.1+ )
|
||||
fpm? ( BSD-2 )
|
||||
gd? ( gd )
|
||||
unicode? ( BSD-2 LGPL-2.1 )"
|
||||
|
||||
SLOT="$(get_version_component_range 1-2)"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
|
||||
|
||||
# We can build the following SAPIs in the given order
|
||||
SAPIS="embed cli cgi fpm apache2 phpdbg"
|
||||
|
||||
# SAPIs and SAPI-specific USE flags (cli SAPI is default on):
|
||||
IUSE="${IUSE}
|
||||
${SAPIS/cli/+cli}
|
||||
threads"
|
||||
|
||||
IUSE="${IUSE} acl bcmath berkdb bzip2 calendar cdb cjk
|
||||
coverage crypt +ctype curl debug
|
||||
enchant exif +fileinfo +filter firebird
|
||||
flatfile ftp gd gdbm gmp +hash +iconv imap inifile
|
||||
intl iodbc ipv6 +json kerberos ldap ldap-sasl libedit libressl
|
||||
mhash mssql mysql mysqli nls
|
||||
oci8-instant-client odbc +opcache pcntl pdo +phar +posix postgres qdbm
|
||||
readline recode selinux +session sharedmem
|
||||
+simplexml snmp soap sockets spell sqlite ssl
|
||||
sysvipc systemd tidy +tokenizer truetype unicode wddx webp
|
||||
+xml xmlreader xmlwriter xmlrpc xpm xslt zip zlib"
|
||||
|
||||
# The supported (that is, autodetected) versions of BDB are listed in
|
||||
# the ./configure script. Other versions *work*, but we need to stick to
|
||||
# the ones that can be detected to avoid a repeat of bug #564824.
|
||||
COMMON_DEPEND="
|
||||
>=app-eselect/eselect-php-0.9.1[apache2?,fpm?]
|
||||
>=dev-libs/libpcre-8.32[unicode]
|
||||
acl? ( sys-apps/acl )
|
||||
apache2? ( || ( >=www-servers/apache-2.4[apache2_modules_unixd,threads=]
|
||||
<www-servers/apache-2.4[threads=] ) )
|
||||
berkdb? ( || ( sys-libs/db:5.3
|
||||
sys-libs/db:5.1
|
||||
sys-libs/db:4.8
|
||||
sys-libs/db:4.7
|
||||
sys-libs/db:4.6
|
||||
sys-libs/db:4.5 ) )
|
||||
bzip2? ( app-arch/bzip2 )
|
||||
cdb? ( || ( dev-db/cdb dev-db/tinycdb ) )
|
||||
cjk? ( !gd? (
|
||||
virtual/jpeg:0
|
||||
media-libs/libpng:0=
|
||||
sys-libs/zlib
|
||||
) )
|
||||
coverage? ( dev-util/lcov )
|
||||
crypt? ( >=dev-libs/libmcrypt-2.4 )
|
||||
curl? ( >=net-misc/curl-7.10.5 )
|
||||
enchant? ( app-text/enchant )
|
||||
exif? ( !gd? (
|
||||
virtual/jpeg:0
|
||||
media-libs/libpng:0=
|
||||
sys-libs/zlib
|
||||
) )
|
||||
firebird? ( dev-db/firebird )
|
||||
gd? ( virtual/jpeg:0 media-libs/libpng:0= sys-libs/zlib )
|
||||
gdbm? ( >=sys-libs/gdbm-1.8.0 )
|
||||
gmp? ( dev-libs/gmp:0 )
|
||||
iconv? ( virtual/libiconv )
|
||||
imap? ( virtual/imap-c-client[kerberos=,ssl=] )
|
||||
intl? ( dev-libs/icu:= )
|
||||
iodbc? ( dev-db/libiodbc )
|
||||
kerberos? ( virtual/krb5 )
|
||||
ldap? ( >=net-nds/openldap-1.2.11 )
|
||||
ldap-sasl? ( dev-libs/cyrus-sasl >=net-nds/openldap-1.2.11 )
|
||||
libedit? ( || ( sys-freebsd/freebsd-lib dev-libs/libedit ) )
|
||||
mssql? ( dev-db/freetds[mssql] )
|
||||
nls? ( sys-devel/gettext )
|
||||
oci8-instant-client? ( dev-db/oracle-instantclient-basic )
|
||||
odbc? ( >=dev-db/unixODBC-1.8.13 )
|
||||
postgres? ( dev-db/postgresql:* )
|
||||
qdbm? ( dev-db/qdbm )
|
||||
readline? ( sys-libs/readline:0= )
|
||||
recode? ( app-text/recode )
|
||||
sharedmem? ( dev-libs/mm )
|
||||
simplexml? ( >=dev-libs/libxml2-2.6.8 )
|
||||
snmp? ( >=net-analyzer/net-snmp-5.2 )
|
||||
soap? ( >=dev-libs/libxml2-2.6.8 )
|
||||
spell? ( >=app-text/aspell-0.50 )
|
||||
sqlite? ( >=dev-db/sqlite-3.7.6.3 )
|
||||
ssl? (
|
||||
!libressl? ( dev-libs/openssl:0 )
|
||||
libressl? ( dev-libs/libressl )
|
||||
)
|
||||
tidy? ( app-text/htmltidy )
|
||||
truetype? (
|
||||
=media-libs/freetype-2*
|
||||
!gd? (
|
||||
virtual/jpeg:0 media-libs/libpng:0= sys-libs/zlib )
|
||||
)
|
||||
unicode? ( dev-libs/oniguruma:= )
|
||||
wddx? ( >=dev-libs/libxml2-2.6.8 )
|
||||
webp? ( media-libs/libwebp )
|
||||
xml? ( >=dev-libs/libxml2-2.6.8 )
|
||||
xmlrpc? ( >=dev-libs/libxml2-2.6.8 virtual/libiconv )
|
||||
xmlreader? ( >=dev-libs/libxml2-2.6.8 )
|
||||
xmlwriter? ( >=dev-libs/libxml2-2.6.8 )
|
||||
xpm? (
|
||||
x11-libs/libXpm
|
||||
virtual/jpeg:0
|
||||
media-libs/libpng:0= sys-libs/zlib
|
||||
)
|
||||
xslt? ( dev-libs/libxslt >=dev-libs/libxml2-2.6.8 )
|
||||
zip? ( sys-libs/zlib )
|
||||
zlib? ( sys-libs/zlib )
|
||||
"
|
||||
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
virtual/mta
|
||||
fpm? (
|
||||
selinux? ( sec-policy/selinux-phpfpm )
|
||||
systemd? ( sys-apps/systemd ) )"
|
||||
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
app-arch/xz-utils
|
||||
>=sys-devel/bison-3.0.1
|
||||
sys-devel/flex
|
||||
>=sys-devel/m4-1.4.3
|
||||
>=sys-devel/libtool-1.5.18"
|
||||
|
||||
# Without USE=readline or libedit, the interactive "php -a" CLI will hang.
|
||||
REQUIRED_USE="
|
||||
|| ( cli cgi fpm apache2 embed phpdbg )
|
||||
cli? ( ^^ ( readline libedit ) )
|
||||
truetype? ( gd )
|
||||
webp? ( gd )
|
||||
cjk? ( gd )
|
||||
exif? ( gd )
|
||||
xpm? ( gd )
|
||||
gd? ( zlib )
|
||||
simplexml? ( xml )
|
||||
soap? ( xml )
|
||||
wddx? ( xml )
|
||||
xmlrpc? ( || ( xml iconv ) )
|
||||
xmlreader? ( xml )
|
||||
xslt? ( xml )
|
||||
ldap-sasl? ( ldap )
|
||||
mhash? ( hash )
|
||||
phar? ( hash )
|
||||
qdbm? ( !gdbm )
|
||||
readline? ( !libedit )
|
||||
recode? ( !imap !mysqli !mysql )
|
||||
sharedmem? ( !threads )
|
||||
mysql? ( || ( mysqli pdo ) )
|
||||
"
|
||||
|
||||
PHP_MV="$(get_major_version)"
|
||||
|
||||
php_install_ini() {
|
||||
local phpsapi="${1}"
|
||||
|
||||
# work out where we are installing the ini file
|
||||
php_set_ini_dir "${phpsapi}"
|
||||
|
||||
# Always install the production INI file, bug 611214.
|
||||
local phpinisrc="php.ini-production-${phpsapi}"
|
||||
cp php.ini-production "${phpinisrc}" || die
|
||||
|
||||
# default to /tmp for save_path, bug #282768
|
||||
sed -e 's|^;session.save_path .*$|session.save_path = "'"${EPREFIX}"'/tmp"|g' -i "${phpinisrc}" || die
|
||||
|
||||
# Set the extension dir
|
||||
sed -e "s|^extension_dir .*$|extension_dir = ${extension_dir}|g" \
|
||||
-i "${phpinisrc}" || die
|
||||
|
||||
# Set the include path to point to where we want to find PEAR packages
|
||||
sed -e 's|^;include_path = ".:/php/includes".*|include_path = ".:'"${EPREFIX}"'/usr/share/php'${PHP_MV}':'"${EPREFIX}"'/usr/share/php"|' -i "${phpinisrc}" || die
|
||||
|
||||
dodir "${PHP_INI_DIR#${EPREFIX}}"
|
||||
insinto "${PHP_INI_DIR#${EPREFIX}}"
|
||||
newins "${phpinisrc}" php.ini
|
||||
|
||||
elog "Installing php.ini for ${phpsapi} into ${PHP_INI_DIR#${EPREFIX}}"
|
||||
elog
|
||||
|
||||
dodir "${PHP_EXT_INI_DIR#${EPREFIX}}"
|
||||
dodir "${PHP_EXT_INI_DIR_ACTIVE#${EPREFIX}}"
|
||||
|
||||
if use opcache; then
|
||||
elog "Adding opcache to $PHP_EXT_INI_DIR"
|
||||
echo "zend_extension=${PHP_DESTDIR}/$(get_libdir)/opcache.so" >> \
|
||||
"${D}/${PHP_EXT_INI_DIR}"/opcache.ini
|
||||
dosym "${PHP_EXT_INI_DIR#${EPREFIX}}/opcache.ini" \
|
||||
"${PHP_EXT_INI_DIR_ACTIVE#${EPREFIX}}/opcache.ini"
|
||||
fi
|
||||
|
||||
# SAPI-specific handling
|
||||
if [[ "${sapi}" == "fpm" ]] ; then
|
||||
einfo "Installing FPM config files php-fpm.conf and www.conf"
|
||||
insinto "${PHP_INI_DIR#${EPREFIX}}"
|
||||
doins sapi/fpm/php-fpm.conf
|
||||
insinto "${PHP_INI_DIR#${EPREFIX}}/fpm.d"
|
||||
doins sapi/fpm/www.conf
|
||||
fi
|
||||
|
||||
dodoc php.ini-{development,production}
|
||||
}
|
||||
|
||||
php_set_ini_dir() {
|
||||
PHP_INI_DIR="${EPREFIX}/etc/php/${1}-php${SLOT}"
|
||||
PHP_EXT_INI_DIR="${PHP_INI_DIR}/ext"
|
||||
PHP_EXT_INI_DIR_ACTIVE="${PHP_INI_DIR}/ext-active"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# In php-7.x, the FPM pool configuration files have been split off
|
||||
# of the main config. By default the pool config files go in
|
||||
# e.g. /etc/php-fpm.d, which isn't slotted. So here we move the
|
||||
# include directory to a subdirectory "fpm.d" of $PHP_INI_DIR. Later
|
||||
# we'll install the pool configuration file "www.conf" there.
|
||||
php_set_ini_dir fpm
|
||||
sed -i "s~^include=.*$~include=${PHP_INI_DIR}/fpm.d/*.conf~" \
|
||||
sapi/fpm/php-fpm.conf.in \
|
||||
|| die 'failed to move the include directory in php-fpm.conf'
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
addpredict /usr/share/snmp/mibs/.index
|
||||
addpredict /var/lib/net-snmp/mib_indexes
|
||||
|
||||
PHP_DESTDIR="${EPREFIX}/usr/$(get_libdir)/php${SLOT}"
|
||||
|
||||
# The php-fpm config file wants localstatedir to be ${EPREFIX}/var
|
||||
# and not the Gentoo default ${EPREFIX}/var/lib. See bug 572002.
|
||||
local our_conf=(
|
||||
--prefix="${PHP_DESTDIR}"
|
||||
--mandir="${PHP_DESTDIR}/man"
|
||||
--infodir="${PHP_DESTDIR}/info"
|
||||
--libdir="${PHP_DESTDIR}/lib"
|
||||
--with-libdir="$(get_libdir)"
|
||||
--localstatedir="${EPREFIX}/var"
|
||||
--without-pear
|
||||
$(use_enable threads maintainer-zts)
|
||||
)
|
||||
|
||||
our_conf+=(
|
||||
$(use_with acl fpm-acl)
|
||||
$(use_enable bcmath bcmath)
|
||||
$(use_with bzip2 bz2 "${EPREFIX}/usr")
|
||||
$(use_enable calendar calendar)
|
||||
$(use_enable coverage gcov)
|
||||
$(use_enable ctype ctype)
|
||||
$(use_with curl curl "${EPREFIX}/usr")
|
||||
$(use_enable xml dom)
|
||||
$(use_with enchant enchant "${EPREFIX}/usr")
|
||||
$(use_enable exif exif)
|
||||
$(use_enable fileinfo fileinfo)
|
||||
$(use_enable filter filter)
|
||||
$(use_enable ftp ftp)
|
||||
$(use_with nls gettext "${EPREFIX}/usr")
|
||||
$(use_with gmp gmp "${EPREFIX}/usr")
|
||||
$(use_enable hash hash)
|
||||
$(use_with mhash mhash "${EPREFIX}/usr")
|
||||
$(use_with iconv iconv \
|
||||
$(use elibc_glibc || use elibc_musl || echo "${EPREFIX}/usr"))
|
||||
$(use_enable intl intl)
|
||||
$(use_enable ipv6 ipv6)
|
||||
$(use_enable json json)
|
||||
$(use_with kerberos kerberos "${EPREFIX}/usr")
|
||||
$(use_enable xml libxml)
|
||||
$(use_with xml libxml-dir "${EPREFIX}/usr")
|
||||
$(use_enable unicode mbstring)
|
||||
$(use_with crypt mcrypt "${EPREFIX}/usr")
|
||||
$(use_with unicode onig "${EPREFIX}/usr")
|
||||
$(use_with ssl openssl "${EPREFIX}/usr")
|
||||
$(use_with ssl openssl-dir "${EPREFIX}/usr")
|
||||
$(use_enable pcntl pcntl)
|
||||
$(use_enable phar phar)
|
||||
$(use_enable pdo pdo)
|
||||
$(use_enable opcache opcache)
|
||||
$(use_with postgres pgsql "${EPREFIX}/usr")
|
||||
$(use_enable posix posix)
|
||||
$(use_with spell pspell "${EPREFIX}/usr")
|
||||
$(use_with recode recode "${EPREFIX}/usr")
|
||||
$(use_enable simplexml simplexml)
|
||||
$(use_enable sharedmem shmop)
|
||||
$(use_with snmp snmp "${EPREFIX}/usr")
|
||||
$(use_enable soap soap)
|
||||
$(use_enable sockets sockets)
|
||||
$(use_with sqlite sqlite3 "${EPREFIX}/usr")
|
||||
$(use_enable sysvipc sysvmsg)
|
||||
$(use_enable sysvipc sysvsem)
|
||||
$(use_enable sysvipc sysvshm)
|
||||
$(use_with systemd fpm-systemd)
|
||||
$(use_with tidy tidy "${EPREFIX}/usr")
|
||||
$(use_enable tokenizer tokenizer)
|
||||
$(use_enable wddx wddx)
|
||||
$(use_enable xml xml)
|
||||
$(use_enable xmlreader xmlreader)
|
||||
$(use_enable xmlwriter xmlwriter)
|
||||
$(use_with xmlrpc xmlrpc)
|
||||
$(use_with xslt xsl "${EPREFIX}/usr")
|
||||
$(use_enable zip zip)
|
||||
$(use_with zlib zlib "${EPREFIX}/usr")
|
||||
$(use_enable debug debug)
|
||||
)
|
||||
|
||||
# DBA support
|
||||
if use cdb || use berkdb || use flatfile || use gdbm || use inifile \
|
||||
|| use qdbm ; then
|
||||
our_conf+=( "--enable-dba${shared}" )
|
||||
fi
|
||||
|
||||
# DBA drivers support
|
||||
our_conf+=(
|
||||
$(use_with cdb cdb)
|
||||
$(use_with berkdb db4 "${EPREFIX}/usr")
|
||||
$(use_enable flatfile flatfile)
|
||||
$(use_with gdbm gdbm "${EPREFIX}/usr")
|
||||
$(use_enable inifile inifile)
|
||||
$(use_with qdbm qdbm "${EPREFIX}/usr")
|
||||
)
|
||||
|
||||
# Support for the GD graphics library
|
||||
our_conf+=(
|
||||
$(use_with truetype freetype-dir "${EPREFIX}/usr")
|
||||
$(use_enable cjk gd-jis-conv)
|
||||
$(use_with gd jpeg-dir "${EPREFIX}/usr")
|
||||
$(use_with gd png-dir "${EPREFIX}/usr")
|
||||
$(use_with xpm xpm-dir "${EPREFIX}/usr")
|
||||
)
|
||||
if use webp; then
|
||||
our_conf+=( --with-webp-dir="${EPREFIX}/usr" )
|
||||
fi
|
||||
# enable gd last, so configure can pick up the previous settings
|
||||
our_conf+=( $(use_with gd gd) )
|
||||
|
||||
# IMAP support
|
||||
if use imap ; then
|
||||
our_conf+=(
|
||||
$(use_with imap imap "${EPREFIX}/usr")
|
||||
$(use_with ssl imap-ssl "${EPREFIX}/usr")
|
||||
)
|
||||
fi
|
||||
|
||||
# Interbase/firebird support
|
||||
our_conf+=( $(use_with firebird interbase "${EPREFIX}/usr") )
|
||||
|
||||
# LDAP support
|
||||
if use ldap ; then
|
||||
our_conf+=(
|
||||
$(use_with ldap ldap "${EPREFIX}/usr")
|
||||
$(use_with ldap-sasl ldap-sasl "${EPREFIX}/usr")
|
||||
)
|
||||
fi
|
||||
|
||||
# MySQL support
|
||||
local mysqllib="mysqlnd"
|
||||
local mysqlilib="mysqlnd"
|
||||
|
||||
our_conf+=( $(use_with mysqli mysqli "${mysqlilib}") )
|
||||
|
||||
local mysqlsock="${EPREFIX}/var/run/mysqld/mysqld.sock"
|
||||
if use mysql || use mysqli ; then
|
||||
our_conf+=( $(use_with mysql mysql-sock "${mysqlsock}") )
|
||||
fi
|
||||
|
||||
# ODBC support
|
||||
our_conf+=(
|
||||
$(use_with odbc unixODBC "${EPREFIX}/usr")
|
||||
$(use_with iodbc iodbc "${EPREFIX}/usr")
|
||||
)
|
||||
|
||||
# Oracle support
|
||||
our_conf+=( $(use_with oci8-instant-client oci8) )
|
||||
|
||||
# PDO support
|
||||
if use pdo ; then
|
||||
our_conf+=(
|
||||
$(use_with mssql pdo-dblib "${EPREFIX}/usr")
|
||||
$(use_with mysql pdo-mysql "${mysqllib}")
|
||||
$(use_with postgres pdo-pgsql)
|
||||
$(use_with sqlite pdo-sqlite "${EPREFIX}/usr")
|
||||
$(use_with firebird pdo-firebird "${EPREFIX}/usr")
|
||||
$(use_with odbc pdo-odbc "unixODBC,${EPREFIX}/usr")
|
||||
$(use_with oci8-instant-client pdo-oci)
|
||||
)
|
||||
fi
|
||||
|
||||
# readline/libedit support
|
||||
our_conf+=(
|
||||
$(use_with readline readline "${EPREFIX}/usr")
|
||||
$(use_with libedit libedit "${EPREFIX}/usr")
|
||||
)
|
||||
|
||||
# Session support
|
||||
if use session ; then
|
||||
our_conf+=( $(use_with sharedmem mm "${EPREFIX}/usr") )
|
||||
else
|
||||
our_conf+=( $(use_enable session session) )
|
||||
fi
|
||||
|
||||
# Use pic for shared modules such as apache2's mod_php
|
||||
our_conf+=( --with-pic )
|
||||
|
||||
# we use the system copy of pcre
|
||||
# --with-pcre-regex affects ext/pcre
|
||||
# --with-pcre-dir affects ext/filter and ext/zip
|
||||
our_conf+=(
|
||||
--with-pcre-regex="${EPREFIX}/usr"
|
||||
--with-pcre-dir="${EPREFIX}/usr"
|
||||
)
|
||||
|
||||
# Catch CFLAGS problems
|
||||
# Fixes bug #14067.
|
||||
# Changed order to run it in reverse for bug #32022 and #12021.
|
||||
replace-cpu-flags "k6*" "i586"
|
||||
|
||||
# Cache the ./configure test results between SAPIs.
|
||||
our_conf+=( --cache-file="${T}/config.cache" )
|
||||
|
||||
# Support user-passed configuration parameters
|
||||
our_conf+=( ${EXTRA_ECONF:-} )
|
||||
|
||||
# Support the Apache2 extras, they must be set globally for all
|
||||
# SAPIs to work correctly, especially for external PHP extensions
|
||||
|
||||
mkdir -p "${WORKDIR}/sapis-build" || die
|
||||
for one_sapi in $SAPIS ; do
|
||||
use "${one_sapi}" || continue
|
||||
php_set_ini_dir "${one_sapi}"
|
||||
|
||||
# The BUILD_DIR variable is used to determine where to output
|
||||
# the files that autotools creates. This was all originally
|
||||
# based on the autotools-utils eclass.
|
||||
BUILD_DIR="${WORKDIR}/sapis-build/${one_sapi}"
|
||||
cp -a "${S}" "${BUILD_DIR}" || die
|
||||
cd "${BUILD_DIR}" || die
|
||||
|
||||
local sapi_conf=(
|
||||
--with-config-file-path="${PHP_INI_DIR}"
|
||||
--with-config-file-scan-dir="${PHP_EXT_INI_DIR_ACTIVE}"
|
||||
)
|
||||
|
||||
for sapi in $SAPIS ; do
|
||||
case "$sapi" in
|
||||
cli|cgi|embed|fpm|phpdbg)
|
||||
if [[ "${one_sapi}" == "${sapi}" ]] ; then
|
||||
sapi_conf+=( "--enable-${sapi}" )
|
||||
else
|
||||
sapi_conf+=( "--disable-${sapi}" )
|
||||
fi
|
||||
;;
|
||||
|
||||
apache2)
|
||||
if [[ "${one_sapi}" == "${sapi}" ]] ; then
|
||||
sapi_conf+=( --with-apxs2="${EPREFIX}/usr/bin/apxs" )
|
||||
else
|
||||
sapi_conf+=( --without-apxs2 )
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
||||
# Construct the $myeconfargs array by concatenating $our_conf
|
||||
# (the common args) and $sapi_conf (the SAPI-specific args).
|
||||
local myeconfargs=( "${our_conf[@]}" )
|
||||
myeconfargs+=( "${sapi_conf[@]}" )
|
||||
|
||||
pushd "${BUILD_DIR}" > /dev/null || die
|
||||
econf "${myeconfargs[@]}"
|
||||
popd > /dev/null || die
|
||||
done
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# snmp seems to run during src_compile, too (bug #324739)
|
||||
addpredict /usr/share/snmp/mibs/.index
|
||||
addpredict /var/lib/net-snmp/mib_indexes
|
||||
|
||||
for sapi in ${SAPIS} ; do
|
||||
if use "${sapi}"; then
|
||||
cd "${WORKDIR}/sapis-build/$sapi" || \
|
||||
die "Failed to change dir to ${WORKDIR}/sapis-build/$1"
|
||||
emake
|
||||
fi
|
||||
done
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# see bug #324739 for what happens when we don't have that
|
||||
addpredict /usr/share/snmp/mibs/.index
|
||||
|
||||
# grab the first SAPI that got built and install common files from there
|
||||
local first_sapi=""
|
||||
for sapi in $SAPIS ; do
|
||||
if use $sapi ; then
|
||||
first_sapi=$sapi
|
||||
break
|
||||
fi
|
||||
done
|
||||
|
||||
# Makefile forgets to create this before trying to write to it...
|
||||
dodir "${PHP_DESTDIR#${EPREFIX}}/bin"
|
||||
|
||||
# Install php environment (without any sapis)
|
||||
cd "${WORKDIR}/sapis-build/$first_sapi" || die
|
||||
emake INSTALL_ROOT="${D}" \
|
||||
install-build install-headers install-programs
|
||||
|
||||
local extension_dir="$("${ED}/${PHP_DESTDIR#${EPREFIX}}/bin/php-config" --extension-dir)"
|
||||
|
||||
# Create the directory where we'll put version-specific php scripts
|
||||
keepdir "/usr/share/php${PHP_MV}"
|
||||
|
||||
local sapi="", file=""
|
||||
local sapi_list=""
|
||||
|
||||
for sapi in ${SAPIS}; do
|
||||
if use "${sapi}" ; then
|
||||
einfo "Installing SAPI: ${sapi}"
|
||||
cd "${WORKDIR}/sapis-build/${sapi}" || die
|
||||
|
||||
if [[ "${sapi}" == "apache2" ]] ; then
|
||||
# We're specifically not using emake install-sapi as libtool
|
||||
# may cause unnecessary relink failures (see bug #351266)
|
||||
insinto "${PHP_DESTDIR#${EPREFIX}}/apache2/"
|
||||
newins ".libs/libphp${PHP_MV}$(get_libname)" \
|
||||
"libphp${PHP_MV}$(get_libname)"
|
||||
keepdir "/usr/$(get_libdir)/apache2/modules"
|
||||
else
|
||||
# needed each time, php_install_ini would reset it
|
||||
local dest="${PHP_DESTDIR#${EPREFIX}}"
|
||||
into "${dest}"
|
||||
case "$sapi" in
|
||||
cli)
|
||||
source="sapi/cli/php"
|
||||
;;
|
||||
cgi)
|
||||
source="sapi/cgi/php-cgi"
|
||||
;;
|
||||
fpm)
|
||||
source="sapi/fpm/php-fpm"
|
||||
;;
|
||||
embed)
|
||||
source="libs/libphp${PHP_MV}$(get_libname)"
|
||||
;;
|
||||
phpdbg)
|
||||
source="sapi/phpdbg/phpdbg"
|
||||
;;
|
||||
*)
|
||||
die "unhandled sapi in src_install"
|
||||
;;
|
||||
esac
|
||||
|
||||
if [[ "${source}" == *"$(get_libname)" ]]; then
|
||||
dolib.so "${source}"
|
||||
else
|
||||
dobin "${source}"
|
||||
local name="$(basename ${source})"
|
||||
dosym "${dest}/bin/${name}" "/usr/bin/${name}${SLOT}"
|
||||
fi
|
||||
fi
|
||||
|
||||
php_install_ini "${sapi}"
|
||||
|
||||
# construct correct SAPI string for php-config
|
||||
# thanks to ferringb for the bash voodoo
|
||||
if [[ "${sapi}" == "apache2" ]]; then
|
||||
sapi_list="${sapi_list:+${sapi_list} }apache2handler"
|
||||
else
|
||||
sapi_list="${sapi_list:+${sapi_list} }${sapi}"
|
||||
fi
|
||||
fi
|
||||
done
|
||||
|
||||
# Installing opcache module
|
||||
if use opcache ; then
|
||||
into "${PHP_DESTDIR#${EPREFIX}}"
|
||||
dolib.so "modules/opcache$(get_libname)"
|
||||
fi
|
||||
|
||||
# Install env.d files
|
||||
newenvd "${FILESDIR}/20php5-envd" "20php${SLOT}"
|
||||
sed -e "s|/lib/|/$(get_libdir)/|g" -i "${ED}/etc/env.d/20php${SLOT}" || die
|
||||
sed -e "s|php5|php${SLOT}|g" -i "${ED}/etc/env.d/20php${SLOT}" || die
|
||||
|
||||
# set php-config variable correctly (bug #278439)
|
||||
sed -e "s:^\(php_sapis=\)\".*\"$:\1\"${sapi_list}\":" -i \
|
||||
"${ED}/usr/$(get_libdir)/php${SLOT}/bin/php-config" || die
|
||||
|
||||
if use fpm ; then
|
||||
if use systemd; then
|
||||
systemd_newunit "${FILESDIR}/php-fpm_at.service" \
|
||||
"php-fpm@${SLOT}.service"
|
||||
else
|
||||
systemd_newunit "${FILESDIR}/php-fpm_at-simple.service" \
|
||||
"php-fpm@${SLOT}.service"
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
echo ">>> Test phase [test]: ${CATEGORY}/${PF}"
|
||||
PHP_BIN="${WORKDIR}/sapis-build/cli/sapi/cli/php"
|
||||
if [[ ! -x "${PHP_BIN}" ]] ; then
|
||||
ewarn "Test phase requires USE=cli, skipping"
|
||||
return
|
||||
else
|
||||
export TEST_PHP_EXECUTABLE="${PHP_BIN}"
|
||||
fi
|
||||
|
||||
if [[ -x "${WORKDIR}/sapis-build/cgi/sapi/cgi/php-cgi" ]] ; then
|
||||
export TEST_PHP_CGI_EXECUTABLE="${WORKDIR}/sapis-build/cgi/sapi/cgi/php-cgi"
|
||||
fi
|
||||
|
||||
if [[ -x "${WORKDIR}/sapis-build/phpdbg/sapi/phpdbg/phpdbg" ]] ; then
|
||||
export TEST_PHPDBG_EXECUTABLE="${WORKDIR}/sapis-build/phpdbg/sapi/phpdbg/phpdbg"
|
||||
fi
|
||||
|
||||
REPORT_EXIT_STATUS=1 "${TEST_PHP_EXECUTABLE}" -n -d \
|
||||
"session.save_path=${T}" \
|
||||
"${WORKDIR}/sapis-build/cli/run-tests.php" -n -q -d \
|
||||
"session.save_path=${T}"
|
||||
|
||||
for name in ${EXPECTED_TEST_FAILURES}; do
|
||||
mv "${name}.out" "${name}.out.orig" 2>/dev/null || die
|
||||
done
|
||||
|
||||
local failed="$(find -name '*.out')"
|
||||
if [[ ${failed} != "" ]] ; then
|
||||
ewarn "The following test cases failed unexpectedly:"
|
||||
for name in ${failed}; do
|
||||
ewarn " ${name/.out/}"
|
||||
done
|
||||
else
|
||||
einfo "No unexpected test failures, all fine"
|
||||
fi
|
||||
|
||||
if [[ ${PHP_SHOW_UNEXPECTED_TEST_PASS} == "1" ]] ; then
|
||||
local passed=""
|
||||
for name in ${EXPECTED_TEST_FAILURES}; do
|
||||
[[ -f "${name}.diff" ]] && continue
|
||||
passed="${passed} ${name}"
|
||||
done
|
||||
if [[ ${passed} != "" ]] ; then
|
||||
einfo "The following test cases passed unexpectedly:"
|
||||
for name in ${passed}; do
|
||||
ewarn " ${passed}"
|
||||
done
|
||||
else
|
||||
einfo "None of the known-to-fail tests passed, all fine"
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
# Output some general info to the user
|
||||
if use apache2 ; then
|
||||
elog
|
||||
elog "To enable PHP in apache, you will need to add \"-D PHP\" to"
|
||||
elog "your apache2 command. OpenRC users can append that string to"
|
||||
elog "APACHE2_OPTS in /etc/conf.d/apache2."
|
||||
elog
|
||||
elog "The apache module configuration file 70_mod_php.conf is"
|
||||
elog "provided (and maintained) by eselect-php."
|
||||
elog
|
||||
fi
|
||||
|
||||
# Create the symlinks for php
|
||||
for m in ${SAPIS}; do
|
||||
[[ ${m} == 'embed' ]] && continue;
|
||||
if use $m ; then
|
||||
local ci=$(eselect php show $m)
|
||||
if [[ -z $ci ]]; then
|
||||
eselect php set $m php${SLOT} || die
|
||||
einfo "Switched ${m} to use php:${SLOT}"
|
||||
einfo
|
||||
elif [[ $ci != "php${SLOT}" ]] ; then
|
||||
elog "To switch $m to use php:${SLOT}, run"
|
||||
elog " eselect php set $m php${SLOT}"
|
||||
elog
|
||||
fi
|
||||
fi
|
||||
done
|
||||
|
||||
# Remove dead symlinks for SAPIs that were just disabled. For
|
||||
# example, if the user has the cgi SAPI enabled, then he has an
|
||||
# eselect-php symlink for it. If he later reinstalls PHP with
|
||||
# USE="-cgi", that symlink will break. This call to eselect is
|
||||
# supposed to remove that dead link per bug 572436.
|
||||
eselect php cleanup || die
|
||||
|
||||
if ! has "php${SLOT/./-}" ${PHP_TARGETS}; then
|
||||
elog "To build extensions for this version of PHP, you will need to"
|
||||
elog "add php${SLOT/./-} to your PHP_TARGETS USE_EXPAND variable."
|
||||
elog
|
||||
fi
|
||||
|
||||
# Warn about the removal of PHP_INI_VERSION if the user has it set.
|
||||
if [[ -n "${PHP_INI_VERSION}" ]]; then
|
||||
ewarn 'The PHP_INI_VERSION variable has been phased out. You may'
|
||||
ewarn 'remove it from your configuration at your convenience. See'
|
||||
ewarn
|
||||
ewarn ' https://bugs.gentoo.org/611214'
|
||||
ewarn
|
||||
ewarn 'for more information.'
|
||||
fi
|
||||
|
||||
elog "For details on how version slotting works, please see"
|
||||
elog "the wiki:"
|
||||
elog
|
||||
elog " https://wiki.gentoo.org/wiki/PHP"
|
||||
elog
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
# This serves two purposes. First, if we have just removed the last
|
||||
# installed version of PHP, then this will remove any dead symlinks
|
||||
# belonging to eselect-php. Second, if a user upgrades slots from
|
||||
# (say) 5.6 to 7.0 and depcleans the old slot, then this will update
|
||||
# his existing symlinks to point to the new 7.0 installation. The
|
||||
# latter is bug 432962.
|
||||
#
|
||||
# Note: the eselect-php package may not be installed at this point,
|
||||
# so we can't die() if this command fails.
|
||||
eselect php cleanup
|
||||
}
|
@ -0,0 +1,721 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit flag-o-matic versionator systemd
|
||||
|
||||
DESCRIPTION="The PHP language runtime engine"
|
||||
HOMEPAGE="http://php.net/"
|
||||
SRC_URI="http://php.net/distributions/${P}.tar.xz"
|
||||
|
||||
LICENSE="PHP-3.01
|
||||
BSD
|
||||
Zend-2.0
|
||||
bcmath? ( LGPL-2.1+ )
|
||||
fpm? ( BSD-2 )
|
||||
gd? ( gd )
|
||||
unicode? ( BSD-2 LGPL-2.1 )"
|
||||
|
||||
SLOT="$(get_version_component_range 1-2)"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
|
||||
|
||||
# We can build the following SAPIs in the given order
|
||||
SAPIS="embed cli cgi fpm apache2 phpdbg"
|
||||
|
||||
# SAPIs and SAPI-specific USE flags (cli SAPI is default on):
|
||||
IUSE="${IUSE}
|
||||
${SAPIS/cli/+cli}
|
||||
threads"
|
||||
|
||||
IUSE="${IUSE} acl bcmath berkdb bzip2 calendar cdb cjk
|
||||
coverage crypt +ctype curl debug
|
||||
enchant exif +fileinfo +filter firebird
|
||||
flatfile ftp gd gdbm gmp +hash +iconv imap inifile
|
||||
intl iodbc ipv6 +json kerberos ldap ldap-sasl libedit libressl
|
||||
mhash mssql mysql mysqli nls
|
||||
oci8-instant-client odbc +opcache pcntl pdo +phar +posix postgres qdbm
|
||||
readline recode selinux +session sharedmem
|
||||
+simplexml snmp soap sockets spell sqlite ssl
|
||||
sysvipc systemd test tidy +tokenizer truetype unicode wddx webp
|
||||
+xml xmlreader xmlwriter xmlrpc xpm xslt zip zlib"
|
||||
|
||||
# The supported (that is, autodetected) versions of BDB are listed in
|
||||
# the ./configure script. Other versions *work*, but we need to stick to
|
||||
# the ones that can be detected to avoid a repeat of bug #564824.
|
||||
COMMON_DEPEND="
|
||||
>=app-eselect/eselect-php-0.9.1[apache2?,fpm?]
|
||||
>=dev-libs/libpcre-8.32[unicode]
|
||||
acl? ( sys-apps/acl )
|
||||
apache2? ( || ( >=www-servers/apache-2.4[apache2_modules_unixd,threads=]
|
||||
<www-servers/apache-2.4[threads=] ) )
|
||||
berkdb? ( || ( sys-libs/db:5.3
|
||||
sys-libs/db:5.1
|
||||
sys-libs/db:4.8
|
||||
sys-libs/db:4.7
|
||||
sys-libs/db:4.6
|
||||
sys-libs/db:4.5 ) )
|
||||
bzip2? ( app-arch/bzip2 )
|
||||
cdb? ( || ( dev-db/cdb dev-db/tinycdb ) )
|
||||
coverage? ( dev-util/lcov )
|
||||
crypt? ( >=dev-libs/libmcrypt-2.4 )
|
||||
curl? ( >=net-misc/curl-7.10.5 )
|
||||
enchant? ( app-text/enchant )
|
||||
firebird? ( dev-db/firebird )
|
||||
gd? ( virtual/jpeg:0 media-libs/libpng:0= sys-libs/zlib )
|
||||
gdbm? ( >=sys-libs/gdbm-1.8.0 )
|
||||
gmp? ( dev-libs/gmp:0 )
|
||||
iconv? ( virtual/libiconv )
|
||||
imap? ( virtual/imap-c-client[kerberos=,ssl=] )
|
||||
intl? ( dev-libs/icu:= )
|
||||
iodbc? ( dev-db/libiodbc )
|
||||
kerberos? ( virtual/krb5 )
|
||||
ldap? ( >=net-nds/openldap-1.2.11 )
|
||||
ldap-sasl? ( dev-libs/cyrus-sasl >=net-nds/openldap-1.2.11 )
|
||||
libedit? ( || ( sys-freebsd/freebsd-lib dev-libs/libedit ) )
|
||||
mssql? ( dev-db/freetds[mssql] )
|
||||
nls? ( sys-devel/gettext )
|
||||
oci8-instant-client? ( dev-db/oracle-instantclient-basic )
|
||||
odbc? ( >=dev-db/unixODBC-1.8.13 )
|
||||
postgres? ( dev-db/postgresql:* )
|
||||
qdbm? ( dev-db/qdbm )
|
||||
readline? ( sys-libs/readline:0= )
|
||||
recode? ( app-text/recode )
|
||||
sharedmem? ( dev-libs/mm )
|
||||
simplexml? ( >=dev-libs/libxml2-2.6.8 )
|
||||
snmp? ( >=net-analyzer/net-snmp-5.2 )
|
||||
soap? ( >=dev-libs/libxml2-2.6.8 )
|
||||
spell? ( >=app-text/aspell-0.50 )
|
||||
sqlite? ( >=dev-db/sqlite-3.7.6.3 )
|
||||
ssl? (
|
||||
!libressl? ( dev-libs/openssl:0 )
|
||||
libressl? ( dev-libs/libressl )
|
||||
)
|
||||
tidy? ( || ( app-text/tidy-html5 app-text/htmltidy ) )
|
||||
truetype? ( =media-libs/freetype-2* )
|
||||
unicode? ( dev-libs/oniguruma:= )
|
||||
wddx? ( >=dev-libs/libxml2-2.6.8 )
|
||||
webp? ( media-libs/libwebp )
|
||||
xml? ( >=dev-libs/libxml2-2.6.8 )
|
||||
xmlrpc? ( >=dev-libs/libxml2-2.6.8 virtual/libiconv )
|
||||
xmlreader? ( >=dev-libs/libxml2-2.6.8 )
|
||||
xmlwriter? ( >=dev-libs/libxml2-2.6.8 )
|
||||
xpm? ( x11-libs/libXpm )
|
||||
xslt? ( dev-libs/libxslt >=dev-libs/libxml2-2.6.8 )
|
||||
zip? ( sys-libs/zlib )
|
||||
zlib? ( sys-libs/zlib )
|
||||
"
|
||||
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
virtual/mta
|
||||
fpm? (
|
||||
selinux? ( sec-policy/selinux-phpfpm )
|
||||
systemd? ( sys-apps/systemd ) )"
|
||||
|
||||
# Bison isn't actually needed when building from a release tarball
|
||||
# However, the configure script will warn if it's absent or if you
|
||||
# have an incompatible version installed. See bug 593278.
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
app-arch/xz-utils
|
||||
>=sys-devel/bison-3.0.1"
|
||||
|
||||
# Without USE=readline or libedit, the interactive "php -a" CLI will hang.
|
||||
REQUIRED_USE="
|
||||
|| ( cli cgi fpm apache2 embed phpdbg )
|
||||
cli? ( ^^ ( readline libedit ) )
|
||||
truetype? ( gd )
|
||||
webp? ( gd )
|
||||
cjk? ( gd )
|
||||
exif? ( gd )
|
||||
xpm? ( gd )
|
||||
gd? ( zlib )
|
||||
simplexml? ( xml )
|
||||
soap? ( xml )
|
||||
wddx? ( xml )
|
||||
xmlrpc? ( || ( xml iconv ) )
|
||||
xmlreader? ( xml )
|
||||
xslt? ( xml )
|
||||
ldap-sasl? ( ldap )
|
||||
mhash? ( hash )
|
||||
phar? ( hash )
|
||||
qdbm? ( !gdbm )
|
||||
readline? ( !libedit )
|
||||
recode? ( !imap !mysqli !mysql )
|
||||
sharedmem? ( !threads )
|
||||
mysql? ( || ( mysqli pdo ) )
|
||||
"
|
||||
|
||||
PHP_MV="$(get_major_version)"
|
||||
|
||||
php_install_ini() {
|
||||
local phpsapi="${1}"
|
||||
|
||||
# work out where we are installing the ini file
|
||||
php_set_ini_dir "${phpsapi}"
|
||||
|
||||
# Always install the production INI file, bug 611214.
|
||||
local phpinisrc="php.ini-production-${phpsapi}"
|
||||
cp php.ini-production "${phpinisrc}" || die
|
||||
|
||||
# default to /tmp for save_path, bug #282768
|
||||
sed -e 's|^;session.save_path .*$|session.save_path = "'"${EPREFIX}"'/tmp"|g' -i "${phpinisrc}" || die
|
||||
|
||||
# Set the extension dir
|
||||
sed -e "s|^extension_dir .*$|extension_dir = ${extension_dir}|g" \
|
||||
-i "${phpinisrc}" || die
|
||||
|
||||
# Set the include path to point to where we want to find PEAR packages
|
||||
sed -e 's|^;include_path = ".:/php/includes".*|include_path = ".:'"${EPREFIX}"'/usr/share/php'${PHP_MV}':'"${EPREFIX}"'/usr/share/php"|' -i "${phpinisrc}" || die
|
||||
|
||||
dodir "${PHP_INI_DIR#${EPREFIX}}"
|
||||
insinto "${PHP_INI_DIR#${EPREFIX}}"
|
||||
newins "${phpinisrc}" php.ini
|
||||
|
||||
elog "Installing php.ini for ${phpsapi} into ${PHP_INI_DIR#${EPREFIX}}"
|
||||
elog
|
||||
|
||||
dodir "${PHP_EXT_INI_DIR#${EPREFIX}}"
|
||||
dodir "${PHP_EXT_INI_DIR_ACTIVE#${EPREFIX}}"
|
||||
|
||||
if use opcache; then
|
||||
elog "Adding opcache to $PHP_EXT_INI_DIR"
|
||||
echo "zend_extension=${PHP_DESTDIR}/$(get_libdir)/opcache.so" >> \
|
||||
"${D}/${PHP_EXT_INI_DIR}"/opcache.ini
|
||||
dosym "${PHP_EXT_INI_DIR#${EPREFIX}}/opcache.ini" \
|
||||
"${PHP_EXT_INI_DIR_ACTIVE#${EPREFIX}}/opcache.ini"
|
||||
fi
|
||||
|
||||
# SAPI-specific handling
|
||||
if [[ "${sapi}" == "fpm" ]] ; then
|
||||
einfo "Installing FPM config files php-fpm.conf and www.conf"
|
||||
insinto "${PHP_INI_DIR#${EPREFIX}}"
|
||||
doins sapi/fpm/php-fpm.conf
|
||||
insinto "${PHP_INI_DIR#${EPREFIX}}/fpm.d"
|
||||
doins sapi/fpm/www.conf
|
||||
fi
|
||||
|
||||
dodoc php.ini-{development,production}
|
||||
}
|
||||
|
||||
php_set_ini_dir() {
|
||||
PHP_INI_DIR="${EPREFIX}/etc/php/${1}-php${SLOT}"
|
||||
PHP_EXT_INI_DIR="${PHP_INI_DIR}/ext"
|
||||
PHP_EXT_INI_DIR_ACTIVE="${PHP_INI_DIR}/ext-active"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# In php-7.x, the FPM pool configuration files have been split off
|
||||
# of the main config. By default the pool config files go in
|
||||
# e.g. /etc/php-fpm.d, which isn't slotted. So here we move the
|
||||
# include directory to a subdirectory "fpm.d" of $PHP_INI_DIR. Later
|
||||
# we'll install the pool configuration file "www.conf" there.
|
||||
php_set_ini_dir fpm
|
||||
sed -i "s~^include=.*$~include=${PHP_INI_DIR}/fpm.d/*.conf~" \
|
||||
sapi/fpm/php-fpm.conf.in \
|
||||
|| die 'failed to move the include directory in php-fpm.conf'
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
addpredict /usr/share/snmp/mibs/.index
|
||||
addpredict /var/lib/net-snmp/mib_indexes
|
||||
|
||||
PHP_DESTDIR="${EPREFIX}/usr/$(get_libdir)/php${SLOT}"
|
||||
|
||||
# The php-fpm config file wants localstatedir to be ${EPREFIX}/var
|
||||
# and not the Gentoo default ${EPREFIX}/var/lib. See bug 572002.
|
||||
local our_conf=(
|
||||
--prefix="${PHP_DESTDIR}"
|
||||
--mandir="${PHP_DESTDIR}/man"
|
||||
--infodir="${PHP_DESTDIR}/info"
|
||||
--libdir="${PHP_DESTDIR}/lib"
|
||||
--with-libdir="$(get_libdir)"
|
||||
--localstatedir="${EPREFIX}/var"
|
||||
--without-pear
|
||||
$(use_enable threads maintainer-zts)
|
||||
)
|
||||
|
||||
our_conf+=(
|
||||
$(use_with acl fpm-acl)
|
||||
$(use_enable bcmath bcmath)
|
||||
$(use_with bzip2 bz2 "${EPREFIX}/usr")
|
||||
$(use_enable calendar calendar)
|
||||
$(use_enable coverage gcov)
|
||||
$(use_enable ctype ctype)
|
||||
$(use_with curl curl "${EPREFIX}/usr")
|
||||
$(use_enable xml dom)
|
||||
$(use_with enchant enchant "${EPREFIX}/usr")
|
||||
$(use_enable exif exif)
|
||||
$(use_enable fileinfo fileinfo)
|
||||
$(use_enable filter filter)
|
||||
$(use_enable ftp ftp)
|
||||
$(use_with nls gettext "${EPREFIX}/usr")
|
||||
$(use_with gmp gmp "${EPREFIX}/usr")
|
||||
$(use_enable hash hash)
|
||||
$(use_with mhash mhash "${EPREFIX}/usr")
|
||||
$(use_with iconv iconv \
|
||||
$(use elibc_glibc || use elibc_musl || echo "${EPREFIX}/usr"))
|
||||
$(use_enable intl intl)
|
||||
$(use_enable ipv6 ipv6)
|
||||
$(use_enable json json)
|
||||
$(use_with kerberos kerberos "${EPREFIX}/usr")
|
||||
$(use_enable xml libxml)
|
||||
$(use_with xml libxml-dir "${EPREFIX}/usr")
|
||||
$(use_enable unicode mbstring)
|
||||
$(use_with crypt mcrypt "${EPREFIX}/usr")
|
||||
$(use_with unicode onig "${EPREFIX}/usr")
|
||||
$(use_with ssl openssl "${EPREFIX}/usr")
|
||||
$(use_with ssl openssl-dir "${EPREFIX}/usr")
|
||||
$(use_enable pcntl pcntl)
|
||||
$(use_enable phar phar)
|
||||
$(use_enable pdo pdo)
|
||||
$(use_enable opcache opcache)
|
||||
$(use_with postgres pgsql "${EPREFIX}/usr")
|
||||
$(use_enable posix posix)
|
||||
$(use_with spell pspell "${EPREFIX}/usr")
|
||||
$(use_with recode recode "${EPREFIX}/usr")
|
||||
$(use_enable simplexml simplexml)
|
||||
$(use_enable sharedmem shmop)
|
||||
$(use_with snmp snmp "${EPREFIX}/usr")
|
||||
$(use_enable soap soap)
|
||||
$(use_enable sockets sockets)
|
||||
$(use_with sqlite sqlite3 "${EPREFIX}/usr")
|
||||
$(use_enable sysvipc sysvmsg)
|
||||
$(use_enable sysvipc sysvsem)
|
||||
$(use_enable sysvipc sysvshm)
|
||||
$(use_with systemd fpm-systemd)
|
||||
$(use_with tidy tidy "${EPREFIX}/usr")
|
||||
$(use_enable tokenizer tokenizer)
|
||||
$(use_enable wddx wddx)
|
||||
$(use_enable xml xml)
|
||||
$(use_enable xmlreader xmlreader)
|
||||
$(use_enable xmlwriter xmlwriter)
|
||||
$(use_with xmlrpc xmlrpc)
|
||||
$(use_with xslt xsl "${EPREFIX}/usr")
|
||||
$(use_enable zip zip)
|
||||
$(use_with zlib zlib "${EPREFIX}/usr")
|
||||
$(use_enable debug debug)
|
||||
)
|
||||
|
||||
# DBA support
|
||||
if use cdb || use berkdb || use flatfile || use gdbm || use inifile \
|
||||
|| use qdbm ; then
|
||||
our_conf+=( "--enable-dba${shared}" )
|
||||
fi
|
||||
|
||||
# DBA drivers support
|
||||
our_conf+=(
|
||||
$(use_with cdb cdb)
|
||||
$(use_with berkdb db4 "${EPREFIX}/usr")
|
||||
$(use_enable flatfile flatfile)
|
||||
$(use_with gdbm gdbm "${EPREFIX}/usr")
|
||||
$(use_enable inifile inifile)
|
||||
$(use_with qdbm qdbm "${EPREFIX}/usr")
|
||||
)
|
||||
|
||||
# Support for the GD graphics library
|
||||
our_conf+=(
|
||||
$(use_with truetype freetype-dir "${EPREFIX}/usr")
|
||||
$(use_enable cjk gd-jis-conv)
|
||||
$(use_with gd jpeg-dir "${EPREFIX}/usr")
|
||||
$(use_with gd png-dir "${EPREFIX}/usr")
|
||||
$(use_with xpm xpm-dir "${EPREFIX}/usr")
|
||||
)
|
||||
if use webp; then
|
||||
our_conf+=( --with-webp-dir="${EPREFIX}/usr" )
|
||||
fi
|
||||
# enable gd last, so configure can pick up the previous settings
|
||||
our_conf+=( $(use_with gd gd) )
|
||||
|
||||
# IMAP support
|
||||
if use imap ; then
|
||||
our_conf+=(
|
||||
$(use_with imap imap "${EPREFIX}/usr")
|
||||
$(use_with ssl imap-ssl "${EPREFIX}/usr")
|
||||
)
|
||||
fi
|
||||
|
||||
# Interbase/firebird support
|
||||
our_conf+=( $(use_with firebird interbase "${EPREFIX}/usr") )
|
||||
|
||||
# LDAP support
|
||||
if use ldap ; then
|
||||
our_conf+=(
|
||||
$(use_with ldap ldap "${EPREFIX}/usr")
|
||||
$(use_with ldap-sasl ldap-sasl "${EPREFIX}/usr")
|
||||
)
|
||||
fi
|
||||
|
||||
# MySQL support
|
||||
local mysqllib="mysqlnd"
|
||||
local mysqlilib="mysqlnd"
|
||||
|
||||
our_conf+=( $(use_with mysqli mysqli "${mysqlilib}") )
|
||||
|
||||
local mysqlsock="${EPREFIX}/var/run/mysqld/mysqld.sock"
|
||||
if use mysql || use mysqli ; then
|
||||
our_conf+=( $(use_with mysql mysql-sock "${mysqlsock}") )
|
||||
fi
|
||||
|
||||
# ODBC support
|
||||
our_conf+=(
|
||||
$(use_with odbc unixODBC "${EPREFIX}/usr")
|
||||
$(use_with iodbc iodbc "${EPREFIX}/usr")
|
||||
)
|
||||
|
||||
# Oracle support
|
||||
our_conf+=( $(use_with oci8-instant-client oci8) )
|
||||
|
||||
# PDO support
|
||||
if use pdo ; then
|
||||
our_conf+=(
|
||||
$(use_with mssql pdo-dblib "${EPREFIX}/usr")
|
||||
$(use_with mysql pdo-mysql "${mysqllib}")
|
||||
$(use_with postgres pdo-pgsql)
|
||||
$(use_with sqlite pdo-sqlite "${EPREFIX}/usr")
|
||||
$(use_with firebird pdo-firebird "${EPREFIX}/usr")
|
||||
$(use_with odbc pdo-odbc "unixODBC,${EPREFIX}/usr")
|
||||
$(use_with oci8-instant-client pdo-oci)
|
||||
)
|
||||
fi
|
||||
|
||||
# readline/libedit support
|
||||
our_conf+=(
|
||||
$(use_with readline readline "${EPREFIX}/usr")
|
||||
$(use_with libedit libedit "${EPREFIX}/usr")
|
||||
)
|
||||
|
||||
# Session support
|
||||
if use session ; then
|
||||
our_conf+=( $(use_with sharedmem mm "${EPREFIX}/usr") )
|
||||
else
|
||||
our_conf+=( $(use_enable session session) )
|
||||
fi
|
||||
|
||||
# Use pic for shared modules such as apache2's mod_php
|
||||
our_conf+=( --with-pic )
|
||||
|
||||
# we use the system copy of pcre
|
||||
# --with-pcre-regex affects ext/pcre
|
||||
# --with-pcre-dir affects ext/filter and ext/zip
|
||||
our_conf+=(
|
||||
--with-pcre-regex="${EPREFIX}/usr"
|
||||
--with-pcre-dir="${EPREFIX}/usr"
|
||||
)
|
||||
|
||||
# Catch CFLAGS problems
|
||||
# Fixes bug #14067.
|
||||
# Changed order to run it in reverse for bug #32022 and #12021.
|
||||
replace-cpu-flags "k6*" "i586"
|
||||
|
||||
# Cache the ./configure test results between SAPIs.
|
||||
our_conf+=( --cache-file="${T}/config.cache" )
|
||||
|
||||
# Support user-passed configuration parameters
|
||||
our_conf+=( ${EXTRA_ECONF:-} )
|
||||
|
||||
# Support the Apache2 extras, they must be set globally for all
|
||||
# SAPIs to work correctly, especially for external PHP extensions
|
||||
|
||||
mkdir -p "${WORKDIR}/sapis-build" || die
|
||||
for one_sapi in $SAPIS ; do
|
||||
use "${one_sapi}" || continue
|
||||
php_set_ini_dir "${one_sapi}"
|
||||
|
||||
# The BUILD_DIR variable is used to determine where to output
|
||||
# the files that autotools creates. This was all originally
|
||||
# based on the autotools-utils eclass.
|
||||
BUILD_DIR="${WORKDIR}/sapis-build/${one_sapi}"
|
||||
cp -a "${S}" "${BUILD_DIR}" || die
|
||||
cd "${BUILD_DIR}" || die
|
||||
|
||||
local sapi_conf=(
|
||||
--with-config-file-path="${PHP_INI_DIR}"
|
||||
--with-config-file-scan-dir="${PHP_EXT_INI_DIR_ACTIVE}"
|
||||
)
|
||||
|
||||
for sapi in $SAPIS ; do
|
||||
case "$sapi" in
|
||||
cli|cgi|embed|fpm|phpdbg)
|
||||
if [[ "${one_sapi}" == "${sapi}" ]] ; then
|
||||
sapi_conf+=( "--enable-${sapi}" )
|
||||
else
|
||||
sapi_conf+=( "--disable-${sapi}" )
|
||||
fi
|
||||
;;
|
||||
|
||||
apache2)
|
||||
if [[ "${one_sapi}" == "${sapi}" ]] ; then
|
||||
sapi_conf+=( --with-apxs2="${EPREFIX}/usr/bin/apxs" )
|
||||
else
|
||||
sapi_conf+=( --without-apxs2 )
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
||||
# Construct the $myeconfargs array by concatenating $our_conf
|
||||
# (the common args) and $sapi_conf (the SAPI-specific args).
|
||||
local myeconfargs=( "${our_conf[@]}" )
|
||||
myeconfargs+=( "${sapi_conf[@]}" )
|
||||
|
||||
pushd "${BUILD_DIR}" > /dev/null || die
|
||||
econf "${myeconfargs[@]}"
|
||||
popd > /dev/null || die
|
||||
done
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# snmp seems to run during src_compile, too (bug #324739)
|
||||
addpredict /usr/share/snmp/mibs/.index
|
||||
addpredict /var/lib/net-snmp/mib_indexes
|
||||
|
||||
for sapi in ${SAPIS} ; do
|
||||
if use "${sapi}"; then
|
||||
cd "${WORKDIR}/sapis-build/$sapi" || \
|
||||
die "Failed to change dir to ${WORKDIR}/sapis-build/$1"
|
||||
emake
|
||||
fi
|
||||
done
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# see bug #324739 for what happens when we don't have that
|
||||
addpredict /usr/share/snmp/mibs/.index
|
||||
|
||||
# grab the first SAPI that got built and install common files from there
|
||||
local first_sapi=""
|
||||
for sapi in $SAPIS ; do
|
||||
if use $sapi ; then
|
||||
first_sapi=$sapi
|
||||
break
|
||||
fi
|
||||
done
|
||||
|
||||
# Makefile forgets to create this before trying to write to it...
|
||||
dodir "${PHP_DESTDIR#${EPREFIX}}/bin"
|
||||
|
||||
# Install php environment (without any sapis)
|
||||
cd "${WORKDIR}/sapis-build/$first_sapi" || die
|
||||
emake INSTALL_ROOT="${D}" \
|
||||
install-build install-headers install-programs
|
||||
|
||||
local extension_dir="$("${ED}/${PHP_DESTDIR#${EPREFIX}}/bin/php-config" --extension-dir)"
|
||||
|
||||
# Create the directory where we'll put version-specific php scripts
|
||||
keepdir "/usr/share/php${PHP_MV}"
|
||||
|
||||
local sapi="", file=""
|
||||
local sapi_list=""
|
||||
|
||||
for sapi in ${SAPIS}; do
|
||||
if use "${sapi}" ; then
|
||||
einfo "Installing SAPI: ${sapi}"
|
||||
cd "${WORKDIR}/sapis-build/${sapi}" || die
|
||||
|
||||
if [[ "${sapi}" == "apache2" ]] ; then
|
||||
# We're specifically not using emake install-sapi as libtool
|
||||
# may cause unnecessary relink failures (see bug #351266)
|
||||
insinto "${PHP_DESTDIR#${EPREFIX}}/apache2/"
|
||||
newins ".libs/libphp${PHP_MV}$(get_libname)" \
|
||||
"libphp${PHP_MV}$(get_libname)"
|
||||
keepdir "/usr/$(get_libdir)/apache2/modules"
|
||||
else
|
||||
# needed each time, php_install_ini would reset it
|
||||
local dest="${PHP_DESTDIR#${EPREFIX}}"
|
||||
into "${dest}"
|
||||
case "$sapi" in
|
||||
cli)
|
||||
source="sapi/cli/php"
|
||||
;;
|
||||
cgi)
|
||||
source="sapi/cgi/php-cgi"
|
||||
;;
|
||||
fpm)
|
||||
source="sapi/fpm/php-fpm"
|
||||
;;
|
||||
embed)
|
||||
source="libs/libphp${PHP_MV}$(get_libname)"
|
||||
;;
|
||||
phpdbg)
|
||||
source="sapi/phpdbg/phpdbg"
|
||||
;;
|
||||
*)
|
||||
die "unhandled sapi in src_install"
|
||||
;;
|
||||
esac
|
||||
|
||||
if [[ "${source}" == *"$(get_libname)" ]]; then
|
||||
dolib.so "${source}"
|
||||
else
|
||||
dobin "${source}"
|
||||
local name="$(basename ${source})"
|
||||
dosym "${dest}/bin/${name}" "/usr/bin/${name}${SLOT}"
|
||||
fi
|
||||
fi
|
||||
|
||||
php_install_ini "${sapi}"
|
||||
|
||||
# construct correct SAPI string for php-config
|
||||
# thanks to ferringb for the bash voodoo
|
||||
if [[ "${sapi}" == "apache2" ]]; then
|
||||
sapi_list="${sapi_list:+${sapi_list} }apache2handler"
|
||||
else
|
||||
sapi_list="${sapi_list:+${sapi_list} }${sapi}"
|
||||
fi
|
||||
fi
|
||||
done
|
||||
|
||||
# Installing opcache module
|
||||
if use opcache ; then
|
||||
into "${PHP_DESTDIR#${EPREFIX}}"
|
||||
dolib.so "modules/opcache$(get_libname)"
|
||||
fi
|
||||
|
||||
# Install env.d files
|
||||
newenvd "${FILESDIR}/20php5-envd" "20php${SLOT}"
|
||||
sed -e "s|/lib/|/$(get_libdir)/|g" -i "${ED}/etc/env.d/20php${SLOT}" || die
|
||||
sed -e "s|php5|php${SLOT}|g" -i "${ED}/etc/env.d/20php${SLOT}" || die
|
||||
|
||||
# set php-config variable correctly (bug #278439)
|
||||
sed -e "s:^\(php_sapis=\)\".*\"$:\1\"${sapi_list}\":" -i \
|
||||
"${ED}/usr/$(get_libdir)/php${SLOT}/bin/php-config" || die
|
||||
|
||||
if use fpm ; then
|
||||
if use systemd; then
|
||||
systemd_newunit "${FILESDIR}/php-fpm_at.service" \
|
||||
"php-fpm@${SLOT}.service"
|
||||
else
|
||||
systemd_newunit "${FILESDIR}/php-fpm_at-simple.service" \
|
||||
"php-fpm@${SLOT}.service"
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
echo ">>> Test phase [test]: ${CATEGORY}/${PF}"
|
||||
PHP_BIN="${WORKDIR}/sapis-build/cli/sapi/cli/php"
|
||||
if [[ ! -x "${PHP_BIN}" ]] ; then
|
||||
ewarn "Test phase requires USE=cli, skipping"
|
||||
return
|
||||
else
|
||||
export TEST_PHP_EXECUTABLE="${PHP_BIN}"
|
||||
fi
|
||||
|
||||
if [[ -x "${WORKDIR}/sapis-build/cgi/sapi/cgi/php-cgi" ]] ; then
|
||||
export TEST_PHP_CGI_EXECUTABLE="${WORKDIR}/sapis-build/cgi/sapi/cgi/php-cgi"
|
||||
fi
|
||||
|
||||
if [[ -x "${WORKDIR}/sapis-build/phpdbg/sapi/phpdbg/phpdbg" ]] ; then
|
||||
export TEST_PHPDBG_EXECUTABLE="${WORKDIR}/sapis-build/phpdbg/sapi/phpdbg/phpdbg"
|
||||
fi
|
||||
|
||||
REPORT_EXIT_STATUS=1 "${TEST_PHP_EXECUTABLE}" -n -d \
|
||||
"session.save_path=${T}" \
|
||||
"${WORKDIR}/sapis-build/cli/run-tests.php" -n -q -d \
|
||||
"session.save_path=${T}"
|
||||
|
||||
for name in ${EXPECTED_TEST_FAILURES}; do
|
||||
mv "${name}.out" "${name}.out.orig" 2>/dev/null || die
|
||||
done
|
||||
|
||||
local failed="$(find -name '*.out')"
|
||||
if [[ ${failed} != "" ]] ; then
|
||||
ewarn "The following test cases failed unexpectedly:"
|
||||
for name in ${failed}; do
|
||||
ewarn " ${name/.out/}"
|
||||
done
|
||||
else
|
||||
einfo "No unexpected test failures, all fine"
|
||||
fi
|
||||
|
||||
if [[ ${PHP_SHOW_UNEXPECTED_TEST_PASS} == "1" ]] ; then
|
||||
local passed=""
|
||||
for name in ${EXPECTED_TEST_FAILURES}; do
|
||||
[[ -f "${name}.diff" ]] && continue
|
||||
passed="${passed} ${name}"
|
||||
done
|
||||
if [[ ${passed} != "" ]] ; then
|
||||
einfo "The following test cases passed unexpectedly:"
|
||||
for name in ${passed}; do
|
||||
ewarn " ${passed}"
|
||||
done
|
||||
else
|
||||
einfo "None of the known-to-fail tests passed, all fine"
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
# Output some general info to the user
|
||||
if use apache2 ; then
|
||||
elog
|
||||
elog "To enable PHP in apache, you will need to add \"-D PHP\" to"
|
||||
elog "your apache2 command. OpenRC users can append that string to"
|
||||
elog "APACHE2_OPTS in /etc/conf.d/apache2."
|
||||
elog
|
||||
elog "The apache module configuration file 70_mod_php.conf is"
|
||||
elog "provided (and maintained) by eselect-php."
|
||||
elog
|
||||
fi
|
||||
|
||||
# Create the symlinks for php
|
||||
for m in ${SAPIS}; do
|
||||
[[ ${m} == 'embed' ]] && continue;
|
||||
if use $m ; then
|
||||
local ci=$(eselect php show $m)
|
||||
if [[ -z $ci ]]; then
|
||||
eselect php set $m php${SLOT} || die
|
||||
einfo "Switched ${m} to use php:${SLOT}"
|
||||
einfo
|
||||
elif [[ $ci != "php${SLOT}" ]] ; then
|
||||
elog "To switch $m to use php:${SLOT}, run"
|
||||
elog " eselect php set $m php${SLOT}"
|
||||
elog
|
||||
fi
|
||||
fi
|
||||
done
|
||||
|
||||
# Remove dead symlinks for SAPIs that were just disabled. For
|
||||
# example, if the user has the cgi SAPI enabled, then he has an
|
||||
# eselect-php symlink for it. If he later reinstalls PHP with
|
||||
# USE="-cgi", that symlink will break. This call to eselect is
|
||||
# supposed to remove that dead link per bug 572436.
|
||||
eselect php cleanup || die
|
||||
|
||||
if ! has "php${SLOT/./-}" ${PHP_TARGETS}; then
|
||||
elog "To build extensions for this version of PHP, you will need to"
|
||||
elog "add php${SLOT/./-} to your PHP_TARGETS USE_EXPAND variable."
|
||||
elog
|
||||
fi
|
||||
|
||||
# Warn about the removal of PHP_INI_VERSION if the user has it set.
|
||||
if [[ -n "${PHP_INI_VERSION}" ]]; then
|
||||
ewarn 'The PHP_INI_VERSION variable has been phased out. You may'
|
||||
ewarn 'remove it from your configuration at your convenience. See'
|
||||
ewarn
|
||||
ewarn ' https://bugs.gentoo.org/611214'
|
||||
ewarn
|
||||
ewarn 'for more information.'
|
||||
fi
|
||||
|
||||
elog "For details on how version slotting works, please see"
|
||||
elog "the wiki:"
|
||||
elog
|
||||
elog " https://wiki.gentoo.org/wiki/PHP"
|
||||
elog
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
# This serves two purposes. First, if we have just removed the last
|
||||
# installed version of PHP, then this will remove any dead symlinks
|
||||
# belonging to eselect-php. Second, if a user upgrades slots from
|
||||
# (say) 5.6 to 7.0 and depcleans the old slot, then this will update
|
||||
# his existing symlinks to point to the new 7.0 installation. The
|
||||
# latter is bug 432962.
|
||||
#
|
||||
# Note: the eselect-php package may not be installed at this point,
|
||||
# so we can't die() if this command fails.
|
||||
eselect php cleanup
|
||||
}
|
@ -0,0 +1,734 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit flag-o-matic versionator systemd
|
||||
|
||||
DESCRIPTION="The PHP language runtime engine"
|
||||
HOMEPAGE="http://php.net/"
|
||||
SRC_URI="https://downloads.php.net/~remi/php-7.2.0RC3.tar.xz"
|
||||
|
||||
LICENSE="PHP-3.01
|
||||
BSD
|
||||
Zend-2.0
|
||||
bcmath? ( LGPL-2.1+ )
|
||||
fpm? ( BSD-2 )
|
||||
gd? ( gd )
|
||||
unicode? ( BSD-2 LGPL-2.1 )"
|
||||
|
||||
SLOT="$(get_version_component_range 1-2)"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
|
||||
|
||||
S="${WORKDIR}/php-7.2.0RC3"
|
||||
# We can build the following SAPIs in the given order
|
||||
SAPIS="embed cli cgi fpm apache2 phpdbg"
|
||||
|
||||
# SAPIs and SAPI-specific USE flags (cli SAPI is default on):
|
||||
IUSE="${IUSE}
|
||||
${SAPIS/cli/+cli}
|
||||
threads"
|
||||
|
||||
IUSE="${IUSE} acl argon2 bcmath berkdb bzip2 calendar cdb cjk
|
||||
coverage +ctype curl debug
|
||||
enchant exif +fileinfo +filter firebird
|
||||
flatfile ftp gd gdbm gmp +hash +iconv imap inifile
|
||||
intl iodbc ipv6 +json kerberos ldap ldap-sasl libedit libressl lmdb
|
||||
mhash mssql mysql mysqli nls
|
||||
oci8-instant-client odbc +opcache pcntl pdo +phar +posix postgres qdbm
|
||||
readline recode selinux +session sharedmem
|
||||
+simplexml snmp soap sockets sodium spell sqlite ssl
|
||||
sysvipc systemd test tidy +tokenizer tokyocabinet truetype unicode wddx webp
|
||||
+xml xmlreader xmlwriter xmlrpc xpm xslt zip zip-encryption zlib"
|
||||
|
||||
# The supported (that is, autodetected) versions of BDB are listed in
|
||||
# the ./configure script. Other versions *work*, but we need to stick to
|
||||
# the ones that can be detected to avoid a repeat of bug #564824.
|
||||
COMMON_DEPEND="
|
||||
>=app-eselect/eselect-php-0.9.1[apache2?,fpm?]
|
||||
>=dev-libs/libpcre-8.32[unicode]
|
||||
acl? ( sys-apps/acl )
|
||||
apache2? ( || ( >=www-servers/apache-2.4[apache2_modules_unixd,threads=]
|
||||
<www-servers/apache-2.4[threads=] ) )
|
||||
argon2? ( app-crypt/argon2 )
|
||||
berkdb? ( || ( sys-libs/db:5.3
|
||||
sys-libs/db:5.1
|
||||
sys-libs/db:4.8
|
||||
sys-libs/db:4.7
|
||||
sys-libs/db:4.6
|
||||
sys-libs/db:4.5 ) )
|
||||
bzip2? ( app-arch/bzip2 )
|
||||
cdb? ( || ( dev-db/cdb dev-db/tinycdb ) )
|
||||
coverage? ( dev-util/lcov )
|
||||
curl? ( >=net-misc/curl-7.10.5 )
|
||||
enchant? ( app-text/enchant )
|
||||
firebird? ( dev-db/firebird )
|
||||
gd? ( virtual/jpeg:0 media-libs/libpng:0= sys-libs/zlib )
|
||||
gdbm? ( >=sys-libs/gdbm-1.8.0 )
|
||||
gmp? ( dev-libs/gmp:0 )
|
||||
iconv? ( virtual/libiconv )
|
||||
imap? ( virtual/imap-c-client[kerberos=,ssl=] )
|
||||
intl? ( dev-libs/icu:= )
|
||||
iodbc? ( dev-db/libiodbc )
|
||||
kerberos? ( virtual/krb5 )
|
||||
ldap? ( >=net-nds/openldap-1.2.11 )
|
||||
ldap-sasl? ( dev-libs/cyrus-sasl >=net-nds/openldap-1.2.11 )
|
||||
libedit? ( || ( sys-freebsd/freebsd-lib dev-libs/libedit ) )
|
||||
lmdb? ( dev-db/lmdb:= )
|
||||
mssql? ( dev-db/freetds[mssql] )
|
||||
nls? ( sys-devel/gettext )
|
||||
oci8-instant-client? ( dev-db/oracle-instantclient-basic )
|
||||
odbc? ( >=dev-db/unixODBC-1.8.13 )
|
||||
postgres? ( dev-db/postgresql:* )
|
||||
qdbm? ( dev-db/qdbm )
|
||||
readline? ( sys-libs/readline:0= )
|
||||
recode? ( app-text/recode )
|
||||
sharedmem? ( dev-libs/mm )
|
||||
simplexml? ( >=dev-libs/libxml2-2.6.8 )
|
||||
snmp? ( >=net-analyzer/net-snmp-5.2 )
|
||||
soap? ( >=dev-libs/libxml2-2.6.8 )
|
||||
sodium? ( dev-libs/libsodium:= )
|
||||
spell? ( >=app-text/aspell-0.50 )
|
||||
sqlite? ( >=dev-db/sqlite-3.7.6.3 )
|
||||
ssl? (
|
||||
!libressl? ( dev-libs/openssl:0 )
|
||||
libressl? ( dev-libs/libressl )
|
||||
)
|
||||
tidy? ( || ( app-text/tidy-html5 app-text/htmltidy ) )
|
||||
tokyocabinet? ( dev-db/tokyocabinet )
|
||||
truetype? ( =media-libs/freetype-2* )
|
||||
unicode? ( dev-libs/oniguruma:= )
|
||||
wddx? ( >=dev-libs/libxml2-2.6.8 )
|
||||
webp? ( media-libs/libwebp )
|
||||
xml? ( >=dev-libs/libxml2-2.6.8 )
|
||||
xmlrpc? ( >=dev-libs/libxml2-2.6.8 virtual/libiconv )
|
||||
xmlreader? ( >=dev-libs/libxml2-2.6.8 )
|
||||
xmlwriter? ( >=dev-libs/libxml2-2.6.8 )
|
||||
xpm? ( x11-libs/libXpm )
|
||||
xslt? ( dev-libs/libxslt >=dev-libs/libxml2-2.6.8 )
|
||||
zip? ( sys-libs/zlib )
|
||||
zip-encryption? ( >=dev-libs/libzip-1.2.0:= )
|
||||
zlib? ( sys-libs/zlib )
|
||||
"
|
||||
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
virtual/mta
|
||||
fpm? (
|
||||
selinux? ( sec-policy/selinux-phpfpm )
|
||||
systemd? ( sys-apps/systemd ) )"
|
||||
|
||||
# Bison isn't actually needed when building from a release tarball
|
||||
# However, the configure script will warn if it's absent or if you
|
||||
# have an incompatible version installed. See bug 593278.
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
app-arch/xz-utils
|
||||
>=sys-devel/bison-3.0.1"
|
||||
|
||||
# Without USE=readline or libedit, the interactive "php -a" CLI will hang.
|
||||
REQUIRED_USE="
|
||||
|| ( cli cgi fpm apache2 embed phpdbg )
|
||||
cli? ( ^^ ( readline libedit ) )
|
||||
truetype? ( gd )
|
||||
webp? ( gd )
|
||||
cjk? ( gd )
|
||||
exif? ( gd )
|
||||
xpm? ( gd )
|
||||
gd? ( zlib )
|
||||
simplexml? ( xml )
|
||||
soap? ( xml )
|
||||
wddx? ( xml )
|
||||
xmlrpc? ( || ( xml iconv ) )
|
||||
xmlreader? ( xml )
|
||||
xslt? ( xml )
|
||||
ldap-sasl? ( ldap )
|
||||
mhash? ( hash )
|
||||
phar? ( hash )
|
||||
qdbm? ( !gdbm )
|
||||
readline? ( !libedit )
|
||||
recode? ( !imap !mysqli !mysql )
|
||||
sharedmem? ( !threads )
|
||||
mysql? ( || ( mysqli pdo ) )
|
||||
zip-encryption? ( zip )
|
||||
"
|
||||
|
||||
PHP_MV="$(get_major_version)"
|
||||
|
||||
php_install_ini() {
|
||||
local phpsapi="${1}"
|
||||
|
||||
# work out where we are installing the ini file
|
||||
php_set_ini_dir "${phpsapi}"
|
||||
|
||||
# Always install the production INI file, bug 611214.
|
||||
local phpinisrc="php.ini-production-${phpsapi}"
|
||||
cp php.ini-production "${phpinisrc}" || die
|
||||
|
||||
# default to /tmp for save_path, bug #282768
|
||||
sed -e 's|^;session.save_path .*$|session.save_path = "'"${EPREFIX}"'/tmp"|g' -i "${phpinisrc}" || die
|
||||
|
||||
# Set the extension dir
|
||||
sed -e "s|^extension_dir .*$|extension_dir = ${extension_dir}|g" \
|
||||
-i "${phpinisrc}" || die
|
||||
|
||||
# Set the include path to point to where we want to find PEAR packages
|
||||
sed -e 's|^;include_path = ".:/php/includes".*|include_path = ".:'"${EPREFIX}"'/usr/share/php'${PHP_MV}':'"${EPREFIX}"'/usr/share/php"|' -i "${phpinisrc}" || die
|
||||
|
||||
dodir "${PHP_INI_DIR#${EPREFIX}}"
|
||||
insinto "${PHP_INI_DIR#${EPREFIX}}"
|
||||
newins "${phpinisrc}" php.ini
|
||||
|
||||
elog "Installing php.ini for ${phpsapi} into ${PHP_INI_DIR#${EPREFIX}}"
|
||||
elog
|
||||
|
||||
dodir "${PHP_EXT_INI_DIR#${EPREFIX}}"
|
||||
dodir "${PHP_EXT_INI_DIR_ACTIVE#${EPREFIX}}"
|
||||
|
||||
if use opcache; then
|
||||
elog "Adding opcache to $PHP_EXT_INI_DIR"
|
||||
echo "zend_extension=${PHP_DESTDIR}/$(get_libdir)/opcache.so" >> \
|
||||
"${D}/${PHP_EXT_INI_DIR}"/opcache.ini
|
||||
dosym "${PHP_EXT_INI_DIR#${EPREFIX}}/opcache.ini" \
|
||||
"${PHP_EXT_INI_DIR_ACTIVE#${EPREFIX}}/opcache.ini"
|
||||
fi
|
||||
|
||||
# SAPI-specific handling
|
||||
if [[ "${sapi}" == "fpm" ]] ; then
|
||||
einfo "Installing FPM config files php-fpm.conf and www.conf"
|
||||
insinto "${PHP_INI_DIR#${EPREFIX}}"
|
||||
doins sapi/fpm/php-fpm.conf
|
||||
insinto "${PHP_INI_DIR#${EPREFIX}}/fpm.d"
|
||||
doins sapi/fpm/www.conf
|
||||
fi
|
||||
|
||||
dodoc php.ini-{development,production}
|
||||
}
|
||||
|
||||
php_set_ini_dir() {
|
||||
PHP_INI_DIR="${EPREFIX}/etc/php/${1}-php${SLOT}"
|
||||
PHP_EXT_INI_DIR="${PHP_INI_DIR}/ext"
|
||||
PHP_EXT_INI_DIR_ACTIVE="${PHP_INI_DIR}/ext-active"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# In php-7.x, the FPM pool configuration files have been split off
|
||||
# of the main config. By default the pool config files go in
|
||||
# e.g. /etc/php-fpm.d, which isn't slotted. So here we move the
|
||||
# include directory to a subdirectory "fpm.d" of $PHP_INI_DIR. Later
|
||||
# we'll install the pool configuration file "www.conf" there.
|
||||
php_set_ini_dir fpm
|
||||
sed -i "s~^include=.*$~include=${PHP_INI_DIR}/fpm.d/*.conf~" \
|
||||
sapi/fpm/php-fpm.conf.in \
|
||||
|| die 'failed to move the include directory in php-fpm.conf'
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
addpredict /usr/share/snmp/mibs/.index
|
||||
addpredict /var/lib/net-snmp/mib_indexes
|
||||
|
||||
PHP_DESTDIR="${EPREFIX}/usr/$(get_libdir)/php${SLOT}"
|
||||
|
||||
# The php-fpm config file wants localstatedir to be ${EPREFIX}/var
|
||||
# and not the Gentoo default ${EPREFIX}/var/lib. See bug 572002.
|
||||
local our_conf=(
|
||||
--prefix="${PHP_DESTDIR}"
|
||||
--mandir="${PHP_DESTDIR}/man"
|
||||
--infodir="${PHP_DESTDIR}/info"
|
||||
--libdir="${PHP_DESTDIR}/lib"
|
||||
--with-libdir="$(get_libdir)"
|
||||
--localstatedir="${EPREFIX}/var"
|
||||
--without-pear
|
||||
$(use_enable threads maintainer-zts)
|
||||
)
|
||||
|
||||
our_conf+=(
|
||||
$(use_with acl fpm-acl)
|
||||
$(use_with argon2 password-argon2 "${EPREFIX}/usr")
|
||||
$(use_enable bcmath bcmath)
|
||||
$(use_with bzip2 bz2 "${EPREFIX}/usr")
|
||||
$(use_enable calendar calendar)
|
||||
$(use_enable coverage gcov)
|
||||
$(use_enable ctype ctype)
|
||||
$(use_with curl curl "${EPREFIX}/usr")
|
||||
$(use_enable xml dom)
|
||||
$(use_with enchant enchant "${EPREFIX}/usr")
|
||||
$(use_enable exif exif)
|
||||
$(use_enable fileinfo fileinfo)
|
||||
$(use_enable filter filter)
|
||||
$(use_enable ftp ftp)
|
||||
$(use_with nls gettext "${EPREFIX}/usr")
|
||||
$(use_with gmp gmp "${EPREFIX}/usr")
|
||||
$(use_enable hash hash)
|
||||
$(use_with mhash mhash "${EPREFIX}/usr")
|
||||
$(use_with iconv iconv \
|
||||
$(use elibc_glibc || use elibc_musl || echo "${EPREFIX}/usr"))
|
||||
$(use_enable intl intl)
|
||||
$(use_enable ipv6 ipv6)
|
||||
$(use_enable json json)
|
||||
$(use_with kerberos kerberos "${EPREFIX}/usr")
|
||||
$(use_enable xml libxml)
|
||||
$(use_with xml libxml-dir "${EPREFIX}/usr")
|
||||
$(use_enable unicode mbstring)
|
||||
$(use_with unicode onig "${EPREFIX}/usr")
|
||||
$(use_with ssl openssl "${EPREFIX}/usr")
|
||||
$(use_with ssl openssl-dir "${EPREFIX}/usr")
|
||||
$(use_enable pcntl pcntl)
|
||||
$(use_enable phar phar)
|
||||
$(use_enable pdo pdo)
|
||||
$(use_enable opcache opcache)
|
||||
$(use_with postgres pgsql "${EPREFIX}/usr")
|
||||
$(use_enable posix posix)
|
||||
$(use_with spell pspell "${EPREFIX}/usr")
|
||||
$(use_with recode recode "${EPREFIX}/usr")
|
||||
$(use_enable simplexml simplexml)
|
||||
$(use_enable sharedmem shmop)
|
||||
$(use_with snmp snmp "${EPREFIX}/usr")
|
||||
$(use_enable soap soap)
|
||||
$(use_enable sockets sockets)
|
||||
$(use_with sodium sodium "${EPREFIX}/usr")
|
||||
$(use_with sqlite sqlite3 "${EPREFIX}/usr")
|
||||
$(use_enable sysvipc sysvmsg)
|
||||
$(use_enable sysvipc sysvsem)
|
||||
$(use_enable sysvipc sysvshm)
|
||||
$(use_with systemd fpm-systemd)
|
||||
$(use_with tidy tidy "${EPREFIX}/usr")
|
||||
$(use_enable tokenizer tokenizer)
|
||||
$(use_enable wddx wddx)
|
||||
$(use_enable xml xml)
|
||||
$(use_enable xmlreader xmlreader)
|
||||
$(use_enable xmlwriter xmlwriter)
|
||||
$(use_with xmlrpc xmlrpc)
|
||||
$(use_with xslt xsl "${EPREFIX}/usr")
|
||||
$(use_enable zip zip)
|
||||
$(use_with zip-encryption libzip "${EPREFIX}/usr")
|
||||
$(use_with zlib zlib "${EPREFIX}/usr")
|
||||
$(use_enable debug debug)
|
||||
)
|
||||
|
||||
# DBA support
|
||||
if use cdb || use berkdb || use flatfile || use gdbm || use inifile \
|
||||
|| use qdbm || use lmdb || use tokyocabinet ; then
|
||||
our_conf+=( "--enable-dba${shared}" )
|
||||
fi
|
||||
|
||||
# DBA drivers support
|
||||
our_conf+=(
|
||||
$(use_with cdb cdb)
|
||||
$(use_with berkdb db4 "${EPREFIX}/usr")
|
||||
$(use_enable flatfile flatfile)
|
||||
$(use_with gdbm gdbm "${EPREFIX}/usr")
|
||||
$(use_enable inifile inifile)
|
||||
$(use_with qdbm qdbm "${EPREFIX}/usr")
|
||||
$(use_with lmdb lmdb "${EPREFIX}/usr")
|
||||
)
|
||||
|
||||
# Support for the GD graphics library
|
||||
our_conf+=(
|
||||
$(use_with truetype freetype-dir "${EPREFIX}/usr")
|
||||
$(use_enable cjk gd-jis-conv)
|
||||
$(use_with gd jpeg-dir "${EPREFIX}/usr")
|
||||
$(use_with gd png-dir "${EPREFIX}/usr")
|
||||
$(use_with xpm xpm-dir "${EPREFIX}/usr")
|
||||
)
|
||||
if use webp; then
|
||||
our_conf+=( --with-webp-dir="${EPREFIX}/usr" )
|
||||
fi
|
||||
# enable gd last, so configure can pick up the previous settings
|
||||
our_conf+=( $(use_with gd gd) )
|
||||
|
||||
# IMAP support
|
||||
if use imap ; then
|
||||
our_conf+=(
|
||||
$(use_with imap imap "${EPREFIX}/usr")
|
||||
$(use_with ssl imap-ssl "${EPREFIX}/usr")
|
||||
)
|
||||
fi
|
||||
|
||||
# Interbase/firebird support
|
||||
our_conf+=( $(use_with firebird interbase "${EPREFIX}/usr") )
|
||||
|
||||
# LDAP support
|
||||
if use ldap ; then
|
||||
our_conf+=(
|
||||
$(use_with ldap ldap "${EPREFIX}/usr")
|
||||
$(use_with ldap-sasl ldap-sasl "${EPREFIX}/usr")
|
||||
)
|
||||
fi
|
||||
|
||||
# MySQL support
|
||||
local mysqllib="mysqlnd"
|
||||
local mysqlilib="mysqlnd"
|
||||
|
||||
our_conf+=( $(use_with mysqli mysqli "${mysqlilib}") )
|
||||
|
||||
local mysqlsock="${EPREFIX}/var/run/mysqld/mysqld.sock"
|
||||
if use mysql || use mysqli ; then
|
||||
our_conf+=( $(use_with mysql mysql-sock "${mysqlsock}") )
|
||||
fi
|
||||
|
||||
# ODBC support
|
||||
our_conf+=(
|
||||
$(use_with odbc unixODBC "${EPREFIX}/usr")
|
||||
$(use_with iodbc iodbc "${EPREFIX}/usr")
|
||||
)
|
||||
|
||||
# Oracle support
|
||||
our_conf+=( $(use_with oci8-instant-client oci8) )
|
||||
|
||||
# PDO support
|
||||
if use pdo ; then
|
||||
our_conf+=(
|
||||
$(use_with mssql pdo-dblib "${EPREFIX}/usr")
|
||||
$(use_with mysql pdo-mysql "${mysqllib}")
|
||||
$(use_with postgres pdo-pgsql)
|
||||
$(use_with sqlite pdo-sqlite "${EPREFIX}/usr")
|
||||
$(use_with firebird pdo-firebird "${EPREFIX}/usr")
|
||||
$(use_with odbc pdo-odbc "unixODBC,${EPREFIX}/usr")
|
||||
$(use_with oci8-instant-client pdo-oci)
|
||||
)
|
||||
fi
|
||||
|
||||
# readline/libedit support
|
||||
our_conf+=(
|
||||
$(use_with readline readline "${EPREFIX}/usr")
|
||||
$(use_with libedit libedit "${EPREFIX}/usr")
|
||||
)
|
||||
|
||||
# Session support
|
||||
if use session ; then
|
||||
our_conf+=( $(use_with sharedmem mm "${EPREFIX}/usr") )
|
||||
else
|
||||
our_conf+=( $(use_enable session session) )
|
||||
fi
|
||||
|
||||
# Use pic for shared modules such as apache2's mod_php
|
||||
our_conf+=( --with-pic )
|
||||
|
||||
# we use the system copy of pcre
|
||||
# --with-pcre-regex affects ext/pcre
|
||||
# --with-pcre-dir affects ext/filter and ext/zip
|
||||
# --with-pcre-valgrind cannot be enabled with system pcre
|
||||
# Many arches don't support pcre-jit
|
||||
our_conf+=(
|
||||
--with-pcre-regex="${EPREFIX}/usr"
|
||||
--with-pcre-dir="${EPREFIX}/usr"
|
||||
--without-pcre-valgrind
|
||||
--without-pcre-jit
|
||||
)
|
||||
|
||||
# Catch CFLAGS problems
|
||||
# Fixes bug #14067.
|
||||
# Changed order to run it in reverse for bug #32022 and #12021.
|
||||
replace-cpu-flags "k6*" "i586"
|
||||
|
||||
# Cache the ./configure test results between SAPIs.
|
||||
our_conf+=( --cache-file="${T}/config.cache" )
|
||||
|
||||
# Support user-passed configuration parameters
|
||||
our_conf+=( ${EXTRA_ECONF:-} )
|
||||
|
||||
# Support the Apache2 extras, they must be set globally for all
|
||||
# SAPIs to work correctly, especially for external PHP extensions
|
||||
|
||||
mkdir -p "${WORKDIR}/sapis-build" || die
|
||||
for one_sapi in $SAPIS ; do
|
||||
use "${one_sapi}" || continue
|
||||
php_set_ini_dir "${one_sapi}"
|
||||
|
||||
# The BUILD_DIR variable is used to determine where to output
|
||||
# the files that autotools creates. This was all originally
|
||||
# based on the autotools-utils eclass.
|
||||
BUILD_DIR="${WORKDIR}/sapis-build/${one_sapi}"
|
||||
cp -a "${S}" "${BUILD_DIR}" || die
|
||||
cd "${BUILD_DIR}" || die
|
||||
|
||||
local sapi_conf=(
|
||||
--with-config-file-path="${PHP_INI_DIR}"
|
||||
--with-config-file-scan-dir="${PHP_EXT_INI_DIR_ACTIVE}"
|
||||
)
|
||||
|
||||
for sapi in $SAPIS ; do
|
||||
case "$sapi" in
|
||||
cli|cgi|embed|fpm|phpdbg)
|
||||
if [[ "${one_sapi}" == "${sapi}" ]] ; then
|
||||
sapi_conf+=( "--enable-${sapi}" )
|
||||
else
|
||||
sapi_conf+=( "--disable-${sapi}" )
|
||||
fi
|
||||
;;
|
||||
|
||||
apache2)
|
||||
if [[ "${one_sapi}" == "${sapi}" ]] ; then
|
||||
sapi_conf+=( --with-apxs2="${EPREFIX}/usr/bin/apxs" )
|
||||
else
|
||||
sapi_conf+=( --without-apxs2 )
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
||||
# Construct the $myeconfargs array by concatenating $our_conf
|
||||
# (the common args) and $sapi_conf (the SAPI-specific args).
|
||||
local myeconfargs=( "${our_conf[@]}" )
|
||||
myeconfargs+=( "${sapi_conf[@]}" )
|
||||
|
||||
pushd "${BUILD_DIR}" > /dev/null || die
|
||||
econf "${myeconfargs[@]}"
|
||||
popd > /dev/null || die
|
||||
done
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# snmp seems to run during src_compile, too (bug #324739)
|
||||
addpredict /usr/share/snmp/mibs/.index
|
||||
addpredict /var/lib/net-snmp/mib_indexes
|
||||
|
||||
for sapi in ${SAPIS} ; do
|
||||
if use "${sapi}"; then
|
||||
cd "${WORKDIR}/sapis-build/$sapi" || \
|
||||
die "Failed to change dir to ${WORKDIR}/sapis-build/$1"
|
||||
emake
|
||||
fi
|
||||
done
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# see bug #324739 for what happens when we don't have that
|
||||
addpredict /usr/share/snmp/mibs/.index
|
||||
|
||||
# grab the first SAPI that got built and install common files from there
|
||||
local first_sapi=""
|
||||
for sapi in $SAPIS ; do
|
||||
if use $sapi ; then
|
||||
first_sapi=$sapi
|
||||
break
|
||||
fi
|
||||
done
|
||||
|
||||
# Makefile forgets to create this before trying to write to it...
|
||||
dodir "${PHP_DESTDIR#${EPREFIX}}/bin"
|
||||
|
||||
# Install php environment (without any sapis)
|
||||
cd "${WORKDIR}/sapis-build/$first_sapi" || die
|
||||
emake INSTALL_ROOT="${D}" \
|
||||
install-build install-headers install-programs
|
||||
|
||||
local extension_dir="$("${ED}/${PHP_DESTDIR#${EPREFIX}}/bin/php-config" --extension-dir)"
|
||||
|
||||
# Create the directory where we'll put version-specific php scripts
|
||||
keepdir "/usr/share/php${PHP_MV}"
|
||||
|
||||
local sapi="", file=""
|
||||
local sapi_list=""
|
||||
|
||||
for sapi in ${SAPIS}; do
|
||||
if use "${sapi}" ; then
|
||||
einfo "Installing SAPI: ${sapi}"
|
||||
cd "${WORKDIR}/sapis-build/${sapi}" || die
|
||||
|
||||
if [[ "${sapi}" == "apache2" ]] ; then
|
||||
# We're specifically not using emake install-sapi as libtool
|
||||
# may cause unnecessary relink failures (see bug #351266)
|
||||
insinto "${PHP_DESTDIR#${EPREFIX}}/apache2/"
|
||||
newins ".libs/libphp${PHP_MV}$(get_libname)" \
|
||||
"libphp${PHP_MV}$(get_libname)"
|
||||
keepdir "/usr/$(get_libdir)/apache2/modules"
|
||||
else
|
||||
# needed each time, php_install_ini would reset it
|
||||
local dest="${PHP_DESTDIR#${EPREFIX}}"
|
||||
into "${dest}"
|
||||
case "$sapi" in
|
||||
cli)
|
||||
source="sapi/cli/php"
|
||||
;;
|
||||
cgi)
|
||||
source="sapi/cgi/php-cgi"
|
||||
;;
|
||||
fpm)
|
||||
source="sapi/fpm/php-fpm"
|
||||
;;
|
||||
embed)
|
||||
source="libs/libphp${PHP_MV}$(get_libname)"
|
||||
;;
|
||||
phpdbg)
|
||||
source="sapi/phpdbg/phpdbg"
|
||||
;;
|
||||
*)
|
||||
die "unhandled sapi in src_install"
|
||||
;;
|
||||
esac
|
||||
|
||||
if [[ "${source}" == *"$(get_libname)" ]]; then
|
||||
dolib.so "${source}"
|
||||
else
|
||||
dobin "${source}"
|
||||
local name="$(basename ${source})"
|
||||
dosym "${dest}/bin/${name}" "/usr/bin/${name}${SLOT}"
|
||||
fi
|
||||
fi
|
||||
|
||||
php_install_ini "${sapi}"
|
||||
|
||||
# construct correct SAPI string for php-config
|
||||
# thanks to ferringb for the bash voodoo
|
||||
if [[ "${sapi}" == "apache2" ]]; then
|
||||
sapi_list="${sapi_list:+${sapi_list} }apache2handler"
|
||||
else
|
||||
sapi_list="${sapi_list:+${sapi_list} }${sapi}"
|
||||
fi
|
||||
fi
|
||||
done
|
||||
|
||||
# Installing opcache module
|
||||
if use opcache ; then
|
||||
into "${PHP_DESTDIR#${EPREFIX}}"
|
||||
dolib.so "modules/opcache$(get_libname)"
|
||||
fi
|
||||
|
||||
# Install env.d files
|
||||
newenvd "${FILESDIR}/20php5-envd" "20php${SLOT}"
|
||||
sed -e "s|/lib/|/$(get_libdir)/|g" -i "${ED}/etc/env.d/20php${SLOT}" || die
|
||||
sed -e "s|php5|php${SLOT}|g" -i "${ED}/etc/env.d/20php${SLOT}" || die
|
||||
|
||||
# set php-config variable correctly (bug #278439)
|
||||
sed -e "s:^\(php_sapis=\)\".*\"$:\1\"${sapi_list}\":" -i \
|
||||
"${ED}/usr/$(get_libdir)/php${SLOT}/bin/php-config" || die
|
||||
|
||||
if use fpm ; then
|
||||
if use systemd; then
|
||||
systemd_newunit "${FILESDIR}/php-fpm_at.service" \
|
||||
"php-fpm@${SLOT}.service"
|
||||
else
|
||||
systemd_newunit "${FILESDIR}/php-fpm_at-simple.service" \
|
||||
"php-fpm@${SLOT}.service"
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
echo ">>> Test phase [test]: ${CATEGORY}/${PF}"
|
||||
PHP_BIN="${WORKDIR}/sapis-build/cli/sapi/cli/php"
|
||||
if [[ ! -x "${PHP_BIN}" ]] ; then
|
||||
ewarn "Test phase requires USE=cli, skipping"
|
||||
return
|
||||
else
|
||||
export TEST_PHP_EXECUTABLE="${PHP_BIN}"
|
||||
fi
|
||||
|
||||
if [[ -x "${WORKDIR}/sapis-build/cgi/sapi/cgi/php-cgi" ]] ; then
|
||||
export TEST_PHP_CGI_EXECUTABLE="${WORKDIR}/sapis-build/cgi/sapi/cgi/php-cgi"
|
||||
fi
|
||||
|
||||
if [[ -x "${WORKDIR}/sapis-build/phpdbg/sapi/phpdbg/phpdbg" ]] ; then
|
||||
export TEST_PHPDBG_EXECUTABLE="${WORKDIR}/sapis-build/phpdbg/sapi/phpdbg/phpdbg"
|
||||
fi
|
||||
|
||||
REPORT_EXIT_STATUS=1 "${TEST_PHP_EXECUTABLE}" -n -d \
|
||||
"session.save_path=${T}" \
|
||||
"${WORKDIR}/sapis-build/cli/run-tests.php" -n -q -d \
|
||||
"session.save_path=${T}"
|
||||
|
||||
for name in ${EXPECTED_TEST_FAILURES}; do
|
||||
mv "${name}.out" "${name}.out.orig" 2>/dev/null || die
|
||||
done
|
||||
|
||||
local failed="$(find -name '*.out')"
|
||||
if [[ ${failed} != "" ]] ; then
|
||||
ewarn "The following test cases failed unexpectedly:"
|
||||
for name in ${failed}; do
|
||||
ewarn " ${name/.out/}"
|
||||
done
|
||||
else
|
||||
einfo "No unexpected test failures, all fine"
|
||||
fi
|
||||
|
||||
if [[ ${PHP_SHOW_UNEXPECTED_TEST_PASS} == "1" ]] ; then
|
||||
local passed=""
|
||||
for name in ${EXPECTED_TEST_FAILURES}; do
|
||||
[[ -f "${name}.diff" ]] && continue
|
||||
passed="${passed} ${name}"
|
||||
done
|
||||
if [[ ${passed} != "" ]] ; then
|
||||
einfo "The following test cases passed unexpectedly:"
|
||||
for name in ${passed}; do
|
||||
ewarn " ${passed}"
|
||||
done
|
||||
else
|
||||
einfo "None of the known-to-fail tests passed, all fine"
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
# Output some general info to the user
|
||||
if use apache2 ; then
|
||||
elog
|
||||
elog "To enable PHP in apache, you will need to add \"-D PHP\" to"
|
||||
elog "your apache2 command. OpenRC users can append that string to"
|
||||
elog "APACHE2_OPTS in /etc/conf.d/apache2."
|
||||
elog
|
||||
elog "The apache module configuration file 70_mod_php.conf is"
|
||||
elog "provided (and maintained) by eselect-php."
|
||||
elog
|
||||
fi
|
||||
|
||||
# Create the symlinks for php
|
||||
for m in ${SAPIS}; do
|
||||
[[ ${m} == 'embed' ]] && continue;
|
||||
if use $m ; then
|
||||
local ci=$(eselect php show $m)
|
||||
if [[ -z $ci ]]; then
|
||||
eselect php set $m php${SLOT} || die
|
||||
einfo "Switched ${m} to use php:${SLOT}"
|
||||
einfo
|
||||
elif [[ $ci != "php${SLOT}" ]] ; then
|
||||
elog "To switch $m to use php:${SLOT}, run"
|
||||
elog " eselect php set $m php${SLOT}"
|
||||
elog
|
||||
fi
|
||||
fi
|
||||
done
|
||||
|
||||
# Remove dead symlinks for SAPIs that were just disabled. For
|
||||
# example, if the user has the cgi SAPI enabled, then he has an
|
||||
# eselect-php symlink for it. If he later reinstalls PHP with
|
||||
# USE="-cgi", that symlink will break. This call to eselect is
|
||||
# supposed to remove that dead link per bug 572436.
|
||||
eselect php cleanup || die
|
||||
|
||||
if ! has "php${SLOT/./-}" ${PHP_TARGETS}; then
|
||||
elog "To build extensions for this version of PHP, you will need to"
|
||||
elog "add php${SLOT/./-} to your PHP_TARGETS USE_EXPAND variable."
|
||||
elog
|
||||
fi
|
||||
|
||||
# Warn about the removal of PHP_INI_VERSION if the user has it set.
|
||||
if [[ -n "${PHP_INI_VERSION}" ]]; then
|
||||
ewarn 'The PHP_INI_VERSION variable has been phased out. You may'
|
||||
ewarn 'remove it from your configuration at your convenience. See'
|
||||
ewarn
|
||||
ewarn ' https://bugs.gentoo.org/611214'
|
||||
ewarn
|
||||
ewarn 'for more information.'
|
||||
fi
|
||||
|
||||
elog "For details on how version slotting works, please see"
|
||||
elog "the wiki:"
|
||||
elog
|
||||
elog " https://wiki.gentoo.org/wiki/PHP"
|
||||
elog
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
# This serves two purposes. First, if we have just removed the last
|
||||
# installed version of PHP, then this will remove any dead symlinks
|
||||
# belonging to eselect-php. Second, if a user upgrades slots from
|
||||
# (say) 5.6 to 7.0 and depcleans the old slot, then this will update
|
||||
# his existing symlinks to point to the new 7.0 installation. The
|
||||
# latter is bug 432962.
|
||||
#
|
||||
# Note: the eselect-php package may not be installed at this point,
|
||||
# so we can't die() if this command fails.
|
||||
eselect php cleanup
|
||||
}
|
@ -1,245 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
#PATCHSET=1
|
||||
|
||||
inherit autotools eutils flag-o-matic multilib versionator
|
||||
|
||||
MY_P="${PN}-$(get_version_component_range 1-3)"
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
SLOT=$(get_version_component_range 1-2)
|
||||
MY_SUFFIX=$(delete_version_separator 1 ${SLOT})
|
||||
RUBYVERSION=2.2.0
|
||||
|
||||
if [[ -n ${PATCHSET} ]]; then
|
||||
if [[ ${PVR} == ${PV} ]]; then
|
||||
PATCHSET="${PV}-r0.${PATCHSET}"
|
||||
else
|
||||
PATCHSET="${PVR}.${PATCHSET}"
|
||||
fi
|
||||
else
|
||||
PATCHSET="${PVR}"
|
||||
fi
|
||||
|
||||
DESCRIPTION="An object-oriented scripting language"
|
||||
HOMEPAGE="http://www.ruby-lang.org/"
|
||||
SRC_URI="mirror://ruby/2.2/${MY_P}.tar.xz
|
||||
https://dev.gentoo.org/~flameeyes/ruby-team/${PN}-patches-${PATCHSET}.tar.bz2"
|
||||
|
||||
LICENSE="|| ( Ruby-BSD BSD-2 )"
|
||||
KEYWORDS="alpha amd64 arm ~arm64 hppa ~ia64 ~mips ppc ppc64 ~s390 ~sh ~sparc x86 ~amd64-fbsd ~x86-fbsd"
|
||||
IUSE="berkdb debug doc examples gdbm ipv6 jemalloc libressl +rdoc rubytests socks5 ssl tk xemacs ncurses +readline"
|
||||
|
||||
RDEPEND="
|
||||
berkdb? ( sys-libs/db:= )
|
||||
gdbm? ( sys-libs/gdbm )
|
||||
jemalloc? ( dev-libs/jemalloc )
|
||||
ssl? (
|
||||
!libressl? ( dev-libs/openssl:0= )
|
||||
libressl? ( dev-libs/libressl )
|
||||
)
|
||||
socks5? ( >=net-proxy/dante-1.1.13 )
|
||||
tk? (
|
||||
dev-lang/tcl:0=[threads]
|
||||
dev-lang/tk:0=[threads]
|
||||
)
|
||||
ncurses? ( sys-libs/ncurses:0= )
|
||||
readline? ( sys-libs/readline:0= )
|
||||
dev-libs/libyaml
|
||||
virtual/libffi
|
||||
sys-libs/zlib
|
||||
>=app-eselect/eselect-ruby-20141227
|
||||
!<dev-ruby/rdoc-3.9.4
|
||||
!<dev-ruby/rubygems-1.8.10-r1"
|
||||
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
BUNDLED_GEMS="
|
||||
>=dev-ruby/minitest-5.4.3[ruby_targets_ruby22]
|
||||
>=dev-ruby/power_assert-0.2.2[ruby_targets_ruby22]
|
||||
>=dev-ruby/test-unit-3.0.8[ruby_targets_ruby22]
|
||||
"
|
||||
|
||||
PDEPEND="
|
||||
${BUNDLED_GEMS}
|
||||
virtual/rubygems[ruby_targets_ruby22]
|
||||
>=dev-ruby/json-1.8.1[ruby_targets_ruby22]
|
||||
>=dev-ruby/rake-0.9.6[ruby_targets_ruby22]
|
||||
rdoc? ( >=dev-ruby/rdoc-4.0.1[ruby_targets_ruby22] )
|
||||
xemacs? ( app-xemacs/ruby-modes )"
|
||||
|
||||
src_prepare() {
|
||||
EPATCH_FORCE="yes" EPATCH_SUFFIX="patch" \
|
||||
epatch "${WORKDIR}/patches"
|
||||
|
||||
# We can no longer unbundle all of rake because rubygems now depends
|
||||
# on this. We leave the actual rake code around to bootstrap
|
||||
# rubygems, but remove the bits that would cause a file collision.
|
||||
einfo "Unbundling gems..."
|
||||
cd "$S"
|
||||
rm -rf \
|
||||
{bin,lib}/rake lib/rake.rb man/rake.1 \
|
||||
bin/gem || die "removal failed"
|
||||
# Remove bundled gems that we will install via PDEPEND, bug
|
||||
# 539700. Use explicit version numbers to ensure rm fails when they
|
||||
# change so we can update dependencies accordingly.
|
||||
rm gems/{minitest-5.4.3,power_assert-0.2.2,test-unit-3.0.8}.gem || die
|
||||
|
||||
# Fix a hardcoded lib path in configure script
|
||||
sed -i -e "s:\(RUBY_LIB_PREFIX=\"\${prefix}/\)lib:\1$(get_libdir):" \
|
||||
configure.in || die "sed failed"
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local modules= myconf=
|
||||
|
||||
# -fomit-frame-pointer makes ruby segfault, see bug #150413.
|
||||
filter-flags -fomit-frame-pointer
|
||||
# In many places aliasing rules are broken; play it safe
|
||||
# as it's risky with newer compilers to leave it as it is.
|
||||
append-flags -fno-strict-aliasing
|
||||
# SuperH needs this
|
||||
use sh && append-flags -mieee
|
||||
|
||||
# Socks support via dante
|
||||
if use socks5 ; then
|
||||
# Socks support can't be disabled as long as SOCKS_SERVER is
|
||||
# set and socks library is present, so need to unset
|
||||
# SOCKS_SERVER in that case.
|
||||
unset SOCKS_SERVER
|
||||
fi
|
||||
|
||||
# Increase GC_MALLOC_LIMIT if set (default is 8000000)
|
||||
if [ -n "${RUBY_GC_MALLOC_LIMIT}" ] ; then
|
||||
append-flags "-DGC_MALLOC_LIMIT=${RUBY_GC_MALLOC_LIMIT}"
|
||||
fi
|
||||
|
||||
# ipv6 hack, bug 168939. Needs --enable-ipv6.
|
||||
use ipv6 || myconf="${myconf} --with-lookup-order-hack=INET"
|
||||
|
||||
# Determine which modules *not* to build depending in the USE flags.
|
||||
if ! use readline ; then
|
||||
modules="${modules},readline"
|
||||
fi
|
||||
if ! use berkdb ; then
|
||||
modules="${modules},dbm"
|
||||
fi
|
||||
if ! use gdbm ; then
|
||||
modules="${modules},gdbm"
|
||||
fi
|
||||
if ! use ssl ; then
|
||||
modules="${modules},openssl"
|
||||
fi
|
||||
if ! use ncurses ; then
|
||||
modules="${modules},curses"
|
||||
fi
|
||||
if ! use tk ; then
|
||||
modules="${modules},tk"
|
||||
fi
|
||||
|
||||
# Provide an empty LIBPATHENV because we disable rpath but we do not
|
||||
# need LD_LIBRARY_PATH by default since that breaks USE=multitarget
|
||||
# #564272
|
||||
INSTALL="${EPREFIX}/usr/bin/install -c" LIBPATHENV="" econf \
|
||||
--program-suffix=${MY_SUFFIX} \
|
||||
--with-soname=ruby${MY_SUFFIX} \
|
||||
--docdir=${EPREFIX}/usr/share/doc/${P} \
|
||||
--enable-shared \
|
||||
--enable-pthread \
|
||||
--disable-rpath \
|
||||
--with-out-ext="${modules}" \
|
||||
$(use_enable jemalloc jemalloc) \
|
||||
$(use_enable socks5 socks) \
|
||||
$(use_enable doc install-doc) \
|
||||
--enable-ipv6 \
|
||||
$(use_enable debug) \
|
||||
${myconf} \
|
||||
--enable-option-checking=no \
|
||||
|| die "econf failed"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake V=1 EXTLDFLAGS="${LDFLAGS}" || die "emake failed"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
emake -j1 V=1 test || die "make test failed"
|
||||
|
||||
elog "Ruby's make test has been run. Ruby also ships with a make check"
|
||||
elog "that cannot be run until after ruby has been installed."
|
||||
elog
|
||||
if use rubytests; then
|
||||
elog "You have enabled rubytests, so they will be installed to"
|
||||
elog "/usr/share/${PN}-${SLOT}/test. To run them you must be a user other"
|
||||
elog "than root, and you must place them into a writeable directory."
|
||||
elog "Then call: "
|
||||
elog
|
||||
elog "ruby${MY_SUFFIX} -C /location/of/tests runner.rb"
|
||||
else
|
||||
elog "Enable the rubytests USE flag to install the make check tests"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# Remove the remaining bundled gems. We do this late in the process
|
||||
# since they are used during the build to e.g. create the
|
||||
# documentation.
|
||||
rm -rf ext/json || die
|
||||
|
||||
# Ruby is involved in the install process, we don't want interference here.
|
||||
unset RUBYOPT
|
||||
|
||||
local MINIRUBY=$(echo -e 'include Makefile\ngetminiruby:\n\t@echo $(MINIRUBY)'|make -f - getminiruby)
|
||||
|
||||
LD_LIBRARY_PATH="${S}:${D}/usr/$(get_libdir)${LD_LIBRARY_PATH+:}${LD_LIBRARY_PATH}"
|
||||
RUBYLIB="${S}:${D}/usr/$(get_libdir)/ruby/${RUBYVERSION}"
|
||||
for d in $(find "${S}/ext" -type d) ; do
|
||||
RUBYLIB="${RUBYLIB}:$d"
|
||||
done
|
||||
export LD_LIBRARY_PATH RUBYLIB
|
||||
|
||||
emake V=1 DESTDIR="${D}" install || die "make install failed"
|
||||
|
||||
# Remove installed rubygems copy
|
||||
rm -rf "${D}/usr/$(get_libdir)/ruby/${RUBYVERSION}/rubygems" || die "rm rubygems failed"
|
||||
rm -rf "${D}/usr/$(get_libdir)/ruby/${RUBYVERSION}"/rdoc* || die "rm rdoc failed"
|
||||
rm -rf "${D}/usr/bin/"{ri,rdoc}"${MY_SUFFIX}" || die "rm rdoc bins failed"
|
||||
|
||||
if use doc; then
|
||||
make DESTDIR="${D}" install-doc || die "make install-doc failed"
|
||||
fi
|
||||
|
||||
if use examples; then
|
||||
insinto /usr/share/doc/${PF}
|
||||
doins -r sample
|
||||
fi
|
||||
|
||||
dodoc ChangeLog NEWS doc/NEWS* README* || die
|
||||
|
||||
if use rubytests; then
|
||||
pushd test
|
||||
insinto /usr/share/${PN}-${SLOT}/test
|
||||
doins -r .
|
||||
popd
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ ! -n $(readlink "${ROOT}"usr/bin/ruby) ]] ; then
|
||||
eselect ruby set ruby${MY_SUFFIX}
|
||||
fi
|
||||
|
||||
elog
|
||||
elog "To switch between available Ruby profiles, execute as root:"
|
||||
elog "\teselect ruby set ruby(19|20|...)"
|
||||
elog
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
eselect ruby cleanup
|
||||
}
|
@ -1,245 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
#PATCHSET=1
|
||||
|
||||
inherit autotools eutils flag-o-matic multilib versionator
|
||||
|
||||
MY_P="${PN}-$(get_version_component_range 1-3)"
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
SLOT=$(get_version_component_range 1-2)
|
||||
MY_SUFFIX=$(delete_version_separator 1 ${SLOT})
|
||||
RUBYVERSION=2.2.0
|
||||
|
||||
if [[ -n ${PATCHSET} ]]; then
|
||||
if [[ ${PVR} == ${PV} ]]; then
|
||||
PATCHSET="${PV}-r0.${PATCHSET}"
|
||||
else
|
||||
PATCHSET="${PVR}.${PATCHSET}"
|
||||
fi
|
||||
else
|
||||
PATCHSET="${PVR}"
|
||||
fi
|
||||
|
||||
DESCRIPTION="An object-oriented scripting language"
|
||||
HOMEPAGE="http://www.ruby-lang.org/"
|
||||
SRC_URI="mirror://ruby/2.2/${MY_P}.tar.xz
|
||||
https://dev.gentoo.org/~flameeyes/ruby-team/${PN}-patches-${PATCHSET}.tar.bz2"
|
||||
|
||||
LICENSE="|| ( Ruby-BSD BSD-2 )"
|
||||
KEYWORDS="alpha ~amd64 arm ~arm64 ~hppa ia64 ~mips ppc ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd"
|
||||
IUSE="berkdb debug doc examples gdbm ipv6 jemalloc libressl +rdoc rubytests socks5 ssl tk xemacs ncurses +readline"
|
||||
|
||||
RDEPEND="
|
||||
berkdb? ( sys-libs/db:= )
|
||||
gdbm? ( sys-libs/gdbm )
|
||||
jemalloc? ( dev-libs/jemalloc )
|
||||
ssl? (
|
||||
!libressl? ( dev-libs/openssl:0= )
|
||||
libressl? ( dev-libs/libressl )
|
||||
)
|
||||
socks5? ( >=net-proxy/dante-1.1.13 )
|
||||
tk? (
|
||||
dev-lang/tcl:0=[threads]
|
||||
dev-lang/tk:0=[threads]
|
||||
)
|
||||
ncurses? ( sys-libs/ncurses:0= )
|
||||
readline? ( sys-libs/readline:0= )
|
||||
dev-libs/libyaml
|
||||
virtual/libffi
|
||||
sys-libs/zlib
|
||||
>=app-eselect/eselect-ruby-20141227
|
||||
!<dev-ruby/rdoc-3.9.4
|
||||
!<dev-ruby/rubygems-1.8.10-r1"
|
||||
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
BUNDLED_GEMS="
|
||||
>=dev-ruby/minitest-5.4.3[ruby_targets_ruby22]
|
||||
>=dev-ruby/power_assert-0.2.2[ruby_targets_ruby22]
|
||||
>=dev-ruby/test-unit-3.0.8[ruby_targets_ruby22]
|
||||
"
|
||||
|
||||
PDEPEND="
|
||||
${BUNDLED_GEMS}
|
||||
virtual/rubygems[ruby_targets_ruby22]
|
||||
>=dev-ruby/json-1.8.1[ruby_targets_ruby22]
|
||||
>=dev-ruby/rake-0.9.6[ruby_targets_ruby22]
|
||||
rdoc? ( >=dev-ruby/rdoc-4.0.1[ruby_targets_ruby22] )
|
||||
xemacs? ( app-xemacs/ruby-modes )"
|
||||
|
||||
src_prepare() {
|
||||
EPATCH_FORCE="yes" EPATCH_SUFFIX="patch" \
|
||||
epatch "${WORKDIR}/patches"
|
||||
|
||||
# We can no longer unbundle all of rake because rubygems now depends
|
||||
# on this. We leave the actual rake code around to bootstrap
|
||||
# rubygems, but remove the bits that would cause a file collision.
|
||||
einfo "Unbundling gems..."
|
||||
cd "$S"
|
||||
rm -rf \
|
||||
{bin,lib}/rake lib/rake.rb man/rake.1 \
|
||||
bin/gem || die "removal failed"
|
||||
# Remove bundled gems that we will install via PDEPEND, bug
|
||||
# 539700. Use explicit version numbers to ensure rm fails when they
|
||||
# change so we can update dependencies accordingly.
|
||||
rm gems/{minitest-5.4.3,power_assert-0.2.2,test-unit-3.0.8}.gem || die
|
||||
|
||||
# Fix a hardcoded lib path in configure script
|
||||
sed -i -e "s:\(RUBY_LIB_PREFIX=\"\${prefix}/\)lib:\1$(get_libdir):" \
|
||||
configure.in || die "sed failed"
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local modules= myconf=
|
||||
|
||||
# -fomit-frame-pointer makes ruby segfault, see bug #150413.
|
||||
filter-flags -fomit-frame-pointer
|
||||
# In many places aliasing rules are broken; play it safe
|
||||
# as it's risky with newer compilers to leave it as it is.
|
||||
append-flags -fno-strict-aliasing
|
||||
# SuperH needs this
|
||||
use sh && append-flags -mieee
|
||||
|
||||
# Socks support via dante
|
||||
if use socks5 ; then
|
||||
# Socks support can't be disabled as long as SOCKS_SERVER is
|
||||
# set and socks library is present, so need to unset
|
||||
# SOCKS_SERVER in that case.
|
||||
unset SOCKS_SERVER
|
||||
fi
|
||||
|
||||
# Increase GC_MALLOC_LIMIT if set (default is 8000000)
|
||||
if [ -n "${RUBY_GC_MALLOC_LIMIT}" ] ; then
|
||||
append-flags "-DGC_MALLOC_LIMIT=${RUBY_GC_MALLOC_LIMIT}"
|
||||
fi
|
||||
|
||||
# ipv6 hack, bug 168939. Needs --enable-ipv6.
|
||||
use ipv6 || myconf="${myconf} --with-lookup-order-hack=INET"
|
||||
|
||||
# Determine which modules *not* to build depending in the USE flags.
|
||||
if ! use readline ; then
|
||||
modules="${modules},readline"
|
||||
fi
|
||||
if ! use berkdb ; then
|
||||
modules="${modules},dbm"
|
||||
fi
|
||||
if ! use gdbm ; then
|
||||
modules="${modules},gdbm"
|
||||
fi
|
||||
if ! use ssl ; then
|
||||
modules="${modules},openssl"
|
||||
fi
|
||||
if ! use ncurses ; then
|
||||
modules="${modules},curses"
|
||||
fi
|
||||
if ! use tk ; then
|
||||
modules="${modules},tk"
|
||||
fi
|
||||
|
||||
# Provide an empty LIBPATHENV because we disable rpath but we do not
|
||||
# need LD_LIBRARY_PATH by default since that breaks USE=multitarget
|
||||
# #564272
|
||||
INSTALL="${EPREFIX}/usr/bin/install -c" LIBPATHENV="" econf \
|
||||
--program-suffix=${MY_SUFFIX} \
|
||||
--with-soname=ruby${MY_SUFFIX} \
|
||||
--docdir=${EPREFIX}/usr/share/doc/${P} \
|
||||
--enable-shared \
|
||||
--enable-pthread \
|
||||
--disable-rpath \
|
||||
--with-out-ext="${modules}" \
|
||||
$(use_with jemalloc jemalloc) \
|
||||
$(use_enable socks5 socks) \
|
||||
$(use_enable doc install-doc) \
|
||||
--enable-ipv6 \
|
||||
$(use_enable debug) \
|
||||
${myconf} \
|
||||
--enable-option-checking=no \
|
||||
|| die "econf failed"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake V=1 EXTLDFLAGS="${LDFLAGS}" || die "emake failed"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
emake -j1 V=1 test || die "make test failed"
|
||||
|
||||
elog "Ruby's make test has been run. Ruby also ships with a make check"
|
||||
elog "that cannot be run until after ruby has been installed."
|
||||
elog
|
||||
if use rubytests; then
|
||||
elog "You have enabled rubytests, so they will be installed to"
|
||||
elog "/usr/share/${PN}-${SLOT}/test. To run them you must be a user other"
|
||||
elog "than root, and you must place them into a writeable directory."
|
||||
elog "Then call: "
|
||||
elog
|
||||
elog "ruby${MY_SUFFIX} -C /location/of/tests runner.rb"
|
||||
else
|
||||
elog "Enable the rubytests USE flag to install the make check tests"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# Remove the remaining bundled gems. We do this late in the process
|
||||
# since they are used during the build to e.g. create the
|
||||
# documentation.
|
||||
rm -rf ext/json || die
|
||||
|
||||
# Ruby is involved in the install process, we don't want interference here.
|
||||
unset RUBYOPT
|
||||
|
||||
local MINIRUBY=$(echo -e 'include Makefile\ngetminiruby:\n\t@echo $(MINIRUBY)'|make -f - getminiruby)
|
||||
|
||||
LD_LIBRARY_PATH="${S}:${D}/usr/$(get_libdir)${LD_LIBRARY_PATH+:}${LD_LIBRARY_PATH}"
|
||||
RUBYLIB="${S}:${D}/usr/$(get_libdir)/ruby/${RUBYVERSION}"
|
||||
for d in $(find "${S}/ext" -type d) ; do
|
||||
RUBYLIB="${RUBYLIB}:$d"
|
||||
done
|
||||
export LD_LIBRARY_PATH RUBYLIB
|
||||
|
||||
emake V=1 DESTDIR="${D}" install || die "make install failed"
|
||||
|
||||
# Remove installed rubygems copy
|
||||
rm -rf "${D}/usr/$(get_libdir)/ruby/${RUBYVERSION}/rubygems" || die "rm rubygems failed"
|
||||
rm -rf "${D}/usr/$(get_libdir)/ruby/${RUBYVERSION}"/rdoc* || die "rm rdoc failed"
|
||||
rm -rf "${D}/usr/bin/"{ri,rdoc}"${MY_SUFFIX}" || die "rm rdoc bins failed"
|
||||
|
||||
if use doc; then
|
||||
make DESTDIR="${D}" install-doc || die "make install-doc failed"
|
||||
fi
|
||||
|
||||
if use examples; then
|
||||
insinto /usr/share/doc/${PF}
|
||||
doins -r sample
|
||||
fi
|
||||
|
||||
dodoc ChangeLog NEWS doc/NEWS* README* || die
|
||||
|
||||
if use rubytests; then
|
||||
pushd test
|
||||
insinto /usr/share/${PN}-${SLOT}/test
|
||||
doins -r .
|
||||
popd
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ ! -n $(readlink "${ROOT}"usr/bin/ruby) ]] ; then
|
||||
eselect ruby set ruby${MY_SUFFIX}
|
||||
fi
|
||||
|
||||
elog
|
||||
elog "To switch between available Ruby profiles, execute as root:"
|
||||
elog "\teselect ruby set ruby(19|20|...)"
|
||||
elog
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
eselect ruby cleanup
|
||||
}
|
@ -1,245 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
#PATCHSET=1
|
||||
|
||||
inherit autotools eutils flag-o-matic multilib versionator
|
||||
|
||||
MY_P="${PN}-$(get_version_component_range 1-3)"
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
SLOT=$(get_version_component_range 1-2)
|
||||
MY_SUFFIX=$(delete_version_separator 1 ${SLOT})
|
||||
RUBYVERSION=2.2.0
|
||||
|
||||
if [[ -n ${PATCHSET} ]]; then
|
||||
if [[ ${PVR} == ${PV} ]]; then
|
||||
PATCHSET="${PV}-r0.${PATCHSET}"
|
||||
else
|
||||
PATCHSET="${PVR}.${PATCHSET}"
|
||||
fi
|
||||
else
|
||||
PATCHSET="${PVR}"
|
||||
fi
|
||||
|
||||
DESCRIPTION="An object-oriented scripting language"
|
||||
HOMEPAGE="http://www.ruby-lang.org/"
|
||||
SRC_URI="mirror://ruby/2.2/${MY_P}.tar.xz
|
||||
https://dev.gentoo.org/~flameeyes/ruby-team/${PN}-patches-${PATCHSET}.tar.bz2"
|
||||
|
||||
LICENSE="|| ( Ruby-BSD BSD-2 )"
|
||||
KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd"
|
||||
IUSE="berkdb debug doc examples gdbm ipv6 jemalloc libressl +rdoc rubytests socks5 ssl tk xemacs ncurses +readline"
|
||||
|
||||
RDEPEND="
|
||||
berkdb? ( sys-libs/db:= )
|
||||
gdbm? ( sys-libs/gdbm )
|
||||
jemalloc? ( dev-libs/jemalloc )
|
||||
ssl? (
|
||||
!libressl? ( dev-libs/openssl:0= )
|
||||
libressl? ( dev-libs/libressl )
|
||||
)
|
||||
socks5? ( >=net-proxy/dante-1.1.13 )
|
||||
tk? (
|
||||
dev-lang/tcl:0=[threads]
|
||||
dev-lang/tk:0=[threads]
|
||||
)
|
||||
ncurses? ( sys-libs/ncurses:0= )
|
||||
readline? ( sys-libs/readline:0= )
|
||||
dev-libs/libyaml
|
||||
virtual/libffi
|
||||
sys-libs/zlib
|
||||
>=app-eselect/eselect-ruby-20141227
|
||||
!<dev-ruby/rdoc-3.9.4
|
||||
!<dev-ruby/rubygems-1.8.10-r1"
|
||||
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
BUNDLED_GEMS="
|
||||
>=dev-ruby/minitest-5.4.3[ruby_targets_ruby22]
|
||||
>=dev-ruby/power_assert-0.2.2[ruby_targets_ruby22]
|
||||
>=dev-ruby/test-unit-3.0.8[ruby_targets_ruby22]
|
||||
"
|
||||
|
||||
PDEPEND="
|
||||
${BUNDLED_GEMS}
|
||||
virtual/rubygems[ruby_targets_ruby22]
|
||||
>=dev-ruby/json-1.8.1[ruby_targets_ruby22]
|
||||
>=dev-ruby/rake-0.9.6[ruby_targets_ruby22]
|
||||
rdoc? ( >=dev-ruby/rdoc-4.0.1[ruby_targets_ruby22] )
|
||||
xemacs? ( app-xemacs/ruby-modes )"
|
||||
|
||||
src_prepare() {
|
||||
EPATCH_FORCE="yes" EPATCH_SUFFIX="patch" \
|
||||
epatch "${WORKDIR}/patches"
|
||||
|
||||
# We can no longer unbundle all of rake because rubygems now depends
|
||||
# on this. We leave the actual rake code around to bootstrap
|
||||
# rubygems, but remove the bits that would cause a file collision.
|
||||
einfo "Unbundling gems..."
|
||||
cd "$S"
|
||||
rm -rf \
|
||||
{bin,lib}/rake lib/rake.rb man/rake.1 \
|
||||
bin/gem || die "removal failed"
|
||||
# Remove bundled gems that we will install via PDEPEND, bug
|
||||
# 539700. Use explicit version numbers to ensure rm fails when they
|
||||
# change so we can update dependencies accordingly.
|
||||
rm gems/{minitest-5.4.3,power_assert-0.2.2,test-unit-3.0.8}.gem || die
|
||||
|
||||
# Fix a hardcoded lib path in configure script
|
||||
sed -i -e "s:\(RUBY_LIB_PREFIX=\"\${prefix}/\)lib:\1$(get_libdir):" \
|
||||
configure.in || die "sed failed"
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local modules= myconf=
|
||||
|
||||
# -fomit-frame-pointer makes ruby segfault, see bug #150413.
|
||||
filter-flags -fomit-frame-pointer
|
||||
# In many places aliasing rules are broken; play it safe
|
||||
# as it's risky with newer compilers to leave it as it is.
|
||||
append-flags -fno-strict-aliasing
|
||||
# SuperH needs this
|
||||
use sh && append-flags -mieee
|
||||
|
||||
# Socks support via dante
|
||||
if use socks5 ; then
|
||||
# Socks support can't be disabled as long as SOCKS_SERVER is
|
||||
# set and socks library is present, so need to unset
|
||||
# SOCKS_SERVER in that case.
|
||||
unset SOCKS_SERVER
|
||||
fi
|
||||
|
||||
# Increase GC_MALLOC_LIMIT if set (default is 8000000)
|
||||
if [ -n "${RUBY_GC_MALLOC_LIMIT}" ] ; then
|
||||
append-flags "-DGC_MALLOC_LIMIT=${RUBY_GC_MALLOC_LIMIT}"
|
||||
fi
|
||||
|
||||
# ipv6 hack, bug 168939. Needs --enable-ipv6.
|
||||
use ipv6 || myconf="${myconf} --with-lookup-order-hack=INET"
|
||||
|
||||
# Determine which modules *not* to build depending in the USE flags.
|
||||
if ! use readline ; then
|
||||
modules="${modules},readline"
|
||||
fi
|
||||
if ! use berkdb ; then
|
||||
modules="${modules},dbm"
|
||||
fi
|
||||
if ! use gdbm ; then
|
||||
modules="${modules},gdbm"
|
||||
fi
|
||||
if ! use ssl ; then
|
||||
modules="${modules},openssl"
|
||||
fi
|
||||
if ! use ncurses ; then
|
||||
modules="${modules},curses"
|
||||
fi
|
||||
if ! use tk ; then
|
||||
modules="${modules},tk"
|
||||
fi
|
||||
|
||||
# Provide an empty LIBPATHENV because we disable rpath but we do not
|
||||
# need LD_LIBRARY_PATH by default since that breaks USE=multitarget
|
||||
# #564272
|
||||
INSTALL="${EPREFIX}/usr/bin/install -c" LIBPATHENV="" econf \
|
||||
--program-suffix=${MY_SUFFIX} \
|
||||
--with-soname=ruby${MY_SUFFIX} \
|
||||
--docdir=${EPREFIX}/usr/share/doc/${P} \
|
||||
--enable-shared \
|
||||
--enable-pthread \
|
||||
--disable-rpath \
|
||||
--with-out-ext="${modules}" \
|
||||
$(use_with jemalloc jemalloc) \
|
||||
$(use_enable socks5 socks) \
|
||||
$(use_enable doc install-doc) \
|
||||
--enable-ipv6 \
|
||||
$(use_enable debug) \
|
||||
${myconf} \
|
||||
--enable-option-checking=no \
|
||||
|| die "econf failed"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake V=1 EXTLDFLAGS="${LDFLAGS}" || die "emake failed"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
emake -j1 V=1 test || die "make test failed"
|
||||
|
||||
elog "Ruby's make test has been run. Ruby also ships with a make check"
|
||||
elog "that cannot be run until after ruby has been installed."
|
||||
elog
|
||||
if use rubytests; then
|
||||
elog "You have enabled rubytests, so they will be installed to"
|
||||
elog "/usr/share/${PN}-${SLOT}/test. To run them you must be a user other"
|
||||
elog "than root, and you must place them into a writeable directory."
|
||||
elog "Then call: "
|
||||
elog
|
||||
elog "ruby${MY_SUFFIX} -C /location/of/tests runner.rb"
|
||||
else
|
||||
elog "Enable the rubytests USE flag to install the make check tests"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# Remove the remaining bundled gems. We do this late in the process
|
||||
# since they are used during the build to e.g. create the
|
||||
# documentation.
|
||||
rm -rf ext/json || die
|
||||
|
||||
# Ruby is involved in the install process, we don't want interference here.
|
||||
unset RUBYOPT
|
||||
|
||||
local MINIRUBY=$(echo -e 'include Makefile\ngetminiruby:\n\t@echo $(MINIRUBY)'|make -f - getminiruby)
|
||||
|
||||
LD_LIBRARY_PATH="${S}:${D}/usr/$(get_libdir)${LD_LIBRARY_PATH+:}${LD_LIBRARY_PATH}"
|
||||
RUBYLIB="${S}:${D}/usr/$(get_libdir)/ruby/${RUBYVERSION}"
|
||||
for d in $(find "${S}/ext" -type d) ; do
|
||||
RUBYLIB="${RUBYLIB}:$d"
|
||||
done
|
||||
export LD_LIBRARY_PATH RUBYLIB
|
||||
|
||||
emake V=1 DESTDIR="${D}" install || die "make install failed"
|
||||
|
||||
# Remove installed rubygems copy
|
||||
rm -rf "${D}/usr/$(get_libdir)/ruby/${RUBYVERSION}/rubygems" || die "rm rubygems failed"
|
||||
rm -rf "${D}/usr/$(get_libdir)/ruby/${RUBYVERSION}"/rdoc* || die "rm rdoc failed"
|
||||
rm -rf "${D}/usr/bin/"{ri,rdoc}"${MY_SUFFIX}" || die "rm rdoc bins failed"
|
||||
|
||||
if use doc; then
|
||||
make DESTDIR="${D}" install-doc || die "make install-doc failed"
|
||||
fi
|
||||
|
||||
if use examples; then
|
||||
insinto /usr/share/doc/${PF}
|
||||
doins -r sample
|
||||
fi
|
||||
|
||||
dodoc ChangeLog NEWS doc/NEWS* README* || die
|
||||
|
||||
if use rubytests; then
|
||||
pushd test
|
||||
insinto /usr/share/${PN}-${SLOT}/test
|
||||
doins -r .
|
||||
popd
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ ! -n $(readlink "${ROOT}"usr/bin/ruby) ]] ; then
|
||||
eselect ruby set ruby${MY_SUFFIX}
|
||||
fi
|
||||
|
||||
elog
|
||||
elog "To switch between available Ruby profiles, execute as root:"
|
||||
elog "\teselect ruby set ruby(19|20|...)"
|
||||
elog
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
eselect ruby cleanup
|
||||
}
|
@ -1,242 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
#PATCHSET=1
|
||||
|
||||
inherit autotools eutils flag-o-matic multilib versionator
|
||||
|
||||
MY_P="${PN}-$(get_version_component_range 1-3)"
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
SLOT=$(get_version_component_range 1-2)
|
||||
MY_SUFFIX=$(delete_version_separator 1 ${SLOT})
|
||||
RUBYVERSION=2.3.0
|
||||
|
||||
if [[ -n ${PATCHSET} ]]; then
|
||||
if [[ ${PVR} == ${PV} ]]; then
|
||||
PATCHSET="${PV}-r0.${PATCHSET}"
|
||||
else
|
||||
PATCHSET="${PVR}.${PATCHSET}"
|
||||
fi
|
||||
else
|
||||
PATCHSET="${PVR}"
|
||||
fi
|
||||
|
||||
DESCRIPTION="An object-oriented scripting language"
|
||||
HOMEPAGE="http://www.ruby-lang.org/"
|
||||
SRC_URI="mirror://ruby/${SLOT}/${MY_P}.tar.xz
|
||||
https://dev.gentoo.org/~flameeyes/ruby-team/${PN}-patches-${PATCHSET}.tar.bz2"
|
||||
|
||||
LICENSE="|| ( Ruby-BSD BSD-2 )"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd"
|
||||
IUSE="berkdb debug doc examples gdbm ipv6 jemalloc libressl +rdoc rubytests socks5 ssl tk xemacs ncurses +readline"
|
||||
|
||||
RDEPEND="
|
||||
berkdb? ( sys-libs/db:= )
|
||||
gdbm? ( sys-libs/gdbm )
|
||||
jemalloc? ( dev-libs/jemalloc )
|
||||
ssl? (
|
||||
!libressl? ( dev-libs/openssl:0= )
|
||||
libressl? ( dev-libs/libressl )
|
||||
)
|
||||
socks5? ( >=net-proxy/dante-1.1.13 )
|
||||
tk? (
|
||||
dev-lang/tcl:0=[threads]
|
||||
dev-lang/tk:0=[threads]
|
||||
)
|
||||
ncurses? ( sys-libs/ncurses:0= )
|
||||
readline? ( sys-libs/readline:0= )
|
||||
dev-libs/libyaml
|
||||
virtual/libffi
|
||||
sys-libs/zlib
|
||||
>=app-eselect/eselect-ruby-20151229
|
||||
!<dev-ruby/rdoc-3.9.4
|
||||
!<dev-ruby/rubygems-1.8.10-r1"
|
||||
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
BUNDLED_GEMS="
|
||||
>=dev-ruby/did_you_mean-1.0.0:1[ruby_targets_ruby23]
|
||||
>=dev-ruby/minitest-5.8.3[ruby_targets_ruby23]
|
||||
>=dev-ruby/net-telnet-0.1.1[ruby_targets_ruby23]
|
||||
>=dev-ruby/power_assert-0.2.6[ruby_targets_ruby23]
|
||||
>=dev-ruby/rake-10.4.2[ruby_targets_ruby23]
|
||||
>=dev-ruby/test-unit-3.1.5[ruby_targets_ruby23]
|
||||
"
|
||||
|
||||
PDEPEND="
|
||||
${BUNDLED_GEMS}
|
||||
virtual/rubygems[ruby_targets_ruby23]
|
||||
>=dev-ruby/json-1.8.3[ruby_targets_ruby23]
|
||||
rdoc? ( >=dev-ruby/rdoc-4.2.1[ruby_targets_ruby23] )
|
||||
xemacs? ( app-xemacs/ruby-modes )"
|
||||
|
||||
src_prepare() {
|
||||
EPATCH_FORCE="yes" EPATCH_SUFFIX="patch" \
|
||||
epatch "${WORKDIR}/patches"
|
||||
|
||||
einfo "Unbundling gems..."
|
||||
cd "$S"
|
||||
# Remove bundled gems that we will install via PDEPEND, bug
|
||||
# 539700. Use explicit version numbers to ensure rm fails when they
|
||||
# change so we can update dependencies accordingly.
|
||||
rm -f gems/{did_you_mean-1.0.0,minitest-5.8.3,net-telnet-0.1.1,power_assert-0.2.6,rake-10.4.2,test-unit-3.1.5}.gem || die
|
||||
|
||||
# Fix a hardcoded lib path in configure script
|
||||
sed -i -e "s:\(RUBY_LIB_PREFIX=\"\${prefix}/\)lib:\1$(get_libdir):" \
|
||||
configure.in || die "sed failed"
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local modules= myconf=
|
||||
|
||||
# -fomit-frame-pointer makes ruby segfault, see bug #150413.
|
||||
filter-flags -fomit-frame-pointer
|
||||
# In many places aliasing rules are broken; play it safe
|
||||
# as it's risky with newer compilers to leave it as it is.
|
||||
append-flags -fno-strict-aliasing
|
||||
# SuperH needs this
|
||||
use sh && append-flags -mieee
|
||||
|
||||
# Socks support via dante
|
||||
if use socks5 ; then
|
||||
# Socks support can't be disabled as long as SOCKS_SERVER is
|
||||
# set and socks library is present, so need to unset
|
||||
# SOCKS_SERVER in that case.
|
||||
unset SOCKS_SERVER
|
||||
fi
|
||||
|
||||
# Increase GC_MALLOC_LIMIT if set (default is 8000000)
|
||||
if [ -n "${RUBY_GC_MALLOC_LIMIT}" ] ; then
|
||||
append-flags "-DGC_MALLOC_LIMIT=${RUBY_GC_MALLOC_LIMIT}"
|
||||
fi
|
||||
|
||||
# ipv6 hack, bug 168939. Needs --enable-ipv6.
|
||||
use ipv6 || myconf="${myconf} --with-lookup-order-hack=INET"
|
||||
|
||||
# Determine which modules *not* to build depending in the USE flags.
|
||||
if ! use readline ; then
|
||||
modules="${modules},readline"
|
||||
fi
|
||||
if ! use berkdb ; then
|
||||
modules="${modules},dbm"
|
||||
fi
|
||||
if ! use gdbm ; then
|
||||
modules="${modules},gdbm"
|
||||
fi
|
||||
if ! use ssl ; then
|
||||
modules="${modules},openssl"
|
||||
fi
|
||||
if ! use ncurses ; then
|
||||
modules="${modules},curses"
|
||||
fi
|
||||
if ! use tk ; then
|
||||
modules="${modules},tk"
|
||||
fi
|
||||
|
||||
# Provide an empty LIBPATHENV because we disable rpath but we do not
|
||||
# need LD_LIBRARY_PATH by default since that breaks USE=multitarget
|
||||
# #564272
|
||||
INSTALL="${EPREFIX}/usr/bin/install -c" LIBPATHENV="" econf \
|
||||
--program-suffix=${MY_SUFFIX} \
|
||||
--with-soname=ruby${MY_SUFFIX} \
|
||||
--docdir=${EPREFIX}/usr/share/doc/${P} \
|
||||
--enable-shared \
|
||||
--enable-pthread \
|
||||
--disable-rpath \
|
||||
--with-out-ext="${modules}" \
|
||||
$(use_with jemalloc jemalloc) \
|
||||
$(use_enable socks5 socks) \
|
||||
$(use_enable doc install-doc) \
|
||||
--enable-ipv6 \
|
||||
$(use_enable debug) \
|
||||
${myconf} \
|
||||
--enable-option-checking=no \
|
||||
|| die "econf failed"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake V=1 EXTLDFLAGS="${LDFLAGS}" || die "emake failed"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
emake -j1 V=1 test || die "make test failed"
|
||||
|
||||
elog "Ruby's make test has been run. Ruby also ships with a make check"
|
||||
elog "that cannot be run until after ruby has been installed."
|
||||
elog
|
||||
if use rubytests; then
|
||||
elog "You have enabled rubytests, so they will be installed to"
|
||||
elog "/usr/share/${PN}-${SLOT}/test. To run them you must be a user other"
|
||||
elog "than root, and you must place them into a writeable directory."
|
||||
elog "Then call: "
|
||||
elog
|
||||
elog "ruby${MY_SUFFIX} -C /location/of/tests runner.rb"
|
||||
else
|
||||
elog "Enable the rubytests USE flag to install the make check tests"
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# Remove the remaining bundled gems. We do this late in the process
|
||||
# since they are used during the build to e.g. create the
|
||||
# documentation.
|
||||
rm -rf ext/json || die
|
||||
|
||||
# Ruby is involved in the install process, we don't want interference here.
|
||||
unset RUBYOPT
|
||||
|
||||
local MINIRUBY=$(echo -e 'include Makefile\ngetminiruby:\n\t@echo $(MINIRUBY)'|make -f - getminiruby)
|
||||
|
||||
LD_LIBRARY_PATH="${S}:${D}/usr/$(get_libdir)${LD_LIBRARY_PATH+:}${LD_LIBRARY_PATH}"
|
||||
RUBYLIB="${S}:${D}/usr/$(get_libdir)/ruby/${RUBYVERSION}"
|
||||
for d in $(find "${S}/ext" -type d) ; do
|
||||
RUBYLIB="${RUBYLIB}:$d"
|
||||
done
|
||||
export LD_LIBRARY_PATH RUBYLIB
|
||||
|
||||
emake V=1 DESTDIR="${D}" install || die "make install failed"
|
||||
|
||||
# Remove installed rubygems and rdoc copy
|
||||
rm -rf "${D}/usr/$(get_libdir)/ruby/${RUBYVERSION}/rubygems" || die "rm rubygems failed"
|
||||
rm -rf "${D}/usr/bin/"gem"${MY_SUFFIX}" || die "rm rdoc bins failed"
|
||||
rm -rf "${D}/usr/$(get_libdir)/ruby/${RUBYVERSION}"/rdoc* || die "rm rdoc failed"
|
||||
rm -rf "${D}/usr/bin/"{ri,rdoc}"${MY_SUFFIX}" || die "rm rdoc bins failed"
|
||||
|
||||
if use doc; then
|
||||
make DESTDIR="${D}" install-doc || die "make install-doc failed"
|
||||
fi
|
||||
|
||||
if use examples; then
|
||||
insinto /usr/share/doc/${PF}
|
||||
doins -r sample
|
||||
fi
|
||||
|
||||
dodoc ChangeLog NEWS doc/NEWS* README* || die
|
||||
|
||||
if use rubytests; then
|
||||
pushd test
|
||||
insinto /usr/share/${PN}-${SLOT}/test
|
||||
doins -r .
|
||||
popd
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ ! -n $(readlink "${ROOT}"usr/bin/ruby) ]] ; then
|
||||
eselect ruby set ruby${MY_SUFFIX}
|
||||
fi
|
||||
|
||||
elog
|
||||
elog "To switch between available Ruby profiles, execute as root:"
|
||||
elog "\teselect ruby set ruby(19|20|...)"
|
||||
elog
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
eselect ruby cleanup
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue