I do think that these tools are what I need.
Equery
There are a lot of interesting stuff in package site.
Layman
Managing Repository
Eix
Diffing local ebuild.
First Thing First, as usual.
Repository
Gentoo utilize portage tree
as main ebuild repository
.
Configuration
In Funtoo this wouldlook a little bit different.
I do not know how it looks in Zentoo.
Overlay
Gentoo has repository concept called ebuild repository
,
or in short called overlay
.
Overlay is additional ebuild outside the main package tree.
This is a list of overlay.
There is an ebuild repository frontend called layman
.
Adding Overlay
Adding overlay is pretty straightforward.
More Info
Configuration
Now xwing has been added to the layman.conf
.
Consider have a look at the provided path.
List Overlays
List available overlays. This will produce long list.
List installed overlays.
Overlay
Overlay removal is also straightforward.
Synchronize Overlays
List Packages
We can use eix
to list packages.
No need to check out /var/lib/layman/xwing/
manually.
First we have to eix-sync
.
This is basic operation for ebuild repository.
It is enough for preview.
We are done.
Mirror
Mirror can be configured in etc/portage/make.conf
.
Install
Select
Configuration
Test
Now we have new Mirror
Hold Package
Portage hold package using package.mask configuration.
Example
Consider app-text/docbook-xml-dtd
as our guinea pig example.
Before Mask
This is the result before mask.
- Latest version available: 4.5-r1
Configuration
Limit version to: 4.1.2-r6
Consider have a look at comparation below.
After Mask
This is the result after mask.
- Latest version available: 4.1.2-r6
Conclusion
The fact that this article only takes three parts,
compared to other four-parts article,
show my lack of knowledge.
I just feel that I’m not afraid to use emerge.
Portage is not scary at all.
Thank you for reading