--- /dev/null
+Enable rust build, which is currently disabled in debian/rule
+with NO_RUST=true.
+
+Dependencies available in Debian: librust-byteorder-dev librust-rpassword-dev
+librust-either-dev librust-errno-dev librust-itertools-dev librust-getset-dev
+librust-uuid-dev librust-libudev-dev librust-libc-dev librust-anyhow-dev
+librust-clap-dev librust-colored-dev librust-chrono-dev librust-log-dev
+librust-atty-dev
+
+Missing dependencies: librust-gag-dev librust-parse-display-dev
+librust-bch-bindgen-dev
set -e
-#DEBHELPER#
-
case "$1" in
configure)
if which update-initramfs >/dev/null; then
set -e
-#DEBHELPER#
-
case "$1" in
remove)
if which update-initramfs >/dev/null; then
--- /dev/null
+activate update-initramfs
-bcachefs-tools (1.0.8-2~bpo8+1) jessie-backports; urgency=medium
+bcachefs-tools (24+really1.3.4-2) unstable; urgency=medium
- * Rebuild for jessie-backports.
+ * Upload to unstable
- -- Mathieu Parent <sathieu@debian.org> Mon, 21 Sep 2015 21:18:39 +0200
+ -- Jonathan Carter <jcc@debian.org> Wed, 03 Jan 2024 17:06:16 +0200
-bcachefs-tools (1.0.8-2) unstable; urgency=medium
+bcachefs-tools (24+really1.3.4-2~exp1) experimental; urgency=medium
- * Only run update-initramfs if installed. Fix dracut. (Closes: #788442)
+ [ Chris Hofstaedtler ]
+ * Non-maintainer upload.
+ * Install files into /usr instead of /. (Closes: #1059373)
- -- David Mohr <david@mcbf.net> Thu, 11 Jun 2015 10:23:48 -0600
+ [ Jonathan Carter ]
+ * Do not install bcachefs.mount symlink (Closes: #1057295)
-bcachefs-tools (1.0.8-1) unstable; urgency=medium
+ -- Jonathan Carter <jcc@debian.org> Wed, 27 Dec 2023 19:22:06 +0200
- [ James Page ]
- * d/control: Add Vcs fields.
+bcachefs-tools (24+really1.3.4-1) unstable; urgency=medium
- [ David Mohr ]
- * Don't depend on initramfs-tools, instead recommend it (Closes: #775674)
- * New upstream release 1.0.8
- * Update changelog
- * Add patch to clean bcache-register
- * Update changelog
- * Adding dep3 headers to the 0001 patch
- * Update watch to use http://evilpiepirate.org/git/bcache-tools.git
- * Add patch for gcc-5 compatability.
- Thanks to James Cowgill (Closes: #777798)
+ * New upstream release
- -- David Mohr <david@mcbf.net> Tue, 26 May 2015 20:57:58 -0600
+ -- Jonathan Carter <jcc@debian.org> Tue, 21 Nov 2023 17:26:13 +0200
-bcachefs-tools (1.0.7-1) unstable; urgency=medium
+bcachefs-tools (24+really1.2-1) unstable; urgency=medium
- [ David Mohr ]
- * Based on work by Gabriel de Perthuis <g2p.code+debian@gmail.com>
- * Initial release. (Closes: #708132)
+ * New upstream release (Closes: #1054613)
+ * Disable new rust build
+ (dependencies currently unavailable in Debian, see debian/README.todo)
+ * Remove unneeded override_dh_auto_clean from debian/rules
+ (Closes: #1043654)
- [ Robie Basak ]
- * Remove unnecessary file bcache-tools.postrm.
- * debian/copyright fixes.
- * Add shebang to bcache-tools.preinst.
- * Drop Vcs-* for now.
- * Add self to Uploaders.
+ -- Jonathan Carter <jcc@debian.org> Thu, 28 Sep 2023 19:54:47 +0200
- -- Robie Basak <robie@justgohome.co.uk> Mon, 27 Oct 2014 13:32:08 +0000
+bcachefs-tools (24-1) unstable; urgency=medium
+
+ * New upstream release
+
+ -- Jonathan Carter <jcc@debian.org> Tue, 29 Nov 2022 09:40:27 +0200
+
+bcachefs-tools (23-1) unstable; urgency=medium
+
+ * New upstream release
+ * Update standards version to 4.6.1
+
+ -- Jonathan Carter <jcc@debian.org> Mon, 31 Oct 2022 11:45:25 +0200
+
+bcachefs-tools (0.1+git20220216.a1e928a-1) unstable; urgency=medium
+
+ * New upstream snapshot
+ * Grab patch from Ubuntu to reduce memory on amd64 builders
+ (http://launchpadlibrarian.net/580140160/bcachefs-tools_0.1+git20210805.6c42566-2_0.1+git20210805.6c42566-2ubuntu1.diff.gz)
+ * Update copyright years
+
+ -- Jonathan Carter <jcc@debian.org> Wed, 16 Feb 2022 14:42:20 +0200
+
+bcachefs-tools (0.1+git20210805.6c42566-2) unstable; urgency=medium
+
+ * Remove valgrind as build-dependency, seems unneeded unless
+ doing debug work and is not available on all architectures.
+
+ -- Jonathan Carter <jcc@debian.org> Fri, 03 Sep 2021 16:07:11 +0200
+
+bcachefs-tools (0.1+git20210805.6c42566-1) unstable; urgency=medium
+
+ * New upstream snapshot
+ * Update standards version to 4.6.0
+ * Add python3-docutils as dependency
+ * Do not run tests at package build time
+
+ -- Jonathan Carter <jcc@debian.org> Tue, 06 Apr 2021 15:11:27 +0200
+
+bcachefs-tools (0.1+git20201025.742dbbdb-1) unstable; urgency=medium
+
+ * New upstream snapshot
+
+ -- Jonathan Carter <jcc@debian.org> Mon, 26 Oct 2020 08:45:37 +0200
+
+bcachefs-tools (0.1+git20201017.8a4408-1~exp1) unstable; urgency=medium
+
+ * New upstream release
+ * Bump debhelper-compat to 13
+ * Update standards version to 4.5.0
+ * Declare Rules-Requires-Root: no
+ * debian/copyright:
+ - Update copyright years
+ - Update copyright owners
+ - Add intel and ccan copyright
+ * Add build-dep on libudev-dev, python3-pytest and valgrind
+
+ -- Jonathan Carter <jcc@debian.org> Sun, 18 Oct 2020 17:29:27 +0200
+
+bcachefs-tools (0.1+git20190829.aa2a42b-1~exp1) experimental; urgency=medium
+
+ * Initial Release (Closes: #935178)
+
+ -- Jonathan Carter <jcc@debian.org> Mon, 16 Sep 2019 10:36:04 +0000
Source: bcachefs-tools
-Maintainer: Kent Overstreet <kent.overstreet@gmail.com>
+Maintainer: Jonathan Carter <jcc@debian.org>
Section: utils
Priority: optional
-Standards-Version: 3.9.5
-Build-Depends: debhelper (>= 9), dh-python, pkg-config, libaio-dev, libblkid-dev,
- libkeyutils-dev, liblz4-dev, libsodium-dev, liburcu-dev, libudev-dev,
- libzstd-dev, uuid-dev, zlib1g-dev, python3, python3-docutils,
- rustc, cargo, llvm, clang, libclang-dev, systemd, udev
+Standards-Version: 4.6.1
+Rules-Requires-Root: no
+Build-Depends: debhelper-compat (= 13),
+ cargo,
+ pkg-config,
+ python3-docutils,
+ python3-pytest,
+ libaio-dev,
+ libfuse3-dev,
+ libblkid-dev,
+ libkeyutils-dev,
+ liblz4-dev,
+ libscrypt-dev,
+ libsodium-dev,
+ libudev-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}, ${python3:Depends}
+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.
-Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
-Upstream-Contact: kent.overstreet@gmail.com
- linux-bcachefs@vger.kernel.org
+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 Kent Overstreet <kmo@daterainc.com>
+Copyright: 2013-2022 Kent Overstreet <kmo@daterainc.com>
+ 2013 Gabriel de Perthuis <g2p.code@gmail.com>
+ 2008 Intel Corporation <willy@linux.intel.com>
License: GPL-2
-Files: bcache-super-show.c
-Copyright: 2013 Gabriel de Perthuis <g2p.code@gmail.com>
-License: GPL-2
+Files: ccan/*
+Copyright: Copyright waived
+License: cc0-1.0
+ On Debian systems, the complete text of the Creative Commons CC0 1.0
+ Universal license (CC0-1.0) can be found in
+ "/usr/share/common-licenses/CC0-1.0".
-Files: bcache.c
-Copyright: 1996-2001, PostgreSQL Global Development Group
-License: PostgreSQL
+Files: ccan/darray/*
+Copyright: 2011 Joseph Adams <joeyadams3.14159@gmail.com>
+License: expat
+ 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.
Files: debian/*
-Copyright: 2014 Tom Strickx <tstrickx@rootcu.be>,
+Copyright: 2019-2022 Jonathan Carter <jcc@debian.org>
+ 2014 Tom Strickx <tstrickx@rootcu.be>,
2014 David Mohr <david@mcbf.net>
License: GPL-2+
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.
--- /dev/null
+Description: do not install mount.bcachefs symlink
+Bug-Debian: https://bugs.debian.org/1059373
+Last-Update: 2023-12-27
+
+--- bcachefs-tools-24+really1.3.4.orig/Makefile
++++ bcachefs-tools-24+really1.3.4/Makefile
+@@ -159,7 +159,8 @@ install: bcachefs
+ $(INSTALL) -m0755 -D initramfs/hook $(DESTDIR)$(INITRAMFS_HOOK)
+ $(LN) -sfr $(DESTDIR)$(ROOT_SBINDIR)/bcachefs $(DESTDIR)$(ROOT_SBINDIR)/mkfs.bcachefs
+ $(LN) -sfr $(DESTDIR)$(ROOT_SBINDIR)/bcachefs $(DESTDIR)$(ROOT_SBINDIR)/fsck.bcachefs
+- $(LN) -sfr $(DESTDIR)$(ROOT_SBINDIR)/bcachefs $(DESTDIR)$(ROOT_SBINDIR)/mount.bcachefs
++ # See: #1057295
++ # $(LN) -sfr $(DESTDIR)$(ROOT_SBINDIR)/bcachefs $(DESTDIR)$(ROOT_SBINDIR)/mount.bcachefs
+ $(LN) -sfr $(DESTDIR)$(ROOT_SBINDIR)/bcachefs $(DESTDIR)$(ROOT_SBINDIR)/mkfs.fuse.bcachefs
+ $(LN) -sfr $(DESTDIR)$(ROOT_SBINDIR)/bcachefs $(DESTDIR)$(ROOT_SBINDIR)/fsck.fuse.bcachefs
+ $(LN) -sfr $(DESTDIR)$(ROOT_SBINDIR)/bcachefs $(DESTDIR)$(ROOT_SBINDIR)/mount.fuse.bcachefs
--- /dev/null
+do-not-install-mount-symlink
#!/usr/bin/make -f
+export DEB_BUILD_MAINT_OPTIONS=hardening=+all
+# Do not build rust code (dependencies currently unmet)
+export NO_RUST=-true
+
PREFIX := /usr
+ROOT_SBINDIR := /usr/sbin
+
+DEB_BUILD_ARCH ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH)
+
+
+ifeq ($(DEB_BUILD_ARCH),amd64)
+ DEB_BUILD_MAINT_OPTIONS += optimize=-lto
+endif
%:
- dh $@ --with python3
+ dh $@
override_dh_auto_install:
- dh_auto_install -- "PREFIX=$(PREFIX)"
+ dh_auto_install -- "PREFIX=$(PREFIX)" "ROOT_SBINDIR=$(ROOT_SBINDIR)"
+
+override_dh_auto_test:
--- /dev/null
+3.0 (quilt)