From Funtoo
Revision as of 22:50, October 7, 2013 by BlackNoxis (talk)
Jump to: navigation, search

Entropy Package Management in Gentoo

Entropy Package Manager is written by Fabio Erculliani from Sabayon GNU/Linux as an extension to Portage in order to professionally install binary package same as in other binary-based distros. The package manager syncronises itself automatically with Portage once you installed entropy binary packages, but instead Portage must be syncronised with Entropy in order for Entropy to know what packages you have emerged. Fully written in python, it is a stable application with many binary-oriented features and options, including a complete set of repository creation and entropy server features fully based on Portage ebuild packaging. Henceforth, developers must ( there is no other way ) emerge packages in order to create entropy packages, the procedure will be detailed in this tutorial.

Instructions of creating your own Entropy Repository

First of all, you must have package named entropy-server instaled. It contains a /etc/entropy/server.conf that itself contains the next, most important lines of the configuration:

 community-mode = enable < if you wish to cope with more than 1 repository in one system

 community-mode = disable <if you want to have a self-sustainable dependency repository 
 default-repository = yourreponame 
 #example: #=> repository = myserverrepo|My Server Repository|ftp://user:pass@ ssh://username@host:~user/path:port just an example of repo mode
 repository = yourreponame|My Server Repository|ftp://user:pass@ ssh://username@host:~user/path:port

The rest of them you don't need necessarily to bother. Of course, as in the example, you of course need either a SSH server or FTP server with upload permissions, of course. The structure of the repository should look like this:


P.S.: I considered this step as being the most important one, since everybody firstly installs the package before reading the article/tutorial on how to use :)