Commit b28b4d6d authored by Kirill Smelkov's avatar Kirill Smelkov

[4.9-debian] nxd-fuse: Initial Debianization

parent ae273c49
nxd-fuse (4.9.nxd1) stretch; urgency=medium
* Initial release.
-- Kirill Smelkov <kirr@nexedi.com> Thu, 08 Oct 2020 19:41:40 +0300
Source: nxd-fuse
Section: kernel
Priority: optional
Maintainer: Kirill Smelkov <kirr@nexedi.com>
Build-Depends:
debhelper-compat (= 12),
dkms,
Rules-Requires-Root: no
Standards-Version: 4.3.0
Homepage: https://pypi.org/project/wendelin.core
Vcs-Browser: https://lab.nexedi.com/kirr/linux
Vcs-Git: https://lab.nexedi.com/kirr/linux.git
Package: nxd-fuse-dkms
Architecture: all
# XXX depend on linux 4.9.*
Depends: ${misc:Depends}
Description: dkms source for nxd-fuse kernel module
nxd-fuse kernel module provides fuse module functionality with the following
additional features backported from recent kernels:
.
* explicit cache control (git.kernel.org/linus/ad2ba64dd489, Linux 5.2+)
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: fuse
Source: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/fs/fuse
Files: *
Copyright: Copyright(C) 2001-2019 Miklos Szeredi <miklos@szeredi.hu> et al.
License: GPL-2.0
Files: debian/*
Copyright: © 2019 Nexedi SA and Contributors.
Kirill Smelkov <kirr@nexedi.com>
License: GPL-3.0+ with wide exception for Open-Source
License: GPL-2.0+
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 <http://www.gnu.org/licenses/>
.
On Debian systems, the complete text of the GNU General
Public License version 2 can be found in "/usr/share/common-licenses/GPL-2".
License: GPL-3.0+ with wide exception for Open-Source
This program is free software: you can Use, Study, Modify and Redistribute
it under the terms of the GNU General Public License version 3, or (at your
option) any later version, as published by the Free Software Foundation.
.
You can also Link and Combine this program with other software covered by
the terms of any of the Free Software licenses or any of the Open Source
Initiative approved licenses and Convey the resulting work. Corresponding
source of such a combination shall include the source code for all other
software used.
.
This program is distributed WITHOUT ANY WARRANTY; without even the implied
warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
.
See COPYING file for full licensing terms.
See https://www.nexedi.com/licensing for rationale and options.
PACKAGE_NAME="nxd-fuse"
#PACKAGE_VERSION="4.9-nxd1" # XXX full git rev?
PACKAGE_VERSION="#MODULE_VERSION#"
BUILT_MODULE_NAME[0]="$PACKAGE_NAME"
# based on https://wiki.debian.org/KernelDKMS
MAKE[0]="make -C ${kernel_source_dir} M=${dkms_tree}/${PACKAGE_NAME}/${PACKAGE_VERSION}/build"
CLEAN="make -C ${kernel_source_dir} M=${dkms_tree}/${PACKAGE_NAME}/${PACKAGE_VERSION}/build clean"
DEST_MODULE_LOCATION[0]=/extra
REMAKE_INITRD=no
AUTOINSTALL=yes
# blacklist fuse.ko, so that nxd-fuse.ko is used instead
blacklist fuse
#!/usr/bin/make -f
#export DH_VERBOSE=1
include /usr/share/dpkg/pkg-info.mk
%:
dh $@ --with dkms
override_dh_dkms:
dh_dkms -V $(DEB_VERSION)
override_dh_install:
dh_install *.{h,c} Makefile usr/src/nxd-fuse-$(DEB_VERSION)/
# noop
override_dh_auto_configure:
override_dh_auto_build:
override_dh_auto_test:
override_dh_auto_install:
override_dh_auto_clean:
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment