From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10896 invoked from network); 8 Dec 2004 14:26:39 +0000 Received: from smtp.gentoo.org (156.56.111.197) by lists.gentoo.org with AES256-SHA encrypted SMTP; 8 Dec 2004 14:26:39 +0000 Received: from lists.gentoo.org ([156.56.111.196] helo=parrot.gentoo.org) by smtp.gentoo.org with esmtp (Exim 4.41) id 1Cc2m7-0001m6-NM for arch-gentoo-user@lists.gentoo.org; Wed, 08 Dec 2004 14:26:39 +0000 Received: (qmail 5656 invoked by uid 89); 8 Dec 2004 14:26:22 +0000 Mailing-List: contact gentoo-user-help@gentoo.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail Reply-To: gentoo-user@lists.gentoo.org X-BeenThere: gentoo-user@gentoo.org Received: (qmail 19578 invoked from network); 8 Dec 2004 14:26:22 +0000 Message-ID: <41B71157.1060003@pnpitalia.it> Date: Wed, 08 Dec 2004 15:36:07 +0100 From: Bastian Balthazar Bux User-Agent: Mozilla Thunderbird 0.9 (Windows/20041103) X-Accept-Language: en-us, en MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org References: <41B6D5A7.5020602@rnd.se> In-Reply-To: <41B6D5A7.5020602@rnd.se> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by AMaViS snapshot-20020531 Subject: Re: [gentoo-user] Using Portage/emerge X-Archives-Salt: 7b0f86e7-5bd9-4ace-a674-827075f2b351 X-Archives-Hash: 695089c58cbf43a31a11608a23354d89 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