* Re: [gentoo-user] Using Portage/emerge
@ 2004-12-08 12:38 brettholcomb
2004-12-08 13:18 ` [gentoo-user] " Thomas Kirchner
0 siblings, 1 reply; 3+ messages in thread
From: brettholcomb @ 2004-12-08 12:38 UTC (permalink / raw
To: gentoo-user
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.
Check man portage with particular attention to the /etc/portage files to control what versions are installed.
>
> From: Magnus Johansson <rnd-gentoo@rnd.se>
> Date: 2004/12/08 Wed AM 10:21:27 GMT
> To: gentoo-user@lists.gentoo.org
> Subject: [gentoo-user] Using Portage/emerge
>
> Hi!
>
> I'm very new to gentoo. I've installed qmail and wanted to use the same
> patches that I'm used to so I did it the old way, download source, patch
> and install. Now, how do I tell Portage/emerge that qmail is actually
> already installed? (How should I have done it?)
>
> Also, when doing an 'emerge -tDu world' I found that adding a specific
> version to the spamassassin entry in /var/lib/portage/world lets me keep
> spamassassin 3.0.1 but doing the same with openldap 2.2.19 doesn't. The
> reason for emerge wanting to downgrade is courier-imap but in
> courier-imap-3.0.8.ebuild it only says 'ldap? (
> >=net-nds/openldap-1.2.11 )' and 2.2.19 is >= 1.2.11 . How do I make
> emerge let me keep openldap 2.2.19?
>
>
> --
> gentoo-user@gentoo.org mailing list
>
>
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 3+ messages in thread
* [gentoo-user] Re: Using Portage/emerge
2004-12-08 12:38 [gentoo-user] Using Portage/emerge brettholcomb
@ 2004-12-08 13:18 ` Thomas Kirchner
2004-12-08 14:13 ` Magnus Johansson
0 siblings, 1 reply; 3+ messages in thread
From: Thomas Kirchner @ 2004-12-08 13:18 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1592 bytes --]
On Dec 8 12:38, brettholcomb@charter.net wrote:
> Check man portage with particular attention to the /etc/portage files to control what versions are installed.
This is good advice - you shouldn't generally edit your world file, except
when specifically adding packages you want to keep or removing those you
don't.
> 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.
An additional note - for most packages, any option you want can be
controlled by USE flags. You can add USE flags for specific packages to
/etc/portage/package.use or to /etc/make.conf if multiple packages use the
flag. Gentoo developers are usually good about including useful patches
and USE options.
If portage lacks some specific patches you want, you can
copy the ebuild to your overlay (check PORTDIR_OVERLAY in /etc/make.conf)
and edit it manually. Usually, you'd add something to the effect of
"epatch ${FILESDIR}/mypatch" into src_compile() (make sure eutils is
inherited) and stick your diff in the files/ subdirectory. For example:
/usr/local/portage/app-admin/torsmo/files/torsmo-0.17-maildir.patch
is one patch I add manually. If it's something useful and not personal,
consider filing a bug at bugs.gentoo.org so others can benefit.
Tom
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [gentoo-user] Re: Using Portage/emerge
2004-12-08 13:18 ` [gentoo-user] " Thomas Kirchner
@ 2004-12-08 14:13 ` Magnus Johansson
0 siblings, 0 replies; 3+ messages in thread
From: Magnus Johansson @ 2004-12-08 14:13 UTC (permalink / raw
To: gentoo-user
>>Check man portage with particular attention to the /etc/portage files to control what versions are installed.
>
> This is good advice - you shouldn't generally edit your world file, except
> when specifically adding packages you want to keep or removing those you
> don't.
Thank you, both! emerge no longer wants to downgrade openldap /
spamassassin / db-4.2 and I'm no longer using the world file.
> If portage lacks some specific patches you want, you can
> copy the ebuild to your overlay (check PORTDIR_OVERLAY in /etc/make.conf)
> and edit it manually.
> If it's something useful and not personal,
> consider filing a bug at bugs.gentoo.org so others can benefit.
Ok, most important to me was the RECIPIENTS extension at
<http://www.fehcom.de/qmail/qmail.html>, don't know if that should
warrant a 'bugfix' or not.
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2004-12-08 14:13 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-12-08 12:38 [gentoo-user] Using Portage/emerge brettholcomb
2004-12-08 13:18 ` [gentoo-user] " Thomas Kirchner
2004-12-08 14:13 ` Magnus Johansson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox