Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 142671 - Postfix 2.3.0-r1 ebuild support for Gentoo/Freebsd
Summary: Postfix 2.3.0-r1 ebuild support for Gentoo/Freebsd
Status: VERIFIED NEEDINFO
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: FreeBSD (show other bugs)
Hardware: x86 FreeBSD
: Lowest normal (vote)
Assignee: Gentoo/BSD Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-03 09:29 UTC by Rob MacKinnon
Modified: 2007-08-03 06:46 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
[defunct] proposed postfix 2.3.0-r1ebuild with freebsd support (postfix-2.3.0-r1-p1.ebuild,11.65 KB, text/plain)
2006-08-03 09:35 UTC, Rob MacKinnon
Details
20060803 gentoo/FreeBSD makedefs patch (gentoo_freebsd-makedefs.patch,1.27 KB, patch)
2006-08-03 09:39 UTC, Rob MacKinnon
Details | Diff
proposed postfix 2.3.0-r2 ebuild with freebsd support (postfix-2.3.0-r2.ebuild,11.80 KB, text/plain)
2006-08-03 11:52 UTC, Rob MacKinnon
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rob MacKinnon 2006-08-03 09:29:21 UTC
I work in an all FreeBSD shop and wanted to see how a Gentoo/FreeBSD box would go over here.  There were some hicups in the install but the custom work came while installing some packages.  Postfix in particular.  Though I got it to work like a charm.

The initial problem, postfix ebuild would fail compile due to the BerkDB headers being unable to be located. Secondary, some of the libraries weren't being found since it's the portage for freebsd is sorta a bastard child of the linux version portage.

I've attached 2 files, the ebuild and the patch needed for the portage overlay to get Postfix 2.3.0-r1 to build.

Cheers,
-- Rob
Comment 1 Rob MacKinnon 2006-08-03 09:35:36 UTC
Created attachment 93351 [details]
[defunct] proposed postfix 2.3.0-r1ebuild with freebsd support 

my proposed ebuild uses a new use flag, "freebsd".  adding that to the use string for the emerge will enable the patch.
Comment 2 Rob MacKinnon 2006-08-03 09:39:09 UTC
Created attachment 93352 [details, diff]
20060803 gentoo/FreeBSD makedefs patch
Comment 3 Rob MacKinnon 2006-08-03 10:57:16 UTC
Comment on attachment 93351 [details]
[defunct] proposed postfix 2.3.0-r1ebuild with freebsd support 

Forgot to add the proper
Comment 4 Rob MacKinnon 2006-08-03 11:52:46 UTC
Created attachment 93363 [details]
proposed postfix 2.3.0-r2 ebuild with freebsd support

Forgot to update the compile section to tell the build to require berkdb 4.4, use auxlibs="-ldb", and ccflags="-DFREEBSD -I/usr/include/db4.4" double checked by running build and runs a clean build.
Comment 5 Roy Marples (RETIRED) gentoo-dev 2007-08-02 17:23:47 UTC
postfix-2.4.3 already has a ~x86-fbsd keyword and seems to build correctly.

What USE flags and error did you get?
Re-open with info please
Comment 6 Rob MacKinnon 2007-08-03 05:05:11 UTC
It may have it now, but if you notice the date stamp...this is almost exactly a year old.  Now there's a keyword for the fbsd version, a year ago...not so much.  This can be closed since there is now an official flag.
Comment 7 Roy Marples (RETIRED) gentoo-dev 2007-08-03 06:46:30 UTC
Sorry about the delay :/