summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsonja.mirtitsch%sun.com <devnull@localhost>2002-08-08 22:43:16 +0000
committersonja.mirtitsch%sun.com <devnull@localhost>2002-08-08 22:43:16 +0000
commitaa495240c2454efccedf48abae834c2377c42e79 (patch)
tree94f081bd3a5d43bbb49cd2d7e43972618474fa4b
parent54764b8f634bf219cce1d0ffd731f13a985bfbb1 (diff)
downloadnss-hg-aa495240c2454efccedf48abae834c2377c42e79.tar.gz
sonmi, checking in files for the sun packaging into the NSS_3_3_2_SUN_PKG_BRANCH
-rw-r--r--security/nss/pkg/solaris/Makefile43
-rw-r--r--security/nss/pkg/solaris/Makefile.com33
-rw-r--r--security/nss/pkg/solaris/Makefile.targ26
-rw-r--r--security/nss/pkg/solaris/SUNWnss3/Makefile16
-rw-r--r--security/nss/pkg/solaris/SUNWnss3/pkginfo.tmpl34
-rw-r--r--security/nss/pkg/solaris/SUNWnss3/prototype_com32
-rw-r--r--security/nss/pkg/solaris/SUNWnss3/prototype_sparc31
-rw-r--r--security/nss/pkg/solaris/common_files/copyright2
-rw-r--r--security/nss/pkg/solaris/common_files/pkgdepend28
9 files changed, 245 insertions, 0 deletions
diff --git a/security/nss/pkg/solaris/Makefile b/security/nss/pkg/solaris/Makefile
new file mode 100644
index 000000000..6f58378d9
--- /dev/null
+++ b/security/nss/pkg/solaris/Makefile
@@ -0,0 +1,43 @@
+#
+# Copyright 2002 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+#ident "$Id$"
+#
+
+CORE_DEPTH = ../../..
+
+%: %.ksh
+ $(RM) $@
+ cp $< $@
+ chmod +x $@
+
+DIRS = \
+ SUNWnss3
+
+include Makefile.com
+
+awk_pkginfo: bld_awk_pkginfo
+ ./bld_awk_pkginfo -m $(MACH) -p "$(PRODUCT_VERSION)" -o $@ -v $(PRODUCT_VERSION)
+
+all:: awk_pkginfo PROTO
+publish: awk_pkginfo PROTO
+ +$(LOOP_OVER_DIRS)
+
+clean clobber::
+ $(RM) awk_pkginfo bld_awk_pkginfo
+ $(RM) -r $(ROOT)
+
+PROTO: \
+ $(ROOT) \
+ $(ROOT)/usr \
+ $(ROOT)/usr/lib \
+ $(ROOT)/usr/lib/mps
+
+$(ROOT) $(ROOT)/%:
+ mkdir -p $@
+
+$(ROOT)/usr/lib/mps: $(ROOT)/usr/lib
+ $(LN) -s ../../$(DIST)/lib $@;
+
+.PHONY: PROTO
diff --git a/security/nss/pkg/solaris/Makefile.com b/security/nss/pkg/solaris/Makefile.com
new file mode 100644
index 000000000..759b519e2
--- /dev/null
+++ b/security/nss/pkg/solaris/Makefile.com
@@ -0,0 +1,33 @@
+#
+# Copyright 2002 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+#ident "$Id$"
+#
+
+MACH = $(shell mach)
+
+PUBLISH_ROOT = $(DIST)
+ifeq ($(CORE_DEPTH),../..)
+ROOT = ROOT
+else
+ROOT = $(subst ../../,,$(CORE_DEPTH))/ROOT
+endif
+
+PKGARCHIVE = $(PUBLISH_ROOT)/pkgarchive
+DATAFILES =
+FILES = $(DATAFILES) pkginfo
+
+PACKAGE = $(shell basename `pwd`)
+
+PRODUCT_VERSION = 3.3.2
+PRODUCT_NAME = NSS_3_3_2_RTM
+
+LN = /usr/bin/ln
+
+CLOBBERFILES = $(FILES)
+
+include $(CORE_DEPTH)/coreconf/config.mk
+include $(CORE_DEPTH)/coreconf/rules.mk
+
+# vim: ft=make
diff --git a/security/nss/pkg/solaris/Makefile.targ b/security/nss/pkg/solaris/Makefile.targ
new file mode 100644
index 000000000..b069b1580
--- /dev/null
+++ b/security/nss/pkg/solaris/Makefile.targ
@@ -0,0 +1,26 @@
+#
+# 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 $@.tmpl > $@
+
+pkg: $(PKGARCHIVE)
+ pkgmk -f prototype_sparc -d $(PKGARCHIVE) -r $(ROOT) -o $(PACKAGE)
+
+$(PKGARCHIVE):
+ [ -d $(PKGARCHIVE) ] || mkdir -p $(PKGARCHIVE)
+
+$(DATAFILES):: %: ../common_files/%
+ $(RM) $@; cp ../common_files/$@ $@
+
+$(MACHDATAFILES): %: ../common_files/%_$(MACH)
+ $(RM) $@; cp ../common_files/$@_$(MACH) $@
+
+clobber clean::
+ -$(RM) $(CLOBBERFILES) $(CLEANFILES)
+
+.PHONY: pkg
diff --git a/security/nss/pkg/solaris/SUNWnss3/Makefile b/security/nss/pkg/solaris/SUNWnss3/Makefile
new file mode 100644
index 000000000..501367bf7
--- /dev/null
+++ b/security/nss/pkg/solaris/SUNWnss3/Makefile
@@ -0,0 +1,16 @@
+#
+# Copyright 2002 Sun Microsystems, Inc. All rights reserved.
+# Use is subject to license terms.
+#
+#ident "$Id$"
+#
+
+CORE_DEPTH = ../../../..
+include ../Makefile.com
+
+DATAFILES = pkgdepend
+
+all:: $(FILES)
+publish:: all pkg
+
+include ../Makefile.targ
diff --git a/security/nss/pkg/solaris/SUNWnss3/pkginfo.tmpl b/security/nss/pkg/solaris/SUNWnss3/pkginfo.tmpl
new file mode 100644
index 000000000..25189ed6e
--- /dev/null
+++ b/security/nss/pkg/solaris/SUNWnss3/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="SUNWnss3"
+NAME="Network Security Services"
+ARCH="ISA"
+VERSION="4.1.2,REV=0.0.0"
+SUNW_PRODNAME="Network Security Services"
+SUNW_PRODVERS="RELEASE/VERSION"
+SUNW_PKGTYPE="usr"
+MAXINST="1000"
+CATEGORY="system"
+DESC="Network Security Services"
+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/security/nss/pkg/solaris/SUNWnss3/prototype_com b/security/nss/pkg/solaris/SUNWnss3/prototype_com
new file mode 100644
index 000000000..39d92ce94
--- /dev/null
+++ b/security/nss/pkg/solaris/SUNWnss3/prototype_com
@@ -0,0 +1,32 @@
+#
+# 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 pkginfo
+i pkgdepend
+#
+# source locations relative to the prototype file
+#
+# SUNWnss3
+#
+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/libnss3.so 755 root bin
+f none usr/lib/mps/libsmime3.so 755 root bin
+f none usr/lib/mps/libssl3.so 755 root bin
+f none usr/lib/mps/libfreebl_hybrid_3.so 755 root bin
+f none usr/lib/mps/libfreebl_pure32_3.so 755 root bin
diff --git a/security/nss/pkg/solaris/SUNWnss3/prototype_sparc b/security/nss/pkg/solaris/SUNWnss3/prototype_sparc
new file mode 100644
index 000000000..6be0f6335
--- /dev/null
+++ b/security/nss/pkg/solaris/SUNWnss3/prototype_sparc
@@ -0,0 +1,31 @@
+#
+# 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
+
+#
+# Include ISA independent files (prototype_com)
+#
+!include prototype_com
+#
+#
+#
+# List files which are SPARC specific here
+#
+# source locations relative to the prototype file
+#
+#
+# SUNWnss3
+#
+#f none usr/lib/mps/libultrasparc4.so 755 root bin
diff --git a/security/nss/pkg/solaris/common_files/copyright b/security/nss/pkg/solaris/common_files/copyright
new file mode 100644
index 000000000..6dc5e2323
--- /dev/null
+++ b/security/nss/pkg/solaris/common_files/copyright
@@ -0,0 +1,2 @@
+Copyright 2002 Sun Microsystems, Inc. All rights reserved.
+Use is subject to license terms.
diff --git a/security/nss/pkg/solaris/common_files/pkgdepend b/security/nss/pkg/solaris/common_files/pkgdepend
new file mode 100644
index 000000000..7a253595b
--- /dev/null
+++ b/security/nss/pkg/solaris/common_files/pkgdepend
@@ -0,0 +1,28 @@
+# 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 SUNWcar Core Architecture, (Root)
+P SUNWkvm Core Architecture, (Kvm)
+P SUNWcsr Core Solaris, (Root)
+P SUNWcsu Core Solaris, (Usr)
+P SUNWcsd Core Solaris Devices
+P SUNWcsl Core Solaris Libraries
+P SUNWnspr Netscape Portable Runtime