Samba 1.9.18p8 for NEWS-OS Release 6.x 構築環境: NWS-5000TF NEWS-OS Release 6.1.2 NEWS-C 1.010 GNU make 3.76.1 インストール方法: # make # make install hiraga@meis.sony.co.jp diff -urP samba-1.9.18p8/source/Makefile samba-1.9.18p8-newsos6/source/Makefile --- samba-1.9.18p8/source/Makefile Mon Jun 1 15:29:04 1998 +++ samba-1.9.18p8-newsos6/source/Makefile Fri Aug 14 14:18:19 1998 @@ -9,7 +9,7 @@ # The base manpages directory to put the man pages in # Note: $(MANDIR)/man1, $(MANDIR)/man5 and $(MANDIR)/man8 must exist. -MANDIR = /usr/local/man +MANDIR = /usr/local/man/C # The directories to put things in. If you use multiple # architectures or share the samba binaries across NFS then @@ -27,7 +27,7 @@ # Add any optimisation or debugging flags here # add -DSYSLOG for syslog support -FLAGS1 = -O +FLAGS1 = -O2 LIBS1 = # You will need to use a ANSI C compiler. This means under SunOS 4 you can't @@ -591,14 +591,14 @@ # This is for SONY NEWS, NEWS-OS 4.2.x # contributed by sky@sm.sony.co.jp (Katushi Sato) -# FLAGSM = -DNEWS42 -DKANJI=\"sjis\" -# LIBSM = +#FLAGSM = -DNEWS42 -DKANJI=\"euc\" +#LIBSM = # This is for SONY NEWS, NEWS-OS 6.1.x # contributed by kobo@sm.sony.co.jp (Yoichi Kobori) -# FLAGSM = -Xa -DSVR4 -DNEWS61 -DSHADOW_PWD -DNETGROUP -DGETTIMEOFDAY1 -DKANJI=\"euc\"\ -D_SONYILS_H -# LIBSM = -lsocket -lnsl +FLAGSM = -Xa -DSVR4 -DNEWS61 -DSHADOW_PWD -DNETGROUP -DGETTIMEOFDAY1 -DKANJI=\"euc\" -D_SONYILS_H +LIBSM = -lsocket -lnsl # This is for OS/2 using EMX diff -urP samba-1.9.18p8/source/includes.h samba-1.9.18p8-newsos6/source/includes.h --- samba-1.9.18p8/source/includes.h Sat Jun 13 10:44:19 1998 +++ samba-1.9.18p8-newsos6/source/includes.h Fri Aug 14 10:30:58 1998 @@ -434,7 +434,11 @@ #include #include #include +#ifdef NEWS61 +#define NO_STATFS +#else #include +#endif #include #include #include @@ -977,6 +981,8 @@ #include #include typedef int mode_t; +typedef int pid_t; +#define _IOFBF 00 #endif #ifdef OS2 diff -urP samba-1.9.18p8/source/server.c samba-1.9.18p8-newsos6/source/server.c --- samba-1.9.18p8/source/server.c Sat Jun 13 10:44:21 1998 +++ samba-1.9.18p8-newsos6/source/server.c Fri Aug 14 10:38:27 1998 @@ -2609,8 +2609,10 @@ signal(SIGCLD, SIGNAL_CAST sig_cld); #endif +#ifndef NEWS42 if(atexit_set == 0) atexit(killkids); +#endif FD_ZERO(&listen_set);