TritonDataCenter / illumos-extra

Extra non-ON software required for Illumos
Other
39 stars 47 forks source link

Newer coreutils would support getattrat(3c) #25

Open nshalman opened 8 years ago

nshalman commented 8 years ago

Among other things this should allow stat(1) to report file birth times.

http://git.savannah.gnu.org/cgit/coreutils.git/commit/?id=ea916c70a5fc47ee6036a05416bc7462fd8dc1cd

Low priority, but might be nice to have.

nshalman commented 8 years ago

Noting so that others don't have to hit it first, this appears to be a bit of a morass:

Makefile changes:

diff --git a/coreutils/Makefile b/coreutils/Makefile
index 5d97613..279995a 100644
--- a/coreutils/Makefile
+++ b/coreutils/Makefile
@@ -21,9 +21,13 @@
 # Copyright (c) 2012, Joyent, Inc.  All rights reserved.
 #

-VER =  coreutils-8.13
+VER =  coreutils-8.25

 include ../Makefile.defs
+
+AUTOCONF_ENV += FORCE_UNSAFE_CONFIGURE=1
+ALL_TGT = src/stat src/seq src/readlink man/readlink.1 man/seq.1 man/stat.1
+
 include ../Makefile.targ

 all: all_autoconf

Still doesn't work because in a full build something is wrong that isn't wrong when building just those binaries invoking Make manually. :(