tags 382772 patch
stop

---------- Forwarded message ----------
From: Alexander Chemeris <[EMAIL PROTECTED]>
Date: Thu, Nov 27, 2008 at 7:33 PM
Subject: Patch to correctly handle .ipk flavors
To: [EMAIL PROTECTED]

Attached patch file do the task, as requested by maintainer.
It processes ar-based .ipk files as deb-archives due to new
"type" rule, and processes tgz-based .ipk files as tar.gz
archives due to existing "type" rules for tgz.

Hope to see this merged to soon. It's very annoying to not
be able open ipk files.

PS ar-based ipk files are used in OpenEmbedded distribution,
which have *a lot* of users. Just for sake of clarity.

--
Regards,
Alexander Chemeris.

SIPez LLC.
SIP VoIP, IM and Presence Consulting
http://www.SIPez.com
tel: +1 (617) 273-4000
--- mc.ext.orig	2008-06-28 13:55:45.000000000 +0400
+++ mc.ext	2008-11-27 19:08:11.000000000 +0300
@@ -106,8 +106,8 @@
 
 ### Archives ###
 
-# .tgz, .tpz, .tar.gz, .tar.z, .tar.Z, .ipk
-regex/\.t([gp]?z|ar\.g?[zZ])$|\.ipk$
+# .tgz, .tpz, .tar.gz, .tar.z, .tar.Z
+regex/\.t([gp]?z|ar\.g?[zZ])$$
 	Open=%cd %p#utar
 	View=%view{ascii} gzip -dc %f 2>/dev/null | tar tvvf -
 
@@ -215,7 +215,10 @@
 	View=%view{ascii} if rpm --nosignature --version >/dev/null 2>&1; then RPM="rpm --nosignature" ; else RPM="rpm" ; fi ; $RPM -qivlp --scripts %f
 
 # deb
-regex/\.u?deb$
+#regex/\.u?deb$
+#	Open=%cd %p#deb
+#	View=%view{ascii} dpkg-deb -I %f && echo && dpkg-deb -c %f
+type/^Debian\ binary\ package
 	Open=%cd %p#deb
 	View=%view{ascii} dpkg-deb -I %f && echo && dpkg-deb -c %f
 

Reply via email to