Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 437386 - *-fbsd keyword on net-mta/netqmail-1.06
Summary: *-fbsd keyword on net-mta/netqmail-1.06
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: FreeBSD (show other bugs)
Hardware: All FreeBSD
: Normal normal (vote)
Assignee: Gentoo/BSD Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 435452
  Show dependency tree
 
Reported: 2012-10-06 10:07 UTC by Naohiro Aota
Modified: 2013-05-27 01:01 UTC (History)
1 user (show)

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


Attachments
1.06-fbsd-utmpx.patch (1.06-fbsd-utmpx.patch,1.86 KB, patch)
2012-10-06 10:07 UTC, Naohiro Aota
Details | Diff
patch for qmail.eclass (qmail.eclass.patch,3.40 KB, patch)
2012-10-06 10:08 UTC, Naohiro Aota
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Naohiro Aota gentoo-dev 2012-10-06 10:07:24 UTC
Created attachment 325778 [details, diff]
1.06-fbsd-utmpx.patch

Building net-mta/netqmail-1.06 on Gentoo/FreeBSD-9.0 has some issue.

- FreeBSD-9.0 switched from utmp to utmpx, so we need a patch for that
- FreeBSD doesn't have "root" group. It only have "wheel" group. qmail.eclass need to be fixed to replace "root" with "$(id -gn root)"

Attached is utmpx support patch and below is patch for the ebuild.

diff --git a/mail-mta/netqmail/netqmail-1.06.ebuild b/mail-mta/netqmail/netqmail-1.06.ebuild
index 5647020..b562d38 100644
--- a/mail-mta/netqmail/netqmail-1.06.ebuild
+++ b/mail-mta/netqmail/netqmail-1.06.ebuild
@@ -82,6 +82,7 @@ src_unpack() {
 
        epatch "${FILESDIR}"/${PV}-exit.patch
        epatch "${FILESDIR}"/${PV}-readwrite.patch
+       use elibc_FreeBSD && epatch "${FILESDIR}"/${PV}-fbsd-utmpx.patch
 
        ht_fix_file Makefile*
Comment 1 Naohiro Aota gentoo-dev 2012-10-06 10:08:24 UTC
Created attachment 325780 [details, diff]
patch for qmail.eclass
Comment 2 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2013-05-27 01:01:10 UTC
InCVS