debian/0000775000000000000000000000000012252255241007170 5ustar debian/rules0000775000000000000000000000224112210131301010227 0ustar #!/usr/bin/make -f # -*- makefile -*- # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 ifndef UPVER UPVER := $(shell dpkg-parsechangelog -SVersion | cut -d- -f1 | cut -d+ -f1) endif TARDIR := node-srs-$(UPVER) TARNAME := node-srs_$(UPVER)+ds1.orig.tar %: dh $@ override_dh_install: dh_install dh_buildinfo chmod 644 $(CURDIR)/debian/node-srs/usr/lib/nodejs/srs/_srs.node override_dh_auto_configure: node-gyp configure --libzip=shared override_dh_auto_build: node-gyp build override_dh_auto_test: override_dh_shlibdeps: dpkg-shlibdeps \ -T$(CURDIR)/debian/node-srs.substvars \ $(CURDIR)/debian/node-srs/usr/lib/nodejs/srs/_srs.node override_dh_strip: strip \ --remove-section=.comment \ --remove-section=.note \ --strip-unneeded \ $(CURDIR)/debian/node-srs/usr/lib/nodejs/srs/_srs.node get-orig-source: mkdir -p ../tarballs uscan \ --verbose \ --download-version $(UPVER) \ --force-download \ --destdir ../tarballs \ --rename tar xvf ../tarballs/node-srs_$(UPVER).orig.tar.gz @echo Repackaging rm -rf $(TARDIR)/lib/srs_data tar cf $(TARNAME) $(TARDIR)/ rm -rf $(TARDIR)/ gzip -9 $(TARNAME) mv $(TARNAME).gz ../tarballs/ debian/watch0000664000000000000000000000027112210127711010213 0ustar version=3 opts=filenamemangle=s/.*\/v?([\d\.-]+)\.tar\.gz/node-srs-$1.tar.gz/,dversionmangle=s/\+ds[\d]*$// \ https://github.com/springmeyer/node-srs/tags .*/archive/v?([\d\.]+).tar.gz debian/changelog0000664000000000000000000000263212252255241011045 0ustar node-srs (0.3.2+ds1-1build1) trusty; urgency=low * No-change rebuild for libgdal1 -> libgdal1h transition. -- Logan Rosen Thu, 12 Dec 2013 01:41:23 -0500 node-srs (0.3.2+ds1-1) unstable; urgency=low * Upstream update * Standards-Version 3.9.4 * Build using node-gyp, not nodejs-dev (Closes: #719389) * Tighten dependency on libgdal >= 1.9.0~ because data files path depend on it. * DFSG-exclude only lib/srs_data which contains some files with unclear copyright. See #721343. * Symlink lib/srs_data to /usr/share/gdal/1.9 which contains the same files and more. * Add Source field in copyright, explain exclusions there * Canonicalize Vcs fields * Use dh 9 for hardening * Watch github directly * Remove unneeded patches, add 2001 patch to fix package.json require path. -- Jérémy Lal Fri, 30 Aug 2013 17:09:29 +0200 node-srs (0.2.12+ds1-1) unstable; urgency=low * New upstream version * Standards-Version bump to 3.9.3, no changes needed * Update debian/copyright -- David Paleino Thu, 22 Mar 2012 22:48:18 +0100 node-srs (0.2.11+ds1-1) unstable; urgency=low * New upstream version -- David Paleino Wed, 16 Nov 2011 22:55:41 +0100 node-srs (0.2.9+ds1-1) unstable; urgency=low * Initial release (Closes: #646392) -- David Paleino Sun, 23 Oct 2011 22:03:36 +0200 debian/compat0000664000000000000000000000000212210127711010360 0ustar 9 debian/copyright0000664000000000000000000000534712210127711011126 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Source: https://github.com/springmeyer/node-srs Repackaged to exclude some non-DFSG files (see #721343) ./lib/srs_data/cubewerx_extra.wkt ./lib/srs_data/ecw_cs.dat ./lib/srs_data/esri_extra.wkt Conveniently, remove all ./lib/srs_data and instead a symlink to gdal data files is made at install time. Files: * Copyright: © 2011, Dane Springmeyer License: BSD-3-clause Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: . * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * Neither the name of the author nor the names of other contributors may be used to endorse or promote products derived from this software without specific prior written permission. . THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Files: debian/* Copyright: © 2011-2012, David Paleino License: GPL-2+ This package is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. . This package is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . You should have received a copy of the GNU General Public License along with this program. If not, see . On Debian systems, the complete text of the GNU General Public License version 2 can be found in "/usr/share/common-licenses/GPL-2". debian/source/0000775000000000000000000000000012210127605010464 5ustar debian/source/format0000664000000000000000000000001412210127605011672 0ustar 3.0 (quilt) debian/links0000664000000000000000000000005712210130316010222 0ustar usr/share/gdal/1.9 usr/lib/nodejs/srs/srs_data debian/install0000664000000000000000000000007112210131505010545 0ustar lib/* usr/lib/nodejs/srs package.json usr/lib/nodejs/srs debian/control0000664000000000000000000000141712210132523010565 0ustar Source: node-srs Section: science Priority: extra Maintainer: Debian Javascript Maintainers Uploaders: David Paleino , Jérémy Lal Build-Depends: debhelper (>= 9~) , dh-buildinfo , node-gyp , libgdal1-dev (>= 1.9.0~) Standards-Version: 3.9.4 Homepage: https://github.com/springmeyer/node-srs Vcs-Git: git://anoncm.debian.org/collab-maint/node-srs.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/node-srs.git Package: node-srs Architecture: any Depends: ${shlibs:Depends} , ${misc:Depends} , nodejs Description: spatial reference library for Node.js node-srs provides a spatial reference library for Node.js . Node.js is an event-based server-side javascript engine. debian/docs0000664000000000000000000000001212210127605010030 0ustar README.md debian/patches/0000775000000000000000000000000012210131634010610 5ustar debian/patches/series0000664000000000000000000000003012210131532012013 0ustar 2001_package_path.patch debian/patches/2001_package_path.patch0000664000000000000000000000056312210131634014706 0ustar Description: fix package.json require path Author: Jérémy Lal Forwarded: not-needed Last-Update: 2013-08-30 --- a/lib/srs.js +++ b/lib/srs.js @@ -6,7 +6,7 @@ var _settings = require('./settings'); } -exports.version = require('../package').version; +exports.version = require('./package').version; /* This is a custom srs definition for