pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/inputmethod/ja-freewnn-server sbin/jserver should be a...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ec72e55bc774
branches:  trunk
changeset: 366228:ec72e55bc774
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Mon Aug 07 08:26:38 2017 +0000

description:
sbin/jserver should be a setuid executable in ja-freewnn-server.

SPECIAL_PERMS was set to incorrect or missing paths to freewnn
server executables.  There is only one server executable installed
by the package and it is ${PREFIX}/sbin/jserver, which needs to be
setuid to the "wnn" user.

Bump the PKGREVISION due to fixes in the packgae install scripts.

diffstat:

 inputmethod/ja-freewnn-server/Makefile |  9 ++++-----
 1 files changed, 4 insertions(+), 5 deletions(-)

diffs (27 lines):

diff -r a2ab61e9d851 -r ec72e55bc774 inputmethod/ja-freewnn-server/Makefile
--- a/inputmethod/ja-freewnn-server/Makefile    Mon Aug 07 07:56:58 2017 +0000
+++ b/inputmethod/ja-freewnn-server/Makefile    Mon Aug 07 08:26:38 2017 +0000
@@ -1,8 +1,9 @@
-# $NetBSD: Makefile,v 1.11 2015/06/13 20:40:30 tsutsui Exp $
+# $NetBSD: Makefile,v 1.12 2017/08/07 08:26:38 jlam Exp $
 
 .include "../../inputmethod/ja-freewnn-lib/Makefile.common"
 
 PKGNAME=       ja-FreeWnn-server-1.11alpha23
+PKGREVISION=   1
 
 COMMENT+=      (Japanese server)
 
@@ -28,10 +29,8 @@
 PKG_GROUPS=    ${FREEWNN_GROUP}
 PKG_USERS=     ${FREEWNN_USER}:${FREEWNN_GROUP}
 
-SPECIAL_PERMS+=        bin/Wnn4/jserver ${FREEWNN_USER} ${FREEWNN_GROUP} 4511
-SPECIAL_PERMS+=        bin/Wnn4/cserver ${FREEWNN_USER} ${FREEWNN_GROUP} 4511
-SPECIAL_PERMS+=        bin/Wnn4/tserver ${FREEWNN_USER} ${FREEWNN_GROUP} 4511
-SPECIAL_PERMS+=        bin/Wnn4/kserver ${FREEWNN_USER} ${FREEWNN_GROUP} 4511
+# sbin/jserver needs to be setuid to ${FREEWNN_USER}.
+SPECIAL_PERMS+=        sbin/jserver ${FREEWNN_USER} ${FREEWNN_GROUP} 4511
 
 OWN_DIRS+=             ${IMDICTDIR}/wnn/ja_JP
 OWN_DIRS_PERMS+=       ${IMDICTDIR}/wnn/ja_JP/usr ${FREEWNN_USER} ${FREEWNN_GROUP} ${PKGDIRMODE}



Home | Main Index | Thread Index | Old Index