parent
98708c14a1
commit
69a8d4a90d
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,3 +1,4 @@
|
||||
DIST eix-0.32.9.tar.xz 599072 BLAKE2B 40fd86520e5c98e4a7cf6710fcd16ce685cc14fbafa417f6694134702b61b83d8d47cfc908c5621d77ba827f7449c985de7dc16650358a8ccad2ab4b48644e38 SHA512 1a7c3d5f371150f5990fe1f1c4cadb0e3ee0a5810011702904aabd58ca250c10f820d6c64e7182096e0b7e2aa001cf573c5f2e83499ceb350cc59b599ec2ca5b
|
||||
DIST eix-0.33.0.tar.xz 610600 BLAKE2B 484d70c3efcceebf54f2a2e0af69b701716d6c6c45aa867a8cc372b135db29bb1bf23cf0efa6d3d2a19224255113229fa30cdd40ab4d64f226eafa73991daa96 SHA512 6fd4ca253ee908eb192ee35c4228bea0fa8a04030070b35489bddc639053c2e3f6a2faf32f539ffd2c7d9da0c664ff5f29ac0d732d9a47b6c9976a65dd402de2
|
||||
DIST eix-0.33.2.tar.xz 614192 BLAKE2B dcbbdb9b9ccf6f780d89c791c34cc588700720b7f015fb0db7ea86dd78a383892266b0e96c49282fdea58e78293c69e8acc153cea631443c35d3ee29dd4c016f SHA512 28ca4cc57e5c7ef81feb37fa90d598e681e192c442c7446c93a442908d2a9744340f7a93c71135ec3083fb85c48a65638c8929b6e1e632464132f4320225d637
|
||||
DIST eix-0.33.5.tar.xz 626628 BLAKE2B 2bb102279084f6bb6871bb4bbe55100708866337501c6043508ee13bdb92064c3a4a41d067b9d4c03af1a5ffbece53d9c66cf89639adf0c555a9511cae3d702f SHA512 7a71a411d4428ee491b9aee0f414e038a08f2195db58466db9b96f0d80edca7eaa153e63534c832c71e1b488e21fbd869a96bd10a21e06a93ce7eba1f808b684
|
||||
|
@ -0,0 +1,109 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit autotools bash-completion-r1 flag-o-matic tmpfiles
|
||||
|
||||
DESCRIPTION="Search and query ebuilds"
|
||||
HOMEPAGE="https://github.com/vaeth/eix/"
|
||||
SRC_URI="https://github.com/vaeth/eix/releases/download/v${PV}/${P}.tar.xz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
IUSE="debug doc nls sqlite"
|
||||
|
||||
BOTHDEPEND="nls? ( virtual/libintl )
|
||||
sqlite? ( >=dev-db/sqlite-3:= )"
|
||||
RDEPEND="${BOTHDEPEND}
|
||||
>=app-shells/push-2.0-r1
|
||||
>=app-shells/quoter-3.0_p2-r1"
|
||||
DEPEND="${BOTHDEPEND}
|
||||
app-arch/xz-utils
|
||||
nls? ( sys-devel/gettext )"
|
||||
|
||||
pkg_setup() {
|
||||
# remove stale cache file to prevent collisions
|
||||
local old_cache=${EROOT%/}/var/cache/${PN}
|
||||
if [[ -f ${old_cache} ]]; then
|
||||
rm "${old_cache}" || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
sed -i -e "s:/:${EPREFIX}/:" tmpfiles.d/eix.conf || die
|
||||
|
||||
sed -e "/eixf_source=/s:push.sh:cat \"${EROOT}usr/share/push/push.sh\":" \
|
||||
-e "/eixf_source=/s:quoter_pipe.sh:cat \"${EROOT}usr/share/quoter/quoter_pipe.sh\":" \
|
||||
-i src/eix-functions.sh.in || die
|
||||
sed -e "s:'\$(bindir)/eix-functions.sh':cat \\\\\"${EROOT}usr/share/eix/eix-functions\\\\\":" \
|
||||
-i src/Makefile.am || die
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf=(
|
||||
$(use_enable debug paranoic-asserts)
|
||||
$(use_enable nls)
|
||||
$(use_with doc extra-doc)
|
||||
$(use_with sqlite)
|
||||
|
||||
# default configuration
|
||||
$(use_with prefix always-accept-keywords)
|
||||
--with-dep-default
|
||||
--with-required-use-default
|
||||
|
||||
# paths
|
||||
--with-portage-rootpath="${ROOTPATH}"
|
||||
--with-eprefix-default="${EPREFIX}"
|
||||
|
||||
# build a single executable with symlinks
|
||||
--disable-separate-binaries
|
||||
--disable-separate-tools
|
||||
|
||||
# used purely to control/disrespect *FLAGS
|
||||
--disable-debugging
|
||||
--disable-new_dialect
|
||||
--disable-optimization
|
||||
--disable-strong-optimization
|
||||
--disable-security
|
||||
--disable-nopie-security
|
||||
--disable-strong-security
|
||||
)
|
||||
|
||||
# https://github.com/vaeth/eix/issues/35
|
||||
append-cxxflags -std=c++14
|
||||
|
||||
econf "${myconf[@]}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
dobashcomp bash/eix
|
||||
dotmpfiles tmpfiles.d/eix.conf
|
||||
|
||||
rm -r "${ED%/}"/usr/bin/eix-functions.sh || die
|
||||
|
||||
keepdir /var/cache/eix
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if ! use prefix; then
|
||||
# note: if this is done in src_install(), portage:portage
|
||||
# ownership may be reset to root
|
||||
tmpfiles_process eix.conf
|
||||
fi
|
||||
|
||||
local obs=${EROOT%/}/var/cache/eix.previous
|
||||
if [[ -f ${obs} ]]; then
|
||||
ewarn "Found obsolete ${obs}, please remove it"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
if [[ ! -n ${REPLACED_BY_VERSION} ]]; then
|
||||
rm -rf "${EROOT%/}/var/cache/${PN}" || die
|
||||
fi
|
||||
}
|
Binary file not shown.
@ -1 +1,2 @@
|
||||
DIST scdoc-1.3.1.tar.xz 8776 BLAKE2B 1d11423abde7ec3e7b03ddc4f9698b7b78cac6972066c57886160974bd885225dc42793d19942c11ffd215f5dddd6453f66cbd083be03132b437b6f6f8a93c8a SHA512 a404df2e2eef76cc02c69f32eb131eaa4d4ed51e96dc6ea39400662f767648538fc27c618cf34c064004918a92940ae5400e91b7b628e431132cb9619d3e94eb
|
||||
DIST scdoc-1.3.1.tar.gz 9392 BLAKE2B 609f25252f0ee864ba3500961aa1048c6490278f4861fb4494ca62365a20d0cb128e53a6397bd089bd5a37f25f7f3c080f6921f1c4f4ca7e4af729c87e1994fc SHA512 6064de8c76eb959708b32e93634223565e5d4b390069d4fcd2d87d27bb472a333c60b21de87d676eb57ff5f8ed6445d3c3bd92dfe7dd611f9886abc38e8d21d2
|
||||
DIST scdoc-1.5.2.tar.gz 10542 BLAKE2B 07ceb1b3b57026a4e67e575f02042c2c882cdbd29712a4d3726ff39b4356bb63a35a99b21dd68fee31aad6fb2df14b1886bb2694098bc9096c5ff9e41600e7c4 SHA512 755c1c7fbae6cbeb75ca2aa2498cb3b2cf644e5118188c3e4a4636d74764b475b1818dcb5bd08ff70e017af9c1f8cb2e351db36a2cc98885724731e4247201eb
|
||||
|
@ -0,0 +1,43 @@
|
||||
# Copyright 1999-2018 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="Standalone tool for generating man pages with a simple syntax"
|
||||
HOMEPAGE="https://git.sr.ht/~sircmpwn/scdoc"
|
||||
|
||||
if [[ ${PV} == 9999 ]]; then
|
||||
EGIT_REPO_URI="https://git.sr.ht/~sircmpwn/scdoc"
|
||||
inherit git-r3
|
||||
else
|
||||
SRC_URI="https://git.sr.ht/~sircmpwn/scdoc/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
fi
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
sed -e 's/-Werror//' \
|
||||
-i Makefile || die 'Failed to patch Makefile'
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local MY_HS="./scdoc"
|
||||
if tc-is-cross-compiler; then
|
||||
tc-export_build_env
|
||||
MY_HS="./hostscdoc"
|
||||
emake scdoc HOST_SCDOC="./hostscdoc" OUTDIR="${S}/.build.host" CC="$(tc-getBUILD_CC)" \
|
||||
CFLAGS="${BUILD_CFLAGS} -DVERSION='\"${PV}\"'" LDFLAGS="${BUILD_LDFLAGS}"
|
||||
mv scdoc hostscdoc || die 'Failed to rename host scdoc'
|
||||
fi
|
||||
emake LDFLAGS="${LDFLAGS}" PREFIX="${EPREFIX}/usr" HOST_SCDOC="${MY_HS}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" HOST_SCDOC="${MY_HS}" install
|
||||
}
|
@ -0,0 +1,43 @@
|
||||
# Copyright 1999-2018 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="Standalone tool for generating man pages with a simple syntax"
|
||||
HOMEPAGE="https://git.sr.ht/~sircmpwn/scdoc"
|
||||
|
||||
if [[ ${PV} == 9999 ]]; then
|
||||
EGIT_REPO_URI="https://git.sr.ht/~sircmpwn/scdoc"
|
||||
inherit git-r3
|
||||
else
|
||||
SRC_URI="https://git.sr.ht/~sircmpwn/scdoc/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
fi
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
sed -e 's/-Werror//' \
|
||||
-i Makefile || die 'Failed to patch Makefile'
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local MY_HS="./scdoc"
|
||||
if tc-is-cross-compiler; then
|
||||
tc-export_build_env
|
||||
MY_HS="./hostscdoc"
|
||||
emake scdoc HOST_SCDOC="./hostscdoc" OUTDIR="${S}/.build.host" CC="$(tc-getBUILD_CC)" \
|
||||
CFLAGS="${BUILD_CFLAGS} -DVERSION='\"${PV}\"'" LDFLAGS="${BUILD_LDFLAGS}"
|
||||
mv scdoc hostscdoc || die 'Failed to rename host scdoc'
|
||||
fi
|
||||
emake LDFLAGS="${LDFLAGS}" PREFIX="${EPREFIX}/usr" HOST_SCDOC="${MY_HS}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" HOST_SCDOC="${MY_HS}" install
|
||||
}
|
Binary file not shown.
@ -0,0 +1,36 @@
|
||||
# Copyright 1999-2018 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
MY_P="LucenePlusPlus-rel_${PV}"
|
||||
inherit cmake-utils
|
||||
|
||||
DESCRIPTION="C++ port of Lucene library, a high-performance, full-featured text search engine"
|
||||
HOMEPAGE="https://github.com/luceneplusplus/LucenePlusPlus"
|
||||
SRC_URI="https://github.com/luceneplusplus/LucenePlusPlus/archive/rel_${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="|| ( LGPL-3 Apache-2.0 )"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 hppa ppc ppc64 sparc x86"
|
||||
IUSE="debug"
|
||||
|
||||
DEPEND="dev-libs/boost:="
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
DOCS=( AUTHORS README.rst )
|
||||
|
||||
PATCHES=( "${FILESDIR}/${P}-boost-1.58.patch" )
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DENABLE_DEMO=OFF
|
||||
-DENABLE_TEST=OFF
|
||||
)
|
||||
|
||||
cmake-utils_src_configure
|
||||
}
|
Binary file not shown.
@ -0,0 +1,27 @@
|
||||
--- instantclient_18_3/sdk/demo/demo_proc_ic.mk.orig 2018-10-22 13:34:44.302293002 +0200
|
||||
+++ instantclient_18_3/sdk/demo/demo_proc_ic.mk 2018-10-22 13:38:55.015321571 +0200
|
||||
@@ -37,8 +37,13 @@
|
||||
cc=/usr/bin/gcc
|
||||
|
||||
# InstantClient Directories.
|
||||
-ICSDKHOME=../
|
||||
-ICLIBHOME=../../
|
||||
+ifeq ($(BUILD32),T)
|
||||
+LIBDIR=lib32
|
||||
+else
|
||||
+LIBDIR=lib
|
||||
+endif
|
||||
+ICSDKHOME=$(ORACLE_HOME)/
|
||||
+ICLIBHOME=$(ORACLE_HOME)/$(LIBDIR)
|
||||
|
||||
MKLINK=ln
|
||||
REMOVE=rm -rf
|
||||
@@ -48,7 +53,7 @@
|
||||
MAKEFILE=demo_proc_ic.mk
|
||||
PROCDEMO=procdemo
|
||||
|
||||
-PROC=$(ICSDKHOME)proc
|
||||
+PROC=$(ICSDKHOME)bin/proc
|
||||
SO_EXT=.so
|
||||
I_SYM=-I
|
||||
|
@ -0,0 +1,375 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="7"
|
||||
|
||||
inherit eutils pax-utils multilib-minimal
|
||||
|
||||
DESCRIPTION="Oracle 18c Instant Client with SDK"
|
||||
HOMEPAGE="https://www.oracle.com/technetwork/database/database-technologies/instant-client/overview/index.html"
|
||||
|
||||
MY_SOVER=18.1 # the library soname found in the zip files
|
||||
|
||||
IUSE="jdbc odbc precomp +sdk +sqlplus tools"
|
||||
REQUIRED_USE="precomp? ( sdk )"
|
||||
|
||||
MY_PVM=$(ver_cut 1-2)
|
||||
MY_P="instantclient_$(ver_rs 1 _ ${MY_PVM})"
|
||||
|
||||
MY_PV=$(ver_cut 1-4)
|
||||
MY_PVP=$(ver_cut 5) # p2
|
||||
|
||||
MY_PLAT_x86="Linux x86"
|
||||
MY_BITS_x86=32
|
||||
MY_A_x86="${PN/oracle-/}-basic-linux-${MY_PV}.0dbru.zip"
|
||||
MY_A_x86_jdbc="${MY_A_x86/basic/jdbc}"
|
||||
MY_A_x86_odbc="${MY_A_x86/basic/odbc}"
|
||||
MY_A_x86_precomp="${MY_A_x86/basic/precomp}"
|
||||
MY_A_x86_sdk="${MY_A_x86/basic/sdk}"
|
||||
MY_A_x86_sqlplus="${MY_A_x86/basic/sqlplus}"
|
||||
MY_A_x86_tools="${MY_A_x86/basic/tools}"
|
||||
|
||||
MY_PLAT_amd64="Linux x86-64"
|
||||
MY_BITS_amd64=64
|
||||
MY_A_amd64="${PN/oracle-}-basic-linux.x64-${MY_PV}.0dbru.zip"
|
||||
MY_A_amd64_jdbc="${MY_A_amd64/basic/jdbc}"
|
||||
MY_A_amd64_odbc="${MY_A_amd64/basic/odbc}"
|
||||
MY_A_amd64_precomp="${MY_A_amd64/basic/precomp}"
|
||||
MY_A_amd64_sdk="${MY_A_amd64/basic/sdk}"
|
||||
MY_A_amd64_sqlplus="${MY_A_amd64/basic/sqlplus}"
|
||||
MY_A_amd64_tools="${MY_A_amd64/basic/tools}"
|
||||
|
||||
if [[ ${MY_PVP} == p* ]]
|
||||
then
|
||||
MY_PVP=-${MY_PVP#p}
|
||||
# Updated 9/22/2017: instantclient-odbc-linux-12.2.0.1.0-2.zip
|
||||
MY_A_x86_odbc="${MY_A_x86_odbc%.zip}${MY_PVP}.zip"
|
||||
MY_A_amd64_odbc="${MY_A_amd64_odbc%.zip}${MY_PVP}.zip"
|
||||
fi
|
||||
|
||||
SRC_URI="
|
||||
abi_x86_32? (
|
||||
${MY_A_x86}
|
||||
jdbc? ( ${MY_A_x86_jdbc} )
|
||||
odbc? ( ${MY_A_x86_odbc} )
|
||||
precomp? ( ${MY_A_x86_precomp} )
|
||||
!abi_x86_64? (
|
||||
sdk? ( ${MY_A_x86_sdk} )
|
||||
sqlplus? ( ${MY_A_x86_sqlplus} )
|
||||
tools? ( ${MY_A_x86_tools} )
|
||||
) )
|
||||
abi_x86_64? (
|
||||
${MY_A_amd64}
|
||||
jdbc? ( ${MY_A_amd64_jdbc} )
|
||||
odbc? ( ${MY_A_amd64_odbc} )
|
||||
precomp? ( ${MY_A_amd64_precomp} )
|
||||
sdk? ( ${MY_A_amd64_sdk} )
|
||||
sqlplus? ( ${MY_A_amd64_sqlplus} )
|
||||
tools? ( ${MY_A_amd64_tools} )
|
||||
)
|
||||
"
|
||||
|
||||
LICENSE="OTN"
|
||||
SLOT="0/${MY_SOVER}"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
RESTRICT="fetch splitdebug"
|
||||
|
||||
DEPEND="app-arch/unzip"
|
||||
RDEPEND="
|
||||
>=dev-libs/libaio-0.3.109-r5[${MULTILIB_USEDEP}]
|
||||
!<dev-db/oracle-instantclient-basic-12
|
||||
!<dev-db/oracle-instantclient-odbc-12
|
||||
!<dev-db/oracle-instantclient-jdbc-12
|
||||
!<dev-db/oracle-instantclient-sqlplus-12
|
||||
"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
QA_PREBUILT="usr/lib*/oracle/client/*/*"
|
||||
|
||||
set_my_abivars() {
|
||||
if multilib_is_native_abi; then
|
||||
MY_WORKDIR="${WORKDIR}"
|
||||
MY_S="${S}"
|
||||
else
|
||||
MY_WORKDIR="${WORKDIR}/${ABI}"
|
||||
MY_S="${MY_WORKDIR}/${MY_P}"
|
||||
fi
|
||||
|
||||
local abi=${ABI}
|
||||
[[ ${abi} == 'default' ]] && abi=${ARCH}
|
||||
MY_PLAT=MY_PLAT_${abi} ; MY_PLAT=${!MY_PLAT} # platform name
|
||||
MY_BITS=MY_BITS_${abi} ; MY_BITS=${!MY_BITS} # platform bitwidth
|
||||
MY_A=MY_A_${abi} ; MY_A=${!MY_A} # runtime distfile
|
||||
MY_A_jdbc=MY_A_${abi}_jdbc ; MY_A_jdbc=${!MY_A_jdbc} # jdbc distfile
|
||||
MY_A_odbc=MY_A_${abi}_odbc ; MY_A_odbc=${!MY_A_odbc} # odbc distfile
|
||||
MY_A_precomp=MY_A_${abi}_precomp; MY_A_precomp=${!MY_A_precomp} # precomp distfile
|
||||
MY_A_sdk=MY_A_${abi}_sdk ; MY_A_sdk=${!MY_A_sdk} # sdk distfile
|
||||
MY_A_sqlplus=MY_A_${abi}_sqlplus; MY_A_sqlplus=${!MY_A_sqlplus} # sqlplus distfile
|
||||
MY_A_tools=MY_A_${abi}_tools ; MY_A_tools=${!MY_A_tools} # tools distfile
|
||||
|
||||
[[ -n ${MY_PLAT} ]]
|
||||
}
|
||||
|
||||
oic_distfile_status() {
|
||||
: # We must not access DISTDIR in pkg_* phase, bug#612966.
|
||||
# Not removing this lines yet, we may eventually specify this feature.
|
||||
# if [[ -r ${DISTDIR}/${1} ]]; then
|
||||
# echo "already here"
|
||||
# else
|
||||
# echo "still absent"
|
||||
# fi
|
||||
}
|
||||
|
||||
pkg_nofetch() {
|
||||
eerror "Please go to"
|
||||
eerror " ${HOMEPAGE//overview/downloads}"
|
||||
eerror " and download"
|
||||
local ABI
|
||||
for ABI in $(multilib_get_enabled_abis)
|
||||
do
|
||||
set_my_abivars || continue
|
||||
eerror "Instant Client for ${MY_PLAT}"
|
||||
# convenient ordering like Linux x86-64 download site
|
||||
eerror " Basic: $(oic_distfile_status ${MY_A}) ${MY_A}"
|
||||
use sqlplus && multilib_is_native_abi &&
|
||||
eerror " SQL*Plus: $(oic_distfile_status ${MY_A_sqlplus}) ${MY_A_sqlplus}"
|
||||
use tools && multilib_is_native_abi &&
|
||||
eerror " Tools: $(oic_distfile_status ${MY_A_tools}) ${MY_A_tools}"
|
||||
use sdk && multilib_is_native_abi &&
|
||||
eerror " SDK: $(oic_distfile_status ${MY_A_sdk}) ${MY_A_sdk}"
|
||||
use jdbc &&
|
||||
eerror " JDBC: $(oic_distfile_status ${MY_A_jdbc}) ${MY_A_jdbc}"
|
||||
use odbc &&
|
||||
eerror " ODBC: $(oic_distfile_status ${MY_A_odbc}) ${MY_A_odbc}"
|
||||
use precomp &&
|
||||
eerror " Precompiler: $(oic_distfile_status ${MY_A_precomp}) ${MY_A_precomp}"
|
||||
done
|
||||
eerror "After downloading these files (for *all* shown architectures),"
|
||||
eerror "put them in your DISTDIR filesystem directory."
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
local ABI
|
||||
for ABI in $(multilib_get_enabled_abis)
|
||||
do
|
||||
set_my_abivars || continue
|
||||
mkdir -p "${MY_WORKDIR}" || die
|
||||
cd "${MY_WORKDIR}" || die
|
||||
unpack ${MY_A}
|
||||
use jdbc && unpack ${MY_A_jdbc}
|
||||
use odbc && unpack ${MY_A_odbc}
|
||||
use precomp && unpack ${MY_A_precomp}
|
||||
if multilib_is_native_abi; then
|
||||
use sdk && unpack ${MY_A_sdk}
|
||||
use sqlplus && unpack ${MY_A_sqlplus}
|
||||
use tools && unpack ${MY_A_tools}
|
||||
fi
|
||||
done
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
local PATCHES=()
|
||||
if use precomp; then
|
||||
PATCHES+=( "${FILESDIR}"/18.3.0.0-proc-makefile.patch )
|
||||
# Not supporting COBOL for now
|
||||
rm -f sdk/demo/*procob*
|
||||
fi
|
||||
if use sdk; then
|
||||
PATCHES+=( "${FILESDIR}"/18.3.0.0-makefile.patch )
|
||||
rm sdk/include/ldap.h || die #299562
|
||||
fi
|
||||
default
|
||||
}
|
||||
|
||||
# silence configure&compile messages from multilib-minimal
|
||||
src_configure() { :; }
|
||||
src_compile() { :; }
|
||||
|
||||
src_install() {
|
||||
# all content goes here without version number, bug#578402
|
||||
local oracle_home=/usr/$(get_libdir)/oracle/client
|
||||
local oracle_home_to_root=../../../.. # for dosym
|
||||
local ldpath=
|
||||
|
||||
local ABI
|
||||
for ABI in $(multilib_get_enabled_abis) # last iteration is final ABI
|
||||
do
|
||||
if ! set_my_abivars; then
|
||||
elog "Skipping unsupported ABI ${ABI}."
|
||||
continue
|
||||
fi
|
||||
einfo "Installing runtime for ${MY_PLAT} ..."
|
||||
|
||||
cd "${MY_S}" || die
|
||||
|
||||
# shared libraries
|
||||
into "${oracle_home}"
|
||||
dolib.so lib*$(get_libname)*
|
||||
use precomp && dolib.a cobsqlintf.o
|
||||
|
||||
# ensure to be linkable
|
||||
[[ -e libocci$(get_libname) ]] ||
|
||||
dosym libocci$(get_libname ${MY_SOVER}) \
|
||||
"${oracle_home}"/$(get_libdir)/libocci$(get_libname)
|
||||
[[ -e libclntsh$(get_libname) ]] ||
|
||||
dosym libclntsh$(get_libname ${MY_SOVER}) \
|
||||
"${oracle_home}"/$(get_libdir)/libclntsh$(get_libname)
|
||||
|
||||
# java archives
|
||||
insinto "${oracle_home}"/$(get_libdir)
|
||||
doins *.jar
|
||||
|
||||
# runtime library path
|
||||
ldpath+=${ldpath:+:}${oracle_home}/$(get_libdir)
|
||||
|
||||
# Vanilla filesystem layout does not support multilib
|
||||
# installation, so we need to move the libs into the
|
||||
# ABI specific libdir. However, ruby-oci8 build system
|
||||
# detects an instantclient along the libraries, and
|
||||
# does expect the sdk right there.
|
||||
use sdk && dosym ../sdk "${oracle_home}"/$(get_libdir)/sdk
|
||||
|
||||
eend $?
|
||||
done
|
||||
|
||||
local DOCS=( BASIC_README )
|
||||
local HTML_DOCS=()
|
||||
local paxbins=( adrci genezi uidrvci )
|
||||
local scripts=()
|
||||
|
||||
if use jdbc; then
|
||||
DOCS+=( JDBC_README )
|
||||
fi
|
||||
if use odbc; then
|
||||
DOCS+=( ODBC_README )
|
||||
HTML_DOCS+=( help )
|
||||
scripts+=( odbc_update_ini.sh )
|
||||
fi
|
||||
if use precomp; then
|
||||
DOCS+=( PRECOMP_README )
|
||||
paxbins+=( sdk/proc )
|
||||
# Install pcscfg.cfg into /etc/oracle, as the user probably
|
||||
# wants to add the include path for the compiler headers
|
||||
# here and we do not want this to be overwritten.
|
||||
insinto /etc/oracle
|
||||
doins precomp/admin/pcscfg.cfg
|
||||
sed -i -e "s%^sys_include=.*%sys_include=(${oracle_home}/include,${EPREFIX}/usr/include)%" \
|
||||
"${ED}"/etc/oracle/pcscfg.cfg || die
|
||||
dosym ../../${oracle_home_to_root}/etc/oracle/pcscfg.cfg "${oracle_home}/precomp/admin/pcscfg.cfg"
|
||||
dosym ../.."${oracle_home}"/bin/proc /usr/bin/proc
|
||||
# Not supporting COBOL for now
|
||||
# paxbins+=( sdk/{procob,rtsora} )
|
||||
# doins precomp/admin/pcbcfg.cfg
|
||||
fi
|
||||
if use sdk; then
|
||||
einfo "Installing SDK ..."
|
||||
DOCS+=( sdk/SDK_README )
|
||||
scripts+=( sdk/ott )
|
||||
insinto "${oracle_home}"/$(get_libdir)
|
||||
doins sdk/ottclasses.zip
|
||||
insinto "${oracle_home}"/sdk
|
||||
doins -r sdk/{admin,demo,include}
|
||||
dosym sdk/include "${oracle_home}"/include
|
||||
|
||||
# The build system in DBD::Oracle perl module would detect
|
||||
# an instantclient along the sharedlibs in ORACLE_HOME, which
|
||||
# we cannot provide. But it also knows Oracle eXpress Edition's
|
||||
# layout - which we emulate enough here to let DBD::Oracle work.
|
||||
dosym ../../sdk/demo/demo.mk "${oracle_home}"/rdbms/demo/demo_xe.mk
|
||||
|
||||
# some build systems expect the headers here, also see bug#652096
|
||||
dosym ../../../.."${oracle_home}"/sdk/include /usr/include/oracle/${MY_PVM}/client
|
||||
|
||||
eend $?
|
||||
fi
|
||||
if use sqlplus; then
|
||||
DOCS+=( SQLPLUS_README )
|
||||
paxbins+=( sqlplus )
|
||||
insinto "${oracle_home}"/sqlplus/admin
|
||||
doins glogin.sql
|
||||
dosym ../.."${oracle_home}"/bin/sqlplus /usr/bin/sqlplus
|
||||
fi
|
||||
if use tools; then
|
||||
DOCS+=( TOOLS_README )
|
||||
paxbins+=( exp expdp imp impdp sqlldr wrc )
|
||||
fi
|
||||
|
||||
einfo "Installing binaries for ${MY_PLAT} ..."
|
||||
into "${oracle_home}"
|
||||
dobin ${paxbins[*]} ${scripts[*]}
|
||||
pushd "${ED}${oracle_home}/bin" >/dev/null || die
|
||||
pax-mark -c ${paxbins[*]#*/} || die
|
||||
popd >/dev/null || die
|
||||
eend $?
|
||||
|
||||
einstalldocs
|
||||
|
||||
# create path for tnsnames.ora
|
||||
insinto /etc/oracle
|
||||
doins "${FILESDIR}"/tnsnames.ora.sample
|
||||
|
||||
# Add OCI libs to library path
|
||||
{
|
||||
echo "# ${EPREFIX}/etc/env.d/50${PN}"
|
||||
echo "# Do not edit this file, but 99${PN} instead"
|
||||
echo
|
||||
echo "ORACLE_HOME=${EPREFIX}${oracle_home}"
|
||||
echo "LDPATH=${ldpath}"
|
||||
echo "TNS_ADMIN=${EPREFIX}/etc/oracle/"
|
||||
} > "${T}"/50${PN}
|
||||
|
||||
doenvd "${T}"/50${PN}
|
||||
|
||||
# ensure ORACLE_HOME/lib exists
|
||||
[[ -e ${ED}${oracle_home}/lib/. ]] ||
|
||||
dosym $(get_libdir) "${oracle_home#/}"/lib
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
if [[ -r ${EROOT}/etc/env.d/99${PN} ]]; then
|
||||
cp "${EROOT}/etc/env.d/99${PN}" "${ED}/etc/env.d/" || die
|
||||
else
|
||||
{
|
||||
echo "# ${EPREFIX}/etc/env.d/99${PN}"
|
||||
echo "# Configure system-wide defaults for your Oracle Instant Client here"
|
||||
echo
|
||||
echo "#$(grep '^ORACLE_HOME=' "${ED}/etc/env.d/50${PN}")"
|
||||
echo "#$(grep '^TNS_ADMIN=' "${ED}/etc/env.d/50${PN}")"
|
||||
echo "#NLS_LANG="
|
||||
} > "${ED}/etc/env.d/99${PN}"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "${P} does not provide an sqlnet.ora"
|
||||
elog "configuration file, redirecting oracle diagnostics for database-"
|
||||
elog "and network-issues into ~USER/oradiag_USER/ instead."
|
||||
elog "It should be safe to ignore this message in sqlnet.log there:"
|
||||
elog " Directory does not exist for read/write [ORACLE_HOME/client/log] []"
|
||||
elog "See https://bugs.gentoo.org/show_bug.cgi?id=465252 for reference."
|
||||
elog "If you want to directly analyse low-level debug info or don't want"
|
||||
elog "to see it at all, so you really need an sqlnet.ora file, please"
|
||||
elog "consult http://search.oracle.com/search/search?q=sqlnet.ora"
|
||||
elog ""
|
||||
elog "TNS_ADMIN has been set to ${EPREFIX}/etc/oracle by default,"
|
||||
elog "put your tnsnames.ora there or configure TNS_ADMIN"
|
||||
elog "to point to your user specific configuration."
|
||||
if use precomp; then
|
||||
elog ""
|
||||
elog "The proc precompiler uses the system library headers, which in"
|
||||
elog "turn include the headers of the used compiler."
|
||||
elog "To make proc work, please add the compiler header path of your"
|
||||
elog "preferred compiler to sys_include in:"
|
||||
elog " ${EPREFIX}/etc/oracle/pcscfg.cfg"
|
||||
elog "Remember to update this setting when you switch or update the"
|
||||
elog "compiler."
|
||||
elog "For gcc, the headers are usually found in a path matching the"
|
||||
elog "following pattern:"
|
||||
elog " ${EPREFIX}/usr/lib/gcc/*/*/include"
|
||||
elog "The exact details depend on the architecture and the version of"
|
||||
elog "the compiler to be used."
|
||||
fi
|
||||
ewarn "Please re-source your shell settings for ORACLE_HOME"
|
||||
ewarn " changes, such as: source ${EPREFIX}/etc/profile"
|
||||
}
|
Binary file not shown.
Binary file not shown.
@ -1,24 +1,23 @@
|
||||
DIST erlang-20.3.2.tar.gz 53492641 BLAKE2B 2cdf78b6003801400d99949865a5b3e17d2209bf411bbe07dc12f749c84725710d12f85cb2559bc39ac04a7d6f7a9ae07b5f131a5524cf4ce3eb8559ca0259bc SHA512 060874cd4f72c1ecea178dd102f4b37a644485a810127092ad04fee76b52729ce199ee476335a2a40370bc718b7e03eb76869c3a48d457773856fd9f6d30a20b
|
||||
DIST erlang-20.3.8.9.tar.gz 53514692 BLAKE2B 1afa37ff8cc462cb0cc719c49c2c10b2684c7160b6912c574834021b2f521737dfa4cfedd0c82c843c1bb1e1977143fac7ae1ec94cfa9df4b2775deffd903a7b SHA512 6318760423f019a1611479da9b4187556a29e97f27bbc900cb36e0b2e0ef7e89ca65c053afbe4154cd9b5eaa3b59085a6d88c26d2990b09b7d2396b1dd5584a7
|
||||
DIST erlang-19.3.6.12.tar.gz 34004718 BLAKE2B 49f726a4c3f3bb4fcde1d3ff7cee93ef68a0ed0f5cbb00af8fb3585fb640302bf407351b61b0507c6aaefb4311f77dc0de450d2c43c6f8310f6af01ffd424a79 SHA512 9e117cbbc9cf53d908ae87f58f80f5ad4d3e69d5f1c94e3460a1d9c287dc7290d05fccb104ffc7779dd36b6b9377290ac4c5983a8ad3ea3ca518f66e0ab0db3f
|
||||
DIST erlang-20.3.8.10.tar.gz 53511918 BLAKE2B 5f430bda415a5b59e9dec3222abe311264277ee91b2e7e9e69dba1016169492dc621df314c057e39f16b7bfe01686f405b9ccde362f84c5c2f0ffde68a923ffa SHA512 0d5ab27d17ff203d2c719fd5a03d843e3046037240e97ae9ad59d9f0690cf46cfb5fac2569590ce68f62169b1b2b2bc693e9a9b82f6ab0371693c5324bd3288b
|
||||
DIST erlang-20.3.8.tar.gz 53499006 BLAKE2B 0c38fb739a9c4f4b79533faea8c533f85c30d680081b5de96e70722a243d53b9317a26c7138a24a78cadd938777bd48a515484fffef2fdfd720819ab12bb8c0c SHA512 2ada142b47fdd0d1807a179e7cd3067e001f94682011436d33e503219a8a93495a187f8192fa2ebcdac48409e489b7b310d538779447981e6ba033a6dde12e1c
|
||||
DIST erlang-21.0.2.tar.gz 52835517 BLAKE2B bf7e2e166236a7c0a3e3411889f163dce0d938c1a854a6c264c137b601587c4cd4d62d58d9a87cf925406272d6e3d6547e4403927adc8e901716289ee2164162 SHA512 ff736a6df92ac7feec7b9ebb1b6523d511a533d48e536f36aee20fa21b5a1dc33791065d45f6900bbbaa48b4ba80b57a306b416801456a5ac33468786dfb00b7
|
||||
DIST erlang-21.0.9.tar.gz 52842736 BLAKE2B 57de5e94450a70d32eb46bff691be4d3679daa56bee4e9aa2aad156b9447ea5bbe1287b806c304115c0ac4a677b8a04fb23286e269c7e0516f60cebd5ef2b3c7 SHA512 01bc5ce8d5c76823af1a17d389f326509c4ade5add0b0e66830e2c6aec2c7d93906cbbf9fb6b454178bddfa1c96355d632e4c557ab6da2bbdb8c6b0e05d87ee8
|
||||
DIST erlang-21.1.1.tar.gz 53854332 BLAKE2B 32ab508b5a305eb92eac9f49bd513374c573966e7565d98aa6ba986ce42eb955a46130b9f33dbb415f48de5c179b308a8b06b345a844afcb2700f7e3f257f27e SHA512 dc11aace126aad5411b0d583579fe95a7263be328612fdc9f9c02d917aef7ea7a128b1e54ddcf7a52232980d2c81fc8e90ae5a8806ee5ae6ea97f00a9cf3faab
|
||||
DIST erlang-21.1.tar.gz 53857079 BLAKE2B ae292f5e98d747a6afb5d82205dd33d55cb6e275e3ebc98a4dbc8378cfcb1ea64f83d5f2d2256fd7208c7fe553b47ff25edf2858287f5316cae50788f2175337 SHA512 9e118e902c33b8dd71266efb4cc4aeb0db0d8be8adb64ac85595a6507dc847b84e5444a9b5c5cbf46b560c885db9f4cd934c74de4aa2e1574785295ea0865348
|
||||
DIST erlang_doc_html_19.3.tar.gz 35818689 BLAKE2B 30118276fbd817b803ef20700fe2e71a8457645d00f8949b6d3175d92cb5c84d306e4de9899e2f5e0c562d8040dc22db35e1a0f2e314cf1a783794573b3ece59 SHA512 a70d2c470fa1dc0594b20af73ba36ccb7702b4192960e6fc0296738175215a43450f9bf558637f7f5e40757f7a15dcf4f1ae8a88515e211cd3c0fae45c5e1858
|
||||
DIST erlang_doc_html_20.3.tar.gz 33594990 BLAKE2B 34db68a5c3ae56f097474cc0b776971853d96c57d3d2e058a5db8998aad9c8d498610979a46155e8e935022f363c944f407c10c650fd35174cf1f50697ddf1de SHA512 4b280228fb9cbd9eb62db12ff9d6fad67d6855d0cdbc780839bbc95302ffd907c5b410e6f8519207db8850b753964571a9bf9df9eca53749f5b01d1b27dbc6d4
|
||||
DIST erlang_doc_html_21.0.tar.gz 32501093 BLAKE2B 5c5bab831d4a86129cca41f8e82416d45a92e8ae29cd2223301633b46471783ee6bb8131d469cedcf0f655ea21879c475c61d0b9eefba9e12d78d0a803403a19 SHA512 8be300d9e502b7dcf8db4621d7c5c8981f47cbff851b30b33ef33871f737554eda73dacd179b64995fc45362c4dfd91e15ff659d2898f863465222176bfbff9f
|
||||
DIST erlang_doc_html_21.1.tar.gz 32692731 BLAKE2B a7fa8ebe1c876ab7eecd2dd46ffd4d288db6d308e0f131d53c26ee4b67a92cb6fcb89b6c880ef34df395c7ad61fcdc81eac32e0fcf7336be7d517263218146bc SHA512 0d659f55bfb01eecf140a310154724489ef56b6ccbe9ac30f6b053f598276721b80de7b5b3200707cf8a6e77b8854eae5453f655225f431fcc982550539f767f
|
||||
DIST erlang_doc_man_19.3.tar.gz 1410781 BLAKE2B 78293aa498c2651be27d83f13e14007f25a1816b4dae499f463249f774256eddde3a4e31c435a30edd04fb6f41cee965c968b338de77330c3320f3df6087be92 SHA512 675a0d2d5972660a60de17c832e630f646f942d23815427eb0dec3a5ca1c44ed8fe35a9c30f8b608dedfd10f6fb1e47e958ea6e32e296b6f6809b1844b4da9a1
|
||||
DIST erlang_doc_man_20.3.tar.gz 1339710 BLAKE2B 00aba848940914b3d98f9500b8201b0679d7d63d066cee296c8fbb399f132340b989f3cdcdd6c45a46e432efdb7c40c39d8ab4f3dbd64570316d649efc9faed1 SHA512 22c398ce3b42c7ef8abec1db85745eeb4d8804bc679d40b6a786fdc40dc241e43b5551df5d1eccb3ca8d4a64b833bf6663e77044f4564bb49cf67c4b74c5ea25
|
||||
DIST erlang_doc_man_21.0.tar.gz 1311959 BLAKE2B 70b049c6d7b8bbbb3bf77f7588ccf0eb937d5fe511968d47e1325dd01b48e986ae82804ffc88b750f0f7e2fe0482c0506ad060a6a84892eea61264aa2b003dd9 SHA512 611ac0b7cb2c0bc0bb6cd194dffe4f9d2c95bf38da033aa8c43d386a9bedf6f7d6fa8a95d340dbb57da2698602599c8e0501cbbdd735d6e5d35110aa9087dc79
|
||||
DIST erlang_doc_man_21.1.tar.gz 1317726 BLAKE2B 5e5c2b77a41da6ab9ae1264ba5824a9f3bda6d3b7a824b372e01356888db437ed9e45bf987d678aca3fd8d0f0e6dce25080c7a2aaa4e061936f1e6ac4717e843 SHA512 94c6191ba9f42bffeb398e865026fbc79f3b233389c7d471f0c680799aa3669e97ab5305cd53f26d6525aed33d738ebfc4eb79a8f1a0b29dc4b79a2a37a29a4f
|
||||
DIST otp_doc_html_19.1.tar.gz 34624316 BLAKE2B e3a5edfe1645d58e4cbd6537c775190716eed7613610ddfa112692fdbace2077b1ccdf7df5987973d2ae4ef529e4ec45d44a240265157816e2a15dabe9232b83 SHA512 2c6448af0be4bf35427950aca82eac3aac7554575ba07a8ba8942c27e1eb668461fde00604c3be28fbaca8a1e28ee4861608e33a9c79bc951bb695f99b1c1ac8
|
||||
DIST otp_doc_html_19.3.tar.gz 35818689 BLAKE2B 30118276fbd817b803ef20700fe2e71a8457645d00f8949b6d3175d92cb5c84d306e4de9899e2f5e0c562d8040dc22db35e1a0f2e314cf1a783794573b3ece59 SHA512 a70d2c470fa1dc0594b20af73ba36ccb7702b4192960e6fc0296738175215a43450f9bf558637f7f5e40757f7a15dcf4f1ae8a88515e211cd3c0fae45c5e1858
|
||||
DIST otp_doc_html_20.2.tar.gz 33570484 BLAKE2B c47244a601ae780e5304aedbafbc84d514cb21852760c51384b197d8d37602d51448b7123f6205da9afd2c5d2158f518a122dd4d550ca2ff22d3425eb31b6cf7 SHA512 b481930066737cf0ae2496aa9bc0c865da46bd3985fe5ebcf51eb9383539a57ec364e1eed9d3916ba0953d837d0d5d37cfc129a995d4e2a9656846e75cda9397
|
||||
DIST otp_doc_html_20.3.tar.gz 33594990 BLAKE2B 34db68a5c3ae56f097474cc0b776971853d96c57d3d2e058a5db8998aad9c8d498610979a46155e8e935022f363c944f407c10c650fd35174cf1f50697ddf1de SHA512 4b280228fb9cbd9eb62db12ff9d6fad67d6855d0cdbc780839bbc95302ffd907c5b410e6f8519207db8850b753964571a9bf9df9eca53749f5b01d1b27dbc6d4
|
||||
DIST otp_doc_man_19.1.tar.gz 1405580 BLAKE2B 93b79b88f81a00d7cbb934dbac811c6ea0ec59413e073fe613038eab71087908ed4e4bcbb6c8ed2f0c5bdd03ab4a570f20c4460f233c040ae0c4238e1cfa097a SHA512 4ee35feeff70419ff5500e00dc17e34fdea8be21342d41cf1e255b84a1826b51057046be543ee1052153ae8c8cd215f4720cecae7d9fe1576cbd681dcf4b2334
|
||||
DIST otp_doc_man_19.3.tar.gz 1410781 BLAKE2B 78293aa498c2651be27d83f13e14007f25a1816b4dae499f463249f774256eddde3a4e31c435a30edd04fb6f41cee965c968b338de77330c3320f3df6087be92 SHA512 675a0d2d5972660a60de17c832e630f646f942d23815427eb0dec3a5ca1c44ed8fe35a9c30f8b608dedfd10f6fb1e47e958ea6e32e296b6f6809b1844b4da9a1
|
||||
DIST otp_doc_man_20.2.tar.gz 1337652 BLAKE2B 416e83c696e30981eabad1f5a7c89abfd0b9d48ff04c9bd86b13dc96302acc9f2b9a73906a2976888ce35c6bfb38b3c006a1e0a041dd1bd5e75908e53bb920c3 SHA512 a67bb975b613c74c4e2418406b6472764ac69dfb9f8a6f64c79c680b1f87edea719431c140b006f776b0088885d958a6f2718267cebaf73ed506eaff721400f4
|
||||
DIST otp_doc_man_20.3.tar.gz 1339710 BLAKE2B 00aba848940914b3d98f9500b8201b0679d7d63d066cee296c8fbb399f132340b989f3cdcdd6c45a46e432efdb7c40c39d8ab4f3dbd64570316d649efc9faed1 SHA512 22c398ce3b42c7ef8abec1db85745eeb4d8804bc679d40b6a786fdc40dc241e43b5551df5d1eccb3ca8d4a64b833bf6663e77044f4564bb49cf67c4b74c5ea25
|
||||
DIST otp_src_19.1.tar.gz 68103074 BLAKE2B 48e06ce5998929a8ca9804e51f07a4153e7fb1c8b1b4b1b60132e255c29c475534ce018a7902ed29b696b783a21daa73d1778435aada1a77064ab46e915af87d SHA512 bd1c243393c867c91768367613aedb40d56889add149390c81f22e022e76b716d6e9a4d5db7e6477ceb1216c26c18c962abdfd8215a87420758f5ef2063b9714
|
||||
DIST otp_src_19.3.tar.gz 68510871 BLAKE2B fc37c493f5fa3533aaa29f545ff751f5851b58d8952f6f21ef50fec433d661a1e3300139b30a41d9c1f16b3eeaf5d98450bf0a2408e7910712d9d98f3af19237 SHA512 6920eab6e1681a76ab44bdd0eeb9b012e601191f91ca06edf1f63ba2e261c555d6f8dddf7025b2e9c3c6459bd63ff78659010ec33967fb1952840fb451ec2de6
|
||||
DIST otp_src_20.2.tar.gz 87136848 BLAKE2B f83e652320b67b72cf42be3c23a9251806096fea4e255f73c8170bcb61ea1e008983f1da1c9dc7b46b76e1fd0d96f94097f5d629eb28c08eb424bb1e7a1cee28 SHA512 6c2cbef9fa67f4aa9d0c22bedf87f39b0067994614663afee88c57bb7789eec45cb1970dcbd930d163a27293b8d24b20a90cf6ed30ff1a14492a9ccdd5b59a65
|
||||
DIST otp_src_20.3.tar.gz 88170904 BLAKE2B 3f92641e4eb4079572c0cc1cbc6ba1f56977efd182efcef6c466a0ac6232e18d9481823624cdd49a866feb38e96db6150f40927f25f2daaa64fe4aafd02089b4 SHA512 4169e2e653055c62dd66e214dcab577b49cadb8328dcc43adb8a2d44850b12c02db8323992c21852409697c5a48493068316417be9d97519b039a8f1cde143da
|
||||
|
@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Copyright 1999-2018 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
@ -1,158 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
WX_GTK_VER="3.0"
|
||||
|
||||
inherit autotools elisp-common eutils java-pkg-opt-2 multilib systemd versionator wxwidgets
|
||||
|
||||
# NOTE: If you need symlinks for binaries please tell maintainers or
|
||||
# open up a bug to let it be created.
|
||||
|
||||
DESCRIPTION="Erlang programming language, runtime environment and libraries (OTP)"
|
||||
HOMEPAGE="https://www.erlang.org/"
|
||||
SRC_URI="http://erlang.org/download/otp_src_${PV}.tar.gz
|
||||
http://erlang.org/download/otp_doc_man_${PV}.tar.gz
|
||||
doc? ( http://erlang.org/download/otp_doc_html_${PV}.tar.gz )"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris"
|
||||
|
||||
IUSE="compat-ethread dirty-schedulers doc emacs hipe java kpoll libressl odbc smp sctp ssl systemd tk wxwidgets"
|
||||
REQUIRED_USE="dirty-schedulers? ( smp )" #621610
|
||||
|
||||
RDEPEND="
|
||||
ssl? (
|
||||
!libressl? ( >=dev-libs/openssl-0.9.7d:0 )
|
||||
libressl? ( dev-libs/libressl )
|
||||
)
|
||||
emacs? ( virtual/emacs )
|
||||
java? ( >=virtual/jdk-1.2:* )
|
||||
odbc? ( dev-db/unixODBC )
|
||||
systemd? ( sys-apps/systemd )"
|
||||
DEPEND="${RDEPEND}
|
||||
wxwidgets? ( x11-libs/wxGTK:${WX_GTK_VER}[X,opengl] virtual/glu )
|
||||
sctp? ( net-misc/lksctp-tools )
|
||||
tk? ( dev-lang/tk )"
|
||||
|
||||
S="${WORKDIR}/otp_src_${PV}"
|
||||
|
||||
SITEFILE=50${PN}-gentoo.el
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/18.2.1-wx3.0.patch
|
||||
epatch "${FILESDIR}"/${P}-libressl-2.6.1.patch
|
||||
|
||||
use odbc || sed -i 's: odbc : :' lib/Makefile
|
||||
|
||||
# bug 263129, don't ignore LDFLAGS, reported upstream
|
||||
sed -e 's:LDFLAGS = \$(DED_LDFLAGS):LDFLAGS += \$(DED_LDFLAGS):' -i "${S}"/lib/megaco/src/flex/Makefile.in
|
||||
|
||||
# don't ignore LDFLAGS, reported upstream
|
||||
sed -e 's:LDFLAGS = \$(ODBC_LIB) \$(EI_LDFLAGS):LDFLAGS += \$(ODBC_LIB) \$(EI_LDFLAGS):' -i "${S}"/lib/odbc/c_src/Makefile.in
|
||||
|
||||
if ! use wxwidgets; then
|
||||
sed -i 's: wx : :' lib/Makefile
|
||||
rm -rf lib/wx
|
||||
fi
|
||||
|
||||
# Nasty workaround, reported upstream
|
||||
cp "${S}"/lib/configure.in.src "${S}"/lib/configure.in
|
||||
|
||||
# bug 383697
|
||||
sed -i '1i#define OF(x) x' erts/emulator/drivers/common/gzio.c
|
||||
|
||||
cd erts && mv configure.in configure.ac && eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
use wxwidgets && need-wxwidgets unicode
|
||||
use java || export JAVAC=false
|
||||
|
||||
econf \
|
||||
--enable-threads \
|
||||
$(use_enable sctp) \
|
||||
$(use_enable systemd) \
|
||||
$(use_enable hipe) \
|
||||
$(use_with ssl ssl "${EPREFIX}"/usr) \
|
||||
$(use_enable ssl dynamic-ssl-lib) \
|
||||
$(use_enable kpoll kernel-poll) \
|
||||
$(use_enable smp smp-support) \
|
||||
$(use compat-ethread && echo "--enable-ethread-pre-pentium4-compatibility") \
|
||||
$(use x64-macos && echo "--enable-darwin-64bit") \
|
||||
$(use_enable dirty-schedulers)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
use java || export JAVAC=false
|
||||
emake
|
||||
|
||||
if use emacs ; then
|
||||
pushd lib/tools/emacs
|
||||
elisp-compile *.el
|
||||
popd
|
||||
fi
|
||||
}
|
||||
|
||||
extract_version() {
|
||||
sed -n -e "/^$2 = \(.*\)$/s::\1:p" "${S}/$1/vsn.mk"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local ERL_LIBDIR=/usr/$(get_libdir)/erlang
|
||||
local ERL_INTERFACE_VER=$(extract_version lib/erl_interface EI_VSN)
|
||||
local ERL_ERTS_VER=$(extract_version erts VSN)
|
||||
|
||||
emake INSTALL_PREFIX="${D}" install
|
||||
dodoc AUTHORS README.md
|
||||
|
||||
dosym "${ERL_LIBDIR}/bin/erl" /usr/bin/erl
|
||||
dosym "${ERL_LIBDIR}/bin/erlc" /usr/bin/erlc
|
||||
dosym "${ERL_LIBDIR}/bin/escript" /usr/bin/escript
|
||||
dosym \
|
||||
"${ERL_LIBDIR}/lib/erl_interface-${ERL_INTERFACE_VER}/bin/erl_call" \
|
||||
/usr/bin/erl_call
|
||||
dosym "${ERL_LIBDIR}/erts-${ERL_ERTS_VER}/bin/beam" /usr/bin/beam
|
||||
use smp && dosym "${ERL_LIBDIR}/erts-${ERL_ERTS_VER}/bin/beam.smp" /usr/bin/beam.smp
|
||||
|
||||
## Clean up the no longer needed files
|
||||
rm "${ED}/${ERL_LIBDIR}/Install"
|
||||
|
||||
for i in "${WORKDIR}"/man/man* ; do
|
||||
dodir "${ERL_LIBDIR}/${i##${WORKDIR}}"
|
||||
done
|
||||
for file in "${WORKDIR}"/man/man*/*.[1-9]; do
|
||||
# doman sucks so we can't use it
|
||||
cp ${file} "${ED}/${ERL_LIBDIR}"/man/man${file##*.}/
|
||||
done
|
||||
# extend MANPATH, so the normal man command can find it
|
||||
# see bug 189639
|
||||
dodir /etc/env.d/
|
||||
echo "MANPATH=\"${EPREFIX}${ERL_LIBDIR}/man\"" > "${ED}/etc/env.d/90erlang"
|
||||
|
||||
if use doc ; then
|
||||
dohtml -A README,erl,hrl,c,h,kwc,info -r \
|
||||
"${WORKDIR}"/doc "${WORKDIR}"/lib "${WORKDIR}"/erts-*
|
||||
fi
|
||||
|
||||
if use emacs ; then
|
||||
pushd "${S}"
|
||||
elisp-install erlang lib/tools/emacs/*.{el,elc}
|
||||
sed -e "s:/usr/share:${EPREFIX}/usr/share:g" \
|
||||
"${FILESDIR}"/${SITEFILE} > "${T}"/${SITEFILE}
|
||||
elisp-site-file-install "${T}"/${SITEFILE}
|
||||
popd
|
||||
fi
|
||||
|
||||
newinitd "${FILESDIR}"/epmd.init epmd
|
||||
systemd_dounit "${FILESDIR}"/epmd.service
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
use emacs && elisp-site-regen
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
use emacs && elisp-site-regen
|
||||
}
|
@ -1,227 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
WX_GTK_VER="3.0"
|
||||
|
||||
inherit autotools elisp-common java-pkg-opt-2 systemd versionator wxwidgets
|
||||
|
||||
# NOTE: If you need symlinks for binaries please tell maintainers or
|
||||
# open up a bug to let it be created.
|
||||
|
||||
UPSTREAM_V="$(get_version_component_range 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"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris"
|
||||
|
||||
IUSE="dirty-schedulers doc emacs hipe java kpoll libressl odbc smp sctp ssl systemd tk"
|
||||
REQUIRED_USE="dirty-schedulers? ( smp )" #621610
|
||||
|
||||
RDEPEND="
|
||||
ssl? (
|
||||
!libressl? ( >=dev-libs/openssl-0.9.7d:0= )
|
||||
libressl? ( dev-libs/libressl:0= )
|
||||
)
|
||||
emacs? ( virtual/emacs )
|
||||
java? ( >=virtual/jdk-1.2:* )
|
||||
odbc? ( dev-db/unixODBC )
|
||||
systemd? ( sys-apps/systemd )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-lang/perl
|
||||
sctp? ( net-misc/lksctp-tools )
|
||||
sys-libs/zlib
|
||||
tk? ( dev-lang/tk )
|
||||
x11-libs/wxGTK:${WX_GTK_VER}[X,opengl]
|
||||
virtual/glu
|
||||
"
|
||||
|
||||
S="${WORKDIR}/otp-OTP-${PV}"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/18.2.1-wx3.0.patch"
|
||||
"${FILESDIR}/${PN}-20.3.2-dont-ignore-LDFLAGS.patch"
|
||||
"${FILESDIR}/${PN}-add-epmd-pid-file-creation-for-openrc.patch"
|
||||
)
|
||||
|
||||
SITEFILE=50"${PN}"-gentoo.el
|
||||
|
||||
# Taken from the upstream build script, build_otp
|
||||
erlang_create_lib_configure_in() {
|
||||
local bootstrap_apps="erts lib/asn1 lib/compiler lib/hipelib/ic lib/kernel
|
||||
lib/parsetools lib/sasl lib/snmp lib/stdlib lib/syntax_tools"
|
||||
local sdirs=
|
||||
for lib_app in ${bootstrap_apps}; do
|
||||
case "${lib_app}" in
|
||||
lib/*)
|
||||
if [[ -f "${lib_app}/configure.in" ]]; then
|
||||
mv "${lib_app}/configure.in" "${lib_app}/configure.ac" || die
|
||||
app=`echo "${lib_app}" | sed "s|lib/\(.*\)|\1|"`
|
||||
sdirs="${sdirs}test ! -f ${app}/configure || AC_CONFIG_SUBDIRS(${app}/.)\n" || die
|
||||
fi;;
|
||||
*)
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
||||
local sed_bootstrap="s%@BOOTSTRAP_CONFIGURE_APPS@%$sdirs%g"
|
||||
|
||||
sdirs=
|
||||
for lib_app in lib/*; do
|
||||
local is_bapp=false
|
||||
for bapp in ${bootstrap_apps}; do
|
||||
test "${bapp} != ${lib_app}" || { "${is_bapp}"=true; break; }
|
||||
done
|
||||
if [[ "${is_bapp}" = false ]] && [[ -f "${lib_app}/configure.in" ]]; then
|
||||
mv "${lib_app}/configure.in" "${lib_app}/configure.ac" || die
|
||||
app=`echo "${lib_app}" | sed "s|lib/\(.*\)|\1|"` || die
|
||||
sdirs="${sdirs} test ! -f ${app}/configure || AC_CONFIG_SUBDIRS(${app}/.)\n"
|
||||
fi
|
||||
done
|
||||
|
||||
local sed_non_bootstrap="s%@NON_BOOTSTRAP_CONFIGURE_APPS@%$sdirs%g"
|
||||
|
||||
rm -f lib/configure.in || die
|
||||
sed "$sed_bootstrap;$sed_non_bootstrap" > lib/configure.ac < lib/configure.in.src || die "Failed to create lib/configure.ac"
|
||||
|
||||
}
|
||||
|
||||
# Taken from the upstream build script, build_otp
|
||||
erlang_distribute_config_helpers() {
|
||||
local aclocal_dirs=". ./lib/erl_interface ./lib/odbc ./lib/wx ./lib/megaco"
|
||||
local autoconf_aux_dirs="./lib/common_test/priv/auxdir ./lib/erl_interface/src/auxdir ./lib/common_test/test_server ./lib/wx/autoconf"
|
||||
|
||||
local aclocal_master="./erts/aclocal.m4"
|
||||
local install_sh_master="./erts/autoconf/install-sh"
|
||||
local config_guess_master="./erts/autoconf/config.guess"
|
||||
local config_sub_master="./erts/autoconf/config.sub"
|
||||
|
||||
for dir in ${aclocal_dirs}; do
|
||||
"${install_sh_master}" -m 644 -t "${dir}" "${aclocal_master}" || die
|
||||
done
|
||||
|
||||
for dir in ${autoconf_aux_dirs}; do
|
||||
"${install_sh_master}" -d "${dir}" || die
|
||||
"${install_sh_master}" -t "${dir}" "${install_sh_master}" || die
|
||||
"${install_sh_master}" -t "${dir}" "${config_guess_master}" || die
|
||||
"${install_sh_master}" -t "${dir}" "${config_sub_master}" || die
|
||||
done
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# Determines which directories to recurse into with autoconf
|
||||
erlang_create_lib_configure_in
|
||||
|
||||
# Move local autoconf files into the neccessary directories
|
||||
erlang_distribute_config_helpers
|
||||
|
||||
java-pkg-opt-2_src_prepare
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
need-wxwidgets unicode
|
||||
|
||||
econf \
|
||||
--disable-builtin-zlib \
|
||||
$(use_enable dirty-schedulers) \
|
||||
$(use_enable hipe) \
|
||||
$(use_enable kpoll kernel-poll) \
|
||||
$(use_with java javac) \
|
||||
$(use_with odbc) \
|
||||
$(use_enable sctp) \
|
||||
$(use_enable smp smp-support) \
|
||||
$(use_with ssl) \
|
||||
$(use_with ssl ssl-rpath "no") \
|
||||
$(use_enable ssl dynamic-ssl-lib) \
|
||||
$(use_enable systemd) \
|
||||
--enable-threads
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake
|
||||
|
||||
if use emacs ; then
|
||||
pushd lib/tools/emacs &>/dev/null || die
|
||||
elisp-compile *.el
|
||||
popd &>/dev/null || die
|
||||
fi
|
||||
}
|
||||
|
||||
extract_version() {
|
||||
sed -n -e "/^$2 = \(.*\)$/s::\1:p" "${S}/$1/vsn.mk"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local ERL_LIBDIR="/usr/$(get_libdir)/erlang"
|
||||
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="${ED}" 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}
|
||||
fi
|
||||
|
||||
einstalldocs
|
||||
|
||||
dosym "${ERL_LIBDIR}/bin/erl" /usr/bin/erl
|
||||
dosym "${ERL_LIBDIR}/bin/erlc" /usr/bin/erlc
|
||||
dosym "${ERL_LIBDIR}/bin/escript" /usr/bin/escript
|
||||
dosym \
|
||||
"${ERL_LIBDIR}/lib/erl_interface-${ERL_INTERFACE_VER}/bin/erl_call" \
|
||||
/usr/bin/erl_call
|
||||
|
||||
if use smp; then
|
||||
dosym "${ERL_LIBDIR}/erts-${ERL_ERTS_VER}/bin/beam.smp" /usr/bin/beam.smp
|
||||
else
|
||||
dosym "${ERL_LIBDIR}/erts-${ERL_ERTS_VER}/bin/beam" /usr/bin/beam
|
||||
fi
|
||||
|
||||
## 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
|
||||
echo "MANPATH=\"${MY_MANPATH}\"" > "${T}/90erlang" || die
|
||||
doenvd "${T}/90erlang"
|
||||
|
||||
if use emacs ; then
|
||||
pushd "${S}" &>/dev/null || die
|
||||
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}"
|
||||
popd &>/dev/null || die
|
||||
fi
|
||||
|
||||
newinitd "${FILESDIR}"/epmd.init epmd
|
||||
systemd_dounit "${FILESDIR}"/epmd.service
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
use emacs && elisp-site-regen
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
use emacs && elisp-site-regen
|
||||
}
|
@ -0,0 +1,161 @@
|
||||
# Copyright 1999-2018 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
WX_GTK_VER="3.0"
|
||||
|
||||
inherit autotools eapi7-ver 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"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris"
|
||||
IUSE="doc emacs +hipe java +kpoll libressl odbc pgo sctp ssl systemd tk +wxwidgets"
|
||||
|
||||
RDEPEND="
|
||||
sys-libs/ncurses:0
|
||||
sys-libs/zlib
|
||||
emacs? ( virtual/emacs )
|
||||
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}-20.3.2-dont-ignore-LDFLAGS.patch"
|
||||
"${FILESDIR}/${PN}-add-epmd-pid-file-creation-for-openrc.patch"
|
||||
"${FILESDIR}/${PN}-custom-autoconf.patch"
|
||||
)
|
||||
|
||||
SITEFILE=50"${PN}"-gentoo.el
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
./otp_build autoconf
|
||||
find -name configure.in -execdir mv '{}' configure.ac \; || die "find failed"
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
use wxwidgets && setup-wxwidgets
|
||||
|
||||
local myconf=(
|
||||
--disable-builtin-zlib
|
||||
$(use_enable hipe)
|
||||
$(use_enable kpoll kernel-poll)
|
||||
$(use_with java javac)
|
||||
$(use_with odbc)
|
||||
$(use_enable sctp)
|
||||
$(use_with ssl)
|
||||
$(use_with ssl ssl-rpath "no")
|
||||
$(use_enable ssl dynamic-ssl-lib)
|
||||
$(use_enable systemd)
|
||||
$(use_enable pgo)
|
||||
$(usex wxwidgets "--with-wx-config=${WX_CONFIG}" "--with-wxdir=/dev/null")
|
||||
--enable-threads
|
||||
)
|
||||
econf "${myconf[@]}"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
if use pgo; then
|
||||
# disable distcc and ccache
|
||||
export DISTCC_HOSTS=""
|
||||
export CCACHE_DISABLE=1
|
||||
fi
|
||||
|
||||
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="${ED}" 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 epmd
|
||||
use systemd && systemd_dounit "${FILESDIR}"/epmd.service
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
use emacs && elisp-site-regen
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
use emacs && elisp-site-regen
|
||||
}
|
@ -1,111 +0,0 @@
|
||||
From b5b6c7695c5377b5aa474d8620df7c3e9a1ba629 Mon Sep 17 00:00:00 2001
|
||||
From: Hans Nilsson <hans@erlang.org>
|
||||
Date: Thu, 11 Jan 2018 15:29:23 +0100
|
||||
Subject: [PATCH] crypto: Disable RSA sslv23 padding for LibreSSL >= 2.6.1
|
||||
|
||||
Not supported in newer LibreSSL.
|
||||
---
|
||||
lib/crypto/c_src/crypto.c | 26 +++++++++++++++++++++++---
|
||||
1 file changed, 23 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git a/lib/crypto/c_src/crypto.c b/lib/crypto/c_src/crypto.c
|
||||
index 6957d25774..9a3ea07c97 100644
|
||||
--- a/lib/crypto/c_src/crypto.c
|
||||
+++ b/lib/crypto/c_src/crypto.c
|
||||
@@ -179,6 +179,12 @@
|
||||
# define HAVE_ECB_IVEC_BUG
|
||||
#endif
|
||||
|
||||
+#define HAVE_RSA_SSLV23_PADDING
|
||||
+#if defined(HAS_LIBRESSL) \
|
||||
+ && LIBRESSL_VERSION_NUMBER >= PACKED_OPENSSL_VERSION_PLAIN(2,6,1)
|
||||
+# undef HAVE_RSA_SSLV23_PADDING
|
||||
+#endif
|
||||
+
|
||||
#if defined(HAVE_CMAC)
|
||||
#include <openssl/cmac.h>
|
||||
#endif
|
||||
@@ -659,7 +665,9 @@ static ERL_NIF_TERM atom_rsa_oaep_md;
|
||||
static ERL_NIF_TERM atom_rsa_pad; /* backwards compatibility */
|
||||
static ERL_NIF_TERM atom_rsa_padding;
|
||||
static ERL_NIF_TERM atom_rsa_pkcs1_pss_padding;
|
||||
+#ifdef HAVE_RSA_SSLV23_PADDING
|
||||
static ERL_NIF_TERM atom_rsa_sslv23_padding;
|
||||
+#endif
|
||||
static ERL_NIF_TERM atom_rsa_x931_padding;
|
||||
static ERL_NIF_TERM atom_rsa_pss_saltlen;
|
||||
static ERL_NIF_TERM atom_sha224;
|
||||
@@ -1064,7 +1072,9 @@ static int initialize(ErlNifEnv* env, ERL_NIF_TERM load_info)
|
||||
atom_rsa_pad = enif_make_atom(env,"rsa_pad"); /* backwards compatibility */
|
||||
atom_rsa_padding = enif_make_atom(env,"rsa_padding");
|
||||
atom_rsa_pkcs1_pss_padding = enif_make_atom(env,"rsa_pkcs1_pss_padding");
|
||||
+#ifdef HAVE_RSA_SSLV23_PADDING
|
||||
atom_rsa_sslv23_padding = enif_make_atom(env,"rsa_sslv23_padding");
|
||||
+#endif
|
||||
atom_rsa_x931_padding = enif_make_atom(env,"rsa_x931_padding");
|
||||
atom_rsa_pss_saltlen = enif_make_atom(env,"rsa_pss_saltlen");
|
||||
atom_sha224 = enif_make_atom(env,"sha224");
|
||||
@@ -4449,8 +4459,10 @@ static int get_pkey_crypt_options(ErlNifEnv *env, ERL_NIF_TERM algorithm, ERL_NI
|
||||
opt->rsa_padding = RSA_PKCS1_PADDING;
|
||||
} else if (tpl_terms[1] == atom_rsa_pkcs1_oaep_padding) {
|
||||
opt->rsa_padding = RSA_PKCS1_OAEP_PADDING;
|
||||
+#ifdef HAVE_RSA_SSLV23_PADDING
|
||||
} else if (tpl_terms[1] == atom_rsa_sslv23_padding) {
|
||||
opt->rsa_padding = RSA_SSLV23_PADDING;
|
||||
+#endif
|
||||
} else if (tpl_terms[1] == atom_rsa_x931_padding) {
|
||||
opt->rsa_padding = RSA_X931_PADDING;
|
||||
} else if (tpl_terms[1] == atom_rsa_no_padding) {
|
||||
@@ -4516,7 +4528,10 @@ static ERL_NIF_TERM pkey_crypt_nif(ErlNifEnv *env, int argc, const ERL_NIF_TERM
|
||||
#endif
|
||||
PKeyCryptOptions crypt_opt;
|
||||
ErlNifBinary in_bin, out_bin, tmp_bin;
|
||||
- size_t outlen, tmplen;
|
||||
+ size_t outlen;
|
||||
+#ifdef HAVE_RSA_SSLV23_PADDING
|
||||
+ size_t tmplen;
|
||||
+#endif
|
||||
int is_private = (argv[4] == atom_true),
|
||||
is_encrypt = (argv[5] == atom_true);
|
||||
int algo_init = 0;
|
||||
@@ -4596,6 +4611,7 @@ static ERL_NIF_TERM pkey_crypt_nif(ErlNifEnv *env, int argc, const ERL_NIF_TERM
|
||||
if (crypt_opt.signature_md != NULL
|
||||
&& EVP_PKEY_CTX_set_signature_md(ctx, crypt_opt.signature_md) <= 0)
|
||||
goto badarg;
|
||||
+#ifdef HAVE_RSA_SSLV23_PADDING
|
||||
if (crypt_opt.rsa_padding == RSA_SSLV23_PADDING) {
|
||||
if (is_encrypt) {
|
||||
RSA *rsa = EVP_PKEY_get1_RSA(pkey);
|
||||
@@ -4607,9 +4623,11 @@ static ERL_NIF_TERM pkey_crypt_nif(ErlNifEnv *env, int argc, const ERL_NIF_TERM
|
||||
in_bin = tmp_bin;
|
||||
}
|
||||
if (EVP_PKEY_CTX_set_rsa_padding(ctx, RSA_NO_PADDING) <= 0) goto badarg;
|
||||
- } else {
|
||||
+ } else
|
||||
+#endif
|
||||
+ {
|
||||
if (EVP_PKEY_CTX_set_rsa_padding(ctx, crypt_opt.rsa_padding) <= 0) goto badarg;
|
||||
- }
|
||||
+ }
|
||||
#ifdef HAVE_RSA_OAEP_MD
|
||||
if (crypt_opt.rsa_padding == RSA_PKCS1_OAEP_PADDING) {
|
||||
if (crypt_opt.rsa_oaep_md != NULL
|
||||
@@ -4728,6 +4746,7 @@ static ERL_NIF_TERM pkey_crypt_nif(ErlNifEnv *env, int argc, const ERL_NIF_TERM
|
||||
#endif
|
||||
|
||||
if ((i > 0) && argv[0] == atom_rsa && !is_encrypt) {
|
||||
+#ifdef HAVE_RSA_SSLV23_PADDING
|
||||
if (crypt_opt.rsa_padding == RSA_SSLV23_PADDING) {
|
||||
RSA *rsa = EVP_PKEY_get1_RSA(pkey);
|
||||
unsigned char *p;
|
||||
@@ -4745,6 +4764,7 @@ static ERL_NIF_TERM pkey_crypt_nif(ErlNifEnv *env, int argc, const ERL_NIF_TERM
|
||||
i = 1;
|
||||
}
|
||||
}
|
||||
+#endif
|
||||
}
|
||||
|
||||
if (tmp_bin.data != NULL) {
|
||||
--
|
||||
2.16.0
|
||||
|
Binary file not shown.
@ -1,2 +1,3 @@
|
||||
DIST mxml-2.10.tar.gz 265398 BLAKE2B eb3edec5615d727dec9285e2b74f4c877e8332be8f8183483e85a91d92ca1f48e5fc6d06afa3650c133c9762998abfdc8e846a9961ce55251d0c5bbcba0a970f SHA512 c3838611979c4228df476166e4e987fc1ff8f9b8bd30139066b475dcd99e25be81ecc5171235bc80b1c2291c9d78c9ceae9a1dfc928272a983740d6a67372f5c
|
||||
DIST mxml-2.11.tar.gz 9164003 BLAKE2B d124b7d779e7ea9609a91b823fe7f6b45ab4049e79eb72729ca2ffec93a83479d5fed1ef21efc76881a11de58be71b1f3de79fc3e4f07c26f35d3f68e25c017b SHA512 046421f91eea16f0ca99fbf611891c367ea9c3c54d04080d08acf108d7749ad9bbf2f4b3ef234a5130f00f77618196e2c5a245f32230daf645c1f775e961d378
|
||||
DIST mxml-2.12.tar.gz 9112072 BLAKE2B 29e63abdd567c76209ca41adf608bd752863cdb2911d5bda482a2c6ac50ccdae2179941a3899d7e58480bab8903fee8a6c431619072d2861acd01f18d0eeb9e5 SHA512 49233a0087f3ef73a01ef71bb79511af36bb72027e3d9f6df919385e9ff0b03a489a3ccc590941bc4af1f558f82b2ed9bf8ff641863300a7791ce6dddfd56e77
|
@ -0,0 +1,60 @@
|
||||
# Copyright 1999-2018 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="7"
|
||||
|
||||
inherit autotools
|
||||
|
||||
DESCRIPTION="A small XML parsing library that you can use to read XML data files or strings"
|
||||
HOMEPAGE="https://github.com/michaelrsweet/mxml
|
||||
https://www.msweet.org/mxml/"
|
||||
SRC_URI="https://github.com/michaelrsweet/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
|
||||
LICENSE="Mini-XML"
|
||||
SLOT="0"
|
||||
IUSE="static-libs threads"
|
||||
|
||||
BDEPEND="virtual/pkgconfig"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# Respect users CFLAGS
|
||||
sed -e 's/-Os -g//' -i configure.ac || die
|
||||
|
||||
# Don't run always tests
|
||||
# Enable verbose compiling
|
||||
sed -e '/ALLTARGETS/s/testmxml//g' -e '/.SILENT:/d' -i Makefile.in || die
|
||||
|
||||
# Build only static-libs, when requested by user, also build docs without static-libs in that case
|
||||
if ! use static-libs; then
|
||||
local mysedopts=(
|
||||
-e '/^install:/s/install-libmxml.a//g'
|
||||
-e '/^mxml.xml:/s/-static//g'
|
||||
-e '/^mxml.epub:/s/-static//g'
|
||||
-e '/^valgrind/s/-static//g'
|
||||
-e 's/.\/mxmldoc-static/LD_LIBRARY_PATH="." .\/mxmldoc/g'
|
||||
)
|
||||
sed "${mysedopts[@]}" -i Makefile.in || die
|
||||
fi
|
||||
|
||||
eautoconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myeconfopts=(
|
||||
$(use_enable threads)
|
||||
--with-docdir=/usr/share/doc/${PF}
|
||||
)
|
||||
|
||||
econf "${myeconfopts[@]}"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
emake testmxml
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DSTROOT="${ED}" install
|
||||
}
|
Binary file not shown.
@ -1,3 +1,4 @@
|
||||
DIST igbinary-2.0.5.tar.gz 183869 BLAKE2B 8bb56ff0213c77dbc17cf65962e23579935b2330ca2107b8e6e00461a486e60df4209c375e9f74d17bb0a745136fa776233b41cfc51ffb5e1dc1c8fdb4a8bbf2 SHA512 e0abae97b5a0c9ab30ea00a490294f18f91b66b728a05186167e15c0a631d4de82b8a24d370a0d58cf5552adde68dd1b3fe56e877d382fbbdac02cfc18e49063
|
||||
DIST igbinary-2.0.6.tar.gz 184889 BLAKE2B 7c07dc7b766ea395137c2cfffab6329f6fe5fc7e8ffb712474ef9c945319364b20ba4f8735aa776bc15b94c2cd815bba5c1a8b7c25c9715d706a6773f80082d8 SHA512 c9f76aedcfb5aace6b8a3c064410b099bf4563d99115ebfeb9c53a3dd18a48e5c44b99a04a2a75f5d114aa5a6d9030b6f2242502c6b3c9d273a6936f9fa410e6
|
||||
DIST igbinary-2.0.7.tar.gz 185004 BLAKE2B e95326a90f8226a3b01e8a7db960a950b47ac72af42b1a2c069fdab0bc8b524c52d36c283490e8123a28b21ebaff09c23ca6b1c0696d5d57548bbcaaae43d500 SHA512 1e17b53c39118e5f1e1808a0cf9ce9dce053ba84706670c6d4b2323e2aafd612df6a95b95b43344e4ecdc792c304c43aa8eab959fba0fee77b0a21d9ce3b2ffa
|
||||
DIST igbinary-2.0.8.tar.gz 189726 BLAKE2B c4691cda07095c3907fc1caf86b1ba5a066a4d3cc4ca7274b9c825e1dd299ec6240bd703152510428cff8b7ca59571bc478a8679033c6fb852e54bae697d3180 SHA512 0161e05b246a3b749213fffafd74265e337fc657ea5e1390507a48865e9434aa3ac7e73bd9d04bfef0d8ceeae222a95cb9490d4705ad2b4607b3eaf2d05962c6
|
||||
|
@ -0,0 +1,26 @@
|
||||
# Copyright 1999-2018 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
PHP_EXT_NAME="${PN}"
|
||||
PHP_EXT_INI="yes"
|
||||
PHP_EXT_ZENDEXT="no"
|
||||
DOCS=( CREDITS NEWS README.md )
|
||||
PHP_EXT_ECONF_ARGS=( --enable-${PN} )
|
||||
|
||||
USE_PHP="php5-6 php7-0 php7-1 php7-2 php7-3"
|
||||
|
||||
inherit php-ext-source-r3
|
||||
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
|
||||
DESCRIPTION="A fast drop-in replacement for the standard PHP serialize"
|
||||
HOMEPAGE="https://github.com/igbinary/igbinary"
|
||||
SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND=""
|
@ -1,2 +1,3 @@
|
||||
DIST oauth-1.2.3.tgz 45531 BLAKE2B 10fb5a3d1a46ee17fef7b129b3c29d67d565d296579aff63d8309f4efc5b881450249fb8e6d25703a33ad53e336775abc73f3d8e489f78c00c8988219b02ae1b SHA512 ca61dbec8fa51679accb31eab90b8699c7780f2d60a83566ce05667148ee44b7dc70fd8235414d6a3a996b252ad4a236b3e8a549685fd7e890e0874029c455e1
|
||||
DIST oauth-2.0.2.tgz 49115 BLAKE2B 292c8c2d7fa3728aa6a73cdb65ee1c603f341cd24596d64b910f495ef649adb1f90ba4dfdab5ce1802dee9e8a0e3a6af502da340ed467de6e8c5d83df18abc7d SHA512 b7aa9459542ec390a5420127d75607702ae6df6254f4e39acb62d35c6a39b8b7990499c279df07ce681081e455b55219c51df42fd516321f317465badf6d459d
|
||||
DIST oauth-2.0.3.tgz 49413 BLAKE2B 581ba50a3add230364ed5c161b76073b1dd7c301eaf4cd048ed97039deb45fea73da56f0d0b69186d8f6fb20a55724ba5892d80bd7aae343b15534d3c82b6346 SHA512 3e0ce5ce01533bfd304c0c34465cc184fbd0af1a25f5192860e6394c86dc948688cc8d4b419b48676481cef3a685ba70ac612a8c516da26d0dfe9efdef7e98d9
|
||||
|
@ -0,0 +1,59 @@
|
||||
# Copyright 1999-2018 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="6"
|
||||
PHP_EXT_NAME="oauth"
|
||||
PHP_EXT_INI="yes"
|
||||
PHP_EXT_ZENDEXT="no"
|
||||
|
||||
USE_PHP="php5-6 php7-0 php7-1 php7-2 php7-3"
|
||||
|
||||
inherit php-ext-pecl-r3
|
||||
|
||||
# Really only build for 7.0
|
||||
USE_PHP="php7-0 php7-1 php7-2 php7-3"
|
||||
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
DESCRIPTION="OAuth is an authorization protocol built on top of HTTP"
|
||||
LICENSE="BSD"
|
||||
SLOT="7"
|
||||
IUSE="+curl examples"
|
||||
|
||||
DEPEND="php_targets_php7-0? ( dev-lang/php:7.0[hash]
|
||||
dev-libs/libpcre:3= curl? ( net-misc/curl:0= ) )
|
||||
php_targets_php7-1? ( dev-lang/php:7.1[hash]
|
||||
dev-libs/libpcre:3= curl? ( net-misc/curl:0= ) )
|
||||
php_targets_php7-2? ( dev-lang/php:7.2[hash]
|
||||
dev-libs/libpcre:3= curl? ( net-misc/curl:0= ) )
|
||||
php_targets_php7-3? ( dev-lang/php:7.3[hash]
|
||||
dev-libs/libpcre:3= curl? ( net-misc/curl:0= ) )
|
||||
"
|
||||
RDEPEND="${DEPEND} php_targets_php5-6? ( ${CATEGORY}/${PN}:0[php_targets_php5-6(-)?] )"
|
||||
|
||||
src_prepare() {
|
||||
if use php_targets_php7-0 || use php_targets_php7-1 || use php_targets_php7-2 || use php_targets_php7-3; then
|
||||
# Disable tests that depend on header order
|
||||
rm "${S}/tests/bug16946.phpt" "${S}/tests/overflow_redir.phpt" || die
|
||||
php-ext-source-r3_src_prepare
|
||||
else
|
||||
eapply_user
|
||||
fi
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
if use php_targets_php7-0 || use php_targets_php7-1 || use php_targets_php7-2 || use php_targets_php7-3; then
|
||||
local PHP_EXT_ECONF_ARGS=(
|
||||
--enable-oauth
|
||||
$(use_with curl)
|
||||
)
|
||||
|
||||
php-ext-source-r3_src_configure
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
if use php_targets_php7-0 || use php_targets_php7-1 || use php_targets_php7-2 || use php_targets_php7-3; then
|
||||
php-ext-pecl-r3_src_install
|
||||
fi
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST swoole-4.0.1.tgz 899395 BLAKE2B 7e7320905cb83794115280977031cc5254a4947781fde05db6e7803f34ff0f5c0ecad84f8aa86adc3c21320b031fa3104fb6c953e9060791dbd9d5c497edbcfc SHA512 0df6ae1bf28ec52abebf1a597c0774e7e5de4bb8378c916a46896c7f84822c8466bbb0d3d188e671e7c39faafa94d2dc2245a468dacb2711c7f0fa617dc42aa8
|
||||
DIST swoole-4.0.4.tgz 907216 BLAKE2B f078f712c61c7ec9c1a98d94370c892fedd7d1efee7de34438a19d96fea9d41a0553d53fdd34c3d32138c6685045bf45be5fad533b0430b07cb7e60d183433d5 SHA512 b448abeec1fdfe94e0fd5d05b9c2abc7cfc2bb9477d6847adc35cba051d38acfb9ff3bdfaeb10591a50f5a6238f21cef4e0b614e1ff53c71f62b0bcd846d785f
|
||||
DIST swoole-4.1.1.tgz 930623 BLAKE2B fb4fa99b7b687aeaf4473983659cc2ceb7d8ba9ba6e198b49bea175b28918ebf8316c51f3ab7b4f75a9b7566941ddbba698c0d57f6ee752767c416e68fa68ca1 SHA512 4afc986f6ce362e28085d4ce07c534867311d65be487a66edfb0c01df7cf6e6d2df92abb2aba22b72f2840daade82b5bc3a12883d9cb54fd8ed9e6b0cdf0870f
|
||||
DIST swoole-4.2.3.tgz 1127669 BLAKE2B c99b540bf2f5c8757ae8e1b88de5db60bd2fcef0a14faebee3032419645f61c3c54c81f0ced7a4d67701bd1932d962592ea695fd4460d4d5bbb6849a2bb13674 SHA512 37758ff2c8e2638bdd9c5c7ac26ec86e71d71a75c4af0a8ac2c68c81eb74fdbb31e70489b94c50488d25ceeed1731e5f8f74316d5cce3f6e6db41623200416f1
|
||||
|
@ -0,0 +1,74 @@
|
||||
# Copyright 1999-2018 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="6"
|
||||
|
||||
PHP_EXT_NAME="swoole"
|
||||
PHP_EXT_INI="yes"
|
||||
PHP_EXT_ZENDEXT="no"
|
||||
PHP_EXT_SAPIS="cli"
|
||||
DOCS=( README.md )
|
||||
|
||||
USE_PHP="php7-0 php7-1 php7-2 php7-3"
|
||||
|
||||
inherit php-ext-pecl-r3
|
||||
|
||||
HOMEPAGE="https://www.swoole.co.uk"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
DESCRIPTION="Event-driven asynchronous & concurrent & coroutine networking engine"
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
# Tests can hang. Disable until this no longer happens
|
||||
RESTRICT="test"
|
||||
|
||||
DEPEND="
|
||||
dev-libs/libaio
|
||||
dev-libs/boost:0=
|
||||
dev-libs/libpcre
|
||||
http2? ( net-libs/nghttp2:0= )
|
||||
redis? ( dev-libs/hiredis:0= )
|
||||
ssl? ( !libressl? ( dev-libs/openssl:0= ) libressl? ( dev-libs/libressl:0= ) )
|
||||
php_targets_php7-0? ( dev-lang/php:7.0[cli,sockets?] )
|
||||
php_targets_php7-1? ( dev-lang/php:7.1[cli,sockets?] )
|
||||
php_targets_php7-2? ( dev-lang/php:7.2[cli,sockets?] )
|
||||
php_targets_php7-3? ( dev-lang/php:7.3[cli,sockets?] )
|
||||
mysql? (
|
||||
php_targets_php7-0? ( dev-lang/php:7.0[mysql,mysqli(+)] )
|
||||
php_targets_php7-1? ( dev-lang/php:7.1[mysql,mysqli(+)] )
|
||||
php_targets_php7-2? ( dev-lang/php:7.2[mysql,mysqli(+)] )
|
||||
php_targets_php7-3? ( dev-lang/php:7.3[mysql,mysqli(+)] )
|
||||
)
|
||||
"
|
||||
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
IUSE="debug http2 libressl mysql redis sockets ssl threads"
|
||||
|
||||
src_configure() {
|
||||
# PostgreSQL disabled due to Gentoo's slot system
|
||||
# JEMalloc not included as it refuses to find a ${EROOT}usr/includes/jemalloc subdirectory
|
||||
local PHP_EXT_ECONF_ARGS=(
|
||||
--enable-swoole
|
||||
--disable-coroutine-postgresql
|
||||
$(use_enable debug)
|
||||
$(use_enable http2)
|
||||
$(use_enable mysql mysqlnd)
|
||||
$(use_enable redis async_redis)
|
||||
$(use_enable ssl openssl)
|
||||
$(use_with ssl openssl-dir "${EROOT%/}/usr")
|
||||
$(use_enable threads thread)
|
||||
$(use_enable sockets)
|
||||
)
|
||||
|
||||
php-ext-source-r3_src_configure
|
||||
}
|
||||
|
||||
src_test() {
|
||||
local slot
|
||||
for slot in $(php_get_slots); do
|
||||
php_init_slot_env "${slot}"
|
||||
[[ -f tests/template.phpt ]] && rm tests/template.phpt
|
||||
SKIP_ONLINE_TESTS="yes" NO_INTERACTION="yes" emake test
|
||||
done
|
||||
}
|
Binary file not shown.
@ -0,0 +1,45 @@
|
||||
# Copyright 1999-2018 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{4,5,6,7} pypy )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Convert text with ANSI color codes to HTML"
|
||||
HOMEPAGE="https://pypi.org/project/ansi2html/ https://github.com/ralphbean/ansi2html"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-3+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
>=dev-python/six-1.7.3[${PYTHON_USEDEP}]"
|
||||
DEPEND="
|
||||
test? (
|
||||
${RDEPEND}
|
||||
dev-python/nose[${PYTHON_USEDEP}]
|
||||
$(python_gen_cond_dep 'dev-python/mock[${PYTHON_USEDEP}]' python2_7 pypy)
|
||||
)
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
src_compile() {
|
||||
distutils-r1_src_compile
|
||||
}
|
||||
|
||||
python_test() {
|
||||
chmod -x "${S}"/tests/* || die
|
||||
esetup.py check
|
||||
esetup.py test
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
doman man/${PN}.1
|
||||
DOCS=( README.rst man/${PN}.1.txt )
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -0,0 +1 @@
|
||||
DIST Nuitka-0.6.0.4.tar.gz 2010373 BLAKE2B 96d31fde6d087bea81051bfcc208d52466b9c45785c2167c61721440fe930906958ee840bb98258c7c1b98c067302049afd63bbf5cfd422a69c1994675c29c70 SHA512 f9a30ad578b80679c0313be84150adff83a90b35c758487fc9f5240d527cf0a905b6257a0dfdf2a2c8c7322688108a6673c56238480344adce123d67416eb197
|
@ -0,0 +1,21 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<name>Oz Tiram</name>
|
||||
<email>oz.tiram@gmail.com</email>
|
||||
</maintainer>
|
||||
<maintainer type="project">
|
||||
<email>proxy-maint@gentoo.org</email>
|
||||
<name>Proxy Maintainers</name>
|
||||
</maintainer>
|
||||
<longdescription lang="en">
|
||||
Python compiler with full language support and CPython compatibility
|
||||
This Python compiler achieves full language compatibility and compiles Python
|
||||
code into compiled objects that are not second class at all. Instead they can
|
||||
be used in the same way as pure Python objects.
|
||||
</longdescription>
|
||||
<upstream>
|
||||
<remote-id type="github">pwman3/pwman3</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -0,0 +1,29 @@
|
||||
# Copyright 1999-2018 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_5 python3_6)
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Python to native compiler"
|
||||
HOMEPAGE="http://www.nuitka.net"
|
||||
SRC_URI="http://nuitka.net/releases/${P^}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
|
||||
RDEPEND="${DEPEND}
|
||||
dev-python/appdirs[${PYTHON_USEDEP}]
|
||||
dev-util/scons[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
S="${WORKDIR}/${P^}"
|
||||
|
||||
pkg_postinst() {
|
||||
elog "nuitka needs app-admin/chrpath for building"
|
||||
elog "stand-alone executables"
|
||||
}
|
Binary file not shown.
@ -1,3 +1,4 @@
|
||||
DIST bitrise-1.16.1.tar.gz 3986520 BLAKE2B 2a38eb72abc2aee69b9494abe03434014531a5081e8d71e7883418d686dffd1de8d61b2dda8761a1d074392a4f84699a4cff36be4f6be8abf52ba705434b8283 SHA512 37d87a27f2d3c17df7c61eebb8ab50887c7f723901125af08a5833bd053c5706cf1a2d3310fa30a6ade3bec8292b30bc4ddfb3143ece8129c606fcbe5103ddd6
|
||||
DIST bitrise-1.19.0.tar.gz 4223634 BLAKE2B cb0822af15c1214d785f002617cd5c184e50a85c289d7ef5fe4fb429009495db26935aea9b9fbdb43514221d233a10347b52d01c0f839bb981da8437d61f79a1 SHA512 ef0ca59a907bf85ceadd2bccb7859e6b40146fd4983d51c84f82ba3ac36b47eeef41cbd342cfcbe516ed2ee678e66a4e07ef451cc36a7b6977fa6def9ac2a1e4
|
||||
DIST bitrise-1.20.0.tar.gz 4226859 BLAKE2B f358caf503e02bfbeb895ebe759aeceb2c28f0055676cc897b16ffacfadf2b0f48e7c0c495716d58d1a65b8697889eb3c6895a145bd7fa6828bbbe32280c5d15 SHA512 edb3e78fe8714604f2e514d80efc879b8a28e18846be9f7a9abc641901355b31ce6659ed30ef9c81bcefbe9816d48a6a3f6c292f8948c09c6e9330fbef154eb7
|
||||
DIST bitrise-1.23.0.tar.gz 4294480 BLAKE2B 2bc18a78822280fbca6039270ef61403cebd364aabca23b0bfd6b2e62b865cedeb046fe57641125bbddbd48922a34d89f59ed3c0b3e13b17497f485ac39c0932 SHA512 a41ddb2757f5d13675425fe943ca5834600f81233992fc80505347d87472df6268b98b82da9ea0349786647b2d7360b0a9019b41d1016ae231db348a5a0cac32
|
||||
|
@ -0,0 +1,49 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit golang-build
|
||||
|
||||
EGO_ON="github.com/bitrise-io"
|
||||
EGO_PN="${EGO_ON}/${PN}"
|
||||
|
||||
DESCRIPTION="Run your Bitrise.io automations on any Mac or Linux machine"
|
||||
HOMEPAGE="https://www.bitrise.io/cli"
|
||||
SRC_URI="https://${EGO_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="doc"
|
||||
|
||||
RDEPEND=">=dev-util/envman-2.1.0
|
||||
>=dev-util/stepman-0.10.4"
|
||||
|
||||
S="${WORKDIR}/src/${EGO_ON}/${PN}"
|
||||
|
||||
src_unpack() {
|
||||
default
|
||||
mkdir -p "${WORKDIR}/src/${EGO_ON}" || die "Couldn't create project dir in GOPATH"
|
||||
mv "${WORKDIR}/${P}" "${WORKDIR}/src/${EGO_ON}/bitrise" || die "Couldn't move sources to GOPATH"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
GOPATH="${WORKDIR}" go build -v -o bin/bitrise || die "Couldn't compile bitrise"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
pushd _tests/integration > /dev/null || die "Couldn't find integration tests directory"
|
||||
rm envstore_test.go exit_code_test.go global_flag_test.go json_params_test.go log_filter_test.go output_alias_test.go \
|
||||
step_template_test.go trigger_params_test.go update_test.go timeout_test.go || die "Couldn't remove network-dependent tests"
|
||||
popd || die "Couldn't return to ${S} directory"
|
||||
local -x PULL_REQUEST_ID=""
|
||||
local -x INTEGRATION_TEST_BINARY_PATH="${S}/bin/bitrise"
|
||||
GOPATH="${WORKDIR}" go test -v ./_tests/integration/... || die "Integration tests failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin bin/bitrise
|
||||
dodoc README.md
|
||||
use doc && dodoc -r _docs
|
||||
}
|
@ -0,0 +1,38 @@
|
||||
DIST ansi_term-0.11.0.crate 17087 BLAKE2B 9bd35c045a01ce4c6c4a5db1b4f15e9412bb97426eec19d4421dffbec633de8d13452c13c1dc1b30998690b78d7ed38311aca700087f13a81f66bd1d5d7300c4 SHA512 a637466a380748f939b3af090b8c0333f35581925bc03f4dda9b3f95d338836403cf5487ae3af9ff68f8245a837f8ab061aabe57a126a6a2c20f2e972c77d1fa
|
||||
DIST atty-0.2.10.crate 5962 BLAKE2B 36a2fe57eb500124f20464a7d67f86bc6270c2143f8273683011599adee180ee71fb0ea565c38171b9d471479d63041e4bbba4f713dfb92239b7d298e9d89e7e SHA512 76cbf960475073101d617bdaf12ed1e93dfdd96e22182674e1ec04c955fb1de2e3aa132345c50a1bebc579932d43c74c9aac64ae64107e98648a0f1f6562285b
|
||||
DIST bitflags-1.0.3.crate 13838 BLAKE2B d053495250ce43970d4dbca6ec7dd541e5f5ca6597f35b8ac7cae3230e80f95d8f056f3ea030c12dd02228b51184c8020f8d2ab5ee4da4dad88a97638ea3db41 SHA512 c1410967948a0c44c434bcf952c586166cea656f98532980156bce5eb68ea2966ad7457abd2e45e7444d346f47950aad9d6b4d6779486cddfbda70dee5716bd8
|
||||
DIST cbindgen-0.6.6.crate 82574 BLAKE2B ec3d2d03ea677acf89046d148447ea1108f4d0189878e9ffe4ceab273ea377cd489df27d9d6c589641dc614d0c8982fb19d2452d4ae88609adaa9a6aebf70baa SHA512 d51d17765d705424dead65e4240c52fe93da731d5ac1cc76fe79e2eb68a42c26a7de58b08149cccd6806ee5bb189df8c15c3a532a5f857a65c2fd69c656d7137
|
||||
DIST cfg-if-0.1.3.crate 7115 BLAKE2B 748cb334312efe8a1410a0dda75db94ea2e6a6915a6293cec35cdfc72f9491a6fde32691c53cbac20f705760725dcc766107a15a4bee41481beb724ea8588a6c SHA512 88537e4b53f5553fdee16c4949de0bb0fdf12576b9a1d197fc7edd00d41c47972d481227bb6311bec774099cde27195fe319f28f4385a4091f06849dceabd34d
|
||||
DIST clap-2.31.2.crate 194051 BLAKE2B 67ff210e200d387008fb5ddbb4b0a7961f568886a4df57b12b8aa1dd4c87b0408d11d9797980f3dadfbc9aa30bdf71586474a3d905d0d45eee13165692505bb8 SHA512 f43c3e2736a7fcd5c59ba4c80bcdb28fe436b85fe33ef74a53b76b7aab009d9315d2be007a52c1abdee2f754b118ab8132640e6e6954fd60017a17d0cc086127
|
||||
DIST cloudabi-0.0.3.crate 22156 BLAKE2B e12054fd474754031f8f5038d5e2829e1586db974d38230cfd8774db591a58dfdcaea9fb61fc0b35366889d348b2c73ceaabbb462f1abeeffeaab167013c986f SHA512 691ed793e9b35ba382f03897f4c0efc31a528394862a27b814ba8993ad30bbe0ebc9808484baf580e8b69d9c13ad1612776a1efd0f6981545b420139ff83592c
|
||||
DIST dtoa-0.4.2.crate 14227 BLAKE2B 7edc0b203a58586aeea84326cce66105e21e3d7efcffab8b80fbd5576dc19a181304571d1edf932873ba05254a36f44bc81377fa4aa79d9bbfd6a90e75a33468 SHA512 a04410f8f67e846dbf3c72c0d15096e529c60174c6403931c9b8df67b41a59b8c06c675bc3222d0111f642d4153f7dd72c0631805d40386bded28695e38c7f0c
|
||||
DIST fuchsia-zircon-0.3.3.crate 22565 BLAKE2B a4dac3457036efab8f79fe5d5b4545e4091e994d3dc63188f71fafbcc28bf98ef359dcd20add30ac1d990ab2e66159723302fb66697349c65fab0aa58d54535e SHA512 a43ee59452d49742111e506d6bdd8b8399a3a646e08648e25292864d7f71460c1dd1f2d77b8efa8ed09ac21fa4ff0442a2709f16d8833a3849bde0c388d83a93
|
||||
DIST fuchsia-zircon-sys-0.3.3.crate 7191 BLAKE2B 530bb5d475ac828843af248c6bbd24ca3b5dd8118c8884ccc6d7261818cff1c79038077114ffa04bc73a078177527824c4d9d20a9b022e4057afee3330258cff SHA512 978b7e8795a5877a68409ed3a1d7b4246263f8e7e7ce9ba8a022643be98f58f329cc1c234717df80a509db849da4394f39e90a8e2a6f56f8fa8dd3c07e7d4386
|
||||
DIST itoa-0.4.1.crate 10563 BLAKE2B dd8ba6399c4f9b307c296b83043cf4172463ab361c8edc11ec0486863ce0a7a1be968989e1676821a20de69c383c1aab55a9eb4a61d74d63710811e0463391d4 SHA512 f2efdad4fa250a1a453d3a956b478aebaa4cf0618f77da1f8206d3ef4e37b153a485de6a2873662acd0649fa9b8599cde8c99ed2096b7606166de90fb5ac77ee
|
||||
DIST libc-0.2.41.crate 333728 BLAKE2B 4b6d8a3ddedfbd01114878b14dcd7f4cdb663ab19c3f325d1785d9fc0c752634a7efe7777b3b14cac77ac5a2a3b8ae70a9e413006dafdcfe268b6e3c30bec8ab SHA512 6666f28673f765817dc6c989876a53031b117d281a6b148976b900ddeaa220fcb04c0e2bfe8b07d46f7e1b212e9c2fd7273b3300be548a3af0d2c9025bef7b26
|
||||
DIST log-0.4.1.crate 20731 BLAKE2B 5936919ddf0e218ca42d669b56271836e9eca61afa4145896a55970e5fb768196f18ac6f028caf8eaf505f5bb797700ca2f238970e1ad54edadea566efb6ca16 SHA512 a142f4d230cbe64a4efe2c46055722bf06e7af500c0f14d66f1d7d7fec99d552081ee9541d4a5b3aa5f46bc3be42f7702dff76132cc1eed7734234b2db37c0f0
|
||||
DIST proc-macro2-0.3.8.crate 24412 BLAKE2B 42895039c67122199619256b567ea66f6e0b6a45d688440ae1211c8bb45bfb87e7a599f978b04414ddf78384df3147ff8faadcea662bff647256567ea6be565b SHA512 df6d48a5d9c2b7c3f071de3336343ac00c61427c74675512c457ce23d30879350fc995809154289fe9c2d08b7bc39a9137898f651bed8c3646695abfb8368a9d
|
||||
DIST proc-macro2-0.4.4.crate 28564 BLAKE2B 56935ff3b80d9c94f198a253de77fd7c8650ec75e62df100114bbeee633941570e4525a5dabfc92c370a8770be375d1ae0a83ecc09df10c4cfad2adc55ad501f SHA512 13b74a69277bd7674554414039e79dd0ae14f6e998a46e6e587cc17b6f2c97a6dbcbc459c827888510e5aff3b79d48b11f840bc21a28ff16c0eee8a51b784a86
|
||||
DIST quote-0.5.2.crate 14982 BLAKE2B 5600742b8da27015c0a461c04414dd61be208cad10a3a1212e43d7a2aa3a8fde947b700ca230f79d9d8c13da1742a7caf70810d4b6ebd6669b020513be00974c SHA512 66c0469bf1970164e87a4960791932ca06726c79bc522fe0bdfbd41ed23428e32448aa01a0f02066169c165364465eacbd19cdde47e96b4dba017a491842e6ac
|
||||
DIST quote-0.6.3.crate 14154 BLAKE2B 16a31875577eefec9568e3b990ed17b0afa5af6ec936f0b8d1f05303b7e1dae1737677a86089a048cf51b602c71f4b3c7802ee40fb9caadf2e13fc0e6df134a8 SHA512 f2ff3cd617c69007c4f60961728c73a7ac7a2eaeb1d6da51218d2fbc9e85c06baeaccc9b82771a304bace04024479a192b88336546f96e17c6446ba85df94a10
|
||||
DIST rand-0.5.5.crate 137359 BLAKE2B ca594d61b964b3511cc0c995dadf1aa270ea3f962367e2faab3d73ba5caef8557b5404756f7997aaeda0511184d3a8ec0f35197bbf7d3d507152f1f7c63825a1 SHA512 e135a9c97943662bcea9c4730f19ec6e01ea73303801101592c14e97b59adbbc3457ed7a3dd57843776f5febb6fa34890aad9d1c2c596ae89416e1a281062cc8
|
||||
DIST rand_core-0.2.1.crate 19262 BLAKE2B 6ab239b11f08b79f5319e0d278ec56985f4c91406f938c206f017f706508d73aa78ed3ef799ca7f20a9bf3ab860f76c5527bf14fb2464db914af3dac55ac0b64 SHA512 5e919f4229ee2e7d00f47f8bbbb7fd27e11f34aa5bd85a9d9e34d45af1601bdbe2507d9b0182b5af7a6eb4d93da3004d2708729f7e864b6c66ce9b3274fe1c64
|
||||
DIST redox_syscall-0.1.40.crate 14745 BLAKE2B c63cf49985accd6b6b54291aff7a7950ed3bd862b7833b19d56e8f350bc2772f427bd6d83da9f6b603622008e90cabb2801cd70ebdb3343fdac020e6b4344901 SHA512 86e74bd8bd4fa12eb8d667cc91ab55df573c0a466c7786af76eefe70f7c294db5a307538089e2e3de2d0bbeee5c1691327020cd0eeacd9d6ab95048eea88b012
|
||||
DIST redox_termios-0.1.1.crate 3227 BLAKE2B 0b109d34e942735e804dd3da2a9639506e8bf6eb5b1f69ae021b115b0b75ae5159e8457abdf647dabfc19d5119cd3a44b8966635d7862cc66a8a997e4468e1ab SHA512 201d051900e919e2c6c6769ef252e51979d90133df16b6605e2a2f424cfb2e6e505e21add75ef5854fe5e0cab1ed1f1c1451010f072ae4bc8703c585a4323981
|
||||
DIST remove_dir_all-0.5.1.crate 8726 BLAKE2B b654deae9905c03b068f07d17b5fe3715393cf7c495ee017467fe1cdf955bf44781516d0e6aaa1dd738ace3b3bdd4fb38f7edaaab062eeba02baf50a1250ed0f SHA512 9ee9a11717d45aebd28cd2f50719a2183cc623bdb1af099701e4edbdb9c98bc14cf2278ba06aca4658bfeddaffff00d0d1464c82d175fba7d6fb272918dd6928
|
||||
DIST serde-1.0.64.crate 71347 BLAKE2B 97f9a8103865f1eb2645cac613a808169a0c36da5f16e23959a736824f783c895fd71eaa07e711995404e36adec9b7f19db6e80ebdd400ce14dacd13f5e343b6 SHA512 6494787064f50a0c39b8d5328ea8ff961a97d7f0e4ab123b0a1e3fb43735f0dbd9721f60942c5797d9abfb9f2e79347345e0816d3783d8fb9138bb7d141abdb1
|
||||
DIST serde_derive-1.0.58.crate 45146 BLAKE2B 69b230d33072d7d7e9ae17f62872560a4b919436b6e33111827597c06b380e0e43d02fa4ffafa9ed8128d008bf065165e876090c4652827ffc3dc1603a5db8a8 SHA512 6eaa57861ede4b9bbc1e0bfc561917afaa133613c4279fddc17529c291f0fb1122e0443267de9498ddd4e45ca9d13e38d88aef00864b0505a05e06ca65bb8d80
|
||||
DIST serde_json-1.0.19.crate 65039 BLAKE2B 86264040f32b0c94c1d43e55248612ec56b42406cf4501fb3288b80a5ed8a110eae47a1f2b053e2b497c92457c5bfee2ed0b5f86e9dbaabb1bd3953914dd06ec SHA512 03b760d0bfd8a49499107a4b43bb9f588b375c92cb85fd131642bd787734a8523a176dc10330329a3ad8c6d575c917a813fc513a4fb5890c11ade0d48c046165
|
||||
DIST strsim-0.7.0.crate 8435 BLAKE2B 6869075bc3949fbdec1b74548b816560d1bf3759ba4c3e972a84f885e6732edd25596d75a4b6f6b85d93821f559757d096cb5f0b0eb04dabd8bb974d214f3188 SHA512 3f92df0f444129b16fbb15c533b7bc1d6f18970b487b57345f74747fb7f41e3dc0cb61255712e94d419a5777b8f6a9cdf1a716718698c479eb98dfb6464d1983
|
||||
DIST syn-0.13.11.crate 134240 BLAKE2B 6661d1ea3cb20a3bd4650b95324a201fbe143d31733eb8910ce126b0983043fb569d2250875996588831a6112fe45976d4a103e9ee6e373a1374644ac33fd420 SHA512 e14192e7bdc91d5bffbfc1e7091a46c340b4f5a9a6336b9cc12c78c328f9feaa432b4261346431fac1b5a11f93e122f1e902f1fae0927f9df6b5294e0abc3fa5
|
||||
DIST syn-0.14.1.crate 133459 BLAKE2B 303abdde61afa57594db2b8882c86237f64b15582ea38e681a9b9234b0ab18bed183862178bec132d5ceef5d40a63d37a2fd872f16a509d7f6043b3eb27ef8a3 SHA512 408c785e6c6f7f63134a22c383f54ed8ab45d0521e1ddaba9204b21d1e0e56242e153377bd3ff67467816d581c91ecf663cbb814b1d6549a961e01f20b331482
|
||||
DIST tempfile-3.0.3.crate 20806 BLAKE2B 0eaabedcb1f68dddafa72a454f82e6b1de6f8cceb8af3cb52f459e8775e3df1ada5b51120ecd9f52bb6f6da3fc3e698da339bc7e39d12497fa9f7efc418b018e SHA512 2bcc90ba3eed8a830b33de169419e222c16f9e0209734cdcf919422fdb504b29fc75f30dff7243bf19eb81cca12c80c94b80a622be8bac7b847242a58595873a
|
||||
DIST termion-1.5.1.crate 20659 BLAKE2B 5b4291c2c26a074c16eac2e7bcb40467380181bac69c941e5c958059dc239cbbfd74872d9bd3da65245d010f9fc39804c43dc96f4caab2499b021cf35977a6b0 SHA512 1d1536f08600c7c1f414b4579a1a6e7eff91f4c105504125118d3cadf71c7886a352d1c5f7e07f3d7c28aa8b4752f07b51eddb4d9adc6a9286f7b6bade2bec76
|
||||
DIST textwrap-0.9.0.crate 15795 BLAKE2B c4dd89d5757da74c145b6971cd08844f3a6eeb5d29ca012b67010743a2637ed83bca00eefb54ec3ddb1d02a06c9cc3b84984919e6fd187dd71ed9c2e8af41f63 SHA512 e176f703f971eefb5cfc1ecf9047858bd7610a58fa4103879fd963b292c79872bd8466ef8fc9742a428ac707400dade307e72fa965dc4d61da66e932e5b20c35
|
||||
DIST toml-0.4.6.crate 40203 BLAKE2B 7b26566bd7a94cfb7907867d84cf097ad44158fe59086af82e059b0eb3dea3934831d61db11bd3cd6b2fb8a909e02b6f369d93eeb09dfcc1cba4859a793c5907 SHA512 659a243957649c987a509ad3b410d37ff7b16fb8e0ca5a1de183ea017e5dd63b88dd2f9770f386b739486bea28250c9853020d29b194994a7c22c5b78490ae95
|
||||
DIST unicode-width-0.1.5.crate 15761 BLAKE2B 575e6bfe8b8b70cb0e5a167bf546df2964361a223b03a65bdc588c32d4cf9f01194daa8d6d1c90319f1f9981aa5b092dce67c9c97450be4ea630784d834cdbe2 SHA512 bd5ac5f0433953d79408074239edc7c43ce23d56659d467805d81ab01c576a3cf77ccedb3bba41d48bc4ad46a8905ac8a1927b99312053ef6295fd940a6766d2
|
||||
DIST unicode-xid-0.1.0.crate 16000 BLAKE2B 159004a7bbb7476b39e982b51dbf615717095fd5946536e757653aa941bbf1b774f331db744ecc33bb2ead4b0a6d254fde86cfd6cd8b83ab9983fa89928eddbe SHA512 cc5343e2166938322cfd7c73f1f918f2a9c46846ac0ef55933d1e44cdfaf6f7da2b7ff18b68e356c47b6d8ba5565eda0db42c347dcbde830683f341ac2b1849d
|
||||
DIST vec_map-0.8.1.crate 14959 BLAKE2B f5c179ccb4349d543747d5e3bb3edfca4bc9f3f64ba3c2d40fb1d9cba98433b7a0641387aafda6347c9b3603592c64bd820b217b46fbfcd37f802f298e5793ab SHA512 026cf10dc7ba98ae51dd312fc847cbaea41c25f0da5db6e0e22c2ecf75584bbf876d7bd96035fbbcf6696d702d5a3f25977e02a2d77cf519aa21e3ed05710e40
|
||||
DIST winapi-0.3.4.crate 905247 BLAKE2B a6dacb223c0f7743af4c16d4256eea6fdab49ef7f48b9d80bd3da8bc25d6c53e12e98d45e50eff17d08c20099fb92ebcf5ed50928ea2e0873df20461f30b9a5a SHA512 4636ceea813181de46c0bb2f837982936a69376e2b3a58d541a982a494ab4e5b52f3baf820f714a81a2e742def2bf07a2d8313e31b45e51dc7e4d350a5b24579
|
||||
DIST winapi-i686-pc-windows-gnu-0.4.0.crate 2918815 BLAKE2B 4d357e4d30f9552972170d65b9a5358b69c46a3e772fe05efc22f3d4ffc1caeeaad7aacdc7abd503a7ad0545f8bd7d22bf351dcb6df76f812fa4d45c34d65df0 SHA512 a672ccefd0730a8166fef1d4e39f9034d9ae426a3f5e28d1f4169fa5c5790767693f281d890e7804773b34acdb0ae1febac33cde8c50c0044a5a6152c7209ec2
|
||||
DIST winapi-x86_64-pc-windows-gnu-0.4.0.crate 2947998 BLAKE2B 2ad1ea8b5fa07d544e910ccba043ae925269b76b26c9da356305b34b86741dd8b9aff0b9ffe3d562db4fcd7d7c46a11ce9e3168b782b1d89ae6881742b7ede82 SHA512 4a654af6a5d649dc87e00497245096b35a2894ae66f155cb62389902c3b93ddcc5cf7d0d8b9dd97b291d2d80bc686af2298e80abef6ac69883f4a54e79712513
|
@ -0,0 +1,54 @@
|
||||
# Copyright 2017-2018 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="7"
|
||||
|
||||
CRATES="
|
||||
ansi_term-0.11.0
|
||||
atty-0.2.10
|
||||
bitflags-1.0.3
|
||||
cbindgen-0.6.6
|
||||
cfg-if-0.1.3
|
||||
clap-2.31.2
|
||||
cloudabi-0.0.3
|
||||
dtoa-0.4.2
|
||||
fuchsia-zircon-0.3.3
|
||||
fuchsia-zircon-sys-0.3.3
|
||||
itoa-0.4.1
|
||||
libc-0.2.41
|
||||
log-0.4.1
|
||||
proc-macro2-0.3.8
|
||||
proc-macro2-0.4.4
|
||||
quote-0.5.2
|
||||
quote-0.6.3
|
||||
rand-0.5.5
|
||||
rand_core-0.2.1
|
||||
redox_syscall-0.1.40
|
||||
redox_termios-0.1.1
|
||||
remove_dir_all-0.5.1
|
||||
serde-1.0.64
|
||||
serde_derive-1.0.58
|
||||
serde_json-1.0.19
|
||||
strsim-0.7.0
|
||||
syn-0.13.11
|
||||
syn-0.14.1
|
||||
tempfile-3.0.3
|
||||
termion-1.5.1
|
||||
textwrap-0.9.0
|
||||
toml-0.4.6
|
||||
unicode-width-0.1.5
|
||||
unicode-xid-0.1.0
|
||||
vec_map-0.8.1
|
||||
winapi-0.3.4
|
||||
winapi-i686-pc-windows-gnu-0.4.0
|
||||
winapi-x86_64-pc-windows-gnu-0.4.0
|
||||
"
|
||||
|
||||
inherit cargo
|
||||
|
||||
DESCRIPTION="A tool for generating C bindings to Rust code"
|
||||
HOMEPAGE="https://github.com/eqrion/cbindgen/"
|
||||
SRC_URI="$(cargo_crate_uris ${CRATES})"
|
||||
LICENSE="MPL-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
@ -0,0 +1,11 @@
|
||||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>mozilla@gentoo.org</email>
|
||||
<name>Gentoo Mozilla Team</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">eqrion/cbindgen</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -1,2 +1,3 @@
|
||||
DIST envman-1.2.0.tar.gz 2997860 BLAKE2B e49d3b421fb1ab226de4430e90d8c684bc3a2554205c6383a140c0832134eaba338797dca44668fc2473d248940b5499395ab3a6d3359382305fd8a719772257 SHA512 5245aea8c280a6d6022e8132216891f09abee707c0ed736bfe6b4882aa23880a771dce5371b8ba5fcdd41fa951606727e7582442d897058b25985cf9dd5a9d18
|
||||
DIST envman-1.2.1.tar.gz 3033981 BLAKE2B a48c46d35a122ad86274867c246f1af998a983a67e8d30214bc6f3a989ad6b435a61ebad7f128803ffb9dcfc05af261b99cf3316fed93412c6ee1da873cc988e SHA512 bbec25964d868077c88a01ab827744633b325eb955809d4ec48a5224f6f8530c31b297b592f0280dabd01007bf75fd6ac3609c4d19be0332ca114d36725c7fb6
|
||||
DIST envman-2.1.0.tar.gz 3133726 BLAKE2B 8c5c87d43bdc22838036fe25ea6b48e702163d474169181257cef6f0fe4fba01b18f870d9bfee5f56b30cce13f47f6af70f4e55fcff221af77f14550a13ebb46 SHA512 c0b7ab5355332fa24ecd4166e3fdb1f02e589ee11288768a382a9556d2c3061b1930061873525e19b71451a47c72c09f5b7c6191b8564b0dec2a9c29dfbcf222
|
||||
|
@ -0,0 +1,38 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit golang-build
|
||||
|
||||
EGO_ON="github.com/bitrise-io"
|
||||
EGO_PN="${EGO_ON}/${PN}"
|
||||
|
||||
DESCRIPTION="Environment variable manager for Bitrise CLI"
|
||||
HOMEPAGE="https://www.bitrise.io/cli"
|
||||
SRC_URI="https://${EGO_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
S="${WORKDIR}/src/${EGO_ON}/${PN}"
|
||||
|
||||
src_unpack() {
|
||||
default
|
||||
mkdir -p "${WORKDIR}/src/${EGO_ON}" || die "Couldn't create project dir in GOPATH"
|
||||
mv "${WORKDIR}/${P}" "${WORKDIR}/src/${EGO_ON}/envman" || die "Couldn't move sources to GOPATH"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
GOPATH="${WORKDIR}" go build -v -o bin/envman || die "Couldn't compile envman"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
GOPATH="${WORKDIR}" go test ./... || die "Tests failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin bin/envman
|
||||
einstalldocs
|
||||
}
|
@ -0,0 +1,91 @@
|
||||
From a5dd9529f9232b8d901a4d6eb9ae54cae179e5b3 Mon Sep 17 00:00:00 2001
|
||||
From: Peter Oberparleiter <oberpar@linux.vnet.ibm.com>
|
||||
Date: Wed, 7 Mar 2018 14:18:55 +0100
|
||||
Subject: [PATCH] geninfo: Add gcc 8 support
|
||||
|
||||
Fix errors and incorrect data when trying to collect coverage data
|
||||
for programs compiled with gcc 8.
|
||||
|
||||
Covers the following gcov-related changes in gcc:
|
||||
|
||||
.gcov-file format:
|
||||
- Line coverage data can appear multiple times for the same line
|
||||
- Line coverage count can be suffixed by '*' to indicated unexecuted
|
||||
basic blocks in that line
|
||||
|
||||
.gcno-file format:
|
||||
- new header field 'support unexecuted blocks flag'
|
||||
- new function record fields 'column number', 'ending line number',
|
||||
and 'compiler-generated entity flag'
|
||||
|
||||
Signed-off-by: Peter Oberparleiter <oberpar@linux.vnet.ibm.com>
|
||||
---
|
||||
bin/geninfo | 20 ++++++++++++++++++++
|
||||
1 file changed, 20 insertions(+)
|
||||
|
||||
diff --git a/bin/geninfo b/bin/geninfo
|
||||
index 8562560..ef6a818 100755
|
||||
--- a/bin/geninfo
|
||||
+++ b/bin/geninfo
|
||||
@@ -68,6 +68,7 @@ our $lcov_url = "http://ltp.sourceforge.net/coverage/lcov.php";
|
||||
our $gcov_tool = "gcov";
|
||||
our $tool_name = basename($0);
|
||||
|
||||
+our $GCOV_VERSION_8_0_0 = 0x80000;
|
||||
our $GCOV_VERSION_4_7_0 = 0x40700;
|
||||
our $GCOV_VERSION_3_4_0 = 0x30400;
|
||||
our $GCOV_VERSION_3_3_0 = 0x30300;
|
||||
@@ -1934,6 +1935,9 @@ sub read_gcov_file($)
|
||||
{
|
||||
my ($count, $line, $code) = ($1, $2, $3);
|
||||
|
||||
+ # Skip instance-specific counts
|
||||
+ next if ($line == $last_line);
|
||||
+
|
||||
$last_line = $line;
|
||||
$last_block = $UNNAMED_BLOCK;
|
||||
# Check for exclusion markers
|
||||
@@ -1963,6 +1967,9 @@ sub read_gcov_file($)
|
||||
}
|
||||
}
|
||||
|
||||
+ # Strip unexecuted basic block marker
|
||||
+ $count =~ s/\*$//;
|
||||
+
|
||||
# <exec count>:<line number>:<source code>
|
||||
if ($line eq "0")
|
||||
{
|
||||
@@ -3537,6 +3544,10 @@ sub read_gcno_function_record(*$$$$$)
|
||||
graph_expect("function name");
|
||||
$function = read_gcno_string($handle, $big_endian);
|
||||
return undef if (!defined($function));
|
||||
+ if ($version >= $GCOV_VERSION_8_0_0) {
|
||||
+ graph_skip($handle, 4, "compiler-generated entity flag")
|
||||
+ or return undef;
|
||||
+ }
|
||||
# Read filename
|
||||
graph_expect("filename");
|
||||
$filename = read_gcno_string($handle, $big_endian);
|
||||
@@ -3544,6 +3555,11 @@ sub read_gcno_function_record(*$$$$$)
|
||||
# Read first line number
|
||||
$lineno = read_gcno_value($handle, $big_endian, "initial line number");
|
||||
return undef if (!defined($lineno));
|
||||
+ # Skip column and ending line number
|
||||
+ if ($version >= $GCOV_VERSION_8_0_0) {
|
||||
+ graph_skip($handle, 4, "column number") or return undef;
|
||||
+ graph_skip($handle, 4, "ending line number") or return undef;
|
||||
+ }
|
||||
# Add to list
|
||||
push(@{$bb->{$function}->{$filename}}, $lineno);
|
||||
graph_add_order($fileorder, $function, $filename);
|
||||
@@ -3631,6 +3647,10 @@ sub read_gcno($)
|
||||
debug(sprintf("found version 0x%08x\n", $version));
|
||||
# Skip stamp
|
||||
graph_skip(*HANDLE, 4, "file timestamp") or goto incomplete;
|
||||
+ if ($version >= $GCOV_VERSION_8_0_0) {
|
||||
+ graph_skip(*HANDLE, 4, "support unexecuted blocks flag")
|
||||
+ or goto incomplete;
|
||||
+ }
|
||||
while (!eof(HANDLE)) {
|
||||
my $next_pos;
|
||||
my $curr_pos;
|
@ -0,0 +1,43 @@
|
||||
# Copyright 1999-2018 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
EGIT_REPO_URI="https://github.com/linux-test-project/lcov.git"
|
||||
inherit git-r3
|
||||
else
|
||||
SRC_URI="mirror://sourceforge/ltp/${P}.tar.gz"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-linux ~x64-macos"
|
||||
fi
|
||||
|
||||
inherit prefix
|
||||
|
||||
DESCRIPTION="A graphical front-end for GCC's coverage testing tool gcov"
|
||||
HOMEPAGE="http://ltp.sourceforge.net/coverage/lcov.php"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
IUSE="png"
|
||||
|
||||
RDEPEND="
|
||||
dev-lang/perl
|
||||
png? ( dev-perl/GD[png] )
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/lcov-1.13-gcc-8.patch"
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
if use prefix; then
|
||||
hprefixify bin/*.{pl,sh}
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() { :; }
|
||||
|
||||
src_install() {
|
||||
emake PREFIX="${ED}/usr" CFG_DIR="${ED}/etc" install
|
||||
}
|
@ -1,21 +1,29 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Copyright 1999-2018 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
EAPI=7
|
||||
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
EGIT_REPO_URI="https://github.com/linux-test-project/lcov.git"
|
||||
inherit git-r3
|
||||
else
|
||||
SRC_URI="mirror://sourceforge/ltp/${P}.tar.gz"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-linux ~x64-macos"
|
||||
fi
|
||||
|
||||
inherit prefix
|
||||
|
||||
DESCRIPTION="A graphical front-end for GCC's coverage testing tool gcov"
|
||||
HOMEPAGE="http://ltp.sourceforge.net/coverage/lcov.php"
|
||||
SRC_URI="mirror://sourceforge/ltp/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-linux ~x64-macos"
|
||||
IUSE="png"
|
||||
|
||||
RDEPEND="
|
||||
dev-lang/perl
|
||||
dev-perl/GD[png]"
|
||||
png? ( dev-perl/GD[png] )
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
default
|
@ -1,2 +1,3 @@
|
||||
DIST stepman-0.10.0.tar.gz 3054342 BLAKE2B 8d1d6fc8b4b85c79d535c6162a8b7c5ba15042b6a8334286cdf7ad5d498ee20abecaa1bb9ce9ffe5406891271e23a2e2554bea0b52bbf08df23a2154fdcb4da8 SHA512 1437d5c997e62a9da3beb666a15ac665e18300fad3668ee3acdae30307027bbf16c0d95f649a9a62c6203f3e09f9ec83525a23b3789f09c3707ff1937a7affbe
|
||||
DIST stepman-0.10.2.tar.gz 3087278 BLAKE2B 224bc6141678d4155474591d7094956ddd230086315ccff8ec2f91bb2d72761f46daa864086a449fb5d79dc2f7ec6f8935fa62a9a5be41a2f0aad9e3de84ca20 SHA512 6b7f1e17ff14e8a0a69056f6a8fa00043b53d818e61603fc2571a42a73e2c88edae1bb233fb734e1796c581c63f7aaf6e91c425525adbb2e1c3429cdc8dfa1e8
|
||||
DIST stepman-0.10.4.tar.gz 3173321 BLAKE2B b8dcf7eb7ff5afba1fc12b8bf8d4d594b7c86cf26346de053fd8b50010d6a8dbbf55c6e33eef9e9606c672516319b8bacd66eb8a188eb915280f92d027fea253 SHA512 9cd66e45f9a379ad785dc9a35a022d7f9fadeb9707154890d6c6ee17c716d5fcf319dee80c121f9eedc53baef71aaac3a60a6f32135c05113b97f9a5fc7dd299
|
||||
|
@ -0,0 +1,42 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit golang-build
|
||||
|
||||
EGO_ON="github.com/bitrise-io"
|
||||
EGO_PN="${EGO_ON}/${PN}"
|
||||
|
||||
DESCRIPTION="Step collection manager for Bitrise CLI"
|
||||
HOMEPAGE="https://www.bitrise.io/cli"
|
||||
SRC_URI="https://${EGO_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
S="${WORKDIR}/src/${EGO_ON}/${PN}"
|
||||
|
||||
src_unpack() {
|
||||
default
|
||||
mkdir -p "${WORKDIR}/src/${EGO_ON}" || die "Couldn't create project dir in GOPATH"
|
||||
mv "${WORKDIR}/${P}" "${WORKDIR}/src/${EGO_ON}/stepman" || die "Couldn't move sources to GOPATH"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
GOPATH="${WORKDIR}" go build -v -o bin/stepman || die "Couldn't compile stepman"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
pushd _tests/integration > /dev/null || die "Couldn't find integration tests directory"
|
||||
rm update_test.go step_info_test.go setup_test.go || die "Couldn't remove network-dependent tests"
|
||||
popd || die "Couldn't return to ${S} directory"
|
||||
local -x INTEGRATION_TEST_BINARY_PATH="${S}/bin/stepman"
|
||||
GOPATH="${WORKDIR}" go test -v ./_tests/integration/... || die "Integration tests failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin bin/stepman
|
||||
dodoc README.md
|
||||
}
|
Binary file not shown.
@ -1,10 +1,10 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Copyright 1999-2018 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
EAPI=7
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit distutils-r1 eutils
|
||||
inherit desktop distutils-r1
|
||||
|
||||
if [[ ${PV} != *9999* ]]; then
|
||||
KEYWORDS="~amd64 ~x86"
|
Binary file not shown.
Binary file not shown.
@ -0,0 +1,24 @@
|
||||
From e0006451d5b03a9e15277ad9e7b1c8a74864b532 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Ivan=20=C4=8Cuki=C4=87?= <ivan.cukic@kde.org>
|
||||
Date: Mon, 8 Oct 2018 23:12:34 +0200
|
||||
Subject: Fixing a copy-paste error
|
||||
|
||||
---
|
||||
src/kicondialog.cpp | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/src/kicondialog.cpp b/src/kicondialog.cpp
|
||||
index 1f4193e..12ccb4f 100644
|
||||
--- a/src/kicondialog.cpp
|
||||
+++ b/src/kicondialog.cpp
|
||||
@@ -416,7 +416,7 @@ void KIconDialog::KIconDialogPrivate::_k_slotAcceptIcons()
|
||||
static bool sortByFileName(const QString &path1, const QString &path2)
|
||||
{
|
||||
const QString fileName1 = path1.mid(path1.lastIndexOf(QLatin1Char('/')) + 1);
|
||||
- const QString fileName2 = path2.mid(path1.lastIndexOf(QLatin1Char('/')) + 1);
|
||||
+ const QString fileName2 = path2.mid(path2.lastIndexOf(QLatin1Char('/')) + 1);
|
||||
return QString::compare(fileName1, fileName2, Qt::CaseInsensitive) < 0;
|
||||
}
|
||||
|
||||
--
|
||||
cgit v0.11.2
|
Binary file not shown.
@ -1 +1,2 @@
|
||||
DIST kio-gdrive-1.2.4.tar.xz 44700 BLAKE2B 067a7e75a073a1bfffa76ba6bab9c76c517231182c0bd8ee6ddff6ab601ddaab4c19716d55072c3c09cdb0656e649bb7cf8b8951d6f458557fc29581109d04c2 SHA512 0430702ebc9412cbc0116f2677046da89ebac82d93afff915b08bf0449b26174975104514b4a000b60e4a0da9714270881b8ff264f2e7f2d9d4715229ff5a238
|
||||
DIST kio-gdrive-1.2.5.tar.xz 45784 BLAKE2B 13ab7370f27694b1e9423ef9975ec17361893196f65369339ac2adc844ee7ce015ea8814eb1cf3abce50f3513ea97a612cd1f9fbe2d84f875e6245acfeda5fe0 SHA512 4aea167f756b8cd24a429ea46a73353fc7cc76fa844f4317e6a90b696165f110913a56334a75e0b5e522a892ea31d085d56928e4abf0286c4caadcdc7cfe41d3
|
||||
|
@ -0,0 +1,46 @@
|
||||
# Copyright 1999-2018 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
KDE_HANDBOOK="forceoptional"
|
||||
KDE_TEST="optional"
|
||||
inherit kde5
|
||||
|
||||
DESCRIPTION="KIO Slave for Google Drive service"
|
||||
HOMEPAGE="https://phabricator.kde.org/project/profile/72/"
|
||||
|
||||
if [[ ${KDE_BUILD_TYPE} != live ]] ; then
|
||||
SRC_URI="mirror://kde/stable/${PN}/${PV}/src/${P}.tar.xz"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
fi
|
||||
|
||||
IUSE="+kaccounts"
|
||||
|
||||
COMMON_DEPEND="
|
||||
$(add_frameworks_dep kcoreaddons)
|
||||
$(add_frameworks_dep ki18n)
|
||||
$(add_frameworks_dep kio)
|
||||
$(add_frameworks_dep knotifications)
|
||||
$(add_kdeapps_dep libkgapi)
|
||||
$(add_qt_dep qtwidgets)
|
||||
kaccounts? ( $(add_kdeapps_dep kaccounts-integration) )
|
||||
!kaccounts? ( dev-libs/qtkeychain:=[qt5(+)] )
|
||||
"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
$(add_qt_dep qtgui)
|
||||
$(add_qt_dep qtnetwork)
|
||||
dev-util/intltool
|
||||
"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
kaccounts? ( $(add_kdeapps_dep kaccounts-providers) )
|
||||
"
|
||||
|
||||
DOCS=( README.md )
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
$(cmake-utils_use_find_package kaccounts KAccounts)
|
||||
)
|
||||
kde5_src_configure
|
||||
}
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue