diff options
author | Jun Kuriyama <kuriyama@FreeBSD.org> | 1998-10-09 06:10:47 +0000 |
---|---|---|
committer | Jun Kuriyama <kuriyama@FreeBSD.org> | 1998-10-09 06:10:47 +0000 |
commit | ab70e18b823a3b1b2bf781bafc084ec0ff4dac77 (patch) | |
tree | 3af59ec8647e50369da0cf1ed92a3af7ae34760a /japanese/sj3-lib/Makefile | |
parent | 668caf7aac426473e417e7f0c1bb9aed0a4c3315 (diff) |
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
Notes
Notes:
svn path=/head/; revision=13780
Diffstat (limited to 'japanese/sj3-lib/Makefile')
-rw-r--r-- | japanese/sj3-lib/Makefile | 28 |
1 files changed, 22 insertions, 6 deletions
diff --git a/japanese/sj3-lib/Makefile b/japanese/sj3-lib/Makefile index 8c41501dd59d..d48639a5f120 100644 --- a/japanese/sj3-lib/Makefile +++ b/japanese/sj3-lib/Makefile @@ -1,13 +1,13 @@ # New ports collection makefile for: SJ3 -# Version required: 2.0.1.13 -# Date created: 10 Aug 1996 +# Version required: 2.0.1.20 +# Date created: 18 Aug 1998 # Whom: Hidekazu Kuroki <hidekazu@cs.titech.ac.jp> # -# $Id: Makefile,v 1.5 1997/09/14 21:35:56 max Exp $ +# $Id: Makefile,v 1.6 1998/06/06 03:45:04 itojun Exp $ # -DISTNAME= sj3-2.0.1.13 -PKGNAME= ja-sj3-2.0.1.13 +DISTNAME= sj3-2.0.1.20 +PKGNAME= ja-sj3-2.0.1.20 CATEGORIES= japanese MASTER_SITES= ftp://ftp.sony.co.jp/pub/unsupported/src/ \ ftp://ftp.cs.titech.ac.jp/pub/japanese/sj3/ @@ -17,11 +17,27 @@ MAINTAINER= hidekazu@cs.titech.ac.jp MAN1= sj3.1 sj3dic.1 sj3mkdic.1 sj3serv.1 MANLANG= ja +STARTUP_SCRIPT= ${PREFIX}/etc/rc.d/sj3.sh + # This port requires xmkmf but installs in /usr/local # # NOTE : You must not use 'xmkmf -a', because the running 'make depend' caused a error. do-configure: - ( cd $(WRKDIR)/sj3-2.0.1.13 ; xmkmf ; make Makefiles ) + ( cd $(WRKSRC) ; xmkmf ; make Makefiles ) + +post-install: + if [ ! -f ${STARTUP_SCRIPT} ]; then \ + ${ECHO} "Installing ${STARTUP_SCRIPT} startup file."; \ + ${ECHO} '#!/bin/sh' > ${STARTUP_SCRIPT}; \ + ${ECHO} 'sj3=${PREFIX}/bin/sj3serv' >> ${STARTUP_SCRIPT} ; \ + ${ECHO} 'if [ -f $$sj3 ]; then' >> ${STARTUP_SCRIPT} ; \ + ${ECHO} ' $$sj3' >> ${STARTUP_SCRIPT} ; \ + ${ECHO} "fi" >> ${STARTUP_SCRIPT} ; \ + chmod 755 ${STARTUP_SCRIPT} ; \ + chown bin.bin ${STARTUP_SCRIPT}; \ + fi + ${SETENV} PKG_PREFIX=${PREFIX} \ + ${SH} ${PKGDIR}/INSTALL ${PKGNAME} POST-INSTALL .include <bsd.port.mk> |