Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 82825 - add NIS support to sendmail ebuilds
Summary: add NIS support to sendmail ebuilds
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Net-Mail Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-21 07:33 UTC by Patrick Landry
Modified: 2006-08-10 03:49 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Landry 2005-02-21 07:33:57 UTC
sendmail is not built with NIS support even if nis is included
in the system's USE variable.

Reproducible: Always
Steps to Reproduce:
1. add "nis" to USE variable
2. emerge sendmail
3.

Actual Results:  
sendmail is built without NIS support and cannot reference
NIS based databases (such as aliases files)

Expected Results:  
if the nis flag is in the system's USE variable sendmail should be
built with NIS database support.

Bug #18578 reported this bug for the sendmail-8.12.9.ebuild
only. This should be fixed for all present and future ebuilds.
In order to properly add NIS support to the sendmail ebuilds I
think two changes should be made. First "nis" should be added to
the IUSE string.

  IUSE="ssl ldap sasl tcpd mbox milter mailwrapper ipv6 nis"

Second, the following line should be added so that the sendmail
binary is compiled with NIS support if nis is in the system's USE variable.

        use ipv6 && confENVDEF="${confENVDEF} -DNETINET6"
      + use nis && confMAPDEF="${confMAPDEF} -DNIS"
Comment 1 Andrea Barisani (RETIRED) gentoo-dev 2006-08-10 03:49:15 UTC
Committed 8.13.8 with USE="nis" flag.