238319: Sun packaging changes.

Port from NSS_3_9_BRANCH.
This commit is contained in:
christophe.ravel.bugs%sun.com 2004-11-29 16:31:50 +00:00
Родитель dd740ac1b1
Коммит b9517a325d
27 изменённых файлов: 623 добавлений и 133 удалений

Просмотреть файл

@ -2,57 +2,72 @@
# Copyright 2002 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
#ident "$Id: Makefile,v 1.2 2003/02/07 07:16:37 kirk.erickson%sun.com Exp $"
#ident "$Id: Makefile,v 1.3 2004/11/29 16:31:47 christophe.ravel.bugs%sun.com Exp $"
#
CORE_DEPTH = ../../..
NAME = sun-nss
RELEASE = 1
TOPDIR = /usr/src/redhat
VERSION = `grep NSS_VERSION $(CORE_DEPTH)/../dist/public/nss/nss.h \
| sed -e 's/"$$//' -e 's/.*"//' -e 's/ .*//'`
| sed -e 's/"$$//' -e 's/.*"//' -e 's/ .*//'`
PWD = `pwd`
BUILDROOT = $(PWD)\/$(NAME)-root
include $(CORE_DEPTH)/coreconf/config.mk
publish:
$(MAKE) clean
mkdir -p usr/lib/mps
mkdir -p SOURCES SRPMS RPMS BUILD
mkdir -p opt/sun/private/lib
find $(CORE_DEPTH)/../dist/$(OBJDIR)/lib -type l \
\( -name "*.so" -o -name "*.chk" \) \
-exec cp -L {} usr/lib/mps \;
mkdir -p usr/include/mps
cp -Lr $(CORE_DEPTH)/../dist/public/* usr/include/mps
tar czvf $(NAME)-$(VERSION).tar.gz usr
-exec cp {} opt/sun/private/lib \;
rm -f opt/sun/private/lib/libnspr4.so \
opt/sun/private/lib/libplc4.so \
opt/sun/private/lib/libplds4.so \
opt/sun/private/lib/libjss*.so
mkdir -p opt/sun/private/bin
(cd $(CORE_DEPTH)/../dist/$(OBJDIR)/bin && tar cphf - \
certutil cmsutil crlutil modutil pk12util signtool \
signver ssltap ) | (cd opt/sun/private/bin && tar xvfBp -)
(cd $(CORE_DEPTH)/../dist/public && tar cphf - .) \
| (mkdir -p opt/sun/private/include && cd opt/sun/private/include && tar xvfBp -)
rm -rf opt/sun/private/include/seccmd
rm -rf opt/sun/private/include/dbm
tar czvf $(NAME)-$(VERSION).tar.gz opt
echo "%define _topdir `pwd`" >temp.spec
sed -e "s/NAME_REPLACE/$(NAME)/" \
-e "s/VERSION_REPLACE/$(VERSION)/" \
-e "s/RELEASE_REPLACE/$(RELEASE)/" \
<$(NAME).spec >temp.spec
<$(NAME).spec >>temp.spec
echo "" >>temp.spec
echo "%files" >>temp.spec
echo "%defattr(-,root,root)" >>temp.spec
echo "%dir /usr" >>temp.spec
echo "%dir /usr/lib" >>temp.spec
echo "%dir /usr/lib/mps" >>temp.spec
find usr \( -name "*.so" -o -name "*.chk" \) \
| sed -e "s-^-/-" >>temp.spec
echo "%dir /opt" >>temp.spec
echo "%dir /opt/sun" >>temp.spec
echo "%dir /opt/sun/private" >>temp.spec
echo "%dir /opt/sun/private/lib" >>temp.spec
echo "%dir /opt/sun/private/bin" >>temp.spec
find opt \( -name "*.so" -o -name "*.chk" -o -type f \
-perm u=rwx,g=rx,o=rx \) | sed -e "s-^-/-" >>temp.spec
echo "" >>temp.spec
echo "%files devel" >>temp.spec
echo "%defattr(-,root,root)" >>temp.spec
find usr -type d | sed -e "s-^-%dir /-" >>temp.spec
find usr -type f ! \( -name "*.so" -o -name "*.chk" \) \
echo "%dir /opt" >>temp.spec
echo "%dir /opt/sun" >>temp.spec
echo "%dir /opt/sun/private" >>temp.spec
echo "%dir /opt/sun/private/include" >>temp.spec
echo "%dir /opt/sun/private/include/nss" >>temp.spec
find opt -type f \( -name "*.h" \) \
| sed -e "s-^-/-" >>temp.spec
cp $(NAME)-$(VERSION).tar.gz $(TOPDIR)/SOURCES
cp $(NAME)-$(VERSION).tar.gz SOURCES
rpm -ba temp.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
clean::
rm -rf $(TOPDIR)/BUILD/$(NAME)
rm -rf RPMS SRPMS usr
rm -rf SOURCES SRPMS RPMS BUILD
rm -rf opt
rm -f temp.spec
rm -f $(NAME)-$(VERSION).tar.gz

Просмотреть файл

@ -1,14 +1,17 @@
Summary: Network Security Services
Name: NAME_REPLACE
Vendor: Sun Microsystems
Vendor: Sun Microsystems, Inc.
Version: VERSION_REPLACE
Release: RELEASE_REPLACE
Copyright: MPL/GPL
Copyright: Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also under other license(s) as shown at the Description field.
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
Requires: sun-nspr >= 4.3
BuildRoot: %_topdir/%{name}-root
Requires: sun-nspr >= 4.1.2
%description
Network Security Services (NSS) is a set of libraries designed
@ -18,6 +21,8 @@ and v3, TLS, PKCS #5, PKCS #7, PKCS #11, PKCS #12, S/MIME,
X.509 v3 certificates, and other security standards. See:
http://www.mozilla.org/projects/security/pki/nss/overview.html
Under "MPL/GPL" license.
%package devel
Summary: Development Libraries for Network Security Services
Group: Development/Libraries
@ -26,6 +31,8 @@ Requires: %{name} = %{version}-%{release}
%description devel
Header files for doing development with Network Security Services.
Under "MPL/GPL" license.
%prep
%setup -c

Просмотреть файл

@ -1,8 +1,8 @@
#
# Copyright 2002 Sun Microsystems, Inc. All rights reserved.
# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
#ident "$Id: Makefile,v 1.4 2002/11/17 17:26:51 kirk.erickson%sun.com Exp $"
#ident "$Id: Makefile,v 1.5 2004/11/29 16:31:47 christophe.ravel.bugs%sun.com Exp $"
#
CORE_DEPTH = ../../..
@ -12,26 +12,42 @@ CORE_DEPTH = ../../..
cp $< $@
chmod +x $@
HEADER_DIR = public/nss
ifeq ($(USE_64), 1)
DIRS = \
SUNWtlsx
else
DIRS = \
SUNWtls
endif
SUNWtls \
SUNWtlsu \
SUNWtlsd
include Makefile.com
PROTO = \
$(ROOT) \
$(ROOT)/usr \
$(ROOT)/usr/lib \
$(ROOT)/usr/lib/mps
$(ROOT)/usr/lib/mps \
$(ROOT)/usr/include/mps \
$(ROOT)/usr/sfw/bin
ifdef USE_64
PROTO += $(ROOT)/usr/lib/mps/sparcv9
ifeq ($(MACH), sparc)
PROTO += $(ROOT)/usr/lib/mps/sparcv9 \
$(ROOT)/usr/sfw/bin/sparcv9
endif
include Makefile.com
ifeq ($(USE_64), 1)
ifeq ($(MACH), sparc)
# Sparc
PROTO += $(ROOT)/usr/lib/mps/sparcv9 \
$(ROOT)/usr/sfw/bin/sparcv9
else
# AMD64
PROTO += $(ROOT)/usr/lib/mps/amd64 \
$(ROOT)/usr/sfw/bin/amd64
endif
DIST64 = $(DIST)
DIST32 = $(shell echo $(DIST) | sed -e "s|_64_OPT|_OPT|g" -e "s|_64_DBG|_DBG|g")
else
DIST32 = $(DIST)
DIST64 = $(shell echo $(DIST) | sed -e "s|_OPT|_64_OPT|g" -e "s|_DBG|_64_DBG|g")
endif
awk_pkginfo: bld_awk_pkginfo
./bld_awk_pkginfo -m $(MACH) -p "$(PRODUCT_VERSION)" -o $@ -v $(PRODUCT_VERSION)
@ -44,13 +60,30 @@ clean clobber::
$(RM) awk_pkginfo bld_awk_pkginfo
$(RM) -r $(ROOT)
$(ROOT) $(ROOT)/%:
$(ROOT):
mkdir -p $@
ifdef USE_64
$(ROOT)/usr/lib/mps/sparcv9: $(ROOT)/usr/lib
$(LN) -sf ../../../../$(DIST)/lib $@
else
$(ROOT)/usr/lib/mps: $(ROOT)/usr/lib
$(LN) -sf ../../../$(DIST)/lib $@
endif
$(ROOT)/usr/lib/mps:
mkdir -p $@
$(CP) -r $(DIST32)/lib/*.so $@
$(CP) -r $(DIST32)/lib/*.chk $@
$(ROOT)/usr/sfw/bin:
mkdir -p $@
-$(CP) -r $(DIST32)/bin/* $@
$(ROOT)/usr/include/mps:
mkdir -p $@
$(CP) -r $(SOURCE_PREFIX)/$(HEADER_DIR)/*.h $@
$(ROOT)/usr/lib/mps/sparcv9:
mkdir -p $@
$(CP) -r $(DIST64)/lib/*.so $@
$(CP) -r $(DIST64)/lib/*.chk $@
$(ROOT)/usr/sfw/bin/sparcv9:
mkdir -p $@
$(CP) -r $(DIST64)/bin/* $@
$(ROOT)/usr/lib/mps/amd64:
mkdir -p $@
$(CP) -r $(DIST64)/lib/*.so $@
$(CP) -r $(DIST64)/lib/*.chk $@
$(ROOT)/usr/sfw/bin/amd64:
mkdir -p $@
$(CP) -r $(DIST64)/bin/* $@

Просмотреть файл

@ -0,0 +1,33 @@
#
# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
#ident "$Id: Makefile-devl.com,v 1.2 2004/11/29 16:31:47 christophe.ravel.bugs%sun.com Exp $"
#
MACH = $(shell mach)
PUBLISH_ROOT = $(DIST)
ifeq ($(CORE_DEPTH),../../..)
ROOT = ROOT
else
ROOT = $(subst ../../../,,$(CORE_DEPTH))/ROOT
endif
PKGARCHIVE = $(PUBLISH_ROOT)/pkgarchive
DATAFILES = copyright
FILES = $(DATAFILES) pkginfo
PACKAGE = $(shell basename `pwd`)
PRODUCT_VERSION = $(shell grep NSS_VERSION $(CORE_DEPTH)/nss/lib/nss/nss.h | sed -e 's/"$$//' -e 's/.*"//' -e 's/ .*//')
LN = /usr/bin/ln
CLOBBERFILES = $(FILES)
include $(CORE_DEPTH)/coreconf/config.mk
include $(CORE_DEPTH)/coreconf/rules.mk
# vim: ft=make

Просмотреть файл

@ -0,0 +1,26 @@
#
# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
#ident "$Id: Makefile-devl.targ,v 1.2 2004/11/29 16:31:47 christophe.ravel.bugs%sun.com Exp $"
#
pkginfo: pkginfo.tmpl ../awk_pkginfo
$(RM) $@; nawk -f ../awk_pkginfo $@.tmpl > $@
pkg: $(PKGARCHIVE) prototype
pkgmk -f prototype -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

Просмотреть файл

@ -0,0 +1,33 @@
#
# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
#ident "$Id: Makefile-tlsu.com,v 1.2 2004/11/29 16:31:47 christophe.ravel.bugs%sun.com Exp $"
#
MACH = $(shell mach)
PUBLISH_ROOT = $(DIST)
ifeq ($(CORE_DEPTH),../../..)
ROOT = ROOT
else
ROOT = $(subst ../../../,,$(CORE_DEPTH))/ROOT
endif
PKGARCHIVE = $(PUBLISH_ROOT)/pkgarchive
DATAFILES = copyright
FILES = $(DATAFILES) pkginfo
PACKAGE = $(shell basename `pwd`)
PRODUCT_VERSION = $(shell grep NSS_VERSION $(CORE_DEPTH)/nss/lib/nss/nss.h | sed -e 's/"$$//' -e 's/.*"//' -e 's/ .*//')
LN = /usr/bin/ln
CLOBBERFILES = $(FILES)
include $(CORE_DEPTH)/coreconf/config.mk
include $(CORE_DEPTH)/coreconf/rules.mk
# vim: ft=make

Просмотреть файл

@ -0,0 +1,34 @@
#
# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
#ident "$Id: Makefile-tlsu.targ,v 1.2 2004/11/29 16:31:47 christophe.ravel.bugs%sun.com Exp $"
#
include ../proto64.mk
pkginfo: pkginfo.tmpl ../awk_pkginfo
$(RM) $@; nawk -f ../awk_pkginfo $@.tmpl > $@
prototype: prototype_com prototype_$(MACH)
cat prototype_$(MACH) | sed -e \
'/^!include[ ][ ]*prototype_com/ r ./prototype_com' \
-e 's/^!include[ ][ ]*prototype_com//g' \
| sed $(sed_proto64) >prototype
pkg: $(PKGARCHIVE) prototype
pkgmk -f prototype -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

Просмотреть файл

@ -1,8 +1,8 @@
#
# Copyright 2002 Sun Microsystems, Inc. All rights reserved.
# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
#ident "$Id: Makefile.com,v 1.5 2003/02/12 16:12:14 kirk.erickson%sun.com Exp $"
#ident "$Id: Makefile.com,v 1.6 2004/11/29 16:31:47 christophe.ravel.bugs%sun.com Exp $"
#
MACH = $(shell mach)
@ -16,7 +16,7 @@ endif
PKGARCHIVE = $(PUBLISH_ROOT)/pkgarchive
DATAFILES = copyright
FILES = $(DATAFILES) pkginfo
FILES = $(DATAFILES) pkginfo prototype
PACKAGE = $(shell basename `pwd`)
@ -24,6 +24,7 @@ PRODUCT_VERSION = $(shell grep NSS_VERSION $(CORE_DEPTH)/../dist/public/nss/nss.
| sed -e 's/"$$//' -e 's/.*"//' -e 's/ .*//')
LN = /usr/bin/ln
CP = /usr/bin/cp
CLOBBERFILES = $(FILES)

Просмотреть файл

@ -1,15 +1,23 @@
#
# Copyright 2002 Sun Microsystems, Inc. All rights reserved.
# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
#ident "$Id: Makefile.targ,v 1.5 2002/11/17 17:26:51 kirk.erickson%sun.com Exp $"
#ident "$Id: Makefile.targ,v 1.6 2004/11/29 16:31:47 christophe.ravel.bugs%sun.com Exp $"
#
include ../proto64.mk
pkginfo: pkginfo.tmpl ../awk_pkginfo
$(RM) $@; nawk -f ../awk_pkginfo $@.tmpl > $@
pkg: $(PKGARCHIVE)
pkgmk -f prototype_$(MACH) -d $(PKGARCHIVE) -r $(ROOT) -o $(PACKAGE)
prototype: prototype_com prototype_$(MACH)
cat prototype_$(MACH) | sed -e \
'/^!include[ ][ ]*prototype_com/ r ./prototype_com' \
-e 's/^!include[ ][ ]*prototype_com//g' \
| sed $(sed_proto64) >prototype
pkg: $(PKGARCHIVE) prototype
pkgmk -f prototype -d $(PKGARCHIVE) -r $(ROOT) -o $(PACKAGE)
$(PKGARCHIVE):
[ -d $(PKGARCHIVE) ] || mkdir -p $(PKGARCHIVE)

Просмотреть файл

@ -1,8 +1,8 @@
#
# Copyright 2002 Sun Microsystems, Inc. All rights reserved.
# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
#ident "$Id: Makefile,v 1.3 2002/10/26 18:04:32 kirk.erickson%sun.com Exp $"
#ident "$Id: Makefile,v 1.4 2004/11/29 16:31:48 christophe.ravel.bugs%sun.com Exp $"
#
CORE_DEPTH = ../../../..

Просмотреть файл

@ -1,7 +1,7 @@
# Copyright 2002 Microsystems, Inc. All Rights Reserved.
# Copyright 2004 Microsystems, Inc. All Rights Reserved.
# Use is subject to license terms.
#
# $Id: pkgdepend,v 1.2 2002/10/26 18:04:32 kirk.erickson%sun.com Exp $
# $Id: pkgdepend,v 1.3 2004/11/29 16:31:48 christophe.ravel.bugs%sun.com Exp $
#
# This package information file defines software dependencies associated
# with the pkg. You can define three types of pkg dependencies with this file:

Просмотреть файл

@ -1,8 +1,8 @@
#
# Copyright 2002 Sun Microsystems, Inc. All rights reserved.
# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
#ident "$Id: pkginfo.tmpl,v 1.2 2002/10/02 23:11:30 kirk.erickson%sun.com Exp $"
#ident "$Id: pkginfo.tmpl,v 1.3 2004/11/29 16:31:48 christophe.ravel.bugs%sun.com Exp $"
#
#
# This required package information file describes characteristics of the

Просмотреть файл

@ -1,8 +1,8 @@
#
# Copyright 2002 Sun Microsystems, Inc. All rights reserved.
# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
#ident "$Id: prototype_com,v 1.4 2003/02/13 03:30:15 kirk.erickson%sun.com Exp $"
#ident "$Id: prototype_com,v 1.5 2004/11/29 16:31:48 christophe.ravel.bugs%sun.com Exp $"
#
# This required package information file contains a list of package contents.
# The 'pkgmk' command uses this file to identify the contents of a package
@ -26,9 +26,16 @@ i depend=pkgdepend
d none usr 755 root sys
d none usr/lib 755 root bin
d none usr/lib/mps 755 root bin
d none usr/lib/mps/secv1 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/libnssckbi.so 755 root bin
f none usr/lib/mps/libsoftokn3.chk 755 root bin
f none usr/lib/mps/libsoftokn3.so 755 root bin
s none usr/lib/mps/secv1/libnss3.so=../libnss3.so
s none usr/lib/mps/secv1/libsmime3.so=../libsmime3.so
s none usr/lib/mps/secv1/libssl3.so=../libssl3.so
s none usr/lib/mps/secv1/libnssckbi.so=../libnssckbi.so
s none usr/lib/mps/secv1/libsoftokn3.chk=../libsoftokn3.chk
s none usr/lib/mps/secv1/libsoftokn3.so=../libsoftokn3.so

Просмотреть файл

@ -1,8 +1,8 @@
#
# Copyright 2002 Sun Microsystems, Inc. All rights reserved.
# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
#ident "$Id: prototype_i386,v 1.2 2002/10/26 18:04:33 kirk.erickson%sun.com Exp $"
#ident "$Id: prototype_i386,v 1.3 2004/11/29 16:31:48 christophe.ravel.bugs%sun.com Exp $"
#
# This required package information file contains a list of package contents.
# The 'pkgmk' command uses this file to identify the contents of a package
@ -28,3 +28,19 @@
#
# SUNWtls
#
#64#s none usr/lib/mps/64=amd64
#64#s none usr/lib/mps/secv1/64=amd64
#64#d none usr/lib/mps/amd64 755 root bin
#64#d none usr/lib/mps/secv1/amd64 755 root bin
#64#f none usr/lib/mps/amd64/libnss3.so 755 root bin
#64#f none usr/lib/mps/amd64/libsmime3.so 755 root bin
#64#f none usr/lib/mps/amd64/libssl3.so 755 root bin
#64#f none usr/lib/mps/amd64/libnssckbi.so 755 root bin
#64#f none usr/lib/mps/amd64/libsoftokn3.chk 755 root bin
#64#f none usr/lib/mps/amd64/libsoftokn3.so 755 root bin
#64#s none usr/lib/mps/secv1/amd64/libnss3.so=../../amd64/libnss3.so
#64#s none usr/lib/mps/secv1/amd64/libsmime3.so=../../amd64/libsmime3.so
#64#s none usr/lib/mps/secv1/amd64/libssl3.so=../../amd64/libssl3.so
#64#s none usr/lib/mps/secv1/amd64/libnssckbi.so=../../amd64/libnssckbi.so
#64#s none usr/lib/mps/secv1/amd64/libsoftokn3.chk=../../amd64/libsoftokn3.chk
#64#s none usr/lib/mps/secv1/amd64/libsoftokn3.so=../../amd64/libsoftokn3.so

Просмотреть файл

@ -1,8 +1,8 @@
#
# Copyright 2002 Sun Microsystems, Inc. All rights reserved.
# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
#ident "$Id: prototype_sparc,v 1.4 2003/02/13 03:30:16 kirk.erickson%sun.com Exp $"
#ident "$Id: prototype_sparc,v 1.5 2004/11/29 16:31:48 christophe.ravel.bugs%sun.com Exp $"
#
# This required package information file contains a list of package contents.
# The 'pkgmk' command uses this file to identify the contents of a package
@ -32,3 +32,24 @@ f none usr/lib/mps/libfreebl_hybrid_3.chk 755 root bin
f none usr/lib/mps/libfreebl_hybrid_3.so 755 root bin
f none usr/lib/mps/libfreebl_pure32_3.chk 755 root bin
f none usr/lib/mps/libfreebl_pure32_3.so 755 root bin
s none usr/lib/mps/secv1/libfreebl_hybrid_3.chk=../libfreebl_hybrid_3.chk
s none usr/lib/mps/secv1/libfreebl_hybrid_3.so=../libfreebl_hybrid_3.so
s none usr/lib/mps/secv1/libfreebl_pure32_3.chk=../libfreebl_pure32_3.chk
s none usr/lib/mps/secv1/libfreebl_pure32_3.so=../libfreebl_pure32_3.so
#64#s none usr/lib/mps/64=sparcv9
#64#s none usr/lib/mps/secv1/64=sparcv9
#64#d none usr/lib/mps/sparcv9 755 root bin
#64#d none usr/lib/mps/secv1/sparcv9 755 root bin
#64#f none usr/lib/mps/sparcv9/libnss3.so 755 root bin
#64#f none usr/lib/mps/sparcv9/libsmime3.so 755 root bin
#64#f none usr/lib/mps/sparcv9/libssl3.so 755 root bin
#64#f none usr/lib/mps/sparcv9/libnssckbi.so 755 root bin
#64#f none usr/lib/mps/sparcv9/libsoftokn3.chk 755 root bin
#64#f none usr/lib/mps/sparcv9/libsoftokn3.so 755 root bin
#64#s none usr/lib/mps/secv1/sparcv9/libnss3.so=../../sparcv9/libnss3.so
#64#s none usr/lib/mps/secv1/sparcv9/libsmime3.so=../../sparcv9/libsmime3.so
#64#s none usr/lib/mps/secv1/sparcv9/libssl3.so=../../sparcv9/libssl3.so
#64#s none usr/lib/mps/secv1/sparcv9/libnssckbi.so=../../sparcv9/libnssckbi.so
#64#s none usr/lib/mps/secv1/sparcv9/libsoftokn3.chk=../../sparcv9/libsoftokn3.chk
#64#s none usr/lib/mps/secv1/sparcv9/libsoftokn3.so=../../sparcv9/libsoftokn3.so

Просмотреть файл

@ -2,15 +2,15 @@
# Copyright 2002 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
#ident "$Id: Makefile,v 1.3 2002/10/26 18:04:37 kirk.erickson%sun.com Exp $"
#ident "$Id: Makefile,v 1.2 2004/11/29 16:31:48 christophe.ravel.bugs%sun.com Exp $"
#
CORE_DEPTH = ../../../..
include ../Makefile.com
include ../Makefile-devl.com
DATAFILES +=
all:: $(FILES)
publish:: all pkg
include ../Makefile.targ
include ../Makefile-devl.targ

Просмотреть файл

@ -1,7 +1,7 @@
# Copyright 2002 Microsystems, Inc. All Rights Reserved.
# Use is subject to license terms.
#
# $Id: pkgdepend,v 1.3 2002/10/26 18:04:37 kirk.erickson%sun.com Exp $
# $Id: pkgdepend,v 1.2 2004/11/29 16:31:48 christophe.ravel.bugs%sun.com Exp $
#
# This package information file defines software dependencies associated
# with the pkg. You can define three types of pkg dependencies with this file:
@ -19,13 +19,5 @@
# <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 SUNWcarx Core Architecture, (Root) (64-bit)
P SUNWcsxu Core Solaris (Usr) (64-bit)
P SUNWcslx Core Solaris Libraries (64-bit)
P SUNWprx Netscape Portable Runtime
P SUNWprd Netscape Portable Runtime Development
P SUNWtls Netscape Security Services

Просмотреть файл

@ -2,24 +2,23 @@
# Copyright 2002 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
#ident "$Id: pkginfo.tmpl,v 1.3 2002/10/04 20:43:35 kirk.erickson%sun.com Exp $"
#ident "$Id: pkginfo.tmpl,v 1.2 2004/11/29 16:31:48 christophe.ravel.bugs%sun.com Exp $"
#
#
# This required package information file describes characteristics of the
# package, such as package abbreviation, full package name, package version,
# and package architecture.
#
PKG="SUNWtlsx"
NAME="Network Security Services (64-bit)"
PKG="SUNWtlsd"
NAME="Network Security Services Development"
ARCH="ISA"
SUNW_ISA="sparcv9"
VERSION="NSSVERS,REV=0.0.0"
SUNW_PRODNAME="Network Security Services"
SUNW_PRODNAME="Network Security Services Development"
SUNW_PRODVERS="RELEASE/VERSION"
SUNW_PKGTYPE="usr"
MAXINST="1000"
CATEGORY="system"
DESC="Network Security Services (64-bit)"
DESC="Network Security Services Files for Development"
VENDOR="Sun Microsystems, Inc."
HOTLINE="Please contact your local service provider"
EMAIL=""

Просмотреть файл

@ -0,0 +1,127 @@
#
# Copyright 2002 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
#ident "$Id: prototype,v 1.2 2004/11/29 16:31:48 christophe.ravel.bugs%sun.com Exp $"
#
# 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=pkgdepend
#
# source locations relative to the prototype file
#
# SUNWtlsd
#
d none usr 0755 root sys
d none usr/include 0755 root bin
d none usr/include/mps 0755 root bin
f none usr/include/mps/base64.h 0644 root bin
#f none usr/include/mps/blapi.h 0644 root bin
f none usr/include/mps/blapit.h 0644 root bin
f none usr/include/mps/cert.h 0644 root bin
f none usr/include/mps/certdb.h 0644 root bin
f none usr/include/mps/certt.h 0644 root bin
f none usr/include/mps/ciferfam.h 0644 root bin
f none usr/include/mps/cmmf.h 0644 root bin
f none usr/include/mps/cmmft.h 0644 root bin
f none usr/include/mps/cms.h 0644 root bin
f none usr/include/mps/cmsreclist.h 0644 root bin
f none usr/include/mps/cmst.h 0644 root bin
f none usr/include/mps/crmf.h 0644 root bin
f none usr/include/mps/crmft.h 0644 root bin
f none usr/include/mps/cryptohi.h 0644 root bin
f none usr/include/mps/cryptoht.h 0644 root bin
f none usr/include/mps/ecl-exp.h 0644 root bin
f none usr/include/mps/hasht.h 0644 root bin
f none usr/include/mps/jar-ds.h 0644 root bin
f none usr/include/mps/jar.h 0644 root bin
f none usr/include/mps/jarfile.h 0644 root bin
f none usr/include/mps/key.h 0644 root bin
#f none usr/include/mps/keydbt.h 0644 root bin
f none usr/include/mps/keyhi.h 0644 root bin
#f none usr/include/mps/keylow.h 0644 root bin
f none usr/include/mps/keyt.h 0644 root bin
#f none usr/include/mps/keytboth.h 0644 root bin
f none usr/include/mps/keythi.h 0644 root bin
#f none usr/include/mps/keytlow.h 0644 root bin
f none usr/include/mps/nss.h 0644 root bin
f none usr/include/mps/nssb64.h 0644 root bin
f none usr/include/mps/nssb64t.h 0644 root bin
f none usr/include/mps/nssbase.h 0644 root bin
f none usr/include/mps/nssbaset.h 0644 root bin
f none usr/include/mps/nssckepv.h 0644 root bin
f none usr/include/mps/nssckbi.h 0644 root bin
f none usr/include/mps/nssckft.h 0644 root bin
f none usr/include/mps/nssckfw.h 0644 root bin
f none usr/include/mps/nssckfwc.h 0644 root bin
f none usr/include/mps/nssckfwt.h 0644 root bin
f none usr/include/mps/nssckg.h 0644 root bin
f none usr/include/mps/nssckmdt.h 0644 root bin
#f none usr/include/mps/nssckp.h 0644 root bin
f none usr/include/mps/nssckt.h 0644 root bin
#f none usr/include/mps/nsscku.h 0644 root bin
f none usr/include/mps/nssilckt.h 0644 root bin
f none usr/include/mps/nssilock.h 0644 root bin
f none usr/include/mps/nsslocks.h 0644 root bin
f none usr/include/mps/nssrwlk.h 0644 root bin
f none usr/include/mps/nssrwlkt.h 0644 root bin
f none usr/include/mps/ocsp.h 0644 root bin
f none usr/include/mps/ocspt.h 0644 root bin
f none usr/include/mps/p12.h 0644 root bin
f none usr/include/mps/p12plcy.h 0644 root bin
f none usr/include/mps/p12t.h 0644 root bin
f none usr/include/mps/pk11func.h 0644 root bin
f none usr/include/mps/pk11pqg.h 0644 root bin
f none usr/include/mps/pk11sdr.h 0644 root bin
f none usr/include/mps/pkcs11.h 0644 root bin
f none usr/include/mps/pkcs11f.h 0644 root bin
f none usr/include/mps/pkcs11p.h 0644 root bin
f none usr/include/mps/pkcs11t.h 0644 root bin
f none usr/include/mps/pkcs11u.h 0644 root bin
f none usr/include/mps/pkcs11n.h 0644 root bin
f none usr/include/mps/pkcs12.h 0644 root bin
f none usr/include/mps/pkcs12t.h 0644 root bin
f none usr/include/mps/pkcs7t.h 0644 root bin
f none usr/include/mps/portreg.h 0644 root bin
#f none usr/include/mps/pqgutil.h 0644 root bin
f none usr/include/mps/preenc.h 0644 root bin
f none usr/include/mps/secasn1.h 0644 root bin
f none usr/include/mps/secasn1t.h 0644 root bin
f none usr/include/mps/seccomon.h 0644 root bin
f none usr/include/mps/secder.h 0644 root bin
f none usr/include/mps/secdert.h 0644 root bin
f none usr/include/mps/secdig.h 0644 root bin
f none usr/include/mps/secdigt.h 0644 root bin
f none usr/include/mps/secerr.h 0644 root bin
f none usr/include/mps/sechash.h 0644 root bin
f none usr/include/mps/secitem.h 0644 root bin
f none usr/include/mps/secmime.h 0644 root bin
f none usr/include/mps/secmod.h 0644 root bin
f none usr/include/mps/secmodt.h 0644 root bin
f none usr/include/mps/secoid.h 0644 root bin
f none usr/include/mps/secoidt.h 0644 root bin
f none usr/include/mps/secpkcs5.h 0644 root bin
f none usr/include/mps/secpkcs7.h 0644 root bin
f none usr/include/mps/secport.h 0644 root bin
#f none usr/include/mps/secrng.h 0644 root bin
#f none usr/include/mps/secrngt.h 0644 root bin
f none usr/include/mps/shsign.h 0644 root bin
f none usr/include/mps/smime.h 0644 root bin
f none usr/include/mps/ssl.h 0644 root bin
f none usr/include/mps/sslerr.h 0644 root bin
f none usr/include/mps/sslproto.h 0644 root bin
f none usr/include/mps/sslt.h 0644 root bin
f none usr/include/mps/swfort.h 0644 root bin
f none usr/include/mps/swfortt.h 0644 root bin
f none usr/include/mps/watcomfx.h 0644 root bin

Просмотреть файл

@ -0,0 +1,16 @@
#
# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
#ident "$Id: Makefile,v 1.2 2004/11/29 16:31:49 christophe.ravel.bugs%sun.com Exp $"
#
CORE_DEPTH = ../../../..
include ../Makefile-tlsu.com
DATAFILES +=
all:: $(FILES)
publish:: all pkg
include ../Makefile-tlsu.targ

Просмотреть файл

@ -0,0 +1,22 @@
# Copyright 2004 Microsystems, Inc. All Rights Reserved.
# Use is subject to license terms.
#
# $Id: pkgdepend,v 1.2 2004/11/29 16:31:49 christophe.ravel.bugs%sun.com Exp $
#
# 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 SUNWtls Netscape Security Services

Просмотреть файл

@ -0,0 +1,34 @@
#
# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
#ident "$Id: pkginfo.tmpl,v 1.2 2004/11/29 16:31:49 christophe.ravel.bugs%sun.com Exp $"
#
#
# This required package information file describes characteristics of the
# package, such as package abbreviation, full package name, package version,
# and package architecture.
#
PKG="SUNWtlsu"
NAME="Network Security Services Utilities"
ARCH="ISA"
VERSION="NSSVERS,REV=0.0.0"
SUNW_PRODNAME="Network Security Services Utilities"
SUNW_PRODVERS="RELEASE/VERSION"
SUNW_PKGTYPE="usr"
MAXINST="1000"
CATEGORY="system"
DESC="Network Security Services Utilities Programs"
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>"

Просмотреть файл

@ -1,8 +1,8 @@
#
# Copyright 2002 Sun Microsystems, Inc. All rights reserved.
# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
#ident "$Id: prototype_com,v 1.2 2002/10/02 23:11:35 kirk.erickson%sun.com Exp $"
#ident "$Id: prototype_com,v 1.2 2004/11/29 16:31:49 christophe.ravel.bugs%sun.com Exp $"
#
# This required package information file contains a list of package contents.
# The 'pkgmk' command uses this file to identify the contents of a package
@ -21,8 +21,16 @@ i depend=pkgdepend
#
# source locations relative to the prototype file
#
# SUNWtlsx
# SUNWtlsu
#
d none usr 755 root sys
d none usr/lib 755 root bin
d none usr/lib/mps 755 root bin
d none usr 0755 root sys
d none usr/sfw 0755 root bin
d none usr/sfw/bin 0755 root bin
f none usr/sfw/bin/certutil 0755 root bin
f none usr/sfw/bin/crlutil 0755 root bin
f none usr/sfw/bin/cmsutil 0755 root bin
f none usr/sfw/bin/modutil 0755 root bin
f none usr/sfw/bin/pk12util 0755 root bin
f none usr/sfw/bin/signtool 0755 root bin
f none usr/sfw/bin/signver 0755 root bin
f none usr/sfw/bin/ssltap 0755 root bin

Просмотреть файл

@ -0,0 +1,41 @@
#
# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
#ident "$Id: prototype_i386,v 1.2 2004/11/29 16:31:49 christophe.ravel.bugs%sun.com Exp $"
#
# 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 i386 specific here
#
# source locations relative to the prototype file
#
#
# SUNWtlsu
#
#64#s none usr/sfw/bin/64=amd64
#64#d none usr/sfw/bin/amd64 0755 root bin
#64#f none usr/sfw/bin/amd64/certutil 0755 root bin
#64#f none usr/sfw/bin/amd64/crlutil 0755 root bin
#64#f none usr/sfw/bin/amd64/cmsutil 0755 root bin
#64#f none usr/sfw/bin/amd64/modutil 0755 root bin
#64#f none usr/sfw/bin/amd64/pk12util 0755 root bin
#64#f none usr/sfw/bin/amd64/signtool 0755 root bin
#64#f none usr/sfw/bin/amd64/signver 0755 root bin
#64#f none usr/sfw/bin/amd64/ssltap 0755 root bin

Просмотреть файл

@ -0,0 +1,41 @@
#
# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
#ident "$Id: prototype_sparc,v 1.2 2004/11/29 16:31:49 christophe.ravel.bugs%sun.com Exp $"
#
# 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
#
#
# SUNWtlsu
#
#64#s none usr/sfw/bin/64=sparcv9
#64#d none usr/sfw/bin/sparcv9 0755 root bin
#64#f none usr/sfw/bin/sparcv9/certutil 0755 root bin
#64#f none usr/sfw/bin/sparcv9/crlutil 0755 root bin
#64#f none usr/sfw/bin/sparcv9/cmsutil 0755 root bin
#64#f none usr/sfw/bin/sparcv9/modutil 0755 root bin
#64#f none usr/sfw/bin/sparcv9/pk12util 0755 root bin
#64#f none usr/sfw/bin/sparcv9/signtool 0755 root bin
#64#f none usr/sfw/bin/sparcv9/signver 0755 root bin
#64#f none usr/sfw/bin/sparcv9/ssltap 0755 root bin

Просмотреть файл

@ -1,38 +0,0 @@
#
# Copyright 2002 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
#ident "$Id: prototype_sparc,v 1.3 2003/02/13 03:30:19 kirk.erickson%sun.com Exp $"
#
# 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
#
#
# SUNWtlsx
#
s none usr/lib/mps/64=sparcv9
d none usr/lib/mps/sparcv9 755 root bin
f none usr/lib/mps/sparcv9/libnss3.so 755 root bin
f none usr/lib/mps/sparcv9/libsmime3.so 755 root bin
f none usr/lib/mps/sparcv9/libssl3.so 755 root bin
f none usr/lib/mps/sparcv9/libnssckbi.so 755 root bin
f none usr/lib/mps/sparcv9/libsoftokn3.chk 755 root bin
f none usr/lib/mps/sparcv9/libsoftokn3.so 755 root bin

Просмотреть файл

@ -0,0 +1,14 @@
#
# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
#ident "$Id: proto64.mk,v 1.2 2004/11/29 16:31:47 christophe.ravel.bugs%sun.com Exp $"
#
ifeq ($(USE_64), 1)
# Remove 64 tag
sed_proto64='s/\#64\#//g'
else
# Strip 64 lines
sed_proto64='/\#64\#/d'
endif