Date: Mon, 29 Mar 2010 02:43:11 GMT From: Marko Njezic <mrmax063@maxempire.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/145152: [PATCH] mail/spamass-milter - Broken due to recent RC_SUBR changes Message-ID: <201003290243.o2T2hBie028861@www.freebsd.org> Resent-Message-ID: <201003290250.o2T2o1YM087970@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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@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@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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201003290243.o2T2hBie028861>