238319: Sun packaging changes NSPR_4_4_BRANCH
authorchristophe.ravel.bugs%sun.com
Wed, 12 May 2004 20:14:14 +0000
branchNSPR_4_4_BRANCH
changeset 3118 e325b2f7a2491d3a2638820d0cdd6b543932a76a
parent 2983 e4a540feaa813fc56b2ca86cac89a0c47f29ed13
push idunknown
push userunknown
push dateunknown
bugs238319
238319: Sun packaging changes
configure
configure.in
pkg/linux/Makefile.in
pkg/linux/sun-nspr.spec
pkg/solaris/Makefile-devl.com
pkg/solaris/Makefile-devl.targ
pkg/solaris/Makefile.in
pkg/solaris/SUNWpr/prototype_com
pkg/solaris/SUNWpr/prototype_sparc
pkg/solaris/SUNWprd/Makefile.in
pkg/solaris/SUNWprd/depend
pkg/solaris/SUNWprd/pkginfo.tmpl
pkg/solaris/SUNWprd/prototype
pkg/solaris/SUNWprdx/Makefile.in
pkg/solaris/SUNWprdx/depend
pkg/solaris/SUNWprdx/pkginfo.tmpl
pkg/solaris/SUNWprdx/prototype
pkg/solaris/SUNWprx/prototype_sparc
--- a/configure
+++ b/configure
@@ -5602,16 +5602,18 @@ lib/libc/Makefile
 lib/libc/include/Makefile 
 lib/libc/src/Makefile 
 lib/tests/Makefile
 pkg/Makefile
 pkg/linux/Makefile
 pkg/solaris/Makefile
 pkg/solaris/SUNWpr/Makefile
 pkg/solaris/SUNWprx/Makefile
+pkg/solaris/SUNWprd/Makefile
+pkg/solaris/SUNWprdx/Makefile
 pr/Makefile 
 pr/include/Makefile 
 pr/include/md/Makefile 
 pr/include/obsolete/Makefile 
 pr/include/private/Makefile 
 pr/src/Makefile 
 pr/src/io/Makefile 
 pr/src/linking/Makefile 
--- a/configure.in
+++ b/configure.in
@@ -2473,16 +2473,18 @@ lib/libc/Makefile
 lib/libc/include/Makefile 
 lib/libc/src/Makefile 
 lib/tests/Makefile
 pkg/Makefile
 pkg/linux/Makefile
 pkg/solaris/Makefile
 pkg/solaris/SUNWpr/Makefile
 pkg/solaris/SUNWprx/Makefile
+pkg/solaris/SUNWprd/Makefile
+pkg/solaris/SUNWprdx/Makefile
 pr/Makefile 
 pr/include/Makefile 
 pr/include/md/Makefile 
 pr/include/obsolete/Makefile 
 pr/include/private/Makefile 
 pr/src/Makefile 
 pr/src/io/Makefile 
 pr/src/linking/Makefile 
--- a/pkg/linux/Makefile.in
+++ b/pkg/linux/Makefile.in
@@ -11,34 +11,33 @@ srcdir	    = @srcdir@
 VPATH	    = @srcdir@
 
 NAME        = sun-nspr
 RELEASE     = 1
 TOPDIR      = /usr/src/redhat
 VERSION     = `grep PR_VERSION $(dist_includedir)/prinit.h \
                   | sed -e 's/"$$//' -e 's/.*"//' -e 's/ .*//'`
 
+SPECFILE    = $(NAME).spec
+
 include $(MOD_DEPTH)/config/autoconf.mk
 
 publish:
 	$(MAKE) clean
-	mkdir -p usr/lib/mps
-	cp -L $(MOD_DEPTH)/dist/lib/* usr/lib/mps
-	mkdir -p usr/include/mps
-	cp -Lr $(MOD_DEPTH)/dist/include/* usr/include/mps
-	tar czvf $(NAME)-$(VERSION).tar.gz usr
-	echo "%define name $(NAME)" >$(NAME).spec
-	echo "%define version $(VERSION)" >>$(NAME).spec
-	echo "%define release $(RELEASE)" >>$(NAME).spec
-
-	cat $(srcdir)/$(NAME).spec >>$(NAME).spec
-	cp $(NAME)-$(VERSION).tar.gz $(TOPDIR)/SOURCES
-	rpm -ba $(NAME).spec
-	if [ ! -d RPMS ] ; then mkdir -p RPMS ; fi
-	if [ ! -d SRPMS ] ; then mkdir -p SRPMS ; fi
-	cp -v $(TOPDIR)/RPMS/i386/$(NAME)-$(VERSION)-* RPMS
-	cp -v $(TOPDIR)/RPMS/i386/$(NAME)-devel-$(VERSION)-* RPMS
-	cp -v $(TOPDIR)/SRPMS/$(NAME)-$(VERSION)-* SRPMS
+	mkdir -p SOURCES SRPMS RPMS BUILD
+	(cd $(MOD_DEPTH)/../../dist/$(RELEASE_OBJDIR_NAME)/lib && tar cphf - .) \
+	| (mkdir -p opt/sun/private/lib && cd opt/sun/private/lib && tar xvfBp -)
+	(cd $(MOD_DEPTH)/../../dist/$(RELEASE_OBJDIR_NAME)/include && tar cphf - .) \
+	| (mkdir -p opt/sun/private/include/nspr && cd opt/sun/private/include/nspr && tar xvfBp -)
+	tar czvf SOURCES/$(NAME)-$(VERSION).tar.gz opt
+	echo "%define name $(NAME)" >$(SPECFILE)
+	echo "%define version $(VERSION)" >>$(SPECFILE)
+	echo "%define release $(RELEASE)" >>$(SPECFILE)
+	echo "%define buildroot `pwd`/$(NAME)-root" >>$(SPECFILE)
+	echo "%define _topdir `pwd`" >>$(SPECFILE)
+	cat $(srcdir)/$(NAME).spec >>$(SPECFILE)
+	rpm -ba $(SPECFILE)
 
 clean:
 	rm -rf $(TOPDIR)/BUILD/$(NAME)
-	rm -rf RPMS SRPMS usr
+	rm -rf SOURCES SRPMS RPMS BUILD
+	rm -rf RPMS SRPMS opt
 	rm -f $(NAME)-$(VERSION).tar.gz
--- a/pkg/linux/sun-nspr.spec
+++ b/pkg/linux/sun-nspr.spec
@@ -1,14 +1,16 @@
 Summary: Netscape Portable Runtime
 Name: %{name}
-Vendor: Sun Microsystems
+Vendor: Sun Microsystems, Inc.
 Version: %{version}
 Release: %{release}
 Copyright: MPL/GPL
+Distribution: Sun Java(TM) Enterprise System
+URL: http://www.sun.com
 Group: System Environment/Base
 Source: %{name}-%{version}.tar.gz
 ExclusiveOS: Linux
 BuildRoot: /var/tmp/%{name}-root
         
 %description
 
 NSPR provides platform independence for non-GUI operating system
@@ -37,86 +39,88 @@ mkdir $RPM_BUILD_ROOT
 cd $RPM_BUILD_ROOT
 tar xvzf $RPM_SOURCE_DIR/%{name}-%{version}.tar.gz
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(-,root,root)
-%dir /usr
-%dir /usr/lib
-%dir /usr/lib/mps
-/usr/lib/mps/libnspr4.so
-/usr/lib/mps/libplc4.so
-/usr/lib/mps/libplds4.so
+%dir /opt
+%dir /opt/sun
+%dir /opt/sun/private
+%dir /opt/sun/private/lib
+/opt/sun/private/lib/libnspr4.so
+/opt/sun/private/lib/libplc4.so
+/opt/sun/private/lib/libplds4.so
 
 %files devel
 %defattr(-,root,root)
-/usr/lib/mps/libnspr4.a
-/usr/lib/mps/libplc4.a
-/usr/lib/mps/libplds4.a
-%dir /usr
-%dir /usr/include
-%dir /usr/include/mps
-%dir /usr/include/mps/nspr
-%dir /usr/include/mps/nspr/obsolete
-%dir /usr/include/mps/nspr/private
-/usr/include/mps/nspr/private/pprio.h
-/usr/include/mps/nspr/private/pprthred.h
-/usr/include/mps/nspr/private/prpriv.h
-/usr/include/mps/nspr/prcpucfg.h
-/usr/include/mps/nspr/obsolete/pralarm.h
-/usr/include/mps/nspr/obsolete/probslet.h
-/usr/include/mps/nspr/obsolete/protypes.h
-/usr/include/mps/nspr/obsolete/prsem.h
-/usr/include/mps/nspr/nspr.h
-/usr/include/mps/nspr/pratom.h
-/usr/include/mps/nspr/prbit.h
-/usr/include/mps/nspr/prclist.h
-/usr/include/mps/nspr/prcmon.h
-/usr/include/mps/nspr/prcountr.h
-/usr/include/mps/nspr/prcvar.h
-/usr/include/mps/nspr/prdtoa.h
-/usr/include/mps/nspr/prenv.h
-/usr/include/mps/nspr/prerr.h
-/usr/include/mps/nspr/prerror.h
-/usr/include/mps/nspr/prinet.h
-/usr/include/mps/nspr/prinit.h
-/usr/include/mps/nspr/prinrval.h
-/usr/include/mps/nspr/prio.h
-/usr/include/mps/nspr/pripcsem.h
-/usr/include/mps/nspr/prlink.h
-/usr/include/mps/nspr/prlock.h
-/usr/include/mps/nspr/prlog.h
-/usr/include/mps/nspr/prlong.h
-/usr/include/mps/nspr/prmem.h
-/usr/include/mps/nspr/prmon.h
-/usr/include/mps/nspr/prmwait.h
-/usr/include/mps/nspr/prnetdb.h
-/usr/include/mps/nspr/prolock.h
-/usr/include/mps/nspr/prpdce.h
-/usr/include/mps/nspr/prprf.h
-/usr/include/mps/nspr/prproces.h
-/usr/include/mps/nspr/prrng.h
-/usr/include/mps/nspr/prrwlock.h
-/usr/include/mps/nspr/prshma.h
-/usr/include/mps/nspr/prshm.h
-/usr/include/mps/nspr/prsystem.h
-/usr/include/mps/nspr/prthread.h
-/usr/include/mps/nspr/prtime.h
-/usr/include/mps/nspr/prtpool.h
-/usr/include/mps/nspr/prtrace.h
-/usr/include/mps/nspr/prtypes.h
-/usr/include/mps/nspr/prvrsion.h
-/usr/include/mps/nspr/prwin16.h
-/usr/include/mps/nspr/plarenas.h
-/usr/include/mps/nspr/plarena.h
-/usr/include/mps/nspr/plhash.h
-/usr/include/mps/nspr/plbase64.h
-/usr/include/mps/nspr/plerror.h
-/usr/include/mps/nspr/plgetopt.h
-/usr/include/mps/nspr/plresolv.h
-/usr/include/mps/nspr/plstr.h
+/opt/sun/private/lib/libnspr4.a
+/opt/sun/private/lib/libplc4.a
+/opt/sun/private/lib/libplds4.a
+%dir /opt
+%dir /opt/sun
+%dir /opt/sun/private
+%dir /opt/sun/private/include
+%dir /opt/sun/private/include/nspr
+%dir /opt/sun/private/include/nspr/obsolete
+%dir /opt/sun/private/include/nspr/private
+/opt/sun/private/include/nspr/private/pprio.h
+/opt/sun/private/include/nspr/private/pprthred.h
+/opt/sun/private/include/nspr/private/prpriv.h
+/opt/sun/private/include/nspr/prcpucfg.h
+/opt/sun/private/include/nspr/obsolete/pralarm.h
+/opt/sun/private/include/nspr/obsolete/probslet.h
+/opt/sun/private/include/nspr/obsolete/protypes.h
+/opt/sun/private/include/nspr/obsolete/prsem.h
+/opt/sun/private/include/nspr/nspr.h
+/opt/sun/private/include/nspr/pratom.h
+/opt/sun/private/include/nspr/prbit.h
+/opt/sun/private/include/nspr/prclist.h
+/opt/sun/private/include/nspr/prcmon.h
+/opt/sun/private/include/nspr/prcountr.h
+/opt/sun/private/include/nspr/prcvar.h
+/opt/sun/private/include/nspr/prdtoa.h
+/opt/sun/private/include/nspr/prenv.h
+/opt/sun/private/include/nspr/prerr.h
+/opt/sun/private/include/nspr/prerror.h
+/opt/sun/private/include/nspr/prinet.h
+/opt/sun/private/include/nspr/prinit.h
+/opt/sun/private/include/nspr/prinrval.h
+/opt/sun/private/include/nspr/prio.h
+/opt/sun/private/include/nspr/pripcsem.h
+/opt/sun/private/include/nspr/prlink.h
+/opt/sun/private/include/nspr/prlock.h
+/opt/sun/private/include/nspr/prlog.h
+/opt/sun/private/include/nspr/prlong.h
+/opt/sun/private/include/nspr/prmem.h
+/opt/sun/private/include/nspr/prmon.h
+/opt/sun/private/include/nspr/prmwait.h
+/opt/sun/private/include/nspr/prnetdb.h
+/opt/sun/private/include/nspr/prolock.h
+/opt/sun/private/include/nspr/prpdce.h
+/opt/sun/private/include/nspr/prprf.h
+/opt/sun/private/include/nspr/prproces.h
+/opt/sun/private/include/nspr/prrng.h
+/opt/sun/private/include/nspr/prrwlock.h
+/opt/sun/private/include/nspr/prshma.h
+/opt/sun/private/include/nspr/prshm.h
+/opt/sun/private/include/nspr/prsystem.h
+/opt/sun/private/include/nspr/prthread.h
+/opt/sun/private/include/nspr/prtime.h
+/opt/sun/private/include/nspr/prtpool.h
+/opt/sun/private/include/nspr/prtrace.h
+/opt/sun/private/include/nspr/prtypes.h
+/opt/sun/private/include/nspr/prvrsion.h
+/opt/sun/private/include/nspr/prwin16.h
+/opt/sun/private/include/nspr/plarenas.h
+/opt/sun/private/include/nspr/plarena.h
+/opt/sun/private/include/nspr/plhash.h
+/opt/sun/private/include/nspr/plbase64.h
+/opt/sun/private/include/nspr/plerror.h
+/opt/sun/private/include/nspr/plgetopt.h
+/opt/sun/private/include/nspr/plresolv.h
+/opt/sun/private/include/nspr/plstr.h
 
 %changelog
 * Sat Jan 18 2003 Kirk Erickson <kirk.erickson@sun.com>
 - http://bugzilla.mozilla.org/show_bug.cgi?id=189501 
new file mode 100755
--- /dev/null
+++ b/pkg/solaris/Makefile-devl.com
@@ -0,0 +1,30 @@
+#
+# Copyright 2002 Sun Microsystems, Inc.  All rights reserved.
+# Use is subject to license terms.
+#
+#ident	"$Id$"
+#
+
+MACH = $(shell mach)
+
+PUBLISH_ROOT = $(DIST)
+ifeq ($(MOD_DEPTH),../..)
+ROOT = ROOT
+else
+ROOT = $(subst ../../,,$(MOD_DEPTH))/ROOT
+endif
+
+PKGARCHIVE = $(dist_libdir)/pkgarchive
+DATAFILES = copyright
+FILES = $(DATAFILES) pkginfo
+
+PACKAGE = $(shell basename `pwd`)
+
+PRODUCT_VERSION = "$(MOD_VERSION).$(MOD_MINOR).$(MOD_PATCH)$(MOD_BETA)"
+LN = /usr/bin/ln
+
+CLOBBERFILES = $(FILES)
+
+include $(topsrcdir)/config/rules.mk
+
+# vim: ft=make
new file mode 100755
--- /dev/null
+++ b/pkg/solaris/Makefile-devl.targ
@@ -0,0 +1,28 @@
+#
+# Copyright 2002 Sun Microsystems, Inc.  All rights reserved.
+# Use is subject to license terms.
+#
+#ident	"$Id$"
+#
+
+pkginfo: pkginfo.tmpl ../awk_pkginfo
+	$(RM) $@; nawk -f ../awk_pkginfo $(srcdir)/$@.tmpl > $@
+
+pkg: $(PKGARCHIVE)
+	cp $(srcdir)/prototype .
+	cp $(srcdir)/depend .
+	pkgmk -f prototype -d $(PKGARCHIVE) -r $(ROOT) -o $(PACKAGE)
+
+$(PKGARCHIVE):
+	[ -d $(PKGARCHIVE) ] || mkdir -p $(PKGARCHIVE)
+
+$(DATAFILES): %: $(srcdir)/../common_files/%
+	$(RM) $@; cp $(srcdir)/../common_files/$@ $@
+
+$(MACHDATAFILES): %: $(srcdir)/../common_files/%_$(MACH)
+	$(RM) $@; cp $(srcdir)/../common_files/$@_$(MACH) $@
+
+clobber clean::
+	-$(RM) $(CLOBBERFILES) $(CLEANFILES)
+
+.PHONY: pkg
--- a/pkg/solaris/Makefile.in
+++ b/pkg/solaris/Makefile.in
@@ -7,37 +7,46 @@
 
 MOD_DEPTH = ../..
 topsrcdir   = @top_srcdir@
 srcdir	    = @srcdir@
 VPATH	    = @srcdir@
 
 include $(MOD_DEPTH)/config/autoconf.mk
 
+abs_dist_libdir := $(shell (cd $(dist_libdir);pwd))
+abs_dist_includedir := $(shell (cd $(dist_includedir);pwd))
+
 %: %.ksh
 	$(RM) $@
 	cp $< $@
 	chmod +x $@
 
 ifeq ($(USE_64), 1)
 DIRS = \
-	SUNWprx
+	SUNWprx \
+	SUNWprdx
 else
 DIRS = \
-	SUNWpr
+	SUNWpr \
+	SUNWprd
 endif
 
 PROTO = \
 	$(ROOT) \
 	$(ROOT)/usr \
 	$(ROOT)/usr/lib \
-	$(ROOT)/usr/lib/mps
+	$(ROOT)/usr/lib/mps \
+	$(ROOT)/usr/lib/mps/secv1 \
+	$(ROOT)/usr/include \
+	$(ROOT)/usr/include/mps
 
 ifdef USE_64
-PROTO += $(ROOT)/usr/lib/mps/sparcv9
+PROTO += $(ROOT)/usr/lib/mps/secv1/sparcv9 \
+	$(ROOT)/usr/include/mps/sparcv9
 endif
 
 include $(srcdir)/Makefile.com
 
 awk_pkginfo: bld_awk_pkginfo
 	./bld_awk_pkginfo -m $(MACH) -p "$(PRODUCT_VERSION)" -o $@ -v $(PRODUCT_VERSION)
 
 all:: awk_pkginfo $(PROTO)
@@ -47,14 +56,18 @@ publish: awk_pkginfo $(PROTO)
 clean clobber::
 	$(RM) awk_pkginfo bld_awk_pkginfo
 	$(RM) -r $(ROOT)
 
 $(ROOT) $(ROOT)/%:
 	mkdir -p $@
 
 ifdef USE_64
-$(ROOT)/usr/lib/mps/sparcv9:
-	$(LN) -sf ../../../../$(dist_libdir) $@
+$(ROOT)/usr/lib/mps/secv1/sparcv9: $(ROOT)/usr/lib
+	$(LN) -sf $(abs_dist_libdir) $@
+$(ROOT)/usr/include/mps/sparcv9: $(ROOT)/usr/include
+	$(LN) -sf $(abs_dist_includedir) $@
 else
-$(ROOT)/usr/lib/mps:
-	$(LN) -sf ../../../$(dist_libdir) $@
+$(ROOT)/usr/lib/mps/secv1: $(ROOT)/usr/lib
+	$(LN) -sf $(abs_dist_libdir) $@
+$(ROOT)/usr/include/mps: $(ROOT)/usr/include
+	$(LN) -sf $(abs_dist_includedir) $@
 endif
--- a/pkg/solaris/SUNWpr/prototype_com
+++ b/pkg/solaris/SUNWpr/prototype_com
@@ -21,11 +21,12 @@ i depend
 #
 # source locations relative to the prototype file
 #
 # SUNWpr
 #
 d none usr 755 root sys
 d none usr/lib 755 root bin
 d none usr/lib/mps 755 root bin
-f none usr/lib/mps/libnspr4.so 755 root bin
-f none usr/lib/mps/libplc4.so 755 root bin
-f none usr/lib/mps/libplds4.so 755 root bin
+d none usr/lib/mps/secv1 755 root bin
+f none usr/lib/mps/secv1/libnspr4.so 755 root bin
+f none usr/lib/mps/secv1/libplc4.so 755 root bin
+f none usr/lib/mps/secv1/libplds4.so 755 root bin
--- a/pkg/solaris/SUNWpr/prototype_sparc
+++ b/pkg/solaris/SUNWpr/prototype_sparc
@@ -23,11 +23,11 @@
 #
 # List files which are SPARC specific here
 #
 # source locations relative to the prototype file
 #
 #
 # SUNWpr
 #
-d none usr/lib/mps/cpu 755 root bin
-d none usr/lib/mps/cpu/sparcv8plus 755 root bin
-f none usr/lib/mps/cpu/sparcv8plus/libnspr_flt4.so 755 root bin
+d none usr/lib/mps/secv1/cpu 755 root bin
+d none usr/lib/mps/secv1/cpu/sparcv8plus 755 root bin
+f none usr/lib/mps/secv1/cpu/sparcv8plus/libnspr_flt4.so 755 root bin
new file mode 100755
--- /dev/null
+++ b/pkg/solaris/SUNWprd/Makefile.in
@@ -0,0 +1,22 @@
+#
+# Copyright 2002 Sun Microsystems, Inc.  All rights reserved.
+# Use is subject to license terms.
+#
+#ident	"$Id$"
+#
+
+MOD_DEPTH = ../../..
+topsrcdir   = @top_srcdir@
+srcdir      = @srcdir@
+VPATH       = @srcdir@
+
+include $(MOD_DEPTH)/config/autoconf.mk
+
+include $(srcdir)/../Makefile-devl.com
+
+DATAFILES += 
+
+all:: $(FILES)
+publish:: all pkg
+
+include $(srcdir)/../Makefile-devl.targ
new file mode 100755
--- /dev/null
+++ b/pkg/solaris/SUNWprd/depend
@@ -0,0 +1,22 @@
+# Copyright 2002 Microsystems, Inc.  All Rights Reserved.
+# Use is subject to license terms.
+#
+#	$Id$
+#
+# This package information file defines software dependencies associated
+# with the pkg.  You can define three types of pkg dependencies with this file:
+#	 P indicates a prerequisite for installation
+#	 I indicates an incompatible package
+#	 R indicates a reverse dependency
+# <pkg.abbr> see pkginfo(4), PKG parameter
+# <name> see pkginfo(4), NAME parameter
+# <version> see pkginfo(4), VERSION parameter
+# <arch> see pkginfo(4), ARCH parameter
+# <type> <pkg.abbr> <name>
+# 	(<arch>)<version>
+# 	(<arch>)<version>
+# 	...
+# <type> <pkg.abbr> <name>
+# ...
+
+P SUNWpr	Netscape Portable Runtime
new file mode 100755
--- /dev/null
+++ b/pkg/solaris/SUNWprd/pkginfo.tmpl
@@ -0,0 +1,34 @@
+#
+# Copyright 2002 Sun Microsystems, Inc.  All rights reserved.
+# Use is subject to license terms.
+#
+#ident	"$Id$"
+#
+#
+# This required package information file describes characteristics of the
+# package, such as package abbreviation, full package name, package version,
+# and package architecture.
+#
+PKG="SUNWprd"
+NAME="Netscape Portable Runtime Development"
+ARCH="ISA"
+VERSION="NSPRVERS,REV=0.0.0"
+SUNW_PRODNAME="Netscape Portable Runtime Development"
+SUNW_PRODVERS="NSPRVERS"
+SUNW_PKGTYPE="usr"
+MAXINST="1000"
+CATEGORY="system"
+DESC="Netscape Portable Runtime Interface Files for Development"
+VENDOR="Sun Microsystems, Inc."
+HOTLINE="Please contact your local service provider"
+EMAIL=""
+CLASSES="none"
+BASEDIR=/
+SUNW_PKGVERS="1.0"
+#VSTOCK="<reserved by Release Engineering for package part #>"
+#ISTATES="<developer defined>"
+#RSTATES='<developer defined>'
+#ULIMIT="<developer defined>"
+#ORDER="<developer defined>"
+#PSTAMP="<developer defined>"
+#INTONLY="<developer defined>"
new file mode 100755
--- /dev/null
+++ b/pkg/solaris/SUNWprd/prototype
@@ -0,0 +1,86 @@
+#
+# Copyright 2002 Sun Microsystems, Inc.  All rights reserved.
+# Use is subject to license terms.
+#
+#ident  "$Id$"
+#
+# This required package information file contains a list of package contents.
+# The 'pkgmk' command uses this file to identify the contents of a package
+# and their location on the development machine when building the package.
+# Can be created via a text editor or through use of the 'pkgproto' command.
+
+#!search <pathname pathname ...>        # where to find pkg objects
+#!include <filename>                    # include another 'prototype' file
+#!default <mode> <owner> <group>        # default used if not specified on entry
+#!<param>=<value>                       # puts parameter in pkg environment
+
+# packaging files
+i copyright
+i pkginfo
+i depend
+#
+# source locations relative to .h 0644 root bine prototype file
+#
+# SUNWprd
+#
+d none usr 0755 root sys
+d none usr/include 0755 root bin
+d none usr/include/mps 0755 root bin
+d none usr/include/mps/private 0755 root bin
+f none usr/include/mps/private/pprio.h 0644 root bin
+f none usr/include/mps/private/pprthred.h 0644 root bin
+f none usr/include/mps/private/prpriv.h 0644 root bin
+d none usr/include/mps/obsolete 0755 root bin
+f none usr/include/mps/obsolete/pralarm.h 0644 root bin
+f none usr/include/mps/obsolete/probslet.h 0644 root bin
+f none usr/include/mps/obsolete/protypes.h 0644 root bin
+f none usr/include/mps/obsolete/prsem.h 0644 root bin
+f none usr/include/mps/prcpucfg.h 0644 root bin
+f none usr/include/mps/nspr.h 0644 root bin
+f none usr/include/mps/pratom.h 0644 root bin
+f none usr/include/mps/prbit.h 0644 root bin
+f none usr/include/mps/prclist.h 0644 root bin
+f none usr/include/mps/prcmon.h 0644 root bin
+f none usr/include/mps/prcountr.h 0644 root bin
+f none usr/include/mps/prcvar.h 0644 root bin
+f none usr/include/mps/prdtoa.h 0644 root bin
+f none usr/include/mps/prenv.h 0644 root bin
+f none usr/include/mps/prerr.h 0644 root bin
+f none usr/include/mps/prerror.h 0644 root bin
+f none usr/include/mps/prinet.h 0644 root bin
+f none usr/include/mps/prinit.h 0644 root bin
+f none usr/include/mps/prinrval.h 0644 root bin
+f none usr/include/mps/prio.h 0644 root bin
+f none usr/include/mps/pripcsem.h 0644 root bin
+f none usr/include/mps/prlink.h 0644 root bin
+f none usr/include/mps/prlock.h 0644 root bin
+f none usr/include/mps/prlog.h 0644 root bin
+f none usr/include/mps/prlong.h 0644 root bin
+f none usr/include/mps/prmem.h 0644 root bin
+f none usr/include/mps/prmon.h 0644 root bin
+f none usr/include/mps/prmwait.h 0644 root bin
+f none usr/include/mps/prnetdb.h 0644 root bin
+f none usr/include/mps/prolock.h 0644 root bin
+f none usr/include/mps/prpdce.h 0644 root bin
+f none usr/include/mps/prprf.h 0644 root bin
+f none usr/include/mps/prproces.h 0644 root bin
+f none usr/include/mps/prrng.h 0644 root bin
+f none usr/include/mps/prrwlock.h 0644 root bin
+f none usr/include/mps/prshm.h 0644 root bin
+f none usr/include/mps/prshma.h 0644 root bin
+f none usr/include/mps/prsystem.h 0644 root bin
+f none usr/include/mps/prthread.h 0644 root bin
+f none usr/include/mps/prtime.h 0644 root bin
+f none usr/include/mps/prtpool.h 0644 root bin
+f none usr/include/mps/prtrace.h 0644 root bin
+f none usr/include/mps/prtypes.h 0644 root bin
+f none usr/include/mps/prvrsion.h 0644 root bin
+f none usr/include/mps/prwin16.h 0644 root bin
+f none usr/include/mps/plarenas.h 0644 root bin
+f none usr/include/mps/plarena.h 0644 root bin
+f none usr/include/mps/plbase64.h 0644 root bin
+f none usr/include/mps/plerror.h 0644 root bin
+f none usr/include/mps/plgetopt.h 0644 root bin
+f none usr/include/mps/plhash.h 0644 root bin
+f none usr/include/mps/plresolv.h 0644 root bin
+f none usr/include/mps/plstr.h 0644 root bin
new file mode 100755
--- /dev/null
+++ b/pkg/solaris/SUNWprdx/Makefile.in
@@ -0,0 +1,22 @@
+#
+# Copyright 2002 Sun Microsystems, Inc.  All rights reserved.
+# Use is subject to license terms.
+#
+#ident	"$Id$"
+#
+
+MOD_DEPTH = ../../..
+topsrcdir   = @top_srcdir@
+srcdir      = @srcdir@
+VPATH       = @srcdir@
+
+include $(MOD_DEPTH)/config/autoconf.mk
+
+include $(srcdir)/../Makefile-devl.com
+
+DATAFILES += 
+
+all:: $(FILES)
+publish:: all pkg
+
+include $(srcdir)/../Makefile-devl.targ
new file mode 100755
--- /dev/null
+++ b/pkg/solaris/SUNWprdx/depend
@@ -0,0 +1,22 @@
+# Copyright 2002 Microsystems, Inc.  All Rights Reserved.
+# Use is subject to license terms.
+#
+#	$Id$
+#
+# This package information file defines software dependencies associated
+# with the pkg.  You can define three types of pkg dependencies with this file:
+#	 P indicates a prerequisite for installation
+#	 I indicates an incompatible package
+#	 R indicates a reverse dependency
+# <pkg.abbr> see pkginfo(4), PKG parameter
+# <name> see pkginfo(4), NAME parameter
+# <version> see pkginfo(4), VERSION parameter
+# <arch> see pkginfo(4), ARCH parameter
+# <type> <pkg.abbr> <name>
+# 	(<arch>)<version>
+# 	(<arch>)<version>
+# 	...
+# <type> <pkg.abbr> <name>
+# ...
+
+P SUNWprx	Netscape Portable Runtime (64-bit)
new file mode 100755
--- /dev/null
+++ b/pkg/solaris/SUNWprdx/pkginfo.tmpl
@@ -0,0 +1,35 @@
+#
+# Copyright 2002 Sun Microsystems, Inc.  All rights reserved.
+# Use is subject to license terms.
+#
+#ident	"$Id$"
+#
+#
+# This required package information file describes characteristics of the
+# package, such as package abbreviation, full package name, package version,
+# and package architecture.
+#
+PKG="SUNWprdx"
+NAME="Netscape Portable Runtime Development (64-bit)"
+ARCH="ISA"
+SUNW_ISA="sparcv9"
+VERSION="NSPRVERS,REV=0.0.0"
+SUNW_PRODNAME="Netscape Portable Runtime Development (64-bit)"
+SUNW_PRODVERS="NSPRVERS"
+SUNW_PKGTYPE="usr"
+MAXINST="1000"
+CATEGORY="system"
+DESC="Netscape Portable Runtime Interface Files for Development (64-bit)"
+VENDOR="Sun Microsystems, Inc."
+HOTLINE="Please contact your local service provider"
+EMAIL=""
+CLASSES="none"
+BASEDIR=/
+SUNW_PKGVERS="1.0"
+#VSTOCK="<reserved by Release Engineering for package part #>"
+#ISTATES="<developer defined>"
+#RSTATES='<developer defined>'
+#ULIMIT="<developer defined>"
+#ORDER="<developer defined>"
+#PSTAMP="<developer defined>"
+#INTONLY="<developer defined>"
new file mode 100755
--- /dev/null
+++ b/pkg/solaris/SUNWprdx/prototype
@@ -0,0 +1,87 @@
+#
+# Copyright 2002 Sun Microsystems, Inc.  All rights reserved.
+# Use is subject to license terms.
+#
+#ident  "$Id$"
+#
+# This required package information file contains a list of package contents.
+# The 'pkgmk' command uses this file to identify the contents of a package
+# and their location on the development machine when building the package.
+# Can be created via a text editor or through use of the 'pkgproto' command.
+
+#!search <pathname pathname ...>        # where to find pkg objects
+#!include <filename>                    # include another 'prototype' file
+#!default <mode> <owner> <group>        # default used if not specified on entry
+#!<param>=<value>                       # puts parameter in pkg environment
+
+# packaging files
+i copyright
+i pkginfo
+i depend
+#
+# source locations relative to .h 0644 root bine prototype file
+#
+# SUNWprdx
+#
+d none usr 0755 root sys
+d none usr/include 0755 root bin
+s none usr/include/mps/64=sparcv9
+d none usr/include/mps/sparcv9 0755 root bin
+d none usr/include/mps/sparcv9/private 0755 root bin
+f none usr/include/mps/sparcv9/private/pprio.h 0644 root bin
+f none usr/include/mps/sparcv9/private/pprthred.h 0644 root bin
+f none usr/include/mps/sparcv9/private/prpriv.h 0644 root bin
+d none usr/include/mps/sparcv9/obsolete 0755 root bin
+f none usr/include/mps/sparcv9/obsolete/pralarm.h 0644 root bin
+f none usr/include/mps/sparcv9/obsolete/probslet.h 0644 root bin
+f none usr/include/mps/sparcv9/obsolete/protypes.h 0644 root bin
+f none usr/include/mps/sparcv9/obsolete/prsem.h 0644 root bin
+f none usr/include/mps/sparcv9/prcpucfg.h 0644 root bin
+f none usr/include/mps/sparcv9/nspr.h 0644 root bin
+f none usr/include/mps/sparcv9/pratom.h 0644 root bin
+f none usr/include/mps/sparcv9/prbit.h 0644 root bin
+f none usr/include/mps/sparcv9/prclist.h 0644 root bin
+f none usr/include/mps/sparcv9/prcmon.h 0644 root bin
+f none usr/include/mps/sparcv9/prcountr.h 0644 root bin
+f none usr/include/mps/sparcv9/prcvar.h 0644 root bin
+f none usr/include/mps/sparcv9/prdtoa.h 0644 root bin
+f none usr/include/mps/sparcv9/prenv.h 0644 root bin
+f none usr/include/mps/sparcv9/prerr.h 0644 root bin
+f none usr/include/mps/sparcv9/prerror.h 0644 root bin
+f none usr/include/mps/sparcv9/prinet.h 0644 root bin
+f none usr/include/mps/sparcv9/prinit.h 0644 root bin
+f none usr/include/mps/sparcv9/prinrval.h 0644 root bin
+f none usr/include/mps/sparcv9/prio.h 0644 root bin
+f none usr/include/mps/sparcv9/pripcsem.h 0644 root bin
+f none usr/include/mps/sparcv9/prlink.h 0644 root bin
+f none usr/include/mps/sparcv9/prlock.h 0644 root bin
+f none usr/include/mps/sparcv9/prlog.h 0644 root bin
+f none usr/include/mps/sparcv9/prlong.h 0644 root bin
+f none usr/include/mps/sparcv9/prmem.h 0644 root bin
+f none usr/include/mps/sparcv9/prmon.h 0644 root bin
+f none usr/include/mps/sparcv9/prmwait.h 0644 root bin
+f none usr/include/mps/sparcv9/prnetdb.h 0644 root bin
+f none usr/include/mps/sparcv9/prolock.h 0644 root bin
+f none usr/include/mps/sparcv9/prpdce.h 0644 root bin
+f none usr/include/mps/sparcv9/prprf.h 0644 root bin
+f none usr/include/mps/sparcv9/prproces.h 0644 root bin
+f none usr/include/mps/sparcv9/prrng.h 0644 root bin
+f none usr/include/mps/sparcv9/prrwlock.h 0644 root bin
+f none usr/include/mps/sparcv9/prshm.h 0644 root bin
+f none usr/include/mps/sparcv9/prshma.h 0644 root bin
+f none usr/include/mps/sparcv9/prsystem.h 0644 root bin
+f none usr/include/mps/sparcv9/prthread.h 0644 root bin
+f none usr/include/mps/sparcv9/prtime.h 0644 root bin
+f none usr/include/mps/sparcv9/prtpool.h 0644 root bin
+f none usr/include/mps/sparcv9/prtrace.h 0644 root bin
+f none usr/include/mps/sparcv9/prtypes.h 0644 root bin
+f none usr/include/mps/sparcv9/prvrsion.h 0644 root bin
+f none usr/include/mps/sparcv9/prwin16.h 0644 root bin
+f none usr/include/mps/sparcv9/plarenas.h 0644 root bin
+f none usr/include/mps/sparcv9/plarena.h 0644 root bin
+f none usr/include/mps/sparcv9/plbase64.h 0644 root bin
+f none usr/include/mps/sparcv9/plerror.h 0644 root bin
+f none usr/include/mps/sparcv9/plgetopt.h 0644 root bin
+f none usr/include/mps/sparcv9/plhash.h 0644 root bin
+f none usr/include/mps/sparcv9/plresolv.h 0644 root bin
+f none usr/include/mps/sparcv9/plstr.h 0644 root bin
--- a/pkg/solaris/SUNWprx/prototype_sparc
+++ b/pkg/solaris/SUNWprx/prototype_sparc
@@ -23,13 +23,13 @@
 #
 # List files which are SPARC specific here
 #
 # source locations relative to the prototype file
 #
 #
 # SUNWprx
 #
-s none usr/lib/mps/64=sparcv9
-d none usr/lib/mps/sparcv9 755 root bin
-f none usr/lib/mps/sparcv9/libnspr4.so 755 root bin
-f none usr/lib/mps/sparcv9/libplc4.so 755 root bin
-f none usr/lib/mps/sparcv9/libplds4.so 755 root bin
+s none usr/lib/mps/secv1/64=sparcv9
+d none usr/lib/mps/secv1/sparcv9 755 root bin
+f none usr/lib/mps/secv1/sparcv9/libnspr4.so 755 root bin
+f none usr/lib/mps/secv1/sparcv9/libplc4.so 755 root bin
+f none usr/lib/mps/secv1/sparcv9/libplds4.so 755 root bin