diff options
author | Tim Harder <radhermit@gmail.com> | 2019-07-16 23:26:01 -0600 |
---|---|---|
committer | Tim Harder <radhermit@gmail.com> | 2019-07-17 03:05:12 -0600 |
commit | cd7f1195a0e691528b57b23722b7d72fa40e6828 (patch) | |
tree | 22680486e1e2a321c924797e334ba6a902ccbcd5 /data | |
parent | ebuild.domain: find_repo(): add method to find/add an external repo given a path (diff) | |
download | pkgcore-cd7f1195a0e691528b57b23722b7d72fa40e6828.tar.gz pkgcore-cd7f1195a0e691528b57b23722b7d72fa40e6828.tar.bz2 pkgcore-cd7f1195a0e691528b57b23722b7d72fa40e6828.zip |
provide fakerepo with stub profile to use as a fallback
This should make it easier to run pkgcheck or other pkgcore-based tools
on unconfigured or non-Gentoo systems.
Diffstat (limited to 'data')
-rw-r--r-- | data/config/make.globals | 20 | ||||
-rw-r--r-- | data/config/repos.conf | 12 | ||||
-rw-r--r-- | data/fakerepo/metadata/layout.conf | 1 | ||||
-rw-r--r-- | data/fakerepo/profiles/default/make.defaults | 1 | ||||
-rw-r--r-- | data/fakerepo/profiles/repo_name | 1 |
5 files changed, 35 insertions, 0 deletions
diff --git a/data/config/make.globals b/data/config/make.globals new file mode 100644 index 00000000..baf85593 --- /dev/null +++ b/data/config/make.globals @@ -0,0 +1,20 @@ +# System-wide defaults for the pkgcore +# Do not edit this file, changes to make.conf override this file. + +# Default distfiles mirrors. This rotation has multiple hosts and is reliable. +GENTOO_MIRRORS="http://distfiles.gentoo.org" + +ACCEPT_PROPERTIES="*" +ACCEPT_RESTRICT="*" + +DISTDIR="/var/cache/distfiles" + +PORTAGE_TMPDIR="/var/tmp" + +# Fetching command (3 tries, passive ftp for firewall compatibility) +FETCHCOMMAND="wget -t 3 -T 60 --passive-ftp -O \"\${DISTDIR}/\${FILE}\" \"\${URI}\"" +RESUMECOMMAND="wget -c -t 3 -T 60 --passive-ftp -O \"\${DISTDIR}/\${FILE}\" \"\${URI}\"" + +# Default user options that accumulate across config files +FEATURES="protect-owned sandbox sfperms strict unmerge-orphans + userfetch userpriv usersandbox usersync" diff --git a/data/config/repos.conf b/data/config/repos.conf new file mode 100644 index 00000000..53f54491 --- /dev/null +++ b/data/config/repos.conf @@ -0,0 +1,12 @@ +[DEFAULT] +main-repo = gentoo + +[gentoo] +location = /var/db/repos/gentoo +repo-type = sqfs-v1 +sync-uri = http://distfiles.gentoo.org/snapshots/squashfs/gentoo-current.lzo.sqfs +sync-type = sqfs + +[binpkgs] +location = /var/db/repos/binpkgs +repo-type = binpkg-v1 diff --git a/data/fakerepo/metadata/layout.conf b/data/fakerepo/metadata/layout.conf new file mode 100644 index 00000000..dae6b4b0 --- /dev/null +++ b/data/fakerepo/metadata/layout.conf @@ -0,0 +1 @@ +masters = diff --git a/data/fakerepo/profiles/default/make.defaults b/data/fakerepo/profiles/default/make.defaults new file mode 100644 index 00000000..b3e0df88 --- /dev/null +++ b/data/fakerepo/profiles/default/make.defaults @@ -0,0 +1 @@ +ARCH="amd64" diff --git a/data/fakerepo/profiles/repo_name b/data/fakerepo/profiles/repo_name new file mode 100644 index 00000000..78b2f63b --- /dev/null +++ b/data/fakerepo/profiles/repo_name @@ -0,0 +1 @@ +fakerepo |