ports/69717: sysutils/jailuser: an unquoted slash within a matching operator
TAOKA Fumiyoshi
fmysh at iijmio-mail.jp
Wed Jul 28 16:40:43 UTC 2004
>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 <assman at gsyc.inf.uc3m.es>
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:
More information about the freebsd-ports-bugs
mailing list