--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/components/libedit/Makefile Tue Feb 07 13:16:40 2012 -0800
@@ -0,0 +1,54 @@
+#
+# 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 (c) 2012, Oracle and/or its affiliates. All rights reserved.
+#
+include ../../make-rules/shared-macros.mk
+
+COMPONENT_NAME= libedit
+COMPONENT_VERSION= 20110802-3.0
+IPS_COMPONENT_VERSION= 3.0
+COMPONENT_PROJECT_URL= http://www.thrysoee.dk/editline/
+COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
+COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
+COMPONENT_ARCHIVE_HASH= sha1:b06e3cf248a4235617c71454e15ca3a54a61d467
+COMPONENT_ARCHIVE_URL= http://www.thrysoee.dk/editline/$(COMPONENT_ARCHIVE)
+
+
+include ../../make-rules/prep.mk
+include ../../make-rules/configure.mk
+include ../../make-rules/ips.mk
+
+CONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
+CONFIGURE_OPTIONS += --enable-shared
+CONFIGURE_OPTIONS += --disable-static
+
+
+# common targets
+build: $(BUILD_32_and_64)
+
+install: $(INSTALL_32_and_64)
+
+test: $(NO_TESTS)
+
+
+BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
+
+include ../../make-rules/depend.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/components/libedit/libedit.license Tue Feb 07 13:16:40 2012 -0800
@@ -0,0 +1,36 @@
+------------------------
+- libedit 20110802-3.0 -
+------------------------
+
+Oracle Internal Tracking Number : 7013
+
+Copyright (c) 1992, 1993
+ The Regents of the University of California. All rights reserved.
+
+This code is derived from software contributed to Berkeley by
+Christos Zoulas of Cornell University.
+
+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. Neither the name of the University nor the names of its contributors
+ may be used to endorse or promote products derived from this software
+ without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``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 REGENTS OR CONTRIBUTORS 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.
+
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/components/libedit/libedit.p5m Tue Feb 07 13:16:40 2012 -0800
@@ -0,0 +1,80 @@
+#
+# 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 (c) 2012, Oracle and/or its affiliates. All rights reserved.
+#
+
+<transform file path=usr.*/man/.+ -> default mangler.man.stability uncommitted>
+set name=pkg.fmri \
+ value=pkg:/library/libedit@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
+set name=pkg.human-version value=$(COMPONENT_VERSION)
+set name=pkg.summary value="Libedit - Command line editor library"
+set name=info.classification \
+ value=org.opensolaris.category.2008:System/Libraries
+set name=info.source-url value=$(COMPONENT_ARCHIVE_URL)
+set name=info.upstream-url value=$(COMPONENT_PROJECT_URL)
+set name=org.opensolaris.arc-caseid value=PSARC/2012/025
+set name=org.opensolaris.consolidation value=$(CONSOLIDATION)
+dir path=usr
+dir path=usr/include
+dir path=usr/include/editline
+dir path=usr/lib
+dir path=usr/lib/$(MACH64)
+dir path=usr/lib/$(MACH64)/pkgconfig
+dir path=usr/lib/pkgconfig
+dir path=usr/share
+dir path=usr/share/man
+dir path=usr/share/man/man3
+dir path=usr/share/man/man5
+file path=usr/include/editline/readline.h
+file path=usr/include/histedit.h
+file path=usr/lib/$(MACH64)/libedit.so.0.0.38
+file path=usr/lib/$(MACH64)/pkgconfig/libedit.pc
+file path=usr/lib/libedit.so.0.0.38
+file path=usr/lib/pkgconfig/libedit.pc
+file path=usr/share/man/man3/editline.3
+file path=usr/share/man/man5/editrc.5
+license libedit.license license=BSD
+link path=usr/lib/$(MACH64)/libedit.so target=libedit.so.0.0.38
+link path=usr/lib/$(MACH64)/libedit.so.0 target=libedit.so.0.0.38
+link path=usr/lib/libedit.so target=libedit.so.0.0.38
+link path=usr/lib/libedit.so.0 target=libedit.so.0.0.38
+link path=usr/share/man/man3/el_deletestr.3 target=editline.3
+link path=usr/share/man/man3/el_end.3 target=editline.3
+link path=usr/share/man/man3/el_get.3 target=editline.3
+link path=usr/share/man/man3/el_getc.3 target=editline.3
+link path=usr/share/man/man3/el_gets.3 target=editline.3
+link path=usr/share/man/man3/el_history.3 target=editline.3
+link path=usr/share/man/man3/el_history_end.3 target=editline.3
+link path=usr/share/man/man3/el_history_init.3 target=editline.3
+link path=usr/share/man/man3/el_init.3 target=editline.3
+link path=usr/share/man/man3/el_insertstr.3 target=editline.3
+link path=usr/share/man/man3/el_line.3 target=editline.3
+link path=usr/share/man/man3/el_parse.3 target=editline.3
+link path=usr/share/man/man3/el_push.3 target=editline.3
+link path=usr/share/man/man3/el_reset.3 target=editline.3
+link path=usr/share/man/man3/el_resize.3 target=editline.3
+link path=usr/share/man/man3/el_set.3 target=editline.3
+link path=usr/share/man/man3/el_source.3 target=editline.3
+link path=usr/share/man/man3/el_tok_end.3 target=editline.3
+link path=usr/share/man/man3/el_tok_init.3 target=editline.3
+link path=usr/share/man/man3/el_tok_line.3 target=editline.3
+link path=usr/share/man/man3/el_tok_reset.3 target=editline.3
+link path=usr/share/man/man3/el_tok_str.3 target=editline.3