Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

OS-719 Add parallel bzip2 to OS image

  • Loading branch information...
commit 305d9a1612c6c92bd2ddb155a1856fdc3f7f96f8 1 parent caef7cb
@jjelinek jjelinek authored
View
1  .gitignore
@@ -45,6 +45,7 @@
/openldap/openldap-2.4.26/
/openssl/openssl-0.9.8o
/openssl/openssl-0.9.8o-64
+/pbzip2/pbzip2-1.1.6
/perl/perl-5.12.3
/proto
/rsync/rsync-3.0.6
View
2  Makefile
@@ -28,7 +28,7 @@ DESTDIR=$(BASE)/proto
PATH=$(DESTDIR)/usr/sfw/bin:/usr/sfw/bin:/usr/gnu/bin:/opt/local/bin:/sbin:/usr/sbin:/usr/bin:/opt/SUNWspro/bin:/opt/local/bin
SUBDIRS= bash bzip2 coreutils curl dialog g11n gnupg gtar gzip less libexpat \
libidn libm libxml libz ncurses node.js nss-nspr ntp openldap openssl \
- perl rsync rsyslog screen socat tun uuid vim wget
+ pbzip2 perl rsync rsyslog screen socat tun uuid vim wget
PARALLEL=-j128
View
3  manifest
@@ -1048,6 +1048,9 @@ f usr/include/openssl/ui_compat.h 0444 root bin
f usr/include/openssl/x509.h 0444 root bin
f usr/include/openssl/x509_vfy.h 0444 root bin
f usr/include/openssl/x509v3.h 0444 root bin
+# pbzip2
+f usr/bin/pbzip2 0555 root bin
+f usr/share/man/man1/pbzip2.1 0444 root bin
# perl
d usr/perl5 0755 root bin
d usr/perl5/5.12 0755 root bin
View
46 pbzip2/Makefile
@@ -0,0 +1,46 @@
+#
+# 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) 2012, Joyent, Inc. All rights reserved.
+#
+
+VER=pbzip2-1.1.6
+BASE=$(PWD)
+DESTDIR=$(BASE)/../proto
+CC=$(DESTDIR)/usr/sfw/bin/gcc
+GTAR=/usr/bin/gtar
+
+all: $(VER)/configure
+ (cd $(VER); env - PATH=$(PATH) $(MAKE) $(PARALLEL) all)
+
+install: all
+ mkdir -p $(DESTDIR)/usr/bin
+ mkdir -p $(DESTDIR)/usr/share/man/man1
+ cp $(BASE)/$(VER)/pbzip2 $(DESTDIR)/usr/bin
+ cp $(BASE)/$(VER)/pbzip2.1 $(DESTDIR)/usr/share/man/man1
+
+$(VER)/configure: $(VER).tar.gz
+ $(GTAR) zxpf $(VER).tar.gz
+ touch $(VER)/configure
+
+clean:
+ -rm -rf $(VER)
+
+FRC:
View
BIN  pbzip2/pbzip2-1.1.6.tar.gz
Binary file not shown
Please sign in to comment.
Something went wrong with that request. Please try again.