Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

OS-384 add readlink(1) and stat(1)

OS-445 Would be nice to have 'seq' from GNU coreutils
  • Loading branch information...
commit caef7cbf02b9859a1a49d09ac07f01be960d3ad2 1 parent 31d96cb
@jjelinek jjelinek authored
View
3  .gitignore
@@ -1,6 +1,7 @@
/bash/bash-4.1
/bzip2/bzip2-1.0.6
/bzip2/bzip2-1.0.6-64
+/coreutils/coreutils-8.13
/curl/curl-7.21.2
/dialog/dialog-1.1-20111020/
/g11n/proto/
@@ -47,8 +48,10 @@
/perl/perl-5.12.3
/proto
/rsync/rsync-3.0.6
+/rsyslog/rsyslog-5.8.9
/screen/screen-4.0.3
/socat/socat-1.7.1.3/
+/tun/tun-1.1
/uuid/uuid-1.6.2
/vim/vim72
/wget/wget-1.12
View
2  Makefile
@@ -26,7 +26,7 @@
BASE=$(PWD)
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 curl dialog g11n gnupg gtar gzip less libexpat \
+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
View
58 coreutils/Makefile
@@ -0,0 +1,58 @@
+#
+# 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=coreutils-8.13
+BASE=$(PWD)
+DESTDIR=$(BASE)/../proto
+CC=$(DESTDIR)/usr/sfw/bin/gcc
+GTAR=/usr/bin/gtar
+
+all: $(VER)/config.status
+ (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)/src/readlink $(DESTDIR)/usr/bin
+ cp $(BASE)/$(VER)/src/seq $(DESTDIR)/usr/bin
+ cp $(BASE)/$(VER)/src/stat $(DESTDIR)/usr/bin
+ cp -f $(BASE)/$(VER)/man/readlink.1 $(DESTDIR)/usr/share/man/man1
+ cp -f $(BASE)/$(VER)/man/seq.1 $(DESTDIR)/usr/share/man/man1
+ cp -f $(BASE)/$(VER)/man/stat.1 $(DESTDIR)/usr/share/man/man1
+
+$(VER)/config.status: $(VER)/configure
+ (cd $(VER); env \
+ CC=$(CC) \
+ "CFLAGS=$(CFLAGS)" \
+ PATH=$(PATH) \
+ MAKE=$(MAKE) \
+ ./configure --prefix=/usr)
+
+$(VER)/configure: $(VER).tar.gz
+ $(GTAR) zxpf $(VER).tar.gz
+ touch $(VER)/configure
+
+clean:
+ -rm -rf $(VER)
+
+FRC:
View
BIN  coreutils/coreutils-8.13.tar.gz
Binary file not shown
View
7 manifest
@@ -68,6 +68,13 @@ f usr/lib/amd64/libbz2.so.1 0755 root bin
s usr/lib/amd64/libbz2.so=libbz2.so.1
f usr/lib/libbz2.so.1 0755 root bin
s usr/lib/libbz2.so=libbz2.so.1
+# coreutils
+f usr/bin/readlink 0755 root bin
+f usr/bin/seq 0755 root bin
+f usr/bin/stat 0755 root bin
+f usr/share/man/man1/readlink.1 0444 root bin
+f usr/share/man/man1/seq.1 0444 root bin
+f usr/share/man/man1/stat.1 0444 root bin
# curl
f usr/lib/libcurl.so.4.2.0 0755 root bin
s usr/lib/libcurl.so.4=libcurl.so.4.2.0
Please sign in to comment.
Something went wrong with that request. Please try again.