summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorchristophe.ravel.bugs%sun.com <devnull@localhost>2004-05-12 20:14:14 +0000
committerchristophe.ravel.bugs%sun.com <devnull@localhost>2004-05-12 20:14:14 +0000
commitb6553399586b15c8242eb4fffc79b37a618eb79e (patch)
tree45a642290edebd8474cab0b744933cef42f019d1
parent4c632fa16d72d3f7aab2c4a3955c51a779acba17 (diff)
downloadnspr-hg-NSPR_4_4_BRANCH.tar.gz
238319: Sun packaging changesNSPR_4_4_BRANCH
-rwxr-xr-xconfigure2
-rw-r--r--configure.in2
-rw-r--r--pkg/linux/Makefile.in35
-rw-r--r--pkg/linux/sun-nspr.spec148
-rwxr-xr-xpkg/solaris/Makefile-devl.com30
-rwxr-xr-xpkg/solaris/Makefile-devl.targ28
-rw-r--r--pkg/solaris/Makefile.in29
-rw-r--r--pkg/solaris/SUNWpr/prototype_com7
-rw-r--r--pkg/solaris/SUNWpr/prototype_sparc6
-rwxr-xr-xpkg/solaris/SUNWprd/Makefile.in22
-rwxr-xr-xpkg/solaris/SUNWprd/depend22
-rwxr-xr-xpkg/solaris/SUNWprd/pkginfo.tmpl34
-rwxr-xr-xpkg/solaris/SUNWprd/prototype86
-rwxr-xr-xpkg/solaris/SUNWprdx/Makefile.in22
-rwxr-xr-xpkg/solaris/SUNWprdx/depend22
-rwxr-xr-xpkg/solaris/SUNWprdx/pkginfo.tmpl35
-rwxr-xr-xpkg/solaris/SUNWprdx/prototype87
-rw-r--r--pkg/solaris/SUNWprx/prototype_sparc10
18 files changed, 518 insertions, 109 deletions
diff --git a/configure b/configure
index b222455a..1c5f20e6 100755
--- a/configure
+++ b/configure
@@ -5607,6 +5607,8 @@ 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
diff --git a/configure.in b/configure.in
index 7128007b..ba6fea72 100644
--- a/configure.in
+++ b/configure.in
@@ -2478,6 +2478,8 @@ 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
diff --git a/pkg/linux/Makefile.in b/pkg/linux/Makefile.in
index aac22aab..b712206b 100644
--- a/pkg/linux/Makefile.in
+++ b/pkg/linux/Makefile.in
@@ -16,29 +16,28 @@ 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
diff --git a/pkg/linux/sun-nspr.spec b/pkg/linux/sun-nspr.spec
index 1fed5048..60732ca6 100644
--- a/pkg/linux/sun-nspr.spec
+++ b/pkg/linux/sun-nspr.spec
@@ -1,9 +1,11 @@
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
@@ -42,80 +44,82 @@ 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>
diff --git a/pkg/solaris/Makefile-devl.com b/pkg/solaris/Makefile-devl.com
new file mode 100755
index 00000000..89004811
--- /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
diff --git a/pkg/solaris/Makefile-devl.targ b/pkg/solaris/Makefile-devl.targ
new file mode 100755
index 00000000..58590b08
--- /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
diff --git a/pkg/solaris/Makefile.in b/pkg/solaris/Makefile.in
index b5c0acbe..f1effceb 100644
--- a/pkg/solaris/Makefile.in
+++ b/pkg/solaris/Makefile.in
@@ -12,6 +12,9 @@ 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 $< $@
@@ -19,20 +22,26 @@ include $(MOD_DEPTH)/config/autoconf.mk
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
@@ -52,9 +61,13 @@ $(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
diff --git a/pkg/solaris/SUNWpr/prototype_com b/pkg/solaris/SUNWpr/prototype_com
index 1462665f..0a0d72cb 100644
--- a/pkg/solaris/SUNWpr/prototype_com
+++ b/pkg/solaris/SUNWpr/prototype_com
@@ -26,6 +26,7 @@ i depend
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
diff --git a/pkg/solaris/SUNWpr/prototype_sparc b/pkg/solaris/SUNWpr/prototype_sparc
index 40bc6dcd..3aa74082 100644
--- a/pkg/solaris/SUNWpr/prototype_sparc
+++ b/pkg/solaris/SUNWpr/prototype_sparc
@@ -28,6 +28,6 @@
#
# 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
diff --git a/pkg/solaris/SUNWprd/Makefile.in b/pkg/solaris/SUNWprd/Makefile.in
new file mode 100755
index 00000000..b5d0e406
--- /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
diff --git a/pkg/solaris/SUNWprd/depend b/pkg/solaris/SUNWprd/depend
new file mode 100755
index 00000000..366d155e
--- /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
diff --git a/pkg/solaris/SUNWprd/pkginfo.tmpl b/pkg/solaris/SUNWprd/pkginfo.tmpl
new file mode 100755
index 00000000..f24aa102
--- /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>"
diff --git a/pkg/solaris/SUNWprd/prototype b/pkg/solaris/SUNWprd/prototype
new file mode 100755
index 00000000..88638049
--- /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
diff --git a/pkg/solaris/SUNWprdx/Makefile.in b/pkg/solaris/SUNWprdx/Makefile.in
new file mode 100755
index 00000000..b5d0e406
--- /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
diff --git a/pkg/solaris/SUNWprdx/depend b/pkg/solaris/SUNWprdx/depend
new file mode 100755
index 00000000..bcc0bf13
--- /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)
diff --git a/pkg/solaris/SUNWprdx/pkginfo.tmpl b/pkg/solaris/SUNWprdx/pkginfo.tmpl
new file mode 100755
index 00000000..3a0a5536
--- /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>"
diff --git a/pkg/solaris/SUNWprdx/prototype b/pkg/solaris/SUNWprdx/prototype
new file mode 100755
index 00000000..0eb3661b
--- /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
diff --git a/pkg/solaris/SUNWprx/prototype_sparc b/pkg/solaris/SUNWprx/prototype_sparc
index 2bcbd5ec..4d6baa13 100644
--- a/pkg/solaris/SUNWprx/prototype_sparc
+++ b/pkg/solaris/SUNWprx/prototype_sparc
@@ -28,8 +28,8 @@
#
# 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