summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys-fs/mtd-utils/ChangeLog8
-rw-r--r--sys-fs/mtd-utils/Manifest12
-rw-r--r--sys-fs/mtd-utils/files/mtd-utils-1.4.8-install.patch32
-rw-r--r--sys-fs/mtd-utils/mtd-utils-1.4.8.ebuild67
4 files changed, 113 insertions, 6 deletions
diff --git a/sys-fs/mtd-utils/ChangeLog b/sys-fs/mtd-utils/ChangeLog
index 3d2c74cf28d2..f3a691385271 100644
--- a/sys-fs/mtd-utils/ChangeLog
+++ b/sys-fs/mtd-utils/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sys-fs/mtd-utils
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/mtd-utils/ChangeLog,v 1.48 2011/11/19 21:09:02 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/mtd-utils/ChangeLog,v 1.49 2011/11/19 21:10:01 vapier Exp $
+
+*mtd-utils-1.4.8 (19 Nov 2011)
+
+ 19 Nov 2011; Mike Frysinger <vapier@gentoo.org> +mtd-utils-1.4.8.ebuild,
+ +files/mtd-utils-1.4.8-install.patch:
+ Version bump.
07 Nov 2011; Mike Frysinger <vapier@gentoo.org> -mtd-utils-1.4.4.ebuild,
-mtd-utils-20100718.ebuild, -files/mtd-utils-20100718-ubi-parallel.patch:
diff --git a/sys-fs/mtd-utils/Manifest b/sys-fs/mtd-utils/Manifest
index c7a6cc34986d..35bf4c305e76 100644
--- a/sys-fs/mtd-utils/Manifest
+++ b/sys-fs/mtd-utils/Manifest
@@ -1,18 +1,20 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
-AUX mtd-utils-20100718-ubi-parallel.patch 743 RMD160 fe99a2726a41ff084f24aedadb11ab7de7548d19 SHA1 41c1a27cdeacb51d9f22fab29ed3bd3837c6eb37 SHA256 114314b86ba663fdcd23d32b936f37e25c6dddf4bd9ace0790b5d010837d8ed8
+AUX mtd-utils-1.4.8-install.patch 1029 RMD160 e8b310dfad3b8365ac3bdb806a4bed05a1fc09b5 SHA1 a1957bb723ec007303d1a4b8e2bd7248f2b19f2e SHA256 dc1b5455964943762ceac7afbd8a3f178a01e7a76960b8f10f882805621a1cb9
DIST mtd-utils-1.4.5.tar.gz 337279 RMD160 83f98c8b839d1ab8870d209f7f4db090bde2c03b SHA1 d3c2c1368c45d3d2de4d669b5b1072d6ff29d394 SHA256 b30d9e262f7d8ede7ad4a3bc13803d4661e36cfb4db7f687ed64afb26e93537b
DIST mtd-utils-1.4.6.tar.gz 337429 RMD160 f81976ddf1616b78267e2719d1c42a04bbeeea57 SHA1 6a4022d1176913331c38d36613395d52f6aea7df SHA256 4097db8fa5eeff0036fd899ab05e8ac75eac53e7b804c59d098200d04be70b68
+DIST mtd-utils-1.4.8.tar.gz 335568 RMD160 59ec75cffe4ea5fe8a113d1f61c4c9ece4891737 SHA1 bed0aa33e5c53adf3128da6c19adbfe59bf55ad4 SHA256 c8d291ec979824996df905f41801507aec2e6d4625bc62bc0a71411849a5d642
EBUILD mtd-utils-1.4.5.ebuild 1496 RMD160 6d541593b9031cc91338e3a8a7c36e9b58c2374f SHA1 a47d43dfa4bcb60d4f9dd6d88a323c05cdcbd05f SHA256 38cd6b9c44837ee1e19f616b7c11a8b0495c2b8bb5218f7fcc52017178bdacb6
EBUILD mtd-utils-1.4.6.ebuild 1500 RMD160 ba5ce85c7628269d95bc7df36c1e60342d75f404 SHA1 162f4dc88ac42edc8d1d1bea5bfdb9020e4335ae SHA256 deae8d655a9018533c39434c3d803ec59e89dbb462e6c1db5c3c37492b23fdec
+EBUILD mtd-utils-1.4.8.ebuild 1588 RMD160 befede26846e9ce6b1e11fe1128e26c43d0df721 SHA1 42f72be93bac1bb19dac583b0aa5144f96d927ec SHA256 47d6173161a94e1bee05a24f31fdd7aebab7fce143559785ef8cdfa667c48d1b
EBUILD mtd-utils-99999999.ebuild 1505 RMD160 e4848644af523c1fb88bd428e825f649f4b5bd53 SHA1 0693a70a40a737c293d3e5b29d9a4c145941e88a SHA256 69a4e12eb877f89e5dcdb2073e36a857bc49e977b10314c75458eac7d166d7b1
-MISC ChangeLog 6912 RMD160 989d27f40cb8dbb0adeea2cc8c04ec09b86d9885 SHA1 6c26b310dbffa3d1a1286ec08a382be0ac6ed33f SHA256 180eba42ced48c6ba5a64853001a303635909abc2f6fb627843ee0cce502fb0f
+MISC ChangeLog 7122 RMD160 72231f84cf2aa1687db387c30bdf4dad78a0771b SHA1 2eefc05d94c288a13082c311722d47182686878a SHA256 303cbdbc6eef21ec1cdfc80bc1a0b391454a70e0edb57723cec540e1860aebc0
MISC metadata.xml 224 RMD160 3490c93536e771f7e97fd66e87c92f9288bc498d SHA1 abb8fe3e21e3add963a339d5fd14c0462f990eea SHA256 6568b79b78de3a56142aa04f191b5aa81f1995a5ca27561f296350043b37b33d
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (GNU/Linux)
-iF4EAREIAAYFAk63LxwACgkQaC/OocHi7JasrgEAlaBmbeY5syCRAP7yiDC0wZQz
-RWz+d048+h3jMab5ro8A/3dvJSF6Lky6jehgbZdB63CexilhdQ8Q/DlRUZSZMcAN
-=y5kc
+iF4EAREIAAYFAk7IHAcACgkQaC/OocHi7Jb7cAD/W2O6V+kZqXBAdtt7Al877R9M
+c/uBJa9dorxWlZ35/DwA/js17/lEevxT5WOsgI9ZgzDyYtgSHj73q0H84HcSs3eC
+=6PEh
-----END PGP SIGNATURE-----
diff --git a/sys-fs/mtd-utils/files/mtd-utils-1.4.8-install.patch b/sys-fs/mtd-utils/files/mtd-utils-1.4.8-install.patch
new file mode 100644
index 000000000000..4ef55cff284c
--- /dev/null
+++ b/sys-fs/mtd-utils/files/mtd-utils-1.4.8-install.patch
@@ -0,0 +1,32 @@
+From c7e4747c1589b2d090361cb753f212a7eec5ca7f Mon Sep 17 00:00:00 2001
+From: Mike Frysinger <vapier@gentoo.org>
+Date: Sat, 19 Nov 2011 15:59:21 -0500
+Subject: [PATCH 1/2] Makefile: fix install target with out-of-tree builds
+
+The install target always looks for the compiled binaries in the working
+directory which breaks when doing something like `make CHOST=... install`.
+
+Signed-off-by: Mike Frysinger <vapier@gentoo.org>
+---
+ Makefile | 4 ++--
+ 1 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/Makefile b/Makefile
+index d0bc3d6..4b71b8f 100644
+--- a/Makefile
++++ b/Makefile
+@@ -58,9 +58,9 @@ endif
+ rm -f $(BUILDDIR)/include/version.h
+ $(MAKE) -C $(TESTS) clean
+
+-install:: ${BINS} ${SCRIPTS}
++install:: $(addprefix $(BUILDDIR)/,${BINS}) ${SCRIPTS}
+ mkdir -p ${DESTDIR}/${SBINDIR}
+- install -m 0755 ${BINS} ${SCRIPTS} ${DESTDIR}/${SBINDIR}/
++ install -m 0755 $^ ${DESTDIR}/${SBINDIR}/
+ mkdir -p ${DESTDIR}/${MANDIR}/man1
+ gzip -9c mkfs.jffs2.1 > ${DESTDIR}/${MANDIR}/man1/mkfs.jffs2.1.gz
+
+--
+1.7.6.1
+
diff --git a/sys-fs/mtd-utils/mtd-utils-1.4.8.ebuild b/sys-fs/mtd-utils/mtd-utils-1.4.8.ebuild
new file mode 100644
index 000000000000..23b5a2fdd5b4
--- /dev/null
+++ b/sys-fs/mtd-utils/mtd-utils-1.4.8.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/mtd-utils/mtd-utils-1.4.8.ebuild,v 1.1 2011/11/19 21:10:01 vapier Exp $
+
+EAPI="3"
+
+inherit eutils
+
+if [[ ${PV} == "99999999" ]] ; then
+ EGIT_REPO_URI="git://git.infradead.org/mtd-utils.git"
+
+ inherit git
+ SRC_URI=""
+ #KEYWORDS=""
+else
+ if [[ ${PV} == *.*.* ]] ; then
+ MY_PV="${PV}-*"
+ SRC_URI="http://git.infradead.org/mtd-utils.git/snapshot/v${PV}.tar.gz -> ${P}.tar.gz"
+ else
+ MY_PV="${PV}-02ae0aac87576d07202a62d11294ea55b56f450b"
+ SRC_URI="mirror://gentoo/${PN}-snapshot-${MY_PV}.tar.xz"
+ fi
+ KEYWORDS="~amd64 ~arm ~mips ~ppc ~x86 ~x86-linux"
+fi
+
+DESCRIPTION="MTD userspace tools (NFTL, JFFS2, NAND, FTL, UBI)"
+HOMEPAGE="http://git.infradead.org/?p=mtd-utils.git;a=summary"
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="xattr"
+
+# We need libuuid
+RDEPEND="!sys-fs/mtd
+ dev-libs/lzo
+ sys-libs/zlib
+ >=sys-apps/util-linux-2.16"
+# ACL is only required for the <sys/acl.h> header file to build mkfs.jffs2
+# And ACL brings in Attr as well.
+DEPEND="${RDEPEND}
+ xattr? ( sys-apps/acl )"
+
+# Diff snapshots have diff versions encoded into their dirnames
+S=${WORKDIR}/${PN}
+
+src_prepare() {
+ cd "${S}"*
+ epatch "${FILESDIR}"/${P}-install.patch
+}
+
+makeopts() {
+ echo CROSS=${CHOST}-
+ use xattr || echo WITHOUT_XATTR=1
+}
+
+src_compile() {
+ cd "${S}"*
+ emake $(makeopts) || die
+}
+
+src_install() {
+ cd "${S}"*
+ emake $(makeopts) install DESTDIR="${ED}" || die
+ dodoc *.txt
+ newdoc mkfs.ubifs/README README.mkfs.ubifs
+ # TODO: check ubi-utils for docs+scripts
+}