diff options
author | P. 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) |
commit | ad10426ee2dba50b2963fd5c4a55234a22b85ff1 (patch) | |
tree | 039f6a62987aa439590eab685606e2462f5d9f9b |
Initial commit.
-rw-r--r-- | .gitignore | 11 | ||||
-rwxr-xr-x | build | 13 | ||||
-rw-r--r-- | changelog | 5 | ||||
-rw-r--r-- | control | 3 | ||||
-rw-r--r-- | copyright | 17 | ||||
-rw-r--r-- | format | 1 | ||||
-rw-r--r-- | keyring.gpg | bin | 0 -> 2227 bytes | |||
-rw-r--r-- | source.mk | 25 |
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/ @@ -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 @@ -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>. @@ -0,0 +1 @@ +2.0 diff --git a/keyring.gpg b/keyring.gpg Binary files differnew file mode 100644 index 0000000..5f7539e --- /dev/null +++ b/keyring.gpg 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) |