File: ChangeLog

package info (click to toggle)
munge 0.5.10-1
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 2,936 kB
  • sloc: ansic: 14,526; sh: 11,075; makefile: 327
file content (2778 lines) | stat: -rw-r--r-- 104,334 bytes parent folder | download
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
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2011-02-25  Chris Dunlap  <cdunlap@llnl.gov>

	* : Released 0.5.10.

	* HISTORY, META, NEWS, PLATFORMS, munge.spec:
	  Updated for 0.5.10 release.

	* src/libcommon/fd.c (fd_timed_write_iov):
	  Fixed "assignment type mismatch" compiler warning on Solaris when
	  assigning an unsigned value to the signed struct iovec iov_base ptr.
	* src/libcommon/m_msg.c (m_msg_send): 
	  Fixed "assignment type mismatch" compiler warning on Solaris when
	  assigning an unsigned value to the signed struct iovec iov_base ptr.

2011-02-24  Chris Dunlap  <cdunlap@llnl.gov>

	* src/libcommon/fd.h: Added <sys/time.h> include for struct timeval
	  on AIX.

	* src/munged/xgetgrent.c (_xgetgrent_get_buf_size):
	  Replaced DEFAULT_GR_BUF_SIZE with MINIMUM_GR_BUF_SIZE.
	* src/munged/xgetpwnam.c (_xgetpwnam_get_buf_size):
	  Replaced DEFAULT_PW_BUF_SIZE with MINIMUM_PW_BUF_SIZE.

2011-02-16  Chris Dunlap  <cdunlap@llnl.gov>

	* src/libcommon/m_msg.c (_get_timeval): Added check for gettimeofday()
	  error.

	* src/munge/remunge.c (process_creds): Fixed "overflow in implicit
	  constant conversion" warning for to.tv_sec (time_t) on OpenBSD 4.7
	  where a time_t is 4 bytes and LONG_MAX is 8 bytes.

	* src/libmunge/munge_ctx.3.in: Twiddled wording for MUNGE_ZIP_BZLIB.

2011-02-15  Chris Dunlap  <cdunlap@llnl.gov>

	* src/munged/auth_recv.c: Added <sys/socket.h> include for getpeereid()
	  on OpenBSD.

2011-02-14  Chris Dunlap  <cdunlap@llnl.gov>

	* src/libcommon/fd.c (fd_timed_read_n, fd_timed_write_n,
	  fd_timed_write_iov): Replaced ETIME with ETIMEDOUT.  POSIX.1 denotes
	  ETIME as an optional XSI STREAMS extension, now obsolescent.
	  Furthermore, it is not defined on BSD.
	* src/libcommon/fd.h: Updated comments wrt ETIMEDOUT.
	* src/libcommon/m_msg.c (m_msg_send, m_msg_recv):
	  Updated errno tests for ETIMEDOUT.

2011-02-10  Chris Dunlap  <cdunlap@llnl.gov>

	* src/munged/job.c (_job_exec): Removed EMUNGE_CRED_UNAUTHORIZED errors
	  from the set whose origin IP address is logged.  Although the
	  credential has been successfully decoded, the client is not
	  authorized to know any of its contents.

	* src/munged/job.c (_job_exec): Added the origin IP address to the
	  logged error messages of select credential errors to aid in
	  troubleshooting.

2011-02-09  Chris Dunlap  <cdunlap@llnl.gov>

	* src/munged/gids.c (_gids_hash_create): Added comment wrt xgetpwnam()
	  buffer creation.

2011-02-08  Chris Dunlap  <cdunlap@llnl.gov>

	* src/munged/gids.c (_gids_update): Added guard to update of
	  do_group_stat flag for allowing a SIGHUP triggered during
	  _gids_hash_update() to reset the flag.

2011-02-03  Chris Dunlap  <cdunlap@llnl.gov>

	* munge.spec: Fixed RPM spec file for openSUSE.  (issue 5)

2011-01-26  Chris Dunlap  <cdunlap@llnl.gov>

	* : Fixed a potential deadlock in munged that can occur if clients
	  block while sending data.  The wrappers for read() & write()
	  implement a timeout by preceding the read/write calls with poll().
	  In addition, the client & server sockets have been made nonblocking
	  to protect against spurious readiness notifications.  Throughput is
	  degraded by ~6%.  (issue 1)
	* src/libcommon/munge_defs.h: Added MUNGE_SOCKET_TIMEOUT_MSECS.
	* src/munged/job.c (job_accept): Set socket connection to client as
	  nonblocking.
	* src/libmunge/m_msg_client.c (_m_msg_client_connect):
	  Set socket connection to server as nonblocking.
	* src/libcommon/m_msg.c (m_msg_send, m_msg_recv): Added support for
	  timing-out sent messages with fd_timed_write_iov() and received
	  messages with fd_timed_read_n().
	* src/libcommon/m_msg.c (_get_timeval): Added.
	* src/libcommon/fd.c (fd_timed_read_n, fd_timed_write_n,
	  fd_timed_write_iov, fd_is_nonblocking, _fd_get_poll_timeout): Added.
	* src/libcommon/fd.c (fd_set_close_on_exec, fd_set_nonblocking):
	  Replaced assert-check of "fd" parm with runtime-check.
	* src/libcommon/fd.c (fd_write_n): Changed "buf" parm type to const.
	* src/libcommon/fd.h: Updated prototypes.
	* TODO: Updated.

2011-01-20  Chris Dunlap  <cdunlap@llnl.gov>

	* src/munged/gids.c: Renamed struct gids "lock" to "mutex".

	* src/munged/gids.c: Renamed GIDS_DEBUG to _GIDS_DEBUG.

2011-01-19  Chris Dunlap  <cdunlap@llnl.gov>

	* : Updated copyright date range.

	* : Fixed bug with getgrent() / getpwnam() crashing munged during
	  supplementary group processing under glibc.  The use of the
	  non-reentrant getgrent() & getpwnam() should have been ok since they
	  were only called in/from _gids_hash_create(), and only one instance
	  of that routine could be running at a time from within munged;
	  as such, the use of static buffers in those routines was not an
	  issue.  However, users running NIS or LDAP domains under glibc
	  reported SEGVs which were traced back to getgrent() & getpwnam().
	  The switch to the corresponding reentrant routines appears to have
	  resolved the problem.  Abstractions for both getgrent() and
	  getpwnam() were added to address portability issues.  (issue 2)
	* src/munged/gids.c (_gids_hash_create): Replaced calls to
	  setgrent(), getgrent(), and endgrent() with xgetgrent_init(),
	  xgetgrent(), and xgetgrent_fini().
	* src/munged/xgetgrent.c, src/munged/xgetgrent.h: Added.
	* src/munged/Makefile.am: Added xgetgrent.c and xgetgrent.h.
	* configure.ac, config/x_ac_getgrent.m4: Added X_AC_GETGRENT.
	* src/munged/gids.c (_gids_hash_create, _gids_user_to_uid):
	  Replaced calls to getpwnam() with xgetpwnam().
	* src/munged/xgetpwnam.c, src/munged/xgetpwnam.h: Added.
	* src/munged/Makefile.am: Added xgetpwnam.c and xgetpwnam.h.
	* configure.ac, config/x_ac_getpwnam.m4: Added X_AC_GETPWNAM.
	* configure.ac: Added autoconf check for sysconf().
	* src/munged/gids.c (_gids_hash_create): Tweaked test of return value
	  from _gids_user_to_uid().
	* src/munged/gids.c (_gids_update): Set t_last_update to the time of
	  the last successful update instead of the GIDS_GROUP_FILE mtime.
	* src/munged/gids.c (gids_create, _gids_update): Fixed do_group_stat
	  not being protected by the gids mutex.  A minor race-condition
	  could occur if a SIGHUP was received towards the beginning of
	  _gids_update().  Now the mutex is held while do_group_stat is copied.
	  And since the mutex is being acquired at the top of _gids_update,
	  t_last_update has been moved into the gids struct as well.
	* src/munged/gids.c (_gids_user_to_uid): Made errors inserting into the
	  uid hash nonfatal since they are just a performance optimization.

2011-01-13  Chris Dunlap  <cdunlap@llnl.gov>

	* : Fixed VPATH builds failing to install the init script.  (issue 4)
	* src/etc/Makefile.am: Fixed install-data-local target to use $builddir
	  for referencing munge.init since it is listed in AC_CONFIG_FILES.

2011-01-06  Chris Dunlap  <cdunlap@llnl.gov>

	* : Fixed bug with CFLAGS specified at configure-time nullifying the
	  "--enable-debug" configure option.  (issue 3)
	* config/x_ac_debug.m4: Instead of modifying CFLAGS, set DEBUGCFLAGS
	  and passed it via AM_CFLAGS.  Also fixed NDEBUG to ensure it is not
	  defined when --enable-debug is set.
	* src/munged/Makefile.am: Added AM_CFLAGS to munged_CFLAGS.

2010-11-05  Chris Dunlap  <cdunlap@llnl.gov>

	* src/munged/auth_recv.c: Tweaked whitespace.

2010-11-03  Chris Dunlap  <cdunlap@llnl.gov>

	* : Re-bootstrap'd with autoconf-2.67.

2010-09-21  Chris Dunlap  <cdunlap@llnl.gov>

	* src/munge/munge.1.in, src/munge/remunge.1.in, src/munge/unmunge.1.in,
	  src/libmunge/munge.3.in, src/libmunge/munge_ctx.3.in,
	  src/libmunge/munge_enum.3.in, src/libcommon/munge.7.in,
	  src/munged/munged.8.in: Tweaked manpages.  Updated content.
	  Fixed typos and formatting.

	* README: Tweaked usage formatting.

	* src/libcommon/license.c: Tweaked spacing in license_text[].

2010-09-08  Chris Dunlap  <cdunlap@llnl.gov>

	* : Replaced _cipher_map_enum() & _md_map_enum() case statements with
	  static array lookups resulting in a slight performance improvement.
	  The cipher_init_subsystem() & md_init_subsystem() routines were added
	  to initialize these static arrays before race conditions could arise.
	* src/munged/crypto.c (crypto_init):
	  Added calls to cipher_init_subsystem() & md_init_subsystem().
	* src/munged/cipher.c: Added _cipher_is_initialized flag & asserts.
	  Added cipher_init_subsystem().  Replaced _cipher_map_enum() case
	  statement with _cipher_map[] array lookup for Libgcrypt & OpenSSL.
	* src/munged/cipher.h: Added prototype for cipher_init_subsystem().
	* src/munged/md.c: Added _md_is_initialized flag & asserts.
	  Added md_init_subsystem().  Replaced _md_map_enum() case statement
	  with _md_map[] array lookup for Libgrypt & OpenSSL.
	* src/munged/md.h: Added prototype for md_init_subsystem().
	* src/libmunge/munge.h: Added enums for MUNGE_CIPHER_LAST_ITEM,
	  MUNGE_MAC_LAST_ITEM, and MUNGE_ZIP_LAST_ITEM.

2010-07-14  Chris Dunlap  <cdunlap@llnl.gov>

	* src/libcommon/munge_defs.h, src/libmunge/m_msg_client.c,
	  src/munged/conf.c, src/munged/conf.h,
	  src/munged/dec.c, src/munged/enc.c:
	  Renamed MUNGE_REPLAY_RETRY_FLAG to MUNGE_SOCKET_RETRY_FLAG.
	  Renamed MUNGE_SOCKET_XFER_ATTEMPTS to MUNGE_SOCKET_RETRY_ATTEMPTS.
	  Renamed MUNGE_SOCKET_XFER_USLEEP to MUNGE_SOCKET_RETRY_USECS.
	  Renamed got_replay_retry to got_socket_retry in struct conf.

	* src/libcommon/munge_defs.h, src/munged/replay.c:
	  Renamed MUNGE_REPLAY_PURGE_TIMER to MUNGE_REPLAY_PURGE_SECS.

	* src/libcommon/munge_defs.h, src/munged/conf.c:
	  Renamed MUNGE_GROUP_UPDATE_TIMER to MUNGE_GROUP_UPDATE_SECS.
	* src/munged/conf.c, src/munged/conf.h, src/munged/munged.c:
	  Renamed gids_interval to gids_update_secs in struct conf.

	* src/munged/conf.h: Tweaked struct conf comment for def_ttl & max_ttl.

2010-07-06  Chris Dunlap  <cdunlap@llnl.gov>

	* src/libmunge/munge.3.in: Tweaked munge(3) manpage name.

	* config/x_ac_check_pthreads.m4: Tweaked description.

2010-05-23  Chris Dunlap  <cdunlap@llnl.gov>

	* doc/credential_v3_format.txt: Twiddled quote marks.

	* README: Tweaked usage text.

2010-05-19  Chris Dunlap  <cdunlap@llnl.gov>

	* README, src/libcommon/munge.7.in: Updated overview text,
	  breaking OVERVIEW section into USAGE and DETAILS.

2010-04-26  Chris Dunlap  <cdunlap@llnl.gov>

	* : Updated homepage URL.

2010-03-23  Chris Dunlap  <cdunlap@llnl.gov>

	* : Released 0.5.9.

	* HISTORY, META, NEWS: Updated for 0.5.9 release.

	* PLATFORMS: Added kernel release info for GNU/kFreeBSD.

	* config/x_ac_select_auth_method.m4, PLATFORMS: Renamed Solaris
	  references to SunOS in order to be consistent with uname output.

	* config/config.guess, config/config.sub:
	  Updated via autotools-dev-20100122.1.

	* src/etc/munge.sysconfig: Removed svn id keyword.

	* Makefile.am, src/Makefile.am, src/etc/Makefile.am,
	  src/libcommon/Makefile.am, src/libmissing/Makefile.am,
	  src/libmunge/Makefile.am, src/munge/Makefile.am,
	  src/munged/Makefile.am, config/Make-inc.mk:
	  Added copyleft boilerplate.

2010-03-16  Chris Dunlap  <cdunlap@llnl.gov>

	* PLATFORMS: Updated.

	* README: Added license info.

2010-03-15  Chris Dunlap  <cdunlap@llnl.gov>

	* config/x_ac_select_auth_method.m4: Tweaked platform comment for
	  AUTH_METHOD_LOCAL_PEERCRED.

2010-03-11  Chris Dunlap  <cdunlap@llnl.gov>

	* configure.ac: Tweaked formatting.

	* config/x_ac_select_auth_method.m4: Tweaked platform comment for
	  AUTH_METHOD_LOCAL_PEERCRED.

	* config/x_ac_select_auth_method.m4: Fixed check for struct xucred to
	  work on FreeBSD-4.7 with the addition of <sys/param.h> and
	  <sys/types.h>.

2010-03-10  Chris Dunlap  <cdunlap@llnl.gov>

	* config/x_ac_check_fifo_recvfd.m4, config/x_ac_check_so_peercred.m4:
	  Tweaked formatting.

	* configure.ac: Fixed check for socklen_t to work on FreeBSD-4.7 with
	  the addition of <sys/types.h>.
	* config/x_ac_check_local_peercred.m4, src/munged/auth_recv.c:
	  Added <sys/un.h> for LOCAL_PEERCRED define on FreeBSD-4.7.
	  Added <sys/param.h> for NGROUPS on FreeBSD-4.7 (needed for ucred.h).
	  Note that, by default, AUTH_METHOD_GETPEEREID is selected on FreeBSD;
	  however, AUTH_METHOD_LOCAL_PEERCRED also works there since supposedly
	  its getpeereid() is implemented via LOCAL_PEERCRED.

2010-03-09  Chris Dunlap  <cdunlap@llnl.gov>

	* src/munged/munged.c, src/munged/job.c: Changed type of global "done"
	  signal handler flag to volatile sig_atomic_t.  Moved exit_handler()'s
	  log_msg() call outside of signal handler and into job_accept().

2010-03-08  Chris Dunlap  <cdunlap@llnl.gov>

	* src/etc/munge.init.in: Added stanza to service_start() to create
	  /var/run/munge dir if needed.  Fixes bug on Debian/Ubuntu when RAMRUN
	  is enabled.

2010-03-02  Chris Dunlap  <cdunlap@llnl.gov>

	* config/x_ac_select_auth_method.m4: Tweaked whitespace.

	* : Changed license from GPLv2+ to GPLv3+/LGPLv3+.

2010-02-11  Chris Dunlap  <cdunlap@llnl.gov>

	* config/x_ac_debug.m4: Tweaked AC_MSG_RESULT text on failure.

	* config/x_ac_select_crypto_lib.m4:
	  Tweaked AC_MSG_RESULT text on failure.

	* : Moved the compile-time checks for determining the client
	  authentication method into the configure script.
	* configure.ac, config/x_ac_select_auth_method.m4:
	  Added X_AC_SELECT_AUTH_METHOD.
	* config/x_ac_check_fifo_recvfd.m4: Moved check for struct strrecvfd
	  into config/x_ac_select_auth_method.m4 since it is required for both
	  AUTH_METHOD_RECVFD_MKFIFO & AUTH_METHOD_RECVFD_MKNOD.
	* src/libcommon/auth_policy.h, src/libcommon/common.h,
	  src/libcommon/Makefile.am: Removed "auth_policy.h".
	* src/libmunge/auth_send.c, src/munged/auth_recv.c, src/munged/conf.c:
	  Replaced MUNGE_AUTH_* defs with corresponding AUTH_METHOD_* defs.

	* src/libmunge/auth_send.h: Changed #ifdef guard to MUNGE_AUTH_SEND_H.
	* src/munged/auth_recv.h: Changed #ifdef guard to MUNGE_AUTH_RECV_H.

	* configure.ac, config/x_ac_gpl_licensed.m4: Removed X_AC_GPL_LICENSED.
	* src/libmunge/munge.h: Removed #error if !GPL_LICENSED.
	* src/libmunge/munge.3.in, src/libmunge/munge_ctx.3.in,
	  src/libmunge/munge_enum.3.in: Removed references to GPL_LICENSED.

	* configure.ac: Added check for struct ucred in <sys/socket.h>.
	* src/libcommon/auth_policy.h: Added test for HAVE_STRUCT_UCRED to
	  MUNGE_AUTH_SO_PEERCRED client authentication check.

	* configure.ac, config/x_ac_check_so_peercred.m4:
	  Renamed from config/x_ac_check_peercred.m4.
	* src/libcommon/auth_policy.h, src/munged/auth_recv.c:
	  Renamed MUNGE_AUTH_PEERCRED to MUNGE_AUTH_SO_PEERCRED.

2010-02-10  Chris Dunlap  <cdunlap@llnl.gov>

	* configure.ac, config/x_ac_check_local_peercred.m4:
	  Added X_AC_CHECK_LOCAL_PEERCRED.  Added check for struct xucred in
	  <sys/ucred.h>.
	* src/libcommon/auth_policy.h, src/munged/auth_recv.c (auth_recv):
	  Added MUNGE_AUTH_LOCAL_PEERCRED client authentication support for
	  Debian GNU/kFreeBSD systems.

	* configure.ac: Replaced AC_GNU_SOURCE with AC_USE_SYSTEM_EXTENSIONS
	  per autoupdate.

	* : Re-bootstrap'd with autoconf-2.65, automake-1.11.1, libtool 2.2.6b.

	* : Updated copyright date range.

2009-09-18  Chris Dunlap  <cdunlap@llnl.gov>

	* src/etc/munge.init.in: Applied patch from Petter Reinholdtsen
	  <pere@hungry.com> to correct LSB run-time dependencies
	  <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=541238>.
	  Note that LSB runlevels were removed by an earlier change to
	  prevent the daemon from being started by default on Fedora/RedHat.

2009-08-25  Chris Dunlap  <cdunlap@llnl.gov>

	* src/munged/munged.c: Re-ordered functions.

2009-08-04  Chris Dunlap  <cdunlap@llnl.gov>

	* src/libcommon/munge_defs.h: Tweaked comments.

	* src/libcommon/log.c: Added initializer for log_ctx.id.

	* src/libcommon/log.c (_log_aux): Replaced timestamp code w/ strftimet.

	* src/libcommon/str.c (strftimet): Added.
	* src/libcommon/str.h: Added strftimet() prototype.  Tweaked comments.

2009-07-30  Chris Dunlap  <cdunlap@llnl.gov>

	* src/libcommon/munge_defs.h: Added comment describing latest attack
	  against 11-round AES-256 in 2^70 time.

2009-07-06  Chris Dunlap  <cdunlap@llnl.gov>

	* src/munge/munge.c (parse_cmdline),
	  src/munge/remunge.c (parse_cmdline),
	  src/munge/unmunge.c (parse_cmdline),
	  src/munged/conf.c (parse_cmdline):
	  Renamed opt_string to short_opts, opt_table to long_opts.

	* src/munge/munge.c (parse_cmdline),
	  src/munge/remunge.c (parse_cmdline),
	  src/munge/unmunge.c (parse_cmdline),
	  src/munged/conf.c (parse_cmdline):
	  Added case for missing option argument.

2009-06-10  Chris Dunlap  <cdunlap@llnl.gov>

	* src/libmunge/enum.c (munge_enum_str_to_int),
	  src/munge/munge.c (parse_cmdline),
	  src/munge/remunge.c (parse_cmdline),
	  src/munged/conf.c (parse_cmdline):
	  Added additional checks for strtol() & strtoul().

2009-05-04  Chris Dunlap  <cdunlap@llnl.gov>

	* configure.ac: Added AC_GNU_SOURCE macro (note that it is called
	  before any macros that run the C compiler).  As of glibc 2.8, the
	  _GNU_SOURCE feature test macro must be defined in order to obtain the
	  ucred struct definition.

2009-04-27  Chris Dunlap  <cdunlap@llnl.gov>

	* : Re-bootstrap'd with autoconf-2.61, automake-1.10.1.

	* configure.ac: Added AM_PROG_CC_C_O for compiling auth_recv.c with
	  per-target flags.

2009-04-23  Chris Dunlap  <cdunlap@llnl.gov>

	* : Updated copyright date range.

	* src/munge/munge.1.in, src/munge/remunge.1.in, src/munge/unmunge.1.in,
	  src/munged/munged.8.in: Changed "--socket string" to "--socket path".

	* src/etc/munge.init.in: Swapped order of CONFIG & DAEMON_ARGS vars.

2009-04-06  Chris Dunlap  <cdunlap@llnl.gov>

	* src/etc/munge.init.in: Changed LSB Default-Start / Default-Stop and
	  chkconfig runlevels so daemon is not started by default.

2008-12-10  Chris Dunlap  <cdunlap@llnl.gov>

	* src/munged/gids.c (_gids_uid_alloc): Added check for valid 'user'.

	* src/munged/gids.c (_gids_uid_alloc): Updated usage comment.

	* src/munged/gids.c (_gids_hash_create): Added guard for processing
	  results of getgrent() to avoid dereferencing gr_mem if NULL.

	* src/munged/gids.c (_gids_hash_create): Added strerror() to log msg
	  for getgrent() failure.

	* src/munged/gids.c (_gids_hash_create): Added 'do_group_db_close'
	  guard var for endgrent() in 'err' path.

	* src/munged/gids.c (_gids_update): Restructured in order for the gids
	  mutex to be locked/unlocked only once instead of twice per call.

2008-08-14  Chris Dunlap  <cdunlap@llnl.gov>

	* src/libcommon/m_msg.c, src/libmunge/encode.c, src/munged/dec.c,
	  src/munged/enc.c, src/munged/munged.c: Removed unnecessary header
	  includes.

	* src/libmissing/inet_ntop.h, src/munged/conf.c, src/munge/unmunge.c:
	  Moved <arpa/inet.h> header include into "inet_ntop.h" #if/#else.

2008-07-01  Chris Dunlap  <cdunlap@llnl.gov>

	* : Re-bootstrap'd with autoconf-2.61, automake-1.10.

	* configure.ac, config/config.h.in,
	  src/libcommon/munge_defs.h, src/libmunge/enum.c,
	  src/libmunge/munge.h, src/libmunge/munge_ctx.3.in, src/munged/md.c:
	  Added support for MUNGE_MAC_SHA512.

	* doc/credential_v3_format.txt: Added additional details to the steps
	  in which credentials are encoded.

2008-01-30  Chris Dunlap  <cdunlap@llnl.gov>

	* src/munged/path.h: Added missing #include.

	* src/munged/path.c (path_dirname): Changed behavior to return EINVAL
	  error if src is NULL.

2008-01-29  Chris Dunlap  <cdunlap@llnl.gov>

	* src/libcommon/ctx.c (munge_ctx_create): Fixed bug where
	  ctx->error_str could be read before it was initialized.

	* src/libcommon/str.c, src/libcommon/str.h (strcatf):
	  Fixed bug where strcatf()'s size_t return type prevented the error
	  code of -1 from being returned to the caller.
	* src/munged/crypto.c (openssl_log_msg):
	  Specified void cast to discard return value from strcatf().

2008-01-28  Chris Dunlap  <cdunlap@llnl.gov>

	* src/munged/gids.c (_gids_hash_create, _gids_user_to_uid):
	  Fixed bug where _gids_user_to_uid() returned a signed int identifying
	  the uid (on success) or -1 (on error).  This value was first assigned
	  directly to an unsigned uid_t and then tested for error.  But since
	  the var was unsigned, the test would always eval to true.

2008-01-09  Chris Dunlap  <cdunlap@llnl.gov>

	* : Updated copyright date range.

2007-10-10  Chris Dunlap  <cdunlap@llnl.gov>

	* DISCLAIMER.LLNS, DISCLAIMER.UC: Updated.

2007-10-08  Chris Dunlap  <cdunlap@llnl.gov>

	* src/etc/munge.init.in: Updated to conman r806.
	  Added support for Debian Etch & Ubuntu Edgy.
	  Renamed OPTIONS to DAEMON_ARGS.  Renamed SERVICE_NAME to SCRIPT_NAME.
	  Redirected ERRMSG to stderr.  Forced removal of PIDFILE on stop.
	  Replaced query_exec() with type.  Added log_init() and log_fini().
	  Added check for "dead" status if process not found & pidfile exists.
	* src/etc/munge.sysconfig: Renamed OPTIONS to DAEMON_ARGS.

2007-10-05  Chris Dunlap  <cdunlap@llnl.gov>

	* : Updated copyright info for LLNS.

2007-10-03  Chris Dunlap  <cdunlap@llnl.gov>

	* munge.spec: Added openssl-devel, bzip2-devel, and zlib-devel
	  BuildRequires for mock builds.

2007-09-10  Chris Dunlap  <cdunlap@llnl.gov>

	* src/etc/munge.init.in: Fixed bug with RH_SUBSYS referencing the init
	  script name instead of the executable daemon name.

	* src/etc/munge.init.in: Fixed bug with SERVICE_NAME not removing the
	  leading /[SK][0-9]+/, thereby causing the sysconfig file to be
	  ignored at boot (when referenced via "/etc/rc5.d/S40munge").

2007-04-04  Chris Dunlap  <cdunlap@llnl.gov>

	* src/etc/Makefile.am: Fixed bug in install-data-local target that
	  caused installation of munge.sysconfig to be considered new if
	  munge.init had changed.

	* src/etc/Makefile.am: Changed munge.sysconfig install perms to 0644.

2007-02-05  Chris Dunlap  <cdunlap@llnl.gov>

	* : Released 0.5.8.

	* TODO: Updated.

	* HISTORY, META, NEWS: Updated for 0.5.8 release.

2007-02-03  Chris Dunlap  <cdunlap@llnl.gov>

	* : Updated copyright date range.

	* src/munged/cipher.c (HAVE_LIBGCRYPT:_cipher_init): Fixed cast
	  causing stack corruption and overwriting 'algo' on amd64.

2006-12-26  Chris Dunlap  <cdunlap@llnl.gov>

	* src/munged/cipher.c (_cipher_update): Fixed compiler warning that
	  initialization discards qualifiers from pointer target type.

2006-12-25  Chris Dunlap  <cdunlap@llnl.gov>

	* NEWS: Tweaked capitalization.

2006-12-23  Chris Dunlap  <cdunlap@llnl.gov>

	* NEWS: Tweaked wording of 0.5.7 release notes.

	* : Released 0.5.7.

	* HISTORY, META, NEWS: Updated for 0.5.7 release.

2006-12-22  Chris Dunlap  <cdunlap@llnl.gov>

	* src/munged/crypto.c (crypto_fini, _openssl_thread_dynlock_destroy):
	  Changed pthread_mutex_destroy() error to be nonfatal.
	* src/munged/gids.c (gids_destroy): Changed pthread_mutex_destroy()
	  error to be nonfatal.
	* src/munged/work.c (work_fini): Changed pthread_cond_destroy() and
	  pthread_mutex_destroy() errors to be nonfatal.

2006-12-21  Chris Dunlap  <cdunlap@llnl.gov>

	* NEWS, src/munged/conf.c, src/munged/munged.8.in:
	  Changed --check-group-mtime to --group-check-mtime.

	* src/munged/gids.c: Added gids map timing information to log message.

	* HISTORY, META, NEWS: Updated for 0.5.7 release.

2006-12-20  Chris Dunlap  <cdunlap@llnl.gov>

	* src/munged/gids.c (_gids_dump_uid_hash): Tweaked debug table header.

	* src/munged/gids.c: Removed the need for casting the gids hash key
	  uid_t to a gid_t by making the gids hash return a struct gids_head
	  that points to a singly-linked list of struct gids_nodes.

	* src/munged/munged.8.in: Tweaked notes section.

2006-12-19  Chris Dunlap  <cdunlap@llnl.gov>

	* src/munged/munged.8.in: Tweaked docs for --group-update-time.

	* src/munged/conf.c:
	  Added --check-group-mtime and --group-update-time.
	* src/munged/munged.8.in:
	  Documented --check-group-mtime and --group-update-time.
	* src/munged/gids.c (gids_create): Added log messages.
	* src/munged/gids.h: Added GIDS_GROUP_FILE from gids.c.
	* src/munged/munged.c (main): Moved gids_create() lower.

	* src/libcommon/munge_defs.h: Tweaked comment.

	* src/libcommon/munge_defs.h:
	  Renamed MUNGE_GROUP_PARSE_TIMER to MUNGE_GROUP_UPDATE_TIMER.
	* src/munged/conf.c (create_conf):
	  Changed MUNGE_GROUP_PARSE_TIMER to MUNGE_GROUP_UPDATE_TIMER.

	* src/munged/munged.c (main): Moved handle_signals() to after
	  daemonize_init().
	* src/munged/munged.c (hup_handler): Added to invoke gids_update().
	* src/munged/gids.h: Changed prototype for gids_create().
	  Added gids_update().
	* src/munged/gids.c (gids_create): Initialized timer, interval, and
	  do_group_stat vars that were added to struct gids.
	* src/munged/gids.c (gids_update): Added public function to schedule
	  an immediate update.
	* src/munged/gids.c (_gids_update): Set do_group_stat flag to -1 on
	  stat() error, and resurrect it in gids_update() if enabled.
	* src/munged/conf.c (create_conf): Set conf flags via "!!" to ensure
	  proper boolean coversions.
	* src/munged/munged.8.in: Documented signals.
	* src/libcommon/munge_defs.h: Tweaked MUNGE_GROUP_STAT_FLAG docs.

2006-12-18  Chris Dunlap  <cdunlap@llnl.gov>

	* src/munged/gids.c: Added caching of uids from getpwnam().
	* src/munged/gids.h: Added UIDS_HASH_SIZE define.

	* : Added support for supplemental group info to be computed only once
	    or never.
	* src/libcommon/munge_defs.h:
	  Changed MUNGE_GROUP_PARSE_TIMER from 900 seconds to 3600 seconds.
	* src/munged/conf.h: Added gids_interval to struct conf.
	* src/munged/conf.c (create_conf): Initialized gids & gids_interval.
	* src/munged/gids.h: Tweaked gids_create() documentation.
	* src/munged/gids.c: Added support for GIDs mapping to be computed
	  only once if interval=0, and skipped altogether if interval=-1.

2006-12-12  Chris Dunlap  <cdunlap@llnl.gov>

	* src/libcommon/log.c (log_err, log_errno): Replaced magic number 1024
	  with LOG_BUFFER_MAXLEN define.

	* src/munged/munged.c (daemonize_init): Disabled "daemonize" pipe in
	  parent process after initial fork().

2006-12-06  Chris Dunlap  <cdunlap@llnl.gov>

	* src/munged/dec.c: Added missing stdlib.h & time.h #includes.

	* src/libmunge/munge_ctx.3.in: Renamed "COMPRESSION TYPES" section
	  header to "ZIP TYPES".

	* src/munged/munged.8.in: Fixed Description section to reflect the
	  changes introduced with the v3 credential format where compression
	  now takes place before the MAC calculation.
	* src/libcommon/munge.7.in, src/libmunge/munge.3.in,
	  src/libmunge/munge_ctx.3.in, src/libmunge/munge_enum.3.in,
	  src/munge/munge.1.in, src/munge/remunge.1.in, src/munged/munged.8.in:
	  Minor formatting, grammar, and spelling tweaks.

2006-12-01  Chris Dunlap  <cdunlap@llnl.gov>

	* doc/credential_v3_format.txt: Added comment specifying encryption
	  uses PKCS #5 padding.

2006-11-23  Chris Dunlap  <cdunlap@llnl.gov>

	* BUGS, TODO: Updated.

2006-11-22  Chris Dunlap  <cdunlap@llnl.gov>

	* NEWS: Tweaked wording of 0.5.6 release notes.

	* : Released 0.5.6.

	* HISTORY, META, NEWS: Updated for 0.5.6 release.

	* src/munged/auth_recv.h, src/munged/conf.h, src/munged/crypto.h,
	  src/munged/thread.h: Tweaked formatting.

	* src/munged/cred.h: Removed evp.h include to fix bug causing build
	  using Libgcrypt to fail without OpenSSL headers.

2006-11-14  Chris Dunlap  <cdunlap@llnl.gov>

	* : Released 0.5.5.

	* BUGS, HISTORY, META, NEWS, PLATFORMS: Updated for 0.5.5 release.

	* src/libmunge/munge.h: Tweaked comments.

	* src/munged/cipher.c (HAVE_OPENSSL:_cipher_map_enum),
	  src/libmunge/enum.c: Made AES-256 support dependent upon SHA-256
	  since the 256-bit cipher key length can currently only be satisfied
	  by a 256-bit message digest.

2006-11-13  Chris Dunlap  <cdunlap@llnl.gov>

	* src/munged/cipher.c (HAVE_LIBGCRYPT:_cipher_final): Changed so
	  memcpy() of decrypted plaintext only occurs if data exists after
	  PKCS #5 block padding has been removed.

	* src/munged/cipher.c, src/munged/mac.c, src/munged/md.c:
	  Added log_msg()s at LOG_DEBUG to investigate infrequent "Unable to
	  encrypt credential" errors when using the blowfish cipher with
	  Libgcrypt.  The bug is generated by gcry_cipher_setkey() returning a
	  "Weak encryption key" error string.  Googling around turns up a post
	  by Christian Grothoff saying "This is a (forgotten) problem with
	  libgcrypt.  The crypto library insists on checking that the key for
	  the blowfish cypher is 'secure'."  Krista Bennett then reports that
	  "The libgcrypt weak encryption key bug has been fixed in CVS."

	* config/x_ac_path_openssl.m4:
	  Added /usr/sfw to _x_ac_path_openssl_dirs for Solaris.

	* configure.ac: Fixed type check for CRYPTO_dynlock so OpenSSL-specific
	  CFLAGS are included.

	* src/munged/cipher.c (HAVE_OPENSSL:_cipher_map_enum): Fixed compiler
	  warning "assignment discards qualifiers from pointer target type".
	* src/munged/md.c (HAVE_OPENSSL:_md_map_enum): Fixed compiler warning
	  "assignment discards qualifiers from pointer target type".

	* src/munged/mac.c, src/munged/mac.h:
	  Renamed struct mac_ctx len var to diglen.
	* src/munged/md.c, src/munged/md.h:
	  Renamed struct md_ctx len var to diglen.

2006-11-09  Chris Dunlap  <cdunlap@llnl.gov>

	* src/munged/cipher.c (HAVE_LIBGCRYPT:_cipher_update):
	  Tweaked assertions.  Updated documentation.
	* src/munged/cipher.c (HAVE_LIBGCRYPT:_cipher_final):
	  Tweaked assertions.

	* src/munged/cipher.c (cipher_update, cipher_final):
	  Added check for valid dstlen.

	* src/munged/mac.c (mac_init): Changed so assert assignments are only
	  made if _mac_init() succeeds.
	* src/munged/md.c (md_init): Changed so assert assignments are only
	  made if _md_init() succeeds.

	* src/munged/random.h: Updated documentation for random_init().
	* src/munged/random.c (HAVE_LIBGCRYPT:_random_read_seed):
	  Fixed inner loop to process number of bytes read and exit on EOF.
	* src/munged/random.c (HAVE_LIBGCRYPT:_random_write_seed):
	  Tweaked var names to match HAVE_LIBGCRYPT:_random_read_seed().

	* src/munged/mac.h: Added len to struct mac_ctx.
	* src/munged/mac.c (mac_final): Added check for valid dstlen.
	* src/munged/mac.c (_mac_init): Set struct mac_ctx len var.
	* src/munged/mac.c (_mac_final): Added dstlen check to ensure mac will
	  not overflow dst buffer.
	* src/munged/mac.c (HAVE_LIBGCRYPT:_mac_block): Memset ctx when done.
	* src/munged/mac.c (HAVE_OPENSSL:_mac_block): Added dstlen check to
	  ensure mac will not overflow dst buffer.

2006-11-08  Chris Dunlap  <cdunlap@llnl.gov>

	* src/munged/md.h: Added len to struct md_ctx.
	* src/munged/md.c (md_final): Added check for valid dstlen.
	* src/munged/md.c (md_copy): Copied struct md_ctx len var.
	* src/munged/md.c (_md_init): Set struct md_ctx len var.
	* src/munged/md.c (_md_final): Added dstlen check to ensure md will not
	  overflow dst buffer.

	* src/munged/md.c (md_cleanup): Removed unnecessary var initialization.

	* src/munged/crypto.c (crypto_init): Tweaked err msg verbage.

2006-11-07  Chris Dunlap  <cdunlap@llnl.gov>

	* src/munged/enc.c (enc_mac): Reverted assertion after mac_final().

2006-11-02  Chris Dunlap  <cdunlap@llnl.gov>

	* src/munged/enc.c (enc_validate_msg): Added check to ensure the MAC
	  would generate a DEK of sufficient length for the cipher.
	* src/munged/dec.c (dec_unpack_outer): Added check to ensure the MAC
	  would generate a DEK of sufficient length for the cipher.
	* src/libmunge/munge_ctx.3.in: Updated documentation for
	  MUNGE_CIPHER_AES256 to note that it requires MUNGE_MAC_SHA256.

	* src/munged/conf.c (create_subkeys): Moved check for minimum length
	  of keyfile from _conf_open_keyfile() in order for it to be performed
	  on the number of bytes processed instead of the size of the file.

	* src/munged/random.c (HAVE_LIBGCRYPT:_random_read_seed):
	  Removed warning if seed does not exist.

	* src/munged/conf.c (_conf_open_keyfile): Added check for minimum
	  length of keyfile.
	* src/libcommon/munge_defs.h: Added MUNGE_MINIMUM_SECRET_KEY_LEN.

2006-11-01  Chris Dunlap  <cdunlap@llnl.gov>

	* config/x_ac_select_crypto_lib.m4: Changed default crypto lib to
	  OpenSSL due to better performance.
	* QUICKSTART: Updated.

	* : Reduced memory requirements for replay cache.
	* src/libcommon/munge_defs.h: Added MUNGE_MINIMUM_MD_LEN.
	* src/munged/replay.c (replay_insert, replay_remove):
	  Changed replay_key.data.mac[] to only store the first
	  MUNGE_MINIMUM_MD_LEN bytes of the credential's MAC.

2006-10-31  Chris Dunlap  <cdunlap@llnl.gov>

	* TODO: Updated.

	* : Added support for MUNGE_CIPHER_AES256 and MUNGE_MAC_SHA256.
	* configure.ac, config/config.h.in: Added OpenSSL function checks for
	  EVP_aes_256_cbc() and EVP_sha256().
	* src/libcommon/munge_defs.h: Updated MUNGE_MAXIMUM_KEY_LEN and
	  MUNGE_MAXIMUM_MD_LEN.
	* src/libmunge/munge.h: Added enums for MUNGE_CIPHER_AES256 and
	  MUNGE_MAC_SHA256.  Renamed enum for MUNGE_CIPHER_AES_128 to
	  MUNGE_CIPHER_AES128.  Added MUNGE_CIPHER_AES_128 define for
	  backwards-compatibility.
	* src/libmunge/enum.c: Updated _munge_cipher_table[] and
	  _munge_mac_table[].
	* src/libmunge/munge_ctx.3.in: Documented MUNGE_CIPHER_AES256 and
	  MUNGE_MAC_SHA256.  Updated documentation for MUNGE_MAC_MD5 and
	  MUNGE_MAC_SHA1.
	* src/munged/cipher.c: Added support for MUNGE_CIPHER_AES256.
	* src/munged/md.c: Added support for MUNGE_MAC_SHA256.

2006-10-30  Chris Dunlap  <cdunlap@llnl.gov>

	* : Added support for Libgcrypt.
	* src/munged/dec.c, src/munged/enc.c, src/munged/conf.c:
	  Updated calls from cipher.h, md.h, mac.h, and random.h.
	* src/munged/cipher.c, src/munged/cipher.h: Refactored routines into
	  static openssl routines.  Added static libgcrypt routines.  Added
	  cipher_map_enum() to replace lookup.c:lookup_cipher().  Changed
	  prototypes for cipher_init(), cipher_block_size(), cipher_iv_size(),
	  and cipher_key_size() to replace use of EVP_CIPHER with
	  munge_cipher_t.  Changed use of [dstlen] parm for cipher_update()
	  and cipher_final().
	* src/munged/md.c, src/munged/md.h: Refactored routines into static
	  openssl routines.  Added static libgcrypt routines.  Added
	  md_map_enum() to replace lookup.c:lookup_mac().  Changed prototypes
	  for md_init() and md_size() to replace use of EVP_MD with
	  munge_mac_t.  Changed use of [dstlen] parm for md_final().
	* src/munged/mac.c, src/munged/mac.h: Refactored routines into static
	  openssl routines.  Added static libgcrypt routines.  Added
	  mac_map_enum() to replace lookup.c:lookup_mac().  Changed prototypes
	  for mac_init(), mac_size(), and mac_block() to replace use of EVP_MD
	  with munge_mac_t.  Changed use of [dstlen] parm for mac_final() and
	  mac_block().
	* src/munged/random.c: Refactored routines into static openssl
	  routines.  Added static libgcrypt routines.
	* src/munged/munged.c: Replaced crypto_thread_init() with
	  crypto_init(), and crypto_thread_fini() with crypto_fini().
	* src/munged/crypto.c, src/munged/crypto.h: Added crypto_init() and
	  crypto_fini().  Refactored crypto_thread.c routines into static
	  openssl routines.  Added crypto_log.c:crypto_log_msg() routine as
	  openssl_log_msg().  Added static libgcrypt routines.
	* src/munged/crypto_log.c, src/munged/crypto_log.h,
	  src/munged/crypto_thread.c, src/munged/crypto_thread.h,
	  src/munged/lookup.c, src/munged/lookup.h: Removed.
	* src/libmunge/enum.c: Updated test for MUNGE_CIPHER_AES128_FLAG.
	* src/libcommon/munge_defs.h: Updated MUNGE_DEFAULT_CIPHER test for
	  libgcrypt.  Added MUNGE_MAXIMUM_BLK_LEN, MUNGE_MAXIMUM_KEY_LEN, and
	  MUNGE_MAXIMUM_MD_LEN.
	* src/munged/cred.h: Updated MAX_DEK, MAX_IV, and MAX_MAC to use new
	  munge_defs.h MUNGE_MAXIMUM_*_LEN defines.
	* src/munged/Makefile.am: Added $(CRYPTO_CFLAGS) and $(CRYPTO_LIBS).
	  Updated munged_SOURCES.
	* configure.ac: Added AM_PATH_LIBGCRYPT, X_AC_PATH_OPENSSL, and
	  X_AC_SELECT_CRYPTO_LIB.  Moved tests for OpenSSL into conditional
	  based on $(CRYPTO_PKG).
	* config/config.h.in: Added HAVE_LIBGCRYPT and HAVE_OPENSSL.
	* config/x_ac_arch.m4: Removed x_ac_cv_check_ssl_dir unsets.
	* config/x_ac_path_openssl.m4: Added to replace x_ac_check_ssl.m4.
	* config/x_ac_check_ssl.m4: Replaced by x_ac_path_openssl.m4.
	* config/x_ac_select_crypto_lib.m4: Added.
	* BUGS, QUICKSTART, TODO: Updated.

	* src/libmissing/Makefile.am: Replaced @LTLIBOBJS@ with $(LTLIBOBJS).

	* doc/credential_v3_format.txt: Added comment specifying encryption is
	  performed in cipher block chaining mode.

2006-10-02  Chris Dunlap  <cdunlap@llnl.gov>

	* src/etc/munge.sysconfig: Tweaked commented OPTIONS var.

2006-10-01  Chris Dunlap  <cdunlap@llnl.gov>

	* README, src/libcommon/munge.7.in: Changed header name.

2006-09-26  Chris Dunlap  <cdunlap@llnl.gov>

	* : Released 0.5.4.

	* HISTORY, META, NEWS: Updated for 0.5.4 release.

	* src/etc/munge.init.in (signal_process): Replaced use of return code
	  from second kill with another query_pids.  This protects against the
	  first kill taking slightly too long and the second kill not finding
	  the process.

	* src/libcommon/log.c (_log_die): Changed "c" var type to "signed char"
	  since a char is unsigned on AIX.
	* src/munged/munged.c (daemonize_init): Changed "priority" var type to
	  "signed char" since a char is unsigned on AIX.

	* src/munged/auth_recv.c (_check_auth_client_dir):
	  Combined tests for write permissions and the sticky bit being set.

	* src/etc/munge.init.in (service_restart): Replaced negated conditional
	  with if/else since Solaris shell complains about commands starting
	  with "!".

	* src/munged/path.c, src/munged/path.h: Fixed bug on FreeBSD where
	  PATH_MAX was not being defined by "path.h".

	* src/etc/Makefile.am: Fixed installed directory ownership on
	  $(localstatedir) & $(localstatedir)/*.

2006-09-25  Chris Dunlap  <cdunlap@llnl.gov>

	* src/etc/Makefile.am, src/libcommon/Makefile.am,
	  src/libmunge/Makefile.am, src/munge/Makefile.am,
	  src/munged/Makefile.am: Fixed bug on AIX causing directories created
	  during "make install" to have wrong permissions inherited from umask.

	* src/munged/auth_recv.c (_check_auth_client_dir):
	  Added auth client dir ownership check.

	* BUGS, PLATFORMS, TODO: Updated.

	* README, munge.spec, src/libcommon/munge.7.in: Updated description.

	* QUICKSTART: Updated.

	* src/munged/munged.8.in: Updated info on --force cmdline opt.
	* src/munged/munged.c (write_pidfile): Added pidfile_name path checks.
	* src/munged/munged.c (open_logfile): Added logfile_name path checks.
	* src/munged/munged.c (sock_create): Added socket_name path checks.
	* src/munged/auth_recv.c (auth_recv_init):
	  Added auth_server_dir & auth_client_dir path checks via
	  _check_auth_server_dir() & _check_auth_client_dir().
	* src/munged/auth_recv.h: Updated prototype for auth_recv_init().
	* src/munged/conf.c (create_subkeys): Added key_name path checks
	  via _conf_open_keyfile().
	* src/munged/random.c (random_init): Added seed_name path checks.
	* src/munged/random.c (random_fini): Restricted umask as a precaution.
	* src/munged/Makefile.am: Added path.c & path.h.
	* src/munged/path.c, src/munged/path.h: Added.

2006-09-12  Chris Dunlap  <cdunlap@llnl.gov>

	* src/libmunge/munge_enum.3.in, src/munge/munge.1.in,
	  src/munge/remunge.1.in: Fixed Lintian warning about
	  hyphen-used-as-minus-sign (Thanks to Gennaro Oliva).

2006-09-07  Chris Dunlap  <cdunlap@llnl.gov>

	* src/etc/munge.init.in: Changed use of "expr" to "expr --" to prevent
	  next arg from potentially being treated as a cmdline option.

2006-09-04  Chris Dunlap  <cdunlap@llnl.gov>

	* src/etc/Makefile.am: Fixed bug with unterminated line (ie, missing
	  semicolon) from previous commit.

2006-09-02  Chris Dunlap  <cdunlap@llnl.gov>

	* src/etc/Makefile.am: Changed the install-data-local target so the
	  /etc/munge, /var/lib/munge, /var/log/munge, and /var/run/munge dirs
	  would be owned by "daemon" if the "make install" was done by root.

2006-09-01  Chris Dunlap  <cdunlap@llnl.gov>

	* README, munge.spec, src/libcommon/munge.7.in: Updated description.

	* src/etc/munge.init.in: Removed dependency on awk.

	* src/etc/Makefile.am: Changed the install-data-local target so the
	  installed munge.init and munge.sysconfig files would only be given
	  the ".new" suffix if the files already existed at the destination
	  and differed from the files about to be installed.

2006-08-31  Chris Dunlap  <cdunlap@llnl.gov>

	* src/libcommon/auth_policy.h: Updated comment to add Darwin to the
	  list of platforms supporting getpeereid().

	* configure.ac, config/x_ac_darwin.m4: Added support for Darwin.
	  By defining _APPLE_C_SOURCE via configure, a different version of
	  certain pthread routines is used.  Without it, pthread_cond_wait()
	  is not recognized as a cancellation point; consequently, work_fini()
	  is unable to cancel the worker threads, and munged hangs on
	  pthread_join() at exit as a result.

2006-08-30  Chris Dunlap  <cdunlap@llnl.gov>

	* munge.spec: Tweaked formatting.

	* src/libcommon/auth_policy.h: Updated comment regarding when
	  getpeereid() first appeared in FreeBSD.

	* src/etc/munge.init.in: Removed use of UID variable since RedHat
	  returns the error "UID: readonly variable".

	* munge.spec: Replaced use of "daemon" group with "root" group since
	  the daemon group does not exist on AIX by default.  The root group
	  does not exist there either, but RPM seems to quietly deal with it.

2006-08-29  Chris Dunlap  <cdunlap@llnl.gov>

	* config/x_ac_arch.m4: Removed leftover code from previous commit.

	* README.AIX, munge.spec, config/x_ac_arch.m4: Fixed so 32-bit &
	  64-bit builds work on AIX without a gcc wrapper script setting either
	  "-maix32" or "-maix64".

	* munge.spec: Tweaked error messages.

2006-08-28  Chris Dunlap  <cdunlap@llnl.gov>

	* munge.spec: Fixed aix5.3 %ifos/%ifnos lines to include os_compats.

	* munge.spec: Fixed so both shared & static libs are built on AIX.

	* munge.spec: Fixed so shared libs are built on AIX (ie, changed rpm
	  os define from "aix" to "aix5.3" so configure script would detect
	  support for building shared libs).

	* src/etc/munge.init.in: Replaced "id -u" with "id|sed" (for Solaris).

2006-08-24  Chris Dunlap  <cdunlap@llnl.gov>

	* configure.ac, src/libcommon/auth_policy.h, src/munged/auth_recv.c:
	  Added support for MUNGE_AUTH_GETPEERUCRED (Solaris 10).

	* configure.ac: Replaced nsl & socket X_AC_CHECK_COND_LIB with
	  AC_SEARCH_LIBS.  Moved X_AC_CHECK_SSL to after this check so LIBS
	  would include -lsocket & -lnsl if needed (eg, on Solaris).  Merged
	  check for inet_ntop with the rest of AC_REPLACE_FUNCS.
	* src/libmunge/Makefile.am, src/munge/Makefile.am,
	  src/munged/Makefile.am: Removed use of LIBNSL & LIBSOCKET.

2006-08-23  Chris Dunlap  <cdunlap@llnl.gov>

	* src/libmunge/munge.3.in: Tweaked synopsis formatting.

2006-08-22  Chris Dunlap  <cdunlap@llnl.gov>

	* src/munge/munge.1.in, src/munge/remunge.1.in, src/munge/unmunge.1.in,
	  src/libmunge/munge.3.in, src/libmunge/munge_ctx.3.in,
	  src/libmunge/munge_enum.3.in, src/libcommon/munge.7.in,
	  src/munged/munged.8.in: Added copyright boilerplate.

2006-08-21  Chris Dunlap  <cdunlap@llnl.gov>

	* src/libcommon/munge.7.in: Updated description.

	* QUICKSTART: Updated.

2006-08-20  Chris Dunlap  <cdunlap@llnl.gov>

	* QUICKSTART: Updated.

	* README, munge.spec: Updated description.

2006-08-16  Chris Dunlap  <cdunlap@llnl.gov>

	* : Updated copyright date range.

2006-08-10  Chris Dunlap  <cdunlap@llnl.gov>

	* src/etc/munge.init.in: Tweaked spacing.

	* src/etc/munge.init.in (service_restart): Changed so start would not
	  be attempted if preceding stop had failed.

	* src/etc/munge.init.in (service_start,service_stop): Replaced Debian's
	  "--oknodo" with test for "$0 status" since --oknodo would also mask
	  errors such as "operation not permitted".

	* Makefile.am: Replaced distclean-local target with DISTCLEANFILES.

	* src/etc/Makefile.am: Added munge.init to noinst_DATA, thereby adding
	  its dependency to the "all" target.

	* src/libcommon/log.c (_log_prefix): Changed priority prefixes to
	  mixed-case strings.

	* README, munge.spec: Updated description.

2006-07-27  Chris Dunlap  <cdunlap@llnl.gov>

	* src/etc/munge.init.in: Changed the test for starting a service on
	  RedHat to mirror the test for stopping a service there.

	* src/libcommon/log.c (_log_die): Changed behavior to only return error
	  message across "daemonize" pipe if the logging fp is not set to
	  stderr in order to avoid having the message written to stderr first
	  by the grandchild process and again by the original parent process.

	* src/etc/munge.init.in: Changed behavior to capture stderr on start
	  and output it on error.
	* src/etc/munge.init.in: Changed behavior on RedHat to not return an
	  error when stopping a service that is already stopped.

2006-07-26  Chris Dunlap  <cdunlap@llnl.gov>

	* src/munged/munged.c (main): Moved daemonize_fini() to just before
	  job_accept() in order to return more fatal error conditions to shell.
	* src/munged/munged.c (daemonize_init): Changed behavior for original
	  parent process to read error priority & message via "daemonize" pipe
	  and write error message to stderr before exiting.
	* src/munged/munged.c (open_logfile): Added.
	* src/munged/conf.c, src/munged/conf.h: Added logfile_name to conf.
	* src/libcommon/log.c (_log_aux): Added msgbuf/msgbuflen to prototype.
	  Changed behavior to return error message string via msgbuf.
	* src/libcommon/log.c (_log_die): Added priority & msg to prototype.
	  Changed behavior to return priority and msg across "daemonize" pipe.
	* src/libcommon/log.h (log_set_err_pipe): Updated documentation.

2006-07-25  Chris Dunlap  <cdunlap@llnl.gov>

	* src/munged/munged.c: Changed daemonize_init() and daemonize_fini()
	  so grandchild process can return error status to original parent
	  process via "daemonize" pipe.
	* src/libcommon/log.c (_log_die): Added check to return error status
	  across "daemonize" pipe.
	* src/libcommon/log.c, src/libcommon/log.h: Added log_set_err_pipe().

	* QUICKSTART: Updated.

	* src/etc/munge.sysconfig: Removed PIDFILE since the MUNGED_PIDFILE
	  define in src/libcommon/munge_defs.h needs to be modified as well.

2006-07-24  Chris Dunlap  <cdunlap@llnl.gov>

	* munge.spec: Tweaked %post test to create munge.key.

	* src/libcommon/auth_policy.h: Tweaked documentation.

	* munge.spec: Added munge requires tag to munge-devel & munge-libs.

	* munge.spec: Added %post to create munge.key if it does not exist.

	* src/munged/timer.c (timer_thread): Added pthread_sigmask() to new
	  thread to force signals to interrupt accept() in job_accept().
	* src/munged/work.c (_work_exec):  Added pthread_sigmask() to new
	  threads to force signals to interrupt accept() in job_accept().

2006-07-22  Chris Dunlap  <cdunlap@llnl.gov>

	* src/munged/conf.c (display_help): Tweaked verbage.

	* src/libcommon/str.c, src/libcommon/str.h: Added strhex2bin().
	  Renamed strhex() to strbin2hex() and changed prototype.
	* src/libmunge/auth_send.c (_name_auth_file): Changed behavior to name
	  auth file by XORing the first half of the random component of the
	  auth pipe with the second half.
	* src/munged/auth_recv.c: Renamed strhex() to strbin2hex().

2006-07-21  Chris Dunlap  <cdunlap@llnl.gov>

	* src/libmunge/auth_send.c (_name_auth_file): Updated function comment.
	* src/munged/auth_recv.c (_name_auth_pipe): Updated function comment.

	* BUGS, README.AIX, src/libcommon/munge_defs.h, src/munged/auth_recv.c,
	  src/munged/conf.c, src/munged/conf.h, src/munged/munged.8.in:
	  Changed MUNGE_AUTH_PIPE_DIR to MUNGE_AUTH_SERVER_DIR.
	  Changed MUNGE_AUTH_FILE_DIR to MUNGE_AUTH_CLIENT_DIR.
	  Changed "--auth-pipe-dir" to "--auth-server-dir".
	  Changed "--auth-file-dir" to "--auth-client-dir".
	* src/libcommon/m_msg.c, src/libcommon/m_msg.h,
	  src/libmunge/auth_send.c, src/munged/auth_recv.c:
	  Changed a_pipe_* to auth_s_*, a_file_* to auth_c_*.

	* src/etc/munge.init.in: Removed "--force" from OPTIONS var.

2006-07-20  Chris Dunlap  <cdunlap@llnl.gov>

	* config/x_ac_debug.m4: Changed behavior to only alter CFLAGS if they
	  are not explicitly set.

	* src/munged/munged.c (main): Prevented PRNG seed from being written on
	  exit if an error was encountered while reading it during startup.
	* src/munged/random.c (random_init): Changed to ignore PRNG seed unless
	  it has proper mode, ownership, and permissions.
	* src/munged/random.h (random_init): Changed prototype to return int.

	* src/munged/auth_recv.c (auth_recv_init): Tweaked err msg verbage.

	* src/etc/Makefile.am, src/libcommon/Makefile.am,
	  src/libmunge/Makefile.am, src/munge/Makefile.am,
	  src/munged/Makefile.am: Tweaked dir perms via install-data-local.

	* src/etc/Makefile.am, src/libmunge/Makefile.am: Tweaked dir perms.

	* src/munged/munged.c (main): Moved root privs test (if needed) to
	  after parse_cmdline() so root privs are not needed to get "--help".

	* munge.spec: Specified perms & daemon-ownership for munge-owned dirs.
	* src/etc/Makefile.am: Changed /var/lib/munge and /var/log/munge perms.
	* src/etc/munge.init.in: Changed to run as the "daemon" user.

	* src/munged/conf.c (display_help): Added defaults to help message.

	* src/munged/conf.c: Disabled "--auth-pipe-dir" & "--auth-file-dir"
	  unless MUNGE_AUTH_RECVFD is defined.
	* src/munged/auth_recv.c, src/libmunge/auth_send.c,
	  src/libcommon/auth_policy.h: Renamed MUNGE_AUTH_RECVFD_COMMON
	  to MUNGE_AUTH_RECVFD.

	* src/munged/munged.8.in: Tweaked verbage.

2006-07-19  Chris Dunlap  <cdunlap@llnl.gov>

	* src/libcommon/munge_defs.h: Added MUNGE_AUTH_FILE_DIR.
	  Renamed MUNGE_AUTH_PIPE_RND_BYTES to MUNGE_AUTH_RND_BYTES.
	  Updated documentation.
	* src/libcommon/m_msg.h: Added a_pipe_len, a_pipe_str, a_pipe_is_copy,
	  a_file_len, a_file_str, a_file_is_copy to m_msg struct.
	* src/libcommon/m_msg.c: Added new m_msg struct variables to
	  m_msg_destroy(), _msg_length(), _msg_pack(), _msg_unpack().
	* src/munged/auth_recv.c (_send_auth_req): Changed auth request message
	  format to include a_pipe_str and a_file_str.
	* src/libmunge/auth_send.c (auth_send): Added use of file dir string.
	* src/libmunge/auth_send.c (_recv_auth_req): Added file dir parm.
	  Changed to extract a_pipe_str and a_file_str from request message.
	* src/libmunge/auth_send.c (_name_auth_file): Added file dir parm.
	  Changed auth file path so it is no longer in same dir as auth pipe.
	* src/munged/conf.h: Renamed auth_pipe_rnd_bytes to auth_rnd_bytes.
	  Added auth_file_dir.
	* src/munged/conf.c: Added "--auth-file-dir" command-line option.
	* src/munged/munged.8.in: Added documentation for "--auth-file-dir".
	  Updated documentation for "--auth-pipe-dir".
	* README.AIX: Updated documentation for use of "--auth-file-dir" and
	  "--auth-pipe-dir".

	* src/etc/munge.sysconfig: Updated comments.

	* src/libcommon/auth_policy.h: Tweaked documentation.

	* src/etc/munge.init.in: Removed dependency on perl.

	* src/libcommon/munge_defs.h: Moved MUNGED_LOGFILE to /var/log/munge/.
	* src/etc/Makefile.am: Created /var/log/munge directory.

2006-07-18  Chris Dunlap  <cdunlap@llnl.gov>

	* src/etc/munge.init.in: Added "--oknodo" option to Debian's
	  start-stop-daemon for service_start() and service_stop().

	* src/etc/munge.init.in: Updated PIDFILE to match munge_defs.h.

	* src/munged/dec.c (dec_process_msg): Sanitized rsp msg data on error.
	* src/munged/enc.c (enc_process_msg): Sanitized rsp msg data on error.
	* src/libcommon/m_msg.c, src/libcommon/m_msg.h: Added m_msg_reset().

	* src/libcommon/munge_defs.h: Moved MUNGED_PIDFILE to /var/run/munge/.

2006-07-13  Chris Dunlap  <cdunlap@llnl.gov>

	* config/x_ac_debug.m4: Replaced use of $ac_save_CFLAGS with
	  $ac_env_CFLAGS_set.

	* : Updated URL.  Tweaked caps & spacing.

2006-06-05  Chris Dunlap  <cdunlap@llnl.gov>

	* src/munged/munged.c (write_pidfile): Fixed double-free of file ptr.

2006-05-25  Chris Dunlap  <cdunlap@llnl.gov>

	* NEWS: Changed format.

2006-05-17  Chris Dunlap  <cdunlap@llnl.gov>

	* : Released 0.5.3.

	* config/x_ac_meta.m4: Changed META_ALIAS to not include release if 1.

	* HISTORY, META, NEWS: Updated for 0.5.3 release.

	* munge.spec: Ensured "libmunge-32_64.a" is removed at top of %build.

	* README.MULTILIB: Updated for AIX.

2006-05-16  Chris Dunlap  <cdunlap@llnl.gov>

	* munge.spec: Moved %build keyword outside of os conditional.

	* munge.spec: Fixed %post, %preun, and %postun scripts to succeed
	  when the executable is not executable (as in the case for AIX).

	* munge.spec: Added support for AIX (32b, 64b, and 32_64 multiarch).

2006-05-15  Chris Dunlap  <cdunlap@llnl.gov>

	* munge.spec: Replaced /etc with %{_sysconfdir}, and /var with
	  %{_localstatedir}.  Replaced "/sbin/service" with init script.

	* config/x_ac_arch.m4: Unset x_ac_cv_check_ssl_dir to allow a
	  multiarch reconfigure to succeed when the config cache is enabled.

2006-05-11  Chris Dunlap  <cdunlap@llnl.gov>

	* src/etc/munge.init.in: Added PIDFILE and localstatedir.
	* src/etc/munge.sysconfig: Added PIDFILE.
	* src/libcommon/munge_defs.h: Added MUNGED_PIDFILE.
	* src/munged/conf.c, src/munged/conf.h, src/munged/munged.c:
	  Added support for pidfile_name.

	* config/x_ac_arch.m4: Added error message if OBJECT_MODE is not
	  exported to the shell for AIX.

2006-05-10  Chris Dunlap  <cdunlap@llnl.gov>

	* config/x_ac_arch.m4: Exported OBJECT_MODE for AIX.

	* src/etc/munge.init.in: Changed query_pids ps format specifier
	  from "args" to "command" for OS X.  Replaced query_pids ps format
	  specifier for empty column headers (=) with "| tail +2" for OS X.

	* config/x_ac_arch.m4: Added support for AIX.

2006-05-09  Chris Dunlap  <cdunlap@llnl.gov>

	* src/etc/Makefile.am: Created $(localstatedir)/log dir.

	* src/etc/munge.init.in: Renamed from src/etc/munge.init.
	  Added prefix, exec_prefix, sbindir, and sysconfdir.
	  Renamed ENABLE_RELOAD to SIGHUP_RELOAD.
	* configure.ac: Added src/etc/munge.init to AC_CONFIG_FILES.

	* src/etc/munge.init: Replaced use of "which" with query_exec (Tru64).

2006-05-08  Chris Dunlap  <cdunlap@llnl.gov>

	* configure.ac: Added X_AC_EXPAND_INSTALL_DIRS.
	* config/x_ac_expand_install_dirs.m4: Added.
	* src/libcommon/munge_defs.h: Updated MUNGE_SOCKET_NAME,
	  MUNGE_AUTH_PIPE_DIR, MUNGED_LOGFILE, MUNGED_RANDOM_SEED, and
	  MUNGED_SECRET_KEY to use the expanded install dir names in config.h.

2006-05-05  Chris Dunlap  <cdunlap@llnl.gov>

	* src/etc/munge.init, src/etc/munge.sysconfig: Tweaked defs.

2006-05-04  Chris Dunlap  <cdunlap@llnl.gov>

	* src/etc/munge.init: Added support for NICE & USER.
	  Changed ENABLE_SIGHUP_RELOAD to ENABLE_RELOAD.
	  Replaced use of "source" keyword with "." (AIX).
	* src/etc/munge.sysconfig: Added NICE & USER.  Updated comments.

	* src/etc/Makefile.am: Preserved existing config files on install.

	* munge.spec: Explicitly set localstatedir & sysconfdir for configure.
	* src/etc/Makefile.am: Added use of $(localstatedir) & $(sysconfdir).

	* munge.spec: Added "/var/*/*" to %files.
	* src/etc/Makefile.am: Removed use of $(sysconfdir).  Created dirs for
	  /etc/munge, /var/lib/munge, and /var/run/munge.
	* src/libcommon/munge_defs.h: Changed MUNGE_SOCKET_NAME.

2006-05-03  Chris Dunlap  <cdunlap@llnl.gov>

	* src/etc/Makefile.am: Removed tests for init.d & sysconfig files.

	* munge.spec: Removed used of munge-files-aux list.
	* src/etc/Makefile.am: Removed tests for init.d & sysconfig dirs.

2006-05-02  Chris Dunlap  <cdunlap@llnl.gov>

	* src/etc/munge.init: Removed use of "local" keyword (Solaris).

	* src/etc/munge.init: Added tests for distro release/version files in
	  service_init() to prevent SuSE from being recognized as Debian due to
	  existence of /sbin/start-stop-daemon.

	* PLATFORMS: Updated.

	* src/etc/munge.init: Replaced "echo -n" with "printf" (AIX).

	* src/etc/munge.init, src/etc/munge.sysconfig: Revamped.

2006-04-03  Chris Dunlap  <cdunlap@llnl.gov>

	* src/etc/munge.init: Added Should-Start & Should-Stop LSB headers.
	  Changed return code for invalid or excess args to match LSB spec.
	  Changed return code for unimplemented feature to match LSB spec.
	  Tweaked comments & syntax.  Tweaked SuSE try-restart behavior.

	* munge.spec: Tweaked %post.

2006-03-07  Chris Dunlap  <cdunlap@llnl.gov>

	* : Released 0.5.2.

	* HISTORY, META, NEWS: Updated for 0.5.2 release.

	* munge.spec: Fixed so the files in the munge-devel & munge-libs RPMs
	  are permissioned properly.

2006-02-28  Chris Dunlap  <cdunlap@llnl.gov>

	* : Released 0.5.1.

	* HISTORY, META, NEWS: Updated for 0.5.1 release.

	* src/libcommon/license.c: Changed Munge to MUNGE.

	* src/munged/munged.c (main): Changed new logfile perms to 640.

2006-01-24  Chris Dunlap  <cdunlap@llnl.gov>

	* : Released 0.5.

	* HISTORY, META, NEWS, PLATFORMS: Updated for 0.5 release.

	* README: Updated.

	* munge.spec: Updated %files to include new documentation.

	* README.MULTILIB: Added.

	* QUICKSTART: Added.

2006-01-23  Chris Dunlap  <cdunlap@llnl.gov>

	* munge.spec: Moved libmunge.so from libs back to devel subpackage.

	* src/munged/auth_recv.c: Updated for new munge message layer.
	* src/libmunge/auth_send.c: Updated for new munge message layer.

2006-01-19  Chris Dunlap  <cdunlap@llnl.gov>

	* munge.spec: Moved libmunge.so from devel to libs subpackage.

	* src/libcommon/munge_defs.h:
	  Appended interface version number to MUNGE_SOCKET_NAME.

	* src/libcommon/license.c: Updated copyright date range.

	* src/libcommon/m_msg.c (_msg_unpack):
	  Added cast to discard const qualifier from ptr type.
	* src/munged/zip.c (zip_decompress_length):
	  Added cast to discard const qualifier from ptr type.

	* HISTORY, META, NEWS: Updated for 0.5 release.

2006-01-18  Chris Dunlap  <cdunlap@llnl.gov>

	* src/munged/gids.c (_gids_hash_create):
	  Ensured endgrent() is called on error.

2006-01-17  Chris Dunlap  <cdunlap@llnl.gov>

	* src/libcommon/m_msg.c (_alloc):
	  Added NUL-termination byte to end of memory allocation.
	* src/libmunge/encode.c (_encode_rsp):
	  Removed unnecessary dup of rsp data.
	* src/libmunge/decode.c (_decode_rsp):
	  Removed unnecessary dup of rsp data & realm_str.

	* src/munged/enc.c (enc_fini):
	  Free()d req data before overwriting data ptr with rsp data.

2006-01-12  Chris Dunlap  <cdunlap@llnl.gov>

	* src/libcommon/m_msg.c (m_msg_send):
	  Added check for pkt_is_copy before free()ing pkt.
	* src/libcommon/m_msg.c (m_msg_send):
	  Added check for negative length returned from _msg_length().
	* src/libcommon/m_msg.c: Tweaked function documentation.

	* src/munged/dec.c (dec_unarmor):
	  Free()d data after unarmoring to prevent leak in dec_unpack_inner().
	* src/munged/dec.c (dec_unpack_outer):
	  Set realm_is_copy flag to prevent double free of realm_str.

	* src/munged/job.c (job_accept):
	  Added call to destroy msg if m_msg_bind() fails.

	* src/munged/dec.c (dec_decompress): Removed dead code in 'err' label.

	* src/munged/crypto_thread.c: Added checks to abort on error.

	* src/libmunge/decode.c (_decode_rsp):
	  Fixed bug where routine not aborted after EMUNGE_NO_MEMORY set.

	* src/libmunge/ctx.c (_munge_ctx_set_err):
	  Fixed potential NULL dereference of ctx in return value.

	* src/munge/remunge.c (parse_cmdline):
	  Fixed NUL termination of payload data.

	* src/libcommon/log.c (log_open_syslog):
	  Fixed 'identity' dereference before NULL check.

	* src/libcommon/log.c: Added void cast to ignore return code on error.

2006-01-11  Chris Dunlap  <cdunlap@llnl.gov>

	* src/libmunge/decode.c (_decode_req):
	  Set data_is_copy flag to prevent free() of caller-supplied cred.

	* src/libcommon/m_msg.c: Revamped to support msg packing & unpacking.
	* src/libcommon/m_msg.h: Incremented MUNGE_MSG_VERSION to 4.
	  Removed struct m_msg_head & struct m_msg_v1.  Expanded struct m_msg.
	  Added m_msg_type_t, m_msg_magic_t, & m_msg_version_t.
	* src/libcommon/m_msg.h (m_msg_create): Changed prototype.
	* src/libcommon/m_msg.h (m_msg_bind): Added.
	* src/libcommon/m_msg.h (m_msg_send): Changed prototype.
	* src/libcommon/m_msg.h (m_msg_recv): Changed prototype.
	* src/libcommon/munge_defs.h: Moved MUNGE_MSG_MAGIC to m_msg.h.
	* src/munged/enc_v1.c: Renamed to src/munged/enc.c.
	* src/munged/enc_v1.h: Renamed to src/munged/enc.h.
	* src/munged/dec_v1.c: Renamed to src/munged/dec.c.
	* src/munged/dec_v1.h: Renamed to src/munged/dec.h.
	* src/munged/enc.c, src/munged/enc.h, src/munged/dec.c,
	  src/munged/dec.h, src/munged/job.c, src/munged/replay.c:
	  Updated for new munge message layer.
	* src/munged/job.h: Removed job_error().
	* src/munged/cred.c: Tweaked syntax.
	* src/libmunge/ctx.c, src/libmunge/ctx.h:
	  Renamed fields of struct munge_ctx: realm/realm_str,
	  socket/socket_str, errnum/error_num, errstr/error_str.
	* src/libmunge/m_msg_client.c: Updated for new munge message layer.
	* src/libmunge/m_msg_client.h (m_msg_client_xfer): Changed prototype.
	* src/libmunge/decode.c, src/libmunge/encode.c:
	  Updated for new munge message layer and struct munge_ctx.

2005-12-06  Chris Dunlap  <cdunlap@llnl.gov>

	* src/libcommon/m_msg.h, src/munged/enc_v1.c, src/munged/dec_v1.c,
	  doc/credential_v3_format.txt: Swapped ordering of mac & zip fields.

2005-11-22  Chris Dunlap  <cdunlap@llnl.gov>

	* configure.ac, config/x_ac_arch.m4: Added X_AC_ARCH (--enable-arch=n)
	  to specify whether to generate 32-bit or 64-bit code.
	* munge.spec: Added support to rpm build --with "arch32" or "arch64".

2005-11-18  Chris Dunlap  <cdunlap@llnl.gov>

	* src/libcommon/munge_defs.h: Changed default cipher to aes128.
	* NEWS: Updated.

	* src/libmunge/ctx.c (munge_ctx_set): Added test for MUNGE_OPT_REALM
	  to ensure realm strlen < 256.

	* src/munged/enc_v1.c: Removed enc_v1_precompress().
	  Moved enc_v1_mac() between enc_v1_compress() & enc_v1_encrypt().
	* src/munged/dec_v1.c:
	  Moved dec_v1_mac() between dec_v1_decrypt() & dec_v1_decompress().
	* src/munged/cred.c, src/munged/cred.h: Removed from struct munge_cred
	  the zippy_mem_len, zippy_mem, zippy_len, & zippy fields used by
	  enc_v1_precompress().
	* src/munged/cred.h: Incremented MUNGE_CRED_VERSION to 3.
	* doc/credential_v1_format.txt, doc/credential_v2_format.txt: Updated.
	* doc/credential_v3_format.txt: Added to fix bug with credential's
	  compression header not being protected by the mac.
	* NEWS: Updated.

2005-11-17  Chris Dunlap  <cdunlap@llnl.gov>

	* src/munged/dec_v1.c (dec_v1_decompress): Added test to abort
	  decompression if a block cipher padding error has already occurred.
	* src/munged/dec_v1.c: Moved c->salt_len initialization from
	  dec_v1_unpack_outer() to dec_v1_unpack_inner().

	* src/munged/zip.c (zip_compress_block, zip_decompress_block):
	  Added check to ensure (srclen > 0).

2005-11-16  Chris Dunlap  <cdunlap@llnl.gov>

	* config/x_ac_debug.m4: Fixed behavior when enable-debug && !CFLAGS.

	* src/munged/zip.c: Added magic sentinel to beginning of zip_meta_t
	  to check if embedded length of original uncompressed data is valid.
	* src/munged/zip.h (zip_compress_block, zip_decompress_block):
	  Changed name of dstlen parm to pdstlen.

	* config/x_ac_debug.m4: Changed behavior to allow existing CFLAGS to
	  be preserved when debugging is enabled.

2005-10-31  Chris Dunlap  <cdunlap@llnl.gov>

	* : Released 0.4.3.

2005-10-25  Chris Dunlap  <cdunlap@llnl.gov>

	* src/etc/munge.init: Fixed bug with RHEL4-U1's chkconfig where it
	  doesn't handle the existence of a 'Required-Start' without a
	  'Required-Stop' (Thanks to Christopher Holmes).

2005-07-20  Chris Dunlap  <cdunlap@llnl.gov>

	* : Released 0.4.2.

	* config/x_ac_meta.m4: Removed trailing ';' from m4_pattern_allow.

	* config/x_ac_meta.m4: Added m4_pattern_allow to suppress the
	  "possibly undefined macro" warnings under the new libtool.

2005-07-19  Chris Dunlap  <cdunlap@llnl.gov>

	* : Updated FSF address in copyleft.

	* config/argz.m4, config/libtool.m4, config/ltoptions.m4,
	  config/ltsugar.m4, config/ltversion.m4:
	  Added as a result of upgrading to the cvs HEAD release of libtool.
	* aclocal.m4, config/config.h.in, config/ltmain.sh, configure:
	  Updated as a result of upgrading to the cvs HEAD release of libtool.
	* configure.ac: Replaced AC_PROG_LIBTOOL with LT_INIT for new libtool.
	* : Re-bootstrap'd with the cvs HEAD release of libtool version 2.1a,
	  GNU libtool 1.1984 2005/07/11 12:11:25, in order to fix a bug under
	  AIX where the convenience libs were not being added to libmunge;
	  this appears to be the result of libtool's $whole_archive_flag_spec
	  being set to ' ' instead of ''.  This also fixes a bug in the
	  libtool --mode=link cmd for libmunge that failed to properly expand
	  $allow_undefined_flag, thereby causing $archive_expsym_cmds to
	  contain "${wl}-berok" after being eval'd.

	* bootstrap: Removed PATH (in order to use a non-standard libtool).

	* Makefile.am: Replaced PACKAGE with META_NAME.

2005-07-13  Chris Dunlap  <cdunlap@llnl.gov>

	* munge.spec: Marked /etc/munge dir with %config attr.

	* munge.spec: Added /etc/munge & /var/lib/munge dirs to %files.

	* README: Updated info regarding defaults in munge_defs.h.

	* src/libcommon/munge_defs.h: Updated values for MUNGE_SOCKET_NAME,
	  MUNGE_AUTH_PIPE_DIR, MUNGED_LOGFILE, MUNGED_RANDOM_SEED, and
	  MUNGED_SECRET_KEY to comply with the Filesystem Hierarchy Standard.

	* src/munged/conf.c (display_help): Documented deprecated cmdline opts.

	* src/libcommon/munge_defs.h:
	  Tweaked _X_AC_META_GETVAL to allow both key:val and key=val in META.

2005-07-12  Chris Dunlap  <cdunlap@llnl.gov>

	* META: Updated Author tag.
	* src/libcommon/munge.7.in, src/libmunge/munge.3.in,
	  src/libmunge/munge_ctx.3.in, src/libmunge/munge_enum.3.in,
	  src/munge/munge.1.in, src/munge/remunge.1.in,
	  src/munge/unmunge.1.in, src/munged/munged.8.in: Added META_AUTHOR.

	* config/x_ac_meta.m4: Added _X_AC_META_GETVAL to parse META file.

2005-07-07  Chris Dunlap  <cdunlap@llnl.gov>

	* src/etc/munge.init: Fixed 'start' behavior under RedHat so daemon is
	  not started if it is already running (Thanks to Christopher Holmes).

	* Makefile.am, config/Make-rpm.mk: Removed deprecated Make-rpm.

2005-07-06  Chris Dunlap  <cdunlap@llnl.gov>

	* META: Tweaked formatting.  Replaced Package with Name.
	* src/libcommon/munge.7.in, src/libmunge/munge.3.in,
	  src/libmunge/munge_ctx.3.in, src/libmunge/munge_enum.3.in,
	  src/munge/munge.1.in, src/munge/remunge.1.in,
	  src/munge/unmunge.1.in, src/munged/munged.8.in:
	  Updated copyright.  Added META_DATE and META_ALIAS.
	* src/munge/munge.c, src/munge/remunge.c, src/munge/unmunge.c,
	  src/munged/conf.c, src/munged/munged.c: Invoked display_version().
	* src/libcommon/version.c, src/libcommon/version.h,
	  src/libcommon/Makefile.am: Added.  Created display_version().
	* src/libcommon/license.c, src/libcommon/license.h: Updated copyright.
	* src/libmunge/Makefile.am: Prefixed meta LT vars with "META_".
	* config/x_ac_meta.m4: Revamped.  Prefixed meta vars with "META_".
	  Replaced PACKAGE with META_NAME.  Added META_ALIAS.

2005-06-29  Chris Dunlap  <cdunlap@llnl.gov>

	* munge.spec: Created dynamic test for init.d & sysconfig %files.
	* munge.spec: Set void version number -- build script will rewrite it.

2005-06-01  Chris Dunlap  <cdunlap@llnl.gov>

	* config/x_ac_check_ssl.m4: Fixed bug causing wrong ssl dir to be set.
	* : Re-bootstrap'd with updated autotools jazz.

2005-04-05  Chris Dunlap  <cdunlap@llnl.gov>

	* : Re-bootstrap'd with updated autotools-dev.

2005-04-05  Chris Dunlap  <cdunlap@llnl.gov>

	* : Re-bootstrap'd with automake-1.9.5 on Debian Sarge.

2005-02-24  Chris Dunlap  <cdunlap@llnl.gov>

	* src/libmissing/strlcpy.c, src/libmissing/strlcat.c:
	  Latest from <ftp://ftp.openbsd.org/pub/OpenBSD/src/lib/libc/string/>.

2005-01-26  Chris Dunlap  <cdunlap@llnl.gov>

	* munge.spec: Added 'devel' and 'libs' subpackages.

	* munge.spec: Added version number so "rpmbuild -ta" will work.

	* munge.spec:
	  Removed %post rm of chkconfig droppings from the "-1 priority" bug.

2005-01-18  Chris Dunlap  <cdunlap@llnl.gov>

	* src/munged/hash.c (hash_destroy): Fixed memory leak.

2004-12-21  Chris Dunlap  <cdunlap@llnl.gov>

	* : Released 0.4.1.

	* HISTORY, META, NEWS, TODO: Updated for 0.4.1 release.

	* munge.spec:
	  Added %post to remove chkconfig droppings from the "-1 priority" bug.

	* src/etc/munge.init:
	  Fixed bug preventing priorities from being recognized by chkconfig.

2004-12-08  Chris Dunlap  <cdunlap@llnl.gov>

	* src/munged/auth_recv.c: Added <sys/types.h> include for getpeereid().

	* NEWS: Updated v0.4 news wrt SuSE/LSB init script support.

	* JARGON: Updated URL.

2004-12-07  Chris Dunlap  <cdunlap@llnl.gov>

	* : Released 0.4.

	* HISTORY, META, NEWS, PLATFORMS: Updated for 0.4 release.

	* src/libmunge/munge.3.in, src/libmunge/munge.h,
	  src/libmunge/strerror.c: Cleaned up error codes.

	* README, src/libcommon/munge.7.in, src/libmunge/munge.3.in,
	  src/munged/munged.8.in: Tweaked verbage.

2004-12-02  Chris Dunlap  <cdunlap@llnl.gov>

	* README: Updated notes regarding creation of secret key.

	* src/etc/munge.init: Revamped for SuSE and maybe LSB.

	* configure.ac, config/x_ac_check_ssl.m4:
	  Moved X_AC_CHECK_SSL before AC_PROG_LIBTOOL to allow the
	  linker's libpath to be computed correctly under AIX.

2004-12-01  Chris Dunlap  <cdunlap@llnl.gov>

	* README: Updated info regarding /etc/sysconfig/munge.
	* munge.spec, src/etc/Makefile.am, src/etc/munge.sysconfig:
	  Added /etc/sysconfig/munge.

	* src/libmunge/enum.c (_munge_enum_lookup): Changed return type from
	  const munge_enum_table_t to munge_enum_table_t.

2004-11-30  Chris Dunlap  <cdunlap@llnl.gov>

	* config/Make-rpm.mk: Updated to reflect prior changes to META.

	* src/munged/munged.8.in: Updated info for '--force' cmdline opt.

2004-11-29  Chris Dunlap  <cdunlap@llnl.gov>

	* src/munged/conf.c: Added <sys/socket.h> for AF_INET.

	* config/x_ac_check_cond_lib.m4, config/x_ac_check_fifo_recvfd.m4,
	  config/x_ac_check_peercred.m4, config/x_ac_check_pthreads.m4,
	  config/x_ac_debug.m4: Tweaked docs to be consistent with others.

	* configure.ac, config/x_ac_check_ssl.m4: Added X_AC_CHECK_SSL.

2004-11-24  Chris Dunlap  <cdunlap@llnl.gov>

	* src/libmunge/munge_ctx.3.in, src/munge/munge.1.in,
	  src/munge/unmunge.1.in: Updated verbage.

	* src/munge/unmunge.c:
	  Changed MUNGE_KEY_ORIGIN to MUNGE_KEY_ENCODE_HOST.
	  Tweaked munge_keys[] strings.

	* configure.ac, config/x_ac_aix.m4:
	  Added X_AC_AIX to enable run-time linking under AIX.

2004-11-23  Chris Dunlap  <cdunlap@llnl.gov>

	* src/libcommon/Makefile.am, src/libcommon/m_msg.c,
	  src/libcommon/m_msg.h, src/libcommon/msg.c, src/libcommon/msg.h,
	  src/libmunge/Makefile.am, src/libmunge/m_msg_client.c,
	  src/libmunge/m_msg_client.h, src/libmunge/msg_client.c,
	  src/libmunge/msg_client.h:
	  Renamed src/libcommon/msg.[ch] to m_msg.[ch].
	  Renamed src/libmunge/msg_client.[ch] to m_msg_client.[ch].
	  Changed "msg_" prefix to "m_msg_".  All callers changed.
	  Fixed "previous declaration of 'msg_t'" error under AIX.

	* src/libmunge/Makefile.am:
	  Added -export-symbols-regex to libmunge.

	* src/libcommon/Makefile.am, src/libcommon/msg.c, src/libcommon/msg.h,
	  src/libcommon/munge_msg.c, src/libcommon/munge_msg.h:
	  Renamed src/libcommon/munge_msg.[ch] to msg.[ch].
	  Removed "munge_" prefix on all "munge_msg_*" functions.
	  All callers changed.
	* src/libmunge/ctx.c, src/libmunge/ctx.h:
	  Removed unnecessary include for munge_msg.h.

2004-11-18  Chris Dunlap  <cdunlap@llnl.gov>

	* src/libmunge/enum.c:
	  Fixed compiler warning regarding assignment of read-only variable.

	* META, config/x_ac_meta.m4, src/libmunge/Makefile.am:
	  Added LT_Current, LT_Revision, and LT_Age for libtool -version-info.

	* README, munge.spec: Updated verbage.
	* src/libcommon/munge.7.in, src/libmunge/munge.3.in,
	  src/libmunge/munge_ctx.3.in, src/munge/munge.1.in,
	  src/munge/remunge.1.in, src/munge/unmunge.1.in,
	  src/munged/munged.8.in: Updated verbage.
	* src/libmunge/munge.h: Sync'd with manpages.

2004-11-17  Chris Dunlap  <cdunlap@llnl.gov>

	* src/libmunge/munge.h:
	  Removed MUNGE_OPT_LAST_ENTRY, MUNGE_CIPHER_LAST_ENTRY,
	  MUNGE_MAC_LAST_ENTRY, MUNGE_ZIP_LAST_ENTRY, EMUNGE_LAST_ENTRY.
	* src/munged/zip.c: Removed use of MUNGE_ZIP_LAST_ENTRY.

	* src/libcommon/munge_msg.h: Removed MUNGE_MSG_LAST_ENTRY.

	* configure.ac, src/libcommon/munge.7.in, src/libmunge/munge.3.in,
	  src/libmunge/munge_ctx.3.in, src/libmunge/munge_enum.3.in,
	  src/munge/munge.1.in, src/munge/remunge.1.in, src/munge/unmunge.1.in,
	  src/munged/munged.8.in: Added munge_enum manpage.
	* src/libmunge/Makefile.am, src/libmunge/enum.c, src/libmunge/munge.h,
	  src/libmunge/strings.c: Added munge_enum_is_valid(),
	  munge_enum_int_to_str(), and munge_enum_str_to_int().
	  Removed munge_cipher_strings, munge_mac_strings, munge_zip_strings.
	  Replaced libmunge/strings.c with libmunge/enum.c.
	* src/munge/munge.c, src/munge/remunge.c, src/munge/unmunge.c:
	  Replaced use of munge_cipher_strings, munge_mac_strings, and
	  munge_zip_strings.

	* src/libcommon/str.c, src/munged/auth_recv.c, src/munged/hash.c,
	  src/munged/munged.c, src/munge/read.c: Tweaked formatting.

2004-11-11  Chris Dunlap  <cdunlap@llnl.gov>

	* configure.ac: Tweaked inet_ntop replacement test for Solaris.

	* src/libmissing/inet_ntop.h: Added sys/socket.h include for socklen_t.

	* src/libmissing/inet_ntop.h: Changed #ifndef x to #if !x.
	* src/libmissing/strlcat.h, src/libmissing/strlcpy.h:
	  Changed #if #else x to #if !x.

	* src/libmunge/auth_send.c, src/libmunge/msg_client.c,
	  src/munged/munged.c: Replaced strlcat/strlcpy includes w/ missing.h.

	* configure.ac: Changed X_AC_CHECK_COND_LIB libnsl test
	  from inet_ntoa() to gethostbyname().

	* configure.ac, src/libmissing/inet_ntop.c, src/libmissing/inet_ntop.h,
	  src/libmissing/missing.h, src/munge/unmunge.c, src/munged/conf.c:
	  Added support for platforms lacking inet_ntop().
	  Replaced inet_ntoa() with inet_ntop().

2004-11-10  Chris Dunlap  <cdunlap@llnl.gov>

	* README: Updated.
	* README.AIX: Added.
	* configure.ac: Changed to older AC_INIT & AM_INIT_AUTOMAKE constructs.
	* munge.spec: Updated description.  Added manpages.
	* config/x_ac_meta.m4: Added metatags for AUTHOR and DATE.
	* src/libcommon/Makefile.am, src/libmunge/Makefile.am,
	  src/munge/Makefile.am, src/munged/Makefile.am: Added manpages.
	* src/libcommon/munge.7.in, src/libmunge/munge.3.in,
	  src/libmunge/munge_ctx.3.in, src/munge/munge.1.in,
	  src/munge/remunge.1.in, src/munge/unmunge.1.in,
	  src/munged/munged.8.in: Added.

	* src/libcommon/munge_defs.h, src/munged/conf.c:
	  Added MUNGE_AUTH_ROOT_ALLOW_FLAG.

	* src/munged/conf.c: Changed "--keyfile" cmdline opt to "--key-file".

	* src/munged/conf.c: Added "--auth-pipe-dir" cmdline opt.

2004-11-09  Chris Dunlap  <cdunlap@llnl.gov>

	* src/libcommon/munge_defs.h, src/munged/auth_recv.c,
	  src/munged/conf.c, src/munged/conf.h:
	  Changed MUNGE_AUTH_PIPE_NAME_PREFIX to MUNGE_AUTH_PIPE_DIR.
	  Changed MUNGE_AUTH_PIPE_NAME_RND_BYTES to MUNGE_AUTH_PIPE_RND_BYTES.
	  Changed conf struct auth_pipe_prefix to auth_pipe_dir.

	* src/munged/conf.c:
	  Changed "--nthreads" cmdline opt to "--num-threads".
	  Tweaked display_help() information.

	* src/munge/munge.c, src/munge/remunge.c, src/munge/unmunge.c:
	  Tweaked display_help() information.

	* src/libcommon/auth_policy.h, src/libcommon/munge_defs.h,
	  src/munged/conf.c: Moved defines from auth_policy.h to munge_defs.h.
	  Renamed AUTH_PIPE_NAME_PREFIX to MUNGE_AUTH_PIPE_NAME_PREFIX.
	  Renamed AUTH_PIPE_NAME_RND_BYTES to MUNGE_AUTH_PIPE_NAME_RND_BYTES.

	* src/libcommon/auth_policy.h:
	  Removed AUTH_PIPE_NAME_MAX_LEN.
	  Changed AUTH_PIPE_NAME_RND_BYTES from 8 to 16.
	* src/libmunge/auth_send.c, src/munged/auth_recv.c:
	  Changed static bufs using AUTH_PIPE_NAME_MAX_LEN to dynamic memory.
	* src/munged/conf.c, src/munged/conf.h:
	  Added auth_pipe_prefix & auth_pipe_rnd_bytes to conf struct.

	* src/libmunge/munge.h:
	  Changed indenting of preprocessor cmds so line begins with '#'.

2004-11-08  Chris Dunlap  <cdunlap@llnl.gov>

	* src/munged/work.c (work_queue):
	  Fixed bug where rc was used uninitialized.
	  Do not signal condition if _work_enqueue() fails.

	* src/libcommon/munge_msg.c:
	  Documented maxlen parm in munge_msg_send() and munge_msg_recv().

	* src/libmunge/auth_send.c:
	  Added missing maxlen parm to invocation of munge_msg_recv().
	* src/munged/auth_recv.c:
	  Added missing maxlen parm to invocation of munge_msg_send().

	* : Re-bootstrap'd with automake-1.9.3.

2004-10-29  Chris Dunlap  <cdunlap@llnl.gov>

	* : Re-bootstrap'd with libtool-1.5.6 Debian: 220.

	* munge.spec: Added %config(noreplace) to init script.

2004-10-15  Chris Dunlap  <cdunlap@llnl.gov>

	* src/etc/munge.init: Added support for /etc/sysconfig/munge.

	* : Re-bootstrap'd with automake-1.9.2.

	* munge.spec, src/etc/Makefile.am, src/etc/munge.init:
	  Removed dependence on /etc/rc.d/init.d directory.

2004-10-13  Chris Dunlap  <cdunlap@llnl.gov>

	* src/munged/job.c: Added include for building on SuSE SLES-8.

	* README: Updated.

	* src/libcommon/munge_defs.h: Added MUNGE_MAXIMUM_REQ_LEN.
	* src/libcommon/munge_msg.c, src/libcommon/munge_msg.h:
	  Added maxlen parm to munge_msg_send() and munge_msg_recv().
	  All callers changed.
	* src/libmunge/msg_client.c (munge_msg_client_xfer):
	  Abort retry attempts on EMUNGE_BAD_LENGTH.
	* src/libmunge/munge.h, src/libmunge/strerror.c:
	  Added EMUNGE_BAD_LENGTH.  Renumbered munge_err enum.
	* src/munged/job.c (_job_exec): Limit msg len to MUNGE_MAXIMUM_REQ_LEN.

	* src/libcommon/munge_msg.h: Incremented MUNGE_MSG_VERSION to 3
	  since retry field was added to munge_msg_head struct.

2004-09-24  Chris Dunlap  <cdunlap@llnl.gov>

	* src/libcommon/munge_defs.h: Tweaked comments.

	* src/munged/job.c (job_accept):
	  Changed log msg for processing backlog.

	* src/munged/dec_v1.c (dec_v1_validate_replay):
	  Added log msg when allowing credential replay due to retry.

	* src/libcommon/munge_defs.h:
	  Added MUNGE_SOCKET_XFER_USLEEP.  Removed MUNGE_SOCKET_ACCEPT_USLEEP.
	  Changed MUNGE_SOCKET_XFER_ATTEMPTS from 3 to 5.
	* src/libmunge/msg_client.c (munge_msg_client_xfer):
	  Added linear back-off to retry of failed credential transactions.
	* src/munged/job.c (job_accept):
	  Changed usleep() to work_wait() when accept() exceeds open fd limit.

2004-09-23  Chris Dunlap  <cdunlap@llnl.gov>

	* src/libcommon/munge_msg.c, src/libcommon/munge_msg.h:
	  Removed leading underscore from public functions.
	  All callers changed.

	* src/libcommon/munge_defs.h:
	  Added MUNGE_REPLAY_RETRY_FLAG.  Added MUNGE_SOCKET_XFER_ATTEMPTS.
	  Named MUNGE_SOCKET_CONNECT_RETRIES as MUNGE_SOCKET_CONNECT_ATTEMPTS.
	* src/libcommon/munge_msg.c, src/libcommon/munge_msg.h:
	  Added retry field to munge_msg_head struct.
	  Removed _munge_msg_reset() -- merged into _munge_msg_create().
	* src/libmunge/decode.c, src/libmunge/encode.c,
	  src/libmunge/msg_client.c, src/libmunge/msg_client.h:
	  Added munge_msg_client_xfer() to retry failed msg transactions.
	  Changed _munge_msg_client_connect() and
	  _munge_msg_client_disconnect() to static functions.
	* src/munged/conf.c, src/munged/conf.h:
	  Added got_replay_retry flag to conf struct.
	* src/munged/dec_v1.c: Added dec_v1_check_retry().
	  Added test for got_replay_retry flag to dec_v1_validate_replay().
	* src/munged/enc_v1.c: Added enc_v1_check_retry().

2004-09-21  Chris Dunlap  <cdunlap@llnl.gov>

	* src/munged/gids.c (_gids_hash_add):
	  Removed warning for having detected duplicate uid for given gid.

2004-09-18  Chris Dunlap  <cdunlap@llnl.gov>

	* src/munged/conf.c, src/munged/conf.h, src/munged/munged.c:
	  Moved global conf definition from munged.c to conf.c.

2004-09-17  Chris Dunlap  <cdunlap@llnl.gov>

	* src/munged/random.c: Allow lack of entropy to be forced (-f).

	* src/munged/random.c: Replaced parm asserts with if-guards.

	* src/munged/gids.c:
	  Added #ifndef's around GIDS_DEBUG and GIDS_GROUP_FILE.

	* src/munged/work.c:
	  Moved pthread_cond_signal() outside of critical region.
	  Replaced public function parm asserts with if-guards.

	* src/munged/timer.c:
	  Moved pthread_cond_signal() outside of critical region.

	* src/munged/gids.c (gids_destroy):
	  Moved hash_destroy() outside of critical region.

2004-09-16  Chris Dunlap  <cdunlap@llnl.gov>

	* src/munge/munge.c: Revamped "-u" and "-g" cmdline opts.
	* src/munge/remunge.c: Added "-u" and "-g" cmdline opts.

	* src/munged/timer.h: Tweaked timer_init() docs.

	* src/munged/hash.c: Replaced parm asserts with if-guards.

	* src/munged/dec_v1.c, src/munged/enc_v1.c:
	  Removed extern declaration of conf -- now in conf.h.

	* src/munged/gids.c, src/munged/gids.h:
	  Added timer to periodically re-parse group info.
	* src/munged/conf.c, src/munged/conf.h:
	  Added extern declaration of conf.
	  Added got_group_stat flag to struct conf.
	* src/libcommon/munge_defs.h:
	  Added MUNGE_GROUP_STAT_FLAG and MUNGE_GROUP_PARSE_TIMER.

2004-09-10  Chris Dunlap  <cdunlap@llnl.gov>

	* src/munged/replay.c: Removed mac_len from union replay_key
	  to further reduce storage requirements for replay data.
	* src/munged/replay.c: Changed struct replay_key to union replay_key
	  to reduce storage requirements for replay data.

	* src/munged/cred.c (cred_create):
	  Fixed bug where error condition was not set on failure.

2004-09-09  Chris Dunlap  <cdunlap@llnl.gov>

	* src/munge/munge.c, src/munge/remunge.c:
	  Fixed strtol() int/long mismatches for 64-bit platforms.

2004-09-07  Chris Dunlap  <cdunlap@llnl.gov>

	* src/munged/gids.h: Changed GIDS_HASH_SIZE from 1213 to 2053.

2004-09-03  Chris Dunlap  <cdunlap@llnl.gov>

	* src/munge/remunge.c: Set stdout to be line buffered.
	* src/munge/remunge.c: Close stdin.
	* src/munge/remunge.c: Ignore SIGHUP.
	* src/munge/remunge.c: Changed DEF_DO_DECODE from 1 to 0.
	* src/munge/remunge.c: Subtract error count from number processed.

	* src/munged/hash.c: Changed HASH_ALLOC from 256 to 1024.
	* src/munged/replay.c: Changed REPLAY_ALLOC from 256 to 1024.
	* src/munged/replay.h: Changed REPLAY_HASH_SIZE from 4013 to 65537.

	* src/munged/gids.c, src/munged/gids.h: Added GIDS_HASH_SIZE.

	* src/munged/munged.c (main):
	  Changed default log priority level from LOG_NOTICE to LOG_INFO.

	* src/munged/conf.c (display_help): Added newline.

	* src/munge/munge.c (display_strings,str_to_int): Tweaked formatting.

	* src/munge/Makefile.am, src/munge/remunge.c: Added.

2004-08-26  Chris Dunlap  <cdunlap@llnl.gov>

	* src/libcommon/munge_defs.h, src/munged/job.c (job_accept):
	  Fix bug causing the daemon to crash if accept() exceeded the
	  open file descriptor limit for the process.

	* src/libmunge/ctx.c, src/libmunge/munge.h:
	  Added munge_ctx_copy().  Added docs wrt context function usage.

2004-08-25  Chris Dunlap  <cdunlap@llnl.gov>

	* src/libcommon/munge_defs.h:
	  Changed MUNGE_DEFAULT_ZIP from MUNGE_ZIP_ZLIB to MUNGE_ZIP_NONE.

2004-08-24  Chris Dunlap  <cdunlap@llnl.gov>

	* src/munge/munge.c (destroy_conf): Removed unnecessary test for ctx.
	* src/munge/unmunge.c (destroy_conf): Removed unnecessary test for ctx.

2004-08-20  Chris Dunlap  <cdunlap@llnl.gov>

	* src/munge/munge.c (parse_cmdline):
	  Check for overflow of time-to-live "-t" cmdline option.

	* src/munge/munge.c (parse_cmdline):
	  Changed strtol() err msg from log_errno() to log_err().

2004-08-19  Chris Dunlap  <cdunlap@llnl.gov>

	* src/munge/munge.c, src/munge/unmunge.c:
	  Reformatted code.  Changed help option string width.

	* src/munge/munge.c: Tweaked use of strtol().
	* src/munge/munge.c (str_to_int): Revamped.

2004-08-18  Chris Dunlap  <cdunlap@llnl.gov>

	* src/libcommon/munge_defs.h:
	  Changed MUNGE_REPLAY_PURGE_TIMER from 300 to 60.

2004-08-17  Chris Dunlap  <cdunlap@llnl.gov>

	* : Re-bootstrap'd with automake-1.9.1.

	* src/munged/conf.c:
	  Added temporary cmdline opts for 'keyfile' and 'nthreads'.

	* src/munged/job.c (job_accept): Tweaked log messages.

	* src/libcommon/munge_defs.h: Changed MUNGE_THREADS from 4 to 2.

2004-08-11  Chris Dunlap  <cdunlap@llnl.gov>

	* : Re-bootstrap'd with automake-1.9.

	* src/munged/work.c (work_fini):
	  Fixed bug preventing the worker thread(s) from being canceled.

2004-08-05  Chris Dunlap  <cdunlap@llnl.gov>

	* src/munged/timer.c (timer_fini):
	  Changed assert of pthread_join() rc to an explicit test.
	  Reset timer_tid after timer thread has been joined.

	* src/libcommon/munge_defs.h, src/munged/conf.c, src/munged/conf.h,
	  src/munged/job.c, src/munged/job.h, src/munged/work.c,
	  src/munged/work.h:
	  Added support for thread work crew to process credential requests.
	* src/munged/munged.c, src/munged/sock.c, src/munged/sock.h:
	  Moved munge_sock_create() & munge_sock_destroy() to munged.c.
	  Moved munge_sock_accept() to job.c:job_accept().
	* src/munged/msg_server.c, src/munged/msg_server.h,
	  src/munged/dec_v1.c, src/munged/enc_v1.c:
	  Moved munge_msg_server_thread() to job.c:_job_exec().
	  Moved err_v1_response() to job.c:job_error().

2004-07-23  Chris Dunlap  <cdunlap@llnl.gov>

	* src/munged/auth_recv.c: Fixed bug in MUNGE_AUTH_RECVFD_MKNOD codepath
	  causing an auth pipe fd leak resulting in poor performance on AIX.

2004-07-21  Chris Dunlap  <cdunlap@llnl.gov>

	* src/munged/sock.c, src/munged/timer.c:
	  Set pthread stacksize to 256KB (to appease ia64).

2004-06-15  Chris Dunlap  <cdunlap@llnl.gov>

	* src/munged/conf.c, src/munged/munged.c:
	  Moved auth_recv_init(), replay_init(), replay_fini(),
	  gids_create(), and gids_destroy() from create_conf() to main().

2004-06-11  Chris Dunlap  <cdunlap@llnl.gov>

	* src/munged/sock.c, src/munged/timer.c: Set pthread stacksize to 64KB.

2004-06-09  Chris Dunlap  <cdunlap@llnl.gov>

	* src/libmunge/munge.h: Added support for C++.

2004-05-26  Chris Dunlap  <cdunlap@llnl.gov>

	* src/munged/dec_v1.c, src/munged/replay.c, src/munged/replay.h:
	  Fixed bug where decoded cred was marked as "played" even if the
	  rsp msg was not successfully delivered to the client {gnats:437}.

2004-05-13  Chris Dunlap  <cdunlap@llnl.gov>

	* : Re-bootstrap'd with automake-1.8.5.

2004-05-13  Chris Dunlap  <cdunlap@llnl.gov>

	* src/libcommon/auth_policy.h, src/libmunge/auth_send.c,
	  src/libmunge/auth_send.h, src/libmunge/decode.c,
	  src/libmunge/encode.c, src/munged/auth_recv.c,
	  src/munged/auth_recv.h: Added AUTH_PIPE_NAME_PREFIX.
	  Changed return types of auth_send() and auth_recv().
	  Changed reporting of auth_send() and auth_recv() errors.

2004-05-06  Chris Dunlap  <cdunlap@llnl.gov>

	* src/munged/conf.c, src/munged/munged.c: Moved auth_recv_init()
	  before gids_create() to allow for quicker exit when !root on AIX.

	* src/munged/gids.c (gids_create): Allow errno == ENOENT to denote
	  success after last entry is returned by getgrent() for glibc-2.2.5.

2004-05-05  Chris Dunlap  <cdunlap@llnl.gov>

	* src/libcommon/munge_defs.h, src/libcommon/munge_msg.c,
	  src/libcommon/munge_msg.h, src/libmunge/decode.c,
	  src/libmunge/encode.c, src/munged/cred.h, src/munged/dec_v1.c,
	  src/munged/enc_v1.c, src/munged/msg_server.c:
	  Incremented MUNGE_MSG_VERSION.  Fixed segfault occurring when
	  received message was smaller than its expected length {gnats:432}.

2004-04-30  Chris Dunlap  <cdunlap@llnl.gov>

	* : Released 0.3.

	* README, munge.spec: Updated description.

	* src/munge/munge.c, src/munged/gids.c: Tweaked includes for FreeBSD.
	* src/munge/munge.c, src/munged/zip.c: Minor tweaks for Solaris.

	* src/etc/Makefile.am: Replaced "/etc" with $(sysconfdir).

	* configure.ac: Added checks for standards.h, socklen_t, /dev/spx,
	  X_AC_CANONICAL, and X_AC_CHECK_FIFO_RECVFD.
	* config/x_ac_canonical.m4:
	  Added check to set the canonical host system type.
	* config/x_ac_check_fifo_recvfd.m4:
	  Added check to test whether an fd can be passed over a fifo.
	* config/x_ac_check_cond_lib.m4, config/x_ac_check_peercred.m4,
	  config/x_ac_check_pthreads.m4, config/x_ac_debug.m4,
	  config/x_ac_gpl_licensed.m4, x_ac_humor.m4, x_ac_meta.m4:
	  Reformatted.

	* src/libcommon/Makefile.am, src/libcommon/auth_policy.h,
	  src/libcommon/common.h, src/libcommon/munge_msg.h,
	  src/libmunge/Makefile.am, src/libmunge/auth_send.c,
	  src/libmunge/auth_send.h, src/libmunge/decode.c,
	  src/libmunge/encode.c, src/munged/Makefile.am, src/munged/auth.c,
	  src/munged/auth.h, src/munged/auth_recv.c, src/munged/auth_recv.h,
	  src/munged/dec_v1.c, src/munged/enc_v1.c, src/munged/munged.c:
	  Added support for authenticating clients under AIX & Solaris.
	  Replaced auth.[ch] with auth_policy.h & auth_(send|recv).[ch].

2004-04-21  Chris Dunlap  <cdunlap@llnl.gov>

	* src/munged/munged/gids.c (gids_create): Added log msg.

2004-04-16  Chris Dunlap  <cdunlap@llnl.gov>

	* doc/credential_v2_format.txt, src/libcommon/munge_defs.h,
	  src/libcommon/munge_msg.h, src/libmunge/ctx.c, src/libmunge/ctx.h,
	  src/libmunge/decode.c, src/libmunge/encode.c, src/libmunge/munge.h,
	  src/libmunge/strerror.c, src/munge/munge.c, src/munge/unmunge.c,
	  src/munged/Makefile.am, src/munged/conf.c, src/munged/conf.h,
	  src/munged/dec_v1.c, src/munged/enc_v1.c, src/munged/gids.c,
	  src/munged/gids.h, src/munged/hash.c, src/munged/hash.h,
	  src/munged/replay.c: Added support for UID & GID decode restrictions.

2004-04-14  Chris Dunlap  <cdunlap@llnl.gov>

	* : Re-bootstrap'd with autoconf-2.59, automake-1.8.3, libtool-1.5.6.

2004-04-08  Chris Dunlap  <cdunlap@llnl.gov>

	* src/munge/munge.c, src/munge/unmunge.c: Tweaks for Solaris 2.8.

	* src/libmunge/Makefile.am, src/munge/Makefile.am,
	  src/munged/Makefile.am:
	  Moved linking of libnsl from libmunge to munged/unmunge.

	* configure.ac, config/x_ac_check_cond_lib.m4,
	  src/libmunge/Makefile.am: Added checks for libnsl & libsocket.

	* configure.ac, src/libmissing/Makefile.am, src/libmissing/getopt.c,
	  src/libmissing/getopt.h, src/libmissing/getopt1.c, src/munge/munge.c,
	  src/munge/unmunge.c, src/munged/conf.c:
	  Added GNU getopt from glibc-2.3.2 to libmissing.

2004-04-06  Chris Dunlap  <cdunlap@llnl.gov>

	* src/etc/munge.init: Tweaked in an attempt to make path independent.

2004-04-02  Chris Dunlap  <cdunlap@llnl.gov>

	* : Added official UCRL number.

	* munge.spec, src/etc/munge.init:
	  Changed daemon rpm (re)start behavior at install or upgrade.

2004-03-31  Chris Dunlap  <cdunlap@llnl.gov>

	* config/x_ac_debug.m4, src/munge/unmunge.c, src/munged/dec_v1.c,
	  src/munged/enc_v1.c, src/munged/zip.c:
	  Added -pedantic to --enable-debug CFLAGS.

2004-03-25  Chris Dunlap  <cdunlap@llnl.gov>

	* src/munged/munged.c (main):
	  Changed logfile priority from LOG_DEBUG to LOG_NOTICE (if NDEBUG).

	* munge.spec, config/Make-rpm.mk:
	  Changed tarball suffix from ".tgz" to ".tar.gz".

2004-03-24  Chris Dunlap  <cdunlap@llnl.gov>

	* configure.ac, config/x_ac_check_pthreads.m4,
	  config/x_ac_reentrant.m4, src/munged/Makefile.am:
	  Added configure test to determine how to link against pthreads.

	* src/munged/crypto_thread.c, src/munged/crypto_thread.h:
	  Removed ifdef for HAVE_LIBPTHREAD.

2004-03-19  Chris Dunlap  <cdunlap@llnl.gov>

	* src/libcommon/munge_msg.c, src/munge/unmunge.c, src/munged/conf.c:
	  Minor tweaks for FreeBSD 4.8.

2004-03-18  Chris Dunlap  <cdunlap@llnl.gov>

	* bootstrap: Force replacement of existing bootstrap-related files.

	* config/mkinstalldirs: Updated with latest version from automake-1.8.

	* config/compile, config/config.guess, config/config.sub,
	  config/depcomp, config/install-sh, config/ltmain.sh, config/missing:
	  Nuked and updated with latest versions via the bootstrap script.
	  Fixes bug where the ".so" suffix disappeared from shared lib names.

2004-03-17  Chris Dunlap  <cdunlap@llnl.gov>

	* : Re-bootstrap'd with autoconf-2.59, automake-1.8.3, libtool-1.5.2.

2004-03-16  Chris Dunlap  <cdunlap@llnl.gov>

	* src/munge/munge.c, src/munge/unmunge.c, src/munged/conf.c,
	  src/munged/cred.c: Added dead store removal protection (ie, memburn).

	* src/munge/read.c (read_data_from_file): Removed unnecessary memset().

2004-03-12  Chris Dunlap  <cdunlap@llnl.gov>

	* src/munged/dec_v1.c, src/munged/enc_v1.c, src/munged/zip.c:
	  Fixed gcc 3.3.3 (Debian 20040306) compiler warnings under "-O2".

	* configure.ac, config/x_ac_reentrant.m4, src/munged/Makefile.am:
	  Moved _REENTRANT to top-level "config.h".

2004-03-11  Chris Dunlap  <cdunlap@llnl.gov>

	* config/x_ac_check_cond_lib.m4, config/x_ac_check_peercred.m4,
	  config/x_ac_debug.m4, config/x_ac_gpl_licensed.m4,
	  config/x_ac_humor.m4, config/x_ac_meta.m4: Reformatted.

	* src/munged/Makefile.am: Added _REENTRANT def to munged CFLAGS.

	* configure.ac, config/x_ac_ltlibobjs.m4:
	  Removed munging of LIBOBJS & LTLIBOBJS for automake & libtool.
	  Refer to autoconf docs 15.6.4: AC_LIBOBJ vs. LIBOBJS.

	* configure.ac, config/x_ac_check_cond_lib.m4, src/libcommon/common.h,
	  src/libcommon/munge_defs.h, src/libcommon/munge_msg.c,
	  src/libmunge/decode.c, src/libmunge/munge.h, src/libmunge/strings.c,
	  src/munged/Makefile.am, src/munged/conf.c, src/munged/cred.c,
	  src/munged/cred.h, src/munged/dec_v1.c, src/munged/enc_v1.c,
	  src/munged/zip.c, src/munged/zip.h: Added support for compression.

	* src/munged/replay.c (replay_insert): Changed return codes.

	* config/x_ac_meta.m4: Added test for META file existence.

2004-03-05  Chris Dunlap  <cdunlap@llnl.gov>

	* config/ac_check_peercred.m4, config/ac_debug.m4,
	  config/ac_gpl_licensed.m4, config/ac_humor.m4,
	  config/ac_ltlibobjs.m4, config/ac_meta.m4:
	  Renamed to config/x_ac_*.m4 to prevent future potential
	  conflicts in the autoconf variable namespace.

	* config/ac_check_peercred.m4, config/ac_humor.m4:
	  Added autoconf caching support.

2004-03-04  Chris Dunlap  <cdunlap@llnl.gov>

	* README, munge.spec: Updated description.

2004-03-01  Chris Dunlap  <cdunlap@llnl.gov>

	* src/munge/munge.c, src/munge/unmunge.c:
	  Ignore EPIPE when closing output streams.

2004-02-13  Chris Dunlap  <cdunlap@llnl.gov>

	* src/libcommon/str.c, src/libcommon/str.h:
	  Removed strdump().  Added strhex().

2004-02-05  Chris Dunlap  <cdunlap@llnl.gov>

	* src/libmunge/encode.c, src/munge/read.c, src/munged/base64.c,
	  src/munged/base64.h, src/munged/cipher.c, src/munged/cipher.h,
	  src/munged/mac.c, src/munged/mac.h, src/munged/md.c, src/munged/md.h:
	  Pedantic tweaks for AIX compiler.

2004-01-30  Chris Dunlap  <cdunlap@llnl.gov>

	* src/munged/auth.c: Added support for getpeereid().

	* src/libmunge/ctx.c, src/libmunge/msg_client.c, src/munged/dec_v1.c,
	  src/munged/enc_v1.c, src/munged/munged.c:
	  Tweaked includes for FreeBSD 4.8.

	* configure.ac, config/ac_check_peercred.m4: Added checks for
	  HAVE_GETPEEREID, HAVE_SO_PEERCRED, and HAVE_STRUCT_STRRECVFD.

	* config/ac_debug.m4:
	  Replaced obsolete AC_HELP_STRING with AS_HELP_STRING.

2004-01-29  Chris Dunlap  <cdunlap@llnl.gov>

	* src/libmunge/msg_client.c, src/munge/munge.c, src/munge/unmunge.c,
	  src/munged/conf.c, src/munged/sock.c:
	  Tweaked for compiler warnings under AIX 5.1.

	* src/libcommon/munge_msg.h, src/munged/conf.h, src/munged/cred.h:
	  Replaced <stdint.h> with <inttypes.h> based on info from the
	  autoconf doc (section 5.6.1: Portability of Headers).

2004-01-28  Chris Dunlap  <cdunlap@llnl.gov>

	* : Re-bootstrap'd with autoconf-2.59, automake-1.8.2, libtool-1.5.2.

2004-01-27  Chris Dunlap  <cdunlap@llnl.gov>

	* src/libcommon/str.c, src/libcommon/str.h: Added memburn().

2004-01-15  Chris Dunlap  <cdunlap@llnl.gov>

	* src/libcommon/license.c: Updated copyright date range.

	* src/libcommon/munge_defs.h, src/libcommon/munge_msg.c
	  src/libcommon/munge_msg.h, src/libmunge/ctx.c,
	  src/libmunge/ctx.h, src/libmunge/decode.c,
	  src/libmunge/encode.c, src/libmunge/msg_client.c,
	  src/libmunge/munge.h, src/munge/unmunge.c, src/munged/cred.c,
	  src/munged/cred.h, src/munged/dec_v1.c, src/munged/enc_v1.c,
	  src/munged/msg_server.c, src/munged/msg_server.h:
	  Changed protocol between client (libmunge) and server (munged)
	  to allow credential data & metadata to be returned on error.

	* src/munge/unmunge.c (display_meta):
	  Added check for errors on the file stream "fp_meta".

2003-12-12  Chris Dunlap  <cdunlap@llnl.gov>

	* src/munged/msg_server.c (munge_msg_server_thread):
	  Fixed _munge_msg_recv() error from getting logged twice.

	* src/libcommon/munge_msg.c (_munge_msg_send, _munge_msg_recv):
	  Fixed error conditions that were not errno conditions.

2003-12-11  Chris Dunlap  <cdunlap@llnl.gov>

	* src/libcommon/munge_msg.c (_munge_msg_send):
	  Changed to use gather-writes.

	* src/libcommon/munge_defs.h:
	  Increased MUNGE_SOCKET_BACKLOG from 128 to 256.

2003-11-26  Chris Dunlap  <cdunlap@llnl.gov>

	* : Re-bootstrap'd with autoconf-2.57, automake-1.7.9, libtool-1.5.0a.

	* src/libcommon/munge_defs.h, src/munged/Makefile.am,
	  src/munged/conf.c, src/munged/cred.h, src/munged/dec_v1.c,
	  src/munged/hash.c, src/munged/hash.h, src/munged/munged.c,
	  src/munged/replay.c, src/munged/replay.h, src/munged/thread.c,
	  src/munged/thread.h, src/munged/timer.c, src/munged/timer.h:
	  Added support for replay detection/prevention.

2003-10-28  Chris Dunlap  <cdunlap@llnl.gov>

	* : Re-bootstrap'd with autoconf-2.57, automake-1.7.8, libtool-1.5.0a.

	* src/etc/Makefile.am: Added support for /etc/init.d/ (Debian).

2003-10-24  Chris Dunlap  <cdunlap@llnl.gov>

	* : Released 0.2.

2003-10-14  Chris Dunlap  <cdunlap@llnl.gov>

	* src/libcommon/munge_defs.h, src/munged/random.c:
	  Changed RANDOM_SEED_DEFAULT from "/dev/random" to "/dev/urandom".

	* src/munged/dec_v1.c (dec_v1_unpack_inner):
	  Fixed unaligned access on ia64 {gnats:303}.

	* src/munged/dec_v1.c, src/munged/enc_v1.c:
	  Fixed ia64 compiler warning that time_t "comparison is always false
	  due to limited range of data type".

2003-09-18  Chris Dunlap  <cdunlap@llnl.gov>

	* doc/credential_v1_format.txt, src/libcommon/munge_defs.h,
	  src/libmunge/ctx.c, src/libmunge/decode.c, src/libmunge/encode.c,
	  src/libmunge/munge.h, src/munge/munge.c, src/munge/unmunge.c,
	  src/munged/conf.c, src/munged/conf.h, src/munged/dec_v1.c,
	  src/munged/enc_v1.c: Added TTL back into credential (for replay).

	* src/libcommon/fd.c: Tweaked formatting.

2003-07-18  Chris Dunlap  <cdunlap@llnl.gov>

	* src/libcommon/munge_msg.c: Augmented err msgs once again.

2003-07-02  Chris Dunlap  <cdunlap@llnl.gov>

	* src/libcommon/munge_defs.h:
	  Increased MUNGE_SOCKET_BACKLOG from 64 to 128.

2003-06-27  Chris Dunlap  <cdunlap@llnl.gov>

	* src/libcommon/munge_msg.c:
	  Augmented err msgs with strerror() to track down failed fd_write_n().

2003-06-12  Chris Dunlap  <cdunlap@llnl.gov>

	* src/munged/conf.c (create_conf):
	  Changed default value for got_clock_skew flag to true.

2003-06-03  Chris Dunlap  <cdunlap@llnl.gov>

	* src/libcommon/munge_msg.c (_munge_msg_recv):
	  Fixed bug with unexpected message length assert.

2003-05-30  Chris Dunlap  <cdunlap@llnl.gov>

	* doc/credential-v1-format: Added.

2003-05-29  Chris Dunlap  <cdunlap@llnl.gov>

	* libcommon/munge_defs.h: Increased credential's salt from 56b to 64b.

	* src/libcommon/munge_msg.h, src/libmunge/ctx.c, src/libmunge/ctx.h,
	  src/libmunge/decode.c, src/libmunge/encode.c, src/libmunge/munge.h,
	  src/munge/unmunge.c, src/munged/conf.c, src/munged/conf.h,
	  src/munged/dec_v1.c, src/munged/enc_v1.c, src/munged/munged.c:
	  Added IP address where cred was encoded into the credential.
	  This breaks backwards-compatibility with existing credentials.
	  Added MUNGE_OPT_ADDR4 enum (and tweaked the enum values).

2003-05-22  Chris Dunlap  <cdunlap@llnl.gov>

	* src/libmunge/munge.h: Update docs for munge_decode() to reflect
	  that an additional NUL is appended to the returned buffer.

	* src/munge/munge.c, src/munge/unmunge.c:
	  Changed manner in which strtol() is checked for error.

	* src/libmunge/msg_client.c (_munge_msg_client_connect):
	  Changed client's connect() retry backoff from exponential to linear.

	* src/munged/munged.c (segv_handler): Added.

2003-05-16  Chris Dunlap  <cdunlap@llnl.gov>

	* src/libcommon/munge_defs.h:
	  Increased MUNGE_SOCKET_BACKLOG from 10 to 64.

	* src/libcommon/log.c, src/libcommon/log.h:
	  Added log_errno().  All callers changed.

2003-05-07  Chris Dunlap  <cdunlap@llnl.gov>

	* src/munged/dec_v1.c (dec_v1_validate_time):
	  Added a minimum negative clock skew of 1 second, since we were
	  encountering EMUNGE_CRED_REWOUND in spite of NTP's best efforts.

2003-05-06  Chris Dunlap  <cdunlap@llnl.gov>

	* : Added support for the "--enable-debug" configure script option.

	* src/etc/munge.init, src/libcommon/munge_defs.h, src/munged/conf.c,
	  src/munged/munged.c: Added munged F cmdline opt and daemon support.

	* src/munged/random.c (random_init): Added "seeding in progress" msg.

2003-05-03  Chris Dunlap  <cdunlap@llnl.gov>

	* HISTORY: Added.

	* src/munged/msg_server.c (err_v1_process_msg):
	  Fixed sending err msg with no body, but need to revisit this routine.

2003-05-02  Chris Dunlap  <cdunlap@llnl.gov>

	* : Removed dprintf() due to an interpositioning bug with a
	  GNU extension function named dprintf() -- who knew?!?

	* : Read PACKAGE/VERSION info from META file.

	* src/munge/munge.c, src/munge/unmunge.c, src/munged/conf.c:
	  Added V cmdline opt.

	* src/munge/unmunge.c (main): Fixed invalid read of free'd memory.

	* src/libmunge/decode.c (decode_rsp_v1):
	  Fixed dataless cred decode to match header (ie, no data is malloc'd).
	  Fixed overwrite of returned data buffer.

2003-04-30  Chris Dunlap  <cdunlap@llnl.gov>

	* : Released 0.1.

	* munge.spec: Tweaked description, pre/post/preun/postun, files.

	* : Added 'distclean-local' hook via Make-inc.mk.

	* : Added startup script.

2003-04-29  Chris Dunlap  <cdunlap@llnl.gov>

	* : Fixed compiler warnings under RH62 w/o -Wall.

2003-04-25  Chris Dunlap  <cdunlap@llnl.gov>

	* src/libmunge/munge.h, src/libmunge/strings.c, src/munged/enc_v1.c,
	  src/munged/lookup.c: Removed "half-mac" work-in-progress.

	* src/munge/munge.c, src/munge/unmunge.c: Tweaked "list" output.

	* src/munge/munge.c: Added c/C/m/M/z/Z cmdline opts.

	* src/munge/unmunge.c: Added t cmdline opt for setting TTL.
	  Added ENCODED, DECODED, CIPHER, MAC, ZIP metadata keys.

	* src/libmunge/munge.h, src/libmunge/ctx.c: Tweaked MUNGE_OPT_* enums.

	* src/libmunge/Makefile.am, src/libmunge/strings.c:
	  Added descriptive string arrays for enums.

2003-04-24  Chris Dunlap  <cdunlap@llnl.gov>

	* src/munge/unmunge.c: Changed t/T cmdline opts to k/K.

2003-04-23  Chris Dunlap  <cdunlap@llnl.gov>

	* src/munged/dec_v1.c: Ensured MUNGE_TTL_FOREVER never expires.

	* libcommon/munge_defs.h: Reduced credential's salt from 64b to 56b.

	* src/libmunge/decode.c, src/libmunge/encode.c, src/munged/dec_v1.c,
	  src/munged/enc_v1.c: Removed credential's TTL field.

	* : Cleanup of error propagation code.

2003-04-22  Chris Dunlap  <cdunlap@llnl.gov>

	* src/libcommon/munge_msg.h, src/munged/dec_v1.c, src/munged/enc_v1.c:
	  Changed cred's realm_len from uint32_t to uint8_t.

2003-04-18  Chris Dunlap  <cdunlap@llnl.gov>

	* src/libcommon/munge_defs.h, src/munged/conf.c:
	  Temporarily added MUNGED_RANDOM_SEED and MUNGED_SECRET_KEY defs.

	* src/libmunge/ctx.c, src/libmunge/munge.h, src/munge/munge.c:
	  Renamed munge_ctx_err() to munge_ctx_strerror().

	* : Committed munge_decode() support.

	* src/munged/md.c: Changed md_size() to return 0 on NULL ptr.
	* src/munged/mac.c: Changed mac_size() to return 0 on NULL ptr.
	* src/munged/cipher.c: Changed cipher_block_size(), cipher_iv_size(),
	  and cipher_key_size() to return 0 on NULL ptr.

	* src/munged/cipher.h: Added CIPHER_DECRYPT & CIPHER_ENCRYPT enums.

	* src/libcommon/str.c, src/libcommon/str.h: Added strdump().

	* src/libcommon/munge_defs.h:
	  Changed MUNGE_CRED_PREFIX & MUNGE_CRED_SUFFIX.

2003-04-08  Chris Dunlap  <cdunlap@llnl.gov>

	* : Committed munge_encode() support.

2003-02-18  Chris Dunlap  <cdunlap@llnl.gov>

	* : Changed #ifdef/#ifndef to #if where appropriate.

2003-02-16  Chris Dunlap  <cdunlap@llnl.gov>

	* : Added GPL_LICENSED preprocessor macro support.

2003-02-13  Chris Dunlap  <cdunlap@llnl.gov>

	* : Added munge/unmunge cmdline progs.

2003-02-03  Chris Dunlap  <cdunlap@llnl.gov>

	* src/libmunge/munge.c, src/libmunge/munge.h:
	  Tweaked API for munge_encode() and munge_decode().

2002-12-20  Chris Dunlap  <cdunlap@llnl.gov>

	* : Released 0.0.