Re: SPECS: vim.spec - update to 7.1.236, add vim-plugin-securemodeline...

2008-02-17 Thread Elan Ruusamäe
On Saturday 16 February 2008 11:41:03 Michal Kochanowicz wrote:
 On Sat, Feb 16, 2008 at 10:31:26AM +0100, Michal Kochanowicz wrote:
  Is this a reason for which
  !-- vim: set encoding=utf-8: --
  doesn't work any more in XML files for users?

 OK, I -e --nodeps'ed this package and now it works as it should. This
 package should be optional!!

rather add the 'encoding' to whitelist and rebuild package.

it's there to secure you from malicious files which set exec, dlopen to vim 
modelines, but still have modeline enabled (upstream and other distros have 
just disabled modelines processing)

-- 
glen
___
pld-devel-en mailing list
pld-devel-en@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en


Re: SPECS: vim.spec - update to 7.1.236, add vim-plugin-securemodeline...

2008-02-17 Thread Michal Kochanowicz
On Sun, Feb 17, 2008 at 03:05:01PM +0200, Elan Ruusamäe wrote:
 it's there to secure you from malicious files which set exec, dlopen to vim 

I know what it is for. If I wanted OS to think for me I'd use Mac.

-- 
--= Michal Kochanowicz =--==--==BOFH==--==--= [EMAIL PROTECTED] =--
--= finger me for PGP public key or visit http://michal.waw.pl/PGP =--
--==--==--==--==--==-- Vodka. Connecting people.--==--==--==--==--==--
A chodzenie po górach SSIE!!!
___
pld-devel-en mailing list
pld-devel-en@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en


Re: SPECS: vim.spec - update to 7.1.236, add vim-plugin-securemodeline...

2008-02-16 Thread Michal Kochanowicz
On Mon, Feb 11, 2008 at 02:22:38PM +0200, Elan Ruusamäe wrote:
 On Sunday 10 February 2008 14:16:15 wrobell wrote:
  what is rationale behind this requirement?
 
 to make modelines like
 vim:ft=apachestyle
 
 work for root user in a secure way.
 
 i didn't want to add spec to main package (due different update timeframes), 
 therefore the new package was created.

Is this a reason for which
!-- vim: set encoding=utf-8: --
doesn't work any more in XML files for users?

-- 
--= Michal Kochanowicz =--==--==BOFH==--==--= [EMAIL PROTECTED] =--
--= finger me for PGP public key or visit http://michal.waw.pl/PGP =--
--==--==--==--==--==-- Vodka. Connecting people.--==--==--==--==--==--
A chodzenie po górach SSIE!!!
___
pld-devel-en mailing list
pld-devel-en@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en


Re: SPECS: vim.spec - update to 7.1.236, add vim-plugin-securemodeline...

2008-02-16 Thread Michal Kochanowicz
On Sat, Feb 16, 2008 at 10:31:26AM +0100, Michal Kochanowicz wrote:
 Is this a reason for which
 !-- vim: set encoding=utf-8: --
 doesn't work any more in XML files for users?

OK, I -e --nodeps'ed this package and now it works as it should. This
package should be optional!!

-- 
--= Michal Kochanowicz =--==--==BOFH==--==--= [EMAIL PROTECTED] =--
--= finger me for PGP public key or visit http://michal.waw.pl/PGP =--
--==--==--==--==--==-- Vodka. Connecting people.--==--==--==--==--==--
A chodzenie po górach SSIE!!!
___
pld-devel-en mailing list
pld-devel-en@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en