From 4e6d6c399e61a352eb76866ad4f288797dfa457d Mon Sep 17 00:00:00 2001 From: asami Date: Thu, 22 Aug 1996 10:24:09 +0000 Subject: Change default port address to 3086 (3000 is already taken). Submitted by: Hidekazu Kuroki --- japanese/sj3-lib/files/patch-aa | 21 +++++++++++++++++++++ japanese/sj3-lib/pkg-descr | 2 +- japanese/sj3-server/files/patch-aa | 21 +++++++++++++++++++++ japanese/sj3-server/pkg-descr | 2 +- japanese/sj3/files/patch-aa | 21 +++++++++++++++++++++ japanese/sj3/pkg-descr | 2 +- 6 files changed, 66 insertions(+), 3 deletions(-) diff --git a/japanese/sj3-lib/files/patch-aa b/japanese/sj3-lib/files/patch-aa index 2860f3f77b78..f8e45505aa04 100644 --- a/japanese/sj3-lib/files/patch-aa +++ b/japanese/sj3-lib/files/patch-aa @@ -1842,3 +1842,24 @@ diff -arcN ../sj3-2.0.1.13.org/sj3stat/sj3stat.c ./sj3stat/sj3stat.c who[i].hostname, who[i].fd, who[i].progname); } (void) sj3_erase_connection(&clnt); +diff -arcN ../sj3-2.0.1.13.old/include/Const.h ./include/Const.h +*** ../sj3-2.0.1.13.old/include/Const.h Tue Aug 13 03:13:39 1996 +--- ./include/Const.h Wed Aug 21 14:01:27 1996 +*************** +*** 87,93 **** +--- 87,101 ---- + #define ProtoName "tcp" + #define PortNumber "3000" + #else ++ /* ++ * Change the default Port number of sj3 for FreeBSD. ++ * Patched by Hidekazu Kuroki(hidekazu@cs.titech.ac.jp) 1996/8/20 ++ */ ++ #ifdef __FreeBSD__ ++ #define PortNumber 3086 ++ #else /* ! __FreeBSD__ */ + #define PortNumber 3000 ++ #endif /* ! __FreeBSD__ */ + #endif + #define SocketName "/tmp/sj3sock" + #define LockFile "/tmp/SJ3SERV.EXIST" diff --git a/japanese/sj3-lib/pkg-descr b/japanese/sj3-lib/pkg-descr index 297d0296b6bf..40d4753542ca 100644 --- a/japanese/sj3-lib/pkg-descr +++ b/japanese/sj3-lib/pkg-descr @@ -7,7 +7,7 @@ conversion library(sj3lib). If you start up sj3serv, you must add a following entry into /etc/services file or NIS/YP services map. -sj3 3000/tcp +sj3 3086/tcp This port number may be changed by the setup file(See manpages). diff --git a/japanese/sj3-server/files/patch-aa b/japanese/sj3-server/files/patch-aa index 2860f3f77b78..f8e45505aa04 100644 --- a/japanese/sj3-server/files/patch-aa +++ b/japanese/sj3-server/files/patch-aa @@ -1842,3 +1842,24 @@ diff -arcN ../sj3-2.0.1.13.org/sj3stat/sj3stat.c ./sj3stat/sj3stat.c who[i].hostname, who[i].fd, who[i].progname); } (void) sj3_erase_connection(&clnt); +diff -arcN ../sj3-2.0.1.13.old/include/Const.h ./include/Const.h +*** ../sj3-2.0.1.13.old/include/Const.h Tue Aug 13 03:13:39 1996 +--- ./include/Const.h Wed Aug 21 14:01:27 1996 +*************** +*** 87,93 **** +--- 87,101 ---- + #define ProtoName "tcp" + #define PortNumber "3000" + #else ++ /* ++ * Change the default Port number of sj3 for FreeBSD. ++ * Patched by Hidekazu Kuroki(hidekazu@cs.titech.ac.jp) 1996/8/20 ++ */ ++ #ifdef __FreeBSD__ ++ #define PortNumber 3086 ++ #else /* ! __FreeBSD__ */ + #define PortNumber 3000 ++ #endif /* ! __FreeBSD__ */ + #endif + #define SocketName "/tmp/sj3sock" + #define LockFile "/tmp/SJ3SERV.EXIST" diff --git a/japanese/sj3-server/pkg-descr b/japanese/sj3-server/pkg-descr index 297d0296b6bf..40d4753542ca 100644 --- a/japanese/sj3-server/pkg-descr +++ b/japanese/sj3-server/pkg-descr @@ -7,7 +7,7 @@ conversion library(sj3lib). If you start up sj3serv, you must add a following entry into /etc/services file or NIS/YP services map. -sj3 3000/tcp +sj3 3086/tcp This port number may be changed by the setup file(See manpages). diff --git a/japanese/sj3/files/patch-aa b/japanese/sj3/files/patch-aa index 2860f3f77b78..f8e45505aa04 100644 --- a/japanese/sj3/files/patch-aa +++ b/japanese/sj3/files/patch-aa @@ -1842,3 +1842,24 @@ diff -arcN ../sj3-2.0.1.13.org/sj3stat/sj3stat.c ./sj3stat/sj3stat.c who[i].hostname, who[i].fd, who[i].progname); } (void) sj3_erase_connection(&clnt); +diff -arcN ../sj3-2.0.1.13.old/include/Const.h ./include/Const.h +*** ../sj3-2.0.1.13.old/include/Const.h Tue Aug 13 03:13:39 1996 +--- ./include/Const.h Wed Aug 21 14:01:27 1996 +*************** +*** 87,93 **** +--- 87,101 ---- + #define ProtoName "tcp" + #define PortNumber "3000" + #else ++ /* ++ * Change the default Port number of sj3 for FreeBSD. ++ * Patched by Hidekazu Kuroki(hidekazu@cs.titech.ac.jp) 1996/8/20 ++ */ ++ #ifdef __FreeBSD__ ++ #define PortNumber 3086 ++ #else /* ! __FreeBSD__ */ + #define PortNumber 3000 ++ #endif /* ! __FreeBSD__ */ + #endif + #define SocketName "/tmp/sj3sock" + #define LockFile "/tmp/SJ3SERV.EXIST" diff --git a/japanese/sj3/pkg-descr b/japanese/sj3/pkg-descr index 297d0296b6bf..40d4753542ca 100644 --- a/japanese/sj3/pkg-descr +++ b/japanese/sj3/pkg-descr @@ -7,7 +7,7 @@ conversion library(sj3lib). If you start up sj3serv, you must add a following entry into /etc/services file or NIS/YP services map. -sj3 3000/tcp +sj3 3086/tcp This port number may be changed by the setup file(See manpages). -- cgit