parent
649354cf88
commit
20f221d421
@ -1,3 +0,0 @@
|
||||
{
|
||||
"ui_dir": "/var/lib/consul/ui"
|
||||
}
|
@ -1,13 +1,4 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>elizabeth@interlinked.me</email>
|
||||
<name>Elizabeth Myers</name>
|
||||
<description>Proxied maintainer; set to assignee in all bugs</description>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>proxy-maint@gentoo.org</email>
|
||||
<name>Proxy Maintainers</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
|
@ -0,0 +1,179 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
# The Debian ca-certificates package merely takes the CA database as it exists
|
||||
# in the nss package and repackages it for use by openssl.
|
||||
#
|
||||
# The issue with using the compiled debs directly is two fold:
|
||||
# - they do not update frequently enough for us to rely on them
|
||||
# - they pull the CA database from nss tip of tree rather than the release
|
||||
#
|
||||
# So we take the Debian source tools and combine them with the latest nss
|
||||
# release to produce (largely) the same end result. The difference is that
|
||||
# now we know our cert database is kept in sync with nss and, if need be,
|
||||
# can be sync with nss tip of tree more frequently to respond to bugs.
|
||||
|
||||
# When triaging bugs from users, here's some handy tips:
|
||||
# - To see what cert is hitting errors, use openssl:
|
||||
# openssl s_client -port 443 -CApath /etc/ssl/certs/ -host $HOSTNAME
|
||||
# Focus on the errors written to stderr.
|
||||
#
|
||||
# - Look at the upstream log as to why certs were added/removed:
|
||||
# https://hg.mozilla.org/projects/nss/log/tip/lib/ckfw/builtins/certdata.txt
|
||||
#
|
||||
# - If people want to add/remove certs, tell them to file w/mozilla:
|
||||
# https://bugzilla.mozilla.org/enter_bug.cgi?product=NSS&component=CA%20Certificates&version=trunk
|
||||
|
||||
EAPI="5"
|
||||
PYTHON_COMPAT=( python{2_7,3_3,3_4,3_5} )
|
||||
|
||||
inherit eutils python-any-r1
|
||||
|
||||
if [[ ${PV} == *.* ]] ; then
|
||||
# Compile from source ourselves.
|
||||
PRECOMPILED=false
|
||||
inherit versionator
|
||||
|
||||
DEB_VER=$(get_version_component_range 1)
|
||||
NSS_VER=$(get_version_component_range 2-)
|
||||
RTM_NAME="NSS_${NSS_VER//./_}_RTM"
|
||||
else
|
||||
# Debian precompiled version.
|
||||
PRECOMPILED=true
|
||||
inherit unpacker
|
||||
fi
|
||||
|
||||
DESCRIPTION="Common CA Certificates PEM files"
|
||||
HOMEPAGE="http://packages.debian.org/sid/ca-certificates"
|
||||
NMU_PR=""
|
||||
if ${PRECOMPILED} ; then
|
||||
SRC_URI="mirror://debian/pool/main/c/${PN}/${PN}_${PV}${NMU_PR:++nmu}${NMU_PR}_all.deb"
|
||||
else
|
||||
SRC_URI="mirror://debian/pool/main/c/${PN}/${PN}_${DEB_VER}${NMU_PR:++nmu}${NMU_PR}.tar.xz
|
||||
https://archive.mozilla.org/pub/security/nss/releases/${RTM_NAME}/src/nss-${NSS_VER}.tar.gz
|
||||
cacert? ( https://dev.gentoo.org/~anarchy/patches/nss-3.14.1-add_spi+cacerts_ca_certs.patch )"
|
||||
fi
|
||||
|
||||
LICENSE="MPL-1.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
|
||||
IUSE=""
|
||||
${PRECOMPILED} || IUSE+=" cacert"
|
||||
|
||||
DEPEND=""
|
||||
if ${PRECOMPILED} ; then
|
||||
DEPEND+=" !<sys-apps/portage-2.1.10.41"
|
||||
fi
|
||||
# c_rehash: we run `c_rehash`
|
||||
# debianutils: we run `run-parts`
|
||||
RDEPEND="${DEPEND}
|
||||
app-misc/c_rehash
|
||||
sys-apps/debianutils"
|
||||
|
||||
if ! ${PRECOMPILED}; then
|
||||
DEPEND+=" ${PYTHON_DEPS}"
|
||||
fi
|
||||
|
||||
S=${WORKDIR}
|
||||
|
||||
pkg_setup() {
|
||||
# For the conversion to having it in CONFIG_PROTECT_MASK,
|
||||
# we need to tell users about it once manually first.
|
||||
[[ -f "${EPREFIX}"/etc/env.d/98ca-certificates ]] \
|
||||
|| ewarn "You should run update-ca-certificates manually after etc-update"
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
${PRECOMPILED} || default
|
||||
|
||||
# Do all the work in the image subdir to avoid conflicting with source
|
||||
# dirs in $WORKDIR. Need to perform everything in the offset #381937
|
||||
mkdir -p "image/${EPREFIX}"
|
||||
cd "image/${EPREFIX}" || die
|
||||
|
||||
${PRECOMPILED} && unpacker_src_unpack
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
cd "image/${EPREFIX}" || die
|
||||
if ! ${PRECOMPILED} ; then
|
||||
mkdir -p usr/sbin
|
||||
cp -p "${S}"/${PN}/sbin/update-ca-certificates usr/sbin/ || die
|
||||
|
||||
if use cacert ; then
|
||||
pushd "${S}"/nss-${NSS_VER} >/dev/null
|
||||
epatch "${DISTDIR}"/nss-3.14.1-add_spi+cacerts_ca_certs.patch
|
||||
popd >/dev/null
|
||||
fi
|
||||
fi
|
||||
|
||||
epatch "${FILESDIR}"/${PN}-20150426-root.patch
|
||||
local relp=$(echo "${EPREFIX}" | sed -e 's:[^/]\+:..:g')
|
||||
sed -i \
|
||||
-e '/="$ROOT/s:ROOT:ROOT'"${EPREFIX}"':' \
|
||||
-e '/RELPATH="\.\./s:"$:'"${relp}"'":' \
|
||||
usr/sbin/update-ca-certificates || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cd "image/${EPREFIX}" || die
|
||||
if ! ${PRECOMPILED} ; then
|
||||
python_setup
|
||||
local d="${S}/${PN}/mozilla" c="usr/share/${PN}"
|
||||
# Grab the database from the nss sources.
|
||||
cp "${S}"/nss-${NSS_VER}/nss/lib/ckfw/builtins/{certdata.txt,nssckbi.h} "${d}" || die
|
||||
emake -C "${d}"
|
||||
|
||||
# Now move the files to the same places that the precompiled would.
|
||||
mkdir -p etc/ssl/certs etc/ca-certificates/update.d "${c}"/mozilla
|
||||
if use cacert ; then
|
||||
mkdir -p "${c}"/cacert.org
|
||||
mv "${d}"/CAcert_Inc..crt "${c}"/cacert.org/cacert.org_root.crt || die
|
||||
fi
|
||||
mv "${d}"/*.crt "${c}"/mozilla/ || die
|
||||
else
|
||||
mv usr/share/doc/{ca-certificates,${PF}} || die
|
||||
fi
|
||||
|
||||
# Remove untrusted certs from StartCom and WoSign (bug #598072)
|
||||
rm "${c}"/mozilla/StartCom* || die
|
||||
rm "${c}"/mozilla/WoSign* || die
|
||||
|
||||
(
|
||||
echo "# Automatically generated by ${CATEGORY}/${PF}"
|
||||
echo "# $(date -u)"
|
||||
echo "# Do not edit."
|
||||
cd "${c}"
|
||||
find * -name '*.crt' | LC_ALL=C sort
|
||||
) > etc/ca-certificates.conf
|
||||
|
||||
sh usr/sbin/update-ca-certificates --root "${S}/image" || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cp -pPR image/* "${D}"/ || die
|
||||
if ! ${PRECOMPILED} ; then
|
||||
cd ca-certificates
|
||||
doman sbin/*.8
|
||||
dodoc debian/README.* examples/ca-certificates-local/README
|
||||
fi
|
||||
|
||||
echo 'CONFIG_PROTECT_MASK="/etc/ca-certificates.conf"' > 98ca-certificates
|
||||
doenvd 98ca-certificates
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [ -d "${EROOT}/usr/local/share/ca-certificates" ] ; then
|
||||
# if the user has local certs, we need to rebuild again
|
||||
# to include their stuff in the db.
|
||||
# However it's too overzealous when the user has custom certs in place.
|
||||
# --fresh is to clean up dangling symlinks
|
||||
"${EROOT}"/usr/sbin/update-ca-certificates --root "${ROOT}"
|
||||
fi
|
||||
|
||||
if [ -n "$(find -L "${EROOT}"etc/ssl/certs/ -type l)" ] ; then
|
||||
ewarn "Removing the following broken symlinks:"
|
||||
ewarn "$(find -L "${EROOT}"/etc/ssl/certs/ -type l -printf '%p -> %l\n' -delete)"
|
||||
fi
|
||||
}
|
@ -1,13 +1,4 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>elizabeth@interlinked.me</email>
|
||||
<name>Elizabeth Myers</name>
|
||||
<description>Proxied maintainer; set to assignee in all bugs</description>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>proxy-maint@gentoo.org</email>
|
||||
<name>Proxy Maintainers</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
|
@ -1,4 +1,6 @@
|
||||
DIST LanguageTool-3.4.zip 95764120 SHA256 ff36380c5807c5bdc67d222c5f2adeeb0a047a02661885c29cd8297443846c9c SHA512 450c5faa98b61cd2ed132f1e3ff592914e0abd58ed02d9c372fb9ef57d566d32d7bbb3a3ecf6a3d26248379bbecd35934e4ae0e33bb5ae821eaa0eb17d6e07e2 WHIRLPOOL 9f44486917581ed723f61d5d8af7100c4ab679a7ca36362b2426f04575bf90966e2a5b6de15b28cbec517bae5f1d6ae1ec18c6c9b0643880130da03e838dc09d
|
||||
DIST LanguageTool-3.5.zip 93540212 SHA256 643029da89041ccfb48772deaf0dd0e16942de2d381c5dc8ae9372f1b043bcab SHA512 ad49dd292ca6841e1ef439b2dbe55748f621333b418bd6a596534cd5b2cb7019170c98046c8e2c68c3d75a9e5d132cf329de6481eaaccb8f78aae2233bdb8e45 WHIRLPOOL d518d0eaee5447115f09dfac0071462d9a2c51e3327da7f9500a251571fb9186920f9c68eb008f151bc8db173ad22a4068b4953165d1219f05e6857fe8554369
|
||||
EBUILD languagetool-3.4.ebuild 1643 SHA256 87a886d370e51b292fc2ef8e35a2599fa539bb193eb39583a1ad862cc367008f SHA512 626e94dee55dac45f3bb02646850524e314b0c4bf122b3c318c80c634668313f7f333f62e4a8af1bd330bf213dd1d2ba12c0b803460dc1141c9d07000b27f4fb WHIRLPOOL 4811a8f76b7c3ade510c4aba03bc44590f77db79269f39b21313a36b53a45effff8b10a66ded7d717fea295e7a2dd2b718a73e05d1fec068090c985bcfca4414
|
||||
EBUILD languagetool-3.5.ebuild 1820 SHA256 da4577aad86ab490ef8acc6af64cd4798e18c505e0e1ae48b19615ca80fb989d SHA512 471d97fd4f550c6142133d20ba59dd5be80ab1961f69d7318667f8e0258b94c31ce1cd2dbdf137b4bbe8831fd1c7843c965aeb1abfb2ad5433023ac3cc43ec66 WHIRLPOOL c5dae3e3040c2d789e5b47b536ee2e113c18f252f3cf0449b4b6a012f382089072cb1dcd415cddd141288424c40e0680db27902a3f8761551200dec823fe3929
|
||||
MISC ChangeLog 385 SHA256 96bd6eb28a01f5351fe41a7eb6516169ecc6a85d2349f0a828dac5d180a2165f SHA512 6a2e81e6ae0a3f971755e8edde4a4af333ca2dbbdb4b8f81a3a5cb8219cb4593ea91fc92aa8f891f7814115366afbd8155ab4042668a60c12b9fc4d2eacaeea6 WHIRLPOOL e9636d7e95386f8925fc502a39fa2983eb328570d1b6fa4e6494fa6774a5b6ea47e28b0e89c25c1209283c0a3cdf6b784d1f9a19a96e191b73537e97888d24cd
|
||||
MISC metadata.xml 255 SHA256 fa2495381a46939e915222bc4f5e8c1e704f336ca63c064a2a63090c79b0e5ff SHA512 305ae93d2bb3da79ee181cf36bb0ca2bbac016c20555967d7281cd5c0edfc26c1450dacd7a7de57078650dab0e815be9169c0b25a24d71488185f71ae8834167 WHIRLPOOL 0e543ebc68a9501374d42528b31fc9d94ab416939eefc6cc37dcf033d0ecd85397ec58ab67e02d6a08b2f4c0048891d441a2b217075e4596ffc25d5b12cc8ec8
|
||||
|
@ -0,0 +1,79 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
inherit java-pkg-2
|
||||
|
||||
MY_PN=LanguageTool
|
||||
MY_P=${MY_PN}-${PV}
|
||||
|
||||
DESCRIPTION="a proof-reading tool for many languages"
|
||||
HOMEPAGE="http://www.languagetool.org/"
|
||||
SRC_URI="http://www.languagetool.org/download/${MY_P}.zip"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
RDEPEND=">=virtual/jre-1.8
|
||||
dev-java/commons-cli:1
|
||||
dev-java/commons-io:1
|
||||
dev-java/commons-lang:2.1
|
||||
dev-java/commons-logging:0
|
||||
dev-java/guava:18
|
||||
dev-java/hamcrest-core:1.3
|
||||
dev-java/jna:0
|
||||
dev-java/jcommander:0
|
||||
dev-java/slf4j-api:0
|
||||
dev-java/slf4j-nop:0
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
app-arch/unzip"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
src_prepare() {
|
||||
java-pkg-2_src_prepare
|
||||
default
|
||||
}
|
||||
|
||||
src_compile() { :; }
|
||||
|
||||
src_install() {
|
||||
insinto /usr/share/${PN}
|
||||
doins *.jar
|
||||
doins -r org META-INF
|
||||
|
||||
cat >>"${T}/${PN}" <<-EOF
|
||||
#!/bin/sh
|
||||
cd "${EROOT}usr/share/${PN}"
|
||||
java -jar ${PN}-commandline.jar \$@
|
||||
EOF
|
||||
|
||||
cat >>"${T}/${PN}-gui" <<-EOF
|
||||
#!/bin/sh
|
||||
cd "${EROOT}usr/share/${PN}"
|
||||
java -jar ${PN}.jar \$@
|
||||
EOF
|
||||
exeinto /usr/bin
|
||||
doexe "${T}"/${PN} "${T}"/${PN}-gui
|
||||
|
||||
dodoc CHANGES.md README.md
|
||||
|
||||
pushd libs >/dev/null || die
|
||||
rm {commons-io,commons-lang,commons-logging,jcommander,jna,junit}.jar || die
|
||||
java-pkg_jarinto /usr/share/${PN}/libs
|
||||
java-pkg_jar-from commons-io-1 commons-io.jar
|
||||
java-pkg_jar-from commons-lang-2.1 commons-lang.jar
|
||||
java-pkg_jar-from commons-logging commons-logging.jar
|
||||
java-pkg_jar-from commons-cli-1 commons-cli.jar
|
||||
java-pkg_jar-from guava-18 guava.jar
|
||||
java-pkg_jar-from hamcrest-core-1.3 hamcrest-core.jar
|
||||
java-pkg_jar-from jcommander jcommander.jar
|
||||
java-pkg_jar-from jna jna.jar
|
||||
java-pkg_jar-from slf4j-api slf4j-api.jar
|
||||
java-pkg_jar-from slf4j-nop slf4j-nop.jar
|
||||
java-pkg_dojar *.jar
|
||||
popd >/dev/null || die
|
||||
}
|
@ -1,5 +1,7 @@
|
||||
AUX languagetool-1.29-script.patch 1413 SHA256 0893cc1c3362376db4c7c09e2263682a87bd02361407a17629dbd720558dd2cb SHA512 b4e25e527a8af3ea5fe649bd31aa0ecf0f073a0852f1f155ecf2cbdc58d105ce114db8a12dc56ee086a9076cb15e5bde61e7340e570fff59093ed2f266247564 WHIRLPOOL 6cf5e1f99903a8f5fe0dea7d3d6b0dc02270b036aa3a62b0000993d6531a5f2ac316af3b508b542d5741dea028addcce5a95f6d108a3085c25ccfd37d0cf6535
|
||||
DIST languagetool-1.29.tar.bz2 8059 SHA256 92fd4bf94c65828f1c309da5257336a2287c07cae7ab6a4709ae1b79dcbbbcca SHA512 09b5bdc1d3590afe26578f687064a7a62493a11fafca903759dc1e9048cb22a04c6352127b13e4a63acb867d73d943b56fcae7f733350626f05b66a6d1f1626d WHIRLPOOL d5c8d411b465fdad629493e834d154e7e3a25898b20bc009c4ff9977593ab46ca6e0f6f57ae7933da08b9f7283ebc793106a4eb31a17d670050a94f27a2f2af5
|
||||
DIST languagetool-1.30.tar.bz2 8089 SHA256 b99b27e06a43e5ea0c1a3d3e02dcef9b8339c55bd725782fd0ea4cd1efc0592d SHA512 c04115752f8a601e85b718ea8d68cbdaa7628d14c252b4bb5bd11449ae2c5558ddee3d0f3a1bc2db84364e127fc211a0c4fe51e4ff9b442ebe99aa4f9d1db935 WHIRLPOOL b65931b68dd4a47f8ba77cfb4e9a08c58686495a6d095cddff7acc51c76969ec60c51f207bee73b5614fddbea95d35152c334df29f6f956d39c57335636a8fe8
|
||||
EBUILD languagetool-1.29.ebuild 425 SHA256 9acf94be8085a61fc2901ef1d3c822692e743d356d42a40da50982edadd1471c SHA512 7ff58b2bd77793a087089503bddcfdc45e6f1ee14e7568778acc1bac1f94365e26bf8a606c0c7ab66c2234e074ecaf1f718ae537baaf46db8780a817043ce4c9 WHIRLPOOL 37ec5d65c9cb750c0f96851aae2b01833a8c41410e569ee20dd9ef599d919846ea4694e5c3107ff58ea6e661af1a13f44319244da50d74f067466724004e3fd5
|
||||
EBUILD languagetool-1.30.ebuild 431 SHA256 31b03fb5367ad206372839e9714a490f6482652858fd6855e75d3eb443a7c396 SHA512 30d497422a83ccb9f0957d1b8c45381063d496496245569e9321c679d359835c2e4c624a0f759574ce2d3a1003956a60ed0fbfab79d123dc1be94774ae058a3f WHIRLPOOL 827ee12f5e6b08753bffae16a6e885663e4a7bcfe32714291b42212357b66cdd620577c05695168c618180f691f3d7a8e2ac6208ce1fbf141007e024d7ecb1b3
|
||||
MISC ChangeLog 430 SHA256 dc26d53f4539fee9db8dd3951de886ced07a1cff099e3df5b5c840477590a122 SHA512 979ddfe69dfbcdb1158049ed2b83e4bfaf0c76cb9d8397844ef0b3e57de7847221a464343d8db0ef49905c3211ce2af94478b413c3ed336ec29302afff09250b WHIRLPOOL 43d2cc5780e54e5604da92e224b8c10da5d90ba88543b6051c2771bb8d4782e6ef305952e270eee1cd99e40a1d52a84fe7e49b7f05f9bdade5660988d1714d36
|
||||
MISC metadata.xml 255 SHA256 fa2495381a46939e915222bc4f5e8c1e704f336ca63c064a2a63090c79b0e5ff SHA512 305ae93d2bb3da79ee181cf36bb0ca2bbac016c20555967d7281cd5c0edfc26c1450dacd7a7de57078650dab0e815be9169c0b25a24d71488185f71ae8834167 WHIRLPOOL 0e543ebc68a9501374d42528b31fc9d94ab416939eefc6cc37dcf033d0ecd85397ec58ab67e02d6a08b2f4c0048891d441a2b217075e4596ffc25d5b12cc8ec8
|
||||
|
@ -0,0 +1,18 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
inherit vim-plugin
|
||||
|
||||
MY_PN=LanguageTool
|
||||
DESCRIPTION="grammar checker for various languages"
|
||||
HOMEPAGE="http://www.vim.org/scripts/script.php?script_id=3223"
|
||||
LICENSE="vim"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
VIM_PLUGIN_HELPFILES="${MY_PN}"
|
||||
|
||||
RDEPEND="app-text/languagetool"
|
||||
|
||||
PATCHES=( "${FILESDIR}"/${PN}-1.29-script.patch )
|
@ -0,0 +1,765 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit autotools flag-o-matic versionator libtool 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 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~ia64-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} bcmath berkdb bzip2 calendar cdb cjk
|
||||
crypt +ctype curl debug
|
||||
enchant exif frontbase +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]
|
||||
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
|
||||
) )
|
||||
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[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? ( ^^ ( 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 )
|
||||
sharedmem? ( !threads )
|
||||
mysql? ( || ( mysqli pdo ) )
|
||||
|| ( cli cgi fpm apache2 embed phpdbg )"
|
||||
|
||||
PHP_MV="$(get_major_version)"
|
||||
|
||||
# Allow users to install production version if they want to
|
||||
if [[ "${PHP_INI_VERSION}" == "production" ]]; then
|
||||
PHP_INI_UPSTREAM="php.ini-production"
|
||||
else
|
||||
PHP_INI_UPSTREAM="php.ini-development"
|
||||
fi
|
||||
|
||||
php_install_ini() {
|
||||
local phpsapi="${1}"
|
||||
|
||||
# work out where we are installing the ini file
|
||||
php_set_ini_dir "${phpsapi}"
|
||||
|
||||
local phpinisrc="${PHP_INI_UPSTREAM}-${phpsapi}"
|
||||
cp "${PHP_INI_UPSTREAM}" "${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
|
||||
dodoc php.ini-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() {
|
||||
# Change PHP branding
|
||||
# Get the alpha/beta/rc version
|
||||
sed -re "s|^(PHP_EXTRA_VERSION=\").*(\")|\1-pl${PR/r/}-gentoo\2|g" \
|
||||
-i configure.in || die "Unable to change PHP branding"
|
||||
|
||||
# Patch PHP to show Gentoo as the server platform
|
||||
sed -e 's/PHP_UNAME=`uname -a | xargs`/PHP_UNAME=`uname -s -n -r -v | xargs`/g' \
|
||||
-i configure.in || die "Failed to fix server platform name"
|
||||
|
||||
# Patch PHP to support heimdal instead of mit-krb5
|
||||
if has_version "app-crypt/heimdal" ; then
|
||||
sed -e 's|gssapi_krb5|gssapi|g' -i acinclude.m4 \
|
||||
|| die "Failed to fix heimdal libname"
|
||||
sed -e 's|PHP_ADD_LIBRARY(k5crypto, 1, $1)||g' -i acinclude.m4 \
|
||||
|| die "Failed to fix heimdal crypt library reference"
|
||||
fi
|
||||
|
||||
eapply_user
|
||||
|
||||
# Force rebuilding aclocal.m4
|
||||
rm -f aclocal.m4 || die "failed to remove aclocal.m4 in src_prepare"
|
||||
eautoreconf
|
||||
|
||||
if [[ ${CHOST} == *-darwin* ]] ; then
|
||||
# http://bugs.php.net/bug.php?id=48795, bug #343481
|
||||
sed -i -e '/BUILD_CGI="\\$(CC)/s/CC/CXX/' configure || die
|
||||
fi
|
||||
|
||||
# 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_enable bcmath bcmath)
|
||||
$(use_with bzip2 bz2 "${EPREFIX}/usr")
|
||||
$(use_enable calendar calendar)
|
||||
$(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"
|
||||
|
||||
# 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/cgi/php-cgi" ]] ; then
|
||||
export TEST_PHP_CGI_EXECUTABLE="${WORKDIR}/sapis/cgi/php-cgi"
|
||||
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
|
||||
|
||||
# Only mention PHP_INI_VERSION if the user doesn't have it set.
|
||||
case "${PHP_INI_VERSION}" in
|
||||
production|development)
|
||||
;;
|
||||
*)
|
||||
elog "This ebuild installed a version of php.ini based on"
|
||||
elog "${PHP_INI_UPSTREAM}. You can choose which version of"
|
||||
elog "php.ini to install by default by setting PHP_INI_VERSION"
|
||||
elog "to either 'production' or 'development' in your make.conf."
|
||||
elog "Both versions of php.ini can be found with the PHP docs in"
|
||||
elog "${EPREFIX}/usr/share/doc/${PF}"
|
||||
elog
|
||||
;;
|
||||
esac
|
||||
|
||||
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,10 +1,12 @@
|
||||
DIST pkgconf-0.9.11.tar.bz2 86489 SHA256 3bdae1b2672133943dc0dda694ed57074f8b03c3fea10efb215d76d3cabe2c3b SHA512 21313ef29afcaa7c49a8cb512ecd3a821693945c22fb1a670ada74f41bca320e1b9ffb64e79adc2c33cb86822b74ddc850fadb16ddcde7eb805b81a50096992f WHIRLPOOL 7442a456af7e959c86f318ee74ec89883cc4e2ad16c9708f98d8ab30cdcf71ea7ef13f7e0f9bf945717b1dea8a317ffc5322878f88a5084c2dcbdc2aeafaf4d2
|
||||
DIST pkgconf-0.9.12.tar.bz2 87109 SHA256 7ec8b516e655e247f4ba976837cee808134785819ab8f538f652fe919cc6c09f SHA512 efe13db7a46992eb44ead493fc12b3fc6a5567e0206f701b6c48d9b5eb0bc90fcc9ae7a7e08ae641bb10df869287e5b68291701d4013d6cf27bd2b1518c29192 WHIRLPOOL 9fa7336e111f29648f5c37310bdeb2266bead1b86ff18183cfb57c06054916d235da20a5723bd364497d20a1f4db399eaf77f38c0bfc1519f2b7b825ab4666d0
|
||||
DIST pkgconf-1.0.1.tar.gz 362653 SHA256 45ce2f6ab032451345185b800badd77c054040879bd2e56225dafc7fbe583cf1 SHA512 b379ed366327eb4de3a7ed732be58a3757fdcd231637f0fbc2f9b762fda08173244d05fd853d683cfa6bdad90f1d8ee663b3eae9aee024456ef46e8a021e7122 WHIRLPOOL ba9a26874d14b6dfd62858da1b50397bc0aa9637bfe0824d4911f4df1e430e60a9f589242f8dc60a792b16f5201f9e0944d637e0d3a4749a211b976459152d69
|
||||
DIST pkgconf-1.0.2.tar.xz 247972 SHA256 a7c67f8603c0d0400be17b2efac0fdc9ff46625f7e50aefe4ad31eff248115dd SHA512 679c9033489076ba5691c3a830b8e300c6cb2dc9e7eeffa1a478c681c7f1cc49896b0b5d0d069b14804a5c9bc31115ba672b1f724cd6282ce26d54945a5a8a42 WHIRLPOOL e7bcb19eba08ff271a470a1c8bba13810951c20e79b7dea5352ea20b8b519d4462892c623e8383b540f5af3b6daf302386b8b1831bfed3d7d143f33cb9e0830a
|
||||
EBUILD pkgconf-0.9.11.ebuild 1366 SHA256 bb580ab51f38930de250ffaddf9aa48b632f4e952fe3f38c6b893aced11e9470 SHA512 4a9687a252558cfa15b324ae1945c70311026a149d353af2defbb552588da2652d376277ff7e20de1e53c2e83bc93e6577b593bf1a00636be31ccc83d8a1c1e6 WHIRLPOOL 4df0b09378d04b083c11765a0fbe5bfcb45be730df4a8d71a2fb7239ae2f05533c081f0274f9e074beab7b25d00aa03c2cf535c883a6cc65aa989d8097cf0f52
|
||||
EBUILD pkgconf-0.9.12.ebuild 1366 SHA256 bb580ab51f38930de250ffaddf9aa48b632f4e952fe3f38c6b893aced11e9470 SHA512 4a9687a252558cfa15b324ae1945c70311026a149d353af2defbb552588da2652d376277ff7e20de1e53c2e83bc93e6577b593bf1a00636be31ccc83d8a1c1e6 WHIRLPOOL 4df0b09378d04b083c11765a0fbe5bfcb45be730df4a8d71a2fb7239ae2f05533c081f0274f9e074beab7b25d00aa03c2cf535c883a6cc65aa989d8097cf0f52
|
||||
EBUILD pkgconf-1.0.1.ebuild 1350 SHA256 6e82c585ae5590d6ed46182654c50defd77c0bc830d8d080e014a2f27e421aaa SHA512 20df3f77fa9b233be262f6af53a3bb47931c6bf55041613f08ad57698f715c4e5abc86fc4edc7d6ecb08d0c436facd8111865eec3cdba11ac6e0f9d90250fa71 WHIRLPOOL 1484e85828ed5ced74fc490d026d56d85d221016499a4ce8d1bedc4fee1cccb6559b644a9c7dd3393366b90b9ae0d2057781f78164af847fbeec3a8ca03e33ee
|
||||
EBUILD pkgconf-9999.ebuild 1350 SHA256 6e82c585ae5590d6ed46182654c50defd77c0bc830d8d080e014a2f27e421aaa SHA512 20df3f77fa9b233be262f6af53a3bb47931c6bf55041613f08ad57698f715c4e5abc86fc4edc7d6ecb08d0c436facd8111865eec3cdba11ac6e0f9d90250fa71 WHIRLPOOL 1484e85828ed5ced74fc490d026d56d85d221016499a4ce8d1bedc4fee1cccb6559b644a9c7dd3393366b90b9ae0d2057781f78164af847fbeec3a8ca03e33ee
|
||||
MISC ChangeLog 6932 SHA256 389dcc1293d05052bd0099c6a4c54763b1ac6b2db3dfb72783104699465c06d1 SHA512 f2899d4c6545c08105b2ed1832cb4f05792b682cdd4e9704872ce8849504d28fad6e9d2660b33bf09847ded26276201faf040ae949f721bd68b4617a9e20eed8 WHIRLPOOL 60b2ac6ceacfd500ed25ce43d2566b27c7a11c264cb37705cfec18e5c31d00d110d840f3e4bdbe5f6fe46a19151a4a72654136142a2ac94b0cc4cc17bc79b319
|
||||
EBUILD pkgconf-1.0.2.ebuild 1407 SHA256 842ba9051b0ebb339dceaa4a294cba0ec9559c6a198786fe6e0370b02f62c3af SHA512 440c1386406b6da25591629f2b418d27ba971e093497cb06a9cb51cc48ada9faacca2074079af2029a472575f5e96ffa114a58cbd6f05859556969167f75d946 WHIRLPOOL df584b3701bfdb371d6554916f4d8681bb1093638227e2172bce3e8589c17a21fbb96335fc8145fbafd38a96ee8c370af17fc3f9f0a604070d11837c2288973d
|
||||
EBUILD pkgconf-9999.ebuild 1407 SHA256 842ba9051b0ebb339dceaa4a294cba0ec9559c6a198786fe6e0370b02f62c3af SHA512 440c1386406b6da25591629f2b418d27ba971e093497cb06a9cb51cc48ada9faacca2074079af2029a472575f5e96ffa114a58cbd6f05859556969167f75d946 WHIRLPOOL df584b3701bfdb371d6554916f4d8681bb1093638227e2172bce3e8589c17a21fbb96335fc8145fbafd38a96ee8c370af17fc3f9f0a604070d11837c2288973d
|
||||
MISC ChangeLog 7371 SHA256 ca0a20547de734183ad2704713896ed1a70c503b33e398891ecc22e9d42c0982 SHA512 2fd04c81774701f65292851e4fd2561a0916b8bf7683b7466aa40b870870e9ee07fa2aa03e435f03f3e6189119dbab807805f967a2e3bc4d5194e9a2a0cb0f6b WHIRLPOOL 4853d6d320062ceeca55c29a5fc3d835b54bd8f4015b8d13f5ead9701ab8db72d2a7e2672cf1022acab285286c9a1844de66cb8b1dba1a0296b775d4f6fb078f
|
||||
MISC ChangeLog-2015 11246 SHA256 f1671c26b687b39a50c7f1ba82101c29be5ec42d74976218bb84aed74243d3d0 SHA512 6ae9486e7429401f19d21c12056929374a49840e305114394fecfdd55e49ad8ed3f4ede7dea5b5da67438c77a8c031b539b356a9b950b4182b2149f9d233a048 WHIRLPOOL b9547d35ac17482faa1fd283fe45e1a2ee805506fd89a03f99735b0a627b1ba2083116c70d460708fbf3313039c562a5f5d6ee669d4cfd6a218a1a897869072a
|
||||
MISC metadata.xml 682 SHA256 62c595eb7a364a0f7f13d850b02a94402879df5a97f6f3123a97defe74de6dc9 SHA512 09a81b9b01c1437f01f783423a18ef1101aad133fd2189e2db6ac358a2582c18712fabe94206502f388f4478eec7796e3883b03387b552d58c09bac4158c5f55 WHIRLPOOL a16c2e81887b23a68f52bafba0fd046255cb550e184303bbbdc044befb96780f1432635a757ccab38444655b1441ebaa37b12946741691649cd079c977d29d3b
|
||||
MISC metadata.xml 556 SHA256 434646bb8f2543ef1a741b7770dc89875cb7bb9da0ed4cd09836dbb8f264b899 SHA512 dd0241269c2d3533b9643cea1c7a17f3abce89c5db819e5fa2428d620c6d652474b0547000574ac77ab76dd7058a0b84d55542f138df3a75a24a6e378b7488ec WHIRLPOOL e30559c2666290e5041d4a07476be0d003818ae2dba130166a33223fea6e07ff73f235b9aa25f941e4a401a9db89d091936f3d0b4d588c52e2b53d4bd035742e
|
||||
|
@ -0,0 +1,63 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
EGIT_REPO_URI=( {https,git}://github.com/pkgconf/${PN}.git )
|
||||
inherit autotools git-r3
|
||||
else
|
||||
SRC_URI="https://distfiles.dereferenced.org/pkgconf/${P}.tar.xz
|
||||
https://github.com/pkgconf/pkgconf/releases/download/${P}/${P}.tar.xz"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh
|
||||
~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~amd64-linux
|
||||
~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc64-solaris ~x64-solaris"
|
||||
fi
|
||||
|
||||
inherit multilib-minimal
|
||||
|
||||
DESCRIPTION="pkg-config compatible replacement with no dependencies other than ANSI C89"
|
||||
HOMEPAGE="https://github.com/pkgconf/pkgconf"
|
||||
|
||||
LICENSE="BSD-1"
|
||||
SLOT="0"
|
||||
IUSE="+pkg-config strict"
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="${DEPEND}
|
||||
pkg-config? (
|
||||
!dev-util/pkgconfig
|
||||
!dev-util/pkg-config-lite
|
||||
!dev-util/pkgconfig-openbsd[pkg-config]
|
||||
)"
|
||||
|
||||
MULTILIB_CHOST_TOOLS=(
|
||||
/usr/bin/pkgconf
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
[[ ${PV} == "9999" ]] && eautoreconf
|
||||
if use pkg-config; then
|
||||
MULTILIB_CHOST_TOOLS+=(
|
||||
/usr/bin/pkg-config
|
||||
)
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
ECONF_SOURCE=${S} \
|
||||
econf $(use_enable strict)
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
default
|
||||
|
||||
if use pkg-config; then
|
||||
dosym pkgconf /usr/bin/pkg-config
|
||||
else
|
||||
rm "${ED%/}"/usr/share/aclocal/pkg.m4 || die
|
||||
fi
|
||||
}
|
@ -1,7 +1,9 @@
|
||||
DIST bfg-1.12.12.jar 14664691 SHA256 03291c9cd9cdc664104f49b22b76bd39edc73052936cbfd72fc8d8595971fd9a SHA512 f3a9d39c764a8d42054ed346a51ac2402814a4a18f2802640e776653a3081800e38e3052ac447fd82f0d1667aa1ca5d6745a2e7b9c7503d3fec7c25d364c8cf3 WHIRLPOOL eca6191885752bf8af5e84a97c31f6c0ad191ea3f49a009e0fd99ea09c69c6c95337bbe82f6b8e5e3220286d25c66b86f1f8ea9e183c51ac56bdaa42d9abb1b2
|
||||
DIST bfg-1.12.13.jar 14774921 SHA256 fbeb45314d45c7ff26bb513154675a2e1e822282e0d095c6d911fcf68fd089c0 SHA512 a65586b84b10bbbc3ba2058862348010c2513c5f4f5e91dbbdc3392622811aa40e473cc19ad4a7bf4eaa2cd2f9c49b60fdb4e557cb68b2d66afc6c47e34b4484 WHIRLPOOL 920cd40ad66d65087ad12e76893c5e591b41ac0cf99e3fce6acf492d61042c12c078a41824944762f1528a575f6d67ec2973d0d13a137876cf412e18a8a70c9b
|
||||
DIST bfg-1.12.14.jar 14811487 SHA256 7a44d53ef626a4282c34cc363166e678c5d9e91e4c6815e8e069036edd9fab64 SHA512 ff6bf60a8cba67537f46968c2f24dd91a15c9d533b503396b28bcc0af368d2852228e276d87e44013aba612e24b23d094563fc4d166957aac9ab7349be9f8a26 WHIRLPOOL 2e176efa35eeb61763550748695a1cc789530c42072facb19fd833b54b76ef048f8ee8265ce73173ab7c7af807278961cea5ee9ac30d5cedcf5de9079f7f347e
|
||||
EBUILD bfg-1.12.12.ebuild 581 SHA256 9bdf716aca4abe0c8b0532e54188bbe6018d9536c0812be8072436cefbf81eb9 SHA512 1252e0c045ecc4553ebc59132c472b0e41e8b8c149790ceba3f3ea92ceab1c43a5d0f421a66f30628b47c51dac3d653bdb0ce435ae5a9422791467907df9aeed WHIRLPOOL 26e1c0b17bae0df9e79aacf2877a52657a723f9022764588034c83d133a18b51172112aa89ba92070d71f1ce5b8f4bafa4110af3ea61bf2f3a8c44a7b9258250
|
||||
EBUILD bfg-1.12.13.ebuild 633 SHA256 b21bb89a642b0c95bbfe109d03f9b7dc5401fd0e1118c5202b3108520be04174 SHA512 b2b7f275238489d67ea8b518d9b08b5e1abb06a619ac81aaf689860a003e5bbac6b662976ae793c64a45878525136d1a25967350e5eddeee341674110bf073ee WHIRLPOOL 84e9f752931a019b3b61ed1fb462fba6b1a04bb83c0cf3bf49b0842049dc48f9a8bd4739a855c2d4f3498ea1f0a97b4ae62a3463204fb092a7b8119439ecddd9
|
||||
EBUILD bfg-1.12.14.ebuild 633 SHA256 b21bb89a642b0c95bbfe109d03f9b7dc5401fd0e1118c5202b3108520be04174 SHA512 b2b7f275238489d67ea8b518d9b08b5e1abb06a619ac81aaf689860a003e5bbac6b662976ae793c64a45878525136d1a25967350e5eddeee341674110bf073ee WHIRLPOOL 84e9f752931a019b3b61ed1fb462fba6b1a04bb83c0cf3bf49b0842049dc48f9a8bd4739a855c2d4f3498ea1f0a97b4ae62a3463204fb092a7b8119439ecddd9
|
||||
MISC ChangeLog 3340 SHA256 8546e1ef6f3f7b08d10adc57acd58522228e9cf27f4bce95e87f08dc25ddd11e SHA512 a06a8e2bdc7267c1e09b3a084809dbe8c3bb2be7e5ae810007c2182fdb0c86cbde1c437a98a9bcc293d69ad384bc621c472fda04fb4b92142c1b547bdfdfb1bf WHIRLPOOL 0c33ce966c50b79c4c787a8ac56d5b985cbfdcf5da543f40871f90ce9963bd96e457e1b6a690640a89164d6d4138bddc404951681a570750c6b0e3873ec04c6c
|
||||
MISC ChangeLog-2015 1496 SHA256 0043805aba66cd40a207c0fd63992dad526138e4e28974c10aea42b8d90f8a58 SHA512 997cf03967d9dc1884677c9ccd9c1c68f21e0a6fadb2de2b022c09fddaa5429f1f39e83e92e5831e32f8d1ca06f7d89aa11a9cfa645fd78f342ff976490ff85e WHIRLPOOL 3be3541f14d79f440ba8670e0b2f9d882ca2f17990797a465245c9c36d3028dfe0af5871b0e78ed9c614111aaf19ea452abca4f2140b5bffce6ad91c789c62f0
|
||||
MISC metadata.xml 246 SHA256 92d5540a2f0904365eafb8ce96e6320cfc14e08f22e124d721521ef77ddbf6f6 SHA512 ca07e0609b698c2b53062b71008fee49b91af78fc2ef25997311e37985d79283d333f5b842257a16e7dee36ce34c07d405e1f93742f341f10ca70904e9f9a4e6 WHIRLPOOL d15a33750d6ada278082c675223992c98cccf98af92ec04ab5b908816381ab6965714988fac87a795265973c6fb81a588a08c385ac6fb66046d14d119e0c236c
|
||||
|
@ -0,0 +1,32 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit java-pkg-2
|
||||
|
||||
DESCRIPTION="a faster alternative to git-filter-branch for removing bad data from git repos"
|
||||
HOMEPAGE="http://rtyley.github.io/bfg-repo-cleaner/"
|
||||
SRC_URI="http://repo1.maven.org/maven2/com/madgag/${PN}/${PV}/${P}.jar"
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
RDEPEND=">=virtual/jre-1.6"
|
||||
|
||||
S=${WORKDIR}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
java-pkg-2_src_prepare
|
||||
}
|
||||
|
||||
src_unpack() { :; }
|
||||
src_compile() { :; }
|
||||
|
||||
src_install() {
|
||||
java-pkg_newjar "${DISTDIR}"/${P}.jar
|
||||
java-pkg_dolauncher ${PN}
|
||||
}
|
@ -1,143 +1,127 @@
|
||||
The RAR Archiver
|
||||
EULA (End User License Agreement) for use and distribution
|
||||
|
||||
|
||||
The RAR archiver is distributed as try before you buy. This means:
|
||||
|
||||
1. All copyrights to RAR are exclusively owned by the author
|
||||
- Alexander Roshal.
|
||||
|
||||
2. Anyone may use this software during a test period of 40 days.
|
||||
Following this test period of 40 days or less, if you wish to
|
||||
continue to use RAR, you must purchase a license.
|
||||
|
||||
3. There are 2 basic types of licenses issued for RAR, these are:
|
||||
|
||||
a. A single computer usage license. The user purchases one license
|
||||
to use RAR archiver on one computer.
|
||||
|
||||
Home users may use their single computer usage license on
|
||||
all computers which are in property of the license owner.
|
||||
|
||||
Business users require one license per computer RAR is
|
||||
installed on.
|
||||
|
||||
b. A multiple usage license. The user purchases a number of usage
|
||||
licenses for use, by the purchaser or the purchaser's employees
|
||||
on the same number of computers.
|
||||
|
||||
In a network (server/client) environment you must purchase
|
||||
a license copy for each separate client (workstation)
|
||||
on which RAR is installed, used, or accessed. A separate
|
||||
license copy for each client (workstation) is needed regardless
|
||||
of whether the clients (workstations) will use RAR simultaneously
|
||||
or at different times. If for example you wish to have
|
||||
9 different clients (workstations) in your network with access
|
||||
to RAR, you must purchase 9 license copies.
|
||||
|
||||
A user who purchased a RAR license, is granted a non-exclusive
|
||||
right to use RAR on as many computers as defined by the licensing
|
||||
terms above according to the number of licenses purchased,
|
||||
for any legal purpose. The licensed RAR software may not be rented
|
||||
or leased, but may be permanently transferred, in it's entirety,
|
||||
if the person receiving it agrees to the terms of this license.
|
||||
If the software is an update, the transfer must include the update
|
||||
and all previous versions.
|
||||
|
||||
4. Licensing for RAR on mobile devices (U3 stick, USB stick,
|
||||
external harddrive):
|
||||
|
||||
In addition to the terms stated above following licensing terms
|
||||
apply to the licensing of RAR on mobile devices.
|
||||
|
||||
a. A single computer usage license. Home users may use their
|
||||
single computer usage license on all mobile devices which are
|
||||
in property of the license owner.
|
||||
|
||||
Business users may use their single computer usage license
|
||||
on one computer and one mobile device.
|
||||
|
||||
b. A multiple usage license. Users who own a multiple usage
|
||||
license may use that license on the same number of mobile
|
||||
devices as number of computers (clients) the license was
|
||||
purchased for.
|
||||
|
||||
The number of computers/devices running RAR at any time is
|
||||
limited to the number of licenses purchased according to the
|
||||
licensing terms above.
|
||||
|
||||
A licensed version of RAR on a mobile device may be used by
|
||||
the purchaser or the purchaser's employees, on several computers
|
||||
consecutively.
|
||||
|
||||
There are no additional license fees, apart from the cost of
|
||||
purchasing a license, associated with the use of RAR from
|
||||
a mobile device on computers that are not owned by the owner
|
||||
of the RAR license.
|
||||
|
||||
5. The RAR/WinRAR unlicensed trial version may be freely distributed,
|
||||
with exceptions noted below, provided the distribution package is not
|
||||
modified in any way.
|
||||
|
||||
a. No person or company may distribute separate parts of the package
|
||||
with the exception of the UnRAR components, without written
|
||||
permission of the copyright owner.
|
||||
|
||||
b. The RAR/WinRAR unlicensed trial version may not be distributed
|
||||
inside of any other software package without written permission
|
||||
of the copyright owner.
|
||||
|
||||
c. Hacks/cracks, keys or key generators may not be included on the
|
||||
same distribution.
|
||||
|
||||
6. To buy a license please see order.htm for details.
|
||||
|
||||
7. THE RAR ARCHIVER IS DISTRIBUTED "AS IS". NO WARRANTY OF ANY
|
||||
KIND IS EXPRESSED OR IMPLIED. YOU USE AT YOUR OWN RISK.
|
||||
NEITHER THE AUTHOR NOR THE AGENTS OF THE AUTHOR WILL BE LIABLE
|
||||
FOR DATA LOSS, DAMAGES, LOSS OF PROFITS OR ANY OTHER KIND OF LOSS
|
||||
WHILE USING OR MISUSING THIS SOFTWARE.
|
||||
|
||||
8. There are no additional license fees, apart from the cost of
|
||||
purchasing a license, associated with the creation and distribution
|
||||
of RAR archives, volumes, self-extracting archives or self-extracting
|
||||
volumes. Legally registered owners may use their copies of RAR/WinRAR
|
||||
to produce archives and self-extracting archives and to distribute
|
||||
those archives free of any additional RAR royalties.
|
||||
|
||||
9. You may not use, copy, emulate, clone, rent, lease, sell, modify,
|
||||
decompile, disassemble, otherwise reverse engineer, or transfer
|
||||
the licensed program, or any subset of the licensed program, except
|
||||
as provided for in this agreement. Any such unauthorized use shall
|
||||
result in immediate and automatic termination of this license and
|
||||
may result in criminal and/or civil prosecution.
|
||||
|
||||
7zxa.dll library is copyrighted by Igor Pavlov and distributed
|
||||
under LGPL Version 3 license ( http://www.gnu.org/licenses/lgpl.html ).
|
||||
You can modify portions of 7zxa.dll and perform reverse engineering
|
||||
solely for purpose of debugging such 7zxa.dll modifications according
|
||||
to LGPL. Source code of 7zxa.dll is available on www.7-zip.org.
|
||||
|
||||
Neither RAR binary code, WinRAR binary code, UnRAR source or UnRAR
|
||||
binary code may be used or reverse engineered to re-create the RAR
|
||||
compression algorithm, which is proprietary, without written
|
||||
permission of the author.
|
||||
|
||||
RAR and WinRAR keyfiles may not be distributed, except as stated
|
||||
in item 3) above, outside of the area of legal control of the
|
||||
person or persons who purchased the original license, without
|
||||
written permission of the copyright holder.
|
||||
|
||||
All rights not expressly granted here are reserved by Alexander Roshal.
|
||||
|
||||
10. Installing and using RAR/WinRAR signifies acceptance of these terms
|
||||
and conditions of the license.
|
||||
|
||||
11. If you do not agree with the terms of this license you must
|
||||
remove RAR/WinRAR files from your storage devices and cease to
|
||||
use the product.
|
||||
|
||||
Thank you for using the original RAR.
|
||||
|
||||
Alexander L. Roshal
|
||||
|
||||
END USER LICENSE AGREEMENT
|
||||
|
||||
The following agreement regarding RAR (and its Windows version - WinRAR)
|
||||
archiver - referred to as "software" - is made between win.rar GmbH -
|
||||
referred to as "licensor" - and anyone who is installing, accessing
|
||||
or in any other way using the software - referred to as "user".
|
||||
|
||||
1. The author and holder of the copyright of the software is
|
||||
Alexander L. Roshal. The licensor and as such issuer of the license
|
||||
and bearer of the worldwide exclusive usage rights including the rights
|
||||
to reproduce, distribute and make the software available to the public
|
||||
in any form is win.rar GmbH, Marienstr. 12, 10117 Berlin, Germany.
|
||||
|
||||
2. The software is distributed as try before you buy. This means that
|
||||
anyone may use the software during a test period of a maximum of 40 days
|
||||
at no charge. Following this test period, the user must purchase
|
||||
a license to continue using the software.
|
||||
|
||||
3. The software's trial version may be freely distributed, with exceptions
|
||||
noted below, provided the distribution package is not modified in any way.
|
||||
|
||||
a. Nobody may distribute separate parts of the package, with the exception
|
||||
of the UnRAR components, without written permission.
|
||||
|
||||
b. The software's unlicensed trial version may not be distributed
|
||||
inside of any other software package without written permission.
|
||||
The software must remain in the original unmodified installation
|
||||
file for download without any barrier and conditions to the user
|
||||
such as collecting fees for the download or making the download
|
||||
conditional on the user giving his contact data.
|
||||
|
||||
c. The unmodified installation file of WinRAR must be provided pure
|
||||
and unpaired. Any bundling is interdicted. In particular the use
|
||||
of any install or download software which is providing any kind
|
||||
of download bundles is prohibited unless granted by win.rar GmbH
|
||||
in written form.
|
||||
|
||||
d. Hacks/cracks, keys or key generators may not be included, pointed to
|
||||
or referred to by the distributor of the trial version.
|
||||
|
||||
e. In case of violation of the precedent conditions the allowance
|
||||
lapses immediately and automatically.
|
||||
|
||||
4. The trial version of the software can display a registration reminder
|
||||
dialog. Depending on the software version and configuration such dialog
|
||||
can contain either a predefined text and links loaded locally
|
||||
or a web page loaded from the internet. Such web page can contain
|
||||
licensing instructions or other materials according to the licensor's
|
||||
choice, including advertisement. When opening a web page, the software
|
||||
transfers only those parameters which are technically required
|
||||
by HTTP protocol to successfully open a web page in a browser.
|
||||
|
||||
5. The software is distributed "as is". No warranty of any kind is expressed
|
||||
or implied. You use at your own risk. Neither the author, the licensor
|
||||
nor the agents of the licensor will be liable for data loss, damages,
|
||||
loss of profits or any other kind of loss while using or misusing
|
||||
this software.
|
||||
|
||||
6. There are 2 basic types of licenses issued for the software. These are:
|
||||
|
||||
a. A single computer usage license. The user purchases one license to
|
||||
use the software on one computer.
|
||||
|
||||
Home users may use their single computer usage license on all
|
||||
computers and mobile devices (USB drive, external hard drive, etc.)
|
||||
which are property of the license owner.
|
||||
|
||||
Business users require one license per computer or mobile device
|
||||
on which the software is installed.
|
||||
|
||||
b. A multiple usage license. The user purchases a number of usage
|
||||
licenses for use, by the purchaser or the purchaser's employees
|
||||
on the same number of computers.
|
||||
|
||||
In a network (server/client) environment the user must purchase
|
||||
a license copy for each separate client (workstation) on which
|
||||
the software is installed, used or accessed. A separate license copy
|
||||
for each client (workstation) is needed regardless of whether
|
||||
the clients (workstations) will use the software simultaneously
|
||||
or at different times. If for example you wish to have 9 different
|
||||
clients (workstations) in your network with access to RAR,
|
||||
you must purchase 9 license copies.
|
||||
|
||||
A user who purchased a license, is granted a non-exclusive right to use
|
||||
the software on as many computers as defined by the licensing terms above
|
||||
according to the number of licenses purchased, for any legal purpose.
|
||||
|
||||
7. There are no additional license fees, apart from the cost of the license,
|
||||
associated with the creation and distribution of RAR archives,
|
||||
volumes, self-extracting archives or self-extracting volumes.
|
||||
Owners of a license may use their copies of the software to produce
|
||||
archives and self-extracting archives and to distribute those archives
|
||||
free of any additional royalties.
|
||||
|
||||
8. The licensed software may not be rented or leased but may be permanently
|
||||
transferred, in its entirety, if the recipient agrees to the terms of
|
||||
this license.
|
||||
|
||||
9. To buy a license, please read the file order.htm provided with
|
||||
the software for details.
|
||||
|
||||
10. You may not use, copy, emulate, clone, rent, lease, sell, modify,
|
||||
decompile, disassemble, otherwise reverse engineer, or transfer
|
||||
the licensed software, or any subset of the licensed software,
|
||||
except as provided for in this agreement. Any such unauthorized use
|
||||
shall result in immediate and automatic termination of this license
|
||||
and may result in criminal and/or civil prosecution.
|
||||
|
||||
Neither RAR binary code, WinRAR binary code, UnRAR source
|
||||
or UnRAR binary code may be used or reverse engineered to re-create
|
||||
the RAR compression algorithm, which is proprietary, without written
|
||||
permission.
|
||||
|
||||
The software may be using components developed and/or copyrighted
|
||||
by third parties. Please read "Acknowledgments" help file topic
|
||||
for WinRAR or acknow.txt text file for other RAR versions for details.
|
||||
|
||||
11. This License Agreement is construed solely and exclusively under
|
||||
German law. If you are a merchant, the courts at the registered office
|
||||
of win.rar GmbH in Berlin/Germany shall have exclusive jurisdiction
|
||||
for any and all disputes arising in connection with this License
|
||||
Agreement or its validity.
|
||||
|
||||
12. Installing and using the software signifies acceptance of these terms
|
||||
and conditions of the license. If you do not agree with the terms of this
|
||||
license, you must remove all software files from your storage devices
|
||||
and cease to use the software.
|
||||
|
@ -1,4 +1,6 @@
|
||||
DIST fontawesome-4.6.3.tar.gz 2526615 SHA256 669fb1210c64eda3f998c86941641f1bcd0af4450643daf8841cb62d2b6c71a4 SHA512 ecf78028e7948e89d352c7f0de413198d95c235e36f49c24146d246012145ac62e0f4d1148655ef88be15710340688b2f3cc55247cfb6742a41400422f88d69f WHIRLPOOL 056ad3e1970d4eef4eaf2294bc3b5a0f02fb3de0145826ff10505e7bed851de4385629e10829675f94dd1a8ed49b4cdcaaabbc3c466c88f3bb094b5bb414629f
|
||||
DIST fontawesome-4.7.0.tar.gz 2672776 SHA256 de512ba0e1dead382bbfce372cde74b3f18971d876fffb635ee9333f0db05d43 SHA512 913e5eec2211111e9601c92059745344766f4c3a6f3563cbc6f8a5f3850a0101bab8f3f992a97c6f1c264a2bbb5163f3feecc6b3f64fcb22c9592d2d38cc777d WHIRLPOOL 46fec87ce46bdbba6d5bf3a41bc7f2ffd76021eaa6ae62fb66183417d9685e683e6577f2e58d965320d013a2ca4a6f2ec69e65500c606a27e07f2d2ab857424f
|
||||
EBUILD fontawesome-4.6.3.ebuild 605 SHA256 6c4b1c9ba37e102fd39bd5d644c3e90c0a935c48e5ca19dd5dca6b1837e53059 SHA512 893338bc6f3521516efdd15912821ba6c2a91410a039fa518336337a35a1d891d7c863df7aa1bd31f0ec35bd4db838bf07f46803663f71e762d434689261c10a WHIRLPOOL b148635aed6bd66f40e4a56f913b4d2171b8f6f20dc72326802e314d82c9663a708cc9481d8e9b79376aa4c1b75606215ae56e2d75edb2501eb50a396c10e8fb
|
||||
MISC ChangeLog 760 SHA256 a2ccc5f90b437a40299a4e1774bc8faeb0377a677fc3dcbcecd8bbf21fa07bdb SHA512 652a91ba9b40fb00da19ca3774a991cfa8e964e91f9fb0d72488e67c573e00bec073b1de3849e9b09f0ab5dbcd327cfffed20b260d185cb7b7d1de0cb40f849e WHIRLPOOL d72e4f749f76548d56cf551d95800014b46adbb7bc351f994873ee4286294170352b88a0b8f2514865401d634994ab525a1fa5c8144c53dc9608a1a255d0565e
|
||||
EBUILD fontawesome-4.7.0.ebuild 610 SHA256 e0ff464fab1ece0011617b78758890976b78e8627b2a75cd9223d996f536f3b6 SHA512 e9bfa91a7ce3d76e7bcdc08ac8de1015330a337d4d858808836268d0245cc1d9e78a9524c95a0c989f044d670f3232cfb10cdbb9d4b6f5aa55c824f2d9e9bafb WHIRLPOOL aa7aa56044307f8578020d7cf1a9102125a70a0e8517763095ed583f8fe6537776072aaac1286da9c558f5903ee231fc2cbb9d477e49caf6caada460032949db
|
||||
MISC ChangeLog 997 SHA256 88152f85d6dab1264f66518751eb94c5183a537d66f11641ec019a1d594c8eb5 SHA512 7c10e1b99b5dd5086bd939ffb9d2398da22f24a54ca2ee2c66942984fd525914f4581a04f516868927983226ea8d5b8de69632128b196ad724ffa723ed050773 WHIRLPOOL 6966f4a48a786f6e7a6d564fd986304917a051fb879ada1a8002ddb7ed5662ae834c9433d4799e75a615b50cacd809a12300ad741460a05f6d2db4e003e7d782
|
||||
MISC metadata.xml 621 SHA256 965605a85d30e6d2dd8524088c02f72150f1f9214644eec7b006cf66e457835a SHA512 5709fc280c0d0d1fd5c266cf4f4985446682ac955fcb94775298e4c2fe0c352d94a6b863c3e0b1b73aa70ba5c815460f786deae7cc43ccdce6cdf7950246910a WHIRLPOOL 2d3774977a6df66a1a4a631df66dc646f33ee220b8ecd3c9e4d1f78c728b9118f4098b51f5ed720b1608fc1523e9c9fee6c4c8fce8316dc8c82e4427202f1bd0
|
||||
|
@ -0,0 +1,33 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit font
|
||||
|
||||
REPO_PN="Font-Awesome"
|
||||
|
||||
DESCRIPTION="The iconic font"
|
||||
HOMEPAGE="http://fontawesome.io"
|
||||
SRC_URI="https://github.com/FortAwesome/${REPO_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="CC-BY-3.0 OFL-1.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
|
||||
IUSE="+otf +ttf"
|
||||
|
||||
REQUIRED_USE="|| ( otf ttf )"
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND=""
|
||||
|
||||
S="${WORKDIR}/${REPO_PN}-${PV}"
|
||||
|
||||
FONT_S="${S}/fonts"
|
||||
FONT_SUFFIX=""
|
||||
|
||||
src_configure() {
|
||||
use otf && FONT_SUFFIX+="otf "
|
||||
use ttf && FONT_SUFFIX+="ttf "
|
||||
}
|
@ -1,9 +1,11 @@
|
||||
DIST Image-ExifTool-10.25.tar.gz 4161833 SHA256 edc2de5848375f7ccb88cd7d0260c98c4c581ffd509c4c249949f0cd1f522dd0 SHA512 6f3c9e432198a0be00efed1dc6044ea1be330099ec3d47bab8e761230c8fadc48bc26571202aea16e82890a9315ea752f25e06a2c7e5fd6d7690387e681870c7 WHIRLPOOL 49f11b61ada48c3d4d3d36d79f110a248c535bb8eb8625cdd7f5c4ef714c94676369b765abe63076589ea05b7c5cbf7ee5401c1c93e344cf704e26a091c5d464
|
||||
DIST Image-ExifTool-10.27.tar.gz 4176031 SHA256 344f201a37f61a9f02ed7831cd86c89ccb14ea163ea77e129f094dc92e4b8852 SHA512 2f90c36afb7d870e4ea39e598afd15ab6183645b53d760cd2b1c883e424df22e1e50d4e2851abe8bf54a4e04a015597ca947053f9d1597f0709e6c0ff342f1c2 WHIRLPOOL fee344bc2354f16cb303a24f7f6b530d28fc4b4823b9cf11adbc2215c18c2a2e5c2608cfeeb5732e420b64f8cefbc35fb4c49a714a0da87a0e8313729c4291d2
|
||||
DIST Image-ExifTool-10.28.tar.gz 4252944 SHA256 18cee8c0fb9331f63b883a5e5e42f5b40f5e30696289c00f1fe9e5e536f90bef SHA512 8fa37bdb5b52ea657dcdd86468cbce4ad113ef3afe7c52ca30b9ace6368d0dfe4bead69cd799bd403fd3d3dd8f7fdb24f8015eee19fec6d852bf8186b66f9b99 WHIRLPOOL c38fa5b29a4d82a74477acd593b968f8986098b02c5114093b497711f8669140a51040c358cf2c4665ce78f57609e67670fc8a3699eb31c15a58e5ba445ec9d3
|
||||
DIST Image-ExifTool-10.31.tar.gz 4201613 SHA256 192884639ff4934ecdb9edc107a0b9f1a49c9afadf457bae8fa97e15816dc1ea SHA512 6ae905be7f4670d9110d6dc9b7248b25a8aec50db89286aa85cb0bcf2de0a3f4cfabc89e32abd5cabcaa4da34d26b4efe3ed64fb7678076ea5999219502f70b4 WHIRLPOOL 73140eb16a5837e0784ef09ca8403d607070e53c22e4a182a3d381a926f24cf1b58082326ddc615dd2cc802d17377f12e329399bf6b757defb87b927eae752fa
|
||||
EBUILD exiftool-10.25.ebuild 537 SHA256 a9896dd8a4c2ab401dc113ed2baa6cf272c6e6ac5658ccf1ab9607d060ca369e SHA512 77dc45962edc0c998a4b056c161b883776687fd06174709e206ade90f357a8168761fdcbe7b2d6530be91c315e77ba1973e6ee698eb0777cd8330b99a3afb291 WHIRLPOOL 93ae23dd692d3d90a85748cc45d0f120163a0f341883b146b2dd5694a6248d897fb03453de5d21484d29ae6b88050f846d2e6cacc917ed59407d5f0826258303
|
||||
EBUILD exiftool-10.27.ebuild 541 SHA256 36dedd1f8401a11813a3ac376573af9a8cb25b56be3e263a6625092d3e6937c0 SHA512 f85d85c7ed72d0d595cc56526c12de5ff65cdb4374953fea2848cd6be4c6aaf6d8bec67b74862382d304a932a7bfa8899ee61dcaeb7da9e02dec98fa300efa84 WHIRLPOOL 29c4aa3acddf7148eee9c8489b068cffd08352665b2e6c6161d7e7005a3a5b038a7f09b45f07b5cfe0f387636447fd2ea18920676b9a92eb14a952ef39698bee
|
||||
EBUILD exiftool-10.28.ebuild 541 SHA256 36dedd1f8401a11813a3ac376573af9a8cb25b56be3e263a6625092d3e6937c0 SHA512 f85d85c7ed72d0d595cc56526c12de5ff65cdb4374953fea2848cd6be4c6aaf6d8bec67b74862382d304a932a7bfa8899ee61dcaeb7da9e02dec98fa300efa84 WHIRLPOOL 29c4aa3acddf7148eee9c8489b068cffd08352665b2e6c6161d7e7005a3a5b038a7f09b45f07b5cfe0f387636447fd2ea18920676b9a92eb14a952ef39698bee
|
||||
EBUILD exiftool-10.31.ebuild 541 SHA256 36dedd1f8401a11813a3ac376573af9a8cb25b56be3e263a6625092d3e6937c0 SHA512 f85d85c7ed72d0d595cc56526c12de5ff65cdb4374953fea2848cd6be4c6aaf6d8bec67b74862382d304a932a7bfa8899ee61dcaeb7da9e02dec98fa300efa84 WHIRLPOOL 29c4aa3acddf7148eee9c8489b068cffd08352665b2e6c6161d7e7005a3a5b038a7f09b45f07b5cfe0f387636447fd2ea18920676b9a92eb14a952ef39698bee
|
||||
MISC ChangeLog 7482 SHA256 f5e24784655a9b571396fe820004a98963aa432d9aa3ba196a78038ebab6cd36 SHA512 4ecef93606392a1bcb061c2e6fff1d564bde55e274b2e15a2c1f266c289442f6f1ae2fca6c4314d741f06b58cc536e5bc167e0e8fec983d453e0fe87520cd751 WHIRLPOOL d1c3ab07c1d05d2c36777ef19efa5f8c28880464dfe4f42a66d6eb48beeee5810c07ffe2fcd34df49f896cbd39404585fe63175d34fceaa5415f4420d70e5ed1
|
||||
MISC ChangeLog-2015 21462 SHA256 6e383b131d092c798a8705c06687fb1d4ab6b8343d775366814f5709e3a3b42d SHA512 c48d7c80bc283e061b10ec73ecbd0a2218ef034b9cc7095376dafe12df8cf634e44c2391f15b093ca852e2071fec7acd0187c2d2e809c90ab99f08321e32eeba WHIRLPOOL 5469c93d15acd8ae441354ef227da7708d88c4a65c0677bb9ace69c9eeff410b5c5e271cc1267b6f5f1a776a83ad1c72e8bc4b3afdca2a6bed8b29ff5c5a8454
|
||||
MISC metadata.xml 10188 SHA256 9a875147a2a9768a29971da840d7fe38af0abb3eb25f1ce15e6a716dacdebfa8 SHA512 987ca7e8fdf9e00786b401327bab96ceee5238749027652dfa2c0fb2338a7651dd6da1336b947cd195d20e6cec107dbcbf3b16ab31d8df11a8c82922cac44749 WHIRLPOOL 982a1a871dbeb2ef31bfe5dc3af3a2bb890fce9e25371ae23999d054e1704cdee2d3a35e92b0b631fc80f155522d3f3c39d7d27e7cabcd476334491c02f0117f
|
||||
|
@ -0,0 +1,23 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
DIST_NAME=Image-ExifTool
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Read and write meta information in image, audio and video files"
|
||||
HOMEPAGE="http://www.sno.phy.queensu.ca/~phil/exiftool/ ${HOMEPAGE}"
|
||||
SRC_URI="http://www.sno.phy.queensu.ca/~phil/exiftool/${DIST_P}.tar.gz"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~x64-macos"
|
||||
IUSE="doc"
|
||||
|
||||
SRC_TEST="do"
|
||||
|
||||
src_install() {
|
||||
perl-module_src_install
|
||||
use doc && dodoc -r html/
|
||||
}
|
@ -1,8 +1,10 @@
|
||||
AUX libextractor-1.3-giflib-5.patch 1135 SHA256 345106e64e86b7e45917f15a9baa8c6464fc1d7336b040e6e44871bf2a567348 SHA512 cb940ef85060daa75dd680cb84332a2cf2b0885de450135d0de246eee8df33b0d9f49ec4ac93ab2268296748eff2f47385e1ae1bd9ad82b908a34d456793d6ec WHIRLPOOL 7424b02ea01869c4a04805ccf53517deb1b31a022d9278f889d1b6550747688fe0d5a6c504c5c67bb8b2fddc399c599a0c76576ae5703484acfbbd5623ebda82
|
||||
AUX libextractor-1.3-ffmpeg-2.9.patch 1884 SHA256 2334516b13e64b798c79c2531478fa590f291bf05a26fd2648271e3ca7a41b2a SHA512 219d155bae9e4d8ab868373309e5642a3ae3dad2d0f5afce689a9ec46d6d2fe57966319e454e86af96b473add7f01b3e55115121dae7a703f10df18f6d85f00b WHIRLPOOL 9221b640a83e61d48e6fa46e3276be35cce66ad415f872adaa511086ceccc919dbaffc3e83fe88a0703d04beb2e5b8b5223fa939790428932b0ac26d32ec5af1
|
||||
AUX libextractor-1.3-giflib-5.patch 1139 SHA256 ea0201c60e8bea4677de5de8f75c6672f3293e8585d5a32fbfbf3e67133c102a SHA512 4aaed95a427ebcff58433673e5469061a87a1eb11665896660150d863ef52c0c5c657e5ab8a07d4475861f3b53f8772d3b72ecd7401d8f2eb11174b6255e12d7 WHIRLPOOL 4da6891bbbdf6d8d30d95dcc0676b2b25e1b7af4814f7582f7dd7a4f64f68bd8d021a038c9b6591793a91f9f905bc8e9f60b608748e84dac03b6472206327833
|
||||
DIST libextractor-1.0.1.tar.gz 7894265 SHA256 3251cbb4324defee1e641de44afb11156b13d676e27e01e031c6e06d904e1ece SHA512 616db2880cfc3b8974107b24346472e5650c5ce4b7580c4b78bcbff41bb1eea313a732891d1eced74a7d90518be7da481859dff98365212cd728d0d19447619c WHIRLPOOL c83561506e3f98f5b212bea23bce44ed42287fde03dbcf2ab2f5cec4ff37a1dba2fc9a2cf1beb984e96518b12ae5ac4561a2acc3b949acb9307bd26eda9006d5
|
||||
DIST libextractor-1.3.tar.gz 7942021 SHA256 868ad64c9a056d6b923d451d746935bffb1ddf5d89c3eb4f67d786001a3f7b7f SHA512 38ed47e5e5f50ddf216408f698a104900baa3b03cc8a81a14e63afd30b3e3922acda17363d88d9ba1356ebf70287c8a5152ff6933a36ec1042ca0d832218d45d WHIRLPOOL aeb8305d9efbe6e52632bb7281ea6df26c417c8bbe1398fdc0106653e3b4109095ea734c84f92ede03bd6406c69b362ee4590a0c964c550d8878f890b32b52d9
|
||||
EBUILD libextractor-1.0.1.ebuild 3256 SHA256 ed2b92a68217531af25aa926012ce131d1ea3e9a0013c888894518bc954973a6 SHA512 e0b812ed84139cca4f8d66cdacb72a2ab1dcea78890868afa6d5510f00c97d8a11946c0dcb90da57fccd07c5b078849f48361f83ae4d6140e949070a932f0cf6 WHIRLPOOL 23bcfd523cb694ea70a12d740ca2a396efb5d85e082daf6a6626fce3c6abb12491ccfbb3d18b943c901db4788e9176566fc3a6c30da7b6c46b863ea3285b331c
|
||||
EBUILD libextractor-1.3-r1.ebuild 2814 SHA256 4118a66eecb065636d24e3f197395258cb1a6c4c411fef6156bbf2a78b27f43a SHA512 4acedc13dc6ccfab512269e4acba9c189f9a882faa94f78cb7aaf025b22f4c009e5560f499308542f256d715dde0d71d83581b825b2dd42d934a84f8b7d32a3a WHIRLPOOL 11607cf81cfe0cb25289430387231e59895a769d83224e4b88f8b9a5e47e4f7aae7ef22626d2af7f776b916122fdc13ea6860e822258c87f996e12220aff8cf8
|
||||
EBUILD libextractor-1.3.ebuild 2966 SHA256 5e8ee59fd6129d3e8ad82a632c0864f450250d298b86d5f4b199304ba1910adc SHA512 f3a3ef29950aff579123fcb5205c898bff7f4f40b174c3d5404b017087bc3e7d763961872f44c66b5e792dcba34e015128e6d287e438e89b0b8e28499ab5bc90 WHIRLPOOL dd47f728c850c9a6616abe04c038b43456ad3fd9786cb4c69dd39872cefcbf1a139d605ff6d746dd3d0664461c5f4687392655e84b69d87826dbe4a154fe1640
|
||||
MISC ChangeLog 3495 SHA256 5a0c9c1084eaac2a09f5ba221d173b2cb94936df6079fbdb2c6df9e577cf0ae2 SHA512 07dd11ef5cb0bd34ca962e05c2e93c81a413f8f086c32f6d8bbe13b21fc9c863e21a54df901d7105c469eecd30d58e9a486e2a3dbf3ce0399ee846dac30cd5bc WHIRLPOOL 80947b2075d4e1d247d15e5ae6b1a9baae7ba63975ca81ccec9e443f12dd600bda6caa2421af3af38da9c9748fee138a4da73775cdc59096421d71889ea2a260
|
||||
MISC ChangeLog 3984 SHA256 98e2826e4c8a12173872e37a00aaee5b3ffdc7d991dd5b1942156df5808a9357 SHA512 6456231615ebcef310304149859aaada1f8460242b67c8955ad22d7fb942afe4dbf682eb38c02e10013dec58ccdb5cef3ccdf29a46f7532206b92aeb0bf54769 WHIRLPOOL 96c5688858f9473a16942e2d9a45e59113f8f4d8f82dc8285d9daf85e3bdeef209ad77086a152d7f7a860d8368d17baf3684393056d72745ff6c188032f42850
|
||||
MISC ChangeLog-2015 16007 SHA256 7a052a72c78cb8fa8cf63a1531d5ea7a7b927568e4436928de80f073da9ff0ff SHA512 c90bdd96fc6f451b8149523c1b0b1b4ecb31ca3d01f943cf6be70c43e8a731e44c95f26b3e6c718101977bce84ec17b579dd1a7c59bda2a5568ad6b11339f4b5 WHIRLPOOL ba559da2dec27cf9ed639b8992d42bac8b68996deaf0f44c98165b425c768a9b75f2fb419b3cae127ec6542b3630243e6efcb7b930dead7e5a39b3cc5556782e
|
||||
MISC metadata.xml 520 SHA256 3c50055e84f9b4041fe4874b6f7d06c8f70d8c692fba72c0b84ea05fe044aa31 SHA512 6de14a41b912e26fd01d4e468ae5de4893c054d43ad90891a92aa7dc267498d754607251210f3b6ddd4e7b4e739478494ec827a0717a4ebaa5313e83d7fa17ff WHIRLPOOL bff2b6d7ca814eeafaa8ccfda5e901f6d1030186c09dc59034fff19aec60c4c1ec570f10cb600627ae4e89f90d776edfb7600ed01a894db0e441a976783e3d44
|
||||
|
@ -0,0 +1,52 @@
|
||||
Description: Replace deprecated FFmpeg API
|
||||
Author: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
|
||||
Last-Update: <2015-11-28>
|
||||
|
||||
--- libextractor-1.3.orig/src/plugins/thumbnailffmpeg_extractor.c
|
||||
+++ libextractor-1.3/src/plugins/thumbnailffmpeg_extractor.c
|
||||
@@ -153,7 +153,7 @@ seek_cb (void *opaque,
|
||||
static size_t
|
||||
create_thumbnail (int src_width, int src_height,
|
||||
int src_stride[],
|
||||
- enum PixelFormat src_pixfmt,
|
||||
+ enum AVPixelFormat src_pixfmt,
|
||||
const uint8_t * const src_data[],
|
||||
int dst_width, int dst_height,
|
||||
uint8_t **output_data,
|
||||
@@ -189,7 +189,7 @@ create_thumbnail (int src_width, int src
|
||||
if (NULL ==
|
||||
(scaler_ctx =
|
||||
sws_getContext (src_width, src_height, src_pixfmt,
|
||||
- dst_width, dst_height, PIX_FMT_RGB24,
|
||||
+ dst_width, dst_height, AV_PIX_FMT_RGB24,
|
||||
SWS_BILINEAR, NULL, NULL, NULL)))
|
||||
{
|
||||
#if DEBUG
|
||||
@@ -214,7 +214,7 @@ create_thumbnail (int src_width, int src
|
||||
return 0;
|
||||
}
|
||||
if (NULL == (dst_buffer =
|
||||
- av_malloc (avpicture_get_size (PIX_FMT_RGB24, dst_width, dst_height))))
|
||||
+ av_malloc (avpicture_get_size (AV_PIX_FMT_RGB24, dst_width, dst_height))))
|
||||
{
|
||||
#if DEBUG
|
||||
fprintf (stderr,
|
||||
@@ -229,7 +229,7 @@ create_thumbnail (int src_width, int src
|
||||
return 0;
|
||||
}
|
||||
avpicture_fill ((AVPicture *) dst_frame, dst_buffer,
|
||||
- PIX_FMT_RGB24, dst_width, dst_height);
|
||||
+ AV_PIX_FMT_RGB24, dst_width, dst_height);
|
||||
sws_scale (scaler_ctx,
|
||||
src_data,
|
||||
src_stride,
|
||||
@@ -272,7 +272,7 @@ create_thumbnail (int src_width, int src
|
||||
}
|
||||
encoder_codec_ctx->width = dst_width;
|
||||
encoder_codec_ctx->height = dst_height;
|
||||
- encoder_codec_ctx->pix_fmt = PIX_FMT_RGB24;
|
||||
+ encoder_codec_ctx->pix_fmt = AV_PIX_FMT_RGB24;
|
||||
opts = NULL;
|
||||
if (avcodec_open2 (encoder_codec_ctx, encoder_codec, &opts) < 0)
|
||||
{
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue