Samba 1.9.18p10 for NEWS-OS Release 6.x 構築環境: NWS-5000TF NEWS-OS Release 6.1.2 NEWS-C 1.010 GNU make 3.76.1 インストール方法: # gzip -dc samba-1.9.18p10.tar.gz | tar xf - # cd samba-1.9.18p10 # patch -p1 < ThisFile # cd source # make # make install hiraga@meis.sony.co.jp diff -urP samba-1.9.18p10/source/Makefile samba-1.9.18p10-newsos6/source/Makefile --- samba-1.9.18p10/source/Makefile Tue Jun 16 02:32:28 1998 +++ samba-1.9.18p10-newsos6/source/Makefile Tue Oct 27 16:46:01 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.18p10/source/includes.h samba-1.9.18p10-newsos6/source/includes.h --- samba-1.9.18p10/source/includes.h Thu Aug 20 08:41:46 1998 +++ samba-1.9.18p10-newsos6/source/includes.h Tue Oct 27 16:40:39 1998 @@ -442,7 +442,11 @@ #include #include #include +#ifdef NEWS61 +#define NO_STATFS +#else #include +#endif #include #include #include @@ -993,6 +997,8 @@ #include #include typedef int mode_t; +typedef int pid_t; +#define _IOFBF 00 #endif #ifdef OS2 diff -urP samba-1.9.18p10/source/server.c samba-1.9.18p10-newsos6/source/server.c --- samba-1.9.18p10/source/server.c Thu Aug 20 08:41:53 1998 +++ samba-1.9.18p10-newsos6/source/server.c Tue Oct 27 16:40:40 1998 @@ -2614,8 +2614,10 @@ signal(SIGCLD, SIGNAL_CAST sig_cld); #endif +#ifndef NEWS42 if(atexit_set == 0) atexit(killkids); +#endif FD_ZERO(&listen_set);