From 03828eb2e3cbc721fe57d262e5a3a02c3e9a472b Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Wed, 03 Apr 2013 22:12:43 -0400 Subject: Don't distribute IETF RFCs (SIP compliance). --- diff --git a/build b/build index 657151b..50fd0ea 100755 --- a/build +++ b/build @@ -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 diff --git a/changelog b/changelog index 92757b7..c132f6d 100644 --- a/changelog +++ b/changelog @@ -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" 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 new file mode 100644 index 0000000..e75d200 --- /dev/null +++ b/zlib-1.2.7+sip1.orig.tar.bz2 Binary files differ diff --git a/zlib-1.2.7.orig.tar.gz b/zlib-1.2.7.orig.tar.gz deleted file mode 100644 index 833e888..0000000 --- a/zlib-1.2.7.orig.tar.gz +++ /dev/null Binary files differ -- cgit v0.9.1