Re: [gentoo-dev] Bug #733802, USE 'scp' now defaults to off in net-misc/openssh
On Sat, Jul 25, 2020 at 08:05:14PM -0400, Rich Freeman wrote: > On Sat, Jul 25, 2020 at 7:40 PM Joshua Kinard wrote: > > > > This seems like something that needs a news entry, or > > at least a "heads up" on the mailing list? > > Definitely not a "heads up" on the mailing list - that is not an > appropriate way to communicate anything to users - not even devs are > required to read this list. > > The two appropriate ways to communicate something like this are > einfo/ewarn/etc or news. Never hurts to use news. Ideally I'd point > to a substitute, and I'd suggest one myself if I were aware of one... Just to have this information here for easy access, this is upstream's response from that bug's URL [1]. They recommend "rsync or something else": The scp command is a historical protocol (called rcp) which relies upon that style of argument passing and encounters expansion problems. It has proven very difficult to add "security" to the scp model. All attempts to "detect" and "prevent" anomalous argument transfers stand a great chance of breaking existing workflows. Yes, we recognize it the situation sucks. But we don't want to break the easy patterns people use scp for, until there is a commonplace replacement. People should use rsync or something else instead if they are concerned. [1] https://github.com/cpandya2909/CVE-2020-15778/ signature.asc Description: PGP signature
Re: [gentoo-dev] Bug #733802, USE 'scp' now defaults to off in net-misc/openssh
On Sat, Jul 25, 2020 at 7:40 PM Joshua Kinard wrote: > > This seems like something that needs a news entry, or > at least a "heads up" on the mailing list? Definitely not a "heads up" on the mailing list - that is not an appropriate way to communicate anything to users - not even devs are required to read this list. The two appropriate ways to communicate something like this are einfo/ewarn/etc or news. Never hurts to use news. Ideally I'd point to a substitute, and I'd suggest one myself if I were aware of one... -- Rich
[gentoo-dev] Bug #733802, USE 'scp' now defaults to off in net-misc/openssh
So I stumbled into Bug #733802, which now defaults the 'scp' USE flag to off in net-misc/openssh. This seems like something that needs a news entry, or at least a "heads up" on the mailing list? Potential for some scripts to break if scp suddenly goes missing after an openssh update. -- Joshua Kinard Gentoo/MIPS ku...@gentoo.org rsa6144/5C63F4E3F5C6C943 2015-04-27 177C 1972 1FB8 F254 BAD0 3E72 5C63 F4E3 F5C6 C943 "The past tempts us, the present confuses us, the future frightens us. And our lives slip away, moment by moment, lost in that vast, terrible in-between." --Emperor Turhan, Centauri Republic
[gentoo-dev] [PATCH] elisp-common.eclass: Support installation of dynamic modules.
Signed-off-by: Ulrich Müller --- eclass/elisp-common.eclass | 42 -- 1 file changed, 36 insertions(+), 6 deletions(-) diff --git a/eclass/elisp-common.eclass b/eclass/elisp-common.eclass index 6fa2bbe..0bf6c01 100644 --- a/eclass/elisp-common.eclass +++ b/eclass/elisp-common.eclass @@ -180,6 +180,12 @@ SITELISP=/usr/share/emacs/site-lisp # Directory where packages install miscellaneous (not Lisp) files. SITEETC=/usr/share/emacs/etc +# @ECLASS-VARIABLE: EMACSMODULES +# @DESCRIPTION: +# Directory where packages install dynamically loaded modules. +# May contain a @libdir@ token which will be replaced by $(get_libdir). +EMACSMODULES=/usr/@libdir@/emacs/modules + # @ECLASS-VARIABLE: EMACS # @DESCRIPTION: # Path of Emacs executable. @@ -362,17 +368,37 @@ elisp-install() { eend $? "elisp-install: doins failed" || die } +# @FUNCTION: elisp-modules-install +# @USAGE: +# @DESCRIPTION: +# Install dynamic modules in EMACSMODULES directory. + +elisp-modules-install() { + local subdir="$1" + shift + # Don't bother inheriting multilib.eclass for get_libdir(), but + # error out in old EAPIs that don't support it natively. + [[ ${EAPI} == [45] ]] \ + && die "${ECLASS}: Dynamic modules not supported in EAPI ${EAPI}" + ebegin "Installing dynamic modules for GNU Emacs support" + ( # subshell to avoid pollution of calling environment + exeinto "${EMACSMODULES//@libdir@/$(get_libdir)}/${subdir}" + doexe "$@" + ) + eend $? "elisp-modules-install: doins failed" || die +} + # @FUNCTION: elisp-site-file-install # @USAGE: [subdirectory] # @DESCRIPTION: # Install Emacs site-init file in SITELISP directory. Automatically -# inserts a standard comment header with the name of the package (unless -# it is already present). Tokens @SITELISP@ and @SITEETC@ are replaced -# by the path to the package's subdirectory in SITELISP and SITEETC, -# respectively. +# inserts a standard comment header with the name of the package +# (unless it is already present). Tokens @SITELISP@, @SITEETC@, and +# @EMACSMODULES@ are replaced by the path to the package's subdirectory +# in SITELISP, SITEETC, and EMACSMODULES, respectively. elisp-site-file-install() { - local sf="${1##*/}" my_pn="${2:-${PN}}" ret + local sf="${1##*/}" my_pn="${2:-${PN}}" modules ret local header=";;; ${PN} site-lisp configuration" [[ ${sf} == [0-9][0-9]*-gentoo*.el ]] \ @@ -381,9 +407,13 @@ elisp-site-file-install() { sf="${T}/${sf}" ebegin "Installing site initialisation file for GNU Emacs" [[ $1 = "${sf}" ]] || cp "$1" "${sf}" + [[ ${EAPI} == [45] ]] && grep -q "@EMACSMODULES@" "${sf}" \ + && die "${ECLASS}: Dynamic modules not supported in EAPI ${EAPI}" + modules=${EMACSMODULES//@libdir@/$(get_libdir)} sed -i -e "1{:x;/^\$/{n;bx;};/^;.*${PN}/I!s:^:${header}\n\n:;1s:^:\n:;}" \ -e "s:@SITELISP@:${EPREFIX}${SITELISP}/${my_pn}:g" \ - -e "s:@SITEETC@:${EPREFIX}${SITEETC}/${my_pn}:g;\$q" "${sf}" + -e "s:@SITEETC@:${EPREFIX}${SITEETC}/${my_pn}:g" \ + -e "s:@EMACSMODULES@:${EPREFIX}${modules}/${my_pn}:g;\$q" "${sf}" ( # subshell to avoid pollution of calling environment insinto "${SITELISP}/site-gentoo.d" doins "${sf}" -- 2.27.0
[gentoo-dev] Last rites: dev-tex/metapost, app-eselect/eselect-{mpost,pdftex}
# Ulrich Müller (2020-07-25) # Included with TeX Live. The separate Gentoo package is # unmaintained and had its last version bump in 2015. # Use app-text/texlive-core as replacement. # Removal in 30 days. Bug #733862. dev-tex/metapost app-eselect/eselect-mpost # Ulrich Müller (2020-07-25) # No longer needed without the separate dev-tex/pdftex package. # Removal in 30 days. Bug #533080. app-eselect/eselect-pdftex signature.asc Description: PGP signature
[gentoo-dev] Changes to netsurf.eclass - please review the attached patch
Hello, When trying to emerge media-libs/libnsgif (or other netsurf build system using packages) in prefix the compilation fails because the ebuilds are sourcing a bash script directly from /usr/share/netsurf-buildsystem/gentoo-helpers.sh This patch is replacing gentoo-helpers.sh with an eclass which is then used in all ebuilds which are now sourcing gentoo-helpers.sh for more details please see PR 16702 on github https://github.com/gentoo/gentoo/pull/16702 Thanks Lucas From e07bb519a9837d0888c5db49bec839e99d8bfb03 Mon Sep 17 00:00:00 2001 From: Lukas Vacek Date: Sat, 25 Jul 2020 04:32:00 +0800 Subject: [PATCH 1/3] Add new class netsurf.eclass for netsurf build This eclass contains one new function netsurf_define_makeconf which should be used in ebuilds instead ouf sourcing netsurf-buildsystem/gentoo-helpers.sh --- eclass/netsurf.eclass | 43 +++ 1 file changed, 43 insertions(+) create mode 100644 eclass/netsurf.eclass diff --git a/eclass/netsurf.eclass b/eclass/netsurf.eclass new file mode 100644 index 000..67d9837147b --- /dev/null +++ b/eclass/netsurf.eclass @@ -0,0 +1,43 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +# @ECLASS: netsurf.eclass +# @MAINTAINER: +# maintainer-nee...@gentoo.org +# @SUPPORTED_EAPIS: 5 6 7 +# @BLURB: Handle buildsystem of www.netsurf-browser.org components +# @DESCRIPTION: +# Handle settings build environment for netsurf build system +# +# Supports PATCHES and DOCS as in base.eclass + +if [[ -z ${_NETSURF_ECLASS} ]]; then +_NETSURF_ECLASS=1 + +inherit toolchain-funcs + +# @FUNCTION: netsurf_define_makeconf +# @DESCRIPTION: +# This function sets NETSURF_MAKECONF as needed by netsurf build system +netsurf_define_makeconf() { + NETSURF_MAKECONF=( + PREFIX="${EPREFIX}/usr" + NSSHARED="${EPREFIX}/usr/share/netsurf-buildsystem" + LIBDIR="$(get_libdir)" + Q= + CC="$(tc-getCC)" + LD="$(tc-getLD)" + HOST_CC="\$(CC)" + BUILD_CC="$(tc-getBUILD_CC)" + CXX="$(tc-getCXX)" + BUILD_CXX="$(tc-getBUILD_CXX)" + CCOPT= + CCNOOPT= + CCDBG= + LDDBG= + AR="$(tc-getAR)" + WARNFLAGS= + ) +} + +fi -- 2.17.1
Re: [gentoo-dev] Project:Theology is now empty
On 7/25/20 11:47 AM, Michał Górny wrote: > Hello, > > The only member of the theology project is now retiring, leaving > the project empty. > > > > Apparently biblesync & xiphos are outdated; however, repology doesn't > recognize most of the packages. glosung has a last-rite request open. > A few other packages also have bugs open. > Hi, I've opened a PR [1] to update net-libs/biblesync. Also checked for bugs, none are opened for biblesync. [1] https://github.com/gentoo/gentoo/pull/16812 -- Best regards, Jakov Smolic signature.asc Description: OpenPGP digital signature
Re: [gentoo-dev] Project:Theology is now empty
On 2020-07-25 11:47, Michał Górny wrote: > The project maintains the following packages (and one eclass): I'll take the whole stock. Will take care of all the reassignments over the weekend. -- Marecki signature.asc Description: OpenPGP digital signature
[gentoo-dev] Project:Theology is now empty
Hello, The only member of the theology project is now retiring, leaving the project empty. The project maintains the following packages (and one eclass): app-dicts/sword-abbott app-dicts/sword-acv app-dicts/sword-afr1953 app-dicts/sword-akjv app-dicts/sword-alb app-dicts/sword-aleppo app-dicts/sword-amtract app-dicts/sword-arasvd app-dicts/sword-armeastern app-dicts/sword-armwestern app-dicts/sword-asv app-dicts/sword-barnes app-dicts/sword-bashautin app-dicts/sword-bbe app-dicts/sword-bulveren app-dicts/sword-burjudson app-dicts/sword-byz app-dicts/sword-cbc app-dicts/sword-chamorro app-dicts/sword-clarke app-dicts/sword-common app-dicts/sword-cro app-dicts/sword-czebkr app-dicts/sword-daily app-dicts/sword-dan app-dicts/sword-darby app-dicts/sword-diaglott app-dicts/sword-drc app-dicts/sword-dtn app-dicts/sword-dutkant app-dicts/sword-dutsvv app-dicts/sword-easton app-dicts/sword-esperanto app-dicts/sword-farsiopv app-dicts/sword-finbiblia app-dicts/sword-finney app-dicts/sword-finpr app-dicts/sword-frebbb app-dicts/sword-frecrampon app-dicts/sword-frelsg app-dicts/sword-fremartin app-dicts/sword-fresegond app-dicts/sword-geneva app-dicts/sword-geneva1599 app-dicts/sword-gerelb1871 app-dicts/sword-gerelb1905 app-dicts/sword-gerlut1545 app-dicts/sword-gersch app-dicts/sword-greekhebrew app-dicts/sword-hebrewgreek app-dicts/sword-heretics app-dicts/sword-hitchcock app-dicts/sword-hnv app-dicts/sword-hunkar app-dicts/sword-institutes app-dicts/sword-isbe app-dicts/sword-isv app-dicts/sword-itadio app-dicts/sword-itarive app-dicts/sword-jfb app-dicts/sword-josephus app-dicts/sword-jps app-dicts/sword-jst app-dicts/sword-jubilee2000 app-dicts/sword-kjv app-dicts/sword-kjvd app-dicts/sword-klv app-dicts/sword-klven_iklingon app-dicts/sword-klviklingon_en app-dicts/sword-lightfoot app-dicts/sword-litv app-dicts/sword-luther app-dicts/sword-mak app-dicts/sword-manxgaelic app-dicts/sword-mhc app-dicts/sword-mhcc app-dicts/sword-mkjv app-dicts/sword-montgomery app-dicts/sword-murdock app-dicts/sword-nave app-dicts/sword-norsk app-dicts/sword-orthodoxy app-dicts/sword-packard app-dicts/sword-personal app-dicts/sword-peshitta app-dicts/sword-pilgrim app-dicts/sword-pnt app-dicts/sword-practice app-dicts/sword-rkjnt app-dicts/sword-rnkjv app-dicts/sword-robinson app-dicts/sword-rotherham app-dicts/sword-rst app-dicts/sword-rusmakarij app-dicts/sword-rwebster app-dicts/sword-rwp app-dicts/sword-saoa app-dicts/sword-scofield app-dicts/sword-scotsgaelic app-dicts/sword-sme app-dicts/sword-smith app-dicts/sword-sparv app-dicts/sword-sparvg2004 app-dicts/sword-spasev app-dicts/sword-spavnt app-dicts/sword-spurious app-dicts/sword-strongsgreek app-dicts/sword-strongshebrew app-dicts/sword-swahili app-dicts/sword-tagalog app-dicts/sword-tcr app-dicts/sword-tdavid app-dicts/sword-tfg app-dicts/sword-tisch app-dicts/sword-torrey app-dicts/sword-tr app-dicts/sword-tsk app-dicts/sword-twenty app-dicts/sword-tyndale app-dicts/sword-ukjv app-dicts/sword-ukrainian app-dicts/sword-uma app-dicts/sword-vulgate app-dicts/sword-vulgate_hebps app-dicts/sword-web app-dicts/sword-webster app-dicts/sword-webstersdict app-dicts/sword-wesley app-dicts/sword-weymouth app-dicts/sword-whnu app-dicts/sword-wlc app-dicts/sword-wulfila app-dicts/sword-wycliffe app-dicts/sword-ylt app-text/bibletime app-text/glosung app-text/sword app-text/sword-modules app-text/xiphos eclass/sword-module.eclass games-misc/fortune-mod-mormon games-misc/fortune-mod-scriptures net-libs/biblesync Apparently biblesync & xiphos are outdated; however, repology doesn't recognize most of the packages. glosung has a last-rite request open. A few other packages also have bugs open. -- Best regards, Michał Górny signature.asc Description: This is a digitally signed message part