Changeset 517
- Timestamp:
- 08/16/06 02:56:44 (2 years ago)
- Files:
-
- 1.8.1/CHANGES.180 (modified) (2 diffs)
- 1.8.1/CHANGES.181 (modified) (1 diff)
- 1.8.1/Configure (modified) (17 diffs)
- 1.8.1/Patchlevel (modified) (1 diff)
- 1.8.1/config_h.SH (modified) (5 diffs)
- 1.8.1/confmagic.h (modified) (1 diff)
- 1.8.1/game/txt/hlp/pennv180.hlp (modified) (2 diffs)
- 1.8.1/game/txt/hlp/pennv181.hlp (modified) (2 diffs)
- 1.8.1/game/txt/hlp/pennvOLD.hlp (modified) (1 diff)
- 1.8.1/hdrs/version.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
1.8.1/CHANGES.180
r515 r517 13 13 ========================================================================== 14 14 15 Version 1.8.0 patchlevel 8 August 29, 200515 Version 1.8.0 patchlevel 8 September 15, 2005 16 16 17 17 Fixes: … … 20 20 * SHS encryption now works on 64-bit architectures that define 21 21 uint32_t. Report by Licenser@M*U*S*H. 22 * MySQL detection by Configure was accidentally removed 23 in 1.8.0p7/1.8.1p2. It's back. Report by Walker@M*U*S*H. 24 Same applies to SO_KEEPIDLE and some other Configure units. 22 25 23 26 1.8.1/CHANGES.181
r515 r517 13 13 14 14 ========================================================================== 15 16 Version 1.8.1 patchlevel 3 September 15, 2005 17 18 Fixes 19 * Bugfixes from 1.8.0p8 applied. 20 15 21 16 22 Version 1.8.1 patchlevel 2 September 5, 2005 1.8.1/Configure
r515 r517 19 19 # 20 20 21 # $Id: Configure 1.21.1.4.1.1.1.1.1.1.1.7.1.14 Mon, 28 Jun 2004 09:33:37 -0500 dunemush $21 # $Id: Head.U 1.3 Mon, 10 Nov 2003 14:51:32 -0600 dunemush $ 22 22 # 23 # Generated on Mon Jun 28 09:20:55 CDT 2004[metaconfig 3.0 PL70]23 # Generated on Thu Sep 15 18:16:35 CDT 2005 [metaconfig 3.0 PL70] 24 24 25 25 cat >/tmp/c1$$ <<EOF … … 264 264 cdecl='' 265 265 cf_email='' 266 cf_name='' 266 267 cf_by='' 267 268 cf_time='' … … 380 381 i_niin='' 381 382 i_sysin='' 383 i_nitcp='' 382 384 i_setjmp='' 383 385 i_stddef='' … … 417 419 installdir='' 418 420 libc='' 421 d_mysql='' 422 libmysqlclient='' 419 423 glibpth='' 420 424 libpth='' … … 454 458 so='' 455 459 d_keepalive='' 460 d_keepidle='' 456 461 sharpbang='' 457 462 shsharp='' … … 4618 4623 eval $inlibc 4619 4624 4625 : see if this is a netinet/tcp.h system 4626 set netinet/tcp.h i_nitcp 4627 eval $inhdr 4628 4620 4629 : see if setsockopt with SO_KEEPALIVE works as advertised 4621 4630 echo " " 4622 4631 case "$d_oldsock" in 4623 4632 "$undef") 4624 if $contains SO_KEEPALIVE `./findhdr sys/socket.h` \4625 /dev/null >/dev/null 2>&14626 then4627 4633 echo "OK, let's see if SO_KEEPALIVE works as advertised..." >&4 4628 4634 $cat > socket.c <<EOP … … 4630 4636 #include <sys/socket.h> 4631 4637 #include <netinet/in.h> 4638 #$i_nitcp I_NETINET_TCP 4639 #ifdef I_NETINET_TCP 4640 #include <netinet/tcp.h> 4641 #endif 4632 4642 #include <netdb.h> 4633 4643 … … 4635 4645 { 4636 4646 int s = socket(AF_INET, SOCK_STREAM, 0); 4647 int val = 1; 4637 4648 if (s == -1) 4638 4649 exit(1); 4639 if (-1 == setsockopt(s, SOL_SOCKET, SO_KEEPALIVE, 0, 0))4650 if (-1 == setsockopt(s, SOL_SOCKET, SO_KEEPALIVE, &val, sizeof(val))) 4640 4651 exit(2); 4652 #ifdef I_NETINET_TCP 4653 #ifdef TCP_KEEPIDLE 4654 val = 1; 4655 if (-1 == setsockopt(s, IPPROTO_TCP, TCP_KEEPIDLE, &val, sizeof(val))) 4656 exit(3); 4657 #else 4658 exit(3); 4659 #endif 4660 #endif 4641 4661 exit(0); 4642 4662 } … … 4647 4667 case $? in 4648 4668 0) echo "Yes, it does!" 4649 val="$define";; 4669 val="$define" 4670 val2="$i_nitcp" 4671 ;; 4650 4672 1) $cat <<EOM 4651 4673 (Something went wrong -- Assuming SO_KEEPALIVE is broken) 4652 4674 EOM 4653 val="$undef";; 4675 val="$undef" 4676 val2="$undef" 4677 ;; 4654 4678 2) echo "No, it doesn't. Don't trust your manuals!!" 4655 val="$undef";; 4679 val="$undef" 4680 val2="$undef" 4681 ;; 4682 3) echo "It does, but TCP_KEEPIDLE doesn't." 4683 val="$define" 4684 val2="$undef" 4685 ;; 4656 4686 esac 4657 4687 else … … 4660 4690 EOM 4661 4691 val="$undef" 4692 val2="$undef" 4662 4693 fi 4663 else 4664 echo "Strange!! You have BSD 4.2 sockets but no SO_KEEPALIVE option." 4665 val="$undef" 4666 fi;; 4694 ;; 4667 4695 *) cat <<EOM 4668 4696 As you have an old socket interface, you can't have heard of SO_KEEPALIVE. 4669 4697 EOM 4670 val="$undef";; 4698 val="$undef" 4699 val2="$undef";; 4671 4700 esac 4672 4701 set d_keepalive 4702 eval $setvar 4703 val="$val2" 4704 set d_keepidle 4673 4705 eval $setvar 4674 4706 $rm -f socket socket.c … … 4759 4791 set memset d_memset 4760 4792 eval $inlibc 4793 4794 : see if we should include -lmysqlclient 4795 echo " " 4796 4797 d_mysql="$undef" 4798 4799 if $test "x$no_mysql" = "x"; then 4800 4801 libmysqlclient="-lmysqlclient" 4802 4803 $cat > test_mysql.c <<EOM 4804 #include <stdio.h> 4805 #include <stdlib.h> 4806 #include <mysql/mysql.h> 4807 #include <mysql/errmsg.h> 4808 4809 int main(int argc, char **argv) { 4810 printf("Your mysql is version %s\n",mysql_get_client_info()); 4811 exit(0); 4812 } 4813 EOM 4814 4815 if $cc $ccflags $ldflags -o test_mysql test_mysql.c $libs $libmysqlclient >/dev/null 2>&1 ; 4816 then 4817 echo 'You have mysql...' >&4 4818 version=`./test_mysql` 4819 if $test $? -eq 0; then 4820 echo "$version" >&4 4821 d_mysql="$define" 4822 else 4823 echo "...but my test program didn't run correctly." >&4 4824 libmysqlclient='' 4825 fi 4826 else 4827 echo "You don't seem to have mysql." >&4 4828 libmysqlclient='' 4829 fi 4830 $rm -f test_mysql* core 4831 4832 else 4833 4834 echo "Skipping mysql tests." >&4 4835 libmysqlclient='' 4836 4837 fi 4761 4838 4762 4839 : check for a new-style definitions … … 6606 6683 elif ./xenix; then 6607 6684 dflt=y 6685 elif $test "x$osname" = "xlinux"; then 6686 dflt=y 6608 6687 else 6609 6688 dflt=n … … 6862 6941 cf_by='$cf_by' 6863 6942 cf_email='$cf_email' 6943 cf_name='$cf_name' 6864 6944 cf_time='$cf_time' 6865 6945 chgrp='$chgrp' … … 6915 6995 d_itimer='$d_itimer' 6916 6996 d_keepalive='$d_keepalive' 6997 d_keepidle='$d_keepidle' 6917 6998 d_keepsig='$d_keepsig' 6918 6999 d_lrand48='$d_lrand48' … … 6923 7004 d_memset='$d_memset' 6924 7005 d_mymalloc='$d_mymalloc' 7006 d_mysql='$d_mysql' 6925 7007 d_newstyle='$d_newstyle' 6926 7008 d_oldsock='$d_oldsock' … … 7008 7090 i_netdb='$i_netdb' 7009 7091 i_niin='$i_niin' 7092 i_nitcp='$i_nitcp' 7010 7093 i_setjmp='$i_setjmp' 7011 7094 i_sgtty='$i_sgtty' … … 7049 7132 less='$less' 7050 7133 libc='$libc' 7134 libmysqlclient='$libmysqlclient' 7051 7135 libpth='$libpth' 7052 7136 libs='$libs' 1.8.1/Patchlevel
r515 r517 1 1 Do not edit this file. It is maintained by the official PennMUSH patches. 2 This is PennMUSH 1.8.1p 22 This is PennMUSH 1.8.1p3 1.8.1/config_h.SH
r515 r517 26 26 * For a more permanent change edit config.sh and rerun config_h.SH. 27 27 * 28 * \$Id: config_h.SH 1.17.1.2.1.1.1.11 Mon, 24 May 2004 14:14:15 -0500 dunemush$28 * \$Id: Config_h.U,v 3.0.1.5 1997/02/28 14:57:43 ram Exp $ 29 29 */ 30 30 … … 398 398 */ 399 399 #define Size_t $sizetype /* length paramater for string functions */ 400 401 /* CAN_KEEPALIVE:402 * This symbol if defined indicates to the C program that the SO_KEEPALIVE403 * option of setsockopt() will work as advertised in the manual.404 */405 #$d_keepalive CAN_KEEPALIVE /**/406 400 407 401 /* VOIDFLAGS: … … 807 801 #$i_netdb I_NETDB /**/ 808 802 803 /* I_NETINET_TCP: 804 * This symbol, if defined, indicates to the C program that it should 805 * include <netinet/tcp.h>. 806 */ 807 #$i_nitcp I_NETINET_TCP /**/ 808 809 809 /* I_SETJMP: 810 810 * This symbol, if defined, indicates to the C program that it can … … 845 845 #$i_stdarg I_STDARG /**/ 846 846 847 /* HAS_MYSQL: 848 * Defined if mysql client libraries are available. 849 */ 850 #$d_mysql HAS_MYSQL /**/ 851 847 852 /* HAS_OPENSSL: 848 853 * Defined if openssl 0.9.6+ is available. … … 850 855 #$d_openssl HAS_OPENSSL /**/ 851 856 857 /* CAN_KEEPALIVE: 858 * This symbol if defined indicates to the C program that the SO_KEEPALIVE 859 * option of setsockopt() will work as advertised in the manual. 860 */ 861 /* CAN_KEEPIDLE: 862 * This symbol if defined indicates to the C program that the TCP_KEEPIDLE 863 * option of setsockopt() will work as advertised in the manual. 864 */ 865 #$d_keepalive CAN_KEEPALIVE /**/ 866 867 #$d_keepidle CAN_KEEPIDLE /**/ 868 852 869 #endif 853 870 !GROK!THIS! 1.8.1/confmagic.h
r479 r517 7 7 * without the -M option. 8 8 * 9 * $Id: confmagic.h 1.9 Fri, 15 Feb 2002 16:56:28 -0600 dunemush$9 * $Id: Magic_h.U,v 3.0.1.2 1993/11/10 17:32:58 ram Exp $ 10 10 */ 11 11 1.8.1/game/txt/hlp/pennv180.hlp
r515 r517 1 1 & 1.8.0p8 2 Version 1.8.0 patchlevel 8 August 29, 20052 Version 1.8.0 patchlevel 8 September 15, 2005 3 3 4 4 Fixes: … … 7 7 * SHS encryption now works on 64-bit architectures that define 8 8 uint32_t. Report by Licenser@M*U*S*H. 9 * MySQL detection by Configure was accidentally removed 10 in 1.8.0p7/1.8.1p2. It's back. Report by Walker@M*U*S*H. 11 Same applies to SO_KEEPIDLE and some other Configure units. 9 12 10 13 1.8.1/game/txt/hlp/pennv181.hlp
r515 r517 1 & 1.8.1p 21 & 1.8.1p3 2 2 & changes 3 3 This is a list of changes in this patchlevel which are probably of … … 12 12 be read in 'help patchlevels'. 13 13 14 Version 1.8.1 patchlevel 3 September 15, 2005 15 16 Fixes 17 * Bugfixes from 1.8.0p8 applied. 18 19 20 & 1.8.1p2 14 21 Version 1.8.1 patchlevel 2 September 5, 2005 15 22 1.8.1/game/txt/hlp/pennvOLD.hlp
r515 r517 4418 4418 type 'help <version>p<patchlevel>'. For example, 'help 1.7.2p3' 4419 4419 4420 1.8.1: 0, 1, 2 4420 1.8.1: 0, 1, 2, 3 4421 4421 1.8.0: 0, 1, 2, 3, 4, 5, 6, 7, 8 4422 4422 1.7.7: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 1.8.1/hdrs/version.h
r515 r517 1 1 #define VERSION "1.8.1" 2 #define PATCHLEVEL " 2"3 #define PATCHDATE "[09/ 05/2005]"4 #define NUMVERSION 100800100 22 #define PATCHLEVEL "3" 3 #define PATCHDATE "[09/15/2005]" 4 #define NUMVERSION 1008001003
