[gentoo-dev] Last rites: dev-libs/vc-intrinsics

2021-11-07 Thread Jakov Smolić
# Jakov Smolić  (2021-11-07)
# No maintainer, not compatible with llvm-11 or higher.
# Removal on 2021-12-07. Bug #812566.
dev-libs/vc-intrinsics
-- 
Jakov



OpenPGP_signature
Description: OpenPGP digital signature


[gentoo-dev] Bug 822291: Thunderbird 78 EOL

2021-11-07 Thread Samuel Bernardo

Hi,

Sorry to bother you directly, but this seems very urgent and may be 
neglected in the middle of all the tasks you had:


https://bugs.gentoo.org/822291

Stabilization of thunderbird current stable version 91!

78 should be masked since is not supported anymore.

https://en.wikipedia.org/wiki/History_of_Mozilla_Thunderbird

Thank you,

Samuel



OpenPGP_signature
Description: OpenPGP digital signature


[gentoo-dev] Last rites: media-libs/quvi, media-video/clive

2021-11-07 Thread Jakov Smolić
# Jakov Smolić  (2021-11-07)
# Fails to build with glibc-2.34, dead upstream.
# Only revdep (media-video/clive) is outdated
# and uses EAPI 5.
# Removal on 2021-12-07. Bug #807172.
media-libs/quvi
media-video/clive
-- 
Jakov



OpenPGP_signature
Description: OpenPGP digital signature


[gentoo-dev] Last rites: app-misc/rundeck-bin

2021-11-07 Thread Jakov Smolić
# Jakov Smolić  (2021-11-07)
# Unresolved security vulnerability, still uses EAPI 5.
# Removal on 2021-12-07. Bug #811168.
app-misc/rundeck-bin
-- 
Jakov



OpenPGP_signature
Description: OpenPGP digital signature


[gentoo-dev] Last rites: dev-db/mtop

2021-11-07 Thread Jakov Smolić
# Jakov Smolić  (2021-11-07)
# Dead upstream, uses EAPI 5, no revdeps.
# Replaced by dev-db/mytop.
# Removal on 2021-12-07. Bug #819675.
dev-db/mtop
-- 
Jakov



OpenPGP_signature
Description: OpenPGP digital signature


[gentoo-dev] [PATCH 2/2] dev-ruby/ruby-ldap: EAPI 8; add ruby30; fix extension install

2021-11-07 Thread Hans de Graaff
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Hans de Graaff 
---
 dev-ruby/ruby-ldap/ruby-ldap-0.9.20-r1.ebuild | 34 +++
 1 file changed, 34 insertions(+)
 create mode 100644 dev-ruby/ruby-ldap/ruby-ldap-0.9.20-r1.ebuild

diff --git a/dev-ruby/ruby-ldap/ruby-ldap-0.9.20-r1.ebuild 
b/dev-ruby/ruby-ldap/ruby-ldap-0.9.20-r1.ebuild
new file mode 100644
index ..a195fa0f2b51
--- /dev/null
+++ b/dev-ruby/ruby-ldap/ruby-ldap-0.9.20-r1.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby26 ruby27 ruby30"
+
+inherit ruby-fakegem
+
+RUBY_FAKEGEM_TASK_TEST=""
+RUBY_FAKEGEM_EXTENSIONS=(./extconf.rb)
+RUBY_FAKEGEM_EXTRADOC="ChangeLog FAQ NOTES README TODO"
+
+DESCRIPTION="A Ruby interface to some LDAP libraries"
+HOMEPAGE="https://github.com/bearded/ruby-ldap;
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86"
+IUSE="ssl"
+DEPEND=">=net-nds/openldap-2
+   dev-libs/cyrus-sasl
+   ssl? ( dev-libs/openssl:0 )"
+RDEPEND="${DEPEND}"
+
+# Current test set is interactive due to certificate generation and requires
+# running LDAP daemon
+RESTRICT="test"
+
+each_ruby_configure() {
+   local myconf="--with-openldap2"
+   if ! use ssl ; then
+   myconf="${myconf} --without-libcrypto --without-libssl"
+   fi
+   RUBY_FAKEGEM_EXTENSION_OPTIONS=${myconf} each_fakegem_configure
+}
-- 
2.32.0




[gentoo-dev] [PATCH 1/2] eclass/ruby-fakegem.eclass: add options support for extensions

