Incorrect packaging of man pages on Solaris

OSS specific Solaris discussion (x86/SPARC)

Moderators: cesium, dev, kodachi, hannu

Incorrect packaging of man pages on Solaris

Postby moinakg » Tue Mar 25, 2008 1:12 pm

Hi,

I just built OSS from source on Solaris Nevada and after a make package I find that
the package treats /usr/man as a directory rather than a symlink. A small change to
mkpkg fixes this problem:

--- oss-v4.0-build1014-src-cddl/setup/SunOS/mkpkg.sh.orig 2008-03-25 18:25:11.940937000 +0530
+++ oss-v4.0-build1014-src-cddl/setup/SunOS/mkpkg.sh 2008-03-25 18:23:11.182711000 +0530
@@ -59,6 +59,7 @@
echo "i r.drvcfg=$ARCH/setup/SunOS/r.drvcfg" >>/tmp/$$

# now get a list of all the files and directories
+(cd prototype; mkdir usr/share; mv usr/man usr/share)
(cd prototype; find . -type f -print |pkgproto >> /tmp/$$)
(cd prototype; find . -type l -print |pkgproto >> /tmp/$$)

Regards,
Moinak.
moinakg
New Member
 
Posts: 1
Joined: Tue Mar 25, 2008 1:05 pm

Return to Solaris

Who is online

Users browsing this forum: Yahoo [Bot] and 1 guest