diff --git a/debian/README.source b/debian/README.source new file mode 100644 index 000000000..80dcb6da5 --- /dev/null +++ b/debian/README.source @@ -0,0 +1,4 @@ +The DFSG version string is added because the /deps directory is removed from the +upstream tarball since it's not used in any part of the packaging. + + -- Russell Sim , Sat, 29 Jul 2017 18:32:25 +0200 diff --git a/debian/copyright b/debian/copyright index 3aaf1cec6..c956079e2 100644 --- a/debian/copyright +++ b/debian/copyright @@ -1,6 +1,7 @@ Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: libgit2 Source: http://libgit2.github.com/ +Files-Excluded: deps/* Files: * Copyright: 2009-2012, the libgit2 contributors @@ -14,23 +15,6 @@ Files: debian/* Copyright: 2011-2015, Russell Sim License: GPL-2+ -Files: deps/regex/* -Copyright: 1985,1989-93,1995-98,2000,2001,2002,2003,2005,2006,2008 Free Software Foundation, Inc. -License: LGPL-2.1+ - -Files: deps/zlib/* -Copyright: 1995-2010, Jean-loup Gailly - 1995-2010, Mark Adler -License: Zlib - -Files: deps/http-parser/* -Copyright: Igor Sysoev, Joyent, Inc. and other Node contributors -License: MIT+NGINX - -Files: deps/winhttp/winhttp.h -Copyright: 2007, Francois Gouget -License: LGPL-2.1+ - Files: examples/* Copyright: Public Domain License: CC0 @@ -383,32 +367,6 @@ License: MIT THE SOFTWARE. -License: MIT+NGINX - http_parser.c is based on src/http/ngx_http_parse.c from NGINX copyright - Igor Sysoev and licensed under the MIT license. - . - Additional changes are licensed under the same terms as NGINX and - copyright Joyent, Inc. and other Node contributors. All rights reserved. - . - Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to - deal in the Software without restriction, including without limitation the - rights to use, copy, modify, merge, publish, distribute, sublicense, and/or - sell copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: - . - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. - . - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING - FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS - IN THE SOFTWARE. - - License: PHP-3.01 Redistribution and use in source and binary forms, with or without modification, is permitted provided that the following conditions @@ -460,24 +418,3 @@ License: PHP-3.01 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. - - -License: Zlib - This software is provided 'as-is', without any express or implied - warranty. In no event will the authors be held liable for any damages - arising from the use of this software. - . - Permission is granted to anyone to use this software for any purpose, - including commercial applications, and to alter it and redistribute it - freely, subject to the following restrictions: - . - 1. The origin of this software must not be misrepresented; you must not - claim that you wrote the original software. If you use this software - in a product, an acknowledgment in the product documentation would be - appreciated but is not required. - 2. Altered source versions must be plainly marked as such, and must not be - misrepresented as being the original software. - 3. This notice may not be removed or altered from any source distribution. - . - Jean-loup Gailly Mark Adler - jloup@gzip.org madler@alumni.caltech.edu diff --git a/debian/dfsg_clean.sh b/debian/dfsg_clean.sh new file mode 100755 index 000000000..bda699944 --- /dev/null +++ b/debian/dfsg_clean.sh @@ -0,0 +1,3 @@ +#!/bin/bash + +rm -r deps diff --git a/debian/watch b/debian/watch index 614432a98..9e850b32d 100644 --- a/debian/watch +++ b/debian/watch @@ -1,3 +1,3 @@ version=3 -opts=filenamemangle=s/.+\/v?(\d\S*)\.tar\.gz/libgit2-$1\.tar\.gz/ \ +opts=compression=xz,repack,filenamemangle=s/.+\/v?(\d\S*)\.tar\.gz/libgit2-$1\.tar\.gz/,dversionmangle=s/\+dfsg\d*$//,repacksuffix=+dfsg.1 \ https://github.com/libgit2/libgit2/releases .*/v?([\d.]*)\.tar\.gz