diff options
Diffstat (limited to 'usr/src/lib/libwanbootutil')
| -rw-r--r-- | usr/src/lib/libwanbootutil/Makefile | 12 | ||||
| -rw-r--r-- | usr/src/lib/libwanbootutil/Makefile.com | 3 | ||||
| -rw-r--r-- | usr/src/lib/libwanbootutil/common/mapfile-vers (renamed from usr/src/lib/libwanbootutil/spec/amd64/Makefile) | 44 | ||||
| -rw-r--r-- | usr/src/lib/libwanbootutil/spec/Makefile | 30 | ||||
| -rw-r--r-- | usr/src/lib/libwanbootutil/spec/Makefile.targ | 34 | ||||
| -rw-r--r-- | usr/src/lib/libwanbootutil/spec/i386/Makefile | 36 | ||||
| -rw-r--r-- | usr/src/lib/libwanbootutil/spec/sparc/Makefile | 36 | ||||
| -rw-r--r-- | usr/src/lib/libwanbootutil/spec/sparcv9/Makefile | 33 | ||||
| -rw-r--r-- | usr/src/lib/libwanbootutil/spec/versions | 39 | ||||
| -rw-r--r-- | usr/src/lib/libwanbootutil/spec/wanbootutil.spec | 144 |
10 files changed, 42 insertions, 369 deletions
diff --git a/usr/src/lib/libwanbootutil/Makefile b/usr/src/lib/libwanbootutil/Makefile index 670e9bea04..060530d0a3 100644 --- a/usr/src/lib/libwanbootutil/Makefile +++ b/usr/src/lib/libwanbootutil/Makefile @@ -2,9 +2,8 @@ # 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. +# 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. @@ -20,10 +19,11 @@ # CDDL HEADER END # # -# Copyright 2003 Sun Microsystems, Inc. All rights reserved. +# Copyright 2006 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # # ident "%Z%%M% %I% %E% SMI" +# include ../Makefile.lib @@ -64,7 +64,7 @@ lint := TARGET = lint .KEEP_STATE: .PARALLEL: $(ROOTHDRS) -all clean clobber install: spec .WAIT $(RPCFILES) $(SUBDIRS) +all clean clobber install: $(RPCFILES) $(SUBDIRS) lint: $(SUBDIRS) @@ -76,7 +76,7 @@ $(POFILE): pofile_MSGFILES _msg: $(MSGDOMAINPOFILE) -spec $(SUBDIRS): FRC +$(SUBDIRS): FRC @cd $@; pwd; $(MAKE) $(TARGET) FRC: diff --git a/usr/src/lib/libwanbootutil/Makefile.com b/usr/src/lib/libwanbootutil/Makefile.com index 23463dad43..56b7a96871 100644 --- a/usr/src/lib/libwanbootutil/Makefile.com +++ b/usr/src/lib/libwanbootutil/Makefile.com @@ -60,9 +60,6 @@ SRCS = $(LOC_SRCS) $(CRYPTO_SRCS) SRCDIR = $(LOC_DIR) $(LINTLIB):= SRCS = $(SRCDIR)/$(LINTSRC) -MAPDIR = ../spec/$(TRANSMACH) -SPECMAPFILE = $(MAPDIR)/mapfile - # Library includes sources created via rpcgen. And rpcgen unfortunately # created unused function variables. LINTFLAGS += -erroff=E_FUNC_VAR_UNUSED diff --git a/usr/src/lib/libwanbootutil/spec/amd64/Makefile b/usr/src/lib/libwanbootutil/common/mapfile-vers index 4ee7613aaf..d8e07ad0c5 100644 --- a/usr/src/lib/libwanbootutil/spec/amd64/Makefile +++ b/usr/src/lib/libwanbootutil/common/mapfile-vers @@ -2,9 +2,8 @@ # 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. +# 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. @@ -20,13 +19,42 @@ # CDDL HEADER END # # -# Copyright 2004 Sun Microsystems, Inc. All rights reserved. +# Copyright 2006 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # # ident "%Z%%M% %I% %E% SMI" # -.KEEP_STATE: - -all clean clobber install lint: - @echo "Nothing to $@ on amd64" +SUNWprivate_1.1 { + global: + aes_decrypt; + aes_encrypt; + aes_fini; + aes_init; + aes_key; + aes_keycheck; + cbc_decrypt; + cbc_encrypt; + cbc_makehandle; + des3_decrypt; + des3_encrypt; + des3_fini; + des3_init; + des3_key; + des3_keycheck; + HMACFinal; + HMACInit; + HMACUpdate; + wbio_nread; + wbio_nread_rand; + wbio_nwrite; + wbku_delete_key; + wbku_errinit; + wbku_find_key; + wbku_printerr; + wbku_retmsg; + wbku_str_to_keyattr; + wbku_write_key; + local: + *; +}; diff --git a/usr/src/lib/libwanbootutil/spec/Makefile b/usr/src/lib/libwanbootutil/spec/Makefile deleted file mode 100644 index 37b7cc69ad..0000000000 --- a/usr/src/lib/libwanbootutil/spec/Makefile +++ /dev/null @@ -1,30 +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" -# -# lib/libwanbootutil/spec/Makefile - -include $(SRC)/lib/Makefile.spec.arch diff --git a/usr/src/lib/libwanbootutil/spec/Makefile.targ b/usr/src/lib/libwanbootutil/spec/Makefile.targ deleted file mode 100644 index 1b7f5046ec..0000000000 --- a/usr/src/lib/libwanbootutil/spec/Makefile.targ +++ /dev/null @@ -1,34 +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" -# -# lib/libwanbootutil/spec/Makefile.targ - -LIBRARY = libwanbootutil.a -VERS = .1 -OBJECTS = wanbootutil.o - -SPECCPP = -I$(SRC)/common/net/wanboot/crypt diff --git a/usr/src/lib/libwanbootutil/spec/i386/Makefile b/usr/src/lib/libwanbootutil/spec/i386/Makefile deleted file mode 100644 index 80344b3c95..0000000000 --- a/usr/src/lib/libwanbootutil/spec/i386/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. -# -#ident "%Z%%M% %I% %E% SMI" -# -# lib/libwanbootutil/spec/i386/Makefile - -.KEEP_STATE: - -include ../Makefile.targ -include $(SRC)/lib/Makefile.lib -include $(SRC)/lib/Makefile.spec - -install: diff --git a/usr/src/lib/libwanbootutil/spec/sparc/Makefile b/usr/src/lib/libwanbootutil/spec/sparc/Makefile deleted file mode 100644 index 5808da4dd7..0000000000 --- a/usr/src/lib/libwanbootutil/spec/sparc/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. -# -#ident "%Z%%M% %I% %E% SMI" -# -# lib/libwanbootutil/spec/sparc/Makefile - -.KEEP_STATE: - -include ../Makefile.targ -include $(SRC)/lib/Makefile.lib -include $(SRC)/lib/Makefile.spec - -install: diff --git a/usr/src/lib/libwanbootutil/spec/sparcv9/Makefile b/usr/src/lib/libwanbootutil/spec/sparcv9/Makefile deleted file mode 100644 index b107afa3fb..0000000000 --- a/usr/src/lib/libwanbootutil/spec/sparcv9/Makefile +++ /dev/null @@ -1,33 +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" -# -# lib/libwanbootutil/spec/sparcv9/Makefile - -.KEEP_STATE: - -all clean clobber install lint: - @echo "Nothing to $@ on sparcv9" diff --git a/usr/src/lib/libwanbootutil/spec/versions b/usr/src/lib/libwanbootutil/spec/versions deleted file mode 100644 index 22e0dd1104..0000000000 --- a/usr/src/lib/libwanbootutil/spec/versions +++ /dev/null @@ -1,39 +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 -# -# ident "%Z%%M% %I% %E% SMI" -# - -sparc { - SUNWprivate_1.1; -} -sparcv9 { - SUNWprivate_1.1; -} -i386 { - SUNWprivate_1.1; -} -amd64 { - SUNWprivate_1.1; -} diff --git a/usr/src/lib/libwanbootutil/spec/wanbootutil.spec b/usr/src/lib/libwanbootutil/spec/wanbootutil.spec deleted file mode 100644 index b2e756c857..0000000000 --- a/usr/src/lib/libwanbootutil/spec/wanbootutil.spec +++ /dev/null @@ -1,144 +0,0 @@ -# -# Copyright 2006 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 -# -#ident "%Z%%M% %I% %E% SMI" -# -# lib/libwanbootutil/spec/wanbootutil.spec - -# -# Note that we do not define prototypes for these APIs as we -# are not generating the ABI libraries. Please do not add any -# prototypes. -# - -function wbku_errinit -version SUNWprivate_1.1 -end - -function wbku_printerr -version SUNWprivate_1.1 -end - -function wbku_retmsg -version SUNWprivate_1.1 -end - -function wbku_str_to_keyattr -version SUNWprivate_1.1 -end - -function wbku_find_key -version SUNWprivate_1.1 -end - -function wbku_write_key -version SUNWprivate_1.1 -end - -function wbku_delete_key -version SUNWprivate_1.1 -end - -function des3_decrypt -version SUNWprivate_1.1 -end - -function cbc_makehandle -version SUNWprivate_1.1 -end - -function des3_encrypt -version SUNWprivate_1.1 -end - -function aes_encrypt -version SUNWprivate_1.1 -end - -function aes_init -version SUNWprivate_1.1 -end - -function des3_fini -version SUNWprivate_1.1 -end - -function cbc_encrypt -version SUNWprivate_1.1 -end - -function cbc_decrypt -version SUNWprivate_1.1 -end - -function aes_decrypt -version SUNWprivate_1.1 -end - -function des3_init -version SUNWprivate_1.1 -end - -function aes_fini -version SUNWprivate_1.1 -end - -function des3_key -version SUNWprivate_1.1 -end - -function des3_keycheck -version SUNWprivate_1.1 -end - -function aes_key -version SUNWprivate_1.1 -end - -function aes_keycheck -version SUNWprivate_1.1 -end - -function HMACInit -version SUNWprivate_1.1 -end - -function HMACUpdate -version SUNWprivate_1.1 -end - -function HMACFinal -version SUNWprivate_1.1 -end - -function wbio_nwrite -version SUNWprivate_1.1 -end - -function wbio_nread -version SUNWprivate_1.1 -end - -function wbio_nread_rand -version SUNWprivate_1.1 -end |
