diff --git a/tzdata/.footprint b/tzdata/.footprint index 13cb910c..75eec239 100644 --- a/tzdata/.footprint +++ b/tzdata/.footprint @@ -1,6 +1,8 @@ drwxr-xr-x root/root usr/ drwxr-xr-x root/root usr/bin/ -rwxr-xr-x root/root usr/bin/tzselect +drwxr-xr-x root/root usr/lib/ +-rw-r--r-- root/root usr/lib/libtz.a drwxr-xr-x root/root usr/man/ drwxr-xr-x root/root usr/man/man3/ -rw-r--r-- root/root usr/man/man3/newctime.3.gz diff --git a/tzdata/.md5sum b/tzdata/.md5sum index 8c71668b..edf4e50f 100644 --- a/tzdata/.md5sum +++ b/tzdata/.md5sum @@ -1,3 +1,3 @@ -3aa477d19959a7e27b9d669406306189 tzcode-makefile.patch -cc2a52297310ba1a673dc60973ea3ad8 tzcode2013g.tar.gz -76dbc3b5a81913fc0d824376c44a5d15 tzdata2013g.tar.gz +e4f125300e7a6bab3823c047e08f5467 tzcode-makefile.patch +14250703b253e1cfdf97f1e928541508 tzcode2013h.tar.gz +d310abe42cbe87e76ceb69e2c7003c92 tzdata2013h.tar.gz diff --git a/tzdata/Pkgfile b/tzdata/Pkgfile index 1a468dd5..855c85c7 100644 --- a/tzdata/Pkgfile +++ b/tzdata/Pkgfile @@ -3,7 +3,7 @@ # Maintainer: CRUX System Team, core-ports at crux dot nu name=tzdata -version=2013g +version=2013h release=1 source=(ftp://ftp.iana.org/tz/releases/$name$version.tar.gz ftp://ftp.iana.org/tz/releases/tzcode$version.tar.gz diff --git a/tzdata/tzcode-makefile.patch b/tzdata/tzcode-makefile.patch index e8f31d76..a4063a1b 100644 --- a/tzdata/tzcode-makefile.patch +++ b/tzdata/tzcode-makefile.patch @@ -10,8 +10,8 @@ diff -Nru tzcode.orig/Makefile tzcode/Makefile ---- tzcode.orig/Makefile 2013-09-27 09:43:52.314987908 +0200 -+++ tzcode/Makefile 2013-09-27 11:01:46.512438118 +0200 +--- tzcode.orig/Makefile 2013-10-26 10:09:51.967038953 +0200 ++++ tzcode/Makefile 2013-10-26 10:18:48.328050894 +0200 @@ -45,21 +45,21 @@ # Everything gets put in subdirectories of. . . @@ -37,7 +37,7 @@ diff -Nru tzcode.orig/Makefile tzcode/Makefile # If you "make INSTALL", the "date" command gets installed in. . . -@@ -294,8 +294,10 @@ +@@ -298,8 +298,10 @@ ############################################################################### @@ -48,38 +48,33 @@ diff -Nru tzcode.orig/Makefile tzcode/Makefile +CC+= -DHAVE_GETTEXT=1 -DTZ_DOMAIN=\"libc\" +endif - TZCSRCS= zic.c localtime.c asctime.c scheck.c ialloc.c - TZCOBJS= zic.o localtime.o asctime.o scheck.o ialloc.o -@@ -338,14 +340,16 @@ + AR= ar +@@ -350,19 +352,18 @@ ALL: all date --install: all $(DATA) $(REDO) $(DESTDIR)$(TZLIB) $(MANS) -+install: all $(DATA) $(REDO) $(MANS) - $(ZIC) -y $(YEARISTYPE) \ - -d $(DESTDIR)$(TZDIR) -l $(LOCALTIME) -p $(POSIXRULES) - -rm -f $(DESTDIR)$(TZDIR)/iso3166.tab \ - $(DESTDIR)$(TZDIR)/zone.tab - cp iso3166.tab zone.tab $(DESTDIR)$(TZDIR)/. -- -mkdir $(DESTDIR)$(TOPDIR) $(DESTDIR)$(ETCDIR) -- cp tzselect zic zdump $(DESTDIR)$(ETCDIR)/. -+ -mkdir $(DESTDIR)$(TOPDIR) $(DESTDIR)$(SBINDIR) -+ cp zic zdump $(DESTDIR)$(SBINDIR)/. -+ -mkdir $(DESTDIR)$(TOPDIR) $(DESTDIR)$(BINDIR) -+ cp tzselect $(DESTDIR)$(BINDIR)/. - -mkdir $(DESTDIR)$(TOPDIR) $(DESTDIR)$(MANDIR) \ + install: all $(DATA) $(REDO) $(MANS) +- mkdir -p $(DESTDIR)$(ETCDIR) $(DESTDIR)$(TZDIR) \ +- $(DESTDIR)$(LIBDIR) \ ++ mkdir -p $(DESTDIR)$(SBINDIR) $(DESTDIR)$(TZDIR) \ ++ $(DESTDIR)$(LIBDIR) $(DESTDIR)$(BINDIR) \ $(DESTDIR)$(MANDIR)/man3 $(DESTDIR)$(MANDIR)/man5 \ $(DESTDIR)$(MANDIR)/man8 -@@ -356,8 +360,6 @@ - $(DESTDIR)$(MANDIR)/man8/zdump.8 \ - $(DESTDIR)$(MANDIR)/man8/zic.8 - cp newctime.3 newtzset.3 $(DESTDIR)$(MANDIR)/man3/. -- cp tzfile.5 $(DESTDIR)$(MANDIR)/man5/. -- cp tzselect.8 zdump.8 zic.8 $(DESTDIR)$(MANDIR)/man8/. + $(ZIC) -y $(YEARISTYPE) \ + -d $(DESTDIR)$(TZDIR) -l $(LOCALTIME) -p $(POSIXRULES) + cp -f iso3166.tab zone.tab $(DESTDIR)$(TZDIR)/. +- cp tzselect zic zdump $(DESTDIR)$(ETCDIR)/. ++ cp zic zdump $(DESTDIR)$(SBINDIR)/. ++ cp tzselect $(DESTDIR)$(BINDIR)/. + cp libtz.a $(DESTDIR)$(LIBDIR)/. + $(RANLIB) $(DESTDIR)$(LIBDIR)/libtz.a + cp -f newctime.3 newtzset.3 $(DESTDIR)$(MANDIR)/man3/. +- cp -f tzfile.5 $(DESTDIR)$(MANDIR)/man5/. +- cp -f tzselect.8 zdump.8 zic.8 $(DESTDIR)$(MANDIR)/man8/. INSTALL: ALL install date.1 - -mkdir $(DESTDIR)$(TOPDIR) $(DESTDIR)$(BINDIR) -@@ -403,19 +405,17 @@ + mkdir -p $(DESTDIR)$(BINDIR) $(DESTDIR)$(MANDIR)/man1 +@@ -405,19 +406,17 @@ # You must replace all of $(TZDIR) to switch from not using leap seconds # to using them, or vice versa. right_posix: right_only leapseconds @@ -104,7 +99,7 @@ diff -Nru tzcode.orig/Makefile tzcode/Makefile -L leapseconds $(TDATA) zones: $(REDO) -@@ -440,7 +440,7 @@ +@@ -440,7 +439,7 @@ <$? >$@ chmod +x $@