summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris PeBenito <pebenito@gentoo.org>2003-10-19 04:00:12 +0000
committerChris PeBenito <pebenito@gentoo.org>2003-10-19 04:00:12 +0000
commit9948d52fae0eead021c6468301c8c110c5c47769 (patch)
tree1956328e1417e0d6d398cd5706eb63eba04d78cf /sys-apps/mkinitrd
parentDEPEND fix #31469 (diff)
downloadhistorical-9948d52fae0eead021c6468301c8c110c5c47769.tar.gz
historical-9948d52fae0eead021c6468301c8c110c5c47769.tar.bz2
historical-9948d52fae0eead021c6468301c8c110c5c47769.zip
Add fix for coreutils removed tail -1 behavior
Diffstat (limited to 'sys-apps/mkinitrd')
-rw-r--r--sys-apps/mkinitrd/ChangeLog7
-rw-r--r--sys-apps/mkinitrd/Manifest4
-rw-r--r--sys-apps/mkinitrd/files/digest-mkinitrd-3.5.7-r11
-rw-r--r--sys-apps/mkinitrd/mkinitrd-3.5.7-r1.ebuild47
4 files changed, 57 insertions, 2 deletions
diff --git a/sys-apps/mkinitrd/ChangeLog b/sys-apps/mkinitrd/ChangeLog
index 04e78ad98813..e683c47d1c9e 100644
--- a/sys-apps/mkinitrd/ChangeLog
+++ b/sys-apps/mkinitrd/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-apps/mkinitrd
# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/mkinitrd/ChangeLog,v 1.5 2003/10/15 21:12:40 pebenito Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/mkinitrd/ChangeLog,v 1.6 2003/10/19 04:00:10 pebenito Exp $
+
+*mkinitrd-3.5.7-r1 (18 Oct 2003)
+
+ 18 Oct 2003; Chris PeBenito <pebenito@gentoo.org> mkinitrd-3.5.7-r1.ebuild:
+ Add fix for coreutils changed tail -1 behavior.
15 Oct 2003; Chris PeBenito <pebenito@gentoo.org> mkinitrd-3.5.7.ebuild:
Fix SELinux circular dependancy
diff --git a/sys-apps/mkinitrd/Manifest b/sys-apps/mkinitrd/Manifest
index 84e1c6fc31dc..fed66ffcf092 100644
--- a/sys-apps/mkinitrd/Manifest
+++ b/sys-apps/mkinitrd/Manifest
@@ -1,5 +1,7 @@
-MD5 97269dad6d8145de7ed41459d07d9e8f ChangeLog 775
+MD5 fb3902e22a198853ff021ddac9d85e2f ChangeLog 938
MD5 17b4958b2bb0b4700e0ab8cdb753b9f6 metadata.xml 397
MD5 166f29ba80d7acdafd51cbcbed61b79a mkinitrd-3.5.7.ebuild 927
+MD5 c30cd3a38b3468cf6f0144a2dd4a99fc mkinitrd-3.5.7-r1.ebuild 1067
MD5 1a8259233cb009f44a8fe20a8aa828b5 files/digest-mkinitrd-3.5.7 66
MD5 0bc4fe62070fcfc54254d0e8c636ef32 files/mkinitrd-selinux.diff 1007
+MD5 1a8259233cb009f44a8fe20a8aa828b5 files/digest-mkinitrd-3.5.7-r1 66
diff --git a/sys-apps/mkinitrd/files/digest-mkinitrd-3.5.7-r1 b/sys-apps/mkinitrd/files/digest-mkinitrd-3.5.7-r1
new file mode 100644
index 000000000000..23b2306d4721
--- /dev/null
+++ b/sys-apps/mkinitrd/files/digest-mkinitrd-3.5.7-r1
@@ -0,0 +1 @@
+MD5 42d10a781554d8fda18b321f254e78c5 mkinitrd-3.5.7.tar.bz2 53233
diff --git a/sys-apps/mkinitrd/mkinitrd-3.5.7-r1.ebuild b/sys-apps/mkinitrd/mkinitrd-3.5.7-r1.ebuild
new file mode 100644
index 000000000000..0de728124149
--- /dev/null
+++ b/sys-apps/mkinitrd/mkinitrd-3.5.7-r1.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/mkinitrd/mkinitrd-3.5.7-r1.ebuild,v 1.1 2003/10/19 04:00:10 pebenito Exp $
+
+IUSE="selinux"
+
+DESCRIPTION="Tools for creating initrd images"
+HOMEPAGE="http://www.redhat.com"
+SRC_URI="mirror://gentoo/${P}.tar.bz2"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~ppc"
+
+DEPEND="dev-libs/popt
+ x86? ( dev-libs/dietlibc )"
+
+RDEPEND="app-shells/bash"
+
+PDEPEND="selinux? ( sys-apps/policycoreutils )"
+
+S=${WORKDIR}/${P}
+
+src_unpack() {
+ unpack ${A}
+
+ cd ${S}
+
+ # Fix for coreutils tail behavior
+ sed -i -e 's/tail -1/tail -n 1/' mkinitrd || die "sed for tail -1 failed"
+
+ # SELinux policy load
+ use selinux && epatch ${FILESDIR}/mkinitrd-selinux.diff
+}
+
+src_compile() {
+ cd ${S}/nash
+ emake || die "nash compile failed."
+
+ cd ${S}/grubby
+ emake || die "grubby compile failed."
+}
+
+src_install() {
+ into /
+ dosbin ${S}/grubby/grubby ${S}/nash/nash ${S}/mkinitrd
+ doman ${S}/grubby/grubby.8 ${S}/nash/nash.8 ${S}/mkinitrd.8
+}