summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-vim/securemodelines')
-rw-r--r--app-vim/securemodelines/Manifest1
-rw-r--r--app-vim/securemodelines/metadata.xml14
-rw-r--r--app-vim/securemodelines/securemodelines-20140926.ebuild14
3 files changed, 29 insertions, 0 deletions
diff --git a/app-vim/securemodelines/Manifest b/app-vim/securemodelines/Manifest
new file mode 100644
index 000000000000..6bd693790885
--- /dev/null
+++ b/app-vim/securemodelines/Manifest
@@ -0,0 +1 @@
+DIST securemodelines-20140926.tar.bz2 1562 SHA256 57912489453596a3fceaffd8cc59c15cbf5f0b861a48add77e9c3f8649bb7947 SHA512 15a948781751998d832f445e7c3ad936e5c034fcc9936d977c5cf05215dd541a235fc066f7e774b151fac2afb2b0a59665d13f6f981cc59d4e1135f06f6cdc35 WHIRLPOOL e731692ef7c8bb25f3fb1bb936b94c140e57223f5904d3de685440bf1bba9b1ae0fc8bf2ca57cf2e732edb85233b4d15bf97bbbac550c02c621f62f4db007cc7
diff --git a/app-vim/securemodelines/metadata.xml b/app-vim/securemodelines/metadata.xml
new file mode 100644
index 000000000000..ca454fc3ec40
--- /dev/null
+++ b/app-vim/securemodelines/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>vim</herd>
+ <longdescription lang="en">
+ Vim's internal modeline support allows all sorts of annoying and
+ potentially insecure options to be set. This script implements a much
+ more heavily restricted modeline parser that permits only user-specified
+ options to be set.
+ </longdescription>
+ <upstream>
+ <remote-id type="github">ciaranm/securemodelines</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-vim/securemodelines/securemodelines-20140926.ebuild b/app-vim/securemodelines/securemodelines-20140926.ebuild
new file mode 100644
index 000000000000..b3103dd72e5b
--- /dev/null
+++ b/app-vim/securemodelines/securemodelines-20140926.ebuild
@@ -0,0 +1,14 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit vim-plugin
+
+DESCRIPTION="vim plugin: secure, user-configurable modeline support"
+HOMEPAGE="http://www.vim.org/scripts/script.php?script_id=1876 https://github.com/ciaranm/securemodelines"
+LICENSE="vim"
+KEYWORDS="alpha amd64 hppa ia64 ~mips ppc ppc64 sparc x86 ~sparc-fbsd ~x86-fbsd"
+
+VIM_PLUGIN_HELPTEXT="Make sure that you disable vim's builtin modeline support if you have
+enabled it in your .vimrc."