Sync with portage [Wed Oct 14 16:43:02 MSK 2020].
This commit is contained in:
parent
945497ddc1
commit
dd1d4e4f6a
1509 changed files with 15131 additions and 7066 deletions
Binary file not shown.
Binary file not shown.
29
app-admin/ngxtop/ngxtop-0.0.3_pre141201-r1.ebuild
Normal file
29
app-admin/ngxtop/ngxtop-0.0.3_pre141201-r1.ebuild
Normal file
|
@ -0,0 +1,29 @@
|
|||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{6..9} )
|
||||
PYTHON_REQ_USE="sqlite"
|
||||
DISTUTILS_USE_SETUPTOOLS=rdepend
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="real-time metrics for nginx server (and others)"
|
||||
HOMEPAGE="https://github.com/lebinh/ngxtop"
|
||||
#SRC_URI="https://github.com/lebinh/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
SRC_URI="https://dev.gentoo.org/~jlec/distfiles/${P}.tar.xz"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="MIT"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
dev-python/docopt[${PYTHON_USEDEP}]
|
||||
dev-python/pyparsing[${PYTHON_USEDEP}]
|
||||
dev-python/tabulate[${PYTHON_USEDEP}]"
|
||||
DEPEND="${RDEPEND}
|
||||
"
|
||||
|
||||
PATCHES=( "${FILESDIR}"/${PN}-0.0.2-py3.patch )
|
Binary file not shown.
|
@ -3,7 +3,7 @@
|
|||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>ramage.lucas@protonmail.com</email>
|
||||
<description>Lucas Ramage</description>
|
||||
<name>Lucas Ramage</name>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>proxy-maint@gentoo.org</email>
|
||||
|
|
Binary file not shown.
|
@ -1,8 +1,12 @@
|
|||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
LUA_COMPAT=( lua5-2 )
|
||||
|
||||
inherit lua-single
|
||||
|
||||
DESCRIPTION="Tool to read the contents of smartcards"
|
||||
HOMEPAGE="http://pannetrat.com/Cardpeek"
|
||||
SRC_URI="http://downloads.pannetrat.com/install/${P}.tar.gz"
|
||||
|
@ -12,8 +16,10 @@ SLOT="0"
|
|||
KEYWORDS=""
|
||||
IUSE="libressl"
|
||||
|
||||
RDEPEND="sys-apps/pcsc-lite
|
||||
dev-lang/lua:5.2
|
||||
REQUIRED_USE="${LUA_REQUIRED_USE}"
|
||||
|
||||
RDEPEND="${LUA_DEPS}
|
||||
sys-apps/pcsc-lite
|
||||
x11-libs/gtk+:3
|
||||
net-misc/curl
|
||||
!libressl? ( dev-libs/openssl:0= )
|
||||
|
|
1
app-crypt/openpgp-keys-voikko/Manifest
Normal file
1
app-crypt/openpgp-keys-voikko/Manifest
Normal file
|
@ -0,0 +1 @@
|
|||
DIST 4AE3942E.asc.html 5476 BLAKE2B 22b3acf6d4360b1686890596e7c8de2a3a38e739aa0ea4ae7fa7e09295127c7196f5af5750bd30d5260365206e08397e3bda970a4b7cdfb2d0827f80f2810758 SHA512 025bafbfe98e2437a3919f4651e7583a5fccd60ff110904189969ce5fe1770ed4222c60a530065b7720a0e233d1a138b55cd7df4c8f28337b9e953547434429c
|
8
app-crypt/openpgp-keys-voikko/metadata.xml
Normal file
8
app-crypt/openpgp-keys-voikko/metadata.xml
Normal file
|
@ -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">
|
||||
<email>juippis@gentoo.org</email>
|
||||
<name>Joonas Niilola</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
|
@ -0,0 +1,19 @@
|
|||
# Copyright 2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
DESCRIPTION="OpenPGP keys used to sign voikko* packages"
|
||||
HOMEPAGE="https://voikko.puimula.org/"
|
||||
SRC_URI="http://keys.gnupg.net/pks/lookup?op=get&search=0x3D309B604AE3942E -> 4AE3942E.asc.html"
|
||||
|
||||
LICENSE="public-domain"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv s390 sparc x86"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
src_install() {
|
||||
insinto /usr/share/openpgp-keys
|
||||
newins - voikko.asc < <(awk '/-----BEGIN PGP PUBLIC KEY BLOCK-----/,/-----END PGP PUBLIC KEY BLOCK-----/' ${DISTDIR}/4AE3942E.asc.html || die)
|
||||
}
|
Binary file not shown.
|
@ -3,7 +3,7 @@
|
|||
|
||||
EAPI="7"
|
||||
|
||||
PYTHON_COMPAT=( python{3_6,3_7,3_8} )
|
||||
PYTHON_COMPAT=( python3_{6,7,8,9} )
|
||||
PYTHON_REQ_USE="ncurses,readline"
|
||||
|
||||
PLOCALES="bg de_DE fr_FR hu it sv tr zh_CN"
|
||||
|
|
Binary file not shown.
|
@ -26,7 +26,7 @@ fi
|
|||
|
||||
LICENSE="|| ( CDDL LGPL-2.1 )"
|
||||
SLOT="0/3"
|
||||
KEYWORDS="~amd64 ppc ppc64 ~x86"
|
||||
KEYWORDS="amd64 ppc ppc64 x86"
|
||||
IUSE=""
|
||||
|
||||
BDEPEND="dev-lang/perl
|
||||
|
|
Binary file not shown.
26
app-misc/chkcrontab/chkcrontab-1.7-r1.ebuild
Normal file
26
app-misc/chkcrontab/chkcrontab-1.7-r1.ebuild
Normal file
|
@ -0,0 +1,26 @@
|
|||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{6..9} )
|
||||
DISTUTILS_USE_SETUPTOOLS=no
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A tool to detect crontab errors"
|
||||
HOMEPAGE="https://github.com/lyda/chkcrontab"
|
||||
SRC_URI="https://github.com/lyda/chkcrontab/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
distutils_enable_tests setup.py
|
||||
|
||||
python_install_all() {
|
||||
doman doc/${PN}.1
|
||||
distutils-r1_python_install_all
|
||||
}
|
59
app-misc/worker/worker-3.8.3-r100.ebuild
Normal file
59
app-misc/worker/worker-3.8.3-r100.ebuild
Normal file
|
@ -0,0 +1,59 @@
|
|||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
LUA_COMPAT=( lua5-{1..2} )
|
||||
|
||||
inherit lua-single
|
||||
|
||||
DESCRIPTION="Worker Filemanager: Amiga Directory Opus 4 clone"
|
||||
HOMEPAGE="http://www.boomerangsworld.de/cms/worker/"
|
||||
SRC_URI="http://www.boomerangsworld.de/cms/worker/downloads/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86"
|
||||
IUSE="avfs debug dbus examples libnotify lua +magic xinerama xft"
|
||||
|
||||
REQUIRED_USE="lua? ( ${LUA_REQUIRED_USE} )"
|
||||
|
||||
RDEPEND="x11-libs/libX11
|
||||
avfs? ( >=sys-fs/avfs-0.9.5 )
|
||||
dbus? ( dev-libs/dbus-glib )
|
||||
lua? ( ${LUA_DEPS} )
|
||||
magic? ( sys-apps/file )
|
||||
xft? ( x11-libs/libXft )
|
||||
xinerama? ( x11-libs/libXinerama )"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="virtual/pkgconfig"
|
||||
|
||||
DOCS=( AUTHORS ChangeLog INSTALL NEWS README README_LARGEFILES THANKS )
|
||||
|
||||
src_configure() {
|
||||
# there is no ./configure flag to disable libXinerama support
|
||||
export ac_cv_lib_Xinerama_XineramaQueryScreens=$(usex xinerama)
|
||||
econf \
|
||||
--without-hal \
|
||||
--enable-utf8 \
|
||||
$(use_with avfs) \
|
||||
$(use_with dbus) \
|
||||
$(use_enable debug) \
|
||||
$(use_enable libnotify inotify) \
|
||||
$(use_enable lua) \
|
||||
$(use_with magic libmagic) \
|
||||
$(use_enable xft)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake -j1
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
if use examples; then
|
||||
docinto examples
|
||||
dodoc examples/config-*
|
||||
fi
|
||||
}
|
Binary file not shown.
|
@ -1 +1,2 @@
|
|||
DIST libreoffice-voikko-5.0.tar.gz 51882 BLAKE2B c4d33f469821b3d3ee15f71c21a2e3fd5474939dda204873e85d9e52aee0d1cd9c01f660d63fdbef87786dbb0b8a88ba4fd45b8aff07b0b35588c9933d4c9cef SHA512 58f139c190acf5c56a8506365c296d06efd95b4422bb66c50e8058231bd10410b202d2a01ad0a2bf82dc0f41565c1e3a07ed86a4ae070d32af8cfd0e56d7eec0
|
||||
DIST libreoffice-voikko-5.0.tar.gz.asc 819 BLAKE2B 4305cd6cfccce6ee832cbda6c3b10a7676e94fa968c71f1894c178a3715ec00b477e745ef22b284b06190291748ac71dad2b43ea5d15e49833b0dcb53eabb7ca SHA512 7df7317018904700957691785ba80f1fcb390891fdbf6210a8eb06db5ac4ae1721b8175777685d062af08b52168dd94d5bb4b851c9405501781f1b1257a32cc3
|
||||
|
|
|
@ -3,9 +3,12 @@
|
|||
|
||||
EAPI=7
|
||||
|
||||
inherit verify-sig
|
||||
|
||||
DESCRIPTION="Free Finnish spell checking and hyphenation for LibreOffice"
|
||||
HOMEPAGE="https://voikko.puimula.org/"
|
||||
SRC_URI="https://www.puimula.org/voikko-sources/${PN}/${P}.tar.gz"
|
||||
SRC_URI="https://www.puimula.org/voikko-sources/${PN}/${P}.tar.gz
|
||||
verify-sig? ( https://www.puimula.org/voikko-sources/libreoffice-voikko/${P}.tar.gz.asc )"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
|
@ -15,6 +18,9 @@ DEPEND="app-office/libreoffice[odk]
|
|||
dev-libs/voikko-fi"
|
||||
RDEPEND="${DEPEND}
|
||||
dev-libs/libvoikko"
|
||||
BDEPEND="verify-sig? ( app-crypt/openpgp-keys-voikko )"
|
||||
|
||||
VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/voikko.asc
|
||||
|
||||
src_compile() {
|
||||
emake oxt
|
||||
|
|
Binary file not shown.
|
@ -0,0 +1,34 @@
|
|||
From f14b6198d1dd9cb7f4a83f3822e4a1782a5581e8 Mon Sep 17 00:00:00 2001
|
||||
From: Brian Dolbec <dolsen@gentoo.org>
|
||||
Date: Tue, 13 Oct 2020 10:04:07 -0400
|
||||
Subject: [PATCH] metadata.py: Fix duplicated use flag text bug 748129
|
||||
|
||||
Regression from commit: 517581df206766
|
||||
link: https://gitweb.gentoo.org/proj/gentoolkit.git/commit/?id=517581df206766fabf10273cde565e0a6dc62829
|
||||
Gentoo bug: https://bugs.gentoo.org/748129
|
||||
Signed-off-by: Brian Dolbec <dolsen@gentoo.org>
|
||||
---
|
||||
pym/gentoolkit/metadata.py | 7 +++++--
|
||||
1 file changed, 5 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/pym/gentoolkit/metadata.py b/pym/gentoolkit/metadata.py
|
||||
index c3dba98..0b58392 100644
|
||||
--- a/pym/gentoolkit/metadata.py
|
||||
+++ b/pym/gentoolkit/metadata.py
|
||||
@@ -101,8 +101,11 @@ class _Useflag(object):
|
||||
if node.text:
|
||||
_desc = node.text
|
||||
for child in node.iter():
|
||||
- _desc += child.text if child.text else ''
|
||||
- _desc += child.tail if child.tail else ''
|
||||
+ # prevent duplicate text
|
||||
+ if child.text and child.text not in _desc:
|
||||
+ _desc += child.text
|
||||
+ if child.tail and not child.tail in _desc:
|
||||
+ _desc += child.tail
|
||||
# This takes care of tabs and newlines left from the file
|
||||
self.description = re.sub(r'\s+', ' ', _desc)
|
||||
|
||||
--
|
||||
libgit2 1.0.1
|
||||
|
|
@ -27,7 +27,10 @@ RDEPEND="${DEPEND}
|
|||
|
||||
distutils_enable_tests setup.py
|
||||
|
||||
PATCHES=( "${FILESDIR}"/${PN}-0.5.0-python3_9.patch)
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-0.5.0-python3_9.patch
|
||||
"${FILESDIR}"/${PN}-0.5.0-r1-python3_9.patch
|
||||
)
|
||||
|
||||
python_prepare_all() {
|
||||
python_setup
|
Binary file not shown.
|
@ -1,2 +0,0 @@
|
|||
DIST mpv-bash-completion-3.3.16.tar.gz 20125 BLAKE2B 1350445ea05474e553ade334c1f11e97828df11143021920a25787a295d6e870595e35dda6ccd048ed4e01e0e85443a5902893fed1aa1525e875649a93ef632d SHA512 d962cc911d571b0345ddee22ecae6faef307f2da44642d6db5223fb0e51d2b2087b038e1964cf8f1ed683bb95a3268a8ffc1fff2759561100b23921406a0e31f
|
||||
DIST mpv-bash-completion-3.3.17.tar.gz 20873 BLAKE2B 5e44b315a4f148c27768a3b0c29d609b679e3d489dd79803795a75a9289816ed13797cc04c748410ba3302a2619dedad21772f2d914b2c3ff5c73189e4e348df SHA512 a0b1ae4b07bd3e5fc95fea135aa5391d0efb0d2c1e4ccbb712cf0911b9e07b23a7bfb27d43b615988610f545f1bc62226998295573480ab657e3b18966d48991
|
|
@ -1,9 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<!-- maintainer-needed -->
|
||||
<upstream>
|
||||
<changelog>https://github.com/2ion/mpv-bash-completion/releases</changelog>
|
||||
<remote-id type="github">2ion/mpv-bash-completion</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
|
@ -1,51 +0,0 @@
|
|||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit bash-completion-r1
|
||||
|
||||
DESCRIPTION="Bash completion for the mpv video player"
|
||||
HOMEPAGE="https://2ion.github.io/mpv-bash-completion/"
|
||||
SRC_URI="https://github.com/2ion/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="luajit"
|
||||
|
||||
COMMON_DEPEND=">=media-video/mpv-0.25.0[cli]"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
>=app-shells/bash-completion-2.3-r1
|
||||
"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
!luajit? ( dev-lang/lua:* )
|
||||
luajit? ( dev-lang/luajit:2 )
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
default_src_prepare
|
||||
# Avoid 'mpv' make target that supports lua only.
|
||||
sed -i -e 's|check: mpv|check:|' Makefile || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# Prevent access violations from completion generation.
|
||||
# See Gentoo bug 656086.
|
||||
addpredict /dev/dri
|
||||
|
||||
$(usex luajit 'luajit' 'lua') gen.lua > mpv || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobashcomp mpv
|
||||
einstalldocs
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if ! has_version 'x11-apps/xrandr'; then
|
||||
elog
|
||||
elog "If you want completion of window sizes, please install 'x11-apps/xrandr'."
|
||||
elog
|
||||
fi
|
||||
}
|
|
@ -1,51 +0,0 @@
|
|||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit bash-completion-r1
|
||||
|
||||
DESCRIPTION="Bash completion for the mpv video player"
|
||||
HOMEPAGE="https://2ion.github.io/mpv-bash-completion/"
|
||||
SRC_URI="https://github.com/2ion/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE="luajit"
|
||||
|
||||
COMMON_DEPEND=">=media-video/mpv-0.25.0[cli]"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
>=app-shells/bash-completion-2.3-r1
|
||||
"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
!luajit? ( dev-lang/lua:* )
|
||||
luajit? ( dev-lang/luajit:2 )
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
default_src_prepare
|
||||
# Avoid 'mpv' make target that supports lua only.
|
||||
sed -i -e 's|check: mpv|check:|' Makefile || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# Prevent access violations from completion generation.
|
||||
# See Gentoo bug 656086.
|
||||
addpredict /dev/dri
|
||||
|
||||
$(usex luajit 'luajit' 'lua') gen.lua > mpv || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobashcomp mpv
|
||||
einstalldocs
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if ! has_version 'x11-apps/xrandr'; then
|
||||
elog
|
||||
elog "If you want completion of window sizes, please install 'x11-apps/xrandr'."
|
||||
elog
|
||||
fi
|
||||
}
|
Binary file not shown.
|
@ -1,3 +1,3 @@
|
|||
DIST dos2unix-7.3.5.tar.gz 662133 BLAKE2B e24f77d92fe0c5931f9ca762b79a1713b14cc39b7566f78d55c4fd58bb7d3c0de1f2a8add8ffd6c3fa26a6bae73c412572fc71701e26b7b52f15b51b0de0d294 SHA512 beafefa715d894ec51bd808b18485bcf413f93b888203486e659f7e30b922b32b2f1da2305ef9ae85e54085ba3819bd512957bb872b529fe4728000cec7d3e58
|
||||
DIST dos2unix-7.4.1.tar.gz 711570 BLAKE2B 3dbe33007aa3e2ef47ec3dc0c3165987986955fffd7ae1435725014d52ba716626e7891911afe11674beec11fa62a12983c8dfc28cff682ca0c3e798449a9b0f SHA512 81e7cff82d95b298fb218b073f54d17fa851a7507fbd54b3cd9af7c1efa6a7bd3cf59f7a84ffbaf395403bf458650763e1755944451b24f708878a9c62316dc4
|
||||
DIST dos2unix-7.4.2-beta1.tar.gz 712261 BLAKE2B 020b51a53b3b8ac601efd0f3fa424fbe5a42ca5b06e1f7282c2aca021e22b38aac21e4aa7b42ed428c95053d57bb5c35483881b06dc580b533eac2fe716142a2 SHA512 323c0dd90616bca1891f8228d43bca1c6415b5765f5fba4ccf5ce692da9b545c8f10f908ba5ebd65c3409fb4d9fdaaa2fb36d589faa8b5940d27ecf8f72bc422
|
||||
DIST dos2unix-7.4.2.tar.gz 727429 BLAKE2B 5ba8aecfe3a79dfe9f4d7d69453fdcdd573c8889b41240c6bce5fea1b7e9e8213454af98f768cb2d199c85684a7d48192ba4bf856a92b867594b52a2209d5e04 SHA512 3fb77561596bafd83f3f7807ce967e58d5a96e5235afe3a4074ae7112297445690b2586bf652eb0b5bd1984fd41a79478355f6df8244561b4167a8a09593110d
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
EAPI=7
|
||||
|
||||
PLOCALES="da de eo es fr hu ja nb nl pl pt_BR ru sr sv uk vi zh_CN zh_TW"
|
||||
PLOCALES="da de eo es fr fur hu ja nb nl pl pt_BR ru sr sv uk vi zh_CN zh_TW"
|
||||
|
||||
inherit l10n toolchain-funcs
|
||||
|
|
@ -1,2 +1,3 @@
|
|||
DIST mupdf-1.16.1-source.tar.xz 45800404 BLAKE2B bc4158a457056c55db52a518efc13c289cca537c29a6b563046297dc225f3ce0add781adb8520c4d0829d653ed0539042597e341cb21c4fb4c462ed422bf735b SHA512 fa657e6b9251aff91c25e91b335ea829b797dd91a759505bfd7259f8236613f590a044bc741e9b0587da55817a1ab8c1499c067d65d683d099259d06d91a8f50
|
||||
DIST mupdf-1.17.0-source.tar.xz 48559964 BLAKE2B f46b09a6d288054da79bea356df4d7d98fe2759cf82bea1f0df2e961b94acebbab58826f7a731c4c68e8b086fd9367fddcabea6c7d2838f25ed84ddc1a0c2bd9 SHA512 39188e6ce3eaefb525b2c32767c4bf52ed881b41889edef086aa64bfe1c38e6f3cb853450c8284d175ef8854f32e9bc67415a692048ead26cf31c35645f9e0e5
|
||||
DIST mupdf-1.18.0-source.tar.xz 53621544 BLAKE2B d0057f4240bd4f6b4b6d9381ae1c3871c56b97604d5c6ea6438a8bde72d4696c10a9f0e8e2ed8f43d63a04bb1d973bade8a708327c00b0d0c6802b28af697a55 SHA512 7551f18b9bac6e2dc1cf073741cbc975ce3a16dc7e37c9d5a58254c67bf2c07bb36185d6585e435d4126f3ae351f67d7432d19a986c9b47b15105ca43db0edb8
|
||||
|
|
42
app-text/mupdf/files/mupdf-1.18-Makefile.patch
Normal file
42
app-text/mupdf/files/mupdf-1.18-Makefile.patch
Normal file
|
@ -0,0 +1,42 @@
|
|||
diff --git a/Makefile b/Makefile
|
||||
index b0fb617..528e117 100644
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -3,7 +3,7 @@
|
||||
-include user.make
|
||||
|
||||
ifndef build
|
||||
- build := release
|
||||
+ build := debug
|
||||
endif
|
||||
|
||||
ifndef OUT
|
||||
@@ -214,13 +214,15 @@ MUPDF_LIB = $(OUT)/libmupdf.$(SO)
|
||||
|
||||
$(MUPDF_LIB) : $(MUPDF_OBJ) $(THIRD_OBJ) $(THREAD_OBJ) $(PKCS7_OBJ)
|
||||
else
|
||||
-MUPDF_LIB = $(OUT)/libmupdf.a
|
||||
-THIRD_LIB = $(OUT)/libmupdf-third.a
|
||||
+MUPDF_LIB = libmupdf.so.$(GENTOO_PV)
|
||||
+MUPDF_STATIC = $(OUT)/libmupdf.a
|
||||
+THIRD_LIB =
|
||||
THREAD_LIB = $(OUT)/libmupdf-threads.a
|
||||
PKCS7_LIB = $(OUT)/libmupdf-pkcs7.a
|
||||
|
||||
-$(MUPDF_LIB) : $(MUPDF_OBJ)
|
||||
-$(THIRD_LIB) : $(THIRD_OBJ)
|
||||
+$(MUPDF_LIB) : $(MUPDF_OBJ) $(THIRD_OBJ)
|
||||
+ $(QUIET_LINK) $(CC) $(LDFLAGS) --shared -Wl,-soname -Wl,$(MUPDF_LIB) -o $@ $^ $(THIRD_LIBS) $(LIBS)
|
||||
+$(MUPDF_STATIC): $(MUPDF_OBJ) $(THIRD_OBJ)
|
||||
$(THREAD_LIB) : $(THREAD_OBJ)
|
||||
$(PKCS7_LIB) : $(PKCS7_OBJ)
|
||||
endif
|
||||
@@ -374,7 +376,7 @@ install: libs apps
|
||||
|
||||
install -d $(DESTDIR)$(docdir)
|
||||
install -d $(DESTDIR)$(docdir)/examples
|
||||
- install -m 644 README COPYING CHANGES $(DESTDIR)$(docdir)
|
||||
+ install -m 644 README CHANGES $(DESTDIR)$(docdir)
|
||||
install -m 644 docs/*.html docs/*.css docs/*.png $(DESTDIR)$(docdir)
|
||||
install -m 644 docs/examples/* $(DESTDIR)$(docdir)/examples
|
||||
|
128
app-text/mupdf/files/mupdf-1.18.0-cross-fixes.patch
Normal file
128
app-text/mupdf/files/mupdf-1.18.0-cross-fixes.patch
Normal file
|
@ -0,0 +1,128 @@
|
|||
Refreshed patches based on:
|
||||
https://sources.debian.org/patches/mupdf/1.17.0+ds1-1/0004-MuPDF-crossbuild-use-target-arch-pkg-config.patch/
|
||||
https://sources.debian.org/patches/mupdf/1.17.0+ds1-1/0005-MuPDF-crossbuild-use-host-cc-for-utils.patch/
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -147,6 +147,9 @@ PKCS7_OBJ := $(PKCS7_SRC:%.c=$(OUT)/%.o)
|
||||
|
||||
HEXDUMP_EXE := $(OUT)/scripts/hexdump.exe
|
||||
|
||||
+$(HEXDUMP_EXE): scripts/hexdump.c
|
||||
+ $(QUIET_CC) $(MKTGTDIR) ; $(CC_FOR_BUILD) $(CFLAGS) -o $@ $<
|
||||
+
|
||||
FONT_BIN := $(sort $(wildcard resources/fonts/urw/*.cff))
|
||||
FONT_BIN += $(sort $(wildcard resources/fonts/han/*.ttc))
|
||||
FONT_BIN += $(sort $(wildcard resources/fonts/droid/*.ttf))
|
||||
--- a/Makerules
|
||||
+++ b/Makerules
|
||||
@@ -6,6 +6,9 @@ OS := $(OS:MSYS%=MINGW)
|
||||
OS := $(OS:Windows_NT=MINGW)
|
||||
OS := $(OS:Darwin=MACOS)
|
||||
|
||||
+PKG_CONFIG ?= pkg-config
|
||||
+CC_FOR_BUILD ?= $(CC)
|
||||
+
|
||||
ifeq ($(findstring -fembed-bitcode,$(XCFLAGS)),)
|
||||
# clang does not support these in combination with -fembed-bitcode
|
||||
CFLAGS += -ffunction-sections -fdata-sections
|
||||
@@ -128,51 +128,51 @@ else ifeq ($(OS),MACOS)
|
||||
else ifeq ($(OS),Linux)
|
||||
HAVE_OBJCOPY := yes
|
||||
|
||||
- ifeq ($(shell pkg-config --exists freetype2 && echo yes),yes)
|
||||
- SYS_FREETYPE_CFLAGS := $(shell pkg-config --cflags freetype2)
|
||||
- SYS_FREETYPE_LIBS := $(shell pkg-config --libs freetype2)
|
||||
+ ifeq ($(shell $(PKG_CONFIG) --exists freetype2 && echo yes),yes)
|
||||
+ SYS_FREETYPE_CFLAGS := $(shell $(PKG_CONFIG) --cflags freetype2)
|
||||
+ SYS_FREETYPE_LIBS := $(shell $(PKG_CONFIG) --libs freetype2)
|
||||
endif
|
||||
- ifeq ($(shell pkg-config --exists gumbo && echo yes),yes)
|
||||
- SYS_GUMBO_CFLAGS := $(shell pkg-config --cflags gumbo)
|
||||
- SYS_GUMBO_LIBS := $(shell pkg-config --libs gumbo)
|
||||
+ ifeq ($(shell $(PKG_CONFIG) --exists gumbo && echo yes),yes)
|
||||
+ SYS_GUMBO_CFLAGS := $(shell $(PKG_CONFIG) --cflags gumbo)
|
||||
+ SYS_GUMBO_LIBS := $(shell $(PKG_CONFIG) --libs gumbo)
|
||||
endif
|
||||
- ifeq ($(shell pkg-config --exists harfbuzz && echo yes),yes)
|
||||
- SYS_HARFBUZZ_CFLAGS := $(shell pkg-config --cflags harfbuzz)
|
||||
- SYS_HARFBUZZ_LIBS := $(shell pkg-config --libs harfbuzz)
|
||||
+ ifeq ($(shell $(PKG_CONFIG) --exists harfbuzz && echo yes),yes)
|
||||
+ SYS_HARFBUZZ_CFLAGS := $(shell $(PKG_CONFIG) --cflags harfbuzz)
|
||||
+ SYS_HARFBUZZ_LIBS := $(shell $(PKG_CONFIG) --libs harfbuzz)
|
||||
endif
|
||||
- ifeq ($(shell pkg-config --exists lcms2 && echo yes),yes)
|
||||
- SYS_LCMS2_CFLAGS := $(shell pkg-config --cflags lcms2)
|
||||
- SYS_LCMS2_LIBS := $(shell pkg-config --libs lcms2)
|
||||
+ ifeq ($(shell $(PKG_CONFIG) --exists lcms2 && echo yes),yes)
|
||||
+ SYS_LCMS2_CFLAGS := $(shell $(PKG_CONFIG) --cflags lcms2)
|
||||
+ SYS_LCMS2_LIBS := $(shell $(PKG_CONFIG) --libs lcms2)
|
||||
endif
|
||||
- ifeq ($(shell pkg-config --exists libjpeg && echo yes),yes)
|
||||
- SYS_LIBJPEG_CFLAGS := $(shell pkg-config --cflags libjpeg)
|
||||
- SYS_LIBJPEG_LIBS := $(shell pkg-config --libs libjpeg)
|
||||
+ ifeq ($(shell $(PKG_CONFIG) --exists libjpeg && echo yes),yes)
|
||||
+ SYS_LIBJPEG_CFLAGS := $(shell $(PKG_CONFIG) --cflags libjpeg)
|
||||
+ SYS_LIBJPEG_LIBS := $(shell $(PKG_CONFIG) --libs libjpeg)
|
||||
endif
|
||||
- ifeq ($(shell pkg-config --exists libopenjp2 && echo yes),yes)
|
||||
- SYS_OPENJPEG_CFLAGS := $(shell pkg-config --cflags libopenjp2)
|
||||
- SYS_OPENJPEG_LIBS := $(shell pkg-config --libs libopenjp2)
|
||||
+ ifeq ($(shell $(PKG_CONFIG) --exists libopenjp2 && echo yes),yes)
|
||||
+ SYS_OPENJPEG_CFLAGS := $(shell $(PKG_CONFIG) --cflags libopenjp2)
|
||||
+ SYS_OPENJPEG_LIBS := $(shell $(PKG_CONFIG) --libs libopenjp2)
|
||||
endif
|
||||
- ifeq ($(shell pkg-config --exists zlib && echo yes),yes)
|
||||
- SYS_ZLIB_CFLAGS := $(shell pkg-config --cflags zlib)
|
||||
- SYS_ZLIB_LIBS := $(shell pkg-config --libs zlib)
|
||||
+ ifeq ($(shell $(PKG_CONFIG) --exists zlib && echo yes),yes)
|
||||
+ SYS_ZLIB_CFLAGS := $(shell $(PKG_CONFIG) --cflags zlib)
|
||||
+ SYS_ZLIB_LIBS := $(shell $(PKG_CONFIG) --libs zlib)
|
||||
endif
|
||||
|
||||
- HAVE_LEPTONICA := $(shell pkg-config --exists 'lept >= 1.7.4' && echo yes)
|
||||
+ HAVE_LEPTONICA := $(shell $(PKG_CONFIG) --exists 'lept >= 1.7.4' && echo yes)
|
||||
ifeq ($(HAVE_LEPTONICA),yes)
|
||||
- SYS_LEPTONICA_CFLAGS := $(shell pkg-config --cflags lept)
|
||||
- SYS_LEPTONICA_LIBS := $(shell pkg-config --libs lept)
|
||||
+ SYS_LEPTONICA_CFLAGS := $(shell $(PKG_CONFIG) --cflags lept)
|
||||
+ SYS_LEPTONICA_LIBS := $(shell $(PKG_CONFIG) --libs lept)
|
||||
endif
|
||||
|
||||
- HAVE_TESSERACT := $(shell pkg-config --exists 'tesseract-ocr >= 4.0.0' && echo yes)
|
||||
+ HAVE_TESSERACT := $(shell $(PKG_CONFIG) --exists 'tesseract-ocr >= 4.0.0' && echo yes)
|
||||
ifeq ($(HAVE_TESSERACT),yes)
|
||||
- SYS_TESSERACT_CFLAGS := $(shell pkg-config --cflags tesseract)
|
||||
- SYS_TESSERACT_LIBS := $(shell pkg-config --libs tesseract)
|
||||
+ SYS_TESSERACT_CFLAGS := $(shell $(PKG_CONFIG) --cflags tesseract)
|
||||
+ SYS_TESSERACT_LIBS := $(shell $(PKG_CONFIG) --libs tesseract)
|
||||
endif
|
||||
|
||||
- HAVE_SYS_CURL := $(shell pkg-config --exists libcurl && echo yes)
|
||||
+ HAVE_SYS_CURL := $(shell $(PKG_CONFIG) --exists libcurl && echo yes)
|
||||
ifeq ($(HAVE_SYS_CURL),yes)
|
||||
- SYS_CURL_CFLAGS := $(shell pkg-config --cflags libcurl)
|
||||
- SYS_CURL_LIBS := $(shell pkg-config --libs libcurl)
|
||||
+ SYS_CURL_CFLAGS := $(shell $(PKG_CONFIG) --cflags libcurl)
|
||||
+ SYS_CURL_LIBS := $(shell $(PKG_CONFIG) --libs libcurl)
|
||||
endif
|
||||
|
||||
HAVE_GLUT := yes
|
||||
@@ -183,14 +183,14 @@ else ifeq ($(OS),Linux)
|
||||
|
||||
HAVE_X11 := not-unless-portage-tells-me
|
||||
ifeq ($(HAVE_X11),yes)
|
||||
- X11_CFLAGS := $(shell pkg-config --cflags x11 xext)
|
||||
- X11_LIBS := $(shell pkg-config --libs x11 xext)
|
||||
+ X11_CFLAGS := $(shell $(PKG_CONFIG) --cflags x11 xext)
|
||||
+ X11_LIBS := $(shell $(PKG_CONFIG) --libs x11 xext)
|
||||
endif
|
||||
|
||||
HAVE_LIBCRYPTO := not-unless-portage-tells-me
|
||||
ifeq ($(HAVE_LIBCRYPTO),yes)
|
||||
- LIBCRYPTO_CFLAGS := $(shell pkg-config --cflags libcrypto) -DHAVE_LIBCRYPTO
|
||||
- LIBCRYPTO_LIBS := $(shell pkg-config --libs libcrypto)
|
||||
+ LIBCRYPTO_CFLAGS := $(shell $(PKG_CONFIG) --cflags libcrypto) -DHAVE_LIBCRYPTO
|
||||
+ LIBCRYPTO_LIBS := $(shell $(PKG_CONFIG) --libs libcrypto)
|
||||
endif
|
||||
|
||||
HAVE_PTHREAD := yes
|
102
app-text/mupdf/files/mupdf-1.18.0-fix-oob-in-pdf-layer.c
Normal file
102
app-text/mupdf/files/mupdf-1.18.0-fix-oob-in-pdf-layer.c
Normal file
|
@ -0,0 +1,102 @@
|
|||
From b82e9b6d6b46877e5c3763cc3bc641c66fa7eb54 Mon Sep 17 00:00:00 2001
|
||||
From: Robin Watts <Robin.Watts@artifex.com>
|
||||
Date: Thu, 8 Oct 2020 16:15:40 +0100
|
||||
Subject: [PATCH] Bug 701297: Harden populate_ui against unexpected repairs.
|
||||
|
||||
We count the number of layers, and allocate space for them in
|
||||
an array. We then walk the tree reading details of those layers
|
||||
in. If we hit a problem that causes a repair while reading the
|
||||
information, the number of layers can magically increase. In
|
||||
the existing code we run off the end of the array.
|
||||
|
||||
In the new code we watch for hitting the end of the array and
|
||||
realloc as required.
|
||||
---
|
||||
source/pdf/pdf-layer.c | 32 +++++++++++++++++++++++++-------
|
||||
1 file changed, 25 insertions(+), 7 deletions(-)
|
||||
|
||||
diff --git a/source/pdf/pdf-layer.c b/source/pdf/pdf-layer.c
|
||||
index 177f0c947..b8e9d7cad 100644
|
||||
--- a/source/pdf/pdf-layer.c
|
||||
+++ b/source/pdf/pdf-layer.c
|
||||
@@ -104,10 +104,27 @@ count_entries(fz_context *ctx, pdf_obj *obj)
|
||||
}
|
||||
|
||||
static pdf_ocg_ui *
|
||||
-populate_ui(fz_context *ctx, pdf_ocg_descriptor *desc, pdf_ocg_ui *ui, pdf_obj *order, int depth, pdf_obj *rbgroups, pdf_obj *locked)
|
||||
+get_ocg_ui(fz_context *ctx, pdf_ocg_descriptor *desc, int fill)
|
||||
+{
|
||||
+ if (fill == desc->num_ui_entries)
|
||||
+ {
|
||||
+ /* Number of layers changed while parsing;
|
||||
+ * probably due to a repair. */
|
||||
+ int newsize = desc->num_ui_entries * 2;
|
||||
+ if (newsize == 0)
|
||||
+ newsize = 4; /* Arbitrary non-zero */
|
||||
+ desc->ui = fz_realloc_array(ctx, desc->ui, newsize, pdf_ocg_ui);
|
||||
+ desc->num_ui_entries = newsize;
|
||||
+ }
|
||||
+ return &desc->ui[fill];
|
||||
+}
|
||||
+
|
||||
+static int
|
||||
+populate_ui(fz_context *ctx, pdf_ocg_descriptor *desc, int fill, pdf_obj *order, int depth, pdf_obj *rbgroups, pdf_obj *locked)
|
||||
{
|
||||
int len = pdf_array_len(ctx, order);
|
||||
int i, j;
|
||||
+ pdf_ocg_ui *ui;
|
||||
|
||||
for (i = 0; i < len; i++)
|
||||
{
|
||||
@@ -118,7 +135,7 @@ populate_ui(fz_context *ctx, pdf_ocg_descriptor *desc, pdf_ocg_ui *ui, pdf_obj *
|
||||
continue;
|
||||
|
||||
fz_try(ctx)
|
||||
- ui = populate_ui(ctx, desc, ui, o, depth+1, rbgroups, locked);
|
||||
+ fill = populate_ui(ctx, desc, fill, o, depth+1, rbgroups, locked);
|
||||
fz_always(ctx)
|
||||
pdf_unmark_obj(ctx, o);
|
||||
fz_catch(ctx)
|
||||
@@ -126,14 +143,14 @@ populate_ui(fz_context *ctx, pdf_ocg_descriptor *desc, pdf_ocg_ui *ui, pdf_obj *
|
||||
|
||||
continue;
|
||||
}
|
||||
- ui->depth = depth;
|
||||
if (pdf_is_string(ctx, o))
|
||||
{
|
||||
+ ui = get_ocg_ui(ctx, desc, fill++);
|
||||
+ ui->depth = depth;
|
||||
ui->ocg = -1;
|
||||
ui->name = pdf_to_str_buf(ctx, o);
|
||||
ui->button_flags = PDF_LAYER_UI_LABEL;
|
||||
ui->locked = 1;
|
||||
- ui++;
|
||||
continue;
|
||||
}
|
||||
|
||||
@@ -144,13 +161,14 @@ populate_ui(fz_context *ctx, pdf_ocg_descriptor *desc, pdf_ocg_ui *ui, pdf_obj *
|
||||
}
|
||||
if (j == desc->len)
|
||||
continue; /* OCG not found in main list! Just ignore it */
|
||||
+ ui = get_ocg_ui(ctx, desc, fill++);
|
||||
+ ui->depth = depth;
|
||||
ui->ocg = j;
|
||||
ui->name = pdf_dict_get_string(ctx, o, PDF_NAME(Name), NULL);
|
||||
ui->button_flags = pdf_array_contains(ctx, o, rbgroups) ? PDF_LAYER_UI_RADIOBOX : PDF_LAYER_UI_CHECKBOX;
|
||||
ui->locked = pdf_array_contains(ctx, o, locked);
|
||||
- ui++;
|
||||
}
|
||||
- return ui;
|
||||
+ return fill;
|
||||
}
|
||||
|
||||
static void
|
||||
@@ -188,7 +206,7 @@ load_ui(fz_context *ctx, pdf_ocg_descriptor *desc, pdf_obj *ocprops, pdf_obj *oc
|
||||
desc->ui = Memento_label(fz_calloc(ctx, count, sizeof(pdf_ocg_ui)), "pdf_ocg_ui");
|
||||
fz_try(ctx)
|
||||
{
|
||||
- (void)populate_ui(ctx, desc, desc->ui, order, 0, rbgroups, locked);
|
||||
+ desc->num_ui_entries = populate_ui(ctx, desc, 0, order, 0, rbgroups, locked);
|
||||
}
|
||||
fz_catch(ctx)
|
||||
{
|
41
app-text/mupdf/files/mupdf-1.18.0-fix-oob-in-pixmap.c
Normal file
41
app-text/mupdf/files/mupdf-1.18.0-fix-oob-in-pixmap.c
Normal file
|
@ -0,0 +1,41 @@
|
|||
From 32e4e8b4bcbacbf92af7c88337efae21986d9603 Mon Sep 17 00:00:00 2001
|
||||
From: Robin Watts <Robin.Watts@artifex.com>
|
||||
Date: Thu, 8 Oct 2020 18:10:28 +0100
|
||||
Subject: [PATCH] Bug 702958: Fix overflow in fz_clear_pixmap_with_value.
|
||||
|
||||
---
|
||||
source/fitz/pixmap.c | 7 ++++---
|
||||
1 file changed, 4 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git a/source/fitz/pixmap.c b/source/fitz/pixmap.c
|
||||
index 66873d214..80d8bb62f 100644
|
||||
--- a/source/fitz/pixmap.c
|
||||
+++ b/source/fitz/pixmap.c
|
||||
@@ -555,7 +555,8 @@ void
|
||||
fz_clear_pixmap_with_value(fz_context *ctx, fz_pixmap *pix, int value)
|
||||
{
|
||||
unsigned char *s;
|
||||
- int w, h, n, stride, len;
|
||||
+ int w, h, n;
|
||||
+ ptrdiff_t stride, len;
|
||||
int alpha = pix->alpha;
|
||||
|
||||
w = pix->w;
|
||||
@@ -572,7 +573,7 @@ fz_clear_pixmap_with_value(fz_context *ctx, fz_pixmap *pix, int value)
|
||||
|
||||
n = pix->n;
|
||||
stride = pix->stride;
|
||||
- len = w * n;
|
||||
+ len = (ptrdiff_t)w * n;
|
||||
|
||||
s = pix->samples;
|
||||
if (value == 255 || !alpha)
|
||||
@@ -584,7 +585,7 @@ fz_clear_pixmap_with_value(fz_context *ctx, fz_pixmap *pix, int value)
|
||||
}
|
||||
while (h--)
|
||||
{
|
||||
- memset(s, value, (unsigned int)len);
|
||||
+ memset(s, value, len);
|
||||
s += stride;
|
||||
}
|
||||
}
|
|
@ -5,7 +5,7 @@ EAPI=7
|
|||
|
||||
inherit flag-o-matic toolchain-funcs xdg desktop
|
||||
|
||||
DESCRIPTION="a lightweight PDF viewer and toolkit written in portable C"
|
||||
DESCRIPTION="A lightweight PDF viewer and toolkit written in portable C"
|
||||
HOMEPAGE="https://mupdf.com/"
|
||||
SRC_URI="https://mupdf.com/downloads/archive/${P}-source.tar.xz"
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@ EAPI=7
|
|||
|
||||
inherit desktop flag-o-matic toolchain-funcs xdg
|
||||
|
||||
DESCRIPTION="a lightweight PDF viewer and toolkit written in portable C"
|
||||
DESCRIPTION="A lightweight PDF viewer and toolkit written in portable C"
|
||||
HOMEPAGE="https://mupdf.com/"
|
||||
SRC_URI="https://mupdf.com/downloads/archive/${P}-source.tar.xz"
|
||||
S="${WORKDIR}/${P}-source"
|
||||
|
|
153
app-text/mupdf/mupdf-1.18.0.ebuild
Normal file
153
app-text/mupdf/mupdf-1.18.0.ebuild
Normal file
|
@ -0,0 +1,153 @@
|
|||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit desktop flag-o-matic toolchain-funcs xdg
|
||||
|
||||
DESCRIPTION="A lightweight PDF viewer and toolkit written in portable C"
|
||||
HOMEPAGE="https://mupdf.com/"
|
||||
SRC_URI="https://mupdf.com/downloads/archive/${P}-source.tar.xz"
|
||||
S="${WORKDIR}/${P}-source"
|
||||
|
||||
LICENSE="AGPL-3"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="X +javascript libressl opengl ssl static-libs"
|
||||
|
||||
# Although we use the bundled, patched version of freeglut in mupdf (because of
|
||||
# bug #653298), the best way to ensure that its dependencies are present is to
|
||||
# install system's freeglut.
|
||||
BDEPEND="virtual/pkgconfig"
|
||||
RDEPEND="
|
||||
>=dev-lang/mujs-1.0.7:=[static-libs?]
|
||||
dev-libs/gumbo
|
||||
media-libs/freetype:2=[static-libs?]
|
||||
media-libs/harfbuzz:=[static-libs?,truetype]
|
||||
media-libs/jbig2dec:=[static-libs?]
|
||||
media-libs/libpng:0=[static-libs?]
|
||||
>=media-libs/openjpeg-2.1:2=[static-libs?]
|
||||
virtual/jpeg[static-libs?]
|
||||
opengl? ( >=media-libs/freeglut-3.0.0:= )
|
||||
ssl? (
|
||||
libressl? ( >=dev-libs/libressl-3.2.0:0=[static-libs?] )
|
||||
!libressl? ( >=dev-libs/openssl-1.1:0=[static-libs?] )
|
||||
)
|
||||
X? (
|
||||
x11-libs/libX11[static-libs?]
|
||||
x11-libs/libXext[static-libs?]
|
||||
)"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
REQUIRED_USE="opengl? ( !static-libs )"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-1.15-CFLAGS.patch
|
||||
"${FILESDIR}"/${PN}-1.18-Makefile.patch
|
||||
"${FILESDIR}"/${PN}-1.10a-add-desktop-pc-xpm-files.patch
|
||||
# See bugs #662352
|
||||
"${FILESDIR}"/${PN}-1.15-openssl-x11.patch
|
||||
# General cross fixes from Debian (refreshed)
|
||||
"${FILESDIR}"/${PN}-1.18.0-cross-fixes.patch
|
||||
# Additional security patches post-1.18.0
|
||||
"${FILESDIR}"/${P}-fix-oob-in-pdf-layer.c
|
||||
"${FILESDIR}"/${P}-fix-oob-in-pixmap.c
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
xdg_src_prepare
|
||||
|
||||
use hppa && append-cflags -ffunction-sections
|
||||
|
||||
use javascript || \
|
||||
sed -e '/* #define FZ_ENABLE_JS/ a\#define FZ_ENABLE_JS 0' \
|
||||
-i include/mupdf/fitz/config.h || die
|
||||
|
||||
sed -e "1iOS = Linux" \
|
||||
-e "1iCC = $(tc-getCC)" \
|
||||
-e "1iLD = $(tc-getLD)" \
|
||||
-e "1iAR = $(tc-getAR)" \
|
||||
-e "1iverbose = yes" \
|
||||
-e "1ibuild = debug" \
|
||||
-e "1iprefix = ${ED}/usr" \
|
||||
-e "1ilibdir = ${ED}/usr/$(get_libdir)" \
|
||||
-e "1idocdir = ${ED}/usr/share/doc/${PF}" \
|
||||
-i Makerules || die
|
||||
}
|
||||
|
||||
_emake() {
|
||||
# When HAVE_OBJCOPY is yes, we end up with a lot of QA warnings.
|
||||
|
||||
# Bundled libs
|
||||
# * General
|
||||
# Note that USE_SYSTEM_LIBS=yes is a metaoption which will set to upstream's
|
||||
# recommendations. It does not mean "always use system libs".
|
||||
# See [0] below for what it means in a specific version.
|
||||
#
|
||||
# * freeglut
|
||||
# We don't use system's freeglut because upstream has a special modified
|
||||
# version of it that gives mupdf clipboard support. See bug #653298
|
||||
#
|
||||
# * mujs
|
||||
# As of v1.15.0, mupdf started using symbols in mujs that were not part
|
||||
# of any release. We then went back to using the bundled version of it.
|
||||
# But v1.17.0 looks ok, so we'll go unbundled again. Be aware of this risk
|
||||
# when bumping and check!
|
||||
# See bug #685244
|
||||
#
|
||||
# * lmms2
|
||||
# mupdf uses a bundled version of lcms2 [0] because Artifex have forked it [1].
|
||||
# It is therefore not appropriate for us to unbundle it at this time.
|
||||
#
|
||||
# [0] https://git.ghostscript.com/?p=mupdf.git;a=blob;f=Makethird;h=c4c540fa4a075df0db85e6fdaab809099881f35a;hb=HEAD#l9
|
||||
# [1] https://www.ghostscript.com/doc/lcms2mt/doc/WhyThisFork.txt
|
||||
|
||||
emake \
|
||||
GENTOO_PV=${PV} \
|
||||
HAVE_GLUT=$(usex opengl) \
|
||||
HAVE_LIBCRYPTO=$(usex ssl) \
|
||||
HAVE_X11=$(usex X) \
|
||||
USE_SYSTEM_LIBS=yes \
|
||||
USE_SYSTEM_MUJS=yes \
|
||||
USE_SYSTEM_GLUT=no \
|
||||
HAVE_OBJCOPY=no \
|
||||
"$@"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
_emake XCFLAGS="-fpic"
|
||||
|
||||
use static-libs && \
|
||||
_emake build/debug/lib${PN}.a
|
||||
}
|
||||
|
||||
src_install() {
|
||||
if use X || use opengl ; then
|
||||
domenu platform/debian/${PN}.desktop
|
||||
doicon platform/debian/${PN}.xpm
|
||||
else
|
||||
rm docs/man/${PN}.1 || die
|
||||
fi
|
||||
|
||||
_emake install
|
||||
|
||||
dosym libmupdf.so.${PV} /usr/$(get_libdir)/lib${PN}.so
|
||||
|
||||
use static-libs && \
|
||||
dolib.a build/debug/lib${PN}.a
|
||||
if use opengl ; then
|
||||
einfo "mupdf symlink points to mupdf-gl (bug 616654)"
|
||||
dosym ${PN}-gl /usr/bin/${PN}
|
||||
elif use X ; then
|
||||
einfo "mupdf symlink points to mupdf-x11 (bug 616654)"
|
||||
dosym ${PN}-x11 /usr/bin/${PN}
|
||||
fi
|
||||
|
||||
# Respect libdir (bug #734898)
|
||||
sed -i -e "s:/lib:/$(get_libdir):" platform/debian/${PN}.pc || die
|
||||
|
||||
insinto /usr/$(get_libdir)/pkgconfig
|
||||
doins platform/debian/${PN}.pc
|
||||
|
||||
dodoc README CHANGES CONTRIBUTORS
|
||||
}
|
Binary file not shown.
|
@ -1 +1 @@
|
|||
DIST platformio-4.3.4.tar.gz 190096 BLAKE2B 593fb04e78cc04a3fe939de4ea11617ae267dc2427009a168a50d0172774962c34faba5d9fef861980b09172efad8401154dc812040a5867c7c320a0d5728273 SHA512 751a737eeb425238094c00defcd2094b511e2cfb5792a965323b87d46113a94e03e7be35dbe3e5ecde0c096fda5f372c9ab9863b779cb58e0c5abc36885475d6
|
||||
DIST platformio-5.0.1.tar.gz 211141 BLAKE2B f42498d3232ee6954e9d591939235da4dd8e6028ca5bc5c28cd32293825a9bddb31a164beb9227b5f55d2fed43981ae161db1eb404917a12a3114e5868106d27 SHA512 4037f646676bce9807ae522ef70324749d3ccc342a9f06c959c888b40fc5f1658d98a912244ee196c1afcf4a871a8232c35c1744794bc5a8b6e0a82c309606df
|
||||
|
|
|
@ -3,8 +3,9 @@
|
|||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{6,7,8} )
|
||||
PYTHON_COMPAT=( python3_{6,7,8,9} )
|
||||
DISTUTILS_SINGLE_IMPL=1
|
||||
DISTUTILS_USE_SETUPTOOLS=rdepend
|
||||
|
||||
inherit distutils-r1
|
||||
|
Binary file not shown.
|
@ -1,4 +1,2 @@
|
|||
DIST epam-1.0.2.tar.gz 43720 BLAKE2B 39a1056d068bdceb7ff640a498b0766aa59649228b03e03f9385bfc106f45aa210315162d4386907a1e9cbc8f177289adebf72f527a4eaf270cd62413f1daa13 SHA512 a3fdb379d8c25e56e51dcf1e683d289e9f3d19a537b1a55ca4c09185eb5731fe073a5bf0dd1449f09f8ee5b7d868b0e63f04473c1f3d1b97722dcd9832e4e030
|
||||
DIST epam-1.0.6.tar.gz 47494 BLAKE2B 8120e4f10222468ee2adf2f0ec9cffcaaea8c1fc92faf9889de0f970562631cb54cd9ba34d01994dcf657108c4232158d5617e4b9c884bc84e5eb383028b8e3f SHA512 2c316a46ac734be2c74a86e767b413fa8ff1b296622b85de4828fdd60c84e5b3962f8b76004fcb39ab43a345ec967e3f3db4ac6d0e7335dc982dbcf1edf02c4b
|
||||
DIST epam-1.0.7.tar.gz 47506 BLAKE2B 8ac8026623a653c4d0f897fb08044003c2426ca1309b1e57cbdb6f6ece4662fd15143293e1dae1f806cbc3d6cf028712701e2587750de15f44304ed7e28c17bd SHA512 ddfcb6a0ef955e6ef0fba2c98e25fbc8532c829b80c4150d0545bb9b5114773184af0adba49921cf6e2363a0224dedccd7bf81b5da292dda74f8966a8e73e1b2
|
||||
DIST epam-1.0.8.tar.gz 47334 BLAKE2B be914b0a5e4657e3ddb3e9bcb607448b14451e112c0b929159a962ca8bdc778e6d7d358fb4053b500e71fddc2fbd16ce6d5b543a5f592c9037d71b4ec09aacc7 SHA512 b09624b7d1650ae741bcfcdddceacf5bfd29bb3e00a4044498d6eaec328f8762423f71025fb89a8242c76934c56b8d60f1910fc390766382468f3d844723bef2
|
||||
DIST epam-1.0.9.tar.gz 47548 BLAKE2B b0a8c6e07d788160e153c75e6d8c6535f68279f1f404b25c0fe5ad1559251059a6efd38a9a30c5b180513f69fb22674ba772c29fa598bed5ddc6dcacd9f0f419 SHA512 f537dbfdba09b3f65775e2235e90e2e91951908d95cd10df05581c740d7254cce53a3a2f4131df75f5c6400b3b2cdf6b37651a554076e9cfa66fb3c627d8562c
|
||||
|
|
|
@ -1,33 +0,0 @@
|
|||
# Copyright 1999-2018 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit rebar user
|
||||
|
||||
DESCRIPTION="epam for ejabberd to help with PAM authentication support"
|
||||
HOMEPAGE="https://github.com/processone/epam"
|
||||
SRC_URI="https://github.com/processone/${PN}/archive/${PV}.tar.gz
|
||||
-> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm ~ia64 ppc ppc64 sparc x86"
|
||||
|
||||
DEPEND=">=dev-lang/erlang-17.1
|
||||
sys-libs/pam"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
DOCS=( README.md )
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup "${PN}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
rebar_src_install
|
||||
|
||||
local epam_path="$(get_erl_libs)/${P}/priv/bin/epam"
|
||||
fowners root:"${PN}" "${epam_path}"
|
||||
fperms 4750 "${epam_path}"
|
||||
}
|
|
@ -1,33 +0,0 @@
|
|||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit rebar user
|
||||
|
||||
DESCRIPTION="epam for ejabberd to help with PAM authentication support"
|
||||
HOMEPAGE="https://github.com/processone/epam"
|
||||
SRC_URI="https://github.com/processone/${PN}/archive/${PV}.tar.gz
|
||||
-> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86"
|
||||
|
||||
DEPEND=">=dev-lang/erlang-17.1
|
||||
sys-libs/pam"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
DOCS=( CHANGELOG.md README.md )
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup "${PN}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
rebar_src_install
|
||||
|
||||
local epam_path="$(get_erl_libs)/${P}/priv/bin/epam"
|
||||
fowners root:"${PN}" "${epam_path}"
|
||||
fperms 4750 "${epam_path}"
|
||||
}
|
|
@ -1 +1,2 @@
|
|||
DIST eredis-1.0.8.tar.gz 124993 BLAKE2B d668e9e98657a63db18c67e16293622c631520c138f51f84e9ce0ecdf0d972647863cede6713d1e9882460d0447929732d3925636eb0286d21c1bce3488630f8 SHA512 416bb6197980613c9c6e5739e46aebcc6d2033959672bbde1d349a880b5201e0444ccf09f320978c31199e2df096fab6b7656671c1a091c9448ee72548bc1bfb
|
||||
DIST eredis-1.2.0.tar.gz 28568 BLAKE2B dfd50a2fc6367322677dab02fc1e84dcb1ea1eef622be2c2b3994798a59a0d4c78c58d5852cf9205df9dc5d03d8dac6cab3991f16b601d3227749e1734ac9ffd SHA512 c72ae291389e47d1ac4c1de69dccb6121f4f9195283665d490904226b2ea15cb7671b48bb08db507a5e62c6bced62d890a9ecb9752da6e0aad24a28da137907c
|
||||
|
|
23
dev-erlang/eredis/eredis-1.2.0.ebuild
Normal file
23
dev-erlang/eredis/eredis-1.2.0.ebuild
Normal file
|
@ -0,0 +1,23 @@
|
|||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit rebar
|
||||
|
||||
DESCRIPTION="Erlang Redis client"
|
||||
HOMEPAGE="https://github.com/wooga/eredis"
|
||||
SRC_URI="https://github.com/wooga/${PN}/archive/v${PV}.tar.gz
|
||||
-> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~ia64 ~ppc ~sparc ~x86"
|
||||
|
||||
DEPEND=">=dev-lang/erlang-17.1"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
DOCS=( AUTHORS CHANGELOG.md README.md )
|
||||
|
||||
# Needs running redis instance at 127.0.0.1:6379.
|
||||
RESTRICT=test
|
|
@ -1 +1,2 @@
|
|||
DIST esip-1.0.34.tar.gz 89545 BLAKE2B 7411bbba155706abd9b5e8ad187d7a04cce0eb6a9185c30559b116df56869bc7753272390a8dbe3fe10b155f0f9c35a86c2dbd99ec7cb84556741ddc060b901d SHA512 d324c7b5a12a73516548d4dc735fd7c5f93d466efce409d870b4436ec975d004ab14b2750ef9ba98388819d5842ae0065c804f141a4c3e5e6747154fd8161bff
|
||||
DIST esip-1.0.37.tar.gz 89632 BLAKE2B 6a733b5b09a50e79f9dfdbcb8fe2678fd7698f78559513052faf67e286da664b6f766d12f6dc6244ed922b5257ab2b2bebb593ff7ecee200e5dd6707a34c122a SHA512 8862154b4b43d177acb522107c193d0b19db28cde686538e565102f4303c16cffd3571d37a31edb00fd8ba436f2a847eeabf575fbb22cb7c1287160e266e207f
|
||||
|
|
30
dev-erlang/esip/esip-1.0.37.ebuild
Normal file
30
dev-erlang/esip/esip-1.0.37.ebuild
Normal file
|
@ -0,0 +1,30 @@
|
|||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit rebar
|
||||
|
||||
DESCRIPTION="ProcessOne SIP server component"
|
||||
HOMEPAGE="https://github.com/processone/esip"
|
||||
SRC_URI="https://github.com/processone/${PN}/archive/${PV}.tar.gz
|
||||
-> ${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~ia64 ~ppc ~sparc ~x86"
|
||||
|
||||
DEPEND=">=dev-erlang/fast_tls-1.1.8
|
||||
>=dev-erlang/stun-1.0.37
|
||||
>=dev-erlang/p1_utils-1.0.20"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
DOCS=( CHANGELOG.md README.md )
|
||||
|
||||
src_prepare() {
|
||||
rebar_src_prepare
|
||||
rebar_fix_include_path stun
|
||||
|
||||
# ebin contains lonely .gitignore file asking for removal.
|
||||
rm -r "${S}/ebin" || die
|
||||
}
|
|
@ -1,3 +1,2 @@
|
|||
DIST ezlib-1.0.2.tar.gz 45369 BLAKE2B d2d23cf9fcd530a76ed4a386df15401cd9598e158f20cba3eff19332e25532fdaba8cae93e576f5756559e74f169f6a01f9d09c41e844d3af4a9d9d3cac15185 SHA512 90671fdf0bbc23a7f54da665dfb31a3ed2d92180ff5c58d872001481584e6c8b39cd84b3dc947f1efdae10792c2547218017381cbc7056070d22b140e941c9bb
|
||||
DIST ezlib-1.0.6.tar.gz 49136 BLAKE2B 596e3580a20d7b8174ded16656fd5f15b8558ffe16a1278e76a25dcff935c258b2df37fb5be0c4e78de566823c41c58941fffa95cdae8b02a21bf6ea5d6f5417 SHA512 6f2a459f773eeba9a7d1316a5c38c686b54c5c68bb3d90e38ac4698fb1140c2d1b961e981af5013711fbfd854f3b3f206a828b6eda9071fd437ccdf4871d8e39
|
||||
DIST ezlib-1.0.7.tar.gz 49143 BLAKE2B 51a1bd0972024dd6dc905266c375d7097fd3f9e45d00ca23d16f11d335b3511b29202db2c6a64e4d0727bd0c447205be857bc9291ea5e771e0fe081829bfc25b SHA512 25fdc429c8d1216756b9c048058c711176a3292670dcd9ee156038362b49b7d5f4be325a3f67da5f24e462f188429d2247e42eca12da806748298a9966494382
|
||||
DIST ezlib-1.0.8.tar.gz 49200 BLAKE2B d4147ae45f91619342e82c25efdd29fd25e5528aee52f2a79636c0492cb50a2e49b5c7c6c5737aedba0001df4c0798cf30e8043fa5274b4818c1754f80ae4a20 SHA512 49b2e7d03995d4e43c023b8910e7644f3332e444b194bc7621cc35fd4d41e10692649250875462b1eca9a606312138c6f50812a32c9224f72e70ce4f2a9e6422
|
||||
|
|
|
@ -1,21 +0,0 @@
|
|||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit rebar
|
||||
|
||||
DESCRIPTION="Native zlib driver for Erlang and Elixir"
|
||||
HOMEPAGE="https://github.com/processone/ezlib"
|
||||
SRC_URI="https://github.com/processone/${PN}/archive/${PV}.tar.gz
|
||||
-> ${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm ~ia64 ppc ~sparc x86"
|
||||
|
||||
DEPEND=">=dev-lang/erlang-17.1:=
|
||||
sys-libs/zlib"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
DOCS=( CHANGELOG.md README.md )
|
|
@ -1,4 +1,4 @@
|
|||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
|
@ -1,3 +1,2 @@
|
|||
DIST mqtree-1.0.4.tar.gz 227872 BLAKE2B 756542c77cecd3da12917c43c5c1a36f54af0bc18b66d1571d1a7428378fcd3c643168c182c3215ab5f7890b8292ef89248424567f6aa608c074548b055e0774 SHA512 5033c89bfbaba34a357bfd8d7981c75c362f7e9d039ef6035aad66e3562f848ff047fbbd612b51dfde79a0f7233337afb4a47dac5df369fa1c5e14b5d5b1911f
|
||||
DIST mqtree-1.0.5.tar.gz 227940 BLAKE2B db8edddfb91b52bced394221ed3c3a91cc552f45165f78f1bc0177e80f54a97d9d8843037e59f8c5fdc70bbf04f7016276c3667da4bc54055e9ca2aa9ecbe9df SHA512 c624ffbd97bd0bb0076ca246ad9bcf0a443ea1334dc3b8f553c5559e6ee07d134ea275c3bd121dfddabed5ff9a90ee8dd21d1283663f8e4252fa4eeb105eba62
|
||||
DIST mqtree-1.0.10.tar.gz 228863 BLAKE2B c8a0a611ec125c5e1dbe56677975cdae4da14e2c01ff0a6b6356d85886563c3cc60c7364ad5a3cc584bff9d891a7f4982341a0ce62ae5b9cad4c7bdcc80bbbb2 SHA512 89ab5e9a30028b5539d522d90951a92bbee93e91cac103127323d0d79a11ea13df3210cf61ae6bcb64b4f6d1d557562a03f651754b1f15f8d31f1e8015b31859
|
||||
DIST mqtree-1.0.7.tar.gz 227967 BLAKE2B 72cad70ab53038eed09ba4444f0c21c9767405aac4b573c60a6ae0ef84737c1da248189e4dc5b08f0f197ca0f6cfd66a51bed1867d6cba591a9aec8ce8298501 SHA512 efca5119bfbdaab5637855ff20016061fadeed6b9ebc6b3db03686b37daba1b36b1ddafe805c953eadc77f8cbde3c6c4943d1aa39ae4c9a96eed3f97f64ca37f
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
@ -12,10 +12,10 @@ SRC_URI="https://github.com/processone/${PN}/archive/${PV}.tar.gz
|
|||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
KEYWORDS="~amd64 ~arm ~ia64 ~ppc ~sparc ~x86"
|
||||
|
||||
DEPEND=">=dev-lang/erlang-17.5
|
||||
>=dev-erlang/p1_utils-1.0.16"
|
||||
>=dev-erlang/p1_utils-1.0.20"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
DOCS=( README.md )
|
|
@ -1,21 +0,0 @@
|
|||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit rebar
|
||||
|
||||
DESCRIPTION="Index tree for MQTT topic filters"
|
||||
HOMEPAGE="https://github.com/processone/mqtree"
|
||||
SRC_URI="https://github.com/processone/${PN}/archive/${PV}.tar.gz
|
||||
-> ${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
DEPEND=">=dev-lang/erlang-17.5
|
||||
>=dev-erlang/p1_utils-1.0.16"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
DOCS=( README.md )
|
|
@ -1 +1,2 @@
|
|||
DIST p1_acme-1.0.5.tar.gz 220724 BLAKE2B 7f236f9e66dc982342c15c46ebe2a391f72384710b19e1007d1e9ff679a9701190650853b8e67c3a63abba5e6a4107ed921fdc25f5cce984a4333fab98449f37 SHA512 e21907c18311b98cc865cddd155291fae09f739b5429a42810ba93fae77abe3f4e3ecaf9accf0d42d38e21bb823987dea0c3175ea1b7f20b171afa06a932f9e1
|
||||
DIST p1_acme-1.0.8.tar.gz 221082 BLAKE2B 1e4b23f638b4f7bb877edf290aa54cdf45733816488ab518acc83bd268c240aa564ba1299674f8f938c059b4f2c0072f95d05b017d79419f3ac55d709eb812fe SHA512 8b2b4c594dc1dcbfcf9bb7a6b98096128791d416092a73109fd74ef7ab715d469c87ac6d66056cc5dcd5692c6e71936dc25afa86445a6ffc8164c5bc4f2b1869
|
||||
|
|
31
dev-erlang/p1_acme/p1_acme-1.0.8.ebuild
Normal file
31
dev-erlang/p1_acme/p1_acme-1.0.8.ebuild
Normal file
|
@ -0,0 +1,31 @@
|
|||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit rebar
|
||||
|
||||
DESCRIPTION="ACME client library for Erlang"
|
||||
HOMEPAGE="https://github.com/processone/p1_acme"
|
||||
SRC_URI="https://github.com/processone/${PN}/archive/${PV}.tar.gz
|
||||
-> ${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~ia64 ~ppc ~sparc ~x86"
|
||||
|
||||
DEPEND=">=dev-lang/erlang-17.1
|
||||
>=dev-erlang/jiffy-1.0.5
|
||||
>=dev-erlang/yconf-1.0.7
|
||||
>=dev-erlang/idna-6.0.0
|
||||
>=dev-erlang/jose-1.9.0
|
||||
>=dev-erlang/base64url-1.0"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
DOCS=( CHANGELOG.md README.md )
|
||||
|
||||
src_prepare() {
|
||||
rebar_src_prepare
|
||||
# otherwise it wants to fetch base64url from git
|
||||
sed -ri 's/\+\+ \[\{base64url.*//' rebar.config.script
|
||||
}
|
|
@ -1,4 +1,2 @@
|
|||
DIST p1_mysql-1.0.11.tar.gz 25958 BLAKE2B 6c94287fc584ed530d70e9609cc565c2c66a2b90b8bb47d85e370353e8e56dd9cb8e902406eaf330692f70c264f44977f22534e6805017a12accdcb5828a45e1 SHA512 2929b1e66aa887258b46f7dcda71f935230b9b7ea9fccf0baff2cda0782a5b7da26b9b396ed2bf3b16f07d397c88f5881ea93913a11e262be802654ac46dd9ed
|
||||
DIST p1_mysql-1.0.14.tar.gz 26922 BLAKE2B 83b22c454a069fc14f7cfb82a7cb42eb4d43d3f560329159ddf503bbfe19a5f44ee7279489c5c0d028b63285c47d62e1416af24f70ad38927125de466c2b9414 SHA512 ab60ab6b43e3cca9e14e28075f1276cff02dc796a3074662c797ac2e46a38afb2726719de64bfd61e9a27b2d31665f33551d0680e137eb6167b9d32c8721e1e5
|
||||
DIST p1_mysql-1.0.15.tar.gz 26943 BLAKE2B 191a7dcfae3b5f9e3f7c317aa10ad818147f0fa81b2ab06263ba45eea9c2771133c2c8b43a707d32ea4faf875d711ec63d14882eb58aed7a4715fd27e42fbdf8 SHA512 ef1d94095ef7dbe0e260a85cd0ec9c9449e199456acd991bfa42434126a2d6d731c6068e613de4cd4a9dbc3b3540f14bf85cce127e324475ea8a72f61657acb6
|
||||
DIST p1_mysql-1.0.2.tar.gz 19512 BLAKE2B 8cf7cded80d6ca1239019f3d1bbb7d4babbe0336a09b6c8ebb55e116eeb592e35a6f332ee6950c78ac6559a3850bdc1dbfa50ded2d30e008deb8e8d50b5c86d2 SHA512 ac0656b3134cfae47161a4643188784cf71e8ea19bbd5856e58d4f1d508a8771534975a631da51e7574e5adb3f64cdd250ab59ab7e9138fd5cb865e80522bd11
|
||||
DIST p1_mysql-1.0.16.tar.gz 26959 BLAKE2B 6c61a7127e35af39106559b9cc31c4774cda3ef66d630173865d52afccf9822db67a3b4753674df3a00644deafa87d1b82525f0ca6377009a22a1cbaced03a69 SHA512 f2b2ad57ce5918df231af2462a83c11babdb9d4b787e59ffee7c9dd48a38439a121ee2631927934bd12a9d98932c4d7a03a9313a58b1715102dc932d26eddb56
|
||||
|
|
|
@ -1,20 +0,0 @@
|
|||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit rebar
|
||||
|
||||
DESCRIPTION="Pure Erlang MySQL driver"
|
||||
HOMEPAGE="https://github.com/processone/p1_mysql"
|
||||
SRC_URI="https://github.com/processone/${PN}/archive/${PV}.tar.gz
|
||||
-> ${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm ~ia64 ppc ~sparc x86"
|
||||
|
||||
DEPEND=">=dev-lang/erlang-17.1"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
DOCS=( CHANGELOG.md README.md )
|
|
@ -1,3 +1,2 @@
|
|||
DIST p1_oauth2-0.6.1.tar.gz 212804 BLAKE2B 571341aaa4d3a4bac6ac2f8f46d2e4b9caf5e00622a392635d79ff11b520a3cab71d360220c99a46035ce851974d975d69a71ac9b1be626c9b126941fc4a73cf SHA512 2509d48775579a26178fb5a082e628a8487c986b1b4d4abe974b653a1e0b7605bed934d59f6d62927582bdb95a53ba454816d326d99a77c5360928c4973ade4a
|
||||
DIST p1_oauth2-0.6.5.tar.gz 213847 BLAKE2B de1b9dc238efacf5682ad12b1b563fc311f1e0515673003286b31f42ebd33fb8dd9e384aed194047cd6ab38d4769ab128e8de5241004ce49f72d56ad9ca22d21 SHA512 5664aba423c85d90321533878b73e58b50d7ef3bc4183c8108c99e075ef4e75041eb28620de4dc14be23dfaac3623a858a9c8e191e54dae62eb9688ea0812312
|
||||
DIST p1_oauth2-0.6.6.tar.gz 213866 BLAKE2B 2b7ff13697658c6ab31a2cab60100758d965ae0f3cbeb878539e42210e54e7cf33a458c645e432790f79ba3fa92ab35a5d6d6136edc14369ac6d8872e16d7f69 SHA512 9680bc96608bc486165d5f77cf6e92e5f9257e0dbea718c739563556c2b485f67152dcd99cbe228addd34b33b2dd6cc9eacc3827f269412f705acd14b2522952
|
||||
DIST p1_oauth2-0.6.7.tar.gz 213885 BLAKE2B 42f363b3afec9368957bd788f43359a40a5929b7efb22078681caa8827fdb315f4b0063c3004b92bd92da2664d37b860d606e8c14124fe3d214fed2219e98117 SHA512 485db5926f11759ee447e40d2d2e3a9c66f949510b40adeb0c90ab9deac500dd01178e9b65cea6044e389af3881ad3a300222bd879b69b3a55d84ba3d718a166
|
||||
|
|
|
@ -1,37 +0,0 @@
|
|||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit rebar
|
||||
|
||||
DESCRIPTION="Erlang OAuth 2.0 implementation"
|
||||
HOMEPAGE="https://github.com/processone/p1_oauth2"
|
||||
SRC_URI="https://github.com/processone/${PN}/archive/${PV}.tar.gz
|
||||
-> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm ~ia64 ppc ~sparc x86"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
CDEPEND=">=dev-lang/erlang-17.1"
|
||||
DEPEND="${CDEPEND}
|
||||
test? (
|
||||
>=dev-erlang/meck-0.8.3
|
||||
>=dev-erlang/proper-1.1_p20150814
|
||||
)"
|
||||
RDEPEND="${CDEPEND}"
|
||||
|
||||
DOCS=( CHANGELOG.md README.md )
|
||||
|
||||
src_prepare() {
|
||||
rebar_src_prepare
|
||||
rebar_remove_deps rebar.test.config
|
||||
sed -e '/, warnings_as_errors/d' -i rebar.test.config || die
|
||||
}
|
||||
|
||||
src_test() {
|
||||
erebar -C rebar.test.config compile eunit
|
||||
}
|
|
@ -1,4 +1,4 @@
|
|||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
|
@ -1,4 +1,2 @@
|
|||
DIST p1_pgsql-1.1.2.tar.gz 19347 BLAKE2B fc8d052dd77037b20a99fc147c55392c4d731eef6f098b6b805c4441e44b7a16ce6dce44c88ac2fa325d47fbadfa11fdc9c75b1f2039112699c2ab1b1dc6af42 SHA512 e5ead1e41e5dd0b9ec1ff96e6d133b8a5eaea38f6eb343391f5a7cc9757c3255730b147a621a8d55f7e0be2798186aedba0af2434ed96a981fa8f19c4ba8927e
|
||||
DIST p1_pgsql-1.1.6.tar.gz 20545 BLAKE2B 17e5f2dc5f08ff830ae2b17a80950e45a0df7f939b8d42bf6a4a373c76818997c040b57f5db4cca3d0767d98c4684c0f61a610822d4c43c5138e61589cf57b8f SHA512 7bed2f44a134cdae1738c2a09257a406fe292a0f6bfb587eecb6597c1b4c6e9ea45d2ed6022ccc6a9a00fe008e4d99b2df4896ac2f0654e1daf7369a39dd60c9
|
||||
DIST p1_pgsql-1.1.8.tar.gz 24162 BLAKE2B cd65c347f6ae651cd9baa053ab12117948f55d9c10ac5541768cf3a36f1086f513c6059353f91564587ee17ef21d1772bdb220159f877a27db35b86e034601e6 SHA512 ab156cfc3da979802a619855783bc114f5a0d75625467cf144e63cdf22187c30dc8d66d541addc54e4402c95bebcfb3900b1883e29e741af398c83419f5b71c3
|
||||
DIST p1_pgsql-1.1.10.tar.gz 24073 BLAKE2B 541c12e72a7be558f7c9fcfb64c88ddcdfbc258ce33f2fd66b8bfdfaaed83f1a1194dfea6225abd1a601ef08d9a9e792c844f778bc1be4bbf94e8107c6e024a7 SHA512 d1385b71681f487822839041f01ca7241573fd3a4b3616e7f0508b2d604ce37273168e8ddf9e403edc6cb08d73c908c373727e26a970ee7ba67ea57de8524409
|
||||
DIST p1_pgsql-1.1.9.tar.gz 24175 BLAKE2B cab26e09e89fda82431cd29a3a09c9fd309868021bfad3d5110fd5b40ccd19c9b6eee40d77debb1cde86bc77f139123ce282305500774f5650ebf7c647bec532 SHA512 5a24bfdf13bf015d0a92cbba74dbe09122b900bed994495fbccd51616ee6fc3032fc571847813ef4631d2c6a947985302818c067d19a3ab50e190de6f0f2cf1b
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
|
@ -1,20 +0,0 @@
|
|||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit rebar
|
||||
|
||||
DESCRIPTION="Pure Erlang PostgreSQL driver"
|
||||
HOMEPAGE="https://github.com/processone/p1_pgsql"
|
||||
SRC_URI="https://github.com/processone/${PN}/archive/${PV}.tar.gz
|
||||
-> ${P}.tar.gz"
|
||||
|
||||
LICENSE="ErlPL-1.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm ~ia64 ppc ~sparc x86"
|
||||
|
||||
DEPEND=">=dev-lang/erlang-17.1"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
DOCS=( CHANGELOG.md README.md )
|
|
@ -1,20 +0,0 @@
|
|||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit rebar
|
||||
|
||||
DESCRIPTION="Pure Erlang PostgreSQL driver"
|
||||
HOMEPAGE="https://github.com/processone/p1_pgsql"
|
||||
SRC_URI="https://github.com/processone/${PN}/archive/${PV}.tar.gz
|
||||
-> ${P}.tar.gz"
|
||||
|
||||
LICENSE="ErlPL-1.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm ~ia64 ppc ~sparc x86"
|
||||
|
||||
DEPEND=">=dev-lang/erlang-17.1"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
DOCS=( CHANGELOG.md README.md )
|
|
@ -1,3 +1,2 @@
|
|||
DIST pkix-1.0.3.tar.gz 391302 BLAKE2B 8ff0403b6beed707afb8cca51c027d140f06273def0cff3588c9ee26673021d1fbb5b7397281c7daa27f076d61a222843251ab626661727f65255012846f9756 SHA512 b45c8fc74a1ef7d61818ba8a72bb141fa28796dadc36829f3456f1a87b5c263a5d708e4512cd91f54efd59dc14a47e31aa67ecb90c378f22fd42e77d6110320f
|
||||
DIST pkix-1.0.4.tar.gz 411737 BLAKE2B 5f675adc535a5463d2259c078a5445348bf9901224f78daff5b1b261796888d90f6707a3d6fd199fa611f347a560f8154d8c2122aeeacea6df776e8aec62708a SHA512 2c90bc13dc381f08b250db105eb09729005d1d191a1d6e69e2096f155f40460ebe47cb85a1b157782cb74c5e759b53010bc96fc831a7224f5a3aa30e46775b16
|
||||
DIST pkix-1.0.5.tar.gz 411755 BLAKE2B bd4b8cd87f1cabff7aa6923007aff9f586bb5e3e322978223a8533087ed2474816b578023a7269f37fb2afabafc4e2ce51606ba420c3b4cfea2e2b4e0f5c0af2 SHA512 b265f4ffb104404d38c9e6c5660e91a720d6b1a85339f82b40fae27727c4edbde585a1427682cf5ca59fe0be775fde26d74cbd4807f45b12b381736d2979595d
|
||||
DIST pkix-1.0.6.tar.gz 411903 BLAKE2B d6673421fe8ab96f8521ad6122b3ef5b3fece3b3dfbeafba3a5bb67ff528a158419c132247ac258a8f8adaa9947b132b5589245da0b9a23dbb7f3c91963c1013 SHA512 28bcadf4dfc44f494dedd34b8a37a1e77c76ebb59aaa8113a8886be15f01e6a11bb689278437140513fba9552c507a0b9d7ca7587ec92ccf037641aed55345e8
|
||||
|
|
|
@ -1,20 +0,0 @@
|
|||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit rebar
|
||||
|
||||
DESCRIPTION="PKIX certificates management library for Erlang"
|
||||
HOMEPAGE="https://github.com/processone/pkix"
|
||||
SRC_URI="https://github.com/processone/${PN}/archive/${PV}.tar.gz
|
||||
-> ${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
DEPEND=">=dev-lang/erlang-17.5"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
DOCS=( README.md )
|
|
@ -1,4 +1,4 @@
|
|||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
@ -12,9 +12,6 @@ SRC_URI="https://github.com/processone/${PN}/archive/${PV}.tar.gz
|
|||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
DEPEND=">=dev-lang/erlang-17.5"
|
||||
RDEPEND="${DEPEND}"
|
||||
KEYWORDS="~amd64 ~arm ~ia64 ~ppc ~sparc ~x86"
|
||||
|
||||
DOCS=( README.md )
|
|
@ -1,3 +1,2 @@
|
|||
DIST sqlite3-1.1.5.tar.gz 1833901 BLAKE2B 19b02655962e4f70b01826e1346c93119a2a9bc8474083b0cb7719cdf8096d7fe7e33c3e8f17bb1d1bf11e32f4f9707fc2bb15ba6bfa848d2318a9e6c517d85b SHA512 894f39ba0760d15c4adf396d277cc30414c28acbc62135395af6939f769cab9237e836d5c3dcb5250c41917bec3db577902c01dbad1d2600480b3647c3c61c30
|
||||
DIST sqlite3-1.1.6.tar.gz 1834834 BLAKE2B 43b8bb8c10888aebd8842ffe410c1aa2506606dd99c551778b08b2c70788c4bce201758a0bb950e949d25a1d49351c17e2d225c2ad165588378d166959b7485a SHA512 f3781c186f4f677340bf752884559e9afe745726b6e8dfeb8b701ab34a5e58af0e7dba8bd852443f44fac874a1af66970ea29b044ff2f0cfbbeafbb4996cdc8d
|
||||
DIST sqlite3-1.1.7.tar.gz 1834822 BLAKE2B 9a3f30a3a5f4e7ebe38aa1a808057767dd6d43ab93b352b44fc3aef4c2ed8c19b5f4ee258a4ff7a2c052fb4f480f1fb3629624a171b07eb5e661acbc97b165b2 SHA512 8e4bd7dff93f7629d648934c4ce29c318d62313aa10de35144e4f6a3d8c87d8a423ccbe1c810476f8e8048358be4cb8ef242daa6138957e0b0d9c65fadbf144c
|
||||
DIST sqlite3-1.1.8.tar.gz 1881308 BLAKE2B 0a73a422c678ef1827608cabb18dba28d11d260b91788caebbb8ad65355f60fc3b842df119da68fedf356013e52509a87ed4c0c7f117e024484069e0ef722fb5 SHA512 056630056680f6606c6acf303521bc31ccf514163e4f02df3575535fe31eda74380306baa505734ab0e92a2bb82b35cc4fab81d11c3a409f855b202440b6247e
|
||||
|
|
|
@ -1,26 +0,0 @@
|
|||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit rebar
|
||||
|
||||
MY_PN="erlang-sqlite3"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
|
||||
DESCRIPTION="SQLite gen_server port for Erlang"
|
||||
HOMEPAGE="https://github.com/processone/erlang-sqlite3"
|
||||
SRC_URI="https://github.com/processone/${MY_PN}/archive/${PV}.tar.gz
|
||||
-> ${P}.tar.gz"
|
||||
|
||||
LICENSE="ErlPL-1.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm ~ia64 ppc ~sparc x86"
|
||||
|
||||
DEPEND=">=dev-lang/erlang-17.1
|
||||
dev-db/sqlite:3"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
DOCS=( AUTHORS README.md )
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
|
@ -1,4 +1,4 @@
|
|||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
@ -15,7 +15,7 @@ SRC_URI="https://github.com/processone/${MY_PN}/archive/${PV}.tar.gz
|
|||
|
||||
LICENSE="ErlPL-1.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm ~ia64 ppc ~sparc x86"
|
||||
KEYWORDS="~amd64 ~arm ~ia64 ~ppc ~sparc ~x86"
|
||||
|
||||
DEPEND=">=dev-lang/erlang-17.1
|
||||
dev-db/sqlite:3"
|
|
@ -1 +1,2 @@
|
|||
DIST stringprep-1.0.20.tar.gz 98836 BLAKE2B 8928bbc502f98101d93554430fce240b441ce6eff5c3c8f2f7727d77821ae7f92a63d2a4d9b1883ca8b8e61cdbf07858e1c2d2892cefda15797ae536430fcee5 SHA512 402556387e4467d5770694378c923676fa4a429ee6709c7d6aa94901b1215fc7227dc1ad9d9561ca4d94880175ee64241e6ab1274c2c20212d27fc56faffae8d
|
||||
DIST stringprep-1.0.22.tar.gz 98910 BLAKE2B 5885aa58a7201408467afa7ec6c4fda350effaf2c4f0ce3000f036fd67c16e778344e23a71f753abb6337db5e2084b147ef3b24878c1ca2bc0e1e308945a46ba SHA512 3cd687ede237de24476b091d0e871bbb4af42be21cf27ea44936413ba2b643d0c6f92b5c7135b7064b8e111e05f0a0815b0d32e6d33b60e46612bc0f7bfd3b09
|
||||
|
|
21
dev-erlang/stringprep/stringprep-1.0.22.ebuild
Normal file
21
dev-erlang/stringprep/stringprep-1.0.22.ebuild
Normal file
|
@ -0,0 +1,21 @@
|
|||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit rebar
|
||||
|
||||
DESCRIPTION="Fast Stringprep implementation for Erlang and Elixir"
|
||||
HOMEPAGE="https://github.com/processone/stringprep"
|
||||
SRC_URI="https://github.com/processone/${PN}/archive/${PV}.tar.gz
|
||||
-> ${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0 tcltk"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~ia64 ~ppc ~sparc ~x86"
|
||||
|
||||
DEPEND=">=dev-lang/erlang-17.1
|
||||
>=dev-erlang/p1_utils-1.0.20"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
DOCS=( CHANGELOG.md README.md )
|
|
@ -1 +1,2 @@
|
|||
DIST stun-1.0.33.tar.gz 34863 BLAKE2B 84a501f19c332aad98d61e5f7f75c8866e44b4b1243e2d7498221cc8b717380475ec07bc962781375ad21b694e186a73a903446cd1bc6ed5b23536a2420c3602 SHA512 864eae964bf9e4f19338a6429bfbf4cefb114f9dcd8893410a8345373f6cacd82d04b2902feadfb340e927b335cf0a6415629564cc7cf03a5dcf7d1f3cb5ea12
|
||||
DIST stun-1.0.38.tar.gz 39142 BLAKE2B 47efcd8d91bce2a4aab7b927a3adade62aeabd166464bc5c54f24db5088dda709c19f2155995398dd29de72eb3ee8ee5f10bfdffb37a839189a7f8375dacdf78 SHA512 a9a99440bfdf151d306e2da26d60eac5756bbaee41ece07d7b31634c66e7ac646bd8167b50e47a014a9b74a72510de34b5ac3dd75b03256cb2d792e796f0d6de
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit rebar
|
||||
|
||||
DESCRIPTION="Pure Erlang MySQL driver"
|
||||
HOMEPAGE="https://github.com/processone/p1_mysql"
|
||||
DESCRIPTION="STUN and TURN library for Erlang and Elixir"
|
||||
HOMEPAGE="https://github.com/processone/stun"
|
||||
SRC_URI="https://github.com/processone/${PN}/archive/${PV}.tar.gz
|
||||
-> ${P}.tar.gz"
|
||||
|
||||
|
@ -14,7 +14,8 @@ LICENSE="BSD"
|
|||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~ia64 ~ppc ~sparc ~x86"
|
||||
|
||||
DEPEND=">=dev-lang/erlang-17.1"
|
||||
DEPEND=">=dev-erlang/fast_tls-1.1.8
|
||||
>=dev-erlang/p1_utils-1.0.20"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
DOCS=( CHANGELOG.md README.md )
|
|
@ -1 +1,2 @@
|
|||
DIST xmpp-1.4.7.tar.gz 483070 BLAKE2B fae845a165a44c6c43e2f23ebf67a272c9a9b7dabcd221c8be6b83b6f560e7eee896a7906b9d621cba49de1af2163e64cd93d24bfd1341fe1d232c2746f80237 SHA512 37968de29bfeba698424f69a91f11c9adeca3bbac342cb9267ce4012471c10aeb030b691af2c5c01c6eaf9e1f866666982a8660a0e937829f75e0548ae5516cd
|
||||
DIST xmpp-1.4.9.tar.gz 483243 BLAKE2B 15cd04d5e99357ab4dac71fe7ee9952059658b56894c205e2d5b6c705b347004e580715c5198fcbc026b34e17033ad08da622eab92c83934de58500a8c64b905 SHA512 9c66ca3099584ea971f863ab24ccdca070bede63bedbf2fc858df762c27c329d07d3d119f7ced8ffcc1c24acf8874a68ee7372f157e81836e46dba27b057b381
|
||||
|
|
30
dev-erlang/xmpp/xmpp-1.4.9.ebuild
Normal file
30
dev-erlang/xmpp/xmpp-1.4.9.ebuild
Normal file
|
@ -0,0 +1,30 @@
|
|||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit rebar
|
||||
|
||||
DESCRIPTION="XMPP parsing and serialization library on top of Fast XML"
|
||||
HOMEPAGE="https://github.com/processone/xmpp"
|
||||
SRC_URI="https://github.com/processone/${PN}/archive/${PV}.tar.gz
|
||||
-> ${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~ia64 ~ppc ~sparc ~x86"
|
||||
|
||||
RDEPEND=">=dev-erlang/ezlib-1.0.8
|
||||
>=dev-erlang/fast_tls-1.1.8
|
||||
>=dev-erlang/fast_xml-1.1.43
|
||||
>=dev-erlang/p1_utils-1.0.20
|
||||
>=dev-erlang/stringprep-1.0.22
|
||||
>=dev-erlang/idna-6.0.0"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
DOCS=( CHANGELOG.md README.md )
|
||||
|
||||
src_prepare() {
|
||||
rebar_src_prepare
|
||||
rebar_fix_include_path fast_xml
|
||||
}
|
Binary file not shown.
|
@ -1,2 +1,3 @@
|
|||
DIST mujs-1.0.6.tar.gz 121385 BLAKE2B b74da9cc9df6c51d81fe4b6170fddd9bfd3e37cc1c48509ddbcc9b657feb7169cfa98427770a118fb9c0923e70320668198739ea111cbd5d1c2303b2ada7093d SHA512 c3062348dcc79b8ea3726fc528b3ba765d3462232059617b9ab221ba47fa904cc81a305a6199a9a2cea24a2d891ca63d475b4884cd4e53fa715b3a55f51ca4d9
|
||||
DIST mujs-1.0.7.tar.xz 93928 BLAKE2B 3c29ad3c23b75ee310824a36c0b08ede07b4ebaebff78558d07bc0eda55d6a994551502089cebd5b53ae24364ec1170e0865b7f1560d909dd15a18040666fea2 SHA512 30cc06ce4a608e091d46ba903ffc2eda29972cf583eb077d7824627fa20423c4721a406bf4271ebd5e5cade74f34e19acc9cffbc6d4d44314085a5525e91564f
|
||||
DIST mujs-1.0.9.tar.gz 123113 BLAKE2B c55deaf14508c412394bf5fe3a53ef581d4e4726024d65f2ba5155eb2400a6e2f043c9f6721b170d19297e2cd38c62c462f3b4e102eb4bfe6e7857b40156c18b SHA512 a3dbc8dbf5c16b7de9803954fe38ea9f77c0e5b7de3895966ec0877e063d463c9950499791ea0d102e464bd0426413689f3edb15e38db3f13915d72f27556725
|
||||
|
|
60
dev-lang/mujs/mujs-1.0.9.ebuild
Normal file
60
dev-lang/mujs/mujs-1.0.9.ebuild
Normal file
|
@ -0,0 +1,60 @@
|
|||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit flag-o-matic toolchain-funcs
|
||||
|
||||
DESCRIPTION="An embeddable Javascript interpreter in C."
|
||||
HOMEPAGE="
|
||||
https://mujs.com/
|
||||
https://github.com/ccxvii/mujs/
|
||||
"
|
||||
SRC_URI="https://github.com/ccxvii/mujs/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
# Not available right now.
|
||||
#SRC_URI="https://mujs.com/downloads/${P}.tar.xz"
|
||||
|
||||
LICENSE="ISC"
|
||||
# subslot matches SONAME
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos"
|
||||
IUSE="static-libs"
|
||||
|
||||
RDEPEND="sys-libs/readline:0="
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-1.0.5-flags.patch"
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
tc-export AR CC
|
||||
|
||||
# library's ABI (and API) changes in ~each release:
|
||||
# diff 'usr/includemujs.h' across releases to validate
|
||||
append-cflags -fPIC -Wl,-soname=lib${PN}.so.${PV}
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake VERSION=${PV} prefix=/usr shared
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local myeconfargs=(
|
||||
DESTDIR="${ED}"
|
||||
install-shared
|
||||
libdir="/usr/$(get_libdir)"
|
||||
prefix="/usr"
|
||||
VERSION="${PV}"
|
||||
$(usex static-libs install-static '')
|
||||
)
|
||||
|
||||
emake "${myeconfargs[@]}"
|
||||
|
||||
mv -v "${ED}"/usr/$(get_libdir)/lib${PN}.so{,.${PV}} || die
|
||||
|
||||
dosym lib${PN}.so.${PV} /usr/$(get_libdir)/lib${PN}.so
|
||||
dosym lib${PN}.so.${PV} /usr/$(get_libdir)/lib${PN}.so.${PV:0:1}
|
||||
}
|
|
@ -1,5 +1,7 @@
|
|||
DIST ocaml-4.04.2.tar.gz 4061873 BLAKE2B 756936592c7e0c87da27f154f07850eb3e4b2ed46ff3b36ff57541375840cd56b170dbe646ef6682f63d4e15ae209d3c125581803641f07403e9eb838c265519 SHA512 8b6a0319307cbb7451594d2f7c63851299d3e7d6ae7879e7525373304f9fd5a9b01d503ecd313a12a3cae24a4a7cb909f7aeebbb70efaa5277137189ea4558cb
|
||||
DIST ocaml-4.05.0.tar.gz 4431750 BLAKE2B c2ab003a13e0a581ebd0e1c96eeb8a9baea9bfe6bee08823b0e4541819201ec109f1846e13fc1aefa51a001eefbb8f73320ba854d41975fc68cef41bc75b1ecc SHA512 9a060ae4b741e1687277403e5bdb8f6eda2e2ebf6c45f7c0149b66ea1213cb26d13febfbb3f11c12543e244cfdd053b786b09c4145e2348e5d89a7206f7de225
|
||||
DIST ocaml-4.09.0.tar.gz 4838748 BLAKE2B 80f29d535c64bf2371b480217723ed20b2b21cfd93ce31366a7b91e7ddffdf68db4e88d085288b7e21efee567a13f42ecff24c3a0115507b006acf844239cefd SHA512 dc0271e591bf929b751705835790949a9d741e12d085c8b207c3689b5838a02ea8de80da8b2605d2e6744f2f541b0d1694ffafff9509e99ce01f3a391f6ef2ae
|
||||
DIST ocaml-4.10.0.tar.gz 4927867 BLAKE2B 71b8448a10bf3049e3b005dfbb2030d479e69e4c2ef00055f1dacd38eff838b0a5c18b4883d899b5eb4cbd05bb7ca35867010794ed25682ad51b2fe19ef2114d SHA512 f39269d572b3f7755f7881b7a9fdfe5253e49d847835ae2a8695f67e3309fc1e925523d66ecbe1fb8bc0cc3b5602e077ce7feac4926aab571383766442265179
|
||||
DIST ocaml-4.11.1.tar.gz 5069552 BLAKE2B a731d4b60d7965c860dda5c9dfb26b968320760501ff3cac908b8cd96e34391c417e16077cdf753b27b85a79857451e6ff0b566a9158178026a0e6bd5240aac4 SHA512 93fa8b2ff71d5f645e3ed72913205e7d35aa523cfa87d1939d77e796495b94c2fdb4a429ea65330cdeecfb0a36f7ab053b15090d9baa151b58e5331148dc8150
|
||||
DIST ocaml-patches-8.tar.bz2 1803 BLAKE2B 5e76a198c2f5ca9f231d4e80499d784cf061ec79bf6b5e3aac917e1260d1f2b927f0f8015d39c01ce4fd481d32a5d211c31e081a7ab87ba1e7c7d5def95bc0fb SHA512 fc477fbb5bdec60a3c4d3dfa110119bb579560ac0e0e57e30e076da72643bda6359c06fd3745fd3436c5d611dbbd888ec2921e9d1920f4929df633c35a797411
|
||||
DIST ocaml-patches-9.tar.bz2 1700 BLAKE2B 4e46b8fb490db28f815414e285f54e251394ea53e1d25c529bbea9f03e426fd19132b1e2c7c2be7d14983fceb4cad073d191b001f6da522fee4226371d4a2eca SHA512 cc19f9104fac69aecc5effa8cb772342e1fb61cdcd38ba0176efe04cf3d710b1c56d5178748f3bd29099af91fa684da432a8ef8d42de76dbd1b6954a255ea6c0
|
||||
|
|
|
@ -1,7 +1,10 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<!-- maintainer-needed -->
|
||||
<maintainer type="person">
|
||||
<email>gienah@gentoo.org</email>
|
||||
<name>Mark Wright</name>
|
||||
</maintainer>
|
||||
<use>
|
||||
<flag name="flambda">Enables the Flambda optimizer: A new intermediate representation (introduced in ocaml 4.03) in the depths of the compiler designed to allow for better inlining.</flag>
|
||||
<flag name="spacetime">Enables the Spacetime memory profiler. See https://caml.inria.fr/pub/docs/manual-ocaml/spacetime.html for more information.</flag>
|
||||
|
|
78
dev-lang/ocaml/ocaml-4.10.0.ebuild
Normal file
78
dev-lang/ocaml/ocaml-4.10.0.ebuild
Normal file
|
@ -0,0 +1,78 @@
|
|||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
HOMEPAGE="https://ocaml.org/"
|
||||
SRC_URI="https://github.com/ocaml/ocaml/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
DESCRIPTION="Programming language supporting functional, imperative & object-oriented styles"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x86-solaris"
|
||||
IUSE="emacs flambda latex +ocamlopt spacetime xemacs"
|
||||
|
||||
RDEPEND="sys-libs/binutils-libs:=
|
||||
spacetime? ( sys-libs/libunwind:= )"
|
||||
BDEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
PDEPEND="emacs? ( app-emacs/ocaml-mode )
|
||||
xemacs? ( app-xemacs/ocaml )"
|
||||
|
||||
#PATCHES=("${FILESDIR}"/${PN}-4.10.0-gcc-10.patch)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
# Upstream build ignores LDFLAGS in several places.
|
||||
sed -i -e 's/\(^MKDLL=.*\)/\1 $(LDFLAGS)/' \
|
||||
-e 's/\(^OC_CFLAGS=.*\)/\1 $(LDFLAGS)/' \
|
||||
-e 's/\(^OC_LDFLAGS=.*\)/\1 $(LDFLAGS)/' \
|
||||
Makefile.config.in || die "LDFLAGS fix failed"
|
||||
# ${P} overrides upstream build's own P due to a wrong assignment operator.
|
||||
sed -i -e 's/^P ?=/P =/' stdlib/StdlibModules || die "P fix failed"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local opt=(
|
||||
--bindir="${EPREFIX}/usr/bin"
|
||||
--libdir="${EPREFIX}/usr/$(get_libdir)/ocaml"
|
||||
--mandir="${EPREFIX}/usr/share/man"
|
||||
--prefix="${EPREFIX}/usr"
|
||||
$(use_enable flambda)
|
||||
$(use_enable spacetime)
|
||||
)
|
||||
econf ${opt[@]}
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
if use ocamlopt ; then
|
||||
emake world.opt
|
||||
else
|
||||
emake world
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
if use ocamlopt ; then
|
||||
# OCaml tests only work when run sequentially
|
||||
emake -j1 -C testsuite all
|
||||
else
|
||||
ewarn "${PN} was built without 'ocamlopt' USE flag; skipping tests."
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
dodir /usr/include
|
||||
# Create symlink for header files
|
||||
dosym "../$(get_libdir)/ocaml/caml" /usr/include/caml
|
||||
dodoc Changes README.adoc
|
||||
# Create envd entry for latex input files
|
||||
if use latex ; then
|
||||
echo "TEXINPUTS=\"${EPREFIX}/usr/$(get_libdir)/ocaml/ocamldoc:\"" > "${T}/99ocamldoc"
|
||||
doenvd "${T}/99ocamldoc"
|
||||
fi
|
||||
# Install ocaml-rebuild portage set
|
||||
insinto /usr/share/portage/config/sets
|
||||
doins "${FILESDIR}/ocaml.conf"
|
||||
}
|
74
dev-lang/ocaml/ocaml-4.11.1.ebuild
Normal file
74
dev-lang/ocaml/ocaml-4.11.1.ebuild
Normal file
|
@ -0,0 +1,74 @@
|
|||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
HOMEPAGE="https://ocaml.org/"
|
||||
SRC_URI="https://github.com/ocaml/ocaml/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
DESCRIPTION="Programming language supporting functional, imperative & object-oriented styles"
|
||||
|
||||
LICENSE="QPL-1.0 LGPL-2"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x86-solaris"
|
||||
IUSE="emacs flambda latex +ocamlopt spacetime xemacs"
|
||||
|
||||
RDEPEND="sys-libs/binutils-libs:=
|
||||
spacetime? ( sys-libs/libunwind:= )"
|
||||
BDEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
PDEPEND="emacs? ( app-emacs/ocaml-mode )
|
||||
xemacs? ( app-xemacs/ocaml )"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
# Upstream build ignores LDFLAGS in several places.
|
||||
sed -i -e 's/\(^MKDLL=.*\)/\1 $(LDFLAGS)/' \
|
||||
-e 's/\(^OC_CFLAGS=.*\)/\1 $(LDFLAGS)/' \
|
||||
-e 's/\(^OC_LDFLAGS=.*\)/\1 $(LDFLAGS)/' \
|
||||
Makefile.config.in || die "LDFLAGS fix failed"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local opt=(
|
||||
--bindir="${EPREFIX}/usr/bin"
|
||||
--libdir="${EPREFIX}/usr/$(get_libdir)/ocaml"
|
||||
--mandir="${EPREFIX}/usr/share/man"
|
||||
--prefix="${EPREFIX}/usr"
|
||||
$(use_enable flambda)
|
||||
$(use_enable spacetime)
|
||||
)
|
||||
econf ${opt[@]}
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
if use ocamlopt ; then
|
||||
env -u P emake world.opt
|
||||
else
|
||||
env -u P emake world
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
if use ocamlopt ; then
|
||||
# OCaml tests only work when run sequentially
|
||||
emake -j1 tests
|
||||
else
|
||||
ewarn "${PN} was built without 'ocamlopt' USE flag; skipping tests."
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
dodir /usr/include
|
||||
# Create symlink for header files
|
||||
dosym "../$(get_libdir)/ocaml/caml" /usr/include/caml
|
||||
dodoc Changes README.adoc
|
||||
# Create envd entry for latex input files
|
||||
if use latex ; then
|
||||
echo "TEXINPUTS=\"${EPREFIX}/usr/$(get_libdir)/ocaml/ocamldoc:\"" > "${T}/99ocamldoc"
|
||||
doenvd "${T}/99ocamldoc"
|
||||
fi
|
||||
# Install ocaml-rebuild portage set
|
||||
insinto /usr/share/portage/config/sets
|
||||
doins "${FILESDIR}/ocaml.conf"
|
||||
}
|
|
@ -22,11 +22,10 @@ RDEPEND=">=app-eselect/eselect-rust-20190311"
|
|||
REQUIRED_USE="x86? ( cpu_flags_x86_sse2 )"
|
||||
|
||||
QA_PREBUILT="
|
||||
opt/${P}/bin/*-${PV}
|
||||
opt/${P}/lib/*.so
|
||||
opt/${P}/lib/rustlib/*/bin/*
|
||||
opt/${P}/lib/rustlib/*/lib/*.so
|
||||
opt/${P}/lib/rustlib/*/lib/*.rlib*
|
||||
opt/${P}/bin/.*
|
||||
opt/${P}/lib/.*.so
|
||||
opt/${P}/lib/rustlib/.*/bin/.*
|
||||
opt/${P}/lib/rustlib/.*/lib/.*
|
||||
"
|
||||
|
||||
pkg_pretend() {
|
||||
|
|
Binary file not shown.
|
@ -1,3 +1,2 @@
|
|||
DIST Botan-2.14.0.tar.xz 5958948 BLAKE2B 90e73945b22f6e4e8d6163bfb45eca153eb1495448f8bf35514b780fd12bb1b81c822314e1f598c7625277f1e9cf7a6265387cca80ffd4c2664c681b9d4807fd SHA512 ee15928ecdb0127720b444b0207d46fd68fe3007125b0deb8bdd32f96e9befb684ad54009354da4f6a3c48b9698693b46223710a47fd644da8760dda53d40d34
|
||||
DIST Botan-2.15.0.tar.xz 5920688 BLAKE2B 1bbb9cadb0f754194851bddf8b14dbcd291285c5f3fbaad35920277a11c3d9e1b1e5cc484c0d37b1c7999b3084a1c90da56631df0b07e788372b95aff5197031 SHA512 0965a0a6141df44e38bd7da038b89dd2b3808ed9a4ebaafbf089abf60718e62cba78d7b64eaf272b5df8c5a489222e4cad4fb511cde38e76cdaed87f35896c18
|
||||
DIST Botan-2.16.0.tar.xz 5938644 BLAKE2B a4b7bb48aee0dbf0f8b81a407b6a39707c3e6040a2bb93f9c34208ab87ea64879b2e56af66f090a73d66b64156e333c89e490d206e666e665a5eb4fbcd98d13e SHA512 12550425c695119d7f448a47b7956565de373e1bc86b8fdfa0a2a5b9fed1ef93a36101b6480e7a2f78e9262c988904c353fa021b681543691d09bf5b00495bd4
|
||||
|
|
|
@ -1,110 +0,0 @@
|
|||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{6,7,8} )
|
||||
|
||||
MY_P="Botan-${PV}"
|
||||
inherit python-r1 toolchain-funcs
|
||||
|
||||
DESCRIPTION="C++ crypto library"
|
||||
HOMEPAGE="https://botan.randombit.net/"
|
||||
SRC_URI="https://botan.randombit.net/releases/${MY_P}.tar.xz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="2/$(ver_cut 1-2)" # soname version
|
||||
KEYWORDS="amd64 ~arm hppa ~ia64 ppc ppc64 ~sparc x86 ~ppc-macos"
|
||||
IUSE="bindist bzip2 boost doc libressl lzma python sqlite ssl static-libs zlib"
|
||||
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
DEPEND="python? ( ${PYTHON_DEPS} )"
|
||||
RDEPEND="${DEPEND}
|
||||
boost? ( >=dev-libs/boost-1.48:= )
|
||||
bzip2? ( >=app-arch/bzip2-1.0.5:= )
|
||||
lzma? ( app-arch/xz-utils:= )
|
||||
sqlite? ( dev-db/sqlite:3= )
|
||||
ssl? (
|
||||
!libressl? ( dev-libs/openssl:0=[bindist=] )
|
||||
libressl? ( dev-libs/libressl:0= )
|
||||
)
|
||||
zlib? ( >=sys-libs/zlib-1.2.3:= )
|
||||
"
|
||||
BDEPEND="
|
||||
dev-lang/python:*
|
||||
doc? ( dev-python/sphinx )
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${P}-bindist-test-fix.patch"
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
local disable_modules=()
|
||||
use boost || disable_modules+=( "boost" )
|
||||
use bindist && disable_modules+=( "ecdsa" )
|
||||
elog "Disabling modules: ${disable_modules[@]}"
|
||||
|
||||
# Enable v9 instructions for sparc64
|
||||
if [[ "${PROFILE_ARCH}" = "sparc64" ]]; then
|
||||
CHOSTARCH="sparc32-v9"
|
||||
else
|
||||
CHOSTARCH="${CHOST%%-*}"
|
||||
fi
|
||||
|
||||
local myos=
|
||||
case ${CHOST} in
|
||||
*-darwin*) myos=darwin ;;
|
||||
*) myos=linux ;;
|
||||
esac
|
||||
|
||||
case ${CHOST} in
|
||||
hppa*) CHOSTARCH=parisc ;;
|
||||
esac
|
||||
|
||||
local pythonvers=()
|
||||
if use python; then
|
||||
append() {
|
||||
pythonvers+=( ${EPYTHON/python/} )
|
||||
}
|
||||
python_foreach_impl append
|
||||
fi
|
||||
|
||||
# Don't install automatically, do it manually later in right place
|
||||
# https://bugs.gentoo.org/723096
|
||||
CXX="$(tc-getCXX)" AR="$(tc-getAR)" ./configure.py \
|
||||
$(use_enable static-libs static-library) \
|
||||
$(use_with boost) \
|
||||
$(use_with bzip2) \
|
||||
$(use_with doc documentation) \
|
||||
$(use_with doc sphinx) \
|
||||
$(use_with lzma) \
|
||||
$(use_with sqlite sqlite3) \
|
||||
$(use_with ssl openssl) \
|
||||
$(use_with zlib) \
|
||||
$(usex hppa --without-stack-protector '') \
|
||||
--cc=gcc \
|
||||
--cpu=${CHOSTARCH} \
|
||||
--disable-modules=$(IFS=","; echo "${disable_modules[*]}" ) \
|
||||
--docdir=share/doc \
|
||||
--libdir=$(get_libdir) \
|
||||
--os=${myos} \
|
||||
--distribution-info="Gentoo ${PVR}" \
|
||||
--prefix="${EPREFIX}/usr" \
|
||||
--with-endian="$(tc-endian)" \
|
||||
--with-python-version=$(IFS=","; echo "${pythonvers[*]}" ) \
|
||||
--without-doxygen \
|
||||
--no-install-python-module \
|
||||
|| die "configure.py failed"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
LD_LIBRARY_PATH="${S}" ./botan-test || die "Validation tests failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
use python && python_foreach_impl python_domodule src/python/botan2.py
|
||||
}
|
|
@ -1,91 +0,0 @@
|
|||
https://github.com/randombit/botan/commit/df73ee690c5795be586cd4df3e33253113a0dcdf
|
||||
https://github.com/randombit/botan/commit/d9d6d7a593da135d2046aeb8a9e05e967d90f538
|
||||
|
||||
diff --git a/src/tests/test_pkcs11_high_level.cpp b/src/tests/test_pkcs11_high_level.cpp
|
||||
index 47a5bf5e56..07dc86ef21 100644
|
||||
--- a/src/tests/test_pkcs11_high_level.cpp
|
||||
+++ b/src/tests/test_pkcs11_high_level.cpp
|
||||
@@ -909,6 +909,15 @@ BOTAN_REGISTER_TEST("pkcs11-rsa", PKCS11_RSA_Tests);
|
||||
|
||||
/***************************** PKCS11 ECDSA *****************************/
|
||||
|
||||
+#if defined(BOTAN_HAS_ECC_GROUP)
|
||||
+std::vector<uint8_t> encode_ec_point_in_octet_str(const Botan::PointGFp& point)
|
||||
+ {
|
||||
+ std::vector<uint8_t> enc;
|
||||
+ DER_Encoder(enc).encode(point.encode(PointGFp::UNCOMPRESSED), OCTET_STRING);
|
||||
+ return enc;
|
||||
+ }
|
||||
+#endif
|
||||
+
|
||||
#if defined(BOTAN_HAS_ECDSA)
|
||||
|
||||
Test::Result test_ecdsa_privkey_import()
|
||||
@@ -976,13 +985,6 @@ Test::Result test_ecdsa_privkey_export()
|
||||
return result;
|
||||
}
|
||||
|
||||
-std::vector<uint8_t> encode_ec_point_in_octet_str(const Botan::PointGFp& point)
|
||||
- {
|
||||
- std::vector<uint8_t> enc;
|
||||
- DER_Encoder(enc).encode(point.encode(PointGFp::UNCOMPRESSED), OCTET_STRING);
|
||||
- return enc;
|
||||
- }
|
||||
-
|
||||
Test::Result test_ecdsa_pubkey_import()
|
||||
{
|
||||
Test::Result result("PKCS11 import ECDSA public key");
|
||||
diff --git a/src/tests/test_pkcs11_high_level.cpp b/src/tests/test_pkcs11_high_level.cpp
|
||||
index 07dc86ef21..c77e8ea42e 100644
|
||||
--- a/src/tests/test_pkcs11_high_level.cpp
|
||||
+++ b/src/tests/test_pkcs11_high_level.cpp
|
||||
@@ -28,10 +28,14 @@
|
||||
#include <botan/der_enc.h>
|
||||
#endif
|
||||
|
||||
-#if defined (BOTAN_HAS_PUBLIC_KEY_CRYPTO)
|
||||
+#if defined(BOTAN_HAS_PUBLIC_KEY_CRYPTO)
|
||||
#include <botan/pubkey.h>
|
||||
#endif
|
||||
|
||||
+#if defined(BOTAN_HAS_ECC_GROUP)
|
||||
+ #include <botan/ec_group.h>
|
||||
+#endif
|
||||
+
|
||||
#if defined(BOTAN_HAS_RSA) && defined(BOTAN_HAS_PKCS11)
|
||||
#include <botan/rsa.h>
|
||||
#include <botan/p11_rsa.h>
|
||||
@@ -909,7 +913,7 @@ BOTAN_REGISTER_TEST("pkcs11-rsa", PKCS11_RSA_Tests);
|
||||
|
||||
/***************************** PKCS11 ECDSA *****************************/
|
||||
|
||||
-#if defined(BOTAN_HAS_ECC_GROUP)
|
||||
+#if defined(BOTAN_HAS_ECC_GROUP) && (defined(BOTAN_HAS_ECDSA) || defined(BOTAN_HAS_ECDH))
|
||||
std::vector<uint8_t> encode_ec_point_in_octet_str(const Botan::PointGFp& point)
|
||||
{
|
||||
std::vector<uint8_t> enc;
|
||||
diff --git a/src/tests/unit_x509.cpp b/src/tests/unit_x509.cpp
|
||||
index eaae358420..d9b7858898 100644
|
||||
--- a/src/tests/unit_x509.cpp
|
||||
+++ b/src/tests/unit_x509.cpp
|
||||
@@ -603,7 +603,7 @@ Test::Result test_verify_gost2012_cert()
|
||||
{
|
||||
Test::Result result("X509 GOST-2012 certificates");
|
||||
|
||||
-#if defined(BOTAN_HAS_GOST_34_10_2012) && defined(BOTAN_HAS_STREEBOG)
|
||||
+#if defined(BOTAN_HAS_GOST_34_10_2012) && defined(BOTAN_HAS_STREEBOG) && defined(BOTAN_HAS_EMSA1)
|
||||
try
|
||||
{
|
||||
Botan::X509_Certificate root_cert(Test::data_file("x509/gost/gost_root.pem"));
|
||||
@@ -1600,6 +1600,11 @@ class X509_Cert_Unit_Tests final : public Test
|
||||
continue;
|
||||
#endif
|
||||
|
||||
+#if !defined(BOTAN_HAS_EMSA1)
|
||||
+ if(algo != "RSA" && algo != "Ed25519")
|
||||
+ continue;
|
||||
+#endif
|
||||
+
|
||||
std::unique_ptr<Botan::Private_Key> key = make_a_private_key(algo);
|
||||
|
||||
if(key == nullptr)
|
|
@ -11,7 +11,7 @@ SRC_URI="https://sourceware.org/elfutils/ftp/${PV}/${P}.tar.bz2"
|
|||
|
||||
LICENSE="|| ( GPL-2+ LGPL-3+ ) utils? ( GPL-3+ )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv s390 sparc ~x86 ~amd64-linux ~x86-linux"
|
||||
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv s390 sparc x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="bzip2 lzma nls static-libs test +threads +utils valgrind"
|
||||
|
||||
RDEPEND=">=sys-libs/zlib-1.2.8-r1[static-libs?,${MULTILIB_USEDEP}]
|
||||
|
|
12
dev-libs/injeqt/files/injeqt-1.2.0-no-Werror.patch
Normal file
12
dev-libs/injeqt/files/injeqt-1.2.0-no-Werror.patch
Normal file
|
@ -0,0 +1,12 @@
|
|||
diff -ruN injeqt-1.2.0/CMakeLists.txt injeqt-my/CMakeLists.txt
|
||||
--- injeqt-1.2.0/CMakeLists.txt 2017-04-21 11:40:08.000000000 +0200
|
||||
+++ injeqt-my/CMakeLists.txt 2020-10-14 02:04:12.645803149 +0200
|
||||
@@ -37,7 +37,7 @@
|
||||
cmake_policy (SET CMP0043 NEW)
|
||||
endif ()
|
||||
|
||||
-set (WARNINGS "-Werror -W -Wall -Wextra -Wundef -Wunused -Wuninitialized -Wcast-align -Wpointer-arith -Woverloaded-virtual -Wnon-virtual-dtor -fno-common")
|
||||
+set (WARNINGS "-W -Wall -Wextra -Wundef -Wunused -Wuninitialized -Wcast-align -Wpointer-arith -Woverloaded-virtual -Wnon-virtual-dtor -fno-common")
|
||||
set (VISIBILITY "-fvisibility=hidden -fvisibility-inlines-hidden")
|
||||
set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 ${WARNINGS} ${VISIBILITY}")
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
@ -24,7 +24,10 @@ DEPEND="${RDEPEND}
|
|||
# https://github.com/vogel/injeqt/issues/18
|
||||
RESTRICT=test
|
||||
|
||||
PATCHES=( "${FILESDIR}/${P}-gcc7.patch" )
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${P}-gcc7.patch"
|
||||
"${FILESDIR}/${PN}-1.2.0-no-Werror.patch"
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
|
|
|
@ -1,4 +1 @@
|
|||
DIST libdnet-1.12.ipv6-1.patch.gz 5124 BLAKE2B 674866a441a5907df97942772b1e4b95aee004ddb110204df0580cec6b6bb3ba4074831d83e675e1914f1a29281b02227e95016db6ce6a0e8b99417d1aa6aaab SHA512 fa2380e41548ecdd978722930ecf90dffabd15cf06cbae0e113285072fe98a066f1e686b6d79e2d8b9f8adcf29783f313d61933b9e1e74e71da8dc7d741f815a
|
||||
DIST libdnet-1.12.tar.gz 959945 BLAKE2B a19f8c83425861d02f832330cf0eb5bc317eec157737e0eacd48a7827d423c626b24ce833f66429c9f2a0018502cae5426d5cfc1019aed307d63e4fa6b3845c8 SHA512 a2410a98b76d4bccecf7bcb82ff0b6e9fb809b389f7fea938cc42d94e18622cc5f353d2de737121a1990d9e16e9db8cc2f82677c94f78cd03c9227e815eab9e0
|
||||
DIST libdnet-1.12.tgz 970125 BLAKE2B 74be00b6fe1c7848010a7044628a6ad8f4b2f2c4f9676066c15e02c7a8b613e26a5e7743df524869fee2eb7d93438bf346f772b8df199b8ec337279dd50d5d77 SHA512 b763d2caa77b8d16b531142a5bce3b862ed20198406a00e1fe7f3b45ce308b97d638b0c7f03bd8593fdd206cc1645952839bc340b77537298a3df88599835bf3
|
||||
DIST libdnet-1.14.tar.gz 520833 BLAKE2B 97e241fc374fc9489e70d440db5e19199f4e653650af85e24af56bbbc0167db1c451349c43fcb630a26c61f8ca15c58f5c879e0d82654e275189ca3e140bb22a SHA512 ce8d95228f5175e4d9a8ff71bb99eb1ccc3ccd599a85dd07adbfd9842fc54066235d362c8060828fb3ba8129d0e1e8e071e93d60d69c6d03be310c80e61cea93
|
||||
|
|
|
@ -1,77 +0,0 @@
|
|||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
AT_M4DIR="config"
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
DISTUTILS_OPTIONAL=1
|
||||
inherit autotools distutils-r1
|
||||
|
||||
DESCRIPTION="simplified, portable interface to several low-level networking routines"
|
||||
HOMEPAGE="https://github.com/dugsong/libdnet"
|
||||
SRC_URI="
|
||||
https://github.com/dugsong/libdnet/archive/${P}.tar.gz
|
||||
ipv6? ( https://fragroute-ipv6.googlecode.com/files/${P}.ipv6-1.patch.gz )
|
||||
"
|
||||
LICENSE="LGPL-2"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
|
||||
IUSE="ipv6 python static-libs test"
|
||||
|
||||
DEPEND="
|
||||
python? ( ${PYTHON_DEPS} )
|
||||
"
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
"
|
||||
RESTRICT="test"
|
||||
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
|
||||
DOCS=( README THANKS TODO )
|
||||
S=${WORKDIR}/${PN}-${P}
|
||||
|
||||
src_prepare() {
|
||||
# Useless copy
|
||||
rm -r trunk/ || die
|
||||
|
||||
sed -i \
|
||||
-e 's/libcheck.a/libcheck.so/g' \
|
||||
-e 's|AM_CONFIG_HEADER|AC_CONFIG_HEADERS|g' \
|
||||
configure.in || die
|
||||
sed -i -e 's|-L@libdir@ ||g' dnet-config.in || die
|
||||
use ipv6 && eapply "${WORKDIR}/${P}.ipv6-1.patch"
|
||||
sed -i -e '/^SUBDIRS/s|python||g' Makefile.am || die
|
||||
eautoreconf
|
||||
|
||||
if use python; then
|
||||
cd python
|
||||
distutils-r1_src_prepare
|
||||
fi
|
||||
|
||||
eapply_user
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
$(use_with python) \
|
||||
$(use_enable static-libs static)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
default
|
||||
if use python; then
|
||||
cd python
|
||||
distutils-r1_src_compile
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
if use python; then
|
||||
cd python
|
||||
unset DOCS
|
||||
distutils-r1_src_install
|
||||
fi
|
||||
find "${D}" -name '*.la' -delete || die
|
||||
}
|
|
@ -1,70 +0,0 @@
|
|||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
AT_M4DIR="config"
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
DISTUTILS_OPTIONAL=1
|
||||
|
||||
inherit autotools distutils-r1 eutils ltprune
|
||||
|
||||
DESCRIPTION="simplified, portable interface to several low-level networking routines"
|
||||
HOMEPAGE="https://github.com/dugsong/libdnet"
|
||||
SRC_URI="https://libdnet.googlecode.com/files/${P}.tgz
|
||||
ipv6? ( https://fragroute-ipv6.googlecode.com/files/${P}.ipv6-1.patch.gz )"
|
||||
|
||||
LICENSE="LGPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 arm hppa ~ia64 ~mips ppc ppc64 sparc x86"
|
||||
IUSE="ipv6 python static-libs test"
|
||||
|
||||
#DEPEND="test? ( dev-libs/check )"
|
||||
DEPEND="python? ( ${PYTHON_DEPS} )"
|
||||
RDEPEND="${DEPEND}"
|
||||
RESTRICT="test"
|
||||
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
|
||||
|
||||
DOCS=( README THANKS TODO )
|
||||
|
||||
src_prepare() {
|
||||
# Useless copy
|
||||
rm -r trunk/ || die
|
||||
|
||||
sed -i \
|
||||
-e 's/libcheck.a/libcheck.so/g' \
|
||||
-e 's|AM_CONFIG_HEADER|AC_CONFIG_HEADERS|g' \
|
||||
configure.in || die
|
||||
sed -i -e 's|-L@libdir@ ||g' dnet-config.in || die
|
||||
use ipv6 && epatch "${WORKDIR}/${P}.ipv6-1.patch"
|
||||
sed -i -e '/^SUBDIRS/s|python||g' Makefile.am || die
|
||||
eautoreconf
|
||||
if use python; then
|
||||
cd python
|
||||
distutils-r1_src_prepare
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
$(use_with python) \
|
||||
$(use_enable static-libs static)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
default
|
||||
if use python; then
|
||||
cd python
|
||||
distutils-r1_src_compile
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
if use python; then
|
||||
cd python
|
||||
unset DOCS
|
||||
distutils-r1_src_install
|
||||
fi
|
||||
prune_libtool_files
|
||||
}
|
|
@ -13,7 +13,7 @@ SRC_URI="https://github.com/ofalk/${PN}/archive/${P}.tar.gz"
|
|||
LICENSE="LGPL-2"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 arm hppa ~ia64 ~mips ppc ppc64 sparc ~x86"
|
||||
KEYWORDS="~alpha amd64 arm hppa ~ia64 ~mips ppc ppc64 sparc x86"
|
||||
IUSE="python static-libs test"
|
||||
|
||||
DEPEND="
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue