Bug 141045 - [PATCH] mail/postfix: fix build with Kerberos5 on 8.0/9.0
Summary: [PATCH] mail/postfix: fix build with Kerberos5 on 8.0/9.0
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Ion-Mihai "IOnut" Tetcu
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-01 04:00 UTC by Sahil Tandon
Modified: 2010-01-12 17:40 UTC (History)
1 user (show)

See Also:


Attachments
postfix.diff (825 bytes, patch)
2009-12-01 04:00 UTC, Sahil Tandon
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Sahil Tandon 2009-12-01 04:00:05 UTC
- Fix build with Kerberbos5 on 8.0 and 9.0 which have new Heimdal
- A similar fix will be required for repocopies of older Postfix versions as well as postfix-current; I will work on those later this week

Fix: Patch is attached; tested on 7.2, 8.0 and 9.0.

How-To-Repeat: - Set WITH_SASLKRB5=true in environment and try building mail/postfix; you will see:
/usr/lib/libkrb5.so: undefined reference to `hx509_certs_init'
/usr/lib/libkrb5.so: undefined reference to `hx509_cert_get_serialnumber'
/usr/lib/libkrb5.so: undefined reference to `hx509_cert_find_subjectAltName_otherName'
/usr/lib/libkrb5.so: undefined reference to `hx509_certs_find'
/usr/lib/libkrb5.so: undefined reference to `hx509_verify_attach_anchors'
/usr/lib/libkrb5.so: undefined reference to `hx509_query_alloc'
/usr/lib/libkrb5.so: undefined reference to `hx509_get_error_string'
/usr/lib/libkrb5.so: undefined reference to `hx509_cms_unenvelope'
/usr/lib/libkrb5.so: undefined reference to `hx509_lock_add_password'
/usr/lib/libkrb5.so: undefined reference to `hx509_revoke_init'
/usr/lib/libkrb5.so: undefined reference to `hx509_verify_hostname'
/usr/lib/libkrb5.so: undefined reference to `hx509_cms_unwrap_ContentInfo'

... so on and so forth.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2009-12-01 04:00:17 UTC
Class Changed
From-To: sw-bug->maintainer-update

Fix category (submitter is maintainer) (via the GNATS Auto Assign Tool)
Comment 2 Edwin Groothuis freebsd_committer freebsd_triage 2009-12-01 04:00:21 UTC
Responsible Changed
From-To: freebsd-ports-bugs->itetcu

itetcu@ wants his PRs (via the GNATS Auto Assign Tool)
Comment 3 dfilter service freebsd_committer freebsd_triage 2010-01-12 17:32:45 UTC
itetcu      2010-01-12 17:32:35 UTC

  FreeBSD ports repository

  Modified files:
    mail/postfix         Makefile 
  Log:
  Fix build with Kerberbos5 on 8.0 and 9.0 which have new Heimdal.
  
  PR:             141045
  Submitted by:   maintainer (Sahil Tandon)
  
  Revision  Changes    Path
  1.153     +6 -2      ports/mail/postfix/Makefile
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 4 Ion-Mihai "IOnut" Tetcu freebsd_committer freebsd_triage 2010-01-12 17:32:53 UTC
State Changed
From-To: open->closed

Committed. Thanks!