public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Using Portage/emerge
@ 2004-12-08 10:21 Magnus Johansson
  2004-12-08 14:36 ` Bastian Balthazar Bux
  0 siblings, 1 reply; 3+ messages in thread
From: Magnus Johansson @ 2004-12-08 10:21 UTC (permalink / raw
  To: gentoo-user

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-user] Using Portage/emerge
@ 2004-12-08 12:38 brettholcomb
  0 siblings, 0 replies; 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

* Re: [gentoo-user] Using Portage/emerge
  2004-12-08 10:21 [gentoo-user] Using Portage/emerge Magnus Johansson
@ 2004-12-08 14:36 ` Bastian Balthazar Bux
  0 siblings, 0 replies; 3+ messages in thread
From: Bastian Balthazar Bux @ 2004-12-08 14:36 UTC (permalink / raw
  To: gentoo-user

Magnus Johansson wrote:

> 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?)

emerge --inject qmail
shuld do that

Also if you want personal patching you will discover it's easy make a 
portage overlay in /usr/local/portage
saying to portage that you wont use it putting in /etc/make.conf
PORTDIR_OVERLAY="/usr/local/portage"

copy /usr/portage/mail-mta/qmail  /usr/local/portage/mail-mta/qmail
edit the ebuild and search for "epatch" to see what gentoo ebuild already do
should be quite easy add your patches, and if you don't understand 
something probably it's documented ;)
when finished you will need to run "ebuild path/name.ebuild digest" and 
emerge it
still one thing, if u don't want it to be overwritten from future 
version mask higer version in /etc/portage/package.mask

excuse me if I give u only some guidelines and not a full guide but it's 
too much for a mail and all is  well documented :)

P.S.
Obviously this has a sense if you intend to maintain that system or if 
you need to install more systems, for une shot build it's expensive.

ciao francesco

--
gentoo-user@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2004-12-08 14:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-12-08 10:21 [gentoo-user] Using Portage/emerge Magnus Johansson
2004-12-08 14:36 ` Bastian Balthazar Bux
  -- strict thread matches above, loose matches on Subject: below --
2004-12-08 12:38 brettholcomb

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox