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 2779 2780 2781 2782 2783 2784 2785 2786 2787 2788 2789 2790 2791 2792 2793 2794 2795 2796 2797 2798 2799 2800 2801 2802 2803 2804 2805 2806 2807 2808 2809 2810 2811 2812 2813 2814 2815 2816 2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 2840 2841 2842 2843 2844 2845 2846 2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 2857 2858 2859 2860 2861 2862 2863 2864 2865 2866 2867 2868 2869 2870 2871 2872 2873 2874 2875 2876 2877 2878 2879 2880 2881 2882 2883 2884 2885 2886 2887 2888 2889 2890 2891 2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935 2936 2937 2938 2939 2940 2941 2942 2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 2983 2984 2985 2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 3028 3029 3030 3031 3032 3033 3034 3035 3036 3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 3049 3050 3051 3052 3053 3054 3055 3056 3057 3058 3059 3060 3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 3073 3074 3075 3076 3077 3078 3079 3080 3081 3082 3083 3084 3085 3086 3087 3088 3089 3090 3091 3092 3093 3094 3095 3096 3097 3098 3099 3100 3101 3102 3103 3104 3105 3106 3107 3108 3109 3110 3111 3112 3113 3114 3115 3116 3117 3118 3119 3120 3121 3122 3123 3124 3125 3126 3127 3128 3129 3130 3131 3132 3133 3134 3135 3136 3137 3138 3139 3140 3141 3142 3143 3144 3145 3146 3147 3148 3149 3150 3151 3152 3153 3154 3155 3156 3157 3158 3159 3160 3161 3162 3163 3164 3165 3166 3167 3168 3169 3170 3171 3172 3173 3174 3175 3176 3177 3178 3179 3180 3181 3182 3183 3184 3185 3186 3187 3188 3189 3190 3191 3192 3193 3194 3195 3196 3197 3198 3199 3200 3201 3202 3203 3204 3205 3206 3207 3208 3209 3210 3211 3212 3213 3214 3215 3216 3217 3218 3219 3220 3221 3222 3223 3224 3225 3226 3227 3228 3229 3230 3231 3232 3233 3234 3235 3236 3237 3238 3239 3240 3241 3242 3243 3244 3245 3246 3247 3248 3249 3250 3251 3252 3253 3254 3255 3256 3257 3258 3259 3260 3261 3262 3263 3264 3265 3266 3267 3268 3269 3270 3271 3272 3273 3274 3275 3276 3277 3278 3279 3280 3281 3282 3283 3284 3285 3286 3287 3288 3289 3290 3291 3292 3293 3294 3295 3296 3297 3298 3299 3300 3301 3302 3303 3304 3305 3306 3307 3308 3309 3310 3311 3312 3313 3314 3315 3316 3317 3318 3319 3320 3321 3322 3323 3324 3325 3326 3327 3328 3329 3330 3331 3332 3333 3334 3335 3336 3337 3338 3339 3340 3341 3342 3343 3344 3345 3346 3347 3348 3349 3350 3351 3352 3353 3354 3355 3356 3357 3358 3359 3360 3361 3362 3363 3364 3365 3366 3367 3368 3369 3370 3371 3372 3373 3374 3375 3376 3377 3378 3379 3380 3381 3382 3383 3384 3385 3386 3387 3388 3389 3390 3391 3392 3393 3394 3395 3396 3397 3398 3399 3400 3401 3402 3403 3404 3405 3406 3407 3408 3409 3410 3411 3412 3413 3414 3415 3416 3417 3418 3419 3420 3421 3422 3423 3424 3425 3426 3427 3428 3429 3430 3431 3432 3433 3434 3435 3436 3437 3438 3439 3440 3441 3442 3443 3444 3445 3446 3447 3448 3449 3450 3451 3452 3453 3454 3455 3456 3457 3458 3459 3460 3461 3462 3463 3464 3465 3466 3467 3468 3469 3470 3471 3472 3473 3474 3475 3476 3477 3478 3479 3480 3481 3482 3483 3484 3485 3486 3487 3488 3489 3490 3491 3492 3493 3494 3495 3496 3497 3498 3499 3500 3501 3502 3503 3504 3505 3506 3507 3508 3509 3510 3511 3512 3513 3514 3515 3516 3517 3518 3519 3520 3521 3522 3523 3524 3525 3526 3527 3528 3529 3530 3531 3532 3533 3534 3535 3536 3537 3538 3539 3540 3541 3542 3543 3544 3545 3546 3547 3548 3549 3550 3551 3552 3553 3554 3555 3556 3557 3558 3559 3560 3561 3562 3563 3564 3565 3566 3567 3568 3569 3570 3571 3572 3573 3574 3575 3576 3577 3578 3579 3580 3581 3582 3583 3584 3585 3586 3587 3588 3589 3590 3591 3592 3593 3594 3595 3596 3597 3598 3599 3600 3601 3602 3603 3604 3605 3606 3607 3608 3609 3610 3611 3612 3613 3614 3615 3616 3617 3618 3619 3620 3621 3622 3623 3624 3625 3626 3627 3628 3629 3630 3631 3632 3633 3634 3635 3636 3637 3638 3639 3640 3641 3642 3643 3644 3645 3646 3647 3648 3649 3650 3651 3652 3653 3654 3655 3656 3657 3658 3659 3660 3661 3662 3663 3664 3665 3666 3667 3668 3669 3670 3671 3672 3673 3674 3675 3676 3677 3678 3679 3680 3681 3682 3683 3684 3685 3686 3687 3688 3689 3690 3691 3692 3693 3694 3695 3696 3697 3698 3699 3700 3701 3702 3703 3704 3705 3706 3707 3708 3709 3710 3711 3712 3713 3714 3715 3716 3717 3718 3719 3720 3721 3722 3723 3724 3725 3726 3727 3728 3729 3730 3731 3732 3733 3734 3735 3736 3737 3738 3739 3740 3741 3742 3743 3744 3745 3746 3747 3748 3749 3750 3751 3752 3753 3754 3755 3756 3757 3758 3759 3760 3761 3762 3763 3764 3765 3766 3767 3768 3769 3770 3771 3772 3773 3774 3775 3776 3777 3778 3779 3780 3781 3782 3783 3784 3785 3786 3787 3788 3789 3790 3791 3792 3793 3794 3795 3796 3797 3798 3799 3800 3801 3802 3803 3804 3805 3806 3807 3808 3809 3810 3811 3812 3813 3814 3815 3816 3817 3818 3819 3820 3821 3822 3823 3824 3825 3826 3827 3828 3829 3830 3831 3832 3833 3834 3835 3836 3837 3838 3839 3840 3841 3842 3843 3844 3845 3846 3847 3848 3849 3850 3851 3852 3853 3854 3855 3856 3857 3858 3859 3860 3861 3862 3863 3864 3865 3866 3867 3868 3869 3870 3871 3872 3873 3874 3875 3876 3877 3878 3879 3880 3881 3882 3883 3884 3885 3886 3887 3888 3889 3890 3891 3892 3893 3894 3895 3896 3897 3898 3899 3900 3901 3902 3903 3904 3905 3906 3907 3908 3909 3910 3911 3912 3913 3914 3915 3916 3917 3918 3919 3920 3921 3922 3923 3924 3925 3926 3927 3928 3929 3930 3931 3932 3933 3934 3935 3936 3937 3938 3939 3940 3941 3942 3943 3944 3945 3946 3947 3948 3949 3950 3951 3952 3953 3954 3955 3956 3957 3958 3959 3960 3961 3962 3963 3964 3965 3966 3967 3968 3969 3970 3971 3972 3973 3974 3975 3976 3977 3978 3979 3980 3981 3982 3983 3984 3985 3986 3987 3988 3989 3990 3991 3992 3993 3994 3995 3996 3997 3998 3999 4000 4001 4002 4003 4004 4005 4006 4007 4008 4009 4010 4011 4012 4013 4014 4015 4016 4017 4018 4019 4020 4021 4022 4023 4024 4025 4026 4027 4028 4029 4030 4031 4032 4033 4034 4035 4036 4037 4038 4039 4040 4041 4042 4043 4044 4045 4046 4047 4048 4049 4050 4051 4052 4053 4054 4055 4056 4057 4058 4059 4060 4061 4062 4063 4064 4065 4066 4067 4068 4069 4070 4071 4072 4073 4074 4075 4076 4077 4078 4079 4080 4081 4082 4083 4084 4085 4086 4087 4088 4089 4090 4091 4092 4093 4094 4095 4096 4097 4098 4099 4100 4101 4102 4103 4104 4105 4106 4107 4108 4109 4110 4111 4112 4113 4114 4115 4116 4117 4118 4119 4120 4121 4122 4123 4124 4125 4126 4127 4128 4129 4130 4131 4132 4133 4134 4135 4136 4137 4138 4139 4140 4141 4142 4143 4144 4145 4146 4147 4148 4149 4150 4151 4152 4153 4154 4155 4156 4157 4158 4159 4160 4161 4162 4163 4164 4165 4166 4167 4168 4169 4170 4171 4172 4173 4174 4175 4176 4177 4178 4179 4180 4181 4182 4183 4184 4185 4186 4187 4188 4189 4190 4191 4192 4193 4194 4195 4196 4197 4198 4199 4200 4201 4202 4203 4204 4205 4206 4207 4208 4209 4210 4211 4212 4213 4214 4215 4216 4217 4218 4219 4220 4221 4222 4223 4224 4225 4226 4227 4228 4229 4230 4231 4232 4233 4234 4235 4236 4237 4238 4239 4240 4241 4242 4243 4244 4245 4246 4247 4248 4249 4250 4251 4252 4253 4254 4255 4256 4257 4258 4259 4260 4261 4262 4263 4264 4265 4266 4267 4268 4269 4270 4271 4272 4273 4274 4275 4276 4277 4278 4279 4280 4281 4282 4283 4284 4285 4286 4287 4288 4289 4290 4291 4292 4293 4294 4295 4296 4297 4298 4299 4300 4301 4302 4303 4304 4305 4306 4307 4308 4309 4310 4311 4312 4313 4314 4315 4316 4317 4318 4319 4320 4321 4322 4323 4324 4325 4326 4327 4328 4329 4330 4331 4332 4333 4334 4335 4336 4337 4338 4339 4340 4341 4342 4343 4344 4345 4346 4347 4348 4349 4350 4351 4352 4353 4354 4355 4356 4357 4358 4359 4360 4361 4362 4363 4364 4365 4366 4367 4368 4369 4370 4371 4372 4373 4374 4375 4376 4377 4378 4379 4380 4381 4382 4383 4384 4385 4386 4387 4388 4389 4390 4391 4392 4393 4394 4395 4396 4397 4398 4399 4400 4401 4402 4403 4404 4405 4406 4407 4408 4409 4410 4411 4412 4413 4414 4415 4416 4417 4418 4419 4420 4421 4422 4423 4424 4425 4426 4427 4428 4429 4430 4431 4432 4433 4434 4435 4436 4437 4438 4439 4440 4441 4442 4443 4444 4445 4446 4447 4448 4449 4450 4451 4452 4453 4454 4455 4456 4457 4458 4459 4460 4461 4462 4463 4464 4465 4466 4467 4468 4469 4470 4471 4472 4473 4474 4475 4476 4477 4478 4479 4480 4481 4482 4483 4484 4485 4486 4487 4488 4489 4490 4491 4492 4493 4494 4495 4496 4497 4498 4499 4500 4501 4502 4503 4504 4505 4506 4507 4508 4509 4510 4511 4512 4513 4514 4515 4516 4517 4518 4519 4520 4521 4522 4523 4524 4525 4526 4527 4528 4529 4530 4531 4532 4533 4534 4535 4536 4537 4538 4539 4540 4541 4542 4543 4544 4545 4546 4547 4548 4549 4550 4551 4552 4553 4554 4555 4556 4557 4558 4559 4560 4561 4562 4563 4564 4565 4566 4567 4568 4569 4570 4571 4572 4573 4574 4575 4576 4577 4578 4579 4580 4581 4582 4583 4584 4585 4586 4587 4588 4589 4590 4591 4592 4593 4594 4595 4596 4597 4598 4599 4600 4601 4602 4603 4604 4605 4606 4607 4608 4609 4610 4611 4612 4613 4614 4615 4616 4617 4618 4619 4620 4621 4622 4623 4624 4625 4626 4627 4628 4629 4630 4631 4632 4633 4634 4635 4636 4637 4638 4639 4640 4641 4642 4643 4644 4645 4646 4647 4648 4649 4650 4651 4652 4653 4654 4655 4656 4657 4658 4659 4660 4661 4662 4663 4664 4665 4666 4667 4668 4669 4670 4671 4672 4673 4674 4675 4676 4677 4678 4679 4680 4681 4682 4683 4684 4685 4686 4687 4688 4689 4690 4691 4692 4693 4694 4695 4696 4697 4698 4699 4700 4701 4702 4703 4704 4705 4706 4707 4708 4709 4710 4711 4712 4713 4714 4715 4716 4717 4718 4719 4720 4721 4722 4723 4724 4725 4726 4727 4728 4729 4730 4731 4732 4733 4734 4735 4736 4737 4738 4739 4740 4741 4742 4743 4744 4745 4746 4747 4748 4749 4750 4751 4752 4753 4754 4755 4756 4757 4758 4759 4760 4761 4762 4763 4764 4765 4766 4767 4768 4769 4770 4771 4772 4773 4774 4775 4776 4777 4778 4779 4780 4781 4782 4783 4784 4785 4786 4787 4788 4789 4790 4791 4792 4793 4794 4795 4796 4797 4798 4799 4800 4801 4802 4803 4804 4805 4806 4807 4808 4809 4810 4811 4812 4813 4814 4815 4816 4817 4818 4819 4820 4821 4822 4823 4824 4825 4826 4827 4828 4829 4830 4831 4832 4833 4834 4835 4836 4837 4838 4839 4840 4841 4842 4843 4844 4845 4846 4847 4848 4849 4850 4851 4852 4853 4854 4855 4856 4857 4858 4859 4860 4861 4862 4863 4864 4865 4866 4867 4868 4869 4870 4871 4872 4873 4874 4875 4876 4877 4878 4879 4880 4881 4882 4883 4884 4885 4886 4887 4888 4889 4890 4891 4892 4893 4894 4895 4896 4897 4898 4899 4900 4901 4902 4903 4904 4905 4906 4907 4908 4909 4910 4911 4912 4913 4914 4915 4916 4917 4918 4919 4920 4921 4922 4923 4924 4925 4926 4927 4928 4929 4930 4931 4932 4933 4934 4935 4936 4937 4938 4939 4940 4941 4942 4943 4944 4945 4946 4947 4948 4949 4950 4951 4952 4953 4954 4955 4956 4957 4958 4959 4960 4961 4962 4963 4964 4965 4966 4967 4968 4969 4970 4971 4972 4973 4974 4975 4976 4977 4978 4979 4980 4981 4982 4983 4984 4985 4986 4987 4988 4989 4990 4991 4992 4993 4994 4995 4996 4997 4998 4999 5000 5001 5002 5003 5004 5005 5006 5007 5008 5009 5010 5011 5012 5013 5014 5015 5016 5017 5018 5019 5020 5021 5022 5023 5024 5025 5026 5027 5028 5029 5030 5031 5032 5033 5034 5035 5036 5037 5038 5039 5040 5041 5042 5043 5044 5045 5046 5047 5048 5049 5050 5051 5052 5053 5054 5055 5056 5057 5058 5059 5060 5061 5062 5063 5064 5065 5066 5067 5068 5069 5070 5071 5072 5073 5074 5075 5076 5077 5078 5079 5080 5081 5082 5083 5084 5085 5086 5087 5088 5089 5090 5091 5092 5093 5094 5095 5096 5097 5098 5099 5100 5101 5102 5103 5104 5105 5106 5107 5108 5109 5110 5111 5112 5113 5114 5115 5116 5117 5118 5119 5120 5121 5122 5123 5124 5125 5126 5127 5128 5129 5130 5131 5132 5133 5134 5135 5136 5137 5138 5139 5140 5141 5142 5143 5144 5145 5146 5147 5148 5149 5150 5151 5152 5153 5154 5155 5156 5157 5158 5159 5160 5161 5162 5163 5164 5165 5166 5167 5168 5169 5170 5171 5172 5173 5174 5175 5176 5177 5178 5179 5180 5181 5182 5183 5184 5185 5186 5187 5188 5189 5190 5191 5192 5193 5194 5195 5196 5197 5198 5199 5200 5201 5202 5203 5204 5205 5206 5207 5208 5209 5210 5211 5212 5213 5214 5215 5216 5217 5218 5219 5220 5221 5222 5223 5224 5225 5226 5227 5228 5229 5230 5231 5232 5233 5234 5235 5236 5237 5238 5239 5240 5241 5242 5243 5244 5245 5246 5247 5248 5249 5250 5251 5252 5253 5254 5255 5256 5257 5258 5259 5260 5261 5262 5263 5264 5265 5266 5267 5268 5269 5270 5271 5272 5273 5274 5275 5276 5277 5278 5279 5280 5281 5282 5283 5284 5285 5286 5287 5288 5289 5290 5291 5292 5293 5294 5295 5296 5297 5298 5299 5300 5301 5302 5303 5304 5305 5306 5307 5308 5309 5310 5311 5312 5313 5314 5315 5316 5317 5318 5319 5320 5321 5322 5323 5324 5325 5326 5327 5328 5329 5330 5331 5332 5333 5334 5335 5336 5337 5338 5339 5340 5341 5342 5343 5344 5345 5346 5347 5348 5349 5350 5351 5352 5353 5354 5355 5356 5357 5358 5359 5360 5361 5362 5363 5364 5365 5366 5367 5368 5369 5370 5371 5372 5373 5374 5375 5376 5377 5378 5379 5380 5381 5382 5383 5384 5385 5386 5387 5388 5389 5390 5391 5392 5393 5394 5395 5396 5397 5398 5399 5400 5401 5402 5403 5404 5405 5406 5407 5408 5409 5410 5411 5412 5413 5414 5415 5416 5417 5418 5419 5420 5421 5422 5423 5424 5425 5426 5427 5428 5429 5430 5431 5432 5433 5434 5435 5436 5437 5438 5439 5440 5441 5442 5443 5444 5445 5446 5447 5448 5449 5450 5451 5452 5453 5454 5455 5456 5457 5458 5459 5460 5461 5462 5463 5464 5465 5466 5467 5468 5469 5470 5471 5472 5473 5474 5475 5476 5477 5478 5479 5480 5481 5482 5483 5484 5485 5486 5487 5488 5489 5490 5491 5492 5493 5494 5495 5496 5497 5498 5499 5500 5501 5502 5503 5504 5505 5506 5507 5508 5509 5510 5511 5512 5513 5514 5515 5516 5517 5518 5519 5520 5521 5522 5523 5524 5525 5526 5527 5528 5529 5530 5531 5532 5533 5534 5535 5536 5537 5538 5539 5540 5541 5542 5543 5544 5545 5546 5547 5548 5549 5550 5551 5552 5553 5554 5555 5556 5557 5558 5559 5560 5561 5562 5563 5564 5565 5566 5567 5568 5569 5570 5571 5572 5573 5574 5575 5576 5577 5578 5579 5580 5581 5582 5583 5584 5585 5586 5587 5588 5589 5590 5591 5592 5593 5594 5595 5596 5597 5598 5599 5600 5601 5602 5603 5604 5605 5606 5607 5608 5609 5610 5611 5612 5613 5614 5615 5616 5617 5618 5619 5620 5621 5622 5623 5624 5625 5626 5627 5628 5629 5630 5631 5632 5633 5634 5635 5636 5637 5638 5639 5640 5641 5642 5643 5644 5645 5646 5647 5648 5649 5650 5651 5652 5653 5654 5655 5656 5657 5658 5659 5660 5661 5662 5663 5664 5665 5666 5667 5668 5669 5670 5671 5672 5673 5674 5675 5676 5677 5678 5679 5680 5681 5682 5683 5684 5685 5686 5687 5688 5689 5690 5691 5692 5693 5694 5695 5696 5697 5698 5699 5700 5701 5702 5703 5704 5705 5706 5707 5708 5709 5710 5711 5712 5713 5714 5715 5716 5717 5718 5719 5720 5721 5722 5723 5724 5725 5726 5727 5728 5729 5730 5731 5732 5733 5734 5735 5736 5737 5738 5739 5740 5741 5742 5743 5744 5745 5746 5747 5748 5749 5750 5751 5752 5753 5754 5755 5756 5757 5758 5759 5760 5761 5762 5763 5764 5765 5766 5767 5768 5769 5770 5771 5772 5773 5774 5775 5776 5777 5778 5779 5780 5781 5782 5783 5784 5785 5786 5787 5788 5789 5790 5791 5792 5793 5794 5795 5796 5797 5798 5799 5800 5801 5802 5803 5804 5805 5806 5807 5808 5809 5810 5811 5812 5813 5814 5815 5816 5817 5818 5819 5820 5821 5822 5823 5824 5825 5826 5827 5828 5829 5830 5831 5832 5833 5834 5835 5836 5837 5838 5839 5840 5841 5842 5843 5844 5845 5846 5847 5848 5849 5850 5851 5852 5853 5854 5855 5856 5857 5858 5859 5860 5861 5862 5863 5864 5865 5866 5867 5868 5869 5870 5871 5872 5873 5874 5875 5876 5877 5878 5879 5880 5881 5882 5883 5884 5885 5886 5887 5888 5889 5890 5891 5892 5893 5894 5895 5896 5897 5898 5899 5900 5901 5902 5903 5904 5905 5906 5907 5908 5909 5910 5911 5912 5913 5914 5915 5916 5917 5918 5919 5920 5921 5922 5923 5924 5925 5926 5927 5928 5929 5930 5931 5932 5933 5934 5935 5936 5937 5938 5939 5940 5941 5942 5943
|
commit 3d2afb2a50701a07b7afb412f028b65534070a63
Author: Bruce Guenter <bruce@untroubled.org>
Date: Thu Jan 21 13:43:54 2010 -0600
qmail-domains: Merge load_locals and load_vdomains
qmail-domains.c | 53 +++++++++++++++++++++++++++--------------------------
1 files changed, 27 insertions(+), 26 deletions(-)
commit e608c3ffa58de2662bd7af2bd13b5b25616df26d
Author: Bruce Guenter <bruce@untroubled.org>
Date: Tue Jan 19 18:04:46 2010 -0600
Fix reloading qmail locals/virtualdomains if they are deleted
qmail-domains.c | 24 ++++++++++++++++++++----
1 files changed, 20 insertions(+), 4 deletions(-)
commit a30c2a30aed241864df6cd942f91f041b0f40ea0
Author: Bruce Guenter <bruce@untroubled.org>
Date: Thu Jan 14 14:43:07 2010 -0600
cvm-qmail: Fix to not die if control/locals is missing
NEWS | 2 ++
TODO | 4 ++++
qmail-domains.c | 2 +-
3 files changed, 7 insertions(+), 1 deletions(-)
commit 5cca802019a21a964893d81147fe45258774b4e3
Author: Bruce Guenter <bruce@untroubled.org>
Date: Mon Jan 11 22:38:54 2010 -0600
Add support for I/O timeouts to local modules
NEWS | 2 ++
cvm.html | 4 +++-
module.h | 1 +
module_local.c | 50 ++++++++++++++++++++++++++++++++++++++++++++++++--
4 files changed, 54 insertions(+), 3 deletions(-)
commit 0021c0210799072b07627ebcfc703d7d302a09d6
Author: Bruce Guenter <bruce@untroubled.org>
Date: Mon Jan 11 11:06:38 2010 -0600
Add TODO note about SQL prepare/execute idea
TODO | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
commit fa31274aab5dd945ffa0afaf7d0fc14817c4f051
Author: Bruce Guenter <bruce@untroubled.org>
Date: Mon Jan 11 10:49:17 2010 -0600
cvm-qmail: Add permission checking with seteuid
NEWS | 3 +++
cvm-qmail.c | 26 +++++++++++++++++++++++++-
cvm-qmail.html | 7 +++++++
tests/qmail-lookup-perms | 40 ++++++++++++++++++++++++++++++++++++++++
4 files changed, 75 insertions(+), 1 deletions(-)
create mode 100644 tests/qmail-lookup-perms
commit 7ef7b8205bae3da7ce939dc48bf7603d083eecb5
Author: Bruce Guenter <bruce@untroubled.org>
Date: Fri Jan 8 23:49:54 2010 -0600
Move the fake qmail home directory into a subdirectory in tests
tests.inc | 24 ++++++++++++--------
tests/chain-client | 6 ++--
tests/chain-module | 6 ++--
tests/qmail-lookup | 48 +++++++++++++++++++++---------------------
tests/qmail-lookup-assume | 6 ++--
tests/qmail-lookup-lookaside | 8 +++---
tests/qmail-lookup-nodomain | 6 ++--
tests/split | 30 +++++++++++++-------------
tests/vmailmgr-normal | 6 ++--
tests/vmailmgr-upper-domain | 6 ++--
tests/vmailmgr-upper-virt | 6 ++--
tests/vmailmgr-xconvert | 14 ++++++------
tests/vmlookup-normal | 6 ++--
tests/vmlookup-notable | 8 +++---
tests/vmlookup-pass | 6 ++--
tests/vmlookup-upper-domain | 6 ++--
tests/vmlookup-upper-virt | 6 ++--
17 files changed, 101 insertions(+), 97 deletions(-)
commit b27df59e84eb49d6ffc4400493b9aa4c1384bd6a
Author: Bruce Guenter <bruce@untroubled.org>
Date: Mon Feb 16 15:47:50 2009 -0600
Fix the SQLite module to copy the row data in the callback function.
NEWS | 2 ++
cvm-sqlite.c | 22 +++++++++++++++-------
2 files changed, 17 insertions(+), 7 deletions(-)
commit c6d7cd76e97053ed121b2230d997ab8fb649baad
Author: Bruce Guenter <bruce@untroubled.org>
Date: Mon Feb 16 10:48:42 2009 -0600
Added note about SQLite module to the README.
README.in | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit da87c9476edbba5173ff7c7f66b1603a46222386
Author: Bruce Guenter <bruce@untroubled.org>
Date: Mon Feb 16 16:28:36 2009 -0600
Bumped version to 0.96
NEWS | 5 +++++
VERSION | 2 +-
2 files changed, 6 insertions(+), 1 deletions(-)
commit bbecd1a5b5220844abc75f8efdb568f60618122f
Author: Bruce Guenter <bruce@untroubled.org>
Date: Tue Jan 13 22:50:30 2009 -0600
Bumped version to 0.95
NEWS | 2 +-
VERSION | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
commit 5e7732cf3d7d3e6b92a2606566600d33b3e36ece
Author: Bruce Guenter <bruce@untroubled.org>
Date: Tue Jan 13 22:49:45 2009 -0600
Added note about cvm-sqlite to the NEWS file.
NEWS | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
commit 897a02f57ab67b9c2ed14b08d06ef5c3eb7d7496
Author: Bruce Guenter <bruce@untroubled.org>
Date: Tue Jan 13 22:47:20 2009 -0600
Wayne placed cvm-sqlite in the public domain; I added some slight touchups.
Date: Tue, 13 Jan 2009 10:02:55 +0000
From: Wayne Marshall <wcm@guinix.com>
To: Bruce Guenter <bruce@untroubled.org>
Subject: Re: cvm-sqlite
Message-ID: <20090113100255.162456ba@alloy.copperisle.com>
Hi Bruce,
>
> I was just going to push out a new version of cvm, and noticed I hadn't
> merged the SQLite module yet. I noticed the sources I had downloaded
> from your site don't have any copyright notice on them. Please publish
> a version that has a copyright compatible with the GPLv2, or send me a
> note assigning copyright to me, so I can include this in the main cvm
> package.
>
Please consider the sources as public domain.
Best regards,
Wayne
cvm-sqlite.c | 36 +++++++++++++++++++-----------------
cvm-sqlite.html | 21 +++++----------------
2 files changed, 24 insertions(+), 33 deletions(-)
commit 94de1ef0deca5d6ae5ae3b84d91a8f3e209fa123
Author: Bruce Guenter <bruce@untroubled.org>
Date: Tue Jan 13 22:45:02 2009 -0600
Added self tests for the SQLite CVM.
tests.inc | 28 ++++++++++++++++++++++++++++
tests/sqlite | 40 ++++++++++++++++++++++++++++++++++++++++
2 files changed, 68 insertions(+), 0 deletions(-)
create mode 100644 tests/sqlite
commit e0d62ae6da1642506c20ce38bce27be7b501b4fe
Author: Bruce Guenter <bruce@untroubled.org>
Date: Mon Jan 12 14:39:59 2009 -0600
Skip cvm-sqlite in the main "programs" target.
programs.spac | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
commit c125a76f2e75ca7a39c7ce69d3ccdc871b7ab4fa
Author: Bruce Guenter <bruce@untroubled.org>
Date: Mon Jan 12 14:39:27 2009 -0600
Fixed some compiler warnings about unused parameters in cvm-sqlite.c
cvm-sqlite.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
commit ab212c65db311f7cd756924caba051c86297e979
Author: Bruce Guenter <bruce@untroubled.org>
Date: Mon Jan 12 14:32:20 2009 -0600
Removed a trailing space in the SQLite CVM.
cvm-sqlite.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit 27dbfda73d826a4be4947462d557dac572ff58f1
Author: Bruce Guenter <bruce@untroubled.org>
Date: Mon Apr 14 17:25:04 2008 -0600
Added cvm-sqlite implementation from Wayne Marshall
INSTHIER | 1 +
TOP.spac | 2 +-
cvm-sqlite.c | 131 +++++++++++++++++++++++++++++++++++++++++++
cvm-sqlite.html | 107 +++++++++++++++++++++++++++++++++++
cvm-pgsql=x => cvm-sqlite=x | 2 +-
sqlite.spac | 1 +
6 files changed, 242 insertions(+), 2 deletions(-)
create mode 100644 cvm-sqlite.c
create mode 100644 cvm-sqlite.html
copy cvm-pgsql=x => cvm-sqlite=x (65%)
create mode 100644 sqlite.spac
commit 47d7a8d49ef3bd3a049bce3ef7444e975ba11b52
Author: Bruce Guenter <bruce@untroubled.org>
Date: Mon Jan 12 15:56:35 2009 -0600
Touched up the documentation for $CVM_QMAIL_LOOKASIDE.
cvm-qmail.html | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
commit 68715f891e7876fbb8fa916bbe0d1dcad8eb3a40
Author: Bruce Guenter <bruce@untroubled.org>
Date: Fri Apr 18 17:06:07 2008 -0600
Added a "lookaside" mode to cvm-qmail, to assist with proper chaining
to cvm-vmailmgr or other modules.
NEWS | 3 ++
cvm-qmail.c | 75 +++++++++++++++++++++++++++++++++++++++---
cvm-qmail.html | 9 +++++
tests/qmail-lookup-lookaside | 50 ++++++++++++++++++++++++++++
4 files changed, 132 insertions(+), 5 deletions(-)
create mode 100644 tests/qmail-lookup-lookaside
commit 35e06ba21b4d8292d3c3ea6729c4674acc7e205c
Author: Bruce Guenter <bruce@untroubled.org>
Date: Fri Apr 18 15:48:00 2008 -0600
Made qmail_dotfile_exists output the path to the .qmail file to the caller.
cvm-qmail.c | 3 ++-
qmail-dotfile.c | 26 +++++++++++++-------------
qmail.h | 3 ++-
3 files changed, 17 insertions(+), 15 deletions(-)
commit 56499ed5b2c5db9cdd6fb3cc9c8eb7d80fdd9be8
Author: Bruce Guenter <bruce@untroubled.org>
Date: Mon Jan 12 14:30:47 2009 -0600
Added some TODO notes.
TODO | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
commit cc61e88b1c2572739146ae72162eaa5ba993d436
Author: Bruce Guenter <bruce@untroubled.org>
Date: Fri Jan 9 11:08:14 2009 -0600
Fix a compiler warning with a NULL in pipefork.
client_xfer_command.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit 20a7ce2a37c48ebb55416845bbb66276ab7a9771
Author: Bruce Guenter <bruce@untroubled.org>
Date: Fri Jan 9 11:07:42 2009 -0600
Eliminate an unused variable in cvm_random_init.
random.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
commit de65cb868de4dbe0c0da3f8b0f309811e62f1b2f
Author: Bruce Guenter <bruce@untroubled.org>
Date: Fri Apr 18 17:35:42 2008 -0600
Added notes about OUTOFSCOPE to the HTML documentation.
cvm-qmail.html | 15 +++++++++------
cvm-vmailmgr.html | 4 +++-
2 files changed, 12 insertions(+), 7 deletions(-)
commit e6898800e15f53d9bc805346ab41bfab05f979b3
Author: Bruce Guenter <bruce@untroubled.org>
Date: Fri Apr 18 17:32:41 2008 -0600
Make vmlookup fail with OUTOFSCOPE=1 when the password table is not there.
Previously, cvm-vmailmgr would fail with an I/O error when the virtual
password table was missing. This would cause problems for chaining
properly with other modules.
NEWS | 4 ++++
tests/vmlookup-notable | 15 +++++++++++++++
vmlookup.c | 8 +++++++-
3 files changed, 26 insertions(+), 1 deletions(-)
create mode 100644 tests/vmlookup-notable
commit 3eec484b9ba9eec1fb12b3d891d2a5bfbf20a18a
Author: Bruce Guenter <bruce@untroubled.org>
Date: Mon Apr 14 17:26:07 2008 -0600
Fixed portability problem in tests/qmail-lookup-nodomain
Thanks Gerrit Pape <pape@smarden.org>
tests/qmail-lookup-nodomain | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
commit c1b8f4eb8f53e129dc7a8862112b06c53f34d961
Author: Bruce Guenter <bruce@untroubled.org>
Date: Mon Apr 14 17:02:50 2008 -0600
Fixed client.h symlink to point to v2client.h to match the library.
INSTHIER | 2 +-
NEWS | 2 ++
2 files changed, 3 insertions(+), 1 deletions(-)
commit 0afc023c43090c1a24a45f089ccccb4d38ff1309
Author: Bruce Guenter <bruce@untroubled.org>
Date: Mon Apr 14 16:15:46 2008 -0600
Fixed failure in cvm-qmail when virtualdomains did not exist.
NEWS | 1 +
qmail-domains.c | 3 ++-
tests/qmail-lookup-novirtualdomains | 10 ++++++++++
3 files changed, 13 insertions(+), 1 deletions(-)
create mode 100644 tests/qmail-lookup-novirtualdomains
commit 9ee2e1dc01882f019a24795717cde7ece3b4749c
Author: Bruce Guenter <bruce@untroubled.org>
Date: Mon Apr 14 16:14:52 2008 -0600
Bumped version to 0.91
NEWS | 6 ++++++
VERSION | 2 +-
2 files changed, 7 insertions(+), 1 deletions(-)
commit b3e870f546807d5d5f5bf27edbb659dda704e05a
Author: Bruce Guenter <bruce@untroubled.org>
Date: Fri Apr 11 21:01:47 2008 -0600
Fixed Require/BuildRequires for bglibs in the spec.
spec | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
commit d9527c62c479318bc07fce5752889902e1c6fa8c
Author: Bruce Guenter <bruce@untroubled.org>
Date: Fri Apr 11 21:01:34 2008 -0600
Fixed requirement for bglibs version 1.103 in the README.
README.in | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit a5e5853cc3373e37e80a85028caa2b6bdd8d3de5
Author: Bruce Guenter <bruce@untroubled.org>
Date: Fri Apr 11 17:51:59 2008 -0600
Bumped LIBVERSION and VERSION in preparation for release.
LIBVERSION | 2 +-
NEWS | 2 +-
VERSION | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
commit 4cd773bb274e9d4b0f4f9a2df3c91bc0ae0f997e
Author: Bruce Guenter <bruce@untroubled.org>
Date: Fri Apr 11 17:49:51 2008 -0600
Added compatibility wrapper functions to the client_xfer_* functions.
The actual functions are renamed to a new name of client_xfer_*_packets,
and wrapper functions were added with the original names and signatures.
This is done to prevent requiring a major version bump to LIBVERSION,
which would break all clients that linked to the shared library.
client_xfer_command.c | 6 ++--
client_xfer_compat.c | 69 +++++++++++++++++++++++++++++++++++++++++++++++++
client_xfer_local.c | 6 ++--
client_xfer_udp.c | 6 ++--
libcvm-v1client=l | 1 +
libcvm-v2client=l | 1 +
v1client.c | 6 ++--
v1client.h | 23 ++++++++++++----
v2client.c | 6 ++--
v2client.h | 23 ++++++++++++----
10 files changed, 120 insertions(+), 27 deletions(-)
create mode 100644 client_xfer_compat.c
commit e9c90d275972753f6abf8437399adda448b3d84f
Author: Bruce Guenter <bruce@untroubled.org>
Date: Fri Apr 11 17:22:48 2008 -0600
Added two tests that were missing from the previous commits.
tests/chain-client | 38 ++++++++++++++++++++++++++++++++++++++
tests/chain-module | 44 ++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 82 insertions(+), 0 deletions(-)
create mode 100644 tests/chain-client
create mode 100644 tests/chain-module
commit 5838d329188acbb974f21b034036b2073f49992e
Author: Bruce Guenter <bruce@untroubled.org>
Date: Fri Apr 11 17:21:36 2008 -0600
Moved the note about the random tag into the v2 client documentation.
cvm.html | 5 -----
v2client.html | 4 ++++
2 files changed, 4 insertions(+), 5 deletions(-)
commit 6ab3f46136798c4f64198d63e8297c97fe82a6e4
Author: Bruce Guenter <bruce@untroubled.org>
Date: Fri Apr 11 17:19:56 2008 -0600
Added support for chaining modules in the v2 library.
NEWS | 8 +++++++
TODO | 5 ----
cvm-chain.html | 3 +-
cvm.html | 8 +++++++
tests/chain | 44 --------------------------------------
v2client.c | 64 ++++++++++++++++++++++++++++++++++++++++++-------------
6 files changed, 67 insertions(+), 65 deletions(-)
delete mode 100644 tests/chain
commit bae2ac68954b1d19020771ff28c5f920e3b71cd8
Author: Bruce Guenter <bruce@untroubled.org>
Date: Fri Apr 11 16:24:02 2008 -0600
Seperate the single xfer packet into request and response packets.
This again breaks the previous ABI, and requires a LIBVERSION bump.
client_xfer_command.c | 11 ++++++-----
client_xfer_local.c | 15 ++++++++-------
client_xfer_udp.c | 18 ++++++++++--------
v1client.c | 15 ++++++++-------
v1client.h | 9 ++++++---
v2client.c | 16 +++++++++-------
v2client.h | 9 ++++++---
7 files changed, 53 insertions(+), 40 deletions(-)
commit 3028400e3141622aca2603daa0f6779430b377d7
Author: Bruce Guenter <bruce@untroubled.org>
Date: Fri Apr 11 16:06:53 2008 -0600
Introduced struct cvm_packet, and modified many client functions to use it.
This will require a major bump to the library version, as all the
client_xfer_* functions are now incompatible with the previous versions.
client_xfer_command.c | 9 +++---
client_xfer_local.c | 13 ++++-----
client_xfer_udp.c | 16 +++++-----
v1client.c | 57 +++++++++++++++++++++-----------------
v1client.h | 15 ++++++----
v2client.c | 72 +++++++++++++++++++++++--------------------------
v2client.h | 15 ++++++----
7 files changed, 101 insertions(+), 96 deletions(-)
commit eba511388ab210394cdc1648a9e4a7c6b46dc353
Author: Bruce Guenter <bruce@untroubled.org>
Date: Fri Apr 11 14:14:16 2008 -0600
Moved the client buffer data into a structure.
This is the start of preparation for having both an input and output
buffer, which is required for transferring multiple packets in the
client.
v2client.c | 71 +++++++++++++++++++++++++++++++++---------------------------
1 files changed, 39 insertions(+), 32 deletions(-)
commit ea954c8b67a725ea7788da2ef8861db4c664afce
Author: Bruce Guenter <bruce@untroubled.org>
Date: Fri Apr 11 13:03:20 2008 -0600
Clarify the semantics of the return path of cvm_client_authenticate.
v2client.c | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
commit 08579e77b0768e426f655bbcfe67c2a822b1cb68
Author: Bruce Guenter <bruce@untroubled.org>
Date: Fri Apr 11 11:19:31 2008 -0600
Simplified the logic in cvm-chain slightly.
cvm-chain.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
commit bbfbe51f1d3e860d6c7a88c741a43c9d60973348
Author: Bruce Guenter <bruce@untroubled.org>
Date: Thu Apr 10 13:10:54 2008 -0600
Added notes to NEWS about which modules handle OUTOFSCOPE.
NEWS | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
commit 4069686096f6942788aa4236b87f78a90820d87a
Author: Bruce Guenter <bruce@untroubled.org>
Date: Thu Apr 10 13:09:38 2008 -0600
Handle the OUTOFSCOPE fact in cvm-chain by passing it through.
cvm-chain.c | 8 ++++++++
cvm-chain.html | 6 ++++++
tests/chain | 2 ++
3 files changed, 16 insertions(+), 0 deletions(-)
commit f00e590a59c0b6baf71abcdb7c0dd0e05a7188aa
Author: Bruce Guenter <bruce@untroubled.org>
Date: Thu Apr 10 11:40:02 2008 -0600
Bumped the revision number in LIBVERSION in preparation for release.
LIBVERSION | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit 4c123d75f0a650a427bf02754ab03da91f517ddf
Author: Bruce Guenter <bruce@untroubled.org>
Date: Thu Apr 10 10:34:20 2008 -0600
Added two missing vmailmgr lookup self-tests.
.../{qmail-lookup-baddomain => vmlookup-baddomain} | 5 ++---
tests/{vmailmgr-upper-pass => vmlookup-baduser} | 3 ++-
2 files changed, 4 insertions(+), 4 deletions(-)
copy tests/{qmail-lookup-baddomain => vmlookup-baddomain} (53%)
copy tests/{vmailmgr-upper-pass => vmlookup-baduser} (53%)
commit 645465c10c46dda4ba9ab88802a63d439dc2dc56
Author: Bruce Guenter <bruce@untroubled.org>
Date: Thu Apr 10 10:34:00 2008 -0600
Fixed up some HTML bugs in the documentation.
credentials.html | 10 ++++++----
cvm.html | 22 +++++++++++++---------
errors.html | 7 +++++--
facts.html | 14 ++++++++------
module.html | 11 ++++++++---
protocol-1.html | 18 ++++++++++++------
protocol-2.html | 3 +--
rationale.html | 3 +++
sasl.html | 6 ++++--
sql.html | 4 ++--
v1client.html | 8 ++++++--
v2client.html | 9 +++++++--
12 files changed, 75 insertions(+), 40 deletions(-)
commit f9e6280122f07d3f6447951cabf2954680e50c4a
Author: Bruce Guenter <bruce@untroubled.org>
Date: Thu Apr 10 10:25:01 2008 -0600
Added a note about $CVM_RANDOM_BYTES to the HTML documentation.
cvm.html | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
commit 834fe8834f5dca529701a89d60522b5b73453bd4
Author: Bruce Guenter <bruce@untroubled.org>
Date: Thu Apr 10 10:11:01 2008 -0600
Fixed make_randombytes to only initialize once.
v2client.c | 18 ++++++++++--------
1 files changed, 10 insertions(+), 8 deletions(-)
commit ed54d4afe40a84e16fe7de148231f20f56a1d2a3
Author: Bruce Guenter <bruce@untroubled.org>
Date: Thu Apr 10 09:56:45 2008 -0600
Switched to using the new surfrand in bglibs to generate random data.
random.c | 58 ++++++++++------------------------------------------------
random.h | 2 +-
spec | 2 +-
v2client.c | 3 +--
4 files changed, 13 insertions(+), 52 deletions(-)
commit 0762fd93ae6e62d7eb6856f4336a6c47acf04b93
Author: Bruce Guenter <bruce@untroubled.org>
Date: Thu Apr 10 09:44:55 2008 -0600
Add OUTOFSCOPE facts in all PERMFAIL exits in qmail and vmailmgr CVMs.
cvm-qmail.c | 4 +++-
cvm-vmailmgr.c | 3 +++
tests/qmail-lookup | 4 ++++
tests/vmailmgr-normal | 1 +
tests/vmailmgr-upper-pass | 1 +
tests/vmlookup-badpass | 1 +
vmlookup.c | 2 ++
7 files changed, 15 insertions(+), 1 deletions(-)
commit 592c52683bf9fc7061684ec787cc8d42d7b4de7b
Author: Bruce Guenter <bruce@untroubled.org>
Date: Sun Mar 30 22:01:34 2008 -0600
Only add the random tag when transmitting over UDP.
v2client.c | 12 +++++++++---
1 files changed, 9 insertions(+), 3 deletions(-)
commit a6f11de73eaf6a2ed37cc109f9629f1794e179ed
Author: Bruce Guenter <bruce@untroubled.org>
Date: Sun Mar 30 14:59:45 2008 -0600
Let the random tag length be set by $CVM_RANDOM_BYTES.
NEWS | 3 +++
v2client.c | 11 ++++++++---
2 files changed, 11 insertions(+), 3 deletions(-)
commit c756cc0335b6f515c1ca7f1642fb60641825ac7a
Author: Bruce Guenter <bruce@untroubled.org>
Date: Sun Mar 30 14:56:27 2008 -0600
Add 8 bytes of random data to client requests.
libcvm-v2client=l | 1 +
random.c | 87 +++++++++++++++++++++++++++++++++++++++++++++++++++++
random.h | 7 ++++
v2client.c | 20 +++++++++++-
4 files changed, 114 insertions(+), 1 deletions(-)
create mode 100644 random.c
create mode 100644 random.h
commit 3bcf5c4b86aebe260fe03b590621d289f1dc8a1a
Author: Bruce Guenter <bruce@untroubled.org>
Date: Sat Mar 29 23:42:30 2008 -0600
Output the out of scope fact in qmail and vmailmgr CVMs
When a qmail lookup is done on a domain that does not exist in
virtualdomains, no determination can be made about users in that domain,
so the result is "out of scope". Similarly, vmailmgr treats any failed
qmail lookup as "out of scope", since it can't then do its virtual user
lookup.
This fact is also reported on error in cvm-testclient.
Also bumped the version to 0.85, due to the significance of this change.
NEWS | 6 +++++-
TODO | 2 ++
VERSION | 2 +-
cvm-qmail.c | 7 ++++++-
cvm-testclient.c | 7 ++++---
qmail-lookup.c | 14 ++++++++++----
tests/chain | 4 ++++
tests/qmail-lookup-assume | 1 +
tests/qmail-lookup-baddomain | 6 ++++++
tests/split | 4 ++++
tests/vmailmgr-normal | 4 ++++
vmlookup.c | 18 ++++++++++++++----
12 files changed, 61 insertions(+), 14 deletions(-)
create mode 100644 tests/qmail-lookup-baddomain
commit e0d65bdc3ab9ba2be5d389cb50d16c4a10f30693
Author: Bruce Guenter <bruce@untroubled.org>
Date: Sat Mar 29 18:55:44 2008 -0600
Changed the fatal error in cvm-testclient to a message.
cvm-testclient.c | 3 ++-
tests/chain | 2 +-
tests/command-bad-password | 2 +-
tests/command-bad-username | 2 +-
tests/lookup | 4 ++--
tests/pwfile-bad-password | 2 +-
tests/pwfile-local-bad-password | 2 +-
tests/pwfile-udp-bad-password | 2 +-
tests/qmail-lookup | 8 ++++----
tests/qmail-lookup-assume | 2 +-
tests/split | 8 ++++----
tests/vmailmgr-upper-pass | 2 +-
tests/vmlookup-badpass | 2 +-
13 files changed, 21 insertions(+), 20 deletions(-)
commit 48d4f28acbec04698d70fb333af8706c202f3bdb
Author: Bruce Guenter <bruce@untroubled.org>
Date: Fri Mar 28 17:48:51 2008 -0600
Add an "out of scope" fact, to be used on permanent failures.
facts.h | 1 +
facts.html | 11 +++++++++++
2 files changed, 12 insertions(+), 0 deletions(-)
commit 2f0bfb87ae2347bbd1306eee8a4451ab376cb6f6
Author: Bruce Guenter <bruce@untroubled.org>
Date: Fri Mar 28 17:16:13 2008 -0600
The v2 protocol will now allow facts in the response packet.
protocol-2.html | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
commit ec467434975b61b37545da501d14ec56cd5ccef7
Author: Bruce Guenter <bruce@untroubled.org>
Date: Fri Mar 28 17:04:29 2008 -0600
Always do a minimal parse on the input buffer in v2client.
v2client.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
commit 8d1d10d71ac199584e5d2671215dcfefffa2ec83
Author: Bruce Guenter <bruce@untroubled.org>
Date: Fri Mar 28 17:01:22 2008 -0600
Don't truncate the module output when the result code is not zero.
module_output.c | 11 +++--------
1 files changed, 3 insertions(+), 8 deletions(-)
commit 2730e859f2e67f1031427c77934a2fa8ae5cdd39
Author: Bruce Guenter <bruce@untroubled.org>
Date: Fri Mar 28 16:47:21 2008 -0600
Added a test for a bad password with pwfile in command mode.
.../{command-bad-username => pwfile-bad-password} | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
copy tests/{command-bad-username => pwfile-bad-password} (64%)
commit c2734cee638eb109caa004247d21da0b673b8b82
Author: Bruce Guenter <bruce@untroubled.org>
Date: Fri Mar 28 15:58:36 2008 -0600
Make command mode transfers work the same as other transfers.
The local and UDP transfer functions both return the status of the
transfer itself. The command mode returns CVME_IO if the transfer
failed, but if the module failed it also would return that error code.
This modification stuffs the result code into the buffer as expected and
returns 0 if the transfer succeeded.
client_xfer_command.c | 12 ++++++++----
1 files changed, 8 insertions(+), 4 deletions(-)
commit e7ba58ea3627c97133b4b1c892bce4803379c922
Author: Bruce Guenter <bruce@untroubled.org>
Date: Fri Mar 28 15:49:30 2008 -0600
Rewrote several constant return values to use CVME_* macros.
client_xfer_command.c | 6 +++---
client_xfer_udp.c | 6 +++---
2 files changed, 6 insertions(+), 6 deletions(-)
commit 8f038d92c5268c19f7cd9cb9fa15a183a6bc1bb1
Author: Bruce Guenter <bruce@untroubled.org>
Date: Thu Mar 20 14:44:19 2008 -0600
Point to the GIT repository for development versions.
README.in | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
commit dc58a1d308d23232007e20e68bc2603f2ecc29f0
Author: Bruce Guenter <bruce@untroubled.org>
Date: Thu Mar 20 14:43:57 2008 -0600
Ignore most automatically generated files.
.gitignore | 37 +++++++++++++++++++++++++++++++++++++
1 files changed, 37 insertions(+), 0 deletions(-)
create mode 100644 .gitignore
commit 1377a540163964a4688f338e3df851e243672d29
Author: Bruce Guenter <bruce@untroubled.org>
Date: Fri Jan 5 19:30:07 2007 +0000
Fixed a bug that caused the domain output to be set incorrectly when
doing qmail lookups with a domain not in the control files with
$CVM_QMAIL_ASSUME_LOCAL set.
NEWS | 3 +++
qmail-domains.c | 13 +++++++++----
2 files changed, 12 insertions(+), 4 deletions(-)
commit f9b79ae998564f07a56c83092a5af8070136daf9
Author: Bruce Guenter <bruce@untroubled.org>
Date: Thu Jan 4 08:38:10 2007 +0000
Bumped version to 0.83
NEWS | 6 ++++++
VERSION | 2 +-
2 files changed, 7 insertions(+), 1 deletions(-)
commit 2cb0b2a8c0b844218d05cd3b3797292174d26aec
Author: Bruce Guenter <bruce@untroubled.org>
Date: Wed Aug 30 23:55:33 2006 +0000
Bumped the library revision number.
LIBVERSION | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit 9aef171e9359bde6a8ac7f3524d7f1e976fdfae5
Author: Bruce Guenter <bruce@untroubled.org>
Date: Wed Aug 30 23:09:45 2006 +0000
Fixed handling of user/domain name splitting in the client library
when the caller doesn't initially provide a domain name.
NEWS | 3 ++
tests/split | 80 +++++++++++++++++++++++++++++++++++++++++++++++++++
v2client_wrappers.c | 40 ++++++++++++++++---------
3 files changed, 109 insertions(+), 14 deletions(-)
create mode 100644 tests/split
commit 7f564868aeeaa34aa17ff26711740f35cdc02c51
Author: Bruce Guenter <bruce@untroubled.org>
Date: Wed Aug 30 23:09:37 2006 +0000
Split domain names from the username in the test client (for testing).
cvm-testclient.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
commit 1d5fde08b81cbf6cb42cec5e5fe646a8d999db0e
Author: Bruce Guenter <bruce@untroubled.org>
Date: Wed Aug 30 21:56:35 2006 +0000
Added a note in the documentation about $MAIL and $MAILDIR.
v1client.html | 4 ++++
v2client.html | 4 ++++
2 files changed, 8 insertions(+), 0 deletions(-)
commit 0e780bc64e3a55d0c1c94655fcfa31db3629be5e
Author: Bruce Guenter <bruce@untroubled.org>
Date: Wed Aug 30 21:55:16 2006 +0000
Set $MAILDIR in cvm_client_setenv
NEWS | 1 +
client_setenv.c | 6 ++++--
2 files changed, 5 insertions(+), 2 deletions(-)
commit 9776ace0e914f0ac23cf91ee17ab711a319e007b
Author: Bruce Guenter <bruce@untroubled.org>
Date: Wed Aug 30 21:53:13 2006 +0000
Bumped version to 0.82
NEWS | 6 ++++++
VERSION | 2 +-
2 files changed, 7 insertions(+), 1 deletions(-)
commit 42a707d7dc5cd5c6d068c21a4503f4ec8ca682ae
Author: Bruce Guenter <bruce@untroubled.org>
Date: Sun Jul 30 22:27:44 2006 +0000
Fixed a typo in the INSTHIER file that caused incomplete installations.
INSTHIER | 2 ++
NEWS | 2 ++
2 files changed, 4 insertions(+), 0 deletions(-)
commit 4f7e1a3edd5be264ec24350bcee7beac6f9f5c94
Author: Bruce Guenter <bruce@untroubled.org>
Date: Sun Jul 30 20:41:17 2006 +0000
Bumped version to 0.81
NEWS | 6 ++++++
VERSION | 2 +-
2 files changed, 7 insertions(+), 1 deletions(-)
commit 3e502f88f59e3e333803f45fe0d63a32c58f849b
Author: Bruce Guenter <bruce@untroubled.org>
Date: Fri Jul 28 22:23:55 2006 +0000
Fixed up the README documentation.
README.in | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
commit 716a6b0605672e834adeba75446f1e36bfe04012
Author: Bruce Guenter <bruce@untroubled.org>
Date: Fri Jul 28 22:21:57 2006 +0000
Fixed up the spec for the shared library install.
spec | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
commit ef9f5dda256090f45683bafa5987db013709c077
Author: Bruce Guenter <bruce@untroubled.org>
Date: Fri Jul 28 22:21:38 2006 +0000
Added note about shared library change to NEWS.
NEWS | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
commit e11fe9d45051bcd2cd743db3fed609f0e5d75b9e
Author: Bruce Guenter <bruce@untroubled.org>
Date: Fri Jul 28 22:20:49 2006 +0000
The installed libraries need to be made executable.
INSTHIER | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
commit cf16e001345f1ea069f564e3bd81e7a203a65464
Author: Bruce Guenter <bruce@untroubled.org>
Date: Fri Jul 28 04:51:55 2006 +0000
Bumped version to 0.80
NEWS | 6 ++++++
VERSION | 2 +-
2 files changed, 7 insertions(+), 1 deletions(-)
commit e629bb2a5e581b74620f7b8c30d9c02e89dca08d
Author: Bruce Guenter <bruce@untroubled.org>
Date: Fri Jul 28 04:51:14 2006 +0000
Rewrote the remaining em.ca addresses to untroubled.org.
client_domain.c | 2 +-
client_setenv.c | 2 +-
client_setugid.c | 2 +-
client_xfer_command.c | 2 +-
client_xfer_local.c | 2 +-
client_xfer_udp.c | 2 +-
cvm-benchclient.c | 2 +-
cvm-checkpassword.c | 2 +-
cvm-mysql.c | 2 +-
cvm-pgsql.c | 2 +-
cvm-pwfile.c | 2 +-
cvm-qmail.c | 2 +-
cvm-testclient.c | 2 +-
cvm-unix.c | 2 +-
cvm-v1benchclient.c | 2 +-
cvm-v1checkpassword.c | 2 +-
cvm-v1testclient.c | 2 +-
cvm-vmailmgr.c | 2 +-
errors.c | 2 +-
facts.c | 2 +-
getpwnam.c | 2 +-
module_command.c | 2 +-
module_command_main.c | 2 +-
module_local.c | 2 +-
module_local_main.c | 2 +-
module_log.c | 2 +-
module_main.c | 2 +-
module_output.c | 2 +-
module_request.c | 2 +-
module_udp.c | 2 +-
module_udp_main.c | 2 +-
qmail-domains.c | 2 +-
qmail-dotfile.c | 2 +-
qmail-init.c | 2 +-
qmail-lookup.c | 2 +-
qmail-users.c | 2 +-
spec | 4 ++--
sql-auth.c | 2 +-
sql-query.c | 2 +-
v1client.c | 2 +-
v2client.c | 2 +-
v2client_wrappers.c | 2 +-
vmautoconvert.c | 2 +-
vmlookup.c | 2 +-
44 files changed, 45 insertions(+), 45 deletions(-)
commit dd3a793d80c251a5bd443342cd8b7066ec051661
Author: Bruce Guenter <bruce@untroubled.org>
Date: Fri Jul 28 04:48:43 2006 +0000
Create, link, and install shared libraries.
INSTHIER | 62 +++++++++++++++++++++++++-----------------------
LIBVERSION | 1 +
cvm-benchclient=x | 2 +-
cvm-chain=x | 4 +-
cvm-checkpassword=x | 2 +-
cvm-mysql-local=x | 4 +-
cvm-mysql-udp=x | 4 +-
cvm-mysql=x | 4 +-
cvm-pgsql-local=x | 4 +-
cvm-pgsql-udp=x | 4 +-
cvm-pgsql=x | 4 +-
cvm-pwfile=x | 2 +-
cvm-qmail=x | 4 +-
cvm-testclient=x | 2 +-
cvm-unix=x | 2 +-
cvm-v1benchclient=x | 2 +-
cvm-v1checkpassword=x | 2 +-
cvm-v1testclient=x | 2 +-
cvm-vchkpw=x | 2 +-
cvm-vmailmgr-local=x | 4 +-
cvm-vmailmgr-udp=x | 4 +-
cvm-vmailmgr=x | 4 +-
sasl-auth-test=x | 4 +-
23 files changed, 66 insertions(+), 63 deletions(-)
create mode 100644 LIBVERSION
commit 6746aeec1bfbaf2103e4a3fea10e82bbd4f4267e
Author: Bruce Guenter <bruce@untroubled.org>
Date: Fri Jul 28 04:46:51 2006 +0000
Fixed the old em.ca email address.
README.in | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit 0fdea6d9c1493ebebd3c8475adf3adb6262e2157
Author: Bruce Guenter <bruce@untroubled.org>
Date: Wed Jul 26 14:56:32 2006 +0000
Renamed all the libraries to have their target libcvm- prefix.
INSTHIER | 16 ++++++++--------
cvm-benchclient=x | 2 +-
cvm-chain=x | 4 ++--
cvm-checkpassword=x | 2 +-
cvm-mysql-local=x | 4 ++--
cvm-mysql-udp=x | 4 ++--
cvm-mysql=x | 4 ++--
cvm-pgsql-local=x | 4 ++--
cvm-pgsql-udp=x | 4 ++--
cvm-pgsql=x | 4 ++--
cvm-pwfile=x | 2 +-
cvm-qmail=x | 4 ++--
cvm-testclient=x | 2 +-
cvm-unix=x | 2 +-
cvm-v1benchclient=x | 2 +-
cvm-v1checkpassword=x | 2 +-
cvm-v1testclient=x | 2 +-
cvm-vchkpw=x | 2 +-
cvm-vmailmgr-local=x | 4 ++--
cvm-vmailmgr-udp=x | 4 ++--
cvm-vmailmgr=x | 4 ++--
command=l => libcvm-command=l | 0
local=l => libcvm-local=l | 0
module=l => libcvm-module=l | 0
qmail=l => libcvm-qmail=l | 0
sasl=l => libcvm-sasl=l | 0
sql=l => libcvm-sql=l | 0
udp=l => libcvm-udp=l | 0
v1client=l => libcvm-v1client=l | 0
v2client=l => libcvm-v2client=l | 0
sasl-auth-test=x | 4 ++--
31 files changed, 41 insertions(+), 41 deletions(-)
rename command=l => libcvm-command=l (100%)
rename local=l => libcvm-local=l (100%)
rename module=l => libcvm-module=l (100%)
rename qmail=l => libcvm-qmail=l (100%)
rename sasl=l => libcvm-sasl=l (100%)
rename sql=l => libcvm-sql=l (100%)
rename udp=l => libcvm-udp=l (100%)
rename v1client=l => libcvm-v1client=l (100%)
rename v2client=l => libcvm-v2client=l (100%)
commit 674b8fdadc9bb2076d5af548e89dfa5d30f123ed
Author: Bruce Guenter <bruce@untroubled.org>
Date: Mon Aug 29 16:02:41 2005 +0000
Documentation touch-ups: make reference to cvm-qmail in cvm-vmailmgr
config variables, and properly alphabetize the variable names.
cvm-qmail.html | 11 ++++++-----
cvm-vmailmgr.html | 24 +++++++++++-------------
2 files changed, 17 insertions(+), 18 deletions(-)
commit b022e652256b321679ff53103bc803d9c82143d6
Author: Bruce Guenter <bruce@untroubled.org>
Date: Mon Aug 29 15:55:32 2005 +0000
Added a feature to all qmail-based modules to treat all domains as local
if $CVM_QMAIL_ASSUME_LOCAL is set.
NEWS | 3 +++
cvm-qmail.html | 4 ++++
qmail-domains.c | 8 +++++++-
tests/qmail-lookup-assume | 22 ++++++++++++++++++++++
4 files changed, 36 insertions(+), 1 deletions(-)
create mode 100644 tests/qmail-lookup-assume
commit 69f2b82e3609c48aa5d8bacdcd175f21684eafad
Author: Bruce Guenter <bruce@untroubled.org>
Date: Sun Aug 28 21:41:50 2005 +0000
Fixed a missing-escaped-$ typo on the vmailmgr-xconvert test.
tests/vmailmgr-xconvert | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit 4911f9350b69ecd51fc80a30aaf2ad81ac979d30
Author: Bruce Guenter <bruce@untroubled.org>
Date: Sun Aug 28 21:40:43 2005 +0000
Fixed the autoconvert feature of cvm-vmailmgr to set the permissions
and ownership of the created password table to that of the original.
NEWS | 2 ++
vmautoconvert.c | 8 +++++++-
2 files changed, 9 insertions(+), 1 deletions(-)
commit 1d0459b3de1c3714ac4c305018e737a9fd590317
Author: Bruce Guenter <bruce@untroubled.org>
Date: Sun Aug 28 21:28:05 2005 +0000
Bumped version to 0.76
NEWS | 6 ++++++
VERSION | 2 +-
2 files changed, 7 insertions(+), 1 deletions(-)
commit 91a69ac3169874fe5db088ea56a21daacffc455a
Author: Bruce Guenter <bruce@untroubled.org>
Date: Sat Aug 27 06:46:41 2005 +0000
Use cdbget to dump the converted record in a more useful format.
tests/vmailmgr-xconvert | 9 ++++-----
1 files changed, 4 insertions(+), 5 deletions(-)
commit e379c4e4e3cd0e925c4d91a749e088e9526cc224
Author: Bruce Guenter <bruce@untroubled.org>
Date: Tue Aug 23 19:35:46 2005 +0000
Fixed up printf invocations to make them work around the bugs in ash's
builtin printf.
tests.inc | 14 ++++++++------
1 files changed, 8 insertions(+), 6 deletions(-)
commit 752c8899cae14a6ad835e075d06a5f2acbc43c6d
Author: Bruce Guenter <bruce@untroubled.org>
Date: Tue Aug 23 18:22:48 2005 +0000
Bumped version number to 0.75, just because.
NEWS | 2 +-
VERSION | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
commit fe38b19c2405f8f08fab02f50614116acd95cf37
Author: Bruce Guenter <bruce@untroubled.org>
Date: Fri Aug 19 23:35:32 2005 +0000
Documented the new $VMAILMGR_AUTOCONVERT environment variable.
NEWS | 3 ++-
cvm-vmailmgr.html | 6 ++++++
2 files changed, 8 insertions(+), 1 deletions(-)
commit 0325b7c841ac1cd359e96ec073798c2b2fd071eb
Author: Bruce Guenter <bruce@untroubled.org>
Date: Fri Aug 19 22:42:17 2005 +0000
The previous cvm-vmailmgr autoconvert fix requires a patch only present
in bglibs 1.027.
spec | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit 25834b571395cc91513a7ebb834c81854fb468fb
Author: Bruce Guenter <bruce@untroubled.org>
Date: Fri Aug 19 22:40:49 2005 +0000
Added an "autoconvert" mode to cvm-vmailmgr, which converts encrypted
passwords to plain-text on successful authentication.
NEWS | 2 +
TODO | 12 +---
cvm-vmailmgr-local=x | 1 +
cvm-vmailmgr-udp=x | 1 +
cvm-vmailmgr.c | 8 +++-
cvm-vmailmgr.h | 1 +
cvm-vmailmgr=x | 1 +
tests.inc | 12 ++--
tests/vmailmgr-xconvert | 35 +++++++++++++
vmautoconvert.c | 124 +++++++++++++++++++++++++++++++++++++++++++++++
10 files changed, 181 insertions(+), 16 deletions(-)
create mode 100644 tests/vmailmgr-xconvert
create mode 100644 vmautoconvert.c
commit 29f315139b80cc69e6b4ddbb0e8289c034580902
Author: Bruce Guenter <bruce@untroubled.org>
Date: Fri Aug 19 21:00:18 2005 +0000
Since there is no more cvm-vmlookup module, merge vmmain.c back into
cvm-vmailmgr.c (and adjust cvm-vmailmgr.h to match).
cvm-vmailmgr-local=x | 1 -
cvm-vmailmgr-udp=x | 1 -
cvm-vmailmgr.c | 93 ++++++++++++++++++++++++++++++++++++++++-
cvm-vmailmgr.h | 3 -
cvm-vmailmgr=x | 1 -
vmmain.c | 114 --------------------------------------------------
6 files changed, 91 insertions(+), 122 deletions(-)
delete mode 100644 vmmain.c
commit 06b0b0db32ccde56163763637cf29074d6bfa049
Author: Bruce Guenter <bruce@untroubled.org>
Date: Fri Aug 19 20:53:11 2005 +0000
Converted to use bg-installer for installation.
INSTHIER | 44 ++++++++++++++++++++++++++++++++++++++++
insthier.c | 66 ------------------------------------------------------------
spec | 17 ++++++---------
3 files changed, 51 insertions(+), 76 deletions(-)
create mode 100644 INSTHIER
delete mode 100644 insthier.c
commit 82f676a1b8ee8add2c3d585e1ea5ad77a384eec8
Author: Bruce Guenter <bruce@untroubled.org>
Date: Fri Aug 19 20:43:24 2005 +0000
Bumped version to 0.72
NEWS | 6 ++++++
VERSION | 2 +-
2 files changed, 7 insertions(+), 1 deletions(-)
commit 4010efebcaa073b7115816b669c1d35887a429a7
Author: Bruce Guenter <bruce@untroubled.org>
Date: Thu Jun 2 04:55:07 2005 +0000
Add the ChangeLog to the list of "extra" website files.
makedist.py | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
commit 4f76b66b4bff655dcd0137e7d6b2092e40642678
Author: Bruce Guenter <bruce@untroubled.org>
Date: Thu Jun 2 04:20:11 2005 +0000
Updated the cvm-vchkpw module. It now compiles, and should work
but remains completely untested.
NEWS | 2 ++
TOP.spac | 2 +-
cvm-vchkpw.c | 44 ++++++++++++++++++++++----------------------
cvm-vchkpw=x | 11 +++++++++++
programs.spac | 4 +++-
5 files changed, 39 insertions(+), 24 deletions(-)
create mode 100644 cvm-vchkpw=x
commit bbca084e8ec365dc385db2a3883074b72fddab10
Author: Bruce Guenter <bruce@untroubled.org>
Date: Thu Jun 2 04:02:23 2005 +0000
Initial commit of sasl_auth.c source.
sasl_auth.c | 141 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 141 insertions(+), 0 deletions(-)
create mode 100644 sasl_auth.c
commit 0a0918380b5147a82877524b8ad282ea95429e11
Author: Bruce Guenter <bruce@untroubled.org>
Date: Thu Jun 2 03:59:43 2005 +0000
Initial commit of the cvm-chain.html documentation page.
cvm-chain.html | 39 +++++++++++++++++++++++++++++++++++++++
1 files changed, 39 insertions(+), 0 deletions(-)
create mode 100644 cvm-chain.html
commit 2efdbbcb67c128bad5fe013e5075e9b979788c3c
Author: Bruce Guenter <bruce@untroubled.org>
Date: Thu Jun 2 01:39:19 2005 +0000
Set PROTO to make UCSPI variables work.
tests.inc | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
commit 18612d50590bab463a4aabdea6dbda27116fefb2
Author: Bruce Guenter <bruce@untroubled.org>
Date: Thu Jun 2 01:39:00 2005 +0000
Use %{_includedir} for locaing the PostgreSQL headers.
spec | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit 219600cc1bd52dffb347e9d3f03af0f2ec0b6621
Author: Bruce Guenter <bruce@untroubled.org>
Date: Thu Jun 2 01:38:32 2005 +0000
Added a to do note about auto-converting passwords.
TODO | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
commit 7e8fa37fcb0358fe4f8069879cf11bc551129f33
Author: Bruce Guenter <bruce@untroubled.org>
Date: Thu Jun 2 01:38:12 2005 +0000
Rewrote v2client_wrappers to avoid static strings.
TODO | 2 --
v2client_wrappers.c | 33 +++++++++++++++++++++------------
2 files changed, 21 insertions(+), 14 deletions(-)
commit aa63ca143b93bb8251baadc102fad0ecbab474cc
Author: Bruce Guenter <bruce@untroubled.org>
Date: Thu Jun 2 01:19:28 2005 +0000
Bumped version to 0.71 for several brown-paper-bag bug fixes.
NEWS | 7 +++++++
VERSION | 2 +-
2 files changed, 8 insertions(+), 1 deletions(-)
commit 6d64e106eef170a61f325e360208f172f8627e2e
Author: Bruce Guenter <bruce@untroubled.org>
Date: Thu Jun 2 01:18:49 2005 +0000
If no domain is present, use an empty one instead of crashing.
sasl_authenticate.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
commit aa8b6f855c7222d4f00e2f33cc8148e824bc8b85
Author: Bruce Guenter <bruce@untroubled.org>
Date: Thu Jun 2 01:17:34 2005 +0000
Use ucspi_localhost() instead of getenv("TCPLOCALHOST") to determine the
local host name.
cvm-checkpassword.c | 6 ++++--
cvm-v1checkpassword.c | 5 +++--
sasl_init.c | 3 ++-
3 files changed, 9 insertions(+), 5 deletions(-)
commit e52561c6d6e660c886ad2e8a0570330881d42b9e
Author: Bruce Guenter <bruce@untroubled.org>
Date: Thu Jun 2 01:13:21 2005 +0000
Only set sa->response if no initial response is present.
sasl_login.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit d67f1120638fe6ce754aeae5e34c7c0c1582085f
Author: Bruce Guenter <bruce@untroubled.org>
Date: Thu Jun 2 01:12:59 2005 +0000
Switched to a static response function.
sasl_plain.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
commit 0739385948e7403a10f531f0b50b3970e5c9b0ee
Author: Bruce Guenter <bruce@untroubled.org>
Date: Thu Jun 2 01:12:30 2005 +0000
Switched to a static response function.
sasl_cram_md5.c | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
commit 8219f9631ed20b46064345788cc383067b51d3b8
Author: Bruce Guenter <bruce@untroubled.org>
Date: Thu Jun 2 01:09:46 2005 +0000
Use multiple response functions instead of keeping state based on the
length of sa->username.
sasl_login.c | 28 +++++++++++++++++-----------
1 files changed, 17 insertions(+), 11 deletions(-)
commit 6b1da0761bf8cf921f9c37d3bff95a792e58890e
Author: Bruce Guenter <bruce@untroubled.org>
Date: Thu Jun 2 01:04:26 2005 +0000
Make sure to set the username empty before starting the login process,
otherwise all logins after the first will fail.
sasl_login.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
commit 6ebc2be95a6696485566d475987fbb8ea64cec88
Author: Bruce Guenter <bruce@untroubled.org>
Date: Wed Jun 1 23:16:14 2005 +0000
Make sure the "install" target is in the local TOP spac rule.
TOP.spac | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit b063ada4d54addfb8b3b69b995256e1983b07b83
Author: Bruce Guenter <bruce@untroubled.org>
Date: Wed Jun 1 22:48:45 2005 +0000
Now requires bglibs-1.020 (format strings).
README.in | 2 +-
spec | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
commit c1eb15c2d7f38754b5737cef5a1ad2e87ccebda0
Author: Bruce Guenter <bruce@untroubled.org>
Date: Wed Jun 1 20:11:07 2005 +0000
Rewrote SASL API to eliminate static data, making it reentrant.
Bumped version up to 0.70 as a result.
NEWS | 10 ++++++--
VERSION | 2 +-
sasl.h | 25 +++++++++++++++-------
sasl_authenticate.c | 24 ++++++++++++---------
sasl_cram_md5.c | 56 +++++++++++++++++++++++++++-----------------------
sasl_init.c | 34 ++++++++++++++----------------
sasl_internal.h | 20 ++++++-----------
sasl_login.c | 37 +++++++++++++++++++--------------
sasl_plain.c | 32 ++++++++++++++++++-----------
sasl_start.c | 13 ++++-------
10 files changed, 138 insertions(+), 115 deletions(-)
commit 77c2a25ab6c4d21df8429e5cd00f9983012d14f3
Author: Bruce Guenter <bruce@untroubled.org>
Date: Wed Jun 1 19:42:26 2005 +0000
Added SASL generic text I/O authentication framework from mailfront.
NEWS | 2 +
TODO | 2 +
sasl-auth-test.c | 36 ++++++++++++++++++
cvm-benchclient=x => sasl-auth-test=x | 2 +-
sasl.h | 19 ++++++++++
sasl=l | 1 +
sasl_authenticate.c | 65 +++++++++++++++++++++++++++++++--
tests.inc | 9 +++++
tests/sasl-eof | 8 ++++
tests/sasl-login1 | 10 +++++
tests/sasl-login2 | 8 ++++
tests/sasl-nomech | 7 ++++
tests/sasl-plain-fail | 7 ++++
tests/sasl-plain1 | 8 ++++
tests/sasl-plain2 | 5 +++
15 files changed, 184 insertions(+), 5 deletions(-)
create mode 100644 sasl-auth-test.c
copy cvm-benchclient=x => sasl-auth-test=x (59%)
create mode 100644 tests/sasl-eof
create mode 100644 tests/sasl-login1
create mode 100644 tests/sasl-login2
create mode 100644 tests/sasl-nomech
create mode 100644 tests/sasl-plain-fail
create mode 100644 tests/sasl-plain1
create mode 100644 tests/sasl-plain2
commit 54ec21b2e76d3fa6a65e0cb49e4f3a1cc19cfe29
Author: Bruce Guenter <bruce@untroubled.org>
Date: Tue May 31 19:28:03 2005 +0000
Fixed up the SASL library to use the v2 client library.
NEWS | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
commit 1be3087d15c36e58a580e77f7063bab9c319f34d
Author: Bruce Guenter <bruce@untroubled.org>
Date: Tue May 31 19:27:53 2005 +0000
Fixed up the SASL library to use the v2 client library.
sasl_cram_md5.c | 37 ++++++++++++++++++++++++++++++-------
sasl_internal.h | 4 +++-
sasl_login.c | 5 +----
sasl_plain.c | 5 +----
4 files changed, 35 insertions(+), 16 deletions(-)
commit 5f02201c047e639c0e2c97c6350af21de5f6d81b
Author: Bruce Guenter <bruce@untroubled.org>
Date: Tue May 31 19:26:54 2005 +0000
Bumped version to 0.65
NEWS | 6 ++++++
VERSION | 2 +-
2 files changed, 7 insertions(+), 1 deletions(-)
commit f040a31d8142979328903171a5361c0587e120e0
Author: Bruce Guenter <bruce@untroubled.org>
Date: Tue May 31 16:51:07 2005 +0000
Clarified the CVM_CRED_RESPONSE_TYPE value semantics.
credentials.html | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
commit bede08a08b9947ad2f397bab252a9766b3122158
Author: Bruce Guenter <bruce@untroubled.org>
Date: Tue May 31 15:37:56 2005 +0000
Make the credentials parameter const, as it is not modified.
v2client.c | 4 ++--
v2client.h | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
commit 74e0647cc53f89d3baab50c83b4327e73fe847c2
Author: Bruce Guenter <bruce@untroubled.org>
Date: Mon May 30 05:46:34 2005 +0000
Move #include <sys/types> to the first in the list, as BSD needs this.
client_xfer_command.c | 2 +-
client_xfer_udp.c | 2 +-
cvm-chain.c | 2 +-
cvm-unix.c | 2 +-
cvm-vchkpw.c | 2 +-
cvm-vmailmgr.c | 2 +-
module_output.c | 2 +-
sasl_cram_md5.c | 2 +-
v1client.c | 2 +-
v2client.c | 2 +-
vmlookup.c | 2 +-
vmmain.c | 2 +-
12 files changed, 12 insertions(+), 12 deletions(-)
commit 07b4a7cdfa8019c30e24c386f2e3dc1906fbe739
Author: Bruce Guenter <bruce@untroubled.org>
Date: Sun May 29 22:41:13 2005 +0000
Added test for cvm-chain.
TODO | 4 ++--
tests/chain | 38 ++++++++++++++++++++++++++++++++++++++
2 files changed, 40 insertions(+), 2 deletions(-)
create mode 100644 tests/chain
commit 98428778ca68ae9ecf0093b4835ed6604e5f9a82
Author: Bruce Guenter <bruce@untroubled.org>
Date: Fri May 27 23:01:19 2005 +0000
Added cvm-chain combination client/module program
(adapted from code contributed by Dale Woolridge).
NEWS | 3 +
cvm-chain.c | 87 +++++++++++++++++++++++++++++++++++++++++++
cvm-pwfile=x => cvm-chain=x | 6 +-
cvm.html | 1 +
insthier.c | 1 +
5 files changed, 95 insertions(+), 3 deletions(-)
create mode 100644 cvm-chain.c
copy cvm-pwfile=x => cvm-chain=x (58%)
commit 53b6c7ca58ba768b3c68ddfd923e5a0be057cff1
Author: Bruce Guenter <bruce@untroubled.org>
Date: Fri May 27 17:55:05 2005 +0000
Renamed client and module library symbols in the documentation.
module.html | 45 ++++++++++++++++----------------
v1client.html | 66 +++++++++++++++++++++++-----------------------
v2client.html | 79 +++++++++++++++++++++++++++-----------------------------
3 files changed, 94 insertions(+), 96 deletions(-)
commit b655f048ef2acc8a1e66c4aa454010a47ccd5ed8
Author: Bruce Guenter <bruce@untroubled.org>
Date: Fri May 27 17:54:43 2005 +0000
Renamed cvm_ucspi_domain to match other cvm client library functions.
client_domain.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit 4f8789466c717d611ea7e27345e150e2dd14e218
Author: Bruce Guenter <bruce@untroubled.org>
Date: Wed May 25 23:52:01 2005 +0000
Added an #ifdef in the headers to prevent the definition of the
compatibility macros.
module.h | 2 +-
v1client.h | 2 +-
v2client.h | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
commit 5cd904868cbdd7d92f3fa4f4b02836854ca53f0b
Author: Bruce Guenter <bruce@untroubled.org>
Date: Wed May 25 23:37:52 2005 +0000
Major API change, bumping up the version number to 0.60.
- All module symbols are named cvm_module_*
- All client symbols are named cvm_client_*
NEWS | 10 ++++-
VERSION | 2 +-
client_setenv.c | 8 ++--
client_setugid.c | 2 +-
credentials.h | 2 +-
cvm-benchclient.c | 2 +-
cvm-checkpassword.c | 6 ++--
cvm-pwfile.c | 14 ++++----
cvm-qmail.c | 6 ++--
cvm-testclient.c | 6 ++--
cvm-unix.c | 14 ++++----
cvm-v1benchclient.c | 2 +-
cvm-v1checkpassword.c | 6 ++--
cvm-v1testclient.c | 4 +-
cvm-vmailmgr.c | 4 +-
module.h | 75 +++++++++++++++++++++++++++------------
module_command.c | 20 +++++++----
module_local.c | 24 ++++++++-----
module_local_main.c | 2 +-
module_log.c | 24 ++++++------
module_main.c | 2 +-
module_output.c | 48 ++++++++++++------------
module_request.c | 95 ++++++++++++++++++++++++++-----------------------
module_udp.c | 19 +++++-----
module_udp_main.c | 2 +-
qmail-lookup.c | 11 +++---
sasl_authenticate.c | 2 +-
sasl_cram_md5.c | 2 +-
sql-auth.c | 8 ++--
sql-query-test.c | 8 ++--
sql-query.c | 8 ++--
v1client.c | 38 ++++++++++----------
v1client.h | 39 +++++++++++++++-----
v2client.c | 38 ++++++++++----------
v2client.h | 51 +++++++++++++++++++-------
v2client_wrappers.c | 6 ++--
vmlookup.c | 4 +-
vmmain.c | 4 +-
38 files changed, 358 insertions(+), 260 deletions(-)
commit 81f619e2fac8c012658d42ff2915d1418a2815ff
Author: Bruce Guenter <bruce@untroubled.org>
Date: Wed May 25 19:24:31 2005 +0000
Renamed cvm_auth_{init,stop} to cvm_module_{init,stop}.
NEWS | 1 +
cvm-pwfile.c | 4 ++--
cvm-qmail.c | 4 ++--
cvm-unix.c | 4 ++--
cvm-vchkpw.c | 4 ++--
module.h | 4 ++--
module.html | 4 ++--
module_command.c | 6 +++---
module_local.c | 4 ++--
module_udp.c | 4 ++--
sql-auth.c | 4 ++--
vmmain.c | 4 ++--
12 files changed, 24 insertions(+), 23 deletions(-)
commit 736d03654370bb57b19571ed5de067b6a0a4eef2
Author: Bruce Guenter <bruce@untroubled.org>
Date: Wed May 25 18:32:20 2005 +0000
Bumped version to 0.51
NEWS | 6 ++++++
VERSION | 2 +-
2 files changed, 7 insertions(+), 1 deletions(-)
commit 767a19e47b683e12b620baae6bf8ea3a8eed0c26
Author: Bruce Guenter <bruce@untroubled.org>
Date: Wed May 11 19:56:16 2005 +0000
Authenticating against cvm-qmail is nonsense, so make cvm-qmail work
only in lookup mode.
cvm-qmail.c | 3 +--
tests/qmail-lookup | 3 ++-
2 files changed, 3 insertions(+), 3 deletions(-)
commit 87a19f4f5652af4d13e37adf31012fd8a509ac8b
Author: Bruce Guenter <bruce@untroubled.org>
Date: Tue May 10 22:38:11 2005 +0000
Clear the memory for cvm_credentials just like the module code does.
sql-query-test.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
commit d829df457bb4f88b757dc2f92f6a1912800fb463
Author: Bruce Guenter <bruce@untroubled.org>
Date: Tue May 10 22:36:59 2005 +0000
Switched completely away from using stdio.
TODO | 4 --
cvm-benchclient.c | 31 +++++++++-------
cvm-checkpassword.c | 11 +++---
cvm-pwfile.c | 29 ++++++++-------
cvm-testclient.c | 67 ++++++++++++++++++++++-------------
cvm-v1benchclient.c | 31 ++++++++--------
cvm-v1checkpassword.c | 15 ++++----
cvm-v1testclient.c | 73 ++++++++++++++++++++++++---------------
module_command_main.c | 4 ++-
module_local.c | 18 +++++-----
module_local_main.c | 10 +++--
module_main.c | 13 ++++---
module_udp.c | 15 ++++++--
module_udp_main.c | 10 +++--
sql-query-test.c | 27 +++++++-------
tests/command-bad-password | 2 +-
tests/command-bad-username | 2 +-
tests/lookup | 4 +-
tests/pwfile-local-bad-password | 2 +-
tests/pwfile-udp-bad-password | 2 +-
tests/qmail-lookup | 8 ++--
tests/v1lookup | 4 +-
tests/vmailmgr-upper-pass | 2 +-
tests/vmlookup-badpass | 2 +-
24 files changed, 219 insertions(+), 167 deletions(-)
commit c5b1c6c4c04592df71a03f3f821a4abd8efd9495
Author: Bruce Guenter <bruce@untroubled.org>
Date: Tue May 10 17:39:00 2005 +0000
Split conf-home control into conf-bin/include/lib, to help deal with
systems on which the different directories are in non-obvious places.
insthier.c | 11 ++++++-----
spec | 21 ++++++++++++---------
2 files changed, 18 insertions(+), 14 deletions(-)
commit f50028e7ae2932400a566b916539d7ce3543ba01
Author: Bruce Guenter <bruce@untroubled.org>
Date: Tue May 10 17:27:41 2005 +0000
Added notes about the rationale behind the version 2 protocol.
protocol-2.html | 11 +++++++++++
1 files changed, 11 insertions(+), 0 deletions(-)
commit 93294165b14e63b866710f1526cbad25d6ceeca9
Author: Bruce Guenter <bruce@untroubled.org>
Date: Tue May 10 17:07:04 2005 +0000
Fixed some missing details in the v2client API documentation.
v2client.html | 13 +++++++++++++
1 files changed, 13 insertions(+), 0 deletions(-)
commit 0fb99a401ab494a024d60e519aee785e5a01837d
Author: Bruce Guenter <bruce@untroubled.org>
Date: Tue May 10 17:06:43 2005 +0000
Updated the notes about the changes in this release.
NEWS | 11 +++++++++--
TODO | 12 +++++-------
2 files changed, 14 insertions(+), 9 deletions(-)
commit 9c2e34f23e1cf11ff83ab1f14cd7e2620a1b0a84
Author: Bruce Guenter <bruce@untroubled.org>
Date: Tue May 10 16:58:18 2005 +0000
Removed the unreferenced client.html documentation.
client.html | 101 -----------------------------------------------------------
1 files changed, 0 insertions(+), 101 deletions(-)
delete mode 100644 client.html
commit e77ce356c9d5e33a8381f1023b9291b3a8591e66
Author: Bruce Guenter <bruce@untroubled.org>
Date: Tue May 10 16:58:02 2005 +0000
Updated the module API documentation.
module.html | 22 +++++++++-------------
1 files changed, 9 insertions(+), 13 deletions(-)
commit 9aa5cc5d2e2491e878f299f07c0ca1bdb3f3125d
Author: Bruce Guenter <bruce@untroubled.org>
Date: Tue May 10 16:56:29 2005 +0000
Added tests of the v1 module compatibility mode.
tests/stop-pwfile-local | 2 +-
tests/stop-pwfile-udp | 2 +-
tests/{pwfile-local => v1local} | 2 +-
tests/{lookup => v1lookup} | 8 +++-----
tests/{pwfile-udp => v1udp} | 2 +-
5 files changed, 7 insertions(+), 9 deletions(-)
copy tests/{pwfile-local => v1local} (84%)
copy tests/{lookup => v1lookup} (88%)
copy tests/{pwfile-udp => v1udp} (84%)
commit 091a2c2901302f2fe004f0a4e2229762cd5015ab
Author: Bruce Guenter <bruce@untroubled.org>
Date: Tue May 10 16:50:42 2005 +0000
Documented the new Version 2 API.
cvm.html | 3 +-
client.html => v1client.html | 4 +-
client.html => v2client.html | 52 ++++++++++++++++++++++-------------------
3 files changed, 32 insertions(+), 27 deletions(-)
copy client.html => v1client.html (97%)
copy client.html => v2client.html (71%)
commit 5cf4f41981ec93910a49ed5dcbe86ff967ff1956
Author: Bruce Guenter <bruce@untroubled.org>
Date: Tue May 10 16:43:05 2005 +0000
Modified the API for cvm_split_account to be a little more reasonable.
v2client.c | 31 +++++++++++++------------------
v2client.h | 3 +--
v2client_wrappers.c | 2 +-
3 files changed, 15 insertions(+), 21 deletions(-)
commit 53f2d9832186737773447e5408ccc5d20b05e40a
Author: Bruce Guenter <bruce@untroubled.org>
Date: Tue May 10 06:02:00 2005 +0000
Converted cvm-benchclient to the v2 API.
cvm-benchclient.c | 16 ++++++++++------
cvm-benchclient=x | 2 +-
cvm-benchclient.c => cvm-v1benchclient.c | 0
cvm-benchclient=x => cvm-v1benchclient=x | 0
insthier.c | 3 ++-
5 files changed, 13 insertions(+), 8 deletions(-)
copy cvm-benchclient.c => cvm-v1benchclient.c (100%)
copy cvm-benchclient=x => cvm-v1benchclient=x (100%)
commit e39e77437d4b28a0f313dea348ead810f3ddcc6f
Author: Bruce Guenter <bruce@untroubled.org>
Date: Tue May 10 05:53:09 2005 +0000
Added missing test.
tests/qmail-lookup-nodomain | 14 ++++++++++++++
1 files changed, 14 insertions(+), 0 deletions(-)
create mode 100644 tests/qmail-lookup-nodomain
commit 22d97b1da5173c8be71b25397dcb42fca5dfa89d
Author: Bruce Guenter <bruce@untroubled.org>
Date: Tue May 10 05:51:53 2005 +0000
Converted cvm-checkpassword to the version 2 API.
cvm-checkpassword.c | 9 +++++----
cvm-checkpassword=x | 2 +-
cvm-checkpassword.c => cvm-v1checkpassword.c | 0
cvm-benchclient=x => cvm-v1checkpassword=x | 0
insthier.c | 1 +
5 files changed, 7 insertions(+), 5 deletions(-)
copy cvm-checkpassword.c => cvm-v1checkpassword.c (100%)
copy cvm-benchclient=x => cvm-v1checkpassword=x (100%)
commit f5c4c7e77a7d73152ad329a1368fd139d184a0ac
Author: Bruce Guenter <bruce@untroubled.org>
Date: Mon May 9 23:39:39 2005 +0000
Dropped the now redundant cvm_authenticate_lookup wrapper function.
cvm-testclient.c | 2 +-
v2client.h | 4 ----
v2client_wrappers.c | 16 ----------------
3 files changed, 1 insertions(+), 21 deletions(-)
commit f7461c43f748d7a0979d4bdd2c966386202b35b0
Author: Bruce Guenter <bruce@untroubled.org>
Date: Mon May 9 23:38:42 2005 +0000
Modified the wrapper functions to only send across the credentials that
are not NULL or empty.
tests/pwfile-local | 2 +-
tests/pwfile-local-bad-password | 2 +-
tests/pwfile-udp | 2 +-
tests/pwfile-udp-bad-password | 2 +-
tests/stop-pwfile-local | 2 +-
tests/stop-pwfile-udp | 2 +-
v2client_wrappers.c | 37 ++++++++++++++++++++++++++-----------
7 files changed, 32 insertions(+), 17 deletions(-)
commit bf2b641e7b22a1658702d29670cbfcd887d89176
Author: Bruce Guenter <bruce@untroubled.org>
Date: Mon May 9 23:32:09 2005 +0000
Split out the API for splitting a domain name from the account name into
a seperate function.
v2client.c | 58 ++++++++++++++++++++++++--------------------------
v2client.h | 5 ++-
v2client_wrappers.c | 11 +++++++--
3 files changed, 39 insertions(+), 35 deletions(-)
commit 37eba429fe14e62e99fd46d05d17e66c0da40ca1
Author: Bruce Guenter <bruce@untroubled.org>
Date: Mon May 9 23:16:40 2005 +0000
Fixed up tests to match current behavior.
tests.inc | 21 ++++++++++++++++++---
tests/command-bad-password | 2 +-
tests/command-bad-username | 2 +-
tests/command-case | 2 +-
tests/command-no-prefix | 2 +-
tests/command-prefix | 2 +-
tests/lookup | 18 +++++++++++++++---
tests/pwfile | 2 +-
tests/pwfile-crypt | 2 +-
tests/pwfile-local | 4 ++--
tests/pwfile-local-bad-password | 4 ++--
tests/pwfile-udp | 4 ++--
tests/pwfile-udp-bad-password | 4 ++--
tests/qmail-lookup | 2 +-
tests/start-pwfile-local | 2 +-
tests/start-pwfile-udp | 2 +-
tests/stop-pwfile-local | 2 +-
tests/stop-pwfile-udp | 2 +-
tests/vmailmgr-normal | 2 +-
tests/vmailmgr-upper-domain | 2 +-
tests/vmailmgr-upper-pass | 2 +-
tests/vmailmgr-upper-virt | 2 +-
tests/vmlookup-badpass | 4 ++--
tests/vmlookup-normal | 3 ++-
tests/vmlookup-pass | 3 ++-
tests/vmlookup-upper-domain | 3 ++-
tests/vmlookup-upper-virt | 3 ++-
27 files changed, 67 insertions(+), 36 deletions(-)
commit 6b14b418af4267265e3aca380cfd0ffb95e46533
Author: Bruce Guenter <bruce@untroubled.org>
Date: Mon May 9 23:06:43 2005 +0000
Since qmail_lookup_cvm handles the case where the domain credential is
missing, it shouldn't be marked as required in the module.
cvm-qmail.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
commit bf7a94d39ad09bb01ae8c43f6422d1178baad16b
Author: Bruce Guenter <bruce@untroubled.org>
Date: Mon May 9 19:50:08 2005 +0000
Fixed a bug in module output where error packets would always be sent in
version 1 protocol format.
module_output.c | 11 +++++------
module_request.c | 2 +-
2 files changed, 6 insertions(+), 7 deletions(-)
commit 56c1845596833f5a9494567514d40f62f046e5fe
Author: Bruce Guenter <bruce@untroubled.org>
Date: Mon May 9 18:52:11 2005 +0000
Added plain lookup wrapper for cvm_authenticate.
cvm-testclient.c | 18 ++++++++++++++----
v2client.h | 10 +++++-----
v2client_wrappers.c | 12 ++++++++++++
3 files changed, 31 insertions(+), 9 deletions(-)
commit 8c838917f8d32cbb359300cd263ac76b4a2963f2
Author: Bruce Guenter <bruce@untroubled.org>
Date: Mon May 9 18:51:52 2005 +0000
Fixed bug with parsing the length byte in cvm_fact_str.
v2client.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit 08f35c9d69b233ccc681b4f5b42fb58a6450435e
Author: Bruce Guenter <bruce@untroubled.org>
Date: Mon May 9 18:19:29 2005 +0000
Fixed bug introduced with the $CVM_LOOKUP_SECRET variable.
v2client.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
commit f9356a1b18b604569897de18f505b6786a704117
Author: Bruce Guenter <bruce@untroubled.org>
Date: Mon May 9 17:49:56 2005 +0000
If $CVM_LOOKUP_SECRET is set, and no CVM_CRED_SECRET credential is
present, automatically add it to the set of credentials sent by the
client.
v2client.c | 11 ++++++++++-
1 files changed, 10 insertions(+), 1 deletions(-)
commit eb0e36bf0f92068db6a977ae2f8eb669db0b3bac
Author: Bruce Guenter <bruce@untroubled.org>
Date: Mon May 9 05:15:57 2005 +0000
Since I have committed actual code for the v2 protocol, it no longer is
really a "work in progress".
cvm.html | 3 ++-
protocol-2.html | 2 +-
2 files changed, 3 insertions(+), 2 deletions(-)
commit b269b79cb813f71aa771d0742cf47614a7d2c447
Author: Bruce Guenter <bruce@untroubled.org>
Date: Mon May 9 05:11:26 2005 +0000
Added initial support for protocol v2 to client library;
fixed some related bugs in the module library.
cvm-testclient.c | 10 +-
module_output.c | 3 +-
module_request.c | 2 +-
v2client.c | 166 +++++++++++++++++----------
v2client.h | 27 ++++-
v2client=l | 1 +
module_local_main.c => v2client_wrappers.c | 36 +++---
7 files changed, 153 insertions(+), 92 deletions(-)
copy module_local_main.c => v2client_wrappers.c (51%)
commit 18d5cc1c09796c59e86ee7c0241b2bf35982bdba
Author: Bruce Guenter <bruce@untroubled.org>
Date: Mon May 9 04:28:04 2005 +0000
Fixed potential problem with overflowing unsigned numbers.
v1client.c | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
commit 74b0822d6996a39db773b0bbe8086ab7973823a3
Author: Bruce Guenter <bruce@untroubled.org>
Date: Sun May 8 06:11:57 2005 +0000
Use global CVM_BUFSIZE constant.
v1client.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
commit 0495d3318fa478a084d2cbaab655cc64a856775f
Author: Bruce Guenter <bruce@untroubled.org>
Date: Sun May 8 06:09:48 2005 +0000
Move parsing the result code in the buffer into the parse_buffer routine.
v1client.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit 01d1f682eba537c3c5aae886e4142aea7e4adaa7
Author: Bruce Guenter <bruce@untroubled.org>
Date: Sun May 8 06:08:33 2005 +0000
Don't try to interpret the buffer in the transfer code.
client_xfer_udp.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit 19196d4f03c2396de81d07fdcf06da4c8536f315
Author: Bruce Guenter <bruce@untroubled.org>
Date: Sun May 8 05:57:48 2005 +0000
Renamed the soon-to-be version 2 client library to v2client, and put in
compatibility links to the version 1 client library, to allow existing
software to compile properly.
client_domain.c | 2 +-
client_setenv.c | 2 +-
client_setugid.c | 2 +-
client_xfer_command.c | 2 +-
client_xfer_local.c | 2 +-
client_xfer_udp.c | 2 +-
cvm-benchclient.c | 2 +-
cvm-benchclient=x | 2 +-
cvm-checkpassword.c | 2 +-
cvm-checkpassword=x | 2 +-
cvm-testclient.c | 2 +-
cvm-testclient=x | 2 +-
insthier.c | 6 ++++--
sasl_authenticate.c | 2 +-
sasl_cram_md5.c | 2 +-
client.c => v2client.c | 2 +-
client.h => v2client.h | 4 ++--
client=l => v2client=l | 2 +-
18 files changed, 22 insertions(+), 20 deletions(-)
rename client.c => v2client.c (99%)
rename client.h => v2client.h (94%)
rename client=l => v2client=l (91%)
commit 4acd0b6f3055a0705d3347ff5811b538b04dee9e
Author: Bruce Guenter <bruce@untroubled.org>
Date: Sun May 8 05:41:00 2005 +0000
Fixed another signed char* instance.
v1client.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
commit 38f6e8b60b02bdc203c17604c3922d5fef6cf0b5
Author: Bruce Guenter <bruce@untroubled.org>
Date: Sun May 8 05:36:11 2005 +0000
Fixed usage of global "str" type as variable name.
client_setenv.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
commit 396111a60d3efa2892b21005b3e5023698258497
Author: Bruce Guenter <bruce@untroubled.org>
Date: Sun May 8 05:02:38 2005 +0000
Broke out the command/local/UDP client-module transmission code, as this
will be identical in both protocols.
client.c | 176 +------------------------------------------------
client.h | 12 ++++
client=l | 3 +
client_xfer_command.c | 125 +++++++++++++++++++++++++++++++++++
client_xfer_local.c | 59 ++++++++++++++++
client_xfer_udp.c | 81 ++++++++++++++++++++++
v1client.c | 176 +------------------------------------------------
v1client.h | 16 ++++-
v1client=l | 3 +
9 files changed, 303 insertions(+), 348 deletions(-)
create mode 100644 client_xfer_command.c
create mode 100644 client_xfer_local.c
create mode 100644 client_xfer_udp.c
commit 05adb704cad84e467ec418ecfb12f0a34eec0990
Author: Bruce Guenter <bruce@untroubled.org>
Date: Sun May 8 03:43:45 2005 +0000
Saved a copy of the v1 protocol clients and API for compatibility
testing.
cvm-testclient.c => cvm-v1testclient.c | 2 +-
cvm-benchclient=x => cvm-v1testclient=x | 2 +-
insthier.c | 3 +++
client.c => v1client.c | 2 +-
client.h => v1client.h | 0
client=l => v1client=l | 2 +-
6 files changed, 7 insertions(+), 4 deletions(-)
copy cvm-testclient.c => cvm-v1testclient.c (98%)
copy cvm-benchclient=x => cvm-v1testclient=x (59%)
copy client.c => v1client.c (99%)
copy client.h => v1client.h (100%)
copy client=l => v1client=l (85%)
commit 74e38a89b8eb807734ab3d6356db8b5ac4587900
Author: Bruce Guenter <bruce@untroubled.org>
Date: Sat May 7 19:25:14 2005 +0000
Rewrote the module code to handle both v2 and v1 protocols.
NEWS | 8 ++++
VERSION | 2 +-
credentials.h | 2 +
cvm-pwfile.c | 16 ++++----
cvm-qmail.c | 4 +-
cvm-unix.c | 10 ++--
cvm-vmailmgr.c | 24 ++++++-----
cvm.html | 2 +-
insthier.c | 3 +-
module.h | 13 ++++--
module_log.c | 17 ++++++--
module_output.c | 47 ++++++++++++++++++++---
module_request.c | 79 ++++++++++++++++++++++++++++-----------
protocol-2.html | 2 +
qmail-domains.c | 4 +-
qmail-lookup.c | 10 +++--
qmail.h | 2 +-
sql-auth.c | 9 ++--
sql-query-test.c | 8 ++--
sql-query.c | 30 ++++++++++----
tests/lookup | 26 +++++++++++-
tests/pwfile-local | 2 +-
tests/pwfile-local-bad-password | 2 +-
tests/pwfile-udp | 2 +-
tests/pwfile-udp-bad-password | 2 +-
tests/stop-pwfile-local | 2 +-
tests/stop-pwfile-udp | 2 +-
vmlookup.c | 2 +-
28 files changed, 231 insertions(+), 101 deletions(-)
commit bfc6a4406dd320a97b7fe57fc81ae6bd026b8cf1
Author: Bruce Guenter <bruce@untroubled.org>
Date: Fri May 6 23:04:33 2005 +0000
Rewrote the version 2 protocol to be more like version 1, for efficiency
and ease of implementation.
cvm.html | 2 +-
protocol.html => protocol-1.html | 5 +--
protocol-2.html | 71 +++++++++++++++++++------------------
protocol.h | 8 +----
4 files changed, 40 insertions(+), 46 deletions(-)
rename protocol.html => protocol-1.html (98%)
commit cd6f05f25b006f6590a420c3f94ca7def0396400
Author: Bruce Guenter <bruce@untroubled.org>
Date: Fri May 6 22:54:08 2005 +0000
Cleaned up some formatting, expanded details.
errors.html | 32 +++++++++++++++++---------------
1 files changed, 17 insertions(+), 15 deletions(-)
commit c5260923e8b7ff5d4a55125ad9215f0ed165fd63
Author: Bruce Guenter <bruce@untroubled.org>
Date: Fri May 6 22:53:26 2005 +0000
Fixed up some formatting and clarified the contents of strings.
facts.html | 36 ++++++++++++++++++------------------
1 files changed, 18 insertions(+), 18 deletions(-)
commit e415d738ad6877ecba9948f3bf7b2751d1b52582
Author: Bruce Guenter <bruce@untroubled.org>
Date: Fri May 6 07:16:55 2005 +0000
Fact numbers are effectively unsigned, so the API should match everywhere.
client.c | 18 +++++++++---------
client.h | 4 ++--
client.html | 4 ++--
module.h | 6 +++---
module.html | 4 ++--
module_output.c | 10 +++++-----
6 files changed, 23 insertions(+), 23 deletions(-)
commit 49aa052f31547f1cd3cbcc28a8669c3e9ff68b3d
Author: Bruce Guenter <bruce@untroubled.org>
Date: Fri May 6 07:00:39 2005 +0000
Missed changing one pointer to the output buffer to unsigned char type.
module_output.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit 527c6b14792100fcc33a08ce2372ee6ed9ade23d
Author: Bruce Guenter <bruce@untroubled.org>
Date: Fri May 6 06:55:41 2005 +0000
Converted the input and output module buffers to unsigned char type.
module.h | 4 ++--
module_output.c | 2 +-
module_request.c | 2 +-
3 files changed, 4 insertions(+), 4 deletions(-)
commit 7e503b872085d87fc284a0771d3f42291b1d6d6e
Author: Bruce Guenter <bruce@untroubled.org>
Date: Thu May 5 23:55:30 2005 +0000
Added a response type credential, to distinguish between different
challenge-response mechanisms (APOP, CRAM-MD5, etc).
credentials.h | 12 +++---------
credentials.html | 16 ++++++++++++----
2 files changed, 15 insertions(+), 13 deletions(-)
commit e33bc1355444793d49ea51b5411663e96e86de27
Author: Bruce Guenter <bruce@untroubled.org>
Date: Thu May 5 22:28:01 2005 +0000
Missed a closing ` on the load line in the comments of cvm-vchkpw.c
cvm-vchkpw.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit c064fc4a83033bf7d1549199701778552f76bc8c
Author: Bruce Guenter <bruce@untroubled.org>
Date: Thu May 5 16:42:22 2005 +0000
Moved the protocol definitions into a shared header file,
in preparation for CVM2.
client.c | 5 +++--
client.h | 2 --
module.h | 2 --
module_request.c | 5 +++--
protocol.h | 13 +++++++++++++
5 files changed, 19 insertions(+), 8 deletions(-)
create mode 100644 protocol.h
commit c388ed3bd9d99fb2ee72a63740edf6e5a88cf7e4
Author: Bruce Guenter <bruce@untroubled.org>
Date: Thu May 5 15:31:55 2005 +0000
Reorganized the credentials slightly. More reorganization is on the way
to fully provide support for all challenge-response mechanisms.
credentials.h | 6 +++---
credentials.html | 18 +++++++++---------
2 files changed, 12 insertions(+), 12 deletions(-)
commit d6516b1cd71793109abb037513095e7d3cfbc95a
Author: Bruce Guenter <bruce@untroubled.org>
Date: Thu May 5 06:12:59 2005 +0000
Renamed "str" to simply "s" to avoid conflicts with the "str" data type.
module_log.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
commit c1c2cf402c0656c44fe2a4fc0af373ca052b85b7
Author: Bruce Guenter <bruce@untroubled.org>
Date: Thu May 5 05:51:37 2005 +0000
Adjusted tests to account for the getpwnam fallback after CDB lookup
failure.
tests.inc | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
commit c3642488922acd713db7a719d98a9bfe346d3b10
Author: Bruce Guenter <bruce@untroubled.org>
Date: Thu May 5 04:21:03 2005 +0000
Fixed the cvm-pwfile documentation to say that the default password
comparison mode was plain-text instead of UNIX crypt.
cvm-pwfile.html | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
commit d8045af6afbf597dd2a3d7d32cc37b1eb82ea1bb
Author: Bruce Guenter <bruce@untroubled.org>
Date: Thu May 5 03:58:46 2005 +0000
Fixed handling qmail lookups when cdb/users exists but does not
contain all users. Thanks Dale Woolridge.
NEWS | 3 +++
qmail-users.c | 17 +++++++++++++----
2 files changed, 16 insertions(+), 4 deletions(-)
commit 37e8e6f60c95687f4f7397a8103ddc99dcdda979
Author: Bruce Guenter <bruce@untroubled.org>
Date: Wed May 4 23:23:08 2005 +0000
Fixed handling qmail lookups with missing domains by reading
control/me and control/envnoathost.
NEWS | 3 +++
qmail-init.c | 48 +++++++++++++++++++++++++++++++++++++++++++++++-
qmail-lookup.c | 3 +++
qmail.h | 2 ++
tests.inc | 2 ++
5 files changed, 57 insertions(+), 1 deletions(-)
commit c84081ca55cf585e6e79facc86df06f6054d7c25
Author: Bruce Guenter <bruce@untroubled.org>
Date: Wed May 4 22:44:35 2005 +0000
Fixed handling qmail lookups of extensions containing periods.
NEWS | 2 ++
qmail-dotfile.c | 14 +++++++++-----
tests.inc | 2 ++
tests/qmail-lookup | 29 ++++++++++++++++++++++++++++-
4 files changed, 41 insertions(+), 6 deletions(-)
commit 85aace1b002eada8ce9c3816e7fb9cab4dd7fbea
Author: Bruce Guenter <bruce@untroubled.org>
Date: Wed May 4 22:12:39 2005 +0000
Added error strings analogous to sys_errlist.
client=l | 1 +
cvm-benchclient.c | 5 ++-
cvm-testclient.c | 5 ++-
errors.c | 45 +++++++++++++++++++++++++++++++++++++++
errors.h | 3 ++
tests/command-bad-password | 2 +-
tests/command-bad-username | 2 +-
tests/lookup | 8 +++---
tests/pwfile-local-bad-password | 2 +-
tests/pwfile-udp-bad-password | 2 +-
tests/qmail-lookup | 8 +++---
tests/vmailmgr-upper-pass | 2 +-
tests/vmlookup-badpass | 2 +-
13 files changed, 69 insertions(+), 18 deletions(-)
create mode 100644 errors.c
commit 3464a89eae81252385281180ed5dab3948a2ecf9
Author: Bruce Guenter <bruce@untroubled.org>
Date: Tue May 3 20:53:27 2005 +0000
Conditionally install cvm-vchkpw, just like cvm-mysql and friends.
Thanks Peter Palmreuther <pit@pp4ce.de>
insthier.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
commit acc529aa20cebb8d67bb26b109b9382f56644b44
Author: Bruce Guenter <bruce@untroubled.org>
Date: Tue May 3 20:51:04 2005 +0000
Added compile fix for cvm-vchkpw.
Thanks Peter Palmreuther <pit@pp4ce.de>
NEWS | 1 +
cvm-vchkpw.c | 6 ++++--
2 files changed, 5 insertions(+), 2 deletions(-)
commit 75970418242f7c8df2bc1caa768003b80ae48b00
Author: Bruce Guenter <bruce@untroubled.org>
Date: Tue May 3 20:45:58 2005 +0000
Bumped up version to 0.33.
NEWS | 6 ++++++
VERSION | 2 +-
2 files changed, 7 insertions(+), 1 deletions(-)
commit a1da5d34f10ba8a894ccdc5c6a826ebfbce766b6
Author: Bruce Guenter <bruce@untroubled.org>
Date: Fri Jan 14 22:09:36 2005 +0000
Also lower-case the user name when looking it up, just like qmail-local does.
NEWS | 4 ++--
qmail-users.c | 30 +++++++++++++++++-------------
tests/qmail-lookup | 27 +++++++++++++++++++++++++--
3 files changed, 44 insertions(+), 17 deletions(-)
commit 3f45e53655b5f2087ed2fae5f7710be4d4f02b16
Author: Bruce Guenter <bruce@untroubled.org>
Date: Fri Jan 14 20:47:03 2005 +0000
Fixed the .qmail-ext lookup in cvm-qmail to lower-case the "-ext" part
just like qmail-local does.
NEWS | 2 ++
qmail-dotfile.c | 10 ++++++++--
tests/qmail-lookup | 18 +++++++++++++++++-
3 files changed, 27 insertions(+), 3 deletions(-)
commit f91eda1a3db547df1f03f99ce0548f48fe9d3338
Author: Bruce Guenter <bruce@untroubled.org>
Date: Fri Jan 14 20:06:32 2005 +0000
Bumped version to 0.32
NEWS | 6 ++++++
VERSION | 2 +-
2 files changed, 7 insertions(+), 1 deletions(-)
commit 1b727854defa0ede65046100cef9ec4f0fdaa7af
Author: Bruce Guenter <bruce@untroubled.org>
Date: Fri Jan 14 20:04:33 2005 +0000
Bumped year to 2005.
README.in | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit c6cf60fa4376e9e9425a10155b4626c442261961
Author: Bruce Guenter <bruce@untroubled.org>
Date: Thu Dec 2 05:29:35 2004 +0000
Rewrote and expanded the module documentation, fixing the lack of
documentation on cvm_results()
module.html | 53 ++++++++++++++++++++++++++++++-----------------------
1 files changed, 30 insertions(+), 23 deletions(-)
commit 7e8c05c2db3f07adf9525829905185cca8c78deb
Author: Bruce Guenter <bruce@untroubled.org>
Date: Mon Nov 15 20:18:16 2004 +0000
Changed error code in the qmail code from EBADMSG to EDOM to allow
compilation on *BSD systems.
NEWS | 6 ++++++
qmail-users.c | 2 +-
2 files changed, 7 insertions(+), 1 deletions(-)
commit ca33033de5e98a9870f817e08c568752b82da820
Author: Bruce Guenter <bruce@untroubled.org>
Date: Mon Nov 15 20:06:41 2004 +0000
Bumped version to 0.31
NEWS | 5 +++++
VERSION | 2 +-
2 files changed, 6 insertions(+), 1 deletions(-)
commit 09b77ea63facb8b46cace2a42922d0a0a0222cd3
Author: Bruce Guenter <bruce@untroubled.org>
Date: Fri Nov 12 16:53:15 2004 +0000
Add distribution of the extra README files into EXTRADIST.
EXTRADIST | 2 ++
doc.dist | 1 -
2 files changed, 2 insertions(+), 1 deletions(-)
commit 3427d8e06e21a296f1cf365237d2602ea3411ab1
Author: Bruce Guenter <bruce@untroubled.org>
Date: Wed Nov 10 23:09:07 2004 +0000
Modified the behavior of lookup mode slightly: if the lookup secret is
empty, it is treated as indicating that no password is needed but still
operate in lookup mode.
cvm.html | 7 +++++--
module_request.c | 14 +++++++++-----
tests/lookup | 36 ++++++++++++++++++++++++++++++++++++
3 files changed, 50 insertions(+), 7 deletions(-)
create mode 100644 tests/lookup
commit b6a1414f8fce90cc0e543f75dfd218d5c74cf3b6
Author: Bruce Guenter <bruce@untroubled.org>
Date: Wed Nov 10 20:36:54 2004 +0000
Updated the tests to use/test the new generic lookup mode.
tests.inc | 4 ++--
tests/qmail-lookup | 5 +----
tests/vmlookup-badpass | 2 --
tests/vmlookup-normal | 2 +-
tests/vmlookup-pass | 4 +---
tests/vmlookup-upper-domain | 2 +-
tests/vmlookup-upper-virt | 2 +-
7 files changed, 7 insertions(+), 14 deletions(-)
commit cc5f7eb0c013ea0b4922bd3238c793f27f011d63
Author: Bruce Guenter <bruce@untroubled.org>
Date: Wed Nov 10 20:36:27 2004 +0000
Updated the executable linking files and the spec to use the new unified
bglibs file.
README.in | 5 +----
cvm-benchclient=x | 2 +-
cvm-checkpassword=x | 2 +-
cvm-mysql-local=x | 3 +--
cvm-mysql-udp=x | 3 +--
cvm-mysql=x | 3 +--
cvm-pgsql-local=x | 3 +--
cvm-pgsql-udp=x | 3 +--
cvm-pgsql=x | 3 +--
cvm-pwfile=x | 2 +-
cvm-testclient=x | 2 +-
cvm-unix=x | 2 +-
cvm-vmailmgr-local=x | 14 ++------------
cvm-vmailmgr-udp=x | 14 ++------------
cvm-vmailmgr=x | 11 ++---------
spec | 2 +-
sql-query-test=x | 2 +-
17 files changed, 20 insertions(+), 56 deletions(-)
commit 7ce7718ace78ab9a64c87afd01c6632c78b4400d
Author: Bruce Guenter <bruce@untroubled.org>
Date: Wed Nov 10 20:13:31 2004 +0000
Removed the now obsoleted cvm-vmlookup lookup-only module.
NEWS | 2 ++
cvm-vmlookup.c | 35 -----------------------------------
cvm-vmlookup=x | 15 ---------------
insthier.c | 1 -
4 files changed, 2 insertions(+), 51 deletions(-)
delete mode 100644 cvm-vmlookup.c
delete mode 100644 cvm-vmlookup=x
commit 08996123e728f95509d92c969170f989df1b9629
Author: Bruce Guenter <bruce@untroubled.org>
Date: Wed Nov 10 20:12:30 2004 +0000
Replaced the "try_default" global, which is only set when doing lookups,
with the new cvm_lookup_secret run-time flag.
cvm-vmailmgr.c | 3 +--
cvm-vmailmgr.h | 1 -
vmlookup.c | 4 +++-
3 files changed, 4 insertions(+), 4 deletions(-)
commit 3e5429e0198aa299b2a0f50b0bc98fce5ee1e40d
Author: Bruce Guenter <bruce@untroubled.org>
Date: Wed Nov 10 20:11:18 2004 +0000
Made the lookup secret value an exported symbol so that modules can
adjust their behavior dependant on if lookup mode is enabled.
module.h | 1 +
module_request.c | 10 +++++-----
2 files changed, 6 insertions(+), 5 deletions(-)
commit e8bdf6f96ceb081a9a97f405dfc1c4e8a3435349
Author: Bruce Guenter <bruce@untroubled.org>
Date: Wed Nov 10 18:48:43 2004 +0000
Added documentation for the qmail and vmailmgr modules.
cvm-qmail.html | 53 +++++++++++++++++++++++++++++++++++++++++++++++++++++
cvm-vmailmgr.html | 43 +++++++++++++++++++++++++++++++++++++++++++
cvm.html | 2 ++
3 files changed, 98 insertions(+), 0 deletions(-)
create mode 100644 cvm-qmail.html
create mode 100644 cvm-vmailmgr.html
commit 0bc8fe5adc068b1e76f2c1442214d43d85614405
Author: Bruce Guenter <bruce@untroubled.org>
Date: Wed Nov 10 18:33:15 2004 +0000
Reformatted the "Configuration Variables" sections to be more readable.
cvm-mysql.html | 51 ++++++++++++++++++++++++++-------------------------
cvm-pgsql.html | 28 ++++++++++++++--------------
cvm-pwfile.html | 12 ++++++------
cvm-unix.html | 4 +++-
4 files changed, 49 insertions(+), 46 deletions(-)
commit b67c60695e01d557019b2f2b686f152f1a1dfc2a
Author: Bruce Guenter <bruce@untroubled.org>
Date: Wed Nov 10 17:50:05 2004 +0000
Added the README file from vmailmgr to the repository.
README.vmailmgr | 62 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 62 insertions(+), 0 deletions(-)
create mode 100644 README.vmailmgr
commit f902711cc661ed54a9ec5b42d1b7a8f86d6f9454
Author: Bruce Guenter <bruce@untroubled.org>
Date: Wed Nov 10 16:41:30 2004 +0000
Added "lookup mode" common code, available in all modules.
Renamed cvm-qmaillookup to cvm-qmail, since it is no longer
lookup-specific.
Bumped the version to 0.30, as this is a major internal change.
NEWS | 10 ++++++----
VERSION | 2 +-
command=l | 1 -
cvm-qmaillookup.c => cvm-qmail.c | 15 ++-------------
cvm-qmaillookup=x => cvm-qmail=x | 0
cvm-vmailmgr.h | 1 -
cvm-vmlookup.c | 10 +---------
cvm.html | 5 +++++
insthier.c | 2 +-
local=l | 1 -
module.h | 2 +-
module.html | 21 ++++++---------------
module=l | 1 -
module_local_main.c | 3 ++-
module_main.c | 3 ++-
module_preauth.c | 6 ------
module_request.c | 33 +++++++++++++++++++++++++++------
module_udp_main.c | 3 ++-
tests.inc | 2 +-
tests/{qmaillookup => qmail-lookup} | 4 ++++
tests/vmlookup-badpass | 6 +++---
tests/vmlookup-pass | 4 ++--
udp=l | 1 -
vmmain.c | 4 +---
24 files changed, 67 insertions(+), 73 deletions(-)
rename cvm-qmaillookup.c => cvm-qmail.c (86%)
rename cvm-qmaillookup=x => cvm-qmail=x (100%)
delete mode 100644 module_preauth.c
rename tests/{qmaillookup => qmail-lookup} (97%)
commit 211c62cd9c3918d14928be2f9270715293d6444c
Author: Bruce Guenter <bruce@untroubled.org>
Date: Wed Nov 10 04:24:52 2004 +0000
The *SQL modules are no longer in a seperate package.
cvm.html | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
commit 61d44c49f27fa561fb6a5ecdc97290d0dca5613b
Author: Bruce Guenter <bruce@untroubled.org>
Date: Wed Nov 10 04:24:18 2004 +0000
Added the cvm_auth_stop function and expanded the note about not exiting
to encompass all module supplied functions.
module.html | 10 +++++++---
1 files changed, 7 insertions(+), 3 deletions(-)
commit 22abecb8343490178a113da7611fbb36c6c8576b
Author: Bruce Guenter <bruce@untroubled.org>
Date: Wed Nov 10 04:22:20 2004 +0000
Make sure the HTML files get included in the tarball.
doc.dist | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
commit 1ddd424d14df4a96aa3a45dbf237973f6f3b9efa
Author: Bruce Guenter <bruce@untroubled.org>
Date: Wed Nov 10 04:03:18 2004 +0000
Fixed obsoleted URL.
TODO | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit 7e429d7a9335b0a2aa7735882df17095732d30a3
Author: Bruce Guenter <bruce@untroubled.org>
Date: Tue Nov 9 20:48:21 2004 +0000
Add support for substituting a predetermined domain name and user if the
given domain isn't found in locals or virtualdomains. This allows
lookups where the domain is in (more)rcpthosts to succeed even if they
aren't local domains (for cases where the server is acting as a
secondary etc).
qmail-lookup.c | 18 +++++++++++++++++-
1 files changed, 17 insertions(+), 1 deletions(-)
commit 013f6bacf16b4fb8f091a35e0c3b126a4d1edd97
Author: Bruce Guenter <bruce@untroubled.org>
Date: Tue Nov 9 16:57:37 2004 +0000
Since these modules all call the qmail_lookup_cvm code, use the
associated qmail_lookup_init for initialization.
cvm-qmaillookup.c | 4 +---
vmlookup.c | 4 +---
vmmain.c | 1 -
3 files changed, 2 insertions(+), 7 deletions(-)
commit ed3a6b65f17426a1cc5f247a3daad98146ea9588
Author: Bruce Guenter <bruce@untroubled.org>
Date: Tue Nov 9 04:07:22 2004 +0000
Make sure the new cvm-qmaillookup module gets installed too.
spec | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit 31262fd78802da8d4e224b8589525decf12f855e
Author: Bruce Guenter <bruce@untroubled.org>
Date: Mon Nov 8 19:51:36 2004 +0000
Added cvm-qmaillookup to installed modules.
insthier.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
commit a8bc5300d208a4143d15114cef565cd42a124738
Author: Bruce Guenter <bruce@untroubled.org>
Date: Mon Nov 8 18:47:08 2004 +0000
Reworked the tests framework for vmailmgr,
and added tests for cvm-qmaillookup
tests.inc | 34 ++++++++++++++-
tests/build-qmail | 22 ----------
tests/del-qmail | 5 --
tests/qmaillookup | 93 +++++++++++++++++++++++++++++++++++++++++++
tests/vmailmgr-normal | 11 ++---
tests/vmailmgr-upper-domain | 11 ++---
tests/vmailmgr-upper-pass | 1 -
tests/vmailmgr-upper-virt | 11 ++---
tests/vmlookup-badpass | 1 -
tests/vmlookup-normal | 11 ++---
tests/vmlookup-pass | 11 ++---
tests/vmlookup-upper-domain | 11 ++---
tests/vmlookup-upper-virt | 11 ++---
13 files changed, 159 insertions(+), 74 deletions(-)
delete mode 100644 tests/build-qmail
delete mode 100644 tests/del-qmail
create mode 100644 tests/qmaillookup
commit 0c3c04ba05cd75d548f0bfc9b921799762425a70
Author: Bruce Guenter <bruce@untroubled.org>
Date: Mon Nov 8 18:39:28 2004 +0000
System users (as indicated by not having a "dash" in the users
structure) do not need a .qmail file to be considered to exist.
However, it is invalid to try to add an extension to them.
qmail-dotfile.c | 11 ++++-------
1 files changed, 4 insertions(+), 7 deletions(-)
commit 84cd09336f932a0d28e243c2cc8e8a1d30f97c03
Author: Bruce Guenter <bruce@untroubled.org>
Date: Mon Nov 8 17:30:12 2004 +0000
Add the README.vmailmgr and README.vchkpw files to the distribution
archive.
doc.dist | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
create mode 100644 doc.dist
commit 7f25e38bdbc685470a87718742db2f6061ecc8e9
Author: Bruce Guenter <bruce@untroubled.org>
Date: Sat Nov 6 15:42:12 2004 +0000
Added note about the qmail code rewrite.
NEWS | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
commit 2415672df56a03f5206b1c3e7bef5c489dfb909e
Author: Bruce Guenter <bruce@untroubled.org>
Date: Sat Nov 6 15:41:03 2004 +0000
Added new cvm-qmaillookup module, which can be used to verify validity
of recipient addresses on qmail systems.
NEWS | 3 ++
cvm-qmaillookup.c | 97 +++++++++++++++++++++++++++++++++++++++++++++++++++++
cvm-qmaillookup=x | 5 +++
3 files changed, 105 insertions(+), 0 deletions(-)
create mode 100644 cvm-qmaillookup.c
create mode 100644 cvm-qmaillookup=x
commit d1429b400cf07d6a7ad2262287d3abfde3728701
Author: Bruce Guenter <bruce@untroubled.org>
Date: Sat Nov 6 15:37:44 2004 +0000
Add support for default/alias delivery.
qmail-users.c | 22 +++++++++++++++-------
1 files changed, 15 insertions(+), 7 deletions(-)
commit a77360c91eef3572517f17d62dba8627bbfa1847
Author: Bruce Guenter <bruce@untroubled.org>
Date: Sat Nov 6 15:36:51 2004 +0000
Renamed qmail_vdomains_* to qmail_domains_* and added control/local
lookups, which makes the qmail looks completely compliant with qmail.
qmail-vdomains.c => qmail-domains.c | 71 +++++++++++++++++++++++++----------
qmail-lookup.c | 19 +++++----
qmail.h | 6 +-
qmail=l | 2 +-
tests/build-qmail | 1 +
vmlookup.c | 2 +-
6 files changed, 67 insertions(+), 34 deletions(-)
rename qmail-vdomains.c => qmail-domains.c (56%)
commit b83b55a0578a56a8b5d7632ab38cca3f803c48ac
Author: Bruce Guenter <bruce@untroubled.org>
Date: Sat Nov 6 15:35:40 2004 +0000
Added error checking on str_* return codes.
qmail-dotfile.c | 15 ++++++---------
1 files changed, 6 insertions(+), 9 deletions(-)
commit e671bf836a845c126601c03d166ad41016233a04
Author: Bruce Guenter <bruce@untroubled.org>
Date: Fri Nov 5 22:44:05 2004 +0000
Rewrote the lookup_reinit, lookup_domain, lookup_baseuser, and
lookup_virtuser to use the newly created qmail_lookup_cvm routine.
cvm-vmailmgr.h | 3 ---
vmlookup.c | 41 +++++++----------------------------------
vmmain.c | 3 ---
3 files changed, 7 insertions(+), 40 deletions(-)
commit 87e85153257f5bd26f76de8ad1f2035452dc0179
Author: Bruce Guenter <bruce@untroubled.org>
Date: Fri Nov 5 22:35:08 2004 +0000
Instead of calling vpwentry_auth from within the (custom) qmail lookup
code, use a cvm_preauth routine to specifically handle the lookup module
case (for cvm-vmlookup, unneeded in cvm-vmailmgr).
cvm-vmailmgr.c | 11 ++++-------
cvm-vmailmgr.h | 3 +--
cvm-vmlookup.c | 9 ++++++---
vmlookup.c | 8 ++++----
vmmain.c | 8 ++------
5 files changed, 17 insertions(+), 22 deletions(-)
commit 39efd003bf6d26f24f91b1108d4b5d87cdd85514
Author: Bruce Guenter <bruce@untroubled.org>
Date: Fri Nov 5 22:17:33 2004 +0000
Updated this documentation to reflect the current calling sequence.
module.html | 12 ++++++++----
1 files changed, 8 insertions(+), 4 deletions(-)
commit ebda35bbc3309c46b20f260301d60224b018fdd7
Author: Bruce Guenter <bruce@untroubled.org>
Date: Fri Nov 5 22:16:35 2004 +0000
Added an optional cvm_preauth call before doing account lookups.
command=l | 1 +
local=l | 1 +
module.h | 1 +
module.html | 9 +++++++++
module=l | 1 +
module_preauth.c | 6 ++++++
module_request.c | 1 +
udp=l | 1 +
8 files changed, 21 insertions(+), 0 deletions(-)
create mode 100644 module_preauth.c
commit dd1f24db82f1c27152925aba3f1dc405f67e0b64
Author: Bruce Guenter <bruce@untroubled.org>
Date: Fri Nov 5 18:39:21 2004 +0000
Added qmail dotfile ($HOME/.qmail*) and generic lookup functions.
qmail-dotfile.c | 64 +++++++++++++++++++++++++++++++++++++++++++++++++++++
qmail-lookup.c | 66 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
qmail.h | 8 ++++++
qmail=l | 2 +
4 files changed, 140 insertions(+), 0 deletions(-)
create mode 100644 qmail-dotfile.c
create mode 100644 qmail-lookup.c
commit a16a4478e9ed60ce346dc0e622d7cf3c6f8515b5
Author: Bruce Guenter <bruce@untroubled.org>
Date: Fri Nov 5 18:38:19 2004 +0000
Updated file header comments.
vmlookup.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
commit ba5f465937e0b1575df012484e5a51f6aed22d69
Author: Bruce Guenter <bruce@untroubled.org>
Date: Fri Nov 5 04:21:48 2004 +0000
Broke the vmailmgr lookup code into three parts:
1) qmail virtualdomains lookups
2) qmail users/cdb lookups
3) vmailmgr password table lookups
cvm-vmailmgr-local=x | 1 +
cvm-vmailmgr-udp=x | 1 +
cvm-vmailmgr.h | 5 +-
cvm-vmailmgr=x | 1 +
cvm-vmlookup=x | 1 +
module_command_main.c => qmail-init.c | 17 ++-
qmail-users.c | 178 +++++++++++++++++++++++++++
qmail-vdomains.c | 94 ++++++++++++++
qmail.h | 29 +++++
qmail=l | 3 +
vmlookup.c | 216 +++++----------------------------
vmmain.c | 15 +--
12 files changed, 355 insertions(+), 206 deletions(-)
copy module_command_main.c => qmail-init.c (71%)
create mode 100644 qmail-users.c
create mode 100644 qmail-vdomains.c
create mode 100644 qmail.h
create mode 100644 qmail=l
commit 7450c7ec570c6d48ed491c2a4dbf31e79b88304b
Author: Bruce Guenter <bruce@untroubled.org>
Date: Thu Nov 4 18:06:06 2004 +0000
Fixed cvm/module.h header file include problem.
Thanks Paul Jarc for pointing this out.
NEWS | 3 +++
cvm-vmailmgr.c | 2 +-
cvm-vmlookup.c | 2 +-
sql-auth.c | 2 +-
sql-query.c | 4 ++--
vmlookup.c | 2 +-
vmmain.c | 2 +-
7 files changed, 10 insertions(+), 7 deletions(-)
commit d07f47f56f4dfd1b88c44af11b5448ddb973d12f
Author: Bruce Guenter <bruce@untroubled.org>
Date: Thu Nov 4 16:47:24 2004 +0000
Bumped version to 0.25
NEWS | 5 +++++
VERSION | 2 +-
2 files changed, 6 insertions(+), 1 deletions(-)
commit b85ac56c4ac89121c3313f5c561ea6943f7a378f
Author: Bruce Guenter <bruce@untroubled.org>
Date: Thu Nov 4 03:47:55 2004 +0000
Added -I/usr/include/pgsql flag needed in some build environments.
spec | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit 7647fe0a48f24a0da5b36e810261b9346e3d26e7
Author: Bruce Guenter <bruce@untroubled.org>
Date: Thu Nov 4 00:13:39 2004 +0000
Switch to newer "tail -n #" usage.
tests/pwfile-local | 2 +-
tests/pwfile-local-bad-password | 2 +-
tests/pwfile-udp | 2 +-
tests/pwfile-udp-bad-password | 2 +-
tests/stop-pwfile-local | 2 +-
tests/stop-pwfile-udp | 2 +-
6 files changed, 6 insertions(+), 6 deletions(-)
commit 43d99f307354c1f31eb25f0af8717eff4b34a9b0
Author: Bruce Guenter <bruce@untroubled.org>
Date: Sat Feb 21 05:36:17 2004 +0000
Fixed a bug in client.c that prevented at least OpenBSD from using UDP
modules. Thanks Balazs Nagy.
NEWS | 3 +++
client.c | 3 +--
2 files changed, 4 insertions(+), 2 deletions(-)
commit d03ce34cad3e7ab64b66a2cc7af7280b97d58b06
Author: Bruce Guenter <bruce@untroubled.org>
Date: Tue Feb 10 20:28:20 2004 +0000
Added cvm-vchkpw README from Sebastian Benoit <benoit-lists@fb12.de>
README.vchkpw | 37 +++++++++++++++++++++++++++++++++++++
1 files changed, 37 insertions(+), 0 deletions(-)
create mode 100644 README.vchkpw
commit ef4f167044211da9560883187dc3434b64128ef8
Author: Bruce Guenter <bruce@untroubled.org>
Date: Tue Feb 10 19:29:03 2004 +0000
Added comments from Sebastian Benoit <benoit-lists@fb12.de>
cvm-vchkpw.c | 29 +++++++++++++++++++++++++++++
1 files changed, 29 insertions(+), 0 deletions(-)
commit bc66fb533d91d10873dbd4f8e41dfff9823c1dff
Author: Bruce Guenter <bruce@untroubled.org>
Date: Tue Feb 10 19:22:31 2004 +0000
Treat cvm_fact_shell as optional (as defined by facts.html) instead of
required.
NEWS | 3 +++
module_request.c | 3 ++-
2 files changed, 5 insertions(+), 1 deletions(-)
commit de75551505d3f719b931afc407bd834b6cfb53ed
Author: Bruce Guenter <bruce@untroubled.org>
Date: Tue Feb 10 06:10:52 2004 +0000
Seperate the lookup, authenticate, and result generation into three
seperate functions. This will (eventually) allow for lookup-only
operation without recoding modules.
cvm-pwfile.c | 19 ++++++++++++----
cvm-unix.c | 19 ++++++++++++----
cvm-vchkpw.c | 58 +++++++++++++++++++++++++++----------------------
module.h | 2 +
module_request.c | 2 +
sql-auth.c | 22 +++++++++++++-----
vmmain.c | 63 ++++++++++++++++++++++++++++-------------------------
7 files changed, 113 insertions(+), 72 deletions(-)
commit 5a469bc35045755bb74cb895947094c3bbd87d35
Author: Bruce Guenter <bruce@untroubled.org>
Date: Mon Feb 9 18:24:20 2004 +0000
Added missing NEWS.sql to extra distributed files.
EXTRADIST | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
commit 6cba446a94220e4875ded22f5d6b7bb343db2f0e
Author: Bruce Guenter <bruce@untroubled.org>
Date: Mon Feb 9 17:53:43 2004 +0000
Added notes from cvm-vmailmgr.
EXTRADIST | 2 +
NEWS.vmailmgr | 69 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
README.in | 17 ++++++++++++++
3 files changed, 88 insertions(+), 0 deletions(-)
create mode 100644 NEWS.vmailmgr
commit 2edbb4c5edb63a90a77f2617a24c6708884bf9ff
Author: Bruce Guenter <bruce@untroubled.org>
Date: Mon Feb 9 17:44:37 2004 +0000
Merged SQL modules back in from the seperated cvm-sql package.
NEWS | 2 +
NEWS.sql | 21 ++++++
README.in | 1 +
TODO | 8 ++
TOP.spac | 1 +
cvm-vmailmgr-local.c => cvm-mysql-local.c | 0
cvm-mysql-local=x | 8 ++
cvm-vmailmgr-local.c => cvm-mysql-udp.c | 0
cvm-mysql-udp=x | 8 ++
cvm-mysql.c | 102 +++++++++++++++++++++++++++++
cvm-mysql.html | 64 ++++++++++++++++++
cvm-mysql=x | 7 ++
cvm-vmailmgr-local.c => cvm-pgsql-local.c | 0
cvm-pgsql-local=x | 8 ++
cvm-vmailmgr-local.c => cvm-pgsql-udp.c | 0
cvm-pgsql-udp=x | 8 ++
cvm-pgsql.c | 80 ++++++++++++++++++++++
cvm-pgsql.html | 46 +++++++++++++
cvm-pwfile=x => cvm-pgsql=x | 4 +-
insthier.c | 16 +++++
mysql.spac | 1 +
pgsql.spac | 1 +
programs.spac | 5 ++
spec | 29 ++++++++-
sql-auth.c | 97 +++++++++++++++++++++++++++
sql-query-test.c | 26 +++++++
sql-query-test=x | 2 +
sql-query.c | 99 ++++++++++++++++++++++++++++
sql.h | 19 +++++
sql.html | 41 ++++++++++++
sql=l | 2 +
tests/sql-substitution | 32 +++++++++
32 files changed, 735 insertions(+), 3 deletions(-)
create mode 100644 NEWS.sql
create mode 100644 TOP.spac
copy cvm-vmailmgr-local.c => cvm-mysql-local.c (100%)
create mode 100644 cvm-mysql-local=x
copy cvm-vmailmgr-local.c => cvm-mysql-udp.c (100%)
create mode 100644 cvm-mysql-udp=x
create mode 100644 cvm-mysql.c
create mode 100644 cvm-mysql.html
create mode 100644 cvm-mysql=x
copy cvm-vmailmgr-local.c => cvm-pgsql-local.c (100%)
create mode 100644 cvm-pgsql-local=x
copy cvm-vmailmgr-local.c => cvm-pgsql-udp.c (100%)
create mode 100644 cvm-pgsql-udp=x
create mode 100644 cvm-pgsql.c
create mode 100644 cvm-pgsql.html
copy cvm-pwfile=x => cvm-pgsql=x (64%)
create mode 100644 mysql.spac
create mode 100644 pgsql.spac
create mode 100644 programs.spac
create mode 100644 sql-auth.c
create mode 100644 sql-query-test.c
create mode 100644 sql-query-test=x
create mode 100644 sql-query.c
create mode 100644 sql.h
create mode 100644 sql.html
create mode 100644 sql=l
create mode 100644 tests/sql-substitution
commit 35f96b6168ec5ae452b51c0edddce0eb205fd285
Author: Bruce Guenter <bruce@untroubled.org>
Date: Mon Feb 9 16:04:12 2004 +0000
Added contributed vpopmail CVM (cvm-vchkpw).
EXTRADIST | 1 +
cvm-vchkpw.c | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 51 insertions(+), 0 deletions(-)
create mode 100644 EXTRADIST
create mode 100644 cvm-vchkpw.c
commit 5eddefd7955059698205d09e180283527570c2d4
Author: Bruce Guenter <bruce@untroubled.org>
Date: Mon Feb 9 15:43:04 2004 +0000
Merged cvm-vmailmgr (including cvm-vmlookup) into this package.
ChangeLog.vmailmgr | 372 +++++++++++++++++++++++++++++++++
NEWS | 1 +
README.in | 19 ++
TODO | 8 +
cvm-vmailmgr-local=x | 18 ++
cvm-vmailmgr-udp=x | 18 ++
cvm-vmailmgr.c | 78 +++++++
cvm-vmailmgr.h | 34 +++
cvm-vmailmgr=x | 14 ++
module_local_main.c => cvm-vmlookup.c | 29 ++--
cvm-vmlookup=x | 14 ++
insthier.c | 4 +
spec | 1 +
tests.inc | 3 +
tests/build-qmail | 21 ++
tests/del-qmail | 5 +
tests/vmailmgr-normal | 14 ++
tests/vmailmgr-upper-domain | 14 ++
tests/vmailmgr-upper-pass | 4 +
tests/vmailmgr-upper-virt | 14 ++
tests/vmlookup-badpass | 6 +
tests/vmlookup-normal | 14 ++
tests/vmlookup-pass | 16 ++
tests/vmlookup-upper-domain | 14 ++
tests/vmlookup-upper-virt | 14 ++
vmlookup.c | 304 +++++++++++++++++++++++++++
vmmain.c | 122 +++++++++++
27 files changed, 1162 insertions(+), 13 deletions(-)
create mode 100644 ChangeLog.vmailmgr
create mode 100644 cvm-vmailmgr-local.c
create mode 100644 cvm-vmailmgr-local=x
create mode 100644 cvm-vmailmgr-udp.c
create mode 100644 cvm-vmailmgr-udp=x
create mode 100644 cvm-vmailmgr.c
create mode 100644 cvm-vmailmgr.h
create mode 100644 cvm-vmailmgr=x
copy module_local_main.c => cvm-vmlookup.c (63%)
create mode 100644 cvm-vmlookup=x
create mode 100644 tests/build-qmail
create mode 100644 tests/del-qmail
create mode 100644 tests/vmailmgr-normal
create mode 100644 tests/vmailmgr-upper-domain
create mode 100644 tests/vmailmgr-upper-pass
create mode 100644 tests/vmailmgr-upper-virt
create mode 100644 tests/vmlookup-badpass
create mode 100644 tests/vmlookup-normal
create mode 100644 tests/vmlookup-pass
create mode 100644 tests/vmlookup-upper-domain
create mode 100644 tests/vmlookup-upper-virt
create mode 100644 vmlookup.c
create mode 100644 vmmain.c
commit 96830fef3d3ed6ba11ab0d4946b5685ab6126d57
Author: Bruce Guenter <bruce@untroubled.org>
Date: Mon Feb 9 15:41:27 2004 +0000
Bumped up the copyright year.
README.in | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit 8a59fbe29b48ebeec277ad66a36b4b2cc6ac8544
Author: Bruce Guenter <bruce@untroubled.org>
Date: Mon Feb 9 04:14:06 2004 +0000
Bumped version up to 0.20
NEWS | 6 ++++++
VERSION | 2 +-
2 files changed, 7 insertions(+), 1 deletions(-)
commit 14025065d67a7fb2782b09f40684293f2c149c15
Author: Bruce Guenter <bruce@untroubled.org>
Date: Mon Nov 17 23:50:01 2003 +0000
Renamed lists.em.ca to lists.untroubled.org
README.in | 4 ++--
makedist.py | 6 +++---
2 files changed, 5 insertions(+), 5 deletions(-)
commit 2c35942e4fa8bf0ce0f44aeabfea68f9f47317dc
Author: Bruce Guenter <bruce@untroubled.org>
Date: Mon Nov 17 23:47:58 2003 +0000
Converted tests to use pwfile to allow for fully localized config.
tests.inc | 9 +++++++++
tests/command-bad-password | 3 ++-
tests/command-bad-username | 3 ++-
tests/command-case | 17 ++++++++---------
tests/command-no-prefix | 17 ++++++++---------
tests/command-prefix | 17 ++++++++---------
tests/pwfile | 3 +--
tests/pwfile-crypt | 17 ++++++++---------
tests/{pwfile => pwfile-local} | 8 +++++---
tests/pwfile-local-bad-password | 7 +++++++
tests/{pwfile => pwfile-udp} | 8 +++++---
tests/pwfile-udp-bad-password | 7 +++++++
tests/start-pwfile-local | 7 +++++++
tests/start-pwfile-udp | 7 +++++++
tests/start-unix-local | 7 -------
tests/start-unix-udp | 7 -------
tests/{stop-unix-local => stop-pwfile-local} | 2 +-
tests/{stop-unix-udp => stop-pwfile-udp} | 2 +-
tests/unix-local | 18 ------------------
tests/unix-local-bad-password | 6 ------
tests/unix-udp | 18 ------------------
tests/unix-udp-bad-password | 6 ------
22 files changed, 86 insertions(+), 110 deletions(-)
create mode 100644 tests.inc
copy tests/{pwfile => pwfile-local} (61%)
create mode 100644 tests/pwfile-local-bad-password
copy tests/{pwfile => pwfile-udp} (61%)
create mode 100644 tests/pwfile-udp-bad-password
create mode 100644 tests/start-pwfile-local
create mode 100644 tests/start-pwfile-udp
delete mode 100644 tests/start-unix-local
delete mode 100644 tests/start-unix-udp
rename tests/{stop-unix-local => stop-pwfile-local} (88%)
rename tests/{stop-unix-udp => stop-pwfile-udp} (85%)
delete mode 100644 tests/unix-local
delete mode 100644 tests/unix-local-bad-password
delete mode 100644 tests/unix-udp
delete mode 100644 tests/unix-udp-bad-password
commit e516a455a815219c3e833e05f45676a24a046e82
Author: Bruce Guenter <bruce@untroubled.org>
Date: Mon Nov 17 16:49:53 2003 +0000
Export both $MAIL and $MAILBOX if cvm_fact_mailbox is set.
NEWS | 3 +++
client_setenv.c | 5 +++--
2 files changed, 6 insertions(+), 2 deletions(-)
commit be6c39bc20b1ab1d3183a8137bfece6135ff3b02
Author: Bruce Guenter <bruce@untroubled.org>
Date: Mon Jul 7 18:33:56 2003 +0000
Changed the order of the chdir in cvm_setugid.
NEWS | 3 +++
client_setugid.c | 2 +-
2 files changed, 4 insertions(+), 1 deletions(-)
commit efa8b7951d8b827a770e033df4c44e57bb3b6024
Author: Bruce Guenter <bruce@untroubled.org>
Date: Thu May 22 15:43:11 2003 +0000
Fixed yet another installer typo, installing sasl.h as libcvm-sasl.a
NEWS | 2 ++
insthier.c | 2 +-
2 files changed, 3 insertions(+), 1 deletions(-)
commit 79a0321876eb8469965ba1bd38c258871bb00bd1
Author: Bruce Guenter <bruce@untroubled.org>
Date: Thu May 22 15:42:18 2003 +0000
Bumped version number to 0.18
NEWS | 6 ++++++
VERSION | 2 +-
2 files changed, 7 insertions(+), 1 deletions(-)
commit 448ee685afa83b9fcfc68f8c663614d4f7fd35a1
Author: Bruce Guenter <bruce@untroubled.org>
Date: Wed May 21 22:03:25 2003 +0000
Fixed cvm-testclient to work with modules that accept zero credentials.
NEWS | 3 +++
cvm-testclient.c | 4 ++--
2 files changed, 5 insertions(+), 2 deletions(-)
commit 98a4a2896c35a696635ab44833356425da23e9a9
Author: Bruce Guenter <bruce@untroubled.org>
Date: Tue May 20 22:47:29 2003 +0000
Added missing "lib" prefix to installed library files.
NEWS | 2 ++
insthier.c | 12 ++++++------
2 files changed, 8 insertions(+), 6 deletions(-)
commit d0f3aed44308fe7303b4ae9fca549ff9c8c781b3
Author: Bruce Guenter <bruce@untroubled.org>
Date: Tue May 20 22:45:38 2003 +0000
Bumped up version number.
NEWS | 6 ++++++
VERSION | 2 +-
2 files changed, 7 insertions(+), 1 deletions(-)
commit eeb2169ba249eef137ecfc4e435921f850322a98
Author: Bruce Guenter <bruce@untroubled.org>
Date: Tue Apr 22 18:20:37 2003 +0000
Use paths in all command invocations.
tests/command-bad-password | 2 +-
tests/command-bad-username | 2 +-
tests/command-case | 2 +-
tests/command-no-prefix | 2 +-
tests/command-prefix | 2 +-
tests/pwfile | 2 +-
tests/pwfile-crypt | 2 +-
tests/start-unix-local | 2 +-
tests/start-unix-udp | 2 +-
tests/unix-local | 2 +-
tests/unix-local-bad-password | 2 +-
tests/unix-udp | 2 +-
tests/unix-udp-bad-password | 2 +-
13 files changed, 13 insertions(+), 13 deletions(-)
commit f945ec64c0b76215db909be891bfd7822817c0d8
Author: Bruce Guenter <bruce@untroubled.org>
Date: Tue Apr 22 18:18:16 2003 +0000
Fixed up tests to use new module invocation mode.
tests/start-unix-local | 2 +-
tests/start-unix-udp | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
commit 9e763e97b499a12d781d6bcdf3dae5dc61c2af05
Author: Bruce Guenter <bruce@untroubled.org>
Date: Tue Apr 22 18:15:44 2003 +0000
Added socket.lib to all executable targets.
cvm-pwfile=x | 1 +
cvm-unix=x | 1 +
2 files changed, 2 insertions(+), 0 deletions(-)
commit fb62cff5561e3ab65ad83f5c76746203d8bec8c4
Author: Bruce Guenter <bruce@untroubled.org>
Date: Tue Apr 22 18:03:25 2003 +0000
Allow for setting the mode & ownership of the created local socket.
NEWS | 4 +++
TODO | 3 --
cvm.html | 6 ++++-
module_local.c | 66 +++++++++++++++++++++++++++++++++++++++++++++++++------
4 files changed, 67 insertions(+), 12 deletions(-)
commit b2f0c980d441066a9d5fedb911f202880ca01fed
Author: Bruce Guenter <bruce@untroubled.org>
Date: Tue Apr 22 17:04:25 2003 +0000
Modified the module command mode to always write the output.
NEWS | 4 ++++
module_command.c | 8 ++++----
2 files changed, 8 insertions(+), 4 deletions(-)
commit db5a1c4a047a4b17aef2a3fac369b540c8eeb747
Author: Bruce Guenter <bruce@untroubled.org>
Date: Mon Apr 21 23:06:57 2003 +0000
Updated examples and some details.
protocol-2.html | 31 +++++++++++++------------------
1 files changed, 13 insertions(+), 18 deletions(-)
commit 1c83a94fc946bd93d20644df38130ac5f55d83cd
Author: Bruce Guenter <bruce@untroubled.org>
Date: Mon Apr 21 23:06:11 2003 +0000
Added a "shared secret" credential number.
credentials.h | 1 +
credentials.html | 8 ++++++++
2 files changed, 9 insertions(+), 0 deletions(-)
commit d45aabadab5e4d0ec6f2e949ffcb86bab79209a5
Author: Bruce Guenter <bruce@untroubled.org>
Date: Thu Apr 17 16:33:36 2003 +0000
From: "Lars Uffmann" <lars.uffmann@mediaways.net>
I ran into a problem where a cvm-command module exited without reading
frpom the pipe-fd. The parent-process (imapfront-auth) then died due to
an untrapped SIGPIPE. This happens only on Solaris (all versions). The
same cvm on Linux did not recvieved the PIPE signal. A patch is
attached, which blocks SIGPIPE before any call to either cvm_udp,
cvm_local or cvm_command, instead of just cvm_local.
NEWS | 3 +++
client.c | 8 ++++----
2 files changed, 7 insertions(+), 4 deletions(-)
commit a5bc65fcf52d5abb362a08da75247bab9cee389b
Author: Bruce Guenter <bruce@untroubled.org>
Date: Thu Apr 17 16:31:39 2003 +0000
Added note about cvm-sasl library.
NEWS | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
commit ab86d6aad312d7ed03b2eff1d95674514c5fe2b7
Author: Bruce Guenter <bruce@untroubled.org>
Date: Thu Apr 17 16:25:36 2003 +0000
Bumped up version to 0.16
NEWS | 6 ++++++
VERSION | 2 +-
2 files changed, 7 insertions(+), 1 deletions(-)
commit e56935f1a84a86cd3fbd5c008c548449eadbce2e
Author: Bruce Guenter <bruce@untroubled.org>
Date: Wed Apr 16 20:24:03 2003 +0000
Fixed up usage documentation.
cvm-benchclient.html | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit 2c92efdb5dd6ba608a67ff97e5eb2d48f8d7a528
Author: Bruce Guenter <bruce@untroubled.org>
Date: Tue Apr 15 23:23:30 2003 +0000
Merged SASL library into cvm package from bglibs.
cvm.html | 1 +
insthier.c | 3 +++
sasl.h | 35 +++++++++++++++++++++++++++++++++++
sasl.html | 42 ++++++++++++++++++++++++++++++++++++++++++
sasl=l | 6 ++++++
sasl_authenticate.c | 13 +++++++++++++
sasl_cram_md5.c | 44 ++++++++++++++++++++++++++++++++++++++++++++
sasl_init.c | 48 ++++++++++++++++++++++++++++++++++++++++++++++++
sasl_internal.h | 17 +++++++++++++++++
sasl_login.c | 28 ++++++++++++++++++++++++++++
sasl_plain.c | 26 ++++++++++++++++++++++++++
sasl_start.c | 19 +++++++++++++++++++
12 files changed, 282 insertions(+), 0 deletions(-)
create mode 100644 sasl.h
create mode 100644 sasl.html
create mode 100644 sasl=l
create mode 100644 sasl_authenticate.c
create mode 100644 sasl_cram_md5.c
create mode 100644 sasl_init.c
create mode 100644 sasl_internal.h
create mode 100644 sasl_login.c
create mode 100644 sasl_plain.c
create mode 100644 sasl_start.c
commit a214c23f95a2b1d64b2f33cc9c0a946e6cfec3c2
Author: Bruce Guenter <bruce@untroubled.org>
Date: Tue Apr 15 22:51:36 2003 +0000
Build the libraries too...
spec | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit 453217f4ecc0295012aad9198093e66013bc46a0
Author: Bruce Guenter <bruce@untroubled.org>
Date: Tue Apr 15 22:48:18 2003 +0000
Fixed usage information.
module_main.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
commit 3bdbbce27f896483b79a000738ba9e724e6bfa18
Author: Bruce Guenter <bruce@untroubled.org>
Date: Tue Apr 15 22:41:42 2003 +0000
Removed the separated modules.
NEWS | 3 ++-
cvm-pwfile-local.c | 1 -
cvm-pwfile-local=x | 5 -----
cvm-pwfile-udp.c | 1 -
cvm-pwfile-udp=x | 5 -----
cvm-unix-local.c | 1 -
cvm-unix-local=x | 7 -------
cvm-unix-udp.c | 1 -
cvm-unix-udp=x | 7 -------
insthier.c | 4 ----
10 files changed, 2 insertions(+), 33 deletions(-)
delete mode 100644 cvm-pwfile-local.c
delete mode 100644 cvm-pwfile-local=x
delete mode 100644 cvm-pwfile-udp.c
delete mode 100644 cvm-pwfile-udp=x
delete mode 100644 cvm-unix-local.c
delete mode 100644 cvm-unix-local=x
delete mode 100644 cvm-unix-udp.c
delete mode 100644 cvm-unix-udp=x
commit 098860e24c35f78b1348636acc01202ffb0ae932
Author: Bruce Guenter <bruce@untroubled.org>
Date: Tue Apr 15 22:40:57 2003 +0000
Install new generic module library.
insthier.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
commit 73367667ba4f5e5744233b8f9c013cf3dbe9003e
Author: Bruce Guenter <bruce@untroubled.org>
Date: Tue Apr 15 22:39:32 2003 +0000
Link to the new generic module library.
cvm-pwfile.c | 2 ++
cvm-pwfile=x | 3 ++-
cvm-unix.c | 10 ++--------
cvm-unix=x | 3 ++-
4 files changed, 8 insertions(+), 10 deletions(-)
commit 8d05c5ebdf9c4ba5bb3449b018c3fd44fb60b376
Author: Bruce Guenter <bruce@untroubled.org>
Date: Tue Apr 15 22:38:53 2003 +0000
Fixed the documentation here to match the current program.
cvm-testclient.html | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit d179b4fbcdcea346dbc5c43d37fb34036a9b25e8
Author: Bruce Guenter <bruce@untroubled.org>
Date: Tue Apr 15 22:38:15 2003 +0000
Added a new generic module library that supports all three operation
modes (command, local socket, UDP socket) from the same binary.
NEWS | 4 ++++
cvm.html | 17 +++++++++++++++++
module.h | 2 ++
local=l => module=l | 10 ++++++----
module_udp_main.c => module_main.c | 26 ++++++++++++++++++++++----
5 files changed, 51 insertions(+), 8 deletions(-)
copy local=l => module=l (61%)
copy module_udp_main.c => module_main.c (59%)
commit 618aeaba1df92385c33f38660e4b9a03cac66fe9
Author: Bruce Guenter <bruce@untroubled.org>
Date: Tue Apr 15 22:31:45 2003 +0000
Separated the main routine from the authentication loop.
command=l | 1 +
local=l | 1 +
module_command.c | 4 +++-
client_setugid.c => module_command_main.c | 17 +++++++----------
module_local.c | 16 ++++------------
client_setugid.c => module_local_main.c | 25 +++++++++++++++++--------
module_udp.c | 19 +++++--------------
client_setugid.c => module_udp_main.c | 27 +++++++++++++++++----------
udp=l | 1 +
9 files changed, 56 insertions(+), 55 deletions(-)
copy client_setugid.c => module_command_main.c (67%)
copy client_setugid.c => module_local_main.c (66%)
copy client_setugid.c => module_udp_main.c (64%)
commit 285c005e6d0b39b0203287163ee531ceb11bff87
Author: Bruce Guenter <bruce@untroubled.org>
Date: Tue Apr 15 22:28:34 2003 +0000
Use the right #ifdef when checking for shadow password support.
NEWS | 1 +
getpwnam.c | 4 ++--
2 files changed, 3 insertions(+), 2 deletions(-)
commit 46f641e752bafa69a3211777d5818ac90bf393bf
Author: Bruce Guenter <bruce@untroubled.org>
Date: Tue Apr 15 22:27:26 2003 +0000
Bumped up version number to 0.15
NEWS | 6 ++++++
VERSION | 2 +-
2 files changed, 7 insertions(+), 1 deletions(-)
commit 9651549afec1c0d533ad6331c3312d4ebca73328
Author: Bruce Guenter <bruce@untroubled.org>
Date: Tue Apr 15 21:11:36 2003 +0000
Removed irrelevant CVS file.
README.CVS | 5 -----
1 files changed, 0 insertions(+), 5 deletions(-)
delete mode 100644 README.CVS
commit 17c095700da0754cdefa4ecbd601db882ce86207
Author: Bruce Guenter <bruce@untroubled.org>
Date: Tue Apr 15 21:11:24 2003 +0000
Switched to templated README file.
README => README.in | 13 ++++++++-----
1 files changed, 8 insertions(+), 5 deletions(-)
rename README => README.in (83%)
commit 5f9be9934f5c16c32aaecdff838d27670339b76c
Author: Bruce Guenter <bruce@untroubled.org>
Date: Tue Apr 15 21:10:43 2003 +0000
Include development files in the installed set.
insthier.c | 39 ++++++++++++++++++++++++++++-----------
spec | 32 +++++++++++++++++++++-----------
2 files changed, 49 insertions(+), 22 deletions(-)
commit ff274bc13520bb4493838f44288d00bf799f2d81
Author: Bruce Guenter <bruce@untroubled.org>
Date: Tue Apr 15 20:48:46 2003 +0000
Broke the protocol document into current + proposed sections.
protocol-2.html | 67 +++++++++++++++++++++++++++++++
protocol.html | 117 +++++++++++++++++--------------------------------------
2 files changed, 103 insertions(+), 81 deletions(-)
create mode 100644 protocol-2.html
commit 339779ae1fb2217e54f2ad9ac44d1b3354c4abcc
Author: Bruce Guenter <bruce@untroubled.org>
Date: Tue Apr 15 20:48:17 2003 +0000
Use new style external bglibs linkage.
cvm-benchclient=x | 2 +-
cvm-checkpassword=x | 2 +-
cvm-pwfile-local=x | 4 ++--
cvm-pwfile-udp=x | 4 ++--
cvm-pwfile=x | 2 +-
cvm-testclient=x | 2 +-
cvm-unix-local=x | 2 +-
cvm-unix-udp=x | 2 +-
8 files changed, 10 insertions(+), 10 deletions(-)
commit 6839a3da7ca566a67b6ce3b9203fb335584dd3ca
Author: Bruce Guenter <bruce@untroubled.org>
Date: Tue Apr 15 20:46:25 2003 +0000
Added mailbox path to list of facts in all tests.
tests/command-case | 1 +
tests/command-no-prefix | 1 +
tests/command-prefix | 1 +
tests/pwfile | 1 +
tests/pwfile-crypt | 1 +
tests/unix-local | 1 +
tests/unix-udp | 1 +
7 files changed, 7 insertions(+), 0 deletions(-)
commit f35872ffbb8ad251284435f807c519c490763bd9
Author: Bruce Guenter <bruce@untroubled.org>
Date: Tue Apr 15 20:46:01 2003 +0000
Dropped use of non-portable fgetpwent in cvm-pwfile.
NEWS | 2 +
cvm-pwfile.c | 75 +++++++++++++++++++++++++++++++++++++++++++--------------
tests/pwfile | 2 +-
3 files changed, 59 insertions(+), 20 deletions(-)
commit 1106eab0032d15b250b42f0aa06ad4d84c1b09df
Author: Bruce Guenter <bruce@untroubled.org>
Date: Fri Jan 3 17:22:58 2003 +0000
Fixed up for new ipv4addr definition.
client.c | 10 +++++-----
module_udp.c | 10 +++++-----
2 files changed, 10 insertions(+), 10 deletions(-)
commit e4e3a2328f509c656c35dcab358895a1c9af238a
Author: Bruce Guenter <bruce@untroubled.org>
Date: Fri Dec 20 22:26:13 2002 +0000
Previous commit was missing this change.
cvm-pwfile.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit 8ac8a5631833ce38238c2e5812f8a7f811034076
Author: Bruce Guenter <bruce@untroubled.org>
Date: Fri Dec 20 21:37:52 2002 +0000
Completed switch to external bglibs.
NEWS | 2 ++
README | 13 ++++++++++---
cvm-benchclient=x | 4 +---
cvm-checkpassword=x | 4 +---
cvm-pwfile-local=x | 4 ++--
cvm-pwfile-udp=x | 4 ++--
cvm-pwfile=x | 2 +-
cvm-testclient=x | 4 +---
cvm-unix-local=x | 2 +-
cvm-unix-udp=x | 2 +-
insthier.c | 2 +-
11 files changed, 23 insertions(+), 20 deletions(-)
commit 4ff4977828c463e3c400be2727f6a08c762db720
Author: Bruce Guenter <bruce@untroubled.org>
Date: Tue Dec 17 00:13:14 2002 +0000
*** empty log message ***
README.CVS | 2 +-
TODO | 12 +++++++++++-
2 files changed, 12 insertions(+), 2 deletions(-)
commit 2a8d3131fed91908104fe6fc37b76cb479a71e12
Author: Bruce Guenter <bruce@untroubled.org>
Date: Tue Dec 17 00:12:59 2002 +0000
Changed version to 0.12
NEWS | 11 +++++++++++
README | 2 +-
VERSION | 2 +-
3 files changed, 13 insertions(+), 2 deletions(-)
commit a70005cb956a9d5676eb15496ecfb2b9006d23d3
Author: Bruce Guenter <bruce@untroubled.org>
Date: Tue Dec 17 00:12:11 2002 +0000
Clarified the protocol specification.
protocol.html | 28 +++++++++++++---------------
1 files changed, 13 insertions(+), 15 deletions(-)
commit 534d502ff1a9277a4646ef96b8b7325508dc46c3
Author: Bruce Guenter <bruce@untroubled.org>
Date: Tue Dec 17 00:11:49 2002 +0000
Clarified the module requirements.
module.html | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
commit e81bebf84798da91d88cb5a0eb88cf428d06ddc1
Author: Bruce Guenter <bruce@untroubled.org>
Date: Tue Dec 17 00:10:28 2002 +0000
Prevent a potential file descriptor leak.
module_local.c | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
commit 0d4f9b4d5c7f96a21015e7c130f466f0a4cd200e
Author: Bruce Guenter <bruce@untroubled.org>
Date: Tue Dec 17 00:09:59 2002 +0000
Add a new error code: CVME_NOCRED.
errors.h | 4 +++-
errors.html | 4 ++++
2 files changed, 7 insertions(+), 1 deletions(-)
commit 9224338ac20cb54a6340a254e296bd3f576e658a
Author: Bruce Guenter <bruce@untroubled.org>
Date: Tue Dec 17 00:09:16 2002 +0000
Change *sql links to reflect that cvm-sql is now seperate.
cvm.html | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
commit 51565e1de325f73c6fb60ff7f4bb9471634f5e77
Author: Bruce Guenter <bruce@untroubled.org>
Date: Tue Dec 17 00:08:40 2002 +0000
Use the "net" library instead of "socket".
cvm-benchclient=x | 2 +-
cvm-checkpassword=x | 2 +-
cvm-pwfile-local=x | 2 +-
cvm-pwfile-udp=x | 2 +-
cvm-testclient=x | 2 +-
cvm-unix-local=x | 2 +-
cvm-unix-udp=x | 2 +-
7 files changed, 7 insertions(+), 7 deletions(-)
commit 98b89132ef31132ea4489cc3aeaa17916594d2b1
Author: Bruce Guenter <bruce@untroubled.org>
Date: Tue Dec 17 00:07:42 2002 +0000
Added a chdir/setuid recommendation.
client.html | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
commit 6e06b97a4610b9a318f0eea043cd40bee5767656
Author: Bruce Guenter <bruce@untroubled.org>
Date: Tue Dec 17 00:06:43 2002 +0000
Converted to external bglibs headers.
client.c | 7 ++++---
client_setenv.c | 3 ++-
cvm-unix.c | 5 +++--
getpwnam.c | 5 +++--
module_local.c | 4 +++-
module_udp.c | 4 +++-
6 files changed, 18 insertions(+), 10 deletions(-)
commit f56d0a741dbb3270be4295e59cdce3219919dc2d
Author: Bruce Guenter <bruce@untroubled.org>
Date: Mon Dec 16 23:58:28 2002 +0000
Building no longer requires postgresql or mysql.
spec | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
commit cea5b17bdf52906c2d31746ccd4d5502b621bfd4
Author: Bruce Guenter <bruce@untroubled.org>
Date: Thu Apr 18 04:55:40 2002 +0000
Set $GIDS to a comma-seperated list of supplemental group IDs.
client_setenv.c | 57 ++++++++++++++++++++++++++++++++++++++++++------------
1 files changed, 44 insertions(+), 13 deletions(-)
commit 6518d5ad68edb42eca75026dbf91f2bb8245cd5e
Author: Bruce Guenter <bruce@untroubled.org>
Date: Fri Dec 28 13:23:38 2001 +0000
Fixed thinko in reallocating the account name buffer -- needed to
reallocate the buffer based on the *new* length, not the *old*.
getpwnam.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
commit 36879b5ad36346499e94c527f85c1165a07d49a6
Author: Bruce Guenter <bruce@untroubled.org>
Date: Fri Oct 19 05:11:31 2001 +0000
Added missing socket.lib link targets.
cvm-benchclient=x | 1 +
cvm-checkpassword=x | 1 +
cvm-pwfile-local=x | 1 +
cvm-pwfile-udp=x | 1 +
cvm-testclient=x | 1 +
cvm-unix-local=x | 1 +
cvm-unix-udp=x | 1 +
7 files changed, 7 insertions(+), 0 deletions(-)
commit a4324d3d373310823a566ce8ecaf696217eac532
Author: Bruce Guenter <bruce@untroubled.org>
Date: Thu Sep 27 23:42:59 2001 +0000
Fixed one-off bug in parsing domain names.
client.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit c8f0a1ef5d2a0701ff2648288ab7782b20526e6f
Author: Bruce Guenter <bruce@untroubled.org>
Date: Wed Sep 19 03:57:36 2001 +0000
Added example datagrams.
protocol.html | 20 ++++++++++++++++++--
1 files changed, 18 insertions(+), 2 deletions(-)
commit 15d75177a5ba8b971715c78c9d4e56c89205c717
Author: Bruce Guenter <bruce@untroubled.org>
Date: Wed Sep 19 03:35:39 2001 +0000
Documented the version 2 protocol.
protocol.html | 105 ++++++++++++++++++++++++++++++++++++++------------------
1 files changed, 71 insertions(+), 34 deletions(-)
commit 34379facf8a43101429848e3ec7554bf232d383b
Author: Bruce Guenter <bruce@untroubled.org>
Date: Wed Sep 19 03:35:09 2001 +0000
Added credential definitions.
credentials.h | 18 ++++++++++++
credentials.html | 78 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
cvm.html | 1 +
3 files changed, 97 insertions(+), 0 deletions(-)
create mode 100644 credentials.h
create mode 100644 credentials.html
commit e5c5420265ae4b2d1ceb790c2952e24e4a3d68db
Author: Bruce Guenter <bruce@untroubled.org>
Date: Wed Sep 19 03:34:31 2001 +0000
Fixed a typo.
rationale.html | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
commit 7f0289c74aab04f9b41889069ebef31a16b3c278
Author: Bruce Guenter <bruce@untroubled.org>
Date: Wed Sep 19 03:33:34 2001 +0000
Reworded the section on predefined and local fact numbering.
facts.html | 18 +++++++++---------
1 files changed, 9 insertions(+), 9 deletions(-)
commit 484ebeacfda756a340463d58c0a0e9987bbe59c6
Author: Bruce Guenter <bruce@untroubled.org>
Date: Wed Sep 19 03:33:02 2001 +0000
Renamed AUTHENTICATOR to CVM finally.
facts.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
commit 21d71d02c879726157ea358cda192b14bcd59187
Author: Bruce Guenter <bruce@untroubled.org>
Date: Fri Sep 14 04:16:41 2001 +0000
Added the mailbox path fact to the output.
cvm-testclient.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
commit b4f39b85d8b29b44c2a44484baaca0441a6776af
Author: Bruce Guenter <bruce@untroubled.org>
Date: Thu Sep 13 04:29:15 2001 +0000
Removed mysql and pgsql installations.
insthier.c | 6 ------
1 files changed, 0 insertions(+), 6 deletions(-)
commit ec7b55d314a37f546367410248c0eaf875b3d4c6
Author: Bruce Guenter <bruce@untroubled.org>
Date: Thu Sep 13 04:25:46 2001 +0000
Removed mysql and pgsql portions.
spec | 22 ----------------------
1 files changed, 0 insertions(+), 22 deletions(-)
commit e826ec7a4720a0205707aee8bc254a539f9b3166
Author: Bruce Guenter <bruce@untroubled.org>
Date: Thu Sep 13 04:24:36 2001 +0000
Added missing setenv.o object.
cvm-benchclient=x | 1 +
cvm-testclient=x | 1 +
2 files changed, 2 insertions(+), 0 deletions(-)
commit aefa70251ad015fd3eb8e675bcff1b81d581ec9c
Author: Bruce Guenter <bruce@untroubled.org>
Date: Thu Sep 13 04:22:47 2001 +0000
*** empty log message ***
README | 4 ++--
TODO | 2 ++
client.h | 4 ++--
3 files changed, 6 insertions(+), 4 deletions(-)
commit 32979eca679e2afb16be086b5f6cd140e01b9f44
Author: Bruce Guenter <bruce@untroubled.org>
Date: Thu Sep 13 04:22:28 2001 +0000
Replaced manual setenv calls with call to cvm_setenv.
cvm-checkpassword.c | 11 ++---------
1 files changed, 2 insertions(+), 9 deletions(-)
commit 43564003bede59416119002c98f9ce1672db5906
Author: Bruce Guenter <bruce@untroubled.org>
Date: Mon Sep 10 23:11:54 2001 +0000
Added some convenience client functions.
client.h | 4 +++
client.html | 40 +++++++++++++++++++++++++++++
client=l | 3 ++
facts.c => client_domain.c | 35 ++++++++++++++++---------
client_setenv.c | 58 +++++++++++++++++++++++++++++++++++++++++++
facts.c => client_setugid.c | 24 ++++++++---------
6 files changed, 138 insertions(+), 26 deletions(-)
copy facts.c => client_domain.c (61%)
create mode 100644 client_setenv.c
copy facts.c => client_setugid.c (62%)
commit 3f2941cb02870d825d7cfd96557dcf191f3e3951
Author: Bruce Guenter <bruce@untroubled.org>
Date: Mon Sep 10 23:11:15 2001 +0000
*** empty log message ***
NEWS | 2 ++
TODO | 10 ++++++++++
2 files changed, 12 insertions(+), 0 deletions(-)
commit 0fe670b7990308eb0d6eb3c70b80cfdadcacdc36
Author: Bruce Guenter <bruce@untroubled.org>
Date: Mon Sep 10 22:34:46 2001 +0000
Added new fact CVM_FACT_MAILBOX.
client.c | 1 +
facts.c | 1 +
facts.h | 2 ++
facts.html | 10 ++++++++++
module_request.c | 2 ++
5 files changed, 16 insertions(+), 0 deletions(-)
commit 2c548d84e1bde042f26d5b9cd0accee2ac6bfdd1
Author: Bruce Guenter <bruce@untroubled.org>
Date: Wed Aug 29 03:21:35 2001 +0000
Modified tests to use new SPAC testing framework.
rts.exp | 101 -----------------------------------------
rts.sh | 1 -
rts.tests | 64 --------------------------
tests/command-bad-password | 3 +
tests/command-bad-username | 3 +
tests/command-case | 14 ++++++
tests/command-no-prefix | 14 ++++++
tests/command-prefix | 14 ++++++
tests/pwfile | 14 ++++++
tests/pwfile-crypt | 15 ++++++
tests/start-unix-local | 7 +++
tests/start-unix-udp | 7 +++
tests/stop-unix-local | 12 +++++
tests/stop-unix-udp | 10 ++++
tests/unix-local | 17 +++++++
tests/unix-local-bad-password | 6 +++
tests/unix-udp | 17 +++++++
tests/unix-udp-bad-password | 6 +++
18 files changed, 159 insertions(+), 166 deletions(-)
delete mode 100644 rts.exp
delete mode 100644 rts.sh
delete mode 100644 rts.tests
create mode 100644 tests/command-bad-password
create mode 100644 tests/command-bad-username
create mode 100644 tests/command-case
create mode 100644 tests/command-no-prefix
create mode 100644 tests/command-prefix
create mode 100644 tests/pwfile
create mode 100644 tests/pwfile-crypt
create mode 100644 tests/start-unix-local
create mode 100644 tests/start-unix-udp
create mode 100644 tests/stop-unix-local
create mode 100644 tests/stop-unix-udp
create mode 100644 tests/unix-local
create mode 100644 tests/unix-local-bad-password
create mode 100644 tests/unix-udp
create mode 100644 tests/unix-udp-bad-password
commit 50998433a1d9d2082697a06610023860c04a9534
Author: Bruce Guenter <bruce@untroubled.org>
Date: Wed Aug 29 02:23:23 2001 +0000
Bugfix: cvm_getpwnam needs to lowercase the account name.
NEWS | 3 +++
getpwnam.c | 44 +++++++++++++++++++++++++++++---------------
2 files changed, 32 insertions(+), 15 deletions(-)
commit c24e50338f0b344598d95a11009960160dd9dfb7
Author: Bruce Guenter <bruce@untroubled.org>
Date: Tue Aug 28 23:33:40 2001 +0000
*** empty log message ***
NEWS | 8 ++++++++
VERSION | 2 +-
2 files changed, 9 insertions(+), 1 deletions(-)
commit 1dd4b785e5583aab837562e68eeded34f98fe89c
Author: Bruce Guenter <bruce@untroubled.org>
Date: Sat Aug 25 02:23:11 2001 +0000
Removed the SQL portions and put them into a seperate package, cvm-sql.
README | 1 -
cvm-mysql-local=x | 8 ----
cvm-mysql-udp=x | 8 ----
cvm-mysql.c | 88 ---------------------------------------------
cvm-mysql.html | 63 --------------------------------
cvm-mysql=x | 6 ---
cvm-pgsql-local=x | 7 ----
cvm-pgsql-udp=x | 7 ----
cvm-pgsql.c | 68 -----------------------------------
cvm-pgsql.html | 45 -----------------------
cvm-pgsql=x | 6 ---
rts.exp | 17 ---------
rts.tests | 18 ---------
sql-auth.c | 103 -----------------------------------------------------
sql-query-test.c | 26 -------------
sql-query-test=x | 2 -
sql-query.c | 99 --------------------------------------------------
sql.h | 19 ----------
sql.html | 40 --------------------
sql=l | 2 -
20 files changed, 0 insertions(+), 633 deletions(-)
delete mode 100644 cvm-mysql-local.c
delete mode 100644 cvm-mysql-local=x
delete mode 100644 cvm-mysql-udp.c
delete mode 100644 cvm-mysql-udp=x
delete mode 100644 cvm-mysql.c
delete mode 100644 cvm-mysql.html
delete mode 100644 cvm-mysql=x
delete mode 100644 cvm-pgsql-local.c
delete mode 100644 cvm-pgsql-local=x
delete mode 100644 cvm-pgsql-udp.c
delete mode 100644 cvm-pgsql-udp=x
delete mode 100644 cvm-pgsql.c
delete mode 100644 cvm-pgsql.html
delete mode 100644 cvm-pgsql=x
delete mode 100644 sql-auth.c
delete mode 100644 sql-query-test.c
delete mode 100644 sql-query-test=x
delete mode 100644 sql-query.c
delete mode 100644 sql.h
delete mode 100644 sql.html
delete mode 100644 sql=l
commit d3636f9a8d3e2de438fc3b5efe06bb2de5b33d5a
Author: Bruce Guenter <bruce@untroubled.org>
Date: Sat Aug 25 00:07:55 2001 +0000
Fixed up tests to account for domain name.
rts.exp | 15 ++++++++++-----
rts.tests | 48 ++++++++++++++++++++++++------------------------
2 files changed, 34 insertions(+), 29 deletions(-)
commit 3d31acd5232c791ee7ec0b08dcd1bb78a640506a
Author: Bruce Guenter <bruce@untroubled.org>
Date: Sat Aug 25 00:07:47 2001 +0000
*** empty log message ***
README | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit e5bd18c7f076dd4aad0dadf185aaf74a5c01dd83
Author: Bruce Guenter <bruce@untroubled.org>
Date: Fri Aug 24 04:51:45 2001 +0000
*** empty log message ***
TODO | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
commit d33a7d31984c479e5206e5bdf6538d8f2476244b
Author: Bruce Guenter <bruce@untroubled.org>
Date: Fri Aug 24 04:44:13 2001 +0000
Make the MySQL module handle connection options from a defaults file.
NEWS | 3 +++
TODO | 4 ----
cvm-mysql.c | 6 ++++++
cvm-mysql.html | 8 ++++++++
4 files changed, 17 insertions(+), 4 deletions(-)
commit 5d8c377aa3bc1e6936a62faf7784d701f3cf02cf
Author: Bruce Guenter <bruce@untroubled.org>
Date: Fri Aug 24 04:37:57 2001 +0000
Updated the SQL code to handle domain names.
NEWS | 2 ++
TODO | 2 --
sql-auth.c | 9 +++++----
sql-query-test.c | 6 ++++--
sql-query.c | 8 ++++++--
sql.html | 13 ++++++++-----
6 files changed, 25 insertions(+), 15 deletions(-)
commit 5c58eb7314c201a54bb674244273788faaec72cd
Author: Bruce Guenter <bruce@untroubled.org>
Date: Fri Aug 24 04:28:26 2001 +0000
Cleaned up some wording.
rationale.html | 70 +++++++++++++++++++++++++++++--------------------------
1 files changed, 37 insertions(+), 33 deletions(-)
commit f30e53db4ad1f78ae9d9e6ccc7d58a3fbcbf42d6
Author: Bruce Guenter <bruce@untroubled.org>
Date: Fri Aug 24 04:28:13 2001 +0000
Documented new cvm_authenticate interface.
client.html | 32 +++++++++++++++++++++++---------
1 files changed, 23 insertions(+), 9 deletions(-)
commit c132a79d2bb939550c562e89f2b7f475fd2f090f
Author: Bruce Guenter <bruce@untroubled.org>
Date: Fri Aug 24 04:27:36 2001 +0000
*** empty log message ***
NEWS | 15 ++++++++++++++-
TODO | 6 ++++++
2 files changed, 20 insertions(+), 1 deletions(-)
commit 60627545f0146bedf485d93db4d2df5db578d7b1
Author: Bruce Guenter <bruce@untroubled.org>
Date: Fri Aug 24 04:27:28 2001 +0000
Updated to new insthier interface.
insthier.c | 30 +++++++++++++++---------------
1 files changed, 15 insertions(+), 15 deletions(-)
commit 60713b84ae3940e410e4e00d6b6ca5d45fab1080
Author: Bruce Guenter <bruce@untroubled.org>
Date: Fri Aug 24 04:24:04 2001 +0000
Modified to use the new cvm_authenticate interface.
cvm-checkpassword.c | 10 +++++-----
cvm-checkpassword.html | 5 +++++
2 files changed, 10 insertions(+), 5 deletions(-)
commit 463a362c0606a33497a13d7c0156cf70745b0563
Author: Bruce Guenter <bruce@untroubled.org>
Date: Fri Aug 24 04:22:11 2001 +0000
Document new client->server protocol.
protocol.html | 14 ++++++++++----
1 files changed, 10 insertions(+), 4 deletions(-)
commit 5b373fd471aff9251afd83c39d4fa2914d2e182d
Author: Bruce Guenter <bruce@untroubled.org>
Date: Fri Aug 24 04:21:51 2001 +0000
Adjust to new cvm_authenticate calling scheme.
cvm-benchclient.c | 7 ++++---
cvm-testclient.c | 12 +++++++-----
2 files changed, 11 insertions(+), 8 deletions(-)
commit f3b9064c921a318b9906549a3a3680de02ce8f10
Author: Bruce Guenter <bruce@untroubled.org>
Date: Fri Aug 24 04:21:17 2001 +0000
Fixed a typo in the declaration of cvm-getpwnam.
cvm-unix.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit e92c4abf1c0e056ac35d7a045f7ffb5ff6b54013
Author: Bruce Guenter <bruce@untroubled.org>
Date: Fri Aug 24 04:19:40 2001 +0000
Added a new fact for domain names.
facts.c | 1 +
facts.h | 2 ++
facts.html | 8 ++++++++
3 files changed, 11 insertions(+), 0 deletions(-)
commit 634fc8c00560a42db077fc20bf00688fd3c90f09
Author: Bruce Guenter <bruce@untroubled.org>
Date: Fri Aug 24 04:17:51 2001 +0000
Document the new domain name features.
module.html | 15 ++++++++-------
1 files changed, 8 insertions(+), 7 deletions(-)
commit 469bc3d4f9f408447502294ed2fd1165f845d2d3
Author: Bruce Guenter <bruce@untroubled.org>
Date: Fri Aug 24 04:17:08 2001 +0000
Reverted the change of data types from "const char*" to "str".
module.h | 7 +++----
module_log.c | 24 +++++++++---------------
module_request.c | 37 +++++++++++++++++--------------------
3 files changed, 29 insertions(+), 39 deletions(-)
commit 034c0ebd73a8ff1cfff9f3b8eb8a84aee9fdaf06
Author: Bruce Guenter <bruce@untroubled.org>
Date: Fri Aug 24 04:03:06 2001 +0000
Log the domain name along with the account name.
module_log.c | 23 +++++++++++++++--------
1 files changed, 15 insertions(+), 8 deletions(-)
commit 051725331617683b62836fdf1b2c32cb76573c6e
Author: Bruce Guenter <bruce@untroubled.org>
Date: Fri Aug 24 04:02:27 2001 +0000
Handle the protocol number and domain name in parsing the request packet.
Store the results in str's instead of const char*.
module.h | 13 ++++++++++---
module_request.c | 37 +++++++++++++++++++++++++++----------
2 files changed, 37 insertions(+), 13 deletions(-)
commit 52d0093cba9ed118a5755ff0af95feab88f467b5
Author: Bruce Guenter <bruce@untroubled.org>
Date: Fri Aug 24 04:00:32 2001 +0000
Modified to handle domain names in the protocol, and parsing domain
names in the account name.
client.c | 54 ++++++++++++++++++++++++++++++++++++++++++++----------
client.h | 11 ++++++++---
2 files changed, 52 insertions(+), 13 deletions(-)
commit 6ef0b6dc6543ad121728b7b18534bd8e17300910
Author: Bruce Guenter <bruce@untroubled.org>
Date: Wed Aug 15 10:25:45 2001 +0000
*** empty log message ***
README | 2 +-
TODO | 5 +++++
VERSION | 2 +-
3 files changed, 7 insertions(+), 2 deletions(-)
commit 97b540dcdaddbf42c06a2d3735048d56be36709f
Author: Bruce Guenter <bruce@untroubled.org>
Date: Fri Aug 10 21:35:17 2001 +0000
*** empty log message ***
TODO | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
commit cca9550afb1a7b9e70da5f49f13079e3a7e3929e
Author: Bruce Guenter <bruce@untroubled.org>
Date: Fri Aug 10 21:35:04 2001 +0000
Moved the multi-step getpwnam functionality into a seperate module.
cvm-unix-local=x | 1 +
cvm-unix-udp=x | 1 +
cvm-unix.c | 43 ++++++------------------------------
cvm-unix=x | 1 +
getpwnam.c | 64 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
5 files changed, 74 insertions(+), 36 deletions(-)
create mode 100644 getpwnam.c
commit b21fb0b538ea43392885dd28d9cf255753281362
Author: Bruce Guenter <bruce@untroubled.org>
Date: Fri Aug 10 21:26:15 2001 +0000
Set the umask to zero before creating the socket to allow full access to
it.
module_local.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
commit a9f3adfa1fd535a42e861fcead538203734f7eb5
Author: Bruce Guenter <bruce@untroubled.org>
Date: Thu Aug 9 23:10:24 2001 +0000
*** empty log message ***
TODO | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
commit f5acba5dfc9069ec0f833336e4e409bebcc4b226
Author: Bruce Guenter <bruce@untroubled.org>
Date: Wed Jul 18 04:25:08 2001 +0000
Bumped up the version number.
NEWS | 6 ++++++
README | 4 ++--
VERSION | 2 +-
3 files changed, 9 insertions(+), 3 deletions(-)
commit e513e77b08c55647f65ffd6ea4192a0e5736c2b3
Author: Bruce Guenter <bruce@untroubled.org>
Date: Wed Jul 18 04:22:59 2001 +0000
Added support to the SQL framework for executing a query after the
credentials have been validated.
cvm-mysql.c | 12 ++++++++++--
cvm-mysql.html | 10 +++++++---
cvm-pgsql.c | 12 ++++++++++++
cvm-pgsql.html | 10 +++++++---
sql-auth.c | 15 ++++++++++++---
sql.h | 2 ++
6 files changed, 50 insertions(+), 11 deletions(-)
commit b00941aac83a5c1899e5741f517c7b7d60dcb7fe
Author: Bruce Guenter <bruce@untroubled.org>
Date: Tue Jul 17 02:34:21 2001 +0000
Reworded details of query substitution.
sql.html | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
commit 56c318eedd8afdbefd12a2d33d0793b5fc03edac
Author: Bruce Guenter <bruce@untroubled.org>
Date: Tue Jul 17 02:30:40 2001 +0000
Renamed sql-query.html to sql.html.
cvm-mysql.html | 4 ++--
cvm-pgsql.html | 4 ++--
sql-query.html | 37 -------------------------------------
sql.html | 37 +++++++++++++++++++++++++++++++++++++
4 files changed, 41 insertions(+), 41 deletions(-)
delete mode 100644 sql-query.html
create mode 100644 sql.html
commit 5da3147364f891601c644ba14ac4604bf756ec83
Author: Bruce Guenter <bruce@untroubled.org>
Date: Tue Jul 17 02:22:46 2001 +0000
Moved the default query from sql-query.c to sql-auth.c
sql-auth.c | 6 ++++++
sql-query.c | 6 ------
2 files changed, 6 insertions(+), 6 deletions(-)
commit 9937743adb055bd716067a950c58efc44b745d8e
Author: Bruce Guenter <bruce@untroubled.org>
Date: Tue Jul 17 02:22:26 2001 +0000
Added some new tests for the SQL query parser.
rts.exp | 37 ++++++++++++++++++++++++++++++++-----
rts.tests | 22 +++++++++++++++++++++-
2 files changed, 53 insertions(+), 6 deletions(-)
commit ff716efcb308c08c183481d373fb6619aa6925a3
Author: Bruce Guenter <bruce@untroubled.org>
Date: Tue Jul 17 02:12:42 2001 +0000
Added group name, system username, and system directory to the list of
query results.
sql-auth.c | 6 +++---
sql-query.c | 5 +++--
sql-query.html | 9 ++++++---
3 files changed, 12 insertions(+), 8 deletions(-)
commit 67378eb569d5fd145908124a494e74f2201305ae
Author: Bruce Guenter <bruce@untroubled.org>
Date: Tue Jul 17 00:35:53 2001 +0000
Reverted back to older non-automatically versioned version.
README | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
commit 01ac9c52129d432c00da393943adc385be82dd8f
Author: Bruce Guenter <bruce@untroubled.org>
Date: Tue Jul 17 00:29:23 2001 +0000
Merged the common code in the MySQL and PgSQL modules into a common core.
cvm-mysql-local=x | 4 +-
cvm-mysql-udp=x | 4 +-
cvm-mysql.c | 63 +++++++++++-------------------------------
cvm-mysql=x | 2 +-
cvm-pgsql-local=x | 4 +-
cvm-pgsql-udp=x | 4 +-
cvm-pgsql.c | 66 +++++++++------------------------------------
cvm-pgsql=x | 2 +-
cvm-pgsql.c => sql-auth.c | 47 +++++++++++++-------------------
sql.h | 8 +++++
sql=l | 1 +
11 files changed, 68 insertions(+), 137 deletions(-)
copy cvm-pgsql.c => sql-auth.c (61%)
commit e4acb331b3f2a8748fc7a0064e12a7a92d0e3a8c
Author: Bruce Guenter <bruce@untroubled.org>
Date: Tue Jul 17 00:25:16 2001 +0000
*** empty log message ***
NEWS | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
commit 9eaeaaefb96a4000b1ea696f314709300adc7602
Author: Bruce Guenter <bruce@untroubled.org>
Date: Tue Jul 17 00:24:43 2001 +0000
Fixed bug: the shell fact is not required.
client.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
commit 3546f5ebff8f2f890a50552dd723cb50eeb61164
Author: Bruce Guenter <bruce@untroubled.org>
Date: Tue Jul 17 00:13:58 2001 +0000
Only include sql-query.o, not the entire sql.a.
sql-query-test=x | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit ce7e7bc759ca79ec637aeef6c8ba58c8c12fd56b
Author: Bruce Guenter <bruce@untroubled.org>
Date: Mon Jul 16 23:49:06 2001 +0000
Modified the SQL query building framework to use $account instead of %
for the substitution reference, and also to allow references to
environment variables. Changed the required order of fields in the
query.
cvm-mysql.c | 5 ++-
cvm-pgsql.c | 5 ++-
sql-query.c | 58 ++++++++++++++++++++++++++++++++++++++++++++++++-------
sql-query.html | 16 +++++++++-----
sql.h | 1 +
5 files changed, 67 insertions(+), 18 deletions(-)
commit 740e7c4a4d238d4730ec466930f48c4318bb2f86
Author: Bruce Guenter <bruce@untroubled.org>
Date: Mon Jul 16 23:48:00 2001 +0000
Added a test harness for the sql-query framework.
sql-query-test.c | 24 ++++++++++++++++++++++++
sql-query-test=x | 2 ++
2 files changed, 26 insertions(+), 0 deletions(-)
create mode 100644 sql-query-test.c
create mode 100644 sql-query-test=x
commit 6043e666fcfe1b8d7aa62d29d5bff02fa2717724
Author: Bruce Guenter <bruce@untroubled.org>
Date: Mon Jul 16 22:26:15 2001 +0000
Clarified requirements of required fields.
sql-query.html | 16 ++++++++--------
1 files changed, 8 insertions(+), 8 deletions(-)
commit 69c52badb7d4825a3737f8384cd4dfd7a03164f2
Author: Bruce Guenter <bruce@untroubled.org>
Date: Sat Jul 14 03:41:59 2001 +0000
Fixed old URL references.
spec | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
commit b100c3eef5dbffecc1d78205eb40e6d0119ecf42
Author: Bruce Guenter <bruce@untroubled.org>
Date: Sat Jul 14 00:26:33 2001 +0000
The PostgreSQL package is named postgresql, not pgsql.
spec | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit 8f7635d0bd207a4b3afc9b8b887da6e2a2e99fc3
Author: Bruce Guenter <bruce@untroubled.org>
Date: Fri Jul 13 23:58:40 2001 +0000
Fixed typo in description tag.
spec | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit 940faaddfab0b9dc1e0e17dc95e4057de9ebba26
Author: Bruce Guenter <bruce@untroubled.org>
Date: Fri Jul 13 22:54:24 2001 +0000
*** empty log message ***
README | 4 ++--
TODO | 4 ----
2 files changed, 2 insertions(+), 6 deletions(-)
commit 9c97df1fb8b08cd039a3754a60c8c6267309b07b
Author: Bruce Guenter <bruce@untroubled.org>
Date: Fri Jul 13 05:55:38 2001 +0000
*** empty log message ***
NEWS | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
commit 5c25af05fbf059de08c37cefb750b59f5763fb35
Author: Bruce Guenter <bruce@untroubled.org>
Date: Fri Jul 13 05:54:16 2001 +0000
Moved the common SQL documentation into a seperate file.
cvm-mysql.html | 19 ++-----------------
cvm-pgsql.html | 19 ++-----------------
sql-query.html | 30 ++++++++++++++++++++++++++++++
3 files changed, 34 insertions(+), 34 deletions(-)
create mode 100644 sql-query.html
commit 5f824dfc7e28fda9cb259e63bae8d25bc479799e
Author: Bruce Guenter <bruce@untroubled.org>
Date: Fri Jul 13 05:53:51 2001 +0000
Modified the SQL framework to allow substitution of multiple % symbols.
cvm-mysql.c | 8 +++-----
cvm-pgsql.c | 8 +++-----
sql-query.c | 36 ++++++++++++++----------------------
sql.h | 4 ++--
4 files changed, 22 insertions(+), 34 deletions(-)
commit 02aac5d24d76ff3f4cc1a0238f2a477f6649d712
Author: Bruce Guenter <bruce@untroubled.org>
Date: Wed Jul 11 21:09:04 2001 +0000
*** empty log message ***
TODO | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
commit 264cb67f495b9123f3de6ed020a2f19b758d41ea
Author: Bruce Guenter <bruce@untroubled.org>
Date: Tue Jul 10 23:12:34 2001 +0000
Note PAM in the ideas.
cvm.html | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
commit fc34d94637a467f77fe2f35a7b892372a7543bc6
Author: Bruce Guenter <bruce@untroubled.org>
Date: Tue Jul 10 23:12:06 2001 +0000
Reference the pwcmp configuration parameter.
cvm-mysql.html | 3 +++
cvm-pgsql.html | 3 +++
cvm-pwfile.html | 5 +++++
3 files changed, 11 insertions(+), 0 deletions(-)
commit abfdf98753adb11c954fdff8c0fde0ad85f43ad2
Author: Bruce Guenter <bruce@untroubled.org>
Date: Tue Jul 10 23:11:44 2001 +0000
Use pwcmp library for password comparisons.
cvm-pwfile.c | 16 ++++++++++++----
1 files changed, 12 insertions(+), 4 deletions(-)
commit 878d9e3f650d5613125401ee8953efb2bf09d8f2
Author: Bruce Guenter <bruce@untroubled.org>
Date: Tue Jul 10 23:11:13 2001 +0000
Need to link against pwcmp client library.
cvm-mysql-local=x | 1 +
cvm-mysql-udp=x | 1 +
cvm-mysql=x | 1 +
cvm-pgsql-local=x | 1 +
cvm-pgsql-udp=x | 1 +
cvm-pgsql=x | 1 +
cvm-pwfile-local=x | 1 +
cvm-pwfile-udp=x | 1 +
cvm-pwfile=x | 1 +
9 files changed, 9 insertions(+), 0 deletions(-)
commit 899922c4b37a5892511c8bff681a1330c2e22738
Author: Bruce Guenter <bruce@untroubled.org>
Date: Tue Jul 10 23:11:01 2001 +0000
Use new pwcmp client library for password comparisons.
Remove unused str_cats_quoted routine.
Signal fatal errors to the module library.
Add cvm_auth_stop routine.
cvm-pgsql.c | 39 +++++++++++++++++----------------------
1 files changed, 17 insertions(+), 22 deletions(-)
commit 5f7c5862040d8693e3ef8dcdbc9ab9aed6397876
Author: Bruce Guenter <bruce@untroubled.org>
Date: Tue Jul 10 23:10:00 2001 +0000
Use new pwcmp library for password comparisons.
Fixed bug in database connect function.
Signal fatal errors to the module library.
Add cvm_auth_stop routine.
cvm-mysql.c | 43 +++++++++++++++++++++++++------------------
1 files changed, 25 insertions(+), 18 deletions(-)
commit 9ec267cefc6e2fcdfcff3cb9b4a600f46ee31f00
Author: Bruce Guenter <bruce@untroubled.org>
Date: Tue Jul 10 23:08:03 2001 +0000
*** empty log message ***
NEWS | 6 ++++++
TODO | 15 ---------------
2 files changed, 6 insertions(+), 15 deletions(-)
commit b5681d1a32ec77dcc25c29b7eb49974bc175e09b
Author: Bruce Guenter <bruce@untroubled.org>
Date: Tue Jul 10 05:48:52 2001 +0000
Added a stub cvm_auth_stop routine.
cvm-unix.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
commit c7b518bac62bdc5f96a17c19d9b247a41982444e
Author: Bruce Guenter <bruce@untroubled.org>
Date: Tue Jul 10 04:52:52 2001 +0000
Split the mysql and pgsql modules into subpackages.
spec | 30 +++++++++++++++++++++++++++++-
1 files changed, 29 insertions(+), 1 deletions(-)
commit 0a0a6cc34fb1948d0b520c6dc63d3eea9dc662ab
Author: Bruce Guenter <bruce@untroubled.org>
Date: Tue Jul 10 04:36:46 2001 +0000
Added a fatal error indicator.
Added a new required function, cvm_auth_stop.
errors.h | 5 +++++
module.h | 1 +
module_command.c | 10 ++++++----
module_local.c | 9 ++++++---
module_udp.c | 9 ++++++---
5 files changed, 24 insertions(+), 10 deletions(-)
commit 64fe613bcddd7cc60539ed3b41408b67d98c718e
Author: Bruce Guenter <bruce@untroubled.org>
Date: Sun Jul 8 10:34:31 2001 +0000
*** empty log message ***
TODO | 17 ++++++++++++++++-
1 files changed, 16 insertions(+), 1 deletions(-)
commit c420a2d18cc1ac0451ffd3f81658c99ae6536a1c
Author: Bruce Guenter <bruce@untroubled.org>
Date: Sat Jul 7 05:03:46 2001 +0000
Added new MySQL and PgSQL modules.
cvm.html | 2 ++
insthier.c | 18 ++++++++++++------
2 files changed, 14 insertions(+), 6 deletions(-)
commit 4a09e98c488a170c7ae58f817fab0ac5485a2412
Author: Bruce Guenter <bruce@untroubled.org>
Date: Sat Jul 7 05:03:21 2001 +0000
The pwfile module doesn't need s.lib or shadow.lib.
cvm-pwfile-local=x | 2 --
cvm-pwfile-udp=x | 2 --
cvm-pwfile=x | 2 --
3 files changed, 0 insertions(+), 6 deletions(-)
commit ef11bfa41b52bd71f590d5f35cfa0b2334ba016b
Author: Bruce Guenter <bruce@untroubled.org>
Date: Sat Jul 7 05:02:57 2001 +0000
*** empty log message ***
NEWS | 12 ++++++++++++
README.CVS | 1 +
TODO | 8 +++++---
VERSION | 2 +-
4 files changed, 19 insertions(+), 4 deletions(-)
commit 8c98cd07c4046cdea5b3418de41f365387029d8d
Author: Bruce Guenter <bruce@untroubled.org>
Date: Sat Jul 7 05:02:31 2001 +0000
Use new "config" error code.
cvm-pwfile.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit ae1f98a13a9d1b1699ee0b38714d2bd3eb24ef3e
Author: Bruce Guenter <bruce@untroubled.org>
Date: Sat Jul 7 05:01:27 2001 +0000
Added new MySQL module.
cvm-pgsql-local.c => cvm-mysql-local.c | 0
cvm-mysql-local=x | 7 ++
cvm-pgsql-local.c => cvm-mysql-udp.c | 0
cvm-mysql-udp=x | 7 ++
cvm-mysql.c | 97 ++++++++++++++++++++++++++++++++
cvm-pgsql.html => cvm-mysql.html | 30 +++++++---
cvm-pgsql-local=x => cvm-mysql=x | 3 +-
7 files changed, 132 insertions(+), 12 deletions(-)
copy cvm-pgsql-local.c => cvm-mysql-local.c (100%)
create mode 100644 cvm-mysql-local=x
copy cvm-pgsql-local.c => cvm-mysql-udp.c (100%)
create mode 100644 cvm-mysql-udp=x
create mode 100644 cvm-mysql.c
copy cvm-pgsql.html => cvm-mysql.html (51%)
copy cvm-pgsql-local=x => cvm-mysql=x (53%)
commit a9a5298b39a6ed802cc66779be84bba4fe430132
Author: Bruce Guenter <bruce@untroubled.org>
Date: Sat Jul 7 05:01:15 2001 +0000
Added new PgSQL module.
cvm-pgsql-local=x | 6 +++
cvm-pgsql-udp=x | 6 +++
cvm-pgsql.c | 102 +++++++++++++++++++++++++++++++++++++++++++++++++++++
cvm-pgsql.html | 53 +++++++++++++++++++++++++++
cvm-pgsql=x | 5 +++
5 files changed, 172 insertions(+), 0 deletions(-)
create mode 100644 cvm-pgsql-local.c
create mode 100644 cvm-pgsql-local=x
create mode 100644 cvm-pgsql-udp.c
create mode 100644 cvm-pgsql-udp=x
create mode 100644 cvm-pgsql.c
create mode 100644 cvm-pgsql.html
create mode 100644 cvm-pgsql=x
commit 415d9d842dd3d29dec8c286f24a21c137e178e89
Author: Bruce Guenter <bruce@untroubled.org>
Date: Sat Jul 7 04:55:12 2001 +0000
Added new configuration error code.
errors.h | 1 +
errors.html | 4 ++++
2 files changed, 5 insertions(+), 0 deletions(-)
commit 16f1cb142cba761c2cbdbfc04e3d785ca18c497c
Author: Bruce Guenter <bruce@untroubled.org>
Date: Sat Jul 7 04:32:51 2001 +0000
Added a library of functions common to SQL modules (currently only the
query building mechanism).
sql-query.c | 66 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
sql.h | 8 +++++++
sql=l | 1 +
3 files changed, 75 insertions(+), 0 deletions(-)
create mode 100644 sql-query.c
create mode 100644 sql.h
create mode 100644 sql=l
commit 3ab9631d60623b1d9408905f95ca2f14047601fa
Author: Bruce Guenter <bruce@untroubled.org>
Date: Sat Jul 7 00:16:24 2001 +0000
Applied patch from Paul Jarc to fix temporary error return cases, and
properly add the primary group ID to the supplemental group list.
cvm-unix.c | 17 ++++++++++-------
1 files changed, 10 insertions(+), 7 deletions(-)
commit 6d0241c08787c6daafa244bb5ee0a422ffa78df4
Author: Bruce Guenter <bruce@untroubled.org>
Date: Fri Jul 6 03:47:32 2001 +0000
*** empty log message ***
README | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit 1a876877e1f81eb8f9f64e3fc77d06a66e10da32
Author: Bruce Guenter <bruce@untroubled.org>
Date: Fri Jul 6 03:47:19 2001 +0000
Added explanation for CVM_PWFILE_PATH
cvm-pwfile.html | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
commit 6dcdefb13c1908f627cb61c68d1589b11376faa3
Author: Bruce Guenter <bruce@untroubled.org>
Date: Wed Jul 4 10:52:29 2001 +0000
Added the TODO file.
TODO | 12 ++++++++++++
1 files changed, 12 insertions(+), 0 deletions(-)
create mode 100644 TODO
commit 8c8bcd232929ff9602ac7fed6b0309438faad7f3
Author: Bruce Guenter <bruce@untroubled.org>
Date: Wed Jul 4 10:51:41 2001 +0000
The CDB library is not needed yet.
README.CVS | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
commit 9d894b7e46176395c16e0a65d850054e6e3dec87
Author: Bruce Guenter <bruce@untroubled.org>
Date: Wed Jul 4 04:32:13 2001 +0000
Renamed cvm-file to cvm-pwfile to reflect its true nature.
NEWS | 2 +-
cvm-file-local.c | 1 -
cvm-file-udp.c | 1 -
cvm-pwfile-local.c | 1 +
cvm-file-local=x => cvm-pwfile-local=x | 0
cvm-pwfile-udp.c | 1 +
cvm-file-udp=x => cvm-pwfile-udp=x | 0
cvm-file.c => cvm-pwfile.c | 4 ++--
cvm-file.html => cvm-pwfile.html | 7 ++++---
cvm-file=x => cvm-pwfile=x | 0
cvm.html | 2 +-
insthier.c | 6 +++---
12 files changed, 13 insertions(+), 12 deletions(-)
delete mode 100644 cvm-file-local.c
delete mode 100644 cvm-file-udp.c
create mode 100644 cvm-pwfile-local.c
rename cvm-file-local=x => cvm-pwfile-local=x (100%)
create mode 100644 cvm-pwfile-udp.c
rename cvm-file-udp=x => cvm-pwfile-udp=x (100%)
rename cvm-file.c => cvm-pwfile.c (93%)
rename cvm-file.html => cvm-pwfile.html (73%)
rename cvm-file=x => cvm-pwfile=x (100%)
commit b0ed4709998801ec0e52f900dce3e1652389c983
Author: Bruce Guenter <bruce@untroubled.org>
Date: Wed Jul 4 04:32:00 2001 +0000
*** empty log message ***
README | 8 ++++++--
README.CVS | 5 +++++
2 files changed, 11 insertions(+), 2 deletions(-)
create mode 100644 README.CVS
commit 950eeef0f6ab466b48723bd2cc94ccfc0dab6d02
Author: Bruce Guenter <bruce@untroubled.org>
Date: Sat Jun 30 06:05:01 2001 +0000
Added a new cvm-file module set.
cvm-file-local.c | 1 +
cvm-unix-local=x => cvm-file-local=x | 0
cvm-file-udp.c | 1 +
cvm-unix-udp=x => cvm-file-udp=x | 0
cvm-unix.c => cvm-file.c | 78 +++++++---------------------------
cvm-file.html | 29 +++++++++++++
cvm-unix=x => cvm-file=x | 0
cvm.html | 8 +++-
insthier.c | 3 +
9 files changed, 56 insertions(+), 64 deletions(-)
create mode 100644 cvm-file-local.c
copy cvm-unix-local=x => cvm-file-local=x (100%)
create mode 100644 cvm-file-udp.c
copy cvm-unix-udp=x => cvm-file-udp=x (100%)
copy cvm-unix.c => cvm-file.c (50%)
create mode 100644 cvm-file.html
copy cvm-unix=x => cvm-file=x (100%)
commit c555f06decd9f0b371a802ccd982209b220968aa
Author: Bruce Guenter <bruce@untroubled.org>
Date: Sat Jun 30 06:04:48 2001 +0000
Replaced the hard-coded numeric error codes with CVME symbols.
cvm-unix.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
commit 88d49225f0195ce252e94988b5405dfe225951b0
Author: Bruce Guenter <bruce@untroubled.org>
Date: Sat Jun 30 06:04:12 2001 +0000
*** empty log message ***
NEWS | 8 +++++++-
README | 2 +-
spec | 12 ++++++------
3 files changed, 14 insertions(+), 8 deletions(-)
commit 8886dcd81856543fcfe47d745a3193c98a82d253
Author: Bruce Guenter <bruce@untroubled.org>
Date: Sat Jun 30 05:58:52 2001 +0000
Added some documentation for cvm-unix.
cvm-unix.html | 26 ++++++++++++++++++++++++++
1 files changed, 26 insertions(+), 0 deletions(-)
create mode 100644 cvm-unix.html
commit 34bb6070ce672f3fcbeeb531b4e075ab102d169d
Author: Bruce Guenter <bruce@untroubled.org>
Date: Sat Jun 30 05:58:27 2001 +0000
Documented the new cvm_auth_init API.
module.html | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
commit caaf5503e6bbe2a3f5a466555391f376fcc79a30
Author: Bruce Guenter <bruce@untroubled.org>
Date: Sat Jun 30 05:20:37 2001 +0000
Added new cvm_auth_init feature to the module API.
cvm-unix.c | 5 +++++
module.h | 1 +
module_command.c | 1 +
module_local.c | 1 +
module_udp.c | 4 +++-
5 files changed, 11 insertions(+), 1 deletions(-)
commit caa57683d25848daa71ffb78be9c678184f15068
Author: Bruce Guenter <bruce@untroubled.org>
Date: Sat Jun 30 05:19:37 2001 +0000
*** empty log message ***
NEWS | 6 ++++++
makedist.py | 2 +-
2 files changed, 7 insertions(+), 1 deletions(-)
commit 759f9ec37d4333b30ed76d99cdde4b4b32011b7a
Author: Bruce Guenter <bruce@untroubled.org>
Date: Sat May 19 03:39:56 2001 +0000
*** empty log message ***
NEWS | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
commit a72d9a69ce77fbd54b086680a4cff6387ac10e16
Author: Bruce Guenter <bruce@untroubled.org>
Date: Sat May 19 03:39:46 2001 +0000
Updated to call the new cvm_ prefixed symbols.
cvm-benchclient.c | 3 +--
cvm-checkpassword.c | 16 ++++++++--------
cvm-testclient.c | 11 ++++++-----
cvm-unix.c | 36 ++++++++++++++++++------------------
4 files changed, 33 insertions(+), 33 deletions(-)
commit 11b31e96225a66d5f04ace64748dfcb928f33251
Author: Bruce Guenter <bruce@untroubled.org>
Date: Sat May 19 03:38:22 2001 +0000
Prepend "cvm_" to all exported symbols.
Invert the return value from the cvm_fact routines.
client.c | 57 +++++++++++++++++++++++++++++++--------------------------
client.h | 6 +++---
client.html | 37 ++++++++++++++++++++-----------------
3 files changed, 54 insertions(+), 46 deletions(-)
commit f7f4f7ef8e541c34b99d327ae96ff46088efac44
Author: Bruce Guenter <bruce@untroubled.org>
Date: Sat May 19 03:37:22 2001 +0000
Prepend all exported symbols with "cvm_"
module.h | 18 +++++++++---------
module.html | 38 +++++++++++++++++++-------------------
module_command.c | 2 +-
module_local.c | 2 +-
module_log.c | 4 ++--
module_output.c | 8 ++++----
module_request.c | 34 +++++++++++++++++++---------------
module_udp.c | 2 +-
8 files changed, 56 insertions(+), 52 deletions(-)
commit 30e14ad932f583c6eafa7e12ba95f9040b3494e1
Author: Bruce Guenter <bruce@untroubled.org>
Date: Sat May 19 01:22:01 2001 +0000
Added specific note about what numbers are reserved for local or
experimental use.
Made the CVM_FACT_SHELL fact optional.
facts.html | 13 +++++++------
1 files changed, 7 insertions(+), 6 deletions(-)
commit d68024a12c7e4a108cf76527af75c71d5e3ba0e0
Author: Bruce Guenter <bruce@untroubled.org>
Date: Sat May 19 00:36:14 2001 +0000
Added a "no fact" error code.
errors.h | 1 +
errors.html | 3 +++
2 files changed, 4 insertions(+), 0 deletions(-)
commit 46b5ea0930c2556fc2fcdacf8bc3ab70195d560f
Author: Bruce Guenter <bruce@untroubled.org>
Date: Sat May 19 00:35:58 2001 +0000
Renamed all facts to prepend a "cvm_".
facts.c | 18 +++++++++---------
facts.h | 44 ++++++++++++++++++++++----------------------
facts.html | 26 +++++++++++++-------------
3 files changed, 44 insertions(+), 44 deletions(-)
commit 65e2ca40d335da22365a3f2edb18ac205b669780
Author: Bruce Guenter <bruce@untroubled.org>
Date: Fri May 18 04:31:05 2001 +0000
Added the office location, work phone, and home phone information from
the GECOS field of the passwd struct.
facts.h | 3 +++
facts.html | 24 ++++++++++++++++++++++++
2 files changed, 27 insertions(+), 0 deletions(-)
commit 20c213c4ce4a6ec79dfc5460b12c6c1131aaceab
Author: Bruce Guenter <bruce@untroubled.org>
Date: Fri May 18 02:01:50 2001 +0000
Improved the wording and formatting of the documentation.
cvm.html | 2 +-
errors.html | 26 +++++++----
facts.html | 145 ++++++++++++++++++++++++++++++++++++++++++++++-------------
3 files changed, 131 insertions(+), 42 deletions(-)
commit b643385a671fdd9ca8ff4d3676a28c919043c301
Author: Bruce Guenter <bruce@untroubled.org>
Date: Fri May 18 02:01:19 2001 +0000
Add a short delay after backgrounding the socket servers so they can
establish their socket.
benchmark.sh | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
commit 80b9e3a19b6a3b2255795f6ae0d701926832711f
Author: Bruce Guenter <bruce@untroubled.org>
Date: Fri May 18 02:00:28 2001 +0000
Truncate the GECOS field at the first comma.
Parse and show the supplemental group IDs.
cvm-unix.c | 39 +++++++++++++++++++++++++++++++++++----
1 files changed, 35 insertions(+), 4 deletions(-)
commit b45b717a35701fe0cabba1543b8f6558f897bb9b
Author: Bruce Guenter <bruce@untroubled.org>
Date: Thu May 17 22:06:18 2001 +0000
*** empty log message ***
module.html | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit d6161270662b2f8449c2f8ff96b0c8697b4d1783
Author: Bruce Guenter <bruce@untroubled.org>
Date: Thu May 17 22:05:53 2001 +0000
Added support for reporting the supplemental group list.
cvm-testclient.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
commit b8201df4d6a62dd63736ef7bd982552070346a37
Author: Bruce Guenter <bruce@untroubled.org>
Date: Wed May 16 11:42:13 2001 +0000
*** empty log message ***
NEWS | 8 ++++++++
README | 4 ++--
VERSION | 2 +-
3 files changed, 11 insertions(+), 3 deletions(-)
commit bad9da3fb8778e6db68d116314810b840105f826
Author: Bruce Guenter <bruce@untroubled.org>
Date: Wed May 16 11:41:05 2001 +0000
Completed upgrading "unsigned" to "unsigned long" as the integer fact
type everywhere.
cvm-testclient.c | 4 ++--
facts.c | 4 ++--
facts.h | 4 ++--
module.h | 2 +-
module_output.c | 2 +-
5 files changed, 8 insertions(+), 8 deletions(-)
commit df6049c23e1f85c6afce8fad8901ba4b0449c6a6
Author: Bruce Guenter <bruce@untroubled.org>
Date: Wed May 16 11:37:39 2001 +0000
Include the proper dynamic header file.
cvm-checkpassword.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit 2d9c32abd8667a0d5e00060bc70b3ed1231a0cc1
Author: Bruce Guenter <bruce@untroubled.org>
Date: Wed May 16 11:35:55 2001 +0000
Moved the list of fact numbers into its own document.
cvm.html | 1 +
facts.html | 47 +++++++++++++++++++++++++++++++++++++++++++++++
protocol.html | 43 +++----------------------------------------
3 files changed, 51 insertions(+), 40 deletions(-)
create mode 100644 facts.html
commit d70d7a0dfe8ab686af36bbdb905b22de5312fe19
Author: Bruce Guenter <bruce@untroubled.org>
Date: Wed May 16 11:35:26 2001 +0000
Modified the fact_uint function to use unsigned long instead of just
unsigned.
Modified the fact_str function to return sucessive facts when the call
is repeated.
client.c | 19 +++++++++++++------
client.h | 2 +-
client.html | 19 ++++++++++++-------
3 files changed, 26 insertions(+), 14 deletions(-)
commit 283b30c4a29eb5126206408f56c5353684756d29
Author: Bruce Guenter <bruce@untroubled.org>
Date: Wed May 16 11:34:01 2001 +0000
Improved wording.
rationale.html | 28 ++++++++++++++--------------
1 files changed, 14 insertions(+), 14 deletions(-)
commit 60e0e691e89aad7c8d20fc045d70acbc209acd35
Author: Bruce Guenter <bruce@untroubled.org>
Date: Fri May 11 01:58:51 2001 +0000
Moved to the new Python-based SPAC makedist system.
makedist.in | 46 ----------------------------------------------
makedist.py | 35 +++++++++++++++++++++++++++++++++++
2 files changed, 35 insertions(+), 46 deletions(-)
delete mode 100644 makedist.in
create mode 100644 makedist.py
commit 852ab4bf14208887dba4319d9563e72ed714f964
Author: Bruce Guenter <bruce@untroubled.org>
Date: Fri May 11 01:58:26 2001 +0000
Add iopoll.o to this programs that use iopoll.
cvm-benchclient=x | 1 +
cvm-checkpassword=x | 1 +
cvm-testclient=x | 1 +
3 files changed, 3 insertions(+), 0 deletions(-)
commit e7a95f7591ed4445cc23507abe5a3d903468072a
Author: Bruce Guenter <bruce@untroubled.org>
Date: Fri May 11 01:58:00 2001 +0000
Fixed the use of the wrong error code for an authentication failure.
rts.exp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit 11713a7f84933b9ca471c1d32f8c39fdffe0346b
Author: Bruce Guenter <bruce@untroubled.org>
Date: Thu May 10 00:56:17 2001 +0000
*** empty log message ***
README | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
commit 1d5b0b76ed435df0393a6babe67c3781951aa114
Author: Bruce Guenter <bruce@untroubled.org>
Date: Thu May 10 00:52:00 2001 +0000
Added program documentation.
cvm-benchclient.html | 23 +++++++++++++++++++++++
cvm-checkpassword.html | 31 +++++++++++++++++++++++++++++++
cvm-testclient.html | 22 ++++++++++++++++++++++
cvm.html | 8 +++++++-
4 files changed, 83 insertions(+), 1 deletions(-)
create mode 100644 cvm-benchclient.html
create mode 100644 cvm-checkpassword.html
create mode 100644 cvm-testclient.html
commit 51335d25581803f926de954fa8ff975a8ed24e84
Author: Bruce Guenter <bruce@untroubled.org>
Date: Thu May 10 00:51:43 2001 +0000
Fixed the program name in the usage notes.
cvm-benchclient.c | 2 +-
cvm-testclient.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
commit dc914e7555d35502beb22518569fdf490b194400
Author: Bruce Guenter <bruce@untroubled.org>
Date: Thu May 10 00:40:02 2001 +0000
Added missing close of FD 3 after reading the data.
cvm-checkpassword.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
commit c312b0f6acedf16221bb55a1357a4e493d9647bf
Author: Bruce Guenter <bruce@untroubled.org>
Date: Wed May 9 23:54:42 2001 +0000
Add new program cvm-checkpassword to list of installed binaries.
insthier.c | 11 ++++++-----
1 files changed, 6 insertions(+), 5 deletions(-)
commit cf17a0191f63a4712c52fd067395c27962592e70
Author: Bruce Guenter <bruce@untroubled.org>
Date: Wed May 9 23:43:53 2001 +0000
*** empty log message ***
README | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit ccad775cc7f6c76b89289ebb6a774bbf21152b0e
Author: Bruce Guenter <bruce@untroubled.org>
Date: Wed May 9 23:37:53 2001 +0000
Added a checkpassword emulator.
NEWS | 2 +
cvm-checkpassword.c | 74 ++++++++++++++++++++++++++++++
cvm-benchclient=x => cvm-checkpassword=x | 1 +
3 files changed, 77 insertions(+), 0 deletions(-)
create mode 100644 cvm-checkpassword.c
copy cvm-benchclient=x => cvm-checkpassword=x (73%)
commit 88d7f781f4761b9f26643fa9b08cb20b0a3ebfdb
Author: Bruce Guenter <bruce@untroubled.org>
Date: Thu Mar 22 23:59:59 2001 +0000
*** empty log message ***
NEWS | 6 ++++++
insthier.c | 9 +++++----
2 files changed, 11 insertions(+), 4 deletions(-)
commit 3527b756a0610fb42ec2789a08a0ccc50d2a3770
Author: Bruce Guenter <bruce@untroubled.org>
Date: Thu Mar 22 23:59:36 2001 +0000
Bumped up the version number.
README | 2 +-
VERSION | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
commit 17882518011f631416709bfffe94e11c1a331ab6
Author: Bruce Guenter <bruce@untroubled.org>
Date: Thu Mar 22 23:59:02 2001 +0000
Added a benchmarking tool.
benchmark.sh | 20 +++++++++++++++
cvm-testclient.c => cvm-benchclient.c | 42 +++++++++++++++-----------------
cvm-testclient=x => cvm-benchclient=x | 0
3 files changed, 40 insertions(+), 22 deletions(-)
create mode 100644 benchmark.sh
copy cvm-testclient.c => cvm-benchclient.c (56%)
copy cvm-testclient=x => cvm-benchclient=x (100%)
commit c656ac6328558c42241e47dda46a5aa9f1ef3072
Author: Bruce Guenter <bruce@untroubled.org>
Date: Thu Mar 22 23:58:41 2001 +0000
Fixed bogus use of vfork, and poor handling of data parsing.
client.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
commit d564152e626b01890e5c9a3421086926330a2f15
Author: Bruce Guenter <bruce@untroubled.org>
Date: Tue Mar 20 05:17:02 2001 +0000
*** empty log message ***
NEWS | 2 ++
README | 6 +++---
makedist.in | 2 +-
3 files changed, 6 insertions(+), 4 deletions(-)
commit 43d636f8b803dfb110f6b32d4ee5f4270ad2536f
Author: Bruce Guenter <bruce@untroubled.org>
Date: Tue Mar 20 05:11:48 2001 +0000
*** empty log message ***
README | 12 +++++++++++-
spec | 2 +-
2 files changed, 12 insertions(+), 2 deletions(-)
commit cae7e8cd7062395a21dc573b02dd4960570eeba9
Author: Bruce Guenter <bruce@untroubled.org>
Date: Tue Mar 20 05:10:17 2001 +0000
Added GPL copyright notices.
client.c | 17 +++++++++++++++++
cvm-testclient.c | 17 +++++++++++++++++
cvm-unix.c | 17 +++++++++++++++++
facts.c | 17 +++++++++++++++++
module_command.c | 17 +++++++++++++++++
module_local.c | 17 +++++++++++++++++
module_log.c | 17 +++++++++++++++++
module_output.c | 17 +++++++++++++++++
module_request.c | 17 +++++++++++++++++
module_udp.c | 17 +++++++++++++++++
10 files changed, 170 insertions(+), 0 deletions(-)
commit 2d4deb68e5b20ae9d1099f2b6dce9e5caf07f9e7
Author: Bruce Guenter <bruce@untroubled.org>
Date: Tue Mar 20 05:04:16 2001 +0000
Exit in signal handler.
module_local.c | 2 ++
module_udp.c | 1 +
2 files changed, 3 insertions(+), 0 deletions(-)
commit cb998175ccb6d6454f529c4faea96d4920d75913
Author: Bruce Guenter <bruce@untroubled.org>
Date: Tue Mar 20 05:03:54 2001 +0000
Fixed return of error codes from command exit.
client.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
commit a6c32b0a1017c5d1e5cc4a7285c683d0290bc3cc
Author: Bruce Guenter <bruce@untroubled.org>
Date: Tue Mar 20 05:03:40 2001 +0000
Filled in tests.
rts.exp | 86 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
rts.tests | 45 ++++++++++++++++++++++++++++++++
2 files changed, 131 insertions(+), 0 deletions(-)
commit 57f7ca9dbc88638b6ecaaf8f8f4f39356975476e
Author: Bruce Guenter <bruce@untroubled.org>
Date: Tue Mar 20 04:30:48 2001 +0000
Totally rewrote the package to provide three modes of operation.
client.c | 101 +++++++++++++++++++++++++++++++++++++++++++-----------
client.h | 1 +
command=l | 4 ++
cvm-testclient.c | 2 +-
cvm-unix-local.c | 1 +
cvm-unix-local=x | 5 +++
cvm-unix-udp.c | 1 +
cvm-unix-udp=x | 5 +++
cvm-unix.c | 36 ++++++++++----------
cvm-unix=x | 3 +-
errors.h | 10 +++++
insthier.c | 4 ++-
local=l | 5 +++
module.h | 35 ++++++++++++++-----
module=l | 4 --
module_command.c | 37 ++++++++++++++++++++
module_input.c | 54 -----------------------------
module_local.c | 71 ++++++++++++++++++++++++++++++++++++++
module_log.c | 33 +++++++++++++++++
module_main.c | 18 ----------
module_output.c | 76 ++++++++++++++++++++++------------------
module_request.c | 50 ++++++++++++++++++++++++++
module_udp.c | 65 ++++++++++++++++++++++++++++++++++
udp=l | 5 +++
24 files changed, 466 insertions(+), 160 deletions(-)
create mode 100644 command=l
create mode 100644 cvm-unix-local.c
create mode 100644 cvm-unix-local=x
create mode 100644 cvm-unix-udp.c
create mode 100644 cvm-unix-udp=x
create mode 100644 errors.h
create mode 100644 local=l
delete mode 100644 module=l
create mode 100644 module_command.c
delete mode 100644 module_input.c
create mode 100644 module_local.c
create mode 100644 module_log.c
delete mode 100644 module_main.c
create mode 100644 module_request.c
create mode 100644 module_udp.c
create mode 100644 udp=l
commit 4f95ebec9001161406e1cad903b8ecacf82ac2d1
Author: Bruce Guenter <bruce@untroubled.org>
Date: Tue Mar 20 04:30:26 2001 +0000
*** empty log message ***
README | 10 ----------
rts.sh | 1 +
rts.tests | 17 +++++++++++++++++
3 files changed, 18 insertions(+), 10 deletions(-)
create mode 100644 rts.exp
create mode 100644 rts.sh
create mode 100644 rts.tests
commit aff17ace6d684e46b14eb2f7738790428c3b6cfc
Author: Bruce Guenter <bruce@untroubled.org>
Date: Tue Mar 20 04:30:07 2001 +0000
Removed the mailing list data from the makedist.in and added it to README.
README | 14 ++++++++++++--
makedist.in | 8 --------
2 files changed, 12 insertions(+), 10 deletions(-)
commit 7d5f274774fd887e73f90a062b0938d7f0f5cd94
Author: Bruce Guenter <bruce@untroubled.org>
Date: Tue Mar 20 04:27:55 2001 +0000
Bumped up version number.
VERSION | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit 37728ba372c9bd998b241cd0f1f52984b8b6a442
Author: Bruce Guenter <bruce@untroubled.org>
Date: Tue Mar 20 04:27:09 2001 +0000
Added note about new features.
Bumped version number.
NEWS | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
commit 8e6dd007d8c102de78216d2d270f33b2afd252ce
Author: Bruce Guenter <bruce@untroubled.org>
Date: Tue Mar 20 04:23:57 2001 +0000
Renamed the local-domain socket module to cvm-local:
cvm.html | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
commit 3287bdae5eec0b0360e6bb43ff1c590978a84f95
Author: Bruce Guenter <bruce@untroubled.org>
Date: Mon Mar 12 05:16:58 2001 +0000
Updated documentation for new server framework.
client.html | 4 ++--
cvm.html | 19 ++++++++++++++++---
errors.html | 24 ++++++++++++++++++++++++
module.html | 49 +++++++++++++++++++++++++++++++++----------------
protocol.html | 52 ++++++++++++++++++++++------------------------------
rationale.html | 44 ++++++++++++++++++++++++++++----------------
6 files changed, 125 insertions(+), 67 deletions(-)
create mode 100644 errors.html
commit 2268a04800b90a0abf157f974a114947341e3cab
Author: Bruce Guenter <bruce@untroubled.org>
Date: Sat Mar 10 10:24:51 2001 +0000
Rewrote the client library to do UDP calls.
client.c | 190 ++++++++++++++++++++++++++++++++++++++-----------------------
1 files changed, 118 insertions(+), 72 deletions(-)
commit e3f18ce746f113c066f0b562c2588394d82be6d0
Author: Bruce Guenter <bruce@untroubled.org>
Date: Sat Mar 10 10:24:14 2001 +0000
CVM clients now need the socket library.
cvm-testclient=x | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
commit 4f537f9509d570dad4b7a522b1754edb8aa2e3fd
Author: Bruce Guenter <bruce@untroubled.org>
Date: Sat Mar 10 10:23:51 2001 +0000
Further split up the CVM documentation, modified to account for upcoming
UDP modifications.
cvm.html | 195 ++------------------------------------------------------
protocol.html | 123 +++++++++++++++++++++++++++++++++++
rationale.html | 53 +++++++++++++++
3 files changed, 181 insertions(+), 190 deletions(-)
create mode 100644 protocol.html
create mode 100644 rationale.html
commit 7614e9153ecf9326551e74e2a24c4e337ed96c8b
Author: Bruce Guenter <bruce@untroubled.org>
Date: Sat Mar 10 10:22:40 2001 +0000
Shrank buffer size down to 512 bytes.
module_input.c | 2 +-
module_output.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
commit 199f458e28f9aa63c5e6180d2efa36fd2ee5804d
Author: Bruce Guenter <bruce@untroubled.org>
Date: Thu Mar 8 21:08:19 2001 +0000
Updated date.
README | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit 7c1defdeea064f57e65998f0ebb24c541b4b5239
Author: Bruce Guenter <bruce@untroubled.org>
Date: Wed Mar 7 23:25:54 2001 +0000
*** empty log message ***
NEWS | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
commit fb391630b67c6efc638cf25b08ad8be89a490e1b
Author: Bruce Guenter <bruce@untroubled.org>
Date: Wed Mar 7 06:04:34 2001 +0000
Bumped up version number.
NEWS | 5 +++++
README | 2 +-
VERSION | 2 +-
3 files changed, 7 insertions(+), 2 deletions(-)
commit 61f0d5e6cc162b10cc11a3af0e780149a82632fd
Author: Bruce Guenter <bruce@untroubled.org>
Date: Wed Mar 7 05:13:08 2001 +0000
Properly handle unsigned numbers, rejecting negatives.
Return error if parsing data fails, even if module returns OK.
client.c | 15 ++++++++++-----
1 files changed, 10 insertions(+), 5 deletions(-)
commit 3c9bbf02a13386897cef05fcb708e46d118d12b1
Author: Bruce Guenter <bruce@untroubled.org>
Date: Tue Feb 27 23:16:15 2001 +0000
Fixed to account for file name changes.
insthier.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
commit e98a40bb0ee83d0f934b95b993d0a238eadc7efc
Author: Bruce Guenter <bruce@untroubled.org>
Date: Tue Feb 27 23:15:15 2001 +0000
Fixed up date.
README | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
commit b1c4e59e7130f3d100474c137ce49632649c78d3
Author: Bruce Guenter <bruce@untroubled.org>
Date: Tue Feb 27 23:15:09 2001 +0000
Added shadow.lib dependancy to cvm-unix.
cvm-unix=x | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
commit d3e9b823eb23a821987564198018fde6d00930e0
Author: Bruce Guenter <bruce@untroubled.org>
Date: Fri Feb 23 23:27:40 2001 +0000
Renamed testcvmclient to cvm-testclient
testcvmclient.c => cvm-testclient.c | 0
testcvmclient=x => cvm-testclient=x | 0
2 files changed, 0 insertions(+), 0 deletions(-)
rename testcvmclient.c => cvm-testclient.c (100%)
rename testcvmclient=x => cvm-testclient=x (100%)
commit 779a2572e1b6f6ce116e265ac480d3be6c44bc01
Author: Bruce Guenter <bruce@untroubled.org>
Date: Fri Feb 23 23:18:02 2001 +0000
Added new library documentation.
client.html | 34 ++++++++++++++++++++++++++++++++++
cvm.html | 4 ++++
module.html | 25 +++++++++++++++++++++++++
3 files changed, 63 insertions(+), 0 deletions(-)
create mode 100644 client.html
create mode 100644 module.html
commit 7bb8c0920474bfb9838ce6203b3bfeed291d9aa1
Author: Bruce Guenter <bruce@untroubled.org>
Date: Fri Feb 23 23:17:48 2001 +0000
Fixed bug of using strtol instead of strtoul.
client.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit 015b0361f1d706c31d3f70fe2fe1d4ef8450ca37
Author: Bruce Guenter <bruce@untroubled.org>
Date: Fri Feb 23 23:17:30 2001 +0000
Bumped up version number.
NEWS | 9 +++++++++
VERSION | 2 +-
2 files changed, 10 insertions(+), 1 deletions(-)
commit b2059c0de39baa636b397f864c9e923764553d29
Author: Bruce Guenter <bruce@untroubled.org>
Date: Fri Feb 23 23:16:59 2001 +0000
Renamed cvm_unix to cvm-unix.
cvm_unix.c => cvm-unix.c | 0
cvm_unix=x => cvm-unix=x | 0
2 files changed, 0 insertions(+), 0 deletions(-)
rename cvm_unix.c => cvm-unix.c (100%)
rename cvm_unix=x => cvm-unix=x (100%)
commit affd58af588221d8995c4124064d26c4a6a713f7
Author: Bruce Guenter <bruce@untroubled.org>
Date: Fri Feb 23 06:29:57 2001 +0000
*** empty log message ***
README | 23 ++++++-----------------
makedist.in | 4 ++--
2 files changed, 8 insertions(+), 19 deletions(-)
commit 1bb91bb2ab79b5d7f93ec38f5e6ad7f31bdb65a5
Author: Bruce Guenter <bruce@untroubled.org>
Date: Fri Feb 23 06:26:42 2001 +0000
Added the makedist file.
makedist.in | 54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 54 insertions(+), 0 deletions(-)
create mode 100644 makedist.in
commit 80dbf7a93bec247add0c2366261c88f1a68993f8
Author: Bruce Guenter <bruce@untroubled.org>
Date: Fri Feb 23 06:24:31 2001 +0000
Fixed up distribution files.
README | 28 ++++++++++++++++++++++++++++
VERSION | 2 +-
spec | 41 +++++++++++++++++++++++++++++++++++++++++
3 files changed, 70 insertions(+), 1 deletions(-)
create mode 100644 NEWS
create mode 100644 README
create mode 100644 spec
commit e1a827619c89f298eb013e526a5de6c6260de35f
Author: Bruce Guenter <bruce@untroubled.org>
Date: Fri Feb 23 05:37:59 2001 +0000
Renamed testclient to testcvmclient.
testclient.c | 10 ----------
testcvmclient.c | 32 ++++++++++++++++++++++++++++++++
testclient=x => testcvmclient=x | 0
3 files changed, 32 insertions(+), 10 deletions(-)
delete mode 100644 testclient.c
create mode 100644 testcvmclient.c
rename testclient=x => testcvmclient=x (100%)
commit 5e2fedb65135d3a24ef00215bec7a9a697feedc2
Author: Bruce Guenter <bruce@untroubled.org>
Date: Fri Feb 23 05:37:48 2001 +0000
Install cvm_unix and testcvmclient in conf_bin.
insthier.c | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
commit 1f8329493eb5d421c1852b1a7a4ba20839129656
Author: Bruce Guenter <bruce@untroubled.org>
Date: Fri Feb 23 05:37:22 2001 +0000
Wait for program exit after killing the program to catch exit codes
properly.
client.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
commit ddc8cc1f8763c0168577d145d3201beb16721d82
Author: Bruce Guenter <bruce@untroubled.org>
Date: Fri Feb 23 05:24:15 2001 +0000
Renamed interface.html to cvm.html
interface.html => cvm.html | 17 ++++++++++++++++-
1 files changed, 16 insertions(+), 1 deletions(-)
rename interface.html => cvm.html (89%)
commit 1adb2c7f9b0862ec7ac5852700262dce77d986fd
Author: Bruce Guenter <bruce@untroubled.org>
Date: Fri Feb 23 05:15:28 2001 +0000
Renamed auth_sys to cvm_unix.
auth_sys.c => cvm_unix.c | 0
auth_sys=x => cvm_unix=x | 0
2 files changed, 0 insertions(+), 0 deletions(-)
rename auth_sys.c => cvm_unix.c (100%)
rename auth_sys=x => cvm_unix=x (100%)
commit a3606c8b481e028d9b6aa56cacff1248edc6c358
Author: Bruce Guenter <bruce@untroubled.org>
Date: Fri Feb 23 05:11:51 2001 +0000
Initial revision
VERSION | 1 +
auth_sys.c | 62 ++++++++++++++++++
auth_sys=x | 2 +
client.c | 158 +++++++++++++++++++++++++++++++++++++++++++++
client.h | 10 +++
client=l | 2 +
facts.c | 11 +++
facts.h | 25 +++++++
insthier.c | 1 +
interface.html | 190 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
module.h | 19 ++++++
module=l | 4 +
module_input.c | 54 ++++++++++++++++
module_main.c | 18 +++++
module_output.c | 59 +++++++++++++++++
testclient.c | 10 +++
testclient=x | 1 +
17 files changed, 627 insertions(+), 0 deletions(-)
create mode 100644 VERSION
create mode 100644 auth_sys.c
create mode 100644 auth_sys=x
create mode 100644 client.c
create mode 100644 client.h
create mode 100644 client=l
create mode 100644 facts.c
create mode 100644 facts.h
create mode 100644 insthier.c
create mode 100644 interface.html
create mode 100644 module.h
create mode 100644 module=l
create mode 100644 module_input.c
create mode 100644 module_main.c
create mode 100644 module_output.c
create mode 100644 testclient.c
create mode 100644 testclient=x
|