If I wanted to install iplist this is how I would do it:
1. Open a Terminal window as root.
2. Create the directory /usr/local/portage/net-misc/iplist/
3. Surf over to
Gentoo Bugzilla Report No. 256001 and save the text file iplist-9999.ebuild (it's in the Filename column) in the directory you just created.
4. Using your favourite text editor, open /etc/make.conf and add the following three lines to the end of the file:
- Code: Select all
# Following line added by <your name> in order to install local ebuilds:
PORTDIR_OVERLAY=/usr/local/portage
# Comment the above line out when not emerging local ebuilds, as it may interfere with emerging packages from Portage.
5. If you're not already in it, cd into /usr/local/portage/net-misc/iplist/ and type the following commands, just to make sure your Portage tree is all up to date first:
- Code: Select all
emerge --sync
emerge portage
layman -S
6. Now create a manifest for the ebuild:
- Code: Select all
ebuild /usr/local/portage/net-misc/iplist/iplist-9999.ebuild manifest
This should create the directory /usr/local/portage/net-misc/iplist/files/ and the file /usr/local/portage/net-misc/iplist/Manifest
If the directory /usr/local/portage/net-misc/iplist/files/ is not created then create it manually.
7. Now surf over to
Gentoo Bugzilla Report No. 256001 again and save the file makefile.patch (it's in the Filename column) in directory /usr/local/portage/net-misc/iplist/files/
8. Re-create the manifest:
- Code: Select all
ebuild /usr/local/portage/net-misc/iplist/iplist-9999.ebuild manifest
9. Now you can go ahead and emerge the package:
- Code: Select all
emerge -1v iplist
(That's a one, short for "oneshot", not a lowercase L, so as to stop the package being listed in your world file.)
10. Finally, don't forget to comment out the PORTDIR_OVERLAY=/usr/local/portage line in /etc/make.conf (by adding a "#" symbol to the beginning of the line) until you need to build another package using your local overlay.
If you want to request that a package be added to the Entropy repository so that you can install it using the equo command or via the Spritz GUI, then you should make a request using the method explained in
Requesting Packages for Entropy - New Policy