Bug 39003 - MAINTAINER-UPDATE: mail/courier version upgrade mega patch
Summary: MAINTAINER-UPDATE: mail/courier version upgrade mega patch
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: freebsd-ports (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-06-07 20:30 UTC by Yarema
Modified: 2002-06-08 19:55 UTC (History)
0 users

See Also:


Attachments
file.diff (39.72 KB, patch)
2002-06-07 20:30 UTC, Yarema
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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