Difference between pages "Hostname" and "Package:Gentoolkit"

(Difference between pages)
(Configuration)
 
m
 
Line 1: Line 1:
w.i.p
+
{{Ebuild
==Introduction==
+
|Summary=Collection of administration scripts for funtoo
A hostname is a unique name created to identify a machine on a network. In computer networking, a hostname  is a label that is assigned to a device connected to a computer network and that is used to identify the device in various forms of electronic communication such as the World Wide Web, e-mail or Usenet. Hostnames may be simple names consisting of a single word or phrase, or they may be structured.
+
|CatPkg=app-portage/gentoolkit
==Configuration==
+
}}
In Funtoo Linux, <code>/etc/conf.d/hostname</code> is the master configuration file for setting a hostname. In OpenRC framework <code>/etc/conf.d/foo</code> is the configuration file for a corresponding Init script <code>/etc/init.d/foo</code>.  With the case of hostname, default value is set to ''localhost'', means when system boots and OpenRC's <code>/etc/init.d/hostname</code> script started a hostname getting only ''localhost'' name. How it looks?  In your shell promt this will look in following way, an example for root:
+
{{PageNeedsUpdates}}
<console>
+
Gentoolkit is a collection of tools used by Gentoo Linux to administer and develop the Portage package management system. The tools are managed and installed by Portage itself; on a Funtoo Linux system one can install gentoolkit by issuing the following command:
localhost ~ # ##i## Hello :)
+
<console>###i## emerge gentoolkit</console>
 +
 
 +
The tools are split into two related packages: gentoolkit and gentoolkit-dev. As with the rest of Portage they are written in Python.  
 +
 
 +
Gentoolkit provides:
 +
* eclean
 +
* enalyze
 +
* equery
 +
* eread
 +
* euse
 +
* glsa-check
 +
* revdep-rebuild
 +
 
 +
== equery ==
 +
Equery is a tool that displays  information about the installed packages on the system. equery is based on a system of modules, , running it with out arguments displays a list of options
 +
 
 +
<console>###i## equery</console>
 +
 
 +
=== equery b ===
 +
Running equery with the b flag is useful to determine which package a file comes from.
 +
 
 +
<console>###i## equery b /usr/lib/libpam.so
 +
* Searching for /usr/lib/libpam.so ...
 +
sys-libs/pam-1.1.8-r2 (/usr/lib64/libpam.so)
 
</console>
 
</console>
Let's play a bit with a configuration. Open <code>/etc/conf.d/hostname</code> with your favorite editor and set a hostname of your choice.  Below, I will use a real examples of my working test box.
+
 
<console>
+
=== equery f ===
localhost ~ # ##i## nano /etc/conf.d/hostname
+
Running equery with the f flag is useful to show all installed files from a package.
 +
 
 +
<console>###i## equery f domination
 +
* Searching for domination ...
 +
* Contents of games-board/domination-1.1.1.5:
 +
/usr
 +
/usr/games
 +
/usr/games/bin
 +
/usr/games/bin/domination
 +
...
 
</console>
 
</console>
Let's set it to hostname="oleg-stable.host.funtoo.org". Save the file and restart  a hostname service:
+
 
<console>
+
== glsa-check ==
localhost ~ # ##i## service hostname restart
+
Glsa-check shows what potential vulnerabilities your system has.
</console>
+
 
Now, let's examine our changes, after a restarting a hostname
+
<console>###i## glsa-check -l
<console>
+
[A] means this GLSA was marked as applied (injected),
oleg-stable ~ # ##i## Hello :)
+
[U] means the system is not affected and
 +
[N] indicates that the system might be affected.
 +
 
 +
201310-15 [N] GNU Automake: Multiple vulnerabilities ( sys-devel/automake )
 
</console>
 
</console>
 +
 +
=gentoolkit-dev=
 +
This package contains Portage development tools.
 +
 +
* eviewcvs - Generates ViewCVS URLs.
 +
* gensync - Synchronize local Portage tree against an arbitrary upstream repository.
 +
* ekeyword - Change/update keywords in a set of ebuilds.
 +
* ebump - Bump the revision number of an ebuild and all support files.
 +
* echangelog - Automatically create ebuild changelog entries.
 +
{{EbuildFooter}}

Revision as of 12:33, March 3, 2015

app-portage/gentoolkit


Source Repository:Repository:Progress Overlay


Summary: Collection of administration scripts for funtoo


News

Drobbins

Perl Updates

Gentoo has bumped perl from 5.20 to 5.22. Be sure to run perl-cleaner --all after the upgrade.
2015-07-25 by Drobbins
Drobbins

ARM Rebuild

ARM systems will use new stage3's that are not compatible with earlier versions.
2015-06-27 by Drobbins
Drobbins

ABI X86 64 and 32

Funtoo Linux has new 32-bit compatibility libraries inherited from Gentoo. Learn about them here.
2015-06-18 by Drobbins
More...

Gentoolkit

Tip

We welcome improvements to this page. To edit this page, Create a Funtoo account. Then log in and then click here to edit this page. See our editing guidelines to becoming a wiki-editing pro.

Gentoolkit is a collection of tools used by Gentoo Linux to administer and develop the Portage package management system. The tools are managed and installed by Portage itself; on a Funtoo Linux system one can install gentoolkit by issuing the following command:

# emerge gentoolkit

The tools are split into two related packages: gentoolkit and gentoolkit-dev. As with the rest of Portage they are written in Python.

Gentoolkit provides:

  • eclean
  • enalyze
  • equery
  • eread
  • euse
  • glsa-check
  • revdep-rebuild

equery

Equery is a tool that displays information about the installed packages on the system. equery is based on a system of modules, , running it with out arguments displays a list of options

# equery

equery b

Running equery with the b flag is useful to determine which package a file comes from.

# equery b /usr/lib/libpam.so
 * Searching for /usr/lib/libpam.so ... 
sys-libs/pam-1.1.8-r2 (/usr/lib64/libpam.so)

equery f

Running equery with the f flag is useful to show all installed files from a package.

# equery f domination
 * Searching for domination ...
 * Contents of games-board/domination-1.1.1.5:
/usr
/usr/games
/usr/games/bin
/usr/games/bin/domination
...

glsa-check

Glsa-check shows what potential vulnerabilities your system has.

# glsa-check -l
[A] means this GLSA was marked as applied (injected),
[U] means the system is not affected and
[N] indicates that the system might be affected.

201310-15 [N] GNU Automake: Multiple vulnerabilities ( sys-devel/automake )

gentoolkit-dev

This package contains Portage development tools.

  • eviewcvs - Generates ViewCVS URLs.
  • gensync - Synchronize local Portage tree against an arbitrary upstream repository.
  • ekeyword - Change/update keywords in a set of ebuilds.
  • ebump - Bump the revision number of an ebuild and all support files.
  • echangelog - Automatically create ebuild changelog entries.