Patchwork mc: update to 4.8.12

login
register
mail settings
Submitter Saul Wold
Date April 28, 2014, 10:37 p.m.
Message ID <1398724677-21683-1-git-send-email-sgw@linux.intel.com>
Download mbox | patch
Permalink /patch/71167/
State New
Headers show

Comments

Saul Wold - April 28, 2014, 10:37 p.m.
Add PACKAGECONFIG for two optional plugins (smb & sftp), both require
other packages from meta-openembedded

Signed-off-by: Saul Wold <sgw@linux.intel.com>
---
 meta/recipes-extended/mc/{mc_4.8.10.bb => mc_4.8.12.bb} | 13 ++++++++++---
 1 file changed, 10 insertions(+), 3 deletions(-)
 rename meta/recipes-extended/mc/{mc_4.8.10.bb => mc_4.8.12.bb} (83%)

Patch

diff --git a/meta/recipes-extended/mc/mc_4.8.10.bb b/meta/recipes-extended/mc/mc_4.8.12.bb
similarity index 83%
rename from meta/recipes-extended/mc/mc_4.8.10.bb
rename to meta/recipes-extended/mc/mc_4.8.12.bb
index 511771a..b897193 100644
--- a/meta/recipes-extended/mc/mc_4.8.10.bb
+++ b/meta/recipes-extended/mc/mc_4.8.12.bb
@@ -8,12 +8,19 @@  RDEPENDS_${PN} = "ncurses-terminfo"
 
 SRC_URI = "http://www.midnight-commander.org/downloads/${BPN}-${PV}.tar.bz2"
 
-SRC_URI[md5sum] = "eb4bdc23abd4fdfa14911d53d65c8186"
-SRC_URI[sha256sum] = "5f4166fe78fbf4b42f51ed526ca7f79fea8c77d04355c2b97d4df2a6bd2a1b1a"
+SRC_URI[md5sum] = "a64c426364bfaee56b628f6c0738aade"
+SRC_URI[sha256sum] = "1054fcc27a488771cbe5b85d7c10135fa1cd1b7682a19930d44b51a023e39396"
 
 inherit autotools gettext pkgconfig
 
-EXTRA_OECONF = "--with-screen=ncurses --without-gpm-mouse --without-x --without-samba"
+#
+# Both Samba (smb) and sftp require package delivered from meta-openembedded
+#
+PACKAGECONFIG ??= ""
+PACKAGECONFIG[smb] = "--enable-vfs-smb,--disable-vfs-smb,samba,"
+PACKAGECONFIG[sftp] = "--enable-vfs-sftp,--disable-vfs-sftp,libssh2,"
+
+EXTRA_OECONF = "--with-screen=ncurses --without-gpm-mouse --without-x"
 
 FILES_${PN}-dbg += "${libexecdir}/mc/.debug/"