diff options
author | sem <sem@FreeBSD.org> | 2005-05-06 04:03:10 +0800 |
---|---|---|
committer | sem <sem@FreeBSD.org> | 2005-05-06 04:03:10 +0800 |
commit | 2bbdecda770ef9a7e8029ff775021e590a62f540 (patch) | |
tree | 2a033ecb489647db72822c91afd73288f59876e9 /mail/qmail-tls | |
parent | 626ef519ece6fc3ee3415a64df83575d0221a2fe (diff) | |
download | freebsd-ports-gnome-2bbdecda770ef9a7e8029ff775021e590a62f540.tar.gz freebsd-ports-gnome-2bbdecda770ef9a7e8029ff775021e590a62f540.tar.zst freebsd-ports-gnome-2bbdecda770ef9a7e8029ff775021e590a62f540.zip |
o Pacify a lot of portlint WARN and FATAL messages
o Change ${PERL} to ${SED} or ${REINPLACE_CMD}
o Added patch patch-qmail-1.03-rfc2821.diff to search other MX servers
when the first return a code > 500 and < 599
o Install mkaliasdir script on ${PREFIX}/scripts directory
o Remove targets to disable-qmail and enable-sendmail and put it on a
shell script that is installed on /var/qmail/scripts. Change messages
reflect this.
o Organize better pkg-plist
o Remove thereal-post-patch target and put all on post-post-patch target
o Add [0-9] to CONFLICTS on qmail-ldap port
o Change LIB_DEPENDS to USE_MYSQL=yes on qmail-mysql port
o Change qmail-spamcontrol to don't need more to apply patches mannualy
PR: ports/79094
Submitted by: maintainer
Diffstat (limited to 'mail/qmail-tls')
-rw-r--r-- | mail/qmail-tls/Makefile | 25 | ||||
-rw-r--r-- | mail/qmail-tls/pkg-plist | 207 |
2 files changed, 89 insertions, 143 deletions
diff --git a/mail/qmail-tls/Makefile b/mail/qmail-tls/Makefile index 2fd167af3314..c62f6e000b40 100644 --- a/mail/qmail-tls/Makefile +++ b/mail/qmail-tls/Makefile @@ -18,17 +18,18 @@ MAINTAINER= freebsd@galle.com.br COMMENT= A SECURE, reliable, and FAST MTA for UNIX systems WITH TLS support USE_OPENSSL= YES +USE_REINPLACE= yes # Patches from the main qmail port are not wanted MAIN_QMAIL_PORT_WITH_OUTGOINGIP_PATCH_BARRIER= yes +MAIN_QMAIL_PORT_RFC2821_PATCH_BARRIER= yes TLS_PATCH_DATE= 20020825 # Using default from master port, i.e., /var/qmail PREFIX?= ${QMAIL_PORT_PREFIX} -#PREFIX= /var/qmail-tls -.if !defined(PRE_MK_INCLUDED) +.if !defined(_PREMKINCLUDED) .include <bsd.port.pre.mk> .endif @@ -38,9 +39,14 @@ CFLAGS+= -I${OPENSSLBASE}/include -L${OPENSSLBASE}/lib -DTLS CFLAGS+= -DDEBUG .endif # WITH_TLS_DEBUG -#QMAIL_PORT= ${PORTSDIR}/mail/qmail -QMAIL_PORT= ${.CURDIR}/../qmail -QMAIL_PORT_PREFIX!= cd ${QMAIL_PORT} && ${MAKE} -V PREFIX +# Local overrides +MASTERDIR= ${.CURDIR}/../qmail +PKGDIR_LOCAL= ${.CURDIR} +DESCR= ${PKGDIR_LOCAL}/pkg-descr +PKGMESSAGE= ${PKGDIR_LOCAL}/pkg-message +PLIST= ${PKGDIR_LOCAL}/pkg-plist + +QMAIL_PORT_PREFIX!= cd ${MASTERDIR} && ${MAKE} -V PREFIX DOCFILES+= ${WRKDIR}/TLS.readme @@ -53,7 +59,7 @@ slaveport-post-patch: qmail-tls-post-patch qmail-tls-post-patch: @${HEAD} -74 ${DISTDIR}/tls.patch > ${WRKDIR}/TLS.readme - @${PERL} -pi -ne "s|/usr/local/ssl|${OPENSSLBASE}|" ${WRKSRC}/Makefile + @${REINPLACE_CMD} "s|/usr/local/ssl|${OPENSSLBASE}|" ${WRKSRC}/Makefile # Primary Ugh... ;-) # idea stolen from www/apache13-ssl, a target written by adam@algroup.co.uk @@ -94,11 +100,4 @@ certificate-req: ${ECHO_MSG} "===> You must create the file ${OPENSSLDIR}/openssl.cnf first." ; \ fi -# Local overrides -MASTERDIR= ${QMAIL_PORT} -PKGDIR_LOCAL= ${.CURDIR} -DESCR= ${PKGDIR_LOCAL}/pkg-descr -PKGMESSAGE= ${PKGDIR_LOCAL}/pkg-message -PLIST= ${PKGDIR_LOCAL}/pkg-plist - .include "${MASTERDIR}/Makefile" diff --git a/mail/qmail-tls/pkg-plist b/mail/qmail-tls/pkg-plist index e561e624d46c..20f793d9ac77 100644 --- a/mail/qmail-tls/pkg-plist +++ b/mail/qmail-tls/pkg-plist @@ -1,162 +1,109 @@ -%%PORTDOCS%%%%DOCDIR%%/FAQ -%%PORTDOCS%%%%DOCDIR%%/UPGRADE -%%PORTDOCS%%%%DOCDIR%%/SENDMAIL -%%PORTDOCS%%%%DOCDIR%%/INSTALL -%%PORTDOCS%%%%DOCDIR%%/INSTALL.alias -%%PORTDOCS%%%%DOCDIR%%/INSTALL.ctl -%%PORTDOCS%%%%DOCDIR%%/INSTALL.ids -%%PORTDOCS%%%%DOCDIR%%/INSTALL.maildir -%%PORTDOCS%%%%DOCDIR%%/INSTALL.mbox -%%PORTDOCS%%%%DOCDIR%%/INSTALL.vsm -%%PORTDOCS%%%%DOCDIR%%/TEST.deliver -%%PORTDOCS%%%%DOCDIR%%/TEST.receive -%%PORTDOCS%%%%DOCDIR%%/REMOVE.sendmail -%%PORTDOCS%%%%DOCDIR%%/REMOVE.binmail -%%PORTDOCS%%%%DOCDIR%%/PIC.local2alias -%%PORTDOCS%%%%DOCDIR%%/PIC.local2ext -%%PORTDOCS%%%%DOCDIR%%/PIC.local2local -%%PORTDOCS%%%%DOCDIR%%/PIC.local2rem -%%PORTDOCS%%%%DOCDIR%%/PIC.local2virt -%%PORTDOCS%%%%DOCDIR%%/PIC.nullclient -%%PORTDOCS%%%%DOCDIR%%/PIC.relaybad -%%PORTDOCS%%%%DOCDIR%%/PIC.relaygood -%%PORTDOCS%%%%DOCDIR%%/PIC.rem2local -%%PORTDOCS%%%%DOCDIR%%/TLS.readme -boot/home -boot/home+df -boot/proc -boot/proc+df -boot/binm1 -boot/binm1+df -boot/binm2 -boot/binm2+df -boot/binm3 -boot/binm3+df - -@group qmail -@mode 04711 -@comment *** NOTE different owner -@owner qmailq -bin/qmail-queue -@owner -@mode 0700 -bin/qmail-lspawn -@mode 0700 -bin/qmail-start -@mode 0711 +bin/bouncesaying +bin/condredirect +bin/datemail +bin/elq +bin/except +bin/forward +bin/maildir2mbox +bin/maildirmake +bin/maildirwatch +bin/mailsubj +bin/pinq +bin/predate +bin/preline +bin/qail +bin/qbiff +bin/qmail-clean bin/qmail-getpw -@mode 0711 +bin/qmail-inject bin/qmail-local -@mode 0711 -bin/qmail-remote -@mode 0711 -bin/qmail-rspawn -@mode 0711 -bin/qmail-clean -@mode 0711 -bin/qmail-send -@mode 0711 -bin/splogger -@mode 0700 -bin/qmail-newu -@mode 0700 +bin/qmail-lspawn bin/qmail-newmrh -@mode 0711 -bin/qmail-pw2u -@mode 0755 -bin/qmail-inject -@mode 0755 -bin/predate -@mode 0755 -bin/datemail -@mode 0755 -bin/mailsubj -@mode 0755 -bin/qmail-showctl -@mode 0755 -bin/qmail-qread -@mode 0755 -bin/qmail-qstat -@mode 0755 -bin/qmail-tcpto -@mode 0755 -bin/qmail-tcpok -@mode 0755 +bin/qmail-newu bin/qmail-pop3d -@mode 0711 bin/qmail-popup -@mode 0755 +bin/qmail-pw2u bin/qmail-qmqpc -@mode 0755 bin/qmail-qmqpd -@mode 0755 bin/qmail-qmtpd -@mode 0755 +bin/qmail-qread +bin/qmail-qstat +bin/qmail-queue +bin/qmail-remote +bin/qmail-rspawn +bin/qmail-send +bin/qmail-showctl bin/qmail-smtpd -@mode 0755 -bin/sendmail -@mode 0755 -bin/tcp-env -@mode 0755 +bin/qmail-start +bin/qmail-tcpok +bin/qmail-tcpto bin/qreceipt -@mode 0755 bin/qsmhook -@mode 0755 -bin/qbiff -@mode 0755 -bin/forward -@mode 0755 -bin/preline -@mode 0755 -bin/condredirect -@mode 0755 -bin/bouncesaying -@mode 0755 -bin/except -@mode 0755 -bin/maildirmake -@mode 0755 -bin/maildir2mbox -@mode 0755 -bin/maildirwatch -@mode 0755 -bin/qail -@mode 0755 -bin/elq -@mode 0755 -bin/pinq - -@group -@owner -@mode - +bin/sendmail +bin/splogger +bin/tcp-env +boot/binm1 +boot/binm1+df +boot/binm2 +boot/binm2+df +boot/binm3 +boot/binm3+df +boot/home +boot/home+df +boot/maildir +boot/proc +boot/proc+df @comment This port installs the following manually (ie. not through qmail-hier) -configure/install configure/config configure/config-fast configure/dnsfq -configure/hostname configure/dnsip -configure/ipmeprint configure/dnsptr +configure/hostname +configure/install +configure/ipmeprint +scripts/enable-qmail +scripts/mkaliasdir %%PORTDOCS%%%%DOCDIR%%/BLURB %%PORTDOCS%%%%DOCDIR%%/BLURB2 %%PORTDOCS%%%%DOCDIR%%/BLURB3 %%PORTDOCS%%%%DOCDIR%%/BLURB4 +%%PORTDOCS%%%%DOCDIR%%/FAQ +%%PORTDOCS%%%%DOCDIR%%/INSTALL +%%PORTDOCS%%%%DOCDIR%%/INSTALL.alias +%%PORTDOCS%%%%DOCDIR%%/INSTALL.ctl +%%PORTDOCS%%%%DOCDIR%%/INSTALL.ids +%%PORTDOCS%%%%DOCDIR%%/INSTALL.maildir +%%PORTDOCS%%%%DOCDIR%%/INSTALL.mbox +%%PORTDOCS%%%%DOCDIR%%/INSTALL.vsm %%PORTDOCS%%%%DOCDIR%%/INTERNALS -%%PORTDOCS%%%%DOCDIR%%/SECURITY -%%PORTDOCS%%%%DOCDIR%%/THOUGHTS +%%PORTDOCS%%%%DOCDIR%%/PIC.local2alias +%%PORTDOCS%%%%DOCDIR%%/PIC.local2ext +%%PORTDOCS%%%%DOCDIR%%/PIC.local2local +%%PORTDOCS%%%%DOCDIR%%/PIC.local2rem +%%PORTDOCS%%%%DOCDIR%%/PIC.local2virt +%%PORTDOCS%%%%DOCDIR%%/PIC.nullclient +%%PORTDOCS%%%%DOCDIR%%/PIC.relaybad +%%PORTDOCS%%%%DOCDIR%%/PIC.relaygood +%%PORTDOCS%%%%DOCDIR%%/PIC.rem2local %%PORTDOCS%%%%DOCDIR%%/PORT_NOTES %%PORTDOCS%%%%DOCDIR%%/PORT_NOTES_FreeBSD_40-RELEASE +%%PORTDOCS%%%%DOCDIR%%/REMOVE.sendmail +%%PORTDOCS%%%%DOCDIR%%/REMOVE.binmail +%%PORTDOCS%%%%DOCDIR%%/SECURITY +%%PORTDOCS%%%%DOCDIR%%/SENDMAIL %%PORTDOCS%%%%DOCDIR%%/SYSDEPS +%%PORTDOCS%%%%DOCDIR%%/TEST.deliver +%%PORTDOCS%%%%DOCDIR%%/TEST.receive +%%PORTDOCS%%%%DOCDIR%%/THOUGHTS +%%PORTDOCS%%%%DOCDIR%%/TLS.readme +%%PORTDOCS%%%%DOCDIR%%/UPGRADE %%PORTDOCS%%%%DOCDIR%%/mailer.conf.sample -%%PORTDOCS%%%%DOCDIR%%/mkaliasdir -boot/maildir %%PORTDOCS%%@dirrm %%DOCDIR%% +@dirrm scripts @dirrm configure @dirrm boot @dirrm bin - @unexec echo "1) If you are permanently removing qmail, you should also ``rm -Rf ${PKG_PREFIX}/alias ${PKG_PREFIX}/control ${PKG_PREFIX}/queue ${PKG_PREFIX}/users'' and remove the qmail users/groups." | /usr/bin/fmt @unexec echo "2) Do not forget to reconfigure your /etc/mail/mailer.conf to use your older MTA, or reconfigure your old MTA binaries if you decided to replace them." | /usr/bin/fmt -@unexec echo "3) Do not forget to enable sendmail as your default MTA if you have to. Go to mail/qmail portsdir and do a 'make enable-sendmail'" | /usr/bin/fmt +@unexec echo "3) Do not forget to enable sendmail as your default MTA if you have to. You can do it just executing 'echo sendmail_enable=\"YES\" >> /etc/rc.conf" | /usr/bin/fmt |