ports/190134: port update: mail/heirloom-mailx - add option to use sendmail from ports, and take ownership
Jamie Landeg-Jones
jamie at dyslexicfish.net
Fri May 23 07:10:01 UTC 2014
>Number: 190134
>Category: ports
>Synopsis: port update: mail/heirloom-mailx - add option to use sendmail from ports, and take ownership
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Fri May 23 07:10:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator: Jamie Landeg-Jones
>Release: FreeBSD 10.0-STABLE amd64
>Organization:
>Environment:
System: FreeBSD catnip.dyslexicfish.net 10.0-STABLE FreeBSD 10.0-STABLE #0: Sat May 10 20:24:29 BST 2014 root at catflap.dyslexicfish.net:/usr/obj/usr/src/sys/CATFLAP amd64
>Description:
1) mail/heirloom-mailx - add option to use sendmail from ports instead of base.
2) Take ownership of port.
>How-To-Repeat:
>Fix:
apply patch within dir: $PORTSDIR/mail/heirloom-mailx
--- patch-Makefile begins here ---
--- Makefile.orig 2013-09-20 20:59:12.000000000 +0100
+++ Makefile 2014-05-23 07:28:55.000000000 +0100
@@ -3,15 +3,16 @@
PORTNAME= mailx
PORTVERSION= 12.4
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= mail ipv6
MASTER_SITES= SF/heirloom/heirloom-${PORTNAME}/${PORTVERSION}
PKGNAMEPREFIX= heirloom-
-MAINTAINER= ports at FreeBSD.org
+MAINTAINER= jamie at dyslexicfish.net
COMMENT= BSD mail utility with MIME, IMAP, POP3, SMTP, and S/MIME extensions
-OPTIONS_DEFINE= IPV6 DOCS
+OPTIONS_DEFINE= IPV6 DOCS SENDMAIL_PORT
+SENDMAIL_PORT_DESC= Use sendmail from ports instead of base
CONFLICTS= mailx-[0-9]*
@@ -21,7 +22,6 @@
USE_OPENSSL= yes
MAKE_ARGS= PREFIX="${PREFIX}" \
SYSCONFDIR="${PREFIX}/etc" \
- SENDMAIL="/usr/sbin/sendmail" \
CPPFLAGS="${CPPFLAGS}" \
LDFLAGS="${LDFLAGS}"
@@ -43,6 +43,13 @@
MAKE_ARGS+= IPv6="-DHAVE_IPv6_FUNCS"
.endif
+.if ${PORT_OPTIONS:MSENDMAIL_PORT}
+MAKE_ARGS+= SENDMAIL="${LOCALBASE}/sbin/sendmail"
+RUN_DEPENDS= ${LOCALBASE}/sbin/sendmail:${PORTSDIR}/mail/sendmail
+.else
+MAKE_ARGS+= SENDMAIL="/usr/sbin/sendmail"
+.endif
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/${MAN1} ${MAN1PREFIX}/man/man1
--- patch-Makefile ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list