Version bump, cleanup old ebuild
authorStratos Psomadakis <psomas@gentoo.org>
Thu, 25 Aug 2011 09:26:11 +0000 (09:26 +0000)
committerStratos Psomadakis <psomas@gentoo.org>
Thu, 25 Aug 2011 09:26:11 +0000 (09:26 +0000)
Package-Manager: portage-2.1.10.3/cvs/Linux i686

sys-kernel/mm-sources/ChangeLog
sys-kernel/mm-sources/metadata.xml
sys-kernel/mm-sources/mm-sources-2.6.28_rc2-r1.ebuild [deleted file]
sys-kernel/mm-sources/mm-sources-3.1_rc3.ebuild [new file with mode: 0644]

index eb77b5c37d9aa677ec5b19e150eaeacd216c48c9..87a630951eef6940303faa5f5d516d42005b8089 100644 (file)
@@ -1,6 +1,12 @@
 # ChangeLog for sys-kernel/mm-sources
 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-kernel/mm-sources/ChangeLog,v 1.379 2011/08/17 15:25:25 psomas Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/mm-sources/ChangeLog,v 1.380 2011/08/25 09:26:10 psomas Exp $
+
+*mm-sources-3.1_rc3 (25 Aug 2011)
+
+  25 Aug 2011; Stratos Psomadakis <psomas@gentoo.org>
+  -mm-sources-2.6.28_rc2-r1.ebuild, +mm-sources-3.1_rc3.ebuild:
+  Version bump, and cleanup old ebuild
 
 *mm-sources-3.0 (17 Aug 2011)
 
index 5ccace1fbc6d0856e82eb3c3b564290822caaf32..a37fbaca92b30bf9111d27aa469511e8a5331404 100644 (file)
@@ -10,7 +10,4 @@
                Andrew Morton's patchset for 2.6. It contains experimental features,
                cleanups, and other interesting patches.
        </longdescription>
-       <use>
-               <flag name='deblob'>Remove binary blobs from kernel sources to provide libre license compliance.</flag>
-       </use>
 </pkgmetadata>
diff --git a/sys-kernel/mm-sources/mm-sources-2.6.28_rc2-r1.ebuild b/sys-kernel/mm-sources/mm-sources-2.6.28_rc2-r1.ebuild
deleted file mode 100644 (file)
index c788826..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-kernel/mm-sources/mm-sources-2.6.28_rc2-r1.ebuild,v 1.1 2008/10/30 10:12:30 voxus Exp $
-
-K_PREPATCHED="yes"
-UNIPATCH_STRICTORDER="yes"
-K_SECURITY_UNSUPPORTED="1"
-
-ETYPE="sources"
-inherit kernel-2
-detect_version
-UNIPATCH_LIST="${DISTDIR}/${KV_FULL}.bz2"
-K_NOSETEXTRAVERSION="don't_set_it"
-
-DESCRIPTION="Andrew Morton's kernel, mostly fixes for 2.6 vanilla, some vm stuff too"
-SRC_URI="${KERNEL_URI} mirror://kernel/linux/kernel/people/akpm/patches/2.6/${KV/-mm*/}/${KV}/${KV}.bz2"
-
-KEYWORDS="-* ~amd64 ~ppc ~ppc64 ~x86"
-IUSE=""
-
-K_EXTRAEINFO="This kernel is not supported by Gentoo due to its unstable and
-experimental nature. If you have any issues, try a matching vanilla-sources
-ebuild -- if the problem persists there, please file a bug at http://bugme.osdl.org.
-If the problem only occurs with mm-sources then please contact Andrew Morton to
-get your issue resolved."
diff --git a/sys-kernel/mm-sources/mm-sources-3.1_rc3.ebuild b/sys-kernel/mm-sources/mm-sources-3.1_rc3.ebuild
new file mode 100644 (file)
index 0000000..92de5eb
--- /dev/null
@@ -0,0 +1,52 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/mm-sources/mm-sources-3.1_rc3.ebuild,v 1.1 2011/08/25 09:26:11 psomas Exp $
+
+EAPI=4
+
+K_SECURITY_UNSUPPORTED="yes"
+K_DEBLOB_AVAILABLE=0
+
+ETYPE="sources"
+
+inherit kernel-2 eutils
+detect_version
+
+K_NOSETEXTRAVERSION="don't_set_it"
+
+DESCRIPTION="Andrew Morton's -mmotm quilt patchset"
+HOMEPAGE="http://userweb.kernel.org/~akpm/mmotm/"
+
+PATCHSET_URI="http://userweb.kernel.org/~akpm/mmotm/broken-out.tar.gz ->
+broken-out-${PV}.tar.gz"
+SRC_URI="${KERNEL_URI} ${PATCHSET_URI}"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="dev-util/quilt"
+RDEPEND="${DEPEND}"
+
+pkg_setup() {
+       ewarn
+       ewarn "${PN} are *not* supported by the Gentoo Kernel Project in any way."
+       ewarn "Do *not* open bugs at Gentoo bugzilla, unless you have issues with"
+       ewarn "the ebuilds."
+       ewarn
+       kernel-2_pkg_setup
+}
+
+src_unpack() {
+       kernel-2_src_unpack
+       unpack broken-out-${PV}.tar.gz
+}
+
+src_prepare() {
+       einfo "Moving -mmotm quilt patchset to patches/"
+       mv broken-out patches || die "Unable to move -mmotm patchset to patches/"
+
+       einfo "Pushing -mmotm quilt patchset."
+       quilt push -aq  --leave-rejects || die "Unable to apply -mmotm quilt patchset. See the *.rej files in ${S} for more infomation."
+}