/[gentoo-x86]/net-misc/ltsp/ltsp-4.2-r1.ebuild
Gentoo

Contents of /net-misc/ltsp/ltsp-4.2-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Tue Jul 21 13:12:57 2009 UTC (10 years, 4 months ago) by flameeyes
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +1 -1 lines
FILE REMOVED
Removal of ltsp as per schedule.

1 # Copyright 1999-2008 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-misc/ltsp/ltsp-4.2-r1.ebuild,v 1.4 2008/03/02 00:06:18 opfer Exp $
4
5 inherit eutils
6
7 IUSE="X debug nas esd audiofile snmp scanner rdesktop"
8
9 LTSP_KERNEL_VER="2.6.17.8-ltsp-1"
10
11 DESCRIPTION="Linux Terminal Server Project"
12 HOMEPAGE="http://www.ltsp.org/"
13
14 DEPEND="app-arch/tar
15 virtual/gzip"
16
17 RDEPEND="virtual/tftp
18 sys-apps/xinetd
19 || ( net-misc/dhcp net-dns/dnsmasq )
20 net-fs/nfs-utils
21 net-nds/portmap
22 dev-perl/libwww-perl"
23
24 SLOT="0"
25 LICENSE="GPL-2"
26 KEYWORDS="~amd64 x86"
27
28 SRC_URI="
29 http://ltsp.mirrors.tds.net/pub/ltsp/ltsp-4.2/ltsp-kernel-${LTSP_KERNEL_VER}-0-i386.tgz
30 http://ltsp.mirrors.tds.net/pub/ltsp/ltsp-4.2/ltsp-modules-${LTSP_KERNEL_VER}-0-i386.tgz
31
32 http://ltsp.mirrors.tds.net/pub/ltsp/ltsp-4.2/ltsp-aumix-1.1-0-i386.tgz
33 http://ltsp.mirrors.tds.net/pub/ltsp/ltsp-4.2/ltsp-bash-1.1-0-i386.tgz
34 http://ltsp.mirrors.tds.net/pub/ltsp/ltsp-4.2/ltsp-busybox-1.1-0-i386.tgz
35 http://ltsp.mirrors.tds.net/pub/ltsp/ltsp-4.2/ltsp-e2fsprogs-1.2-0-i386.tgz
36 http://ltsp.mirrors.tds.net/pub/ltsp/ltsp-4.2/ltsp-freetype-1.1-0-i386.tgz
37 http://ltsp.mirrors.tds.net/pub/ltsp/ltsp-4.2/ltsp-getltscfg-1.3-0-i386.tgz
38 http://ltsp.mirrors.tds.net/pub/ltsp/ltsp-4.2/ltsp-glibc-1.0-1-i386.tgz
39 http://ltsp.mirrors.tds.net/pub/ltsp/ltsp-4.2/ltsp-haltsys-1.1-0-i386.tgz
40 http://ltsp.mirrors.tds.net/pub/ltsp/ltsp-4.2/ltsp-lbuscd-0.6-0-i386.tgz
41 http://ltsp.mirrors.tds.net/pub/ltsp/ltsp-4.2/ltsp-libgcc_s-1.0-1-i386.tgz
42 http://ltsp.mirrors.tds.net/pub/ltsp/ltsp-4.2/ltsp-libpng-1.1-0-i386.tgz
43 http://ltsp.mirrors.tds.net/pub/ltsp/ltsp-4.2/ltsp-libusb-1.1-0-i386.tgz
44 http://ltsp.mirrors.tds.net/pub/ltsp/ltsp-4.2/ltsp-localdev-1.3-0-i386.tgz
45 http://ltsp.mirrors.tds.net/pub/ltsp/ltsp-4.2/ltsp-lp_server-1.2-0-i386.tgz
46 http://ltsp.mirrors.tds.net/pub/ltsp/ltsp-4.2/ltsp-ltspfsd-0.5-0-i386.tgz
47 http://ltsp.mirrors.tds.net/pub/ltsp/ltsp-4.2/ltsp-ltspinfod-1.2-0-i386.tgz
48 http://ltsp.mirrors.tds.net/pub/ltsp/ltsp-4.2/ltsp-ltsptree-1.17-0-i386.tgz
49 http://ltsp.mirrors.tds.net/pub/ltsp/ltsp-4.2/ltsp-module-init-tools-3.3-0-i386.tgz
50 http://ltsp.mirrors.tds.net/pub/ltsp/ltsp-4.2/ltsp-nbd-1.0-0-i386.tgz
51 http://ltsp.mirrors.tds.net/pub/ltsp/ltsp-4.2/ltsp-ncurses-1.1-0-i386.tgz
52 http://ltsp.mirrors.tds.net/pub/ltsp/ltsp-4.2/ltsp-net-tools-1.1-0-i386.tgz
53 http://ltsp.mirrors.tds.net/pub/ltsp/ltsp-4.2/ltsp-nfs-utils-1.1-0-i386.tgz
54 http://ltsp.mirrors.tds.net/pub/ltsp/ltsp-4.2/ltsp-open-1.2-0-i386.tgz
55 http://ltsp.mirrors.tds.net/pub/ltsp/ltsp-4.2/ltsp-openssl-1.1-0-i386.tgz
56 http://ltsp.mirrors.tds.net/pub/ltsp/ltsp-4.2/ltsp-pam-1.1-0-i386.tgz
57 http://ltsp.mirrors.tds.net/pub/ltsp/ltsp-4.2/ltsp-pci_scan-1.1-0-i386.tgz
58 http://ltsp.mirrors.tds.net/pub/ltsp/ltsp-4.2/ltsp-pciutils-1.0-1-i386.tgz
59 http://ltsp.mirrors.tds.net/pub/ltsp/ltsp-4.2/ltsp-perl-1.0-0-i386.tgz
60 http://ltsp.mirrors.tds.net/pub/ltsp/ltsp-4.2/ltsp-popt-1.2-0-i386.tgz
61 http://ltsp.mirrors.tds.net/pub/ltsp/ltsp-4.2/ltsp-portmap-1.1-0-i386.tgz
62 http://ltsp.mirrors.tds.net/pub/ltsp/ltsp-4.2/ltsp-prep_swap-1.1-0-i386.tgz
63 http://ltsp.mirrors.tds.net/pub/ltsp/ltsp-4.2/ltsp-ssh-1.1-0-i386.tgz
64 http://ltsp.mirrors.tds.net/pub/ltsp/ltsp-4.2/ltsp-startsess-1.2-0-i386.tgz
65 http://ltsp.mirrors.tds.net/pub/ltsp/ltsp-4.2/ltsp-sysvinit-1.1-0-i386.tgz
66 http://ltsp.mirrors.tds.net/pub/ltsp/ltsp-4.2/ltsp-tcp_wrappers-1.1-0-i386.tgz
67
68 http://ltsp.mirrors.tds.net/pub/ltsp/ltsp-4.2/ltsp-udev-1.0-0-i386.tgz
69 http://ltsp.mirrors.tds.net/pub/ltsp/ltsp-4.2/ltsp-udev-rules-1.5-0-i386.tgz
70
71 http://ltsp.mirrors.tds.net/pub/ltsp/ltsp-4.2/ltsp-util-linux-1.1-0-i386.tgz
72 http://ltsp.mirrors.tds.net/pub/ltsp/ltsp-4.2/ltsp-vidlist-1.6-0-i386.tgz
73 http://ltsp.mirrors.tds.net/pub/ltsp/ltsp-4.2/ltsp-xinetd-1.2-0-i386.tgz
74 http://ltsp.mirrors.tds.net/pub/ltsp/ltsp-4.2/ltsp-ypbind-1.1-0-i386.tgz
75 http://ltsp.mirrors.tds.net/pub/ltsp/ltsp-4.2/ltsp-zlib-1.0-1-i386.tgz
76 http://ltsp.mirrors.tds.net/pub/ltsp/utils/ltsp-utils-0.25-0.tgz
77
78 scanner? (
79 http://ltsp.mirrors.tds.net/pub/ltsp/ltsp-4.2/ltsp-sane-1.4-1-i386.tgz )
80
81 rdesktop? (
82 http://ltsp.mirrors.tds.net/pub/ltsp/ltsp-4.2/ltsp-rdesktop-1.8-0-i386.tgz )
83
84 snmp? (
85 http://ltsp.mirrors.tds.net/pub/ltsp/ltsp-4.2/ltsp-snmpd-1.1-0-i386.tgz )
86
87 debug? (
88 http://ltsp.mirrors.tds.net/pub/ltsp/ltsp-4.2/ltsp-gdb-1.1-0-i386.tgz )
89
90 X? (
91 http://ltsp.mirrors.tds.net/pub/ltsp/ltsp-4.2/ltsp-x-core-1.6-0-i386.tgz
92 http://ltsp.mirrors.tds.net/pub/ltsp/ltsp-4.2/ltsp-x-fonts-100dpi-1.6-0-i386.tgz
93 http://ltsp.mirrors.tds.net/pub/ltsp/ltsp-4.2/ltsp-x-fonts-1.6-0-i386.tgz )
94
95 audiofile? (
96 http://ltsp.mirrors.tds.net/pub/ltsp/ltsp-4.2/ltsp-audiofile-1.1-0-i386.tgz )
97
98 esd? (
99 http://ltsp.mirrors.tds.net/pub/ltsp/ltsp-4.2/ltsp-esd-1.2-0-i386.tgz )
100
101 nas? (
102 http://ltsp.mirrors.tds.net/pub/ltsp/ltsp-4.2/ltsp_nasd-1.2-0-i386.tgz )"
103
104 S="${WORKDIR}/ltsp"
105
106 src_unpack() {
107 # nothing to unpack
108 mkdir ltsp
109 cd ltsp
110
111 unpack ltsp-utils-0.25-0.tgz
112 unpack ltsp-kernel-${LTSP_KERNEL_VER}-0-i386.tgz
113 unpack ltsp-modules-${LTSP_KERNEL_VER}-0-i386.tgz
114 }
115
116 src_install() {
117
118 # core packages
119 MY_A="${A/ltsp-utils-0.25-0.tgz/}"
120 MY_A="${MY_A/ltsp-kernel-${LTSP_KERNEL_VER}.0-i386.tgz/}"
121 MY_A="${MY_A/ltsp-modules-${LTSP_KERNEL_VER}.0-i386.tgz/}"
122
123 dodir /opt/ltsp-${PV}
124 cd "${D}/opt/ltsp-${PV}"
125 unpack ${MY_A}
126
127 # kernel stuff
128 cd "${S}"
129 find i386 -print | cpio -pmud --quiet "${D}/opt/ltsp-${PV}" 2> /dev/null
130 insinto /tftpboot/lts
131 doins vmlinuz-${LTSP_KERNEL_VER}
132
133 # pxe stuff
134 insinto /tftpboot/pxe
135 doins ${LTSP_KERNEL_VER}/pxelinux.0
136
137 # pxe default config
138 insinto /tftpboot/pxelinux.cfg
139 doins ${LTSP_KERNEL_VER}/pxelinux.cfg/default
140
141 insinto /tftpboot/pxe
142 doins ${LTSP_KERNEL_VER}/initramfs.gz
143 doins ${LTSP_KERNEL_VER}/bzImage-${LTSP_KERNEL_VER}
144
145 insinto /tftpboot/pxe
146 doins "${FILESDIR}/eb-5.0.9-rtl8139.lzpxe"
147 doins "${FILESDIR}/eb-5.0.9-eepro100.lzpxe"
148 doins "${FILESDIR}/eb-5.0.9-3c905c-tpo.lzpxe"
149
150 # config stuff
151 cd ltsp-utils
152 dosbin ltspcfg
153 dodir /etc
154 echo "LTSP_DIR=/opt/ltsp-${PV}" > "${D}/etc/ltsp.conf"
155 dosbin ltspinfo
156 dosbin ltspadmin
157 cd ..
158
159 # several other stuff
160 rm -fR "${D}/usr/share/"
161 rm -fR "${D}/opt/ltsp-${PV}/i386/usr/share/aclocal"
162 }
163
164 pkg_postinst() {
165 einfo
166 einfo "Either use ltspcfg to configure your stuff, or follow the guide at gentoo.org:"
167 einfo " http://www.gentoo.org/doc/en/ltsp.xml"
168 einfo
169 einfo " NOTE: The directory containing LTSP has changed to /opt/ltsp-4.2/"
170 einfo
171 }

  ViewVC Help
Powered by ViewVC 1.1.20