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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.12 - (show annotations) (download)
Tue Jan 30 08:30:32 2007 UTC (12 years, 10 months ago) by opfer
Branch: MAIN
CVS Tags: HEAD
Changes since 1.11: +1 -1 lines
FILE REMOVED
clean up
(Portage version: 2.1.1-r2)
 (Signed Manifest commit)

1 # Copyright 1999-2005 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.1-r1.ebuild,v 1.11 2005/07/09 17:09:11 swegener Exp $
4
5 IUSE="X debug nas esd audiofile snmp"
6
7 DESCRIPTION="LTSP - Linux Terminal Server Project"
8 HOMEPAGE="http://www.ltsp.org/"
9
10 DEPEND="app-arch/tar
11 virtual/gzip"
12
13 RDEPEND="X? ( virtual/x11 )
14 virtual/tftp
15 sys-apps/xinetd
16 net-misc/dhcp
17 net-fs/nfs-utils
18 net-nds/portmap
19 dev-perl/libwww-perl"
20
21 SLOT="0"
22 LICENSE="GPL-2"
23 KEYWORDS="x86 ~amd64"
24
25 SRC_URI="
26 http://www.ltsp.org/ltsp-4.1/ltsp-ltsptree-1.7-0-i386.tgz
27 http://www.ltsp.org/ltsp-4.1/ltsp-glibc-1.0-0-i386.tgz
28 http://www.ltsp.org/ltsp-4.1/ltsp-sysvinit-1.0-0-i386.tgz
29 http://www.ltsp.org/ltsp-4.1/ltsp-popt-1.1-0-i386.tgz
30 http://www.ltsp.org/ltsp-4.1/ltsp-bash-1.0-0-i386.tgz
31 http://www.ltsp.org/ltsp-4.1/ltsp-busybox-1.0-0-i386.tgz
32 http://www.ltsp.org/ltsp-4.1/ltsp-devfsd-1.0-0-i386.tgz
33 http://www.ltsp.org/ltsp-4.1/ltsp-getltscfg-1.2-0-i386.tgz
34 http://www.ltsp.org/ltsp-4.1/ltsp-libgcc_s-1.0-0-i386.tgz
35 http://www.ltsp.org/ltsp-4.1/ltsp-haltsys-1.0-0-i386.tgz
36 http://www.ltsp.org/ltsp-4.1/ltsp-e2fsprogs-1.1-0-i386.tgz
37 http://www.ltsp.org/ltsp-4.1/ltsp-startsess-1.1-0-i386.tgz
38 http://www.ltsp.org/ltsp-4.1/ltsp-lp_server-1.1-0-i386.tgz
39 http://www.ltsp.org/ltsp-4.1/ltsp-ltspinfod-1.1-0-i386.tgz
40 http://www.ltsp.org/ltsp-4.1/ltsp-modutils-1.0-0-i386.tgz
41 http://www.ltsp.org/ltsp-4.1/ltsp-ncurses-1.0-0-i386.tgz
42 http://www.ltsp.org/ltsp-4.1/ltsp-open-1.1-0-i386.tgz
43 http://www.ltsp.org/ltsp-4.1/ltsp-prep_swap-1.0-0-i386.tgz
44 http://www.ltsp.org/ltsp-4.1/ltsp-zlib-1.0-0-i386.tgz
45 http://www.ltsp.org/ltsp-4.1/ltsp-libpng-1.0-0-i386.tgz
46 http://www.ltsp.org/ltsp-4.1/ltsp-pci_scan-1.0-0-i386.tgz
47 http://www.ltsp.org/ltsp-4.1/ltsp-pam-1.0-0-i386.tgz
48 http://www.ltsp.org/ltsp-4.1/ltsp-ssh-1.0-0-i386.tgz
49 http://www.ltsp.org/ltsp-4.1/ltsp-net-tools-1.0-0-i386.tgz
50 http://www.ltsp.org/ltsp-4.1/ltsp-xinetd-1.0-0-i386.tgz
51 http://www.ltsp.org/ltsp-4.1/ltsp-ypbind-1.0-0-i386.tgz
52 http://www.ltsp.org/ltsp-4.1/ltsp-tcp_wrappers-1.0-0-i386.tgz
53 http://www.ltsp.org/ltsp-4.1/ltsp-portmap-1.0-0-i386.tgz
54 http://www.ltsp.org/ltsp-4.1/ltsp-rdesktop-1.3-0-i386.tgz
55 http://www.ltsp.org/ltsp-4.1/ltsp-libvncserver-1.0-0-i386.tgz
56 http://www.ltsp.org/ltsp-4.1/ltsp-localdev-1.1-0-i386.tgz
57 http://www.ltsp.org/ltsp-4.1/ltsp-openssl-1.0-0-i386.tgz
58 http://www.ltsp.org/ltsp-4.1/ltsp-samba-1.0-0-i386.tgz
59 http://www.ltsp.org/ltsp-4.1/ltsp-util-linux-1.0-0-i386.tgz
60 http://www.ltsp.org/ltsp-4.1/ltsp-vidlist-1.1-0-i386.tgz
61 http://www.ltsp.org/ltsp-4.1/ltsp-aumix-1.0-0-i386.tgz
62 http://www.ltsp.org/ltsp-4.1/ltsp-freetype-1.0-0-i386.tgz
63 http://www.ltsp.org/ltsp-4.1/ltsp-kernel-1.4-0-i386.tgz
64 http://www.ltsp.org/ltsp-4.1/ltsp-modules-1.4-0-i386.tgz
65 http://www.ltsp.org/ltsp-4.1/ltsp-utils-0.9.tgz
66
67 snmp? (
68 http://www.ltsp.org/ltsp-4.1/http://www.ltsp.org/ltsp-4.1/ltsp-snmpd-1-0-i386.tgz )
69
70 debug? (
71 http://www.ltsp.org/ltsp-4.1/ltsp-gdb-1.0-0-i386.tgz
72 http://www.ltsp.org/ltsp-4.1/ltsp-strace-1.0-0-i386.tgz )
73
74 X? (
75 http://www.ltsp.org/ltsp-4.1/ltsp-x-core-1.2-0-i386.tgz
76 http://www.ltsp.org/ltsp-4.1/ltsp-x-fonts-1.0-0-i386.tgz
77 http://www.ltsp.org/ltsp-4.1/ltsp-x-fonts-100dpi-1.0-0-i386.tgz
78 http://www.ltsp.org/ltsp-4.1/ltsp-x336_3DLabs-1.0-0-i386.tgz
79 http://www.ltsp.org/ltsp-4.1/ltsp-x336_8514-1.0-0-i386.tgz
80 http://www.ltsp.org/ltsp-4.1/ltsp-x336_AGX-1.0-0-i386.tgz
81 http://www.ltsp.org/ltsp-4.1/ltsp-x336_I128-1.0-0-i386.tgz
82 http://www.ltsp.org/ltsp-4.1/ltsp-x336_Mach32-1.0-0-i386.tgz
83 http://www.ltsp.org/ltsp-4.1/ltsp-x336_Mach64-1.0-0-i386.tgz
84 http://www.ltsp.org/ltsp-4.1/ltsp-x336_Mach8-1.0-0-i386.tgz
85 http://www.ltsp.org/ltsp-4.1/ltsp-x336_Mono-1.0-0-i386.tgz
86 http://www.ltsp.org/ltsp-4.1/ltsp-x336_P9000-1.0-0-i386.tgz
87 http://www.ltsp.org/ltsp-4.1/ltsp-x336_S3_S3V-1.0-0-i386.tgz
88 http://www.ltsp.org/ltsp-4.1/ltsp-x336_SVGA-1.0-0-i386.tgz
89 http://www.ltsp.org/ltsp-4.1/ltsp-x336_VGA16-1.0-0-i386.tgz
90 http://www.ltsp.org/ltsp-4.1/ltsp-x336_W32-1.0-0-i386.tgz )
91
92 audiofile? (
93 http://www.ltsp.org/ltsp-4.1/ltsp-audiofile-1.0-0-i386.tgz )
94
95 esd? (
96 http://www.ltsp.org/ltsp-4.1/ltsp-esd-1.0-0-i386.tgz )
97
98 nas? (
99 http://www.ltsp.org/ltsp-4.1/ltsp_nasd-1.1-0-i386.tgz )"
100
101 S=${WORKDIR}/ltsp
102
103 KERNEL_VERSION="2.4.26-ltsp-2"
104
105 src_unpack() {
106 # nothing to unpack
107 mkdir ltsp
108 cd ltsp
109
110 unpack ltsp-utils-0.9.tgz
111 unpack ltsp-kernel-1.4-0-i386.tgz
112 unpack ltsp-modules-1.4-0-i386.tgz
113 }
114
115 src_install() {
116 # core packages
117 MY_A=${A/ltsp-utils-0.9.tgz/}
118 MY_A=${MY_A/ltsp-kernel-1.4-0-i386.tgz/}
119 MY_A=${MY_A/ltsp-modules-1.4-0-i386.tgz/}
120
121 dodir /opt/ltsp-${PV}
122 cd ${D}/opt/ltsp-${PV}
123 unpack ${MY_A}
124
125 # kernel stuff
126 cd ${S}
127 find i386 -print | cpio -pmud --quiet ${D}/opt/ltsp-${PV} 2> /dev/null
128 insinto /tftpboot/lts
129 doins vmlinuz-${KERNEL_VERSION}
130
131 # pxe stuff
132 insinto /tftpboot/pxe
133 doins 2.4.26-ltsp-2/pxelinux.0
134 doins 2.4.26-ltsp-2/initrd-2.4.26-ltsp-2.gz
135 doins 2.4.26-ltsp-2/bzImage-2.4.26-ltsp-2
136 insinto /tftpboot/pxelinux.cfg
137 doins 2.4.26-ltsp-2/pxelinux.cfg/default
138
139 insinto /tftpboot/pxe
140 doins ${FILESDIR}/eb-5.0.9-rtl8139.lzpxe
141 doins ${FILESDIR}/eb-5.0.9-eepro100.lzpxe
142 doins ${FILESDIR}/eb-5.0.9-3c905c-tpo.lzpxe
143
144 # config stuff
145 cd ltsp-utils
146 dosbin ltspcfg
147 dodir /etc
148 echo "LTSP_DIR=/opt/ltsp-4.1" > ${D}/etc/ltsp.conf
149 dosbin ltspinfo
150 dosbin ltspadmin
151 dodoc COPYING
152 cd ..
153
154 # several other stuff
155 rm -fR ${D}/usr/share/
156 rm -fR ${D}/opt/ltsp-4.1/i386/usr/share/aclocal
157 }
158
159 pkg_postinst() {
160 einfo
161 einfo "Either use ltspcfg to configure your stuff, or follow the guide at gentoo.org:"
162 einfo " http://www.gentoo.org/doc/en/ltsp.xml"
163 einfo
164 }

  ViewVC Help
Powered by ViewVC 1.1.20