This is an automated email from the git hooks/post-receive script. sebastic-guest pushed a commit to branch master in repository postgis.
commit e8b8c18c5f5aee1d2d295a1480d4ec7351cb0eb3 Author: Bas Couwenberg <sebas...@xs4all.nl> Date: Fri Apr 4 15:07:27 2014 +0200 Repack upstream tarball, remove OGC test cases with unclear license. --- debian/changelog | 2 ++ debian/copyright | 4 ++++ debian/get-orig-source | 25 +++++++++++++++++++++++++ debian/rules | 4 ++++ 4 files changed, 35 insertions(+) diff --git a/debian/changelog b/debian/changelog index 756e647..ea92640 100644 --- a/debian/changelog +++ b/debian/changelog @@ -2,6 +2,8 @@ postgis (2.1.2-2) UNRELEASED; urgency=low * Add myself to Uploaders. * Update copyright file using copyright-format 1.0. + * Repack upstream tarball, remove OGC test cases with unclear license. + (closes: #743489) -- Bas Couwenberg <sebas...@xs4all.nl> Fri, 04 Apr 2014 12:33:55 +0200 diff --git a/debian/copyright b/debian/copyright index 61a03e3..27e5068 100644 --- a/debian/copyright +++ b/debian/copyright @@ -2,6 +2,10 @@ Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: PostGIS Upstream-Contact: PostGIS Developers <postgis-de...@lists.osgeo.org> Source: http://download.osgeo.org/postgis/source/ +Comment: The OGC test cases are removed because they have unclear licensing, + they works are probably licesed under the OGC Document Notice which doesn't + permit modification. +Files-Excluded: extras/ogc_test_suite/* Files: astyle.sh autogen.sh diff --git a/debian/get-orig-source b/debian/get-orig-source new file mode 100755 index 0000000..1a3446c --- /dev/null +++ b/debian/get-orig-source @@ -0,0 +1,25 @@ +#!/bin/sh -x +# Repack tarball because of data files with unclear license, +# probably non-free OGC Document Notice licesed. + +set -e + +# Remark: A new uscan that enables easier handling of removing files can be +# obtained via +# git clone git://ti...@git.debian.org/git/users/tille/devscripts.git +# and then copy scripts/uscan.pl as uscan at the beginning of your PATH +if uscan --help | grep -q -- --repack-compression ; then + echo "Use new enhanced uscan" + uscan --verbose --force-download + exit +fi + +# Falling back to manually removing files + +PACKAGE=`dpkg-parsechangelog | sed -n 's/^Source: //p'` +VERSION=`dpkg-parsechangelog | sed -ne 's/^Version: \(.*\)-.*/\1/p' | sed -e 's/\+.*//'` + +uscan --verbose --force-download --no-symlink + +gunzip -c ../${PACKAGE}-${VERSION}.tar.gz | tar --delete --wildcards -vf - ${PACKAGE}-${VERSION}/extras/ogc_test_suite/\* | GZIP="--best --no-name" gzip -c > ../${PACKAGE}_${VERSION}+dfsg.orig.tar.gz + diff --git a/debian/rules b/debian/rules index ec03c3a..b7267b7 100755 --- a/debian/rules +++ b/debian/rules @@ -351,4 +351,8 @@ binary-arch: install-arch $(MAKE) -f debian/rules DH_OPTIONS=-a binary-common binary: binary-arch binary-indep + +get-orig-source: + . debian/get-orig-source + .PHONY: build clean binary-indep binary-arch binary install install-indep install-arch check debian/control -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/postgis.git _______________________________________________ Pkg-grass-devel mailing list Pkg-grass-devel@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel