mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-03 22:07:30 +09:00
import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo
This commit is contained in:
commit
dcd9973243
150858 changed files with 23884658 additions and 0 deletions
29
nsprpub/pkg/Makefile.in
Normal file
29
nsprpub/pkg/Makefile.in
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
#
|
||||
# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
|
||||
# Use is subject to license terms.
|
||||
#
|
||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
#! gmake
|
||||
|
||||
MOD_DEPTH = ..
|
||||
topsrcdir = @top_srcdir@
|
||||
srcdir = @srcdir@
|
||||
VPATH = @srcdir@
|
||||
|
||||
include $(MOD_DEPTH)/config/autoconf.mk
|
||||
|
||||
DIRS =
|
||||
ifeq ($(OS_TARGET),Linux)
|
||||
DIRS = linux
|
||||
endif
|
||||
ifeq ($(OS_TARGET),SunOS)
|
||||
DIRS = solaris
|
||||
endif
|
||||
|
||||
publish::
|
||||
+$(LOOP_OVER_DIRS)
|
||||
|
||||
include $(topsrcdir)/config/rules.mk
|
||||
80
nsprpub/pkg/linux/Makefile.in
Normal file
80
nsprpub/pkg/linux/Makefile.in
Normal file
|
|
@ -0,0 +1,80 @@
|
|||
#
|
||||
# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
|
||||
# Use is subject to license terms.
|
||||
#
|
||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
#
|
||||
#ident "$Id$"
|
||||
#
|
||||
|
||||
MOD_DEPTH = ../..
|
||||
topsrcdir = @top_srcdir@
|
||||
srcdir = @srcdir@
|
||||
VPATH = @srcdir@
|
||||
|
||||
NAME = sun-nspr
|
||||
ifndef RPM_RELEASE
|
||||
RPM_RELEASE = 1
|
||||
endif
|
||||
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
|
||||
|
||||
# Force i386 for non 64 bit build
|
||||
ifneq ($(USE_64),1)
|
||||
RPMTARGET = "--target=i386"
|
||||
RPMLIBDIR = lib
|
||||
else
|
||||
RPMLIBDIR = lib64
|
||||
endif
|
||||
|
||||
publish:
|
||||
$(MAKE) clean
|
||||
mkdir -p SOURCES SRPMS RPMS BUILD
|
||||
(cd $(dist_libdir) && tar cphf - libnspr4.so libplds4.so libplc4.so) \
|
||||
| (mkdir -p opt/sun/private/$(RPMLIBDIR) && cd opt/sun/private/$(RPMLIBDIR) && tar xvfBp -)
|
||||
(cd $(dist_includedir) && tar cphf - .) \
|
||||
| (mkdir -p opt/sun/private/include/nspr && cd opt/sun/private/include/nspr && tar xvfBp -)
|
||||
(cd opt/sun/private/include/nspr && \
|
||||
rm -rf md)
|
||||
tar czvf SOURCES/$(NAME)-$(VERSION).tar.gz opt
|
||||
echo "%define name $(NAME)" >$(SPECFILE)
|
||||
echo "%define version $(VERSION)" >>$(SPECFILE)
|
||||
echo "%define release $(RPM_RELEASE)" >>$(SPECFILE)
|
||||
echo "%define buildroot `pwd`/$(NAME)-root" >>$(SPECFILE)
|
||||
echo "%define _topdir `pwd`" >>$(SPECFILE)
|
||||
echo "%define _unpackaged_files_terminate_build 0" >>$(SPECFILE)
|
||||
cat $(srcdir)/$(NAME).spec >>$(SPECFILE)
|
||||
echo "" >>$(SPECFILE)
|
||||
echo "%files" >>$(SPECFILE)
|
||||
echo "%defattr(-,root,root)" >>$(SPECFILE)
|
||||
echo "%dir /opt" >>$(SPECFILE)
|
||||
echo "%dir /opt/sun" >>$(SPECFILE)
|
||||
echo "%dir /opt/sun/private" >>$(SPECFILE)
|
||||
echo "%dir /opt/sun/private/$(RPMLIBDIR)" >>$(SPECFILE)
|
||||
find opt \( -name "*.so" \) | sed -e "s-^-/-" >>$(SPECFILE)
|
||||
echo "" >>$(SPECFILE)
|
||||
echo "%files devel" >>$(SPECFILE)
|
||||
echo "%defattr(-,root,root)" >>$(SPECFILE)
|
||||
echo "%dir /opt" >>$(SPECFILE)
|
||||
echo "%dir /opt/sun" >>$(SPECFILE)
|
||||
echo "%dir /opt/sun/private" >>$(SPECFILE)
|
||||
echo "%dir /opt/sun/private/include" >>$(SPECFILE)
|
||||
echo "%dir /opt/sun/private/include/nspr" >>$(SPECFILE)
|
||||
echo "%dir /opt/sun/private/include/nspr/obsolete" >>$(SPECFILE)
|
||||
echo "%dir /opt/sun/private/include/nspr/private" >>$(SPECFILE)
|
||||
find opt -type f \( -name "*.h" \) \
|
||||
| sed -e "s-^-/-" >>$(SPECFILE)
|
||||
rpmbuild $(RPMTARGET) -bb $(SPECFILE)
|
||||
|
||||
clean:
|
||||
rm -rf $(TOPDIR)/BUILD/$(NAME)
|
||||
rm -rf SOURCES SRPMS RPMS BUILD
|
||||
rm -rf RPMS SRPMS opt
|
||||
rm -f $(NAME)-$(VERSION).tar.gz
|
||||
49
nsprpub/pkg/linux/sun-nspr.spec
Normal file
49
nsprpub/pkg/linux/sun-nspr.spec
Normal file
|
|
@ -0,0 +1,49 @@
|
|||
Summary: Netscape Portable Runtime
|
||||
Name: %{name}
|
||||
Vendor: Sun Microsystems, Inc.
|
||||
Version: %{version}
|
||||
Release: %{release}
|
||||
Copyright: Copyright 2005 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
|
||||
|
||||
%description
|
||||
|
||||
NSPR provides platform independence for non-GUI operating system
|
||||
facilities. These facilities include threads, thread synchronization,
|
||||
normal file and network I/O, interval timing and calendar time, basic
|
||||
memory management (malloc and free) and shared library linking.
|
||||
|
||||
See: http://www.mozilla.org/projects/nspr/about-nspr.html
|
||||
|
||||
This Source Code Form is subject to the terms of the Mozilla Public
|
||||
License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
%package devel
|
||||
Summary: Development Libraries for the Netscape Portable Runtime
|
||||
Group: Development/Libraries
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
|
||||
%description devel
|
||||
Header files for doing development with the Netscape Portable Runtime.
|
||||
|
||||
Under "MPL/GPL" license.
|
||||
|
||||
%prep
|
||||
%setup -c
|
||||
|
||||
%build
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
mkdir $RPM_BUILD_ROOT
|
||||
cd $RPM_BUILD_ROOT
|
||||
tar xvzf $RPM_SOURCE_DIR/%{name}-%{version}.tar.gz
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
34
nsprpub/pkg/solaris/Makefile-devl.com
Normal file
34
nsprpub/pkg/solaris/Makefile-devl.com
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
#
|
||||
# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
|
||||
# Use is subject to license terms.
|
||||
#
|
||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
#
|
||||
#ident "$Id$"
|
||||
#
|
||||
|
||||
MACH = $(shell mach)
|
||||
|
||||
PUBLISH_ROOT = $(DIST)
|
||||
ifeq ($(MOD_DEPTH),../..)
|
||||
ROOT = ROOT
|
||||
else
|
||||
ROOT = $(subst ../../,,$(MOD_DEPTH))/ROOT
|
||||
endif
|
||||
|
||||
PKGARCHIVE = $(dist_prefix)/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
|
||||
34
nsprpub/pkg/solaris/Makefile-devl.targ
Normal file
34
nsprpub/pkg/solaris/Makefile-devl.targ
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
#
|
||||
# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
|
||||
# Use is subject to license terms.
|
||||
#
|
||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
#
|
||||
#ident "$Id$"
|
||||
#
|
||||
|
||||
include $(srcdir)/../proto64.mk
|
||||
|
||||
pkginfo: pkginfo.tmpl ../awk_pkginfo
|
||||
$(RM) $@; nawk -f ../awk_pkginfo $(srcdir)/$@.tmpl > $@
|
||||
|
||||
pkg: $(PKGARCHIVE)
|
||||
cat $(srcdir)/prototype | sed $(sed_proto64) > 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
|
||||
37
nsprpub/pkg/solaris/Makefile.com
Normal file
37
nsprpub/pkg/solaris/Makefile.com
Normal file
|
|
@ -0,0 +1,37 @@
|
|||
#
|
||||
# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
|
||||
# Use is subject to license terms.
|
||||
#
|
||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
#
|
||||
#ident "$Id$"
|
||||
#
|
||||
|
||||
MACH = $(shell mach)
|
||||
|
||||
PUBLISH_ROOT = $(DIST)
|
||||
ifeq ($(MOD_DEPTH),../..)
|
||||
ROOT = ROOT
|
||||
else
|
||||
ROOT = $(subst ../../,,$(MOD_DEPTH))/ROOT
|
||||
endif
|
||||
|
||||
PKGARCHIVE = $(dist_prefix)/pkgarchive
|
||||
DATAFILES = copyright
|
||||
FILES = $(DATAFILES) pkginfo
|
||||
|
||||
PACKAGE = $(shell basename `pwd`)
|
||||
|
||||
PRODUCT_VERSION = $(shell grep PR_VERSION $(dist_includedir)/prinit.h \
|
||||
| sed -e 's/"$$//' -e 's/.*"//' -e 's/ .*//')
|
||||
|
||||
LN = /usr/bin/ln
|
||||
CP = /usr/bin/cp
|
||||
|
||||
CLOBBERFILES = $(FILES)
|
||||
|
||||
include $(topsrcdir)/config/rules.mk
|
||||
|
||||
# vim: ft=make
|
||||
89
nsprpub/pkg/solaris/Makefile.in
Normal file
89
nsprpub/pkg/solaris/Makefile.in
Normal file
|
|
@ -0,0 +1,89 @@
|
|||
#
|
||||
# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
|
||||
# Use is subject to license terms.
|
||||
#
|
||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
#
|
||||
#ident "$Id$"
|
||||
#
|
||||
|
||||
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 $@
|
||||
|
||||
DIRS = \
|
||||
SUNWpr \
|
||||
SUNWprd
|
||||
|
||||
include $(srcdir)/Makefile.com
|
||||
|
||||
PROTO = \
|
||||
$(ROOT) \
|
||||
$(ROOT)/usr/lib/mps \
|
||||
$(ROOT)/usr/include/mps
|
||||
|
||||
ifeq ($(MACH), sparc)
|
||||
PROTO += $(ROOT)/usr/lib/mps/cpu/sparcv8plus
|
||||
endif
|
||||
|
||||
ifeq ($(USE_64), 1)
|
||||
ifeq ($(MACH), sparc)
|
||||
# Sparc
|
||||
PROTO += $(ROOT)/usr/lib/mps/sparcv9
|
||||
else
|
||||
# AMD64
|
||||
PROTO += $(ROOT)/usr/lib/mps/amd64
|
||||
endif
|
||||
abs_dist64_libdir = $(abs_dist_libdir)
|
||||
abs_dist32_libdir = $(shell echo $(abs_dist_libdir) | sed -e "s|_64_OPT|_OPT|g" -e "s|_64_DBG|_DBG|g")
|
||||
abs_dist64_includedir = $(abs_dist_includedir)
|
||||
abs_dist32_includedir = $(shell echo $(abs_dist_includedir) | sed -e "s|_64_OPT|_OPT|g" -e "s|_64_DBG|_DBG|g")
|
||||
else
|
||||
abs_dist32_libdir = $(abs_dist_libdir)
|
||||
abs_dist64_libdir = $(shell echo $(abs_dist_libdir) | sed -e "s|_OPT|_64_OPT|g" -e "s|_DBG|_64_DBG|g")
|
||||
abs_dist32_includedir = $(abs_dist_includedir)
|
||||
abs_dist64_includedir = $(shell echo $(abs_dist_includedir) | 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)
|
||||
|
||||
all:: awk_pkginfo $(PROTO)
|
||||
publish: awk_pkginfo $(PROTO)
|
||||
+$(LOOP_OVER_DIRS)
|
||||
|
||||
clean clobber::
|
||||
$(RM) awk_pkginfo bld_awk_pkginfo
|
||||
$(RM) -r $(ROOT)
|
||||
|
||||
$(ROOT):
|
||||
mkdir -p $@
|
||||
|
||||
$(ROOT)/usr/lib/mps/sparcv9:
|
||||
mkdir -p $@
|
||||
$(CP) -r $(abs_dist64_libdir)/*.so $@
|
||||
$(ROOT)/usr/lib/mps/amd64:
|
||||
mkdir -p $@
|
||||
$(CP) -r $(abs_dist64_libdir)/*.so $@
|
||||
$(ROOT)/usr/lib/mps:
|
||||
mkdir -p $@
|
||||
$(CP) -r $(abs_dist32_libdir)/*.so $@
|
||||
$(ROOT)/usr/lib/mps/cpu/sparcv8plus:
|
||||
mkdir -p $@
|
||||
$(CP) -r $(abs_dist32_libdir)/cpu/sparcv8plus/*.so $@
|
||||
$(ROOT)/usr/include/mps:
|
||||
mkdir -p $@
|
||||
$(CP) -r $(abs_dist32_includedir)/* $@
|
||||
32
nsprpub/pkg/solaris/Makefile.targ
Normal file
32
nsprpub/pkg/solaris/Makefile.targ
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
#
|
||||
# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
|
||||
# Use is subject to license terms.
|
||||
#
|
||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
#
|
||||
#ident "$Id$"
|
||||
#
|
||||
|
||||
include $(srcdir)/../proto64.mk
|
||||
|
||||
pkginfo: pkginfo.tmpl ../awk_pkginfo
|
||||
$(RM) $@; nawk -f ../awk_pkginfo $< > $@
|
||||
|
||||
pkg: $(PKGARCHIVE) prototype_$(MACH)
|
||||
cp $(srcdir)/prototype_com .
|
||||
cat $(srcdir)/prototype_$(MACH) | sed $(sed_proto64) > prototype_$(MACH)
|
||||
cp $(srcdir)/depend .
|
||||
pkgmk -f prototype_$(MACH) -d $(PKGARCHIVE) -r $(ROOT) -o $(PACKAGE)
|
||||
|
||||
$(PKGARCHIVE):
|
||||
[ -d $(PKGARCHIVE) ] || mkdir -p $(PKGARCHIVE)
|
||||
|
||||
$(DATAFILES): %: $(srcdir)/../common_files/%
|
||||
$(RM) $@; cp $(srcdir)/../common_files/$@ $@
|
||||
|
||||
clobber clean::
|
||||
-$(RM) $(CLOBBERFILES) $(CLEANFILES)
|
||||
|
||||
.PHONY: pkg
|
||||
26
nsprpub/pkg/solaris/SUNWpr/Makefile.in
Normal file
26
nsprpub/pkg/solaris/SUNWpr/Makefile.in
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
#
|
||||
# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
|
||||
# Use is subject to license terms.
|
||||
#
|
||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
#
|
||||
#ident "$Id$"
|
||||
#
|
||||
|
||||
MOD_DEPTH = ../../..
|
||||
topsrcdir = @top_srcdir@
|
||||
srcdir = @srcdir@
|
||||
VPATH = @srcdir@
|
||||
|
||||
include $(MOD_DEPTH)/config/autoconf.mk
|
||||
|
||||
include $(srcdir)/../Makefile.com
|
||||
|
||||
DATAFILES +=
|
||||
|
||||
all:: $(FILES)
|
||||
publish:: all pkg
|
||||
|
||||
include $(srcdir)/../Makefile.targ
|
||||
32
nsprpub/pkg/solaris/SUNWpr/depend
Normal file
32
nsprpub/pkg/solaris/SUNWpr/depend
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
#
|
||||
# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
|
||||
# Use is subject to license terms.
|
||||
#
|
||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
#
|
||||
# $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
|
||||
38
nsprpub/pkg/solaris/SUNWpr/pkginfo.tmpl
Normal file
38
nsprpub/pkg/solaris/SUNWpr/pkginfo.tmpl
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
#
|
||||
# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
|
||||
# Use is subject to license terms.
|
||||
#
|
||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
#
|
||||
#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="SUNWpr"
|
||||
NAME="Netscape Portable Runtime"
|
||||
ARCH="ISA"
|
||||
VERSION="NSPRVERS,REV=0.0.0"
|
||||
SUNW_PRODNAME="Netscape Portable Runtime"
|
||||
SUNW_PRODVERS="NSPRVERS"
|
||||
SUNW_PKGTYPE="usr"
|
||||
MAXINST="1000"
|
||||
CATEGORY="system"
|
||||
DESC="Netscape Portable Runtime Interface"
|
||||
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>"
|
||||
39
nsprpub/pkg/solaris/SUNWpr/prototype_com
Normal file
39
nsprpub/pkg/solaris/SUNWpr/prototype_com
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
#
|
||||
# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
|
||||
# Use is subject to license terms.
|
||||
#
|
||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
#
|
||||
#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 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
|
||||
d none usr/lib/mps/secv1 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
|
||||
s none usr/lib/mps/secv1/libnspr4.so=../libnspr4.so
|
||||
s none usr/lib/mps/secv1/libplc4.so=../libplc4.so
|
||||
s none usr/lib/mps/secv1/libplds4.so=../libplds4.so
|
||||
45
nsprpub/pkg/solaris/SUNWpr/prototype_i386
Normal file
45
nsprpub/pkg/solaris/SUNWpr/prototype_i386
Normal file
|
|
@ -0,0 +1,45 @@
|
|||
#
|
||||
# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
|
||||
# Use is subject to license terms.
|
||||
#
|
||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
#
|
||||
#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 i386 specific here
|
||||
#
|
||||
# source locations relative to the prototype file
|
||||
#
|
||||
#
|
||||
# SUNWpr
|
||||
#
|
||||
#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/libnspr4.so 755 root bin
|
||||
#64#f none usr/lib/mps/amd64/libplc4.so 755 root bin
|
||||
#64#f none usr/lib/mps/amd64/libplds4.so 755 root bin
|
||||
#64#s none usr/lib/mps/secv1/amd64/libnspr4.so=../../amd64/libnspr4.so
|
||||
#64#s none usr/lib/mps/secv1/amd64/libplc4.so=../../amd64/libplc4.so
|
||||
#64#s none usr/lib/mps/secv1/amd64/libplds4.so=../../amd64/libplds4.so
|
||||
|
||||
51
nsprpub/pkg/solaris/SUNWpr/prototype_sparc
Normal file
51
nsprpub/pkg/solaris/SUNWpr/prototype_sparc
Normal file
|
|
@ -0,0 +1,51 @@
|
|||
#
|
||||
# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
|
||||
# Use is subject to license terms.
|
||||
#
|
||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
#
|
||||
#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
|
||||
#
|
||||
#
|
||||
# SUNWpr
|
||||
#
|
||||
d none usr/lib/mps/cpu 755 root bin
|
||||
d none usr/lib/mps/cpu/sparcv8plus 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/cpu/sparcv8plus/libnspr_flt4.so 755 root bin
|
||||
s none usr/lib/mps/secv1/cpu/sparcv8plus/libnspr_flt4.so=../../../cpu/sparcv8plus/libnspr_flt4.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/libnspr4.so 755 root bin
|
||||
#64#f none usr/lib/mps/sparcv9/libplc4.so 755 root bin
|
||||
#64#f none usr/lib/mps/sparcv9/libplds4.so 755 root bin
|
||||
#64#s none usr/lib/mps/secv1/sparcv9/libnspr4.so=../../sparcv9/libnspr4.so
|
||||
#64#s none usr/lib/mps/secv1/sparcv9/libplc4.so=../../sparcv9/libplc4.so
|
||||
#64#s none usr/lib/mps/secv1/sparcv9/libplds4.so=../../sparcv9/libplds4.so
|
||||
|
||||
26
nsprpub/pkg/solaris/SUNWprd/Makefile.in
Normal file
26
nsprpub/pkg/solaris/SUNWprd/Makefile.in
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
#
|
||||
# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
|
||||
# Use is subject to license terms.
|
||||
#
|
||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
#
|
||||
#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
|
||||
27
nsprpub/pkg/solaris/SUNWprd/depend
Normal file
27
nsprpub/pkg/solaris/SUNWprd/depend
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
#
|
||||
# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
|
||||
# Use is subject to license terms.
|
||||
#
|
||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
#
|
||||
# $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
|
||||
38
nsprpub/pkg/solaris/SUNWprd/pkginfo.tmpl
Normal file
38
nsprpub/pkg/solaris/SUNWprd/pkginfo.tmpl
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
#
|
||||
# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
|
||||
# Use is subject to license terms.
|
||||
#
|
||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
#
|
||||
#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>"
|
||||
89
nsprpub/pkg/solaris/SUNWprd/prototype
Normal file
89
nsprpub/pkg/solaris/SUNWprd/prototype
Normal file
|
|
@ -0,0 +1,89 @@
|
|||
#
|
||||
# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
|
||||
# Use is subject to license terms.
|
||||
#
|
||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
#
|
||||
#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/obsolete 0755 root bin
|
||||
d none usr/include/mps/private 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/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
|
||||
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/plstr.h 0644 root bin
|
||||
109
nsprpub/pkg/solaris/bld_awk_pkginfo.ksh
Normal file
109
nsprpub/pkg/solaris/bld_awk_pkginfo.ksh
Normal file
|
|
@ -0,0 +1,109 @@
|
|||
#!/usr/bin/ksh -p
|
||||
#
|
||||
# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
|
||||
# Use is subject to license terms.
|
||||
#
|
||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
#
|
||||
#ident "$Id$"
|
||||
#
|
||||
# Simple script which builds the awk_pkginfo awk script. This awk script
|
||||
# is used to convert the pkginfo.tmpl files into pkginfo files
|
||||
# for the build.
|
||||
#
|
||||
|
||||
usage()
|
||||
{
|
||||
cat <<-EOF
|
||||
usage: bld_awk_pkginfo -p <prodver> -m <mach> -o <awk_script> [-v <version>]
|
||||
EOF
|
||||
}
|
||||
|
||||
#
|
||||
# Awk strings
|
||||
#
|
||||
# two VERSION patterns: one for Dewey decimal, one for Dewey plus ,REV=n
|
||||
# the first has one '=' the second has two or more '='
|
||||
#
|
||||
VERSION1="VERSION=[^=]*$"
|
||||
VERSION2="VERSION=[^=]*=.*$"
|
||||
PRODVERS="^SUNW_PRODVERS="
|
||||
ARCH='ARCH=\"ISA\"'
|
||||
|
||||
#
|
||||
# parse command line
|
||||
#
|
||||
mach=""
|
||||
prodver=""
|
||||
awk_script=""
|
||||
version="NSPRVERS"
|
||||
|
||||
while getopts o:p:m:v: c
|
||||
do
|
||||
case $c in
|
||||
o)
|
||||
awk_script=$OPTARG
|
||||
;;
|
||||
m)
|
||||
mach=$OPTARG
|
||||
;;
|
||||
p)
|
||||
prodver=$OPTARG
|
||||
;;
|
||||
v)
|
||||
version=$OPTARG
|
||||
;;
|
||||
\?)
|
||||
usage
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
||||
if [[ ( -z $prodver ) || ( -z $mach ) || ( -z $awk_script ) ]]
|
||||
then
|
||||
usage
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [[ -f $awk_script ]]
|
||||
then
|
||||
rm -f $awk_script
|
||||
fi
|
||||
|
||||
#
|
||||
# Build REV= field based on date
|
||||
#
|
||||
rev=$(date "+%Y.%m.%d.%H.%M")
|
||||
|
||||
#
|
||||
# Build awk script which will process all the
|
||||
# pkginfo.tmpl files.
|
||||
#
|
||||
# the first VERSION pattern is replaced with a leading quotation mark
|
||||
#
|
||||
rm -f $awk_script
|
||||
cat << EOF > $awk_script
|
||||
/$VERSION1/ {
|
||||
sub(/\=[^=]*$/,"=\"$rev\"")
|
||||
print
|
||||
next
|
||||
}
|
||||
/$VERSION2/ {
|
||||
sub(/\=[^=]*$/,"=$rev\"")
|
||||
sub(/NSPRVERS/,"$version")
|
||||
print
|
||||
next
|
||||
}
|
||||
/$PRODVERS/ {
|
||||
printf "SUNW_PRODVERS=\"%s\"\n", "$prodver"
|
||||
next
|
||||
}
|
||||
/$ARCH/ {
|
||||
printf "ARCH=\"%s\"\n", "$mach"
|
||||
next
|
||||
}
|
||||
{ print }
|
||||
EOF
|
||||
6
nsprpub/pkg/solaris/common_files/copyright
Normal file
6
nsprpub/pkg/solaris/common_files/copyright
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
Copyright 2005 Sun Microsystems, Inc. All rights reserved.
|
||||
Use is subject to license terms.
|
||||
|
||||
This Source Code Form is subject to the terms of the Mozilla Public
|
||||
License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
18
nsprpub/pkg/solaris/proto64.mk
Normal file
18
nsprpub/pkg/solaris/proto64.mk
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
#
|
||||
# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
|
||||
# Use is subject to license terms.
|
||||
#
|
||||
# This Source Code Form is subject to the terms of the Mozilla Public
|
||||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
#
|
||||
#ident "$Id$"
|
||||
#
|
||||
|
||||
ifeq ($(USE_64), 1)
|
||||
# Remove 64 tag
|
||||
sed_proto64='s/\#64\#//g'
|
||||
else
|
||||
# Strip 64 lines
|
||||
sed_proto64='/\#64\#/d'
|
||||
endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue