From 0c68db8bb2722a21d955847662cf730fdbf25cbf Mon Sep 17 00:00:00 2001 From: Horea Christian Date: Thu, 15 Sep 2022 03:39:12 -0400 Subject: [PATCH] metadata: extended readme instructions and added example config file Signed-off-by: Horea Christian --- README.md | 73 ++++++++++++++++++++++++++++++++++++++++++++++++--- metadata/guru | 6 +++++ 2 files changed, 76 insertions(+), 3 deletions(-) create mode 100644 metadata/guru diff --git a/README.md b/README.md index 2125f942a..d85e54609 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ **The official repository for new Gentoo packages, maintained collaboratively by Gentoo users.** -This README contains some additional useful information for GURU contributors, such as common mistakes, frequently asked questions and other tips and tricks. +This README contains some additional useful information for GURU contributors, such as common mistakes, frequently asked questions and other tips and tricks. The [GURU regulations](https://wiki.gentoo.org/wiki/Project:GURU#The_regulations), and the Gentoo [developer manual](https://devmanual.gentoo.org/) take precedence over any information here. @@ -24,12 +24,79 @@ The [GURU regulations](https://wiki.gentoo.org/wiki/Project:GURU#The_regulations ### Contents -1. [Useful Links](#links) -2. [Email Addresses](#email) +1. [Installation](#install) + - [Eselect](#install-eselect) + - [Manual](#install-manual) + - [Layman](#install-layman) +2. [Useful Links](#links) +3. [Email Addresses](#email) +## Installation + +As per the current [Portage specification](https://dev.gentoo.org/~zmedico/portage/doc/man/portage.5.html), ebuild repositories (a.k.a. overlays) can be managed via file collections under `/etc/portage/repos.conf/`, via the new [plug-in sync system](https://wiki.gentoo.org/wiki/Project:Portage/Sync). + +### Eselect-repository Install + +The overlay can be enabled via the `repository` extension of the Gentoo `eselect` utility. + +```console +emerge --ask --noreplace --verbose eselect-repository +eselect repository enable guru +``` + +### Eselect-repository Uninstall + +To disable and remove the overlay, run: + +```console +eselect repository disable guru +eselect repository remove guru +``` + +### Manual Install + +To enable the overlay without the need for dedicated repository software, you need to have `git` installed: + +```console +emerge --ask --noreplace --verbose dev-vcs/git +```` + +Then you can simply download the guru repository configuration file, [guru.conf](metadata/guru.conf): + +```console +wget https://gitweb.gentoo.org/repo/proj/guru.git/tree/metadata/guru.conf \ + -O /etc/portage/repos.conf/guru +``` + +### Manual Uninstall + +To disable and remove the overlay, run: + +```console +rm /etc/portage/repos.conf/guru +rm /var/db/repos/guru -rf +``` + +### Layman Install + +You can also install the overlay via the [layman](https://wiki.gentoo.org/wiki/Layman) overlay manager. + +```console +emerge --ask --noreplace --verbose app-portage/layman +layman --add guru +``` + +### Layman Uninstall + +To delete the overlay, run: + +```console +layman --delete guru +``` + ## Useful Links - https://wiki.gentoo.org/wiki/Project:GURU diff --git a/metadata/guru b/metadata/guru new file mode 100644 index 000000000..43ffa76ea --- /dev/null +++ b/metadata/guru @@ -0,0 +1,6 @@ +#put this in /etc/portage/repos.conf/ +[guru] +location = /var/db/repos/guru +sync-type = git +sync-uri = git@git.gentoo.org/repo/proj/guru.git +priority = 9999 -- 2.37.3