Commit Graph

99 Commits

Author SHA1 Message Date
lukem 144b55005f Rework METALOG manipulation:
- add '-D ${DESTDIR}' to INSTPRIV, so install(8) removes the leading
  ${DESTDIR} from the metalogged path
- provide ${METADB.add} variable (for "${CAT} -l >> ${METALOG}"), to make
  it easier to replace manual metalog manipulation in the future.
- with manual metalog additions, don't add the leading ${DESTDIR} in the path
- in maketars, use "mtree -C ..." instead of
  "mtree -D ... | sed -e 's,\(.*\) \(\..*\),\2 \1,";

Benefits:
- maketars "Parsing METALOG" step speeds up from 29 seconds to 1.2 seconds
  on a P3-600.
  (This also benefits "make installworld" at the top level.)
- ${DESTDIR}/METALOG is easier to read without the leading "${DESTDIR}"
  on all the pathnames, and it's smaller as well.
2002-12-23 06:52:48 +00:00
lukem d9aa9519e8 Invoke ${PAX} with '-O' so that various errors don't hang the make
or the command with an interactive question.  (This also prevents
weird problems if a directory element of '-f path' is missing and
'make -j N' is being used).
2002-12-21 15:54:48 +00:00
lukem 41e588395b Instead of ${ZIC}-ing to ${DESTDIR}/usr/share/zoneinfo and using chmod and
chown to frob permissions, use ${ZIC} to ${.OBJDIR}/builddir, create a
temporary mtree(8) specfile, and use "${PAX} -M -N ${NETBSDSRCDIR}/etc"
to copy to ${DESTDIR}/usr/share/zoneinfo, looking up root:wheel in
${NETBSDSRCDIR}/etc instead of the host system database.
2002-12-19 10:56:39 +00:00
kleink 20b67c3da4 Import tzdata2002d. 2002-10-17 13:45:39 +00:00
mason c86d6704bc Use the new cat(1) locking functionality - should solve PR toolchain/16963.
If all goes well, will submit a batch of pull-up requests for netbsd-1-6
presently to bring these additions and fixes into 1.6.
2002-06-10 18:47:12 +00:00
kleink 4f8ed47fe8 Import tzdata2002c. 2002-04-16 18:36:13 +00:00
kleink 10e70e7bb6 Import tzdata2002c. 2002-04-16 18:35:39 +00:00
kleink c88af1acbc Import tzdata2002b. 2002-01-29 13:08:37 +00:00
mrg 2e2c2dfb4f do not overwrite ${ZIC} if it is already set. 2002-01-05 07:35:20 +00:00
lukem b0b0a32ad7 Set NOxxx= before <bsd.own.mk> is pulled in (even indirectly).
Otherwise the appropriate MKxxx=no won't be defined .
2001-12-12 12:24:19 +00:00
tv 8e6f7afb5b MKfoo=no -> NOfoo 2001-12-12 01:48:43 +00:00
kleink 1d6c2795c4 Import tzdata2001d. 2001-11-30 13:28:39 +00:00
perry d52d36ecc5 Uncomment a bunch of seemingly unused rules. It seems several people
do indeed use them in their private builds. Pointed out by Alan Barrett.
2001-11-26 15:24:20 +00:00
perry 88592afd34 1) Synthetically generate metadata for installed files when UNPRIVED
is set.
2) Remove the default timezone line, which noted that the
   functionality was now in src/etc/Makefile.
3) Comment out a huge swath of the file that repeated tests reveal
   never seem to be invoked -- they're apparently for generating zone
   files that include leap seconds and such. Must talk to Klaus about
   what they are for and whether we need them.
2001-11-24 21:37:23 +00:00
perry 2f370e4778 UNPRIVILEGED->UNPRIVED 2001-11-19 05:18:53 +00:00
kleink 78484d385d Import tzdata2001c. 2001-06-14 11:02:49 +00:00
kleink 676f85df90 Import tzdata2001b. 2001-04-06 10:11:16 +00:00
kleink 0d673d35c2 Import tzdata2001a. 2001-03-14 13:36:18 +00:00
kleink d4f46f5156 Import tzdata2000h. 2000-12-19 14:27:54 +00:00
kleink df3abfa175 Merge tzdata2000g. 2000-11-03 11:08:22 +00:00
kleink 68cef7d4b4 Import tzdata2000g. 2000-11-03 11:07:04 +00:00
kleink 8e0079b444 Merge tzdata2000f. 2000-08-11 12:03:21 +00:00
kleink 4c613c91ee Import tzdata2000f. 2000-08-11 12:00:56 +00:00
kleink 60eaf5abfb Import tzdata2000e. 2000-07-31 14:17:37 +00:00
kleink 761188a49b Import tzdata2000d. 2000-03-18 00:39:49 +00:00
kleink 405ae2b76f Import tzdata2000b. 2000-02-24 00:22:07 +00:00
kleink 99564313c8 Import tzdata1999j. 1999-11-16 22:43:06 +00:00
kleink a72e44b81a Import tzdata1999i. 1999-11-10 20:43:07 +00:00
simonb ba77c9abaf Don't chown installed files or directories if UNPRIVILEGED is defined.
"make build" should now work as a non-root user (tested on Alpha).
mtree spits out lots of warnings during "make distrib-dirs", but
these are non-fatal.
1999-08-21 06:30:11 +00:00
kleink 399fa5e6c8 Import tzdata1999e. 1999-08-19 20:21:25 +00:00
kleink aa7e5483ed Import tzdata1999d. 1999-03-31 11:10:14 +00:00
kleink 257beb4e19 Import tzdata1999c. 1999-03-27 11:14:50 +00:00
lukem dcab0210a0 convert from NOxxx= to MKxxx=no.
include <bsd.own.mk> if testing a MKxxx variable.
1999-02-13 02:54:17 +00:00
mrg 8e7fba1cf0 tzdata 1999b 1999-02-02 00:51:48 +00:00
kleink ed61a6dd2a Import tzdata1998i. 1998-10-04 19:58:09 +00:00
lukem 9dee5d2b46 don't install in /usr/share if NOSHARE is defined 1998-09-27 17:22:03 +00:00
kleink 9dba6f18e8 Import tzdata1998g. 1998-09-10 18:51:38 +00:00
jtc a819ccdae1 import tzdata1998b 1998-01-22 07:20:01 +00:00
jtc 3e249d1c97 import tzdata1998a 1998-01-22 07:19:24 +00:00
perry 3fe138c146 RCS Id Police. 1998-01-09 08:03:16 +00:00
jtc e76394c0c6 import tzdata1997i 1997-10-09 20:02:32 +00:00
jtc 2977fe4cd0 import tzdata1997h 1997-09-05 02:16:06 +00:00
jtc 66de380294 Add NOOBJ=. Remove (cd ${.CURDIR}; ... ). 1997-06-18 01:56:03 +00:00
jtc 0f3df805c6 Remove datfiles subdirectory, it's a remanent from long ago. 1997-06-18 01:27:43 +00:00
jtc c823ca2033 import tzdata1997f 1997-06-18 01:19:11 +00:00
mycroft 6df71800cb Use afterinstall, not realinstall, for data files. 1997-05-07 16:12:00 +00:00
mycroft aec27c808c Add some missing .PHONYs. 1997-05-07 09:43:32 +00:00
mrg 4beb045eb4 merge tzdata1997d 1997-03-18 03:01:32 +00:00
mrg be477182a9 import tzdata97d 1997-03-18 01:37:09 +00:00
perry 2a9ecb70c3 close pr-3111 -- use sh to invoke script instead of executing 1997-01-16 21:17:53 +00:00