Bug 166108 - [patch] mail/qpopper: failing sendmail detection.
Summary: [patch] mail/qpopper: failing sendmail detection.
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: Chris Rees
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-14 19:10 UTC by Rachel Flynn
Modified: 2012-04-18 10:00 UTC (History)
1 user (show)

See Also:


Attachments
qpopper.fix (2.16 KB, text/plain)
2012-03-14 19:10 UTC, Rachel Flynn
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rachel Flynn 2012-03-14 19:10:01 UTC
Qpopper's configure script tries to detect sendmail in a number of common
paths, but the first guess will always fail, because sbindir contains an
embedded shell variable.

As a result, systems without base sendmail (more specifically, without
/usr/sbin/sendmail) will fail configure step.

Additional info:
http://lists.freebsd.org/pipermail/freebsd-ports/2012-March/073828.html

Fix: The fix attached preserves the old (incidental) behavior of prefering
/usr/sbin/sendmail, but will also search $LOCALBASE/sbin/sendmail.
People with sendmail not below LOCALBASE or any of the common search
paths are left in the cold (but righfully so).

How-To-Repeat: mv /usr/sbin/sendmail /usr/sbin/sendmail.off
make -C /usr/ports/mail/qpopper clean configure
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2012-03-14 19:10:09 UTC
Maintainer of mail/qpopper,

Please note that PR ports/166108 has just been submitted.

If it contains a patch for an upgrade, an enhancement or a bug fix
you agree on, reply to this email stating that you approve the patch
and a committer will take care of it.

The full text of the PR can be found at:
    http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/166108

-- 
Edwin Groothuis via the GNATS Auto Assign Tool
edwin@FreeBSD.org
Comment 2 Edwin Groothuis freebsd_committer freebsd_triage 2012-03-14 19:10:11 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Comment 3 Chris Rees freebsd_committer freebsd_triage 2012-03-14 19:35:32 UTC
Responsible Changed
From-To: freebsd-ports-bugs->crees

I'll take it.
Comment 4 Chris Rees freebsd_committer freebsd_triage 2012-04-17 18:57:50 UTC
State Changed
From-To: feedback->open

Maintainer timeout.
Comment 5 Chris Rees freebsd_committer freebsd_triage 2012-04-17 18:58:06 UTC
State Changed
From-To: open->analyzed

Taken for Tinderbox run
Comment 6 dfilter service freebsd_committer freebsd_triage 2012-04-18 09:56:11 UTC
crees       2012-04-18 08:56:02 UTC

  FreeBSD ports repository

  Modified files:
    mail/qpopper         Makefile 
    mail/qpopper/files   patch-configure.in 
  Log:
  Qpopper's configure script tries to detect sendmail in a number of common
  paths, but the first guess will always fail, because sbindir contains an
  embedded shell variable.
  
  As a result, systems without base sendmail (more specifically, without
  /usr/sbin/sendmail) will fail configure step.
  
  Additional info:
  http://lists.freebsd.org/pipermail/freebsd-ports/2012-March/073828.html
  
  PR:             ports/166108
  Submitted by:   Mel Flynn <rflynn@acsalaska.net>
  Approved by:    maintainer timeout (14+ days)
  
  Revision  Changes    Path
  1.105     +3 -0      ports/mail/qpopper/Makefile
  1.3       +24 -4     ports/mail/qpopper/files/patch-configure.in
_______________________________________________
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 7 Chris Rees freebsd_committer freebsd_triage 2012-04-18 09:56:37 UTC
State Changed
From-To: analyzed->closed

Committed. Thanks!