From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Jul 28 16:40:43 2004 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2FAFA16A575 for ; Wed, 28 Jul 2004 16:40:43 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9596B43D5F for ; Wed, 28 Jul 2004 16:40:34 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i6SGeYu4078114 for ; Wed, 28 Jul 2004 16:40:34 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i6SGeY5S078113; Wed, 28 Jul 2004 16:40:34 GMT (envelope-from gnats) Resent-Date: Wed, 28 Jul 2004 16:40:34 GMT Resent-Message-Id: <200407281640.i6SGeY5S078113@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, TAOKA Fumiyoshi Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B16EC16A4CE for ; Wed, 28 Jul 2004 16:33:04 +0000 (GMT) Received: from prime.quad.dyndns.org (12.57.138.210.xn.2iij.net [210.138.57.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2886A43D2D for ; Wed, 28 Jul 2004 16:33:04 +0000 (GMT) (envelope-from fmysh@quad.dyndns.org) Received: from localhost (localhost [127.0.0.1]) by prime.quad.dyndns.org (Postfix) with ESMTP id 2298AF184B; Thu, 29 Jul 2004 01:32:59 +0900 (JST) Received: from prime.quad.dyndns.org ([127.0.0.1]) by localhost (prime.quad.dyndns.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 45047-08; Thu, 29 Jul 2004 01:32:57 +0900 (JST) Received: by prime.quad.dyndns.org (Postfix, from userid 1001) id C0A8EF1849; Thu, 29 Jul 2004 01:32:56 +0900 (JST) Message-Id: <20040728163256.C0A8EF1849@prime.quad.dyndns.org> Date: Thu, 29 Jul 2004 01:32:56 +0900 (JST) From: TAOKA Fumiyoshi To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/69717: sysutils/jailuser: an unquoted slash within a matching operator X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: TAOKA Fumiyoshi List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Jul 2004 16:40:43 -0000 >Number: 69717 >Category: ports >Synopsis: sysutils/jailuser: an unquoted slash within a matching operator >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Jul 28 16:40:34 GMT 2004 >Closed-Date: >Last-Modified: >Originator: TAOKA Fumiyoshi >Release: FreeBSD 5.2-CURRENT i386 >Organization: >Environment: >Description: There is an unquoted slash within a matching operator in lib/arch/generic/functions. >How-To-Repeat: # mkjailenv /var/chrooted Bareword found where operator expected at (eval 4) line 826, near "/^$INSTALL_DIR\/bin/jail" (Missing operator before jail?) Unquoted string "jail" may clash with future reserved word at (eval 4) line 826. mkjailenv A component of Jail (version 1.9 for freebsd) http://www.gsyc.inf.uc3m.es/~assman/jail/ Juan M. Casillas Making chrooted environment into /var/chrooted Doing preinstall() Doing special_devices() Doing gen_template_password() Doing postinstall() Undefined subroutine &main::add_jail_to_shells called at /usr/local/bin/mkjailenv line 103. >Fix: diff -ur jailuser.orig/Makefile jailuser/Makefile --- jailuser.orig/Makefile Thu Jul 29 01:19:04 2004 +++ jailuser/Makefile Thu Jul 29 01:19:17 2004 @@ -7,6 +7,7 @@ PORTNAME= jailuser PORTVERSION= 1.9 +PORTREVISION= 1 CATEGORIES= sysutils MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= jail diff -ur jailuser.orig/files/patch-functions jailuser/files/patch-functions --- jailuser.orig/files/patch-functions Thu Jul 29 01:19:04 2004 +++ jailuser/files/patch-functions Thu Jul 29 01:19:43 2004 @@ -17,7 +17,7 @@ close(F); for $k (@elem) { -! if ($k =~ /^$INSTALL_DIR\/bin/jail/) { +! if ($k =~ /^$INSTALL_DIR\/bin\/jail/) { $found = 1; last; } >Release-Note: >Audit-Trail: >Unformatted: