Gentoo Archives: gentoo-dev

From: "Kurt V. Hindenburg" <khindenburg@××××××××××××.net>
To: gentoo-dev@g.o
Subject: [gentoo-dev] patches for multple DISTDIRS
Date: Sat, 21 Jun 2003 21:24:12
Message-Id: 200306211624.42971.khindenburg@cherrynebula.net
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 I have a couple of beta patches to handle multple DISTDIRS.
5
6 1. Patches portage.py
7 2. Patches ebuild.sh
8
9 http://www.cherrynebula.net/projects/portage-kvh/portage-kvh.html
10
11 Adds a new variable in /etc/make.conf called DISTDIRS.
12 Example : DISTDIRS="/mnt/cdr /mnt/cdrw"
13 1. Looks in DISTDIR as normal
14 2. If not found looks through each directory in DISTDIRS.
15 3. If found, modified settings[] to point to directory found.
16 Example : PDL_2_3_4_tar_gz=/tmp
17 Here, PDL-2.3.4.tar.gz was found in /tmp
18 This allow a patched ebuild.sh to unpack the file.
19
20 Not tested:
21 emerging multiple packages at once...
22 cvs-src
23 ???
24
25 I don't really expect this to go into portage; but I would appreciate
26 any feedback.
27
28 Right now they output some debugging lines... I'll be cleaning it up
29 further soon...
30
31 - --
32
33 Kurt
34 - ---
35 There is no good and evil; there is only power.
36 -----BEGIN PGP SIGNATURE-----
37 Version: GnuPG v1.2.2 (GNU/Linux)
38
39 iD8DBQE+9M0Z0cAvx3ELfKARAldLAJ99ESqfh9RV9Wy7iysuEGeWgXF7cQCeOCYn
40 mmj+K7lvtswrBJO3j4bCYdc=
41 =ruze
42 -----END PGP SIGNATURE-----
43
44
45 --
46 gentoo-dev@g.o mailing list