1 |
On Dec 8 12:38, brettholcomb@×××××××.net wrote: |
2 |
> Check man portage with particular attention to the /etc/portage files to control what versions are installed. |
3 |
|
4 |
This is good advice - you shouldn't generally edit your world file, except |
5 |
when specifically adding packages you want to keep or removing those you |
6 |
don't. |
7 |
|
8 |
> If you do an emerge qmail -pv it will tell you what flags are available but not actually do the install. These flags control what options are used when qmail is installed. For example, Pine has some patches that were controlled by flags so if the flag is set then the option gets compiled in. In some cases the patches are included anyway and you tell that by looking at the ebuild. |
9 |
|
10 |
An additional note - for most packages, any option you want can be |
11 |
controlled by USE flags. You can add USE flags for specific packages to |
12 |
/etc/portage/package.use or to /etc/make.conf if multiple packages use the |
13 |
flag. Gentoo developers are usually good about including useful patches |
14 |
and USE options. |
15 |
|
16 |
If portage lacks some specific patches you want, you can |
17 |
copy the ebuild to your overlay (check PORTDIR_OVERLAY in /etc/make.conf) |
18 |
and edit it manually. Usually, you'd add something to the effect of |
19 |
"epatch ${FILESDIR}/mypatch" into src_compile() (make sure eutils is |
20 |
inherited) and stick your diff in the files/ subdirectory. For example: |
21 |
/usr/local/portage/app-admin/torsmo/files/torsmo-0.17-maildir.patch |
22 |
is one patch I add manually. If it's something useful and not personal, |
23 |
consider filing a bug at bugs.gentoo.org so others can benefit. |
24 |
Tom |