1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
|
<?xml version='1.0'?>
<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
<article>
<articleinfo>
<title>overlord</title>
<authorgroup>
<author>
<firstname>Gunnar</firstname>
<surname>Wrobel</surname>
<affiliation>
<address>
<email>wrobel@gentoo.org</email>
<otheraddr>
<ulink url="http://gunnarwrobel.de" />
</otheraddr>
</address>
</affiliation>
</author>
</authorgroup>
<copyright>
<year>2005-2009</year>
<holder>Gunnar Wrobel</holder>
</copyright>
</articleinfo>
<section>
<title>Overview</title>
<itemizedlist>
<listitem>
<para>
<link linkend="overlord-synopsis">Synopsis</link>
</para>
</listitem>
</itemizedlist>
<itemizedlist>
<listitem>
<para>
<link linkend="overlord-description">Description</link>
</para>
</listitem>
</itemizedlist>
<itemizedlist>
<listitem>
<para>
<link linkend="overlord-actions">Action flags</link>
</para>
</listitem>
</itemizedlist>
<itemizedlist>
<listitem>
<para>
<link linkend="overlord-other-options">Other options</link>
</para>
</listitem>
</itemizedlist>
<itemizedlist>
<listitem>
<para>
<link linkend="overlord-configuration">Configuration</link>
</para>
</listitem>
</itemizedlist>
<itemizedlist>
<listitem>
<para>
<link linkend="overlord-remote">Overlay lists</link>
</para>
</listitem>
</itemizedlist>
<itemizedlist>
<listitem>
<para>
<link linkend="overlord-local">overlord cache</link>
</para>
</listitem>
</itemizedlist>
<itemizedlist>
<listitem>
<para>
<link linkend="overlord-make-conf">Handling make.conf</link>
</para>
</listitem>
</itemizedlist>
<itemizedlist>
<listitem>
<para>
<link linkend="overlord-update">Handle overlays</link>
</para>
</listitem>
</itemizedlist>
<itemizedlist>
<listitem>
<para>
<link linkend="overlord-list">List overlays</link>
</para>
</listitem>
</itemizedlist>
<itemizedlist>
<listitem>
<para>
<link linkend="overlord-search">Searching ebuilds in overlays</link>
</para>
</listitem>
</itemizedlist>
<itemizedlist>
<listitem>
<para>
<link linkend="overlord-types">Overlay types</link>
</para>
</listitem>
</itemizedlist>
<itemizedlist>
<listitem>
<para>
<link linkend="overlord-global">Get your overlay published to the world</link>
</para>
</listitem>
</itemizedlist>
<itemizedlist>
<listitem>
<para>
<link linkend="overlord-examples">Examples</link>
</para>
</listitem>
</itemizedlist>
<itemizedlist>
<listitem>
<para>
<link linkend="overlord-files">Overlord files</link>
</para>
</listitem>
</itemizedlist>
<itemizedlist>
<listitem>
<para>
<link linkend="overlord-bugs">Reporting bugs</link>
</para>
</listitem>
</itemizedlist>
</section>
<section>
<title>External links</title>
<itemizedlist>
<listitem>
<para>
<ulink url="http://sourceforge.net/projects/layman/">overlord project page on SourceForge</ulink>
</para>
</listitem>
<listitem>
<para>
<ulink url="http://overlays.gentoo.org">Gentoo Overlays project</ulink>
</para>
</listitem>
<listitem>
<para>
<ulink url="http://ohloh.net/projects/layman/">Layman project page on Ohloh</ulink>
</para>
</listitem>
<listitem>
<para>
<ulink url="http://freshmeat.net/projects/layman/">Layman project page on Freshmeat</ulink>
</para>
</listitem>
<listitem>
<para>
<ulink url="http://bugs.gentoo.org/">Bug tracker</ulink>
</para>
</listitem>
<listitem>
<para>
<ulink url="http://gentoo-wiki.com/Portage_Overlay_Listing#Layman">Wiki</ulink>
</para>
</listitem>
<listitem>
<para>
<ulink url="http://log.onthebrink.de/feeds/posts/default/-/layman">Blog</ulink>
</para>
</listitem>
<listitem>
<para>
<ulink url="http://www.google.com/reader/public/atom/user/02645926629531261525/label/%5Bproject%5D%20layman">Combined RSS feed</ulink>
</para>
</listitem>
</itemizedlist>
</section>
<section id="overlord-reference">
<title>Reference</title>
<refentry id="overlord-manpage">
<refentryinfo>
<title>overlord</title>
<date>Febuary 2011</date>
<productname>overlord</productname>
<productnumber>0.1.0</productnumber>
<copyright>
<year>2005-2011</year>
<holder>Gunnar Wrobel, Brian dolbec</holder>
</copyright>
<legalnotice>
<para>
This is free software. You may redistribute copies of it
under the terms of the GNU General Public License v2
(http://www.gnu.org/licenses/old-licenses/gpl-2.0.html).
</para>
</legalnotice>
</refentryinfo>
<refmeta>
<refentrytitle>overlord</refentrytitle>
<manvolnum>8</manvolnum>
</refmeta>
<refnamediv>
<refname>overlord</refname>
<refpurpose>
manage your local repository of Gentoo overlays
</refpurpose>
</refnamediv>
<refsynopsisdiv id="overlord-synopsis">
<cmdsynopsis>
<command>overlord</command>
<group choice="plain">
<arg>-a</arg>
<arg>--add</arg>
</group>
<group choice="plain">
<arg>ALL</arg>
<arg><replaceable>overlay</replaceable></arg>
</group>
</cmdsynopsis>
<cmdsynopsis>
<command>overlord</command>
<group choice="plain">
<arg>-d</arg>
<arg>--delete</arg>
</group>
<group choice="plain">
<arg>ALL</arg>
<arg><replaceable>overlay</replaceable></arg>
</group>
</cmdsynopsis>
<cmdsynopsis>
<command>overlord</command>
<group choice="plain">
<arg>-s</arg>
<arg>--sync</arg>
</group>
<group choice="plain">
<arg>ALL</arg>
<arg><replaceable>overlay</replaceable></arg>
</group>
</cmdsynopsis>
<cmdsynopsis>
<command>overlord</command>
<group choice="plain">
<arg>-i</arg>
<arg>--info</arg>
</group>
<group choice="plain">
<arg>ALL</arg>
<arg><replaceable>overlay</replaceable></arg>
</group>
</cmdsynopsis>
<cmdsynopsis>
<command>overlord</command>
<group choice="plain">
<arg>-S</arg>
<arg>--sync-all</arg>
</group>
</cmdsynopsis>
<cmdsynopsis>
<command>overlord</command>
<group choice="plain">
<arg>-L</arg>
<arg>--list</arg>
</group>
</cmdsynopsis>
<cmdsynopsis>
<command>overlord</command>
<group choice="plain">
<arg>-l</arg>
<arg>--list-local</arg>
</group>
</cmdsynopsis>
<cmdsynopsis>
<command>overlord</command>
<group choice="plain">
<arg>-f</arg>
<arg>--fetch</arg>
</group>
</cmdsynopsis>
</refsynopsisdiv>
<refsection id="overlord-description">
<title>Description</title>
<para><command>overlord</command> is a script that allows you to
add, remove and update Gentoo overlays from a variety of
sources.</para>
<refsection>
<title>WARNING</title>
<para><command>overlord</command> makes it easy to retrieve and
update overlays for Gentoo. In addition it makes it TRIVIAL
to break your system.
</para>
<para>The main portage tree provides you with high quality ebuilds
that are all maintained by Gentoo developers. This will not
be the case for most of the overlays you can get by using
<command>overlord</command>. Thus you are removing the
security shield that the standard tree provides for
you. You should keep that in mind when installing ebuilds
from an overlay.
</para>
<para>To ensure the security of your system you MUST read the
source of the ebuild you are about to install.
</para>
</refsection>
</refsection>
<refsection id="overlord-options">
<title>Options</title>
<refsection id="overlord-actions">
<title>Actions</title>
<para>List of possible <command>overlord</command> actions.</para>
<variablelist>
<varlistentry>
<term><option>-f</option></term>
<term><option>--fetch</option></term>
<listitem>
<para>Fetches the remote list of overlays. You will
usually NOT need to explicitly specify this option. The
fetch operation will be performed automatically once you
run the sync, sync-all, or list action. You can prevent
this automatic fetching using the --nofetch option.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>-a</option> <replaceable>overlay</replaceable></term>
<term><option>--add</option> <replaceable>overlay</replaceable></term>
<listitem>
<para>Add the given overlay from the cached remote list to
your locally installed overlays. Specify "ALL" to add
all overlays from the remote list.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>-d</option> <replaceable>overlay</replaceable></term>
<term><option>--delete</option> <replaceable>overlay</replaceable></term>
<listitem>
<para>Remove the given overlay from your locally installed
overlays. Specify "ALL" to remove all overlays</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>-s</option> <replaceable>overlay</replaceable></term>
<term><option>--sync</option> <replaceable>overlay</replaceable></term>
<listitem>
<para>Update the specified overlay. Use "ALL" as
parameter to synchronize all overlays</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>-i</option> <replaceable>overlay</replaceable></term>
<term><option>--info</option> <replaceable>overlay</replaceable></term>
<listitem>
<para>Display all available information about the specified overlay.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>-S</option></term>
<term><option>--sync-all</option></term>
<listitem>
<para>Update all overlays. Shortcut for -s ALL.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>-L</option></term>
<term><option>--list</option></term>
<listitem>
<para>List the contents of the remote list.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>-l</option></term>
<term><option>--list-local</option></term>
<listitem>
<para>List the locally installed overlays.</para>
</listitem>
</varlistentry>
</variablelist>
</refsection>
<refsection id="overlord-other-options">
<title>Other options</title>
<para>List of other available <command>overlord</command> options.</para>
<variablelist>
<varlistentry>
<term><option>-c</option> <replaceable>path</replaceable></term>
<term><option>--config</option> <replaceable>path</replaceable></term>
<listitem>
<para>Path to an alternative configuration file.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>-o</option> <replaceable>url</replaceable></term>
<term><option>--overlays</option> <replaceable>url</replaceable></term>
<listitem>
<para>Specifies the location of additional overlay
lists. You can use this flag several times and the
specified URLs will get temporarily appended to the list
of URLs you specified in your config file. You may also
specify local file URLs by prepending the path with
<userinput>file://</userinput>. This option
will only append the URL for this specific overlord run -
edit your config file to add a URL permanently. So this
is useful for testing purposes.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>-n</option></term>
<term><option>--nofetch</option></term>
<listitem>
<para>Prevents <command>overlord</command> from
automatically fetching the remote lists of overlays. The
default behavior for <command>overlord</command> is to
update all remote lists if you run the sync, list or
fetch operation.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>-k</option></term>
<term><option>--nocheck</option></term>
<listitem>
<para>Prevents <command>overlord</command> from checking
the remote lists of overlays for complete overlay
definitions. The default behavior for overlord is to
reject overlays that do not provide a description or a
contact attribute.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>-q</option></term>
<term><option>--quiet</option></term>
<listitem>
<para>Makes <command>overlord</command> completely quiet.
In quiet mode child processes will be run with stdin closed
to avoid running into infinite and blindly interactive sessions.
Thus a child process may abort once it runs into an
situation with need for human interaction.
For example this might happen if your overlay
resides in Subversion and the SSL certificate of
the server needs manual acceptance.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>-v</option></term>
<term><option>--verbose</option></term>
<listitem>
<para>Makes <command>overlord</command> more verbose and
you will receive a description of the overlays you can
download.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>-N</option></term>
<term><option>--nocolor</option></term>
<listitem>
<para>Remove color codes from the <command>overlord</command>
output.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>-Q</option><replaceable>LEVEL</replaceable></term>
<term><option>--quietness</option><replaceable>LEVEL</replaceable></term>
<listitem>
<para>Makes <command>overlord</command> less verbose.
Choose a value between 0 and 4 with 0 being completely
quiet. Once you set this below 3, the same warning as
given for --quiet applies.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>-p</option><replaceable>LEVEL</replaceable></term>
<term><option>--priority</option><replaceable>LEVEL</replaceable></term>
<listitem>
<para>Use this option in combination with
the <command>--add</command>. It will modify the
priority of the added overlay and thus influence the
order of entries in the make.conf file. The lower the
priority, the earlier in the list the entry will be
mentioned. Use a value between 0 and 100. The default
value is 50.</para>
</listitem>
</varlistentry>
</variablelist>
</refsection>
</refsection>
<refsection id="overlord-configuration">
<title>Configuration</title>
<para><command>overlord</command> reads configuration parameters
from the file
<filename>/etc/overlord/overlord.cfg</filename> by
default. This file provides seven possible settings.</para>
<variablelist>
<varlistentry>
<term><option>storage</option></term>
<listitem>
<para>Directory that will be used to store the overlays
and all additional data <command>overlord</command>
needs. The default is
<filename>/var/lib/layman</filename>. overlord
uses a location within the /usr/portage hierarchy instead
of <filename>/var</filename> in order to
store its data. This decision has been made to support
network file systems. If you have your portage tree on nfs
or a similar file system and several machines access the
same ebuild repository over the net it will be necessary
to also provide all necessary <command>overlord</command>
data within the hierarchy of the tree. This way the
overlays will also have to be synced at one location
only.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>cache</option></term>
<listitem>
<para><command>overlord</command> will store the downloaded
global list of overlays here. The default is
<filename>%(storage)s/cache.xml</filename>.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>overlays</option></term>
<listitem>
<para><command>overlord</command> will store the list of
installed overlays here. The default is
<filename>%(storage)s/overlays.xml</filename>.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>make.conf</option></term>
<listitem>
<para>This is the portage configuration file that
<command>overlord</command> will modify in order to make
the new overlays available within portage. The default
is <filename>%(storage)s/make.conf</filename>. You could
also specify <filename>/etc/make.conf
directly</filename>. But that would mean that you have
an external program trying to automatically set
variables within this very central configuration
file. Since I consider that dangerous I prefer having a
very small external file that only contains the setting
for PORTAGE_OVERLAYS. This file is then sourced at the
end of <filename>/etc/make.conf</filename>. This is the
reason why <command>overlord</command> suggests running
"echo "source
<filename>/var/lib/layman/make.conf</filename>" >>
<filename>/etc/make.conf</filename>" after it has been
installed.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>overlays</option></term>
<listitem>
<para>Specifies the URL for the remote list of all
available overlays. The default is
<filename>http://www.gentoo.org/proj/en/overlays/repositories.xml</filename>. You
can specify several URLs here (one per line). The
contents will get merged to a single list of
overlays. This allows to add a personal collection of
overlays that are not present in the global list.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>proxy</option></term>
<listitem>
<para>Specify your proxy in case you have to use
one.</para>
</listitem>
</varlistentry>
<varlistentry>
<term><option>nocheck</option></term>
<listitem>
<para>Set to "yes" if <command>overlord</command> should stop
worrying about overlays with missing a contact address or
the description.</para>
</listitem>
</varlistentry>
</variablelist>
</refsection>
<refsection id="overlord-handling">
<title>Handling overlays</title>
<para><command>overlord</command> intends to provide easy
maintenance of Gentoo overlays while not requiring any
configuration.
</para>
<refsection id="overlord-remote">
<title>Overlay lists</title>
<para><command>overlord</command> allows you to fetch an
overlay without the need to modify any configuration
files. In order for this to be possible the script needs an
external list of possible overlay sources. There is a
centralized list available at <ulink
url="http://www.gentoo.org/proj/en/overlays/repositories.xml"/>
but nothing will prevent you from using or publishing your
own list of overlays. The location of the remote lists can
also be modified using the <option>--overlays</option>
option when running <command>overlord</command>.
</para>
<para>To get a new overlay added to the central list provided
for overlord, send a mail to
<email>overlays@gentoo.org</email>. Gentoo developers may
add their overlay entries directly into the list which can
be accessed over the CVS repository for the Gentoo
website.
</para>
<para>You can also use several lists at the same time. Just
add one URL per line to the overlays variable in your
configuration file. <command>overlord</command> will merge the
contents of all lists.
</para>
<para><command>overlord</command> also allows you to define
local files in this list. Just make sure you prepend these
path names in standard URL notation
with <filename>file://</filename>.
</para>
<para>If you need to use a proxy for access to the Internet,
you can use the corresponding variable in
the <command>overlord</command> configuration file. overlord
will also respect the <command>http_proxy</command>
environment variable in case you set it.
</para>
</refsection>
<refsection id="overlord-local">
<title>Local cache</title>
<para><command>overlord</command> stores a local copy of the
fetched remote list. It will be stored in
<filename>/var/lib/layman/cache.xml</filename>
by default. There exists only one such cache file and it
will be overwritten every time you
run <command>overlord</command>.
</para>
</refsection>
<refsection id="overlord-make-conf">
<title>Handling <filename>/etc/make.conf</filename></title>
<para>Since <command>overlord</command> is designed to
automatically handle the inclusion of overlays into your
system it needs to be able to modify
the <command>PORTDIR_OVERLAY</command> variable in your
<filename>/etc/make.conf</filename> file. But
<filename>/etc/make.conf</filename> is a very central and
essential configuration file for a Gentoo
system. Automatically modifying this file would be
somewhat dangerous. You can
allow <command>overlord</command> to do this by setting
the <command>make_conf</command> variable in the
configuration file to <filename>/etc/make.conf</filename>.
</para>
<para>A much safer and in fact recommended solution to the
problem is to let <command>overlord</command> handle an
external file that only contains
the <command>PORTDIR_OVERLAY</command> variable and is
sourced within the
standard <filename>/etc/make.conf</filename> file. Just add the following line to the end of your
<filename>/etc/make.conf</filename> file:
</para>
<para>source /var/lib/layman/make.conf</para>
<para><filename>/var/lib/layman/make.conf</filename>
is the default provided in the overlord
configuration. Change this file name in case you decide to
store it somewhere else.
</para>
<para>The file does not necessarily need to exist at the
beginning. If it is missing, overlord will create it for you.
</para>
<para>There is also no need to remove the
original <command>PORTDIR_OVERLAY</command> variable from
the make.conf file. overlord will simply add new overlays to
this variable and all your old entries will remain in there.
</para>
</refsection>
<refsection id="overlord-update">
<title>Adding, removing and updating overlays</title>
<para>Once a remote list of overlays has been fetched,
<command>overlord</command> allows to add overlays from the
remote list to your system. The script will try to fetch
the overlay. If this is successful the overlay information
will be copied from the cache to the list of locally
installed overlays. In addition
<command>overlord</command> will modify the
<command>PORTDIR_OVERLAY</command> variable to include the
new overlay path.
</para>
<para>Removing the overlay with <command>overlord</command> will
delete the overlay without leaving any traces behind.
</para>
<para>In order to update all overlays managed by
<command>overlord</command> you can run the script with the
<option>--sync ALL</option> option or
the <option>--sync-all</option> flag.
</para>
</refsection>
<refsection id="overlord-list">
<title>List overlays</title>
<para><command>overlord</command> provides the
<option>--list</option> and <option>--list-local</option>
options to print a list of available respectively
installed overlays.
</para>
<para> Listing will prepend all fully supported overlays
with a green asterisk, all non-official overlays with a
yellow asterisk and all overlays that you will not be able
to use since you do not have the necessary tools installed
with a red asterisk.
</para>
<para> In the default mode overlord will be strict about
listing overlays and only present you with overlays that
are fully supported. In addition it will complain about
overlays that are missing a description field or a contact
attribute. This type of behavior has been added with
overlord-1.0.7 and if you'd like to return to the old
behavior you may use the k option flag or set the nocheck
option in the configuration file.
</para>
</refsection>
<refsection id="overlord-search">
<title>Searching ebuilds in overlays</title>
<para>
You can search through the ebuilds available in the
overlays on <ulink url="http://overlays.gentoo.org"/> by
using "eix". Emerge the package and run
<command>update-eix-remote update</command>.
</para>
</refsection>
<refsection id="overlord-types">
<title>Overlay types</title>
<para>Currently <command>overlord</command> supports overlays that
are exported via <command>rsync</command>,
<command>subversion</command>, <command>bzr</command>,
<command>darcs</command>, <command>git</command>,
<command>mercurial</command> or provided
as <command>tar</command> packages.
</para>
</refsection>
</refsection>
<refsection id="overlord-global">
<title>Overlay lists</title>
<refsection>
<title>Overlay list format</title>
<para>
overlord uses a central list of overlays in XML format. The file looks like this:
<example>
<title>An example overlays.xml file</title>
<programlisting>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE repositories SYSTEM "/dtd/repositories.dtd">
<repositories xmlns="" version="1.0">
<repo quality="experimental" status="official">
<name>gnome</name>
<description>experimental gnome ebuilds</description>
<homepage>http://git.overlays.gentoo.org/gitweb/?p=proj/gnome.git;a=summary</homepage>
<owner type="project">
<email>gnome@gentoo.org</email>
<name>GNOME herd</name>
</owner>
<source type="git">git://git.overlays.gentoo.org/proj/gnome.git</source>
<source type="git">http://git.overlays.gentoo.org/gitroot/proj/gnome.git</source>
<source type="git">git+ssh://git@git.overlays.gentoo.org/proj/gnome.git</source>
<feed>http://git.overlays.gentoo.org/gitweb/?p=proj/gnome.git;a=atom</feed>
<feed>http://git.overlays.gentoo.org/gitweb/?p=proj/gnome.git;a=rss</feed>
</repo>
</repositories>
</programlisting>
</example>
</para>
</refsection>
<refsection>
<title>Adding an overlay locally</title>
<para>
Simply create an overlay list in the format described
above and run <command>overlord</command> with the
<option>-o</option> switch. You need to
prepend local file URLs with
<userinput>file://</userinput>.
</para>
</refsection>
<refsection>
<title>Adding an overlay globally</title>
<para>
The global list of overlays used by
<command>overlord</command> lies at
<filename>http://www.gentoo.org/proj/en/overlays/repositories.xml</filename>.
</para>
<para>
All Gentoo developers have access to this location via CVS
and can modify the list of overlays.
</para>
<para>
If you are not a Gentoo developer but wish to get your
overlay listed you should contact the Gentoo Overlays team
at <email>overlays@gentoo.org</email>. You can also join
<userinput>#gentoo-overlays</userinput> on
<filename>irc.freenode.net</filename>.
</para>
</refsection>
</refsection>
<refsection id="overlord-examples">
<title>Examples</title>
<refsection>
<title>Installing an overlay</title>
<para><userinput>overlord -f -a wrobel</userinput></para>
<para>This would add the overlay with the id
<command>wrobel</command> to your list of installed
overlays.</para>
</refsection>
<refsection>
<title>Syncing your overlays</title>
<para><userinput>overlord -s ALL</userinput></para>
<para>This updates all overlays</para>
</refsection>
<refsection>
<title>Performing several actions at the same time</title>
<para><userinput>overlord -f -a wrobel -a webapps-experimental</userinput></para>
<para>This fetches the remote list and immediately adds two
overlays</para>
</refsection>
</refsection>
<refsection id="overlord-files">
<title>Files</title>
<variablelist>
<varlistentry>
<term><filename>/etc/layman/layman.cfg</filename></term>
<listitem>
<para>Configuration file, holding the defaults for
<command>layman</command></para>
</listitem>
</varlistentry>
</variablelist>
</refsection>
<refsection id="overlord-bugs">
<title>Reporting bugs</title>
<para>
Please report bugs you might find at <ulink url="http://bugs.gentoo.org"/>
</para>
</refsection>
</refentry>
</section>
</article>
|