Bug 39003

Summary: MAINTAINER-UPDATE: mail/courier version upgrade mega patch
Product: Ports & Packages Reporter: Yarema <yds>
Component: Individual Port(s)Assignee: freebsd-ports (Nobody) <ports>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description Yarema 2002-06-07 20:30:01 UTC
A much overdue version upgrade from 0.37.3 to 0.38.2 which supercedes
ports/38470 and ports/38491 both of which can now be closed.

Now to explain some of the non trivial changes in this patch.

NO_PACKAGE=	"Goes into an infinite loop during the build"
is removed in the hopes that the new pkg-deinstall script takes care of that
issue.  "Goes into an infinite loop during the build" is not entirely
accurate.  It was the deinstall target which caused an infinite loop when
stdout was redirected to a log file.  To remedy the situation I moved the
rmuser(8) routine from pkg-plist to pkg-deinstall where I properly check for
PACKAGE_BUILDING being set.  Who knew that PACKAGE_BUILDING needs to be
checked durring interactive deinstall?  In any case the commands listed in
How-To-Repeat below do work which should satisfy package building on bento.

The rest of the mega patch deals with adding supprt for the new faxmail
gateway in courier and general code cleanup.

scripts/configure.courier was largly rewritten to support various WITH_*
variables being set when BATCH=yes.  Now courier builds the same way wether
BATCH=yes and WITH_* are used or interactively.

New files:
courier/pkg-deinstall
courier/files/patch-courier::module.fax

courier/files/patch-courier_perms.sh.in renamed to
courier/files/patch-courier::perms.sh.in

That's all folks.

How-To-Repeat: cd /usr/ports/mail/courier
make clean
BATCH=yes PACKAGE_BUILDING=yes make install package deinstall > /tmp/courier.log 2>&1 &
Comment 1 Ying-Chieh Liao freebsd_committer freebsd_triage 2002-06-08 19:54:04 UTC
State Changed
From-To: open->closed

committed, thanks