From 1b9f94b537bc3121d8c1547b9bf810a35640cf57 Mon Sep 17 00:00:00 2001 From: Jonathan Carter Date: Wed, 21 Aug 2019 11:14:22 +0200 Subject: [PATCH] Initial repo --- debian/.gitignore | 3 ++ debian/changelog | 5 +++ debian/control | 32 ++++++++++++++++ debian/copyright | 87 +++++++++++++++++++++++++++++++++++++++++++ debian/gbp.conf | 5 +++ debian/rules | 13 +++++++ debian/source/format | 1 + debian/source/options | 1 + debian/watch | 3 ++ 9 files changed, 150 insertions(+) create mode 100644 debian/.gitignore create mode 100644 debian/changelog create mode 100644 debian/control create mode 100644 debian/copyright create mode 100644 debian/gbp.conf create mode 100755 debian/rules create mode 100644 debian/source/format create mode 100644 debian/source/options create mode 100644 debian/watch diff --git a/debian/.gitignore b/debian/.gitignore new file mode 100644 index 0000000..04bfc77 --- /dev/null +++ b/debian/.gitignore @@ -0,0 +1,3 @@ +bcachefs-tools* +debhelper-build-stamp +files diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..2b37ee3 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +bcachefs-tools (0.1-1~exp1) experimental; urgency=medium + + * Initial Release (Closes: #935178) + + -- Jonathan Carter Tue, 20 Aug 2019 15:50:51 +0200 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..7549f9b --- /dev/null +++ b/debian/control @@ -0,0 +1,32 @@ +Source: bcachefs-tools +Maintainer: Jonathan Carter +Section: utils +Priority: optional +Standards-Version: 4.4.0 +Build-Depends: debhelper-compat (= 12), + pkg-config, + libaio-dev, + libblkid-dev, + libkeyutils-dev, + liblz4-dev, + libscrypt-dev, + libsodium-dev, + liburcu-dev, + libzstd-dev, + uuid-dev, + zlib1g-dev +Homepage: https://bcachefs.org/ +Vcs-Git: https://salsa.debian.org/jcc/bcachefs-tools.git +Vcs-Browser: https://salsa.debian.org/jcc/bcachefs-tools + +Package: bcachefs-tools +Architecture: linux-any +Depends: ${shlibs:Depends}, ${misc:Depends} +Recommends: initramfs-tools | linux-initramfs-tool +Description: bcachefs userspace tools + Userspace tools for bcachefs, a modern copy on write, checksumming, multi + device filesystem. + . + Note: The current Debian kernels do not come with bcachefs support, you + will have to use your own kernel or one provided by a 3rd party that + contains bcachefs support. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..4c63f84 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,87 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Contact: kmo@daterainc.com + linux-bcache@vger.kernel.org +Source: https://evilpiepirate.org/git/bcachefs-tools.git + +Files: * +Copyright: 2013-2019 Kent Overstreet +License: GPL-2 + +Files: bcache-super-show.c +Copyright: 2013 Gabriel de Perthuis +License: GPL-2 + +Files: bcache.c +Copyright: 1996-2001, PostgreSQL Global Development Group +License: PostgreSQL + +Files: debian/* +Copyright: 2019 Jonathan Carter + 2014 Tom Strickx , + 2014 David Mohr +License: GPL-2+ + +License: GPL-2 + This program 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; + version 2 of the License. + . + This program 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 package; if not, write to the Free + Software Foundation, Inc., 51 Franklin St, Fifth Floor, + Boston, MA 02110-1301 USA + . + On Debian systems, the full text of the GNU General Public + License version 2 can be found in the file + `/usr/share/common-licenses/GPL-2'. + +License: GPL-2+ + This program 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 program 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 package; if not, write to the Free + Software Foundation, Inc., 51 Franklin St, Fifth Floor, + Boston, MA 02110-1301 USA + . + On Debian systems, the full text of the GNU General Public + License version 2 can be found in the file + `/usr/share/common-licenses/GPL-2'. + +License: PostgreSQL + Permission to use, copy, modify, and distribute this + software and its documentation for any purpose, without fee, + and without a written agreement is hereby granted, provided + that the above copyright notice and this paragraph and the + following two paragraphs appear in all copies. + . + IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO + ANY PARTY FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR + CONSEQUENTIAL DAMAGES, INCLUDING LOST PROFITS, ARISING OUT + OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF + THE UNIVERSITY OF CALIFORNIA HAS BEEN ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + . + THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY + WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR + PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON AN "AS IS" + BASIS, AND THE UNIVERSITY OF CALIFORNIA HAS NO OBLIGATIONS + TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR + MODIFICATIONS. diff --git a/debian/gbp.conf b/debian/gbp.conf new file mode 100644 index 0000000..a347f10 --- /dev/null +++ b/debian/gbp.conf @@ -0,0 +1,5 @@ +[DEFAULT] +pristine-tar = True +upstream-tag = v%(version)s +ignore-branch = True + diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..fbaf6d4 --- /dev/null +++ b/debian/rules @@ -0,0 +1,13 @@ +#!/usr/bin/make -f + +export DEB_BUILD_MAINT_OPTIONS=hardening=+all +PREFIX := /usr + +%: + dh $@ + +override_dh_auto_install: + dh_auto_install -- "PREFIX=$(PREFIX)" + +override_dh_auto_clean: + diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/debian/source/options b/debian/source/options new file mode 100644 index 0000000..9cdf58c --- /dev/null +++ b/debian/source/options @@ -0,0 +1 @@ +tar-ignore=debian diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..a6755b1 --- /dev/null +++ b/debian/watch @@ -0,0 +1,3 @@ +version=4 +opts=filenamemangle=s/.+\/v?(\d\S+)\.tar\.gz/bcachefs-tools_$1\.tar\.gz/ \ + https://github.com/koverstreet/bcachefs-tools/tags .*/v?(\d\S+)\.tar\.gz -- 2.39.2