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
|
Sat Aug 8 17:35:14 1998 Joel N. Weber II <devnull@theobromine.ai.mit.edu>
* ftpd/ftpd.c (anonymous_login_name): New variable.
(main): Allow anonymous_login_name to be set with -a flag.
(user): Use anonymous_login_name.
Sun Apr 26 19:37:09 1998 Joel N. Weber II <nemo@nautilus.sub>
* syslogd/syslogd.c (logmsg): When opening the console device,
pass the O_NOCTTY flag to avoid acquiring a controlling tty.
(fprintlog): When opening a log file, pass the O_CREAT flags and
O_NOCTTY flags.
(cfline): Likewise.
Sat Apr 18 11:54:56 1998 Joel N. Weber II <nemo@nautilus.sub>
* syslogd/syslogd.c (cfline): Allow either spaces or tabs in
/etc/syslog.conf; previously, only tabs were allowed for
seperators.
Sun Apr 12 19:57:51 1998 Joel N. Weber II <nemo@nautilus.sub>
* whois/whois-servers: Added some comments explaining the search
path that the GNU whois client uses.
Fri Apr 10 11:13:51 1998 Joel N. Weber II <nemo@nautilus.sub>
* Changed the Makefile.am in daemon subdirectories to use
inetdaemondir instead of bindir.
Fri Apr 10 19:53:37 1998 Joel N. Weber II <nemo@koa.iolani.honolulu.hi.us>
* libinetutils/opieclient.c: Random cosmetic changes.
[HAVE_CONFIG_H]: Inclued config.h.
Fri Apr 10 11:13:51 1998 Joel N. Weber II <nemo@nautilus.sub>
* whois/main.c (main): Use inetutils_package and inetutils_version
rather than PACKAGE and VERSION.
Check the compiled in config file as the second-to-last resort.
(config_buffer_netwhois): New function, mostly created by ripping code
out of config_file_netwhois.
(config_file_netwhois): Use config_buffer_netwhois.
* whois/Makefile.am (whois_SOURCES): Added config.c.
(EXTRA_DIST): Added gen-config-c.
(config.c): Added a rule to generate it from whois-servers using the
gen-config-c script.
* Makefile.am (SUBDIRS): Added ping.
* configure.in: Call IU_ENABLE_CLIENT and AC_SUBST for whois.
Update the comment above the AC_SUBST calls for BUILD_<whatever>;
the change of moving AC_SUBST out of IU_ENABLE_FOO wasn't actually
necissary.
Test for -lz, since I will probably add code that uses it
eventually.
Supply a value for inetdaemondir.
Fri Apr 3 17:11:44 1998 Joel N. Weber II <nemo@koa.iolani.honolulu.hi.us>
* libtelnet/Makefile.am (libtelnet_a_SOURCES): Removed
krb4encpwd.c rsaencpwd.c spx.c; they don't meet our definition of
`free software'.
Thu Mar 26 20:40:06 1998 Joel N. Weber II <nemo@nautilus.sub>
* */Makefile.am: Use @BUILD_FOO@ to determine whether to build the
program.
* configure.in: Call IU_ENABLE_CLIENT for ping. Call AC_SUBST for
BUILD_PING.
* glob/Makefile.am (AUTOMAKE_OPTIONS): Removed; the options are
set adaquaely in ../Makefile.am.
(noinst_LIBRARIES): Use @BUILD_LIBGLOB@ rather than libglob.a
(EXTRA_LIBRARIES): Added libglob.a
* Makefile.am (DISTCLEANFILES): Added `include/*.h include/*/*.h
include/stamp-h'.
* acinclude.m4 (IU_ENABLE_FOO): Fix syntax errors. Remove call to
AC_SUBST; there are now many explicit calls to AC_SUBST to make
automake happy.
(IU_ENABLE_CLIENT): Use `clients' rather than `client' as the
second arg.
(IU_ENABLE_SERVER): Use `servers' rather than `server' as the
second arg.
* configure.in: For every IU_ENABLE_CLIENT and IU_ENABLE_SERVER
call, and an AC_SUBST call for the BUILD_FOO variable.
* telnet/main.c [ENCRYPTION || AUTHENTICATION || TN3270] (help):
Added a second arg to the call to `putc'.
* configure.in: Undo Jeff's previous change to this file, so that
changing the version number will not force me to wait 20+ minutes
(or so it seems) for the inetutils to be rebuilt after I change
the version number.
Rearrange a few macro calls that were added for the glob library
so that autoconf doesn't complain that they're out of order.
Removed some more of the old SUBDIRS cruft.
When setting enable_talk to `no' after not finding curses, also
set BUILD_TALK to the empty string.
Set the BUILD_LIBGLOB variable appropriately.
* ping/ping.c (version.h): Include it.
(show_usage): Use inetutils_bugaddr.
(main): Use inetutils_version rather than VERSION. Don't use
GNU_PACKAGE.
Thu Mar 26 20:47:00 1998 Jeff Bailey <jbailey@gnu.org>
* configure.in: put VERSION, PACKAGE, and GNU_PACKAGE back in.
* ping/ping.c: Create
* ping/Makefile.am: Update with ping.c
Thu Mar 26 00:08:39 1998 Joel N. Weber II <nemo@nautilus.sub>
* ftp/main.c (cmdscanner): Added new code that is used to replace
some old code iff HAVE_LIBREADLINE.
* ftp/ftp_var.h [HAVE_LIBREADLINE]: Declare `char *line' instead
of `char line[200]'.
* ftp/Makefile.am (LDADD): Added `$(LIBTERMCAP)'.
* Makefile.am (SUBDIRS): Added whois.
(DISTCLEANFILES): Added `pathdefs.make paths.defs'.
* configure.in: Removed some old cruft related to the old system
of not building some directoies.
Added calls to IU_ENABLE_SERVER and IU_ENABLE_CLIENT.
Added checks for libtermcap, libreadline, and libopie.
Generate whois/Makefile.
* acinclude.m4 (IU_ENABLE_FOO): New AC_DEFUN.
(IU_ENABLE_CLIENT): Likewise.
(IU_ENABLE_SERVER): Likewise.
Tue Mar 24 11:46:55 1998 Joel N. Weber II <nemo@koa.iolani.honolulu.hi.us>
* Ran the command for i in `grep man_MANS */Makefile.am|awk -F: '{
print $1 }'`; do (echo;echo 'EXTRA_DIST = $(man_MANS)') >> $i;
done
* configure.in (AM_INIT_AUTOMAKE): Added a third argument to
suppress VERSION and PACKAGE symbols from appearing in config.h
Added much code that was formerly in glob/configure.in, before I
removed that file.
Add glob/Makefile to the `AC_OUTPUT' call.
* headers/Makefile.am (EXTRA_DIST): Added `confpaths.h.in'.
* ftp/Makefile.am (LDADD): Added `$(LIBGLOB)'.
* Makefile.am (EXTRA_DIST): Added paths.
(SUBDIRS): Added glob.
* uucpd/Makefile.am (INCLUDES): Added `$(PATHDEF_TTY)'.
(LDADD): Added `-L../libinetutils -linetutils'.
* telnetd/Makefile.am: Added a line that reads `@PATHDEFS_MAKE@'.
(INCLUDES): Added `$(PATHDEF_TTY) $(PATHDEF_LOGIN)'.
* talkd/Makefile.am: Added a line that reads `@PATHDEFS_MAKE@'.
(INCLUDES): Added `$(PATHDEF_DEV)'.
* syslogd/Makefile.am: Added a line that reads `@PATHDEFS_MAKE@'.
(INCLUDES): Added `$(PATHDEF_LOG) $(PATHDEF_LOGCONF) $(PATHDEF_LOGPID)
$(PATHDEF_CONSOLE)'.
* rshd/Makefile.am (INCLUDES): Added `$(PATHDEF_BSHELL)
$(PATHDEF_NOLOGIN) $(PATHDEF_DEFPATH)'.
Added a line reading `@PATHDEFS_MAKE@'.
* rlogind/Makefile.am (INCLUDES): Added `$(PATHDEF_DEV)
$(PATHDEF_LOGIN)'.
Added a line reading `@PATHDEFS_MAKE@'.
* rexecd/Makefile.am (INCLUDES): Added `$(PATHDEF_DEFPATH)
$(PATHDEF_BSHELL)'.
(LDADD): Added `-L../libinetutils -linetutils'.
Added a line reading `@PATHDEFS_MAKE@'.
* rcp/Makefile.am (INCLUDES): Added `$(PATHDEF_BSHELL)'.
* libinetutils/Makefile.am (INCLUDES): Added `$(PATHDEF_TTY_PFX)
$(PATHDEF_DEVNULL) $(PATHDEF_HEQUIV)'.
* inetd/Makefile.am (LDADD): Added `-L../libinetutils
-linetutils'.
* ftpd/Makefile.am (INCLUDES): Added `$(PATHDEF_DEVNULL)
$(PATHDEF_NOLOGIN) $(PATHDEF_BSHELL)'.
* ftp/Makefile.am (INCLUDES): Added `$(PATHDEF_TMP)
$(PATHDEF_BSHELL)'.
Added a line reading `@PATHDEFS_MAKE@'.
Tue Mar 24 00:28:27 1998 Joel N. Weber II <nemo@nautilus.sub>
* telnet/Makefile.am (noinst_HEADERS): Remove krb4-proto.h;
Kerberos 4 doesn't meet our definition of `free software'.
(INCLUDES): Add `-DTERMCAP -DLINEMODE -DKLUDGELINEMODE -DENV_HACK'.
(LDADD): Add `-L../libinetutils -L../libtelnet -linetutils -ltelnet
$(LIBTERMCAP) $(LIBCRYPT)'.
(LIBTERMCAP): Set make variable from coresponding configure variable
(LIBCRYPT): Likewise.
* uucpd/Makefile.am (INCLUDES): Added `$(PATHDEF_UUCICO)'.
Added a line that reads `@PATHDEFS_MAKE@'.
* tftpd/Makefile.am (noinst_HEADERS): Removed tftpsubs.h
(LDADD): Added `-L../libinetutils -linetutils'.
* tftp/Makefile.am (tftp_SOURCES): Removed tftpsubs.c; that file
has been moved to ../libinetutils.
(noinst_HEADERS): Removed tftpsubs.h; that file has been moved to
../headers.
(LDADD): Added `-L../libinetutils -linetutils'.
Mon Mar 23 11:47:37 1998 Joel N. Weber II <nemo@nautilus.sub>
* telnetd/Makefile.am (LIBTERMCAP, LIBCRYPT, LIBUTIL): Set make
variables corresponding to the configure variables.
(LDADD): Added `-L../libinetutils -L../libtelnet -linetutils -ltelnet
$(LIBTERMCAP) $(LIBUTIL) $(LIBCRYPT)'.
* talkd/Makefile.am (LDADD): Added `-L../libinetutils
-linetutils'.
* talk/Makefile.am (INCLUDES): Added `$(NCURSES_INCLUDE)'.
(LDADD): Added `$(LIBCURSES) -L../libinetutils -linetutils'.
* syslogd/Makefile.am (LDADD): Added `-L../libinetutils
-linetutils'.
* rshd/Makefile.am (LDADD): Added `-L../libinetutils -linetutils'.
* rlogin/Makefile.am (LDADD): Added `-L../libinetutils
-linetutils'.
* rlogind/Makefile.am (LDADD): Added `-L../libinetutils
-linetutils'.
* rcp/Makefile.am (INCLUDES): Added `$(PATHDEF_RSH)
$(PATHDEF_CP)'.
(LDADD): Added `-L../libinetutils -linetutils'.
Added a line `@PATHDEFS_MAKE@'.
* ftpd/Makefile.am (INCLUDES): Added `$(PATHDEF_FTPWELCOME)
$(PATHDEF_FTPUSERS) $(PATHDEF_FTPLOGINMESG)'.
(LDADD): Added `-L../libinetutils -L../libtelnet -linetutils -ltelnet'.
Added the line `@PATHDEFS_MAKE@'.
* ftp/Makefile.am (LDADD): Added ../libinetutils -linetutils.
* libinetutils/Makefile.am (libinetutils_a_SOURCES): Removed
version.c and all the files covered by @LIBOBS@
(libinetutils_a_LIBADD): Add @LIBOBJS@
(noinst_HEADERS): Removed version.h
* configure.in: Removed some old, commented-out cruft.
Removed some old code related to the @DIRS@ hack; that code will
not be needed in the future.
Reinstalled some code that deals with having both a `headers' and
`include' tree.
Removed the iruserok from one of the two places where it appeared
in the AC_REPLACE_FUNCS call.
Reinstalled the line `AC_REPLACE_FUNCS(revoke)'; it had been
commented out, but I see no ChangeLog entry explaining why, and I
suspect that it should not have been commented out.
Changed the message that was `checking for system glob is ok' to
`checking for ok system glob'.
Call `AC_SUBST(VERSION)'.
In the call to AC_OUTPUT, added version.h.
Sun Mar 22 16:13:49 1998 Joel N. Weber II <nemo@nautilus.sub>
* Makefile.am (SUBDIRS): Use an explicit list, rather than @DIRS@.
Removed some random cruft that I'd previously mistakenly added
that is not necissary.
* headers/Makefile.am (EXTRA_DIST): Renamed variable from
noinst_HEADERS. Added tftpsubs.h. Changed version.h to
version.h.in.
(dist-hook): Added to distribute some files in the arpa and protocols
directories.
* inetd/Makefile.am (INCLUDES): Use $(PATHDEF_INETDCONF) instead
of the old hardcoded value.
Added a line that reads `@PATHDEFS_MAKE@'
Mon Mar 9 17:04:55 1998 Joel N. Weber II <nemo@koa.iolani.honolulu.hi.us>
* inetd/Makefile.am (INCLUDES): Set PATH_INETDCONF.
Thu Jan 08 00:16:00 1997 Jeff Bailey <jbailey@gnu.org>
* Makefile.am, configure.in: Don't actually define SUBDIRS
in configure.in - That confuses automake. Define DIRS instead,
and refer to it in Makefile.am. Fixes make problems.
Wed Dec 31 14:24:00 1997 Jeff Bailey <jbailey@gnu.org>
* Makefile.am: Make SUBDIRS based on autoconf variable.
* configure.in: Add the --enable-servers,client back in.
Wed Dec 10 23:14:00 1997 Jeff Bailey <jbailey@gnu.org>
* configure.in, headers/config.h.in: Build test cases
for integrating pathdefs.make into config.h for cleaner
Makefiles. See TEEHEE/LALA combo in configure.in for sample.
Tue Dec 09 18:18:00 1997 Jeff Bailey <jbailey@gnu.org>
* acheader.h: Remove __BSD_SOURCE define
Mon Dec 08 18:12:00 1997 Jeff Bailey <jbailey@gnu.org>
* headers/Makefile.am: Create
* ping/Makefile.am: Create
* rexecd/Makefile.am: Create
* rlogin/Makefile.am: Create
* rlogind/Makefile.am: Create
* rsh/Makefile.am: Create
* rshd/Makefile.am: Create
* syslog/Makefile.am: Create
* syslogd/Makefile.am: Create
* talk/Makefile.am: Create
* talkd/Makefile.am: Create
* telnet/Makefile.am: Create
* telnetd/Makefile.am: Create
* tftp/Makefile.am: Create
* tftpd/Makefile.am: Create
* uucpd/Makefile.am: Create
* libinetutils/Makefile.am: Create
* libtelnet/Makefile.am: Create
* configure.in: Modify for automake
* iumacros.m4: Rename to acinclude.m4
* Makefile.am: Update for directory order
* headers/acconfig.h: move to ..
* headers/stamp-h.in: Create
* acconfig.h: Update with automake defines
Sun Dec 07 18:04:00 1997 Jeff Bailey <jbailey@gnu.org>
* Makefile.am: Create
* ftp/Makefile.am: Create
* ftpd/Makefile.am: Create
* inetd/Makefile.am: Create
* rcp/Makefile.am: Create
* missing: add
* mkinstalldirs: add
* install-sh: add
* config.guess: add
* config.sub: add
* INSTALL: add
* COPYING: add
* configure.in: Add automake hooks.
* config.make.in: Remove
* rules.make: Remove
1997-09-18 Miles Bader <miles@gnu.ai.mit.edu>
* libtelnet/kerberos.c (krb_mk_req, krb_rd_req, krb_kntoln,
krb_get_cred, krb_get_lrealm, kuserok): Declarations removed.
(kerberos4_send, kerberos4_is, kerberos4_reply): Pass addresses of
session key args to des functions.
* libtelnet/encrypt.h (Schedule): Don't use _ as a field name.
* rlogind/rlogind.c: Replace #ifdefs of CRYPT with ENCRYPTION.
(do_krb_login): Pass *address* of KDATA->session to des_set_key.
* rlogind/Makefile.in (LDLIBS): Add $(LIBAUTH).
* libtelnet/enc-proto.h (des_new_random_key,
des_set_random_generator_seed, des_key_sched, des_ecb_encrypt,
des_string_to_key): Declarations removed.
* libtelnet/kerberos.c: Change includes of <des.h> & <krb.h> to
<kerberosIV/des.h> & <kerberosIV/krb.h>.
* libtelnet/krb4encpwd.c: Likewise.
* rsh/rsh.c (main): Pass *address* of CRED.session to des_set_key.
* rlogin/rlogin.c (main): Likewise.
1997-09-22 Miles Bader <miles@gnu.ai.mit.edu>
* libinetutils/version.c (inetutils_version): Change to `1.3.1c'.
* inetd/inetd.c (print_service): Use long instead of int for
pointer<->int conversion.
* ftpd/ftpd.c (main): Likewise.
* telnetd/sys_term.c (addarg): Likewise.
Mon Sep 22 19:49:42 1997 Philippe De Muyter <phdm@info.ucl.ac.be>
* headers/accconfig.h (HAVE_TTYNAME_DECL): New define slot.
(HAVE_GETGRNAM_DECL): Ditto.
(ttyname): New function prototype #ifndef HAVE_TTYNAME_DECL.
(getgrnam): Likewise.
* inetd/inetd.c (sys/wait.h): File included only if HAVE_SYS_WAIT_H.
* ftpd/ftpd.c, ftpd/popen.c, telnetd/defs.h (sys/wait.h): Ditto.
* uucpd/uucpd.c, syslogd/syslogd.c, ftp/cmds.c (sys/wait.h): Ditto.
* rcp/util.c, rlogin/rlogin.c, talkd/announce.c (sys/wait.h): Ditto.
* syslogd/syslogd.c (sys/resource.h): File included only if
HAVE_SYS_RESOURCE_H.
* rlogin/rlogin.c (sys/resource.h): Ditto.
* configure.in (AC_CHECK_HEADERS): Check for existence of sys/wait.h
and sys/resource.h.
(IU_CHECK_DECL): Check for declaration of ttyname in unistd.h and
getgrnam in grp.h.
* libinetutils/openpty.c (termio.h): File included if HAVE_TERMIO_H.
(TCSAFLUSH): Macro defined if needed.
1997-09-17 Miles Bader <miles@gnu.ai.mit.edu>
* libinetutils/version.c (inetutils_version): Change to `1.3.1b'.
* ftp/domacro.c: Make inclusion of <string.h> unconditional.
* libinetutils/daemon.c (STDIN_FILENO, STDOUT_FILENO,
STDERR_FILENO): Macros removed.
Wed Sep 17 18:14:48 1997 Philippe De Muyter <phdm@info.ucl.ac.be>
* configure.in ({STDIN,STDOUT,STDERR}_FILENO): Create definitions for
those macros if they are not defined in unistd.h.
* headers/acconfig.h ({STDIN,STDOUT,STDERR}_FILENO): New define slots.
Mon Mar 3 17:56:36 1997 Philippe De Muyter <phdm@info.ucl.ac.be>
* headers/acconfig.h (HAVE_HOSTENT_H_ADDR_LIST): New macro;
(HAVE_GETCWD_DECL, HAVE_GETLOGIN_DECL): New macros.
getcwd, getlogin, getpass: New prototypes, if needed.
* inetd/inetd.c (sys/resource.h): File included only if
HAVE_SYS_RESOURCE_H.
(SIGCHLD): Macro defined if not defined.
* ftp/ftp.c (hookup): Fixed if not HAVE_HOSTENT_H_ADDR_LIST;
do not call fdopen twice with the same file descriptor.
* ftp/domacro.c (string.h): File included instead of strings.h if
needed.
* ftp/extern.h (getpass): Declaration removed.
* libtelnet/read_passwd.c: File renamed from read_password.c (> 14).
* libtelnet/Makefile.in (SRCS): Reference read_passwd.c, not
read_password.c.
* libinetutils/localhost.c (localhost): Test ENAMETOOLONG only if
defined.
* libinetutils/daemon.c (STD{IN,OUT,ERR}_FILENO): Macros defined if
not defined.
* libinetutils/iruserok.c (ruserok, __icheckhost): Fixed if not
HAVE_HOSTENT_H_ADDR_LIST.
* configure.in (getcwd, getlogin): Check declarations with
IU_CHECK_DECL.
(h_addr_list): Check if field exist using IU_CHECK_STRUCT_FIELD.
1997-09-15 Miles Bader <miles@gnu.ai.mit.edu>
* libinetutils/localhost.c: Protect include of <malloc.h>.
* libinetutils/version.c (inetutils_version): Change to `1.3.1a'.
* libinetutils/ttymsg.c (ttymsg): Dynamically allocate DEVICE.
[!O_NONBLOCK && O_NDELAY] (O_NDELAY): New macro.
1997-09-12 Miles Bader <miles@gnu.ai.mit.edu>
* rlogin/Makefile.in (SRCS, HDRS, OBJS): Variables removed.
(DISTFILES): Don't use $(SRCS) & $(HDRS).
(CLEAN): Don't use $(OBJS).
(rlogin): Rule removed.
* krb.h: File removed.
* rsh/rsh.c, rshd/rshd.c: Replace #ifdefs of CRYPT with ENCRYPTION.
* rsh/Makefile.in, rshd/Makefile.in (LDLIBS): New variable.
* libinetutils/krcmd.c, libinetutils/kcmd.c, libinetutils/des_rw.c:
New files (moved from rlogin directory).
* rlogin/krcmd.c, rlogin/kcmd.c, rlogin/des_rw.c: Files removed
(moved to libinetutils directory).
* libinetutils/Makefile.in (SRCS): Add krcmd.c, kcmd.c, & des_rw.c.
(OBJS): Add krcmd.o, kcmd.o, & des_rw.o.
* rlogin/kcmd.c: Protect whole file with #ifdef KERBEROS.
From Alexandre Oliva <oliva@dcc.unicamp.br>:
* syslogd/syslogd.c (cfline): Remove declaration of hstrerror.
* telnetd/utility.c (fatalperror): Remove declaration of strerror.
1997-09-11 Miles Bader <miles@gnu.ai.mit.edu>
* rlogin/des_rw.c (des_set_key): Function removed.
* rlogin/rlogin.c, rlogin/krcmd.c, rlogin/des_rw.c: Replace
#ifdefs of CRYPT with ENCRYPTION.
* rlogin/kcmd.c, rlogin/rlogin.c: Don't include "krb.h"
* rlogin/Makefile.in (SRCS, HDRS, OBJS, LDLIBS): New variables.
(DISTFILES): Base on $(SRCS) and $(HDRS).
(CLEAN): Base on $(OBJS).
(rlogin): New rule.
* configure.in: If authentication is enabled, also define KERBEROS.
* headers/acconfig.h (KERBEROS): New define slot.
* libinetutils/version.c (inetutils_version): Change to `1.3.1'.
1997-09-10 Miles Bader <miles@gnu.ai.mit.edu>
* libinetutils/version.c (inetutils_version): Change to `1.3b'.
* ftp/cmds.c (lcd): Conditionalize use of getcwd with a zero size arg.
* configure.in: Check if getcwd (0, 0) is ok.
* headers/acconfig.h (HAVE_GETCWD_ZERO_SIZE): New define slot.
From Martin Buck <Martin-2.Buck@student.uni-ulm.de>:
* telnet/sys_bsd.c (TerminalNewMode): Don't limit to 7-bits when
not in binary mode.
1997-07-28 Miles Bader <miles@gnu.ai.mit.edu>
* ftp/ftp.c (recvrequest, gunique): Get rid of
perm-checking-with-access crap.
1997-05-27 Miles Bader <miles@gnu.ai.mit.edu>
* iumacros.m4: Doc fixes.
Tue Mar 4 12:49:00 1997 Philippe De Muyter <phdm@info.ucl.ac.be>
* paths (PATH_TMP): Added a trailing '/' to default value.
Mon Mar 3 23:53:45 1997 Philippe De Muyter <phdm@info.ucl.ac.be>
* headers/acconfig.h (HAVE_SYS_ERRLIST): New macro.
(getpass, hstrerror, strerror): New function declarations, if needed.
* inetd/inetd.c (reapchild): Use wait, if not HAVE_WAIT3.
* libinetutils/hstrerror.c (hstrerror): Function made const.
* libinetutils/strerror.c (strerror): Function made const.
(sys_nerr): Fixed variable name.
* configure.in (sys_errlist): If variable exists,
AC_DEFINE(HAVE_SYS_ERRLIST).
Thu Apr 17 12:47:31 1997 Miles Bader <miles@gnu.ai.mit.edu>
* libinetutils/version.c (inetutils_version): Change to `1.3a'.
Fri Feb 28 17:05:15 1997 Miles Bader <miles@gnu.ai.mit.edu>
* ftpd/ftpd.c (complete_login): Don't segv if CRYPT returns 0.
From: Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>:
* configure.in (sigset_t): Add missing comma.
* rcp/rcp.c (source): Print longer-than-long numbers correctly.
* ftpd/ftpcmd.y: Likewise.
* ftp/cmds.c (restart): Likewise.
Tue Feb 25 18:21:18 1997 Miles Bader <miles@gnu.ai.mit.edu>
From David J MacKenzie <djm@va.pubnix.com>:
* tftpd/tftpd.c (validate_access): Truncate files opened for writing.
* ftp/ftp.c (login): Deal correctly with EOF to Name: prompt.
Mon Feb 24 00:19:06 1997 Miles Bader <miles@gnu.ai.mit.edu>
* libinetutils/version.c (inetutils_version): Change to `1.3'.
* libinetutils/version.c (inetutils_version): Change to `1.2o'.
* libinetutils/snprintf.c, libinetutils/snprintf.h: Updated from
snprintf-1.1.
Sun Feb 23 13:22:41 1997 Miles Bader <miles@gnu.ai.mit.edu>
* iumacros.m4 (IU_LIB_NCURSES): Add -with[out]-ncurses-include-dir
options. Search $includedir and $prefix/include first in default list.
From NIIBE Yutaka <gniibe@mri.co.jp>:
* talk/ctl_transact.c (ctl_transact): Zero CTL_MASK before using.
* libinetutils/version.c (inetutils_version): Change to `1.2n'.
* rules.make ($(bindir)/%: % $(bindir)): Test $USER as well as the
output of whoami, for linux boxes with a broken whoami.
Fri Feb 21 14:16:31 1997 Miles Bader <miles@gnu.ai.mit.edu>
* libinetutils/iruserok.c (iruserok): Dynamically allocate PBUF
instead of using MAXPATHLEN.
(__ivaliduser): Dynanamically allocage BUF rather than using
MAXHOSTNAMELEN.
[STDC_HEADERS || HAVE_STDLIB_H]: New include.
[HAVE_MALLOC_H] <malloc.h>: New include.
Thu Feb 20 14:40:00 1997 Miles Bader <miles@gnu.ai.mit.edu>
* libinetutils/version.c (inetutils_version): Change to `1.2m'.
* syslog.c: New file.
* libinetutils/Makefile.in (SRCS): Add syslog.c.
Wed Feb 19 10:02:44 1997 Miles Bader <miles@gnu.ai.mit.edu>
* iumacros.m4 (IU_LIB_NCURSES): Add search for NCURSES_INCLUDE.
* config.make.in (NCURSES_INCLUDE): New variable.
* talk/Makefile.in (CPPFLAGS): Add $(NCURSES_INCLUDE).
* headers/acconfig.h (HAVE_SOCKADDR_IN_SIN_LEN): New define slot.
* iumacros.m4 (IU_CONFIG_PATHS): Give up on using IFS to break
apart search: paths, just use sed.
From NIIBE Yutaka <gniibe@mri.co.jp>:
* talk/ctl.c (daemon_addr, ctl_addr, my_addr): Leave length out of
initialization if !HAVE_SOCKADDR_IN_SIN_LEN.
* talk/invite.c (invite_remote): Use memcpy instead of bcopy.
* talk/look_up.c (check_local): Likewise.
* configure.in: Add check for sin_len field in struct sockaddr_in.
Fix test for whether we should build talk.
Tue Feb 18 22:09:51 1997 Miles Bader <miles@gnu.ai.mit.edu>
* iumacros.m4 (IU_CONFIG_PATHS): Use `set' instead of `read' with
a here document, because the latter fucks up in some shells.
Tue Feb 18 20:14:48 1997 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* configure.in: Add AC_STRUCT_ST_BLKSIZE test.
* ftp/cmds.c: Include glob.h last, it defines "const" to null
which breaks some system headers.
* ftp/ftp.c (recvrequest): Handle missing st_blksize member.
* ftp/ftp_var.h: Make all declarations extern except in one file
to avoid conflicts when linking.
* ftp/main.c (FTP_EXTERN): Activate this macro so the declarations
in ftp/ftp_var.h become definitions.
* ftpd/ftpcmd.y: Include glob.h last, it defines "const" to null
which breaks some system headers.
* ftpd/popen.c: Likewise.
* ftpd/ftpd.c: Likewise. Also handle missing st_blksize member.
* headers/acconfig.h: Normalize variable argument list usage.
Also add support to handle missing st_blksize member.
* libinetutils/snprintf.c: Normalize variable argument list usage.
* libinetutils/snprintf.h: Likewise. Also constify DATA.pf member.
* rcp/util.c: Handle missing st_blksize member.
* rexecd/rexecd.c: Make environ extern to avoid link time conflicts.
* rshd/rshd.c: Likewise.
* telnetd/ext.h: Make terminaltype and line be extern to avoid
link time conflicts.
* telnetd/sys_term.c (rmut): protect use of ut_host member.
* telnetd/telnetd.c (main, doit): Likewise.
(utmp_len): Only declare if HAVE_UTMP_UT_HOST.
* tftp/extern.h (toplevel): New declaration.
* tftp/tftp.c (toplevel): Duplicate definition removed.
* uucpd/uucpd.c (dologout): Remove unused status variable. Add a
case for HAVE_WAITPID.
Tue Feb 18 01:13:16 1997 Miles Bader <miles@gnu.ai.mit.edu>
From Alain Magloire <alain.magloire@rcsm.ee.mcgill.ca>:
* ftpd/ftpd.c (dologout): Small race condition with SIGURG (D. Greenman)
* ftpd/popen.c (popen): Buffer overflow in argv[] (AUSCERT)
* ftpd/ftpcmd.y: check_login for PASV (*Hobbit)
* libinetutils/version.c (inetutils_version): Change to `1.2l'.
* libinetutils/snprintf.c (vsnprintf): New function, slightly
modified from snprintf.
[!HAVE_SNPRINTF] (snprintf): Now a wrapper that calls vsnprintf.
Change param types to match conventional signature.
[HAVE_CONFIG_H] <config.h>: New include.
From Marcus Daniels <marcus@sysc.pdx.edu>:
* configure.in (AC_REPLACE_FUNCS): Add xstrup & getusershell.
(vsnprintf): Check for, and possibly replace, this function.
* headers/acconfig.h: Declare vsnprintf if the system doesn't.
(HAVE_VSNPRINTF): New define slot.
* rules.make ($(bindir)/%: % $(bindir)): If $(INST_PROG_FLAGS) is
non-empty, only do the install if we're root.
* libinetutils/Makefile.in (SRCS): Add getusershell.c & xstrdup.c.
Mon Feb 17 15:08:59 1997 Miles Bader <miles@gnu.ai.mit.edu>
* libinetutils/version.c (inetutils_version): Change to `1.2k'.
From Alain Magloire <alain.magloire@rcsm.ee.mcgill.ca>:
* talkd/announce.c (strvis): Use '\007' for systems that don't
recognize '\a'.
(announce): Don't pass TF argument to print_mesg.
(print_mesg): Remove TF parameter.
Free VIS_USER after we're done with it.
* talkd/process.c (process_request): Cast 0 argument to htonl.
* libinetutils/ttymsg.c (ttymsg): Add check for dangerous values
of LINE, and guard against buffer overflow.
* Makefile.in (DISTFILES): Add THANKS.
* THANKS: New file.
* libinetutils/snprintf.c: Real snprintf replacement, from
Alain Magloire <alain.magloire@rcsm.ee.mcgill.ca>.
* libinetutils/snprintf.h: New file.
* libinetutils/Makefile.in (DISTFILES): Add snprintf.h.
From NIIBE Yutaka <gniibe@mri.co.jp>:
* telnetd/sys_term.c (scrub_env): New function.
(start_login): Use it.
* ftp/ruserpass.c (ruserpass): Use snprintf instead of sprintf.
* ftpd/ftpd.c (retrieve): Likewise.
* telnetd/utility.c (fatal, fatalperror): Likewise.
* telnetd/sys_term.c (startslave, start_login): Likewise.
* talkd/announce.c (print_mesg): Likewise.
* syslogd/syslogd.c (main, fprintlog, cfline): Likewise.
* rlogind/rlogind.c (fatal): Likewise.
* rexecd/rexecd.c (error): Likewise.
* ping/ping.c (pr_addr): Likewise.
* inetd/inetd.c (set_proc_title): Likewise.
* iumacros.m4 (IU_LIB_TERMCAP): See if -lcurses works too.
(IU_LIB_CURSES): Don't check whether curses needs termcap if
$LIBCURSES == $LIBTERMCAP.
Sun Feb 16 21:45:02 1997 Miles Bader <miles@gnu.ai.mit.edu>
* telnetd/defs.h, rlogind/rlogind.c, rlogin/rlogin.c <sys/proc.h>:
Include removed.
Thu Jan 23 18:25:01 1997 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* configure.in: Add checks for sys/proc.h, sys/select.h and
sys/time.h. Add AC_HEADER_TIME check. Add checks for seteuid,
setegid, setreuid, setregid, setresuid, setresgid, killpg,
setlinebuf, utimes and utime. Add AC_FUNC_SETVBUF_REVERSED and
AC_FUNC_VFORK tests.
* ftp/cmds.c: Use TIME_WITH_SYS_TIME macro for time.h headers.
* ftp/ftp.c: Likewise. Also include sys/select.h for fd_set on AIX.
* ftp/ftp_var.h: Make declarations of mapin/mapout be extern so
they don't collide with their definitions below.
* ftpd/ftpcmd.y: Include sys/types.h and use TIME_WITH_SYS_TIME
macro. Also make declarations of cmttab/sitetab be extern so
they don't collide with their definitions below.
* ftpd/ftpd.c: Use TIME_WITH_SYS_TIME macro.
* headers/acconfig.h: Provide fallback definitions for killpg,
seteuid and setegid.
* inetd/inetd.c: Include sys/types.h, use TIME_WITH_SYS_TIME macro
and include sys/select.h.
* libinetutils/xmalloc.c: New file (to support alloca.c.)
* libinetutils/Makefile.in: Add xmalloc.c to $(SRCS), add
xmalloc.o to $(OBJS).
* libinetutils/cleansess.c: Use TIME_WITH_SYS_TIME macro.
* libinetutils/iruserok.c: Likewise.
* libinetutils/logout.c: Likewise.
* libinetutils/logwtmp.c: Likewise.
* libinetutils/localhost.c: Include stdlib.h to prototype malloc().
* libtelnet/spx.c (spx_send, spx_is): remove superfluous casts.
* rcp/rcp.c: Use TIME_WITH_SYS_TIME macro. Use utime() if
utimes() is missing. Cast 4th arg of setsockopt() in toremote()
and tolocal() functions.
* rexecd/rexecd.c: Include sys/types.h, use TIME_WITH_SYS_TIME
macro and include sys/select.h.
* rlogin/rlogin.c: Include sys/types.h and use TIME_WITH_SYS_TIME
macro. Include sys/proc.h on hpux only. Cast 4th arg of
setsockopt() in main().
* rlogind/rlogind.c: Use TIME_WITH_SYS_TIME macro. Include
sys/proc.h on hpux only. Include sys/select.h. Cast 4th arg of
setsockopt() in main().
* rsh/rsh.c: Use TIME_WITH_SYS_TIME macro. Include sys/select.h.
Cast 4th arg of setsockopt() in main().
* rshd/rshd.c: Use TIME_WITH_SYS_TIME macro. Include sys/select.h.
* syslogd/syslogd.c: Use TIME_WITH_SYS_TIME macro. Include
sys/select.h. Include syslog.h, not sys/syslog.h. Handle missing
setlinebuf() function in main().
* talk/ctl_transact.c: Use TIME_WITH_SYS_TIME macro. Include
sys/select.h.
* talk/get_names.c: Include sys/types.h.
* talk/invite.c: Use TIME_WITH_SYS_TIME macro.
* talk/io.c: Use TIME_WITH_SYS_TIME macro. Include sys/select.h.
* talk/msgs.c: Use TIME_WITH_SYS_TIME macro.
* talkd/announce.c: Use TIME_WITH_SYS_TIME macro. Include stdlib.h
to prototype malloc(). Remove superfluous cast of malloc() in
function print_mesg().
* talkd/table.c: Use TIME_WITH_SYS_TIME macro.
* talkd/talkd.c: Use TIME_WITH_SYS_TIME macro.
* telnet/commands.c: Include stdlib.h to prototype malloc().
Only prototype strchr()/strrchr()/htons() if they are not macros.
Avoid superfluous cast of malloc() in function env_init().
* telnet/externs.h: Include termio.h & termios.h, not sys/termio.h
& sys/termios.h.
* telnet/main.c: Only prototype strrchr() if its not a macro.
* telnet/network.c: Use TIME_WITH_SYS_TIME macro. Include
sys/select.h.
* telnet/sys_bsd.c: Likewise.
* telnet/telnet.c: Include stdlib.h to prototype malloc().
* telnet/utilities.c: Use TIME_WITH_SYS_TIME macro.
* telnetd/defs.h: Use TIME_WITH_SYS_TIME macro. Include
sys/proc.h on hpux only. Do #undef SE to avoid redecl warnings.
* telnetd/telnetd.c (telnet): Do #undef HE to avoid redecl warnings.
* telnetd/utility.c (edithost, putf): Only prototype
strncpy()/strchr()/strrchr() if they are not macros.
* tftp/tftp.c: Use TIME_WITH_SYS_TIME macro.
* uucpd/uucpd.c: Likewise. Also, wrap comments after #else and
#endif with /* */ in all cases.
Fri Jan 24 14:17:08 1997 Miles Bader <miles@gnu.ai.mit.edu>
* libinetutils/version.c (inetutils_version): Change to `1.2j'.
* iumacros.m4 (IU_CONFIG_PATHS): Temporarily suppress autoconf
quoting around regexps containing "[" and "]".
* paths (PATH_UTMP, PATH_WTMP, PATH_LASTLOG): Add /var/adm to file
search path.
* config.make.in (CPPFLAGS): Add $(CPPFLAGS-$(<F)).
* libinetutils/Makefile.in (CPPFLAGS): Remove $(CPPFLAGS-$(<F)).
(CPPFLAGS-logout.c, CPPFLAGS-logwtmp.c, CPPFLAGS-logwtmpko.c,
CPPFLAGS-ttymsg.c, CPPFLAGS-cleansess.c, CPPFLAGS-daemon.c):
New variables.
(CPPFLAGS): Variable removed.
* telnet/commands.c (set_mode): Renamed from setmode, to avoid
conflict with netbsd <unistd.h>; all references changed.
(clear_mode): Renamed from clearmode, for consistency with
setmode; all references changed.
* iumacros.m4 (IU_LIB_NCURSES): New macro.
(IU_LIB_TERMCAP): Use IU_LIB_NCURSES, and prefer ncurses as the
termcap library when it exists.
(IU_LIB_CURSES): Special case ncurses (it never requires termcap).
(_iu_curses_needs_termcap): Macro removed.
* uucpd/uucpd.c (doit): Use PATH_UUCICO instead of _PATH_UUCICO.
(dologin): Use PATH_LASTLOG instead of _PATH_LASTLOG.
[HAVE_UTMP_H] <utmp.h>: New include.
* uucpd/Makefile.in (CPPFLAGS): Add $(PATHDEF_LASTLOG).
Use $(PATHDEF_UUCICO) instead of old wrong define.
Thu Jan 23 13:12:03 1997 Miles Bader <miles@gnu.ai.mit.edu>
* libinetutils/version.c (libinetutils_version): Change to `1.2i'.
* configure.in: Move general library tests before any function tests.
* telnetd/sys_term.c (login_tty): Use setpgid instead of setpgrp.
* telnet/commands.c: Protect includes with HAVE_..._H rather than
random system defines.
(tn): Protect declaration of htons with !HAVE_HTONS_DECL.
* configure.in (htons): Add new declaration check.
(AC_CHECK_HEADERS): Add sys/param.h, unistd.h, sys/file.h & fcntl.h.
* headers/acconfig.h (HAVE_HTONS_DECL): New define slot.
* telnetd/sys_term.c (wtmpf): Initialize from PATH_WTMP.
[!PARENT_DOES_UTMP] (utmpf): Initialize from PATH_UTMP.
[NEWINIT && HAVE_UTMP_H && HAVE_UTMP_UT_TV] (HAVE_WTMP_UT_TV): New macro.
[NEWINIT && HAVE_UTMPX_H && HAVE_UTMPX_UT_TV] (HAVE_WTMP_UT_TV): New macro.
* configure.in: Check for ut_tv in struct utmpx, not struct wtmp.
Only do tests using <utmp.h> / <utmpx.h> when they exist.
* headers/acconfig.h (HAVE_UTMPX_UT_TV): Renamed from HAVE_WTMP_UT_TV.
* telnetd/Makefile.in (CPPFLAGS): Add $(PATHDEF_UTMP) & $(PATHDEF_WTMP).
* libinetutils/stub_tgetent.c (tgetent): Add missing semi.
Wed Jan 22 20:51:31 1997 Miles Bader <miles@gnu.ai.mit.edu>
* libinetutils/version.c (inetutils_version): Change to `1.2h'.
Tue Jan 21 15:32:56 1997 Miles Bader <miles@gnu.ai.mit.edu>
* libinetutils/openpty.c (openpty): Only use TIOCSWINSZ if it's
defined.
* configure.in: Add existance & decl tests for h_errno.
* headers/acconfig.h (HAVE_H_ERRNO, HAVE_H_ERRNO_DECL): New define
slots.
Mon Jan 20 20:35:53 1997 Miles Bader <miles@gnu.ai.mit.edu>
* libinetutils/herror.c (herror): New file.
* configure.in (AC_REPLACE_FUNCS): Add herror.
* libinetutils/Makefile.in (SRCS): Add herror.c.
* rsh/rsh.c (main): Always use sigset_t & OSIGS & SIGS variables,
and pass a pointer to the talk function.
(talk): Always use a pointer for the OSIGS arg (was OMASK).
* headers/acconfig.h (HAVE_UTMP_UT_TV, sigset_t): Add define slots.
* telnetd/sys_term.c (rmut): Use HAVE_WTMP_UT_TV rather than
HAVE_UTMPX_H || HAVE_UTMP_UT_TV.
* configure.in (sigset_t): New type replacement.
Add check for ut_tv field in struct wtmp.
Wed Jan 15 16:52:31 1997 Miles Bader <miles@gnu.ai.mit.edu>
* ftpd/ftpd.c (makedir): Provide the absolute name of the new
directory in the reply, as per rfc959.
Mon Jan 20 19:55:30 1997 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* ftp/extern.h (command): Constify fmt argument.
* ftp/ftp.c (command): Normalize variable argument list usage.
Require both HAVE_STDARG_H && __STDC__==1 to allow inclusion of
<stdarg.h> and use of ellipses, failing either we fall back on
<varargs.h> and va_alist. Ensure stdarg.h/varargs.h appears
before syslog.h in all cases to avoid problems on solaris.
* ftp/ruserpass.c: Likewise.
* ftpd/ftpd.c (reply, lreply, setproctitle): Likewise.
* headers/err.h: Likewise.
* libinetutils/err.c (warn, warnx, err, errx): Likewise.
* libinetutils/snprintf.c (snprintf): Likewise.
* rcp/rcp.c (oldw, run_err): Likewise.
* rlogin/rlogin.c (warning): Likewise.
* rsh/rsh.c (warning): Likewise.
* rshd/rshd.c (error): Likewise.
* telnet/commands.c (call): Likewise.
Mon Jan 13 22:17:38 1997 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* configure.in (AC_CHECK_HEADERS): Add sys/sysmacros.h for solaris
to get the roundup() macro. (AC_CHECK_FUNCS): Add waitpid().
* ftp/cmds.c: Don't declare "union wait status". Its never used
and causes problems for posix sys/wait.h. Consequently, pass 0 to
the wait() function. Add an (ignored) int parameter to function
passed to signal().
* ftp/ftp.c: Likewise for functions passed to signal().
* ftp/main.c: Likewise for functions passed to signal().
* ftpd/popen.c: Add POSIX signal handling.
* inetd/inetd.c: Likewise.
* libinetutils/ttymsg.c: Likewise.
* rcp/rcp.c: Change macro MODEMASK to RCP_MODEMASK to avoid
conflict with solaris sys/vnode.h header.
* rcp/util.c: Include sys/sysmacros.h for solaris to get the
roundup() macro.
* rexecd/rexecd.c: Use O_RDWR instead of "2" in call to open().
* rlogind/rlogind.c: Don't define FD_SETSIZE, let OS headers do it.
* rsh/rsh.c: Add POSIX signal handling.
* rshd/rshd.c: Use O_RDWR instead of "2" in call to open().
* syslogd/syslogd.c: Test MSG_BSIZE, not HAVE_SYS_MSGBUF_H, when
deciding if we have MSG_BSIZE. Add POSIX signal handling.
Optionally use waitpid(). Also, don't declare "union wait status",
its never used and causes problems for posix sys/wait.h.
Consequently, pass 0 to the waitpid()/wait3() functions.
* talk/ctl_transact.c: Use fd_set not int for file descriptor set.
Also set mask with FD_SET, not an explicit bit shift operation.
* talk/init_disp.c: Fix POSIX signal handling.
* talk/invite.c: Cast 2nd arg of sendto() to (const char *).
* talk/msgs.c: Add an (ignored) int parameter to function
passed to signal().
* telnet/sys_bsd.c: Add POSIX signal handling.
* telnetd/sys_term.c: Check HAVE_UTMP_UT_HOST before using ut_host.
Also, check HAVE_UTMPX_H||HAVE_UTMP_UT_TV before using ut_tv field.
* telnetd/telnetd.c: Use O_RDWR instead of "2" in call to open().
* telnetd/termstat.c: Evaluate tty_istrapsig() not tty_istrapsig.
* tftp/tftp.c: Cast 2nd arg of sendto() to (const char *). Also
cast 2nd arg of recvfrom() to (char *).
* tftpd/tftpd.c: Include sys/filio.h. Use O_RDONLY & O_WRONLY
instead of "0" & "1" in call to open(). Add an (ignored) int
parameter to function passed to signal(). Cast the 2nd arg of
send() to (const char *). Cast the 2nd arg ot recv to (char *).
* uucpd/uucpd.c: Include termios.h for decl of TIOCNOTTY on
solaris. Also use O_RDWR instead of "2" in call to open().
Mon Jan 13 14:06:24 1997 Miles Bader <miles@gnu.ai.mit.edu>
* libinetutils/version.c (inetutils_version): Change to `1.2g'.
* iumacros.m4 (IU_LIB_CURSES): Add --disable-ncurses option.
Use _iu_curses_needs_termcap to keep the requirements of curses
and ncurses separate.
(_iu_curses_needs_termcap): New macro.
Sat Jan 11 16:42:43 1997 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* libinetutils/forkpty.c: sunos4 cc chokes on indented cpp
directives. Put # in first column and put indentation after it.
* libinetutils/openpty.c: Likewise. Also change auto variable
declaration to avoid zero sized array error on sunos4 cc.
* libinetutils/iruserok.c: KNRize function signatures.
Fri Jan 10 14:22:18 1997 Miles Bader <miles@gnu.ai.mit.edu>
* libinetutils/version.c (inetutils_version): Change to `1.2f'.
* tftp/main.c (put, get): Use strchr rather than index.
(tail): Use strrchr rather than rindex.
(index, rindex): Declarations removed.
* rlogind/rlogind.c (setup_term): Use strchr rather than index.
* talk/get_names.c (get_names): Likewise.
* tftp/tftp.c (tpacket): Likewise.
<string.h>: New include.
* rcp/rcp.c, tftp/tftp.c, tftpd/tftpd.c [!HAVE_STRERROR_DECL]
(strerror): New declaration.
* tftp/tftp.c (nak): Remove declaration of strerror.
(errno): Protect declaration with !HAVE_ERRNO_DECL.
* headers/acconfig.h
[HAVE_STRCHR] (strchr, strrchr): New macros.
[HAVE_STRCHR_DECL] (strchr, strrchr): New declarations.
(HAVE_STRCHR_DECL, HAVE_STRERROR_DECL): New define slots.
* configure.in (AC_CHECK_FUNCS): Add index & strchr.
(strchr, strerror): New declaration tests.
* libinetutils/iruserok.c (rcmd, rresvport): Functions removed.
* talk/io.c (talk): Use fd_setsinstead of ints for select.
(STDIN_MASK): Macro removed.
<sys/types.h>: New include.
* libinetutils/err.c (_VA, vwarnx, vwarn, warn, warnx, verr,
verrx, err, errx): Make FORMAT const.
* headers/err.h: Update prototypes to include const where appropriate.
* tftpd/tftpd.c (verifyhost, errtomsg): Add const to return type.
(struct errmsg): Make E_MSG field const.
* tftp/tftp.c (struct errmsg): Make E_MSG field const.
* syslogd/syslogd.c (cvthname, printline, printsys, logmsg,
fprintlog, decode, logerror): Add const all over the place.
* ftpd/ftpd.c (dolog): Add const to decl of NAME.
* rshd/rshd.c (doit): Add const to decls of HOSTNAME, ERRORSTR,
and ERRORHOST.
(local_domain, topdomain): Add const to decl of H.
* rlogind/rlogind.c (doit): Add const to decl of RAW_HOSTNAME.
* syslog/syslog.c (main): If LOG_PERROR isn't defined, don't
support -s option.
* rlogin/rlogin.c (main, setsignal, done, lostpeer, reader, stop,
writeroob): Use setsig instead of sigaction crap.
(setsig): New declaration.
[!_POSIX_VDISABLE] (_POSIX_VDISABLE): New macro.
* libinetutils/setsig.c: New file.
* libinetutils/Makefile.in (OBJS): Add setsig.o.
(SRCS): Add setsig.c.
* headers/syslog-int.h: New file.
* headers/Makefile.in (DISTFILES): Add syslog-int.h.
* syslog/syslog.c [!HAVE_SYSLOG_INTERNAL] <syslog-int.h>: New include.
* syslogd/syslogd.c: Likewise.
* configure.in: Add check for the special stuff in <syslog.h>
enabled by defining SYSLOG_NAMES.
* headers/acconfig.h (HAVE_SYSLOG_INTERNAL): New define slot.
* iumacros.m4 (IO_CHECK_MACRO): Quote arguments to IU_RESULT_ACTIONS.
Wed Jan 8 14:55:47 1997 Miles Bader <miles@gnu.ai.mit.edu>
* rlogind/rlogind.c (setup_term): Use cfsetispeed & cfsetospeed if
cfsetspeed isn't defined.
* configure.in (AC_CHECK_FUNCS): Add cfsetspeed.
* telnetd/sys_term.c [HAVE_SYS_TTY_H] <sys/tty.h>: Include removed.
[t_erase] (t_erase, t_kill, t_intrc, t_quitc, t_startc, t_stopc,
t_eofc, t_brkc, t_suspc, t_dsuspc, t_rprntc, t_flushc, t_werasc,
t_lnextc): Undefs removed.
Tue Jan 7 13:10:05 1997 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* configure.in (IU_CHECK_DESC): Add checks for pclose, getpass
and getusershell. Change sig_t, sig_atomic_t tests to look in
signal.h, not sys/signal.h. Add check for sys/filio.h,
sys/ptyvar.h and sys/sockio.h.
* ftp/extern.h: Test HAVE_GETPASS_DECL.
* telnet/authenc.c: Likewise.
* ftp/ftp.c: Test HAVE_PCLOSE_DECL.
* ftpd/extern.h: Test HAVE_GETUSERSHELL_DECL.
* ftpd/ftpd.c: Change &array[x] to array+x to pacify sunos4 cc.
Cast the result of alloca().
* ftpd/popen.c: Cast the result of malloc().
* headers/acconfig.h: Add slots for pclose, getpass and getusershell.
* headers.crypt.h: Test HAVE_CRYPT_DECL, not HAVE_CRYPT, when
deciding to declare crypt().
* libinetutils/snprintf.c: Add missing arg "ap" to calls to
va_arg(). KNRize function signature of vsnprintf() and add
missing format parameter. Also, check __STDC__ in addition to
HAVE_STDARG_H since hpux cc has the header but does not understand
elipses in function signatures by default.
* libtelnet/auth.c: Test HAVE_*_H macro, not __STDC__ for headers.
* libtelnet/enc_des.c: Likewise.
* libtelnet/encrypt.c: Likewise.
* libtelnet/kerberos.c: Likewise.
* libtelnet/krb4encpwd.c: Likewise.
* libtelnet/rsaencpwd.c: Likewise.
* libtelnet/spx.c: Likewise.
* telnetd/defs.h: Likewise. Also test HAVE_SYS_FILIO_H, not
FILIO_H, and do not base include <ioctl.h> on !FILIO_H.
Test and include sys/stream.h, sys/tty.h and sys/ptyvar.h.
* telnet/externs.h: Likewise for filio.h stuff.
* rlogin/rlogin.c: Include sys/stream.h, sys/tty.h, sys/ptyvar.h,
and sys/sockio.h.
* libtelnet/kerberos5.c: Don't base "const" support on __STDC__.
* rshd/rshd.c: Add alloca() support and cast the result of
alloca(). Also test and include sys/filio.h.
* rlogind/rlogind.c: Likewise for sys/filio.h. Test and include
sys/stream.h, sys/tty.h, sys/ptyvar.h, and sys/sockio.h.
* rexecd/rexecd.c: Likewise for filio.h.
* tftp/tftpsubs.c: Likewise.
* rsh/rsh.c: Likewise.
* talk/io.c: Likewise.
* talkd/announce.c: Don't assume sprintf() returns int.
* syslogd/syslogd.c: Likewise. Also cast the result of malloc().
Tue Jan 7 15:33:14 1997 Miles Bader <miles@gnu.ai.mit.edu>
* libinetutils/revoke.c: New file.
(AC_REPLACE_FUNCS): Add revoke.
* libinetutils/Makefile.in (SRCS): Add revoke.c.
* libinetutils/login_tty.c: New file.
* configure.in (AC_REPLACE_FUNCS): Add login_tty.
(AC_CHECK_FUNCS): Add setsid.
* libinetutils/Makefile.in (SRCS): Add login_tty.c.
* paths (PATH_HEQUIV): New path (only necessary for iruserok.c).
* libinetutils/iruserok.c <netinet/in.h>: New include.
[HAVE_ARPA_NAMESER_H] <arpa/nameser.h>: New include.
<netdb.h>: New include.
(iruserok): Change _PATH_HEQUIV to PATH_HEQUIV.
* configure.in (AC_CHECK_HEADERS): Add arpa/nameser.h.
* libinetutils/Makefile.in (SRCS): Add iruserok.c.
(CPPFLAGS): Add $(CPPFLAGS-$<)
(CPPFLAGS-iruserok.c): New variable.
Tue Jan 7 18:06:37 1997 Bernhard Rosenkraenzer <bero@startrek.in-trier.de>
* configure.in: Check for bsd library, which enables some
bsd-style functions (revoke()) under Linux (and probably a few
other OSes).
* iumacros.m4: Use ncurses rather than curses if possible. (fixes
scrollok problem with Linux)
* glob/Makefile.in (install): New dummy target to enable make
install in the root directory
* configure.in (AC_REPLACE_FUNCS): Add iruserok.
* libinetutils/iruserok.c: New file.
* Makefile.in (DISTCLEAN): Add config.cache.
* libinetutils/openpty.c, libinetutils/forkpty.c: Replaced with
versions that should work (NetKit-B based)
Sun Jan 5 18:28:05 1997 Miles Bader <miles@gnu.ai.mit.edu>
* libinetutils/version.c (inetutils_version): Change to `1.2e'.
* configure.in: Test $inetutils_cv_macro_fd_set_macros, not
$inetutils_cv_fd_set_macros.
* configure.in (INCLUDES): Add protocols/talkd.h.
* headers/Makefile.in (DISTFILES): Add protocols & protocols/talkd.h.
* ftp/ftp.c [!HAVE_FCLOSE_DECL] (fclose): New declaration.
* telnetd/sys_term.c <sys/stream.h>: Make include conditional on
HAVE_SYS_STREAM_H, not STREAMS.
* configure.in (AC_CHECK_HEADERS): Add sys/stream .h.
Sat Jan 4 20:05:29 1997 Miles Bader <miles@gnu.ai.mit.edu>
* ftpd/ftpd.c [!HAVE_FCLOSE_DECL] (fclose): New declaration.
* configure.in (libresolv): New check.
(sig_atomic_t): New type check.
(fclose): New decl check.
* headers/acconfig.h (sig_atomic_t, HAVE_FCLOSE_DECL): New define slots.
* iumacros.m4 (IU_CONFIG_PATHS): Store cache variables in a
temporary files so that they can be exported out of the subshell
in which some shells evaluate the main loop.
Instead of calling AC_C_CROSS, require AC_PROG_CC.
* headers/acconfig.h (HAVE_ENVIRON_DECL): New define slot.
* configure.in: Add check for declaration of ENVIRON.
Add AC_PREREQ of 2.12.
Fri Jan 3 17:50:51 1997 Miles Bader <miles@gnu.ai.mit.edu>
* libinetutils/memset.c, libinetutils/memmove.c,
libinetutils/setenv.c: New files.
* headers/acconfig.h
[!HAVE_MEMCPY] (memcpy): Define to use memmove.
[!HAVE_BCOPY] (bcopy): Define to use memmove.
[!HAVE_BZERO] (bzero): Define to use memset.
[!HAVE_MEMMOVE] (bcopy): New declaration.
[!HAVE_MEMSET] (memset): New declaration.
* libinetutils/Makefile.in (SRCS): Add memmove.c, memset.c, & setenv.c.
* configure.in (AC_REPLACE_FUNCS): Add memset.
(AC_CHECK_FUNCS): Check for memcpy, bcopy, & bzero.
Tue Dec 31 00:26:13 1996 Miles Bader <miles@gnu.ai.mit.edu>
* telnetd/telnetd.c (_console, cprintf): Debugging gunk removed.
* libinetutils/Makefile.in (SRCS): Update to reflect directory contents.
Portability changes for sunos from "Kaveh R." <ghazi@caip.rutgers.edu>:
* configure.in (AC_C_CONST, AC_FUNC_ALLOCA): New tests.
(AC_REPLACE_FUNCS): Add memmove & setenv.
(nsl, socket): Test for these libraries.
* ftpd/ftpd.c: Add alloca support.
* ftpd/ftpd.c, syslogd/syslogd.c [!LINE_MAX] (LINE_MAX): New macro.
* ftp/ftp.c (initconn): Don't use ansi-c string concatenation.
* libinetutils/Makefile.in (OBJS): Add @ALLOCA@.
* libinetutils/cleansess.c (cleanup_session): Use K&R style definition.
* libinetutils/hstrerror.c (hstrerror): Use K&R style definition.
* libinetutils/logout.c (logout): Use K&R style definition.
* libinetutils/version.c [HAVE_CONFIG_H] <config.h>: New include.
* libinetutils/err.c [!HAVE_STDARG_H] (_VA): Add missing backslashes.
[!HAVE_STDARG_H] (_VA, VAS): Supply missing AP argument to va_arg.
* ftp/ruserpass.c [HAVE_CONFIG_H] <config.h>: New include.
* rexecd/rexecd.c (path, doit): Use PATH_ instead of _PATH_ defines.
* talkd/announce.c (announce): Likewise.
* talkd/process.c (find_user): Likewise.
* telnetd/sys_term.c (start_login, getptyslave): Likewise.
* talkd/talkd.c (main): Likewise.
* telnetd/telnetd.c (telnet): Likewise.
* uucpd/uucpd.c (main): Likewise.
* rexecd/Makefile.in, talkd/Makefile.in (CPPFLAGS): New variable.
* rlogin/rlogin.c, ftpd/ftpd.c, syslog/syslog.c, syslogd/syslogd.c,
tftpd/tftpd.c <getopt.h>: New include.
* syslogd/Makefile.in (CPPFLAGS): Add $(PATHDEF_LOG).
* telnetd/sys_term.c: Test HAVE_UTMPX_H rather than UTMPX.
* tftp/main.c <fcntl.h>: New include.
* uucpd/Makefile.in (CPPFLAGS): Add $(PATHDEF_TTY).
* libinetutils/version.c (inetutils_version): Change to `1.2d'.
* Makefile.in (pkgdirs): Renamed from auxdirs.
(SUBDIRS, SERVERS, CLIENTS, BOTH): Use $(pkgdirs) instead of $(auxdirs).
(DIST_SUBDIRS): New variable.
(DISTFILES): Use $(DIST_SUBDIRS) instead of $(SUBDIRS).
(dist-subdirs): Use $(DIST_SUBDIRS) instead of @SUBDIRS@.
Mon Dec 30 15:45:59 1996 Miles Bader <miles@gnu.ai.mit.edu>
* libinetutils/version.c (inetutils_version): Change to `1.2c'.
* libinetutils/login.c, libinetutils/forkpty.c: New dummy files.
* libinetutils/Makefile (SRCS): Add err.c, login.c, and forkpty.c.
* libinetutils/logout.c <fcntl.h>: New include.
(logout): declare variable RD.
* headers/acconfig.h [!HAVE_SIG_T] (sig_t): Move to top-level.
* ftp/main.c (long_options, ohelp, main): Add --prompt/-p.
(DEFAULT_PROMPT): New macro.
(prompt): New variable.
(main): If FROMATTY, default PROMPT to DEFAULT_PROMPT.
(cmdscanner): Print a prompt when there is one, rather than only
when on a tty.
* libinetutils/version.c (inetutils_version): Change to `1.2b'.
* Makefile.in (auxdirs): New variable.
(SUBDIRS, SERVERS, CLIENTS, BOTH): Use $(auxdirs).
(dist-subdirs): New rule.
* iumacros.m4 (IU_CONFIG_PATHS): Use hairy eval construct to deal
with translating @( to $( in iu_val, because some shells
improperly deal with nested quotes.
Fri Dec 27 23:56:25 1996 Miles Bader <miles@gnu.ai.mit.edu>
* libinetutils/Makefile.in (SRCS): Add openpty.c (bogus, but...).
Tue Dec 24 14:37:55 1996 Miles Bader <miles@gnu.ai.mit.edu>
* telnet/commands.c (ToggleList): Don't make entry for "termdata"
dependent on `unix' being defined.
* telnet/externs.h (termdata): Likewise.
* telnetd/sys_term.c (startslave): Remove declaration of time().
* iumacros.m4 (IU_CONFIG_PATHS): Escape paths stored in the
autoconf cache to avoid problems with the shell evaluating make
variable notation, by storing `$(' as `@('.
* telnet/commands.c (env_init): Use correct hostname in sprintf.
* Makefile.in (DISTFILES): Add iumacros.m4.
* libinetutils/version.c (inetutils_version): Change to "1.2a".
Tue Nov 12 19:25:44 1996 Miles Bader <miles@gnu.ai.mit.edu>
* iumacros.m4 (IU_CONFIG_PATHS): Make default iu_test_type 'r',
not 'e' (which apparently isn't totally standard).
Thu Oct 24 17:21:36 1996 Miles Bader <miles@gnu.ai.mit.edu>
* telnet/telnet.c (init_term): Renamed from setupterm to avoid
conflict with ncurses.
(gettermname): Call init_term instead of setupterm.
Mon Oct 21 16:21:15 1996 Miles Bader <miles@gnu.ai.mit.edu>
* config.make.in (LINK_DISTFILES): Add `;' before '}'.
Avoid posix sh bogosity with null for-loop.
* rsh/rsh.c (try_help, help, pusage): New function.
(usage): Use pusage & try_help.
(warning): Use __PROGNAME.
(main): Add long option handling.
(long_options): New variable.
"version.h": New include.
* libinetutils/version.c (inetutils_package): New variable.
* headers/version.h (inetutils_package): New declaration.
* ftp/main.c (main): Use INETUTILS_PACKAGE.
* ftpd/ftpd.c (statcmd, main): Likewise.
* telnet/main.c (main): Likewise.
(help): Add program description.
* ftpd/ftpd.c (inetutils_version): Declaration removed.
"version.h": New include.
Fri Sep 27 13:07:03 1996 Miles Bader <miles@gnu.ai.mit.edu>
* libinetutils/version.c (inetutils_bugaddr): New variable.
(inetutils_version): Get rid of package name.
Change to version 1.3.
* ftp/main.c (main): Supply program name when printing the
version, and use INETUTILS_VERSION as only the version number.
* ftpd/ftpd.c (main, statcmd): Likewise.
* ftp/main.c (ohelp): Add bug reporting address.
* telnet/main.c (help): Likewise.
* headers/version.h (inetutils_bugaddr): New declaration.
Tue Sep 24 19:16:34 1996 Miles Bader <miles@gnu.ai.mit.edu>
* telnetd/telnetd.c (telnet): Restore #if accidentally deleted
when removing debugging printfs.
* headers/crypt.h: Use crypt unconditionally if HAVE_CRYPT is defined.
Fri Aug 30 11:47:44 1996 Miles Bader <miles@gnu.ai.mit.edu>
* telnetd/telnetd.c (telnet): Remove unecessary debugging printfs.
Wed Aug 21 12:42:28 1996 Miles Bader <miles@gnu.ai.mit.edu>
* configure.in (enable_talk): Define `HAVE_OSOCKADDR_H' if we
supply that include file.
* headers/acconfig.h (HAVE_OSOCKADDR): Define slot removed.
(HAVE_OSOCKADDR_H): New define slot.
* talkd/talkd.c <osockaddr.h>: Conditionalize on HAVE_OSOCKADDR_H
instead of !HAVE_OSOCKADDR.
Tue Aug 20 19:55:32 1996 Miles Bader <miles@gnu.ai.mit.edu>
* headers/Makefile.in (DISTFILES): Add err.h.
Fri Aug 16 00:49:23 1996 Miles Bader <miles@gnu.ai.mit.edu>
* Makefile.in (DISTFILES): Add TODO.
* tftp/main.c (get_args): New function.
(setpeer, put, get, setrexmt, settimeout): Use get_args.
(command): Use fgets instead of gets.
* Makefile.in (dist): Remove dependency on $(DISTFILES).
(DISTFILES): Add $(SUBDIRS). Remove glob & glob/*.
(dist-prepare): Don't make subdirectories explicitly.
Link or copy package directories as a unit into the distribution.
(DISTPACKAGES): New variable.
* headers/Makefile.in (DISTFILES): Add confpaths.h.in.
* headers/crypt.h [__GNUC__] (CRYPT): Use alternate definition to
avoid apparent gcc bug with weak refs and ?: operator.
* ftpd/ftpd.c (try_login): New function, guts from `pass'.
(pass): Call try_login.
(user): Always ask for a password for an uknown user.
Call try_login directly if a known user with no password.
* headers/Makefile.in (DISTFILES): Remove iupaths.h.
Thu Aug 15 22:29:46 1996 Miles Bader <miles@gnu.ai.mit.edu>
* uucpd/uucpd.c (dologin, dologout): Always use logwtmp now.
<utmp.h>: Include removed.
(struct utmp): Type removed.
(dologout): Check HAVE_WAIT3 instead of BSDINETD.
* ftpd/ftpd.c (end_login, pass, dologout): Use logwtmp_keep_open.
* ftpd/Makefile.in (SRCS): Remove logwtmp.c.
* logwtmp.c: File removed.
* configure.in: Add check for errno being declared.
* libinetutils/logwtmp.c [!HAVE_ERRNO_DECL] (errno): New decl.
[HAVE_ERRNO_H] <errno.h>: New
[KEEP_OPEN] Add code to define `logwtmp_keep_open' version.
* libinetutils/logwtmp.c <sys/fcntl.h>: New include.
* libinetutils/Makefile.in (CPPFLAGS): Add $(PATHDEF_WTMP) and
$(PATHDEF_UTMP).
(SRCS): Add logwtmpko.c.
(OBJS): Add logwtmpko.o.
* logwtmpko.c: New file.
* headers/acconfig.h (HAVE_STAT_ST_MTIMESPEC): Renamed from
HAVE_ST_TIMESPEC.
(HAVE_STAT_ST_MTIME_USC): Renamed from HAVE_ST_TIME_USEC.
(HAVE_ATTR_WEAK_REFS, HAVE_UTMP_UT_TYPE, HAVE_UTMP_UT_HOST,
HAVE_UTMP_UT_TV): New define slots.
* headers/crypt.h: Replace HAVE_WEAK_REFS with
HAVE_ATTR_WEAK_REFS, and test for any of the three with HAVE_WEAK_REFS.
* configure.in (sys_glob): Add checks for ut_type, ut_host, and
ut_tv fields in struct utmp.
(AC_CHECK_HEADERS): Add utmp.h & utmpx.h.
(AC_CHECK_FUNCS): Add flock, ftruncate, wait3.
* libinetutils/logwtmp.c (_logwtmp): Close FD after use.
* ftpd/logwtmp.c: Replace with version derived from libinetutils.
* rcp/rcp.c (write_stat_time): Replace HAVE_ST_TIME* with
HAVE_STAT_ST_MTIME* (as generated by new configure rules).
Thu Aug 8 02:37:15 1996 Miles Bader <miles@gnu.ai.mit.edu>
* iumacros.m4: New file.
* configure.in: Use macros from iumacros.m4.
Rearrange to be more clear, and add lots of comments.
Check for libutils functions in libutil if it exists.
Wed Aug 7 15:24:45 1996 Miles Bader <miles@gnu.ai.mit.edu>
* configure.in (AC_CHECK_FUNCS): Remove strdup & logwtmp.
(AC_REPLACE_FUNCS): Add strdup, logout, & logwtmp.
* libinetutils/logout.c, libinetutils/logwtmp.c,
libinetutils/cleansess.c, libinetutils/strdup.c: New files.
* libinetutils/Makefile.in (SRCS): Add strdup.c, logout.c,
logwtmp.c, & cleansess.c.
(OBJS): Add cleansess.o.
* ftp/cmds.c [!HAVE_STRDUP] (strdup): Function removed.
* ftpd/logwtmp.c [!PATH_WTMP && WTMP_FILE] (PATH_WTMP): Macro removed.
* rlogind/rlogind.c [HAVE_FD_SET_MACROS_IN_SYS_TIME_H]
<sys/time.h>: New include.
* configure.in: Rework format of path configuration file.
* headers/acconfig.h: Include <confpaths.h> at end.
* headers/confpaths.h.in: Renamed from iu_paths.h.
* paths: Change format of entries.
* libinetutils/Makefile.in (CPPFLAGS): New variable.
* libinetutils/daemon.c, libinetutils/ttymsg.c, rexecd/rexecd.c,
talkd/announce.c, talkd/process.c, talkd/talkd.c, uucpd/uucpd.c
<paths.h>: Include removed.
* ftp/cmds.c, ftpd/ftpd.c, ftpd/logwtmp.c, inetd/inetd.c,
rcp/rcp.c, rcp/util.c, rlogind/rlogind.c, rsh/rsh.c, rshd/rshd.c,
syslogd/syslogd.c, telnetd/sys_term.c, telnetd/telnetd.c
<iu_paths.h>: Include removed.
* Makefile.in (DISTCLEAN): Add pathdefs.make and paths.defs.
Tue Aug 6 01:44:37 1996 Miles Bader <miles@gnu.ai.mit.edu>
* libinetutils/version.c (inetutils_version): Change to 1.2.
* paths: New file.
* configure.in: Add huge wodge of code to parse the `paths' file
and produce pathdefs.make and paths.defs.
* Makefile.in (DISTFILES): Add paths.
* config.make.in: Put @PATHDEFS_MAKE@ at the end.
* headers/iu_paths.h: New file.
* headers/Makefile.in (DISTFILES): Add iu_paths.h & remove paths.h.
* inetd/Makefile.in, telnetd/Makefile.in, ftpd/Makefile.in,
syslogd/makefile.in, rsh/Makefile.in, rlogind/Makefile.in,
rcp/Makefile.in
(CPPFLAGS): Use $(PATHDEF_...) variables.
* inetd/inetd.c, ftp/cmds.c, telnetd/telnetd.c, telnetd/sys_term.c,
syslogd/syslogd.c, rshd/rshd.c, rlogind/rlogind.c, rcp/util.c
<iu_paths.h>: Changed from <paths.h>.
* rsh/rsh.c, rcp/rcp.c <iu_paths.h>: New include.
* inetd/inetd.c (CONFIG): Initialize from PATH_INETDCONF.
* ftp/Makefile.in, rshd/Makefile.in (CPPFLAGS): New macro.
* syslogd/syslogd.c (LogName, ConfFile, PidFile, ctty, main, wallmsg):
Use PATH_* macros instead of _PATH_* ones.
* ftp/cmds.c (remglob, shell): Likewise
* rsh/rsh.c (main): Likewise.
* rshd/rshd.c (doit): Likewise.
* rlogind/rlogind.c (doit, cleanup): Likewise.
* rcp/util.c (susystem): Likewise.
* rcp/rcp.c (toremote, tolocal): Likewise.
* telnetd/sys_term.c (start_login): Likewise.
Mon Aug 5 00:23:07 1996 Miles Bader <miles@gnu.ai.mit.edu>
* configure.in: Check to see if the fd_set macros are defined by
<sys/time.h> rather than <sys/types.h> (!).
* headers/acconfig.h (HAVE_FD_SET_MACROS_IN_SYS_TIME_H): New def slot.
* rsh/rsh.c [HAVE_FD_SET_MACROS_IN_SYS_TIME_H] <sys/time.h>: New inc.
* talk/init_disp.c (init_display): Use sigaction or sigvec as appr.
* configure.in: Include $LIBTERMCAP in LIBCURSES if necessary.
* rlogin/rlogin.c (oob): Only use TIOCFLUSH if it's defined.
(writer): Only check VDSUSP if it's defined.
* talkd/announce.c <sgtty.h>: Include removed.
* rsh/rsh.c: [HAVE_STDARG_H] <stdarg.h>: New include.
[!HAVE_STDARG_H] <varargs.h>: Conditionalize include.
* libinetutils/hstrerror.c: New file.
* libinetutils/Makefile.in (SRCS): Add strerror.c & hstrerror.c.
* headers/acconfig.h (HAVE_H_ERRLIST_DECL): New define slot.
* configure.in: Check for hstrerror, and various things to provide
a replacement if it doesn't exist.
* syslogd/syslogd.c (cfline): Declare hstrerror.
* rlogind/rlogind.c [!TTYDEF_IFLAG] (TTYDEF_IFLAG),
[!TTYDEF_OFLAG] (TTYDEF_OFLAG), [!TTYDEF_LFLAG] (TTYDEF_LFLAG):
New macros.
* rshd/rshd.c (doit): Use setpgid instead of setpgrp.
* uucpd/uucpd.c (dologin): Only write lastlog if HAVE_STRUCT_LASTLOG.
* configure.in: Add check for struct lastlog in <utmp.h>.
* headers/acconfig.h (HAVE_STRUCT_LASTLOG): New define slot.
* daemon.c: New file.
libinetutils/Makefile.in (SRCS): Add daemon.c.
* configure.in (AC_REPLACE_FUNCS): New test, for daemon.
* configure.in: Check whether crypt is declared in <unistd.h>.
(AC_CHECK_FUNCS): Add sigvec & sigaction.
* inetd/inetd.c (main): Use sigaction, sigvec, or signal as appropriate.
* rlogin/rlogin.c (main): Likewise.
* headers/acconfig.h (HAVE_CRYPT_DECL): New define slot.
* headers/crypt.h: If there's a system decl for crypt, use an
ambiguous argument signature (`()') to avoid conflicting with it.
* ftpd/ftpd.c (send_file_list): Test for '\0' in name rather than
looking at DIR's d_namlen field (which doesn't exist on all systems).
(retrieve, store): Use SEEK_* macros instead of L_*.
[!LOG_FTP] (LOG_FTP): New macro.
(version): Variable removed.
(main, statcmd): Use INETUTILS_VERSION instead of VERSION.
* configure.in: Add tests for SEEK_* macros and L_* macros,
defining the SEEK_* ones if they don't already exists.
* headers/acconfig.h (SEEK_SET, SEEK_CUR, SEEK_END): New define slots.
* tftpd/tftpd.c [!LOG_FTP] (LOG_FTP): New macro.
* telnetd/sys_term.c (tty_linemode): If EXTPROC isn't defined,
always return false (we can't set linemode either in this case).
* telnetd/telnetd.c (telnet): Only use TIOCPKT_IOCTL if it's defined.
* telnet/externs.h: Prefer termios if both <termios.h> & <termio.h>
exist.
Move define of `termio' to `termios' outside of file-already-
included test, as sometimes the file's already been included.
* ftp/ruserpass.c: Include <stdarg.h> or <varargs.h> before
including <err.h> (which needs va_list).
(localhost): New declaration.
* ftp/ftp.c [!HAVE_HSTRERROR] (hookup): Add grot to print error
message for h_errno, using herror.
Sun Aug 4 23:00:29 1996 Miles Bader <miles@gnu.ai.mit.edu>
* ftp/cmds.c (site_idle): Renamed from `idle' to avoid conflict
with linux <unistd.h>.
* ftp/extern.h: Likewise.
(command): Add arg decls to prototype.
* ftp/cmdtab.c (cmdtab): Change entry for "idle" to use site_idle.
* ftp/ftp.c [HAVE_STDARG_H] <stdarg.h>: New include.
[!HAVE_STDARG_H] <varargs.h>: Conditionalize include.
(command): Make work with either <stdarg.h> or <varargs.h>.
* configure.in (AC_CHECK_HEADERS): Add glob.h.
Check for system glob, and config in our own if necessary.
* Makefile.in (SUBDIRS, SERVERS, CLIENTS, BOTH): Add @subdirs@,
the autoconf-supplied list of sub-configured directories.
(DISTFILES): Add `glob' and `glob/*' (ick, but what else can be
done without modifying glob?).
* ftp/Makefile.in, ftpd/Makefile.in (LDLIBS): Add $(LIBGLOB).
* config.make.in (LIBGLOB): New variable.
* headers/Makefile.in (DISTFILES): Add paths.h.
Wed Jul 31 14:49:18 1996 Miles Bader <miles@gnu.ai.mit.edu>
* telnet/main.c (help): Shorten description for -l/--user.
* configure.in: Add a check for various types of weak reference.
Add crypt.h to INCLUDES.
* headers/acconfig.h (HAVE_WEAK_REFS, HAVE_PRAGMA_WEAK_REFS,
HAVE_ASM_WEAK_REFS): New define slots.
* headers/crypt.h: New file.
* headers/Makefile.in (DISTFILES): Add crypt.h.
* ftpd/ftpd.c (pass): Use CRYPT instead of crypt.
* libtelnet/krb4encpwd.c (passwdok): Likewise.
* libtelnet/rsaencpwd.c (rsaencpwd_passwdok): Likewise.
* rexecd/rexecd.c (doit): Likewise.
* uucpd/uucpd.c (doit): Likewise
* ftpd/ftpd.c, libtelnet/krb4encpwd.c, libtelnet/rsaencpwd.c,
rexecd/rexecd.c, uucpd/uucpd.c <crypt.h>: New include.
Tue Jul 30 18:36:11 1996 Miles Bader <miles@gnu.ai.mit.edu>
* libinetutils/version.c (inetutils_version): Change to 1.1.
* configure.in (AC_CHECK_FUNCS): Check for crypt.
Check for EWOULDBLOCK.
* ftpd/ftpd.c (pass): Only call crypt if HAVE_CRYPT defined.
* libtelnet/krb4encpwd.c (passwdok): Likewise
* libtelnet/rsaencpwd.c (passwdok): Likewise.
* rexecd/rexecd.c (doit): Likewise.
* uucpd/uucpd.c (doit): Likewise.
* headers/acconfig.h (EWOULDBLOCK): New define slot.
Sat Jul 27 11:32:13 1996 Miles Bader <miles@gnu.ai.mit.edu>
* uucpd/uucpd.c [!HAVE_LOGWTMP] (dologin): Supply name to copy in wtmp.
* rlogind/rlogind.c <getopt.h>: New include.
(fatal): Don't depend on sprintf returning a count.
* telnetd/defs.h: Prefer termios if <termios.h> & <termio.h> exist.
* inetd/inetd.c <getopt.h>: New include.
(line): Define with a size of 2048 if LINE_MAX isn't defined.
Fri Jul 26 09:06:41 1996 Miles Bader <miles@gnu.ai.mit.edu>
* headers/Makefile.in (DISTFILES): Add `arpa' (the directory).
* config.make.in (_LINK_DISTFILE): Copy directories too.
Wed Jul 24 01:36:15 1996 Miles Bader <miles@gnu.ai.mit.edu>
* config.make.in (_LINK_DISTFILE): Copy into $(DISTDIR)/$$FILE.
(LINK_DISTFILES): Always set $$FILE as well as $$DISTFILE before
using $(_LINK_DISTFILE).
Tue Jul 23 22:59:49 1996 Miles Bader <miles@gnu.ai.mit.edu>
* Makefile.in: Use dependencies instead of shell loops for
iteration over subdirs, to make it interruptible in a sane
fashion.
Mon Jul 22 00:14:09 1996 Miles Bader <miles@gnu.ai.mit.edu>
* headers/arpa/telnet.h, headers/arpa/ftp.h, headers/arpa/tftp.h:
New files.
* headers/Makefile (DISTFILES): Add arpa/telnet.h, arpa/ftp.h, &
arpa/tftp.h.
* configure.in (INCLUDES): Likewise.
* tftp/tftp.c [HAVE_CONFIG_H] <config.h>: New include.
* configure.in (paths.h): New test.
(AC_CHECK_HEADERS): Add stdlib.h, errno.h, string.h, stdarg.h &
sys/cdefs.h.
Check for __P in <sys/cdefs.h>, not <stdlib.h>.
Define HAVE___P if we do.
(verrx, strerror, __progname, snprintf): New tests.
Check for sig_t.
(AC_CHECK_FUNCS): Temporarily add $LIBUTIL to $LIBS while doing this.
* headers/acconfig.h (HAVE_SYS_ERRLIST_DECL, HAVE_SIG_T,
HAVE___PROGNAME, HAVE_SNPRINTF): New entries.
[!HAVE_SIG_T] (sig_t): New macro.
* libinetutils/err.c: New file.
* libinetutils/__progname.c: New file.
* libinetutils/strerror.c: New file.
* libinetutils/snprintf.c: New file.
* headers/err.h: New file.
* ftp/main.c, rcp/rcp.c, rlogin/rlogin.c, rsh/rsh.c, talk/talk.c
[!HAVE___PROGNAME] (main): Set __progname.
* rcp/rcp.c, rsh/rsh.c, rshd/rshd.c <getopt.c>: New include.
Sun Jul 21 12:19:48 1996 Miles Bader <miles@gnu.ai.mit.edu>
* configure.in (AC_CONFIG_HEADER): Added.
Add test for __P in <stdlib.h>.
(termlib): New test, if can't find termcap.
(curses): Don't depend on termcap if it's not necessary.
(util, crypt): Define unique substs for each lib found.
* config.make.in (CPPFLAGS): Remove -D_BSD_SOURCE (now in config.h).
(LIBCRYPT, LIBUTIL): New variables.
* ftpd/Makefile.in, ftp/Makefile.in, rlogind/Makefile.in,
rexecd/Makefile.in, uucpd/Makefile.in (LDLIBS): New variable.
* telnet/Makefile.in, telnetd/Makefile.in (LDLIBS):
Add $(LIBUTIL) & $(LIBCRYPT)
* Makefile.in (MAINTCLEAN, DISTCLEAN): New variables.
(distclean): Use $(DISTCLEAN).
(maintainer-clean): New target.
(%-clients, %-servers): New targets.
* headers/acconfig.h: New file.
* headers/Makefile.in (DISTFILES): Add config.h.in & acconfig.h.
(MAINTCLEAN): New variable.
* uucpd/uucpd.c, tftpd/tftpd.c, tftp/tftpsubs.c, tftp/main.c,
telnetd/utility.c, telnetd/termstat.c, telnetd/telnetd.c,
telnetd/sys_term.c, telnetd/state.c, telnetd/slc.c, telnetd/global.c,
telnetd/authenc.c, telnet/telnet.c, telnet/utilities.c,
telnet/tn3270.c, telnet/terminal.c, telnet/sys_bsd.c, telnet/ring.c,
telnet/network.c, telnet/main.c, telnet/commands.c, telnet/authenc.c,
talkd/talkd.c, talkd/table.c, talkd/process.c, talkd/print.c,
talkd/announce.c, talk/talk.c, talk/msgs.c, talk/look_up.c, talk/io.c,
talk/invite.c, talk/init_disp.c, talk/get_names.c, talk/get_addrs.c,
talk/display.c, talk/ctl_transact.c, talk/ctl.c, syslogd/syslogd.c,
syslog/syslog.c, rshd/rshd.c, rsh/rsh.c, rlogind/rlogind.c,
rlogin/rlogin.c, rlogin/krcmd.c, rlogin/kcmd.c, rlogin/des_rw.c,
rexecd/rexecd.c, rcp/util.c, rcp/rcp.c, libtelnet/rsaencpwd.c,
libtelnet/read_password.c, libtelnet/misc.c, libtelnet/krb4encpwd.c,
libtelnet/kerberos5.c, libtelnet/kerberos.c, libtelnet/genget.c,
libtelnet/enc_des.c, libtelnet/auth.c, libinetutils/ttymsg.c,
libinetutils/localhost.c, inetd/inetd.c, ftpd/ftpd.c, ftpd/ftpcmd.y,
ftp/main.c, ftp/ftp.c, ftp/domacro.c, ftp/cmdtab.c, ftp/cmds.c
[HAVE_CONFIG_H] <config.h>: New include.
* rules.make (install, uninstall, mostlyclean, distclean,
maintainer-clean, dist): Make :: rules.
(clean): New rule.
(mostlyclean): Merge with clean.
(.PHONY): New target.
(uninstall): Put command in right place.
* ftp/Makefile.in, uucpd/Makefile.in, tftpd/Makefile.in,
tftp/Makefile.in, telnetd/Makefile.in, telnet/Makefile.in,
talkd/Makefile.in, talk/Makefile.in, syslogd/Makefile.in,
syslog/Makefile.in, rshd/Makefile.in, rsh/Makefile.in,
rlogin/Makefile.in, rcp/Makefile.in, libtelnet/Makefile.in,
libinetutils/Makefile.in, ftpd/Makefile.in (clean): Target removed.
(CLEAN, OBJS): New variables.
* inetd/Makefile.in (CLEAN): New variable.
(clean): Target removed.
(inet): Depend on inetd.o directly.
* tftpd/Makefile.in (tftpd): Depend on $(OBJS), not $(SRCS:.c=.o)
* tftp/Makefile.in (tftp): Likewise.
* telnetd/Makefile.in (telnetd): Likewise.
* telnet/Makefile.in (telnet): Likewise.
* talkd/Makefile.in (talkd): Likewise.
* talk/Makefile.in (talk): Likewise.
* rcp/Makefile.in (rcp): Likewise.
* libtelnet/Makefile.in (libtelnet.a): Likewise.
* libinetutils/Makefile.in (libinetutils.a): Likewise.
* ftpd/Makefile.in (ftpd): Likewise.
* talkd/announce.c [!HAVE_VIS_H] (strvis): Test CH for
printability, not *STR (STR has already been incremented).
Fri Jul 19 01:37:46 1996 Miles Bader <miles@gnu.ai.mit.edu>
* rsh/Makefile.in (INST_PROG_FLAGS): New variable.
* rcp/Makefile.in (INST_PROG_FLAGS): New variable.
Fri Jul 12 13:08:26 1996 Miles Bader <miles@gnu.ai.mit.edu>
* talkd/announce.c (tty_msg): New declaration.
* talk/look_up.c (check_local): Replace one hack for
copying the addr into the message with another.
* talk/invite.c (invite_remote): Likewise.
* talk/init_disp.c (set_edit_chars): Use tcgetattr if we have it.
[HAVE_TERMIOS] <termios.h>: New include.
[!HAVE_TERMIOS]: Guard <sys/ioctl.h> with HAVE_SYS_IOCTL_COMPAT_H.
* configure.in (AC_CHECK_HEADERS): Add sys/ioctl_compat.h.
(AC_CHECK_FUNCS): Add tcgetattr.
* talkd/announce.c: Guard include of <vis.h> with HAVE_VIS_H.
[!HAVE_VIS_H] (strvis): New function.
* configure.in (AC_CHECK_HEADERS): Add vis.h.
* libinetutils/localhost.c: New file.
* libinetutils/Makefile.in (SRCS): Add localhost.c.
* ftp/ruserpass.c (ruserpass): Use localhost.
* rlogind/rlogind.c (local_domain): Likewise.
* rshd/rshd.c (local_domain): Likewise.
* talk/get_names.c (get_names): Likewise.
* telnet/commands.c (env_init): Use likewise.
* telnet/telnet.c (telnet): Likewise.
* ftpd/ftpd.c (main): Use localhost.
(hostname_len): Variable removed.
* syslogd/syslogd.c (LocalHostNameLen): Variable removed.
(localhost): New declaration.
(main): Use localhost.
* talkd/talkd.c (main): Use localhost.
(hostname): Change to be a char *.
(localhost): New declaration.
* talkd/announce.c (hostname): Change to be a char *.
* talkd/print.c, talkd/process.c, talkd/table.c, talkd/talkd.c,
talkd/announce.c, talk/look_up.c, talk/get_names.c, talk/invite.c,
talk/ctl_transact.c, talk/ctl.c, talk/get_addrs.c:
[!HAVE_OSOCKADDR] <osockaddr.h>: New include.
* configure.in: Check for struct osockaddr in <sys/socket.h>.
* headers/osockaddr.h: New file.
* headers/Makefile.in (DISTFILES): Add osockaddr.h.
* configure.in: Change references to $ac_cv_lib_LIB variables
to $ac_cv_lib_LIB_FUNC.
* syslog/Makefile.in ($(bindir)/logger): Remove before linking.
* configure.in (SUBDIRS): Add headers.
* headers/Makefile.in: New file.
* libinetutils/Makefile.in (DISTFILES): Remove $(HDRS).
(HDRS): Variable removed.
Thu Jul 11 00:39:45 1996 Miles Bader <miles@gnu.ai.mit.edu>
* headers: New directory.
* configure.in: Link include files from headers.
LIB_INCLUDES -> INCLUDES.
(_ISRCS, _DSTS, SUBDIR_MAKEFILES): Frob quoting to satisfy
brain-dead shells.
* ftpd/logwtmp.c (_PATH_WTMP): Define to be WTMP_FILE if necessary.
Check for HAVE_UTMPNAME too.
* configure.in: Check for -lcrypt.
* inetd/inetd.c (set_proc_title): Renamed from `setproctitle' to
avoid conflict with the <stdlib.h> function in netbsd.
(chargen_stream, discard_stream, echo_stream): Use set_proc_title.
* ftp/main.c (ohelp): Remove extra newline.
* telnet/main.c (help): Remove extra newlines. Fiddle text.
Wed Jul 10 03:41:39 1996 Miles Bader <miles@gnu.ai.mit.edu>
* ftp/main.c (ohelp, try_help, usage): New functions.
(long_options): New variable.
(main): Use getopt_long, and new help functions.
<getopt.h>, <version.h>: New includes.
* telnet/main.c (try_help): New function.
(usage): Use try_help, not help.
(help): Remove arg, and only implement long help.
(main): Use help & try_help appropiately.
* config.make.in (_LINK_DISTFILE): New variable.
(LINK_DISTFILES): Use $(_LINK_DISTFILE); support OPT_DISTFILES.
* rules.make (distclean): Remove $(DISTCLEAN) too.
(maintainer-clean): New rule.
* ftpd/Makefile.in (MAINTCLEAN): New variable.
(OPT_DISTFILES): New variable.
* uucpd/uucpd.c (dologin, dologout): If HAVE_LOGWTMP, use it.
* ftpd/logwtmp.c (logwtmp): If HAVE_SETUTENT_R, use a more sysvish
style of wtmp frobbing.
* configure.in (AC_CHECK_FUNCS): Add setutent_r & logwtmp.
* Makefile.in (distclean, clean): Split out targets, and clean up here.
Use $(SUBDIRS).
* telnetd/Makefile.in, telnet/Makefile.in (LDLIBS): Use
$(LIBTERMCAP), not -ltermcap.
* configure.in: Put library specs for found libraries in specific substs.
* config.make.in (LIBCURSES, LIBTERMCAP, LIBAUTH): New variables.
(LDLIBS): Put $(LIBS) last.
* libinetutils/stub_tgetent.c: New file.
* talk/Makefile.in (LDLIBS): Use $(LIBCURSES), not -lcurses.
* libinetutils/Makefile.in (SRCS): Enumerate all sources, don't
include @LIBOBJS@.
(libinetutils.a): List constant objects + @LIBOBJS@.
* ftp/Makefile.in, ftpd/Makefile.in, libinetutils/Makefile.in,
libtelnet/Makefile.in, rcp/Makefile.in, rlogin/Makefile.in,
talk/Makefile.in, telnet/Makefile.in, telnetd/Makefile.in,
tftp/Makefile.in (HDRS): New variable.
(DISTFILES): Add $(HDRS).
* config.make.in (CPPFLAGS): Add -I$(srcdir).
* Makefile.in (distname): Depend on libinetutils/version.c.
Variable is named `inetutils_version', not `version_string'.
* libinetutils/version.c, libinetutils/version.h
(inetutils_version): Renamed from version_string.
* telnet/main.c (main): Use inetutils_version, not version_string.
* configure.in: Add test for setpgid.
* rexecd/rexecd.c (doit): Use setpgid instead of setpgrp.
* config.make.in (CPPFLAGS): Add -D_BSD_SOURCE.
* syslogd/Makefile.in (syslogd): Rule removed.
* talkd/Makefile.in (talkd): Get rid of ttymsg.o.
* ftpd/Makefile.in (ftpd): Fix subst for generating .o files.
* config.make.in (top_srcdir): Variable removed.
* ftp/Makefile.in, ftpd/Makefile.in, inetd/Makefile.in,
libinetutils/Makefile.in, libtelnet/Makefile.in, ping/Makefile.in,
rcp/Makefile.in, rexecd/Makefile.in, rlogin/Makefile.in,
rlogind/Makefile.in, rsh/Makefile.in, rshd/Makefile.in,
syslog/Makefile.in, syslogd/Makefile.in, talk/Makefile.in,
talkd/Makefile.in, telnet/Makefile.in, telnetd/Makefile.in,
tftp/Makefile.in, tftpd/Makefile.in, uucpd/Makefile.in
(top_srcdir): New variable.
* telnet/main.c (help): New function.
(usage): Just use help now.
(long_options): New variable.
(main): Use help sometimes instead of usage. Use getopt_long.
Add --help and --version options.
<getopt.h>, "version.h": New includes.
* libinetutils: New directory, mostly from old comon dir.
* common: Dir removed.
* config.make.in (CPPFLAGS): Add -I../include.
(LDLIBS): Add -L../inetinetutils -linetutils.
* configure.in (COMMON): New variable & subst.
(SUBDIRS): Add $COMMON.
Add rules for using gnu getopt.
Add rules for linking in optional header files into obj include dir.
* Makefile.in (COMMON): Use autoconf subst.
Tue Jul 9 16:15:15 1996 Miles Bader <miles@gnu.ai.mit.edu>
* configure.in (SUBDIRS): New subst.
(AC_OUTPUT): Automatically compute the subdir makefiles.
Fix test to turn on talk if $enable_talk == maybe.
* Makefile.in (distname, dist): New targets.
* rules.make (dist): New rule.
* config.make.in (LINK_DISTFILES): New variable.
* inetd/Makefile.in, libtelnet/Makefile.in, rcp/Makefile.in,
rexecd/Makefile.in, ftpd/Makefile.in, telnetd/Makefile.in,
rshd/Makefile.in, rlogind/Makefile.in, uucpd/Makefile.in,
syslogd/Makefile.in, tftpd/Makefile.in, telnet/Makefile.in,
ftp/Makefile.in, rsh/Makefile.in, rlogin/Makefile.in,
tftp/Makefile.in, syslog/Makefile.in, talkd/Makefile.in,
talk/Makefile.in (SRCS, DISTFILES): New variables.
* libtelnet/Makefile.in (OBJS): Derive from $(SRCS).
* inetd/Makefile.in (inetd): Derive objects from $(SRCS).
* rcp/Makefile.in (rcp): Likewise.
* ftpd/Makefile.in (ftpd): Likewise.
* telnet/Makefile.in (telnet): Likewise.
* ftp/Makefile.in (ftp): Likewise.
* tftp/Makefile.in (tftp): Likewise.
* talk/Makefile.in (tftp): Likewise.
* syslogd/Makefile.in (ttymsg.o): Rule removed.
(syslogd): Derive syslogd objects from $(SRCS) (keep ttymsg.o).
* tftpd/Makefile.in (tftpd): Derive tftpd objects from $(SRCS)
(keep tftpsubs.o).
* talkd/Makefile.in (ttymsg.o): Rule removed.
(talkd): Derive talkd objects from $(SRCS) (keep ttymsg.o).
* config.make.in (VPATH): Add $(srcdir)/common
* common/version.c, common/version.h: New files.
* configure.in (CLIENTS): Remove ping. Change `logger' to `syslog'.
Tue Jun 25 02:42:06 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
* ftp/cmds.c: Include errno.h.
Wed Feb 7 17:06:04 1996 Miles Bader <miles@gnu.ai.mit.edu>
* ftp/cmds.c (remglob): Make sure return value is mallocated.
(mdelete): Free CP after use.
(remglob): Don't keep BUF around between calls, as the caller frees it.
Wed Jan 31 16:08:44 1996 Miles Bader <miles@gnu.ai.mit.edu>
* ftpd/ftpd.c (user, pass): Don't require users to have a password.
Sat Dec 30 06:36:41 1995 Roland McGrath <roland@churchy.gnu.ai.mit.edu>
* ftpd/ftpcmd.y: Allow `SITE IDLE 0' for non-anonymous user to
disable idle timer.
Copyright (C) 1995-2025 Free Software Foundation, Inc.
This file is part of GNU Inetutils.
GNU Inetutils is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or (at
your option) any later version.
GNU Inetutils is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see `http://www.gnu.org/licenses/'.
|