aboutsummaryrefslogtreecommitdiff
blob: da11122f58e42517e5029e48fee021a0e571e520 (plain)
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
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2023-11-05  Ulrich Müller  <ulm@gentoo.org>

	* misc/eselect-mode.el: Doc fix.

2023-10-06  Ulrich Müller  <ulm@gentoo.org>

	* misc/eselect-mode.el (eselect-mode, eselect-mode-hook):
	Sharp-quote the function names.

	* misc/eselect-mode.el (eselect-mode-add-font-lock): New function.
	(eselect-mode-hook): Add it, instead of an anonymous function.

2023-09-13  Ulrich Müller  <ulm@gentoo.org>

	* configure.ac: Update version to 1.4.27.
	* Tagged 1.4.27 release.

2023-09-09  Ulrich Müller  <ulm@gentoo.org>

	* modules/profile.eselect (set_symlink): Selecting an experimental
	profile without --force is no longer a fatal error. Bug 913480.

2023-08-24  Ulrich Müller  <ulm@gentoo.org>

	* misc/eselect-mode.el: Enable lexical binding.

	* misc/eselect-mode.el (eselect-mode): Refer to sh-mode directly,
	instead of shell-script-mode which is its alias.

2023-08-22  Ulrich Müller  <ulm@gentoo.org>

	* doc/developer-guide.txt: Update documentation for "has".

2023-08-09  Ulrich Müller  <ulm@gentoo.org>

	* configure.ac: Update version to 1.4.26.
	* Tagged 1.4.26 release.

2023-08-07  Ulrich Müller  <ulm@gentoo.org>

	* modules/editor.eselect (EDITOR_LIST):
	* modules/visual.eselect (EDITOR_LIST): Add vim; drop ed, ex, vi
	and xemacs. Bug 911792.

2023-07-08  Ulrich Müller  <ulm@gentoo.org>

	* bin/eselect.in (PATH): Avoid subshell.

2023-06-12  Ulrich Müller  <ulm@gentoo.org>

	* configure.ac: Update version to 1.4.25.
	* Tagged 1.4.25 release.

	* modules/env.eselect (is_envfile): Make detection of text file
	more robust. Bug 908401.

	* misc/eselect-mode.el (eselect-mode): Drop XEmacs compatibility
	code.

	* misc/eselect-mode.el (eselect, eselect-mode-fix-whitespace)
	(eselect-mode-update-copyright): New custom group and variables.
	(eselect-mode-copyright-regexp): New variable.
	(eselect-mode-update-copyright): New function, mostly copied from
	ebuild-mode-update-copyright in ebuild-mode.el.
	(eselect-mode-before-save): Make fixing of whitespace conditional.
	Update copyright years when customised to do so.

2023-06-07  Ulrich Müller  <ulm@gentoo.org>

	* bin/eselect.in (PATH): Use printf instead of echo.

	* configure.ac: Update version to 1.4.24.
	* Tagged 1.4.24 release.

	* bin/eselect.in (PATH): Don't append a spurious newline.

2023-06-06  Ulrich Müller  <ulm@gentoo.org>

	* configure.ac: Update version to 1.4.23.
	* Tagged 1.4.23 release.

2023-06-05  Ulrich Müller  <ulm@gentoo.org>

	* bin/eselect.in (PATH): Sanitise, remove Portage's internal
	ebuild-helpers dir from it.

	* bin/eselect.in (EPREFIX): Quote argument of ":" command.
	This avoids globbing, see: https://www.shellcheck.net/wiki/SC2223
	Add some more quotes throughout.

2023-06-04  Ulrich Müller  <ulm@gentoo.org>

	* doc/developer-guide.txt: Add subsection about module testing.
	Thanks to torsi@fi.uba.ar for the suggestion. Bug 907844.

2023-05-11  Ulrich Müller  <ulm@gentoo.org>

	* bin/eselect.in: Update shebang to use EPREFIX. Bug 905934.
	* bin/Makefile.am (dosed): Don't substitute BASH.
	* libs/package-manager.bash.in (env_update): Don't use an absolute
	path for env-update.
	* libs/Makefile.am (dosed): Don't substitute ENV_UPDATE.
	* configure.ac: Drop checks for bash and env-update paths.

	* libs/Makefile.am (dosed): Don't substitute PORTAGEQ, it no
	longer exists in configure.

2023-03-20  Ulrich Müller  <ulm@gentoo.org>

	* configure.ac: Update version to 1.4.22.
	* Tagged 1.4.22 release.

2023-03-16  Ulrich Müller  <ulm@gentoo.org>

	* bin/eselect.in (trap): Don't output a message, because die()
	is verbose enough. Thanks to Florian Schmaus for the suggestion.

2023-03-14  Florian Schmaus  <flow@gentoo.org>

	* modules/kernel.eselect (do_update, describe_update)
	(describe_update_options): New action, attempts to update the
	/usr/src/linux symlink to point to the sources of the running
	kernel. Bug 901209.
	* man/kernel.eselect.5: Document it.

	* libs/core.bash.in (find_module): Allow to specify an absolute
	path as the module's filename, bug 901205.

2023-02-28  Ulrich Müller  <ulm@gentoo.org>

	* bin/eselect.in: Disable colours if NO_COLOR is nonempty.

2023-02-27  Ulrich Müller  <ulm@gentoo.org>

	* configure.ac: Update version to 1.4.21.
	* Tagged 1.4.21 release.

	* misc/eselect.bashcomp (_eselect): Add --eprefix and --root
	options.

2023-02-26  Ulrich Müller  <ulm@gentoo.org>

	* bin/eselect.in: New global option --eprefix.
	(es_do_help): Document it.
	* doc/user-guide.txt:
	* man/eselect.1: Document the --eprefix option.

2023-02-26  James Le Cuirot  <chewi@gentoo.org>

	* bin/eselect.in: Allow EPREFIX to be overridden for manipulating
	prefixed ROOT.

2022-05-01  Ulrich Müller  <ulm@gentoo.org>

	* misc/eselect-mode.el (eselect-mode): For GNU Emacs, use
	write-contents-functions instead of obsolete write-contents-hooks.
	(eselect-mode-before-save): Call delete-trailing-whitespace which
	exists in XEmacs 21.5.
	(eselect-mode-make-keywords-list): Remove function.
	(eselect-mode-font-lock-keywords): Inline its code. \< \> around
	a regexp can be obtained via the paren option of regexp-opt.

2022-01-08  Ulrich Müller  <ulm@gentoo.org>

	* configure.ac: Update version to 1.4.20.
	* Tagged 1.4.20 release.

	* bin/eselect.in: Error out if --root has no option argument.

	* configure.ac: Update version to 1.4.19.
	* Tagged 1.4.19 release.

	* bin/eselect.in: New global option --root.
	(es_do_help): Document it.
	* doc/user-guide.txt:
	* man/eselect.1: Document the --root option.

2022-01-07  Ulrich Müller  <ulm@gentoo.org>

	* modules/profile.eselect (set_symlink): Don't call canonicalise
	with an empty argument, bug 830707.

2021-12-28  Ulrich Müller  <ulm@gentoo.org>

	* configure.ac: Update version to 1.4.18.
	* Tagged 1.4.18 release.

2021-10-24  Ulrich Müller  <ulm@gentoo.org>

	* modules/visual.eselect (EDITOR_LIST): Don't use absolute paths.

2021-08-24  Ulrich Müller  <ulm@gentoo.org>

	* libs/package-manager.bash.in (arch): Recognise loongarch*/loong.

2021-02-17  Ulrich Müller  <ulm@gentoo.org>

	* modules/news.eselect (do_list): Recognise "new" and "all"
	options, bug 771075.
	(describe_list_options): New function.

2020-12-18  Ulrich Müller  <ulm@gentoo.org>

	* configure.ac (REALPATH, READLINK): Prefer realpath to readlink,
	because the former is included with Coreutils since version 8.15.

2020-12-16  Ulrich Müller  <ulm@gentoo.org>

	* configure.ac: Update version to 1.4.17.
	* Tagged 1.4.17 release.

2020-04-23  Ulrich Müller  <ulm@gentoo.org>

	* modules/rc.eselect (is_script): Test whether the script is a
	regular file, bug 718920.

2019-11-28  Ulrich Müller  <ulm@gentoo.org>

	* configure.ac: Update version to 1.4.16.
	* Tagged 1.4.16 release.

	* README: Documentation is now dual-licensed under GPL-2+ or
	CC-BY-SA-4.0. Update URI of GPL-2 license text.

	* modules/rc.eselect (show_script_status): Quote strings to
	prevent globbing, bug 701382.

2019-09-04  Ulrich Müller  <ulm@gentoo.org>

	* configure.ac: Update version to 1.4.15.
	* Tagged 1.4.15 release.

	* autogen.bash (WANT_AUTOCONF, WANT_AUTOMAKE): Update versions.

2019-09-02  Ulrich Müller  <ulm@gentoo.org>

	* libs/editor-variable.bash.in (find_in_path): New function, looks
	up its first argument in EDITOR_PATH, and tests if it exists.
	(find_targets, do_set): Use it.
	* modules/pager.eselect (EDITOR_LIST):
	* modules/editor.eselect (EDITOR_LIST): Don't use absolute paths.
	* man/editor.eselect.5:
	* man/pager.eselect.5: Update.

2019-05-26  Ulrich Müller  <ulm@gentoo.org>

	* modules/news.eselect (do_read, do_unread): Allow specification
	of item by its number or name.
	(describe_read_options, describe_unread_options): Document it.

2019-02-17  Ulrich Müller  <ulm@gentoo.org>

	* configure.ac: Update version to 1.4.14.
	* Tagged 1.4.14 release.

2019-02-13  Ulrich Müller  <ulm@gentoo.org>

	* libs/output.bash.in (colours): Display warning messages in
	yellow, in order to distinguish from errors which are red.

2018-12-22  Ulrich Müller  <ulm@gentoo.org>

	* modules/profile.eselect (set_symlink): Warn about deprecated
	profiles, bug 673568.

2018-08-07  Ulrich Müller  <ulm@gentoo.org>

	* man/profile.eselect.5: Update examples, bug 662996.

2018-05-29  Ulrich Müller  <ulm@gentoo.org>

	* configure.ac: Update version to 1.4.13.
	* Tagged 1.4.13 release.

	* doc/developer-guide.txt: Replace the term "dep atom" by
	"package dependency specification".

	* libs/multilib.bash.in (get_libdir): New function.
	* doc/developer-guide.txt: Describe it.
	* libs/Makefile.am (dosed): Substitute @libdir@.
	* misc/eselect-mode.el (eselect-mode-keywords-multilib):
	Add get_libdir.

2018-01-24  Ulrich Müller  <ulm@gentoo.org>

	* configure.ac: Update version to 1.4.12.
	* Tagged 1.4.12 release.

	* modules/rc.eselect (show_script_status): Add /lib64/rc/bin
	to PATH as well, workaround for bug 645240 until OpenRC is fixed.

2018-01-23  Ulrich Müller  <ulm@gentoo.org>

	* libs/package-manager.bash.in (arch): Restore sparc64 which was
	lost in a previous update. Sync with arch.list in the gentoo repo.

2018-01-09  Ulrich Müller  <ulm@gentoo.org>

	* configure.ac: Update version to 1.4.11.
	* Tagged 1.4.11 release.

	* modules/profile.eselect (set_symlink): Require --force option
	when selecting an experimental profile.

2018-01-08  Ulrich Müller  <ulm@gentoo.org>

	* modules/profile.eselect (find_targets): Add a fourth field for
	the profiles' status to the output.
	(set_symlink): Account for the change in find_targets.
	(do_list): Also show the profiles' status, but only in non-brief
	output mode. Bug 643864.

2017-12-25  Ulrich Müller  <ulm@gentoo.org>

	* configure.ac: Update version to 1.4.10.
	* Tagged 1.4.10 release.

	* modules/news.eselect (do_list): Check for valid news item format.

	* libs/core.bash.in (eval): Make it fatal again, after more than
	one year of transition time.

2017-10-14  Ulrich Müller  <ulm@gentoo.org>

	* man/news.eselect.5: Update URI of GLEP 42.

2017-06-18  Ulrich Müller  <ulm@gentoo.org>

	* libs/package-manager.bash.in (arch): Map nios2 to nios2 (as it
	is called in profiles/arch.list) rather than nios.

2017-05-22  Ulrich Müller  <ulm@gentoo.org>

	* modules/profile.eselect (set_symlink): Fix regex, bug 614008.

2017-05-06  Ulrich Müller  <ulm@gentoo.org>

	* modules/kernel.eselect (do_set): Don't remove the old symlink
	before we know that we have a valid new target, bug 640386.
	Simplify.
	(set_symlink): Check if the new link target is valid, then remove
	any old symlink, then set the new one.
	(remove_symlink): Use rm -f.

	* modules/kernel.eselect (set_symlink):
	* modules/profile.eselect (set_symlink): Check range of number,
	bug 617572. Thanks to Takuto Yoshida <otakuto.gentoo@gmail.com>.

2017-03-22  Ulrich Müller  <ulm@gentoo.org>

	* configure.ac: Update version to 1.4.9.
	* Tagged 1.4.9 release.

2017-03-21  Mike Frysinger  <vapier@gentoo.org>

	* libs/package-manager.bash.in (arch): Fill out arch matches
	a bit more.

2016-12-10  Ulrich Müller  <ulm@gentoo.org>

	* configure.ac: Update version to 1.4.8.
	* Tagged 1.4.8 release.

2016-12-04  Ulrich Müller  <ulm@gentoo.org>

	* libs/package-manager.bash.in (get_repositories)
	(get_repo_news_dir): Fix pinspect calls, bug 304011.

	* modules/news.eselect (find_items, find_repo_dir): Check return
	status of package manager calls, bug 601506.

2016-10-31  Ulrich Müller  <ulm@gentoo.org>

	* libs/core.bash.in (eval): Disable eval again, because the
	workaround for the rc module (sourcing functions.sh) is no longer
	needed. See also 2005-05-15 change by ciaranm.

2016-10-30  Ulrich Müller  <ulm@gentoo.org>

	* configure.ac: Update version to 1.4.7.
	* Tagged 1.4.7 release.

	* libs/config.bash.in (store_config): Ignore comment lines in
	config files and make parsing more robust, bug 598480.

2016-06-17  Ulrich Müller  <ulm@gentoo.org>

	* configure.ac: Update version to 1.4.6.
	* Tagged 1.4.6 release.

2016-06-16  Ulrich Müller  <ulm@gentoo.org>

	* modules/pager.eselect (EDITOR_LIST): Prefer less to more.
	* man/pager.eselect.5: Update.

2016-06-01  Ulrich Müller  <ulm@gentoo.org>

	* configure.ac: Make testing for git repository more robust.

	* configure.ac: Where possible, use AC_CHECK_PROGS instead of
	AC_PATH_PROGS, in order to avoid absolute paths, bug 122260.
	* libs/core.bash.in (sed):
	* libs/package-manager.bash.in (portageq): Invoke commands with
	"command" so that they will work without a path.

2016-01-27  Ulrich Müller  <ulm@gentoo.org>

	* bin/eselect.in: Set umask +rx, bug 572348.

2015-08-26  Ulrich Müller  <ulm@gentoo.org>

	* doc/developer-guide.txt:
	* doc/user-guide.txt:
	* doc/release-guide.txt: Use sentence case in headings.

2015-08-22  Ulrich Müller  <ulm@gentoo.org>

	* configure.ac (EXTRAVERSION): Fix detection of git revision
	for out-of-tree builds.

2015-08-13  Ulrich Müller  <ulm@gentoo.org>

	* configure.ac: Update version to 1.4.5.
	* Tagged 1.4.5 release.

	* autogen.bash: Update for aclocal 1.15 and automake-1.15.

	* modules/binutils.eselect:
	* man/binutils.eselect.5: Module removed. This has been converted
	to a wrapper and moved to the binutils-config package, bug 507870.
	* modules/Makefile.am (modules_DATA):
	* man/Makefile.am (man_MANS): Update accordingly.

2015-01-24  Ulrich Müller  <ulm@gentoo.org>

	* configure.ac: Update version to 1.4.4.
	* Tagged 1.4.4 release.

	* README: Documentation is now licensed under GPL-2+ or
	CC-BY-SA-3.0 (was CC-BY-SA-2.5 before).

2015-01-18  Ulrich Müller  <ulm@gentoo.org>

	* modules/rc.eselect (is_script): Don't call external programs.
	Test if script is executable, with a shebang in its first line.

	* configure.ac (EXTRAVERSION): Use "git describe --long".

2015-01-17  Ulrich Müller  <ulm@gentoo.org>

	* modules/rc.eselect: Be compatible with new OpenRC, bug 536822.
	(is_script): Test for "openrc-run" or "runscript" in shebang line.
	(run_runscript): Omit the interpreter when executing the script.

2014-09-01  Ulrich Müller  <ulm@gentoo.org>

	* configure.ac: Update version to 1.4.3.
	* Tagged 1.4.3 release.

2014-08-28  Ulrich Müller  <ulm@gentoo.org>

	* modules/kernel.eselect (find_targets): Changed heuristic for
	recognising kernel source trees: Check for both Makefile and
	Kconfig being present, but don't require digits in the directory
	name any more. Bug 516754.

	* libs/core.bash.in (inherit):
	* libs/tests.bash.in (has):
	* modules/config.eselect (generic_handle_one_file, accept_handler)
	(merge_handler, display_handler):
	* modules/news.eselect (find_items, do_list, do_read, do_unread):
	* modules/rc.eselect (run_runscript, do_show): Remove redundant $@
	in "for" loops throughout.

2014-06-05  Ulrich Müller  <ulm@gentoo.org>

	* misc/eselect.bashcomp (_eselect): Improve handling of options
	that are followed by an equals sign.

	* bin/eselect.in: Parse global options even if we are invoked
	as something-config or similar. Respect "--" to indicate end
	of options.

2014-05-24  Ulrich Müller  <ulm@gentoo.org>

	* configure.ac: Update version to 1.4.2.
	* Tagged 1.4.2 release.

	* modules/profile.eselect (get_repos): Fix bash 4.3 breakage,
	bug 511132.

2014-05-20  Ulrich Müller  <ulm@gentoo.org>

	* bin/Makefile.am (dosed):
	* libs/Makefile.am (dosed):
	* man/Makefile.am (dosed): Use "%" instead of "," as delimiter.

	* configure.ac: Replace "git rev-parse" by "git describe", now
	that git-r3.eclass supports it (bug 489100).

2014-03-20  Ulrich Müller  <ulm@gentoo.org>

	* doc/user-guide.txt: Mention the "unset" action also here.
	Remove redundant "Usage" heading.

	* doc/developer-guide.txt: Remove duplicate heading, because
	rst2html --report=info complains about it.
	Reorder the standard action names to be congruent with the
	user guide.

	* Makefile.am (%.html): Strip comments from html output, in order
	to suppress wrong mode information in Emacs local variables.

2014-03-14  Ulrich Müller  <ulm@gentoo.org>

	* libs/output.bash.in (write_kv_list_entry): Don't output spurious
	trailing whitespace if value is an empty string.

2014-02-25  Ulrich Müller  <ulm@gentoo.org>

	* modules/news.eselect (accepted_languages): Suppress "C"
	and "POSIX" in output. Support <language>_<territory>.

2014-02-18  Ulrich Müller  <ulm@gentoo.org>

	* man/news.eselect.5: Update URI of GLEP 42.

2014-02-15  Ulrich Müller  <ulm@gentoo.org>

	* configure.ac: Update version to 1.4.1.
	* Tagged 1.4.1 release.

2014-02-09  Ulrich Müller  <ulm@gentoo.org>

	* modules/rc.eselect (get_runlevel): Call "rc-status -r" directly,
	in order to avoid sourcing functions.sh, bug 373219.
	Remove baselayout-1 compatibility code.
	(source_rc_functions): Remove function.
	(do_show): Don't call source_rc_functions.
	(show_script_status): Set proper PATH to service_* commands.

2014-01-19  Ulrich Müller  <ulm@gentoo.org>

	* libs/package-manager.bash.in (arch): Recognise aarch64*/arm64.

2013-12-07  Ulrich Müller  <ulm@gentoo.org>

	* configure.ac: Update version to 1.4.
	* Tagged 1.4 release.

2013-11-19  Ulrich Müller  <ulm@gentoo.org>

	* libs/default.eselect.in (do_help): Don't reset output mode.

2013-11-15  Ulrich Müller  <ulm@gentoo.org>

	* libs/output.bash.in (write_kv_list_entry): Suppress wrapping
	of lines in brief output mode, in order to make automatic parsing
	easier. Bug 490882.

	* modules/modules.eselect (do_list): New local option --only-names
	will output names of modules only, without their description.
	This replaces the previous brief output mode behaviour and is
	mainly intended for bash completion.
	(describe_list_options): New function, documents --only-names.
	* bin/eselect.in (es_do_help): Don't force default output mode.
	* misc/eselect.bashcomp (_eselect): Call "eselect modules list"
	with --only-names option.

	* misc/eselect.bashcomp (_eselect): Suggest possible completions
	also for an empty list of words, i.e. when the user has not typed
	any parameters yet.

2013-11-14  Michael Marineau  <mike@marineau.org>

	* modules/profile.eselect (set_symlink): Silence profile symlink
	warning when using --force, bug 491216.

2013-11-10  Ulrich Müller  <ulm@gentoo.org>

	* libs/output.bash.in (space): Implement more efficiently.

2013-10-27  Ulrich Müller  <ulm@gentoo.org>

	* autogen.bash: Update for aclocal 1.14.

2013-10-25  Ulrich Müller  <ulm@gentoo.org>

	* libs/output.bash.in (colours): Accept an argument and handle
	both enabling and disabling of colour output.
	(nocolours): Remove function.
	* bin/eselect.in: Call 'colours' with appropriate argument.

2013-10-22  Ulrich Müller  <ulm@gentoo.org>

	* bin/eselect.in (es_do_list_options, es_do_list_modules):
	Remove deprecated functions.
	(es_do_help): Move code for listing options and modules to here.

2013-10-21  Ulrich Müller  <ulm@gentoo.org>

	* bin/eselect.in: Remove legacy --no-colour option.
	Option --colour=no or --colour=never should be used instead.

	* bin/eselect.in (es_find_module): Move function to core library.
	* libs/core.bash.in (find_module): Rename and simplify.

2013-09-18  Ulrich Müller  <ulm@gentoo.org>

	* misc/eselect-mode.el (eselect-mode-keywords-package-manager):
	Add env_update.

2013-08-28  Ulrich Müller  <ulm@gentoo.org>

	* configure.ac: Update version to 1.3.8.
	* Tagged 1.3.8 release.

	* autogen.bash: Update for autoconf 2.69 and automake 1.14.

2013-08-24  Ulrich Müller  <ulm@gentoo.org>

	* man/Makefile.am (install-symlink-%): Use relative symlinks.

	* modules/rc.eselect (source_rc_functions): Drop baselayout-1
	compatibility code.

2013-08-08  Ulrich Müller  <ulm@gentoo.org>

	* configure.ac: Check whether we are building from git;
	include git revision in EXTRAVERSION if we do.
	* bin/Makefile.am (dosed): Append EXTRAVERSION to VERSION.

2013-08-06  Ulrich Müller  <ulm@gentoo.org>

	* libs/config.bash.in (store_config):
	* libs/default.eselect.in (show_usage_message):
	* libs/editor-variable.bash.in (do_set):
	* libs/output.bash.in (write_kv_list_entry):
	* modules/env.eselect (create_profile_env, create_prelink_conf):
	* modules/news.eselect (do_list, do_read):
	Declare IFS as local variable.

2013-08-05  Ulrich Müller  <ulm@gentoo.org>

	* man/bashcomp.eselect.5: Remove stale man page.
	* man/Makefile.am (man_MANS): Remove bashcomp.eselect.5 from list.

2013-07-16  Ulrich Müller  <ulm@gentoo.org>

	* configure.ac: Update version to 1.3.7.
	* Tagged 1.3.7 release.

	* modules/bashcomp.eselect: Remove, bug 476992.
	* modules/Makefile.am (modules_DATA): Remove bashcomp.eselect.
	* Makefile.am (symlinks): Don't install bashcomp-config symlink.

2013-07-14  Ulrich Müller  <ulm@gentoo.org>

	* modules/kernel.eselect (find_targets, set_symlink, do_show):
	Consider target trees as valid only if they contain a Makefile,
	bug 460328. Thanks to C.J. Wijtmans <cj.wijtmans@gmail.com>.

2013-07-11  Ulrich Müller  <ulm@gentoo.org>

	* doc/user-guide.txt:
	* doc/developer-guide.txt:
	* doc/release-guide.txt: These files are now dual-licensed under
	GPL-2+ or CC-BY-SA-2.5. Permission from authors Ciaran McCreesh,
	Danny van Dyk, and Shyam Mani received per e-mail on 2013-07-10.
	* README: Add notice about dual-licensing of documentation.

2013-07-09  Ulrich Müller  <ulm@gentoo.org>

	* doc/developer-guide.txt:
	* libs/skel.bash.in: Move skel.bash documentation to the library
	itself.

	* doc/developer-guide.txt: Update description of the "arch"
	function.

2013-07-07  Ulrich Müller  <ulm@gentoo.org>

	* libs/editor-variable.bash.in (do_set):
	* modules/locale.eselect (do_set): Don't return bad status when
	ROOT is nontrivial, bug 473308. Thanks to <smkbot@gmail.com>.

2013-07-06  Ulrich Müller  <ulm@gentoo.org>

	* configure.ac: Update version to 1.3.6.
	* Tagged 1.3.6 release.

	* bin/eselect.in: Save stderr only in bash 4.1 or later, where
	automatically assigned file descriptors are available. Using a
	fixed descriptor makes bash crash on Darwin, bug 475284.
	* libs/core.bash.in (die): Test for saved file descriptor.

2013-07-04  Ulrich Müller  <ulm@gentoo.org>

	* misc/eselect-mode.el: New file, editing mode for Emacs,
	split off from app-emacs/gentoo-syntax.
	* misc/Makefile.am (EXTRA_DIST): Add eselect-mode.el.

2013-06-22  Ulrich Müller  <ulm@gentoo.org>

	* configure.ac: Update version to 1.3.5.
	* Tagged 1.3.5 release.

2013-06-17  Ulrich Müller  <ulm@gentoo.org>

	* libs/package-manager.bash.in (arch): Workaround for incorrect
	definition of ARCH in prefix/linux profiles, bug 473542.

2013-04-06  Ulrich Müller  <ulm@gentoo.org>

	* doc/developer-guide.txt: Document the "unset" action; it is used
	by several external modules.

2013-02-22  Ulrich Müller  <ulm@gentoo.org>

	* modules/profile.eselect (get_symlink_location):
	Create profile symlink below PORTAGE_CONFIGROOT, bug 453006.

2013-01-13  Ulrich Müller  <ulm@gentoo.org>

	* bin/eselect.in (ESELECT_STDERR): Save stderr file descriptor.
	* libs/core.bash.in (die): Restore stderr, otherwise there would
	be no output if die was called while stderr is redirected.
	Fixes bug 451150. Thanks to Michał Górny <mgorny@gentoo.org>.

2013-01-06  Ulrich Müller  <ulm@gentoo.org>

	* configure.ac: Update version to 1.3.4.
	* Tagged 1.3.4 release.

2013-01-05  Ulrich Müller  <ulm@gentoo.org>

	* libs/package-manager.bash.in (arch): Complete rewrite of the
	fallback code if there is no make.profile symlink. It now relies
	on bash variables HOSTTYPE and OSTYPE which are derived from the
	standard GNU triplet. The previous implementation had used uname
	which would query the kernel, while we need the userland. This
	fixes a problem on ppc with 64 bit kernel and 32 bit userland.
	Thanks to Brent Baude <ranger@gentoo.org> and Raúl Porcel
	<armin76@gentoo.org> for the suggestion.

2012-12-06  Ulrich Müller  <ulm@gentoo.org>

	* modules/profile.eselect (get_repos, get_repo_path): Use EROOT
	to make it work in Prefix, fixes bug 444620. Thanks to Greg Turner
	<gmturner007@ameritech.net> for bug report and patch.

2012-10-21  Ulrich Müller  <ulm@gentoo.org>

	* configure.ac: Update version to 1.3.3.
	* Tagged 1.3.3 release.

2012-10-13  Ulrich Müller  <ulm@gentoo.org>

	* autogen.bash: Update to automake 1.12. This gets rid of the
	"scan_file() called too early to check prototype" error that
	occured with aclocal-1.11.

	* configure.ac (SED): Replace broken ES_PROG_GNU_SED code by
	a straightforward check for gsed or sed, bug 438112.
	(READLINK, REALPATH): Simplify logic and add output messages.
	(RST2HTML): Simplify.
	* acinclude.m4: File removed.

2012-10-11  Ulrich Müller  <ulm@gentoo.org>

	* libs/package-manager.bash.in (arch): Add amd64 as case label.
	* modules/profile.eselect (set_symlink): Include underscore and
	hyphen in regexp, because both are allowed in keyword names,
	bug 437986. Thanks to Yuta Satoh <nigoro.gentoo@0x100.com>.

2012-09-15  Ulrich Müller  <ulm@gentoo.org>

	* libs/editor-variable.bash.in (do_set):
	* modules/locale.eselect (do_set): Output message only if ROOT
	is /, and prefix /etc/profile with EROOT, bug 429960.

	* bin/eselect.in (EROOT): Remove trailing slash from ROOT only
	if EPREFIX is set. This guarantees that EROOT is equal to ROOT
	for empty EPREFIX.

2012-09-13  Ulrich Müller  <ulm@gentoo.org>

	* configure.ac: Update version to 1.3.2.
	* Tagged 1.3.2 release.

	* bin/eselect.in (EROOT): Remove any trailing slash from ROOT
	before appending EPREFIX.

2012-09-12  Ulrich Müller  <ulm@gentoo.org>

	* modules/profile.eselect (get_symlink_location): When both
	/etc/make.profile and /etc/portage/make.profile exist, prefer the
	latter. This follows the change of the default location in Portage
	and in stages.

2012-08-19  Ulrich Müller  <ulm@gentoo.org>

	* modules/binutils.eselect (switch_profile): Fix typo in
	data path, bug 431898.

2012-06-27  Ulrich Müller  <ulm@gentoo.org>

	* modules/binutils.eselect (find_targets): Properly quote
	variables to prevent false globbing, bug 423525.

2012-03-07  Ulrich Müller  <ulm@gentoo.org>

	* doc/release-guide.txt: Update to reflect the transition from
	subversion to git.

	* doc/developer-guide.txt: Remove subversion keywords and don't
	use svn_date_to_version function in example module.

2012-02-18  Ulrich Müller  <ulm@gentoo.org>

	* modules/modules.eselect (DESCRIPTION, MAINTAINER): Move behind
	inherit command and update description.

	* libs/default.eselect.in (do_version): Show version of eselect;
	show version of the module if it is available.
	(VERSION): Set default version to empty string.
	* modules/bashcomp.eselect (VERSION):
	* modules/binutils.eselect (VERSION):
	* modules/config.eselect (VERSION):
	* modules/cow.eselect (VERSION):
	* modules/editor.eselect (VERSION):
	* modules/env.eselect (VERSION):
	* modules/kernel.eselect (VERSION):
	* modules/locale.eselect (VERSION):
	* modules/modules.eselect (VERSION):
	* modules/news.eselect (VERSION):
	* modules/pager.eselect (VERSION):
	* modules/profile.eselect (VERSION):
	* modules/rc.eselect (VERSION):
	* modules/visual.eselect (VERSION): Don't assign an extra version
	for modules that are part of eselect proper.

2012-02-12  Ulrich Müller  <ulm@gentoo.org>

	* configure.ac: Update version to 1.3.1.
	* Tagged 1.3.1 release.

	* modules/profile.eselect (get_repos): Fix regular expression
	for overlays, bug 403215. Thanks to Sergei Trofimovich
	<slyfox@gentoo.org>.

2012-02-02  Ulrich Müller  <ulm@gentoo.org>

	* libs/multilib.bash.in (ES_VALID_MULTILIB_DIRS): Add libx32.
	(list_libdirs): Scan filesystem for available libdirs, instead of
	parsing /etc/ld.so.conf, bug 401843.

2012-01-21  Ulrich Müller  <ulm@gentoo.org>

	* doc/user-guide.txt: Document --brief and --colour options.
	Don't mention deprecated --no-colour option any more.

	* Makefile.am (AUTOMAKE_OPTIONS): Replace dist-bzip2 by dist-xz.
	* doc/release-guide.txt: Update.

	* configure.ac: Update version to 1.3.
	* Tagged 1.3 release.

2011-12-09  Zac Medico  <zmedico@gentoo.org>

	* libs/package-manager.bash.in (best_version, has_version)
	(get_repositories, get_repo_news_dir): portageq uses EROOT,
	bug 394187. This fixes "eselect news" for compatibility with
	>=sys-apps/portage-2.2.01.19833 (prefix branch), as well as
	mainline portage when installed in a prefix.

2011-10-29  Ulrich Müller  <ulm@gentoo.org>

	* bin/eselect.in: New option --colour=<yes|no|auto>, similar to
	the same option in emerge and ls commands. Spelling --color is
	recognised too.
	(es_do_list_options): Update accordingly.
	(ESELECT_OPTIONS): Remove unused global variable.
	* man/eselect.1: Document the --colour option.
	* misc/eselect.bashcomp (_eselect): Update.

2011-10-27  Ulrich Müller  <ulm@gentoo.org>

	* modules/news.eselect (do_list): Display read/unread flags as one
	char only, in order to save some space. Show repository name in
	front of title. Bug 388233.
	* man/news.eselect.5: Update accordingly.

2011-09-25  Ulrich Müller  <ulm@gentoo.org>

	* modules/editor.eselect (EDITOR_LIST):
	* modules/visual.eselect (EDITOR_LIST): Remove zile, bug 384451.

	* configure.ac: Remove --enable-dodgy-modules configure option.
	* modules/Makefile.am: Simplify.

2011-09-18  Ulrich Müller  <ulm@gentoo.org>

	* libs/default.eselect.in (show_usage_message): Don't set IFS when
	calling describe_*_options. Fixes bug 382693.

2011-08-28  Ulrich Müller  <ulm@gentoo.org>

	* modules/profile.eselect (find_targets, set_symlink, do_show)
	(do_list): Support profiles in overlays, bug 265264. Thanks to
	<mishanq@gmail.com> and <lashzcore@gmail.com> for sending patches.
	(get_repos, get_repo_path): New functions.

	* modules/bashcomp.eselect: Code cleaned up.
	(find_targets): Simplified.
	(do_enable): Don't search for completion files in current working
	directory, bug 363481. Create a relative symlink.

	* doc/developer-guide.txt: Replace the example by a simplified
	version of the kernel module. Mention ROOT, EPREFIX, and EROOT
	variables, bug 380731.

	* modules/kernel.eselect: Clean up coding style.

2011-07-07  Ulrich Müller  <ulm@gentoo.org>

	* configure.ac: Update version to 1.2.16.
	* Tagged 1.2.16 release.

2011-06-29  Ulrich Müller  <ulm@gentoo.org>

	* modules/env.eselect (update_ldcache): Call ldconfig only for
	Linux/GNU and BSD systems.

2011-06-29  Michał Górny  <mgorny@gentoo.org>

	* modules/env.eselect (update_ldcache): Call ldconfig with '-X' to
	not update symlinks, bug 373343.

2011-06-25  Brian Harring  <ferringb@gentoo.org>

	* libs/package-manager.bash.in (package_manager, envvar)
	(best_version, has_version, get_repositories, get_repo_news_dir)
	(env_update): Add pkgcore support, bug 304011.

2011-05-02  Ulrich Müller  <ulm@gentoo.org>

	* bin/Makefile.am (install-symlink-%): Make relative symlinks.
	Thanks to Fabian Groffen.

2011-03-15  Ulrich Müller  <ulm@gentoo.org>

	* configure.ac: Update version to 1.2.15.
	* Tagged 1.2.15 release.

2011-03-13  Ulrich Müller  <ulm@gentoo.org>

	* modules/profile.eselect: Support make.profile in both the /etc
	and the /etc/portage directory.
	(DESCRIPTION): Don't mention explicit path.
	(get_symlink_location): New function, sets MAKE_PROFILE variable.
	(do_show, do_set): Call get_symlink_location.
	(remove_symlink, set_symlink, do_show, do_set): Use MAKE_PROFILE
	instead of hardcoded path.

2011-03-10  Ulrich Müller  <ulm@gentoo.org>

	* modules/news.eselect (read_item): Don't precede news item dir
	with ${ROOT}, fixes bug 358185.

	* doc/developer-guide.txt: Contributed modules should have a
	standard header. Eselect is distributed under GPL v2 or later.

2011-01-14  Ulrich Müller  <ulm@gentoo.org>

	* configure.ac: Update version to 1.2.14.
	* Tagged 1.2.14 release.

	* modules/locale.eselect (LOCALE_ENVFILE): Rename file to agree
	with documentation in <http://www.gentoo.org/doc/en/utf-8.xml>.

2011-01-13  Ulrich Müller  <ulm@gentoo.org>

	* autogen.bash:
	* configure.ac: Update for automake 1.11 and autoconf 2.68.

	* modules/locale.eselect: New module, manages the LANG variable.
	Contributed by Matsuu Takuto <matsuu@gentoo.org> in bug 351363.
	* modules/Makefile.am (safe_scripts): Add the new file.

	* modules/news.eselect (NEWS_DIR, find_items, write_item_list):
	Prefix NEWS_DIR with EROOT instead of separate EPREFIX and ROOT.

2010-11-27  Ulrich Müller  <ulm@gentoo.org>

	* configure.ac: Update version to 1.2.13.
	* Tagged 1.2.13 release.

2010-11-26  Ulrich Müller  <ulm@gentoo.org>

	* libs/package-manager.bash.in (package_manager, run_paludis)
	(envvar, best_version, has_version, get_repositories)
	(get_repo_news_dir): Use cave rather than paludis. Patch from
	Ciaran McCreesh <ciaran.mccreesh@googlemail.com> in bug 346837.

2010-11-21  Ulrich Müller  <ulm@gentoo.org>

	* configure.ac: Update version to 1.2.12.
	* Tagged 1.2.12 release.

2010-11-11  Ulrich Müller  <ulm@gentoo.org>

	* modules/news.eselect (find_items): Sort items by their name,
	i.e. effectively by date. Bug 344655.
	(do_read): Don't exit the loop if the first read item is met.
	* man/news.eselect.5: Update.

	* modules/news.eselect (find_items, write_item_list): Add missing
	local variable declaration.

2010-08-26  Ulrich Müller  <ulm@gentoo.org>

	* misc/eselect.bashcomp: Fix typo in local variables definition.

2010-07-27  Ulrich Müller  <ulm@gentoo.org>

	* configure.ac: Update version to 1.2.11.
	* Tagged 1.2.11 release.

2010-03-21  Ulrich Müller  <ulm@gentoo.org>

	* modules/news.eselect (do_read): Add --quiet (synonym --silent)
	option to suppress output.
	(describe_read_options): Update.
	* man/news.eselect.5: Document --quiet option.

2010-03-11  Ulrich Müller  <ulm@gentoo.org>

	* modules/editor.eselect (EDITOR_LIST):
	* modules/visual.eselect (EDITOR_LIST): Remove pico.

2010-02-05  Ulrich Müller  <ulm@gentoo.org>

	* configure.ac: Update version to 1.2.10.
	* Tagged 1.2.10 release.

2010-01-30  Ulrich Müller  <ulm@gentoo.org>

	* configure.ac: Test for env-update program.
	* libs/Makefile.am (dosed): Substitute ENV_UPDATE.
	* libs/package-manager.bash.in (env-update): New function.
	* modules/env.eselect (do_update): Call env_update, bug 298742.

	* configure.ac: Remove --with-pm configure option.
	* libs/Makefile.am (dosed): Don't substitute PACKAGE_MANAGER.
	* libs/package-manager.bash.in (package_manager): Don't hardcode
	a default, use environment variable at run time only.

2009-12-31  Ulrich Müller  <ulm@gentoo.org>

	* configure.ac: Update version to 1.2.9.
	* Tagged 1.2.9 release.

2009-12-29  Ulrich Müller  <ulm@gentoo.org>

	* modules/env.eselect (do_update): Remove the "makelinks" option.
	The logic of this was always wrong, and mtime caching breaks with
	recent glibc versions. Bug 298742.
	(need_links, LDMTIMEDB): Function and variable removed.
	(describe_update_parameters, describe_update_options): Update.

	* modules/env.eselect (PATH_CLASS): Fix a typo, ADA_OBJECT_PATH
	should be ADA_OBJECTS_PATH.

2009-12-28  Ulrich Müller  <ulm@gentoo.org>

	* modules/env.eselect (create_profile_env): Exclude LDPATH from
	profile.env, fixes bug 298789.
	(is_envfile, update_envvar_classes, create_profile_env)
	(create_ld_so_conf, create_prelink_conf, need_links)
	(update_ldcache, do_update): Fix quoting and other modifications
	to make it whitespace safe, bug 298742.

2009-12-04  Ulrich Müller  <ulm@gentoo.org>

	* Makefile.am (MAINTAINERCLEANFILES): Remove config dir, since
	only simple files are allowed here.
	(maintainer-clean-local): Add rule for cleaning of config dir.

	* configure.ac: AC_OUTPUT with arguments is obsolete, use
	AC_CONFIG files instead.

	* libs/package-manager.bash.in (envvar, best_version, has_version)
	(get_repositories, get_repo_news_dir): Error checking was
	redundant, because package_manager cannot return unknown values.

2009-11-20  Ulrich Müller  <ulm@gentoo.org>

	* configure.ac: Update version to 1.2.8.
	* Tagged 1.2.8 release.

2009-11-15  Ulrich Müller  <ulm@gentoo.org>

	* libs/skel.bash.in (do_add): Respect EPREFIX also when called
	from within an ebuild environment. Patch from Fabian Groffen
	<grobian@gentoo.org> in bug 293317.

2009-11-13  Ulrich Müller  <ulm@gentoo.org>

	* configure.ac: Update version to 1.2.7.
	* Tagged 1.2.7 release.

	* libs/multilib.bash.in (list_libdirs): Handle ROOT properly,
	fixes bug 289095.

2009-11-05  Ulrich Müller  <ulm@gentoo.org>

	* configure.ac: Update version to 1.2.6.
	* Tagged 1.2.6 release.

	* bin/eselect.in (es_do_list_options): Mention "--brief" option.

	* libs/output.bash.in (is_output_mode): New function.
	(write_list_start, write_numbered_list_entry, write_numbered_list)
	(highlight_marker): Use it.
	* libs/editor-variable.bash.in (do_list):
	* modules/news.eselect (do_list, do_read):
	* modules/modules.eselect (do_list): Use it.
	* doc/developer-guide.txt: Document is_output_mode function.

2009-11-04  Ulrich Müller  <ulm@gentoo.org>

	* configure.ac: Update version to 1.2.5.
	* Tagged 1.2.5 release.

2009-10-11  Ulrich Müller  <ulm@gentoo.org>

	* libs/core.bash.in (eval): Don't redefine the eval builtin,
	because it is needed in the rc module. Fixes bug 224507.
	* modules/rc.eselect (do_show): Remove workaround for eval.
	* README: Update style notes.

	* bin/eselect.in (es_do_list_options, es_do_list_modules):
	Renamed from es_do_list-* to prevent invalid identifier errors in
	POSIX mode, bug 280191. Substitute underscore for hyphen in call.
	(es_do_help): Fix call for es_do_list_*.

	* modules/news.eselect (do_read): Suppress "no news" message in
	brief output mode, bug 288527.

2009-10-08  Ulrich Müller  <ulm@gentoo.org>

	* configure.ac: Update version to 1.2.4.
	* Tagged 1.2.4 release.

	* modules/profile.eselect (set_symlink): Output a warning message
	if the target of the symlink is outside of EROOT. Suggested by
	Jeremy Olexa <darkside@gentoo.org>.

	* modules/news.eselect (do_read): Improve handling of removed news
	items: Display only a warning message instead of an error if an
	item's file doesn't exist.
	(do_list): Take default date from item name. Assume that the item
	has been removed if we cannot read its header.
	(mail_header): Really remove leading zeros from numeric month.

2009-10-05  Ulrich Müller  <ulm@gentoo.org>

	* libs/path-manipulation.bash.in (relative_name): New function.
	* doc/developer-guide.txt: Document it.
	* modules/profile.eselect (do_show): Use EROOT instead of ROOT.
	(set_symlink): Use relative_name(). Fixes bug 287730.

2009-09-20  Ulrich Müller  <ulm@gentoo.org>

	* configure.ac: Update version to 1.2.3.
	* Tagged 1.2.3 release.

	* libs/package-manager.bash.in (arch): Add case patterns for
	recognition of arm, hppa, m68k, ppc64, s390, and sh. Patch by
	Raúl Porcel <armin76@gentoo.org> in bug 285762.

	* doc/developer-guide.txt:
	* doc/release-guide.txt:
	* doc/user-guide.txt: Update documentation for eselect 1.2.
	Add a "local variables" block for Emacs. Reformat.
	* doc/overview.txt: Remove, because it is redundant with
	user-guide.txt (see also ChangeLog entry of 2005-06-13).
	* doc/Makefile.am (doc_files): Remove overview from list.

	* configure.ac: Update version to 1.2.2.
	* Tagged 1.2.2 release.

2009-09-18  Ulrich Müller  <ulm@gentoo.org>

	* libs/output.bash.in (write_numbered_list): New -m option.
	It is used to specify a negative report message that is output for
	an empty list.
	* doc/developer-guide.txt: Document it.
	* modules/bashcomp.eselect (do_list):
	* modules/kernel.eselect (do_list): Call write_numbered_list with
	option -m, which simplifies the code.

	* modules/modules.eselect (do_list): Add support for brief output
	mode. For reasons of speed, don't source any modules in this case.
	* libs/default.eselect.in (do_usage): Don't reset output mode.
	* misc/eselect.bashcomp (_eselect): If called with one parameter,
	call "eselect --brief modules list" which should be much faster.
	* bin/eselect.in: Don't accept parameters for built-in actions,
	otherwise completion for "eselect help" won't work properly.

2009-09-17  Ulrich Müller  <ulm@gentoo.org>

	* libs/manip.bash.in (svn_date_to_version): Remove both hyphens
	and slashes from the date string, so that the function works for
	CVS date strings too.

	* libs/package-manager.bash.in (get_news_dir_name):
	Remove deprecated and undocumented function.

2009-09-08  Ulrich Müller  <ulm@gentoo.org>

	* configure.ac: Update version to 1.2.1.
	* Tagged 1.2.1 release.

	* modules/env.eselect (create_profile_env): Ignore leading
	"export" in env files, fixes bug 283932. Accept only valid shell
	identifiers as variable names.

2009-08-27  Ulrich Müller  <ulm@gentoo.org>

	* configure.ac: Update version to 1.2.
	* Tagged 1.2 release.

2009-08-22  Ulrich Müller  <ulm@gentoo.org>

	* bin/eselect.in (ESELECT_KNOWN_OPTIONS): Remove variable, as
	there is a case statement for all possible options anyway.

	* modules/news.eselect (do_list): Output read/unread tag first.

2009-08-19  Ulrich Müller  <ulm@gentoo.org>

	* configure.ac: Update version to 1.2_rc1.
	* Tagged 1.2_rc1 release candidate.

	* bin/eselect.in (ESELECT_KNOWN_OPTIONS): Add --brief option,
	which will enable shorter output. Bug 154511.
	(es_do_help): Reset output mode to default.
	* libs/output.bash.in (set_output_mode): New function.
	(write_list_start): Suppress all output in "brief" output mode.
	(write_numbered_list_entry): Suppress numbers in "brief" mode.
	(highlight_marker): Suppress marker in "brief" mode.
	* libs/default.eselect.in (do_usage, do_help): Reset output mode
	to default.
	* libs/editor-variable.bash.in (do_list):
	* modules/bashcomp.eselect (do_list):
	* modules/kernel.eselect (do_list):
	* modules/news.eselect (do_list): Suppress "none found" messages
	in brief output mode.
	* man/eselect.1: Document the --brief option.

2009-08-18  Ulrich Müller  <ulm@gentoo.org>

	* libs/output.bash.in (write_kv_list_entry): Fix indentation of
	second column in output. Simplify the code.
	(write_numbered_list_entry): Remove unused local declaration.
	(space): Declare n as local variable.
	(highlight, highlight_warning, highlight_marker): Use plain echo
	instead of "echo -e".
	(write_list_start, write_kv_list_entry)
	(write_numbered_list_entry): Don't change colours on restore if
	called with the -p option.
	(apply_text_highlights): Restore NORMAL_COLOUR if called with an
	empty first argument.

2009-08-15  Ulrich Müller  <ulm@gentoo.org>

	* modules/news.eselect: Renamed from news-tng.eselect.
	* modules/Makefile.am (safe_scripts): Update.
	* man/news.eselect.5: Renamed from news-tng.eselect.5 and updated.
	* man/Makefile.am (man_MANS): Update.

	* configure.ac: Add support for Gentoo Alt/Prefix, define EPREFIX.
	* bin/Makefile.am (dosed): Substitute EPREFIX variable.
	* bin/eselect.in (EPREFIX, EROOT): New variables.
	* libs/editor-variable.bash.in (find_targets, read_env_value)
	(write_env_value, do_set):
	* libs/multilib.bash.in (list_libdirs):
	* libs/skel.bash.in (find_implems, is_active, switch_implem)
	(iface_do_show, do_list, do_show, do_add):
	* modules/bashcomp.eselect (find_targets, is_enabled, do_enable)
	(do_disable):
	* modules/binutils.eselect (BINUTILS_ENVFILE, find_targets)
	(find_versions, is_active, is_valid, switch_profile, do_list)
	(do_set, do_show):
	* modules/env.eselect (ENVPROFILE, LDCONFIG, PRELINK, LDMTIMEDB)
	(update_envvar_classes, create_profile_env, create_ld_so_conf)
	(create_prelink_conf, do_update):
	* modules/kernel.eselect (find_targets, remove_symlink)
	(set_symlink, do_show, do_list, do_set):
	* modules/news-tng.eselect (NEWS_DIR):
	* modules/profile.eselect (remove_symlink, set_symlink, do_show)
	(do_list, do_set):
	* modules/rc.eselect (source_rc_functions, list_runlevels)
	(find_unused_scripts, rc_runscript, do_add, do_delete, do_list)
	(do_show): Honour EPREFIX and EROOT. Partially based on patch from
	Fabian Groffen <grobian@gentoo.org> in bug 274760.

	* libs/Makefile.am (dosed):
	* libs/skel.bash.in (find_implems, is_active, switch_implem)
	(iface_do_show, do_add, do_list, do_show): Revert changes of
	2009-05-15, as they would collide with proper Prefix support.

2009-08-13  Ulrich Müller  <ulm@gentoo.org>

	* libs/editor-variable.bash.in (do_list):
	* libs/skel.bash.in (iface_do_list):
	* modules/bashcomp.eselect (do_list):
	* modules/binutils.eselect (do_list):
	* modules/kernel.eselect (do_list):
	* modules/profile.eselect (do_list): Call highlight_marker
	function for the active list entry.

	* libs/output.bash.in (highlight_marker): New utility function,
	mark a list entry as active/selected.
	* doc/developer-guide.txt: Document it.

	* libs/path-manipulation.bash.in (basename, dirname): Implement
	functions in a POSIX compliant way. Fixes bug 280598.

2009-08-10  Ulrich Müller  <ulm@gentoo.org>

	* modules/news-tng.eselect (do_list): Align columns in output.

2009-08-08  Ulrich Müller  <ulm@gentoo.org>

	* modules/bashcomp.eselect (do_enable): Create global directory
	with proper permissions. Fixes bug 279662.
	(describe_enable_options, describe_disable_options): List --global
	option before parameter. Fixes bug 279664.

2009-07-03  Ulrich Müller  <ulm@gentoo.org>

	* modules/news-tng.eselect (do_list, do_read): Ignore all
	whitespace after the colon in header lines.

2009-06-27  Ulrich Müller  <ulm@gentoo.org>

	* configure.ac: Update version to 1.1.2.
	* Tagged 1.1.2 release.

2009-06-20  Ulrich Müller  <ulm@gentoo.org>

	* modules/news-tng.eselect (do_read): Support mbox output format.
	(day_of_week, rfc2047_encode, mail_header): New functions.
	(describe_read_options): Add the new --mbox option.
	* man/news-tng.eselect.5: Update man page.

2009-06-07  Ulrich Müller  <ulm@gentoo.org>

	* libs/editor-variable.bash.in (do_set): Output a message
	reminding the user to source /etc/profile.
	* man/editor.eselect.5, man/visual.eselect.5, man/pager.eselect.5:
	Update man pages accordingly.

2009-06-06  Ulrich Müller  <ulm@gentoo.org>

	* configure.ac: Update version to 1.1.1.
	* Tagged 1.1.1 release.

	* modules/kernel.eselect (sort_kernel_versions): New function.
	(find_targets): Sort kernel versions properly. Fixes bug 207889.

2009-06-05  Ulrich Müller  <ulm@gentoo.org>

	* modules/rc.eselect (is_script): Symlinks are implicitly
	resolved, so no need to canonicalise.
	(do_start, do_stop, do_pause, do_reload, do_restart)
	(run_runscript): Move output message to calling functions.
	(do_list): Output colours also if only one runlevel is shown.
	(find_unused_scripts, show_script_status): New functions.
	(do_show): Add "--unused" option to show status of scripts that
	are not assigned to any runlevel; bug 271208.
	(describe_show_options): Document new option.
	* man/rc.eselect.5: Document new option for "show" action.

2009-06-04  Ulrich Müller  <ulm@gentoo.org>

	* libs/package-manager.bash.in (package_manager): Test if selected
	package manager exists, and fall back to Portage if not. Rename
	variable ESELECT_PACKAGE_MANAGER to more generic PACKAGE_MANAGER.

	* libs/editor-variable.bash.in (EDITOR_LIST); Allow alternative
	"name:/path/to/binary" syntax for items.
	(find_targets, do_list, do_set, do_update): Update accordingly.

2009-05-27  Ulrich Müller  <ulm@gentoo.org>

	* configure.ac: Update version to 1.1.
	* Tagged 1.1 release.

	* man/rc.eselect.5: Fix formatting for "show" action.

	* libs/default.eselect.in (do_usage): Show usage message only:
	our output may be parsed, e.g. by the bash-completion module.

2009-05-23  Ulrich Müller  <ulm@gentoo.org>

	* libs/package-manager.bash.in (package_manager): Avoid hyphen in
	function identifier.

	* misc/eselect.bashcomp (_eselect): Remove --no-colour option;
	it is not needed since output is to a pipe. Use only POSIX basic
	regular expressions for sed. Add completion for "set", "enable",
	and "disable" subactions.

2009-05-21  Ulrich Müller  <ulm@gentoo.org>

	* configure.ac: Update version to 1.1_rc3.
	* Tagged 1.1_rc3 release candidate.

2009-05-19  Ulrich Müller  <ulm@gentoo.org>

	* modules/news-tng.eselect (do_read): Output a message if there
	are no news items to read.

	* bin/eselect.in: Don't hardcode /bin/bash; use configured path
	instead, as requested by Fabian Groffen <grobian@gentoo.org>.
	* bin/Makefile.am (dosed): Also substitute BASH. Use at signs
	throughout, instead of percent signs.
	* libs/config.bash.in, libs/core.bash.in, libs/default.eselect.in:
	* libs/editor-variable.bash.in, libs/manip.bash.in:
	* libs/multilib.bash.in, libs/output.bash.in:
	* libs/package-manager.bash.in, libs/path-manipulation.bash.in:
	* libs/tests.bash.in: Remove unnecessary shebang lines.
	* libs/Makefile.am (eselectlibs_DATA): Don't set executable bit
	for installed libs; therefore rename eselectlibs_SCRIPTS.
	(CLEANFILES): Update accordingly.

	* configure.ac: Update version to 1.1_rc2.
	* Tagged 1.1_rc2 release candidate.

	* libs/package-manager.bash.in (run_paludis): Renamed from paludis
	to prevent infinite loop. Fixes bug 270406.
	(envvar, best_version, has_version, get_repositories)
	(get_repo_news_dir): Use run_paludis instead of paludis.

	* README: Use consistent indentation for all source files.

2009-05-18  Ulrich Müller  <ulm@gentoo.org>

	* configure.ac: Update version to 1.1_rc1.
	* Tagged 1.1_rc1 release candidate.

2009-05-16  Ulrich Müller  <ulm@gentoo.org>

	* modules/kernel.eselect: Fix quoting, simplify syntax for array
	arguments, declare local variables, and other stylistic tweaks.

2009-05-15  Ulrich Müller  <ulm@gentoo.org>

	* libs/package-manager.bash.in (envvar, best_version, has_version)
	(get_repositories, get_repo_news_dir): Directly call package
	manager commands with their arguments; no need to hide them in an
	extra layer of trivial functions.
	(get_news_dir_name): Deprecate, since it provides no additional
	functionality. Use get_repo_news_dir instead.
	(portageq): Function moved here from portage.bash.in.
	(paludis): New function, paludis wrapper with redirected stderr.
	(inherit): Don't inherit portage and paludis libs.
	* libs/paludis.bash.in, libs/portage.bash.in: Remove, after having
	verified that these libraries are not used by any module: neither
	internal nor in external app-admin/eselect-* packages.
	* libs/Makefile.am (eselectlibs_SCRIPTS, EXTRA_DIST): Update.

	* libs/Makefile.am (dosed): Also substitute prefix, datadir and
	sysconfdir.

	* libs/skel.bash.in (find_implems, is_active, switch_implem)
	(iface_do_show, do_add): Use @sysconfdir@ instead of /etc.
	(do_list, do_show): Use @prefix@ instead of /usr.
	(inherit): The portage lib is not used, so don't inherit it.

	* libs/package-manager.bash.in (arch): Add case patterns for
	ppc-macos. Taken from patch in Prefix overlay.

2009-05-05  Ulrich Müller  <ulm@gentoo.org>

	* modules/news-tng.eselect (do_list): Display fallback values if
	title or date of a news item are not available.
	(do_read): Display an error message if the return status of
	read_item was bad.

	* modules/editor.eselect:
	* modules/visual.eselect (EDITOR_LIST): Add some alternatives.

	* libs/output.bash.in (init_columns): New function, determine
	width of terminal and set COLUMNS variable.
	(get_column_width): Remove.
	(write_kv_list_entry): Get screen width from COLUMNS variable.
	* bin/eselect.in: Call init_columns during initialisation.
	This way, stty must be called only once, and not for each row when
	outputting a table.

2009-05-01  Ulrich Müller  <ulm@gentoo.org>

	* doc/developer-guide.txt: Update documentation.

2009-04-30  Ulrich Müller  <ulm@gentoo.org>

	* modules/news-tng.eselect (find_items): Use space-separated list
	for "repos", instead of an array.
	(do_read): Also show "Translator" header lines.

	* modules/mailer.eselect:
	* man/mailer.eselect.5: The mailer module is no longer supported
	by MTA packages and therefore not functional, see bug 220473.
	Remove the module and its man page.
	* modules/Makefile.am (safe_scripts):
	* man/Makefile.am (man_MANS): Update Makefiles accordingly.

2009-04-28  Ulrich Müller  <ulm@gentoo.org>

	* modules/mailer.eselect (do_list): Highlight selected target,
	patch by Karl Hakimian <t4y68ds02@sneakemail.com> in 220473.

	* configure.ac: Fix test for greadlink.

	* configure.ac: Add --with-pm option for configuring the preferred
	package manager. Supply a default path for portageq.
	* libs/Makefile.am (dosed): Substitute PACKAGE_MANAGER.
	* libs/package-manager.bash.in (package-manager): Return package
	manager chosen at configure time. Overriding is possible by
	environment variable ESELECT_PACKAGE_MANAGER.

2009-04-27  Ulrich Müller  <ulm@gentoo.org>

	* libs/package-manager.bash.in (get_repositories): In the Portage
	case, use "portageq get_repos".
	(get_repo_news_dir): Use "portageq get_repo_path".
	(best_version): Default to / if ROOT is empty, otherwise portageq
	doesn't work. Actually use Portage's and Paludis's "best_version"
	commands, not "has_version". Rename to agree with the ebuild
	helper; this shouldn't be a problem since the function was not
	working before.
	(has_version): Default to / if ROOT is empty. Remove redundant
	return statements.

	* libs/portage.bash.in (portageq): Expand "$@" not $*.
	(portage_get_repo_name, portage_get_repository): No longer needed.

2009-04-25  Ulrich Müller  <ulm@gentoo.org>

	* man/binutils.eselect.5:
	* man/mailer.eselect.5:
	* man/profile.eselect.5: Use man macros.

	* modules/news-tng.eselect: Yet another module for reading GLEP 42
	news items. Rewritten from scratch.
	* man/news-tng.eselect.5: New man page.
	* modules/Makefile.am (safe_scripts):
	* man/Makefile.am (man_MANS): Update.

	* libs/package-manager.bash.in (get_repo_news_dir): New function.
	(get_news_dir_name): Call get_repo_news_dir.

	* libs/Makefile.am (dosed): Remove Paludis substitution, it is
	unused since the change of 2008-01-28.

2009-04-23  Ulrich Müller  <ulm@gentoo.org>

	* libs/package-manager.bash.in (package-manager):
	Rename ESELECT_PACKAGE_MANAGER_CACHE to ESELECT_PACKAGE_MANAGER
	and don't export it. Prefer Portage over Paludis.

	* libs/output.bash.in (get_column_width): Default to a width of
	80 characters, not 79.

	* modules/modules.eselect (do_list): Assign the name of the module
	to ESELECT_MODULE_NAME, bug 220116.

	* modules/env.eselect (describe_update_parameters):
	Add "noldconfig" parameter.

	* man/eselect.1: Update, "list-modules" is now "modules list".

	* man/rc.eselect.5: Document latest changes in "show" action.

	* man/eselect.1:
	* man/bashcomp.eselect.5:
	* man/env.eselect.5:
	* man/kernel.eselect.5:
	* man/rc.eselect.5: Fix usage of bold and italic text. Fix title.
	Use man macros instead of low-level roff formatting.

2009-04-21  Ulrich Müller  <ulm@gentoo.org>

	* libs/core.bash.in (do_action): Call "shift" twice instead of
	"shift 2" since there may be only one parameter.

	* libs/path-manipulation.bash.in (basename, dirname)
	(canonicalise): Quote arguments to make functions whitespace safe.

	* modules/modules.eselect (do_list, do_has): Fix quoting.

	* modules/rc.eselect (do_show): Add --all option. No need for an
	extra subshell; do_action already calls us from one.
	(describe_show_options): Document it.

2009-04-20  Ulrich Müller  <ulm@gentoo.org>

	* libs/tests.bash.in (has): Quote $@ in order to expand positional
	parameters correctly.

	* modules/rc.eselect (source_rc_functions, get_runlevel):
	New functions for OpenRC (and baselayout-1) support.
	(RC_SVCDIR, rc_svcdir): Removed.
	(do_show): Function completely rewritten; use the common API
	of baselayout-1 and OpenRC. Thanks to Sebastian Günther
	<samson@guenther-roetgen.de> in bug 180966.
	(describe_show, describe_show_parameters, describe_show_options):
	Document optional "runlevel" parameter of do_show().

	* libs/editor-variable.bash.in:
	* modules/editor.eselect:
	* modules/visual.eselect:
	* modules/pager.eselect: New modules and library, managing the
	EDITOR, VISUAL and PAGER environment variables; bug 190216.
	* man/editor.eselect.5:
	* man/visual.eselect.5:
	* man/pager.eselect.5: New man pages.
	* libs/Makefile.am (eselectlibs_SCRIPTS, EXTRA_DIST):
	* modules/Makefile.am (safe_scripts):
	* man/Makefile.am (man_MANS): Add the new files.

2009-04-18  Ulrich Müller  <ulm@gentoo.org>

	* modules/rc.eselect (do_delete): Don't die if the script is no
	longer in /etc/init.d/. Fixes bug 156866.
	(describe_add_parameters, describe_delete_parameters): Suppress
	newlines.

	* bin/eselect.in: Remove all alias definitions. Unset functions
	and variables that are known to cause trouble. Fixes bug 155814.

2009-04-17  Ulrich Müller  <ulm@gentoo.org>

	* libs/core.bash.in (die): Eliminate pgrep call; just kill the
	main process and exit.

	* bin/eselect.in (es_do_list-modules): Use do_action for calling
	the module, not eselect. Quote "$@".
	(ESELECT_KNOWN_OPTIONS): Treat 'help' and 'version' options as if
	they were actions. Fixes bug 153890.
	(trap): Redirect exit message to stderr.

	* modules/modules.eselect: Don't inherit 'output' and 'tests',
	since they are already inherited by the main script, and for
	consistency with other modules.
	(describe_add, describe_add_parameters, do_add): Commented out.

	* libs/output.bash.in (colours): New function, initialise colour
	escape sequences. Don't initialise them in global scope any more.
	* bin/eselect.in: Call 'colours' if stdout is a tty, otherwise
	call 'nocolours'.

	* modules/env.eselect (is_envfile): Define POSIXLY_CORRECT for
	'file' in order to dereference symbolic links. Bug 240402.

