Gentoo Archives: gentoo-user

From: zsitvaij@gmail.com (Zsitvai =?utf-8?Q?J=C3=A1nos?=)
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Excellent Paludis interview
Date: Thu, 20 Dec 2007 06:17:07
Message-Id: 87prx1aob5.fsf@gmail.com
In Reply to: Re: [gentoo-user] Excellent Paludis interview by Richard Marzan
1 Richard Marzan <richardmarzan@×××××××××.net> writes:
2 > May i have that script? I assume it's GPLed :-)
3
4 Honestly, calling it a script is an embellishment.
5
6 Perhaps phrasing it as 'something that keeps the faster moving parts of
7 configuration in sync' would have been better.
8
9 echo '*/* x86' > /etc/paludis/keywords.conf
10 grep -h -v \# /etc/portage/package.keywords/* | grep \/ | awk -F" " '{print $1 " x86 ~x86"}' | sort -u >> /etc/paludis/keywords.conf
11 cat /etc/paludis/package_mask.conf | grep -v '::' | grep -v '#' | sort -u > /etc/portage/package.mask/paludis
12 cat /etc/paludis/package_unmask.conf | grep -v '::' | grep -v '#' | sort -u > /etc/portage/package.unmask/paludis
13 cat /etc/paludis/use.conf | grep -v '::' | grep -v '\*\/\*' | grep -v '#' | sort -u > /etc/portage/package.use/paludis
14
15 That's all there is to it, and it makes a lot of assumptions: that
16 you've already configured both paludis and portage, that you consider
17 /etc/paludis authoritative on everything but package.keywords, that
18 you're running a mixed x86 and ~x86 system, and probably others I can't
19 spot. You also have to sync the global use flags by hand in make.conf
20 ans use.conf, as well as manage adding/removing overlays by hand, and it
21 won't touch CFLAGS settings either, etc.
22
23 Another thing to keep in mind is that if you package unmask/mask a
24 package from a certain repository only with cat/pkg::repo, portage won't
25 know about it and probably not do what you want.
26
27 János Zsitvai
28 --
29 gentoo-user@g.o mailing list