ports/145152: [PATCH] mail/spamass-milter - Broken due to recent RC_SUBR changes
Marko Njezic
mrmax063 at maxempire.com
Mon Mar 29 02:50:02 UTC 2010
>Number: 145152
>Category: ports
>Synopsis: [PATCH] mail/spamass-milter - Broken due to recent RC_SUBR changes
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Mon Mar 29 02:50:01 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: Marko Njezic
>Release: 8.0-RELEASE-p2
>Organization:
MAX Interactive corp.
>Environment:
FreeBSD vmbsd 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2 #0: Tue Jan 5 16:02:27 UTC 2010 root at i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386
>Description:
Recent RC_SUBR removal related changes have broken compilation of spamass-milter port, which now fails in patching stage, due to some leftovers in Makefile.
>How-To-Repeat:
[root at vmbsd]:/usr/ports/mail/spamass-milter> make patch
===> Patching for spamass-milter-0.3.1_8
By default, spamass-milter builds against the base system.
If you want to use the sendmail port please set the environment
variable WITH_SENDMAIL_PORT
You may set environment variable WITH_ADDAUTH_PATCH to bypass
checks if a connection authenticated via SMTP.
You may set environment variable WITH_REJECTTEXT_PATCH to be
able to customize the SMTP reject message.
===> Applying FreeBSD patches for spamass-milter-0.3.1_8
sed: 1: "/usr/ports/mail/spamass ...": extra characters at the end of p command
*** Error code 1
Stop in /usr/ports/mail/spamass-milter.
>Fix:
Apply the suggested patch file.
Patch attached with submission follows:
--- Makefile 2010-03-28 07:52:10.000000000 +0200
+++ Makefile.patched 2010-03-29 03:37:37.000000000 +0200
@@ -116,8 +116,6 @@
.endif
post-patch:
- @${SED} ${RC_SCRIPTS_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \
- ${FILESDIR}/spamass-milter.in > ${WRKDIR}/spamass-milter
@${SED} -e's,%%PREFIX%%,${PREFIX},g' \
${FILESDIR}/activation.txt > ${WRKDIR}/activation.txt
.if !defined(WITHOUT_LDAP) && defined(WITH_LDAP)
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list