* [gentoo-user] How to get source of emerge to patch?
@ 2006-07-12 4:46 Jim John
2006-07-12 8:46 ` Neil Bothwick
2006-07-12 8:48 ` darren kirby
0 siblings, 2 replies; 3+ messages in thread
From: Jim John @ 2006-07-12 4:46 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 310 bytes --]
Hi. I want to patch cyrus-imapd. I have the diff file, but no source because I emerged from the repository. How do I get the source and ebuild it? Thanks.
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
[-- Attachment #2: Type: text/html, Size: 328 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [gentoo-user] How to get source of emerge to patch?
2006-07-12 4:46 [gentoo-user] How to get source of emerge to patch? Jim John
@ 2006-07-12 8:46 ` Neil Bothwick
2006-07-12 8:48 ` darren kirby
1 sibling, 0 replies; 3+ messages in thread
From: Neil Bothwick @ 2006-07-12 8:46 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 772 bytes --]
On Tue, 11 Jul 2006 21:46:05 -0700 (PDT), Jim John wrote:
> Hi. I want to patch cyrus-imapd. I have the diff file, but no source
> because I emerged from the repository. How do I get the source and
> ebuild it? Thanks.
The best way to do this is to modify the ebuild to apply the patch.
Copy the existing cyrus-imapd directory from /usr/portage to your
overlay.
Copy the patch to the files subdirectory of that new directory
Open the copied ebuild in your text editor. you'll see an epatch line in
the src_unpack section, add another one with the name of your patch.
Run "ebuild cyrus-imapd-version.ebuild digest"
Emerge it.
If the patch may be useful to others, file a report on bugs.g.o.
--
Neil Bothwick
"That trick NEVER works!"
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [gentoo-user] How to get source of emerge to patch?
2006-07-12 4:46 [gentoo-user] How to get source of emerge to patch? Jim John
2006-07-12 8:46 ` Neil Bothwick
@ 2006-07-12 8:48 ` darren kirby
1 sibling, 0 replies; 3+ messages in thread
From: darren kirby @ 2006-07-12 8:48 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 734 bytes --]
quoth the Jim John:
> Hi. I want to patch cyrus-imapd. I have the diff file, but no source
> because I emerged from the repository. How do I get the source and ebuild
> it? Thanks.
>
If you emerged cyrus-imapd then the source will be in /usr/portage/distfiles.
After patching you will have to recalculate the package digest (ie: the
md5sum) or portage will refuse to install the new version. I cannot recall
the exact command for this ATM but it is in the ebuild guide along with all
the other gentoo docs...
-d
--
darren kirby :: Part of the problem since 1976 :: http://badcomputer.org
"...the number of UNIX installations has grown to 10, with more expected..."
- Dennis Ritchie and Ken Thompson, June 1972
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2006-07-12 9:00 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-07-12 4:46 [gentoo-user] How to get source of emerge to patch? Jim John
2006-07-12 8:46 ` Neil Bothwick
2006-07-12 8:48 ` darren kirby
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox