Subject: pkg/20775: pkg* don't deal well with filenames with spaces
To: None <email@example.com>
From: None <firstname.lastname@example.org>
Date: 03/17/2003 17:28:45
>Synopsis: pkg* don't deal well with filenames with spaces
>Arrival-Date: Mon Mar 17 14:29:00 PST 2003
>Originator: Jan Schaumann
>Release: NetBSD 1.6.1_RC2
System: NetBSD dogfish-head.cs.stevens-tech.edu 1.6.1_RC2 NetBSD 1.6.1_RC2 (BOCK) #27: Tue Mar 11 18:03:40 EST 2003 email@example.com:/usr/src/sys/arch/i386/compile/BOCK i386
Trying to build a package for software that installs various files
with spaces in the filename lead to problems when attempting to
register the package.
pkg_create: MD5File: can't read from `/usr/pkg/bin/digest md5 /usr/pkg/some/long path with/some file/names/with/spaces in it': Success
make print-PLIST creates a flawed PLIST as well when trying to parse
the filenames to create @dirrm entries:
Try to install a package that contains files with spaces in the filename.
I would assume that a similar problem occurs with other 'special'
characters in a files name.
I'd assume some quoting of the filenames and/or escaping of non-standard
characters in a files name might help.