2009-04-16  Ulrich Müller  <ulm@gentoo.org>

	* libs/output.bash.in (write_kv_list_entry): Fix logic for
	insertion of spaces between words, bug 260464.

	* libs/config.bash.in (store_config): Split config file content
	on newlines only, not on all whitespace. Fixes bug 219864.

	* misc/eselect.bashcomp (_eselect): Suppress 'Killed' message.
	Don't match regexps on escape sequences. Fixes bug 218557.

	* libs/core.bash.in (die): Suppress error messages from pgrep
	and kill, bugs 174354 and 264734.

2009-04-15  Ulrich Müller  <ulm@gentoo.org>

	* modules/rc.eselect (do_add): Don't symlink into ROOT. Patch by
	Matthijs Kooijman in bug 204937.

	* libs/output.bash.in (get_column_width): Don't call stty if
	standard output is not a terminal. Bug 198461.

2009-04-14  Ulrich Müller  <ulm@gentoo.org>

	* libs/output.bash.in (write_list_start): Add quotes to prevent
	globbing, fixes bug 232874.

	* bin/eselect.in (ESELECT_DATA_PATH): Remove trailing slant,
	fixes bug 203114.

2009-04-13  Ulrich Müller  <ulm@gentoo.org>

	* libs/output.bash.in (COLOUR_NORMAL, COLOUR_BOLD, COLOUR_HI)
	(COLOUR_WARN, COLOUR_ERROR, COLOUR_LIST_HEADER)
	(COLOUR_LIST_LEFT, COLOUR_LIST_RIGHT): Initialise with tput,
	in a terminal independent way, bug 198461.

	* bin/eselect.in: Disable colour output if stdout is not a tty,
	bug 198461.

2009-04-08  Jeremy Olexa  <darkside@gentoo.org>

	* modules/profile.eselect (do_show, do_list):
	Make 'eselect profile show' show the relative path. Patch by
	Thomas Bellman in bug 248487.

	* modules/profile.eselect (set_symlink): Allow parent profiles
	to be selectable, patch by Thomas Bellman in bug 248470.

2008-06-01  Ulrich Müller  <ulm@gentoo.org>

	* man/binutils.eselect.5: Fix typo, bug 172636.

	* man/eselect.1: Fix man section, bug 172636.

2008-01-28 Piotr Jaroszyński <peper@gentoo.org>

	* configure.ac, libs/paludis.bash.in: Check for paludis binary at
	runtime.

2007-12-02 Piotr Jaroszyński <peper@gentoo.org>

	* NEWS: Merge NEWS from branch-1.0.x and add trunk section with
	current changes.

2007-12-01 Piotr Jaroszyński <peper@gentoo.org>

	* NEWS: Add missing news entry for 1.0.10.

2007-11-30 Piotr Jaroszyński <peper@gentoo.org>

	* libs/config.bash.in, modules/env.eselect, NEWS: Merge various
	changes from 1.0.x branch.

2007-11-27 Piotr Jaroszyński <peper@gentoo.org>

	* libs/package-manager.bash.in, libs/paludis.bash.in,
	libs/portage.bash.in: Add stuff to be used by new eselect-news.

2007-09-21 Donnie Berkholz <dberkholz@gentoo.org>

	* libs/skel.bash.in: (#189942) Allow resetting to the current
	implementation, so changes to the symlink map can propagate.

2007-03-08 Mike Kelly <pioto@gentoo.org>

	* man/Makefile.am: Really really really fix parallel install.

2007-02-28 Mike Kelly <pioto@gentoo.org>

	* bin/Makefile.am, man/Makefile.am: Undo the most recent "fix".

2007-02-27 Danny van Dyk <kugelfang@gentoo.org>

	* bin/Makefile.am, man/Makefile.am: Fix symlink creation for real now.
	* modules/env.eselect: Fix parsing of *_SEPARATED.

2007-01-29 Mike Kelly <pioto@gentoo.org>

	* bin/Makefile.am, man/Makefile.am: Fix symlink creation.

	+ Fixes: #163915

2007-01-15 Mike Kelly <pioto@gentoo.org>

	* bin/Makefile.am: Really fix parallel install. From r353 in
	branches/branch-1.0.x/

	+ Fixes: #162008

2006-11-13 Mike Kelly <pioto@gentoo.org>

	* configure.ac, libs/Makefile.am, Makefile.am, modules/Makefile.am:
	Fix distcheck.

2006-10-28 Danny van Dyk <kugelfang@gentoo.org>

	* bin/eselect.in: Add a new envvar for the default modules path.
	* libs/core.bash.in: Make inherit() remember the libs it already
	processed and don't source them again.
	* modules/modules.eselect: Clean up a bit. Change add action to not
	check for root.

2006-10-28 Mike Kelly <pioto@gentoo.org>

	* modules/Makefile.am: Add modules.eselect to Makefile.am.

2006-10-28 Mike Kelly <pioto@gentoo.org>

	* modules/modules.eselect: Add a new module, for listing, querying,
	and installing eselect modules.

2006-10-24 Danny van Dyk <kugelfang@gentoo.org>

	* libs/core.bash.in: Fix bug #152662. Thanks to Roy Marples
	<uberlord@gentoo.org> for finding and Mike Kelly <pioto@gentoo.org>
	for reporting it.
	* modules/env.eselect: Fix bug #152318. Thanks to Jason Stubbs
	<jstubbs@gentoo.org> for report and patch.

2006-10-22 Danny van Dyk <kugelfang@gentoo.org>

	* configure.ac: Changed version to 1.1.0. (development branch)
	* libs/config.bash.in: Fix quotation in load_config().

2006-10-21 Danny van Dyk <kugelfang@gentoo.org>

	* modules/env.eselect: Clean up and fix bug #151701.
	* libs/paludis.bash.in, libs/package-manager.bash.in: Fix some bugs
	and general cleanup. Complete package manager abstraction.
	* doc/developer-guide.txt: Update developer documentation to reflect
	API changes.

2006-10-03 Danny van Dyk <kugelfang@gentoo.org>

	* modules/binutils.eselect: Finally fixed bug #149627.
	* libs/paludis.bash.in: Fixed typo.
	* configure.ac: Changed version to 1.0.6.
	* libs/core.bash.in: Tweaked die function to have a nicer output.
	* Tagged 1.0.6 release.

2006-10-01 Danny van Dyk <kugelfang@gentoo.org>

	* modules/binutils.eselect: Fixed bug #149627. Thanks to
	Charlie Shepherd for finding this.

2006-09-22 Danny van Dyk <kugelfang@gentoo.org>

	* modules/profiles.eselect: Fixed bug #148534 by inheriting
	package-manager. Thanks to Mike Kelly <pioto@gentoo.org>.

2006-09-20 Danny van Dyk <kugelfang@gentoo.org>

	* libs/config.bash.in: Fixed whitespaces and bug #147930.
	* libs/core.bash.in: Enhanced die function to SIGKILL eselect if
	SIGTERM failed.

2006-09-19 Mike Kelly <pioto@gentoo.org>

	* modules/Makefile.am: Remove the vi.eselect module, so it isn't
	distributed with the main eselect code.

2006-09-17 Danny van Dyk <kugelfang@gentoo.org>

	* man/rc.eselect.5: Fixed bug #144882.

2006-08-30 Danny van Dyk <kugelfang@gentoo.org>

	* libs/output.bash.in: Fix bug #140633 by adding missing quoting in
	write_{kv,numbered}_list_entry.
	* modules/rc.eselect: Add 'reload' action as requested in bug #144152.

2006-08-26 Danny van Dyk <kugelfang@gentoo.org>

	* Tagged 1.0.5 release.

2006-08-17 Donnie Berkholz <dberkholz@gentoo.org>

	* libs/skel.bash.in: Small usability tweak -- change printed
	references from "libdir" to "library directory."

2006-08-17 Donnie Berkholz <dberkholz@gentoo.org>

	* libs/skel.bash.in: Ensure that there are implementations available
	in a given libdir before executing code that assumes so. Reported
	by Danny van Dyk. Add some comments in this area too, since the code
	can take a little time to parse.
	* ChangeLog: Change a couple references to my old nick.

2006-08-04 Danny van Dyk <kugelfang@gentoo.org>

	* modules/kernel.eselect: Fix Bug #141106: list action doesn't
	highlight currently the currently selected sources.

2006-08-03 Danny van Dyk <kugelfang@gentoo.org>

	* Tagged 1.0.4 release.

2006-08-02 Danny van Dyk <kugelfang@gentoo.org>

	* libs/paludis.bash.in, libs/package-manager.bash.in: Remove
	paludis-repo(). Fix paludis-envvar(). Finish envvar() unction.
	* configure.ac: Set version to 1.0.4.
	* modules/config.eselect, modules/binutils.eselect: Convert to
	envvar().
	* autogen.bash: Fix autogen.bash to be able to use autoconf-2.60.

2006-07-16 Danny van Dyk <kugelfang@gentoo.org>

	* libs/paludis.bash.in, libs/package-manager.bash.in: Convert to
	envvar() call. envvar() now needs a package qualifier as first
	parameter.
	* autogen.bash: New autogen tool to correctly use autoconf-2.60.

2006-07-15 Donnie Berkholz <dberkholz@gentoo.org>

	* libs/skel.bash.in: Fix check for whether implementations are
	available before attempting to switch to them. This fixes
	switching based on name rather than number.

2006-07-03 Danny van Dyk <kugelfang@gentoo.org>

	* Tagged 1.0.3 release.

2006-07-01 Danny van Dyk <kugelfang@gentoo.org>

	* libs/portage.bash.in, libs/paludis.bash.in,
	libs/package-manager.bash.in, libs/Makefile.am, configure.ac: Added
	support for other package managers than portage. Public functions are
	part of package-manager.bash. paludis.bash and portage.bash provide
	private backend functions.

	* modules/profile.eselect: Marked as portage-only module.

	* modules/binutils.eselect: Change from inherit portage to inherit
	package-manager.

	* modules/rc.eselect: Fix bug in list_runlevels(). Respect setting of
	${svcdir} in /etc/rc.conf. Add support to show() runlevels other than
	the current.

2006-06-18 Donnie Berkholz <dberkholz@gentoo.org>

	* libs/skel.bash.in, libs/Makefile.am, doc/developer-guide.txt:
	Add a new skel.bash library for easy implementation of the simpler
	cases of switching, and document it.

	* modules/Makefile.am, man/Makefile.am:
	The new blas/cblas/lapack modules will be installed as standalone
	packages, so remove them from Makefile.am files.

2006-06-11 Danny van Dyk <kugelfang@gentoo.org>

	* modules/env.eselect: Fixed handling of files in /etc/env.d/ which
	are untruly detected as non-plain-text by file utility (see bug
	#130098). Fixed generation of /etc/profile.csh (see bug #136111).
	Thanks to Patrick MacLean <chutzpah@gentoo.org> for both fixes.

2006-04-14 Danny van Dyk <kugelfang@gentoo.org>

	* libs/config.bash: Fixed creation of empty configfile.
	* modules/kernel.eselect: Applied enhancement patch by Diego Petteno
	<flameeyes@gentoo.org>. kernel.eselect can now be called using 'uname
	-r' as an argument. See bug #128703.
	* Tagged 1.0.2 release.

2006-04-03 Danny van Dyk <kugelfang@gentoo.org>

	* modules/env.eselect: Don't die if ${ROOT}/etc/profile.env does not
	exist.

2006-04-01 Danny van Dyk <kugelfang@gentoo.org>

	* Tagged 1.0.1 release.
	* configure.ac: Fixed substitution of CANONICALISE.
	* modules/env.eselect: Fixed calls to canonicalise().
	* modules/kernel.eselect: Fixed output of show action.

2006-03-31 Danny van Dyk <kugelfang@gentoo.org>

	* configure.ac: Fixed some BSD issues in regard to CANONICALISE.
	Thanks to Diego Petteno <flameeyes@gentoo.org> for the patch.

2006-03-30 Danny van Dyk <kugelfang@gentoo.org>

	* modules/binutils.eselect: Cleaned up the Coding Style a bit.
	* libs/path-manipulation.bash.in, doc/developer-guide.txt,
	configure.ac: Added support for the canonicalise function, a wrapper
	to either GNU readlink or realpath.
	* modules/binutils.eselect, modules/blas.eselect,
	modules/config.eselect, modules/env.eselect,
	modules/kernel.eselect, modules/lapack.eselect,
	modules/mailer.eselect, modules/profile.eselect,
	modules/rc.eselect: Converted to use canonicalise() instead of
	readlink -f. This ensure portability of eselect to *BSD.

2006-03-09 Danny van Dyk <kugelfang@gentoo.org>

	* modules/binutils.eselect, man/binutils.eselect.5: Added show action.
	* configure.ac: Updated version to 1.0.1 for pending release.

2006-03-08 Danny van Dyk <kugelfang@gentoo.org>

	* modules/env.eselect: Fixed a typo (chmod g+r instead of chmod a+r).
	* modules/blas.eselect, modules/lapack.eselect: Added option
	descriptions for action 'set'.
	* modules/env.eselect: Added FreeBSD patch written by Diego Petteno.
	* man/binutils.eselect.5, man/blas.eselect.5, man/env.eselect.5,
	lapack.eselect.5, man/rc.eselect.5: Synchronized the manpages with the
	current state of the repository.

2006-03-04 Danny van Dyk <kugelfang@gentoo.org>

	* modules/rc.eselect: Fixed a bug in the is_script() function.
	With this change the 'show' action works again.
	* modules/kernel.eselect: Fixed trailing slashes in the 'show' action.

2006-03-01 Danny van Dyk <kugelfang@gentoo.org>

	* modules/env.eselect: Fixed bug #124472. env.eselect now uses a
	temporary file, honours a symlinked profile.env and fixes
	permissions on the final profile.env.

2006-02-09 Ciaran McCreesh <ciaranm@gentoo.org>

	* Tagged 1.0 release.
	* libs/core.bash.in: Fix die filenames, thanks to Donnie Berkholz.

2005-12-18 Danny van Dyk <kugelfang@gentoo.org>

	* modules/env.eselect: Fixed bug #114778: restrict load_config()
	to textfiles with proper contents.
	* libs/multilib.bash.in: Fixed bug #114274: don't rely on a hardcoded
	table of libdirs but scan ld.so.conf for them instead.
	* modules/blas.eselect, modules/lapack.eselect: Fixed bug #115548:
	make commands list, show and set scan if scan hasn't been previously
	run.

2005-12-17 Ciaran McCreesh <ciaranm@gentoo.org>

	* modules/output.bash.in: Fix nocolour, Gentoo bug #115677.

2005-12-06 Danny van Dyk <kugelfang@gentoo.org>

	* modules/rc.eselect: Fixed Bug in is_script() to detect symlinked
	init scripts like net.ethX -> net.eth0 properly.

2005-11-17 Aaron Walker <ka0ttic@gentoo.org>

	* docs/developer-guide.txt: Fix title underline length since the
	length of the title changed (add_config => append_config).

2005-11-16 Danny van Dyk <kugelfang@gentoo.org>

	* libs/config.bash.in, docs/developer-guide.txt: Changed add_config()
	to append_config(). Function now doesn't append data if it occurs
	already in the value.
	* libs/multilib.bash.in: Removed lib from list of amd64 libdirs.
	* modules/blas.eselect, modules/lapack.eselect: Added support for
	MKL72. Some cleanup of Bugs and untidy work.

2005-11-01 Ciaran McCreesh <ciaranm@gentoo.org>

	* bin/eselect.in: Add read- and -reader symlink module name decoding
	voodoo options.

2005-10-30 Aaron Walker <ka0ttic@gentoo.org>

	* libs/output.bash.in: Updated write_kv_list_entry with several bug
	fixes: now handles args with leading whitespace appropriately, doesn't
	append a ' ' onto the end of lines, displays the value on the next
	line if key is too long.

2005-10-19 Aaron Walker <ka0ttic@gentoo.org>

	* libs/output.bash.in: Use ${#indent} instead of a literal '28'.

	* Tagged 1.0_rc1 release.
	* libs/output.bash.in: Modified write_kv_list_entry to properly wrap
	lines that are longer than the current terminal width.
	* man/bashcomp.eselect.5: Added --global as a possible option for the
	'list' action.
	* modules/env.eselect: Added describe_update_options and
	describe_update_parameters.

2005-10-18 Aaron Walker <ka0ttic@gentoo.org>

	* modules/rc.eselect: Added missing space after the '1' in
	"[[ ${#@} -gt 1]]" which caused an unexpected EOF in do_restart().
	* configure.ac, Makefile.am, doc/Makefile.am: Added check for rst2html
	and don't assume it is installed as 'rst2html.py' as most other
	distro's/OS's install it without the .py extension.  Also, don't
	bail if portageq isn't found as eselect is supposed to be usable even
	on non-Gentoo systems.
	* libs/output.bash.in, doc/developer-guide.txt: Added
	write_warning_msg function. Similar to write_error_msg but uses "!!!
	Warning" and ${COLOUR_WARN}.
	* libs/portage.bash.in: Have arch() use new write_warning_msg to print
	a warning and return 1 if it cannot determine the arch instead of
	die()'ing as the caller may want to do something anyways and exit
	successfully ("eselect profile set --force" for example).  Also fixed
	errant 'i' in '[[ -z ${ROOT}i ]]' and also fixed indenting.
	* modules/profile.eselect: Check the return value of arch() and
	find_targets() and bail if necessary.

2005-10-17 Aaron Walker <ka0ttic@gentoo.org>

	* configure.ac: Update version to 1.0_rc1 for pending release.
	* Makefile.am, man/Makefile.am, bin/Makefile.am: move 'symlinks'
	variable declaration to top-level Makefile.am so both man/Makefile.am
	and bin/Makefile.am can use it to generate symlinks (ie foo-config ->
	eselect and foo.eselect.5 -> foo-config.1).
	* modules/profile.eselect: Updated find_targets function to accept an
	optional argument, portdir, so that if specified it doesn't need to
	invoke portageq.  This prevents portageq from being invoked twice when
	the 'set' action is executed.
	* modules/kernel.eselect, modules/binutils.eselect,
	modules/mailer.eselect: Add describe_set_options and
	describe_set_parameters.
	* modules/bashcomp.eselect: Add describe_list_options since it also
	accepts --global.
	* man/kernel.eselect.5: Added manual page for kernel.eselect.
	* man/profile.eselect.5: Fixed a typo.
	* modules/rc.eselect: Bail on actions that require parameters when the
	user doesn't specify them.  Also added describe_action_options and
	describe_action_parameters for each action that requires a parameter.
	Also fixed vim ft s/ebuild/eselect/.
	* bin/eselect.in: Bail if user specifies an invalid global option
	instead of just ignoring it.

2005-10-16 Ciaran McCreesh <ciaranm@gentoo.org>

	* modules/vi.eselect: Tidy up.

	* doc/developer-guide.txt: Documentation for options and parameters.
	* modules/bashcomp.eselect, modules/profile.eselect,
	modules/cow.eselect: Implement actions and parameters.
	* libs/default.eselect.in: Add describe_action_options and
	describe_action_parameters support for default help action.
	* libs/output.bash.in: Add -p option to write_ things.
	* autogen.sh -> autogen.bash, doc/release-guide.txt, Makefile.am: Make
	autogen work on systems with weirder autotools setups.

2005-10-16 Danny van Dyk <kugelfang@gentoo.org>

	* modules/rc.eselect: Fixed Bug #106540.

2005-10-05 Aaron Walker <ka0ttic@gentoo.org>

	* modules/profile.eselect: Add a --force option to 'set' sub-command
	so that users can force a profile set even if the profile is not
	recognized as valid.
	* man/profile.eselect.5: Document --force.

2005-09-11 Aaron Walker <ka0ttic@gentoo.org>

	* libs/multilib.bash.in: Don't use absolute paths to executables!

2005-09-10 Danny van Dyk <kugelfang@gentoo.org>

	* bin/eselect.in: Fixed Bug in usage of has(). Thanks to Sven Wegener
	<swegener@gentoo.org> for spotting this.
	* libs/portage.bash.in, libs/Makefile.am, configure.ac,
	modules/binutils.eselect, modules/config.eselect,
	modules/profile.eselect: Added portage library,
	moved profile.eselect:get_arch() to portage.bash:arch().
	* doc/developer-guide.txt: Changed documentation according to API
	changes (inherit / core.bash-split).

2005-09-05 Danny van Dyk <kugelfang@gentoo.org>

	* libs/core.bash.in: Added inherit() function that allows dynamic
	and individual sourcing of libraries for each module.
	* bin/eselect.in: Removed sourcing of all available libraries and set
	up default libraries to inherit.
	* libs/core.bash.in, libs/path-manipulation.bash.in, libs/Makefile.in:
	Moved basename() and dirname() to a new separate library.
	* libs/core.bash.in, libs/test.bash.in: moved has() and is_function()
	to tests library.
	* modules/binutils.eselect, modules/blas.eselect, modules/env.eselect,
	modules/lapack.eselect: Added necessary inherit lines.

2005-09-04 Danny van Dyk <kugelfang@gentoo.org>

	* modules/blas.eselect: Fixed a bug about setting implementation to
	reference in case we had an active C implementation already. Storing
	configuration will now be handled after the setup_*() step.
	* modules/lapack.eselect: Storing configuration will now be handled
	after the setup_*() step.
	* modules/rc.eselect: Fixed a 'file not found' bug on bogus
	baselayouts thanks to Mike Doty <kingtaco@gentoo.org>.

2005-08-31 Danny van Dyk <kugelfang@gentoo.org>

	* modules/kernel.eselect: Fixed bug #104354. kernel.eselect now looks
	only for linux-kernel directories w/o listing source directories of
	additional drivers.

2005-08-08 Aaron Walker <ka0ttic@gentoo.org>

	* man/bashcomp.eselect.5: Add missing description of --global flag.

2005-07-25 Danny van Dyk <kugelfang@gentoo.org>

	* modules/Makefile.am: Moved binutils.eselect out of dodgy-scripts.
	* modules/binutils.eselect: Removed outdated comments.
	* Tagged 0.9.6 release.
	* NEWS: Added 0.9.6 release news.
	* configure.ac: Updated version number.
	* man/Makefile.am, man/binutils.eselect.5: Added manpage for binutils
	module.
	* modules/binutils.eselect, modules/env.eselect: Check for sane
	parameters and root access.

2005-07-23 Danny van Dyk <kugelfang@gentoo.org>

	* libs/config.bash.in: Fixed a condition in store_config as it needs at
	least 2 parameters, not 3.
	* modules/env.eselect: Removed check on storing empty vars. Added
	support for updating ld.so.cache. Added a mtime database for all items
	of LDPATH. Fixed last bugs that kept it in dodgy-scripts.
	* modules/Makefile.am: Removed env.eselect from dodgy-scripts.
	* man/env.eselect.5, man/Makefile.am: Added a manpage for env.eselect.
	* modules/binutils.eselect: Uses env.eselect now instead of env-update.
	Fixed condition for environment updates.

2005-07-19 Danny van Dyk <kugelfang@gentoo.org>

	* libs/core.bash.in: Fixed order of parameters.
	* modules/blas.eselect, modules/env.eselect, modules/lapack.eselect:
	Fixed all calls to has() due to change of parameter order.
	* modules/env.eselect: Tidied code up, add prelink.conf code. These
	file are now sanely created: /etc/profile.env, /etc/ld.so.conf,
	/etc/prelink.conf.
	* module/env.eselect: Removed LDPATH from inclusion into profile.env.

2005-07-16 Danny van Dyk <kugelfang@gentoo.org>

	* modules/env.eselect: Fixed a 'first element of array'-type bug.
	ld.so.conf creation is now fully functional.

2005-07-12 Danny van Dyk <kugelfang@gentoo.org>

	* modules/env.eselect, modules/Makefile.am: Added initial env module.

2005-07-03 Aaron Walker <ka0ttic@gentoo.org>

	* libs/core.bash.in: Added dirname/basename wrapper functions which use
	bash instead of launching their external counterparts.
	* modules/bashcomp.eselect: Use basename instead of ${var##*/}
	constructs.

2005-06-19 Danny van Dyk <kugelfang@gentoo.org>

	* libs/output.bash.in: Watch out for escaped spaces and concatenate
	items accordingly. Fixes BUG #95886.
	* modules/binutils.eselect: Removed the echo before each ln call to
	enable it. Fixed the order of is_active() and loading of VERSION and
	TARGET. Added a check on whether the selected profile exists in
	/etc/env.d/binutils/.

2005-06-18 Aaron Walker <ka0ttic@gentoo.org>

	* Tagged 0.9.5 release.
	* acinclude.m4: Added ES_PROG_GNU_SED macro for checking the path to
	GNU sed.  This allows eselect to work on platforms where GNU sed is
	"gsed" not "sed".
	* configure.ac: Update version; added call to our new ES_PROG_GNU_SED
	macro.
	* libs/core.bash.in: Added 'sed() { @SED@ $* ; }' so that everything
	else transparently uses GNU sed.
	* libs/output.bash.in: Fixed typo in write_kv_list_entry() that caused
	misaligned value text.
	* bin/eselect.in: Added missing 'shift' when unrecognized global
	options are encountered.  Otherwise an infinite loop occurs if a user
	specifies one.  Also added es_do_list-options() and updated
	es_do_help() to call it.
	* bin/Makefile.am: Add bashcomp-config to symlinks list.
	* doc/developer-guide.txt: Fixed headers so that it'll compile.
	* modules/bashcomp.eselect: Fixed bug if do_list is passed an argument
	besides --global.
	* man/eselect.1: updated usage info with global options. Added OPTIONS
	section where global options will be described.
	* README, man/profile.eselect.5: Fixed minor typo.
	* man/Makefile.am, man/bashcomp.eselect.5: Added manual page for
	bashcomp.eselect.
	* misc/eselect.bashcomp: Parse 'eselect help' instead of 'eselect
	list-modules' so that we can pick up supported global options and add
	them to possible completions.  This means we *never* will have to edit
	this file when we add new global options.
	* Makefile.am: Added html target to generate HTML for TODO and README
	in addition to those in doc/.
	* modules/blas.eselect, modules/lapack.eselect: Don't hardcode the
	path to readlink.  Also, fixed a few libblas -> libcblas typo's on
	Kugelfang's behalf.

2005-06-17 Danny van Dyk <kugelfang@gentoo.org>

	* libs/output.bash.in: Moved back to use COLOUR_* envvars instead of a
	function, as the latters slows down eselect. Also,
	write_kv_list_entry() and write_numbered_list_entry() now use space().
	* bin/eselect.in: Introduced new var which holds all known global
	options. The global option parser now checks for those.

2005-06-16 Aaron Walker <ka0ttic@gentoo.org>

	* misc/eselect.bashcomp: Updated to take global options into
	consideration.
	* bin/eselect.in: recognize the us'ian --no-color in addition to
	--no-colour.
	* libs/output.bash.in: fixed bug in nocolour handling that caused
	literal interpretation of '*' in $(highlight '*') thus causing the
	contents of the ${PWD} to be displayed instead.
	* doc/release-guide.txt: Removed the now irrelevant section on
	doing the release on berlios.

2005-06-15 Shyam Mani <fox2mike@gentoo.org>

	* doc/developer-guide.txt: Removed redundant sections and fixed up a
	bit of RST. This will be the version that initial GuideXML will sync
	with.

2005-06-15 Aaron Walker <ka0ttic@gentoo.org>

	* modules/bashcomp.eselect: Rewrote most of the module.  Removed
	do_show() since do_list now correctly identifies currently enabled
	completions.  Also do_enable/do_disable now work with list numbers as
	they should.

2005-06-13 Aaron Walker <ka0ttic@gentoo.org>

	* doc/release-guide.txt: Updated to mention updating configure.ac
	version number.

2005-06-13 Danny van Dyk <kugelfang@gentoo.org>

	* Tagged 0.9.4 release.

2005-06-13 Shyam Mani <fox2mike@gentoo.org>

	* doc/overview.txt: Removed, since it is obsolete.
	* doc/user-guide.txt: Updated with info which was in overview.

2005-06-12 Danny van Dyk <kugelfang@gentoo.org>

	* modules/rc.eselect: Fix hardcoded path to ln.
	* libs/config.bash.in: Restructured functions to take a filename as
	first argument.
	* modules/blas.eselect,modules/lapack.eselect: Fixed modules to
	respect new syntax of *_config functions.
	* doc/developer-guide.txt: Documented new behaviour of *_config
	functions.
	* modules/blas.eselect,modules/lapack.eselect,modules/profiles.eselect:
	The list action now marks active options with a highlighted *.
	* modules/binutils.eselect: Added initial and unfunctional version of
	binutils.eselect.

2005-06-08 Danny van Dyk <kugelfang@gentoo.org>

	* bin/eselect.in: Added handling of global options in main code.
	* libs/core.bash.in: Removed COLOUR_* vars.
	* libs/output.bash.in: Added function colours() which replaces all
	${COLOURS_*} uses and respects the --no-colour option.
	* docs/developer-guide.txt,docs/user-guide.txt: Added reference to
	global options and --no-colour.

2005-06-07 Danny van Dyk <kugelfang@gentoo.org>

	* Renamed to 'eselect'.
	* Moved to Gentoo infrastructure.

2005-05-26 Danny van Dyk <kugelfang@gentoo.org>

	* modules/rc.eselect: Added actions start, stop, restart and pause.

2005-05-16 Ciaran McCreesh <ciaranm@gentoo.org>

	* bin/Makefile.am: Install symlinks for kernel-config, profile-config,
	rc-config
	* libs/output.bash.in: Make highlighting work with bash-2.

	* Tag 0.9.3 release.
	* doc/overview.txt, doc/Makefile.am: Add an 'overview' document.
	* configure.ac, modules/Makefile.am: Add --enable-dodgy-modules to
	install incomplete / experimental things (config, cow, vi).

2005-05-16 Tom Martin <slarti@gentoo.org>

	* modules/mailer.eselect: Handle no available targets. Mark the
	currently active profile when doing list.

2005-05-15 Aaron Walker <ka0ttic@gentoo.org>

	* man/Makefile.am: Add missing manual page.

2005-05-15 Ciaran McCreesh <ciaranm@gentoo.org>

	* modules/config.eselect, modules/cow.eselect,
	modules/mailer.eselect, modules/lapack.eselect,
	modules/bashcomp.eselect, modules/vi.eselect,
	modules/kernel.eselect, modules/profile.eselect,
	modules/blas.eselect, modules/rc.eselect: Switch vim modelines to
	use eselect rather than ebuild as the filetype.
	* modules/kernel.eselect: Handle no available targets. Mark the
	currently active kernel symlink when doing list.
	* libs/core.bash.in: Don't allow eval, since it's evil and leads to
	horridly broken code.

2005-05-14 Aaron Walker <ka0ttic@gentoo.org>

	* libs/core.bash.in: Updated do_action() to display the correct usage
	message depending on how eselect was invoked.

2005-05-14 Ciaran McCreesh <ciaranm@gentoo.org>

	* modules/mailer.eselect, modules/vi.eselect,
	modules/kernel.eselect, modules/profile.eselect: Switch to use
	is_number.
	* modules/mailer.eselect: Make 'set by number' work.

2005-05-14 Elfyn McBratney <beu@gentoo.org>

	* bin/eselect.in: Support both -update and -updater suffixes.

2005-05-14 Danny van Dyk <kugelfang@gentoo.org>

	* modules/rc.eselect: Do not show files ending in '~'. Added to the
	Makefile.am, too.

2005-05-12 Danny van Dyk <kugelfang@gentoo.org>

	* modules/mailer.eselect, modules/blas.eselect,
	modules/lapack.eselect: Use SVN_DATE.
	* module/rc.eselect: Added module rc.
	* man/rc.eselect.5: Added manpage for module rc.
	* modules/blas.eselect: Add preliminary support for "threaded-ATLAS".

2005-05-10 Aaron Walker <ka0ttic@gentoo.org>

	* modules/profile.eselect, modules/bashcomp.eselect: Use SVN_DATE.

2005-05-10 Ciaran McCreesh <ciaranm@gentoo.org>

	* autogen.sh: Make config dir if it's not there already.
	* man/eselect.1: Include note about full docs.
	* doc/developer-guide.txt: Document manip functions.
	* modules/config.eselect, modules/cow.eselect, modules/vi.eselect,
	modules/kernel.eselect: Update to use SVN date as the version number.
	* libs/manip.bash.in, libs/Makefile.am, bin/eselect.in: Add manip
	library for text manipulation functions. svn_date_to_version will
	convert an SVN date string into a nice VERSION number.

2005-05-09 Aaron Walker <ka0ttic@gentoo.org>

	* misc/eselect.bashcomp: Parse list-modules/usage instead of relying
	on the assumption that the default action will give us what we want.

2005-05-09 Ciaran McCreesh <ciaranm@gentoo.org>

	* configure.in -> configure.ac, autogen.sh: Switch to automake 1.9.
	* TODO: Add TODO file. Future changes to this file won't go in to this
	ChangeLog.
	* AUTHORS, README: Move authors into the AUTHORS file.
	* INSTALL: Add INSTALL file as per GNU rules.
	* doc/developer-guide.txt: Update with new functions.
	* doc/release-guide.txt: Add in an RST version of Aaron's "how to do
	releases" document.

	* Merge from branches/ciaranm/config:
	* bin/eselect.in: Better prefix/suffix support. Now recognises
	prefixes config-, update-, manage- and suffixes -config, -update,
	-tool, -manager.
	* libs/output.bash.in, libs/core.bash.in: Add highlight_warning
	function.
	* bin/eselect.in, libs/tests.bash.in, libs/Makefile.am: Add tests
	library. Currently one function, is_number.
	* libs/default.eselect.in: Allow show_extra_help_text as part of
	the default help action. Show extra usage message if appropriate.
	* modules/config.eselect, modules/Makefile.am: Add initial version of
	the config plugin. Not production ready.

2005-05-08 Aaron Walker <ka0ttic@gentoo.org>

	* Makefile.am: no foreign.

	* Tag 0.9.2 release.
	* configure.in: Update version (0.9.2).
	* modules/profile.eselect: Re-fix profile module since the
	profile-symlink -> profile move reverted the changes.
	* modules/bashcomp.eselect: do_show should return 0.
	* bin/eselect.in, bin/Makefile.am: Use %VERSION%.

2005-05-08 Ciaran McCreesh <ciaranm@gentoo.org>

	* libs/output.bash.in, libs/core.bash.in: Add in somewhat experimental
	text highlighting functionality.
	* doc/developer-guide.txt: Document highlight function.

2005-05-08 Danny van Dyk <kugelfang@gentoo.org>

	* modules/blas.eselect: update -> scan transition complete.
	* modules/lapack.eselect: update -> scan. Fixed directory settings
	for lapack-atlas and lapack-reference.

2005-05-08 Tom Martin <slarti@gentoo.org>

	* modules/mailer.eselect: Fix find_targets. If the glob didn't
	match, it was interpreted as a literal string. Fix a stupid typo
	(findi_targets -> find_targets).

2005-05-07 Ciaran McCreesh <ciaranm@gentoo.org>

	* Tag for release 0.9.1
	* configure.in: Version is now 0.9.1.
	* doc/user-guide.txt, doc-developer.txt: Clarify update and scan
	action definitions, update formatting and wording.

2005-05-07 Danny van Dyk <kugelfang@gentoo.org>

	* doc/user-guide.txt: Added a first draft of the user docs.

2005-05-07 Ciaran McCreesh <ciaranm@gentoo.org>

	* doc/developer-guide.txt: Fix formatting, typos. Add a bit more about
	how eselect works.
	* doc/Makefile.am: Make this much more generic.
	* misc/Makefile.am: Add Makefile.in to maintainer-clean targets.

2005-05-07 Tom Martin <slarti@gentoo.org>

	* man/mailer.eselect.5: Add a man page for mailer.eselect.
	* modules/mailer.eselect: Add a check_dirs() function for
	sanity checking /etc/mail/.

2005-05-07 Danny van Dyk <kugelfang@gentoo.org>

	* man/profile.eselect.5: Fixed typos.
	* doc/developer-guide.txt: Added descriptions for the multilib.bash
	and config.bash functions.

2005-05-07 Ciaran McCreesh <ciaranm@gentoo.org>

	* doc/: Add initial developer docs.
	* libs/core.bash.in: Fix bug in has so that it is consistent with
	portage syntax.
	* modules/blas.eselect, modules/lapack.eselect: Update to new has
	syntax.

2005-05-07 Aaron Walker <ka0ttic@gentoo.org>

	* modules/profile-symlink.eselect: Fix sed to use current
	profiles.desc format. Also, ensure that explicitly specified profiles
	are actually valid for the host arch.
	* man/Makefile.am: Add missing manual pages.
	* man/profile.eselect.5: Add missing '.br'.
	* configure.in, Makefile.am, doc/Makefile.am: Added Makefile.am for
	doc/ with html target.

2005-05-07 Danny van Dyk <kugelfang@gentoo.org>

	* libs/output.bash.in: Added function 'space'.
	* libs/default.eselect.in: Fixed do_usage to filter 'action'.
	* man/blas.eselect: Added missing Section 'ACTION: SET'.
	* man/lapack.eselect: Added a manpage for the lapack module.
	* man/profile.eselect: Added a manpage for profile.
	* modules/blas.eselect: Finalized this module.
	* modules/lapack.eselect: Added lapack module.

2005-04-25 Tom Martin <slarti@gentoo.org>

	* modules/mailer.eselect: Added mailwrapper module.

2005-04-11 Aaron Walker <ka0ttic@gentoo.org>

	* man/Makefile.am: forgot to add $(man_MANS) to EXTRA_DIST.
	* modules/profile.eselect: Added make.profile module.
	* modules/bashcomp.eselect: Fixed do_list to ignore *~.
	* misc/Makefile.am: Added Makefile.am.
	* misc/eselect.bashcomp: Added eselect command-line completion.

2005-04-10 Aaron Walker <ka0ttic@gentoo.org>

	* man/Makefile.am: Added Makefile.am.

2005-04-07 Danny van Dyk <kugelfang@gentoo.org>

	* modules/blas.eselect: Added package information to outputs.
	* man/blas.eselect.1: Added a manpage for the blas module.

2005-04-04 Danny van Dyk <kugelfang@gentoo.org>

	* man/eselect.1: Added a rudimental manpage.

2005-03-24 Danny van Dyk <kugelfang@gentoo.org>

	* libs/config.bash.in: Fixed store_config(), added add_config().
	* libs/core.bash.in: Added function has().
	* libs/multilib.bash.in: Added multilib library.
	* modules/blas.eselect: Added blas module.

2005-02-22 Aaron Walker <ka0ttic@gentoo.org>

	* modules/bashcomp.eselect: Added bashcomp module.

2005-02-22 Ciaran McCreesh <ciaranm@gentoo.org>

	* ChangeLog: Start keeping a ChangeLog. GNU format.