portage

Primary endpoint

Use https://mirror.kargadan.ir/repository/gentoo-distfiles-proxy/ as the canonical baseurl in your client configuration.

2 archives

Companion archives included

Primary archive plus 1 companion archive (security · updates · backports — listed below).

Anonymous

No sign-in required

Public read access over HTTPS. Plain HTTP is available for legacy clients that cannot validate the certificate.

Repository URL

Drop one of the URLs below into your client configuration. HTTPS is the right choice in almost every case.

HTTPS · recommended
https://mirror.kargadan.ir/repository/gentoo-distfiles-proxy/
HTTP · legacy clients only
http://mirror.kargadan.ir/repository/gentoo-distfiles-proxy/

Companion repositories

This distribution requires more than one archive — list each one below in your client configuration.

NameURL
gentoo-binhost-proxyhttps://mirror.kargadan.ir/repository/gentoo-binhost-proxy/

rsync-based portage tree updates cannot use the HTTP raw proxy. Use the daily snapshot tarball (gentoo-distfiles-proxy/snapshots/gentoo-latest.tar.xz) or run binhost-only with FEATURES="getbinpkg".

Quick verification

Run this from any machine that can reach the mirror. It should complete in under a second once metadata is cached.

# Quick smoke test (latest portage snapshot is ~120 MiB)
curl -fsSL -I https://mirror.kargadan.ir/repository/gentoo-distfiles-proxy/snapshots/gentoo-latest.tar.xz

Default client configuration

Drop this file at /etc/portage/binrepos.conf/gentoo.conf on the target host for the recommended default release (current). See configuration by release for every supported suite.

# /etc/portage/binrepos.conf/gentoo.conf  (Gentoo binhost via Nexus)
# Used together with FEATURES="getbinpkg binpkg-request-signature"

[binhost]
priority = 9999
sync-uri = https://mirror.kargadan.ir/repository/gentoo-binhost-proxy/

# /etc/portage/make.conf override for distfiles (sources mirror)
# GENTOO_MIRRORS="https://mirror.kargadan.ir/repository/gentoo-distfiles-proxy/"

# Snapshots (portage tree tarball) are also available at:
# https://mirror.kargadan.ir/repository/gentoo-distfiles-proxy/snapshots/gentoo-latest.tar.xz
#
# Limitation: rsync-style portage tree updates cannot use the HTTP raw proxy.
# Use the snapshot tarball (preferred for binhosts) or layer Nexus over an
# rsync->HTTP gateway like rsync-mirror-tools.

Configuration by release

Each block below is a complete, copy-ready configuration for one suite or release. Install path: /etc/portage/binrepos.conf/gentoo.conf. The same patterns are committed under /opt/client-configs/gentoo/repos.conf on the mirror host (default release only).

Gentoo (distfiles + binhost) default

HTTP proxy covers distfiles and binhost only. For the portage tree use the daily snapshot tarball or rsync upstream.

Quick verification

curl -fsSL -I https://mirror.kargadan.ir/repository/gentoo-distfiles-proxy/snapshots/gentoo-latest.tar.xz

Client configuration

# /etc/portage/make.conf
GENTOO_MIRRORS="https://mirror.kargadan.ir/repository/gentoo-distfiles-proxy/"
FEATURES="getbinpkg binpkg-request-signature"

# /etc/portage/binrepos.conf/gentoo.conf
[gentoo]
sync-uri = https://mirror.kargadan.ir/repository/gentoo-binhost-proxy/
auto-sync = yes

CI / container example

A minimal snippet you can paste into a Dockerfile or pipeline step.

# /etc/portage/make.conf override
GENTOO_MIRRORS="https://mirror.kargadan.ir/repository/gentoo-distfiles-proxy/"
FEATURES="getbinpkg binpkg-request-signature"

Mirror information

DistributionGentoo
Package managerportage
Mirror format (Nexus)raw
Default suite / branchcurrent
AuthenticationNot required (anonymous read)
ProtocolsHTTPS · HTTP
Notes & limitations

rsync-based portage tree updates cannot use the HTTP raw proxy. Use the daily snapshot tarball (gentoo-distfiles-proxy/snapshots/gentoo-latest.tar.xz) or run binhost-only with FEATURES="getbinpkg".