weird ports permissions (Can't portupgrade to ruby-1.8.4_3,1 )
Mike Jakubik
mikej at rogers.com
Mon Jan 23 13:57:29 PST 2006
Mike Jakubik wrote:
> install -o root -g wheel -m 444
> /usr/ports/lang/ruby18/work/ruby-1.8.4/ext/zlib/doc/zlib.rd
> /usr/local/share/doc/ruby18
> /bin/cp -R /usr/ports/lang/ruby18/work/ruby-1.8.4/doc/*
> /usr/local/share/doc/ruby18/
> cd /usr/ports/lang/ruby18/work/ruby-1.8.4; /usr/bin/env LDFLAGS="
> -rpath=/usr/lib:/usr/local/lib" OPENSSLLIB=/usr/lib
> OPENSSLINC=/usr/include OPENSSLBASE=/usr OPENSSLDIR=/etc/ssl
> SHELL=/bin/sh PORTOBJFORMAT=elf NO_LINT=YES PREFIX=/usr/local
> LOCALBASE=/usr/local X11BASE=/usr/X11R6 MOTIFLIB="-L/usr/X11R6/lib
> -lXm -lXp" LIBDIR="/usr/lib" CFLAGS="-O2 -fno-strict-aliasing -pipe
> -march=athlon" CXXFLAGS="-O2 -fno-strict-aliasing -pipe -march=athlon"
> MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -s -o root -g
> wheel -m 555" BSD_INSTALL_SCRIPT="install -o root -g wheel -m 555"
> BSD_INSTALL_DATA="install -o root -g wheel -m 444"
> BSD_INSTALL_MAN="install -o root -g wheel -m 444" make -f Makefile
> OPENSSL_CFLAGS="-DNO_IDEA" install-doc
> Generating RDoc documentation
> ./miniruby ./runruby.rb --extout=.ext -- "./bin/rdoc" --all --ri --op
> "/usr/local/share/ri/1.8/system" "."
> File '.' not readable
> *** Error code 1
>
It seems that my recent cvsup of the ports also set some weird
permissions on them, this seems to be the cause of the above problem.
---
root at mail:/usr/ports/lang/ruby18# ls
total 192
drwxr-xr-x 4 root wheel 512 Jan 23 16:45:57 2006 ./
drwxr-xr-x 306 root wheel 5632 Jan 23 16:01:24 2006 ../
----rw-rw- 1 root wheel 6120 Jan 23 16:01:23 2006 Makefile
----rw-rw- 1 root wheel 203 Jan 15 23:53:52 2006 distinfo
drwxr-xr-x 2 root wheel 512 Jan 23 16:01:23 2006 files/
----rw-rw- 1 root wheel 754 May 5 19:20:12 2001 pkg-descr
----rw-rw- 1 root wheel 362 Jan 15 23:53:52 2006 pkg-message
----rw-rw- 1 root wheel 170706 Jan 15 23:53:52 2006 pkg-plist
d---rwxrwx 6 root wheel 512 Jan 23 16:50:03 2006 work/
root at mail:/usr/ports/lang/
drwxr-xr-x 3 root wheel 512 Nov 10 16:35:59 2005 tolua/
d---rwxrwx 3 root wheel 512 Jan 23 16:01:25 2006 tolua++/
drwxr-xr-x 3 root wheel 512 Nov 10 16:35:59 2005 tolua4/
More information about the freebsd-ports
mailing list