Difference between pages "Template:News" and "Package:Layman"

(Difference between pages)
 
m
 
Line 1: Line 1:
<noinclude>
+
{{Ebuild
Use like so:
+
|Summary=Tool to manage Gentoo overlays
 +
|CatPkg=app-portage/layman
 +
|Homepage=http://layman.sourceforge.net/
 +
}}
 +
Layman is an "overlay" external repository management tool.
  
<pre>
+
=== Installation ===
{{News
+
<console>###i## emerge layman</console>
|Summary=Test News Item
+
[[make.conf]] must source laymans overlays for emerge to pull in packages from external sources.  This line needs to be below everything else in make.conf.
|News Category=General
+
<console>###i## echo "source /var/lib/layman/make.conf" >> /etc/portage/make.conf</console>
|Author=Drobbins
+
 
|Publication Status=Draft
+
=== Using Layman ===
|Publication Date=2014/10/16
+
Fetch, and display a list of overlays:
|Icon=File:foobar.jpg
+
<console>###i## layman -L</console>
|News Format=Short (or Extended)
+
 
 +
Add an overlay to your system:
 +
<console>###i## layman -a <overlay name></console>
 +
 
 +
Delete an overlay from your system:
 +
<console>###i## layman -d <overlay name></console>
 +
 
 +
==== Masking Overlay Packages ====
 +
Overlays have the power to override distro packages.  To avoid conflicts, mask everything in the overlay, and unmask the packages that are necessary to your system.
 +
 
 +
{{file|name=/etc/portage/package.mask|lang=|desc=mask all packages in an overlay|body=
 +
*/*::overlay-name
 
}}
 
}}
</pre>
 
  
</noinclude><includeonly>
+
{{file|name=/etc/portage/package.unmask|lang=|desc=unmask packages to be used|body=
<div class="container" style="margin-top: 20px;"><div class="row"><div class="col-xs-12">
+
cat-egory/pack-age1
= {{PAGENAME}} =
+
cat-egory/pack-age2
{{#if:{{{Deprecated By|}}}|{{Important|This news item is not current. You can find more information on this topic at [[Deprecated By::News:{{{Deprecated By}}}|{{{Deprecated By}}}]].}}}}
+
}}
{{#ifeq:{{{Publication Status|}}|Draft|{{NotYetPublished}}}}{{#set:Summary={{{Summary|}}}|News Category={{{News Category|}}}|Publication Status={{{Publication Status|}}}|Icon={{{Icon|}}}|Publication Date={{{Publication Date|}}}|News Format={{{News Format}}}}}
+
 
{{#set:Author=User:{{{Author|}}}|Gravatar MD5={{#show: User:{{{Author}}} | ?Gravatar MD5}}}}
+
==== Sync ====
{{#ifeq:{{{News Format|}}}|Extended|
+
 
{{#widget:NewsInfo|body={{{Summary|}}}|user={{{Author|}}}|icon_url={{#if:{{{Icon|}}}|{{filepath:{{#sub:{{{Icon}}}|5}}|80}}|http://www.gravatar.com/avatar/{{#show: User:{{{Author}}} | ?Gravatar MD5}}/?s=80&d=retro&r=g}}|date={{#time:F j, Y|{{{Publication Date}}}}}
+
Sync a specific overlays ebuilds:
}}}}
+
<console>###i## layman -s <overlay name></console>
</div></div><div class="row"><div class="col-xs-12">
+
 
</includeonly>
+
Sync all overlays:
 +
<console>###i## layman -S</console>
 +
 
 +
Sync all overlays via eix:
 +
<console>###i## eix-sync</console>
 +
 
 +
=== Troubleshooting ===
 +
Problem:
 +
Warning: an installed db file was not found at: ['/var/lib/layman/cache***.xml']
 +
 
 +
Solution:
 +
<console>###i## layman -L</console>
 +
 
 +
{{EbuildFooter}}

Revision as of 12:00, February 3, 2015

app-portage/layman


Source Repository:Repository:Gentoo Portage Tree

http://layman.sourceforge.net/

Summary: Tool to manage Gentoo overlays

Use Flags

bazaar
Support dev-vcs/bzr based overlays
cvs
Support dev-vcs/cvs based overlays
darcs
Support dev-vcs/darcs based overlays
g-sorcery
Support app-portage/g-sorcery based overlays
git
Support dev-vcs/git based overlays
gpg
Support app-crypt/gnupg signed overlays lists and manifests
mercurial
Support dev-vcs/mercurial based overlays
squashfs
Support mounting squashfs image overlays locally read-only
subversion
Support dev-vcs/subversion based overlays
sync-plugin-portage
Install the sys-apps/portage sync module

News

Drobbins

Keychain 2.8.2 Released

Keychain 2.8.2, a maintenance and bug fix release, is now available.
2015-11-16 by Drobbins
Drobbins

Unfork Tree is Live!

The "unfork" tree is now merged into the main Funtoo Linux tree, and Funtoo Linux is now using shards for core packages, x11 (including media libraries), KDE, GNOME, python and perl.
2015-10-12 by Drobbins
Drobbins

OpenSSH 7 Disables DSA Keys By Default

Please be aware of this important change to avoid getting locked out of your Funtoo server.
2015-10-07 by Drobbins
More...

Layman

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.

Layman is an "overlay" external repository management tool.

Installation

# emerge layman

make.conf must source laymans overlays for emerge to pull in packages from external sources. This line needs to be below everything else in make.conf.

# echo "source /var/lib/layman/make.conf" >> /etc/portage/make.conf

Using Layman

Fetch, and display a list of overlays:

# layman -L

Add an overlay to your system:

# layman -a <overlay name>

Delete an overlay from your system:

# layman -d <overlay name>

Masking Overlay Packages

Overlays have the power to override distro packages. To avoid conflicts, mask everything in the overlay, and unmask the packages that are necessary to your system.

/etc/portage/package.mask - mask all packages in an overlay
*/*::overlay-name
/etc/portage/package.unmask - unmask packages to be used
cat-egory/pack-age1
cat-egory/pack-age2

Sync

Sync a specific overlays ebuilds:

# layman -s <overlay name>

Sync all overlays:

# layman -S

Sync all overlays via eix:

# eix-sync

Troubleshooting

Problem: Warning: an installed db file was not found at: ['/var/lib/layman/cache***.xml']

Solution:

# layman -L