diff options
author | P. J. McDermott <pjm@nac.net> | 2013-04-03 22:12:43 (EDT) |
---|---|---|
committer | P. J. McDermott <pjm@nac.net> | 2013-04-03 22:26:10 (EDT) |
commit | 03828eb2e3cbc721fe57d262e5a3a02c3e9a472b (patch) | |
tree | a5cb50520bf4d1b98de68ab10be42e8896bbc164 | |
parent | c16024d355a9a5a02a9a805767666c97b082e6a2 (diff) |
Don't distribute IETF RFCs (SIP compliance).
-rwxr-xr-x | build | 6 | ||||
-rw-r--r-- | changelog | 3 | ||||
-rw-r--r-- | source.mk | 13 | ||||
-rw-r--r-- | zlib-1.2.7+sip1.orig.tar.bz2 | bin | 0 -> 490090 bytes | |||
-rw-r--r-- | zlib-1.2.7.orig.tar.gz | bin | 560351 -> 0 bytes |
5 files changed, 21 insertions, 1 deletions
@@ -22,3 +22,9 @@ clean: oh-autoclean rm -f configure build rm -Rf *.data + +# POSIX.1-2008: +# If the pathname does not begin with a '/' it shall be treated as relative to +# the current working directory of the process, not relative to the directory +# containing the makefile. +include ../source.mk @@ -1,8 +1,9 @@ -zlib (1.2.7-1) trunk +zlib (1.2.7+sip1-1) trunk * New upstream version. * Update to SPF 2.0 and opkhelper 3.0. * Use multiarch library directories. + * Don't distribute IETF RFCs (SIP compliance). -- "P. J. McDermott" <pjm@nac.net> Wed, 03 Apr 2013 15:06:09 -0400 diff --git a/source.mk b/source.mk new file mode 100644 index 0000000..3966b83 --- /dev/null +++ b/source.mk @@ -0,0 +1,13 @@ +UPSTREAM_VER = $$(printf '%s\n' '$(OPK_SOURCE_VERSION_UPSTREAM)' | \ + sed 's/^\([0-9a-z.~-][0-9a-z.~-]*\)+sip[1-9][0-9]*.*$$/\1/') +UPSTREAM_URL = http://zlib.net/zlib-$(UPSTREAM_VER).tar.bz2 +SOURCE_ARCHIVE = ../zlib-$(OPK_SOURCE_VERSION_UPSTREAM).orig.tar.bz2 + +$(SOURCE_ARCHIVE): + wget -O - "$(UPSTREAM_URL)" | tar -xj + rm -f "zlib-$(UPSTREAM_VER)"/doc/rfc*.txt + tar -cjf '$(SOURCE_ARCHIVE)' "zlib-$(UPSTREAM_VER)" + rm -Rf src + mv "zlib-$(UPSTREAM_VER)" src + +source: $(SOURCE_ARCHIVE) diff --git a/zlib-1.2.7+sip1.orig.tar.bz2 b/zlib-1.2.7+sip1.orig.tar.bz2 Binary files differnew file mode 100644 index 0000000..e75d200 --- /dev/null +++ b/zlib-1.2.7+sip1.orig.tar.bz2 diff --git a/zlib-1.2.7.orig.tar.gz b/zlib-1.2.7.orig.tar.gz Binary files differdeleted file mode 100644 index 833e888..0000000 --- a/zlib-1.2.7.orig.tar.gz +++ /dev/null |