diff options
-rw-r--r-- | debian/changelog | 5 | ||||
-rw-r--r-- | debian/control | 25 | ||||
-rw-r--r-- | debian/copyright | 31 | ||||
-rw-r--r-- | debian/local/registry/nftables.yaml | 7 | ||||
-rwxr-xr-x | debian/rules | 4 | ||||
-rw-r--r-- | debian/source/format | 1 | ||||
-rw-r--r-- | debian/vim-nftables.install | 6 | ||||
-rw-r--r-- | debian/watch | 3 |
8 files changed, 82 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..5dd9b28 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +vim-nftables (0.20200629-1) unstable; urgency=medium + + * Initial upload to sid. + + -- Daniel Baumann <daniel.baumann@progress-linux.org> Fri, 08 Mar 2024 22:12:06 +0100 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..f788f90 --- /dev/null +++ b/debian/control @@ -0,0 +1,25 @@ +Source: vim-nftables +Section: editors +Priority: optional +Maintainer: Daniel Baumann <daniel.baumann@progress-linux.org> +Build-Depends: + debhelper-compat (= 13), +Rules-Requires-Root: no +Standards-Version: 4.6.2 +Homepage: https://github.com/nfnty/vim-nftables +Vcs-Browser: https://git.progress-linux.org/users/daniel.baumann/debian/packages/vim-nftables +Vcs-Git: https://git.progress-linux.org/users/daniel.baumann/debian/packages/vim-nftables + +Package: vim-nftables +Section: editors +Architecture: all +Depends: + ${misc:Depends}, +Recommends: + vim-addon-manager, +Description: syntax highlighting for nftables configuration files + The vim-nftables package provides filetype detection and syntax highlighting + for nftables configuration files. + . + As per the Debian vim policy, installed addons are not activated + automatically, but the "vim-addon-manager" tool can be used for this purpose. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..c8a1a57 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,31 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: vim-nftables +Upstream-Contact: https://github.com/nfnty/vim-nftables/issues +Source: https://github.com/nfnty/vim-nftables + +Files: * +Copyright: 2015-2020 nfnty <git@nfnty.se> +License: MIT + +Files: debian/* +Copyright: 2024 Daniel Baumann <daniel.baumann@progress-linux.org> +License: MIT + +License: MIT + 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. diff --git a/debian/local/registry/nftables.yaml b/debian/local/registry/nftables.yaml new file mode 100644 index 0000000..9eb337b --- /dev/null +++ b/debian/local/registry/nftables.yaml @@ -0,0 +1,7 @@ +addon: nftables +description: "Syntax highlighting for nftables" +files: + - ftdetect/nftables.vim + - ftplugin/nftables.vim + - indent/nftables.vim + - syntax/nftables.vim diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..000210b --- /dev/null +++ b/debian/rules @@ -0,0 +1,4 @@ +#!/usr/bin/make -f + +%: + dh ${@} 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/vim-nftables.install b/debian/vim-nftables.install new file mode 100644 index 0000000..708a418 --- /dev/null +++ b/debian/vim-nftables.install @@ -0,0 +1,6 @@ +ftdetect/* /usr/share/vim/addons/ftdetect +ftplugin/* /usr/share/vim/addons/ftplugin +indent/* /usr/share/vim/addons/indent +syntax/* /usr/share/vim/addons/syntax + +debian/local/registry/* /usr/share/vim/registry diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..91a22f3 --- /dev/null +++ b/debian/watch @@ -0,0 +1,3 @@ +version=4 +opts=filenamemangle=s/.+\/v?(\d\S+)\.tar\.gz/vim-nftables-$1\.tar\.gz/ \ +https://github.com/nfnty/vim-nftables/tags .*/v?(\d\S+)\.tar\.gz |