Skip to content

Commit

Permalink
app-vim/vim-nftables: New package
Browse files Browse the repository at this point in the history
Copyright: Sony Interactive Entertainment Inc.
Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Patrick McLean <[email protected]>
  • Loading branch information
patrick-mclean authored and chutz committed Feb 20, 2020
1 parent 08d51a2 commit 8b03bd4
Show file tree
Hide file tree
Showing 4 changed files with 61 additions and 0 deletions.
1 change: 1 addition & 0 deletions app-vim/vim-nftables/Manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
DIST vim-nftables-0_pre20200220.tar.gz 2419 BLAKE2B 7ee16e013f0873f5bd5d1e6beb3c824eabe38b759145a20aa0c9bb16b0abbb640d10eed59ffdc77ae0b4a7091158cc6d732cdec2589886edf52a8f6574f1145e SHA512 061b4410f261ea5449c366261ff8b3fd9ab15995ab73ac2f77a6de58e0d8764a0828973cbde152eb637f4bc6a8882c56efecdda65c7ecd6ca69df4f92fd190fe
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
From e378b1484a85399032ff32d86ad2a5bde936762f Mon Sep 17 00:00:00 2001
From: adrian5 <[email protected]>
Date: Mon, 17 Feb 2020 22:13:50 +0100
Subject: [PATCH] Add icmpv6 keyword

---
syntax/nftables.vim | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/syntax/nftables.vim b/syntax/nftables.vim
index c80eb9d..d5d0e3f 100644
--- a/syntax/nftables.vim
+++ b/syntax/nftables.vim
@@ -23,7 +23,7 @@ syn keyword Function table chain
syn keyword Statement type hook
syn keyword Type ip ip6 inet arp bridge
syn keyword Type filter nat route
-syn keyword Type ether vlan arp ip ip6 tcp udp udplite sctp dccp ah esp ipcomp icmp
+syn keyword Type ether vlan arp ip ip6 tcp udp udplite sctp dccp ah esp ipcomp icmp icmpv6 igmp
syn keyword Type ct
syn keyword Type length protocol priority mark iif iifname iiftype oif oifname oiftype skuid skgid rtclassid
syn keyword Constant prerouting input forward output postrouting
11 changes: 11 additions & 0 deletions app-vim/vim-nftables/metadata.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>[email protected]</email>
<name>Patrick McLean</name>
</maintainer>
<maintainer type="project">
<email>[email protected]</email>
</maintainer>
</pkgmetadata>
27 changes: 27 additions & 0 deletions app-vim/vim-nftables/vim-nftables-0_pre20200220.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Copyright 2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

inherit vim-plugin

COMMIT_ID="aad8540ef56f495baa589f646edc1253db990f1a"

DESCRIPTION="vim plugin: "
HOMEPAGE="https://github.com/nfnty/vim-nftables"
SRC_URI="https://github.com/nfnty/${PN}/archive/${COMMIT_ID}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${PN}-${COMMIT_ID}"

LICENSE="MIT"
KEYWORDS="~amd64 ~x86"

PATCHES=(
"${FILESDIR}/vim-nftables-0_pre20200220-extra-keywords.patch"
)

src_prepare() {
default

# will install license file by default
rm LICENSE || die
}

0 comments on commit 8b03bd4

Please sign in to comment.