aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDonnie Berkholz <donnie@supernova.(none)>2007-01-18 07:40:22 -0800
committerDonnie Berkholz <dberkholz@gentoo.org>2007-01-18 07:40:22 -0800
commit3ff64d39ba821fd2d3582c0183da6964a393d411 (patch)
tree7fbe23c3d254f904be7482d30509d39ab8c38dff /app-admin
parentlegends: bump to use loki installer (diff)
downloaddberkholz-3ff64d39ba821fd2d3582c0183da6964a393d411.tar.gz
dberkholz-3ff64d39ba821fd2d3582c0183da6964a393d411.tar.bz2
dberkholz-3ff64d39ba821fd2d3582c0183da6964a393d411.zip
Add initial, probably broken ebuild for s-c-netboot to set up PXE, TFTP, etc.
Diffstat (limited to 'app-admin')
-rw-r--r--app-admin/system-config-netboot/Manifest8
-rw-r--r--app-admin/system-config-netboot/files/digest-system-config-netboot-0.1.413
-rw-r--r--app-admin/system-config-netboot/system-config-netboot-0.1.41.ebuild57
3 files changed, 68 insertions, 0 deletions
diff --git a/app-admin/system-config-netboot/Manifest b/app-admin/system-config-netboot/Manifest
new file mode 100644
index 0000000..e2ad0d1
--- /dev/null
+++ b/app-admin/system-config-netboot/Manifest
@@ -0,0 +1,8 @@
+DIST system-config-netboot-0.1.41-1.FC6.src.rpm 800550 RMD160 e52516a2a9cdf170d15701eb300b591427ce7044 SHA1 6e37654b36813fc3da25c70419aa5e46fbf18332 SHA256 1989e9216c74ad03ca39a3e29d0d674261cc0be2c66220fa39709b3ef5b594f8
+EBUILD system-config-netboot-0.1.41.ebuild 1489 RMD160 ea275ccfaa53fd8fa84f1fa98393d72cbc92c51a SHA1 8cc85f354015f7800bad3928ed4d539e06565e23 SHA256 ee98c1c2304f689bcb74d44aefceb319eadfe2b9c1419166a8d5cd28f8e26c17
+MD5 850644288ad5868ddfaec677cb98a6f1 system-config-netboot-0.1.41.ebuild 1489
+RMD160 ea275ccfaa53fd8fa84f1fa98393d72cbc92c51a system-config-netboot-0.1.41.ebuild 1489
+SHA256 ee98c1c2304f689bcb74d44aefceb319eadfe2b9c1419166a8d5cd28f8e26c17 system-config-netboot-0.1.41.ebuild 1489
+MD5 d02b831038047c5ceb83100f475925d4 files/digest-system-config-netboot-0.1.41 307
+RMD160 b32cc61b1db22b55b3250fd1902634214412dcd9 files/digest-system-config-netboot-0.1.41 307
+SHA256 12fd956b717ab9356b89227b05f572121c42dca79e826589b4a5730de6a1d7cc files/digest-system-config-netboot-0.1.41 307
diff --git a/app-admin/system-config-netboot/files/digest-system-config-netboot-0.1.41 b/app-admin/system-config-netboot/files/digest-system-config-netboot-0.1.41
new file mode 100644
index 0000000..34289dc
--- /dev/null
+++ b/app-admin/system-config-netboot/files/digest-system-config-netboot-0.1.41
@@ -0,0 +1,3 @@
+MD5 de9411c33c29dd68978f0d40844f1695 system-config-netboot-0.1.41-1.FC6.src.rpm 800550
+RMD160 e52516a2a9cdf170d15701eb300b591427ce7044 system-config-netboot-0.1.41-1.FC6.src.rpm 800550
+SHA256 1989e9216c74ad03ca39a3e29d0d674261cc0be2c66220fa39709b3ef5b594f8 system-config-netboot-0.1.41-1.FC6.src.rpm 800550
diff --git a/app-admin/system-config-netboot/system-config-netboot-0.1.41.ebuild b/app-admin/system-config-netboot/system-config-netboot-0.1.41.ebuild
new file mode 100644
index 0000000..f0bef06
--- /dev/null
+++ b/app-admin/system-config-netboot/system-config-netboot-0.1.41.ebuild
@@ -0,0 +1,57 @@
+# 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 autotools python eutils rpm multilib
+
+# Tag for which Fedora Core version it's from
+FCVER="6"
+# Revision of the RPM. Shouldn't affect us, as we're just grabbing the source
+# tarball out of it
+RPMREV="1"
+
+DESCRIPTION="A network booting/install configuration utility"
+HOMEPAGE="http://fedora.redhat.com/projects/config-tools/"
+SRC_URI="mirror://fedora/development/source/SRPMS/${P}-${RPMREV}.FC${FCVER}.src.rpm"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~ppc ~x86"
+IUSE=""
+RDEPEND="dev-lang/python
+ =dev-python/pygtk-2*
+ =dev-python/gnome-python-2*
+ dev-python/rhpl
+ || ( net-ftp/atftp net-ftp/tftp-hpa net-ftp/netkit-tftp )"
+DEPEND="${RDEPEND}
+ sys-boot/syslinux
+ sys-devel/gettext
+ dev-util/intltool"
+
+src_unpack() {
+ rpm_src_unpack
+
+ sed -i \
+ -e "s:/lib/:/$(get_libdir)/:g" \
+ -e "s:python2.3:python:g" \
+ "${S}"/configure.in
+
+ cd "${S}"
+ eautoreconf
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+
+ fperms 644 /etc/pam.d/${PN}
+}
+
+pkg_postinst() {
+ mkdir -p ${ROOT}tftpboot/linux-install/pxelinux.cfg
+ if [ ! -e ${ROOT}tftpboot/linux-install/pxelinux.0 ]; then
+ cp -f ${ROOT}usr/$(get_libdir)/syslinux/pxelinux.0 ${ROOT}tftpboot/linux-install
+ fi
+}
+
+pkg_postrm() {
+ python_mod_cleanup /usr/share/${PN}
+}