slyfox      15/08/05 21:01:09

  Modified:             ChangeLog
  Added:                mtpfs-1.1-r2.ebuild
  Log:
  Fix crash due to use uinitialised device ID, bug #556690 and fix by LE GARREC 
Vincent.
  
  (Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 
611FF3AA)

Revision  Changes    Path
1.13                 sys-fs/mtpfs/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/mtpfs/ChangeLog?rev=1.13&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/mtpfs/ChangeLog?rev=1.13&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/mtpfs/ChangeLog?r1=1.12&r2=1.13

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-fs/mtpfs/ChangeLog,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- ChangeLog   30 May 2015 22:33:27 -0000      1.12
+++ ChangeLog   5 Aug 2015 21:01:09 -0000       1.13
@@ -1,6 +1,13 @@
 # ChangeLog for sys-fs/mtpfs
 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/mtpfs/ChangeLog,v 1.12 2015/05/30 
22:33:27 slyfox Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/mtpfs/ChangeLog,v 1.13 2015/08/05 
21:01:09 slyfox Exp $
+
+*mtpfs-1.1-r2 (05 Aug 2015)
+
+  05 Aug 2015; Sergei Trofimovich <[email protected]>
+  +files/mtpfs-1.1-unitialized-variable.patch, +mtpfs-1.1-r2.ebuild:
+  Fix crash due to use uinitialised device ID, bug #556690 and fix by LE GARREC
+  Vincent.
 
 *mtpfs-1.1-r1 (30 May 2015)
 



1.1                  sys-fs/mtpfs/mtpfs-1.1-r2.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/mtpfs/mtpfs-1.1-r2.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/mtpfs/mtpfs-1.1-r2.ebuild?rev=1.1&content-type=text/plain

Index: mtpfs-1.1-r2.ebuild
===================================================================
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-fs/mtpfs/mtpfs-1.1-r2.ebuild,v 1.1 
2015/08/05 21:01:09 slyfox Exp $

EAPI=5

inherit eutils

DESCRIPTION="A FUSE filesystem providing access to MTP devices"
HOMEPAGE="http://www.adebenham.com/mtpfs/";
SRC_URI="http://www.adebenham.com/files/mtp/${P}.tar.gz";

LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="debug mad"

RDEPEND="dev-libs/glib:2
        >=media-libs/libmtp-1.1.2
        sys-fs/fuse
        mad? (
                media-libs/libid3tag
                media-libs/libmad
        )"
DEPEND="${RDEPEND}
        virtual/pkgconfig"

DOCS=(AUTHORS NEWS README)

src_prepare() {
        sed -e "/#include <string.h>/ a\
                #include <stdlib.h>" -i mtpfs.h id3read.c || die #implicit

        epatch "${FILESDIR}"/${P}-fix-mutex-crash.patch
        epatch "${FILESDIR}"/${P}-unitialized-variable.patch
}

src_configure() {
        econf $(use_enable debug) \
                $(use_enable mad)
}

pkg_postinst() {
        einfo "To mount your MTP device, issue:"
        einfo "    /usr/bin/mtpfs <mountpoint>"
        echo
        einfo "To unmount your MTP device, issue:"
        einfo "    /usr/bin/fusermount -u <mountpoint>"

        if use debug; then
                echo
                einfo "You have enabled debugging output."
                einfo "Please make sure you run mtpfs with the -d flag."
        fi
}




Reply via email to