Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 740904 - sys-apps/portage: rsync and gemato proxy support
Summary: sys-apps/portage: rsync and gemato proxy support
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Enhancement/Feature Requests (show other bugs)
Hardware: All All
: Normal normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks: 650144 739718
  Show dependency tree
 
Reported: 2020-09-07 22:36 UTC by Zac Medico
Modified: 2020-11-22 07:21 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Zac Medico gentoo-dev 2020-09-07 22:36:40 UTC
We've got patches in https://github.com/gentoo/portage/pull/607 that adds rsync and gemato proxy support.
Comment 1 Larry the Git Cow gentoo-dev 2020-09-07 22:52:39 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/proj/portage.git/commit/?id=051d75acf5e3fbca7c1083cb612e5f07a3a98919

commit 051d75acf5e3fbca7c1083cb612e5f07a3a98919
Author:     Frédéric Pierret (fepitre) <frederic.pierret@qubes-os.org>
AuthorDate: 2020-08-04 13:12:08 +0000
Commit:     Zac Medico <zmedico@gentoo.org>
CommitDate: 2020-09-07 22:49:53 +0000

    rsync: ignore addrinfos with proxy settings
    
    Not doing so makes getting addrinfos failing due to
    "Temporary failure in name resolution" due to proxy settings.
    
    An alternative to this solution would be to define a socks.setdefaultproxy
    and passing socks.socksocket to socket.
    
    Bug: https://bugs.gentoo.org/740904
    See: https://github.com/gentoo/portage/pull/607
    Signed-off-by: Frédéric Pierret (fepitre) <frederic.pierret@qubes-os.org>
    Signed-off-by: Zac Medico <zmedico@gentoo.org>

 lib/portage/sync/modules/rsync/rsync.py | 19 ++++++++++---------
 1 file changed, 10 insertions(+), 9 deletions(-)
Comment 2 Larry the Git Cow gentoo-dev 2020-09-07 23:21:32 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aabfe9ebbd529ede79476f77ccb8b427bd10edf5

commit aabfe9ebbd529ede79476f77ccb8b427bd10edf5
Author:     Zac Medico <zmedico@gentoo.org>
AuthorDate: 2020-09-07 23:19:19 +0000
Commit:     Zac Medico <zmedico@gentoo.org>
CommitDate: 2020-09-07 23:21:26 +0000

    sys-apps/portage: update 9999 to require at least gemato-14.5
    
    Bug: https://bugs.gentoo.org/740904
    See: https://github.com/mgorny/gemato/commit/9980de271de4f8f5e993e2b634d0e8d7753e382f
    Package-Manager: Portage-3.0.5, Repoman-3.0.1
    Signed-off-by: Zac Medico <zmedico@gentoo.org>

 sys-apps/portage/portage-9999.ebuild | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
Comment 3 Larry the Git Cow gentoo-dev 2020-09-07 23:35:49 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/proj/portage.git/commit/?id=ddbe8bd019552573b3f9c1ef2e5701df2edb4dd6

commit ddbe8bd019552573b3f9c1ef2e5701df2edb4dd6
Author:     Frédéric Pierret (fepitre) <frederic.pierret@qubes-os.org>
AuthorDate: 2020-08-18 15:00:16 +0000
Commit:     Zac Medico <zmedico@gentoo.org>
CommitDate: 2020-09-07 23:31:06 +0000

    syncbase: update with newer Gemato proxy parameter in openpgp env
    
    - Handle global proxy setting which is overrided by the one provided
    in Portage configuration (if exists).
    
    Bug: https://bugs.gentoo.org/740904
    Closes: https://github.com/gentoo/portage/pull/607
    See: https://github.com/mgorny/gemato/commit/9980de271de4f8f5e993e2b634d0e8d7753e382f
    Signed-off-by: Frédéric Pierret (fepitre) <frederic.pierret@qubes-os.org>
    Signed-off-by: Zac Medico <zmedico@gentoo.org>

 lib/portage/sync/modules/git/git.py           | 14 ++++++--------
 lib/portage/sync/modules/rsync/rsync.py       |  7 ++-----
 lib/portage/sync/modules/webrsync/webrsync.py |  4 ++--
 lib/portage/sync/syncbase.py                  | 21 +++++++++++++++++++++
 4 files changed, 31 insertions(+), 15 deletions(-)
Comment 4 Larry the Git Cow gentoo-dev 2020-09-08 03:51:40 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fd840baeef963f5fe746f9167976ce0eed83a3b4

commit fd840baeef963f5fe746f9167976ce0eed83a3b4
Author:     Zac Medico <zmedico@gentoo.org>
AuthorDate: 2020-09-08 03:44:51 +0000
Commit:     Zac Medico <zmedico@gentoo.org>
CommitDate: 2020-09-08 03:51:23 +0000

    sys-apps/portage: Bump to version 3.0.6
    
     #668302 binrepos.conf: support fetchcommand customization
     #668334 Add binrepos.conf to replace PORTAGE_BINHOST
     #704416 env-update: create systemd user-session environment
     #737470 egencache --update-pkg-desc: emulate esync --verbose
     #737480 emerge --search: auto-detect regular expressions
     #739908 @change-deps: fix erroneous repeated rebuilds
     #740588 make.conf: Treat __* variables as local
     #740898 PORTAGE_BINHOST urlopen proxy support
     #740904 rsync and gemato proxy support
    
    Bug: https://bugs.gentoo.org/739718
    Bug: https://bugs.gentoo.org/668302
    Bug: https://bugs.gentoo.org/668334
    Bug: https://bugs.gentoo.org/704416
    Bug: https://bugs.gentoo.org/737470
    Bug: https://bugs.gentoo.org/737480
    Bug: https://bugs.gentoo.org/739908
    Bug: https://bugs.gentoo.org/740588
    Bug: https://bugs.gentoo.org/740898
    Bug: https://bugs.gentoo.org/740904
    Package-Manager: Portage-3.0.6, Repoman-3.0.1
    Signed-off-by: Zac Medico <zmedico@gentoo.org>

 sys-apps/portage/Manifest             |   1 +
 sys-apps/portage/portage-3.0.6.ebuild | 265 ++++++++++++++++++++++++++++++++++
 2 files changed, 266 insertions(+)