2021-11-07 Thread Hans de Graaff
Introduce RUBY_FAKEGEM_EXTENSION_OPTIONS to allow setting options for
extensions.

Signed-off-by: Hans de Graaff 
---
 eclass/ruby-fakegem.eclass | 9 -
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/eclass/ruby-fakegem.eclass b/eclass/ruby-fakegem.eclass
index 4b954615cac9..a907a12831b5 100644
--- a/eclass/ruby-fakegem.eclass
+++ b/eclass/ruby-fakegem.eclass
@@ -123,6 +123,13 @@ RUBY_FAKEGEM_BINDIR="${RUBY_FAKEGEM_BINDIR-bin}"
 # the configuration script that needs to be run to generate the
 # extension.
 
+# @ECLASS-VARIABLE: RUBY_FAKEGEM_EXTENSION_OPTIONS
+# @DEFAULT_UNSET
+# @DESCRIPTION:
+# Additional options that are passed when configuring the
+# extension. Some extensions use this to locate paths or turn specific
+# parts of the extionsion on or off.
+
 # @ECLASS-VARIABLE: RUBY_FAKEGEM_EXTENSION_LIBDIR
 # @DESCRIPTION:
 # The lib directory where extensions are copied directly after they have
@@ -404,7 +411,7 @@ EOF
 each_fakegem_configure() {
tc-export PKG_CONFIG
for extension in "${RUBY_FAKEGEM_EXTENSIONS[@]}" ; do
-   CC=$(tc-getCC) ${RUBY} --disable=did_you_mean -C 
${extension%/*} ${extension##*/} || die
+   CC=$(tc-getCC) ${RUBY} --disable=did_you_mean -C 
${extension%/*} ${extension##*/} ${RUBY_FAKEGM_EXTENSION_OPTIONS} || die
done
 }
 
-- 
2.32.0




[gentoo-dev] [PATCH] eclass/ruby-fakegem.eclass: set flags for compilation

2021-11-07 Thread Hans de Graaff
Explicitly pass CC, CFLAGS and LDFLAGS when compiling ruby
extensions. By default ruby re-uses the stored flags used when
compiling ruby itself. This is intended to create a better chance of
compatibility between extensions and ruby itself, and extensions do
not need to bother with this themselves, but it does not match the
expectations of a Gentoo system where each compile action should use
the currently defined flags.

We also cannot guarantee this compatibility in any case since
toolchain packages may have been updated in the meantime.

This change uses the current CC, CFLAGS and LDFLAGS, and adds -fPIC
which ruby extensions need and which would otherwise be added by
ruby. This combination is already used in some ebuilds without any
reported issues.

Signed-off-by: Hans de Graaff 
---
 eclass/ruby-fakegem.eclass | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/eclass/ruby-fakegem.eclass b/eclass/ruby-fakegem.eclass
index 573e3511daf7..858fe04e082f 100644
--- a/eclass/ruby-fakegem.eclass
+++ b/eclass/ruby-fakegem.eclass
@@ -404,7 +404,7 @@ EOF
 each_fakegem_configure() {
tc-export PKG_CONFIG
for extension in "${RUBY_FAKEGEM_EXTENSIONS[@]}" ; do
-   ${RUBY} --disable=did_you_mean -C ${extension%/*} 
${extension##*/} || die
+   CC=$(tc-getCC) ${RUBY} --disable=did_you_mean -C 
${extension%/*} ${extension##*/} || die
done
 }
 
@@ -441,7 +441,7 @@ all_fakegem_compile() {
 # Compile extensions defined in RUBY_FAKEGEM_EXTENSIONS, if any.
 each_fakegem_compile() {
for extension in "${RUBY_FAKEGEM_EXTENSIONS[@]}" ; do
-   emake V=1 -C ${extension%/*}
+   emake V=1 -C ${extension%/*} CFLAGS="${CFLAGS} -fPIC" 
archflag="${LDFLAGS}"
mkdir -p "${RUBY_FAKEGEM_EXTENSION_LIBDIR%/}"
cp "${extension%/*}"/*$(get_modname) 
"${RUBY_FAKEGEM_EXTENSION_LIBDIR%/}/" || die "Copy of extension into 
${RUBY_FAKEGEM_EXTENSION_LIBDIR} failed"
done
-- 
2.32.0