parent
1957d6bb58
commit
14d110501a
@ -1,3 +0,0 @@
|
|||||||
{
|
|
||||||
"ui_dir": "/var/lib/consul/ui"
|
|
||||||
}
|
|
@ -1,13 +1,4 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||||
<pkgmetadata>
|
<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>
|
</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"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||||
<pkgmetadata>
|
<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>
|
</pkgmetadata>
|
||||||
|
@ -1 +1,2 @@
|
|||||||
DIST LanguageTool-3.4.zip 95764120 SHA256 ff36380c5807c5bdc67d222c5f2adeeb0a047a02661885c29cd8297443846c9c SHA512 450c5faa98b61cd2ed132f1e3ff592914e0abd58ed02d9c372fb9ef57d566d32d7bbb3a3ecf6a3d26248379bbecd35934e4ae0e33bb5ae821eaa0eb17d6e07e2 WHIRLPOOL 9f44486917581ed723f61d5d8af7100c4ab679a7ca36362b2426f04575bf90966e2a5b6de15b28cbec517bae5f1d6ae1ec18c6c9b0643880130da03e838dc09d
|
DIST LanguageTool-3.4.zip 95764120 SHA256 ff36380c5807c5bdc67d222c5f2adeeb0a047a02661885c29cd8297443846c9c SHA512 450c5faa98b61cd2ed132f1e3ff592914e0abd58ed02d9c372fb9ef57d566d32d7bbb3a3ecf6a3d26248379bbecd35934e4ae0e33bb5ae821eaa0eb17d6e07e2 WHIRLPOOL 9f44486917581ed723f61d5d8af7100c4ab679a7ca36362b2426f04575bf90966e2a5b6de15b28cbec517bae5f1d6ae1ec18c6c9b0643880130da03e838dc09d
|
||||||
|
DIST LanguageTool-3.5.zip 93540212 SHA256 643029da89041ccfb48772deaf0dd0e16942de2d381c5dc8ae9372f1b043bcab SHA512 ad49dd292ca6841e1ef439b2dbe55748f621333b418bd6a596534cd5b2cb7019170c98046c8e2c68c3d75a9e5d132cf329de6481eaaccb8f78aae2233bdb8e45 WHIRLPOOL d518d0eaee5447115f09dfac0071462d9a2c51e3327da7f9500a251571fb9186920f9c68eb008f151bc8db173ad22a4068b4953165d1219f05e6857fe8554369
|
||||||
|
@ -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 +1,2 @@
|
|||||||
DIST languagetool-1.29.tar.bz2 8059 SHA256 92fd4bf94c65828f1c309da5257336a2287c07cae7ab6a4709ae1b79dcbbbcca SHA512 09b5bdc1d3590afe26578f687064a7a62493a11fafca903759dc1e9048cb22a04c6352127b13e4a63acb867d73d943b56fcae7f733350626f05b66a6d1f1626d WHIRLPOOL d5c8d411b465fdad629493e834d154e7e3a25898b20bc009c4ff9977593ab46ca6e0f6f57ae7933da08b9f7283ebc793106a4eb31a17d670050a94f27a2f2af5
|
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
|
||||||
|
@ -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 )
|
@ -1,3 +1,3 @@
|
|||||||
DIST mono-2.10.9.tar.bz2 34038017 SHA256 541038cd4edd4a1c485638d49697d45015ef7483bcb21bb6165e4d7eb770c9a5 SHA512 426881873e7f9aaf01e1306bed7b3ac220082ca40dce91fa4f4f331944e8d91453b3cdcc4918882ab039ed694ae8819eeb787edf6a2ad42cc661614076725c01 WHIRLPOOL 93f54fbbf032fb60467fd4317630588d349c3dfb50158bad478bd3e2650fd3e8f12d45be372873b57626d4ac48f798646c3650590bbf731dc2f005ee618b8548
|
DIST mono-2.10.9.tar.bz2 34038017 SHA256 541038cd4edd4a1c485638d49697d45015ef7483bcb21bb6165e4d7eb770c9a5 SHA512 426881873e7f9aaf01e1306bed7b3ac220082ca40dce91fa4f4f331944e8d91453b3cdcc4918882ab039ed694ae8819eeb787edf6a2ad42cc661614076725c01 WHIRLPOOL 93f54fbbf032fb60467fd4317630588d349c3dfb50158bad478bd3e2650fd3e8f12d45be372873b57626d4ac48f798646c3650590bbf731dc2f005ee618b8548
|
||||||
DIST mono-4.4.1.0.tar.bz2 85897587 SHA256 165e7686b5cbb1ab671b4cb2069207999c3d70044002190b6ec84bb1fdf62b4a SHA512 d9b6c57c2d9327ea551083b81a2e6cc222ded9a04862056b0dfded1c5df56efbfc4960097df034595012231fe50d172174ab7b3e3f2d8c4c6953ab2106b1cb6a WHIRLPOOL 99f16622c6d1902a7efff41d55d114ed214979c1d902a5dcbc257c180a1e68ed519beb5383db2358096e3f8425483983565c8f438552de36ffabe4bfad3f5fbd
|
DIST mono-4.4.1.0.tar.bz2 85897587 SHA256 165e7686b5cbb1ab671b4cb2069207999c3d70044002190b6ec84bb1fdf62b4a SHA512 d9b6c57c2d9327ea551083b81a2e6cc222ded9a04862056b0dfded1c5df56efbfc4960097df034595012231fe50d172174ab7b3e3f2d8c4c6953ab2106b1cb6a WHIRLPOOL 99f16622c6d1902a7efff41d55d114ed214979c1d902a5dcbc257c180a1e68ed519beb5383db2358096e3f8425483983565c8f438552de36ffabe4bfad3f5fbd
|
||||||
DIST mono-4.6.1.3.tar.bz2 83229465 SHA256 a5d4cec3d4676fcd7bcbc59b5ab12dc9a2481abbd10017a2ed737098a6b2e891 SHA512 b059fb00adbddf676d137c53a22cabdb86cedb829a25c1ed2d5b78bbd4bc38a0d3ec2cbc56cec91578e2e74478770cac147ac2b740531751585d6ed0bbc50e3b WHIRLPOOL ed080322b83549679c9b6fe8bac501df7390690508c32b97be47c1b0e3e020ba117aaad08250255409b0266b7270860acdf969d2342add1a918b38a635da1046
|
DIST mono-4.6.1.5.tar.bz2 83174665 SHA256 3871ee72bdfc2ea5d636ffff22cf49ae6bac7c4a4f3d687214dd8ac236bbf7c3 SHA512 1d0c1ec2930ecea3faf1be572bc045300ef4a90d3fe7519f2a9c797be79298c61528d83baa5a24a57143a35be80f78297196556c33cd0f345d9907a973fe625a WHIRLPOOL 9ccfdfa68f2d9a75440c71fb22af988165608299d7aaeecac77fc783412cba4524a423b166a540d2381c98c58e3f7e40ada91381d45f67693e1f69e462bbb1d9
|
||||||
|
@ -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,3 +1,4 @@
|
|||||||
DIST pkgconf-0.9.11.tar.bz2 86489 SHA256 3bdae1b2672133943dc0dda694ed57074f8b03c3fea10efb215d76d3cabe2c3b SHA512 21313ef29afcaa7c49a8cb512ecd3a821693945c22fb1a670ada74f41bca320e1b9ffb64e79adc2c33cb86822b74ddc850fadb16ddcde7eb805b81a50096992f WHIRLPOOL 7442a456af7e959c86f318ee74ec89883cc4e2ad16c9708f98d8ab30cdcf71ea7ef13f7e0f9bf945717b1dea8a317ffc5322878f88a5084c2dcbdc2aeafaf4d2
|
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-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.1.tar.gz 362653 SHA256 45ce2f6ab032451345185b800badd77c054040879bd2e56225dafc7fbe583cf1 SHA512 b379ed366327eb4de3a7ed732be58a3757fdcd231637f0fbc2f9b762fda08173244d05fd853d683cfa6bdad90f1d8ee663b3eae9aee024456ef46e8a021e7122 WHIRLPOOL ba9a26874d14b6dfd62858da1b50397bc0aa9637bfe0824d4911f4df1e430e60a9f589242f8dc60a792b16f5201f9e0944d637e0d3a4749a211b976459152d69
|
||||||
|
DIST pkgconf-1.0.2.tar.xz 247972 SHA256 a7c67f8603c0d0400be17b2efac0fdc9ff46625f7e50aefe4ad31eff248115dd SHA512 679c9033489076ba5691c3a830b8e300c6cb2dc9e7eeffa1a478c681c7f1cc49896b0b5d0d069b14804a5c9bc31115ba672b1f724cd6282ce26d54945a5a8a42 WHIRLPOOL e7bcb19eba08ff271a470a1c8bba13810951c20e79b7dea5352ea20b8b519d4462892c623e8383b540f5af3b6daf302386b8b1831bfed3d7d143f33cb9e0830a
|
||||||
|
@ -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,2 +1,3 @@
|
|||||||
DIST bfg-1.12.12.jar 14664691 SHA256 03291c9cd9cdc664104f49b22b76bd39edc73052936cbfd72fc8d8595971fd9a SHA512 f3a9d39c764a8d42054ed346a51ac2402814a4a18f2802640e776653a3081800e38e3052ac447fd82f0d1667aa1ca5d6745a2e7b9c7503d3fec7c25d364c8cf3 WHIRLPOOL eca6191885752bf8af5e84a97c31f6c0ad191ea3f49a009e0fd99ea09c69c6c95337bbe82f6b8e5e3220286d25c66b86f1f8ea9e183c51ac56bdaa42d9abb1b2
|
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.13.jar 14774921 SHA256 fbeb45314d45c7ff26bb513154675a2e1e822282e0d095c6d911fcf68fd089c0 SHA512 a65586b84b10bbbc3ba2058862348010c2513c5f4f5e91dbbdc3392622811aa40e473cc19ad4a7bf4eaa2cd2f9c49b60fdb4e557cb68b2d66afc6c47e34b4484 WHIRLPOOL 920cd40ad66d65087ad12e76893c5e591b41ac0cf99e3fce6acf492d61042c12c078a41824944762f1528a575f6d67ec2973d0d13a137876cf412e18a8a70c9b
|
||||||
|
DIST bfg-1.12.14.jar 14811487 SHA256 7a44d53ef626a4282c34cc363166e678c5d9e91e4c6815e8e069036edd9fab64 SHA512 ff6bf60a8cba67537f46968c2f24dd91a15c9d533b503396b28bcc0af368d2852228e276d87e44013aba612e24b23d094563fc4d166957aac9ab7349be9f8a26 WHIRLPOOL 2e176efa35eeb61763550748695a1cc789530c42072facb19fd833b54b76ef048f8ee8265ce73173ab7c7af807278961cea5ee9ac30d5cedcf5de9079f7f347e
|
||||||
|
@ -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
|
END USER LICENSE AGREEMENT
|
||||||
EULA (End User License Agreement) for use and distribution
|
|
||||||
|
The following agreement regarding RAR (and its Windows version - WinRAR)
|
||||||
|
archiver - referred to as "software" - is made between win.rar GmbH -
|
||||||
The RAR archiver is distributed as try before you buy. This means:
|
referred to as "licensor" - and anyone who is installing, accessing
|
||||||
|
or in any other way using the software - referred to as "user".
|
||||||
1. All copyrights to RAR are exclusively owned by the author
|
|
||||||
- Alexander Roshal.
|
1. The author and holder of the copyright of the software is
|
||||||
|
Alexander L. Roshal. The licensor and as such issuer of the license
|
||||||
2. Anyone may use this software during a test period of 40 days.
|
and bearer of the worldwide exclusive usage rights including the rights
|
||||||
Following this test period of 40 days or less, if you wish to
|
to reproduce, distribute and make the software available to the public
|
||||||
continue to use RAR, you must purchase a license.
|
in any form is win.rar GmbH, Marienstr. 12, 10117 Berlin, Germany.
|
||||||
|
|
||||||
3. There are 2 basic types of licenses issued for RAR, these are:
|
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
|
||||||
a. A single computer usage license. The user purchases one license
|
at no charge. Following this test period, the user must purchase
|
||||||
to use RAR archiver on one computer.
|
a license to continue using the software.
|
||||||
|
|
||||||
Home users may use their single computer usage license on
|
3. The software's trial version may be freely distributed, with exceptions
|
||||||
all computers which are in property of the license owner.
|
noted below, provided the distribution package is not modified in any way.
|
||||||
|
|
||||||
Business users require one license per computer RAR is
|
a. Nobody may distribute separate parts of the package, with the exception
|
||||||
installed on.
|
of the UnRAR components, without written permission.
|
||||||
|
|
||||||
b. A multiple usage license. The user purchases a number of usage
|
b. The software's unlicensed trial version may not be distributed
|
||||||
licenses for use, by the purchaser or the purchaser's employees
|
inside of any other software package without written permission.
|
||||||
on the same number of computers.
|
The software must remain in the original unmodified installation
|
||||||
|
file for download without any barrier and conditions to the user
|
||||||
In a network (server/client) environment you must purchase
|
such as collecting fees for the download or making the download
|
||||||
a license copy for each separate client (workstation)
|
conditional on the user giving his contact data.
|
||||||
on which RAR is installed, used, or accessed. A separate
|
|
||||||
license copy for each client (workstation) is needed regardless
|
c. The unmodified installation file of WinRAR must be provided pure
|
||||||
of whether the clients (workstations) will use RAR simultaneously
|
and unpaired. Any bundling is interdicted. In particular the use
|
||||||
or at different times. If for example you wish to have
|
of any install or download software which is providing any kind
|
||||||
9 different clients (workstations) in your network with access
|
of download bundles is prohibited unless granted by win.rar GmbH
|
||||||
to RAR, you must purchase 9 license copies.
|
in written form.
|
||||||
|
|
||||||
A user who purchased a RAR license, is granted a non-exclusive
|
d. Hacks/cracks, keys or key generators may not be included, pointed to
|
||||||
right to use RAR on as many computers as defined by the licensing
|
or referred to by the distributor of the trial version.
|
||||||
terms above according to the number of licenses purchased,
|
|
||||||
for any legal purpose. The licensed RAR software may not be rented
|
e. In case of violation of the precedent conditions the allowance
|
||||||
or leased, but may be permanently transferred, in it's entirety,
|
lapses immediately and automatically.
|
||||||
if the person receiving it agrees to the terms of this license.
|
|
||||||
If the software is an update, the transfer must include the update
|
4. The trial version of the software can display a registration reminder
|
||||||
and all previous versions.
|
dialog. Depending on the software version and configuration such dialog
|
||||||
|
can contain either a predefined text and links loaded locally
|
||||||
4. Licensing for RAR on mobile devices (U3 stick, USB stick,
|
or a web page loaded from the internet. Such web page can contain
|
||||||
external harddrive):
|
licensing instructions or other materials according to the licensor's
|
||||||
|
choice, including advertisement. When opening a web page, the software
|
||||||
In addition to the terms stated above following licensing terms
|
transfers only those parameters which are technically required
|
||||||
apply to the licensing of RAR on mobile devices.
|
by HTTP protocol to successfully open a web page in a browser.
|
||||||
|
|
||||||
a. A single computer usage license. Home users may use their
|
5. The software is distributed "as is". No warranty of any kind is expressed
|
||||||
single computer usage license on all mobile devices which are
|
or implied. You use at your own risk. Neither the author, the licensor
|
||||||
in property of the license owner.
|
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
|
||||||
Business users may use their single computer usage license
|
this software.
|
||||||
on one computer and one mobile device.
|
|
||||||
|
6. There are 2 basic types of licenses issued for the software. These are:
|
||||||
b. A multiple usage license. Users who own a multiple usage
|
|
||||||
license may use that license on the same number of mobile
|
a. A single computer usage license. The user purchases one license to
|
||||||
devices as number of computers (clients) the license was
|
use the software on one computer.
|
||||||
purchased for.
|
|
||||||
|
Home users may use their single computer usage license on all
|
||||||
The number of computers/devices running RAR at any time is
|
computers and mobile devices (USB drive, external hard drive, etc.)
|
||||||
limited to the number of licenses purchased according to the
|
which are property of the license owner.
|
||||||
licensing terms above.
|
|
||||||
|
Business users require one license per computer or mobile device
|
||||||
A licensed version of RAR on a mobile device may be used by
|
on which the software is installed.
|
||||||
the purchaser or the purchaser's employees, on several computers
|
|
||||||
consecutively.
|
b. A multiple usage license. The user purchases a number of usage
|
||||||
|
licenses for use, by the purchaser or the purchaser's employees
|
||||||
There are no additional license fees, apart from the cost of
|
on the same number of computers.
|
||||||
purchasing a license, associated with the use of RAR from
|
|
||||||
a mobile device on computers that are not owned by the owner
|
In a network (server/client) environment the user must purchase
|
||||||
of the RAR license.
|
a license copy for each separate client (workstation) on which
|
||||||
|
the software is installed, used or accessed. A separate license copy
|
||||||
5. The RAR/WinRAR unlicensed trial version may be freely distributed,
|
for each client (workstation) is needed regardless of whether
|
||||||
with exceptions noted below, provided the distribution package is not
|
the clients (workstations) will use the software simultaneously
|
||||||
modified in any way.
|
or at different times. If for example you wish to have 9 different
|
||||||
|
clients (workstations) in your network with access to RAR,
|
||||||
a. No person or company may distribute separate parts of the package
|
you must purchase 9 license copies.
|
||||||
with the exception of the UnRAR components, without written
|
|
||||||
permission of the copyright owner.
|
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
|
||||||
b. The RAR/WinRAR unlicensed trial version may not be distributed
|
according to the number of licenses purchased, for any legal purpose.
|
||||||
inside of any other software package without written permission
|
|
||||||
of the copyright owner.
|
7. There are no additional license fees, apart from the cost of the license,
|
||||||
|
associated with the creation and distribution of RAR archives,
|
||||||
c. Hacks/cracks, keys or key generators may not be included on the
|
volumes, self-extracting archives or self-extracting volumes.
|
||||||
same distribution.
|
Owners of a license may use their copies of the software to produce
|
||||||
|
archives and self-extracting archives and to distribute those archives
|
||||||
6. To buy a license please see order.htm for details.
|
free of any additional royalties.
|
||||||
|
|
||||||
7. THE RAR ARCHIVER IS DISTRIBUTED "AS IS". NO WARRANTY OF ANY
|
8. The licensed software may not be rented or leased but may be permanently
|
||||||
KIND IS EXPRESSED OR IMPLIED. YOU USE AT YOUR OWN RISK.
|
transferred, in its entirety, if the recipient agrees to the terms of
|
||||||
NEITHER THE AUTHOR NOR THE AGENTS OF THE AUTHOR WILL BE LIABLE
|
this license.
|
||||||
FOR DATA LOSS, DAMAGES, LOSS OF PROFITS OR ANY OTHER KIND OF LOSS
|
|
||||||
WHILE USING OR MISUSING THIS SOFTWARE.
|
9. To buy a license, please read the file order.htm provided with
|
||||||
|
the software for details.
|
||||||
8. There are no additional license fees, apart from the cost of
|
|
||||||
purchasing a license, associated with the creation and distribution
|
10. You may not use, copy, emulate, clone, rent, lease, sell, modify,
|
||||||
of RAR archives, volumes, self-extracting archives or self-extracting
|
decompile, disassemble, otherwise reverse engineer, or transfer
|
||||||
volumes. Legally registered owners may use their copies of RAR/WinRAR
|
the licensed software, or any subset of the licensed software,
|
||||||
to produce archives and self-extracting archives and to distribute
|
except as provided for in this agreement. Any such unauthorized use
|
||||||
those archives free of any additional RAR royalties.
|
shall result in immediate and automatic termination of this license
|
||||||
|
and may result in criminal and/or civil prosecution.
|
||||||
9. You may not use, copy, emulate, clone, rent, lease, sell, modify,
|
|
||||||
decompile, disassemble, otherwise reverse engineer, or transfer
|
Neither RAR binary code, WinRAR binary code, UnRAR source
|
||||||
the licensed program, or any subset of the licensed program, except
|
or UnRAR binary code may be used or reverse engineered to re-create
|
||||||
as provided for in this agreement. Any such unauthorized use shall
|
the RAR compression algorithm, which is proprietary, without written
|
||||||
result in immediate and automatic termination of this license and
|
permission.
|
||||||
may result in criminal and/or civil prosecution.
|
|
||||||
|
The software may be using components developed and/or copyrighted
|
||||||
7zxa.dll library is copyrighted by Igor Pavlov and distributed
|
by third parties. Please read "Acknowledgments" help file topic
|
||||||
under LGPL Version 3 license ( http://www.gnu.org/licenses/lgpl.html ).
|
for WinRAR or acknow.txt text file for other RAR versions for details.
|
||||||
You can modify portions of 7zxa.dll and perform reverse engineering
|
|
||||||
solely for purpose of debugging such 7zxa.dll modifications according
|
11. This License Agreement is construed solely and exclusively under
|
||||||
to LGPL. Source code of 7zxa.dll is available on www.7-zip.org.
|
German law. If you are a merchant, the courts at the registered office
|
||||||
|
of win.rar GmbH in Berlin/Germany shall have exclusive jurisdiction
|
||||||
Neither RAR binary code, WinRAR binary code, UnRAR source or UnRAR
|
for any and all disputes arising in connection with this License
|
||||||
binary code may be used or reverse engineered to re-create the RAR
|
Agreement or its validity.
|
||||||
compression algorithm, which is proprietary, without written
|
|
||||||
permission of the author.
|
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
|
||||||
RAR and WinRAR keyfiles may not be distributed, except as stated
|
license, you must remove all software files from your storage devices
|
||||||
in item 3) above, outside of the area of legal control of the
|
and cease to use the software.
|
||||||
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
|
|
||||||
|
|
||||||
|
@ -1 +1,2 @@
|
|||||||
DIST fontawesome-4.6.3.tar.gz 2526615 SHA256 669fb1210c64eda3f998c86941641f1bcd0af4450643daf8841cb62d2b6c71a4 SHA512 ecf78028e7948e89d352c7f0de413198d95c235e36f49c24146d246012145ac62e0f4d1148655ef88be15710340688b2f3cc55247cfb6742a41400422f88d69f WHIRLPOOL 056ad3e1970d4eef4eaf2294bc3b5a0f02fb3de0145826ff10505e7bed851de4385629e10829675f94dd1a8ed49b4cdcaaabbc3c466c88f3bb094b5bb414629f
|
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
|
||||||
|
@ -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,3 +1,4 @@
|
|||||||
DIST Image-ExifTool-10.25.tar.gz 4161833 SHA256 edc2de5848375f7ccb88cd7d0260c98c4c581ffd509c4c249949f0cd1f522dd0 SHA512 6f3c9e432198a0be00efed1dc6044ea1be330099ec3d47bab8e761230c8fadc48bc26571202aea16e82890a9315ea752f25e06a2c7e5fd6d7690387e681870c7 WHIRLPOOL 49f11b61ada48c3d4d3d36d79f110a248c535bb8eb8625cdd7f5c4ef714c94676369b765abe63076589ea05b7c5cbf7ee5401c1c93e344cf704e26a091c5d464
|
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.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.28.tar.gz 4252944 SHA256 18cee8c0fb9331f63b883a5e5e42f5b40f5e30696289c00f1fe9e5e536f90bef SHA512 8fa37bdb5b52ea657dcdd86468cbce4ad113ef3afe7c52ca30b9ace6368d0dfe4bead69cd799bd403fd3d3dd8f7fdb24f8015eee19fec6d852bf8186b66f9b99 WHIRLPOOL c38fa5b29a4d82a74477acd593b968f8986098b02c5114093b497711f8669140a51040c358cf2c4665ce78f57609e67670fc8a3699eb31c15a58e5ba445ec9d3
|
||||||
|
DIST Image-ExifTool-10.31.tar.gz 4201613 SHA256 192884639ff4934ecdb9edc107a0b9f1a49c9afadf457bae8fa97e15816dc1ea SHA512 6ae905be7f4670d9110d6dc9b7248b25a8aec50db89286aa85cb0bcf2de0a3f4cfabc89e32abd5cabcaa4da34d26b4efe3ed64fb7678076ea5999219502f70b4 WHIRLPOOL 73140eb16a5837e0784ef09ca8403d607070e53c22e4a182a3d381a926f24cf1b58082326ddc615dd2cc802d17377f12e329399bf6b757defb87b927eae752fa
|
||||||
|
@ -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/
|
||||||
|
}
|
@ -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)
|
||||||
|
{
|
||||||
|
|
@ -0,0 +1,113 @@
|
|||||||
|
# Copyright 1999-2016 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Id$
|
||||||
|
|
||||||
|
EAPI=6
|
||||||
|
|
||||||
|
DESCRIPTION="A library used to extract metadata from files of arbitrary type"
|
||||||
|
HOMEPAGE="https://www.gnu.org/software/libextractor/"
|
||||||
|
SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="GPL-3"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="amd64 ~arm ppc ppc64 x86"
|
||||||
|
IUSE="+archive +bzip2 ffmpeg flac gif gsf gtk jpeg mp4 +magic midi mpeg tidy tiff vorbis +zlib" # test
|
||||||
|
|
||||||
|
RESTRICT="test"
|
||||||
|
|
||||||
|
RDEPEND="app-text/iso-codes
|
||||||
|
>=dev-libs/glib-2
|
||||||
|
media-gfx/exiv2:=
|
||||||
|
sys-devel/libtool
|
||||||
|
virtual/libiconv
|
||||||
|
virtual/libintl
|
||||||
|
archive? ( app-arch/libarchive:= )
|
||||||
|
bzip2? ( app-arch/bzip2 )
|
||||||
|
ffmpeg? ( virtual/ffmpeg )
|
||||||
|
flac? (
|
||||||
|
media-libs/flac
|
||||||
|
media-libs/libogg
|
||||||
|
)
|
||||||
|
gif? ( media-libs/giflib:= )
|
||||||
|
gsf? ( gnome-extra/libgsf:= )
|
||||||
|
gtk? ( x11-libs/gtk+:3 )
|
||||||
|
jpeg? ( virtual/jpeg:0 )
|
||||||
|
mp4? ( media-libs/libmp4v2:0 )
|
||||||
|
magic? ( sys-apps/file )
|
||||||
|
midi? ( media-libs/libsmf )
|
||||||
|
mpeg? ( media-libs/libmpeg2 )
|
||||||
|
tidy? ( app-text/htmltidy )
|
||||||
|
tiff? ( media-libs/tiff:0 )
|
||||||
|
vorbis? (
|
||||||
|
media-libs/libogg
|
||||||
|
media-libs/libvorbis
|
||||||
|
)
|
||||||
|
zlib? ( sys-libs/zlib )
|
||||||
|
!<app-crypt/pkcrack-1.2.2-r1
|
||||||
|
!sci-biology/glimmer
|
||||||
|
!sci-chemistry/pdb-extract"
|
||||||
|
DEPEND="${RDEPEND}
|
||||||
|
sys-devel/gettext
|
||||||
|
virtual/pkgconfig"
|
||||||
|
# test? ( app-forensics/zzuf )
|
||||||
|
|
||||||
|
PATCHES=(
|
||||||
|
"${FILESDIR}"/${P}-giflib-5.patch #571902
|
||||||
|
"${FILESDIR}"/${P}-ffmpeg-2.9.patch
|
||||||
|
)
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
default
|
||||||
|
|
||||||
|
# m4/ax_create_pkgconfig_info.m4 is passing environment LDFLAGS to Libs:
|
||||||
|
sed -i \
|
||||||
|
-e '/^ax_create_pkgconfig_ldflags=/s:$LDFLAGS ::' \
|
||||||
|
-e 's:tidy/tidy.h:tidy.h:' \
|
||||||
|
configure src/plugins/html_extractor.c || die
|
||||||
|
|
||||||
|
if ! use tidy; then
|
||||||
|
sed -i -e 's:tidy.h:dIsAbLe&:' configure || die
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
e_ac_cv() {
|
||||||
|
export ac_cv_"$@"
|
||||||
|
}
|
||||||
|
|
||||||
|
e_ac_cv {lib_rpm_rpmReadPackageFile,prog_HAVE_ZZUF}=no
|
||||||
|
|
||||||
|
e_ac_cv header_FLAC_all_h=$(usex flac)
|
||||||
|
e_ac_cv lib_FLAC_FLAC__stream_decoder_init_stream=$(usex flac)
|
||||||
|
e_ac_cv lib_FLAC_FLAC__stream_decoder_init_ogg_stream=$(usex flac)
|
||||||
|
|
||||||
|
e_ac_cv header_archive_h=$(usex archive)
|
||||||
|
e_ac_cv header_bzlib_h=$(usex bzip2)
|
||||||
|
e_ac_cv header_gif_lib_h=$(usex gif)
|
||||||
|
e_ac_cv header_jpeglib_h=$(usex jpeg)
|
||||||
|
e_ac_cv header_magic_h=$(usex magic)
|
||||||
|
e_ac_cv header_mpeg2dec_mpeg2_h=$(usex mpeg)
|
||||||
|
e_ac_cv header_tiffio_h=$(usex tiff)
|
||||||
|
e_ac_cv header_vorbis_vorbisfile_h=$(usex vorbis)
|
||||||
|
e_ac_cv header_zlib_h=$(usex zlib)
|
||||||
|
e_ac_cv lib_mp4v2_MP4ReadProvider=$(usex mp4)
|
||||||
|
e_ac_cv lib_smf_smf_load_from_memory=$(usex midi)
|
||||||
|
|
||||||
|
# gstreamer support is for 1.0, no 0.10 support
|
||||||
|
econf \
|
||||||
|
--disable-static \
|
||||||
|
--enable-experimental \
|
||||||
|
--enable-glib \
|
||||||
|
--with-gtk_version=$(usex gtk 3.0.0 false) \
|
||||||
|
--without-gstreamer \
|
||||||
|
--disable-gsf-gnome \
|
||||||
|
$(use_enable gsf) \
|
||||||
|
$(use_enable ffmpeg)
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
default
|
||||||
|
|
||||||
|
# package provides .pc files
|
||||||
|
find "${D}" -name '*.la' -delete || die
|
||||||
|
}
|
@ -0,0 +1,142 @@
|
|||||||
|
# Copyright 1999-2016 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Id$
|
||||||
|
|
||||||
|
EAPI=6
|
||||||
|
PYTHON_COMPAT=( python2_7 )
|
||||||
|
|
||||||
|
[[ "${PV}" = "9999" ]] && inherit git-r3
|
||||||
|
inherit elisp-common autotools python-single-r1
|
||||||
|
|
||||||
|
if [[ "${PV}" = "9999" ]]; then
|
||||||
|
EGIT_REPO_URI="git://git.sv.gnu.org/lilypond.git"
|
||||||
|
else
|
||||||
|
SRC_URI="http://download.linuxaudio.org/lilypond/sources/v${PV:0:4}/${P}.tar.gz"
|
||||||
|
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~x86"
|
||||||
|
fi
|
||||||
|
|
||||||
|
DESCRIPTION="GNU Music Typesetter"
|
||||||
|
HOMEPAGE="http://lilypond.org/"
|
||||||
|
|
||||||
|
LICENSE="GPL-3 FDL-1.3"
|
||||||
|
SLOT="0"
|
||||||
|
LANGS=" ca cs da de el eo es fi fr it ja nl ru sv tr uk vi zh_TW"
|
||||||
|
IUSE="debug emacs profile vim-syntax ${LANGS// / linguas_}"
|
||||||
|
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||||
|
|
||||||
|
RDEPEND=">=app-text/ghostscript-gpl-8.15
|
||||||
|
>=dev-scheme/guile-1.8.2:12[deprecated,regex]
|
||||||
|
media-fonts/tex-gyre
|
||||||
|
media-libs/fontconfig
|
||||||
|
media-libs/freetype:2
|
||||||
|
>=x11-libs/pango-1.12.3
|
||||||
|
emacs? ( virtual/emacs )
|
||||||
|
${PYTHON_DEPS}"
|
||||||
|
DEPEND="${RDEPEND}
|
||||||
|
app-text/t1utils
|
||||||
|
dev-lang/perl
|
||||||
|
dev-libs/kpathsea
|
||||||
|
>=dev-texlive/texlive-metapost-2013
|
||||||
|
|| (
|
||||||
|
>=app-text/texlive-core-2013
|
||||||
|
>=dev-tex/metapost-1.803
|
||||||
|
)
|
||||||
|
virtual/pkgconfig
|
||||||
|
media-gfx/fontforge[png]
|
||||||
|
>=sys-apps/texinfo-4.11
|
||||||
|
>=sys-devel/bison-2.0
|
||||||
|
sys-devel/flex
|
||||||
|
sys-devel/gettext
|
||||||
|
sys-devel/make"
|
||||||
|
|
||||||
|
# Correct output data for tests isn't bundled with releases
|
||||||
|
RESTRICT="test"
|
||||||
|
|
||||||
|
DOCS=( DEDICATION HACKING README.txt ROADMAP )
|
||||||
|
|
||||||
|
pkg_setup() {
|
||||||
|
# make sure >=metapost-1.803 is selected if it's installed, bug 498704
|
||||||
|
if [[ ${MERGE_TYPE} != binary ]] && has_version ">=dev-tex/metapost-1.803" ; then
|
||||||
|
if [[ $(readlink "${EROOT}"/usr/bin/mpost) =~ mpost-texlive-* ]] ; then
|
||||||
|
einfo "Updating metapost symlink"
|
||||||
|
eselect mpost update || die
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
python-single-r1_pkg_setup
|
||||||
|
}
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
default
|
||||||
|
|
||||||
|
if ! use vim-syntax ; then
|
||||||
|
sed -i 's/vim//' GNUmakefile.in || die
|
||||||
|
fi
|
||||||
|
|
||||||
|
# respect CFLAGS
|
||||||
|
sed -i 's/OPTIMIZE -g/OPTIMIZE/' aclocal.m4 || die
|
||||||
|
|
||||||
|
for lang in ${LANGS}; do
|
||||||
|
use linguas_${lang} || rm po/${lang}.po || die
|
||||||
|
done
|
||||||
|
|
||||||
|
# respect AR
|
||||||
|
sed -i "s/^AR=ar/AR=$(tc-getAR)/" stepmake/stepmake/library-vars.make || die
|
||||||
|
|
||||||
|
# remove bundled texinfo file (fixes bug #448560)
|
||||||
|
rm tex/texinfo.tex || die
|
||||||
|
|
||||||
|
eautoreconf
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
# documentation generation currently not supported since it requires a newer
|
||||||
|
# version of texi2html than is currently in the tree
|
||||||
|
|
||||||
|
local myeconfargs+=(
|
||||||
|
--with-texgyre-dir=/usr/share/fonts/tex-gyre
|
||||||
|
--disable-documentation
|
||||||
|
--disable-optimising
|
||||||
|
--disable-pipe
|
||||||
|
$(use_enable debug debugging)
|
||||||
|
$(use_enable profile profiling)
|
||||||
|
)
|
||||||
|
|
||||||
|
has_version ">=dev-scheme/guile-2" && myeconfargs+=( --enable-guile2 )
|
||||||
|
|
||||||
|
econf "${myeconfargs[@]}"
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
default
|
||||||
|
|
||||||
|
if use emacs ; then
|
||||||
|
elisp-compile elisp/lilypond-{font-lock,indent,mode,what-beat}.el \
|
||||||
|
|| die "elisp-compile failed"
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install () {
|
||||||
|
emake DESTDIR="${D}" vimdir=/usr/share/vim/vimfiles install
|
||||||
|
|
||||||
|
# remove elisp files since they are in the wrong directory
|
||||||
|
rm -r "${ED}"/usr/share/emacs || die
|
||||||
|
|
||||||
|
if use emacs ; then
|
||||||
|
elisp-install ${PN} elisp/*.{el,elc} elisp/out/*.el \
|
||||||
|
|| die "elisp-install failed"
|
||||||
|
elisp-site-file-install "${FILESDIR}"/50${PN}-gentoo.el
|
||||||
|
fi
|
||||||
|
|
||||||
|
python_fix_shebang "${ED}"
|
||||||
|
|
||||||
|
einstalldocs
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
use emacs && elisp-site-regen
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postrm() {
|
||||||
|
use emacs && elisp-site-regen
|
||||||
|
}
|
@ -1 +1 @@
|
|||||||
Tue, 25 Oct 2016 14:40:32 +0000
|
Wed, 26 Oct 2016 05:40:31 +0000
|
||||||
|
@ -1 +1 @@
|
|||||||
Tue, 25 Oct 2016 14:40:32 +0000
|
Wed, 26 Oct 2016 05:40:31 +0000
|
||||||
|
File diff suppressed because one or more lines are too long
@ -0,0 +1,13 @@
|
|||||||
|
DEFINED_PHASES=compile install postinst prepare setup unpack
|
||||||
|
DEPEND=|| ( dev-lang/python:3.5 dev-lang/python:3.4 >=dev-lang/python-3.3.2-r2:3.3 >=dev-lang/python-2.7.5-r2:2.7 )
|
||||||
|
DESCRIPTION=Common CA Certificates PEM files
|
||||||
|
EAPI=5
|
||||||
|
HOMEPAGE=http://packages.debian.org/sid/ca-certificates
|
||||||
|
IUSE=cacert
|
||||||
|
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
|
||||||
|
LICENSE=MPL-1.1
|
||||||
|
RDEPEND=app-misc/c_rehash sys-apps/debianutils
|
||||||
|
SLOT=0
|
||||||
|
SRC_URI=mirror://debian/pool/main/c/ca-certificates/ca-certificates_20160104.tar.xz https://archive.mozilla.org/pub/security/nss/releases/NSS_3_27_1_RTM/src/nss-3.27.1.tar.gz cacert? ( https://dev.gentoo.org/~anarchy/patches/nss-3.14.1-add_spi+cacerts_ca_certs.patch )
|
||||||
|
_eclasses_=eutils b83a2420b796f7c6eff682679d08fe25 multilib 165fc17c38d1b11dac2008280dab6e80 python-any-r1 1c20f9b800324335a8e3b137363362e8 python-utils-r1 1797277ea0e7cee5c7de7ce74cf8acd8 toolchain-funcs 1b1da0c45c555989dc5d832b54880783 versionator 99ae9d758cbe7cfed19170e7d48f5a9c
|
||||||
|
_md5_=c765a2ea81966fc2c55c06f8bfeafc52
|
@ -0,0 +1,13 @@
|
|||||||
|
DEFINED_PHASES=compile install preinst prepare setup
|
||||||
|
DEPEND=>=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 app-arch/unzip >=dev-java/java-config-2.2.0-r3
|
||||||
|
DESCRIPTION=a proof-reading tool for many languages
|
||||||
|
EAPI=6
|
||||||
|
HOMEPAGE=http://www.languagetool.org/
|
||||||
|
IUSE=elibc_FreeBSD
|
||||||
|
KEYWORDS=~amd64 ~x86
|
||||||
|
LICENSE=LGPL-2.1
|
||||||
|
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 >=dev-java/java-config-2.2.0-r3
|
||||||
|
SLOT=0
|
||||||
|
SRC_URI=http://www.languagetool.org/download/LanguageTool-3.5.zip
|
||||||
|
_eclasses_=eutils b83a2420b796f7c6eff682679d08fe25 java-pkg-2 eb1f0d7d874162c70088f5ae32c31ee7 java-utils-2 a50950a73b5d5db46f42638e2996a087 multilib 165fc17c38d1b11dac2008280dab6e80 toolchain-funcs 1b1da0c45c555989dc5d832b54880783 versionator 99ae9d758cbe7cfed19170e7d48f5a9c
|
||||||
|
_md5_=721c77a5e2dbd9b99416a2f525585187
|
@ -0,0 +1,12 @@
|
|||||||
|
DEFINED_PHASES=install postinst postrm
|
||||||
|
DEPEND=|| ( >=app-editors/vim-7.3 >=app-editors/gvim-7.3 )
|
||||||
|
DESCRIPTION=grammar checker for various languages
|
||||||
|
EAPI=6
|
||||||
|
HOMEPAGE=http://www.vim.org/scripts/script.php?script_id=3223
|
||||||
|
KEYWORDS=~amd64 ~x86
|
||||||
|
LICENSE=vim
|
||||||
|
RDEPEND=app-text/languagetool || ( >=app-editors/vim-7.3 >=app-editors/gvim-7.3 )
|
||||||
|
SLOT=0
|
||||||
|
SRC_URI=mirror://gentoo/languagetool-1.30.tar.bz2 https://dev.gentoo.org/~radhermit/vim/languagetool-1.30.tar.bz2
|
||||||
|
_eclasses_=vim-doc 1b0813c9dadf2431c96854a8d46f5eaf vim-plugin cba1cae8a355e4e89cbd2615aed3b1d5
|
||||||
|
_md5_=134064d67af87cf5b90aca0254a1fc91
|
@ -0,0 +1,14 @@
|
|||||||
|
DEFINED_PHASES=compile configure install postinst postrm prepare test
|
||||||
|
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 ) 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 !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.15:1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4 virtual/pkgconfig
|
||||||
|
DESCRIPTION=The PHP language runtime engine
|
||||||
|
EAPI=6
|
||||||
|
HOMEPAGE=http://php.net/
|
||||||
|
IUSE=embed +cli cgi fpm apache2 phpdbg threads 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
|
||||||
|
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
|
||||||
|
LICENSE=PHP-3.01 BSD Zend-2.0 bcmath? ( LGPL-2.1+ ) fpm? ( BSD-2 ) gd? ( gd ) unicode? ( BSD-2 LGPL-2.1 )
|
||||||
|
RDEPEND=>=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 ) virtual/mta fpm? ( selinux? ( sec-policy/selinux-phpfpm ) systemd? ( sys-apps/systemd ) )
|
||||||
|
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 )
|
||||||
|
SLOT=7.0
|
||||||
|
SRC_URI=http://php.net/distributions/php-7.0.12.tar.xz
|
||||||
|
_eclasses_=autotools 07e71b3b5690738ef7e8bc097077e00c eutils b83a2420b796f7c6eff682679d08fe25 flag-o-matic 8632fcd33a047954f007dee9a137bdcc libtool 4890219c51da247200223277f993e054 multilib 165fc17c38d1b11dac2008280dab6e80 systemd 5b6ca8b2fc1307ca593223f327342c96 toolchain-funcs 1b1da0c45c555989dc5d832b54880783 versionator 99ae9d758cbe7cfed19170e7d48f5a9c
|
||||||
|
_md5_=4b9961cc3b862a40b5ae7167feda03c3
|
@ -0,0 +1,12 @@
|
|||||||
|
DEFINED_PHASES=compile configure install prepare test
|
||||||
|
DESCRIPTION=pkg-config compatible replacement with no dependencies other than ANSI C89
|
||||||
|
EAPI=6
|
||||||
|
HOMEPAGE=https://github.com/pkgconf/pkgconf
|
||||||
|
IUSE=+pkg-config strict abi_x86_32 abi_x86_64 abi_x86_x32 abi_mips_n32 abi_mips_n64 abi_mips_o32 abi_ppc_32 abi_ppc_64 abi_s390_32 abi_s390_64
|
||||||
|
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
|
||||||
|
LICENSE=BSD-1
|
||||||
|
RDEPEND=pkg-config? ( !dev-util/pkgconfig !dev-util/pkg-config-lite !dev-util/pkgconfig-openbsd[pkg-config] )
|
||||||
|
SLOT=0
|
||||||
|
SRC_URI=https://distfiles.dereferenced.org/pkgconf/pkgconf-1.0.2.tar.xz https://github.com/pkgconf/pkgconf/releases/download/pkgconf-1.0.2/pkgconf-1.0.2.tar.xz
|
||||||
|
_eclasses_=multibuild 742139c87a9fa3766f0c2b155e5522bf multilib 165fc17c38d1b11dac2008280dab6e80 multilib-build 8fe2e81aeb36cdf8a6cc5f50443879cc multilib-minimal 0224dee31c0f98405d572e14ad6dee65 toolchain-funcs 1b1da0c45c555989dc5d832b54880783
|
||||||
|
_md5_=babefd95a897eea57e193fa8100bace8
|
@ -0,0 +1,13 @@
|
|||||||
|
DEFINED_PHASES=compile install preinst prepare setup unpack
|
||||||
|
DEPEND=>=dev-java/java-config-2.2.0-r3
|
||||||
|
DESCRIPTION=a faster alternative to git-filter-branch for removing bad data from git repos
|
||||||
|
EAPI=6
|
||||||
|
HOMEPAGE=http://rtyley.github.io/bfg-repo-cleaner/
|
||||||
|
IUSE=elibc_FreeBSD
|
||||||
|
KEYWORDS=~amd64 ~x86
|
||||||
|
LICENSE=GPL-3+
|
||||||
|
RDEPEND=>=virtual/jre-1.6 >=dev-java/java-config-2.2.0-r3
|
||||||
|
SLOT=0
|
||||||
|
SRC_URI=http://repo1.maven.org/maven2/com/madgag/bfg/1.12.14/bfg-1.12.14.jar
|
||||||
|
_eclasses_=eutils b83a2420b796f7c6eff682679d08fe25 java-pkg-2 eb1f0d7d874162c70088f5ae32c31ee7 java-utils-2 a50950a73b5d5db46f42638e2996a087 multilib 165fc17c38d1b11dac2008280dab6e80 toolchain-funcs 1b1da0c45c555989dc5d832b54880783 versionator 99ae9d758cbe7cfed19170e7d48f5a9c
|
||||||
|
_md5_=1642b1b2fd701ad9a6f7e96b56d9bf1c
|
@ -0,0 +1,13 @@
|
|||||||
|
DEFINED_PHASES=configure install postinst postrm setup
|
||||||
|
DEPEND=X? ( x11-apps/mkfontdir media-fonts/encodings )
|
||||||
|
DESCRIPTION=The iconic font
|
||||||
|
EAPI=6
|
||||||
|
HOMEPAGE=http://fontawesome.io
|
||||||
|
IUSE=+otf +ttf X
|
||||||
|
KEYWORDS=~amd64 ~arm ~arm64 ~x86
|
||||||
|
LICENSE=CC-BY-3.0 OFL-1.1
|
||||||
|
REQUIRED_USE=|| ( otf ttf )
|
||||||
|
SLOT=0
|
||||||
|
SRC_URI=https://github.com/FortAwesome/Font-Awesome/archive/v4.7.0.tar.gz -> fontawesome-4.7.0.tar.gz
|
||||||
|
_eclasses_=eutils b83a2420b796f7c6eff682679d08fe25 font cd7790315ca5b8c505e1e0513df6acce multilib 165fc17c38d1b11dac2008280dab6e80 toolchain-funcs 1b1da0c45c555989dc5d832b54880783
|
||||||
|
_md5_=581037bf41d86d507258d056f2eb16f3
|
@ -0,0 +1,13 @@
|
|||||||
|
DEFINED_PHASES=compile configure install prepare test
|
||||||
|
DEPEND=dev-lang/perl:=
|
||||||
|
DESCRIPTION=Read and write meta information in image, audio and video files
|
||||||
|
EAPI=6
|
||||||
|
HOMEPAGE=http://www.sno.phy.queensu.ca/~phil/exiftool/ http://search.cpan.org/dist/Image-ExifTool/
|
||||||
|
IUSE=doc
|
||||||
|
KEYWORDS=~amd64 ~ppc ~ppc64 ~x86 ~x64-macos
|
||||||
|
LICENSE=|| ( Artistic GPL-1+ )
|
||||||
|
RDEPEND=dev-lang/perl:=
|
||||||
|
SLOT=0
|
||||||
|
SRC_URI=http://www.sno.phy.queensu.ca/~phil/exiftool/Image-ExifTool-10.31.tar.gz
|
||||||
|
_eclasses_=multiprocessing e32940a7b2a9992ad217eccddb84d548 perl-functions aac50de73be0a80ebe780e0b20850130 perl-module c584f9e0fe426f3dcc2c46c6f7cb95ce
|
||||||
|
_md5_=4601702180ec547ebbe0d32fbc7b8e29
|
@ -0,0 +1,13 @@
|
|||||||
|
DEFINED_PHASES=configure install prepare
|
||||||
|
DEPEND=app-text/iso-codes >=dev-libs/glib-2 media-gfx/exiv2:= sys-devel/libtool virtual/libiconv virtual/libintl archive? ( app-arch/libarchive:= ) bzip2? ( app-arch/bzip2 ) ffmpeg? ( virtual/ffmpeg ) flac? ( media-libs/flac media-libs/libogg ) gif? ( media-libs/giflib:= ) gsf? ( gnome-extra/libgsf:= ) gtk? ( x11-libs/gtk+:3 ) jpeg? ( virtual/jpeg:0 ) mp4? ( media-libs/libmp4v2:0 ) magic? ( sys-apps/file ) midi? ( media-libs/libsmf ) mpeg? ( media-libs/libmpeg2 ) tidy? ( app-text/htmltidy ) tiff? ( media-libs/tiff:0 ) vorbis? ( media-libs/libogg media-libs/libvorbis ) zlib? ( sys-libs/zlib ) !<app-crypt/pkcrack-1.2.2-r1 !sci-biology/glimmer !sci-chemistry/pdb-extract sys-devel/gettext virtual/pkgconfig
|
||||||
|
DESCRIPTION=A library used to extract metadata from files of arbitrary type
|
||||||
|
EAPI=6
|
||||||
|
HOMEPAGE=https://www.gnu.org/software/libextractor/
|
||||||
|
IUSE=+archive +bzip2 ffmpeg flac gif gsf gtk jpeg mp4 +magic midi mpeg tidy tiff vorbis +zlib
|
||||||
|
KEYWORDS=amd64 ~arm ppc ppc64 x86
|
||||||
|
LICENSE=GPL-3
|
||||||
|
RDEPEND=app-text/iso-codes >=dev-libs/glib-2 media-gfx/exiv2:= sys-devel/libtool virtual/libiconv virtual/libintl archive? ( app-arch/libarchive:= ) bzip2? ( app-arch/bzip2 ) ffmpeg? ( virtual/ffmpeg ) flac? ( media-libs/flac media-libs/libogg ) gif? ( media-libs/giflib:= ) gsf? ( gnome-extra/libgsf:= ) gtk? ( x11-libs/gtk+:3 ) jpeg? ( virtual/jpeg:0 ) mp4? ( media-libs/libmp4v2:0 ) magic? ( sys-apps/file ) midi? ( media-libs/libsmf ) mpeg? ( media-libs/libmpeg2 ) tidy? ( app-text/htmltidy ) tiff? ( media-libs/tiff:0 ) vorbis? ( media-libs/libogg media-libs/libvorbis ) zlib? ( sys-libs/zlib ) !<app-crypt/pkcrack-1.2.2-r1 !sci-biology/glimmer !sci-chemistry/pdb-extract
|
||||||
|
RESTRICT=test
|
||||||
|
SLOT=0
|
||||||
|
SRC_URI=mirror://gnu/libextractor/libextractor-1.3.tar.gz
|
||||||
|
_md5_=0b8058fd1ae6aec89917e33db3d09481
|
@ -0,0 +1,15 @@
|
|||||||
|
DEFINED_PHASES=compile configure install postinst postrm prepare setup
|
||||||
|
DEPEND=>=app-text/ghostscript-gpl-8.15 >=dev-scheme/guile-1.8.2:12[deprecated,regex] media-fonts/tex-gyre media-libs/fontconfig media-libs/freetype:2 >=x11-libs/pango-1.12.3 emacs? ( virtual/emacs ) >=dev-lang/python-2.7.5-r2:2.7 >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,-python_single_target_jython2_7(-),-python_single_target_pypy(-),-python_single_target_pypy3(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-),python_single_target_python2_7(+)] app-text/t1utils dev-lang/perl dev-libs/kpathsea >=dev-texlive/texlive-metapost-2013 || ( >=app-text/texlive-core-2013 >=dev-tex/metapost-1.803 ) virtual/pkgconfig media-gfx/fontforge[png] >=sys-apps/texinfo-4.11 >=sys-devel/bison-2.0 sys-devel/flex sys-devel/gettext sys-devel/make !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.15:1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4
|
||||||
|
DESCRIPTION=GNU Music Typesetter
|
||||||
|
EAPI=6
|
||||||
|
HOMEPAGE=http://lilypond.org/
|
||||||
|
IUSE=debug emacs profile vim-syntax linguas_ca linguas_cs linguas_da linguas_de linguas_el linguas_eo linguas_es linguas_fi linguas_fr linguas_it linguas_ja linguas_nl linguas_ru linguas_sv linguas_tr linguas_uk linguas_vi linguas_zh_TW python_targets_python2_7
|
||||||
|
KEYWORDS=~alpha ~amd64 ~arm ~hppa ~x86
|
||||||
|
LICENSE=GPL-3 FDL-1.3
|
||||||
|
RDEPEND=>=app-text/ghostscript-gpl-8.15 >=dev-scheme/guile-1.8.2:12[deprecated,regex] media-fonts/tex-gyre media-libs/fontconfig media-libs/freetype:2 >=x11-libs/pango-1.12.3 emacs? ( virtual/emacs ) >=dev-lang/python-2.7.5-r2:2.7 >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,-python_single_target_jython2_7(-),-python_single_target_pypy(-),-python_single_target_pypy3(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-),python_single_target_python2_7(+)]
|
||||||
|
REQUIRED_USE=python_targets_python2_7
|
||||||
|
RESTRICT=test
|
||||||
|
SLOT=0
|
||||||
|
SRC_URI=http://download.linuxaudio.org/lilypond/sources/v2.19/lilypond-2.19.49.tar.gz
|
||||||
|
_eclasses_=autotools 07e71b3b5690738ef7e8bc097077e00c elisp-common 9f56c4e9bf1282dbfc2a5a09e1124e74 libtool 4890219c51da247200223277f993e054 multilib 165fc17c38d1b11dac2008280dab6e80 python-single-r1 2ebea8fbab356d63110245129a67a6dd python-utils-r1 1797277ea0e7cee5c7de7ce74cf8acd8 toolchain-funcs 1b1da0c45c555989dc5d832b54880783
|
||||||
|
_md5_=efd9eea8df2dba93e982f4440616f6b1
|
@ -1,13 +0,0 @@
|
|||||||
DEFINED_PHASES=compile configure install prepare test
|
|
||||||
DEPEND=python? ( python_targets_pypy? ( virtual/pypy:0= ) python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) python_targets_python3_3? ( >=dev-lang/python-3.3.2-r2:3.3 ) python_targets_python3_4? ( dev-lang/python:3.4 ) python_targets_python3_5? ( dev-lang/python:3.5 ) >=dev-lang/python-exec-2:=[python_targets_pypy(-)?,python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,-python_single_target_pypy(-),-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-)] dev-python/setuptools ) zlib? ( >=sys-libs/zlib-1.2.8-r1[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] )
|
|
||||||
DESCRIPTION=identify a file's format by scanning binary data for patterns
|
|
||||||
EAPI=5
|
|
||||||
HOMEPAGE=http://www.darwinsys.com/file/
|
|
||||||
IUSE=python static-libs zlib python_targets_pypy python_targets_python2_7 python_targets_python3_3 python_targets_python3_4 python_targets_python3_5 abi_x86_32 abi_x86_64 abi_x86_x32 abi_mips_n32 abi_mips_n64 abi_mips_o32 abi_ppc_32 abi_ppc_64 abi_s390_32 abi_s390_64
|
|
||||||
KEYWORDS=~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd
|
|
||||||
LICENSE=BSD-2
|
|
||||||
RDEPEND=python? ( python_targets_pypy? ( virtual/pypy:0= ) python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7 ) python_targets_python3_3? ( >=dev-lang/python-3.3.2-r2:3.3 ) python_targets_python3_4? ( dev-lang/python:3.4 ) python_targets_python3_5? ( dev-lang/python:3.5 ) >=dev-lang/python-exec-2:=[python_targets_pypy(-)?,python_targets_python2_7(-)?,python_targets_python3_3(-)?,python_targets_python3_4(-)?,python_targets_python3_5(-)?,-python_single_target_pypy(-),-python_single_target_python2_7(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-)] dev-python/setuptools ) zlib? ( >=sys-libs/zlib-1.2.8-r1[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] ) python? ( !dev-python/python-magic )
|
|
||||||
SLOT=0
|
|
||||||
SRC_URI=ftp://ftp.astron.com/pub/file/file-5.26.tar.gz ftp://ftp.gw.com/mirrors/pub/unix/file/file-5.26.tar.gz
|
|
||||||
_eclasses_=distutils-r1 674dae153419b2200ae54e879cc65b57 eutils b83a2420b796f7c6eff682679d08fe25 libtool 4890219c51da247200223277f993e054 multibuild 742139c87a9fa3766f0c2b155e5522bf multilib 165fc17c38d1b11dac2008280dab6e80 multilib-build 8fe2e81aeb36cdf8a6cc5f50443879cc multilib-minimal 0224dee31c0f98405d572e14ad6dee65 multiprocessing e32940a7b2a9992ad217eccddb84d548 python-r1 0f6937650a475d673baa5d0c8c0b37b3 python-utils-r1 1797277ea0e7cee5c7de7ce74cf8acd8 toolchain-funcs 1b1da0c45c555989dc5d832b54880783 xdg-utils e2b2bd56125ce8cf59ce30c642b59d48
|
|
||||||
_md5_=b8328917816243cfe3fa7ebead7e9704
|
|
@ -0,0 +1,12 @@
|
|||||||
|
DEFINED_PHASES=configure install preinst prepare
|
||||||
|
DEPEND=>=app-misc/editor-wrapper-3 >=sys-libs/ncurses-5.2:0= pcre? ( dev-libs/libpcre )
|
||||||
|
DESCRIPTION=Excellent text file viewer
|
||||||
|
EAPI=5
|
||||||
|
HOMEPAGE=http://www.greenwoodsoftware.com/less/
|
||||||
|
IUSE=pcre unicode
|
||||||
|
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
|
||||||
|
LICENSE=|| ( GPL-3 BSD-2 )
|
||||||
|
RDEPEND=>=app-misc/editor-wrapper-3 >=sys-libs/ncurses-5.2:0= pcre? ( dev-libs/libpcre )
|
||||||
|
SLOT=0
|
||||||
|
SRC_URI=http://www.greenwoodsoftware.com/less/less-487.tar.gz
|
||||||
|
_md5_=831c50c91b7fc6eec5199fe0eaa2d380
|
@ -0,0 +1,14 @@
|
|||||||
|
DEFINED_PHASES=compile install postinst postrm preinst setup test unpack
|
||||||
|
DEPEND=>=sys-devel/patch-2.7.4 !build? ( sys-apps/sed >=sys-devel/binutils-2.11.90.0.31 )
|
||||||
|
DESCRIPTION=The very latest -git version of the Linux kernel
|
||||||
|
EAPI=5
|
||||||
|
HOMEPAGE=https://www.kernel.org
|
||||||
|
IUSE=symlink build
|
||||||
|
KEYWORDS=~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86
|
||||||
|
LICENSE=GPL-2 freedist
|
||||||
|
RDEPEND=!build? ( >=sys-libs/ncurses-5.2 sys-devel/make dev-lang/perl sys-devel/bc )
|
||||||
|
RESTRICT=binchecks strip
|
||||||
|
SLOT=4.9_rc2
|
||||||
|
SRC_URI=mirror://kernel/linux/kernel/v4.x/testing/patch-4.9-rc2.xz mirror://kernel/linux/kernel/v4.x/linux-4.8.tar.xz
|
||||||
|
_eclasses_=eutils b83a2420b796f7c6eff682679d08fe25 kernel-2 f31f3b95b5d8f120e14f0b7aafbd8b47 multilib 165fc17c38d1b11dac2008280dab6e80 python-any-r1 1c20f9b800324335a8e3b137363362e8 python-utils-r1 1797277ea0e7cee5c7de7ce74cf8acd8 toolchain-funcs 1b1da0c45c555989dc5d832b54880783 versionator 99ae9d758cbe7cfed19170e7d48f5a9c
|
||||||
|
_md5_=0675380e6faee4dfc25651554e58d99d
|
@ -1 +1 @@
|
|||||||
Tue, 25 Oct 2016 14:40:32 +0000
|
Wed, 26 Oct 2016 05:40:31 +0000
|
||||||
|
@ -1 +1 @@
|
|||||||
Tue Oct 25 14:39:36 UTC 2016
|
Wed Oct 26 05:39:35 UTC 2016
|
||||||
|
@ -1 +1 @@
|
|||||||
Tue, 25 Oct 2016 15:30:01 +0000
|
Wed, 26 Oct 2016 06:00:01 +0000
|
||||||
|
@ -1 +1 @@
|
|||||||
1477406401 Tue 25 Oct 2016 02:40:01 PM UTC
|
1477460401 Wed 26 Oct 2016 05:40:01 AM UTC
|
||||||
|
@ -1 +1 @@
|
|||||||
Tue, 25 Oct 2016 14:40:32 +0000
|
Wed, 26 Oct 2016 05:40:31 +0000
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
DIST tdesktop-0.10.11.tar.gz 11418798 SHA256 882d08873f3ee3f728fcdb4a786f5be5f04ea96e0371da5435db6061088c8b43 SHA512 680dfe0ec5fefdbb3a68f0748c42e878188d8694388cd5b10ef6f7a60bee3cffc9e9d3d793b2de2230303dc6cdcb3ff1ab521e2f48fae67705d1f0e1a8901844 WHIRLPOOL 05c11373743317fc7e1eb5f7b960af855a0b0eff2365fb2f3a466638b947825bc72b2266cb6dfab2f486cd83dccf17373be55da42157a5ea07a3cf7f9d673bff
|
|
||||||
DIST tdesktop-0.10.16.tar.gz 11488595 SHA256 fbc80eaf2b87335d024b2aa2504bf2de87daa224d2b579169f81d7e0317ef4e4 SHA512 55bc8fa9007dba3abf1873daf739a5630d07627fced8a72c83e098942d0e376012c6101286d633c798d1fc80183365166a9bb6a5f144574db42ce945ce0a8ef6 WHIRLPOOL 63e3dbb60d7426527655a53acdc7f7b052ca499a15a2a8fbfc34b538ce0e9db43d86e7c4a93ad891963aa7537f2697b7bec30aaf7bc423b82b0efb1b62e78a46
|
DIST tdesktop-0.10.16.tar.gz 11488595 SHA256 fbc80eaf2b87335d024b2aa2504bf2de87daa224d2b579169f81d7e0317ef4e4 SHA512 55bc8fa9007dba3abf1873daf739a5630d07627fced8a72c83e098942d0e376012c6101286d633c798d1fc80183365166a9bb6a5f144574db42ce945ce0a8ef6 WHIRLPOOL 63e3dbb60d7426527655a53acdc7f7b052ca499a15a2a8fbfc34b538ce0e9db43d86e7c4a93ad891963aa7537f2697b7bec30aaf7bc423b82b0efb1b62e78a46
|
||||||
DIST tsetup.0.10.11.tar.xz 20861112 SHA256 ff5c222e68409f771bc7605d73119c3f64b7132e6465b7b7717b63c7bacb6ae1 SHA512 ff354d20084df0c4da4ffc9e9d879b1a8b59df358cfebc75a8a919e1fb592b3237b78421e9b2c1e6fee6592e278a133f251ffb2a088fa896b5885c4df27a212d WHIRLPOOL 28d160980147c621f565c942d18653eaf187453adef6568502858e0ca516cb7552b28679002fa6c536ddd1ca59621f1bc57586f7d22d45f073833e7b26fbe84d
|
DIST tdesktop-0.10.19.tar.gz 11485857 SHA256 0620d2c6e2dc254e3d69659d311a6117efef251a16270ba908fec150712b50b4 SHA512 ff7cc265fa1b2f5f83e7dc54e3eaa45999925ad9c0dc0f3c3f376884c021dc4fb1787318a188ef47dc633529da981d2923118bde1b915d01f8c0f68785416b4d WHIRLPOOL 7b2843a8c0cd2d7251cab7287822ba062078361ea291dbe098f64571aac64be6a8c61c0ab6837626b2f72f3070d4e46a76dd999b9040abef9f35c2c8b330f654
|
||||||
DIST tsetup.0.10.16.tar.xz 24950460 SHA256 1fba994ca887f501beccbd75e0e25e0bf7b3c72a42503a730afbd467bd357ebe SHA512 819abb250c813b23a9644e7ac160e0fcbd7e7ccd4c066a78c1dfe5880bad48f79e676e657c33b3e5e35a40fb97f23a0f7adfd928caf18c771cfa337da2ee6d99 WHIRLPOOL d3c027ca03d90d6270715e9769951bb70efbec46e1837bd71d6d086cd8a3242d66ac1124aa74666dc75695cc9ecb8cf86676d983f24f4ed13f25527497187c61
|
DIST tsetup.0.10.16.tar.xz 24950460 SHA256 1fba994ca887f501beccbd75e0e25e0bf7b3c72a42503a730afbd467bd357ebe SHA512 819abb250c813b23a9644e7ac160e0fcbd7e7ccd4c066a78c1dfe5880bad48f79e676e657c33b3e5e35a40fb97f23a0f7adfd928caf18c771cfa337da2ee6d99 WHIRLPOOL d3c027ca03d90d6270715e9769951bb70efbec46e1837bd71d6d086cd8a3242d66ac1124aa74666dc75695cc9ecb8cf86676d983f24f4ed13f25527497187c61
|
||||||
DIST tsetup32.0.10.11.tar.xz 21452952 SHA256 136efae700013d5e0d6efd088d766f338308d56ddb5b24b179a64e29227f0f20 SHA512 c0555bb7057a2a654515e2f02ab8c039fdd96f9ceb20c8a0555117e0aba096cb7ad568c970505195fb7e53f3c96cfb1d3c6dc8715fd4f5e737c0af80afafb972 WHIRLPOOL 28bfec493da6cb9bc5c8dca2ce1f42aefb2c6fb61e382c98a7037dc30c8bd0934b26c9f088510422c599dffbf2e48f8b02862202a0110a14991f54d8a37db24c
|
DIST tsetup.0.10.19.tar.xz 24945384 SHA256 586a6d98d8ee412581a73e501287f4bc972fa966f34e62c245878e6ef183042b SHA512 b2c17c778e8a9b4a7a7f07408e850a26f229b230668365a9aef212e17f601b4d9f0d9e2fd5958e1ab7c5f59ab908b4f86a72afb962ecc29fe3b107db0723efc5 WHIRLPOOL 2407dcd1e82c8c618d816b99bbdcec16756d2153f1d1925e72c0137ec3148d3673fb213a457e8f12710b260a082be3792ed736f4fe879e2a226739fb495621f9
|
||||||
DIST tsetup32.0.10.16.tar.xz 25576088 SHA256 1daacb1449a69fe6e81ba1e6675c9e60b8c2c1f018cdaec0426a57c330af1ec1 SHA512 16f71a33b1dd1c7d421963a82b3abc820f949eaf821e9718bb8125301106bd46853d19e323a8c8f94bb67ef7efaefd46c16ab9f396edd1a85b9df58b6490df7d WHIRLPOOL 8bcf7633d2a88353343eebee781488c751ff1863ceb2ed36a6b390e5040c7a399a26b8674d4953bd6efc584df0ad30a0fdfa562d9bf7875305c3d0c0fda658dc
|
DIST tsetup32.0.10.16.tar.xz 25576088 SHA256 1daacb1449a69fe6e81ba1e6675c9e60b8c2c1f018cdaec0426a57c330af1ec1 SHA512 16f71a33b1dd1c7d421963a82b3abc820f949eaf821e9718bb8125301106bd46853d19e323a8c8f94bb67ef7efaefd46c16ab9f396edd1a85b9df58b6490df7d WHIRLPOOL 8bcf7633d2a88353343eebee781488c751ff1863ceb2ed36a6b390e5040c7a399a26b8674d4953bd6efc584df0ad30a0fdfa562d9bf7875305c3d0c0fda658dc
|
||||||
|
DIST tsetup32.0.10.19.tar.xz 25559412 SHA256 b0f9c9ff51f8caf67f549960b2c4fde3d2d683ac8e77b3ed1c2d4c9e7f3283b3 SHA512 4b613a2dec6a76aebdb9c23ec62a0eadd1e47135d73ef444635bc4b585486d85a7a9fa4ae4a9c6d931de0ffb8745bb12b4437eeb2209008da089d2394f07ab17 WHIRLPOOL d20110f799560a9150898dae1bf6483449ac38fc65ed53714e9a3781ba21093f7285771fb11189bde8e2bd816997e4cdb12e6e7d5274f9cd90557f7470d2ada4
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
DIST file-5.22.tar.gz 732556 SHA256 c4e3a8e44cb888c5e4b476e738503e37fb9de3b25a38c143e214bfc12109fc0b SHA512 e9f1648c3b490bac642a2a9e01d31a8bd49c3e2a1feea1b25869aa1d5e37aa99bbf3fdc5d301618a8b97aec046f10e400a57f8a1d0dd61d3583830aaf3fcbda8 WHIRLPOOL de9ce9305fd824d85128617e196fe6b02ea470b63eb2a35d31e857f7cf91e09f85166aaa72695aaf4a7516413b3a146db85588e7da65f32b131a477b3dece176
|
DIST file-5.22.tar.gz 732556 SHA256 c4e3a8e44cb888c5e4b476e738503e37fb9de3b25a38c143e214bfc12109fc0b SHA512 e9f1648c3b490bac642a2a9e01d31a8bd49c3e2a1feea1b25869aa1d5e37aa99bbf3fdc5d301618a8b97aec046f10e400a57f8a1d0dd61d3583830aaf3fcbda8 WHIRLPOOL de9ce9305fd824d85128617e196fe6b02ea470b63eb2a35d31e857f7cf91e09f85166aaa72695aaf4a7516413b3a146db85588e7da65f32b131a477b3dece176
|
||||||
DIST file-5.25.tar.gz 739485 SHA256 3735381563f69fb4239470b8c51b876a80425348b8285a7cded8b61d6b890eca SHA512 4a5176a7e80df2bb7e45916490433d22eb98a442d49d04146afcbdcf92ff619ea3e73e95c8991e6b6a0628efb9d127bfa4aafc1cae523f8261ca693bc5e13402 WHIRLPOOL 70c682ff05e58487a551cd98091e27272baa41e034157bec93ac4d69b2f3e93caed40f37d64ef698527124e86ba4a5cb5975abacfd9eb30e4d3583262e5f0b0b
|
DIST file-5.25.tar.gz 739485 SHA256 3735381563f69fb4239470b8c51b876a80425348b8285a7cded8b61d6b890eca SHA512 4a5176a7e80df2bb7e45916490433d22eb98a442d49d04146afcbdcf92ff619ea3e73e95c8991e6b6a0628efb9d127bfa4aafc1cae523f8261ca693bc5e13402 WHIRLPOOL 70c682ff05e58487a551cd98091e27272baa41e034157bec93ac4d69b2f3e93caed40f37d64ef698527124e86ba4a5cb5975abacfd9eb30e4d3583262e5f0b0b
|
||||||
DIST file-5.26.tar.gz 773061 SHA256 2ef32b4ec936b0ff7b59a021dce56086a716663b6df1138c7ea597d396bf50cf SHA512 e3251dde54f200b6bcade5db97fda25e73efcb2629ff5c464601c82190e12290b89eb942d820d43aa67ef37be3c0f2db00e7e5c303c083e4a8d1c49499b907dd WHIRLPOOL f8922b8cbfe153347f793e34ba7be1c3e36e55800e22fcb675f971bcc2094781a0784d887ece32760e2586fe6c459f56ce605610225f6746dacd70a922ac9e10
|
|
||||||
DIST file-5.27.tar.gz 774063 SHA256 c2e7d509b1167c4915901ecd257ee924d229a348bf988df6d1934ef0fa34a1a7 SHA512 fcf607d367d85b8a971a62793efc79f7e548e029dd7bb41f95bf992c271c514d70cd4bb5c2ca577e470e0ff1df9dca31beaaf19a5fd4e3f617b36061eff46195 WHIRLPOOL ea7483dce63a4b1f5fa7ee2571e918997bcffb46a7267a1fa45990dc33966e04a22f20d01105b268f6e6ca530a3a9c3f20f4f802a445847c60ee7f943cc5b570
|
|
||||||
DIST file-5.28.tar.gz 777859 SHA256 0ecb5e146b8655d1fa84159a847ee619fc102575205a0ff9c6cc60fc5ee2e012 SHA512 42136505e21b14396e3af4e0d3f349687176cf0771d2dc9fed3599a30c7bab59184459f1e51033bce2d6ee0e292eba034bdfda727decca1219c1b3419e6bbfdc WHIRLPOOL f12889fc2a692084989d7029d8b9c849344e4236df8afc9e46c6441712aace5e07fee3bb05267ef76da7d41fbcb6b21db4e3bf6e22af660d43b2edeb6ff1571c
|
DIST file-5.28.tar.gz 777859 SHA256 0ecb5e146b8655d1fa84159a847ee619fc102575205a0ff9c6cc60fc5ee2e012 SHA512 42136505e21b14396e3af4e0d3f349687176cf0771d2dc9fed3599a30c7bab59184459f1e51033bce2d6ee0e292eba034bdfda727decca1219c1b3419e6bbfdc WHIRLPOOL f12889fc2a692084989d7029d8b9c849344e4236df8afc9e46c6441712aace5e07fee3bb05267ef76da7d41fbcb6b21db4e3bf6e22af660d43b2edeb6ff1571c
|
||||||
|
DIST file-5.29.tar.gz 783919 SHA256 ea661277cd39bf8f063d3a83ee875432cc3680494169f952787e002bdd3884c0 SHA512 58db17a6bea5d71723f3f7d25300985b3aa78f27fdb1e8b9bb41e61dc325236acaca7c1475cc2725ed672151e1764892dff83d37c24313fe26f45ee3388d4462 WHIRLPOOL e80f117f3db08707c197db2f30aa81407c85b6a5ff0125b41a311c1d6f7dfbf3c0a315ebd1115bef3eecf05beed1fad3570a90d047ecbc7d3a29adcb8ea5c094
|
||||||
|
@ -1,117 +0,0 @@
|
|||||||
# Copyright 1999-2016 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI="5"
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python{2_7,3_3,3_4,3_5} pypy )
|
|
||||||
DISTUTILS_OPTIONAL=1
|
|
||||||
|
|
||||||
inherit eutils distutils-r1 libtool toolchain-funcs multilib-minimal
|
|
||||||
|
|
||||||
if [[ ${PV} == "9999" ]] ; then
|
|
||||||
EGIT_REPO_URI="git://github.com/glensc/file.git"
|
|
||||||
inherit autotools git-r3
|
|
||||||
else
|
|
||||||
SRC_URI="ftp://ftp.astron.com/pub/file/${P}.tar.gz
|
|
||||||
ftp://ftp.gw.com/mirrors/pub/unix/file/${P}.tar.gz"
|
|
||||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
|
|
||||||
fi
|
|
||||||
|
|
||||||
DESCRIPTION="identify a file's format by scanning binary data for patterns"
|
|
||||||
HOMEPAGE="http://www.darwinsys.com/file/"
|
|
||||||
|
|
||||||
LICENSE="BSD-2"
|
|
||||||
SLOT="0"
|
|
||||||
IUSE="python static-libs zlib"
|
|
||||||
|
|
||||||
DEPEND="python? ( ${PYTHON_DEPS}
|
|
||||||
dev-python/setuptools )
|
|
||||||
zlib? ( >=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}] )"
|
|
||||||
RDEPEND="${DEPEND}
|
|
||||||
python? ( !dev-python/python-magic )"
|
|
||||||
|
|
||||||
PATCHES=(
|
|
||||||
"${FILESDIR}"/${P}-header-define.patch
|
|
||||||
"${FILESDIR}"/${P}-nes-magic.patch
|
|
||||||
"${FILESDIR}"/${P}-php-magic.patch
|
|
||||||
"${FILESDIR}"/${P}-msoffice-magic.patch
|
|
||||||
"${FILESDIR}"/${P}-stdin-rpm.patch
|
|
||||||
"${FILESDIR}"/${P}-tests-fatal.patch
|
|
||||||
"${FILESDIR}"/${P}-stdin-test.patch
|
|
||||||
"${FILESDIR}"/${P}-compress-1.patch
|
|
||||||
"${FILESDIR}"/${P}-compress-2.patch
|
|
||||||
)
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
epatch "${PATCHES[@]}"
|
|
||||||
[[ ${PV} == "9999" ]] && eautoreconf
|
|
||||||
elibtoolize
|
|
||||||
|
|
||||||
# don't let python README kill main README #60043
|
|
||||||
mv python/README{,.python}
|
|
||||||
}
|
|
||||||
|
|
||||||
multilib_src_configure() {
|
|
||||||
ECONF_SOURCE=${S} \
|
|
||||||
ac_cv_header_zlib_h=$(usex zlib) \
|
|
||||||
ac_cv_lib_z_gzopen=$(usex zlib)
|
|
||||||
econf \
|
|
||||||
$(use_enable static-libs static)
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
# when cross-compiling, we need to build up our own file
|
|
||||||
# because people often don't keep matching host/target
|
|
||||||
# file versions #362941
|
|
||||||
if tc-is-cross-compiler && ! ROOT=/ has_version ~${CATEGORY}/${P} ; then
|
|
||||||
mkdir -p "${WORKDIR}"/build
|
|
||||||
cd "${WORKDIR}"/build
|
|
||||||
tc-export_build_env BUILD_C{C,XX}
|
|
||||||
ECONF_SOURCE=${S} \
|
|
||||||
ac_cv_header_zlib_h=no \
|
|
||||||
ac_cv_lib_z_gzopen=no \
|
|
||||||
CHOST=${CBUILD} \
|
|
||||||
CFLAGS=${BUILD_CFLAGS} \
|
|
||||||
CXXFLAGS=${BUILD_CXXFLAGS} \
|
|
||||||
CPPFLAGS=${BUILD_CPPFLAGS} \
|
|
||||||
LDFLAGS="${BUILD_LDFLAGS} -static" \
|
|
||||||
CC=${BUILD_CC} \
|
|
||||||
CXX=${BUILD_CXX} \
|
|
||||||
econf --disable-shared
|
|
||||||
fi
|
|
||||||
|
|
||||||
multilib-minimal_src_configure
|
|
||||||
}
|
|
||||||
|
|
||||||
multilib_src_compile() {
|
|
||||||
if multilib_is_native_abi ; then
|
|
||||||
emake
|
|
||||||
else
|
|
||||||
emake -C src libmagic.la
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
if tc-is-cross-compiler && ! ROOT=/ has_version "~${CATEGORY}/${P}" ; then
|
|
||||||
emake -C "${WORKDIR}"/build/src file
|
|
||||||
PATH="${WORKDIR}/build/src:${PATH}"
|
|
||||||
fi
|
|
||||||
multilib-minimal_src_compile
|
|
||||||
|
|
||||||
use python && cd python && distutils-r1_src_compile
|
|
||||||
}
|
|
||||||
|
|
||||||
multilib_src_install() {
|
|
||||||
if multilib_is_native_abi ; then
|
|
||||||
default
|
|
||||||
else
|
|
||||||
emake -C src install-{includeHEADERS,libLTLIBRARIES} DESTDIR="${D}"
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
multilib_src_install_all() {
|
|
||||||
dodoc ChangeLog MAINT README
|
|
||||||
|
|
||||||
use python && cd python && distutils-r1_src_install
|
|
||||||
prune_libtool_files
|
|
||||||
}
|
|
@ -1,53 +0,0 @@
|
|||||||
From 52ae939467583ec499f6c62cdb406e8f982c0310 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Christos Zoulas <christos@zoulas.com>
|
|
||||||
Date: Tue, 19 Apr 2016 13:39:19 +0000
|
|
||||||
Subject: [PATCH] Fix compression code (Werner Fink)
|
|
||||||
|
|
||||||
---
|
|
||||||
src/compress.c | 19 +++++++++++--------
|
|
||||||
1 file changed, 11 insertions(+), 8 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/src/compress.c b/src/compress.c
|
|
||||||
index f322445..0ebc837 100644
|
|
||||||
--- a/src/compress.c
|
|
||||||
+++ b/src/compress.c
|
|
||||||
@@ -231,9 +231,9 @@ file_zmagic(struct magic_set *ms, int fd, const char *name,
|
|
||||||
goto error;
|
|
||||||
DPRINTF("rv = %d\n", rv);
|
|
||||||
if ((ms->flags & MAGIC_COMPRESS_TRANSP) != 0)
|
|
||||||
- goto out;
|
|
||||||
+ break;
|
|
||||||
if (mime != MAGIC_MIME && mime != 0)
|
|
||||||
- goto out;
|
|
||||||
+ break;
|
|
||||||
if ((file_printf(ms,
|
|
||||||
mime ? " compressed-encoding=" : " (")) == -1)
|
|
||||||
goto error;
|
|
||||||
@@ -250,16 +250,19 @@ file_zmagic(struct magic_set *ms, int fd, const char *name,
|
|
||||||
}
|
|
||||||
if (!mime && file_printf(ms, ")") == -1)
|
|
||||||
goto error;
|
|
||||||
- goto out;
|
|
||||||
+ /*FALLTHROUGH*/
|
|
||||||
case NODATA:
|
|
||||||
- goto out;
|
|
||||||
+ break;
|
|
||||||
default:
|
|
||||||
abort();
|
|
||||||
+ /*NOTREACHED*/
|
|
||||||
+ error:
|
|
||||||
+ rv = -1;
|
|
||||||
+ break;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
-out:
|
|
||||||
- rv = 1;
|
|
||||||
-error:
|
|
||||||
+ DPRINTF("rv = %d\n", rv);
|
|
||||||
+
|
|
||||||
#ifdef HAVE_SIGNAL_H
|
|
||||||
(void)signal(SIGPIPE, osigpipe);
|
|
||||||
#endif
|
|
||||||
--
|
|
||||||
2.7.4
|
|
||||||
|
|
@ -1,73 +0,0 @@
|
|||||||
http://mx.gw.com/pipermail/file/2016/001978.html
|
|
||||||
|
|
||||||
From 26879a2b5ec6880cb46b416880e520c628927abd Mon Sep 17 00:00:00 2001
|
|
||||||
From: Christos Zoulas <christos@zoulas.com>
|
|
||||||
Date: Tue, 19 Apr 2016 23:36:36 +0000
|
|
||||||
Subject: [PATCH] Restore part of previous logic, that breaks out of the
|
|
||||||
uncompress loop if there was a compression match error or not. Separate the
|
|
||||||
return values to avoid confusion.
|
|
||||||
|
|
||||||
---
|
|
||||||
src/compress.c | 23 ++++++++++++-----------
|
|
||||||
1 file changed, 12 insertions(+), 11 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/src/compress.c b/src/compress.c
|
|
||||||
index 0ebc837..2a95f85 100644
|
|
||||||
--- a/src/compress.c
|
|
||||||
+++ b/src/compress.c
|
|
||||||
@@ -187,7 +187,7 @@ file_zmagic(struct magic_set *ms, int fd, const char *name,
|
|
||||||
size_t i, nsz;
|
|
||||||
char *rbuf;
|
|
||||||
file_pushbuf_t *pb;
|
|
||||||
- int rv = 0;
|
|
||||||
+ int urv, prv, rv = 0;
|
|
||||||
int mime = ms->flags & MAGIC_MIME;
|
|
||||||
#ifdef HAVE_SIGNAL_H
|
|
||||||
sig_t osigpipe;
|
|
||||||
@@ -214,26 +214,26 @@ file_zmagic(struct magic_set *ms, int fd, const char *name,
|
|
||||||
if (!zm)
|
|
||||||
continue;
|
|
||||||
nsz = nbytes;
|
|
||||||
- rv = uncompressbuf(fd, ms->bytes_max, i, buf, &newbuf, &nsz);
|
|
||||||
+ urv = uncompressbuf(fd, ms->bytes_max, i, buf, &newbuf, &nsz);
|
|
||||||
DPRINTF("uncompressbuf = %d, %s, %zu\n", rv, (char *)newbuf,
|
|
||||||
nsz);
|
|
||||||
- switch (rv) {
|
|
||||||
+ switch (urv) {
|
|
||||||
case OKDATA:
|
|
||||||
case ERRDATA:
|
|
||||||
|
|
||||||
ms->flags &= ~MAGIC_COMPRESS;
|
|
||||||
- if (rv == ERRDATA)
|
|
||||||
- rv = file_printf(ms, "%s ERROR: %s",
|
|
||||||
+ if (urv == ERRDATA)
|
|
||||||
+ prv = file_printf(ms, "%s ERROR: %s",
|
|
||||||
methodname(i), newbuf);
|
|
||||||
else
|
|
||||||
- rv = file_buffer(ms, -1, name, newbuf, nsz);
|
|
||||||
- if (rv == -1)
|
|
||||||
+ prv = file_buffer(ms, -1, name, newbuf, nsz);
|
|
||||||
+ if (prv == -1)
|
|
||||||
goto error;
|
|
||||||
- DPRINTF("rv = %d\n", rv);
|
|
||||||
+ rv = 1;
|
|
||||||
if ((ms->flags & MAGIC_COMPRESS_TRANSP) != 0)
|
|
||||||
- break;
|
|
||||||
+ goto out;
|
|
||||||
if (mime != MAGIC_MIME && mime != 0)
|
|
||||||
- break;
|
|
||||||
+ goto out;
|
|
||||||
if ((file_printf(ms,
|
|
||||||
mime ? " compressed-encoding=" : " (")) == -1)
|
|
||||||
goto error;
|
|
||||||
@@ -261,6 +261,7 @@ file_zmagic(struct magic_set *ms, int fd, const char *name,
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
+out:
|
|
||||||
DPRINTF("rv = %d\n", rv);
|
|
||||||
|
|
||||||
#ifdef HAVE_SIGNAL_H
|
|
||||||
--
|
|
||||||
2.7.4
|
|
||||||
|
|
@ -1,26 +0,0 @@
|
|||||||
http://mx.gw.com/pipermail/file/2016/001955.html
|
|
||||||
|
|
||||||
From c4b6ea9b998882d08692599e28f4245714eaf8bb Mon Sep 17 00:00:00 2001
|
|
||||||
From: Christos Zoulas <christos@zoulas.com>
|
|
||||||
Date: Sun, 17 Apr 2016 13:56:03 +0000
|
|
||||||
Subject: [PATCH] add missing define.
|
|
||||||
|
|
||||||
---
|
|
||||||
src/magic.h.in | 1 +
|
|
||||||
1 file changed, 1 insertion(+)
|
|
||||||
|
|
||||||
diff --git a/src/magic.h.in b/src/magic.h.in
|
|
||||||
index 1e567cd..3d6954a 100644
|
|
||||||
--- a/src/magic.h.in
|
|
||||||
+++ b/src/magic.h.in
|
|
||||||
@@ -114,6 +114,7 @@ int magic_errno(magic_t);
|
|
||||||
#define MAGIC_PARAM_ELF_SHNUM_MAX 3
|
|
||||||
#define MAGIC_PARAM_ELF_NOTES_MAX 4
|
|
||||||
#define MAGIC_PARAM_REGEX_MAX 5
|
|
||||||
+#define MAGIC_PARAM_BYTES_MAX 6
|
|
||||||
|
|
||||||
int magic_setparam(magic_t, int, const void *);
|
|
||||||
int magic_getparam(magic_t, int, void *);
|
|
||||||
--
|
|
||||||
2.7.4
|
|
||||||
|
|
@ -1,45 +0,0 @@
|
|||||||
From 84609201fbbd9074f5426b991c5242a08ed78712 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Christos Zoulas <christos@zoulas.com>
|
|
||||||
Date: Tue, 19 Apr 2016 18:14:19 +0000
|
|
||||||
Subject: [PATCH] Strengthen the magic of relocatable microsoft objects to
|
|
||||||
avoid spurious matches (Joerg Jenderek)
|
|
||||||
|
|
||||||
---
|
|
||||||
magic/Magdir/xenix | 23 +++++++++++++++++++++--
|
|
||||||
1 file changed, 21 insertions(+), 2 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/magic/Magdir/xenix b/magic/Magdir/xenix
|
|
||||||
index 38e1e3c..ca5eaae 100644
|
|
||||||
--- a/magic/Magdir/xenix
|
|
||||||
+++ b/magic/Magdir/xenix
|
|
||||||
@@ -12,7 +12,26 @@
|
|
||||||
# XXX - "x.out" collides with PDP-11 archives
|
|
||||||
#
|
|
||||||
0 string core core file (Xenix)
|
|
||||||
-0 byte 0x80 8086 relocatable (Microsoft)
|
|
||||||
+# URL: http://www.polarhome.com/service/man/?qf=86rel&tf=2&of=Xenix
|
|
||||||
+# Reference: http://www.azillionmonkeys.com/qed/Omfg.pdf
|
|
||||||
+# Update: Joerg Jenderek
|
|
||||||
+# recordtype~TranslatorHEADerRecord
|
|
||||||
+0 byte 0x80
|
|
||||||
+# GRR: line above is too general as it catches also Extensible storage engine DataBase
|
|
||||||
+# skip examples like GENA.SND Switch.Snd by looking for record length maximal 1024-3
|
|
||||||
+>1 uleshort <1022
|
|
||||||
+# skip examples like GAME.PICTURE Strange.Pic by looking for positiv record length
|
|
||||||
+>>1 uleshort >0
|
|
||||||
+# skip examples like Xtable.Data FRACTAL.GEN SHR.VIEW by looking for positiv string length
|
|
||||||
+>>>3 ubyte >0
|
|
||||||
+# skip examples like OMBRE.6 with "UUUUUU" by looking for filename like "hello.c"
|
|
||||||
+>>>>4 regex [a-zA-Z_/]{1,8}[.] 8086 relocatable (Microsoft)
|
|
||||||
+#!:mime application/octet-stream
|
|
||||||
+!:mime application/x-object
|
|
||||||
+!:ext o/a
|
|
||||||
+>>>>>3 pstring x \b, "%s"
|
|
||||||
+# checksum
|
|
||||||
+#>>>>>(3.b+4) ubyte x \b, checksum 0x%2.2x
|
|
||||||
0 leshort 0xff65 x.out
|
|
||||||
>2 string __.SYMDEF randomized
|
|
||||||
>0 byte x archive
|
|
||||||
--
|
|
||||||
2.7.4
|
|
||||||
|
|
@ -1,27 +0,0 @@
|
|||||||
http://mx.gw.com/pipermail/file/2016/001969.html
|
|
||||||
|
|
||||||
From 402b28ae533f5d013cd44e29eeaf64bcd4e5a925 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Christos Zoulas <christos@zoulas.com>
|
|
||||||
Date: Mon, 18 Apr 2016 20:22:10 +0000
|
|
||||||
Subject: [PATCH] Add missing continuation
|
|
||||||
|
|
||||||
---
|
|
||||||
magic/Magdir/console | 4 ++--
|
|
||||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/magic/Magdir/console b/magic/Magdir/console
|
|
||||||
index ed69f43..9448223 100644
|
|
||||||
--- a/magic/Magdir/console
|
|
||||||
+++ b/magic/Magdir/console
|
|
||||||
@@ -53,7 +53,7 @@
|
|
||||||
# so most of the data isn't easily parseable.
|
|
||||||
#
|
|
||||||
0 string UNIF
|
|
||||||
-4 lelong <16 UNIF v%d format NES ROM image
|
|
||||||
+>4 lelong <16 UNIF v%d format NES ROM image
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------
|
|
||||||
# gameboy: file(1) magic for the Nintendo (Color) Gameboy raw ROM format
|
|
||||||
--
|
|
||||||
2.7.4
|
|
||||||
|
|
@ -1,28 +0,0 @@
|
|||||||
http://mx.gw.com/pipermail/file/2016/001947.html
|
|
||||||
http://mx.gw.com/pipermail/file/2016/001949.html
|
|
||||||
|
|
||||||
From a5995b6e56c1a476360ccc58598a389f6cd71948 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Christos Zoulas <christos@zoulas.com>
|
|
||||||
Date: Tue, 19 Apr 2016 13:40:02 +0000
|
|
||||||
Subject: [PATCH] Fix wrong level
|
|
||||||
|
|
||||||
---
|
|
||||||
magic/Magdir/commands | 4 ++--
|
|
||||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/magic/Magdir/commands b/magic/Magdir/commands
|
|
||||||
index 95109f3..fddb764 100644
|
|
||||||
--- a/magic/Magdir/commands
|
|
||||||
+++ b/magic/Magdir/commands
|
|
||||||
@@ -101,7 +101,7 @@
|
|
||||||
0 string =<?php
|
|
||||||
>5 regex [\ \n]
|
|
||||||
>>6 string /*\ Smarty\ version Smarty compiled template
|
|
||||||
->24 regex [0-9.]+ \b, version %s
|
|
||||||
+>>>24 regex [0-9.]+ \b, version %s
|
|
||||||
!:mime text/x-php
|
|
||||||
|
|
||||||
0 string Zend\x00 PHP script Zend Optimizer data
|
|
||||||
--
|
|
||||||
2.7.4
|
|
||||||
|
|
@ -1,27 +0,0 @@
|
|||||||
http://mx.gw.com/pipermail/file/2016/001975.html
|
|
||||||
|
|
||||||
From 11edb37a71851b5bcbd4e51ca6ad3dcbf57e9761 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Christos Zoulas <christos@zoulas.com>
|
|
||||||
Date: Tue, 19 Apr 2016 20:51:54 +0000
|
|
||||||
Subject: [PATCH] Revert: Don't close stdin...
|
|
||||||
|
|
||||||
---
|
|
||||||
src/magic.c | 4 ++--
|
|
||||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/src/magic.c b/src/magic.c
|
|
||||||
index 46e4678..8cf6269 100644
|
|
||||||
--- a/src/magic.c
|
|
||||||
+++ b/src/magic.c
|
|
||||||
@@ -346,7 +346,7 @@ private void
|
|
||||||
close_and_restore(const struct magic_set *ms, const char *name, int fd,
|
|
||||||
const struct stat *sb)
|
|
||||||
{
|
|
||||||
- if (name == NULL)
|
|
||||||
+ if (fd == STDIN_FILENO || name == NULL)
|
|
||||||
return;
|
|
||||||
(void) close(fd);
|
|
||||||
|
|
||||||
--
|
|
||||||
2.7.4
|
|
||||||
|
|
@ -1,132 +0,0 @@
|
|||||||
http://mx.gw.com/pipermail/file/2016/001963.html
|
|
||||||
|
|
||||||
From 20c59ad54afc7427ea680f84c8ee5a576ba54b08 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Christos Zoulas <christos@zoulas.com>
|
|
||||||
Date: Mon, 18 Apr 2016 15:10:34 +0000
|
|
||||||
Subject: [PATCH] Downgrade DER comparison and offset lookup failures to be
|
|
||||||
handled as match failures.
|
|
||||||
|
|
||||||
---
|
|
||||||
src/softmagic.c | 60 ++++++++++++++++++++++++++++++++++++++-------------------
|
|
||||||
1 file changed, 40 insertions(+), 20 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/src/softmagic.c b/src/softmagic.c
|
|
||||||
index 14a8bc5..5b5f0f9 100644
|
|
||||||
--- a/src/softmagic.c
|
|
||||||
+++ b/src/softmagic.c
|
|
||||||
@@ -186,11 +186,11 @@ match(struct magic_set *ms, struct magic *magic, uint32_t nmagic,
|
|
||||||
((text && (m->str_flags & FLT) == STRING_BINTEST) ||
|
|
||||||
(!text && (m->str_flags & FLT) == STRING_TEXTTEST))) ||
|
|
||||||
(m->flag & mode) != mode) {
|
|
||||||
+flush:
|
|
||||||
/* Skip sub-tests */
|
|
||||||
- while (magindex + 1 < nmagic &&
|
|
||||||
- magic[magindex + 1].cont_level != 0 &&
|
|
||||||
- ++magindex)
|
|
||||||
- continue;
|
|
||||||
+ while (magindex < nmagic - 1 &&
|
|
||||||
+ magic[magindex + 1].cont_level != 0)
|
|
||||||
+ magindex++;
|
|
||||||
continue; /* Skip to next top-level test*/
|
|
||||||
}
|
|
||||||
|
|
||||||
@@ -227,10 +227,7 @@ match(struct magic_set *ms, struct magic *magic, uint32_t nmagic,
|
|
||||||
* main entry didn't match,
|
|
||||||
* flush its continuations
|
|
||||||
*/
|
|
||||||
- while (magindex < nmagic - 1 &&
|
|
||||||
- magic[magindex + 1].cont_level != 0)
|
|
||||||
- magindex++;
|
|
||||||
- continue;
|
|
||||||
+ goto flush;
|
|
||||||
}
|
|
||||||
|
|
||||||
if ((e = handle_annotation(ms, m)) != 0) {
|
|
||||||
@@ -255,8 +252,14 @@ match(struct magic_set *ms, struct magic *magic, uint32_t nmagic,
|
|
||||||
if (print && mprint(ms, m) == -1)
|
|
||||||
return -1;
|
|
||||||
|
|
||||||
- if (moffset(ms, m, nbytes, &ms->c.li[cont_level].off) == -1)
|
|
||||||
+ switch (moffset(ms, m, nbytes, &ms->c.li[cont_level].off)) {
|
|
||||||
+ case -1:
|
|
||||||
return -1;
|
|
||||||
+ case 0:
|
|
||||||
+ goto flush;
|
|
||||||
+ default:
|
|
||||||
+ break;
|
|
||||||
+ }
|
|
||||||
|
|
||||||
/* and any continuations that match */
|
|
||||||
if (file_check_mem(ms, ++cont_level) == -1)
|
|
||||||
@@ -362,9 +365,16 @@ match(struct magic_set *ms, struct magic *magic, uint32_t nmagic,
|
|
||||||
if (print && mprint(ms, m) == -1)
|
|
||||||
return -1;
|
|
||||||
|
|
||||||
- if (moffset(ms, m, nbytes,
|
|
||||||
- &ms->c.li[cont_level].off) == -1)
|
|
||||||
+ switch (moffset(ms, m, nbytes,
|
|
||||||
+ &ms->c.li[cont_level].off)) {
|
|
||||||
+ case -1:
|
|
||||||
return -1;
|
|
||||||
+ case 0:
|
|
||||||
+ flush = 1;
|
|
||||||
+ break;
|
|
||||||
+ default:
|
|
||||||
+ break;
|
|
||||||
+ }
|
|
||||||
|
|
||||||
if (*m->desc)
|
|
||||||
*need_separator = 1;
|
|
||||||
@@ -813,9 +823,13 @@ moffset(struct magic_set *ms, struct magic *m, size_t nbytes, int32_t *op)
|
|
||||||
case FILE_DER:
|
|
||||||
{
|
|
||||||
o = der_offs(ms, m, nbytes);
|
|
||||||
- if (o == -1) {
|
|
||||||
- file_error(ms, 0, "EOF computing DER offset");
|
|
||||||
- return -1;
|
|
||||||
+ if (o == -1 || (size_t)o > nbytes) {
|
|
||||||
+ if ((ms->flags & MAGIC_DEBUG) != 0) {
|
|
||||||
+ (void)fprintf(stderr,
|
|
||||||
+ "Bad DER offset %d nbytes=%zu",
|
|
||||||
+ o, nbytes);
|
|
||||||
+ }
|
|
||||||
+ return 0;
|
|
||||||
}
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
@@ -825,12 +839,13 @@ moffset(struct magic_set *ms, struct magic *m, size_t nbytes, int32_t *op)
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
|
|
||||||
- if ((size_t)o >= nbytes) {
|
|
||||||
- file_error(ms, 0, "Offset out of range");
|
|
||||||
+ if ((size_t)o > nbytes) {
|
|
||||||
+ file_error(ms, 0, "Offset out of range %zu > %zu",
|
|
||||||
+ (size_t)o, nbytes);
|
|
||||||
return -1;
|
|
||||||
}
|
|
||||||
*op = o;
|
|
||||||
- return 0;
|
|
||||||
+ return 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
private uint32_t
|
|
||||||
@@ -2107,8 +2122,13 @@ magiccheck(struct magic_set *ms, struct magic *m)
|
|
||||||
return 1;
|
|
||||||
case FILE_DER:
|
|
||||||
matched = der_cmp(ms, m);
|
|
||||||
- if (matched == -1)
|
|
||||||
- file_error(ms, 0, "EOF comparing DER entries");
|
|
||||||
+ if (matched == -1) {
|
|
||||||
+ if ((ms->flags & MAGIC_DEBUG) != 0) {
|
|
||||||
+ (void) fprintf(stderr,
|
|
||||||
+ "EOF comparing DER entries");
|
|
||||||
+ }
|
|
||||||
+ return 0;
|
|
||||||
+ }
|
|
||||||
return matched;
|
|
||||||
default:
|
|
||||||
file_magerror(ms, "invalid type %d in magiccheck()", m->type);
|
|
||||||
--
|
|
||||||
2.7.4
|
|
||||||
|
|
@ -1,27 +0,0 @@
|
|||||||
http://mx.gw.com/pipermail/file/2016/001961.html
|
|
||||||
|
|
||||||
From fe1b14d68fe47a0641606c142222d6b0fb9e05d9 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Christos Zoulas <christos@zoulas.com>
|
|
||||||
Date: Mon, 18 Apr 2016 18:16:45 +0000
|
|
||||||
Subject: [PATCH] exit on error.
|
|
||||||
|
|
||||||
---
|
|
||||||
tests/Makefile.am | 2 +-
|
|
||||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
||||||
|
|
||||||
diff --git a/tests/Makefile.am b/tests/Makefile.am
|
|
||||||
index c2cb5ee..e55cdf4 100644
|
|
||||||
--- a/tests/Makefile.in
|
|
||||||
+++ b/tests/Makefile.in
|
|
||||||
@@ -13,7 +13,7 @@ issue311docx.testfile
|
|
||||||
T = $(top_srcdir)/tests
|
|
||||||
check-local:
|
|
||||||
MAGIC=$(top_builddir)/magic/magic ./test
|
|
||||||
- for i in $T/*.testfile; do echo Running test: $$i; MAGIC=$(top_builddir)/magic/magic ./test $$i $${i%%.testfile}.result; done
|
|
||||||
+ set -e; for i in $T/*.testfile; do echo Running test: $$i; MAGIC=$(top_builddir)/magic/magic ./test $$i $${i%%.testfile}.result; done
|
|
||||||
|
|
||||||
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
|
||||||
# Otherwise a system limit (for SysV at least) may be exceeded.
|
|
||||||
--
|
|
||||||
2.7.4
|
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue