Date: Thu, 18 Sep 1997 18:40:02 -0700 (PDT) From: Satoshi Taoka <taoka@infonets.hiroshima-u.ac.jp> To: freebsd-ports Subject: Re: ports/4166 (Wnn6) Message-ID: <199709190140.SAA26894@hub.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/4166; it has been noted by GNATS. From: Satoshi Taoka <taoka@infonets.hiroshima-u.ac.jp> To: asami@cs.berkeley.edu Cc: freebsd-gnats-submit@freebsd.org Subject: Re: ports/4166 (Wnn6) Date: Fri, 19 Sep 1997 10:25:16 +0900 I'm sorry. Please apply the folloing patch after applying the previous patch. S. Taoka diff -arcN ../ports.orig2/Wnn6/pkg/INSTALL ./Wnn6/pkg/INSTALL *** ../ports.orig2/Wnn6/pkg/INSTALL Wed Sep 17 05:33:48 1997 --- ./Wnn6/pkg/INSTALL Fri Sep 19 10:16:31 1997 *************** *** 83,102 **** ## Hack /etc/master.passwd ## # check ! id_26=`id -u 26 2> /dev/null` id_wnn=`id -u wnn 2> /dev/null` ! if [ X"$id_wnn" = X26 ];then exit 0 ! elif [ X"$id_26" != X ]; then cat <<EOF +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ This system already has an account whose name is not 'wnn' and ID ! number is 26. ! '`id 26`' ! For Wnn6 in this port or package, ID number of 'wnn' has to be 26. Please try again after you delete the account. +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ EOF --- 83,102 ---- ## Hack /etc/master.passwd ## # check ! id_69=`id -u 69 2> /dev/null` id_wnn=`id -u wnn 2> /dev/null` ! if [ X"$id_wnn" = X69 ];then exit 0 ! elif [ X"$id_69" != X ]; then cat <<EOF +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ This system already has an account whose name is not 'wnn' and ID ! number is 69. ! '`id 69`' ! For Wnn6 in this port or package, ID number of 'wnn' has to be 69. Please try again after you delete the account. +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ EOF *************** *** 106,122 **** This system has an 'wnn' account whose ID number is $id_wnn. It seems that Wnn4.2 has been already installed. For Wnn6 in this ports or ! package, ID number of 'wnn' has to be 26. So we do the following two things: 1) You should delete the account. 2) It seems that all of files or directories for Wnn4.2 are in ${PKG_PREFIX}/lib/wnn and ${PKG_PREFIX}/bin. You should change these ID ! number from '$id_wnn' to '26'. Notice: After doing 1) and 2), we will create a new 'wnn' account ! whose ID number is '26'. EOF if yesno "Would you like to do the above things automatically" y; then --- 106,122 ---- This system has an 'wnn' account whose ID number is $id_wnn. It seems that Wnn4.2 has been already installed. For Wnn6 in this ports or ! package, ID number of 'wnn' has to be 69. So we do the following two things: 1) You should delete the account. 2) It seems that all of files or directories for Wnn4.2 are in ${PKG_PREFIX}/lib/wnn and ${PKG_PREFIX}/bin. You should change these ID ! number from '$id_wnn' to '69'. Notice: After doing 1) and 2), we will create a new 'wnn' account ! whose ID number is '69'. EOF if yesno "Would you like to do the above things automatically" y; then *************** *** 129,135 **** exit 1 fi find ${PKG_PREFIX}/lib/wnn ${PKG_PREFIX}/bin \ ! -user $id_wnn -exec chown 26 {} \; else echo "Please do those, and try again." exit 1 --- 129,135 ---- exit 1 fi find ${PKG_PREFIX}/lib/wnn ${PKG_PREFIX}/bin \ ! -user $id_wnn -exec chown 69 {} \; else echo "Please do those, and try again." exit 1 *************** *** 138,148 **** # add an account 'wnn' to this system echo "" ! echo "You need an account 'wnn' whose ID number is 26" if yesno "Would you like to create it automatically?" y; then # We need a command 'pw(8)' check_pw ! pw useradd wnn -u 26 -g 7 -h - -d /nonexistent \ -s /nonexistent -c Wnn6 || exit else echo "Please create it, and try again." --- 138,148 ---- # add an account 'wnn' to this system echo "" ! echo "You need an account 'wnn' whose ID number is 69" if yesno "Would you like to create it automatically?" y; then # We need a command 'pw(8)' check_pw ! pw useradd wnn -u 69 -g 7 -h - -d /nonexistent \ -s /nonexistent -c Wnn6 || exit else echo "Please create it, and try again."
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199709190140.SAA26894>