summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2013-10-06 15:11:47 (EDT)
committer P. J. McDermott <pjm@nac.net>2013-10-06 15:11:47 (EDT)
commitad10426ee2dba50b2963fd5c4a55234a22b85ff1 (patch)
tree039f6a62987aa439590eab685606e2462f5d9f9b
Initial commit.
-rw-r--r--.gitignore11
-rwxr-xr-xbuild13
-rw-r--r--changelog5
-rw-r--r--control3
-rw-r--r--copyright17
-rw-r--r--format1
-rw-r--r--keyring.gpgbin0 -> 2227 bytes
-rw-r--r--source.mk25
8 files changed, 75 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..213a9bf
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,11 @@
+# Swap and backup files
+.*.sw*
+.sw*
+*~
+Session.vim
+
+# Source archives
+*-*.orig.tar.*
+
+# Work area
+tmp/
diff --git a/build b/build
new file mode 100755
index 0000000..b3fe891
--- /dev/null
+++ b/build
@@ -0,0 +1,13 @@
+#!/usr/bin/make -f
+
+include ../source.mk
+
+nop:
+ @:
+
+build:
+ touch $@
+
+install: build
+ oh-fixperms
+ oh-installfiles
diff --git a/changelog b/changelog
new file mode 100644
index 0000000..cfdee38
--- /dev/null
+++ b/changelog
@@ -0,0 +1,5 @@
+tzcode (2013g-1) trunk
+
+ * Initial release.
+
+ -- "P. J. McDermott" <pjm@nac.net> Sun, 06 Oct 2013 14:36:31 -0400
diff --git a/control b/control
new file mode 100644
index 0000000..2007c45
--- /dev/null
+++ b/control
@@ -0,0 +1,3 @@
+Maintainer: "P. J. McDermott" <pjm@nac.net>
+Build-Depends: opkhelper-3.0
+Homepage: https://www.iana.org/time-zones
diff --git a/copyright b/copyright
new file mode 100644
index 0000000..9ec6df4
--- /dev/null
+++ b/copyright
@@ -0,0 +1,17 @@
+Upstream Source
+===============
+
+All files in the tz code are in the public domain, so clarified as of 2009-05-17
+by Arthur David Olson.
+
+
+Distribution Packaging
+======================
+
+Copyright (C) 2013 Patrick "P. J." McDermott
+
+These files may be reproduced, distributed, modified, and otherwise dealt in
+under the terms of the Expat License.
+
+On this system, a copy of the Expat License may be found at
+<file:///usr/share/common-licenses/Expat>.
diff --git a/format b/format
new file mode 100644
index 0000000..cd5ac03
--- /dev/null
+++ b/format
@@ -0,0 +1 @@
+2.0
diff --git a/keyring.gpg b/keyring.gpg
new file mode 100644
index 0000000..5f7539e
--- /dev/null
+++ b/keyring.gpg
Binary files differ
diff --git a/source.mk b/source.mk
new file mode 100644
index 0000000..87681c4
--- /dev/null
+++ b/source.mk
@@ -0,0 +1,25 @@
+# The tz archives have no top-level directory, as opkbuild requires.
+
+upstream_archive = $(OPK_SOURCE)$(OPK_SOURCE_VERSION_UPSTREAM).tar.gz
+upstream_url = ftp://ftp.iana.org/tz/releases/$(upstream_archive)
+source_archive = ../$(OPK_SOURCE)-$(OPK_SOURCE_VERSION_UPSTREAM).orig.tar.gz
+keys = 62AA7E34
+
+$(source_archive):
+ wget -c '$(upstream_url)'
+ set -e; if gpg --version >/dev/null 2>&1; then \
+ wget -c '$(upstream_url).asc'; \
+ [ -e ../keyring.gpg ] || \
+ gpg --keyring ../keyring.gpg --no-default-keyring \
+ --recv-keys $(keys) || true; \
+ rm -f ../keyring.gpg~; \
+ gpg --verify --keyring ../keyring.gpg \
+ '$(upstream_archive).asc'; \
+ fi
+ mkdir -p $(OPK_SOURCE) && cd $(OPK_SOURCE) && tar -xzf '../$(upstream_archive)' && \
+ cd ..
+ rm -f '$(upstream_archive)' '$(upstream_archive).asc'
+ tar -czf '$(source_archive)' $(OPK_SOURCE)
+ mv $(OPK_SOURCE) src
+
+source: $(source_archive)