From 512c17f4e5bc41bfaab397b82f2abd6876f45eb8 Mon Sep 17 00:00:00 2001 From: Mike Kelly Date: Thu, 11 Jan 2007 04:09:18 +0000 Subject: [PATCH] Add a patch that fixes the ftdetect script to trigger udev syntax when we edit files in the udev/rules.d directory. Thanks to Matthias Schwarzott (zzam), Bug #158365. Package-Manager: portage-2.1.2_rc4-r7 --- app-vim/udev-syntax/ChangeLog | 14 +++++++--- app-vim/udev-syntax/Manifest | 27 +++++++++++++------ .../files/digest-udev-syntax-20051016-r1 | 3 +++ .../files/udev-syntax-20051016-ftdetect.patch | 6 +++++ .../udev-syntax-20051016-r1.ebuild | 21 +++++++++++++++ 5 files changed, 60 insertions(+), 11 deletions(-) create mode 100644 app-vim/udev-syntax/files/digest-udev-syntax-20051016-r1 create mode 100644 app-vim/udev-syntax/files/udev-syntax-20051016-ftdetect.patch create mode 100644 app-vim/udev-syntax/udev-syntax-20051016-r1.ebuild diff --git a/app-vim/udev-syntax/ChangeLog b/app-vim/udev-syntax/ChangeLog index 01d16cc26286..d32ff80e711b 100644 --- a/app-vim/udev-syntax/ChangeLog +++ b/app-vim/udev-syntax/ChangeLog @@ -1,12 +1,20 @@ # ChangeLog for app-vim/udev-syntax -# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-vim/udev-syntax/ChangeLog,v 1.5 2006/11/22 06:38:16 wormo Exp $ +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-vim/udev-syntax/ChangeLog,v 1.6 2007/01/11 04:09:18 pioto Exp $ + +*udev-syntax-20051016-r1 (11 Jan 2007) + + 11 Jan 2007; Mike Kelly + +files/udev-syntax-20051016-ftdetect.patch, +udev-syntax-20051016-r1.ebuild: + Add a patch that fixes the ftdetect script to trigger udev syntax when we + edit files in the udev/rules.d directory. Thanks to Matthias Schwarzott + (zzam), Bug #158365. 22 Nov 2006; Stephanie Lockwood-Childs udev-syntax-20051016.ebuild: mark ~ppc - 07 Apr 2006; Bryan Østergaard metadata.xml: Remove ciaranm from metadata.xml. 26 Jan 2006; Andrej Kacian udev-syntax-20051016.ebuild: diff --git a/app-vim/udev-syntax/Manifest b/app-vim/udev-syntax/Manifest index 77985a970ff7..c40d222a48a9 100644 --- a/app-vim/udev-syntax/Manifest +++ b/app-vim/udev-syntax/Manifest @@ -1,15 +1,23 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 +AUX udev-syntax-20051016-ftdetect.patch 371 RMD160 c585159a10b6789963efb438d341c559c4ed56c0 SHA1 68bda22a50bc38992c1f0b5fb69e5b3f3f1cf302 SHA256 d2af0aa868209deda9b3524e576d4b9992207188e0847aa28f05d99da586236e +MD5 de7dde06d4aa554cab487708e62cc45c files/udev-syntax-20051016-ftdetect.patch 371 +RMD160 c585159a10b6789963efb438d341c559c4ed56c0 files/udev-syntax-20051016-ftdetect.patch 371 +SHA256 d2af0aa868209deda9b3524e576d4b9992207188e0847aa28f05d99da586236e files/udev-syntax-20051016-ftdetect.patch 371 DIST udev-syntax-20051016.tar.bz2 1161 RMD160 10cd19d59027a2a5197551b1ca01aba38709ed01 SHA1 d7d79f069fd81cafaaec3cd4d0c38a73f0c601f9 SHA256 32e34a163f49e68bce41dc3fe944b52bbc279399a0a422e995a9c77263316239 +EBUILD udev-syntax-20051016-r1.ebuild 722 RMD160 336c355b83a46bcac20c317efe379b73f358ef02 SHA1 2b21a22ad95f9f00bb261dd6782c79d9b2f86fae SHA256 e961c4dd0f4152f70799001a65c708a349b4a801402cb09f59f44f1d8b0a6872 +MD5 f456c7173bf0f372854e0201a03d1ea9 udev-syntax-20051016-r1.ebuild 722 +RMD160 336c355b83a46bcac20c317efe379b73f358ef02 udev-syntax-20051016-r1.ebuild 722 +SHA256 e961c4dd0f4152f70799001a65c708a349b4a801402cb09f59f44f1d8b0a6872 udev-syntax-20051016-r1.ebuild 722 EBUILD udev-syntax-20051016.ebuild 640 RMD160 3b53cefae7540792db21868f704fec7a67982c2a SHA1 a6dcf9836dc42e9e88634b324c50a746f2db7b74 SHA256 babace7b87fdbf454a8a9834fc152ea96d56ce9350e712732764e4ac536d3d27 MD5 9f84c0972d68d5ce481abb30e2990515 udev-syntax-20051016.ebuild 640 RMD160 3b53cefae7540792db21868f704fec7a67982c2a udev-syntax-20051016.ebuild 640 SHA256 babace7b87fdbf454a8a9834fc152ea96d56ce9350e712732764e4ac536d3d27 udev-syntax-20051016.ebuild 640 -MISC ChangeLog 782 RMD160 297b65ef42275061535adcbe27e6d8671a1f3832 SHA1 2e6a7abdd749243016cd3d24dda3a034abc719df SHA256 cfc82ed7eeb52292bfb7888aef8340b4b42386192878cef124c97ce75bf8d436 -MD5 3e1fc24c83a36d054a4a800a73c2e137 ChangeLog 782 -RMD160 297b65ef42275061535adcbe27e6d8671a1f3832 ChangeLog 782 -SHA256 cfc82ed7eeb52292bfb7888aef8340b4b42386192878cef124c97ce75bf8d436 ChangeLog 782 +MISC ChangeLog 1121 RMD160 86c592dc482936fa2004a7d5e27638eb5cdbb8d5 SHA1 11599ecd196a58973823631e68dae4d331285fb6 SHA256 b353bcf11ed059e973717ae3a2ab5473e66834d390fe1d5f89e256ba6848f7bc +MD5 fdf740cd7461ed750b84ff9039cc52fe ChangeLog 1121 +RMD160 86c592dc482936fa2004a7d5e27638eb5cdbb8d5 ChangeLog 1121 +SHA256 b353bcf11ed059e973717ae3a2ab5473e66834d390fe1d5f89e256ba6848f7bc ChangeLog 1121 MISC metadata.xml 255 RMD160 893691433b6dc0eb884ac927c3d779c4c777aff1 SHA1 e4e8c412943e22bc9b0cc8db8eb8e53fa4baefa0 SHA256 5a29274360d2ef08d5354a6ea136155d6e2dae41303f2c219bfce35ce15eb01e MD5 bb2a1c669bf5ce318fd323eebcbd7f5e metadata.xml 255 RMD160 893691433b6dc0eb884ac927c3d779c4c777aff1 metadata.xml 255 @@ -17,10 +25,13 @@ SHA256 5a29274360d2ef08d5354a6ea136155d6e2dae41303f2c219bfce35ce15eb01e metadata MD5 598ccc9f238dce999341ca39276397fe files/digest-udev-syntax-20051016 259 RMD160 483d5283947ac1b25bf55638aac5237715995e20 files/digest-udev-syntax-20051016 259 SHA256 aa664d3c460f52fd02cdd76bd829d7c3f9864a3ebae4f408c17d0315c0a6e99c files/digest-udev-syntax-20051016 259 +MD5 598ccc9f238dce999341ca39276397fe files/digest-udev-syntax-20051016-r1 259 +RMD160 483d5283947ac1b25bf55638aac5237715995e20 files/digest-udev-syntax-20051016-r1 259 +SHA256 aa664d3c460f52fd02cdd76bd829d7c3f9864a3ebae4f408c17d0315c0a6e99c files/digest-udev-syntax-20051016-r1 259 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.5 (GNU/Linux) +Version: GnuPG v2.0.1 (GNU/Linux) -iD8DBQFFY/TY/NoSW7FuNV8RAq2SAJ9gO8Vw9X0fzzLORan8iCTpV0kLiQCfbUnp -Nudo3FD1E83X+njcum7twbM= -=H3IV +iD4DBQFFpbh6okMzJ47YCzoRAnMiAJ49jQuttLPzeYEVjA7ehiDH5OBwLQCYri4g +lU7d36t2REy2cuxgfwAmxw== +=GYd9 -----END PGP SIGNATURE----- diff --git a/app-vim/udev-syntax/files/digest-udev-syntax-20051016-r1 b/app-vim/udev-syntax/files/digest-udev-syntax-20051016-r1 new file mode 100644 index 000000000000..cee81cd91682 --- /dev/null +++ b/app-vim/udev-syntax/files/digest-udev-syntax-20051016-r1 @@ -0,0 +1,3 @@ +MD5 6b77926ca88701bafb8dbeb17fcaacdf udev-syntax-20051016.tar.bz2 1161 +RMD160 10cd19d59027a2a5197551b1ca01aba38709ed01 udev-syntax-20051016.tar.bz2 1161 +SHA256 32e34a163f49e68bce41dc3fe944b52bbc279399a0a422e995a9c77263316239 udev-syntax-20051016.tar.bz2 1161 diff --git a/app-vim/udev-syntax/files/udev-syntax-20051016-ftdetect.patch b/app-vim/udev-syntax/files/udev-syntax-20051016-ftdetect.patch new file mode 100644 index 000000000000..3792be01ce23 --- /dev/null +++ b/app-vim/udev-syntax/files/udev-syntax-20051016-ftdetect.patch @@ -0,0 +1,6 @@ +diff -ru udev-syntax-20051016/ftdetect/udev.vim udev-syntax-20051016/ftdetect/udev.vim +--- udev-syntax-20051016/ftdetect/udev.vim 2007-01-10 16:11:32.876871120 +0100 ++++ udev-syntax-20051016/ftdetect/udev.vim 2007-01-10 16:12:04.412703024 +0100 +@@ -1,4 +1,4 @@ +-au BufNewFile,BufRead *udev.rules* set filetype=udev ++au BufNewFile,BufRead *udev/rules.d* set filetype=udev diff --git a/app-vim/udev-syntax/udev-syntax-20051016-r1.ebuild b/app-vim/udev-syntax/udev-syntax-20051016-r1.ebuild new file mode 100644 index 000000000000..fe76c53e54de --- /dev/null +++ b/app-vim/udev-syntax/udev-syntax-20051016-r1.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-vim/udev-syntax/udev-syntax-20051016-r1.ebuild,v 1.1 2007/01/11 04:09:18 pioto Exp $ + +inherit vim-plugin eutils + +DESCRIPTION="vim plugin: syntax highlighting for udev rules files" +HOMEPAGE="http://www.vim.org/scripts/script.php?script_id=1381" +LICENSE="vim" +KEYWORDS="~amd64 ~mips ~ppc ~sparc ~x86" +IUSE="" + +VIM_PLUGIN_HELPTEXT=\ +"This plugin provides syntax highlighting for udev.rules files. These files +are automatically detected by filename; manual loading is also possible, +via :set filetype=udev" + +src_unpack() { + unpack ${A} + epatch "${FILESDIR}/${P}-ftdetect.patch" +} -- 2.26.2