parent
80d778cc01
commit
8347b0fb80
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,3 +1,4 @@
|
||||
DIST compat-28.1.1.3.tar.gz 72597 BLAKE2B 82186713370fed7f97eb057cb330d77c1d758224ad37c0b7fbbd21221b0d2ffd68be805483f3e9577866f02079c83a5686918c87a1ed7c67c9acdd64aa3a560b SHA512 d65e5ce666607cd6d26cf771d6878caeb6641aff0fc924ec901955c1a03b6fe42e3527220448fa92a8d6c3f5bd65e6f915ed4ada1be01a29d7919f916826e48f
|
||||
DIST compat-28.1.2.1.tar.gz 82434 BLAKE2B daf82d8f44af3f1b20dd25d042f401623d84f64a54c3b919714cd13fe4100d3b332e323a5fea5a643cdfc2dfe8b76a6a5684ad676fc595901df50a43e44b82f2 SHA512 7d2697b9b5bce25f44ab67438dd2b99bbd5072ed15193264cbd35473796d711d2b8f40db126478ea3c5de55609881ee20555e8a91d075df03f20610164f05d89
|
||||
DIST compat-28.1.2.2.tar.gz 82479 BLAKE2B 154104a3d1cf953f712de357d21736d648289dbdaccb0f9ca5cbd44cb1e41b9b7b4b52394548658b47216f9205f28d2020b015d22b5d0c4df63c79794ddfc56e SHA512 65cafbf4d48815f447e412c4dbd87c5bd3357df5302660a5296582648926f8e3fe96b4b90b53674f18be8affe66af95c8db7e58d7a9dd63d2b57983962e5a53c
|
||||
DIST compat-29.1.0.1.tar.gz 98171 BLAKE2B 46fd4052b7e3f6deb7789cb50d2d6c19d698531de04a171b3afc9035ed6ff3e204ee58e770eb699c05d722141b409e34dc13df1af6e3cda275ff107759a0a957 SHA512 51af7d1f87c838d421f017f2bdcce215e6951bd69181abff64c2c87f6ff1aac1b5f29e0dc91be2f48589e9a6092007a99d987791213801c7e0d89a372dfa4b72
|
||||
|
@ -0,0 +1,44 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
H=8a32564247ad3baee571252a2004c3d347962d01
|
||||
NEED_EMACS=24
|
||||
|
||||
inherit elisp
|
||||
|
||||
DESCRIPTION="Compatibility libraries for Emacs"
|
||||
HOMEPAGE="https://git.sr.ht/~pkal/compat/"
|
||||
SRC_URI="https://git.sr.ht/~pkal/${PN}/archive/${H}.tar.gz
|
||||
-> ${P}.tar.gz"
|
||||
S="${WORKDIR}"/${PN}-${H}
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
|
||||
|
||||
BDEPEND="sys-apps/texinfo"
|
||||
|
||||
ELISP_TEXINFO="${PN}.texi"
|
||||
|
||||
src_compile() {
|
||||
emake compile ${PN}.info
|
||||
}
|
||||
|
||||
src_test() {
|
||||
local has_json="$("${EMACS}" ${EMACSFLAGS} --eval "(princ (fboundp 'json-parse-string))")"
|
||||
if [[ "${has_json}" != t ]] ; then
|
||||
local line
|
||||
while read line ; do
|
||||
ewarn "${line}"
|
||||
done <<-EOF
|
||||
Your current Emacs version does not support native JSON parsing,
|
||||
which is required for running tests of ${CATEGORY}/${PN}.
|
||||
Emerge >=app-editors/emacs-27 with USE="json" and use "eselect emacs"
|
||||
to select that version.
|
||||
EOF
|
||||
else
|
||||
emake test
|
||||
fi
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST diff-hl-1.8.8_p20220405.tar.gz 241924 BLAKE2B 316326eaca5e37155665436e923b9c8fa2a05cee6cf37bdb4c8538dc2ca8575fa7eff736e125b063c92abc0365c42743907f01edcfb7df2837f58bb2cad2a62e SHA512 4055699146f4244863c2be05a2196db7c51de16c9403ddad926b93b6be87b704efba1b578c2570d25a6e4da2d73863f8298691e26d270513558200169da02e04
|
||||
DIST diff-hl-1.9.0.tar.gz 242125 BLAKE2B 1dff9d601ba0dd8e117dc22de95dbdfa05ab14c0efecdcb7168061f760fa00b61c936fd1b3f0208d325336e3f7eb4f4c081e8b3b6db84799b45a56a73f3e8542 SHA512 fd82e22e685d2c51048acd3e339f0d7da9a1dc7ba49f64437b66dccaaf5b7bd93b9832eb37c56c0e9cbbe6dc058968e9a53c6e5dec398471fc79615ccce828fb
|
||||
DIST diff-hl-1.9.1.tar.gz 242182 BLAKE2B 5d4c718c9b1da142304687401589581147e4653e8adbf285a31cfd9369a9da8509129673a8d29cd4a14c7f6ba0c1cdc4a4e2635a57ae9357528672fd19b76be8 SHA512 f5090e0de5528ab4676c6710c9c758fce1d0a4075d18a62f00597d3d0d12690ef8e62b6e31f56f0ed87f9145dc0805b5854531179f3398f5f561e2dc66d78cdf
|
||||
|
@ -0,0 +1,36 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
H=8f2e4eb345f0639c8fc41e3f7576f77ba6987655
|
||||
NEED_EMACS=25.1
|
||||
|
||||
inherit elisp
|
||||
|
||||
DESCRIPTION="Highlight uncommitted changes, jump between and revert them selectively"
|
||||
HOMEPAGE="https://github.com/dgutov/diff-hl/"
|
||||
SRC_URI="https://github.com/dgutov/${PN}/archive/${H}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}"/${PN}-${H}
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
BDEPEND="test? ( dev-vcs/git )"
|
||||
|
||||
DOCS=( README.md screenshot{,-dired,-margin}.png )
|
||||
SITEFILE="50${PN}-gentoo.el"
|
||||
|
||||
src_test() {
|
||||
ebegin "Creating a git repository for tests"
|
||||
git init "${S}" --initial-branch="master" &&
|
||||
git add "${S}" &&
|
||||
git config --local user.email "test@test" &&
|
||||
git config --local user.name "test" &&
|
||||
git commit --message "test" --quiet
|
||||
eend $? || die
|
||||
emake EMACS="${EMACS} ${EMACSFLAGS}" test
|
||||
}
|
Binary file not shown.
@ -1,4 +1,5 @@
|
||||
DIST ca-certificates_20211016.tar.xz 239608 BLAKE2B 9b4730b54fd9f472fe4e5427bf912d9a61d10d2c289d1e443b54cca469fa87f9e02b8f67e7e087aceceffc7dd2b4043cdb5380e2652bc619d51f3a224c64f717 SHA512 bedf072c8aa1b05b249ea272f5cecfe16bdcd762c02c712323f12ac7a278e8814453f5f3caad86a2581e451788b292ed3a76a6a81620926459bb890133cffde1
|
||||
DIST nss-3.83.tar.gz 84844191 BLAKE2B f2e26f69450cbd2c94c5efdd959cb19e874bcb63d09098406ef49f4997bd04bc0ee4bc285c1c4f0ec461194171342c7d31965ac7bc7eefc284783542dfe853b1 SHA512 550cf1116e39e58041feaa67913f570d791e8153cc0522ba7ae02e27a61e0a4e6a25224be0f25d51a842dc11c70d600263450ebff0a9fdaa2840bafa3fc9ddd5
|
||||
DIST nss-3.86.tar.gz 71423531 BLAKE2B 36703d99d9616020a165085469be650c2f4ce3e11c2f4f6bd974b1b89f1b9fcfdaa4ffd4d6ee98dabce82e616c170548efa1e51722b524dda8815faccfcf5181 SHA512 c09aeb52d7898617b65a1090cbdd29f6457eff2ebdc61aadb2dbf7b5044eae010ee5eeea729825f1258902936a61a1bff552ee9b26b2f01e5d448bbd8791d1cb
|
||||
DIST nss-3.87.tar.gz 71435408 BLAKE2B 0d69e18b1e2c4ccfc86db8f3afba94d5000e8ab2a4e766eb6f99f13f57d78b62dd711a0f5f70a24378a3cf1e435cc8ecb7e6fbeae18d5db0176660a0ea35dac2 SHA512 4ec7b94e537df109638b821f3a7e3b7bf31d89c3739a6e4c85cad4fab876390ae482971d6f66198818400f467661e86f39dc1d2a4a88077fd81e3a0b7ed64110
|
||||
DIST nss-cacert-class1-class3-r2.patch 21925 BLAKE2B 7627ff9a09f084c19d72d0490676865e3cab3ca7c920ae1ce4bea2db664f37fd0aa84fcda919809a516891ab2a62e2e7a43a9d6ada4c231adfe4c216525fac7d SHA512 1ce6ff9ab310aaca9005eafb461338b291df8523cc7044e096cd75774ce746c26eed19ec6bb2643c6c67f94650f2f309463492d80a90568f38ce2557f8ada2f4
|
||||
|
@ -0,0 +1,203 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
# 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.
|
||||
|
||||
# Where possible, bump to stable/LTS releases of NSS for the last part
|
||||
# of the version (when not using a pure Debian release).
|
||||
|
||||
# When triaging user reports, refer to our wiki for tips:
|
||||
# https://wiki.gentoo.org/wiki/Certificates#Debugging_certificate_issues
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..11} )
|
||||
|
||||
inherit python-any-r1
|
||||
|
||||
if [[ ${PV} == *.* ]] ; then
|
||||
# Compile from source ourselves.
|
||||
PRECOMPILED=false
|
||||
|
||||
DEB_VER=$(ver_cut 1)
|
||||
NSS_VER=$(ver_cut 2-)
|
||||
RTM_NAME="NSS_${NSS_VER//./_}_RTM"
|
||||
else
|
||||
# Debian precompiled version.
|
||||
PRECOMPILED=true
|
||||
inherit unpacker
|
||||
fi
|
||||
|
||||
DESCRIPTION="Common CA Certificates PEM files"
|
||||
HOMEPAGE="https://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/~whissi/dist/ca-certificates/nss-cacert-class1-class3-r2.patch
|
||||
)"
|
||||
fi
|
||||
|
||||
LICENSE="MPL-1.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
|
||||
IUSE=""
|
||||
${PRECOMPILED} || IUSE+=" cacert"
|
||||
|
||||
# c_rehash: we run `c_rehash`
|
||||
# debianutils: we run `run-parts`
|
||||
CDEPEND="app-misc/c_rehash
|
||||
sys-apps/debianutils"
|
||||
|
||||
BDEPEND="${CDEPEND}"
|
||||
if ! ${PRECOMPILED} ; then
|
||||
BDEPEND+=" ${PYTHON_DEPS}"
|
||||
fi
|
||||
|
||||
DEPEND=""
|
||||
if ${PRECOMPILED} ; then
|
||||
DEPEND+=" !<sys-apps/portage-2.1.10.41"
|
||||
fi
|
||||
|
||||
RDEPEND="${CDEPEND}
|
||||
${DEPEND}"
|
||||
|
||||
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"
|
||||
|
||||
if ! ${PRECOMPILED} ; then
|
||||
python-any-r1_pkg_setup
|
||||
fi
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
if ! ${PRECOMPILED} ; then
|
||||
default
|
||||
# Initial 20200601 deb release had bad naming inside the debian source tarball.
|
||||
DEB_S="${WORKDIR}/${PN}-${DEB_VER}"
|
||||
DEB_BAD_S="${WORKDIR}/work"
|
||||
if [[ -d "${DEB_BAD_S}" ]] && [[ ! -d "${DEB_S}" ]] ; then
|
||||
mv "${DEB_BAD_S}" "${DEB_S}"
|
||||
fi
|
||||
fi
|
||||
|
||||
# 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}" || die
|
||||
cd "image/${EPREFIX}" || die
|
||||
|
||||
${PRECOMPILED} && unpacker_src_unpack
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
cd "image/${EPREFIX}" || die
|
||||
|
||||
if ! ${PRECOMPILED} ; then
|
||||
mkdir -p usr/sbin || die
|
||||
cp -p "${S}"/${PN}-${DEB_VER}/sbin/update-ca-certificates \
|
||||
usr/sbin/ || die
|
||||
|
||||
if use cacert ; then
|
||||
pushd "${S}"/nss-${NSS_VER} >/dev/null || die
|
||||
eapply "${DISTDIR}"/nss-cacert-class1-class3-r2.patch
|
||||
popd >/dev/null || die
|
||||
fi
|
||||
fi
|
||||
|
||||
default
|
||||
eapply -p2 "${FILESDIR}"/${PN}-20150426-root.patch
|
||||
|
||||
pushd "${S}/${PN}-${DEB_VER}" >/dev/null || die
|
||||
eapply "${FILESDIR}"/${PN}-20211016.3.72-no-cryptography.patch
|
||||
popd >/dev/null || die
|
||||
|
||||
local relp=$(echo "${EPREFIX}" | sed -e 's:[^/]\+:..:g')
|
||||
sed -i \
|
||||
-e '/="$ROOT/s:ROOT:ROOT'"${EPREFIX}"':' \
|
||||
-e '/RELPATH="\.\./s:"$:'"${relp}"'":' \
|
||||
-e 's/openssl rehash/c_rehash/' \
|
||||
usr/sbin/update-ca-certificates || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cd "image/${EPREFIX}" || die
|
||||
|
||||
if ! ${PRECOMPILED} ; then
|
||||
local d="${S}/${PN}-${DEB_VER}/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 \
|
||||
|| die
|
||||
if use cacert ; then
|
||||
mkdir -p "${c}"/cacert.org || die
|
||||
mv "${d}"/CA_Cert_Signing_Authority.crt \
|
||||
"${c}"/cacert.org/cacert.org_class1.crt || die
|
||||
mv "${d}"/CAcert_Class_3_Root.crt \
|
||||
"${c}"/cacert.org/cacert.org_class3.crt || die
|
||||
fi
|
||||
mv "${d}"/*.crt "${c}"/mozilla/ || die
|
||||
else
|
||||
mv usr/share/doc/{ca-certificates,${PF}} || die
|
||||
fi
|
||||
|
||||
(
|
||||
echo "# Automatically generated by ${CATEGORY}/${PF}"
|
||||
echo "# $(date -u)"
|
||||
echo "# Do not edit."
|
||||
cd "${c}" || die
|
||||
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 ${PN}-${DEB_VER} || die
|
||||
doman sbin/*.8
|
||||
dodoc debian/README.* examples/ca-certificates-local/README
|
||||
fi
|
||||
|
||||
echo 'CONFIG_PROTECT_MASK="/etc/ca-certificates.conf"' > 98ca-certificates || die
|
||||
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
|
||||
}
|
Binary file not shown.
@ -1,2 +1,3 @@
|
||||
DIST mgorny-dev-scripts-31.tar.gz 11903 BLAKE2B bbe7dc4ab1978485d9c954e5ac0752e3babb3162a20b3c582d92a14cfd20d82f3710f65d34bd15a3b101547f587cf3c8859b066be555ac5b3d55c10ee7f68568 SHA512 a164bb1b75911a4575813720c2dd10b81ca806dafa6eebf71f2f609eee24cd4bbc645eb3f1c8d40eb6031d25b5ea6575fa761f53b5f03d52e0438d6dfd2dc173
|
||||
DIST mgorny-dev-scripts-32.tar.gz 11933 BLAKE2B b10333bfc4afe5ecb8faa1ccadb74c476911056ba8d0f7b0113d8ee5453252a20958bc1a08cee42cf48a1f343f64c1ecb80b157efa6f253cdecf16750759f78f SHA512 1043b12f788130e10eae651f80869b9ba4603bb28c7c7bae3fcb790ecb55b36b2d8b8b5597f7bf34053f5a99fc70590fd029a5f65ccc0bd2ba5ae2a93e5f2199
|
||||
DIST mgorny-dev-scripts-33.tar.gz 11943 BLAKE2B 8455d90db5ad1358941e4ccdba1b2f7ea8cc766d0789b3ab598e5b4c3d406b0b66c6d24aaa1a33019560b6103bd648aedcce02dad7deb6df4ac789e4937fe7cf SHA512 b4c17cb1c2eeba86a74fbe011e9ad7b06304a7386960032add1b9c1d7e8200b258a8b2239e0450da7c61ce4c8d1a025206b54fc4050cfa8e343590a1d35e3139
|
||||
|
@ -0,0 +1,33 @@
|
||||
# Copyright 2019-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DESCRIPTION="Handy scripts for ebuild development and more"
|
||||
HOMEPAGE="https://github.com/projg2/mgorny-dev-scripts/"
|
||||
SRC_URI="
|
||||
https://github.com/projg2/mgorny-dev-scripts/archive/v${PV}.tar.gz
|
||||
-> ${P}.tar.gz
|
||||
"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86 ~x64-macos"
|
||||
|
||||
RDEPEND="
|
||||
app-portage/gentoolkit
|
||||
app-portage/portage-utils
|
||||
dev-perl/URI
|
||||
dev-util/pkgcheck
|
||||
dev-vcs/git
|
||||
net-misc/wget
|
||||
sys-apps/portage
|
||||
x11-misc/xdg-utils
|
||||
!dev-util/pkgdiff
|
||||
"
|
||||
|
||||
src_install() {
|
||||
dodoc README.rst
|
||||
rm -f COPYING README.rst || die
|
||||
dobin *
|
||||
}
|
Binary file not shown.
@ -1 +1,2 @@
|
||||
DIST recode-3.7.12.tar.gz 2399126 BLAKE2B 420ba6f96d532da4ae0e1861b512c39ad59f1f63b0e0ef061dcff95c15ff4ed82a3b7bb72f6abb29f85588476a76cb5d50151ca9e3f857c2c1c09727ccdd2890 SHA512 365602bf7b20e5362d13d1ab5269419f7f0838fb81dc01c466ea99c38eb1b979f8d707d24ca3dabbd3a0c65cde97704b570007ac60689d88bbafd33351d37d95
|
||||
DIST recode-3.7.13.tar.gz 2400432 BLAKE2B 457ba7855aeb5ae8b0cc32ee82b5b61b1b46ba2908406c0c10a76ae242343f421e81038b9bb6784089e8e3e687ecc0f61a6263c24f6b234962f94853e9359734 SHA512 af86754ed2ed1dc414f1dd7ab3564d606abb309766fb02bf085e56241527a74ac7141617956d01b0797e8e426cfb39ec597bd221d8ad58d9246e96b228e65b00
|
||||
|
@ -0,0 +1,69 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..11} )
|
||||
|
||||
inherit autotools flag-o-matic python-any-r1 toolchain-funcs
|
||||
|
||||
DESCRIPTION="Convert files between various character sets"
|
||||
HOMEPAGE="https://github.com/rrthomas/recode"
|
||||
SRC_URI="https://github.com/rrthomas/recode/releases/download/v${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
# librecode soname version
|
||||
SLOT="0/3"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x86-solaris"
|
||||
IUSE="nls test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="virtual/libiconv"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
sys-devel/flex
|
||||
"
|
||||
BDEPEND="
|
||||
nls? ( sys-devel/gettext )
|
||||
test? (
|
||||
${PYTHON_DEPS}
|
||||
$(python_gen_any_dep '
|
||||
dev-python/cython[${PYTHON_USEDEP}]
|
||||
')
|
||||
)
|
||||
"
|
||||
|
||||
python_check_deps() {
|
||||
python_has_version "dev-python/cython[${PYTHON_USEDEP}]"
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
use test && python-any-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
tc-export CC LD
|
||||
|
||||
# on solaris -lintl is needed to compile
|
||||
[[ ${CHOST} == *-solaris* ]] && append-libs "-lintl"
|
||||
|
||||
# -fanalyzer substantially slows down the build and isn't useful for
|
||||
# us. It's useful for upstream as it's static analysis, but it's not
|
||||
# useful when just getting something built.
|
||||
export gl_cv_warn_c__fanalyzer=no
|
||||
|
||||
econf \
|
||||
$(use_enable nls) \
|
||||
--disable-static
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
find "${ED}" -name '*.la' -delete || die
|
||||
}
|
Binary file not shown.
@ -1,68 +0,0 @@
|
||||
# Copyright 2008-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
JAVA_PKG_IUSE="doc source test"
|
||||
MAVEN_ID="com.google.protobuf:protobuf-java:3.21.9"
|
||||
# Tests not enabled, depend on com.google.truth which is not packaged
|
||||
# https://github.com/protocolbuffers/protobuf/blob/v3.21.6/java/core/pom.xml#L35-L39"
|
||||
# JAVA_TESTING_FRAMEWORKS="junit-4"
|
||||
|
||||
inherit edo java-pkg-2 java-pkg-simple
|
||||
|
||||
DESCRIPTION="Google's Protocol Buffers - Java bindings"
|
||||
HOMEPAGE="https://developers.google.com/protocol-buffers/"
|
||||
SRC_URI="https://github.com/protocolbuffers/protobuf/archive/v${PV}.tar.gz -> protobuf-${PV}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm ~arm64 ppc64 x86 ~amd64-linux ~x86-linux ~x64-macos"
|
||||
|
||||
DEPEND="
|
||||
>=virtual/jdk-1.8:*
|
||||
test? (
|
||||
dev-java/guava:0
|
||||
dev-java/mockito:4
|
||||
)
|
||||
"
|
||||
RDEPEND=">=virtual/jre-1.8:*"
|
||||
|
||||
BDEPEND="dev-libs/protobuf:0"
|
||||
|
||||
S="${WORKDIR}/protobuf-${PV}/java"
|
||||
|
||||
JAVA_AUTOMATIC_MODULE_NAME="com.google.protobuf"
|
||||
JAVA_JAR_FILENAME="protobuf.jar"
|
||||
JAVA_RESOURCE_DIRS="core/src/main/resources"
|
||||
JAVA_SRC_DIR="core/src/main/java"
|
||||
|
||||
JAVA_TEST_GENTOO_CLASSPATH="guava,junit-4,mockito-4"
|
||||
JAVA_TEST_RESOURCE_DIRS="../src"
|
||||
JAVA_TEST_SRC_DIR="core/src/test/java"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
java-pkg-2_src_prepare
|
||||
|
||||
# There is also compiler/plugin, but not in this list because in a subdirectory
|
||||
core_protos=( any api descriptor duration empty field_mask source_context struct timestamp type wrappers )
|
||||
|
||||
# Copy resources from ../src/google/protobuf according to
|
||||
# https://github.com/protocolbuffers/protobuf/blob/v3.21.6/java/core/pom.xml#L45-L61
|
||||
mkdir -p "${JAVA_RESOURCE_DIRS}/google/protobuf/compiler" || die
|
||||
local core_proto
|
||||
for core_proto in "${core_protos[@]}"; do
|
||||
cp "../src/google/protobuf/${core_proto}.proto" \
|
||||
"${JAVA_RESOURCE_DIRS}/google/protobuf" \
|
||||
|| die
|
||||
done
|
||||
cp {../src,"${JAVA_RESOURCE_DIRS}"}/google/protobuf/compiler/plugin.proto || die
|
||||
|
||||
# Generate 146 .java files according to
|
||||
# https://github.com/protocolbuffers/protobuf/blob/v21.7/java/core/generate-sources-build.xml
|
||||
for core_proto in "${core_protos[@]}" compiler/plugin; do
|
||||
edo "${BROOT}/usr/bin/protoc" \
|
||||
--java_out="${JAVA_SRC_DIR}" -I../src ../src/google/protobuf/"${core_proto}".proto
|
||||
done
|
||||
}
|
@ -1,11 +1,8 @@
|
||||
DIST apache-tomcat-10.0.27-src.tar.gz 6154411 BLAKE2B 87a66acacf5443189620af3c8f306e1ae7d8572f9d6ba657379f8a9691c01530e2f1cb17bb1daef5504459480395f4eabdbb626b6da3a879c5a11910029e002b SHA512 ab7c2ae4134ec9652dc0d19343be7d3bf298b1c7a367b51bcceb88f1aaf70ecb45b3a7b9682e2deac70a1e9b00aca974b77110d3363bc5d1c88dc3ae95015e15
|
||||
DIST apache-tomcat-10.1.2-src.tar.gz 6063352 BLAKE2B 960feb80afd12249301414786d7e502c5f87f78f609dd1335fee4cd8767b7600062ebdd34e6e09735e6c28e1c3eb99d49098917ea720a92bac5f67901f509026 SHA512 446acee71c4a0588cf0d004a35ff107dcbcd7f2e2675cf59bd487aad16768e7e06a41ee56fe58448dde7f518bd9d44cfc70136d1b25dba2fcee6e60b3b191655
|
||||
DIST apache-tomcat-10.1.2-src.tar.gz.asc 849 BLAKE2B bb90cb53af6c5725f2bacbdd1e9a35c859803ccba5dc9355d61b02b6b2b4c41593b43f95fff878f295ec8dcd652b36d9245e710b6976ac3157a2fa02cbebef05 SHA512 d1dbd81d2df81430c4fbdfb57e2c1b37295004d89a77542d7cde51eaa3149835941859573d523e9803be7e6aa3a1bb4c008bfdeed45429a76d1b19d6700cbc10
|
||||
DIST apache-tomcat-10.1.4-src.tar.gz 6065442 BLAKE2B 92e8a2dbe686ce2faa7b766f523f3e2f49d70e6a34cf1d25628842ea22ea94400b6415c676ac52712ebee2950451ff220d8db3fc415ccddf4f1e74a953ba0c82 SHA512 36f2272b017536af140771875e956441a7ee714c533d679d153cb2143ff2eae9e3277acc48541bbe29bfebdf79619f7742f2d719fbd8c330e070dc54d08d40a2
|
||||
DIST apache-tomcat-10.1.4-src.tar.gz.asc 849 BLAKE2B 27aa419e86171188ed510db939e943dd19d24dcfdca4072458c1d37be14f28ef0e7887b6f9f4bace2bab26a4e82f3ae71fbdb7371de6b01a93123d74cf68228e SHA512 60b1c5decddd37d8d1c11a4d1c73c5c50b8823136588cca53149480613c1baee3c06a54f84d8e4adbc1a3c67a12af7db0d5ede95251e8763d32c7e7a17176243
|
||||
DIST apache-tomcat-8.5.84-src.tar.gz 6027185 BLAKE2B 8637f65653ae025448d7ce3a96839825d5ec6b77a06fc8a410ff4de786af140deaf00cedc5c9de00172c9cc759a7728521a2384d722bdf63dcfc71aedec7308f SHA512 5224ee4d6c61ed1975fd7a20814eb53b3b5a3d88b31fd3227a94fcc261274aa69f992f161e14217dadea476e4720b7f0a24c733346533d5873206b899ee86695
|
||||
DIST apache-tomcat-8.5.84-src.tar.gz.asc 849 BLAKE2B eeeb4c22190c9bb5c087db86807b194ef87d8a03d399cbc36e910dc3cf6f28c845efde4d3748eb8a362d06e870724869acf259b3e75cf892ca72fbea4a4bf943 SHA512 6f2478da242a49a72b0ebb9e51f17e681f84228d69cb9b7119ca9c772032c3fb5112f908077a200d5286b2170ac1529914c7682d5ed97ac58d3b8ff6baf00bf2
|
||||
DIST apache-tomcat-9.0.69-src.tar.gz 6214949 BLAKE2B 21387c7dbc830c5292d5ea315bf93c2faac2160dd21e8524184495e34cee0739ef57ce77ba46c99a64f7389047da431cffe000da9a5db2aabd481e84f149153f SHA512 8178ef757d8a8a04b87a08e0a5d45e2d244fe0c0fd11b8f6b50182da1811758b7e4b1ea52188e4b241278c32737c0f61ed93d53b5a95075ebabb9209fe57a3b1
|
||||
DIST apache-tomcat-9.0.69-src.tar.gz.asc 833 BLAKE2B e4002185d7054ff963d0ecb1373afb2affb4795281bd344fa5b707e45dac4c6168cc2365853923a0cca1b5c21806554987513177ed64e01d7905f5d46ee9c581 SHA512 7d9ea8ac9986303bf649781524dd93db22c9ab1101a50be9aad7b4b65f902640b24462117047ddeba99b3652d63e980deaa232f6b93aff2266887a183059ff8f
|
||||
DIST apache-tomcat-9.0.70-src.tar.gz 6219156 BLAKE2B c7cf415c11701edcd90bb35cd840036755876724394c48277236af1e169572f42599ffc2ec167363cd643dde608437cd06ee5c11289edec91a378f280f385259 SHA512 266ffbdfa57bd9778ea3485f5e2cabf9a2d389235afa74b154e684bcf2806a4fe7a54049f2bd8ea96414396d06695fe890b1eed9672278d9eb345ba3cd71032e
|
||||
DIST apache-tomcat-9.0.70-src.tar.gz.asc 833 BLAKE2B 979ffa63dccfeb89209a8ee357b231400d762a4ea7e4143960f2dd9fbf83a129c383dd06676c5800f7fc003a1a0cf832c392294cd9da080796fea06742ad9eb7 SHA512 6547167bf808c760bd5833d8049a80c4a64dbb258a80d5cbf6fd2fa459c1231635d55d62e2d0e7e07d0449403b4bddd87a6e22ff29a0eb9486ea7b996bdb1d07
|
||||
|
@ -1,36 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
JAVA_PKG_IUSE="doc source"
|
||||
MAVEN_ID="org.apache.tomcat:tomcat-el-api:10.0.27"
|
||||
|
||||
inherit java-pkg-2 java-pkg-simple
|
||||
|
||||
DESCRIPTION="Tomcat's EL API 5.0 implementation"
|
||||
HOMEPAGE="https://tomcat.apache.org/"
|
||||
SRC_URI="mirror://apache/tomcat/tomcat-$(ver_cut 1)/v${PV}/src/apache-tomcat-${PV}-src.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="4.0"
|
||||
KEYWORDS="amd64 ~arm arm64 ppc64 x86 ~amd64-linux ~x86-linux ~x64-solaris ~x86-solaris"
|
||||
|
||||
DEPEND=">=virtual/jdk-1.8:*"
|
||||
RDEPEND=">=virtual/jre-1.8:*"
|
||||
|
||||
S="${WORKDIR}/apache-tomcat-${PV}-src"
|
||||
|
||||
JAVA_RESOURCE_DIRS="resources"
|
||||
JAVA_SRC_DIR="java/jakarta/el"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
# remove anything related to "el" or "jsp"
|
||||
find java/jakarta \( -name 'jsp' -o -name 'servlet' \) \
|
||||
-exec rm -rf {} + || die "removing jsp failed"
|
||||
|
||||
mkdir resources || "creating \"resources\" failed"
|
||||
cp -r java/jakarta resources || "cannot copy to \"resources\" dir"
|
||||
find resources -name '*.java' -exec rm -rf {} + || die "removing *.java files failed"
|
||||
}
|
@ -1,40 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
JAVA_PKG_IUSE="doc source"
|
||||
MAVEN_ID="org.apache.tomcat:tomcat-el-api:9.0.69"
|
||||
|
||||
inherit java-pkg-2 java-pkg-simple verify-sig
|
||||
|
||||
DESCRIPTION="Tomcat's EL API 5.0 implementation"
|
||||
HOMEPAGE="https://tomcat.apache.org/"
|
||||
SRC_URI="mirror://apache/tomcat/tomcat-$(ver_cut 1)/v${PV}/src/apache-tomcat-${PV}-src.tar.gz
|
||||
verify-sig? ( https://downloads.apache.org/tomcat/tomcat-$(ver_cut 1)/v${PV}/src/apache-tomcat-${PV}-src.tar.gz.asc )"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="3.0"
|
||||
KEYWORDS="amd64 ~arm arm64 ppc64 x86 ~amd64-linux ~x86-linux ~x64-solaris ~x86-solaris"
|
||||
|
||||
DEPEND=">=virtual/jdk-1.8:*"
|
||||
RDEPEND=">=virtual/jre-1.8:*"
|
||||
|
||||
BDEPEND="verify-sig? ( ~sec-keys/openpgp-keys-apache-tomcat-${PV}:${PV} )"
|
||||
VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}/usr/share/openpgp-keys/tomcat-${PV}.apache.org.asc"
|
||||
|
||||
S="${WORKDIR}/apache-tomcat-${PV}-src"
|
||||
|
||||
JAVA_RESOURCE_DIRS="resources"
|
||||
JAVA_SRC_DIR="java/javax/el"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
# remove anything related to "el" or "jsp"
|
||||
find java/javax \( -name 'jsp' -o -name 'servlet' \) \
|
||||
-exec rm -rf {} + || die "removing jsp failed"
|
||||
|
||||
mkdir resources || "creating \"resources\" failed"
|
||||
cp -r java/javax resources || "cannot copy to \"resources\" dir"
|
||||
find resources -name '*.java' -exec rm -rf {} + || die "removing *.java files failed"
|
||||
}
|
@ -1,11 +1,8 @@
|
||||
DIST apache-tomcat-10.0.27-src.tar.gz 6154411 BLAKE2B 87a66acacf5443189620af3c8f306e1ae7d8572f9d6ba657379f8a9691c01530e2f1cb17bb1daef5504459480395f4eabdbb626b6da3a879c5a11910029e002b SHA512 ab7c2ae4134ec9652dc0d19343be7d3bf298b1c7a367b51bcceb88f1aaf70ecb45b3a7b9682e2deac70a1e9b00aca974b77110d3363bc5d1c88dc3ae95015e15
|
||||
DIST apache-tomcat-10.1.2-src.tar.gz 6063352 BLAKE2B 960feb80afd12249301414786d7e502c5f87f78f609dd1335fee4cd8767b7600062ebdd34e6e09735e6c28e1c3eb99d49098917ea720a92bac5f67901f509026 SHA512 446acee71c4a0588cf0d004a35ff107dcbcd7f2e2675cf59bd487aad16768e7e06a41ee56fe58448dde7f518bd9d44cfc70136d1b25dba2fcee6e60b3b191655
|
||||
DIST apache-tomcat-10.1.2-src.tar.gz.asc 849 BLAKE2B bb90cb53af6c5725f2bacbdd1e9a35c859803ccba5dc9355d61b02b6b2b4c41593b43f95fff878f295ec8dcd652b36d9245e710b6976ac3157a2fa02cbebef05 SHA512 d1dbd81d2df81430c4fbdfb57e2c1b37295004d89a77542d7cde51eaa3149835941859573d523e9803be7e6aa3a1bb4c008bfdeed45429a76d1b19d6700cbc10
|
||||
DIST apache-tomcat-10.1.4-src.tar.gz 6065442 BLAKE2B 92e8a2dbe686ce2faa7b766f523f3e2f49d70e6a34cf1d25628842ea22ea94400b6415c676ac52712ebee2950451ff220d8db3fc415ccddf4f1e74a953ba0c82 SHA512 36f2272b017536af140771875e956441a7ee714c533d679d153cb2143ff2eae9e3277acc48541bbe29bfebdf79619f7742f2d719fbd8c330e070dc54d08d40a2
|
||||
DIST apache-tomcat-10.1.4-src.tar.gz.asc 849 BLAKE2B 27aa419e86171188ed510db939e943dd19d24dcfdca4072458c1d37be14f28ef0e7887b6f9f4bace2bab26a4e82f3ae71fbdb7371de6b01a93123d74cf68228e SHA512 60b1c5decddd37d8d1c11a4d1c73c5c50b8823136588cca53149480613c1baee3c06a54f84d8e4adbc1a3c67a12af7db0d5ede95251e8763d32c7e7a17176243
|
||||
DIST apache-tomcat-8.5.84-src.tar.gz 6027185 BLAKE2B 8637f65653ae025448d7ce3a96839825d5ec6b77a06fc8a410ff4de786af140deaf00cedc5c9de00172c9cc759a7728521a2384d722bdf63dcfc71aedec7308f SHA512 5224ee4d6c61ed1975fd7a20814eb53b3b5a3d88b31fd3227a94fcc261274aa69f992f161e14217dadea476e4720b7f0a24c733346533d5873206b899ee86695
|
||||
DIST apache-tomcat-8.5.84-src.tar.gz.asc 849 BLAKE2B eeeb4c22190c9bb5c087db86807b194ef87d8a03d399cbc36e910dc3cf6f28c845efde4d3748eb8a362d06e870724869acf259b3e75cf892ca72fbea4a4bf943 SHA512 6f2478da242a49a72b0ebb9e51f17e681f84228d69cb9b7119ca9c772032c3fb5112f908077a200d5286b2170ac1529914c7682d5ed97ac58d3b8ff6baf00bf2
|
||||
DIST apache-tomcat-9.0.69-src.tar.gz 6214949 BLAKE2B 21387c7dbc830c5292d5ea315bf93c2faac2160dd21e8524184495e34cee0739ef57ce77ba46c99a64f7389047da431cffe000da9a5db2aabd481e84f149153f SHA512 8178ef757d8a8a04b87a08e0a5d45e2d244fe0c0fd11b8f6b50182da1811758b7e4b1ea52188e4b241278c32737c0f61ed93d53b5a95075ebabb9209fe57a3b1
|
||||
DIST apache-tomcat-9.0.69-src.tar.gz.asc 833 BLAKE2B e4002185d7054ff963d0ecb1373afb2affb4795281bd344fa5b707e45dac4c6168cc2365853923a0cca1b5c21806554987513177ed64e01d7905f5d46ee9c581 SHA512 7d9ea8ac9986303bf649781524dd93db22c9ab1101a50be9aad7b4b65f902640b24462117047ddeba99b3652d63e980deaa232f6b93aff2266887a183059ff8f
|
||||
DIST apache-tomcat-9.0.70-src.tar.gz 6219156 BLAKE2B c7cf415c11701edcd90bb35cd840036755876724394c48277236af1e169572f42599ffc2ec167363cd643dde608437cd06ee5c11289edec91a378f280f385259 SHA512 266ffbdfa57bd9778ea3485f5e2cabf9a2d389235afa74b154e684bcf2806a4fe7a54049f2bd8ea96414396d06695fe890b1eed9672278d9eb345ba3cd71032e
|
||||
DIST apache-tomcat-9.0.70-src.tar.gz.asc 833 BLAKE2B 979ffa63dccfeb89209a8ee357b231400d762a4ea7e4143960f2dd9fbf83a129c383dd06676c5800f7fc003a1a0cf832c392294cd9da080796fea06742ad9eb7 SHA512 6547167bf808c760bd5833d8049a80c4a64dbb258a80d5cbf6fd2fa459c1231635d55d62e2d0e7e07d0449403b4bddd87a6e22ff29a0eb9486ea7b996bdb1d07
|
||||
|
@ -1,43 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
JAVA_PKG_IUSE="doc source"
|
||||
MAVEN_ID="org.apache.tomcat:tomcat-jsp-api:10.0.27"
|
||||
|
||||
inherit java-pkg-2 java-pkg-simple
|
||||
|
||||
DESCRIPTION="Tomcat's JSP API 3.1 implementation"
|
||||
HOMEPAGE="https://tomcat.apache.org/"
|
||||
SRC_URI="mirror://apache/tomcat/tomcat-$(ver_cut 1)/v${PV}/src/apache-tomcat-${PV}-src.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="3.0"
|
||||
KEYWORDS="amd64 ~arm arm64 ppc64 x86 ~amd64-linux ~x86-linux ~x64-solaris ~x86-solaris"
|
||||
|
||||
CP_DEPEND="
|
||||
~dev-java/tomcat-el-api-${PV}:4.0
|
||||
~dev-java/tomcat-servlet-api-${PV}:5.0
|
||||
"
|
||||
|
||||
DEPEND="
|
||||
>=virtual/jdk-1.8:*
|
||||
${CP_DEPEND}"
|
||||
|
||||
RDEPEND="
|
||||
>=virtual/jre-1.8:*
|
||||
${CP_DEPEND}"
|
||||
|
||||
S="${WORKDIR}/apache-tomcat-${PV}-src"
|
||||
|
||||
JAVA_RESOURCE_DIRS="resources"
|
||||
JAVA_SRC_DIR="java/jakarta/servlet/jsp"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
mkdir -p resources/jakarta/servlet || "creating \"resources\" failed"
|
||||
cp -r {java,resources}/jakarta/servlet/jsp || "cannot copy to \"resources\" dir"
|
||||
find resources \( -name '*.java' -o -name 'tagext' \) \
|
||||
-exec rm -rf {} + || die "removing *.java files failed"
|
||||
}
|
@ -1,47 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
JAVA_PKG_IUSE="doc source"
|
||||
MAVEN_ID="org.apache.tomcat:tomcat-jsp-api:9.0.69"
|
||||
|
||||
inherit java-pkg-2 java-pkg-simple verify-sig
|
||||
|
||||
DESCRIPTION="Tomcat's JSP API 3.1 implementation"
|
||||
HOMEPAGE="https://tomcat.apache.org/"
|
||||
SRC_URI="mirror://apache/tomcat/tomcat-$(ver_cut 1)/v${PV}/src/apache-tomcat-${PV}-src.tar.gz
|
||||
verify-sig? ( https://downloads.apache.org/tomcat/tomcat-$(ver_cut 1)/v${PV}/src/apache-tomcat-${PV}-src.tar.gz.asc )"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="2.3"
|
||||
KEYWORDS="amd64 ~arm arm64 ppc64 x86 ~amd64-linux ~x86-linux ~x64-solaris ~x86-solaris"
|
||||
|
||||
CP_DEPEND="
|
||||
~dev-java/tomcat-el-api-${PV}:3.0
|
||||
~dev-java/tomcat-servlet-api-${PV}:4.0
|
||||
"
|
||||
|
||||
DEPEND="
|
||||
>=virtual/jdk-1.8:*
|
||||
${CP_DEPEND}"
|
||||
|
||||
RDEPEND="
|
||||
>=virtual/jre-1.8:*
|
||||
${CP_DEPEND}"
|
||||
|
||||
BDEPEND="verify-sig? ( ~sec-keys/openpgp-keys-apache-tomcat-${PV}:${PV} )"
|
||||
VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}/usr/share/openpgp-keys/tomcat-${PV}.apache.org.asc"
|
||||
|
||||
S="${WORKDIR}/apache-tomcat-${PV}-src"
|
||||
|
||||
JAVA_RESOURCE_DIRS="resources"
|
||||
JAVA_SRC_DIR="java/javax/servlet/jsp"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
mkdir -p resources/javax/servlet || "creating \"resources\" failed"
|
||||
cp -r {java,resources}/javax/servlet/jsp || "cannot copy to \"resources\" dir"
|
||||
find resources \( -name '*.java' -o -name 'tagext' \) \
|
||||
-exec rm -rf {} + || die "removing *.java files failed"
|
||||
}
|
@ -1,43 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
JAVA_PKG_IUSE="doc source"
|
||||
MAVEN_ID="org.apache.tomcat:tomcat-servlet-api:10.0.27"
|
||||
|
||||
inherit java-pkg-2 java-pkg-simple
|
||||
|
||||
DESCRIPTION="Tomcat's Servlet API 6.0 implementation"
|
||||
HOMEPAGE="https://tomcat.apache.org/"
|
||||
SRC_URI="mirror://apache/tomcat/tomcat-$(ver_cut 1)/v${PV}/src/apache-tomcat-${PV}-src.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="5.0"
|
||||
KEYWORDS="amd64 ~arm arm64 ppc64 x86 ~amd64-linux ~x86-linux ~x64-solaris ~x86-solaris"
|
||||
|
||||
CP_DEPEND="~dev-java/tomcat-el-api-${PV}:4.0"
|
||||
|
||||
DEPEND="
|
||||
>=virtual/jdk-1.8:*
|
||||
${CP_DEPEND}"
|
||||
|
||||
RDEPEND="
|
||||
>=virtual/jre-1.8:*
|
||||
${CP_DEPEND}"
|
||||
|
||||
S="${WORKDIR}/apache-tomcat-${PV}-src"
|
||||
|
||||
JAVA_RESOURCE_DIRS="resources"
|
||||
JAVA_SRC_DIR="java/jakarta/servlet"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
# remove anything related to "el" or "jsp"
|
||||
find java/jakarta \( -name 'el' -o -name 'jsp' \) \
|
||||
-exec rm -rf {} + || die "removing jsp failed"
|
||||
|
||||
mkdir resources || "creating \"resources\" failed"
|
||||
cp -r java/jakarta resources || "cannot copy to \"resources\" dir"
|
||||
find resources -name '*.java' -exec rm -rf {} + || die "removing *.java files failed"
|
||||
}
|
@ -1,47 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
JAVA_PKG_IUSE="doc source"
|
||||
MAVEN_ID="org.apache.tomcat:tomcat-servlet-api:9.0.69"
|
||||
|
||||
inherit java-pkg-2 java-pkg-simple verify-sig
|
||||
|
||||
DESCRIPTION="Tomcat's Servlet API 6.0 implementation"
|
||||
HOMEPAGE="https://tomcat.apache.org/"
|
||||
SRC_URI="mirror://apache/tomcat/tomcat-$(ver_cut 1)/v${PV}/src/apache-tomcat-${PV}-src.tar.gz
|
||||
verify-sig? ( https://downloads.apache.org/tomcat/tomcat-$(ver_cut 1)/v${PV}/src/apache-tomcat-${PV}-src.tar.gz.asc )"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="4.0"
|
||||
KEYWORDS="amd64 ~arm arm64 ppc64 x86 ~amd64-linux ~x86-linux ~x64-solaris ~x86-solaris"
|
||||
|
||||
CP_DEPEND="~dev-java/tomcat-el-api-${PV}:3.0"
|
||||
|
||||
DEPEND="
|
||||
>=virtual/jdk-1.8:*
|
||||
${CP_DEPEND}"
|
||||
|
||||
RDEPEND="
|
||||
>=virtual/jre-1.8:*
|
||||
${CP_DEPEND}"
|
||||
|
||||
BDEPEND="verify-sig? ( ~sec-keys/openpgp-keys-apache-tomcat-${PV}:${PV} )"
|
||||
VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}/usr/share/openpgp-keys/tomcat-${PV}.apache.org.asc"
|
||||
|
||||
S="${WORKDIR}/apache-tomcat-${PV}-src"
|
||||
|
||||
JAVA_RESOURCE_DIRS="resources"
|
||||
JAVA_SRC_DIR="java/javax/servlet"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
# remove anything related to "el" or "jsp"
|
||||
find java/javax \( -name 'el' -o -name 'jsp' \) \
|
||||
-exec rm -rf {} + || die "removing jsp failed"
|
||||
|
||||
mkdir resources || "creating \"resources\" failed"
|
||||
cp -r java/javax resources || "cannot copy to \"resources\" dir"
|
||||
find resources -name '*.java' -exec rm -rf {} + || die "removing *.java files failed"
|
||||
}
|
Binary file not shown.
@ -1,4 +1,3 @@
|
||||
DIST nss-3.79.2.tar.gz 84825187 BLAKE2B 9589095a0f3af5201662fe96ba4dac73c661db3abde534941ea61d597dce1016dc06f8559e26fafc940f2b123987381e1faa22ff6a995ef3cc0a9dc4ebe7a4ad SHA512 52ca7574d2bb6e2fd874ac40f3e75d58135b103d8bd4b964a9262b5c302b4668ff7c8f5dabbef46e413fd72faeddc44057bc7b489946813331cc9a481d078181
|
||||
DIST nss-3.85.tar.gz 84717969 BLAKE2B 644a51cd747078688233850bee6884b7ee30076411d783a4fb2982ffc35883f51784440d8c1c727251f664c4e5b5071be9881abc8315e0294d7da0cb8727e897 SHA512 97cfffa2beed1dba5d31e0c6e450553e5a8c78b427521640adb00c05d9d63cd64dc08388f0dbf96c93efb79f5daf4ba8db8d026b0b43d2e5c865a9b833fc77a1
|
||||
DIST nss-3.86.tar.gz 71423531 BLAKE2B 36703d99d9616020a165085469be650c2f4ce3e11c2f4f6bd974b1b89f1b9fcfdaa4ffd4d6ee98dabce82e616c170548efa1e51722b524dda8815faccfcf5181 SHA512 c09aeb52d7898617b65a1090cbdd29f6457eff2ebdc61aadb2dbf7b5044eae010ee5eeea729825f1258902936a61a1bff552ee9b26b2f01e5d448bbd8791d1cb
|
||||
DIST nss-3.87.tar.gz 71435408 BLAKE2B 0d69e18b1e2c4ccfc86db8f3afba94d5000e8ab2a4e766eb6f99f13f57d78b62dd711a0f5f70a24378a3cf1e435cc8ecb7e6fbeae18d5db0176660a0ea35dac2 SHA512 4ec7b94e537df109638b821f3a7e3b7bf31d89c3739a6e4c85cad4fab876390ae482971d6f66198818400f467661e86f39dc1d2a4a88077fd81e3a0b7ed64110
|
||||
DIST nss-cacert-class1-class3-r2.patch 21925 BLAKE2B 7627ff9a09f084c19d72d0490676865e3cab3ca7c920ae1ce4bea2db664f37fd0aa84fcda919809a516891ab2a62e2e7a43a9d6ada4c231adfe4c216525fac7d SHA512 1ce6ff9ab310aaca9005eafb461338b291df8523cc7044e096cd75774ce746c26eed19ec6bb2643c6c67f94650f2f309463492d80a90568f38ce2557f8ada2f4
|
||||
|
@ -1,38 +0,0 @@
|
||||
diff --git a/lib/ssl/authcert.c b/lib/ssl/authcert.c
|
||||
--- a/lib/ssl/authcert.c
|
||||
+++ b/lib/ssl/authcert.c
|
||||
@@ -204,10 +204,13 @@
|
||||
if (certList == NULL) {
|
||||
certList = CERT_FindUserCertsByUsage(CERT_GetDefaultCertDB(),
|
||||
certUsageSSLClient,
|
||||
PR_FALSE, chosenNickName == NULL,
|
||||
pw_arg);
|
||||
+ if (certList == NULL) {
|
||||
+ return SECFailure;
|
||||
+ }
|
||||
/* filter only the certs that meet the nickname requirements */
|
||||
if (chosenNickName) {
|
||||
rv = CERT_FilterCertListByNickname(certList, chosenNickName,
|
||||
pw_arg);
|
||||
} else {
|
||||
@@ -217,17 +220,14 @@
|
||||
certUsageSSLClient);
|
||||
ssl_FreeDistNamesStrings(names, nnames);
|
||||
}
|
||||
if ((rv != SECSuccess) || CERT_LIST_EMPTY(certList)) {
|
||||
CERT_DestroyCertList(certList);
|
||||
- certList = NULL;
|
||||
+ return SECFailure;
|
||||
}
|
||||
}
|
||||
- if (certList == NULL) {
|
||||
- /* no user certs meeting the nickname/usage requirements found */
|
||||
- return SECFailure;
|
||||
- }
|
||||
+
|
||||
/* now remove any certs that can't meet the connection requirements */
|
||||
rv = ssl_FilterClientCertListBySSLSocket(ss, certList);
|
||||
if ((rv != SECSuccess) || CERT_LIST_EMPTY(certList)) {
|
||||
// no certs left.
|
||||
CERT_DestroyCertList(certList);
|
||||
|
@ -1,395 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit flag-o-matic multilib toolchain-funcs multilib-minimal
|
||||
|
||||
NSPR_VER="4.35"
|
||||
RTM_NAME="NSS_${PV//./_}_RTM"
|
||||
|
||||
DESCRIPTION="Mozilla's Network Security Services library that implements PKI support"
|
||||
HOMEPAGE="https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS"
|
||||
SRC_URI="https://archive.mozilla.org/pub/security/nss/releases/${RTM_NAME}/src/${P}.tar.gz
|
||||
cacert? ( https://dev.gentoo.org/~whissi/dist/ca-certificates/nss-cacert-class1-class3-r2.patch )"
|
||||
|
||||
LICENSE="|| ( MPL-2.0 GPL-2 LGPL-2.1 )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-solaris ~x86-solaris"
|
||||
IUSE="cacert test +utils cpu_flags_ppc_altivec cpu_flags_ppc_vsx"
|
||||
RESTRICT="!test? ( test )"
|
||||
# pkg-config called by nss-config -> virtual/pkgconfig in RDEPEND
|
||||
RDEPEND="
|
||||
>=dev-libs/nspr-${NSPR_VER}[${MULTILIB_USEDEP}]
|
||||
>=dev-db/sqlite-3.8.2[${MULTILIB_USEDEP}]
|
||||
>=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}]
|
||||
virtual/pkgconfig
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="dev-lang/perl"
|
||||
|
||||
S="${WORKDIR}/${P}/${PN}"
|
||||
|
||||
MULTILIB_CHOST_TOOLS=(
|
||||
/usr/bin/nss-config
|
||||
)
|
||||
|
||||
PATCHES=(
|
||||
# Custom changes for gentoo
|
||||
"${FILESDIR}/${PN}-3.53-gentoo-fixups.patch"
|
||||
"${FILESDIR}/${PN}-3.21-gentoo-fixup-warnings.patch"
|
||||
"${FILESDIR}/${PN}-3.23-hppa-byte_order.patch"
|
||||
"${FILESDIR}/${PN}-3.87-fix-client-cert-crash.patch"
|
||||
)
|
||||
|
||||
QA_PKGCONFIG_VERSION="${PV}.0"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
if use cacert ; then
|
||||
eapply -p2 "${DISTDIR}"/nss-cacert-class1-class3-r2.patch
|
||||
fi
|
||||
|
||||
pushd coreconf >/dev/null || die
|
||||
# hack nspr paths
|
||||
echo 'INCLUDES += -I$(DIST)/include/dbm' \
|
||||
>> headers.mk || die "failed to append include"
|
||||
|
||||
# modify install path
|
||||
sed -e '/CORE_DEPTH/s:SOURCE_PREFIX.*$:SOURCE_PREFIX = $(CORE_DEPTH)/dist:' \
|
||||
-i source.mk || die
|
||||
|
||||
# Respect LDFLAGS
|
||||
sed -i -e 's/\$(MKSHLIB) -o/\$(MKSHLIB) \$(LDFLAGS) -o/g' rules.mk
|
||||
|
||||
# Workaround make-4.4's change to sub-make, bmo#1800237, bgo#882069
|
||||
sed -i -e "s/^CPU_TAG = _.*/CPU_TAG = _$(nssarch)/" Linux.mk || die
|
||||
|
||||
popd >/dev/null || die
|
||||
|
||||
# Fix pkgconfig file for Prefix
|
||||
sed -i -e "/^PREFIX =/s:= /usr:= ${EPREFIX}/usr:" \
|
||||
config/Makefile || die
|
||||
|
||||
# use host shlibsign if need be #436216
|
||||
if tc-is-cross-compiler ; then
|
||||
sed -i \
|
||||
-e 's:"${2}"/shlibsign:shlibsign:' \
|
||||
cmd/shlibsign/sign.sh || die
|
||||
fi
|
||||
|
||||
# dirty hack
|
||||
sed -i -e "/CRYPTOLIB/s:\$(SOFTOKEN_LIB_DIR):../freebl/\$(OBJDIR):" \
|
||||
lib/ssl/config.mk || die
|
||||
sed -i -e "/CRYPTOLIB/s:\$(SOFTOKEN_LIB_DIR):../../lib/freebl/\$(OBJDIR):" \
|
||||
cmd/platlibs.mk || die
|
||||
|
||||
multilib_copy_sources
|
||||
|
||||
strip-flags
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
# Ensure we stay multilib aware
|
||||
sed -i -e "/@libdir@/ s:lib64:$(get_libdir):" config/Makefile || die
|
||||
}
|
||||
|
||||
nssarch() {
|
||||
# Most of the arches are the same as $ARCH
|
||||
local t=${1:-${CHOST}}
|
||||
case ${t} in
|
||||
*86*-pc-solaris2*) echo "i86pc" ;;
|
||||
aarch64*) echo "aarch64" ;;
|
||||
hppa*) echo "parisc" ;;
|
||||
i?86*) echo "i686" ;;
|
||||
x86_64*) echo "x86_64" ;;
|
||||
*) tc-arch ${t} ;;
|
||||
esac
|
||||
}
|
||||
|
||||
nssbits() {
|
||||
local cc cppflags="${1}CPPFLAGS" cflags="${1}CFLAGS"
|
||||
if [[ ${1} == BUILD_ ]]; then
|
||||
cc=$(tc-getBUILD_CC)
|
||||
else
|
||||
cc=$(tc-getCC)
|
||||
fi
|
||||
echo > "${T}"/test.c || die
|
||||
${cc} ${!cppflags} ${!cflags} -c "${T}"/test.c -o "${T}/${1}test.o" || die
|
||||
case $(file "${T}/${1}test.o") in
|
||||
*32-bit*x86-64*) echo USE_X32=1;;
|
||||
*64-bit*|*ppc64*|*x86_64*) echo USE_64=1;;
|
||||
*32-bit*|*ppc*|*i386*) ;;
|
||||
*) die "Failed to detect whether ${cc} builds 64bits or 32bits, disable distcc if you're using it, please";;
|
||||
esac
|
||||
}
|
||||
|
||||
multilib_src_compile() {
|
||||
# use ABI to determine bit'ness, or fallback if unset
|
||||
local buildbits mybits
|
||||
case "${ABI}" in
|
||||
n32) mybits="USE_N32=1";;
|
||||
x32) mybits="USE_X32=1";;
|
||||
s390x|*64) mybits="USE_64=1";;
|
||||
${DEFAULT_ABI})
|
||||
einfo "Running compilation test to determine bit'ness"
|
||||
mybits=$(nssbits)
|
||||
;;
|
||||
esac
|
||||
# bitness of host may differ from target
|
||||
if tc-is-cross-compiler; then
|
||||
buildbits=$(nssbits BUILD_)
|
||||
fi
|
||||
|
||||
local makeargs=(
|
||||
CC="$(tc-getCC)"
|
||||
CCC="$(tc-getCXX)"
|
||||
AR="$(tc-getAR) rc \$@"
|
||||
RANLIB="$(tc-getRANLIB)"
|
||||
OPTIMIZER=
|
||||
${mybits}
|
||||
disable_ckbi=0
|
||||
)
|
||||
|
||||
# Take care of nspr settings #436216
|
||||
local myCPPFLAGS="${CPPFLAGS} $($(tc-getPKG_CONFIG) nspr --cflags)"
|
||||
unset NSPR_INCLUDE_DIR
|
||||
|
||||
export NSS_ALLOW_SSLKEYLOGFILE=1
|
||||
export NSS_ENABLE_WERROR=0 #567158
|
||||
export BUILD_OPT=1
|
||||
export NSS_USE_SYSTEM_SQLITE=1
|
||||
export NSDISTMODE=copy
|
||||
export FREEBL_NO_DEPEND=1
|
||||
export FREEBL_LOWHASH=1
|
||||
export NSS_SEED_ONLY_DEV_URANDOM=1
|
||||
export USE_SYSTEM_ZLIB=1
|
||||
export ZLIB_LIBS=-lz
|
||||
export ASFLAGS=""
|
||||
# Fix build failure on arm64
|
||||
export NS_USE_GCC=1
|
||||
# Detect compiler type and set proper environment value
|
||||
if tc-is-gcc; then
|
||||
export CC_IS_GCC=1
|
||||
elif tc-is-clang; then
|
||||
export CC_IS_CLANG=1
|
||||
fi
|
||||
|
||||
export NSS_DISABLE_GTESTS=$(usex !test 1 0)
|
||||
|
||||
# explicitly disable altivec/vsx if not requested
|
||||
# https://bugs.gentoo.org/789114
|
||||
case ${ARCH} in
|
||||
ppc*)
|
||||
use cpu_flags_ppc_altivec || export NSS_DISABLE_ALTIVEC=1
|
||||
use cpu_flags_ppc_vsx || export NSS_DISABLE_CRYPTO_VSX=1
|
||||
;;
|
||||
esac
|
||||
|
||||
local d
|
||||
|
||||
# Build the host tools first.
|
||||
LDFLAGS="${BUILD_LDFLAGS}" \
|
||||
XCFLAGS="${BUILD_CFLAGS}" \
|
||||
NSPR_LIB_DIR="${T}/fakedir" \
|
||||
emake -C coreconf \
|
||||
CC="$(tc-getBUILD_CC)" \
|
||||
${buildbits-${mybits}}
|
||||
makeargs+=( NSINSTALL="${PWD}/$(find -type f -name nsinstall)" )
|
||||
|
||||
# Then build the target tools.
|
||||
for d in . lib/dbm ; do
|
||||
CPPFLAGS="${myCPPFLAGS}" \
|
||||
XCFLAGS="${CFLAGS} ${CPPFLAGS}" \
|
||||
NSPR_LIB_DIR="${T}/fakedir" \
|
||||
emake "${makeargs[@]}" -C ${d} OS_TEST="$(nssarch)"
|
||||
done
|
||||
}
|
||||
|
||||
multilib_src_test() {
|
||||
einfo "Tests can take a *long* time, especially on a multilib system."
|
||||
einfo "30-45+ minutes per lib configuration. Bug #852755"
|
||||
|
||||
# https://www.linuxfromscratch.org/blfs/view/svn/postlfs/nss.html
|
||||
# https://firefox-source-docs.mozilla.org/security/nss/legacy/nss_sources_building_testing/index.html#running_the_nss_test_suite
|
||||
# https://www-archive.mozilla.org/projects/security/pki/nss/testnss_32.html (older)
|
||||
export BUILD_OPT=1
|
||||
export HOST="localhost"
|
||||
export DOMSUF="localdomain"
|
||||
export USE_IP=TRUE
|
||||
export IP_ADDRESS="127.0.0.1"
|
||||
|
||||
NSINSTALL="${PWD}/$(find -type f -name nsinstall)"
|
||||
|
||||
cd "${BUILD_DIR}"/tests || die
|
||||
# Hack to get current objdir (prefixed dir where built binaries are)
|
||||
# Without this, at least multilib tests go wrong when building the amd64 variant
|
||||
# after x86.
|
||||
local objdir=$(find "${BUILD_DIR}"/dist -maxdepth 1 -iname Linux* | rev | cut -d/ -f1 | rev)
|
||||
|
||||
# Can tweak to a subset of tests in future if we need to, but would prefer not
|
||||
OBJDIR="${objdir}" DIST="${BUILD_DIR}/dist" MOZILLA_ROOT="${BUILD_DIR}" ./all.sh || die
|
||||
}
|
||||
|
||||
# Altering these 3 libraries breaks the CHK verification.
|
||||
# All of the following cause it to break:
|
||||
# - stripping
|
||||
# - prelink
|
||||
# - ELF signing
|
||||
# http://www.mozilla.org/projects/security/pki/nss/tech-notes/tn6.html
|
||||
# Either we have to NOT strip them, or we have to forcibly resign after
|
||||
# stripping.
|
||||
#local_libdir="$(get_libdir)"
|
||||
#export STRIP_MASK="
|
||||
# */${local_libdir}/libfreebl3.so*
|
||||
# */${local_libdir}/libnssdbm3.so*
|
||||
# */${local_libdir}/libsoftokn3.so*"
|
||||
|
||||
export NSS_CHK_SIGN_LIBS="freebl3 nssdbm3 softokn3"
|
||||
|
||||
generate_chk() {
|
||||
local shlibsign="$1"
|
||||
local libdir="$2"
|
||||
einfo "Resigning core NSS libraries for FIPS validation"
|
||||
shift 2
|
||||
local i
|
||||
for i in ${NSS_CHK_SIGN_LIBS} ; do
|
||||
local libname=lib${i}.so
|
||||
local chkname=lib${i}.chk
|
||||
"${shlibsign}" \
|
||||
-i "${libdir}"/${libname} \
|
||||
-o "${libdir}"/${chkname}.tmp \
|
||||
&& mv -f \
|
||||
"${libdir}"/${chkname}.tmp \
|
||||
"${libdir}"/${chkname} \
|
||||
|| die "Failed to sign ${libname}"
|
||||
done
|
||||
}
|
||||
|
||||
cleanup_chk() {
|
||||
local libdir="$1"
|
||||
shift 1
|
||||
local i
|
||||
for i in ${NSS_CHK_SIGN_LIBS} ; do
|
||||
local libfname="${libdir}/lib${i}.so"
|
||||
# If the major version has changed, then we have old chk files.
|
||||
[ ! -f "${libfname}" -a -f "${libfname}.chk" ] \
|
||||
&& rm -f "${libfname}.chk"
|
||||
done
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
pushd dist >/dev/null || die
|
||||
|
||||
dodir /usr/$(get_libdir)
|
||||
cp -L */lib/*$(get_libname) "${ED}"/usr/$(get_libdir) || die "copying shared libs failed"
|
||||
local i
|
||||
for i in crmf freebl nssb nssckfw ; do
|
||||
cp -L */lib/lib${i}.a "${ED}"/usr/$(get_libdir) || die "copying libs failed"
|
||||
done
|
||||
|
||||
# Install nss-config and pkgconfig file
|
||||
dodir /usr/bin
|
||||
cp -L */bin/nss-config "${ED}"/usr/bin || die
|
||||
dodir /usr/$(get_libdir)/pkgconfig
|
||||
cp -L */lib/pkgconfig/nss.pc "${ED}"/usr/$(get_libdir)/pkgconfig || die
|
||||
|
||||
# create an nss-softokn.pc from nss.pc for libfreebl and some private headers
|
||||
# bug 517266
|
||||
sed -e 's#Libs:#Libs: -lfreebl#' \
|
||||
-e 's#Cflags:#Cflags: -I${includedir}/private#' \
|
||||
*/lib/pkgconfig/nss.pc >"${ED}"/usr/$(get_libdir)/pkgconfig/nss-softokn.pc \
|
||||
|| die "could not create nss-softokn.pc"
|
||||
|
||||
# all the include files
|
||||
insinto /usr/include/nss
|
||||
doins public/nss/*.{h,api}
|
||||
insinto /usr/include/nss/private
|
||||
doins private/nss/{blapi,alghmac,cmac}.h
|
||||
|
||||
popd >/dev/null || die
|
||||
|
||||
local f nssutils
|
||||
# Always enabled because we need it for chk generation.
|
||||
nssutils=( shlibsign )
|
||||
|
||||
if multilib_is_native_abi ; then
|
||||
if use utils; then
|
||||
# The tests we do not need to install.
|
||||
#nssutils_test="bltest crmftest dbtest dertimetest
|
||||
#fipstest remtest sdrtest"
|
||||
# checkcert utils has been removed in nss-3.22:
|
||||
# https://bugzilla.mozilla.org/show_bug.cgi?id=1187545
|
||||
# https://hg.mozilla.org/projects/nss/rev/df1729d37870
|
||||
# certcgi has been removed in nss-3.36:
|
||||
# https://bugzilla.mozilla.org/show_bug.cgi?id=1426602
|
||||
nssutils+=(
|
||||
addbuiltin
|
||||
atob
|
||||
baddbdir
|
||||
btoa
|
||||
certutil
|
||||
cmsutil
|
||||
conflict
|
||||
crlutil
|
||||
derdump
|
||||
digest
|
||||
makepqg
|
||||
mangle
|
||||
modutil
|
||||
multinit
|
||||
nonspr10
|
||||
ocspclnt
|
||||
oidcalc
|
||||
p7content
|
||||
p7env
|
||||
p7sign
|
||||
p7verify
|
||||
pk11mode
|
||||
pk12util
|
||||
pp
|
||||
rsaperf
|
||||
selfserv
|
||||
signtool
|
||||
signver
|
||||
ssltap
|
||||
strsclnt
|
||||
symkeyutil
|
||||
tstclnt
|
||||
vfychain
|
||||
vfyserv
|
||||
)
|
||||
# install man-pages for utils (bug #516810)
|
||||
doman doc/nroff/*.1
|
||||
fi
|
||||
pushd dist/*/bin >/dev/null || die
|
||||
for f in ${nssutils[@]}; do
|
||||
dobin ${f}
|
||||
done
|
||||
popd >/dev/null || die
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
multilib_pkg_postinst() {
|
||||
# We must re-sign the libraries AFTER they are stripped.
|
||||
local shlibsign="${EROOT}/usr/bin/shlibsign"
|
||||
# See if we can execute it (cross-compiling & such). #436216
|
||||
"${shlibsign}" -h >&/dev/null
|
||||
if [[ $? -gt 1 ]] ; then
|
||||
shlibsign="shlibsign"
|
||||
fi
|
||||
generate_chk "${shlibsign}" "${EROOT}"/usr/$(get_libdir)
|
||||
}
|
||||
|
||||
multilib_foreach_abi multilib_pkg_postinst
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
multilib_pkg_postrm() {
|
||||
cleanup_chk "${EROOT}"/usr/$(get_libdir)
|
||||
}
|
||||
|
||||
multilib_foreach_abi multilib_pkg_postrm
|
||||
}
|
Binary file not shown.
@ -1 +1,2 @@
|
||||
DIST cython-0.29.32.gh.tar.gz 2110417 BLAKE2B 008ffe325c87d165bf45afb2ff92db5286f611bbe425d0e9f18b530202135ca21f5f5ab564a4d0c6251ec2479ea0fd19207274a255fb1faf8863d3b067d17ae9 SHA512 55462792fa70d8edf60aa470627ab494918d7297fd7d282a7a54da76ee5a180233108404a1c8f3d79f6408f19b6e4f46b36e59fd47c38ede24f061f374437b6f
|
||||
DIST cython-0.29.33.gh.tar.gz 2113910 BLAKE2B 9212edfa36680a3243632d28c4f5616a7336e82ee1f96df7d5e29711056619639c9a8fe9bbf9aea0a86aed39e836dc6eaa112ad35080f530add6309ccd09c53c SHA512 85f5ba7159d8793dbda980140b26086727f356a71d78f8522419657841d07b865d09c2f0a0f77d398669d071c1d261060235321a19eb7808e35d24f8ac71560d
|
||||
|
@ -0,0 +1,90 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{8..11} pypy3 )
|
||||
PYTHON_REQ_USE="threads(+)"
|
||||
|
||||
inherit distutils-r1 toolchain-funcs elisp-common
|
||||
|
||||
DESCRIPTION="A Python to C compiler"
|
||||
HOMEPAGE="
|
||||
https://cython.org/
|
||||
https://github.com/cython/cython/
|
||||
https://pypi.org/project/Cython/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/cython/cython/archive/${PV}.tar.gz
|
||||
-> ${P}.gh.tar.gz
|
||||
"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris ~x86-solaris"
|
||||
IUSE="emacs test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
emacs? ( >=app-editors/emacs-23.1:* )
|
||||
"
|
||||
BDEPEND="
|
||||
${RDEPEND}
|
||||
test? (
|
||||
$(python_gen_cond_dep '
|
||||
dev-python/numpy[${PYTHON_USEDEP}]
|
||||
' python3_{8..10})
|
||||
)
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-0.29.22-spawn-multiprocessing.patch"
|
||||
"${FILESDIR}/${PN}-0.29.23-test_exceptions-py310.patch"
|
||||
)
|
||||
|
||||
SITEFILE=50cython-gentoo.el
|
||||
|
||||
distutils_enable_sphinx docs
|
||||
|
||||
python_compile() {
|
||||
# Python gets confused when it is in sys.path before build.
|
||||
local -x PYTHONPATH=
|
||||
|
||||
distutils-r1_python_compile
|
||||
}
|
||||
|
||||
python_compile_all() {
|
||||
use emacs && elisp-compile Tools/cython-mode.el
|
||||
}
|
||||
|
||||
python_test() {
|
||||
if has "${EPYTHON}" pypy3 python3.11; then
|
||||
einfo "Skipping tests on ${EPYTHON} (xfail)"
|
||||
return
|
||||
fi
|
||||
|
||||
tc-export CC
|
||||
# https://github.com/cython/cython/issues/1911
|
||||
local -x CFLAGS="${CFLAGS} -fno-strict-overflow"
|
||||
"${PYTHON}" runtests.py -vv --work-dir "${BUILD_DIR}"/tests ||
|
||||
die "Tests fail with ${EPYTHON}"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
local DOCS=( CHANGES.rst README.rst ToDo.txt USAGE.txt )
|
||||
distutils-r1_python_install_all
|
||||
|
||||
if use emacs; then
|
||||
elisp-install ${PN} Tools/cython-mode.*
|
||||
elisp-site-file-install "${FILESDIR}/${SITEFILE}"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
use emacs && elisp-site-regen
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
use emacs && elisp-site-regen
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST mpi4py-3.1.3.tar.gz 2461368 BLAKE2B 3ff7f6519a1ee96249567b1c65401fd1242c433bbb0a55c9d0a9b07f167ec44c71aefc24ac5fb354ceeb591dbfe97a4306f8455bb00559789367e91b78d80c16 SHA512 7a15224692016253120e8e88be1f7201e6f4548c1fb5ed15f04f416000b0d9e259dd8e80c0e237b1a960143e52b4a840d2a541359833387ac12868af1c059cea
|
||||
DIST mpi4py-3.1.4.tar.gz 2493282 BLAKE2B e1a048e6053263f6685c549e2e6f96072b7d95db68595c8848d0ecdb0a6cadf2b102e4c4ce589053ed17a090335afc56f4b3630b60944aeac7e4bc4ad82d4a1b SHA512 f59ad765bc272f8b63f74cfde4e588f640c4fc3d47d05729509da45a2155f830c1d409ec716ff374756748fa8ebfa6e72f9fbe188a6b89ea3fa115740a532b08
|
||||
|
@ -0,0 +1,62 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{8..11} )
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Message Passing Interface for Python"
|
||||
HOMEPAGE="https://github.com/mpi4py/mpi4py https://pypi.org/project/mpi4py/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~riscv ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="doc examples test"
|
||||
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/cython[${PYTHON_USEDEP}]
|
||||
dev-python/numpy[${PYTHON_USEDEP}]
|
||||
virtual/mpi
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
test? (
|
||||
virtual/mpi[romio]
|
||||
)
|
||||
"
|
||||
|
||||
DISTUTILS_IN_SOURCE_BUILD=1
|
||||
|
||||
python_prepare_all() {
|
||||
# not needed on install
|
||||
rm -vr docs/source || die
|
||||
rm test/test_pickle.py || die # disabled by Gentoo-bug #659348
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
export FAKEROOTKEY=1
|
||||
distutils-r1_src_compile
|
||||
}
|
||||
|
||||
python_test() {
|
||||
echo "Beginning test phase"
|
||||
pushd "${BUILD_DIR}"/../ &> /dev/null || die
|
||||
# spawn is not stable in OpenMPI 4
|
||||
# https://github.com/jsquyres/ompi/pull/4#issuecomment-806897758
|
||||
# oob_tcp_if_include lo is needed to allow test in systemd-nspawn container
|
||||
mpiexec --use-hwthread-cpus --mca btl tcp,self --mca oob_tcp_if_include lo \
|
||||
-n 1 "${PYTHON}" -B ./test/runtests.py -v \
|
||||
--exclude="test_msgspec" --exclude="test_spawn" ||
|
||||
die "Testsuite failed under ${EPYTHON}"
|
||||
popd &> /dev/null || die
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && local HTML_DOCS=( docs/. )
|
||||
use examples && local DOCS=( demo )
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST python-nbxmpp-3.2.5.tar.bz2 132029 BLAKE2B 846f3b47c3a9a95cf1fa1b557a007fd4901fb4acaa3160ea4b9b1cdff1e9d2c3e64bc5251b739d816f3f1c449c350d1ac44c14cbef87d14fe5a6450418451007 SHA512 577f8c7b0f5a7c69b4d980bff93f0a208ab0a660d731eb95ec63b76583194b94bd9d9f6b10fcac3951a6e6afb5d0c4da2140cbc17ef653f19ec6957b5d2e5f04
|
||||
DIST python-nbxmpp-4.0.0.tar.bz2 133902 BLAKE2B 8b86f58f5a21a5e4f473528fe61f0f7db8d3cdeb4bad5f5c98d6acafbc3ef30794431cd2bb437754549b3bee21252cbdbf37e69c20461a5facc0b455f631edaa SHA512 3eb9433529d2971f495bf683d586bca63c238eef96f5f6c6082d02a8fb0d11374302ddc0f718a7ff73db624d3aa3a8325d157b80679c165077dbb9d4dc490e3a
|
||||
|
@ -0,0 +1,32 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{10..11} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Python library to use Jabber/XMPP networks in a non-blocking way"
|
||||
HOMEPAGE="
|
||||
https://dev.gajim.org/gajim/python-nbxmpp/
|
||||
https://pypi.org/project/nbxmpp/
|
||||
"
|
||||
SRC_URI="
|
||||
https://dev.gajim.org/gajim/python-nbxmpp/-/archive/${PV}/${P}.tar.bz2
|
||||
"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="GPL-3"
|
||||
KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
|
||||
|
||||
RDEPEND="
|
||||
dev-libs/gobject-introspection
|
||||
net-libs/libsoup:2.4[introspection]
|
||||
dev-python/idna[${PYTHON_USEDEP}]
|
||||
dev-python/precis-i18n[${PYTHON_USEDEP}]
|
||||
dev-python/pygobject[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
distutils_enable_tests unittest
|
@ -1,3 +1,4 @@
|
||||
DIST Sphinx-4.5.0.tar.gz 6698212 BLAKE2B e6c46d35492c3d3068c4f97e497d33973ca86b40934578804fcec901fa89d2c52b45a7546b835b873846dd16936c1bd34a7b053aec8206c688d974671155fd56 SHA512 b44d2a81ed67adaefe16a07ae0cf053b5e6c775023aaa6c57d7b3950f171deac410e8004f787b151c3c2fc350650aa69a4dc2dc7239d1fd3d351e5194617cb2c
|
||||
DIST sphinx-5.3.0.gh.tar.gz 6873479 BLAKE2B c57ede5e3d83447c6152d050d45df73bced62ce0cdcd84ea6316a48bff072590ad036c469dee053a9dc5eb1a7ae53b350aa25b5fe14c3378dc6543186552f720 SHA512 6877635d46f2e1f2b4cf4edaca463d85bf740a13bbeb867486efd57904aacc42626e6a4f58ad971e50808d31391d068702c4f2910a95e5c86dbd68d87e2552c8
|
||||
DIST sphinx-6.0.0.gh.tar.gz 6713685 BLAKE2B b2e333efdbbd319c82203a0ee731ae8b0bc8a848b92773bdaa93b52c3841ab3802f68f698155b8ce4f65af93fdbe741c3e37775defde6111ee6ad5db89f968d8 SHA512 6efcbe57170cacec6f3c7f11f09094d096dc2afb7e0470c7cbdb9ea209dcbb782a6227a32de41974258555fa01986406a6564587f6b414594c452dcc6b8a06fc
|
||||
DIST sphinx-6.1.1.gh.tar.gz 6719767 BLAKE2B 91951c896c9feceee5877f98cd6d9afd0868bf6fd0c7372289eff2511ffb3ac845a29a43442c1cc8a9d14be3b242695d6666289b68a3fd41b5fdcbdf87c88145 SHA512 eaeed485d93d9fca3d8c388112594b2f71bed4b3d14ab2d5728ae4ca43bd444668f8b3633f7d2e11f4b1ec20aa309e8f0f70b500752e9f7dfeafd2999244fb58
|
||||
|
@ -0,0 +1,128 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=flit
|
||||
PYTHON_COMPAT=( python3_{8..11} pypy3 )
|
||||
PYTHON_REQ_USE="threads(+)"
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Python documentation generator"
|
||||
HOMEPAGE="
|
||||
https://www.sphinx-doc.org/
|
||||
https://github.com/sphinx-doc/sphinx/
|
||||
https://pypi.org/project/Sphinx/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/sphinx-doc/sphinx/archive/v${PV}.tar.gz
|
||||
-> ${P}.gh.tar.gz
|
||||
"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
|
||||
IUSE="doc latex"
|
||||
|
||||
RDEPEND="
|
||||
<dev-python/alabaster-0.8[${PYTHON_USEDEP}]
|
||||
>=dev-python/Babel-2.9[${PYTHON_USEDEP}]
|
||||
<dev-python/docutils-0.20[${PYTHON_USEDEP}]
|
||||
>=dev-python/docutils-0.18[${PYTHON_USEDEP}]
|
||||
>=dev-python/imagesize-1.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/jinja-3.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/pygments-2.13[${PYTHON_USEDEP}]
|
||||
>=dev-python/requests-2.25.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/snowballstemmer-2.0[${PYTHON_USEDEP}]
|
||||
dev-python/sphinxcontrib-applehelp[${PYTHON_USEDEP}]
|
||||
dev-python/sphinxcontrib-devhelp[${PYTHON_USEDEP}]
|
||||
dev-python/sphinxcontrib-jsmath[${PYTHON_USEDEP}]
|
||||
>=dev-python/sphinxcontrib-htmlhelp-2.0.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/sphinxcontrib-serializinghtml-1.1.5[${PYTHON_USEDEP}]
|
||||
dev-python/sphinxcontrib-qthelp[${PYTHON_USEDEP}]
|
||||
>=dev-python/packaging-21.0[${PYTHON_USEDEP}]
|
||||
$(python_gen_cond_dep '
|
||||
>=dev-python/importlib_metadata-4.8[${PYTHON_USEDEP}]
|
||||
' 3.8 3.9)
|
||||
latex? (
|
||||
dev-texlive/texlive-latexextra
|
||||
dev-texlive/texlive-luatex
|
||||
app-text/dvipng
|
||||
)
|
||||
!dev-python/namespace-sphinxcontrib
|
||||
"
|
||||
BDEPEND="
|
||||
doc? (
|
||||
dev-python/sphinxcontrib-websupport[${PYTHON_USEDEP}]
|
||||
media-gfx/graphviz
|
||||
)
|
||||
test? (
|
||||
app-text/dvipng
|
||||
dev-python/cython[${PYTHON_USEDEP}]
|
||||
dev-python/html5lib[${PYTHON_USEDEP}]
|
||||
dev-texlive/texlive-fontsextra
|
||||
dev-texlive/texlive-latexextra
|
||||
dev-texlive/texlive-luatex
|
||||
virtual/imagemagick-tools[jpeg,png,svg]
|
||||
)
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/sphinx-3.2.1-doc-link.patch"
|
||||
"${FILESDIR}/sphinx-4.3.2-doc-link.patch"
|
||||
)
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
python_prepare_all() {
|
||||
# disable internet access
|
||||
sed -i -e 's:^intersphinx_mapping:disabled_&:' \
|
||||
doc/conf.py || die
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_compile_all() {
|
||||
# we can't use distutils_enable_sphinx because it would
|
||||
# introduce a dep on itself
|
||||
use doc && build_sphinx doc
|
||||
}
|
||||
|
||||
python_test() {
|
||||
mkdir -p "${BUILD_DIR}/sphinx_tempdir" || die
|
||||
local -x SPHINX_TEST_TEMPDIR="${BUILD_DIR}/sphinx_tempdir"
|
||||
|
||||
local EPYTEST_DESELECT=(
|
||||
# these tests require Internet access
|
||||
tests/test_build_latex.py::test_latex_images
|
||||
tests/test_build_linkcheck.py::test_defaults
|
||||
tests/test_build_linkcheck.py::test_defaults_json
|
||||
tests/test_build_linkcheck.py::test_anchors_ignored
|
||||
# TODO
|
||||
tests/test_ext_autodoc_autoclass.py::test_classes
|
||||
tests/test_ext_autodoc_autofunction.py::test_classes
|
||||
tests/test_ext_inheritance_diagram.py::test_import_classes
|
||||
# looks like a bug in lualatex
|
||||
"tests/test_build_latex.py::test_build_latex_doc[lualatex-howto]"
|
||||
"tests/test_build_latex.py::test_build_latex_doc[lualatex-manual]"
|
||||
)
|
||||
[[ ${EPYTHON} == pypy3 ]] && EPYTEST_DESELECT+=(
|
||||
tests/test_ext_autodoc.py::test_autodoc_inherited_members_None
|
||||
tests/test_ext_autodoc.py::test_automethod_for_builtin
|
||||
tests/test_ext_autodoc.py::test_cython
|
||||
tests/test_ext_autodoc.py::test_partialfunction
|
||||
tests/test_ext_autodoc_autoclass.py::test_autodoc_process_bases
|
||||
tests/test_ext_autodoc_autoclass.py::test_show_inheritance_for_decendants_of_generic_type
|
||||
tests/test_ext_autodoc_autoclass.py::test_show_inheritance_for_subclass_of_generic_type
|
||||
tests/test_ext_autodoc_autofunction.py::test_builtin_function
|
||||
tests/test_ext_autodoc_autofunction.py::test_methoddescriptor
|
||||
tests/test_ext_autodoc_automodule.py::test_automodule_inherited_members
|
||||
tests/test_ext_autosummary.py::test_autosummary_generate_content_for_module
|
||||
tests/test_ext_autosummary.py::test_autosummary_generate_content_for_module_skipped
|
||||
tests/test_util_inspect.py::test_isattributedescriptor
|
||||
tests/test_util_typing.py::test_stringify_type_hints_pep_585
|
||||
)
|
||||
|
||||
epytest
|
||||
}
|
Binary file not shown.
@ -1,4 +1,6 @@
|
||||
DIST Img-1.4.13-Source.tar.gz 8366556 BLAKE2B 9e9ddeb5681300fdb320a7f428cf1c30bccee51c9b204690c82f37a72283e1f5300227463d878eb9aa3ea92ddab666d1e8aa4e51bf8fbf219058109b8c76432f SHA512 922d22a664a1cab06932361a25d26c23f282037eb342dcc96a60c5a40f40d7e546ce6154d56552a7722c071a004c12a45cc687fc8e139f3edd3a7c7443f3861b
|
||||
DIST Img-1.4.14-Source.tar.gz 9844859 BLAKE2B f373859104c7f1b2d2b5c10adf6b8d3349e22765936916b493589772d2b56e1717cbecf074034989e7e927df16d387ff6533170a1ae9f677ea358a96a86fe67d SHA512 41bfc6909a6836cbdce34f5e5672a02ac67e6d7263a97d48b564994462cc089905a0824444bd849b6d228750bf09f0cf617989dc9008705938a283fa4e5f1b45
|
||||
DIST Img-1.4.9-Source.tar.gz 7702460 BLAKE2B 958956e786cea208f24a30532fa65914439d8289a4fce7dfa149e8202d1abe680bd8cb1cc5d8b3fb3e31d48bf5302db14977997f92ebaa786503138be872fa0b SHA512 c749a567de4eb2b9acc4d84344141ed8ba3703e4e22895d3fe0b292fe10bb0c09920cd765952fa1b95bfe8c0cb5e2955421c29bedaa07b7f3b36e7697a8f36c9
|
||||
DIST tkimg-1.4.12-patchset-1.tar.gz 3494 BLAKE2B 3b172f4a5cae4d9ee0668957a5991317e4ae882f450335412488fd408971717facb0c1e1760dc55c20b14e315246017975699d3c1ff9968c3f8182198d85c62a SHA512 a9b9d9b7d0a1faeb7da02a5c7f2ee363e4cb68914ec5c39867ab6ee35b6df988e36d653536b48512361d3a0130c38683f72bb6a76a251820d8689398de3e73ee
|
||||
DIST tkimg-1.4.14-patchset-1.tar.gz 3256 BLAKE2B 8f182365b70b4d7a3f4d9002618285b11293644755304600d302fbb8cf8945cd4bd4eb45e66ed0aec93d19e42556ef294508587f7d4e66821ad960ea5c26c7b6 SHA512 8c93e2b669b56ce5621a4d6d96e7412f623bd42dd777a99ec74741621a5be84f24f47149efae58baa874f49088b053b8466d16dffd79edf9594195ff41c38c0e
|
||||
DIST tkimg-1.4.7-patchset-1.tar.xz 8208 BLAKE2B c2e6f5d6ef415c897cac33da4a003efec467312e844912e5a519cfb3ddf04ac5cac830eed05418ef74f931df2211c53c40669e53ce3bed219a7c2c714a398de5 SHA512 596c505db7f2ff40c786b83a018eba7f82718d350b6a601f8b93aa64fac238d6b8def603cd719f89fc526e5d2891a94b46de1a2ba628b8ff0ec80979892e28d8
|
||||
|
@ -0,0 +1,96 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit autotools edos2unix prefix toolchain-funcs virtualx
|
||||
|
||||
MYP=Img-${PV}-Source
|
||||
|
||||
DESCRIPTION="Adds a lot of image formats to Tcl/Tk"
|
||||
HOMEPAGE="http://tkimg.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${PN}/$(ver_cut 1-2)/${PN}%20${PV}/${MYP}.tar.gz
|
||||
https://dev.gentoo.org/~tupone/distfiles/${P}-patchset-1.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="doc test static-libs"
|
||||
|
||||
RDEPEND="
|
||||
dev-lang/tk:=
|
||||
dev-tcltk/tcllib
|
||||
media-libs/tiff:=
|
||||
media-libs/libpng:0=
|
||||
sys-libs/zlib:=
|
||||
x11-libs/libX11
|
||||
media-libs/libjpeg-turbo:="
|
||||
DEPEND="${RDEPEND}
|
||||
test? (
|
||||
x11-apps/xhost
|
||||
media-fonts/font-misc-misc
|
||||
media-fonts/font-cursor-misc )"
|
||||
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
S="${WORKDIR}/${MYP}"
|
||||
|
||||
PATCHES=( "${WORKDIR}"/patchset-1 )
|
||||
|
||||
src_prepare() {
|
||||
edos2unix \
|
||||
libjpeg/jpegtclDecls.h \
|
||||
zlib/zlibtclDecls.h \
|
||||
libpng/pngtclDecls.h \
|
||||
libtiff/tifftclDecls.h
|
||||
|
||||
default
|
||||
|
||||
echo "#define TKIMG_VERSION_UUID unknown" > base/tkimgUuid.h || die
|
||||
|
||||
find compat/libtiff/config -name ltmain.sh -delete || die
|
||||
sed -i \
|
||||
-e 's:"--with-CC=$TIFFCC"::' \
|
||||
libtiff/configure.ac || die
|
||||
|
||||
eautoreconf
|
||||
for dir in zlib libpng libtiff libjpeg base bmp gif ico jpeg pcx pixmap png\
|
||||
ppm ps sgi sun tga tiff window xbm xpm dted raw flir ; do
|
||||
(cd ${dir}; AT_NOELIBTOOLIZE=yes eautoreconf)
|
||||
done
|
||||
|
||||
eprefixify */*.h
|
||||
tc-export AR
|
||||
}
|
||||
|
||||
src_test() {
|
||||
virtx default
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local l bl
|
||||
|
||||
emake \
|
||||
DESTDIR="${D}" \
|
||||
INSTALL_ROOT="${D}" \
|
||||
install
|
||||
|
||||
if ! use static-libs; then
|
||||
find "${ED}"/usr/$(get_libdir)/ -type f -name "*\.a" -delete || die
|
||||
fi
|
||||
|
||||
# Make library links
|
||||
for l in "${ED}"/usr/lib*/Img*/*tcl*.so; do
|
||||
bl=$(basename ${l})
|
||||
dosym Img${PV}/${bl} /usr/$(get_libdir)/${bl}
|
||||
done
|
||||
|
||||
dodoc ChangeLog README Reorganization.Notes.txt changes ANNOUNCE
|
||||
|
||||
if use doc; then
|
||||
docompress -x usr/share/doc/${PF}/demo.tcl
|
||||
dodoc demo.tcl
|
||||
docinto html
|
||||
dodoc -r doc/*
|
||||
fi
|
||||
}
|
Binary file not shown.
@ -1,2 +1,3 @@
|
||||
DIST diffoscope-229.tar.gz 3164192 BLAKE2B bee9fa1561ddcfde98cfa44cd6d66a28c636dbc7f3ec1f4895e91dfd3b66c039b68d53be0528b94c112552069886c3c81de4d9b9bc9038d183afdc9fdde6ddb9 SHA512 825c9c33f3088ba082ea3b998594445987558ee62b8b1fbfcded9b72a739faaa73908f8753b8772b3b1a8a43dbcfd52978265a18bdd92605defcd174884ccb23
|
||||
DIST diffoscope-230.tar.gz 3164600 BLAKE2B f5ad44ff36d07fc5724895e661e0946b292146d004e97159fef1cb58ff38669702a3990740e4ea34300a9b48aeb10263aeb6bb332da3ec987c355ed5b910fedd SHA512 e025e5f95ae2fb9de466b886c58a44f64e0f654fb049bf9f035209fe7ca1fd0ccc14a382b17085c13bc9f2be0d368482d57a071a577cb87628ae7eb0060158ad
|
||||
DIST diffoscope-231.tar.gz 3164686 BLAKE2B 5fe1546f63a047def4d1c9acc94360085be87460de1c106381532d937d1ad16be64749b9021caa7980a61a0dfd822ed7163e0f52bb0cab0520962b84bb184650 SHA512 544510de0790fc8f0c62030bc557f923bad6d5c39b7364e9944ebcf9bc5c1ecf2b9ecc91cf9142e54a23b1f004f53e96ed5b6f2f4637fa76cebd2ed7d0e4721d
|
||||
|
@ -0,0 +1,120 @@
|
||||
# Copyright 2022-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{8..11} )
|
||||
PYTHON_REQ_USE="ncurses"
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Will try to get to the bottom of what makes files or directories different"
|
||||
HOMEPAGE="https://diffoscope.org/ https://pypi.org/project/diffoscope/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc64 ~x86"
|
||||
IUSE="acl binutils bzip2 libcaca colord cpio +diff docx dtc e2fsprogs file
|
||||
find gettext gif gpg haskell hdf5 hex imagemagick iso java llvm lzma
|
||||
mono opendocument pascal pdf postscript R rpm sqlite squashfs
|
||||
ssh tar test tcpdump zip zlib zstd"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/python-magic[${PYTHON_USEDEP}]
|
||||
dev-python/libarchive-c[${PYTHON_USEDEP}]
|
||||
dev-python/distro[${PYTHON_USEDEP}]
|
||||
dev-python/tlsh[${PYTHON_USEDEP}]
|
||||
acl? ( sys-apps/acl )
|
||||
binutils? ( sys-devel/binutils )
|
||||
bzip2? ( app-arch/bzip2 )
|
||||
libcaca? ( media-libs/libcaca )
|
||||
colord? ( x11-misc/colord )
|
||||
cpio? ( app-arch/cpio )
|
||||
diff? ( sys-apps/diffutils )
|
||||
docx? ( app-text/docx2txt )
|
||||
dtc? ( sys-apps/dtc )
|
||||
e2fsprogs? ( sys-fs/e2fsprogs )
|
||||
file? ( sys-apps/file )
|
||||
find? ( sys-apps/findutils )
|
||||
gettext? ( sys-devel/gettext )
|
||||
gif? ( media-libs/giflib )
|
||||
gpg? ( app-crypt/gnupg )
|
||||
haskell? ( dev-lang/ghc )
|
||||
hdf5? ( sci-libs/hdf5 )
|
||||
hex? ( app-editors/vim-core )
|
||||
imagemagick? ( media-gfx/imagemagick )
|
||||
iso? ( app-cdr/cdrtools )
|
||||
java? ( virtual/jdk )
|
||||
llvm? ( sys-devel/llvm )
|
||||
lzma? ( app-arch/xz-utils )
|
||||
mono? ( dev-lang/mono )
|
||||
opendocument? ( app-text/odt2txt )
|
||||
pascal? ( dev-lang/fpc )
|
||||
pdf? (
|
||||
app-text/pdftk
|
||||
app-text/poppler
|
||||
dev-python/pypdf[${PYTHON_USEDEP}]
|
||||
)
|
||||
postscript? ( app-text/ghostscript-gpl )
|
||||
R? ( dev-lang/R )
|
||||
rpm? ( app-arch/rpm )
|
||||
sqlite? ( dev-db/sqlite:3 )
|
||||
squashfs? ( sys-fs/squashfs-tools )
|
||||
ssh? ( net-misc/openssh )
|
||||
tar? ( app-arch/tar )
|
||||
tcpdump? ( net-analyzer/tcpdump )
|
||||
zip? ( app-arch/unzip )
|
||||
zlib? ( app-arch/gzip )
|
||||
zstd? ( app-arch/zstd )
|
||||
"
|
||||
# Presence of filemagic's magic.py breaks imports
|
||||
# of dev-python/python-magic: bug #716482
|
||||
RDEPEND+=" !dev-python/filemagic"
|
||||
|
||||
# pull in optional tools for tests:
|
||||
# img2txt: bug #797688
|
||||
# docx2txt: bug #797688
|
||||
BDEPEND="
|
||||
test? (
|
||||
app-text/docx2txt
|
||||
app-text/html2text
|
||||
media-libs/libcaca
|
||||
virtual/imagemagick-tools[jpeg]
|
||||
)
|
||||
"
|
||||
|
||||
EPYTEST_DESELECT=(
|
||||
# Test seems to use different tarball
|
||||
tests/test_presenters.py::test_text_proper_indentation
|
||||
|
||||
# Needs triage
|
||||
tests/comparators/test_binary.py::test_with_compare_details_and_tool_not_found
|
||||
tests/comparators/test_rlib.py::test_item3_deflate_llvm_bitcode
|
||||
tests/comparators/test_gif.py::test_has_visuals
|
||||
|
||||
# img2txt based failures, bug #797688
|
||||
tests/comparators/test_ico_image.py::test_diff
|
||||
tests/comparators/test_ico_image.py::test_diff_meta
|
||||
tests/comparators/test_ico_image.py::test_diff_meta2
|
||||
tests/comparators/test_ico_image.py::test_has_visuals
|
||||
tests/comparators/test_jpeg_image.py::test_diff
|
||||
tests/comparators/test_jpeg_image.py::test_compare_non_existing
|
||||
tests/comparators/test_jpeg_image.py::test_diff_meta
|
||||
tests/comparators/test_jpeg_image.py::test_has_visuals
|
||||
|
||||
# docx2txt based falures, bug #797688
|
||||
tests/comparators/test_docx.py::test_diff
|
||||
|
||||
# Formatting
|
||||
tests/test_source.py::test_code_is_black_clean
|
||||
|
||||
# Fails on ZFS
|
||||
tests/test_main.py::test_non_unicode_filename
|
||||
|
||||
# Fails on (unreleased) LLVM 16 with minor difference
|
||||
tests/comparators/test_macho.py::test_llvm_diff
|
||||
)
|
||||
|
||||
distutils_enable_tests pytest
|
Binary file not shown.
@ -0,0 +1 @@
|
||||
DIST git-repair-1.20220404.tar.gz 107186 BLAKE2B ccfda04c27a3f5b1a276c93647e0f296f07bf71c04803093fb7de1836f1c64539a0687ace0e3d770e035f9b521ed34912e3e6a8ce29b3a1e6b8b4db43ee4ce67 SHA512 5982d0039657a6669c4ddfc9118ad40209d72a5871db6cfd02a262142452b1387c3a23699e41fa9deb0e31c4abaa0c4f973b8ebb740585235617dd2effd2cca2
|
@ -0,0 +1,53 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
# ebuild generated by hackport 0.8.0.0
|
||||
|
||||
CABAL_FEATURES="haddock hoogle profile"
|
||||
inherit haskell-cabal
|
||||
|
||||
DESCRIPTION="A tool to repair damaged git repositories"
|
||||
HOMEPAGE="https://git-repair.branchable.com/"
|
||||
|
||||
LICENSE="AGPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
GHC_BOOTSTRAP_PACKAGES=(
|
||||
async
|
||||
data-default
|
||||
filepath-bytestring
|
||||
hslogger
|
||||
IfElse
|
||||
split
|
||||
time
|
||||
unix-compat
|
||||
)
|
||||
|
||||
RDEPEND="
|
||||
dev-haskell/async:=[profile?]
|
||||
dev-haskell/attoparsec:=[profile?]
|
||||
dev-haskell/data-default:=[profile?]
|
||||
>=dev-haskell/filepath-bytestring-1.4.2.1.4:=[profile?]
|
||||
dev-haskell/hslogger:=[profile?]
|
||||
dev-haskell/ifelse:=[profile?]
|
||||
>=dev-haskell/network-2.6:=[profile?]
|
||||
>=dev-haskell/network-uri-2.6:=[profile?]
|
||||
>=dev-haskell/optparse-applicative-0.14.1:=[profile?]
|
||||
dev-haskell/quickcheck:2=[profile?]
|
||||
dev-haskell/split:=[profile?]
|
||||
>=dev-haskell/unix-compat-0.5:=[profile?]
|
||||
dev-haskell/utf8-string:=[profile?]
|
||||
>=dev-lang/ghc-8.10.1:=[profile?]
|
||||
"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
>=dev-haskell/cabal-3.2.0.0
|
||||
"
|
||||
|
||||
src_install() {
|
||||
haskell-cabal_src_install
|
||||
doman git-repair.1
|
||||
}
|
@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<name>Florian Schmaus</name>
|
||||
<email>flow@gentoo.org</email>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,3 +1,4 @@
|
||||
DIST abcMIDI-2022.09.01.zip 613296 BLAKE2B f91ae072768af52a4709146cefba1cb4af4a10d08ab1bb042d606672d666065a7a639771d7f2bc9b11af7dd898d230b160c19276ededc932b174f1fb717f3cd4 SHA512 45d52ccc90aed618649d18026f2142e0fb4665b97df4cbe20e9cb06ceb08769ab5d00a5bb2e60a9f0de6496cd5d222ea9f865d6c6cffc8efc626b994f8e0ed61
|
||||
DIST abcMIDI-2022.12.09.zip 617080 BLAKE2B 2e74577d4f1b8fb3dfa6dd4de1ca25998b4ecf546101a368d19c84db4f31795699e6a91e591dacef2e4dfbd48eb78d79b745a58fcab9884a68222fe446ddd9b9 SHA512 5eae6a2a9e5331a071627eba3687522f0682b7f7a587a05805fc812181101672ddc6337a3e20ac9d1968aebe3c0834f1d81061544a001cf43247dd903f57388f
|
||||
DIST abcMIDI-2022.12.30.zip 618258 BLAKE2B 390072d591ca1e65c046e7b02414978a00d688bc1ef5fb9601d932fe59b6a939cd24e41406646b434e3bf94a3e184c2689d03f3eb4e6ab0d9087e2714e7d7c12 SHA512 6092f529666407bf3aedd55c8c874b547a920c2f675b9b101d9fb14c514208a2ab963dc0da4b38eb95ff3cb98153f268fdf5a7bda066090d31d3399373f279bf
|
||||
DIST abcMIDI-2023.01.05.zip 619555 BLAKE2B 45b7dd58be44b3e89a7db189693e4010f8104ebe8e5700c68db832ec3d6c1867e0abb642ae3da520bdce4579f8e455985195ed3f1461ee1634a3cdc5fdbcef02 SHA512 0d421a5b403ffff8769f33b3d0910ea90fe990e177be82ed23f35aba8b5a654c1a1bfe2005c56dc58c85076a8fd03477bf477b2ddbc7ba4a4c3a946bb2d065ef
|
||||
|
@ -0,0 +1,35 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit autotools
|
||||
|
||||
MY_P="abcMIDI-${PV}"
|
||||
DESCRIPTION="Programs for processing ABC music notation files"
|
||||
HOMEPAGE="https://ifdo.ca/~seymour/runabc/top.html"
|
||||
SRC_URI="https://ifdo.ca/~seymour/runabc/${MY_P}.zip"
|
||||
S="${WORKDIR}"/${PN}
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="examples"
|
||||
|
||||
BDEPEND="app-arch/unzip"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
sed -i "s:-O2::" configure.ac || die
|
||||
sed -i "s:@datarootdir@/doc/abcmidi:@docdir@:" Makefile.in || die
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
if use examples ; then
|
||||
docinto examples
|
||||
dodoc samples/*.abc
|
||||
fi
|
||||
}
|
Binary file not shown.
@ -1 +1 @@
|
||||
Fri, 06 Jan 2023 07:39:33 +0000
|
||||
Fri, 06 Jan 2023 20:09:31 +0000
|
||||
|
@ -1 +1 @@
|
||||
Fri, 06 Jan 2023 07:39:33 +0000
|
||||
Fri, 06 Jan 2023 20:09:32 +0000
|
||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue