From ab70e18b823a3b1b2bf781bafc084ec0ff4dac77 Mon Sep 17 00:00:00 2001 From: Jun Kuriyama Date: Fri, 9 Oct 1998 06:10:47 +0000 Subject: The current japanese/sj3 (sj3-2.0.1.13) has a security bug of sj3serv. sj3-2.0.1.20 has already been released. In the version one, the bug was fixed. PR: ports/8093 Submitted by: taoka@infonets.hiroshima-u.ac.jp --- japanese/sj3-lib/files/patch-ae | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 japanese/sj3-lib/files/patch-ae (limited to 'japanese/sj3-lib/files/patch-ae') diff --git a/japanese/sj3-lib/files/patch-ae b/japanese/sj3-lib/files/patch-ae new file mode 100644 index 000000000000..939c71115c9b --- /dev/null +++ b/japanese/sj3-lib/files/patch-ae @@ -0,0 +1,26 @@ +--- include/Paths.h.in.orig Thu Jan 23 20:20:57 1997 ++++ include/Paths.h.in Tue Aug 18 11:29:00 1998 +@@ -33,7 +33,22 @@ + * $SonyDate: 1997/01/23 11:20:55 $ + */ + +-#define ErrorOutFile "/dev/console" ++/* ++ * Change ErrotOutFile variable. ++ * Because suppress a error when sj3serv start up, change to "/dev/stderr". ++ * This error is "Cannot Open "/dev/console".". ++ * Patched by Hidekazu Kuroki(hidekazu@cs.titech.ac.jp) 1996/8/10 ++ * ++ * Change ErrotOutFile variable. ++ * This default value is "/dev/null" in document. ++ * Patched by Hidekazu Kuroki(hidekazu@cs.titech.ac.jp) 1996/8/11 ++ */ ++#if !defined(__FreeBSD__) ++#define ErrorOutFile "/dev/console" ++#else ++/* #define ErrorOutFile "/dev/stderr" */ /* for test */ ++#define ErrorOutFile "/dev/null" ++#endif + + #define SocketName "/tmp/sj3sock" + #define LockFile "/tmp/SJ3SERV.EXIST" -- cgit v1.2.3