diff options
author | Renato Botelho <garga@FreeBSD.org> | 2010-08-11 00:23:31 +0000 |
---|---|---|
committer | Renato Botelho <garga@FreeBSD.org> | 2010-08-11 00:23:31 +0000 |
commit | 3d5a5bc8628c9a488cbebf091571fd920d25304a (patch) | |
tree | 459311e2b6f39af5562a6f53a7f1fb687f46ea99 /mail/qmail | |
parent | 86cd1f152fac3fe2a08908ee4d65d41d73504940 (diff) | |
download | ports-3d5a5bc8628c9a488cbebf091571fd920d25304a.tar.gz ports-3d5a5bc8628c9a488cbebf091571fd920d25304a.zip |
- Really fix qmail-spamcontrol build now, i was building ucspi-ssl after
install_spamcontrol.sh and it must run before since this script need to copy
ssl.a to correct place
- Bump PORTREVISION
Notes
Notes:
svn path=/head/; revision=259085
Diffstat (limited to 'mail/qmail')
-rw-r--r-- | mail/qmail/Makefile | 32 |
1 files changed, 11 insertions, 21 deletions
diff --git a/mail/qmail/Makefile b/mail/qmail/Makefile index 30806eec4b73..6e08eea8200a 100644 --- a/mail/qmail/Makefile +++ b/mail/qmail/Makefile @@ -180,7 +180,7 @@ LDAP_PARAMS= ALTQUEUE BIGBROTHER BIGTODO BIND_8_COMPAT\ QMQP_COMPRESS QUOTATRASH SMTPEXECCHECK .elif defined(SLAVE_SPAMCONTROL) -OPTIONS+= TLSREMOTE "TLS support (requires ucspi-ssl)" on \ +OPTIONS+= TLSREMOTE "TLS support" on \ MOREIPME "Add control files (more|not)ipme" off \ BIGTODO "Bruce Guenter's BigToDo patch" off \ NEWLINE "smtpd accept bare line feeds" off \ @@ -511,7 +511,7 @@ PATCH_SITE_SUBDIR+= garga/qmail/:ldapenhacelog PATCHFILES+= enhacelogging-ldap-${LDAP_PATCH_DATE}_4.patch:ldapenhacelog .endif -.if defined(SLAVE_SPAMCONTROL) && defined(WITH_TLSREMOTE) +.if defined(SLAVE_SPAMCONTROL) MASTER_SITES+= http://www.superscript.com/ucspi-ssl/:ucspi_ssl \ http://dev.qmailrocks.org/downloads/qmailrocks_3.0-beta/:ucspi_ssl \ ${MASTER_SITE_GENTOO:S/$/:ucspi_ssl/} @@ -598,9 +598,7 @@ pre-everything:: post-extract: .if defined(SLAVE_SPAMCONTROL) @cd ${WRKSRC} && ${TAR} -xzf ${DISTDIR}/${DIST_SUBDIR}/${SPAMCONTROL_DIST} -. if defined(WITH_TLSREMOTE) @cd ${WRKDIR} && ${TAR} -xzf ${DISTDIR}/${DIST_SUBDIR}/ucspi-ssl-0.70.tar.gz -. endif .endif post-patch: @@ -633,6 +631,15 @@ post-patch: . for option in ${SELECTED_OPTIONS} @${ECHO_CMD} ${option} >> ${WRKSRC}/conf-spamcontrol . endfor + @cd ${UCSPISRC}/src && patch -p0 < ${DISTDIR}/${DIST_SUBDIR}/ucspi-ssl-0.70_ucspitls-0.6.patch_ + @${ECHO_CMD} "${UCSPISRC}/compile" > ${WRKSRC}/conf-ucspissl + ${ECHO_CMD} "${CC} ${CFLAGS}" > ${UCSPISRC}/src/conf-cc + ${ECHO_CMD} "${PREFIX}" > ${UCSPISRC}/src/conf-home + ${ECHO_CMD} "${PREFIX}/bin" > ${UCSPISRC}/src/conf-tcpbin + ${ECHO_CMD} "/etc/ssl" > ${UCSPISRC}/src/conf-cadir + ${ECHO_CMD} "/etc/ssl/cert.pem" > ${UCSPISRC}/src/conf-cafile + ${ECHO_CMD} "/etc/ssl/dh1024.pem" > ${UCSPISRC}/src/conf-dhfile + @cd ${UCSPISRC} && package/compile @cd ${WRKSRC} && ./install_spamcontrol.sh @${PATCH} -d ${WRKSRC} < ${FILESDIR}/extra-patch-spamcontrol-qmail-smtpd.c . if defined(WITH_SPF_PATCH) && defined(SPF_SPAMCONTROL_PATCH) @@ -648,10 +655,6 @@ post-patch: ${WRKSRC}/qmail-smtpd.c . endif . endif -. if defined(WITH_TLSREMOTE) - @cd ${UCSPISRC}/src && patch -p0 < ${DISTDIR}/${DIST_SUBDIR}/ucspi-ssl-0.70_ucspitls-0.6.patch_ - @${ECHO_CMD} "${UCSPISRC}/compile" > ${WRKSRC}/conf-ucspissl -. endif @${REINPLACE_CMD} -E "/qhpsi *= *\"unknown\"/d; s/(\*qqx *== *'D')/qhpsi \&\& \1/g" \ ${WRKSRC}/qmail-smtpd.c .elif defined(SLAVE_TLS) @@ -733,19 +736,6 @@ do-configure: > ${WRKSRC}/conf-spawn ; \ fi .endif -.if defined(SLAVE_SPAMCONTROL) && defined(WITH_TLSREMOTE) - ${ECHO_CMD} "${CC} ${CFLAGS}" > ${UCSPISRC}/src/conf-cc - ${ECHO_CMD} "${PREFIX}" > ${UCSPISRC}/src/conf-home - ${ECHO_CMD} "${PREFIX}/bin" > ${UCSPISRC}/src/conf-tcpbin - ${ECHO_CMD} "/etc/ssl" > ${UCSPISRC}/src/conf-cadir - ${ECHO_CMD} "/etc/ssl/cert.pem" > ${UCSPISRC}/src/conf-cafile - ${ECHO_CMD} "/etc/ssl/dh1024.pem" > ${UCSPISRC}/src/conf-dhfile -.endif - -pre-build: -.if defined(SLAVE_SPAMCONTROL) && defined(WITH_TLSREMOTE) - @cd ${UCSPISRC} && package/compile -.endif do-install: .for i in ${BOOTFILES} |