Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add gtar

  • Loading branch information...
commit 95ddf5f73fb481719d62ddba80f563eb76997658 1 parent a843740
@joshwilsdon joshwilsdon authored
View
2  Makefile
@@ -26,7 +26,7 @@
PATH=/sbin:/usr/sbin:/usr/bin:/opt/SUNWspro/bin
BASE=$(PWD)
DESTDIR=$(BASE)/proto
-SUBDIRS= bash bzip2 curl gzip libexpat libm libxml libz ncurses node.js nss-nspr openssl rsync vim wget
+SUBDIRS= bash bzip2 curl gtar gzip libexpat libm libxml libz ncurses node.js nss-nspr openssl rsync vim wget
-include Makefile.inc
View
44 gtar/Makefile
@@ -0,0 +1,44 @@
+#
+# 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 COPYING
+# 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 COPYING.
+# 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) 2010 Joyent Inc.
+#
+
+VER=tar-1.23
+BASE=$(PWD)
+DESTDIR=$(BASE)/../proto
+CC=gcc
+SH=ksh93
+LD_OPTIONS="-M $(BASE)/mapfile_noexstk"
+
+all: $(VER)/config.status
+ (cd $(VER); env - CC=$(CC) LD_OPTIONS=$(LD_OPTIONS) PATH="/usr/perl5/bin:$(PATH)" gmake)
+
+install:
+ mkdir -p $(DESTDIR)/usr/bin
+ ginstall -m 0555 $(BASE)/$(VER)/src/tar $(DESTDIR)/usr/bin/gtar
+
+$(VER)/config.status:
+ gtar -jxf $(VER).tar.bz2
+ (cd $(VER); ./configure --with-rmt=/usr/sbin/rmt --libexecdir=/usr/sbin --program-prefix=g)
+
+clean:
+ -rm -rf $(VER)
+
View
27 gtar/mapfile_noexstk
@@ -0,0 +1,27 @@
+#
+#
+# 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) 2001 by Sun Microsystems, Inc.
+# All rights reserved.
+#
+#pragma ident "@(#)mapfile_noexstk 1.3 06/03/18 SMI"
+#
+stack = STACK ?RW;
View
BIN  gtar/tar-1.23.tar.bz2
Binary file not shown
Please sign in to comment.
Something went wrong with that request. Please try again.