summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2012-05-24 02:48:46 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2012-05-24 02:48:46 +0000
commitdf5c69e32613e64c246f809c878c89cc6a91387c (patch)
tree2167fb68f9464b2d07c0ba0935792740f446ea2b /sys-fs/mtpfs
parentMissing virtual/pkgconfig dependency wrt #415253 (diff)
downloadgentoo-2-df5c69e32613e64c246f809c878c89cc6a91387c.tar.gz
gentoo-2-df5c69e32613e64c246f809c878c89cc6a91387c.tar.bz2
gentoo-2-df5c69e32613e64c246f809c878c89cc6a91387c.zip
old
(Portage version: 2.2.0_alpha107/cvs/Linux x86_64)
Diffstat (limited to 'sys-fs/mtpfs')
-rw-r--r--sys-fs/mtpfs/ChangeLog6
-rw-r--r--sys-fs/mtpfs/files/mtpfs-0.9-overflow.patch16
-rw-r--r--sys-fs/mtpfs/mtpfs-0.9.ebuild46
3 files changed, 5 insertions, 63 deletions
diff --git a/sys-fs/mtpfs/ChangeLog b/sys-fs/mtpfs/ChangeLog
index a1ae73a1e9ca..1368fce63b64 100644
--- a/sys-fs/mtpfs/ChangeLog
+++ b/sys-fs/mtpfs/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sys-fs/mtpfs
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/mtpfs/ChangeLog,v 1.9 2012/05/24 02:47:39 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/mtpfs/ChangeLog,v 1.10 2012/05/24 02:48:45 ssuominen Exp $
+
+ 24 May 2012; Samuli Suominen <ssuominen@gentoo.org> -mtpfs-0.9.ebuild,
+ -files/mtpfs-0.9-overflow.patch:
+ old
24 May 2012; Samuli Suominen <ssuominen@gentoo.org> mtpfs-1.1.ebuild:
Missing virtual/pkgconfig dependency wrt #415253
diff --git a/sys-fs/mtpfs/files/mtpfs-0.9-overflow.patch b/sys-fs/mtpfs/files/mtpfs-0.9-overflow.patch
deleted file mode 100644
index dfc5e1576b24..000000000000
--- a/sys-fs/mtpfs/files/mtpfs-0.9-overflow.patch
+++ /dev/null
@@ -1,16 +0,0 @@
-Prevent possible overflow of destination buffer, as
-strncat appends the first num characters of source
-to destination, _plus_ a terminating null-character.
-
-Patch written by Kacper Kowalik <xarthisius@gentoo.org>
---- a/id3read.c
-+++ b/id3read.c
-@@ -269,7 +269,7 @@
- if (strlen (trackstr) == 1) {
- strcat (trackno, "0");
- }
-- strncat (trackno, trackstr, sizeof (trackno));
-+ strncat (trackno, trackstr, sizeof (trackno)-1);
- g_free (trackstr);
- g_free (posstr);
- } else {
diff --git a/sys-fs/mtpfs/mtpfs-0.9.ebuild b/sys-fs/mtpfs/mtpfs-0.9.ebuild
deleted file mode 100644
index 03395eb4c700..000000000000
--- a/sys-fs/mtpfs/mtpfs-0.9.ebuild
+++ /dev/null
@@ -1,46 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/mtpfs/mtpfs-0.9.ebuild,v 1.1 2011/06/30 10:16:21 xarthisius Exp $
-
-EAPI=4
-
-inherit base
-
-DESCRIPTION="A FUSE filesystem providing access to MTP devices"
-HOMEPAGE="http://www.adebenham.com/mtpfs/"
-SRC_URI="http://www.adebenham.com/debian/${P/-/_}.orig.tar.gz"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="debug"
-
-DEPEND="dev-libs/glib:2
- media-libs/libid3tag
- media-libs/libmad
- media-libs/libmtp
- sys-fs/fuse"
-RDEPEND="${DEPEND}"
-
-S=${WORKDIR}/${P}.orig
-
-PATCHES=( "${FILESDIR}"/${P}-overflow.patch )
-DOCS=(AUTHORS NEWS README)
-
-src_configure() {
- econf $(use_enable debug)
-}
-
-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
-}