aboutsummaryrefslogtreecommitdiff
path: root/japanese/sj3-lib
diff options
context:
space:
mode:
authorSatoshi Asami <asami@FreeBSD.org>1996-08-22 10:24:09 +0000
committerSatoshi Asami <asami@FreeBSD.org>1996-08-22 10:24:09 +0000
commit04b40e37a6967336a13f0dd698cd0cb4753c25fa (patch)
treec3f89e051c58a9d1ed3168eeb98e3c911ae61d17 /japanese/sj3-lib
parent4081ad7d3d40a2c921770ef9dc322507cc31564a (diff)
downloadports-04b40e37a6967336a13f0dd698cd0cb4753c25fa.tar.gz
ports-04b40e37a6967336a13f0dd698cd0cb4753c25fa.zip
Change default port address to 3086 (3000 is already taken).
Submitted by: Hidekazu Kuroki <hidekazu@cs.titech.ac.jp>
Notes
Notes: svn path=/head/; revision=3676
Diffstat (limited to 'japanese/sj3-lib')
-rw-r--r--japanese/sj3-lib/files/patch-aa21
-rw-r--r--japanese/sj3-lib/pkg-descr2
2 files changed, 22 insertions, 1 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).