summaryrefslogtreecommitdiff
path: root/usr
diff options
context:
space:
mode:
Diffstat (limited to 'usr')
-rw-r--r--usr/src/Makefile1
-rw-r--r--usr/src/Makefile.lint4
-rw-r--r--usr/src/cmd/Makefile3
-rw-r--r--usr/src/cmd/Makefile.check1
-rw-r--r--usr/src/cmd/devfsadm/sparc/misc_link_sparc.c70
-rw-r--r--usr/src/cmd/rpcsvc/net_files/rpc5
-rw-r--r--usr/src/cmd/svc/profile/generic_limited_net.xml3
-rw-r--r--usr/src/lib/Makefile12
-rw-r--r--usr/src/lib/libpam/pam_appl.h20
-rw-r--r--usr/src/lib/libpam/pam_framework.c48
-rw-r--r--usr/src/lib/libpam/pam_impl.h11
-rw-r--r--usr/src/lib/pam_modules/Makefile7
-rw-r--r--usr/src/pkgdefs/Makefile9
-rw-r--r--usr/src/pkgdefs/SUNW0on/prototype_com8
-rw-r--r--usr/src/pkgdefs/SUNWhea/prototype_sparc1
-rw-r--r--usr/src/pkgdefs/SUNWjcom/Makefile36
-rw-r--r--usr/src/pkgdefs/SUNWjcom/depend51
-rw-r--r--usr/src/pkgdefs/SUNWjcom/pkginfo.tmpl59
-rw-r--r--usr/src/pkgdefs/SUNWjcom/prototype_com57
-rw-r--r--usr/src/pkgdefs/SUNWjcom/prototype_i38651
-rw-r--r--usr/src/pkgdefs/SUNWjcom/prototype_sparc64
-rw-r--r--usr/src/pkgdefs/SUNWjib/Makefile36
-rw-r--r--usr/src/pkgdefs/SUNWjib/depend51
-rw-r--r--usr/src/pkgdefs/SUNWjib/pkginfo.tmpl59
-rw-r--r--usr/src/pkgdefs/SUNWjib/prototype_com52
-rw-r--r--usr/src/pkgdefs/SUNWjib/prototype_i38651
-rw-r--r--usr/src/pkgdefs/SUNWjib/prototype_sparc57
-rw-r--r--usr/src/pkgdefs/SUNWocf/Makefile41
-rw-r--r--usr/src/pkgdefs/SUNWocf/depend53
-rw-r--r--usr/src/pkgdefs/SUNWocf/pkginfo.tmpl59
-rw-r--r--usr/src/pkgdefs/SUNWocf/preremove.tmpl38
-rw-r--r--usr/src/pkgdefs/SUNWocf/prototype_com83
-rw-r--r--usr/src/pkgdefs/SUNWocf/prototype_i38655
-rw-r--r--usr/src/pkgdefs/SUNWocf/prototype_sparc51
-rw-r--r--usr/src/pkgdefs/SUNWocfd/Makefile37
-rw-r--r--usr/src/pkgdefs/SUNWocfd/pkginfo.tmpl59
-rw-r--r--usr/src/pkgdefs/SUNWocfd/prototype_com85
-rw-r--r--usr/src/pkgdefs/SUNWocfd/prototype_i38647
-rw-r--r--usr/src/pkgdefs/SUNWocfd/prototype_sparc45
-rw-r--r--usr/src/pkgdefs/SUNWocfh/Makefile39
-rw-r--r--usr/src/pkgdefs/SUNWocfh/copyright.in48
-rw-r--r--usr/src/pkgdefs/SUNWocfh/depend42
-rw-r--r--usr/src/pkgdefs/SUNWocfh/pkginfo.tmpl59
-rw-r--r--usr/src/pkgdefs/SUNWocfh/prototype_com53
-rw-r--r--usr/src/pkgdefs/SUNWocfh/prototype_i38651
-rw-r--r--usr/src/pkgdefs/SUNWocfh/prototype_sparc48
-rw-r--r--usr/src/pkgdefs/SUNWocfr/Makefile41
-rw-r--r--usr/src/pkgdefs/SUNWocfr/pkginfo.tmpl59
-rw-r--r--usr/src/pkgdefs/SUNWocfr/postinstall.tmpl295
-rw-r--r--usr/src/pkgdefs/SUNWocfr/prototype_com64
-rw-r--r--usr/src/pkgdefs/SUNWocfr/prototype_i38651
-rw-r--r--usr/src/pkgdefs/SUNWocfr/prototype_sparc47
-rw-r--r--usr/src/pkgdefs/SUNWpamsc/Makefile38
-rw-r--r--usr/src/pkgdefs/SUNWpamsc/depend42
-rw-r--r--usr/src/pkgdefs/SUNWpamsc/pkginfo.tmpl59
-rw-r--r--usr/src/pkgdefs/SUNWpamsc/prototype_com51
-rw-r--r--usr/src/pkgdefs/SUNWpamsc/prototype_i38654
-rw-r--r--usr/src/pkgdefs/SUNWpamsc/prototype_sparc53
-rw-r--r--usr/src/pkgdefs/SUNWscmhdlr/Makefile36
-rw-r--r--usr/src/pkgdefs/SUNWscmhdlr/depend51
-rw-r--r--usr/src/pkgdefs/SUNWscmhdlr/pkginfo.tmpl59
-rw-r--r--usr/src/pkgdefs/SUNWscmhdlr/prototype_com48
-rw-r--r--usr/src/pkgdefs/SUNWscmhdlr/prototype_sparc58
-rw-r--r--usr/src/pkgdefs/SUNWstc.u/Makefile38
-rw-r--r--usr/src/pkgdefs/SUNWstc.u/pkginfo.tmpl59
-rw-r--r--usr/src/pkgdefs/SUNWstc.u/postinstall49
-rw-r--r--usr/src/pkgdefs/SUNWstc.u/preremove39
-rw-r--r--usr/src/pkgdefs/SUNWstc.u/prototype_com43
-rw-r--r--usr/src/pkgdefs/SUNWstc.u/prototype_sparc60
-rw-r--r--usr/src/pkgdefs/common_files/i.etcrpc17
-rw-r--r--usr/src/pkgdefs/etc/exception_list_sparc6
-rw-r--r--usr/src/tools/opensolaris/license-list1
-rw-r--r--usr/src/tools/scripts/bfu.sh84
-rw-r--r--usr/src/tools/scripts/bindrop.sh29
-rw-r--r--usr/src/uts/common/io/pshot.c1
-rw-r--r--usr/src/uts/common/sys/sunddi.h1
-rw-r--r--usr/src/uts/sparc/warlock/Makefile5
-rw-r--r--usr/src/uts/sun4u/Makefile.sun4u.shared3
-rw-r--r--usr/src/uts/sun4u/sys/Makefile2
79 files changed, 67 insertions, 3296 deletions
diff --git a/usr/src/Makefile b/usr/src/Makefile
index 9d9a2114a0..931e28aef3 100644
--- a/usr/src/Makefile
+++ b/usr/src/Makefile
@@ -261,7 +261,6 @@ EXPORT_SRC:
@cd lib/libsldap; pwd; $(MAKE) EXPORT_SRC
@cd lib/libsasl; pwd; $(MAKE) EXPORT_SRC
@cd lib/sasl_plugins; pwd; $(MAKE) EXPORT_SRC
- @cd $(CLOSED)/lib/smartcard; pwd; $(MAKE) EXPORT_SRC
@cd lib/pam_modules/krb5; pwd; $(MAKE) EXPORT_SRC
@cd lib/libresolv2; pwd; $(MAKE) EXPORT_SRC
@cd psm/stand/boot; pwd; $(MAKE) EXPORT_SRC
diff --git a/usr/src/Makefile.lint b/usr/src/Makefile.lint
index 83326731bf..e9f7a30667 100644
--- a/usr/src/Makefile.lint
+++ b/usr/src/Makefile.lint
@@ -467,11 +467,9 @@ $(CLOSED_BUILD)COMMON_SUBDIRS += \
$(CLOSED)/cmd/cmd-inet/usr.lib/in.iked \
$(CLOSED)/cmd/pax \
$(CLOSED)/cmd/sed_xpg4 \
- $(CLOSED)/cmd/smartcard \
$(CLOSED)/cmd/tail \
$(CLOSED)/cmd/tr_xpg4 \
- $(CLOSED)/lib/libc_i18n \
- $(CLOSED)/lib/smartcard
+ $(CLOSED)/lib/libc_i18n
i386_SUBDIRS= \
cmd/biosdev \
diff --git a/usr/src/cmd/Makefile b/usr/src/cmd/Makefile
index d21840f8bd..59a5bdba1c 100644
--- a/usr/src/cmd/Makefile
+++ b/usr/src/cmd/Makefile
@@ -479,8 +479,7 @@ $(CLOSED_BUILD)COMMON_SUBDIRS += \
$(CLOSED)/cmd/printf \
$(CLOSED)/cmd/sed \
$(CLOSED)/cmd/sed_xpg4 \
- $(CLOSED)/cmd/smartcard \
- $(CLOSED)/cmd/tail \
+ODE $(CLOSED)/cmd/tail \
$(CLOSED)/cmd/tr_xpg4
i386_SUBDIRS= \
diff --git a/usr/src/cmd/Makefile.check b/usr/src/cmd/Makefile.check
index de191712d2..621731cdc3 100644
--- a/usr/src/cmd/Makefile.check
+++ b/usr/src/cmd/Makefile.check
@@ -147,7 +147,6 @@ MANIFEST_SUBDIRS= \
ypcmd/ypupdated
$(CLOSED_BUILD)MANIFEST_SUBDIRS += \
- $(CLOSED)/cmd/smartcard/daemon \
$(CLOSED)/cmd/cmd-inet/usr.lib/in.iked
DTEST_SUBDIRS= \
diff --git a/usr/src/cmd/devfsadm/sparc/misc_link_sparc.c b/usr/src/cmd/devfsadm/sparc/misc_link_sparc.c
index 158259d165..89684661e2 100644
--- a/usr/src/cmd/devfsadm/sparc/misc_link_sparc.c
+++ b/usr/src/cmd/devfsadm/sparc/misc_link_sparc.c
@@ -19,12 +19,10 @@
* CDDL HEADER END
*/
/*
- * Copyright 2008 Sun Microsystems, Inc. All rights reserved.
+ * Copyright 2009 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
-#pragma ident "%Z%%M% %I% %E% SMI"
-
#include <regex.h>
#include <devfsadm.h>
#include <stdio.h>
@@ -41,7 +39,6 @@ static int ddi_other(di_minor_t minor, di_node_t node);
static int diskette(di_minor_t minor, di_node_t node);
static int ecpp_create(di_minor_t minor, di_node_t node);
static int mc_node(di_minor_t minor, di_node_t node);
-static int ddi_cardreader(di_minor_t minor, di_node_t node);
static int starcat_sbbc_node(di_minor_t minor, di_node_t node);
static int lom(di_minor_t minor, di_node_t node);
static int ntwdt_create(di_minor_t minor, di_node_t node);
@@ -63,9 +60,6 @@ static devfsadm_create_t misc_cbt[] = {
{ "printer", "ddi_printer", NULL,
TYPE_EXACT, ILEVEL_1, ecpp_create
},
- { "card-reader", "ddi_smartcard_reader", NULL,
- TYPE_EXACT, ILEVEL_0, ddi_cardreader
- },
{ "pseudo", "ddi_pseudo", "lw8",
TYPE_EXACT | DRV_EXACT, ILEVEL_0, lom
},
@@ -79,17 +73,6 @@ static devfsadm_create_t misc_cbt[] = {
DEVFSADM_CREATE_INIT_V0(misc_cbt);
-/* Smart Card Reader device link */
-#define CARDREADER_LINK "^scmi2c[0-9]+$"
-
-/* Rules for removing links */
-static devfsadm_remove_t sparc_remove_cbt[] = {
- { "card-reader", CARDREADER_LINK, RM_PRE | RM_ALWAYS,
- ILEVEL_0, devfsadm_rm_all }
-};
-
-DEVFSADM_REMOVE_INIT_V0(sparc_remove_cbt);
-
/*
* Handles minor node type "ddi_other"
@@ -213,57 +196,6 @@ mc_node(di_minor_t minor, di_node_t node)
/*
- * This function is called for Smartcard card reader nodes
- * Handles minor node type "ddi_smartcard_reader"
- * type=ddi_smartcard_reader;name=card-reader scmi2c\N0
- * Calls enumerate to assign logical card-reader id and then
- * devfsadm_mklink to make the link.
- */
-static int
-ddi_cardreader(di_minor_t minor, di_node_t node)
-{
- char p_path[PATH_MAX +1], l_path[PATH_MAX +1];
- char *buf;
- char *ptr;
- char *nn, *mn;
-
- devfsadm_enumerate_t rules[1] = {"^scmi2c([0-9]+)$", 1, MATCH_ALL};
-
- nn = di_node_name(node);
- if (strcmp(nn, "card-reader")) {
- return (DEVFSADM_CONTINUE);
- }
-
- if (NULL == (ptr = di_devfs_path(node))) {
- return (DEVFSADM_CONTINUE);
- }
-
- (void) strcpy(p_path, ptr);
- (void) strcat(p_path, ":");
-
- mn = di_minor_name(minor);
-
- (void) strcat(p_path, mn);
- di_devfs_path_free(ptr);
-
- if (devfsadm_enumerate_int(p_path, 0, &buf, rules, 1)) {
- return (DEVFSADM_CONTINUE);
- }
- (void) snprintf(l_path, sizeof (l_path), "scmi2c%s", buf);
- free(buf);
- (void) devfsadm_mklink(l_path, node, minor, 0);
-
- return (DEVFSADM_CONTINUE);
-}
-
-
-
-
-
-
-
-
-/*
* Starcat sbbc node. We only really care about generating a /dev
* link for the lone sbbc on the SC (as opposed to the potentially
* numerous sbbcs on the domain), so only operate on instance 0.
diff --git a/usr/src/cmd/rpcsvc/net_files/rpc b/usr/src/cmd/rpcsvc/net_files/rpc
index ba6756af03..ccfb50837b 100644
--- a/usr/src/cmd/rpcsvc/net_files/rpc
+++ b/usr/src/cmd/rpcsvc/net_files/rpc
@@ -1,5 +1,5 @@
#
-# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# CDDL HEADER START
@@ -21,8 +21,6 @@
#
# CDDL HEADER END
#
-# ident "%Z%%M% %I% %E% SMI"
-#
# rpc
#
rpcbind 100000 portmap sunrpc rpcbind
@@ -86,7 +84,6 @@ nisd 100300 rpc.nisd
nispasswd 100303 rpc.nispasswdd
ufsd 100233 ufsd
pcnfsd 150001
-ocfserv 100150
metad 100229 metad
metamhd 100230 metamhd
metamedd 100242 metamedd
diff --git a/usr/src/cmd/svc/profile/generic_limited_net.xml b/usr/src/cmd/svc/profile/generic_limited_net.xml
index 58c371983f..3d71c8ea26 100644
--- a/usr/src/cmd/svc/profile/generic_limited_net.xml
+++ b/usr/src/cmd/svc/profile/generic_limited_net.xml
@@ -299,9 +299,6 @@
<!--
non-default inetd(1M) RPC services disabled
-->
- <service name='network/rpc/ocfserv' version='1' type='service'>
- <instance name='default' enabled='false'/>
- </service>
<service name='network/rpc/rex' version='1' type='service'>
<instance name='default' enabled='false'/>
</service>
diff --git a/usr/src/lib/Makefile b/usr/src/lib/Makefile
index 557b39a8fe..2649d23a67 100644
--- a/usr/src/lib/Makefile
+++ b/usr/src/lib/Makefile
@@ -163,8 +163,6 @@ SUBDIRS += \
libinstzones \
libpkg
-$(CLOSED_BUILD)SUBDIRS += \
- $(CLOSED)/lib/smartcard
SUBDIRS += \
passwdutil \
pam_modules \
@@ -361,8 +359,6 @@ MSGSUBDIRS= \
pam_modules \
pyzfs \
rpcsec_gss
-$(CLOSED_BUILD)MSGSUBDIRS += \
- $(CLOSED)/lib/smartcard
MSGSUBDIRS += \
$($(MACH)_MSGSUBDIRS)
@@ -497,8 +493,7 @@ HDRSUBDIRS= \
$(CLOSED_BUILD)HDRSUBDIRS += \
$(CLOSED)/lib/libc_i18n \
- $(CLOSED)/lib/libike \
- $(CLOSED)/lib/smartcard
+ $(CLOSED)/lib/libike
i386_HDRSUBDIRS= \
libparted \
@@ -551,9 +546,6 @@ _msg: $(MSGSUBDIRS:%=%-nodepend) .WAIT _dc
_dc: $(DCSUBDIRS:%=%-nodepend)
-# dependencies for pam_modules (see below)
-$(CLOSED_BUILD)SMARTCARD= $(CLOSED)/lib/smartcard
-
#
# Library interdependencies are called out explicitly here
#
@@ -617,7 +609,7 @@ libwrap: libnsl libsocket
libwanboot: libnvpair libresolv libnsl libsocket libdevinfo libinetutil \
libdhcputil
libwanbootutil: libnsl
-pam_modules: libproject passwdutil $(SMARTCARD) smbsrv
+pam_modules: libproject passwdutil smbsrv
libscf: libuutil libmd libgen libsmbios
libinetsvc: libscf
librestart: libuutil libscf
diff --git a/usr/src/lib/libpam/pam_appl.h b/usr/src/lib/libpam/pam_appl.h
index 8f23d195bc..52080dea7a 100644
--- a/usr/src/lib/libpam/pam_appl.h
+++ b/usr/src/lib/libpam/pam_appl.h
@@ -19,15 +19,13 @@
* CDDL HEADER END
*/
/*
- * Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+ * Copyright 2009 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
#ifndef _PAM_APPL_H
#define _PAM_APPL_H
-#pragma ident "%Z%%M% %I% %E% SMI"
-
#include <sys/types.h>
#ifdef __cplusplus
@@ -108,15 +106,6 @@ struct pam_message {
#define PAM_TEXT_INFO 4 /* Textual information */
/*
- * Sun's proprietary message types
- * Can these new new message types supported in version 2
- * have the numbers like -XXX (ie., negative numbers).
- * Hence will not clash with new proposals from X/OPEN
- */
-#define PAM_MSG_NOCONF 2001 /* No confirmation from user */
-#define PAM_CONV_INTERRUPT 2002 /* Return from conv() */
-
-/*
* max # of messages passed to the application through the
* conversation function call
*/
@@ -226,13 +215,6 @@ struct pam_repository {
typedef struct pam_repository pam_repository_t;
/*
- * PAM message version.
- * Sun proprietary pam_[sg]et_item() extension
- */
-#define PAM_MSG_VERSION 3001 /* PAM message version supported */
-#define PAM_MSG_VERSION_V2 "2.0" /* PAM 2.0 message version */
-
-/*
* pam_get_user is called to retrieve the user name (PAM_USER). If PAM_USER
* is not set then this call will prompt for the user name using the
* conversation function. This function should only be used by modules, not
diff --git a/usr/src/lib/libpam/pam_framework.c b/usr/src/lib/libpam/pam_framework.c
index 6544326585..848483ce75 100644
--- a/usr/src/lib/libpam/pam_framework.c
+++ b/usr/src/lib/libpam/pam_framework.c
@@ -110,14 +110,6 @@ pam_trace_iname(int item_type, char *iname_buf)
{
char *name;
- /*
- * XXX -- Contracted Consolidation Private
- * to be eliminated when dtlogin contract is terminated
- * Version number requested by PAM's client
- */
- if (item_type == PAM_MSG_VERSION)
- return ("msg_version");
-
if (item_type <= 0 ||
item_type >= PAM_MAX_ITEMS ||
(name = pam_inames[item_type]) == NULL) {
@@ -415,29 +407,6 @@ pam_set_item(pam_handle_t *pamh, int item_type, const void *item)
return (PAM_PERM_DENIED);
/*
- * XXX -- Contracted Consolidation Private
- * to be eliminated when dtlogin contract is terminated
- * Check if tag is Sun proprietary
- */
- if (item_type == PAM_MSG_VERSION) {
- if (pamh->pam_client_message_version_number)
- free(pamh->pam_client_message_version_number);
-
- if (item == NULL)
- pamh->pam_client_message_version_number = NULL;
- else
- if ((pamh->pam_client_message_version_number =
- strdup((char *)item)) == NULL)
- return (PAM_BUF_ERR);
-
- pam_trace(PAM_DEBUG_ITEM,
- "pam_set_item(%p:%s)=%s", (void *)pamh,
- pam_trace_iname(item_type, iname_buf),
- item ? (char *)item : "NULL");
- return (PAM_SUCCESS);
- }
-
- /*
* Check that item_type is within valid range
*/
@@ -584,19 +553,6 @@ pam_get_item(const pam_handle_t *pamh, int item_type, void **item)
if (pamh == NULL)
return (PAM_SYSTEM_ERR);
- /*
- * XXX -- Contracted Consolidation Private
- * to be eliminated when dtlogin contract is terminated
- * Check if tag is Sun proprietary
- */
- if (item_type == PAM_MSG_VERSION) {
- *item = pamh->pam_client_message_version_number;
- pam_trace(PAM_DEBUG_ITEM, "pam_get_item(%p:%s)=%s",
- (void *)pamh, pam_trace_iname(item_type, iname_buf),
- *item ? (char *)*item : "NULL");
- return (PAM_SUCCESS);
- }
-
if (item_type <= 0 || item_type >= PAM_MAX_ITEMS)
return (PAM_SYMBOL_ERR);
@@ -2546,10 +2502,6 @@ clean_up(pam_handle_t *pamh)
pam_repository_t *auth_rep;
if (pamh) {
- /* Cleanup Sun proprietary tag information */
- if (pamh->pam_client_message_version_number)
- free(pamh->pam_client_message_version_number);
-
while (pamh->include_depth >= 0) {
free_pam_conf_info(pamh);
pamh->include_depth--;
diff --git a/usr/src/lib/libpam/pam_impl.h b/usr/src/lib/libpam/pam_impl.h
index eea1931a95..7594521f1b 100644
--- a/usr/src/lib/libpam/pam_impl.h
+++ b/usr/src/lib/libpam/pam_impl.h
@@ -19,15 +19,13 @@
* CDDL HEADER END
*/
/*
- * Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+ * Copyright 2009 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
#ifndef _PAM_IMPL_H
#define _PAM_IMPL_H
-#pragma ident "%Z%%M% %I% %E% SMI"
-
#ifdef __cplusplus
extern "C" {
#endif
@@ -230,13 +228,6 @@ struct pam_handle {
struct pam_module_data *ssd; /* module specific data */
fd_list *fd; /* module fd's */
env_list *pam_env; /* environment variables */
-
- /*
- * XXX -- Contracted Consolidation Private
- * to be eliminated when dtlogin contract is terminated
- * Version number requested by PAM's client
- */
- char *pam_client_message_version_number;
};
/*
diff --git a/usr/src/lib/pam_modules/Makefile b/usr/src/lib/pam_modules/Makefile
index 4a6ee913fd..fa74ccba7b 100644
--- a/usr/src/lib/pam_modules/Makefile
+++ b/usr/src/lib/pam_modules/Makefile
@@ -19,11 +19,9 @@
# CDDL HEADER END
#
#
-# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
-#
# lib/pam_modules/Makefile
#
@@ -53,9 +51,6 @@ SUBDIRS = \
unix_cred \
unix_session
-$(CLOSED_BUILD)SUBDIRS += \
- $(CLOSED)/lib/pam_modules/smartcard
-
all := TARGET= all
catalog := TARGET= _msg
clean := TARGET= clean
diff --git a/usr/src/pkgdefs/Makefile b/usr/src/pkgdefs/Makefile
index 2dfde21be1..b6e46ceda5 100644
--- a/usr/src/pkgdefs/Makefile
+++ b/usr/src/pkgdefs/Makefile
@@ -62,8 +62,6 @@ sparc_SUBDIRS= \
SUNWidn.u \
SUNWifp \
SUNWifph \
- SUNWjcom \
- SUNWjib \
SUNWkvm.c \
SUNWkvm.d \
SUNWkvm.m \
@@ -92,11 +90,9 @@ sparc_SUBDIRS= \
SUNWsckmr \
SUNWsckmu.u \
SUNWsckm.u \
- SUNWscmhdlr \
SUNWsfdr.u \
SUNWsfdrr.u \
SUNWssad \
- SUNWstc.u \
SUNWus.u \
SUNWust1.v \
SUNWust2.v \
@@ -372,10 +368,6 @@ COMMON_SUBDIRS= \
SUNWnisu \
SUNWnwamintr \
SUNWnwamintu \
- SUNWocf \
- SUNWocfd \
- SUNWocfh \
- SUNWocfr \
SUNWonfmes \
SUNWonzfsr \
SUNWonzfs \
@@ -384,7 +376,6 @@ COMMON_SUBDIRS= \
SUNWypu \
SUNWpacketh \
SUNWpacketu \
- SUNWpamsc \
SUNWpapi \
SUNWpcan \
SUNWpcelx \
diff --git a/usr/src/pkgdefs/SUNW0on/prototype_com b/usr/src/pkgdefs/SUNW0on/prototype_com
index c28c518ea2..0466324e8b 100644
--- a/usr/src/pkgdefs/SUNW0on/prototype_com
+++ b/usr/src/pkgdefs/SUNW0on/prototype_com
@@ -410,11 +410,3 @@ f none usr/lib/help/profiles/locale/RtCPUPowerManagement.html 444 root bin
f none usr/lib/help/profiles/locale/RtMMSAdmin.html 444 root bin
f none usr/lib/help/profiles/locale/RtMMSOper.html 444 root bin
f none usr/lib/help/profiles/locale/RtMMSUser.html 444 root bin
-#
-#
-# OCF Messages
-#
-f none usr/lib/locale/C/LC_MESSAGES/libsmartcard.msg 644 root sys
-d none usr/share/lib/locale/com/sun/opencard 755 root bin
-d none usr/share/lib/locale/com/sun/opencard/cmd 755 root bin
-f none usr/share/lib/locale/com/sun/opencard/cmd/OCFMessages.properties 644 root sys
diff --git a/usr/src/pkgdefs/SUNWhea/prototype_sparc b/usr/src/pkgdefs/SUNWhea/prototype_sparc
index f2421f6d00..f58b096aa8 100644
--- a/usr/src/pkgdefs/SUNWhea/prototype_sparc
+++ b/usr/src/pkgdefs/SUNWhea/prototype_sparc
@@ -182,7 +182,6 @@ d none usr/platform/sun4u/include/sys/i2c/clients 755 root bin
f none usr/platform/sun4u/include/sys/i2c/misc/i2c_svc.h 644 root bin
f none usr/platform/sun4u/include/sys/i2c/clients/max1617.h 644 root bin
f none usr/platform/sun4u/include/sys/i2c/clients/i2c_client.h 644 root bin
-f none usr/platform/sun4u/include/sys/i2c/clients/scmi2c.h 644 root bin
f none usr/platform/sun4u/include/sys/i2c/clients/hpc3130.h 644 root bin
f none usr/platform/sun4u/include/sys/i2c/clients/lm75.h 644 root bin
f none usr/platform/sun4u/include/sys/i2c/clients/pcf8591.h 644 root bin
diff --git a/usr/src/pkgdefs/SUNWjcom/Makefile b/usr/src/pkgdefs/SUNWjcom/Makefile
deleted file mode 100644
index 4ccdc73b0d..0000000000
--- a/usr/src/pkgdefs/SUNWjcom/Makefile
+++ /dev/null
@@ -1,36 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-
-include ../Makefile.com
-
-.KEEP_STATE:
-
-all: $(FILES) depend
-install: all pkg
-
-include ../Makefile.targ
diff --git a/usr/src/pkgdefs/SUNWjcom/depend b/usr/src/pkgdefs/SUNWjcom/depend
deleted file mode 100644
index 35c5256771..0000000000
--- a/usr/src/pkgdefs/SUNWjcom/depend
+++ /dev/null
@@ -1,51 +0,0 @@
-#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# 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 SUNWcakr Core Solaris Kernel Architecture (Root)
-P SUNWkvm Core Architecture, (Kvm)
-P SUNWcsr Core Solaris, (Root)
-P SUNWckr Core Solaris Kernel (Root)
-P SUNWcnetr Core Solaris Network Infrastructure (Root)
-P SUNWcsu Core Solaris, (Usr)
-P SUNWcsd Core Solaris Devices
-P SUNWcsl Core Solaris Libraries
-P SUNWcslr Core Solaris Libraries (Root)
-P SUNWocf Opencard Card Framework
diff --git a/usr/src/pkgdefs/SUNWjcom/pkginfo.tmpl b/usr/src/pkgdefs/SUNWjcom/pkginfo.tmpl
deleted file mode 100644
index c33e925818..0000000000
--- a/usr/src/pkgdefs/SUNWjcom/pkginfo.tmpl
+++ /dev/null
@@ -1,59 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-
-#
-# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-#
-# This required package information file describes characteristics of the
-# package, such as package abbreviation, full package name, package version,
-# and package architecture.
-#
-PKG="SUNWjcom"
-NAME="Java Communications API"
-ARCH="ISA"
-SUNW_PRODNAME="SunOS"
-SUNW_PKGTYPE="usr"
-MAXINST="1000"
-CATEGORY="system"
-DESC="Java Communications API for Smart Card support - Java and Native Code"
-VENDOR="Sun Microsystems, Inc."
-HOTLINE="Please contact your local service provider"
-EMAIL=""
-CLASSES="none"
-BASEDIR=/
-SUNW_PKGVERS="1.0"
-SUNW_PKG_ALLZONES="true"
-SUNW_PKG_HOLLOW="false"
-SUNW_PKG_THISZONE="false"
-#VSTOCK="<reserved by Release Engineering for package part #>"
-#ISTATES="<developer defined>"
-#RSTATES='<developer defined>'
-#ULIMIT="<developer defined>"
-#ORDER="<developer defined>"
-#INTONLY="<developer defined>"
-VERSION="ONVERS,REV=0.0.0"
-#PSTAMP=""
-SUNW_PRODVERS="RELEASE/VERSION"
diff --git a/usr/src/pkgdefs/SUNWjcom/prototype_com b/usr/src/pkgdefs/SUNWjcom/prototype_com
deleted file mode 100644
index de64fecd84..0000000000
--- a/usr/src/pkgdefs/SUNWjcom/prototype_com
+++ /dev/null
@@ -1,57 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# 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 copyright
-i depend
-#
-# source locations relative to the prototype file
-#
-# SUNWjcom
-#
-# javax.comm package
-#
-# javax.comm Native Library Files
-#
-d none usr 0755 root sys
-d none usr/lib 0755 root bin
-#
-# javax.comm jar Files
-#
-d none usr/share 755 root sys
-d none usr/share/lib 755 root sys
diff --git a/usr/src/pkgdefs/SUNWjcom/prototype_i386 b/usr/src/pkgdefs/SUNWjcom/prototype_i386
deleted file mode 100644
index 03306bc406..0000000000
--- a/usr/src/pkgdefs/SUNWjcom/prototype_i386
+++ /dev/null
@@ -1,51 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# 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
-#
-#
-# SUNWjcom
-#
diff --git a/usr/src/pkgdefs/SUNWjcom/prototype_sparc b/usr/src/pkgdefs/SUNWjcom/prototype_sparc
deleted file mode 100644
index f509170fd1..0000000000
--- a/usr/src/pkgdefs/SUNWjcom/prototype_sparc
+++ /dev/null
@@ -1,64 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# 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
-#
-#
-# SUNWjcom
-#
-#
-# javax.comm package
-#
-# javax.comm Native Library Files
-#
-d none usr/lib/smartcard 0755 root bin
-f none usr/lib/smartcard/libSolarisSerialParallel.so.1 0755 root bin
-s none usr/lib/smartcard/libSolarisSerialParallel.so=libSolarisSerialParallel.so.1
-#
-# javax.comm jar Files
-#
-d none usr/share/lib/smartcard 0755 root sys
-f none usr/share/lib/smartcard/comm.jar 0644 root sys
diff --git a/usr/src/pkgdefs/SUNWjib/Makefile b/usr/src/pkgdefs/SUNWjib/Makefile
deleted file mode 100644
index 4ccdc73b0d..0000000000
--- a/usr/src/pkgdefs/SUNWjib/Makefile
+++ /dev/null
@@ -1,36 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-
-include ../Makefile.com
-
-.KEEP_STATE:
-
-all: $(FILES) depend
-install: all pkg
-
-include ../Makefile.targ
diff --git a/usr/src/pkgdefs/SUNWjib/depend b/usr/src/pkgdefs/SUNWjib/depend
deleted file mode 100644
index 756a60ee40..0000000000
--- a/usr/src/pkgdefs/SUNWjib/depend
+++ /dev/null
@@ -1,51 +0,0 @@
-#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# 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 SUNWcakr Core Solaris Kernel Architecture (Root)
-P SUNWkvm Core Architecture, (Kvm)
-P SUNWcsr Core Solaris, (Root)
-P SUNWckr Core Solaris Kernel (Root)
-P SUNWcnetr Core Solaris Network Infrastructure (Root)
-P SUNWcsu Core Solaris, (Usr)
-P SUNWcsd Core Solaris Devices
-P SUNWcsl Core Solaris Libraries
-P SUNWcslr Core Solaris Libraries (Root)
-P SUNWjcom javax.comm package
diff --git a/usr/src/pkgdefs/SUNWjib/pkginfo.tmpl b/usr/src/pkgdefs/SUNWjib/pkginfo.tmpl
deleted file mode 100644
index 0311084cca..0000000000
--- a/usr/src/pkgdefs/SUNWjib/pkginfo.tmpl
+++ /dev/null
@@ -1,59 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-
-#
-# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-#
-# This required package information file describes characteristics of the
-# package, such as package abbreviation, full package name, package version,
-# and package architecture.
-#
-PKG="SUNWjib"
-NAME="iButton OCF CT Driver"
-ARCH="ISA"
-SUNW_PRODNAME="SunOS"
-SUNW_PKGTYPE="usr"
-MAXINST="1000"
-CATEGORY="system"
-DESC="Dallas Semiconductor serial iButton OCF Card Terminal Driver"
-VENDOR="Sun Microsystems, Inc."
-HOTLINE="Please contact your local service provider"
-EMAIL=""
-CLASSES="none"
-BASEDIR=/
-SUNW_PKGVERS="1.0"
-SUNW_PKG_ALLZONES="true"
-SUNW_PKG_HOLLOW="false"
-SUNW_PKG_THISZONE="false"
-#VSTOCK="<reserved by Release Engineering for package part #>"
-#ISTATES="<developer defined>"
-#RSTATES='<developer defined>'
-#ULIMIT="<developer defined>"
-#ORDER="<developer defined>"
-#INTONLY="<developer defined>"
-VERSION="ONVERS,REV=0.0.0"
-#PSTAMP=""
-SUNW_PRODVERS="RELEASE/VERSION"
diff --git a/usr/src/pkgdefs/SUNWjib/prototype_com b/usr/src/pkgdefs/SUNWjib/prototype_com
deleted file mode 100644
index cf8f14c40d..0000000000
--- a/usr/src/pkgdefs/SUNWjib/prototype_com
+++ /dev/null
@@ -1,52 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# 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 copyright
-i depend
-#
-# source locations relative to the prototype file
-#
-# SUNWjib
-#
-#
-# Dallas Semiconductor iButton Card Terminal Driver Files
-#
-d none usr 0755 root sys
-d none usr/share 755 root sys
-d none usr/share/lib 755 root sys
diff --git a/usr/src/pkgdefs/SUNWjib/prototype_i386 b/usr/src/pkgdefs/SUNWjib/prototype_i386
deleted file mode 100644
index 78ce072df7..0000000000
--- a/usr/src/pkgdefs/SUNWjib/prototype_i386
+++ /dev/null
@@ -1,51 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# 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
-#
-#
-# SUNWjib
-#
diff --git a/usr/src/pkgdefs/SUNWjib/prototype_sparc b/usr/src/pkgdefs/SUNWjib/prototype_sparc
deleted file mode 100644
index 9ea4f5924e..0000000000
--- a/usr/src/pkgdefs/SUNWjib/prototype_sparc
+++ /dev/null
@@ -1,57 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# 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
-#
-#
-# SUNWjib
-#
-#
-#
-# Dallas Semiconductor iButton Card Terminal Driver Files
-#
-d none usr/share/lib/smartcard 0755 root sys
-f none usr/share/lib/smartcard/ibutton.jar 0644 root sys
diff --git a/usr/src/pkgdefs/SUNWocf/Makefile b/usr/src/pkgdefs/SUNWocf/Makefile
deleted file mode 100644
index c54f895d8f..0000000000
--- a/usr/src/pkgdefs/SUNWocf/Makefile
+++ /dev/null
@@ -1,41 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-include ../Makefile.com
-
-TMPLFILES += preremove
-
-$(CLOSED_BUILD)LICENSEFILES += \
- ../../../closed/lib/smartcard/ocfserv/opencard/core/event/THIRDPARTYLICENSE
-
-.KEEP_STATE:
-
-all: $(FILES) depend
-install: all pkg
-
-include ../Makefile.targ
-include ../Makefile.prtarg
diff --git a/usr/src/pkgdefs/SUNWocf/depend b/usr/src/pkgdefs/SUNWocf/depend
deleted file mode 100644
index 26f2bff70c..0000000000
--- a/usr/src/pkgdefs/SUNWocf/depend
+++ /dev/null
@@ -1,53 +0,0 @@
-#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# 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 SUNWcakr Core Solaris Kernel Architecture (Root)
-P SUNWkvm Core Architecture, (Kvm)
-P SUNWcsr Core Solaris, (Root)
-P SUNWckr Core Solaris Kernel (Root)
-P SUNWcnetr Core Solaris Network Infrastructure (Root)
-P SUNWcsu Core Solaris, (Usr)
-P SUNWcsd Core Solaris Devices
-P SUNWcsl Core Solaris Libraries
-P SUNWcslr Core Solaris Libraries (Root)
-P SUNWj5rt JDK 1.5 runtime environment
-P SUNWocfr Configuration files for Open Card Framework
diff --git a/usr/src/pkgdefs/SUNWocf/pkginfo.tmpl b/usr/src/pkgdefs/SUNWocf/pkginfo.tmpl
deleted file mode 100644
index 8f53d970ce..0000000000
--- a/usr/src/pkgdefs/SUNWocf/pkginfo.tmpl
+++ /dev/null
@@ -1,59 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-
-#
-# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-#
-# This required package information file describes characteristics of the
-# package, such as package abbreviation, full package name, package version,
-# and package architecture.
-#
-PKG="SUNWocf"
-NAME="Open Card Framework"
-ARCH="ISA"
-SUNW_PRODNAME="SunOS"
-SUNW_PKGTYPE="usr"
-MAXINST="1000"
-CATEGORY="system"
-DESC="Open Card Framework - core libraries and utilities"
-VENDOR="Sun Microsystems, Inc."
-HOTLINE="Please contact your local service provider"
-EMAIL=""
-CLASSES="none"
-BASEDIR=/
-SUNW_PKGVERS="1.0"
-SUNW_PKG_ALLZONES="true"
-SUNW_PKG_HOLLOW="false"
-SUNW_PKG_THISZONE="false"
-#VSTOCK="<reserved by Release Engineering for package part #>"
-#ISTATES="<developer defined>"
-#RSTATES='<developer defined>'
-#ULIMIT="<developer defined>"
-#ORDER="<developer defined>"
-#INTONLY="<developer defined>"
-VERSION="ONVERS,REV=0.0.0"
-#PSTAMP=""
-SUNW_PRODVERS="RELEASE/VERSION"
diff --git a/usr/src/pkgdefs/SUNWocf/preremove.tmpl b/usr/src/pkgdefs/SUNWocf/preremove.tmpl
deleted file mode 100644
index df3214631d..0000000000
--- a/usr/src/pkgdefs/SUNWocf/preremove.tmpl
+++ /dev/null
@@ -1,38 +0,0 @@
-#!/bin/sh
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-include inetd_remove
-
-# check if ocfserv daemon is still running
-
-inetd_check network/rpc/ocfserv:default
-if [ $? -ne 0 ]; then
- exit 1
-fi
-exit 0
diff --git a/usr/src/pkgdefs/SUNWocf/prototype_com b/usr/src/pkgdefs/SUNWocf/prototype_com
deleted file mode 100644
index f94dc6e4b4..0000000000
--- a/usr/src/pkgdefs/SUNWocf/prototype_com
+++ /dev/null
@@ -1,83 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-# 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 copyright
-i depend
-i preremove
-#
-# source locations relative to the prototype file
-#
-# SUNWocf
-#
-# OCF Server
-#
-d none usr 0755 root sys
-d none usr/sbin 0755 root bin
-f none usr/sbin/ocfserv 0555 root bin
-#
-# OCF Commands
-#
-d none usr/bin 0755 root bin
-f none usr/bin/smartcard 0555 root bin
-#
-# OCF Library Files
-#
-d none usr/lib 0755 root bin
-f none usr/lib/libsmartcard.so.1 0755 root bin
-s none usr/lib/libsmartcard.so=libsmartcard.so.1
-f none usr/lib/llib-lsmartcard 644 root bin
-f none usr/lib/llib-lsmartcard.ln 644 root bin
-d none usr/lib/smartcard 0755 root bin
-f none usr/lib/smartcard/libIFDNative.so.1 0755 root bin
-s none usr/lib/smartcard/libIFDNative.so=libIFDNative.so.1
-#
-# OCF Java Library Files
-#
-d none usr/share 755 root sys
-d none usr/share/lib 755 root sys
-d none usr/share/lib/smartcard 0755 root sys
-f none usr/share/lib/smartcard/ocf.jar 0644 root sys
-f none usr/share/lib/smartcard/smartcard.jar 0644 root sys
-f none usr/share/lib/smartcard/commands.jar 0644 root sys
-f none usr/share/lib/smartcard/IFDCardTerminal.jar 0644 root sys
-f none usr/share/lib/smartcard/SolarisAuthApplet.capx 0644 root sys
-f none usr/share/lib/smartcard/SolarisAuthApplet.jib 0644 root sys
-f none usr/share/lib/smartcard/SolarisAuthApplet.bin 0644 root sys
-f none usr/share/lib/smartcard/SolarisAuthApplet.bin.sig 0644 root sys
-f none usr/share/lib/smartcard/CDESmartCardAdmin 0744 root sys
diff --git a/usr/src/pkgdefs/SUNWocf/prototype_i386 b/usr/src/pkgdefs/SUNWocf/prototype_i386
deleted file mode 100644
index 54c1dbf7f6..0000000000
--- a/usr/src/pkgdefs/SUNWocf/prototype_i386
+++ /dev/null
@@ -1,55 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-# 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
-#
-#
-# SUNWocf
-#
-d none usr/lib/amd64 0755 root bin
-f none usr/lib/amd64/libsmartcard.so.1 0755 root bin
-s none usr/lib/amd64/libsmartcard.so=libsmartcard.so.1
-f none usr/lib/amd64/llib-lsmartcard.ln 644 root bin
diff --git a/usr/src/pkgdefs/SUNWocf/prototype_sparc b/usr/src/pkgdefs/SUNWocf/prototype_sparc
deleted file mode 100644
index fe62472d08..0000000000
--- a/usr/src/pkgdefs/SUNWocf/prototype_sparc
+++ /dev/null
@@ -1,51 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# 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
-#
-# SUNWocf
-d none usr/lib/sparcv9 0755 root bin
-f none usr/lib/sparcv9/libsmartcard.so.1 0755 root bin
-s none usr/lib/sparcv9/libsmartcard.so=libsmartcard.so.1
-f none usr/lib/sparcv9/llib-lsmartcard.ln 644 root bin
diff --git a/usr/src/pkgdefs/SUNWocfd/Makefile b/usr/src/pkgdefs/SUNWocfd/Makefile
deleted file mode 100644
index 564e42f33d..0000000000
--- a/usr/src/pkgdefs/SUNWocfd/Makefile
+++ /dev/null
@@ -1,37 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2002 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-include ../Makefile.com
-
-.KEEP_STATE:
-
-all: $(FILES)
-install: all pkg
-
-include ../Makefile.targ
-include ../Makefile.prtarg
diff --git a/usr/src/pkgdefs/SUNWocfd/pkginfo.tmpl b/usr/src/pkgdefs/SUNWocfd/pkginfo.tmpl
deleted file mode 100644
index 2f9e880712..0000000000
--- a/usr/src/pkgdefs/SUNWocfd/pkginfo.tmpl
+++ /dev/null
@@ -1,59 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-
-#
-# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-#
-# This required package information file describes characteristics of the
-# package, such as package abbreviation, full package name, package version,
-# and package architecture.
-#
-PKG="SUNWocfd"
-NAME="Open Card Framework"
-ARCH="ISA"
-SUNW_PRODNAME="SunOS"
-SUNW_PKGTYPE="usr"
-MAXINST="1000"
-CATEGORY="system"
-DESC="Open Card Framework - Javadoc for SCF Java APIs"
-VENDOR="Sun Microsystems, Inc."
-HOTLINE="Please contact your local service provider"
-EMAIL=""
-CLASSES="none"
-BASEDIR=/
-SUNW_PKGVERS="1.0"
-SUNW_PKG_ALLZONES="true"
-SUNW_PKG_HOLLOW="false"
-SUNW_PKG_THISZONE="false"
-#VSTOCK="<reserved by Release Engineering for package part #>"
-#ISTATES="<developer defined>"
-#RSTATES='<developer defined>'
-#ULIMIT="<developer defined>"
-#ORDER="<developer defined>"
-#INTONLY="<developer defined>"
-VERSION="ONVERS,REV=0.0.0"
-#PSTAMP=""
-SUNW_PRODVERS="RELEASE/VERSION"
diff --git a/usr/src/pkgdefs/SUNWocfd/prototype_com b/usr/src/pkgdefs/SUNWocfd/prototype_com
deleted file mode 100644
index 6026a697b3..0000000000
--- a/usr/src/pkgdefs/SUNWocfd/prototype_com
+++ /dev/null
@@ -1,85 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-# 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 copyright
-#
-# source locations relative to the prototype file
-#
-# SUNWocfd
-#
-# Javadoc for SCF Java API
-#
-d none usr 0755 root sys
-d none usr/share 0755 root sys
-d none usr/share/javadoc 0755 root bin
-d none usr/share/javadoc/smartcard 0755 root bin
-f none usr/share/javadoc/smartcard/allclasses-frame.html 0644 root bin
-f none usr/share/javadoc/smartcard/allclasses-noframe.html 0644 root bin
-d none usr/share/javadoc/smartcard/com 0755 root bin
-d none usr/share/javadoc/smartcard/com/sun 0755 root bin
-d none usr/share/javadoc/smartcard/com/sun/smartcard 0755 root bin
-d none usr/share/javadoc/smartcard/com/sun/smartcard/scf 0755 root bin
-f none usr/share/javadoc/smartcard/com/sun/smartcard/scf/package-frame.html 0644 root bin
-f none usr/share/javadoc/smartcard/com/sun/smartcard/scf/package-summary.html 0644 root bin
-f none usr/share/javadoc/smartcard/com/sun/smartcard/scf/package-tree.html 0644 root bin
-f none usr/share/javadoc/smartcard/com/sun/smartcard/scf/TerminalEventListener.html 0644 root bin
-f none usr/share/javadoc/smartcard/com/sun/smartcard/scf/Card.html 0644 root bin
-f none usr/share/javadoc/smartcard/com/sun/smartcard/scf/Session.html 0644 root bin
-f none usr/share/javadoc/smartcard/com/sun/smartcard/scf/Terminal.html 0644 root bin
-f none usr/share/javadoc/smartcard/com/sun/smartcard/scf/CardLockedException.html 0644 root bin
-f none usr/share/javadoc/smartcard/com/sun/smartcard/scf/CardRemovedException.html 0644 root bin
-f none usr/share/javadoc/smartcard/com/sun/smartcard/scf/CommException.html 0644 root bin
-f none usr/share/javadoc/smartcard/com/sun/smartcard/scf/DoubleLockException.html 0644 root bin
-f none usr/share/javadoc/smartcard/com/sun/smartcard/scf/InternalException.html 0644 root bin
-f none usr/share/javadoc/smartcard/com/sun/smartcard/scf/InvalidStateException.html 0644 root bin
-f none usr/share/javadoc/smartcard/com/sun/smartcard/scf/NoCardException.html 0644 root bin
-f none usr/share/javadoc/smartcard/com/sun/smartcard/scf/NoSuchTerminalException.html 0644 root bin
-f none usr/share/javadoc/smartcard/com/sun/smartcard/scf/SCFException.html 0644 root bin
-f none usr/share/javadoc/smartcard/com/sun/smartcard/scf/TimeoutException.html 0644 root bin
-f none usr/share/javadoc/smartcard/constant-values.html 0644 root bin
-f none usr/share/javadoc/smartcard/deprecated-list.html 0644 root bin
-f none usr/share/javadoc/smartcard/help-doc.html 0644 root bin
-f none usr/share/javadoc/smartcard/index-all.html 0644 root bin
-f none usr/share/javadoc/smartcard/index.html 0644 root bin
-f none usr/share/javadoc/smartcard/overview-tree.html 0644 root bin
-f none usr/share/javadoc/smartcard/package-list 0644 root bin
-d none usr/share/javadoc/smartcard/resources 0755 root bin
-f none usr/share/javadoc/smartcard/resources/inherit.gif 0644 root bin
-f none usr/share/javadoc/smartcard/serialized-form.html 0644 root bin
-f none usr/share/javadoc/smartcard/stylesheet.css 0644 root bin
diff --git a/usr/src/pkgdefs/SUNWocfd/prototype_i386 b/usr/src/pkgdefs/SUNWocfd/prototype_i386
deleted file mode 100644
index 6c971b4459..0000000000
--- a/usr/src/pkgdefs/SUNWocfd/prototype_i386
+++ /dev/null
@@ -1,47 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2002 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-# 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
diff --git a/usr/src/pkgdefs/SUNWocfd/prototype_sparc b/usr/src/pkgdefs/SUNWocfd/prototype_sparc
deleted file mode 100644
index 1e73c010ad..0000000000
--- a/usr/src/pkgdefs/SUNWocfd/prototype_sparc
+++ /dev/null
@@ -1,45 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2002 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-# 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
diff --git a/usr/src/pkgdefs/SUNWocfh/Makefile b/usr/src/pkgdefs/SUNWocfh/Makefile
deleted file mode 100644
index 4833dab0a9..0000000000
--- a/usr/src/pkgdefs/SUNWocfh/Makefile
+++ /dev/null
@@ -1,39 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-include ../Makefile.com
-
-.KEEP_STATE:
-
-LICENSEFILES += copyright.in
-CDDL=
-
-all: $(FILES) depend
-install: all pkg
-
-include ../Makefile.targ
-
diff --git a/usr/src/pkgdefs/SUNWocfh/copyright.in b/usr/src/pkgdefs/SUNWocfh/copyright.in
deleted file mode 100644
index 3b46d55abe..0000000000
--- a/usr/src/pkgdefs/SUNWocfh/copyright.in
+++ /dev/null
@@ -1,48 +0,0 @@
-Content of the following file and man pages are also governed by
-the LICENSE file from "MUSCLE PC/SC IFD Driver Developer Kit".
-
-ifdhandler.h
-IFDHCloseChannel(3SMARTCARD)
-IFDHControl(3SMARTCARD)
-IFDHCreateChannel(3SMARTCARD)
-IFDHCreateChannelByName(3SMARTCARD)
-IFDHGetCapabilities(3SMARTCARD)
-IFDHICCPresence(3SMARTCARD)
-IFDHPowerICC(3SMARTCARD)
-IFDHSetCapabilities(3SMARTCARD)
-IFDHSetProtocolParameters(3SMARTCARD)
-IFDHTransmitToICC(3SMARTCARD)
-
-
-LICENSE file from "MUSCLE PC/SC IFD Driver Developer Kit"
------------------------------------------------------------
-
-Copyright (c) 2000 David Corcoran <corcoran@linuxnet.com>
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions
-are met:
-1. Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
-2. Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
-3. All advertising materials mentioning features or use of this software
- must display the following acknowledgement:
- This product includes software developed by:
- David Corcoran <corcoran@linuxnet.com>
- http://www.linuxnet.com (MUSCLE)
-4. The name of the author may not be used to endorse or promote products
- derived from this software without specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
-IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
-OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
-IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
-INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
-NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
-THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
diff --git a/usr/src/pkgdefs/SUNWocfh/depend b/usr/src/pkgdefs/SUNWocfh/depend
deleted file mode 100644
index 9806a9996a..0000000000
--- a/usr/src/pkgdefs/SUNWocfh/depend
+++ /dev/null
@@ -1,42 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-# 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 SUNWocf Open Card Framework
diff --git a/usr/src/pkgdefs/SUNWocfh/pkginfo.tmpl b/usr/src/pkgdefs/SUNWocfh/pkginfo.tmpl
deleted file mode 100644
index aa6471e316..0000000000
--- a/usr/src/pkgdefs/SUNWocfh/pkginfo.tmpl
+++ /dev/null
@@ -1,59 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-
-#
-# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-#
-# This required package information file describes characteristics of the
-# package, such as package abbreviation, full package name, package version,
-# and package architecture.
-#
-PKG="SUNWocfh"
-NAME="Open Card Framework header files"
-ARCH="ISA"
-SUNW_PRODNAME="SunOS"
-SUNW_PKGTYPE="usr"
-MAXINST="1000"
-CATEGORY="system"
-DESC="Open Card Framework - header files"
-VENDOR="Sun Microsystems, Inc."
-HOTLINE="Please contact your local service provider"
-EMAIL=""
-CLASSES="none"
-BASEDIR=/
-SUNW_PKGVERS="1.0"
-SUNW_PKG_ALLZONES="true"
-SUNW_PKG_HOLLOW="false"
-SUNW_PKG_THISZONE="false"
-#VSTOCK="<reserved by Release Engineering for package part #>"
-#ISTATES="<developer defined>"
-#RSTATES='<developer defined>'
-#ULIMIT="<developer defined>"
-#ORDER="<developer defined>"
-#INTONLY="<developer defined>"
-VERSION="ONVERS,REV=0.0.0"
-#PSTAMP=""
-SUNW_PRODVERS="RELEASE/VERSION"
diff --git a/usr/src/pkgdefs/SUNWocfh/prototype_com b/usr/src/pkgdefs/SUNWocfh/prototype_com
deleted file mode 100644
index fbedfd489d..0000000000
--- a/usr/src/pkgdefs/SUNWocfh/prototype_com
+++ /dev/null
@@ -1,53 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-# 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 copyright
-i depend
-#
-# source locations relative to the prototype file
-#
-# SUNWocfh
-#
-# OCF Header Files
-#
-d none usr 0755 root sys
-d none usr/include 0755 root bin
-d none usr/include/smartcard 0755 root bin
-f none usr/include/smartcard/scf.h 0644 root bin
-f none usr/include/smartcard/ifdhandler.h 0644 root bin
diff --git a/usr/src/pkgdefs/SUNWocfh/prototype_i386 b/usr/src/pkgdefs/SUNWocfh/prototype_i386
deleted file mode 100644
index 29cee80b8a..0000000000
--- a/usr/src/pkgdefs/SUNWocfh/prototype_i386
+++ /dev/null
@@ -1,51 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# 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
-#
-#
-# SUNWocf
-#
diff --git a/usr/src/pkgdefs/SUNWocfh/prototype_sparc b/usr/src/pkgdefs/SUNWocfh/prototype_sparc
deleted file mode 100644
index 4ba5acae49..0000000000
--- a/usr/src/pkgdefs/SUNWocfh/prototype_sparc
+++ /dev/null
@@ -1,48 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1999, 2001 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# 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
-#
-# SUNWocf
diff --git a/usr/src/pkgdefs/SUNWocfr/Makefile b/usr/src/pkgdefs/SUNWocfr/Makefile
deleted file mode 100644
index c03cd361cb..0000000000
--- a/usr/src/pkgdefs/SUNWocfr/Makefile
+++ /dev/null
@@ -1,41 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-include ../Makefile.com
-
-TMPLFILES += postinstall
-DATAFILES += depend i.preserve i.manifest r.manifest
-
-.KEEP_STATE:
-
-all: $(FILES)
-
-install: all pkg
-
-include ../Makefile.targ
-include ../Makefile.prtarg
diff --git a/usr/src/pkgdefs/SUNWocfr/pkginfo.tmpl b/usr/src/pkgdefs/SUNWocfr/pkginfo.tmpl
deleted file mode 100644
index 8e8d2c9591..0000000000
--- a/usr/src/pkgdefs/SUNWocfr/pkginfo.tmpl
+++ /dev/null
@@ -1,59 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-
-#
-# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-#
-# This required package information file describes characteristics of the
-# package, such as package abbreviation, full package name, package version,
-# and package architecture.
-#
-PKG="SUNWocfr"
-NAME="Configuration files for Open Card Framework"
-ARCH="ISA"
-SUNW_PRODNAME="SunOS"
-SUNW_PKGTYPE="root"
-MAXINST="1000"
-CATEGORY="system"
-DESC="Open Card Framework - configuration files"
-VENDOR="Sun Microsystems, Inc."
-HOTLINE="Please contact your local service provider"
-EMAIL=""
-CLASSES="none preserve manifest"
-BASEDIR=/
-SUNW_PKGVERS="1.0"
-SUNW_PKG_ALLZONES="true"
-SUNW_PKG_HOLLOW="false"
-SUNW_PKG_THISZONE="false"
-#VSTOCK="<reserved by Release Engineering for package part #>"
-#ISTATES="<developer defined>"
-#RSTATES='<developer defined>'
-#ULIMIT="<developer defined>"
-#ORDER="<developer defined>"
-#INTONLY="<developer defined>"
-VERSION="ONVERS,REV=0.0.0"
-#PSTAMP=""
-SUNW_PRODVERS="RELEASE/VERSION"
diff --git a/usr/src/pkgdefs/SUNWocfr/postinstall.tmpl b/usr/src/pkgdefs/SUNWocfr/postinstall.tmpl
deleted file mode 100644
index a856f4646d..0000000000
--- a/usr/src/pkgdefs/SUNWocfr/postinstall.tmpl
+++ /dev/null
@@ -1,295 +0,0 @@
-#!/bin/sh
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-#
-# Function: getKeyValue
-#
-# Try to get key value pair from the given line.
-# The line to be parsed should conform to the format loadable
-# by the Java Properties object.
-#
-# The variables "key" and "value" will be set if successful.
-# 0 will be returned if a key/value pair is found.
-# 1 will be returned otherwise.
-#
-getKeyValue() {
-
- key=""
- value=""
-
- if [ $# != 1 ] ; then
- #no argument to be parsed
- return 1
- fi
-
- if [ "XX$1" = "XX" ] ; then
- #empty line, nothing to be parsed
- return 1
- fi
-
- #first, remove any leading and trailing blank spaces in the line
- line=`echo "$1"|sed 's/^[ ]*//'`
-
- #Check to see if it is a comment line. Lines starting
- #with '#' or '!' are comment lines
- echo "$line"|egrep "^[#!]" > /dev/null 2>& 1
-
- if [ "XX$?" = "XX0" ] ; then
- #It's a comment line
- return 1
- fi
-
- #Check to make sure the line have some kind of delimiter
- echo "$line"|egrep "[ =:]" > /dev/null 2>& 1
- if [ "XX$?" != "XX0" ] ; then
- #No delimiter in line, return error
- return 1
- fi
-
- key=`echo "$line" | sed \
- 's/^\([^ =:]*\)[ =:].*$/\1/'`
-
- if [ "XX$key" != "XX$line" ] ; then
- value=`echo "$line" | sed \
- 's/^[^ =:]*[ ]*[=:]\{0,1\}[ ]*\(.*\)$/\1/'`
- return 0
- fi
-
- #Should never get here, but just in case.
- return 1
-}
-
-#
-# If desktop properties are found in opencard.properties
-# because this is an upgrade, move the properties from
-# /etc/smartcard/opencard.properties to /etc/smartcard/desktop.properties.
-#
-ETCSCDIR=$PKG_INSTALL_ROOT/etc/smartcard
-OP=$ETCSCDIR/opencard.properties
-DP=$ETCSCDIR/desktop.properties
-
-if [ ! -f $OP ] ; then
- exit 1
-fi
-
-if [ ! -f $DP ] ; then
- exit 1
-fi
-
-if [ ! -d /tmp ] ; then
- exit 1
-fi
-
-TMP_OP=/tmp/op.$$
-TMP_OP2=/tmp/op2.$$
-RESULT_OP=/tmp/op3.$$
-RESULT_DP=/tmp/dp.$$
-TMP_DP=/tmp/dp2.$$
-
-#
-# First, join all the lines that have the '\' continuation character
-#
-nawk '{ \
- while (match($0, /^([^\\]|\\.)*\\$/ )) { \
- getline line \
- sub(/.$/, line, $0) \
- } \
- print $0 \
-}' ${OP} > ${TMP_OP2}
-
-#
-# Get list of desktop properties to be processed
-#
-egrep "^[ ]*ocf\.client\.dtsession\.root" ${TMP_OP2} > ${TMP_OP}
-
-cp ${DP} ${RESULT_DP}
-if [ "XX$?" != "XX0" ] ; then
- #can't continue if failed to copy original desktop.properties file.
- rm -f ${TMP_OP} ${TMP_OP2}
- exit 1
-fi
-
-cp ${TMP_OP2} ${RESULT_OP}
-if [ "XX$?" != "XX0" ] ; then
- #can't continue if failed to copy original opencard.properties file.
- rm -f ${TMP_OP} ${TMP_OP2} ${RESULT_DP}
- exit 1
-fi
-
-cat ${TMP_OP} | \
-while read opval ; do
-
- getKeyValue "$opval"
-
- if [ "XX$?" = "XX1" ] ; then
- #Something is wrong with line. Don't put it in new file
- continue
- fi
-
- oldKey="$key"
-
- #Successful in finding key-value pair.
- #construct the new key. Replace "ocf.client.dtsession.root" with the
- #word "desktop"
- key=`echo $key|sed 's/^ocf\.client\.dtsession\.root/desktop/'`
-
- #check if key is in desktop.properties, if so, remove it before adding
- egrep "^[ ]*$key" ${RESULT_DP} > /dev/null 2>& 1
- if [ "XX$?" = "XX0" ] ; then
- #line exists in file, need to remove
- egrep -v "^[ ]*$key" ${RESULT_DP} > ${TMP_DP}
- if [ "XX$?" = "XX0" ] ; then
- cp ${TMP_DP} ${RESULT_DP}
- fi
- fi
- echo "$key=$value" >> ${RESULT_DP}
-
- # Remove opencard.properties entry that are
- # moved to desktop.properties file
- egrep -v "^[ ]*$oldKey" ${RESULT_OP} > ${TMP_OP2}
- if [ "XX$?" = "XX0" ] ; then
- cp ${TMP_OP2} ${RESULT_OP}
- fi
-done
-
-#Only copy the files if they have been modified. Having the temp
-#desktop.properties file means something has been modified.
-if [ -f ${TMP_DP} ] ; then
- #Remove any dtlogin entries from opencard.properties
- egrep -v "^[ ]*ocf\.client\.dtlogin\.root" \
- ${RESULT_OP} > ${TMP_OP2}
- if [ "XX$?" = "XX0" ] ; then
- cp ${TMP_OP2} ${RESULT_OP}
- fi
-
- cp ${RESULT_DP} ${DP}
- cp ${RESULT_OP} ${OP}
-
- if [ "${PKG_INSTALL_ROOT:-/}" = "/" ] ; then
- # Note "svcadm restart" cannot be used due to 5079309.
- /usr/sbin/svcadm disable network/rpc/ocfserv
- /usr/sbin/svcadm enable network/rpc/ocfserv
- fi
-fi
-
-# cleanup
-rm -f ${TMP_OP} ${TMP_OP2} ${RESULT_DP} ${RESULT_OP} ${TMP_DP}
-
-
-##
-## Update opencard.properties with IFD handler for internal reader
-##
-
-/bin/cp -p $OP $OP.noifd
-
-if [ $? -ne 0 ]; then
- ## Failed to create a temporary file.
- /bin/rm -f $OP.noifd
- exit 1
-fi
-
-
-# Join the lines that have the '\' continuation character
-
-nawk '{ \
- while (match($0, /^([^\\]|\\.)*\\$/ )) { \
- getline line \
- sub(/.$/, line, $0) \
- } \
- print $0 \
-}' $OP.noifd > $OP.noifd2
-
-if [ $? -ne 0 ]; then
- /bin/rm -f $OP.noifd $OP.noifd2
- exit 1
-fi
-
-
-
-# Check if there is an entry to be updated.
-
-OLD_TERMINAL=com.sun.opencard.terminal.scm.SCMI2c.SCMI2cCardTerminalFactory
-
-/bin/egrep -s "$OLD_TERMINAL" $OP.noifd2
-
-if [ $? -ne 0 ]; then
- # Entry does not exist. Do nothing.
- /bin/rm -f $OP.noifd $OP.noifd2
-
- exit 0
-fi
-
-
-
-# Copy to create a new file with the same file attributes as original.
-
-/bin/cp -p $OP $OP.new
-
-if [ $? -ne 0 ]; then
- /bin/rm -f $OP.noifd $OP.noifd2 $OP.new
- exit 1
-fi
-
-
-# Replace the card terminal factory and
-# append the IFD handler name to the entry
-
-NEW_TERMINAL=com.sun.opencard.terminal.IFDCardTerminal.IFDCardTerminalFactory
-IFD_HANDLER=/usr/lib/smartcard/ifdh_scmi2c.so
-
-/bin/sed -e "s+$OLD_TERMINAL\([^ ]*\)+$NEW_TERMINAL\1|$IFD_HANDLER+" \
- $OP.noifd2 > $OP.new
-
-if [ $? -ne 0 ]; then
- /bin/rm -f $OP.noifd $OP.noifd2 $OP.new
- exit 1
-fi
-
-
-# We are done with this temporary file.
-
-/bin/rm -f $OP.noifd2
-
-
-# Replace the configuration file with the new one.
-
-/bin/mv -f $OP.new $OP
-
-if [ $? -ne 0 ]; then
- /bin/rm -f $OP.noifd $OP.new
- exit 1
-fi
-
-if [ "${PKG_INSTALL_ROOT:-/}" = "/" ]; then
- # Note "svcadm restart" cannot be used due to 5079309.
- /usr/sbin/svcadm disable network/rpc/ocfserv
- /usr/sbin/svcadm enable network/rpc/ocfserv
-fi
-
-exit 0
diff --git a/usr/src/pkgdefs/SUNWocfr/prototype_com b/usr/src/pkgdefs/SUNWocfr/prototype_com
deleted file mode 100644
index 08e6f9105a..0000000000
--- a/usr/src/pkgdefs/SUNWocfr/prototype_com
+++ /dev/null
@@ -1,64 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-# 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 copyright
-i depend
-i postinstall
-i i.preserve
-i i.manifest
-i r.manifest
-#
-# source locations relative to the prototype file
-#
-# SUNWocfr
-#
-# Configuration files
-#
-d none etc 0755 root sys
-d none etc/smartcard 0755 root sys
-e preserve etc/smartcard/opencard.properties 0644 root sys
-e preserve etc/smartcard/ocf.classpath 0644 root sys
-e preserve etc/smartcard/.keys 0600 root sys
-e preserve etc/smartcard/desktop.properties 0644 root sys
-d none var 0755 root sys
-d none var/svc 0755 root sys
-d none var/svc/manifest 0755 root sys
-d none var/svc/manifest/network 0755 root sys
-d none var/svc/manifest/network/rpc 0755 root sys
-f manifest var/svc/manifest/network/rpc/ocfserv.xml 0444 root sys
diff --git a/usr/src/pkgdefs/SUNWocfr/prototype_i386 b/usr/src/pkgdefs/SUNWocfr/prototype_i386
deleted file mode 100644
index 869ba5cbe9..0000000000
--- a/usr/src/pkgdefs/SUNWocfr/prototype_i386
+++ /dev/null
@@ -1,51 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# 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
-#
-#
-# SUNWocfr
-#
diff --git a/usr/src/pkgdefs/SUNWocfr/prototype_sparc b/usr/src/pkgdefs/SUNWocfr/prototype_sparc
deleted file mode 100644
index e435f4088c..0000000000
--- a/usr/src/pkgdefs/SUNWocfr/prototype_sparc
+++ /dev/null
@@ -1,47 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1999, 2001 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# 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
diff --git a/usr/src/pkgdefs/SUNWpamsc/Makefile b/usr/src/pkgdefs/SUNWpamsc/Makefile
deleted file mode 100644
index 89ed75adef..0000000000
--- a/usr/src/pkgdefs/SUNWpamsc/Makefile
+++ /dev/null
@@ -1,38 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1999 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# Makefile for SUNWpamsc package
-#
-
-include ../Makefile.com
-
-.KEEP_STATE:
-
-all: $(FILES) depend
-install: all pkg
-
-include ../Makefile.targ
diff --git a/usr/src/pkgdefs/SUNWpamsc/depend b/usr/src/pkgdefs/SUNWpamsc/depend
deleted file mode 100644
index 3a65d6868d..0000000000
--- a/usr/src/pkgdefs/SUNWpamsc/depend
+++ /dev/null
@@ -1,42 +0,0 @@
-#
-# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-# 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 SUNWocf OpenCard Framework
diff --git a/usr/src/pkgdefs/SUNWpamsc/pkginfo.tmpl b/usr/src/pkgdefs/SUNWpamsc/pkginfo.tmpl
deleted file mode 100644
index 55fabc69db..0000000000
--- a/usr/src/pkgdefs/SUNWpamsc/pkginfo.tmpl
+++ /dev/null
@@ -1,59 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-
-#
-# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-#
-# This required package information file describes characteristics of the
-# package, such as package abbreviation, full package name, package version,
-# and package architecture.
-#
-PKG="SUNWpamsc"
-NAME="PAM Smart Card module"
-ARCH="ISA"
-SUNW_PRODNAME="SunOS"
-SUNW_PKGTYPE="usr"
-MAXINST="1000"
-CATEGORY="system"
-DESC="Pluggable Authentication Module for Smart Card Authentication"
-VENDOR="Sun Microsystems, Inc."
-HOTLINE="Please contact your local service provider"
-EMAIL=""
-CLASSES="none"
-BASEDIR=/
-SUNW_PKGVERS="1.0"
-SUNW_PKG_ALLZONES="true"
-SUNW_PKG_HOLLOW="false"
-SUNW_PKG_THISZONE="false"
-#VSTOCK="<reserved by Release Engineering for package part #>"
-#ISTATES="<developer defined>"
-#RSTATES='<developer defined>'
-#ULIMIT="<developer defined>"
-#ORDER="<developer defined>"
-#INTONLY="<developer defined>"
-VERSION="ONVERS,REV=0.0.0"
-#PSTAMP=""
-SUNW_PRODVERS="RELEASE/VERSION"
diff --git a/usr/src/pkgdefs/SUNWpamsc/prototype_com b/usr/src/pkgdefs/SUNWpamsc/prototype_com
deleted file mode 100644
index 16cc68c9df..0000000000
--- a/usr/src/pkgdefs/SUNWpamsc/prototype_com
+++ /dev/null
@@ -1,51 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 1999, 2001-2002 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# 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 copyright
-i depend
-#
-# source locations relative to the prototype file
-#
-# SUNWpamsc
-#
-d none usr 0755 root sys
-d none usr/lib 0755 root bin
-d none usr/lib/security 0755 root bin
-f none usr/lib/security/pam_smartcard.so.1 0755 root bin
-s none usr/lib/security/pam_smartcard.so=pam_smartcard.so.1
diff --git a/usr/src/pkgdefs/SUNWpamsc/prototype_i386 b/usr/src/pkgdefs/SUNWpamsc/prototype_i386
deleted file mode 100644
index 0a82001dd8..0000000000
--- a/usr/src/pkgdefs/SUNWpamsc/prototype_i386
+++ /dev/null
@@ -1,54 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-# 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
-#
-#
-# SUNWpamsc
-#
-d none usr/lib/security/amd64 0755 root bin
-f none usr/lib/security/amd64/pam_smartcard.so.1 0755 root bin
-s none usr/lib/security/amd64/pam_smartcard.so=pam_smartcard.so.1
diff --git a/usr/src/pkgdefs/SUNWpamsc/prototype_sparc b/usr/src/pkgdefs/SUNWpamsc/prototype_sparc
deleted file mode 100644
index f7b5f510fc..0000000000
--- a/usr/src/pkgdefs/SUNWpamsc/prototype_sparc
+++ /dev/null
@@ -1,53 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 1999,2001,2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# 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
-#
-#
-# SUNWpamsc
-d none usr/lib/security/sparcv9 0755 root bin
-f none usr/lib/security/sparcv9/pam_smartcard.so.1 0755 root bin
-s none usr/lib/security/sparcv9/pam_smartcard.so=pam_smartcard.so.1
diff --git a/usr/src/pkgdefs/SUNWscmhdlr/Makefile b/usr/src/pkgdefs/SUNWscmhdlr/Makefile
deleted file mode 100644
index c56c9a514b..0000000000
--- a/usr/src/pkgdefs/SUNWscmhdlr/Makefile
+++ /dev/null
@@ -1,36 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-
-include ../Makefile.com
-
-.KEEP_STATE:
-
-all: $(FILES) depend
-install: all pkg
-
-include ../Makefile.targ
diff --git a/usr/src/pkgdefs/SUNWscmhdlr/depend b/usr/src/pkgdefs/SUNWscmhdlr/depend
deleted file mode 100644
index 958180f18a..0000000000
--- a/usr/src/pkgdefs/SUNWscmhdlr/depend
+++ /dev/null
@@ -1,51 +0,0 @@
-#
-# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# 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 SUNWcakr Core Solaris Kernel Architecture (Root)
-P SUNWkvm Core Architecture, (Kvm)
-P SUNWcsr Core Solaris, (Root)
-P SUNWckr Core Solaris Kernel (Root)
-P SUNWcnetr Core Solaris Network Infrastructure (Root)
-P SUNWcsu Core Solaris, (Usr)
-P SUNWcsd Core Solaris Devices
-P SUNWcsl Core Solaris Libraries
-P SUNWcslr Core Solaris Libraries (Root)
-P SUNWstc Smart Card Reader Device Driver
diff --git a/usr/src/pkgdefs/SUNWscmhdlr/pkginfo.tmpl b/usr/src/pkgdefs/SUNWscmhdlr/pkginfo.tmpl
deleted file mode 100644
index 011864b4ef..0000000000
--- a/usr/src/pkgdefs/SUNWscmhdlr/pkginfo.tmpl
+++ /dev/null
@@ -1,59 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-
-#
-# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-#
-# This required package information file describes characteristics of the
-# package, such as package abbreviation, full package name, package version,
-# and package architecture.
-#
-PKG="SUNWscmhdlr"
-NAME="SCM Smart Card Reader IFD Handler"
-ARCH="ISA"
-VERSION="ONVERS,REV=0.0.0"
-CATEGORY="system"
-DESC="SunOS SCM internal reader IFD Handler"
-SUNW_PRODNAME="SunOS"
-SUNW_PRODVERS="RELEASE/VERSION"
-SUNW_PKGTYPE="usr"
-MAXINST="1000"
-VENDOR="Sun Microsystems, Inc."
-HOTLINE="Please contact your local service provider"
-EMAIL=""
-CLASSES="none"
-BASEDIR=/
-SUNW_PKGVERS="1.0"
-SUNW_PKG_ALLZONES="true"
-SUNW_PKG_HOLLOW="false"
-SUNW_PKG_THISZONE="false"
-#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/usr/src/pkgdefs/SUNWscmhdlr/prototype_com b/usr/src/pkgdefs/SUNWscmhdlr/prototype_com
deleted file mode 100644
index 60326ebf54..0000000000
--- a/usr/src/pkgdefs/SUNWscmhdlr/prototype_com
+++ /dev/null
@@ -1,48 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-# 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 copyright
-i depend
-#
-# source locations relative to the prototype file
-#
-# SUNWscmhdlr
-#
-d none usr 755 root sys
-d none usr/lib 755 root bin
diff --git a/usr/src/pkgdefs/SUNWscmhdlr/prototype_sparc b/usr/src/pkgdefs/SUNWscmhdlr/prototype_sparc
deleted file mode 100644
index 84080918e1..0000000000
--- a/usr/src/pkgdefs/SUNWscmhdlr/prototype_sparc
+++ /dev/null
@@ -1,58 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-# All rights reserved.
-#
-#ident "%Z%%M% %I% %E% SMI"
-#
-# 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
-#
-#
-# SUNWscmhdlr
-#
-#
-# SCM Card Terminal Serial Driver Files
-#
-d none usr/lib/smartcard 0755 root bin
-f none usr/lib/smartcard/ifdh_scmi2c.so.1 0755 root bin
-s none usr/lib/smartcard/ifdh_scmi2c.so=ifdh_scmi2c.so.1
diff --git a/usr/src/pkgdefs/SUNWstc.u/Makefile b/usr/src/pkgdefs/SUNWstc.u/Makefile
deleted file mode 100644
index dd2aa166aa..0000000000
--- a/usr/src/pkgdefs/SUNWstc.u/Makefile
+++ /dev/null
@@ -1,38 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1999-2000 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-
-include ../Makefile.com
-
-DATAFILES += depend
-
-.KEEP_STATE:
-
-all: $(FILES)
-install: all pkg
-
-include ../Makefile.targ
diff --git a/usr/src/pkgdefs/SUNWstc.u/pkginfo.tmpl b/usr/src/pkgdefs/SUNWstc.u/pkginfo.tmpl
deleted file mode 100644
index cbddbbccf4..0000000000
--- a/usr/src/pkgdefs/SUNWstc.u/pkginfo.tmpl
+++ /dev/null
@@ -1,59 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License (the "License").
-# You may not use this file except in compliance with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-
-#
-# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-# ident "%Z%%M% %I% %E% SMI"
-#
-
-#
-# This required package information file describes characteristics of the
-# package, such as package abbreviation, full package name, package version,
-# and package architecture.
-#
-PKG="SUNWstc"
-NAME="SUN ISCRI Kernel Driver"
-ARCH="sparc.sun4u"
-SUNW_PRODNAME="SunOS"
-SUNW_PKGTYPE="root"
-MAXINST="1000"
-CATEGORY="system"
-DESC="I2C Smartcard kernel device driver for SCM STC chip"
-VENDOR="Sun Microsystems, Inc."
-HOTLINE="Please contact your local service provider"
-EMAIL=""
-CLASSES="none"
-BASEDIR=/
-SUNW_PKGVERS="1.0"
-SUNW_PKG_ALLZONES="true"
-SUNW_PKG_HOLLOW="true"
-SUNW_PKG_THISZONE="false"
-#VSTOCK="<reserved by Release Engineering for package part #>"
-#ISTATES="<developer defined>"
-#RSTATES='<developer defined>'
-#ULIMIT="<developer defined>"
-#ORDER="<developer defined>"
-#INTONLY="<developer defined>"
-VERSION="ONVERS,REV=0.0.0"
-#PSTAMP=""
-SUNW_PRODVERS="RELEASE/VERSION"
diff --git a/usr/src/pkgdefs/SUNWstc.u/postinstall b/usr/src/pkgdefs/SUNWstc.u/postinstall
deleted file mode 100644
index 3ddc3862d4..0000000000
--- a/usr/src/pkgdefs/SUNWstc.u/postinstall
+++ /dev/null
@@ -1,49 +0,0 @@
-#! /bin/sh
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright (c) 1999-2000 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-
-PATH=/usr/bin:/usr/sbin:${PATH}
-export PATH
-
-
-TMP=/tmp/$$
-
-
-#
-# Make sure add_drv has *not* been previously executed
-# before attempting to add the driver.
-#
-grep '^scmi2c\>' ${BASEDIR}/etc/name_to_major > /dev/null 2>&1
-if [ $? -ne 0 ]; then
- add_drv -b ${BASEDIR} -i 'i2c-scm001 card-reader' scmi2c
- if [ $? -ne 0 ]; then
- echo "\nFailed add_drv!\n" >&2
- exit 1
- fi
-fi
-exit 0
diff --git a/usr/src/pkgdefs/SUNWstc.u/preremove b/usr/src/pkgdefs/SUNWstc.u/preremove
deleted file mode 100644
index e702866c0a..0000000000
--- a/usr/src/pkgdefs/SUNWstc.u/preremove
+++ /dev/null
@@ -1,39 +0,0 @@
-#! /bin/sh
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# Copyright (c) 1999-2000 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-
-PATH="/usr/bin:/usr/sbin:${PATH}"
-export PATH
-
-TMP=/tmp/$$
-
-rem_drv -b ${BASEDIR} scmi2c
-rm -f ${BASEDIR}/dev/scmi2c0
-
-
-exit 0
diff --git a/usr/src/pkgdefs/SUNWstc.u/prototype_com b/usr/src/pkgdefs/SUNWstc.u/prototype_com
deleted file mode 100644
index 8bfe17e845..0000000000
--- a/usr/src/pkgdefs/SUNWstc.u/prototype_com
+++ /dev/null
@@ -1,43 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright (c) 1999-2000 by Sun Microsystems, Inc.
-# All rights reserved.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# 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
-i postinstall
-i preremove
diff --git a/usr/src/pkgdefs/SUNWstc.u/prototype_sparc b/usr/src/pkgdefs/SUNWstc.u/prototype_sparc
deleted file mode 100644
index 18f945f536..0000000000
--- a/usr/src/pkgdefs/SUNWstc.u/prototype_sparc
+++ /dev/null
@@ -1,60 +0,0 @@
-#
-# CDDL HEADER START
-#
-# The contents of this file are subject to the terms of the
-# Common Development and Distribution License, Version 1.0 only
-# (the "License"). You may not use this file except in compliance
-# with the License.
-#
-# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
-# or http://www.opensolaris.org/os/licensing.
-# See the License for the specific language governing permissions
-# and limitations under the License.
-#
-# When distributing Covered Code, include this CDDL HEADER in each
-# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
-# If applicable, add the following below this CDDL HEADER, with the
-# fields enclosed by brackets "[]" replaced with your own identifying
-# information: Portions Copyright [yyyy] [name of copyright owner]
-#
-# CDDL HEADER END
-#
-#
-# Copyright 1999-2000,2003 Sun Microsystems, Inc. All rights reserved.
-# Use is subject to license terms.
-#
-#pragma ident "%Z%%M% %I% %E% SMI"
-#
-# 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
-#
-# SUNWstc
-#
-# I2C Smart Card Device Driver header files
-# scmi2c.h file is installed from SUNWhea package
-#
-# I2C Smartcard Device Driver Files
-#
-d none platform 0755 root sys
-d none platform/sun4u 0755 root sys
-d none platform/sun4u/kernel 0755 root sys
-d none platform/sun4u/kernel/drv 0755 root sys
-d none platform/sun4u/kernel/drv/sparcv9 0755 root sys
-f none platform/sun4u/kernel/drv/sparcv9/scmi2c 0755 root sys
diff --git a/usr/src/pkgdefs/common_files/i.etcrpc b/usr/src/pkgdefs/common_files/i.etcrpc
index a9fd7bf084..f9e30edf08 100644
--- a/usr/src/pkgdefs/common_files/i.etcrpc
+++ b/usr/src/pkgdefs/common_files/i.etcrpc
@@ -20,11 +20,9 @@
# CDDL HEADER END
#
#
-# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-# ident "%Z%%M% %I% %E% SMI"
-#
PATH="/usr/bin:/usr/sbin:${PATH}"
export PATH
@@ -91,11 +89,14 @@ do
rm -f /tmp/etcrpc.$$
fi
- # Add ocfserv entry
- grep 'ocfserv' $dest > /dev/null 2>&1
- if [ $? -ne 0 ] ; then
- echo 'ocfserv 100150' >> $dest
- fi
+ # Delete ocfserv entry
+ grep 'ocfserv[ ]*100150' $dest >/dev/null 2>&1
+ if [ $? -eq 0 ] ; then
+ grep -v 'ocfserv[ ]*100150' $dest \
+ >/tmp/etcrpc.$$ 2>/dev/null
+ cp /tmp/etcrpc.$$ $dest
+ rm -f /tmp/etcrpc.$$
+ fi
# Add metad entry
grep 'metad' $dest > /dev/null 2>&1
diff --git a/usr/src/pkgdefs/etc/exception_list_sparc b/usr/src/pkgdefs/etc/exception_list_sparc
index 528230ba9a..1656453378 100644
--- a/usr/src/pkgdefs/etc/exception_list_sparc
+++ b/usr/src/pkgdefs/etc/exception_list_sparc
@@ -805,12 +805,6 @@ usr/lib/sparcv9/libcmdutils.so sparc
#
usr/include/aclutils.h sparc
#
-# Entries for the SCM IFD Handler which are used only to build
-# the SCM IFD Handler and are not delivered to customers.
-#
-usr/include/scm_ifdh.h sparc
-usr/include/scm_protocol.h sparc
-#
# USB skeleton driver stays in sync with the rest of USB but doesn't ship.
#
kernel/drv/sparcv9/usbskel sparc
diff --git a/usr/src/tools/opensolaris/license-list b/usr/src/tools/opensolaris/license-list
index 372bdac51f..3d399db152 100644
--- a/usr/src/tools/opensolaris/license-list
+++ b/usr/src/tools/opensolaris/license-list
@@ -1,5 +1,4 @@
usr/closed/cmd/man/src/util/solbookv1/THIRDPARTYLICENSE
-usr/closed/lib/smartcard/ocfserv/opencard/core/event/THIRDPARTYLICENSE
usr/closed/uts/intel/io/iprb/THIRDPARTYLICENSE
usr/src/cmd/agents/snmp/THIRDPARTYLICENSE
usr/src/cmd/ast/THIRDPARTYLICENSE
diff --git a/usr/src/tools/scripts/bfu.sh b/usr/src/tools/scripts/bfu.sh
index 59966df4b8..a4600cce42 100644
--- a/usr/src/tools/scripts/bfu.sh
+++ b/usr/src/tools/scripts/bfu.sh
@@ -148,10 +148,6 @@ all_zones_files="
etc/shadow
etc/skel/.profile
etc/skel/local.*
- etc/smartcard/.keys
- etc/smartcard/desktop.properties
- etc/smartcard/ocf.classpath
- etc/smartcard/opencard.properties
etc/ssh/ssh_config
etc/ssh/sshd_config
etc/syslog.conf
@@ -499,7 +495,6 @@ smf_inetd_conversions="
metamedd
metamhd
name
- ocfserv
printer
rexd
rquotad
@@ -1538,6 +1533,7 @@ smf_obsolete_manifests="
var/svc/manifest/network/datalink-init.xml
var/svc/manifest/network/iscsi_initiator.xml
var/svc/manifest/network/fcoe_config.xml
+ var/svc/manifest/network/rpc/ocfserv.xml
"
# smf services whose manifests have been renamed
@@ -3934,6 +3930,44 @@ remove_eof_mobileip() {
printf '\n'
}
+#
+# Remove EOF Smartcard framework
+#
+remove_eof_smartcard()
+{
+ # Packages to remove
+ typeset -r smartcard_pkg='SUNWjcom SUNWkib SUNWocf SUNWocfd SUNWocfh
+SUNWocfr SUNWpamsc SUNWscmhdlr'
+ typeset pkg
+
+ printf 'Removing EOF Smartcard... '
+
+ for pkg in $smartcard_pkgs
+ do
+ if [ -d $rootprefix/var/sadm/pkg/$pkg ]; then
+ rm -rf $rootprefix/var/sadm/pkg/$pkg
+ grep -vw $pkg $rootprefix/var/sadm/install/contents > \
+ /tmp/contents.$$
+ cp /tmp/contents.$$ /var/sadm/install/contents.$$
+ rm /tmp/contents.$$
+ fi
+ done
+
+ #
+ # Remove smartcard headers, libraries, Old readers and the
+ # parts delivered from other consolidations
+ # that no longer work with the ON parts removed.
+ #
+ rm -rf $usr/lib/smartcard \
+ $usr/share/lib/smartcard \
+ $usr/include/smartcard.h \
+ $usr/include/smartcard \
+ $root/etc/smartcard \
+ $root/platform/sun4u/kernel/drv/sparcv9/scmi2c
+
+ printf 'done.\n'
+}
+
remove_properties() {
#
@@ -6534,6 +6568,13 @@ mondo_loop() {
fi
#
+ # Remove EOF Smartcard support
+ #
+ if [ -d $usr/lib/smartcard ]; then
+ remove_eof_smartcard
+ fi
+
+ #
# Remove DMI
#
if [ -d $usr/lib/dmi -o \
@@ -7301,39 +7342,6 @@ mondo_loop() {
rm -f $root/kernel/drv/sparcv9/rpcib
#
- # Remove old smartcard header files
- #
-
- rm -f \
- $usr/include/smartcard.h \
- $usr/include/smartcard/ocf_authenticate.h \
- $usr/include/smartcard/ocf_core.h \
- $usr/include/smartcard/ocf_core_cardservices.h
-
- #
- # Remove smartcard libraries that should not have been shipped.
- #
- rm -rf $usr/lib/smartcard/sparcv9/ \
- $usr/share/lib/smartcard/scmtester.jar
-
- #
- # Remove external smartcard reader driver
- #
- rm -f $usr/share/lib/smartcard/scmrsr3.jar
-
- #
- # Remove old internal smartcard reader driver
- #
- rm -f $usr/share/lib/smartcard/scmiscr.jar
- rm -f $usr/lib/smartcard/libSCMI2CNative.so
- rm -f $usr/lib/smartcard/libSCMI2CNative.so.1
-
- #
- # Remove Smart OS
- #
- rm -f $usr/share/lib/smartcard/smartos.jar
-
- #
# Remove drivers & header files for EOL of soc & pln drivers
# as per PSARC/2003/233
#
diff --git a/usr/src/tools/scripts/bindrop.sh b/usr/src/tools/scripts/bindrop.sh
index 511dbc7697..874669d700 100644
--- a/usr/src/tools/scripts/bindrop.sh
+++ b/usr/src/tools/scripts/bindrop.sh
@@ -21,11 +21,9 @@
#
#
-# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-#ident "%Z%%M% %I% %E% SMI"
-#
# Create an encumbered binaries tarball from a full build proto area,
# less the contents of an OpenSolaris proto area. Special handling
# for crypto binaries that need to be signed by Sun Release
@@ -184,7 +182,6 @@ delete="$delete
"
# encumbered binaries and associated files
delete="$delete
- etc/smartcard/
kernel/drv/amd64/audioens
kernel/drv/amd64/bmc
kernel/drv/amd64/pcn
@@ -211,9 +208,7 @@ delete="$delete
usr/bin/ksh
usr/bin/pfksh
usr/bin/rksh
- usr/bin/smartcard
usr/ccs/bin/dis
- usr/include/smartcard/
usr/include/sys/audio/audioens.h
usr/include/sys/phx.h
usr/include/sys/scsi/adapters/ifpcmd.h
@@ -225,27 +220,9 @@ delete="$delete
usr/include/sys/scsi/adapters/ispmail.h
usr/include/sys/scsi/adapters/ispreg.h
usr/include/sys/scsi/adapters/ispvar.h
- usr/lib/amd64/libsmartcard.so.1
- usr/lib/amd64/libsmartcard.so
- usr/lib/amd64/llib-lsmartcard.ln
- usr/lib/libsmartcard.so.1
- usr/lib/libsmartcard.so
- usr/lib/llib-lsmartcard.ln
- usr/lib/llib-lsmartcard
- usr/lib/locale/C/LC_MESSAGES/libsmartcard.msg
usr/lib/mdb/disasm/sparc.so
usr/lib/mdb/disasm/sparcv9/sparc.so
usr/lib/mdb/kvm/sparcv9/isp.so
- usr/lib/security/amd64/pam_smartcard.so.1
- usr/lib/security/amd64/pam_smartcard.so
- usr/lib/security/pam_smartcard.so.1
- usr/lib/security/pam_smartcard.so
- usr/lib/security/sparcv9/pam_smartcard.so.1
- usr/lib/security/sparcv9/pam_smartcard.so
- usr/lib/smartcard/
- usr/lib/sparcv9/libsmartcard.so.1
- usr/lib/sparcv9/libsmartcard.so
- usr/lib/sparcv9/llib-lsmartcard.ln
usr/platform/SUNW,Netra-T12/
usr/platform/sun4u/include/sys/i2c/misc/i2c_svc.h
usr/platform/sun4u/include/sys/memtestio.h
@@ -260,14 +237,10 @@ delete="$delete
usr/platform/sun4v/include/sys/memtestio.h
usr/platform/sun4v/include/sys/memtestio_ni.h
usr/platform/sun4v/include/sys/memtestio_v.h
- usr/sbin/ocfserv
- usr/share/javadoc/smartcard/
- usr/share/lib/smartcard/
usr/share/lib/sgml/locale/C/dtds/docbook/docbook.dtd
usr/share/lib/sgml/locale/C/dtds/docbook/
usr/share/lib/sgml/locale/C/dtds/solbookv1/solbook.dtd
usr/share/lib/sgml/locale/C/dtds/solbookv1/
- var/svc/manifest/network/rpc/ocfserv.xml
"
# memory fault injector test framework
delete="$delete
diff --git a/usr/src/uts/common/io/pshot.c b/usr/src/uts/common/io/pshot.c
index 63920d03d1..a1d69ea9ae 100644
--- a/usr/src/uts/common/io/pshot.c
+++ b/usr/src/uts/common/io/pshot.c
@@ -142,7 +142,6 @@ static struct {
{"DDI_NT_FC_ATTACHMENT_POINT", DDI_NT_FC_ATTACHMENT_POINT},
{"DDI_NT_USB_ATTACHMENT_POINT", DDI_NT_USB_ATTACHMENT_POINT},
{"DDI_NT_BLOCK_FABRIC", DDI_NT_BLOCK_FABRIC},
- {"DDI_NT_SMARTCARD_READER", DDI_NT_SMARTCARD_READER},
{"DDI_NT_AV_ASYNC", DDI_NT_AV_ASYNC},
{"DDI_NT_AV_ISOCH", DDI_NT_AV_ISOCH},
{ NULL, NULL }
diff --git a/usr/src/uts/common/sys/sunddi.h b/usr/src/uts/common/sys/sunddi.h
index 601601eaa6..d043644698 100644
--- a/usr/src/uts/common/sys/sunddi.h
+++ b/usr/src/uts/common/sys/sunddi.h
@@ -238,7 +238,6 @@ extern "C" {
/* Fabric Devices */
#define DDI_NT_IB_ATTACHMENT_POINT "ddi_ctl:attachment_point:ib"
/* IB devices */
-#define DDI_NT_SMARTCARD_READER "ddi_smartcard_reader" /* Smartcard reader */
#define DDI_NT_AV_ASYNC "ddi_av:async" /* asynchronous AV device */
#define DDI_NT_AV_ISOCH "ddi_av:isoch" /* isochronous AV device */
diff --git a/usr/src/uts/sparc/warlock/Makefile b/usr/src/uts/sparc/warlock/Makefile
index 4cbe0e4e15..9d65bf36fd 100644
--- a/usr/src/uts/sparc/warlock/Makefile
+++ b/usr/src/uts/sparc/warlock/Makefile
@@ -52,7 +52,7 @@ include $(UTSBASE)/sparc/Makefile.sparc
# lock_lint rules
#
all: warlock warlock.1394 warlock.ecpp warlock.scsi \
- warlock.smartcard warlock.usb warlock.ib warlock.sata warlock.wc
+ warlock.usb warlock.ib warlock.sata warlock.wc
warlock: $(MODULE).ok
@@ -109,9 +109,6 @@ warlock.1394:
warlock.ecpp:
@cd ../ecpp; $(MAKE) clean; $(MAKE) warlock
-warlock.smartcard:
-$(CLOSED_BUILD) @cd $(CLOSED)/uts/sun4u/scmi2c; $(MAKE) clean; $(MAKE) warlock
-
warlock.ib:
@cd ../ibmf; $(MAKE) clean; $(MAKE) warlock
@cd ../ib; $(MAKE) clean; $(MAKE) warlock
diff --git a/usr/src/uts/sun4u/Makefile.sun4u.shared b/usr/src/uts/sun4u/Makefile.sun4u.shared
index 2e99396b1d..ac71514173 100644
--- a/usr/src/uts/sun4u/Makefile.sun4u.shared
+++ b/usr/src/uts/sun4u/Makefile.sun4u.shared
@@ -20,7 +20,7 @@
#
#
-# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# This makefile contains the common definitions for the sun4u unix
@@ -401,7 +401,6 @@ $(CLOSED_BUILD)CLOSED_DRV_KMODS += ctsmc
$(CLOSED_BUILD)CLOSED_DRV_KMODS += m1535ppm
$(CLOSED_BUILD)CLOSED_DRV_KMODS += memtest
$(CLOSED_BUILD)CLOSED_DRV_KMODS += mi2cv
-$(CLOSED_BUILD)CLOSED_DRV_KMODS += scmi2c
$(CLOSED_BUILD)CLOSED_DRV_KMODS += smbus_ara
#
diff --git a/usr/src/uts/sun4u/sys/Makefile b/usr/src/uts/sun4u/sys/Makefile
index 1a09a1a896..089c13c4cc 100644
--- a/usr/src/uts/sun4u/sys/Makefile
+++ b/usr/src/uts/sun4u/sys/Makefile
@@ -110,8 +110,6 @@ $(CLOSED_BUILD)CLOSED_HDRS= \
memtestio_sr.h \
memtestio_u.h
-$(CLOSED_BUILD)CLOSED_I2CHDRS = clients/scmi2c.h
-
I2CHDRS = clients/max1617.h misc/i2c_svc.h clients/i2c_client.h \
clients/hpc3130.h clients/lm75.h \
clients/pcf8591.h clients/ssc050.h $(CLOSED_I2CHDRS)