diff options
author | Donnie Berkholz <dberkholz@gentoo.org> | 2006-11-12 23:24:21 -0800 |
---|---|---|
committer | Donnie Berkholz <dberkholz@gentoo.org> | 2006-11-12 23:24:21 -0800 |
commit | d479a387d27b7b546a6196a7ab79b14dff4086bc (patch) | |
tree | cc4f787f65eb515e54f598adfa82d7b4954230b3 /app-admin | |
parent | ltsp: add genkernel-4 to deps, even though it's not in the tree yet. (diff) | |
download | dberkholz-d479a387d27b7b546a6196a7ab79b14dff4086bc.tar.gz dberkholz-d479a387d27b7b546a6196a7ab79b14dff4086bc.tar.bz2 dberkholz-d479a387d27b7b546a6196a7ab79b14dff4086bc.zip |
Add system-config-boot; requires manual mount of /boot to work.
Diffstat (limited to 'app-admin')
4 files changed, 93 insertions, 0 deletions
diff --git a/app-admin/system-config-boot/Manifest b/app-admin/system-config-boot/Manifest new file mode 100644 index 0000000..8bbda34 --- /dev/null +++ b/app-admin/system-config-boot/Manifest @@ -0,0 +1,12 @@ +AUX 0.2.12-gentooify.patch 1063 RMD160 eb07703daf8b582300bbf8cc7b269e8133132f2e SHA1 95f699207f940bf263059c891c54e5476585c014 SHA256 ab8832c00919243a01c18a26fe84221d3a4dcb7e208e024f8d888e172f61c01e +MD5 62c3b7a35912b2851ede11c279d75537 files/0.2.12-gentooify.patch 1063 +RMD160 eb07703daf8b582300bbf8cc7b269e8133132f2e files/0.2.12-gentooify.patch 1063 +SHA256 ab8832c00919243a01c18a26fe84221d3a4dcb7e208e024f8d888e172f61c01e files/0.2.12-gentooify.patch 1063 +DIST system-config-boot-0.2.12-1.src.rpm 294297 RMD160 79081024864a9c8beba5f05fdf7c968f6fb982bc SHA1 6c45e9a325c030ad215cbac941b961eb330f33d4 SHA256 83d449fe7431616fc25382e29c742b3295886be6ec3b0fb14eb4a4788256aa26 +EBUILD system-config-boot-0.2.12.ebuild 1120 RMD160 28ee6086dda89e070dbc14c601a824518529014b SHA1 106823d905596c8f983b5b9e0e3ce768f9a3da75 SHA256 5f3ca2870905eea291352260fb1dfd46c6dfe60ddadb4607c82243e901749b68 +MD5 05560a0f3431aa9804bbaeb28db01d8d system-config-boot-0.2.12.ebuild 1120 +RMD160 28ee6086dda89e070dbc14c601a824518529014b system-config-boot-0.2.12.ebuild 1120 +SHA256 5f3ca2870905eea291352260fb1dfd46c6dfe60ddadb4607c82243e901749b68 system-config-boot-0.2.12.ebuild 1120 +MD5 cb284dbfa03675c22ec3df22e34ac5b2 files/digest-system-config-boot-0.2.12 286 +RMD160 e696bb192f43191149763a645e2a1bd53c4030a3 files/digest-system-config-boot-0.2.12 286 +SHA256 e0f7177c696bf63650d81ab7f0a20b1a39acc579e6a4fb73b5411ff34f9707ff files/digest-system-config-boot-0.2.12 286 diff --git a/app-admin/system-config-boot/files/0.2.12-gentooify.patch b/app-admin/system-config-boot/files/0.2.12-gentooify.patch new file mode 100644 index 0000000..c5b9a25 --- /dev/null +++ b/app-admin/system-config-boot/files/0.2.12-gentooify.patch @@ -0,0 +1,34 @@ +Index: src/boot_gui.py +=================================================================== +RCS file: /usr/local/CVS/redhat-config-boot/src/boot_gui.py,v +retrieving revision 1.11 +diff -u -b -B -r1.11 boot_gui.py +--- src/boot_gui.py 13 Oct 2005 07:27:20 -0000 1.11 ++++ src/boot_gui.py 13 Nov 2006 07:12:42 -0000 +@@ -106,7 +106,7 @@ + + #Read mice database + try: +- fd = open('/etc/grub.conf', 'r') ++ fd = open('/boot/grub/grub.conf', 'r') + except: + return None + pass +@@ -205,7 +205,7 @@ + def writeBootFile(self, num): + # Read grub.conf + try: +- fd = open('/etc/grub.conf', 'r') ++ fd = open('/boot/grub/grub.conf', 'r') + except: + return None + pass +@@ -254,7 +254,7 @@ + lines.append("timeout=%d\n" % timeout) + + try: +- fd = open('/etc/grub.conf', 'w') ++ fd = open('/boot/grub/grub.conf', 'w') + fd.writelines(lines) + fd.close() + except: diff --git a/app-admin/system-config-boot/files/digest-system-config-boot-0.2.12 b/app-admin/system-config-boot/files/digest-system-config-boot-0.2.12 new file mode 100644 index 0000000..92f3ef9 --- /dev/null +++ b/app-admin/system-config-boot/files/digest-system-config-boot-0.2.12 @@ -0,0 +1,3 @@ +MD5 3bdac28406982b50f8a1fdc608f8f115 system-config-boot-0.2.12-1.src.rpm 294297 +RMD160 79081024864a9c8beba5f05fdf7c968f6fb982bc system-config-boot-0.2.12-1.src.rpm 294297 +SHA256 83d449fe7431616fc25382e29c742b3295886be6ec3b0fb14eb4a4788256aa26 system-config-boot-0.2.12-1.src.rpm 294297 diff --git a/app-admin/system-config-boot/system-config-boot-0.2.12.ebuild b/app-admin/system-config-boot/system-config-boot-0.2.12.ebuild new file mode 100644 index 0000000..17847c5 --- /dev/null +++ b/app-admin/system-config-boot/system-config-boot-0.2.12.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-admin/system-config-date/system-config-date-1.8.5.ebuild,v 1.2 2006/09/05 21:53:59 dberkholz Exp $ + +inherit python eutils rpm + +# Revision of the RPM. Shouldn't affect us, as we're just grabbing the source +# tarball out of it +RPMREV="1" + +DESCRIPTION="A graphical interface for configuring the boot loader" +HOMEPAGE="http://fedora.redhat.com/projects/config-tools/" +SRC_URI="mirror://fedora/development/source/SRPMS/${P}-${RPMREV}.src.rpm" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~ppc ~x86" +IUSE="" +RDEPEND="dev-lang/python + =dev-python/pygtk-2* + =dev-python/gnome-python-2* + sys-apps/usermode + dev-python/rhpl + app-admin/firstboot" +DEPEND="${RDEPEND} + sys-devel/gettext + dev-util/intltool" + +src_unpack() { + rpm_src_unpack + cd "${S}" + epatch "${FILESDIR}"/${PV}-gentooify.patch +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + +# make_desktop_entry /usr/bin/${PN} + + fperms 644 /etc/pam.d/${PN} +} + +pkg_postrm() { + python_mod_cleanup /usr/share/${PN} +} |