parent
7eba843373
commit
27ccab8004
Binary file not shown.
Binary file not shown.
@ -0,0 +1,9 @@
|
|||||||
|
# Copyright 2019 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
inherit acct-group
|
||||||
|
|
||||||
|
DESCRIPTION="Group for mail-filter/milter-regex"
|
||||||
|
ACCT_GROUP_ID=438
|
@ -0,0 +1,12 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||||
|
<pkgmetadata>
|
||||||
|
<maintainer type="person">
|
||||||
|
<email>monsieurp@gentoo.org</email>
|
||||||
|
<name>Patrice Clement</name>
|
||||||
|
</maintainer>
|
||||||
|
<maintainer type="project">
|
||||||
|
<email>shell-tools@gentoo.org</email>
|
||||||
|
<name>Gentoo Shell Tools Project</name>
|
||||||
|
</maintainer>
|
||||||
|
</pkgmetadata>
|
@ -0,0 +1,9 @@
|
|||||||
|
# Copyright 2019 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
inherit acct-group
|
||||||
|
|
||||||
|
DESCRIPTION="shellinabox group"
|
||||||
|
ACCT_GROUP_ID=139
|
Binary file not shown.
@ -0,0 +1,13 @@
|
|||||||
|
# Copyright 2019 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
inherit acct-user
|
||||||
|
|
||||||
|
DESCRIPTION="User for mail-filter/milter-regex"
|
||||||
|
|
||||||
|
ACCT_USER_ID=438
|
||||||
|
ACCT_USER_GROUPS=( milter-regex )
|
||||||
|
|
||||||
|
acct-user_add_deps
|
@ -0,0 +1,12 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||||
|
<pkgmetadata>
|
||||||
|
<maintainer type="person">
|
||||||
|
<email>monsieurp@gentoo.org</email>
|
||||||
|
<name>Patrice Clement</name>
|
||||||
|
</maintainer>
|
||||||
|
<maintainer type="project">
|
||||||
|
<email>shell-tools@gentoo.org</email>
|
||||||
|
<name>Gentoo Shell Tools Project</name>
|
||||||
|
</maintainer>
|
||||||
|
</pkgmetadata>
|
@ -0,0 +1,12 @@
|
|||||||
|
# Copyright 2019 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
inherit acct-user
|
||||||
|
|
||||||
|
DESCRIPTION="shellinabox user"
|
||||||
|
ACCT_USER_ID=139
|
||||||
|
ACCT_USER_GROUPS=( shellinaboxd )
|
||||||
|
|
||||||
|
acct-user_add_deps
|
Binary file not shown.
@ -1,3 +1,3 @@
|
|||||||
DIST sudo-1.8.28p1.tar.gz 3310254 BLAKE2B a1810af7a42d05cce49bb9d0acf6f3731a5193e9e9c3b458691379131eb86d36995854d11c09525e8d999ed1da7e99cf170634667c5a444aa522b8f23db7d1aa SHA512 bda3de34c15fbb68fc29759542295560ccc1562b419d03709cea51613937e9b92ba689c79c3ef4858aeea90d3d1a4dc0148225b11b22cf82395ae1bad8cb1734
|
DIST sudo-1.8.28p1.tar.gz 3310254 BLAKE2B a1810af7a42d05cce49bb9d0acf6f3731a5193e9e9c3b458691379131eb86d36995854d11c09525e8d999ed1da7e99cf170634667c5a444aa522b8f23db7d1aa SHA512 bda3de34c15fbb68fc29759542295560ccc1562b419d03709cea51613937e9b92ba689c79c3ef4858aeea90d3d1a4dc0148225b11b22cf82395ae1bad8cb1734
|
||||||
DIST sudo-1.8.29.tar.gz 3338260 BLAKE2B 7ba29d155bfb1d7ba20e32ade2e8ee3919e70400b6c235e313052b247b48406b9a051e71daa7e47fdb0a9fd0889f4c05b8a1a170c027503b90081e8cec81660e SHA512 ea780922b2afb47df4df4b533fb355fd916cb18a6bfd13c7ca36a25b03ef585d805648c6fa85692bea363b1f83664ac3bc622f99bcd149b3a86f70522eb4d340
|
DIST sudo-1.8.29.tar.gz 3338260 BLAKE2B 7ba29d155bfb1d7ba20e32ade2e8ee3919e70400b6c235e313052b247b48406b9a051e71daa7e47fdb0a9fd0889f4c05b8a1a170c027503b90081e8cec81660e SHA512 ea780922b2afb47df4df4b533fb355fd916cb18a6bfd13c7ca36a25b03ef585d805648c6fa85692bea363b1f83664ac3bc622f99bcd149b3a86f70522eb4d340
|
||||||
DIST sudo-1.8.30b1.tar.gz 3341783 BLAKE2B fb950277ed66bd83516505cd2eb49b43412d5e95d4afcacf9cde34d685d5d80530deb248c3d421e1fc55343871d80eefdd492489f9bca6c952f81145f4a29746 SHA512 26525d2376fd80796fac146970ca5bbabe170900aca81f7ad71f80828920d27f323fbbf0191b1ba6ef027a53a156c5849aaee21e495b16f2b5188dfedf9746ba
|
DIST sudo-1.8.30b2.tar.gz 3348480 BLAKE2B f158553fde9b5878cec39f95a69e6d3ef51ea8e5f5074c6b369d01d26c2de973bfefe5b40c64fc0c998f4e0045e054fcf8e01cfdc668003451489566c51f6ac2 SHA512 3d9e17ae4a51c65504d47a8a4a353f13fb2c761ffb90e0e9aca83e32effdd8bd826c96d80bdf9bb5520db37f02762937f020e64a330a530a1032c000d7cfa1f7
|
||||||
|
Binary file not shown.
@ -1 +1 @@
|
|||||||
DIST stress-ng-0.10.13.tar.xz 409940 BLAKE2B fffeaedd999a0887955674f3883f65124eb13814cf284ab1bd7c7dec34380cd381026d9217c9f949a7c0c2227c8b9558409153d0feff01473a6c9f49730f89b4 SHA512 97e8a7ce5dc5e428c26b0d4eeb1350c43c1043aa7dbf591112768c33e208bafe9df7fe737c9a912f0b4296d64e4b27b81131b459c356aca95bc8856e8b939639
|
DIST stress-ng-0.10.14.tar.xz 410204 BLAKE2B 347a8e5eed70b23022de7bf6af53547e25e704647f6d37f328a60e3023b40a44f627f146199d847641ef5493e167cdcce11d1b945b851bbc4c84cf67b449d1f8 SHA512 f2c2f46c72f7d5a10f2522be775821d6f199253eac4e9a1f0ecdb3c7007a0ab4eb0c671b35abbff34601fcf71f4c8ea60c8bdca9a5a7986c9e9c0e2e009f462a
|
||||||
|
Binary file not shown.
@ -1,57 +0,0 @@
|
|||||||
# Copyright 1999-2019 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
inherit autotools systemd user
|
|
||||||
|
|
||||||
DESCRIPTION="TPM2 Access Broker & Resource Manager"
|
|
||||||
HOMEPAGE="https://github.com/tpm2-software/tpm2-abrmd"
|
|
||||||
SRC_URI="https://github.com/tpm2-software/${PN}/releases/download/${PV}/${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="BSD"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64"
|
|
||||||
IUSE="static-libs test"
|
|
||||||
RESTRICT="!test? ( test )"
|
|
||||||
|
|
||||||
RDEPEND="sys-apps/dbus:=
|
|
||||||
dev-libs/glib:=
|
|
||||||
app-crypt/tpm2-tss:="
|
|
||||||
DEPEND="${RDEPEND}
|
|
||||||
test? ( dev-util/cmocka )"
|
|
||||||
BDEPEND="virtual/pkgconfig
|
|
||||||
dev-util/gdbus-codegen"
|
|
||||||
|
|
||||||
PATCHES=(
|
|
||||||
"${FILESDIR}/${P}-build.patch"
|
|
||||||
)
|
|
||||||
|
|
||||||
pkg_setup() {
|
|
||||||
enewgroup tss
|
|
||||||
enewuser tss -1 -1 / tss
|
|
||||||
}
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
default
|
|
||||||
eautoreconf
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
econf \
|
|
||||||
$(use_enable static-libs static) \
|
|
||||||
$(use_enable test unit) \
|
|
||||||
--disable-defaultflags \
|
|
||||||
--with-dbuspolicydir="${EPREFIX}/etc/dbus-1/system.d" \
|
|
||||||
--with-systemdpresetdir="$(systemd_get_systemunitdir)/../system-preset" \
|
|
||||||
--with-systemdpresetdisable \
|
|
||||||
--with-systemdsystemunitdir="$(systemd_get_systemunitdir)"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
default
|
|
||||||
find "${D}" -name '*.la' -delete || die
|
|
||||||
|
|
||||||
newinitd "${FILESDIR}"/${PN}.initd ${PN}
|
|
||||||
newconfd "${FILESDIR}"/${PN}.confd ${PN}
|
|
||||||
}
|
|
@ -1,55 +0,0 @@
|
|||||||
# Copyright 1999-2019 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
inherit linux-info udev user
|
|
||||||
|
|
||||||
DESCRIPTION="TCG Trusted Platform Module 2.0 Software Stack"
|
|
||||||
HOMEPAGE="https://github.com/tpm2-software/tpm2-tss"
|
|
||||||
SRC_URI="https://github.com/tpm2-software/${PN}/releases/download/${PV}/${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="BSD-2"
|
|
||||||
SLOT="0/0" # sublot is libtss2-sys number
|
|
||||||
KEYWORDS="~amd64"
|
|
||||||
IUSE="doc +gcrypt openssl static-libs test"
|
|
||||||
RESTRICT="!test? ( test )"
|
|
||||||
|
|
||||||
REQUIRED_USE="
|
|
||||||
gcrypt? ( !openssl )
|
|
||||||
openssl? ( !gcrypt )
|
|
||||||
|| ( gcrypt openssl )"
|
|
||||||
|
|
||||||
RDEPEND="gcrypt? ( dev-libs/libgcrypt:0= )
|
|
||||||
openssl? ( dev-libs/openssl:0= )"
|
|
||||||
DEPEND="${RDEPEND}
|
|
||||||
test? ( dev-util/cmocka )"
|
|
||||||
BDEPEND="virtual/pkgconfig
|
|
||||||
doc? ( app-doc/doxygen )"
|
|
||||||
|
|
||||||
pkg_setup() {
|
|
||||||
local CONFIG_CHECK=" \
|
|
||||||
~TCG_TPM
|
|
||||||
"
|
|
||||||
linux-info_pkg_setup
|
|
||||||
kernel_is ge 4 12 0 || ewarn "At least kernel 4.12.0 is required"
|
|
||||||
|
|
||||||
enewgroup tss
|
|
||||||
enewuser tss -1 -1 /var/lib/tpm tss
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
econf \
|
|
||||||
$(use_enable doc doxygen-doc) \
|
|
||||||
$(use_enable static-libs static) \
|
|
||||||
$(use_enable test unit) \
|
|
||||||
--disable-defaultflags \
|
|
||||||
--with-crypto="$(usex gcrypt gcrypt ossl)" \
|
|
||||||
--with-udevrulesdir="$(get_udevdir)/rules.d" \
|
|
||||||
--with-udevrulesprefix=60-
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
default
|
|
||||||
find "${D}" -name '*.la' -delete || die
|
|
||||||
}
|
|
Binary file not shown.
@ -1,2 +1,3 @@
|
|||||||
DIST ebuild-mode-1.47.tar.xz 34812 BLAKE2B abbc3be110239f9e1765d4f1293856a7fc616d497ac5256a28b7d78fc57c8d725abccbf7b9e5908cb85f9a684dc1be26ab88152d836c2ec3a481802091729717 SHA512 13ee756ef914a314f6705df78735a3926a50d156f4abeff917bed68298aec81f072d53a60f7b985d9bb2caddcdbf65fd26f6c9189e6c5c1822674d9142b7db17
|
DIST ebuild-mode-1.47.tar.xz 34812 BLAKE2B abbc3be110239f9e1765d4f1293856a7fc616d497ac5256a28b7d78fc57c8d725abccbf7b9e5908cb85f9a684dc1be26ab88152d836c2ec3a481802091729717 SHA512 13ee756ef914a314f6705df78735a3926a50d156f4abeff917bed68298aec81f072d53a60f7b985d9bb2caddcdbf65fd26f6c9189e6c5c1822674d9142b7db17
|
||||||
DIST ebuild-mode-1.48.tar.xz 34764 BLAKE2B cd54e8a1b65232538924aafd10f6dcadd457634313ccf08c97b841d0255f02496a0e3308a4d9cdcd5cbbc41f9f5c373e14641fa31202cfa369fd10f8562cf5da SHA512 d37d7951030877454416dca761c9775eadaa514f29bba8745f61c0f3a5ecb42675c230301286d5a8cce76d8ef7082f5db76151f69b35f6a999118c5e60a5f9c0
|
DIST ebuild-mode-1.48.tar.xz 34764 BLAKE2B cd54e8a1b65232538924aafd10f6dcadd457634313ccf08c97b841d0255f02496a0e3308a4d9cdcd5cbbc41f9f5c373e14641fa31202cfa369fd10f8562cf5da SHA512 d37d7951030877454416dca761c9775eadaa514f29bba8745f61c0f3a5ecb42675c230301286d5a8cce76d8ef7082f5db76151f69b35f6a999118c5e60a5f9c0
|
||||||
|
DIST ebuild-mode-1.49.tar.xz 34632 BLAKE2B 3e7814363aedbb5a05193faccc0815a7f4b0f56eacb03fb720fa270ac69faa163bd8164639390b1703bb0a82341975e9bfea143c651b5b0ba2825b2bbb3b3329 SHA512 440e23aa6f63307955a9c970f5cbcc175eb14cca4ff4035da4f10fa22d9c6766b29ca7842b800a43c46063f3045c2ff3b2d6b8e27026f47bd0ed0959a8f2d0e9
|
||||||
|
@ -0,0 +1,22 @@
|
|||||||
|
# Copyright 1999-2019 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
inherit elisp readme.gentoo-r1
|
||||||
|
|
||||||
|
DESCRIPTION="Emacs modes for editing ebuilds and other Gentoo specific files"
|
||||||
|
HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Emacs"
|
||||||
|
SRC_URI="https://dev.gentoo.org/~ulm/emacs/${P}.tar.xz"
|
||||||
|
|
||||||
|
LICENSE="GPL-2+"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
|
||||||
|
|
||||||
|
BDEPEND="sys-apps/texinfo"
|
||||||
|
|
||||||
|
DOCS="ChangeLog keyword-generation.sh"
|
||||||
|
ELISP_TEXINFO="${PN}.texi"
|
||||||
|
SITEFILE="50${PN}-gentoo-1.39.el"
|
||||||
|
DOC_CONTENTS="Some optional features may require installation of additional
|
||||||
|
packages, like dev-python/docutils-glep for glep."
|
Binary file not shown.
@ -1,29 +0,0 @@
|
|||||||
# Copyright 1999-2013 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=4
|
|
||||||
|
|
||||||
inherit eutils toolchain-funcs
|
|
||||||
|
|
||||||
DESCRIPTION="Find deleted files in block devices"
|
|
||||||
HOMEPAGE="http://www.itu.dk/people/jobr/magicrescue/"
|
|
||||||
SRC_URI="http://www.itu.dk/people/jobr/magicrescue/release/${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="GPL-2"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="amd64 ~ppc x86"
|
|
||||||
IUSE=""
|
|
||||||
|
|
||||||
DEPEND="|| ( sys-libs/gdbm sys-libs/db )"
|
|
||||||
RDEPEND="${DEPEND}"
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
epatch "${FILESDIR}"/${P}-makefile.patch
|
|
||||||
epatch "${FILESDIR}"/${P}-ldflags.patch
|
|
||||||
tc-export CC
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
# Not autotools, just looks like it sometimes
|
|
||||||
./configure --prefix=/usr || die
|
|
||||||
}
|
|
Binary file not shown.
Binary file not shown.
@ -1,2 +1,3 @@
|
|||||||
DIST ebuild-mode-1.47.tar.xz 34812 BLAKE2B abbc3be110239f9e1765d4f1293856a7fc616d497ac5256a28b7d78fc57c8d725abccbf7b9e5908cb85f9a684dc1be26ab88152d836c2ec3a481802091729717 SHA512 13ee756ef914a314f6705df78735a3926a50d156f4abeff917bed68298aec81f072d53a60f7b985d9bb2caddcdbf65fd26f6c9189e6c5c1822674d9142b7db17
|
DIST ebuild-mode-1.47.tar.xz 34812 BLAKE2B abbc3be110239f9e1765d4f1293856a7fc616d497ac5256a28b7d78fc57c8d725abccbf7b9e5908cb85f9a684dc1be26ab88152d836c2ec3a481802091729717 SHA512 13ee756ef914a314f6705df78735a3926a50d156f4abeff917bed68298aec81f072d53a60f7b985d9bb2caddcdbf65fd26f6c9189e6c5c1822674d9142b7db17
|
||||||
DIST ebuild-mode-1.48.tar.xz 34764 BLAKE2B cd54e8a1b65232538924aafd10f6dcadd457634313ccf08c97b841d0255f02496a0e3308a4d9cdcd5cbbc41f9f5c373e14641fa31202cfa369fd10f8562cf5da SHA512 d37d7951030877454416dca761c9775eadaa514f29bba8745f61c0f3a5ecb42675c230301286d5a8cce76d8ef7082f5db76151f69b35f6a999118c5e60a5f9c0
|
DIST ebuild-mode-1.48.tar.xz 34764 BLAKE2B cd54e8a1b65232538924aafd10f6dcadd457634313ccf08c97b841d0255f02496a0e3308a4d9cdcd5cbbc41f9f5c373e14641fa31202cfa369fd10f8562cf5da SHA512 d37d7951030877454416dca761c9775eadaa514f29bba8745f61c0f3a5ecb42675c230301286d5a8cce76d8ef7082f5db76151f69b35f6a999118c5e60a5f9c0
|
||||||
|
DIST ebuild-mode-1.49.tar.xz 34632 BLAKE2B 3e7814363aedbb5a05193faccc0815a7f4b0f56eacb03fb720fa270ac69faa163bd8164639390b1703bb0a82341975e9bfea143c651b5b0ba2825b2bbb3b3329 SHA512 440e23aa6f63307955a9c970f5cbcc175eb14cca4ff4035da4f10fa22d9c6766b29ca7842b800a43c46063f3045c2ff3b2d6b8e27026f47bd0ed0959a8f2d0e9
|
||||||
|
@ -0,0 +1,36 @@
|
|||||||
|
# Copyright 1999-2019 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
DESCRIPTION="Emacs modes for editing ebuilds and other Gentoo specific files"
|
||||||
|
HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Emacs"
|
||||||
|
SRC_URI="https://dev.gentoo.org/~ulm/emacs/${P}.tar.xz"
|
||||||
|
|
||||||
|
LICENSE="GPL-2+"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~hppa ~x86"
|
||||||
|
|
||||||
|
RDEPEND=">=app-editors/xemacs-21.4.20-r5
|
||||||
|
app-xemacs/sh-script"
|
||||||
|
BDEPEND="${RDEPEND}"
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
local XEMACS="${EPREFIX}/usr/bin/xemacs"
|
||||||
|
|
||||||
|
"${XEMACS}" -batch -q --no-site-file \
|
||||||
|
-eval "(add-to-list 'load-path \".\")" \
|
||||||
|
-f batch-byte-compile \
|
||||||
|
ebuild-mode.el gentoo-newsitem-mode.el || die
|
||||||
|
|
||||||
|
"${XEMACS}" -batch -q --no-site-file \
|
||||||
|
-eval "(setq autoload-package-name \"${PN}\")" \
|
||||||
|
-eval "(setq generated-autoload-file \"${S}/auto-autoloads.el\")" \
|
||||||
|
-l autoload -f batch-update-autoloads \
|
||||||
|
ebuild-mode.el gentoo-newsitem-mode.el || die
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
insinto /usr/share/xemacs/site-packages/lisp/${PN}
|
||||||
|
doins *.el *.elc
|
||||||
|
}
|
Binary file not shown.
@ -1,45 +0,0 @@
|
|||||||
--- hscolour-1.19-orig/Language/Haskell/HsColour/Colourise.hs 2011-06-06 03:05:04.000000000 +1000
|
|
||||||
+++ hscolour-1.19/Language/Haskell/HsColour/Colourise.hs 2012-06-24 10:29:57.990963394 +1000
|
|
||||||
@@ -1,3 +1,7 @@
|
|
||||||
+{-# LANGUAGE CPP #-}
|
|
||||||
+#if (__GLASGOW_HASKELL__>=705)
|
|
||||||
+{-# LANGUAGE ScopedTypeVariables #-}
|
|
||||||
+#endif
|
|
||||||
module Language.Haskell.HsColour.Colourise
|
|
||||||
( module Language.Haskell.HsColour.ColourHighlight
|
|
||||||
, ColourPrefs(..)
|
|
||||||
@@ -9,6 +13,9 @@
|
|
||||||
import Language.Haskell.HsColour.ColourHighlight
|
|
||||||
import Language.Haskell.HsColour.Classify (TokenType(..))
|
|
||||||
|
|
||||||
+#if (__GLASGOW_HASKELL__>=705)
|
|
||||||
+import Control.Exception (catch, SomeException)
|
|
||||||
+#endif
|
|
||||||
import System.IO (hPutStrLn,stderr)
|
|
||||||
import System.Environment (getEnv)
|
|
||||||
import Data.List
|
|
||||||
@@ -51,6 +58,16 @@
|
|
||||||
-- | Read colour preferences from .hscolour file in the current directory, or failing that,
|
|
||||||
-- from \$HOME\/.hscolour, and failing that, returns a default set of prefs.
|
|
||||||
readColourPrefs :: IO ColourPrefs
|
|
||||||
+#if (__GLASGOW_HASKELL__>=705)
|
|
||||||
+readColourPrefs = catch
|
|
||||||
+ (do val <- readFile ".hscolour"
|
|
||||||
+ parseColourPrefs ".hscolour" val)
|
|
||||||
+ (\(_ :: SomeException) -> catch
|
|
||||||
+ (do home <- getEnv "HOME"
|
|
||||||
+ val <- readFile (home++"/.hscolour")
|
|
||||||
+ parseColourPrefs (home++"/.hscolour") val)
|
|
||||||
+ (\(_ :: SomeException) -> return defaultColourPrefs))
|
|
||||||
+#else
|
|
||||||
readColourPrefs = catch
|
|
||||||
(do val <- readFile ".hscolour"
|
|
||||||
parseColourPrefs ".hscolour" val)
|
|
||||||
@@ -59,6 +76,7 @@
|
|
||||||
val <- readFile (home++"/.hscolour")
|
|
||||||
parseColourPrefs (home++"/.hscolour") val)
|
|
||||||
(\_-> return defaultColourPrefs))
|
|
||||||
+#endif
|
|
||||||
|
|
||||||
-- | Convert token classification to colour highlights.
|
|
||||||
colourise :: ColourPrefs -> TokenType -> [Highlight]
|
|
Binary file not shown.
@ -1,26 +0,0 @@
|
|||||||
diff --git a/spec/std/http/server/server_spec.cr b/spec/std/http/server/server_spec.cr
|
|
||||||
index 9de0c3f..59882db 100644
|
|
||||||
--- a/spec/std/http/server/server_spec.cr
|
|
||||||
+++ b/spec/std/http/server/server_spec.cr
|
|
||||||
@@ -400,7 +400,9 @@ module HTTP
|
|
||||||
end
|
|
||||||
|
|
||||||
describe "#bind_tls" do
|
|
||||||
- it "binds SSL server context" do
|
|
||||||
+ # gentoo's FEATURES=network-sandbox blocks external network:
|
|
||||||
+ # connect: Connection timed out (Errno)
|
|
||||||
+ pending "binds SSL server context" do
|
|
||||||
server = Server.new do |context|
|
|
||||||
context.response.puts "Test Server (#{context.request.headers["Host"]?})"
|
|
||||||
context.response.close
|
|
||||||
@@ -512,7 +514,9 @@ module HTTP
|
|
||||||
end
|
|
||||||
{% end %}
|
|
||||||
|
|
||||||
- it "handles exception during SSL handshake (#6577)" do
|
|
||||||
+ # gentoo's FEATURES=network-sandbox blocks external network:
|
|
||||||
+ # connect: Connection timed out (Errno)
|
|
||||||
+ pending "handles exception during SSL handshake (#6577)" do
|
|
||||||
server = SilentErrorHTTPServer.new do |context|
|
|
||||||
context.response.print "ok"
|
|
||||||
context.response.close
|
|
@ -1,12 +0,0 @@
|
|||||||
--- a/spec/std/http/server/server_spec.cr
|
|
||||||
+++ b/spec/std/http/server/server_spec.cr
|
|
||||||
@@ -524,7 +524,8 @@ module HTTP
|
|
||||||
end
|
|
||||||
|
|
||||||
describe "#close" do
|
|
||||||
- it "closes gracefully" do
|
|
||||||
+ # fails under gentoo's sandbox
|
|
||||||
+ pending "closes gracefully" do
|
|
||||||
server = Server.new do |context|
|
|
||||||
context.response.flush
|
|
||||||
context.response.puts "foo"
|
|
@ -1,7 +0,0 @@
|
|||||||
--- a/Makefile
|
|
||||||
+++ b/Makefile
|
|
||||||
@@ -29,3 +29,3 @@ SOURCES := $(shell find src -name '*.cr')
|
|
||||||
SPEC_SOURCES := $(shell find spec -name '*.cr')
|
|
||||||
-override FLAGS += -D preview_overflow -D compiler_rt $(if $(release),--release )$(if $(stats),--stats )$(if $(progress),--progress )$(if $(threads),--threads $(threads) )$(if $(debug),-d )$(if $(static),--static )$(if $(LDFLAGS),--link-flags="$(LDFLAGS)" )
|
|
||||||
+override FLAGS += -D preview_overflow -D compiler_rt $(if $(release),--release )$(if $(stats),--stats )$(if $(progress),--progress )$(if $(threads),--threads $(threads) )$(if $(debug),-d )$(if $(static),--static )$(if $(LDFLAGS),--link-flags="$(LDFLAGS)" )$(if $(verbose),--verbose )
|
|
||||||
SPEC_FLAGS := $(if $(verbose),-v )$(if $(junit_output),--junit_output $(junit_output) )
|
|
@ -0,0 +1,153 @@
|
|||||||
|
# Copyright 1999-2019 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
WX_GTK_VER="3.0"
|
||||||
|
|
||||||
|
inherit elisp-common java-pkg-opt-2 systemd wxwidgets
|
||||||
|
|
||||||
|
# NOTE: If you need symlinks for binaries please tell maintainers or
|
||||||
|
# open up a bug to let it be created.
|
||||||
|
|
||||||
|
UPSTREAM_V="$(ver_cut 1-2)"
|
||||||
|
|
||||||
|
DESCRIPTION="Erlang programming language, runtime environment and libraries (OTP)"
|
||||||
|
HOMEPAGE="https://www.erlang.org/"
|
||||||
|
SRC_URI="https://github.com/erlang/otp/archive/OTP-${PV}.tar.gz -> ${P}.tar.gz
|
||||||
|
http://erlang.org/download/otp_doc_man_${UPSTREAM_V}.tar.gz -> ${PN}_doc_man_${UPSTREAM_V}.tar.gz
|
||||||
|
doc? ( http://erlang.org/download/otp_doc_html_${UPSTREAM_V}.tar.gz -> ${PN}_doc_html_${UPSTREAM_V}.tar.gz )"
|
||||||
|
|
||||||
|
LICENSE="Apache-2.0"
|
||||||
|
# We use this subslot because Compiled HiPE Code can be loaded on the exact
|
||||||
|
# same build of ERTS that was used when compiling the code. See
|
||||||
|
# http://erlang.org/doc/system_principles/misc.html for more information.
|
||||||
|
SLOT="0/${PV}"
|
||||||
|
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris"
|
||||||
|
IUSE="doc emacs +hipe java +kpoll libressl odbc sctp ssl systemd tk wxwidgets"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
acct-group/epmd
|
||||||
|
acct-user/epmd
|
||||||
|
sys-libs/ncurses:0
|
||||||
|
sys-libs/zlib
|
||||||
|
emacs? ( >=app-editors/emacs-23.1:* )
|
||||||
|
java? ( >=virtual/jdk-1.8:* )
|
||||||
|
odbc? ( dev-db/unixODBC )
|
||||||
|
sctp? ( net-misc/lksctp-tools )
|
||||||
|
ssl? (
|
||||||
|
!libressl? ( >=dev-libs/openssl-0.9.7d:0= )
|
||||||
|
libressl? ( dev-libs/libressl:0= )
|
||||||
|
)
|
||||||
|
systemd? ( sys-apps/systemd )
|
||||||
|
tk? ( dev-lang/tk:0 )
|
||||||
|
wxwidgets? ( x11-libs/wxGTK:${WX_GTK_VER}[X,opengl] )
|
||||||
|
"
|
||||||
|
DEPEND="${RDEPEND}
|
||||||
|
dev-lang/perl
|
||||||
|
"
|
||||||
|
|
||||||
|
S="${WORKDIR}/otp-OTP-${PV}"
|
||||||
|
|
||||||
|
PATCHES=(
|
||||||
|
"${FILESDIR}/18.2.1-wx3.0.patch"
|
||||||
|
"${FILESDIR}/${PN}-22.0-dont-ignore-LDFLAGS.patch"
|
||||||
|
)
|
||||||
|
|
||||||
|
SITEFILE=50"${PN}"-gentoo.el
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
default
|
||||||
|
|
||||||
|
./otp_build autoconf || die
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
use wxwidgets && setup-wxwidgets
|
||||||
|
|
||||||
|
local myconf=(
|
||||||
|
--disable-builtin-zlib
|
||||||
|
$(use_enable hipe)
|
||||||
|
$(use_enable kpoll kernel-poll)
|
||||||
|
$(use_with java javac)
|
||||||
|
$(use_enable sctp)
|
||||||
|
$(use_with ssl ssl "${EPREFIX}"/usr)
|
||||||
|
$(use_enable ssl dynamic-ssl-lib)
|
||||||
|
$(use_enable systemd)
|
||||||
|
$(usex wxwidgets "--with-wx-config=${WX_CONFIG}" "--with-wxdir=/dev/null")
|
||||||
|
)
|
||||||
|
econf "${myconf[@]}"
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
emake
|
||||||
|
|
||||||
|
if use emacs ; then
|
||||||
|
pushd lib/tools/emacs &>/dev/null || die
|
||||||
|
elisp-compile *.el
|
||||||
|
popd &>/dev/null || die
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
extract_version() {
|
||||||
|
local path="$1"
|
||||||
|
local var_name="$2"
|
||||||
|
sed -n -e "/^${var_name} = \(.*\)$/s::\1:p" "${S}/${path}/vsn.mk" || die "extract_version() failed"
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
local erl_libdir_rel="$(get_libdir)/erlang"
|
||||||
|
local erl_libdir="/usr/${erl_libdir_rel}"
|
||||||
|
local erl_interface_ver="$(extract_version lib/erl_interface EI_VSN)"
|
||||||
|
local erl_erts_ver="$(extract_version erts VSN)"
|
||||||
|
local my_manpath="/usr/share/${PN}/man"
|
||||||
|
|
||||||
|
[[ -z "${erl_erts_ver}" ]] && die "Couldn't determine erts version"
|
||||||
|
[[ -z "${erl_interface_ver}" ]] && die "Couldn't determine interface version"
|
||||||
|
|
||||||
|
emake INSTALL_PREFIX="${D}" install
|
||||||
|
|
||||||
|
if use doc ; then
|
||||||
|
local DOCS=( "AUTHORS" "HOWTO"/* "README.md" "CONTRIBUTING.md" "${WORKDIR}"/doc/. "${WORKDIR}"/lib/. "${WORKDIR}"/erts-* )
|
||||||
|
docompress -x /usr/share/doc/${PF}
|
||||||
|
else
|
||||||
|
local DOCS=("README.md")
|
||||||
|
fi
|
||||||
|
|
||||||
|
einstalldocs
|
||||||
|
|
||||||
|
dosym "../${erl_libdir_rel}/bin/erl" /usr/bin/erl
|
||||||
|
dosym "../${erl_libdir_rel}/bin/erlc" /usr/bin/erlc
|
||||||
|
dosym "../${erl_libdir_rel}/bin/escript" /usr/bin/escript
|
||||||
|
dosym "../${erl_libdir_rel}/lib/erl_interface-${erl_interface_ver}/bin/erl_call" /usr/bin/erl_call
|
||||||
|
dosym "../${erl_libdir_rel}/erts-${erl_erts_ver}/bin/beam.smp" /usr/bin/beam.smp
|
||||||
|
|
||||||
|
## Clean up the no longer needed files
|
||||||
|
rm "${ED}/${erl_libdir}/Install" || die
|
||||||
|
|
||||||
|
insinto "${my_manpath}"
|
||||||
|
doins -r "${WORKDIR}"/man/*
|
||||||
|
# extend MANPATH, so the normal man command can find it
|
||||||
|
# see bug 189639
|
||||||
|
newenvd - "90erlang" <<-_EOF_
|
||||||
|
MANPATH="${my_manpath}"
|
||||||
|
_EOF_
|
||||||
|
|
||||||
|
if use emacs ; then
|
||||||
|
elisp-install erlang lib/tools/emacs/*.{el,elc}
|
||||||
|
sed -e "s:/usr/share:${EPREFIX}/usr/share:g" \
|
||||||
|
"${FILESDIR}/${SITEFILE}" > "${T}/${SITEFILE}" || die
|
||||||
|
elisp-site-file-install "${T}/${SITEFILE}"
|
||||||
|
fi
|
||||||
|
|
||||||
|
newinitd "${FILESDIR}"/epmd.init-r2 epmd
|
||||||
|
newconfd "${FILESDIR}"/epmd.confd-r2 epmd
|
||||||
|
use systemd && systemd_newunit "${FILESDIR}"/epmd.service-r1 epmd.service
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
use emacs && elisp-site-regen
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postrm() {
|
||||||
|
use emacs && elisp-site-regen
|
||||||
|
}
|
Binary file not shown.
@ -1,3 +1,4 @@
|
|||||||
DIST libfilezilla-0.15.1.tar.bz2 404746 BLAKE2B 644f4b8949670d5b07f9e7b861d388ce70eae6612e34bf938cb628b65724a527e33c1f039087fd8381c06a15c12cc2b4fc6f616cc5949bf325e2eebf41abdf2d SHA512 d557f7636bfc3958b8558fab3384b0ea84caea594566d39c051f20f02dfd71213369c50df282a3f7d2dd757038bd26e9722214839dab965cb7cde9733d59883a
|
DIST libfilezilla-0.15.1.tar.bz2 404746 BLAKE2B 644f4b8949670d5b07f9e7b861d388ce70eae6612e34bf938cb628b65724a527e33c1f039087fd8381c06a15c12cc2b4fc6f616cc5949bf325e2eebf41abdf2d SHA512 d557f7636bfc3958b8558fab3384b0ea84caea594566d39c051f20f02dfd71213369c50df282a3f7d2dd757038bd26e9722214839dab965cb7cde9733d59883a
|
||||||
DIST libfilezilla-0.18.2.tar.bz2 526968 BLAKE2B 81b27c18e9c04e2277dbe7a2fa2bfe3c1fa7c1f9c27eaf5cc02f309a15e9b61e71e5a67aa359c7bb36b27335f008cfb58641adcb42745ac00b9ac9eb2c649cde SHA512 6f165a008ea8e3090554070685ef042b5304a8e7fdeb9f16c81a01c00b5fcb3d4acd356cfaf3fc1189c04db0b726dd005c592f6c7c6b06a527d8b82e7890257b
|
DIST libfilezilla-0.18.2.tar.bz2 526968 BLAKE2B 81b27c18e9c04e2277dbe7a2fa2bfe3c1fa7c1f9c27eaf5cc02f309a15e9b61e71e5a67aa359c7bb36b27335f008cfb58641adcb42745ac00b9ac9eb2c649cde SHA512 6f165a008ea8e3090554070685ef042b5304a8e7fdeb9f16c81a01c00b5fcb3d4acd356cfaf3fc1189c04db0b726dd005c592f6c7c6b06a527d8b82e7890257b
|
||||||
DIST libfilezilla-0.19.1.tar.bz2 539952 BLAKE2B a581964a34c9104543eb06579e1f1b816b0f47e6ef3af0de9aa0b7528665ca0ac17ddf3c5327a434b8e344bdde5602f1b7a71b7cc755367e750c88de06329335 SHA512 1342a199e4bdc211437deaa4ff34fe7f7de476a664b1ea4dc8df0482db98eb6c21e03f9c7b510bc00c81f6dacd7fdec2fa721554fe6e71c5bb2763618759b1a1
|
DIST libfilezilla-0.19.1.tar.bz2 539952 BLAKE2B a581964a34c9104543eb06579e1f1b816b0f47e6ef3af0de9aa0b7528665ca0ac17ddf3c5327a434b8e344bdde5602f1b7a71b7cc755367e750c88de06329335 SHA512 1342a199e4bdc211437deaa4ff34fe7f7de476a664b1ea4dc8df0482db98eb6c21e03f9c7b510bc00c81f6dacd7fdec2fa721554fe6e71c5bb2763618759b1a1
|
||||||
|
DIST libfilezilla-0.19.3.tar.bz2 541117 BLAKE2B c0015be2fa632cc4bfd44d5e02bdc9e14c5ac0598e4c83fabc95e00dd82669963d02a8e7b3db33e554d86f333eb5a7afdd6235acfa7b336dbd5bbfbf334f4381 SHA512 264a3a110dc4e99f6b993479be9f25cf831297899c699d73e5ad5a403e11ff09fa9ab062a420a0111e78f7d6e68e92fa461c161c8fd7c274cf227ef45f618849
|
||||||
|
@ -0,0 +1,39 @@
|
|||||||
|
# Copyright 1999-2019 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
inherit flag-o-matic
|
||||||
|
|
||||||
|
DESCRIPTION="C++ library offering some basic functionality for platform-independent programs"
|
||||||
|
HOMEPAGE="https://lib.filezilla-project.org/"
|
||||||
|
SRC_URI="https://download.filezilla-project.org/${PN}/${P}.tar.bz2"
|
||||||
|
|
||||||
|
LICENSE="GPL-2+"
|
||||||
|
SLOT="0/3" # libfilezilla .so version
|
||||||
|
KEYWORDS="~amd64 ~arm ~ia64 ~ppc ~x86"
|
||||||
|
IUSE="test"
|
||||||
|
|
||||||
|
RESTRICT="!test? ( test )"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
dev-libs/nettle:0=
|
||||||
|
>=net-libs/gnutls-3.5.7:=
|
||||||
|
"
|
||||||
|
DEPEND="${RDEPEND}
|
||||||
|
test? ( dev-util/cppunit )"
|
||||||
|
|
||||||
|
pkg_pretend() {
|
||||||
|
if [[ ${MERGE_TYPE} != binary ]]; then
|
||||||
|
if ! test-flag-CXX -std=c++14; then
|
||||||
|
eerror "${P} requires C++14-capable C++ compiler. Your current compiler"
|
||||||
|
eerror "does not seem to support -std=c++14 option. Please upgrade your compiler"
|
||||||
|
eerror "to gcc-4.9 or an equivalent version supporting C++14."
|
||||||
|
die "Currently active compiler does not support -std=c++14"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
default
|
||||||
|
find "${ED}" -type f \( -name "*.a" -o -name "*.la" \) -delete || die
|
||||||
|
}
|
@ -0,0 +1,246 @@
|
|||||||
|
# Copyright 1999-2019 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI="7"
|
||||||
|
|
||||||
|
inherit flag-o-matic toolchain-funcs multilib multilib-minimal
|
||||||
|
|
||||||
|
# openssl-1.0.2-patches-1.6 contain additional CVE patches
|
||||||
|
# which got fixed with this release.
|
||||||
|
# Please use 1.7 version number when rolling a new tarball!
|
||||||
|
PATCH_SET="openssl-1.0.2-patches-1.5"
|
||||||
|
|
||||||
|
MY_P=openssl-${PV/_/-}
|
||||||
|
|
||||||
|
# This patch set is based on the following files from Fedora 25,
|
||||||
|
# see https://src.fedoraproject.org/rpms/openssl/blob/25/f/openssl.spec
|
||||||
|
# for more details:
|
||||||
|
# - hobble-openssl (SOURCE1)
|
||||||
|
# - ec_curve.c (SOURCE12) -- MODIFIED
|
||||||
|
# - ectest.c (SOURCE13)
|
||||||
|
# - openssl-1.1.1-ec-curves.patch (PATCH37) -- MODIFIED
|
||||||
|
BINDIST_PATCH_SET="openssl-1.0.2t-bindist-1.0.tar.xz"
|
||||||
|
|
||||||
|
DESCRIPTION="full-strength general purpose cryptography library (including SSL and TLS)"
|
||||||
|
HOMEPAGE="https://www.openssl.org/"
|
||||||
|
SRC_URI="mirror://openssl/source/${MY_P}.tar.gz
|
||||||
|
bindist? (
|
||||||
|
mirror://gentoo/${BINDIST_PATCH_SET}
|
||||||
|
https://dev.gentoo.org/~whissi/dist/openssl/${BINDIST_PATCH_SET}
|
||||||
|
)
|
||||||
|
!vanilla? (
|
||||||
|
mirror://gentoo/${PATCH_SET}.tar.xz
|
||||||
|
https://dev.gentoo.org/~chutzpah/dist/openssl/${PATCH_SET}.tar.xz
|
||||||
|
https://dev.gentoo.org/~whissi/dist/openssl/${PATCH_SET}.tar.xz
|
||||||
|
https://dev.gentoo.org/~polynomial-c/dist/${PATCH_SET}.tar.xz
|
||||||
|
)"
|
||||||
|
|
||||||
|
LICENSE="openssl"
|
||||||
|
SLOT="1.0.0"
|
||||||
|
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sh ~sparc ~x86 ~x86-linux"
|
||||||
|
IUSE="+asm bindist gmp kerberos rfc3779 sctp cpu_flags_x86_sse2 sslv2 +sslv3 static-libs test +tls-heartbeat vanilla zlib"
|
||||||
|
|
||||||
|
RESTRICT="!bindist? ( bindist )
|
||||||
|
test"
|
||||||
|
|
||||||
|
RDEPEND="gmp? ( >=dev-libs/gmp-5.1.3-r1[static-libs(+)?,${MULTILIB_USEDEP}] )
|
||||||
|
kerberos? ( >=app-crypt/mit-krb5-1.11.4[${MULTILIB_USEDEP}] )
|
||||||
|
zlib? ( >=sys-libs/zlib-1.2.8-r1[static-libs(+)?,${MULTILIB_USEDEP}] )
|
||||||
|
!=dev-libs/openssl-1.0.2*:0
|
||||||
|
!dev-libs/openssl:1.0.0"
|
||||||
|
DEPEND="${RDEPEND}"
|
||||||
|
BDEPEND="
|
||||||
|
>=dev-lang/perl-5
|
||||||
|
sctp? ( >=net-misc/lksctp-tools-1.0.12 )
|
||||||
|
test? (
|
||||||
|
sys-apps/diffutils
|
||||||
|
sys-devel/bc
|
||||||
|
)"
|
||||||
|
|
||||||
|
# Do not install any docs
|
||||||
|
DOCS=()
|
||||||
|
|
||||||
|
S="${WORKDIR}/${MY_P}"
|
||||||
|
|
||||||
|
MULTILIB_WRAPPED_HEADERS=(
|
||||||
|
usr/include/openssl/opensslconf.h
|
||||||
|
)
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
if use bindist; then
|
||||||
|
mv "${WORKDIR}"/bindist-patches/hobble-openssl "${WORKDIR}" || die
|
||||||
|
bash "${WORKDIR}"/hobble-openssl || die
|
||||||
|
|
||||||
|
cp -f "${WORKDIR}"/bindist-patches/ec_curve.c "${S}"/crypto/ec/ || die
|
||||||
|
cp -f "${WORKDIR}"/bindist-patches/ectest.c "${S}"/crypto/ec/ || die
|
||||||
|
|
||||||
|
eapply "${WORKDIR}"/bindist-patches/ec-curves.patch
|
||||||
|
|
||||||
|
# Also see the configure parts below:
|
||||||
|
# enable-ec \
|
||||||
|
# $(use_ssl !bindist ec2m) \
|
||||||
|
# $(use_ssl !bindist srp) \
|
||||||
|
fi
|
||||||
|
|
||||||
|
# keep this in sync with app-misc/c_rehash
|
||||||
|
SSL_CNF_DIR="/etc/ssl"
|
||||||
|
|
||||||
|
# Make sure we only ever touch Makefile.org and avoid patching a file
|
||||||
|
# that gets blown away anyways by the Configure script in src_configure
|
||||||
|
rm -f Makefile
|
||||||
|
|
||||||
|
if ! use vanilla ; then
|
||||||
|
eapply "${WORKDIR}"/patch/*.patch
|
||||||
|
fi
|
||||||
|
|
||||||
|
eapply_user
|
||||||
|
|
||||||
|
# disable fips in the build
|
||||||
|
# make sure the man pages are suffixed #302165
|
||||||
|
# don't bother building man pages if they're disabled
|
||||||
|
sed -i \
|
||||||
|
-e '/DIRS/s: fips : :g' \
|
||||||
|
-e '/^MANSUFFIX/s:=.*:=ssl:' \
|
||||||
|
-e '/^MAKEDEPPROG/s:=.*:=$(CC):' \
|
||||||
|
-e $(has noman FEATURES \
|
||||||
|
&& echo '/^install:/s:install_docs::' \
|
||||||
|
|| echo '/^MANDIR=/s:=.*:='${EPREFIX}'/usr/share/man:') \
|
||||||
|
Makefile.org \
|
||||||
|
|| die
|
||||||
|
# show the actual commands in the log
|
||||||
|
sed -i '/^SET_X/s:=.*:=set -x:' Makefile.shared
|
||||||
|
|
||||||
|
# since we're forcing $(CC) as makedep anyway, just fix
|
||||||
|
# the conditional as always-on
|
||||||
|
# helps clang (#417795), and versioned gcc (#499818)
|
||||||
|
# this breaks build with 1.0.2p, not sure if it is needed anymore
|
||||||
|
#sed -i 's/expr.*MAKEDEPEND.*;/true;/' util/domd || die
|
||||||
|
|
||||||
|
# quiet out unknown driver argument warnings since openssl
|
||||||
|
# doesn't have well-split CFLAGS and we're making it even worse
|
||||||
|
# and 'make depend' uses -Werror for added fun (#417795 again)
|
||||||
|
[[ ${CC} == *clang* ]] && append-flags -Qunused-arguments
|
||||||
|
|
||||||
|
# allow openssl to be cross-compiled
|
||||||
|
cp "${FILESDIR}"/gentoo.config-1.0.2 gentoo.config || die
|
||||||
|
chmod a+rx gentoo.config || die
|
||||||
|
|
||||||
|
append-flags -fno-strict-aliasing
|
||||||
|
append-flags $(test-flags-CC -Wa,--noexecstack)
|
||||||
|
append-cppflags -DOPENSSL_NO_BUF_FREELISTS
|
||||||
|
|
||||||
|
sed -i '1s,^:$,#!'${EPREFIX}'/usr/bin/perl,' Configure #141906
|
||||||
|
# The config script does stupid stuff to prompt the user. Kill it.
|
||||||
|
sed -i '/stty -icanon min 0 time 50; read waste/d' config || die
|
||||||
|
./config --test-sanity || die "I AM NOT SANE"
|
||||||
|
|
||||||
|
multilib_copy_sources
|
||||||
|
}
|
||||||
|
|
||||||
|
multilib_src_configure() {
|
||||||
|
unset APPS #197996
|
||||||
|
unset SCRIPTS #312551
|
||||||
|
unset CROSS_COMPILE #311473
|
||||||
|
|
||||||
|
tc-export CC AR RANLIB RC
|
||||||
|
|
||||||
|
# Clean out patent-or-otherwise-encumbered code
|
||||||
|
# Camellia: Royalty Free https://en.wikipedia.org/wiki/Camellia_(cipher)
|
||||||
|
# IDEA: Expired https://en.wikipedia.org/wiki/International_Data_Encryption_Algorithm
|
||||||
|
# EC: ????????? ??/??/2015 https://en.wikipedia.org/wiki/Elliptic_Curve_Cryptography
|
||||||
|
# MDC2: Expired https://en.wikipedia.org/wiki/MDC-2
|
||||||
|
# RC5: Expired https://en.wikipedia.org/wiki/RC5
|
||||||
|
|
||||||
|
use_ssl() { usex $1 "enable-${2:-$1}" "no-${2:-$1}" " ${*:3}" ; }
|
||||||
|
echoit() { echo "$@" ; "$@" ; }
|
||||||
|
|
||||||
|
local krb5=$(has_version app-crypt/mit-krb5 && echo "MIT" || echo "Heimdal")
|
||||||
|
|
||||||
|
# See if our toolchain supports __uint128_t. If so, it's 64bit
|
||||||
|
# friendly and can use the nicely optimized code paths. #460790
|
||||||
|
local ec_nistp_64_gcc_128
|
||||||
|
# Disable it for now though #469976
|
||||||
|
#if ! use bindist ; then
|
||||||
|
# echo "__uint128_t i;" > "${T}"/128.c
|
||||||
|
# if ${CC} ${CFLAGS} -c "${T}"/128.c -o /dev/null >&/dev/null ; then
|
||||||
|
# ec_nistp_64_gcc_128="enable-ec_nistp_64_gcc_128"
|
||||||
|
# fi
|
||||||
|
#fi
|
||||||
|
|
||||||
|
# https://github.com/openssl/openssl/issues/2286
|
||||||
|
if use ia64 ; then
|
||||||
|
replace-flags -g3 -g2
|
||||||
|
replace-flags -ggdb3 -ggdb2
|
||||||
|
fi
|
||||||
|
|
||||||
|
local sslout=$(./gentoo.config)
|
||||||
|
einfo "Use configuration ${sslout:-(openssl knows best)}"
|
||||||
|
local config="Configure"
|
||||||
|
[[ -z ${sslout} ]] && config="config"
|
||||||
|
|
||||||
|
# Fedora hobbled-EC needs 'no-ec2m', 'no-srp'
|
||||||
|
# Make sure user flags don't get added *yet* to avoid duplicated
|
||||||
|
# flags.
|
||||||
|
CFLAGS= LDFLAGS= echoit \
|
||||||
|
./${config} \
|
||||||
|
${sslout} \
|
||||||
|
$(use cpu_flags_x86_sse2 || echo "no-sse2") \
|
||||||
|
enable-camellia \
|
||||||
|
enable-ec \
|
||||||
|
$(use_ssl !bindist ec2m) \
|
||||||
|
$(use_ssl !bindist srp) \
|
||||||
|
${ec_nistp_64_gcc_128} \
|
||||||
|
enable-idea \
|
||||||
|
enable-mdc2 \
|
||||||
|
enable-rc5 \
|
||||||
|
enable-tlsext \
|
||||||
|
$(use_ssl asm) \
|
||||||
|
$(use_ssl gmp gmp -lgmp) \
|
||||||
|
$(use_ssl kerberos krb5 --with-krb5-flavor=${krb5}) \
|
||||||
|
$(use_ssl rfc3779) \
|
||||||
|
$(use_ssl sctp) \
|
||||||
|
$(use_ssl sslv2 ssl2) \
|
||||||
|
$(use_ssl sslv3 ssl3) \
|
||||||
|
$(use_ssl tls-heartbeat heartbeats) \
|
||||||
|
$(use_ssl zlib) \
|
||||||
|
--prefix="${EPREFIX}"/usr \
|
||||||
|
--openssldir="${EPREFIX}"${SSL_CNF_DIR} \
|
||||||
|
--libdir=$(get_libdir) \
|
||||||
|
shared threads \
|
||||||
|
|| die
|
||||||
|
|
||||||
|
# Clean out hardcoded flags that openssl uses
|
||||||
|
local DEFAULT_CFLAGS=$(grep ^CFLAG= Makefile | LC_ALL=C sed \
|
||||||
|
-e 's:^CFLAG=::' \
|
||||||
|
-e 's:\(^\| \)-fomit-frame-pointer::g' \
|
||||||
|
-e 's:\(^\| \)-O[^ ]*::g' \
|
||||||
|
-e 's:\(^\| \)-march=[^ ]*::g' \
|
||||||
|
-e 's:\(^\| \)-mcpu=[^ ]*::g' \
|
||||||
|
-e 's:\(^\| \)-m[^ ]*::g' \
|
||||||
|
-e 's:^ *::' \
|
||||||
|
-e 's: *$::' \
|
||||||
|
-e 's: \+: :g' \
|
||||||
|
-e 's:\\:\\\\:g'
|
||||||
|
)
|
||||||
|
|
||||||
|
# Now insert clean default flags with user flags
|
||||||
|
sed -i \
|
||||||
|
-e "/^CFLAG/s|=.*|=${DEFAULT_CFLAGS} ${CFLAGS}|" \
|
||||||
|
-e "/^LDFLAGS=/s|=[[:space:]]*$|=${LDFLAGS}|" \
|
||||||
|
Makefile || die
|
||||||
|
}
|
||||||
|
|
||||||
|
multilib_src_compile() {
|
||||||
|
# depend is needed to use $confopts; it also doesn't matter
|
||||||
|
# that it's -j1 as the code itself serializes subdirs
|
||||||
|
emake -j1 V=1 depend
|
||||||
|
emake build_libs
|
||||||
|
}
|
||||||
|
|
||||||
|
multilib_src_test() {
|
||||||
|
emake -j1 test
|
||||||
|
}
|
||||||
|
|
||||||
|
multilib_src_install() {
|
||||||
|
dolib.so lib{crypto,ssl}.so.${SLOT}
|
||||||
|
}
|
@ -0,0 +1,308 @@
|
|||||||
|
# Copyright 1999-2019 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI="7"
|
||||||
|
|
||||||
|
inherit flag-o-matic toolchain-funcs multilib multilib-minimal
|
||||||
|
|
||||||
|
# openssl-1.0.2-patches-1.6 contain additional CVE patches
|
||||||
|
# which got fixed with this release.
|
||||||
|
# Please use 1.7 version number when rolling a new tarball!
|
||||||
|
PATCH_SET="openssl-1.0.2-patches-1.5"
|
||||||
|
|
||||||
|
MY_P=${P/_/-}
|
||||||
|
|
||||||
|
# This patch set is based on the following files from Fedora 25,
|
||||||
|
# see https://src.fedoraproject.org/rpms/openssl/blob/25/f/openssl.spec
|
||||||
|
# for more details:
|
||||||
|
# - hobble-openssl (SOURCE1)
|
||||||
|
# - ec_curve.c (SOURCE12) -- MODIFIED
|
||||||
|
# - ectest.c (SOURCE13)
|
||||||
|
# - openssl-1.1.1-ec-curves.patch (PATCH37) -- MODIFIED
|
||||||
|
BINDIST_PATCH_SET="openssl-1.0.2t-bindist-1.0.tar.xz"
|
||||||
|
|
||||||
|
DESCRIPTION="full-strength general purpose cryptography library (including SSL and TLS)"
|
||||||
|
HOMEPAGE="https://www.openssl.org/"
|
||||||
|
SRC_URI="mirror://openssl/source/${MY_P}.tar.gz
|
||||||
|
bindist? (
|
||||||
|
mirror://gentoo/${BINDIST_PATCH_SET}
|
||||||
|
https://dev.gentoo.org/~whissi/dist/openssl/${BINDIST_PATCH_SET}
|
||||||
|
)
|
||||||
|
!vanilla? (
|
||||||
|
mirror://gentoo/${PATCH_SET}.tar.xz
|
||||||
|
https://dev.gentoo.org/~chutzpah/dist/${PN}/${PATCH_SET}.tar.xz
|
||||||
|
https://dev.gentoo.org/~whissi/dist/${PN}/${PATCH_SET}.tar.xz
|
||||||
|
https://dev.gentoo.org/~polynomial-c/dist/${PATCH_SET}.tar.xz
|
||||||
|
)"
|
||||||
|
|
||||||
|
LICENSE="openssl"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sh ~sparc ~x86 ~x86-linux"
|
||||||
|
IUSE="+asm bindist gmp kerberos rfc3779 sctp cpu_flags_x86_sse2 sslv2 +sslv3 static-libs test +tls-heartbeat vanilla zlib"
|
||||||
|
RESTRICT="!bindist? ( bindist )
|
||||||
|
!test? ( test )"
|
||||||
|
|
||||||
|
RDEPEND=">=app-misc/c_rehash-1.7-r1
|
||||||
|
gmp? ( >=dev-libs/gmp-5.1.3-r1[static-libs(+)?,${MULTILIB_USEDEP}] )
|
||||||
|
kerberos? ( >=app-crypt/mit-krb5-1.11.4[${MULTILIB_USEDEP}] )
|
||||||
|
zlib? ( >=sys-libs/zlib-1.2.8-r1[static-libs(+)?,${MULTILIB_USEDEP}] )"
|
||||||
|
DEPEND="${RDEPEND}"
|
||||||
|
BDEPEND="
|
||||||
|
>=dev-lang/perl-5
|
||||||
|
sctp? ( >=net-misc/lksctp-tools-1.0.12 )
|
||||||
|
test? (
|
||||||
|
sys-apps/diffutils
|
||||||
|
sys-devel/bc
|
||||||
|
)"
|
||||||
|
PDEPEND="app-misc/ca-certificates"
|
||||||
|
|
||||||
|
S="${WORKDIR}/${MY_P}"
|
||||||
|
|
||||||
|
MULTILIB_WRAPPED_HEADERS=(
|
||||||
|
usr/include/openssl/opensslconf.h
|
||||||
|
)
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
if use bindist; then
|
||||||
|
mv "${WORKDIR}"/bindist-patches/hobble-openssl "${WORKDIR}" || die
|
||||||
|
bash "${WORKDIR}"/hobble-openssl || die
|
||||||
|
|
||||||
|
cp -f "${WORKDIR}"/bindist-patches/ec_curve.c "${S}"/crypto/ec/ || die
|
||||||
|
cp -f "${WORKDIR}"/bindist-patches/ectest.c "${S}"/crypto/ec/ || die
|
||||||
|
|
||||||
|
eapply "${WORKDIR}"/bindist-patches/ec-curves.patch
|
||||||
|
|
||||||
|
# Also see the configure parts below:
|
||||||
|
# enable-ec \
|
||||||
|
# $(use_ssl !bindist ec2m) \
|
||||||
|
# $(use_ssl !bindist srp) \
|
||||||
|
fi
|
||||||
|
|
||||||
|
# keep this in sync with app-misc/c_rehash
|
||||||
|
SSL_CNF_DIR="/etc/ssl"
|
||||||
|
|
||||||
|
# Make sure we only ever touch Makefile.org and avoid patching a file
|
||||||
|
# that gets blown away anyways by the Configure script in src_configure
|
||||||
|
rm -f Makefile
|
||||||
|
|
||||||
|
if ! use vanilla ; then
|
||||||
|
eapply "${WORKDIR}"/patch/*.patch
|
||||||
|
fi
|
||||||
|
|
||||||
|
eapply_user
|
||||||
|
|
||||||
|
# disable fips in the build
|
||||||
|
# make sure the man pages are suffixed #302165
|
||||||
|
# don't bother building man pages if they're disabled
|
||||||
|
sed -i \
|
||||||
|
-e '/DIRS/s: fips : :g' \
|
||||||
|
-e '/^MANSUFFIX/s:=.*:=ssl:' \
|
||||||
|
-e '/^MAKEDEPPROG/s:=.*:=$(CC):' \
|
||||||
|
-e $(has noman FEATURES \
|
||||||
|
&& echo '/^install:/s:install_docs::' \
|
||||||
|
|| echo '/^MANDIR=/s:=.*:='${EPREFIX}'/usr/share/man:') \
|
||||||
|
Makefile.org \
|
||||||
|
|| die
|
||||||
|
# show the actual commands in the log
|
||||||
|
sed -i '/^SET_X/s:=.*:=set -x:' Makefile.shared
|
||||||
|
|
||||||
|
# since we're forcing $(CC) as makedep anyway, just fix
|
||||||
|
# the conditional as always-on
|
||||||
|
# helps clang (#417795), and versioned gcc (#499818)
|
||||||
|
# this breaks build with 1.0.2p, not sure if it is needed anymore
|
||||||
|
#sed -i 's/expr.*MAKEDEPEND.*;/true;/' util/domd || die
|
||||||
|
|
||||||
|
# quiet out unknown driver argument warnings since openssl
|
||||||
|
# doesn't have well-split CFLAGS and we're making it even worse
|
||||||
|
# and 'make depend' uses -Werror for added fun (#417795 again)
|
||||||
|
[[ ${CC} == *clang* ]] && append-flags -Qunused-arguments
|
||||||
|
|
||||||
|
# allow openssl to be cross-compiled
|
||||||
|
cp "${FILESDIR}"/gentoo.config-1.0.2 gentoo.config || die
|
||||||
|
chmod a+rx gentoo.config || die
|
||||||
|
|
||||||
|
append-flags -fno-strict-aliasing
|
||||||
|
append-flags $(test-flags-CC -Wa,--noexecstack)
|
||||||
|
append-cppflags -DOPENSSL_NO_BUF_FREELISTS
|
||||||
|
|
||||||
|
sed -i '1s,^:$,#!'${EPREFIX}'/usr/bin/perl,' Configure #141906
|
||||||
|
# The config script does stupid stuff to prompt the user. Kill it.
|
||||||
|
sed -i '/stty -icanon min 0 time 50; read waste/d' config || die
|
||||||
|
./config --test-sanity || die "I AM NOT SANE"
|
||||||
|
|
||||||
|
multilib_copy_sources
|
||||||
|
}
|
||||||
|
|
||||||
|
multilib_src_configure() {
|
||||||
|
unset APPS #197996
|
||||||
|
unset SCRIPTS #312551
|
||||||
|
unset CROSS_COMPILE #311473
|
||||||
|
|
||||||
|
tc-export CC AR RANLIB RC
|
||||||
|
|
||||||
|
# Clean out patent-or-otherwise-encumbered code
|
||||||
|
# Camellia: Royalty Free https://en.wikipedia.org/wiki/Camellia_(cipher)
|
||||||
|
# IDEA: Expired https://en.wikipedia.org/wiki/International_Data_Encryption_Algorithm
|
||||||
|
# EC: ????????? ??/??/2015 https://en.wikipedia.org/wiki/Elliptic_Curve_Cryptography
|
||||||
|
# MDC2: Expired https://en.wikipedia.org/wiki/MDC-2
|
||||||
|
# RC5: Expired https://en.wikipedia.org/wiki/RC5
|
||||||
|
|
||||||
|
use_ssl() { usex $1 "enable-${2:-$1}" "no-${2:-$1}" " ${*:3}" ; }
|
||||||
|
echoit() { echo "$@" ; "$@" ; }
|
||||||
|
|
||||||
|
local krb5=$(has_version app-crypt/mit-krb5 && echo "MIT" || echo "Heimdal")
|
||||||
|
|
||||||
|
# See if our toolchain supports __uint128_t. If so, it's 64bit
|
||||||
|
# friendly and can use the nicely optimized code paths. #460790
|
||||||
|
local ec_nistp_64_gcc_128
|
||||||
|
# Disable it for now though #469976
|
||||||
|
#if ! use bindist ; then
|
||||||
|
# echo "__uint128_t i;" > "${T}"/128.c
|
||||||
|
# if ${CC} ${CFLAGS} -c "${T}"/128.c -o /dev/null >&/dev/null ; then
|
||||||
|
# ec_nistp_64_gcc_128="enable-ec_nistp_64_gcc_128"
|
||||||
|
# fi
|
||||||
|
#fi
|
||||||
|
|
||||||
|
# https://github.com/openssl/openssl/issues/2286
|
||||||
|
if use ia64 ; then
|
||||||
|
replace-flags -g3 -g2
|
||||||
|
replace-flags -ggdb3 -ggdb2
|
||||||
|
fi
|
||||||
|
|
||||||
|
local sslout=$(./gentoo.config)
|
||||||
|
einfo "Use configuration ${sslout:-(openssl knows best)}"
|
||||||
|
local config="Configure"
|
||||||
|
[[ -z ${sslout} ]] && config="config"
|
||||||
|
|
||||||
|
# Fedora hobbled-EC needs 'no-ec2m', 'no-srp'
|
||||||
|
# Make sure user flags don't get added *yet* to avoid duplicated
|
||||||
|
# flags.
|
||||||
|
CFLAGS= LDFLAGS= echoit \
|
||||||
|
./${config} \
|
||||||
|
${sslout} \
|
||||||
|
$(use cpu_flags_x86_sse2 || echo "no-sse2") \
|
||||||
|
enable-camellia \
|
||||||
|
enable-ec \
|
||||||
|
$(use_ssl !bindist ec2m) \
|
||||||
|
$(use_ssl !bindist srp) \
|
||||||
|
${ec_nistp_64_gcc_128} \
|
||||||
|
enable-idea \
|
||||||
|
enable-mdc2 \
|
||||||
|
enable-rc5 \
|
||||||
|
enable-tlsext \
|
||||||
|
$(use_ssl asm) \
|
||||||
|
$(use_ssl gmp gmp -lgmp) \
|
||||||
|
$(use_ssl kerberos krb5 --with-krb5-flavor=${krb5}) \
|
||||||
|
$(use_ssl rfc3779) \
|
||||||
|
$(use_ssl sctp) \
|
||||||
|
$(use_ssl sslv2 ssl2) \
|
||||||
|
$(use_ssl sslv3 ssl3) \
|
||||||
|
$(use_ssl tls-heartbeat heartbeats) \
|
||||||
|
$(use_ssl zlib) \
|
||||||
|
--prefix="${EPREFIX}"/usr \
|
||||||
|
--openssldir="${EPREFIX}"${SSL_CNF_DIR} \
|
||||||
|
--libdir=$(get_libdir) \
|
||||||
|
shared threads \
|
||||||
|
|| die
|
||||||
|
|
||||||
|
# Clean out hardcoded flags that openssl uses
|
||||||
|
local DEFAULT_CFLAGS=$(grep ^CFLAG= Makefile | LC_ALL=C sed \
|
||||||
|
-e 's:^CFLAG=::' \
|
||||||
|
-e 's:\(^\| \)-fomit-frame-pointer::g' \
|
||||||
|
-e 's:\(^\| \)-O[^ ]*::g' \
|
||||||
|
-e 's:\(^\| \)-march=[^ ]*::g' \
|
||||||
|
-e 's:\(^\| \)-mcpu=[^ ]*::g' \
|
||||||
|
-e 's:\(^\| \)-m[^ ]*::g' \
|
||||||
|
-e 's:^ *::' \
|
||||||
|
-e 's: *$::' \
|
||||||
|
-e 's: \+: :g' \
|
||||||
|
-e 's:\\:\\\\:g'
|
||||||
|
)
|
||||||
|
|
||||||
|
# Now insert clean default flags with user flags
|
||||||
|
sed -i \
|
||||||
|
-e "/^CFLAG/s|=.*|=${DEFAULT_CFLAGS} ${CFLAGS}|" \
|
||||||
|
-e "/^LDFLAGS=/s|=[[:space:]]*$|=${LDFLAGS}|" \
|
||||||
|
Makefile || die
|
||||||
|
}
|
||||||
|
|
||||||
|
multilib_src_compile() {
|
||||||
|
# depend is needed to use $confopts; it also doesn't matter
|
||||||
|
# that it's -j1 as the code itself serializes subdirs
|
||||||
|
emake -j1 V=1 depend
|
||||||
|
emake all
|
||||||
|
# rehash is needed to prep the certs/ dir; do this
|
||||||
|
# separately to avoid parallel build issues.
|
||||||
|
emake rehash
|
||||||
|
}
|
||||||
|
|
||||||
|
multilib_src_test() {
|
||||||
|
emake -j1 test
|
||||||
|
}
|
||||||
|
|
||||||
|
multilib_src_install() {
|
||||||
|
# We need to create $ED/usr on our own to avoid a race condition #665130
|
||||||
|
if [[ ! -d "${ED}/usr" ]]; then
|
||||||
|
# We can only create this directory once
|
||||||
|
mkdir "${ED}"/usr || die
|
||||||
|
fi
|
||||||
|
|
||||||
|
emake INSTALL_PREFIX="${D}" install
|
||||||
|
}
|
||||||
|
|
||||||
|
multilib_src_install_all() {
|
||||||
|
# openssl installs perl version of c_rehash by default, but
|
||||||
|
# we provide a shell version via app-misc/c_rehash
|
||||||
|
rm "${ED}"/usr/bin/c_rehash || die
|
||||||
|
|
||||||
|
local -a DOCS=( CHANGES* FAQ NEWS README doc/*.txt doc/c-indentation.el )
|
||||||
|
einstalldocs
|
||||||
|
|
||||||
|
use rfc3779 && dodoc engines/ccgost/README.gost
|
||||||
|
|
||||||
|
# This is crappy in that the static archives are still built even
|
||||||
|
# when USE=static-libs. But this is due to a failing in the openssl
|
||||||
|
# build system: the static archives are built as PIC all the time.
|
||||||
|
# Only way around this would be to manually configure+compile openssl
|
||||||
|
# twice; once with shared lib support enabled and once without.
|
||||||
|
use static-libs || rm -f "${ED}"/usr/lib*/lib*.a
|
||||||
|
|
||||||
|
# create the certs directory
|
||||||
|
dodir ${SSL_CNF_DIR}/certs
|
||||||
|
cp -RP certs/* "${ED}"${SSL_CNF_DIR}/certs/ || die
|
||||||
|
rm -r "${ED}"${SSL_CNF_DIR}/certs/{demo,expired}
|
||||||
|
|
||||||
|
# Namespace openssl programs to prevent conflicts with other man pages
|
||||||
|
cd "${ED}"/usr/share/man
|
||||||
|
local m d s
|
||||||
|
for m in $(find . -type f | xargs grep -L '#include') ; do
|
||||||
|
d=${m%/*} ; d=${d#./} ; m=${m##*/}
|
||||||
|
[[ ${m} == openssl.1* ]] && continue
|
||||||
|
[[ -n $(find -L ${d} -type l) ]] && die "erp, broken links already!"
|
||||||
|
mv ${d}/{,ssl-}${m}
|
||||||
|
# fix up references to renamed man pages
|
||||||
|
sed -i '/^[.]SH "SEE ALSO"/,/^[.]/s:\([^(, ]*(1)\):ssl-\1:g' ${d}/ssl-${m}
|
||||||
|
ln -s ssl-${m} ${d}/openssl-${m}
|
||||||
|
# locate any symlinks that point to this man page ... we assume
|
||||||
|
# that any broken links are due to the above renaming
|
||||||
|
for s in $(find -L ${d} -type l) ; do
|
||||||
|
s=${s##*/}
|
||||||
|
rm -f ${d}/${s}
|
||||||
|
ln -s ssl-${m} ${d}/ssl-${s}
|
||||||
|
ln -s ssl-${s} ${d}/openssl-${s}
|
||||||
|
done
|
||||||
|
done
|
||||||
|
[[ -n $(find -L ${d} -type l) ]] && die "broken manpage links found :("
|
||||||
|
|
||||||
|
dodir /etc/sandbox.d #254521
|
||||||
|
echo 'SANDBOX_PREDICT="/dev/crypto"' > "${ED}"/etc/sandbox.d/10openssl
|
||||||
|
|
||||||
|
diropts -m0700
|
||||||
|
keepdir ${SSL_CNF_DIR}/private
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
ebegin "Running 'c_rehash ${EROOT}${SSL_CNF_DIR}/certs/' to rebuild hashes #333069"
|
||||||
|
c_rehash "${EROOT}${SSL_CNF_DIR}/certs" >/dev/null
|
||||||
|
eend $?
|
||||||
|
}
|
Binary file not shown.
@ -1 +1,2 @@
|
|||||||
DIST diff-match-patch-20121119.tar.gz 54113 BLAKE2B 0fcfa46f02f92af0e31ded7c51c651574104fb4d7d70082873981138579b12231dea0eee417614981a96f7ceaa50b288fefdbc21dca687451095dcdc34fe32f8 SHA512 3daff80a6043a0413c515125a21839d9fa1d71f7e2441f4870ebefed35f1accea711814ad231c65de0e3468bbd01402c977fc063ab120b7d9f0e04ef555a8207
|
DIST diff-match-patch-20121119.tar.gz 54113 BLAKE2B 0fcfa46f02f92af0e31ded7c51c651574104fb4d7d70082873981138579b12231dea0eee417614981a96f7ceaa50b288fefdbc21dca687451095dcdc34fe32f8 SHA512 3daff80a6043a0413c515125a21839d9fa1d71f7e2441f4870ebefed35f1accea711814ad231c65de0e3468bbd01402c977fc063ab120b7d9f0e04ef555a8207
|
||||||
|
DIST diff-match-patch-20181111.tar.gz 58554 BLAKE2B 2a74294bb9ac88447cdea794a9c3b44d705d93f7e0777d5e5ece4a306f43df47458a4ba0ec8b16624862a6e4540a605695c3a83ee7dad7749b22210ebe65705a SHA512 9b21726b9c0e350553533c14dd86cca823c6f98ab642e7166cf9348952a57b62bcb0576e3d6a3b76655ea1bcc8cef3fe7f33ffb068b5a4bfb4b4b521042484e6
|
||||||
|
@ -0,0 +1,18 @@
|
|||||||
|
# Copyright 1999-2019 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
PYTHON_COMPAT=( python3_{6,7,8} pypy )
|
||||||
|
|
||||||
|
inherit distutils-r1
|
||||||
|
|
||||||
|
DESCRIPTION="Diff, match and patch algorithms for plain text"
|
||||||
|
HOMEPAGE="https://pypi.org/project/diff-match-patch/"
|
||||||
|
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="Apache-2.0"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~arm64 ~x86"
|
||||||
|
|
||||||
|
distutils_enable_tests pytest
|
@ -0,0 +1,22 @@
|
|||||||
|
# Copyright 1999-2019 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
PYTHON_COMPAT=( python2_7 python3_{5,6,7,8} )
|
||||||
|
inherit distutils-r1
|
||||||
|
|
||||||
|
DESCRIPTION="Testing utilities for gRPC Python"
|
||||||
|
HOMEPAGE="https://grpc.io"
|
||||||
|
SRC_URI="mirror://pypi/${PN::1}/${PN}/${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="Apache-2.0"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
|
||||||
|
|
||||||
|
RDEPEND="~dev-python/grpcio-${PV}[${PYTHON_USEDEP}]
|
||||||
|
dev-python/protobuf-python[${PYTHON_USEDEP}]
|
||||||
|
"
|
||||||
|
DEPEND="${RDEPEND}
|
||||||
|
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||||
|
"
|
@ -0,0 +1,28 @@
|
|||||||
|
# Copyright 1999-2019 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
PYTHON_COMPAT=( python2_7 python3_{5,6,7,8} )
|
||||||
|
inherit distutils-r1 multiprocessing
|
||||||
|
|
||||||
|
DESCRIPTION="Protobuf code generator for gRPC"
|
||||||
|
HOMEPAGE="https://grpc.io"
|
||||||
|
SRC_URI="mirror://pypi/${PN::1}/${PN}/${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="Apache-2.0"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
|
||||||
|
|
||||||
|
RDEPEND="dev-python/cython[${PYTHON_USEDEP}]
|
||||||
|
~dev-python/grpcio-${PV}[${PYTHON_USEDEP}]
|
||||||
|
dev-python/protobuf-python[${PYTHON_USEDEP}]
|
||||||
|
"
|
||||||
|
DEPEND="${RDEPEND}
|
||||||
|
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||||
|
"
|
||||||
|
|
||||||
|
python_configure_all() {
|
||||||
|
export GRPC_PYTHON_BUILD_WITH_CYTHON=1
|
||||||
|
export GRPC_PYTHON_BUILD_EXT_COMPILER_JOBS="$(makeopts_jobs)"
|
||||||
|
}
|
@ -0,0 +1,38 @@
|
|||||||
|
# Copyright 1999-2019 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
PYTHON_COMPAT=( python2_7 python3_{5,6,7,8} )
|
||||||
|
inherit distutils-r1 multiprocessing
|
||||||
|
|
||||||
|
DESCRIPTION="High-performance RPC framework (python libraries)"
|
||||||
|
HOMEPAGE="https://grpc.io"
|
||||||
|
SRC_URI="mirror://pypi/${PN::1}/${PN}/${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="Apache-2.0"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
|
||||||
|
|
||||||
|
RDEPEND=">=dev-libs/openssl-1.0.2:0=[-bindist]
|
||||||
|
>=dev-python/cython-0.28.3[${PYTHON_USEDEP}]
|
||||||
|
dev-python/protobuf-python[${PYTHON_USEDEP}]
|
||||||
|
dev-python/six[${PYTHON_USEDEP}]
|
||||||
|
net-dns/c-ares:=
|
||||||
|
!<net-libs/grpc-1.16.0[python]
|
||||||
|
sys-libs/zlib:=
|
||||||
|
virtual/python-enum34[${PYTHON_USEDEP}]
|
||||||
|
virtual/python-futures[${PYTHON_USEDEP}]
|
||||||
|
"
|
||||||
|
DEPEND="${RDEPEND}
|
||||||
|
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||||
|
"
|
||||||
|
|
||||||
|
python_configure_all() {
|
||||||
|
export GRPC_PYTHON_DISABLE_LIBC_COMPATIBILITY=1
|
||||||
|
export GRPC_PYTHON_BUILD_SYSTEM_CARES=1
|
||||||
|
export GRPC_PYTHON_BUILD_SYSTEM_OPENSSL=1
|
||||||
|
export GRPC_PYTHON_BUILD_SYSTEM_ZLIB=1
|
||||||
|
export GRPC_PYTHON_BUILD_WITH_CYTHON=1
|
||||||
|
export GRPC_PYTHON_BUILD_EXT_COMPILER_JOBS="$(makeopts_jobs)"
|
||||||
|
}
|
@ -1 +1,2 @@
|
|||||||
DIST phonenumbers-8.10.22.tar.gz 2307815 BLAKE2B 397711a4cca97be68986cbb21ab971710c213a74fbb0e2c79de67b98ab44c3e25e95f6bfc2c469c1abfaf0d1c3848114a0be47d08650c7ac57a01240b7a79270 SHA512 f7c540276324a373bc0caa9aa3b87da31b98bfd24fbffab2f9137f0c6f72bba88022d9820193dfe482ee621fc3c90126bd93cb51bb4715dcbd1c3fa689e055b5
|
DIST phonenumbers-8.10.22.tar.gz 2307815 BLAKE2B 397711a4cca97be68986cbb21ab971710c213a74fbb0e2c79de67b98ab44c3e25e95f6bfc2c469c1abfaf0d1c3848114a0be47d08650c7ac57a01240b7a79270 SHA512 f7c540276324a373bc0caa9aa3b87da31b98bfd24fbffab2f9137f0c6f72bba88022d9820193dfe482ee621fc3c90126bd93cb51bb4715dcbd1c3fa689e055b5
|
||||||
|
DIST phonenumbers-8.11.1.tar.gz 2365325 BLAKE2B 2863f44ef09abd94d0d647121742a8da915ee67ee639a2f8b9cc7755efc7bab93d8eddc47ef22d28e56f05471c889050750ce116a91dff5e7d523c50ecd58399 SHA512 24e32176f45871c80f4c74ccf248742441422a61935f1ac3fe21acbece4a85d8a2f264f24e7f77d5ac31eae52ff0d598c50c882aec50f22733da3b4e70a5ee02
|
||||||
|
@ -0,0 +1,26 @@
|
|||||||
|
# Copyright 1999-2019 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
PYTHON_COMPAT=( python2_7 python3_{5,6,7} )
|
||||||
|
|
||||||
|
inherit distutils-r1
|
||||||
|
|
||||||
|
DESCRIPTION="Python port of Google's libphonenumber"
|
||||||
|
HOMEPAGE="https://github.com/daviddrysdale/python-phonenumbers"
|
||||||
|
SRC_URI="mirror://pypi/p/${PN}/${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="Apache-2.0"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
IUSE="test"
|
||||||
|
RESTRICT="!test? ( test )"
|
||||||
|
|
||||||
|
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||||
|
|
||||||
|
DOCS="README.md"
|
||||||
|
|
||||||
|
python_test() {
|
||||||
|
esetup.py test
|
||||||
|
}
|
@ -1 +1,2 @@
|
|||||||
|
DIST simpleeval-0.9.10.tar.gz 26687 BLAKE2B eccde3c580f65bc22e88711cdfae4b1d6509515d674d62bab501d1cdc5dc1e91f76d391441e012f7fa51221e2c807b831dda05e7b620303d0845b5032b1a45be SHA512 50710221b49ff618218375d6d9b4eb9ee12b875ce0cdaaa63e2dfcaa112918f5bfdf8f02bbc3b5be98c7abc312f99563d910985bc5ad86eb846df935fc072eab
|
||||||
DIST simpleeval-0.9.8.tar.gz 24554 BLAKE2B 92adb2de03e2e70be99adef625de54c02c39305475f8df4517862c9a2726ef5c36e3e411f6cd1b4e47d57ed20ce66b3fc55ef402e705c4f3d49b8b2389919e18 SHA512 3aedb78571442283bc7b2bd1754dcc2197f81b264c6e629acdd8307a0adb7a4f06e084bb121caa0c36711153253b884942cb5c50614afb58e0e895247f8c20aa
|
DIST simpleeval-0.9.8.tar.gz 24554 BLAKE2B 92adb2de03e2e70be99adef625de54c02c39305475f8df4517862c9a2726ef5c36e3e411f6cd1b4e47d57ed20ce66b3fc55ef402e705c4f3d49b8b2389919e18 SHA512 3aedb78571442283bc7b2bd1754dcc2197f81b264c6e629acdd8307a0adb7a4f06e084bb121caa0c36711153253b884942cb5c50614afb58e0e895247f8c20aa
|
||||||
|
@ -0,0 +1,26 @@
|
|||||||
|
# Copyright 1999-2019 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
PYTHON_COMPAT=( python{2_7,3_5,3_6,3_7,3_8} )
|
||||||
|
|
||||||
|
inherit distutils-r1
|
||||||
|
|
||||||
|
DESCRIPTION="A simple, safe single expression evaluator library"
|
||||||
|
HOMEPAGE="https://github.com/danthedeckie/simpleeval"
|
||||||
|
SRC_URI="mirror://pypi/s/${PN}/${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="MIT"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
IUSE=""
|
||||||
|
|
||||||
|
RDEPEND=""
|
||||||
|
DEPEND="${RDEPEND}
|
||||||
|
dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||||
|
|
||||||
|
DOCS="README.rst"
|
||||||
|
|
||||||
|
python_test() {
|
||||||
|
esetup.py test
|
||||||
|
}
|
Binary file not shown.
Binary file not shown.
@ -1 +1,2 @@
|
|||||||
DIST catfish-1.4.10.tar.bz2 213951 BLAKE2B ff8f710d5f3b5d59e98bd6af9b1dd11499ea331b2d7c78945ebc1051d1b49d28069e47bd8aa3f12d57b646fc6764ccd4f365cda9fdfea15f5a3a4334b6e9b17e SHA512 baf9007b2ce2418fa5704e10884f509e4361505537e2ce70a7f8c8c61009094a09d7d032e0a6b4ca174f33bf76783ee2665f781cce47d2b236f2633e25192f29
|
DIST catfish-1.4.10.tar.bz2 213951 BLAKE2B ff8f710d5f3b5d59e98bd6af9b1dd11499ea331b2d7c78945ebc1051d1b49d28069e47bd8aa3f12d57b646fc6764ccd4f365cda9fdfea15f5a3a4334b6e9b17e SHA512 baf9007b2ce2418fa5704e10884f509e4361505537e2ce70a7f8c8c61009094a09d7d032e0a6b4ca174f33bf76783ee2665f781cce47d2b236f2633e25192f29
|
||||||
|
DIST catfish-1.4.11.tar.bz2 220603 BLAKE2B a1ca8ee9efa5d8c8b3877562321e9bb150a82083a80cd108c6a16dbc000bcaa1f6653b4b091ab1fd50ec406dc53c470e5f985f62e3abede7cd6676786860d31a SHA512 aed919ff5824bffb7d48b715dee4bba51d74d24d523c1bb468b0cc1735bdfbeb0e50fa86d3c10e91b6ae747aea82c292c7b423fadc3abaa1f6841b38f8887cd0
|
||||||
|
@ -0,0 +1,48 @@
|
|||||||
|
# Copyright 1999-2019 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
DISTUTILS_USE_SETUPTOOLS=no
|
||||||
|
PYTHON_COMPAT=( python{2_7,3_{5,6,7,8}} )
|
||||||
|
|
||||||
|
inherit distutils-r1 xdg-utils
|
||||||
|
|
||||||
|
DESCRIPTION="A frontend for find, (s)locate, doodle, tracker, beagle, strigi and pinot"
|
||||||
|
HOMEPAGE="https://docs.xfce.org/apps/catfish/start"
|
||||||
|
SRC_URI="https://archive.xfce.org/src/apps/catfish/${PV%.*}/${P}.tar.bz2"
|
||||||
|
|
||||||
|
# yep, GPL-2 only
|
||||||
|
LICENSE="GPL-2"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~ppc ~x86"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
dev-libs/gobject-introspection
|
||||||
|
dev-python/dbus-python[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pexpect[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pygobject:3[${PYTHON_USEDEP}]
|
||||||
|
x11-libs/gdk-pixbuf[introspection]
|
||||||
|
x11-libs/gtk+:3[introspection]
|
||||||
|
x11-libs/pango[introspection]
|
||||||
|
virtual/freedesktop-icon-theme
|
||||||
|
"
|
||||||
|
DEPEND="
|
||||||
|
dev-python/python-distutils-extra[${PYTHON_USEDEP}]
|
||||||
|
sys-devel/gettext
|
||||||
|
"
|
||||||
|
|
||||||
|
python_install() {
|
||||||
|
distutils-r1_python_install
|
||||||
|
rm -r "${ED}"/usr/share/doc/catfish || die
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
xdg_icon_cache_update
|
||||||
|
xdg_desktop_database_update
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postrm() {
|
||||||
|
xdg_icon_cache_update
|
||||||
|
xdg_desktop_database_update
|
||||||
|
}
|
@ -0,0 +1 @@
|
|||||||
|
DIST libabigail-1.6.tar.gz 176133766 BLAKE2B 4a8fd6861f2213f45bbc5814a8a4e0941c236660ea6f84f09eedf6c08eff963c956f27967581501cd73b51057c3d36a74d53b6bf63d0be4d2c931d465d0564eb SHA512 2ba775bd836b53265dae60e66065fc2106e7f633e890cc70b6abacb8426e04ec0b7b38593c21336f5785cf5e4eb8d110fb15ce63124cddc59f660f31c7b25b3c
|
@ -0,0 +1,77 @@
|
|||||||
|
# Copyright 1999-2019 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
PYTHON_COMPAT=( python3_{7,8} )
|
||||||
|
|
||||||
|
inherit autotools python-any-r1 out-of-source
|
||||||
|
|
||||||
|
DESCRIPTION="Suite of tools for checking ABI differences between ELF objects"
|
||||||
|
HOMEPAGE="https://sourceware.org/libabigail/"
|
||||||
|
SRC_URI="https://mirrors.kernel.org/sourceware/libabigail/${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="LGPL-3+"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64"
|
||||||
|
IUSE="doc test"
|
||||||
|
RESTRICT="!test? ( test )"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
dev-libs/elfutils:=
|
||||||
|
dev-libs/libxml2:2="
|
||||||
|
DEPEND="${RDEPEND}"
|
||||||
|
BDEPEND="
|
||||||
|
doc? (
|
||||||
|
app-doc/doxygen
|
||||||
|
dev-python/sphinx
|
||||||
|
sys-apps/texinfo
|
||||||
|
)
|
||||||
|
test? ( ${PYTHON_DEPS} )"
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
default
|
||||||
|
# need to run our autotools, due to ltmain.sh including Redhat calls:
|
||||||
|
# cannot read spec file '/usr/lib/rpm/redhat/redhat-hardened-ld': No such file or directory
|
||||||
|
eautoreconf
|
||||||
|
}
|
||||||
|
|
||||||
|
my_src_configure() {
|
||||||
|
econf \
|
||||||
|
--disable-deb \
|
||||||
|
--disable-fedabipkgdiff \
|
||||||
|
--disable-rpm \
|
||||||
|
--disable-static \
|
||||||
|
--disable-zip-archive \
|
||||||
|
--enable-bash-completion \
|
||||||
|
--enable-cxx11 \
|
||||||
|
--enable-python3 \
|
||||||
|
$(use_enable doc apidoc) \
|
||||||
|
$(use_enable doc manual)
|
||||||
|
}
|
||||||
|
|
||||||
|
my_src_compile() {
|
||||||
|
default
|
||||||
|
use doc && emake doc
|
||||||
|
}
|
||||||
|
|
||||||
|
my_src_install() {
|
||||||
|
emake DESTDIR="${D}" install
|
||||||
|
|
||||||
|
if use doc; then
|
||||||
|
doman doc/manuals/man/*
|
||||||
|
doinfo doc/manuals/texinfo/abigail.info
|
||||||
|
|
||||||
|
dodoc -r doc/manuals/html
|
||||||
|
|
||||||
|
docinto html/api
|
||||||
|
dodoc -r doc/api/html/.
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
my_src_install_all() {
|
||||||
|
einstalldocs
|
||||||
|
|
||||||
|
# no static archives
|
||||||
|
find "${D}" -name '*.la' -delete || die
|
||||||
|
}
|
@ -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>soap@gentoo.org</email>
|
||||||
|
<name>David Seifert</name>
|
||||||
|
</maintainer>
|
||||||
|
</pkgmetadata>
|
@ -1,3 +1,4 @@
|
|||||||
DIST stripe-mock-0.34.1.tar.gz 340357 BLAKE2B 127d39b01bbd883141c75e63dc5e0b8834dbc86f375058768072b3de75d3f9e3fabebdfdd9d872c51ad52fec3e2057ae342887c25b496b987d64652c93b204bd SHA512 c9e35867c44bd7d127f91d0f668d39ff67ca9bb2937428f808122555360a77b91f9f5d5648478dc2c4fc04a7b9195fed0a927868fdd22b852022ae2fe0f1e695
|
DIST stripe-mock-0.34.1.tar.gz 340357 BLAKE2B 127d39b01bbd883141c75e63dc5e0b8834dbc86f375058768072b3de75d3f9e3fabebdfdd9d872c51ad52fec3e2057ae342887c25b496b987d64652c93b204bd SHA512 c9e35867c44bd7d127f91d0f668d39ff67ca9bb2937428f808122555360a77b91f9f5d5648478dc2c4fc04a7b9195fed0a927868fdd22b852022ae2fe0f1e695
|
||||||
DIST stripe-mock-0.47.0.tar.gz 371383 BLAKE2B 0d619e62c9d071cd0706f0deeab5cb659d994f02df87fc638e319b346cda83548bec9a6068814b7c17a8f62e8f9c2206003bd62f66f844e8f38ee96b10f099fe SHA512 b387556526eea8b02fb3df74b345f5447bc81d7cc9e7f9fe9cd59dfdef7895bd31c882bc3c96c6815c69cc1e1fc3bed8390beb107ecfeb79e69aba4bc115a17e
|
DIST stripe-mock-0.47.0.tar.gz 371383 BLAKE2B 0d619e62c9d071cd0706f0deeab5cb659d994f02df87fc638e319b346cda83548bec9a6068814b7c17a8f62e8f9c2206003bd62f66f844e8f38ee96b10f099fe SHA512 b387556526eea8b02fb3df74b345f5447bc81d7cc9e7f9fe9cd59dfdef7895bd31c882bc3c96c6815c69cc1e1fc3bed8390beb107ecfeb79e69aba4bc115a17e
|
||||||
DIST stripe-mock-0.63.0.tar.gz 453992 BLAKE2B ece5c4b4141fedd4dc896e5505047c1138a27cea63b4df1ce96b12a41e6e4ddb636ec181bcd1063819a0aa0247302171181d86bd962d0a2063289339c35105c2 SHA512 0e23493808643326e91599620c481130df3b2c50f1d39c64f9f404c54708f71a61a48630f0e3cf4c924e53d29f21d442be5323925fa0096c3bea3e1582676578
|
DIST stripe-mock-0.63.0.tar.gz 453992 BLAKE2B ece5c4b4141fedd4dc896e5505047c1138a27cea63b4df1ce96b12a41e6e4ddb636ec181bcd1063819a0aa0247302171181d86bd962d0a2063289339c35105c2 SHA512 0e23493808643326e91599620c481130df3b2c50f1d39c64f9f404c54708f71a61a48630f0e3cf4c924e53d29f21d442be5323925fa0096c3bea3e1582676578
|
||||||
|
DIST stripe-mock-0.78.0.tar.gz 465275 BLAKE2B 2c55ebe41d378d633288cd667a86db4713f2598de1afe4885a2622f591eb93ff2f3db581d056227a8cc7e3b84bd834e3290e351b368247ed4c564545eedd5374 SHA512 a05ef71c231ce0df37494f4e18b42e6a6ebc341796b753b06704503017fceba7cd2fc2cfaa4764a85468df3f4e65a63fb12fe5841cca3a114e47c33f410c478c
|
||||||
|
@ -0,0 +1,22 @@
|
|||||||
|
# Copyright 1999-2019 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=6
|
||||||
|
|
||||||
|
EGO_SRC="github.com/stripe/stripe-mock"
|
||||||
|
EGO_PN=${EGO_SRC}/...
|
||||||
|
inherit golang-build golang-vcs-snapshot
|
||||||
|
|
||||||
|
DESCRIPTION="Mock HTTP server that responds like the real Stripe API"
|
||||||
|
HOMEPAGE="https://github.com/stripe/stripe-mock"
|
||||||
|
SRC_URI="https://github.com/stripe/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
|
||||||
|
LICENSE="MIT ISC BSD-2"
|
||||||
|
SLOT="0"
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
golang-build_src_install
|
||||||
|
dobin bin/stripe-mock
|
||||||
|
rm -rf "${D%/}$(get_golibdir_gopath)" || die
|
||||||
|
}
|
Binary file not shown.
Binary file not shown.
@ -1 +1 @@
|
|||||||
DIST bedrock-server-1.14.0.9.zip 49343697 BLAKE2B eecc771b1722629f924fbf8b9e981ff72d541c4a297fa02c6e951331859bc2240c4c471966176c5bb6f39f7f643f6a4f43447aa978f10a8f53403aeaff29d9cd SHA512 2e11261abd60a36fec029e0297b5e3de9fb0935947e04ee19c43ea3803cf365e2984e231b81d074f25bc7ff08013cc4a961899665f24501c75d3c8817e60e97c
|
DIST bedrock-server-1.14.1.4.zip 49395245 BLAKE2B 987de7d8e009dedb87e01b14e81ba857dd374f7d6621d3f13e137d7a51ad763d952452a1f8d34ff943add8ae3df8c7aff7fc5fe315d2ee29986fe967926a3969 SHA512 765d31aa3fd75c3e654ae65e5888ef3fc094fb12a49d9f0d5b0d94c58dfb508884218288dd4bb1cbda007305bff969219d6d438db4d9732295590678561bfcc3
|
||||||
|
Binary file not shown.
@ -1 +1,2 @@
|
|||||||
DIST milter-regex-2.6.tar.gz 20517 BLAKE2B d98587146010d60a062833d8529af2788d657141e19c249e97bf5c847ffa01d6c76f42b6c8413f957fbeb9843ad38281ba8257aef10d0f1bd414726c416533da SHA512 33afa9a314ff2a2f14a301a85fa142e6e4166ffb77e8d18632b094c7873397e037ee6c5d3d1c248bfbb23037c45a15f21fb0cebcbb0f90c69b3d985aad37f169
|
DIST milter-regex-2.6.tar.gz 20517 BLAKE2B d98587146010d60a062833d8529af2788d657141e19c249e97bf5c847ffa01d6c76f42b6c8413f957fbeb9843ad38281ba8257aef10d0f1bd414726c416533da SHA512 33afa9a314ff2a2f14a301a85fa142e6e4166ffb77e8d18632b094c7873397e037ee6c5d3d1c248bfbb23037c45a15f21fb0cebcbb0f90c69b3d985aad37f169
|
||||||
|
DIST milter-regex-2.7.tar.gz 20579 BLAKE2B e48c5747537d439372d8f473d9b39e337501c24b46d52e13f727b32ee29bb58f266e45ecabad01937f5e56a4a773659daf34d12c6728b6700679b04a2cb595d0 SHA512 d698a7c35768846bcc87a31167cf9a5c41c99d8fa3f3cb5c231e100a7e149d9bca6fc689ece805bd80688787b6d3fa0d9ace49592e1d6c53a25fc2086ebf9962
|
||||||
|
@ -0,0 +1,31 @@
|
|||||||
|
#!/sbin/openrc-run
|
||||||
|
# Copyright 1999-2019 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
pidfile="/run/${RC_SVCNAME}.pid"
|
||||||
|
command="/usr/bin/milter-regex"
|
||||||
|
command_args="-c ${MR_CONF} -r ${pidfile} -u ${MR_USER} -p ${MR_SOCKET} -P ${MR_PERM} -U ${MR_USER} -G ${MR_GROUP} ${MR_OPTS}"
|
||||||
|
extra_commands="configtest"
|
||||||
|
description_configtest="Test configuration file correctness."
|
||||||
|
|
||||||
|
depend() {
|
||||||
|
before mta
|
||||||
|
}
|
||||||
|
|
||||||
|
configtest() {
|
||||||
|
ebegin "Checking configuration file ${MR_CONF}"
|
||||||
|
${command} -d -t -c "${MR_CONF}" || eend "Configuration errors found"
|
||||||
|
}
|
||||||
|
|
||||||
|
start_pre() {
|
||||||
|
if [ "${RC_CMD}" != "restart" ]; then
|
||||||
|
configtest || return 1
|
||||||
|
checkpath --directory --mode 0755 --owner ${MR_USER}:${MR_GROUP} ${MR_RUNDIR}
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
stop_pre() {
|
||||||
|
if [ "${RC_CMD}" = "restart" ]; then
|
||||||
|
configtest || return 1
|
||||||
|
fi
|
||||||
|
}
|
@ -0,0 +1,46 @@
|
|||||||
|
# Copyright 1999-2019 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
inherit toolchain-funcs
|
||||||
|
|
||||||
|
DESCRIPTION="A milter-based regular expression filter"
|
||||||
|
HOMEPAGE="https://www.benzedrine.ch/milter-regex.html"
|
||||||
|
SRC_URI="https://www.benzedrine.ch/${P}.tar.gz"
|
||||||
|
LICENSE="BSD"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
IUSE=""
|
||||||
|
|
||||||
|
RDEPEND="acct-user/milter-regex
|
||||||
|
|| ( mail-filter/libmilter mail-mta/sendmail )"
|
||||||
|
DEPEND="${RDEPEND}
|
||||||
|
virtual/yacc"
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
eapply "${FILESDIR}/${PN}-2.6-gentoo.patch"
|
||||||
|
eapply_user
|
||||||
|
# Change default user
|
||||||
|
sed -i -e 's/_\(milter-regex\)/\1/g' ${PN}.[8c] || die
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
emake CC="$(tc-getCC)" -f Makefile.linux all
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
dobin ${PN}
|
||||||
|
insinto /etc
|
||||||
|
newins rules ${PN}.conf
|
||||||
|
newconfd "${FILESDIR}/${PN}-conf-2.6" ${PN}
|
||||||
|
newinitd "${FILESDIR}/${PN}-init" ${PN}
|
||||||
|
doman *.8
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
elog "Postfix configuration example (add to main.cf or master.cf):"
|
||||||
|
elog " smtpd_milters=unix:/run/milter-regex/socket"
|
||||||
|
elog "Sendmail configuration example:"
|
||||||
|
elog " INPUT_MAIL_FILTER(\`${PN}',\`S=unix:/run/milter-regex/socket,T=S:30s;R:2m')"
|
||||||
|
}
|
Binary file not shown.
@ -1,2 +1,3 @@
|
|||||||
DIST rtaudio-4.1.2.tar.gz 682382 BLAKE2B ddfb0797db8ffef9a73b1af1864a7e9ec5028ff92473a82c8198fc0e8cce35e76ce820487b750988a91b7a519230659f446f2644288b0347c12c2f72b03fd45d SHA512 1e7f7f0f4dc451d023a7c8ab287fe63034cf6b4e18fe138bab253c307d6dd0cddb669b031f6c21325aaac0ce53002acd2a17dd1e47bd8ac2cb14e058cfce1a21
|
DIST rtaudio-4.1.2.tar.gz 682382 BLAKE2B ddfb0797db8ffef9a73b1af1864a7e9ec5028ff92473a82c8198fc0e8cce35e76ce820487b750988a91b7a519230659f446f2644288b0347c12c2f72b03fd45d SHA512 1e7f7f0f4dc451d023a7c8ab287fe63034cf6b4e18fe138bab253c307d6dd0cddb669b031f6c21325aaac0ce53002acd2a17dd1e47bd8ac2cb14e058cfce1a21
|
||||||
DIST rtaudio-5.0.0.tar.gz 615284 BLAKE2B ffb21042896b868b5368708594e050773ea23638e5eca8ea4c63204ee8ad3e433e26f1cc7f359a113df3a962dcaceaff72846346357c9e134c30dde89813cf0a SHA512 390b6c454c42cf066fa94af397b784430dadc1650de320be377b7bbd09eda8705936bff3ee4327358815c3d5247a38fead81c8778cd85db30a12a6ace742c84a
|
DIST rtaudio-5.0.0.tar.gz 615284 BLAKE2B ffb21042896b868b5368708594e050773ea23638e5eca8ea4c63204ee8ad3e433e26f1cc7f359a113df3a962dcaceaff72846346357c9e134c30dde89813cf0a SHA512 390b6c454c42cf066fa94af397b784430dadc1650de320be377b7bbd09eda8705936bff3ee4327358815c3d5247a38fead81c8778cd85db30a12a6ace742c84a
|
||||||
|
DIST rtaudio-5.1.0.tar.gz 655613 BLAKE2B 9fee4a42a2fc040d3f8c8a18c4ef361bfd9cab22df189f6aff23098e299424d8cb4b54075f33ee4f1ab1f851125194228f65814838b091144431bd891a4c7dfe SHA512 221636cfac2286e17f1f2312be2094b6c89087230b95b649661f9ce91356c77fdd8996fd031f0895aba0b50e8091491cdf393a6aeee6f8508ed320180d8fccf6
|
||||||
|
@ -0,0 +1,17 @@
|
|||||||
|
diff --git a/configure.ac b/configure.ac
|
||||||
|
index 43c054a..27a809a 100644
|
||||||
|
--- a/configure.ac
|
||||||
|
+++ b/configure.ac
|
||||||
|
@@ -101,12 +101,10 @@ AS_CASE([${enable_debug}],
|
||||||
|
[ yes ], [
|
||||||
|
AC_MSG_RESULT([yes])
|
||||||
|
AC_DEFINE([__RTAUDIO_DEBUG__])
|
||||||
|
- debugflags="${debugflags} -g -O0"
|
||||||
|
object_path=Debug
|
||||||
|
],
|
||||||
|
[ no ], [
|
||||||
|
AC_MSG_RESULT([no!])
|
||||||
|
- debugflags="${debugflags} -O3"
|
||||||
|
], [
|
||||||
|
AC_MSG_RESULT([no])
|
||||||
|
])
|
@ -0,0 +1,62 @@
|
|||||||
|
# Copyright 1999-2019 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
inherit autotools
|
||||||
|
|
||||||
|
DESCRIPTION="A set of cross-platform C++ classes for realtime audio I/O"
|
||||||
|
HOMEPAGE="https://www.music.mcgill.ca/~gary/rtaudio/"
|
||||||
|
SRC_URI="https://www.music.mcgill.ca/~gary/${PN}/release/${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="MIT"
|
||||||
|
SLOT="0/6"
|
||||||
|
KEYWORDS="~amd64 ~arm64 ~x86"
|
||||||
|
IUSE="+alsa doc jack pulseaudio static-libs"
|
||||||
|
REQUIRED_USE="|| ( alsa jack pulseaudio )"
|
||||||
|
|
||||||
|
RDEPEND="alsa? ( media-libs/alsa-lib )
|
||||||
|
jack? (
|
||||||
|
media-libs/alsa-lib
|
||||||
|
virtual/jack
|
||||||
|
)
|
||||||
|
pulseaudio? ( media-sound/pulseaudio )"
|
||||||
|
DEPEND="${RDEPEND}"
|
||||||
|
|
||||||
|
PATCHES=(
|
||||||
|
"${FILESDIR}"/${P}-cflags.patch
|
||||||
|
)
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
default
|
||||||
|
|
||||||
|
# don't rebuild docs
|
||||||
|
export ac_cv_prog_DOXYGEN=
|
||||||
|
|
||||||
|
eautoreconf
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
# OSS support requires OSSv4
|
||||||
|
local myconf=(
|
||||||
|
$(use_enable static-libs static)
|
||||||
|
$(use_with jack)
|
||||||
|
$(use_with alsa)
|
||||||
|
$(use_with pulseaudio pulse)
|
||||||
|
--without-oss
|
||||||
|
)
|
||||||
|
|
||||||
|
econf "${myconf[@]}"
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
emake DESTDIR="${D}" install
|
||||||
|
|
||||||
|
dodoc README.md doc/release.txt
|
||||||
|
if use doc; then
|
||||||
|
dodoc -r doc/html
|
||||||
|
dodoc -r doc/images
|
||||||
|
fi
|
||||||
|
|
||||||
|
find "${D}" -name "*.la" -delete
|
||||||
|
}
|
Binary file not shown.
@ -1 +1 @@
|
|||||||
Sat, 21 Dec 2019 13:38:47 +0000
|
Sun, 22 Dec 2019 07:38:47 +0000
|
||||||
|
@ -1 +1 @@
|
|||||||
Sat, 21 Dec 2019 13:38:47 +0000
|
Sun, 22 Dec 2019 07:38:47 +0000
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue