pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/43838: mediawiki package assumes $FIND is not stupid



>Number:         43838
>Category:       pkg
>Synopsis:       mediawiki package assumes $FIND is not stupid
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Sep 03 19:55:00 +0000 2010
>Originator:     Bryan Horstmann-Allen
>Release:        None
>Organization:
>Environment:
SunOS build2 5.10 Generic_141445-09 i86pc i386 i86pc
>Description:
Solaris find cannot do substr'd {}. The mediawiki package does this:


cd /opt/pkg/pkgsrc/www/mediawiki/work/mediawiki-1.16.0 && gfind . -type d -exec 
/opt/pkg/bin/install-sh -d -o root -g root -m 755  /opt/pkg/share/mediawiki/{} 
\; -exec /usr/bin/chown  www:www /opt/pkg/share/mediawiki/{} \;
cd /opt/pkg/pkgsrc/www/mediawiki/work/mediawiki-1.16.0 && gfind . \! -type d 
-exec /opt/pkg/bin/install-sh -c -o root -g root -m 444 {}  
/opt/pkg/share/mediawiki/{} \; -exec /usr/bin/chown  www:www 
/opt/pkg/share/mediawiki/{} \;

Which should install each file into /opt/pkg/share/mediawiki but actually just 
writes /opt/pkg/share/mediawiki/{} over and over.

The package should require findutils and set FIND=gfind or rewrite the install 
function to avoid the substr problem.
>How-To-Repeat:
Install mediawiki.
>Fix:



Home | Main Index | Thread Index | Old Index