summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2008-01-02 21:36:51 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2008-01-02 21:36:51 +0000
commit1dad2e94593c30ac5a560ba40bb662a45050b61b (patch)
tree41438843f6a84daff6e24f6fce67382a46335192 /sys-fs/mtd-utils
parentAdd support to not build with ocamlopt (diff)
downloadhistorical-1dad2e94593c30ac5a560ba40bb662a45050b61b.tar.gz
historical-1dad2e94593c30ac5a560ba40bb662a45050b61b.tar.bz2
historical-1dad2e94593c30ac5a560ba40bb662a45050b61b.zip
Version bump using a snapshot from the actual Git repo now. Also update the live ebuild to use the Git repo directly. attr/acl are totally optional now.
Package-Manager: portage-2.1.4_rc11
Diffstat (limited to 'sys-fs/mtd-utils')
-rw-r--r--sys-fs/mtd-utils/ChangeLog9
-rw-r--r--sys-fs/mtd-utils/Manifest34
-rw-r--r--sys-fs/mtd-utils/files/digest-mtd-utils-200801023
-rw-r--r--sys-fs/mtd-utils/mtd-utils-20080102.ebuild51
-rw-r--r--sys-fs/mtd-utils/mtd-utils-9999.ebuild36
5 files changed, 98 insertions, 35 deletions
diff --git a/sys-fs/mtd-utils/ChangeLog b/sys-fs/mtd-utils/ChangeLog
index c1971d4a9f60..394da26a2872 100644
--- a/sys-fs/mtd-utils/ChangeLog
+++ b/sys-fs/mtd-utils/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for sys-fs/mtd-utils
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/mtd-utils/ChangeLog,v 1.7 2008/01/01 16:24:17 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/mtd-utils/ChangeLog,v 1.8 2008/01/02 21:36:51 robbat2 Exp $
+
+*mtd-utils-20080102 (02 Jan 2008)
+
+ 02 Jan 2008; Robin H. Johnson <robbat2@gentoo.org> mtd-utils-9999.ebuild,
+ +mtd-utils-20080102.ebuild:
+ Version bump using a snapshot from the actual Git repo now. Also update the
+ live ebuild to use the Git repo directly. attr/acl are totally optional now.
01 Jan 2008; Markus Meier <maekke@gentoo.org> mtd-utils-20060907.ebuild:
x86 stable, bug #203855
diff --git a/sys-fs/mtd-utils/Manifest b/sys-fs/mtd-utils/Manifest
index bc2748a34ba7..9b171b4e031d 100644
--- a/sys-fs/mtd-utils/Manifest
+++ b/sys-fs/mtd-utils/Manifest
@@ -1,8 +1,6 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
DIST mtd-utils-snapshot-20060606.tar.bz2 103540 RMD160 16ee11616ef07e0c440417f124695a9b74fe98d9 SHA1 721a0b38c02a176052cd4b595e78dd0f71bf9caf SHA256 b745586441bb4733904b94f8e009532a100d2c6c44befbbdaa01dbc3a512f63e
DIST mtd-utils-snapshot-20060907.tar.bz2 103302 RMD160 0dadf7111b502ca508f81832ae56e8d2ea1b94f0 SHA1 b8f8b2f6db846302852a5d8a5609e7a34a86cca7 SHA256 c2e0978318fc6c7da34f1368c97e06be04abbc40e3d9a893b33b281d8f113a6a
+DIST mtd-utils-snapshot-20080102-9ba41c4dc891e38c92126bfcc4c366d765841da0.tar.gz 300364 RMD160 8b998bd23be16a389ddef7a5562547647d10aff8 SHA1 39c7c7b383ef0a2a514df649238d918ef8e3217f SHA256 01947ddd2acfbb38dc14c1a12a5c4b1727378c1aa80045295fceb51438da793d
EBUILD mtd-utils-20060606.ebuild 922 RMD160 a8e7ebe85eae574c0aeecbfc1b936984f2eee05d SHA1 8e2d96acceb4d0bc34a956e46c05960b694857ef SHA256 f759e5310891382b7344842f5d1e59b09f18425907c6a6c9be2aa3c0072fb1e6
MD5 1b333ca7b0f7aeffecc6361015d6a388 mtd-utils-20060606.ebuild 922
RMD160 a8e7ebe85eae574c0aeecbfc1b936984f2eee05d mtd-utils-20060606.ebuild 922
@@ -11,14 +9,18 @@ EBUILD mtd-utils-20060907.ebuild 1013 RMD160 cccc4a6871b832872ad8e00311229874332
MD5 e5e8dd5aacbbaed5af3eb2130b14cd5d mtd-utils-20060907.ebuild 1013
RMD160 cccc4a6871b832872ad8e003112298743322e268 mtd-utils-20060907.ebuild 1013
SHA256 bff045d4eca4b20c77219dc49424a8e2b2daf4b4042935a119a2e965855b0e4f mtd-utils-20060907.ebuild 1013
-EBUILD mtd-utils-9999.ebuild 938 RMD160 5b9d98f3505ece6e29ca214ee07477e94c4b0b0b SHA1 5d7e10f41d82b19cf9ed317ac4563bfa50fef3a5 SHA256 a31ff4c0651fabfcb1b5f205c327d1b0e4eccccfdbd51fcac40b5b255fa92a77
-MD5 4efb658892cb2a7e9fe17631fe76ddac mtd-utils-9999.ebuild 938
-RMD160 5b9d98f3505ece6e29ca214ee07477e94c4b0b0b mtd-utils-9999.ebuild 938
-SHA256 a31ff4c0651fabfcb1b5f205c327d1b0e4eccccfdbd51fcac40b5b255fa92a77 mtd-utils-9999.ebuild 938
-MISC ChangeLog 1238 RMD160 70846e35c6a795f88040acc9f43a48042a196372 SHA1 dd30a3e3218f798f1024eda057bfd6e462da06d7 SHA256 50a927b10e504c4dca9889cb5dbc0b5561d1947c7cabcf30b0ba43a8dfba3bd0
-MD5 fff88e28a297b8bfcb0ad8346a4d49bf ChangeLog 1238
-RMD160 70846e35c6a795f88040acc9f43a48042a196372 ChangeLog 1238
-SHA256 50a927b10e504c4dca9889cb5dbc0b5561d1947c7cabcf30b0ba43a8dfba3bd0 ChangeLog 1238
+EBUILD mtd-utils-20080102.ebuild 1306 RMD160 c7dba3e596c90131c94d924da196b2eb909b82f7 SHA1 ae2f49a83cab777567403a7ac5b285f0a7536784 SHA256 11882a83a8fe2b637ed051173437de5b21b677964e0d7c1606fc06a38e7a96e7
+MD5 bb33f2ce7b88581f3fd3e56a2c84e82c mtd-utils-20080102.ebuild 1306
+RMD160 c7dba3e596c90131c94d924da196b2eb909b82f7 mtd-utils-20080102.ebuild 1306
+SHA256 11882a83a8fe2b637ed051173437de5b21b677964e0d7c1606fc06a38e7a96e7 mtd-utils-20080102.ebuild 1306
+EBUILD mtd-utils-9999.ebuild 1215 RMD160 94de9087ea20b0523c7b78003784642153993779 SHA1 e4538110cce763b11bad499b3acf817dbbcafa09 SHA256 cb4e55e345351cf8a5c1f421f2f7bf367f43c68941d3cc645800ce2d47e25f3e
+MD5 6eb835f92e02ea6531571dbe47a9360e mtd-utils-9999.ebuild 1215
+RMD160 94de9087ea20b0523c7b78003784642153993779 mtd-utils-9999.ebuild 1215
+SHA256 cb4e55e345351cf8a5c1f421f2f7bf367f43c68941d3cc645800ce2d47e25f3e mtd-utils-9999.ebuild 1215
+MISC ChangeLog 1538 RMD160 b29c9470bab88f5ff651d8d528d08b393d74cb2f SHA1 5b4e941884e7db5ccfb4b417595d4abc673d76b5 SHA256 a9fd9e8763b28db9e63a61b402a319c3056090518df66cdc3f8c0f40127bf77b
+MD5 be1f250ef5cdd8c163586556e633658f ChangeLog 1538
+RMD160 b29c9470bab88f5ff651d8d528d08b393d74cb2f ChangeLog 1538
+SHA256 a9fd9e8763b28db9e63a61b402a319c3056090518df66cdc3f8c0f40127bf77b ChangeLog 1538
MISC metadata.xml 295 RMD160 288922d9558f5bd09c555f12c83c8b3790a55a86 SHA1 d23e0a94045623a3e20ef73a7fadad88511b1cba SHA256 4b0f714cce984fde1ef047457820c93edbbad45d3a856fe16984086fda182092
MD5 d883f6d443941d46cc5bd03bb2c56292 metadata.xml 295
RMD160 288922d9558f5bd09c555f12c83c8b3790a55a86 metadata.xml 295
@@ -29,13 +31,9 @@ SHA256 0243b8f674987ea1f0f61edff5152868a5a63219476dd779ee71d28d358007a2 files/di
MD5 6b64350d1aa43c06eaae6b709fcebceb files/digest-mtd-utils-20060907 286
RMD160 cbb042de657198a6095c3b5b0805c607f6d9e058 files/digest-mtd-utils-20060907 286
SHA256 063c58cf031b11eecd34bbe0b38771b363dc5767c74c5ba5c2997cc3779f399f files/digest-mtd-utils-20060907 286
+MD5 92af9f4db31b4b333cac6e7d989e5389 files/digest-mtd-utils-20080102 406
+RMD160 e558f047c252c0c87b38b171f0f6c66ea52f1a54 files/digest-mtd-utils-20080102 406
+SHA256 2ba5321906496a89a2174b15daeb19662eae8b5bb9d00ca30c584f4ecfc74e17 files/digest-mtd-utils-20080102 406
MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-mtd-utils-9999 0
RMD160 9c1185a5c5e9fc54612808977ee8f548b2258d31 files/digest-mtd-utils-9999 0
SHA256 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 files/digest-mtd-utils-9999 0
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.8 (GNU/Linux)
-
-iEYEARECAAYFAkd790wACgkQj9hvisErhMKEfQCgh0hi6gUAy/umvdyGjyZta/XN
-3O8An05fNpIl0mpFamZWdQY58wHNIzmJ
-=HB5N
------END PGP SIGNATURE-----
diff --git a/sys-fs/mtd-utils/files/digest-mtd-utils-20080102 b/sys-fs/mtd-utils/files/digest-mtd-utils-20080102
new file mode 100644
index 000000000000..bf9dd60f7502
--- /dev/null
+++ b/sys-fs/mtd-utils/files/digest-mtd-utils-20080102
@@ -0,0 +1,3 @@
+MD5 757a7d7962661a887932d894a03edc67 mtd-utils-snapshot-20080102-9ba41c4dc891e38c92126bfcc4c366d765841da0.tar.gz 300364
+RMD160 8b998bd23be16a389ddef7a5562547647d10aff8 mtd-utils-snapshot-20080102-9ba41c4dc891e38c92126bfcc4c366d765841da0.tar.gz 300364
+SHA256 01947ddd2acfbb38dc14c1a12a5c4b1727378c1aa80045295fceb51438da793d mtd-utils-snapshot-20080102-9ba41c4dc891e38c92126bfcc4c366d765841da0.tar.gz 300364
diff --git a/sys-fs/mtd-utils/mtd-utils-20080102.ebuild b/sys-fs/mtd-utils/mtd-utils-20080102.ebuild
new file mode 100644
index 000000000000..7d1a7dd6890c
--- /dev/null
+++ b/sys-fs/mtd-utils/mtd-utils-20080102.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/mtd-utils/mtd-utils-20080102.ebuild,v 1.1 2008/01/02 21:36:51 robbat2 Exp $
+
+inherit toolchain-funcs flag-o-matic
+
+DESCRIPTION="MTD userspace tools, based on GIT snapshot from upstream"
+HOMEPAGE="http://git.infradead.org/?p=mtd-utils.git;a=summary"
+
+# Git ID for the snapshot
+MY_PV="${PV}-9ba41c4dc891e38c92126bfcc4c366d765841da0"
+SRC_URI="mirror://gentoo/${PN}-snapshot-${MY_PV}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~mips ~ppc ~x86"
+IUSE="xattr"
+
+S=${WORKDIR}/${PN}.git
+
+RDEPEND="!sys-fs/mtd
+ sys-libs/zlib"
+# ACL is only required for the <sys/acl.h> header file to build mkfs.jffs2
+# And ACL brings in Attr as well.
+DEPEND="xattr? ( sys-apps/acl )
+ ${DEPEND}"
+
+src_unpack() {
+ unpack ${A}
+ sed -i.orig \
+ -e 's!^MANDIR.*!MANDIR = /usr/share/man!g' \
+ -e 's!-include.*!!g' \
+ -e '/make -C/s,make,$(MAKE),g' \
+ "${S}"/Makefile
+}
+
+src_compile() {
+ local myflags=""
+ use xattr || myflags="WITHOUT_XATTR=1"
+ emake DESTDIR="${D}" \
+ OPTFLAGS="${CFLAGS}" \
+ LDFLAGS="${LDFLAGS}" \
+ CC="$(tc-getCC)" \
+ ${myflags} || die
+}
+
+src_install() {
+ emake install DESTDIR="${D}" || die
+ dodoc *.txt
+ # TODO: check ubi-utils for docs+scripts
+}
diff --git a/sys-fs/mtd-utils/mtd-utils-9999.ebuild b/sys-fs/mtd-utils/mtd-utils-9999.ebuild
index 8e26b30cfde6..a5e81af7acaf 100644
--- a/sys-fs/mtd-utils/mtd-utils-9999.ebuild
+++ b/sys-fs/mtd-utils/mtd-utils-9999.ebuild
@@ -1,46 +1,50 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/mtd-utils/mtd-utils-9999.ebuild,v 1.1 2007/12/27 21:13:10 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/mtd-utils/mtd-utils-9999.ebuild,v 1.2 2008/01/02 21:36:51 robbat2 Exp $
ECVS_USER="anoncvs"
ECVS_PASS="anoncvs"
-ECVS_SERVER="cvs.infradead.org:/home/cvs"
-ECVS_MODULE="mtd"
-inherit toolchain-funcs flag-o-matic cvs
+EGIT_REPO_URI="git://git.infradead.org/mtd-utils.git"
+inherit toolchain-funcs flag-o-matic git
DESCRIPTION="MTD userspace tools"
-HOMEPAGE="http://sources.redhat.com/jffs2/"
+HOMEPAGE="http://git.infradead.org/?p=mtd-utils.git;a=summary"
SRC_URI=""
LICENSE="GPL-2"
SLOT="0"
KEYWORDS=""
-IUSE=""
+IUSE="xattr"
-S=${WORKDIR}/mtd/util
-
-DEPEND="!sys-fs/mtd
- sys-libs/zlib"
+RDEPEND="!sys-fs/mtd
+ sys-libs/zlib"
+# ACL is only required for the <sys/acl.h> header file to build mkfs.jffs2
+# And ACL brings in Attr as well.
+DEPEND="xattr? ( sys-apps/acl )
+ ${DEPEND}"
src_unpack() {
- cvs_src_unpack
+ git_src_unpack
sed -i \
-e 's!^MANDIR.*!MANDIR = /usr/share/man!g' \
-e 's!-include.*!!g' \
+ -e '/make -C/s,make,$(MAKE),g' \
"${S}"/Makefile
}
src_compile() {
- emake \
- CFLAGS="${CFLAGS} -I../include -Wall" \
+ local myflags=""
+ use xattr || myflags="WITHOUT_XATTR=1"
+ emake DESTDIR="${D}" \
+ OPTFLAGS="${CFLAGS}" \
LDFLAGS="${LDFLAGS}" \
CC="$(tc-getCC)" \
- DESTDIR="${D}" \
- || die
+ ${myflags} || die
}
src_install() {
emake install DESTDIR="${D}" || die
rm -r "${D}"/usr/include || die
dodoc *.txt
+ # TODO: check ubi-utils for docs+scripts
}