Removed expired port:
2011-07-18 mail/qmail-vida: UID collisions, IGNOREd for four years with no-one caring PR: ports/157616 Submitted by: crees Approved by: rene (mentor)
This commit is contained in:
parent
a95d594ae4
commit
cff1a7b5e3
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=277913
21 changed files with 1 additions and 1161 deletions
1
MOVED
1
MOVED
|
@ -2280,3 +2280,4 @@ www/horde4-meta||2011-07-14|Removed
|
|||
graphics/crystalentitylayer||2011-07-17|Removed
|
||||
graphics/crystalspace||2011-07-17|Has expired: has been broken for a year
|
||||
hungarian/hunspell|textproc/hunspell|2011-07-18|moved to textproc as it is language independent
|
||||
mail/qmail-vida||2011-07-18|Has expired: UID collisions, IGNOREd for four years with no-one caring
|
||||
|
|
|
@ -570,7 +570,6 @@
|
|||
SUBDIR += qmail-scanner1
|
||||
SUBDIR += qmail-spamcontrol
|
||||
SUBDIR += qmail-tls
|
||||
SUBDIR += qmail-vida
|
||||
SUBDIR += qmailadmin
|
||||
SUBDIR += qmailadmin-devel
|
||||
SUBDIR += qmailanalog
|
||||
|
|
|
@ -1,326 +0,0 @@
|
|||
# New ports collection makefile for: qmail-vida
|
||||
# Date created: 22 Aug 2005
|
||||
# Whom: FURUTATE,Mikihiko<futurebsd@infoseek.to>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= qmail-vida
|
||||
PORTVERSION= 0.53
|
||||
CATEGORIES= mail
|
||||
MASTER_SITES+= ${MASTER_SITE_SOURCEFORGE_JP:S/$/:vida/} \
|
||||
${MASTER_SITE_QMAIL:S/$/:qmail/} \
|
||||
http://cr.yp.to/checkpwd/:checkpassword \
|
||||
http://cr.yp.to/ucspi-tcp/:tcpserver
|
||||
MASTER_SITE_SUBDIR=${PORTNAME}/2100/:vida
|
||||
|
||||
MAINTAINER= futurebsd@infoseek.to
|
||||
COMMENT= SMTP_AUTH/APOP support for qmail
|
||||
|
||||
DEPRECATED= UID collisions, IGNOREd for four years with no-one caring
|
||||
EXPIRATION_DATE= 2011-07-18
|
||||
|
||||
IGNORE= abuses UID registered to another port, and uses unregistered GID
|
||||
|
||||
DISTFILES= ${DISTNAME}.tar.gz:vida \
|
||||
${DISTNAME_QMAIL}.tar.gz:qmail \
|
||||
${DISTNAME_CHECKPASSWORD}.tar.gz:checkpassword \
|
||||
${DISTNAME_TCPSERVER}.tar.gz:tcpserver
|
||||
DIST_SUBDIR= qmail-vida
|
||||
PATCH_WRKSRC= ${WRKSRC_QMAIL}
|
||||
|
||||
CONFLICTS= qmail-[0-9]* qmail-mysql-[0-9]* qmail-ldap-[0-9]* \
|
||||
qmail-smtp_auth+tls-[0-9]* qmail-spamcontrol-[0-9]* \
|
||||
qmail-tls-[0-9]* checkpassword-[0-9]* ucspi-tcp-[0-9]* \
|
||||
daemontools-[0-9]*
|
||||
|
||||
DISTNAME_QMAIL= qmail-1.03
|
||||
DISTNAME_CHECKPASSWORD= checkpassword-0.90
|
||||
DISTNAME_TCPSERVER= ucspi-tcp-0.88
|
||||
|
||||
WRKSRC_QMAIL= ${WRKDIR}/${DISTNAME_QMAIL}
|
||||
WRKSRC_CHECKPASSWORD= ${WRKDIR}/${DISTNAME_CHECKPASSWORD}
|
||||
WRKSRC_TCPSERVER= ${WRKDIR}/${DISTNAME_TCPSERVER}
|
||||
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
||||
PKGINSTALL?= ${WRKDIR}/pkg-install
|
||||
CSH?= /bin/csh
|
||||
PREFIX?= /var/qmail
|
||||
PORTDOCS= *
|
||||
|
||||
RESTRICTED= "djb\'s packaging license does not allow non-standard qmail binary distributions"
|
||||
|
||||
QMAIL_VERSION?= 1.03
|
||||
|
||||
ALL_TARGET_QMAIL= default dot-qmail.5 qmail-control.5 qmail-getpw.8 \
|
||||
qmail-limits.7 qmail-newmrh.8 qmail-newu.8 qmail-pw2u.8 \
|
||||
qmail-send.8 qmail-start.8 qmail-users.5
|
||||
|
||||
ALL_TARGET_CHECKPASSWORD= it
|
||||
ALL_TARGET_TCPSERVER= prog install instcheck
|
||||
|
||||
SCRIPTS_ENV= BINOWN="${BINOWN}" BINGRP="${BINGRP}" BINMODE="${BINMODE}" \
|
||||
MANMODE="${MANMODE}" CFLAGS="${CFLAGS}"
|
||||
|
||||
PLIST_SUB+= README_AUTH="@comment "
|
||||
PLIST_SUB+= LDAP="@comment " NOT_LDAP=""
|
||||
PLIST_SUB+= SMTP_AUTH_TLS="@comment "
|
||||
PLIST_SUB+= SPAMCONTROL="@comment "
|
||||
PLIST_SUB+= TLS="@comment "
|
||||
|
||||
SUB_FILES+= pkg-message${PKGMESSAGE_SUFFIX} mailer.conf.sample \
|
||||
bootfiles.sed enable-qmail
|
||||
SUB_LIST+= ECHO_CMD=${ECHO_CMD}
|
||||
PKGINSTALL?= ${WRKDIR}/pkg-install
|
||||
PKGMESSAGE?= ${WRKDIR}/pkg-message${PKGMESSAGE_SUFFIX}
|
||||
|
||||
DOCFILES+= ${WRKSRC_QMAIL}/BLURB ${WRKSRC_QMAIL}/BLURB2 ${WRKSRC_QMAIL}/BLURB3 \
|
||||
${WRKSRC_QMAIL}/BLURB4 ${WRKSRC_QMAIL}/INTERNALS ${WRKSRC_QMAIL}/SECURITY \
|
||||
${WRKSRC_QMAIL}/THOUGHTS ${FILESDIR}/PORT_NOTES \
|
||||
${FILESDIR}/PORT_NOTES_FreeBSD_40-RELEASE \
|
||||
${WRKDIR}/mailer.conf.sample \
|
||||
${WRKSRC_QMAIL}/FAQ ${WRKSRC_QMAIL}/UPGRADE ${WRKSRC_QMAIL}/SENDMAIL \
|
||||
${WRKSRC_QMAIL}/INSTALL ${WRKSRC_QMAIL}/INSTALL.alias \
|
||||
${WRKSRC_QMAIL}/INSTALL.ctl ${WRKSRC_QMAIL}/INSTALL.ids \
|
||||
${WRKSRC_QMAIL}/INSTALL.maildir ${WRKSRC_QMAIL}/INSTALL.mbox \
|
||||
${WRKSRC_QMAIL}/INSTALL.vsm ${WRKSRC_QMAIL}/TEST.deliver \
|
||||
${WRKSRC_QMAIL}/TEST.receive ${WRKSRC_QMAIL}/REMOVE.sendmail \
|
||||
${WRKSRC_QMAIL}/REMOVE.binmail ${WRKSRC_QMAIL}/PIC.local2alias \
|
||||
${WRKSRC_QMAIL}/PIC.local2ext ${WRKSRC_QMAIL}/PIC.local2local \
|
||||
${WRKSRC_QMAIL}/PIC.local2rem ${WRKSRC_QMAIL}/PIC.local2virt \
|
||||
${WRKSRC_QMAIL}/PIC.nullclient ${WRKSRC_QMAIL}/PIC.relaybad \
|
||||
${WRKSRC_QMAIL}/PIC.relaygood ${WRKSRC_QMAIL}/PIC.rem2local
|
||||
|
||||
CONFIGUREPROGS= ${WRKSRC_QMAIL}/install ${WRKSRC_QMAIL}/dnsfq ${WRKSRC_QMAIL}/hostname \
|
||||
${WRKSRC_QMAIL}/dnsip ${WRKSRC_QMAIL}/ipmeprint ${WRKSRC_QMAIL}/dnsptr
|
||||
CONFIGUREFILES= ${WRKSRC_QMAIL}/config ${WRKSRC_QMAIL}/config-fast
|
||||
BOOTFILES= home home+df proc proc+df binm1 binm1+df \
|
||||
binm2 binm2+df binm3 binm3+df maildir maildir+vida
|
||||
|
||||
TCPSERVER_DB_DIR= ${PREFIX}/cdb/tcp.smtp.cdb
|
||||
.if (${PREFIX} != ${LOCALBASE})
|
||||
DOCSDIR= ${PREFIX}/doc
|
||||
.endif
|
||||
|
||||
NO_MTREE= yes
|
||||
|
||||
OPTIONS+= QMAILQUEUE_PATCH "run a QMAILQUEUE program" off
|
||||
OPTIONS+= BIG_CONCURRENCY_PATCH "use a concurrency greater than 240" off
|
||||
OPTIONS+= OUTGOINGIP_PATCH "set the IP address to send messages" off
|
||||
OPTIONS+= LOCALTIME_PATCH "emit dates in the local timezone" off
|
||||
OPTIONS+= MAILDIRQUOTA_PATCH "Maildir++ support" off
|
||||
OPTIONS+= BLOCKEXEC_PATCH "block many windows viruses/worms" off
|
||||
OPTIONS+= DISCBOUNCES_PATCH "discard double-bounces" off
|
||||
OPTIONS+= RELAY_REJECT_PATCH "generated by so-called anti-spammers" off
|
||||
OPTIONS+= RCDLINK "create rc.d/qmail.sh" on
|
||||
OPTIONS+= TCPSERVER_MAN "install tcpserver man pages" on
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${ARCH} != "i386"
|
||||
BROKEN= Does not compile on !i386
|
||||
.endif
|
||||
|
||||
MAN1_QMAIL= forward.1 condredirect.1 bouncesaying.1 except.1 maildirmake.1 \
|
||||
maildir2mbox.1 maildirwatch.1 mailsubj.1 qreceipt.1 qbiff.1 preline.1 \
|
||||
tcp-env.1
|
||||
MAN5_QMAIL= addresses.5 envelopes.5 maildir.5 mbox.5 dot-qmail.5 qmail-control.5 \
|
||||
qmail-header.5 qmail-log.5 qmail-users.5 tcp-environ.5
|
||||
MAN7_QMAIL= forgeries.7 qmail-limits.7 qmail.7
|
||||
MAN8_QMAIL= qmail-local.8 qmail-lspawn.8 qmail-getpw.8 qmail-remote.8 \
|
||||
qmail-rspawn.8 qmail-clean.8 qmail-send.8 qmail-start.8 splogger.8 \
|
||||
qmail-queue.8 qmail-inject.8 qmail-showctl.8 qmail-newmrh.8 \
|
||||
qmail-newu.8 qmail-pw2u.8 qmail-qread.8 qmail-qstat.8 qmail-tcpok.8 \
|
||||
qmail-tcpto.8 qmail-pop3d.8 qmail-popup.8 qmail-qmqpc.8 qmail-qmqpd.8 \
|
||||
qmail-qmtpd.8 qmail-smtpd.8 qmail-command.8
|
||||
.for i in 1 5 7 8
|
||||
MAN${i}+=${MAN${i}_QMAIL}
|
||||
.endfor
|
||||
|
||||
PATCH_SITES+= ${MASTER_SITE_QMAIL}
|
||||
PATCH_SITES+= http://www.ckdhr.com/ckd/:dns
|
||||
PATCH_SITES+= ${MASTER_SITE_LOCAL:S/$/:dns/}
|
||||
PATCHFILES+= qmail-103.patch:dns
|
||||
PATCH_SITE_SUBDIR+= lioux/:dns
|
||||
PATCH_DIST_STRIP+= -p1
|
||||
|
||||
.if defined(WITH_QMAILQUEUE_PATCH)
|
||||
PATCHFILES+= qmailqueue-patch
|
||||
.endif
|
||||
.if defined(WITH_BIG_CONCURRENCY_PATCH)
|
||||
PATCHFILES+= big-concurrency.patch
|
||||
WITH_BIG_CONCURRENCY_PATCH_CONCURRENCY_LIMIT?= 509
|
||||
.endif
|
||||
.if defined(WITH_OUTGOINGIP_PATCH)
|
||||
PATCHFILES+= outgoingip.patch
|
||||
.endif
|
||||
.if defined(WITH_LOCALTIME_PATCH)
|
||||
PATCH_SITES+= http://www.alib.jp/files/:localtime
|
||||
PATCHFILES+= qmail-date-localtime.patch:localtime
|
||||
.endif
|
||||
.if defined(WITH_MAILDIRQUOTA_PATCH)
|
||||
PATCH_SITES+= http://www.alexdupre.com/qmail/:quota
|
||||
PATCHFILES+= qmail-maildir++.patch:quota
|
||||
.endif
|
||||
.if defined(WITH_BLOCKEXEC_PATCH) && !defined(BARRIER_BLOCKEXEC_PATCH)
|
||||
PATCH_SITES+= http://www.alexdupre.com/qmail/:blockexec
|
||||
PATCHFILES+= qmail-block-executables.patch:blockexec
|
||||
.endif
|
||||
.if defined(WITH_DISCBOUNCES_PATCH) && !defined(BARRIER_DISCBOUNCES_PATCH)
|
||||
PATCH_SITES+= http://www.alexdupre.com/qmail/:doublebounce
|
||||
PATCHFILES+= qmail-discard-double-bounces.patch:doublebounce
|
||||
.endif
|
||||
.if defined(WITH_RELAY_REJECT_PATCH)
|
||||
PATCHFILES+= qmail-smtpd-relay-reject
|
||||
.endif
|
||||
.if defined(WITH_RCDLINK)
|
||||
PLIST_SUB+= RCDLINK=""
|
||||
RCDLINK=
|
||||
.else
|
||||
PLIST_SUB+= RCDLINK="@comment "
|
||||
RCDLINK= \#
|
||||
.endif
|
||||
|
||||
.if defined(WITH_TCPSERVER_MAN)
|
||||
MASTER_SITES+= http://smarden.org/pape/djb/manpages/:1
|
||||
DISTFILES+= ${DISTNAME_TCPSERVER}-man.tar.gz:1
|
||||
MAN1_TCPSERVER=addcr.1 argv0.1 date@.1 delcr.1 finger@.1 fixcrio.1 \
|
||||
http@.1 mconnect.1 rblsmtpd.1 recordio.1 tcpcat.1 \
|
||||
tcpclient.1 tcprules.1 tcprulescheck.1 tcpserver.1 who@.1
|
||||
MAN1+=${MAN1_TCPSERVER}
|
||||
.endif
|
||||
|
||||
pre-everything::
|
||||
.if !defined(BARRIER_BIG_CONCURRENCY_PATCH)
|
||||
@${ECHO_MSG} ""
|
||||
@${ECHO_MSG} "You may use the following build options:"
|
||||
@${ECHO_MSG} ""
|
||||
@${ECHO_MSG} "WITH_BIG_CONCURRENCY_PATCH_CONCURRENCY_LIMIT=NUMBER"
|
||||
@${ECHO_MSG} " (default NUMBER=${WITH_BIG_CONCURRENCY_PATCH_CONCURRENCY_LIMIT})"
|
||||
@${ECHO_MSG} " set this to a value reasonable for"
|
||||
@${ECHO_MSG} " your system if you use the patch"
|
||||
@${ECHO_MSG} ""
|
||||
.endif
|
||||
|
||||
pre-patch:
|
||||
cd ${WRKSRC} && make patch
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} 's!/var/qmail!${PREFIX}!; \
|
||||
s!/usr/local/!${LOCALBASE}/!' \
|
||||
${WRKSRC_QMAIL}/Makefile
|
||||
@${REINPLACE_CMD} 's!nofiles!qnofiles!g' \
|
||||
${WRKSRC_QMAIL}/conf-groups
|
||||
@${REINPLACE_CMD} '/"man"/d; /man\/man/d; /man\/cat/d; \
|
||||
/"doc"/d; /"boot","/d' \
|
||||
${WRKSRC_QMAIL}/hier.c
|
||||
cd ${WRKSRC} && make copy
|
||||
|
||||
do-configure:
|
||||
@${SED} -e 's,%%RCDLINK%%,${RCDLINK},g; s,%%LOCALBASE%%,${LOCALBASE},g' \
|
||||
${FILESDIR}/pkg-install.in > ${WRKDIR}/pkg-install
|
||||
@${SETENV} PKG_PREFIX="${PREFIX}" ${CSH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL
|
||||
@${ECHO_CMD} "${CC} ${CFLAGS}" > ${WRKSRC_QMAIL}/conf-cc
|
||||
@${ECHO_CMD} ${PREFIX} > ${WRKSRC_QMAIL}/conf-qmail
|
||||
.if defined(WITH_BIG_CONCURRENCY_PATCH) && defined(WITH_BIG_CONCURRENCY_PATCH_CONCURRENCY_LIMIT)
|
||||
@if [ ${WITH_BIG_CONCURRENCY_PATCH_CONCURRENCY_LIMIT} -gt 0 ]; then \
|
||||
${ECHO_CMD} "${WITH_BIG_CONCURRENCY_PATCH_CONCURRENCY_LIMIT}" \
|
||||
> ${WRKSRC_QMAIL}/conf-spawn ; \
|
||||
fi
|
||||
.endif
|
||||
@${ECHO_CMD} 'qnofiles' > ${WRKSRC_CHECKPASSWORD}/conf-groups
|
||||
@${ECHO_CMD} 'cc -s -lcrypt' > ${WRKSRC_CHECKPASSWORD}/conf-ld
|
||||
@${ECHO_CMD} ${PREFIX} >${WRKSRC_CHECKPASSWORD}/conf-home
|
||||
@${ECHO_CMD} "${CC} ${CFLAGS}" > ${WRKSRC}/src/vida/conf-cc
|
||||
@${ECHO_CMD} ${PREFIX} > ${WRKSRC}/src/vida/conf-home
|
||||
@${ECHO_CMD} ${PREFIX} > ${WRKSRC}/src/vida/conf-qmailhome
|
||||
|
||||
post-configure:
|
||||
@${ECHO_CMD} ${PREFIX} > ${WRKSRC_TCPSERVER}/conf-home
|
||||
@${ECHO_CMD} ${CC} ${CFLAGS} > ${WRKSRC_TCPSERVER}/conf-cc
|
||||
@${ECHO_CMD} ${CC} -s > ${WRKSRC_TCPSERVER}/conf-ld
|
||||
|
||||
do-build:
|
||||
@${ECHO_CMD} "=>Building" ${DISTNAME_QMAIL}
|
||||
.for target in ${ALL_TARGET_QMAIL}
|
||||
@cd ${WRKSRC_QMAIL} && make ${target}
|
||||
.endfor
|
||||
@${ECHO_CMD} "=>Building" ${DISTNAME_CHECKPASSWORD}
|
||||
.for target in ${ALL_TARGET_CHECKPASSWORD}
|
||||
@cd ${WRKSRC_CHECKPASSWORD} && make ${target}
|
||||
.endfor
|
||||
@${ECHO_CMD} "=>Building" ${DISTNAME_TCPSERVER}
|
||||
.for target in ${ALL_TARGET_TCPSERVER}
|
||||
@cd ${WRKSRC_TCPSERVER} && make ${target}
|
||||
.endfor
|
||||
|
||||
do-install:
|
||||
.for i in ${BOOTFILES}
|
||||
@if [ -f ${WRKSRC_QMAIL}/${i}.sh ] ; then \
|
||||
${SED} -f ${WRKDIR}/bootfiles.sed ${WRKSRC_QMAIL}/$i.sh > ${WRKDIR}/${i} ; \
|
||||
elif [ -f ${FILESDIR}/${i}.in ] ; then \
|
||||
${SED} -e 's,%%PREFIX%%,${PREFIX},g ; s,%%TCPSERVERDB%%,${TCPSERVER_DB_DIR},g ; s,%%ECHO_CMD%%,${ECHO_CMD},g' ${FILESDIR}/$i.in > ${WRKDIR}/${i} ; \
|
||||
elif [ -f ${FILESDIR}/${i} ] ; then \
|
||||
${SED} -f ${WRKDIR}/bootfiles.sed ${FILESDIR}/$i > ${WRKDIR}/${i} ; \
|
||||
fi
|
||||
.endfor
|
||||
@${MKDIR} ${PREFIX}/configure
|
||||
@cd ${WRKSRC_QMAIL} ; ./install
|
||||
${INSTALL_PROGRAM} ${CONFIGUREPROGS} ${PREFIX}/configure
|
||||
${INSTALL_SCRIPT} ${CONFIGUREFILES} ${PREFIX}/configure
|
||||
.for i in ${BOOTFILES}
|
||||
${INSTALL_SCRIPT} ${WRKDIR}/${i:T} ${PREFIX}/boot
|
||||
.endfor
|
||||
.for i in 1 5 7 8
|
||||
@${MKDIR} ${PREFIX}/man/man$i
|
||||
.for j in ${MAN${i}_QMAIL}
|
||||
${INSTALL_MAN} ${WRKSRC_QMAIL}/$j ${PREFIX}/man/man${i}
|
||||
.endfor
|
||||
.endfor
|
||||
.if !defined(NOPORTDOCS)
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
${INSTALL_DATA} ${DOCFILES} ${DOCSDIR}
|
||||
. if defined(PACKAGE_BUILDING)
|
||||
@${ECHO_CMD} "FreeBSD Binary package qmail installation" \
|
||||
> ${DOCSDIR}/SYSDEPS
|
||||
. else
|
||||
@cd ${WRKSRC_QMAIL} && ${CAT} `${CAT} SYSDEPS` \
|
||||
> ${DOCSDIR}/SYSDEPS
|
||||
. endif
|
||||
.endif
|
||||
@${MKDIR} ${PREFIX}/scripts
|
||||
${INSTALL_SCRIPT} ${FILESDIR}/mkaliasdir ${PREFIX}/scripts
|
||||
${INSTALL_SCRIPT} ${WRKDIR}/enable-qmail ${PREFIX}/scripts
|
||||
.for script in ${SCRIPTS}
|
||||
${INSTALL_SCRIPT} ${WRKDIR}/scripts/${script} ${PREFIX}/scripts
|
||||
.endfor
|
||||
@${SETENV} PKG_PREFIX="${PREFIX}" ${CSH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
|
||||
@${ECHO_CMD}
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
@${ECHO_CMD}
|
||||
@cd ${WRKSRC_CHECKPASSWORD} && make setup
|
||||
.for file_name in addcr argv0 delcr fixcrio mconnect-io rblsmtpd recordio tcpclient tcprules tcprulescheck tcpserver
|
||||
@${INSTALL_PROGRAM} ${WRKSRC_TCPSERVER}/${file_name} ${PREFIX}/bin
|
||||
.endfor
|
||||
.for file_name in date@ finger@ http@ mconnect who@ tcpcat
|
||||
@${INSTALL_SCRIPT} ${WRKSRC_TCPSERVER}/${file_name} ${PREFIX}/bin
|
||||
.endfor
|
||||
|
||||
.if defined(WITH_TCPSERVER_MAN)
|
||||
.for j in ${MAN1_TCPSERVER}
|
||||
${INSTALL_MAN} ${WRKSRC_TCPSERVER}-man/${j} ${PREFIX}/man/man1/
|
||||
.endfor
|
||||
.endif
|
||||
cd ${WRKSRC}/src/vida && make setup
|
||||
cd ${WRKSRC} && make install-doc
|
||||
|
||||
post-install:
|
||||
.if !defined(NOPORTDOCS)
|
||||
@${MKDIR} ${DOCSDIR}/checkpassword
|
||||
. for f in CHANGES FILES README SYSDEPS TARGETS TODO VERSION
|
||||
${INSTALL_DATA} ${WRKSRC_CHECKPASSWORD}/$f ${DOCSDIR}/checkpassword
|
||||
. endfor
|
||||
.endif
|
||||
cd ${WRKSRC}/src/vida && make check
|
||||
|
||||
.include <bsd.port.post.mk>
|
|
@ -1,28 +0,0 @@
|
|||
SHA256 (qmail-vida/qmail-vida-0.53.tar.gz) = 18b21425c5d2b3fd656c2457e9a9a8a35e5023838658449b9eead36b0499c082
|
||||
SIZE (qmail-vida/qmail-vida-0.53.tar.gz) = 73484
|
||||
SHA256 (qmail-vida/qmail-1.03.tar.gz) = 21ed6c562cbb55092a66197c35c8222b84115d1acab0854fdb1ad1f301626f88
|
||||
SIZE (qmail-vida/qmail-1.03.tar.gz) = 220668
|
||||
SHA256 (qmail-vida/checkpassword-0.90.tar.gz) = 74300364b6be26be08e34f768532e911789827179e680bc89db3525fe415762f
|
||||
SIZE (qmail-vida/checkpassword-0.90.tar.gz) = 15631
|
||||
SHA256 (qmail-vida/ucspi-tcp-0.88.tar.gz) = 4a0615cab74886f5b4f7e8fd32933a07b955536a3476d74ea087a3ea66a23e9c
|
||||
SIZE (qmail-vida/ucspi-tcp-0.88.tar.gz) = 53019
|
||||
SHA256 (qmail-vida/ucspi-tcp-0.88-man.tar.gz) = 09b1dd69ca3722b62c030abb27df9560cb72ff5d6247e4628e0c61e957b408ef
|
||||
SIZE (qmail-vida/ucspi-tcp-0.88-man.tar.gz) = 7562
|
||||
SHA256 (qmail-vida/qmail-103.patch) = 4cad53c7a6628a600c74c36bfee327db5052ca24c222d4013e4dfcd7f427653d
|
||||
SIZE (qmail-vida/qmail-103.patch) = 2104
|
||||
SHA256 (qmail-vida/qmailqueue-patch) = 52e82aaa34e9f1308b063cc986a701f67e161662e9f789bb12af03a381530f94
|
||||
SIZE (qmail-vida/qmailqueue-patch) = 2510
|
||||
SHA256 (qmail-vida/big-concurrency.patch) = 0322991955878e86af495f7317c3a4bd2e60640f9a6dd70ad501fff27242ac2f
|
||||
SIZE (qmail-vida/big-concurrency.patch) = 9331
|
||||
SHA256 (qmail-vida/outgoingip.patch) = c117f5c41033f062cdc782a16403fc19725e98d92e73ab193dfd24f48c0ca5ac
|
||||
SIZE (qmail-vida/outgoingip.patch) = 6839
|
||||
SHA256 (qmail-vida/qmail-date-localtime.patch) = 852aee7577edf8814c2429f82740da2a7e0b0b23516e10c4f3f7e845a47be2d5
|
||||
SIZE (qmail-vida/qmail-date-localtime.patch) = 2603
|
||||
SHA256 (qmail-vida/qmail-maildir++.patch) = 79e3f1f8f95b58b6d17e5469f125d873fe212d0a5a6d19b538ad57176fbafb52
|
||||
SIZE (qmail-vida/qmail-maildir++.patch) = 38088
|
||||
SHA256 (qmail-vida/qmail-block-executables.patch) = 97512624eb02db51e10ab6d0dd834a8797a238d0e006bd1c6c94a183d291b456
|
||||
SIZE (qmail-vida/qmail-block-executables.patch) = 5070
|
||||
SHA256 (qmail-vida/qmail-discard-double-bounces.patch) = 14489eefd9908f60af13fadd574d0e9bb936e5d1b706690ce52efef68529a8d8
|
||||
SIZE (qmail-vida/qmail-discard-double-bounces.patch) = 1305
|
||||
SHA256 (qmail-vida/qmail-smtpd-relay-reject) = 4f988af8fbc2829b1dd2b7d8cdca362b16cee7f27e020f6ca98d4cbdbd875fe9
|
||||
SIZE (qmail-vida/qmail-smtpd-relay-reject) = 1230
|
|
@ -1,125 +0,0 @@
|
|||
This text was originally taken from the qmail INSTALL file that you
|
||||
will find in /var/qmail/doc/. In addition to INSTALL, there are many
|
||||
other potentially important qmail documents there.
|
||||
|
||||
As with all ports, the ports maintainer (me!) makes NO WARRANTIES of
|
||||
any kind: expressed, implied, or other; about the reliability or
|
||||
security of this package. Any damage or problems derived from its
|
||||
usage or related to it are neither my responsibility nor the software
|
||||
author's. This package is provided AS IS.
|
||||
|
||||
Although I am probably sounding cold and harsh, believe me: qmail is
|
||||
one of the most reliable and easy-to-use softwares around. However,
|
||||
this also is NOT a WARRANTY. It is just an opinion. :)
|
||||
|
||||
The qmail port will normally install into /var/qmail/. If you changed
|
||||
this to /usr/local/, then please note that the docs have been
|
||||
installed into /usr/local/share/doc/qmail/ (as opposed to
|
||||
/usr/local/doc/).
|
||||
|
||||
If you wish to rerun the automatic configuration utility, do:
|
||||
|
||||
# cd /var/qmail/configure ; ./config
|
||||
|
||||
If you are upgrading from a previous version of qmail, you should read
|
||||
/var/qmail/doc/UPGRADE and follow all the steps after #6.
|
||||
|
||||
|
||||
[from /var/qmail/doc/INSTALL]
|
||||
|
||||
SAVE COPIES OF YOUR OUTGOING MAIL! Like any other piece of software (and
|
||||
information generally), the qmail system comes with NO WARRANTY. It's
|
||||
much more secure and reliable than sendmail, but that's not saying much.
|
||||
|
||||
[pre-build instructions elided]
|
||||
|
||||
To create /var/qmail and configure qmail (won't interfere with sendmail):
|
||||
|
||||
[#1 - #3 elided]
|
||||
|
||||
4. Read INSTALL.ctl and FAQ. Minimal survival command:
|
||||
# ./config
|
||||
|
||||
[The "minimal" command has already been performed.]
|
||||
|
||||
5. Read INSTALL.alias. Minimal survival command:
|
||||
# (cd ~alias; touch .qmail-postmaster .qmail-mailer-daemon .qmail-root)
|
||||
# chmod 644 ~alias/.qmail*
|
||||
|
||||
[The "minimal" command has already been performed.]
|
||||
|
||||
6. Read INSTALL.mbox and INSTALL.vsm.
|
||||
|
||||
7. Read INSTALL.maildir.
|
||||
|
||||
8. Copy /var/qmail/boot/home (or proc) to /var/qmail/rc.
|
||||
|
||||
[When you do this, qmail will be started automatically the next time
|
||||
you boot. This is because the command
|
||||
``ln -s /var/qmail/rc /usr/local/etc/rc.d'' has been executed. There
|
||||
is a number of sample bootfiles provided. Not all of them will work.]
|
||||
|
||||
To test qmail deliveries (won't interfere with sendmail):
|
||||
|
||||
9. Enable deliveries of messages injected into qmail:
|
||||
# csh -cf '/var/qmail/rc &'
|
||||
|
||||
10. Read TEST.deliver.
|
||||
|
||||
|
||||
To upgrade from sendmail to qmail:
|
||||
|
||||
11. Read SENDMAIL. This is what your users will want to know about the
|
||||
switch from sendmail to qmail.
|
||||
|
||||
12. Read REMOVE.sendmail. You must remove sendmail before installing
|
||||
qmail.
|
||||
|
||||
[Do not disable sendmail as instructed in REMOVE.sendmail step #1.
|
||||
Instead, change the sendmail_enable line in /etc/rc.conf to read
|
||||
|
||||
sendmail_enable="NO"
|
||||
|
||||
If you are running a FreeBSD 4.0-RELEASE or later, read
|
||||
PORT_NOTES_FreeBSD_40-RELEASE before executing step 12.
|
||||
]
|
||||
|
||||
13. Read REMOVE.binmail.
|
||||
|
||||
14. Add
|
||||
csh -cf '/var/qmail/rc &'
|
||||
to your boot scripts, so that the qmail daemons are restarted
|
||||
whenever your system reboots. Make sure you include the &.
|
||||
|
||||
[Do not do this. Unless you remove the symlink
|
||||
/usr/local/etc/rc.d/qmail.sh, the script /var/qmail/rc will be run
|
||||
everytime you boot. See also "local_startup" in /etc/rc.conf.]
|
||||
|
||||
15. Make qmail's ``sendmail'' wrapper available to MUAs:
|
||||
# ln -s /var/qmail/bin/sendmail /usr/lib/sendmail
|
||||
# ln -s /var/qmail/bin/sendmail /usr/sbin/sendmail
|
||||
/usr/sbin might not exist on your system.
|
||||
|
||||
16. Set up qmail-smtpd in /etc/inetd.conf (all on one line):
|
||||
smtp stream tcp nowait qmaild /var/qmail/bin/tcp-env
|
||||
tcp-env /var/qmail/bin/qmail-smtpd
|
||||
|
||||
[A freshly-updated /etc/inetd.conf will have a sample qmail entry that
|
||||
you can simply uncomment.]
|
||||
|
||||
17. Reboot. (Or kill -HUP your inetd and make sure the qmail daemons
|
||||
are running.)
|
||||
|
||||
18. Read TEST.receive.
|
||||
|
||||
|
||||
|
||||
That's it! To report success:
|
||||
% ( echo 'First M. Last'; cat /var/qmail/doc/SYSDEPS ) \
|
||||
| mail djb-qst@cr.yp.to
|
||||
Replace First M. Last with your name.
|
||||
|
||||
[Note that "cat `cat SYSDEPS`" has changed to "cat /var/qmail/doc/SYSDEPS"]
|
||||
|
||||
If you have questions about qmail, join the qmail mailing list; see
|
||||
http://pobox.com/~djb/qmail.html.
|
|
@ -1,61 +0,0 @@
|
|||
In addition to PORT_NOTES_FreeBSD_40-RELEASE, there are many
|
||||
other potentially important qmail documents there such as PORT_NOTES
|
||||
and INSTALL.
|
||||
|
||||
As with all ports, the ports maintainer (me!) makes NO WARRANTIES of
|
||||
any kind: expressed, implied, or other; about the reliability or
|
||||
security of this package. Any damage or problems derived from its
|
||||
usage or related to it are neither my responsibility nor the software
|
||||
author's. This package is provided AS IS.
|
||||
|
||||
Although I am probably sounding cold and harsh, believe me: qmail is
|
||||
one of the most reliable and easy-to-use softwares around. However,
|
||||
this also is NOT a WARRANTY. It is just an opinion. :)
|
||||
|
||||
The qmail port will normally install into /var/qmail/. If you changed
|
||||
this to /usr/local/, then please note that the docs have been
|
||||
installed into /usr/local/share/doc/qmail/ (as opposed to
|
||||
/usr/local/doc/).
|
||||
|
||||
##
|
||||
### Document starts here
|
||||
##
|
||||
|
||||
If you read PORT_NOTES, you may have noticed I mentioned step 12 should
|
||||
be changed for FreeBSD versions 4.0-Release and later.
|
||||
|
||||
FreeBSD 4.0-Release and later come with a program named mailwrapper (8)
|
||||
which eases the replacement of sendmail. No binaries need to be touched,
|
||||
"chmod"ed, erased, deleted or, otherwise, modified.
|
||||
|
||||
Whenever you call /usr/sbin/sendmail, /usr/bin/mail, or /usr/bin/newaliases;
|
||||
in fact, you are calling a symbolic link to mailwrapper. Mailwrapper
|
||||
then calls the appropriate binary according to its configuration file.
|
||||
|
||||
An excerpt from the mailwrapper manual:
|
||||
|
||||
"The mailwrapper program is designed to replace /usr/sbin/sendmail and to
|
||||
invoke an appropriate MTA instead of sendmail(8) based on configuration
|
||||
information placed in /etc/mail/mailer.conf. This permits the administra-
|
||||
tor to configure which MTA is to be invoked on the system at run time."
|
||||
|
||||
Configuration for mailwrapper is kept in /etc/mail/mailer.conf.
|
||||
|
||||
Here follows my personal /etc/mail/mailer.conf
|
||||
|
||||
sendmail /var/qmail/bin/sendmail
|
||||
send-mail /var/qmail/bin/sendmail
|
||||
mailq /var/qmail/bin/qmail-qread
|
||||
newaliases /var/qmail/bin/newaliases
|
||||
|
||||
There is a sample mailer.conf in this directory, please install
|
||||
over the /etc/mail/mailer.conf to unfold qmail as your default MTA.
|
||||
Please don´t forget to backup /etc/mail/mailer.conf before doing
|
||||
so. Better safe then sorry.
|
||||
|
||||
So, whenever you call sendmail, in fact, you are using the appropriate
|
||||
"qmail-clones".
|
||||
|
||||
You should notice, though, that the programs do not behave exactly as
|
||||
their sendmail counterparts. Therefore, reading the appropriate
|
||||
/var/qmail/doc files and man pages is highly advisable.
|
|
@ -1,15 +0,0 @@
|
|||
s!QMAIL/!%%PREFIX%%/!
|
||||
s!^\(exec\)!case "\$1" in\
|
||||
start)\
|
||||
\ \1!
|
||||
s!\(qmail\)$!\1\&\
|
||||
\ exit 0\
|
||||
\ ;;\
|
||||
stop)\
|
||||
\ exec killall qmail-send\
|
||||
\ ;;\
|
||||
*)\
|
||||
\ %%ECHO_CMD%% "Usage: `basename \$0` {start|stop}" >\&2\
|
||||
\ exit 64\
|
||||
\ ;;\
|
||||
esac!
|
|
@ -1,86 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
disable_sendmail() {
|
||||
echo "===> I hope you know what you are doing:"
|
||||
echo "===> You just told your system to not"
|
||||
echo "===> automaticaly start sendmail on your"
|
||||
echo "===> next startup."
|
||||
echo "===> (i.e., added sendmail_enable=\"NONE\" to rc.conf)"
|
||||
|
||||
if [ -f ${RC_CONF_FILE} ]; then
|
||||
echo sendmail_enable=\"NONE\" >> ${RC_CONF_FILE}
|
||||
fi
|
||||
}
|
||||
|
||||
enable_qmail() {
|
||||
if [ -f ${MAILER_CONF_FILE} ]; then
|
||||
cp ${MAILER_CONF_FILE} ${MAILER_CONF_FILE}.bak && \
|
||||
cp %%DOCSDIR%%/mailer.conf.sample ${MAILER_CONF_FILE}
|
||||
else
|
||||
echo "===> ERROR: YOU DO NOT HAVE A VALID ${MAILER_CONF_FILE}"
|
||||
echo "===> FIX this and try again"
|
||||
echo "===> or, run \"$0 --force\" if you are sure"
|
||||
echo "===> you want this port replacing some binaries"
|
||||
echo "===> IF THIS FEELS UNEASY, read %%DOCSDIR%%/REMOVE.sendmail and do it manually"
|
||||
echo ""
|
||||
echo "=======> VERY IMPORTANT <======="
|
||||
echo "===> One side issue is that if you do replace them,"
|
||||
echo "===> you really should consider ADDING \"NO_SENDMAIL=true\""
|
||||
echo "===> to your /etc/make.conf if you do \"make world\"."
|
||||
echo "===> Otherwise, \"make world\" will \"fix\" your sendmail"
|
||||
echo "===> installation breaking your qmail one."
|
||||
echo "===> Read the FreeBSD Handbook section on \"make world\""
|
||||
echo "===> if you do not know what I am talking about."
|
||||
echo "===> Check http://www.FreeBSD.org/ for the most"
|
||||
echo "===> updated copy of the Handbook."
|
||||
fi
|
||||
echo "===> Do not forget to choose an appropriate qmail startup"
|
||||
echo "===> script. Go through %%PREFIX%%/boot, choose one"
|
||||
echo "===> and copy the chosen script as %%PREFIX%%/rc"
|
||||
echo "===> For example, \"cp %%PREFIX%%/boot/proc+df %%PREFIX%%/rc\""
|
||||
}
|
||||
|
||||
# taken from mail/postfix idea
|
||||
force_enable_qmail() {
|
||||
echo "===> Replacing sendmail"
|
||||
if [ -e ${SENDMAIL} ]; then
|
||||
mv -f ${SENDMAIL} ${SENDMAIL}.OFF && \
|
||||
chmod 0 ${SENDMAIL}.OFF
|
||||
fi
|
||||
if [ -e %%PREFIX%%/bin/sendmail ]; then
|
||||
ln -sf %%PREFIX%%/bin/sendmail ${SENDMAIL}
|
||||
fi
|
||||
|
||||
echo "===> Replacing mailq"
|
||||
if [ -e ${MAILQ} ]; then
|
||||
mv -f ${MAILQ} ${MAILQ}.OFF && \
|
||||
chmod 0 ${MAILQ}.OFF
|
||||
fi
|
||||
if [ -e %%PREFIX%%/bin/qmail-qread ]; then
|
||||
ln -sf %%PREFIX%%/bin/qmail-qread ${MAILQ}
|
||||
fi
|
||||
|
||||
echo "===> Replacing newaliases"
|
||||
if [ -e ${NEWALIASES} ]; then
|
||||
mv -f ${NEWALIASES} ${NEWALIASES}.OFF && \
|
||||
chmod 0 ${NEWALIASES}.OFF
|
||||
fi
|
||||
if [ -e %%PREFIX%%/bin/newaliases ]; then
|
||||
ln -sf %%PREFIX%%/bin/newaliases ${NEWALIASES}
|
||||
fi
|
||||
}
|
||||
|
||||
# main
|
||||
RC_CONF_FILE=/etc/rc.conf
|
||||
MAILER_CONF_FILE=/etc/mail/mailer.conf
|
||||
SENDMAIL=/usr/sbin/sendmail
|
||||
MAILQ=/usr/bin/mailq
|
||||
NEWALIASES=/usr/bin/newaliases
|
||||
|
||||
disable_sendmail
|
||||
|
||||
if [ "$1" = "--force" ]; then
|
||||
force_enable_qmail
|
||||
else
|
||||
enable_qmail
|
||||
fi
|
|
@ -1,8 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
# Using splogger to send the log through syslog.
|
||||
# Using qmail-local to deliver messages to Maildir format by default
|
||||
|
||||
exec env - PATH="QMAIL/bin:$PATH" \
|
||||
qmail-start ./Maildir/ \
|
||||
splogger qmail
|
|
@ -1,33 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
# Using splogger to send the log through syslog.
|
||||
# Using qmail-local to deliver messages to Maildir format by default
|
||||
# Using tcpserver and checkpassword
|
||||
|
||||
case "$1" in
|
||||
|
||||
start)
|
||||
exec env - PATH="%%PREFIX%%/bin:$PATH" \
|
||||
qmail-start ./Maildir/ \
|
||||
splogger qmail &
|
||||
exec env - PATH="%%PREFIX%%/bin:$PATH" \
|
||||
tcpserver -vHR -x %%TCPSERVERDB%% -c 40 0 \
|
||||
smtp qmail-smtpup "$HOST" checkpassword qmail-smtpd 2>&1 | \
|
||||
%%PREFIX%%/bin/splogger smtpd 4 &
|
||||
exec env - PATH="%%PREFIX%%/bin:$PATH" \
|
||||
tcpserver -vHR -x %%TCPSERVERDB%% 0 \
|
||||
pop3 qmail-popup "$HOST" checkpassword qmail-pop3d Maildir 2>&1 | \
|
||||
%%PREFIX%%/bin/splogger pop3d 4 &
|
||||
;;
|
||||
stop)
|
||||
# Stop all qmail process
|
||||
killall qmail-send
|
||||
killall splogger
|
||||
killall tcpserver
|
||||
;;
|
||||
*)
|
||||
%%ECHO_CMD%% "Usage: `basename $0` {start|stop}" >&2
|
||||
exit 64
|
||||
;;
|
||||
esac
|
||||
|
|
@ -1,10 +0,0 @@
|
|||
# Configuration for mailwrapper is kept in /etc/mail/mailer.conf.
|
||||
# Replace that file with this one to enable qmail under a sendmail
|
||||
# disguise. Very useful.
|
||||
|
||||
sendmail %%PREFIX%%/bin/sendmail
|
||||
send-mail %%PREFIX%%/bin/sendmail
|
||||
mailq %%PREFIX%%/bin/qmail-qread
|
||||
newaliases %%PREFIX%%/bin/newaliases
|
||||
hoststat %%PREFIX%%/bin/qmail-tcpto
|
||||
purgestat %%PREFIX%%/bin/qmail-tcpok
|
|
@ -1,109 +0,0 @@
|
|||
#!/usr/bin/perl
|
||||
#
|
||||
# Script to populate a Qmail ~alias directory with entries from
|
||||
# an [SZ]mail{er} or sendmail-like aliases file
|
||||
#
|
||||
# $FreeBSD: /tmp/pcvs/ports/mail/qmail-vida/files/Attic/mkaliasdir,v 1.1 2005-08-30 14:44:26 garga Exp $
|
||||
#
|
||||
# Dan Cross <tenser@spitfire.ecsel.psu.edu>
|
||||
#
|
||||
|
||||
require 'getopts.pl';
|
||||
|
||||
$ALIASES = "/etc/aliases";
|
||||
|
||||
die "$0 must be run as root!\n" if ($< != 0);
|
||||
|
||||
do Getopts('vf:');
|
||||
|
||||
$verbose = 0 unless ($verbose = $opt_v);
|
||||
$aliases = $ALIASES unless ($aliases = $opt_f);
|
||||
|
||||
if (($aliasdir = (getpwnam("qalias"))[7]) eq "")
|
||||
{
|
||||
die "User qalias does not exist, bailing!\n";
|
||||
}
|
||||
|
||||
if (($qmaildir = (getpwnam("qmaild"))[7]) eq "")
|
||||
{
|
||||
die "User qmaild does not exist, bailing!\n";
|
||||
}
|
||||
|
||||
$ME = "$qmaildir/control/me";
|
||||
|
||||
die "Error opening $ME: $!\n" unless open(ME, "$ME");
|
||||
chop($me = <ME>);
|
||||
close (ME);
|
||||
|
||||
die "Error opening $aliases: $!\n" unless open(ALIASES, "$aliases");
|
||||
|
||||
while (<ALIASES>)
|
||||
{
|
||||
chop;
|
||||
|
||||
$mode = ">";
|
||||
|
||||
s/#.*$//;
|
||||
|
||||
($target, $data) = split(/:/, $_, 2);
|
||||
|
||||
$data =~ s/^\s+//;
|
||||
$data =~ s/\s+$//;
|
||||
|
||||
next if (/^$/);
|
||||
|
||||
if ($data =~ /^$/)
|
||||
{
|
||||
while (chop($data = <ALIASES>))
|
||||
{
|
||||
$data =~ s/^\s+//;
|
||||
$data =~ s/\s+$//;
|
||||
|
||||
last if ($data !~ /^$/);
|
||||
}
|
||||
}
|
||||
|
||||
$f = "$aliasdir/.qmail-$target";
|
||||
|
||||
@data = split(/\,/, $data);
|
||||
$datum = $data[0];
|
||||
|
||||
if ($datum =~ /^:include:/i)
|
||||
{
|
||||
$datum =~ s/^:include://i;
|
||||
$verbose && print "Symlinking $f to $datum...\n";
|
||||
symlink($datum, $f);
|
||||
shift(@data);
|
||||
$f = $datum;
|
||||
$mode = ">>";
|
||||
}
|
||||
|
||||
open(ALIAS, "$mode$f") || die "Error creating $f: $!\n";
|
||||
|
||||
$verbose && print "Creating $f...\n";
|
||||
|
||||
foreach $datum (@data)
|
||||
{
|
||||
$datum =~ s/"$// if ($datum =~ s/^"// ||
|
||||
$datum =~ s/^\|[ \t]*"/|/);
|
||||
|
||||
if ($datum =~ /^[|\/]/)
|
||||
{
|
||||
print ALIAS $datum, "\n";
|
||||
}
|
||||
else
|
||||
{
|
||||
$datum = "&" . $datum;
|
||||
$datum .= "\@$me" unless ($datum =~ /\@/);
|
||||
print ALIAS "$datum\n";
|
||||
}
|
||||
|
||||
$verbose && print "\tPopulating $f with $datum...\n";
|
||||
}
|
||||
|
||||
close(ALIAS);
|
||||
}
|
||||
|
||||
close(ALIASES);
|
||||
|
||||
exit 0;
|
|
@ -1,37 +0,0 @@
|
|||
--- install.c.orig Mon Jun 15 07:53:16 1998
|
||||
+++ install.c Fri May 6 09:30:15 2005
|
||||
@@ -10,6 +10,7 @@
|
||||
#define FATAL "install: fatal: "
|
||||
|
||||
int fdsourcedir = -1;
|
||||
+noc; /* hack for bin package install -- see port pkg/INSTALL */
|
||||
|
||||
void h(home,uid,gid,mode)
|
||||
char *home;
|
||||
@@ -75,6 +76,7 @@
|
||||
int gid;
|
||||
int mode;
|
||||
{
|
||||
+ if (!noc) {
|
||||
int fdin;
|
||||
int fdout;
|
||||
|
||||
@@ -115,6 +117,7 @@
|
||||
strerr_die6sys(111,FATAL,"unable to chown .../",subdir,"/",file,": ");
|
||||
if (chmod(file,mode) == -1)
|
||||
strerr_die6sys(111,FATAL,"unable to chmod .../",subdir,"/",file,": ");
|
||||
+ }
|
||||
}
|
||||
|
||||
void z(home,file,len,uid,gid,mode)
|
||||
@@ -152,8 +155,9 @@
|
||||
strerr_die6sys(111,FATAL,"unable to chmod ",home,"/",file,": ");
|
||||
}
|
||||
|
||||
-void main()
|
||||
+void main(argc, argv)
|
||||
{
|
||||
+ noc=--argc;
|
||||
fdsourcedir = open_read(".");
|
||||
if (fdsourcedir == -1)
|
||||
strerr_die2sys(111,FATAL,"unable to open current directory: ");
|
|
@ -1,11 +0,0 @@
|
|||
--- qmail-local.c.orig Sun Nov 23 18:30:43 2003
|
||||
+++ qmail-local.c Sun Nov 23 18:31:31 2003
|
||||
@@ -645,7 +645,7 @@
|
||||
{
|
||||
cmds.s[j] = 0;
|
||||
k = j;
|
||||
- while ((k > i) && (cmds.s[k - 1] == ' ') || (cmds.s[k - 1] == '\t'))
|
||||
+ while ((k > i) && ((cmds.s[k - 1] == ' ') || (cmds.s[k - 1] == '\t')))
|
||||
cmds.s[--k] = 0;
|
||||
switch(cmds.s[i])
|
||||
{
|
|
@ -1,114 +0,0 @@
|
|||
#!/bin/csh -f
|
||||
#
|
||||
# $FreeBSD: /tmp/pcvs/ports/mail/qmail-vida/files/Attic/pkg-install.in,v 1.1 2005-08-30 14:44:26 garga Exp $
|
||||
#
|
||||
|
||||
# Author : Marcos Tischer Vallim
|
||||
# E-Mail : tischer@gmail.com
|
||||
# Date : Tue Mar 22 00:40:45 BRT 2005
|
||||
|
||||
set path = ( /bin /sbin /usr/bin /usr/sbin )
|
||||
|
||||
if ($uid != 0) then
|
||||
echo "It is necessary to add missing qmail users/groups at";
|
||||
echo "this stage. Please either add them manually or retry";
|
||||
echo "as root.";
|
||||
exit 1;
|
||||
endif
|
||||
|
||||
if (! -x `which pw`) then
|
||||
echo "This system looks like a pre-2.2 version of FreeBSD. We see that it";
|
||||
echo "is missing the "pw" utility. We need this utility. Please get and";
|
||||
echo "install it, and try again. You can get the source from:";
|
||||
echo "";
|
||||
echo " ftp://ftp.freebsd.org/pub/FreeBSD/FreeBSD-current/src/usr.sbin/pw.tar.gz";
|
||||
echo "";
|
||||
echo "No pw";
|
||||
exit 1;
|
||||
endif
|
||||
|
||||
switch ($argv[2])
|
||||
|
||||
case "PRE-INSTALL":
|
||||
set groups = (vida qmail qnofiles);
|
||||
set gids = (83 82 81);
|
||||
set users = (alias qmaild qmaill qmailp qmailq qmailr qmails qmailu authdb);
|
||||
set users_g = (qnofiles qnofiles qnofiles qnofiles qmail qmail qmail vida vida);
|
||||
set uids = (81 82 83 84 85 86 87 90 91);
|
||||
|
||||
|
||||
set k = 1;
|
||||
foreach group ($groups)
|
||||
pw groupshow $group >& /dev/null;
|
||||
|
||||
if ($status) then
|
||||
pw groupadd $group -g $gids[$k];
|
||||
|
||||
if ($status) then
|
||||
echo "Failed to add group '$group' as gid '$gids[$k]'";
|
||||
exit 1;
|
||||
endif
|
||||
endif
|
||||
|
||||
set chkgid = (`pw groupshow $group | sed -e "s,:, ,g"`);
|
||||
if ($chkgid[3] != $gids[$k]) then
|
||||
echo "Group '$group' should have gid '$gids[$k]'";
|
||||
exit 1;
|
||||
endif
|
||||
|
||||
@ k++;
|
||||
end
|
||||
|
||||
set k = 1;
|
||||
foreach user ($users)
|
||||
pw usershow $user >& /dev/null;
|
||||
|
||||
if ($status) then
|
||||
if ($user == "alias") then
|
||||
set home = ${PKG_PREFIX}/alias;
|
||||
else
|
||||
set home = ${PKG_PREFIX};
|
||||
endif
|
||||
|
||||
pw useradd $user -g $users_g[$k] -d $home -s /nonexistent -u $uids[$k];
|
||||
|
||||
if ($status) then
|
||||
echo "Failed to add user '$user' as uid '$uids[$k]'";
|
||||
exit 1;
|
||||
endif
|
||||
endif
|
||||
|
||||
set chkuid = (`pw usershow $user | sed -e "s,:, ,g"`);
|
||||
if ($chkuid[3] != $uids[$k]) then
|
||||
echo "User '$user' should have uid '$uids[$k]'";
|
||||
exit 1;
|
||||
endif
|
||||
|
||||
@ k++;
|
||||
end
|
||||
|
||||
breaksw;
|
||||
|
||||
case "POST-INSTALL":
|
||||
${PKG_PREFIX}/configure/install x;
|
||||
|
||||
if ( ! `filetest -e ${PKG_PREFIX}/control/me` ) then
|
||||
cd ${PKG_PREFIX}/configure && ./config;
|
||||
endif
|
||||
|
||||
%%RCDLINK%%ln -s ${PKG_PREFIX}/rc %%LOCALBASE%%/etc/rc.d/qmail.sh;
|
||||
|
||||
touch ${PKG_PREFIX}/alias/.qmail-{postmaster,root,mailer-daemon};
|
||||
|
||||
if ($status) then
|
||||
echo "Failed to create files :";
|
||||
echo " ${PKG_PREFIX}/alias/.qmail-postmaster";
|
||||
echo " ${PKG_PREFIX}/alias/.qmail-root";
|
||||
echo " ${PKG_PREFIX}/alias/.qmail-mailer-daemon";
|
||||
exit 1;
|
||||
endif
|
||||
|
||||
breaksw;
|
||||
endsw
|
||||
|
||||
exit 0;
|
|
@ -1,35 +0,0 @@
|
|||
ATTENTION:
|
||||
|
||||
Please make sure that you read %%PREFIX%%/doc/PORT_NOTES.
|
||||
It contains important information about testing and configuring
|
||||
qmail, and finally replacing sendmail with qmail.
|
||||
|
||||
You should also add %%PREFIX%%/man to your MANPATH (see manpath(1)
|
||||
or login.conf(5)).
|
||||
|
||||
Do not forget to read %%PREFIX%%/doc/QLDAPINSTALL. After all,
|
||||
this is NOT our old stock qmail. And, %%PREFIX%%/doc/ANTISPAM
|
||||
for some antispam control measures.
|
||||
|
||||
The qmail.schema file was copied to %%DOCSDIR%%. Remember
|
||||
to copy it to ldap's schema directory
|
||||
|
||||
You can enable qmail as your default mailer executing:
|
||||
> %%PREFIX%%/scripts/enable-qmail
|
||||
|
||||
=====><=====
|
||||
|
||||
If you've built this port with TLS support (WITH_TLS=yes)
|
||||
|
||||
==> You will need to provide a working certificate in %%PREFIX%%/control/cert.pem :
|
||||
|
||||
# makes a self-signed certificate
|
||||
3) do "make certificate"
|
||||
|
||||
# makes a certificate request
|
||||
4) do "make certificate-req"
|
||||
|
||||
=====><=====
|
||||
|
||||
Now, you need to use it. Check a little FreeBSD specific how-to at
|
||||
http://freebsd.cg.nu/postfixqmail-ldap.html
|
|
@ -1,23 +0,0 @@
|
|||
ATTENTION:
|
||||
|
||||
Please make sure that you read %%PREFIX%%/doc/PORT_NOTES.
|
||||
It contains important information about testing and configuring
|
||||
qmail, and finally replacing sendmail with qmail.
|
||||
|
||||
You should also add %%PREFIX%%/man to your MANPATH (see manpath(1)
|
||||
or login.conf(5)).
|
||||
|
||||
Do not forget to read both %%PREFIX%%/doc/SMTP_AUTH+TLS.readme AND
|
||||
%%PREFIX%%/doc/README.auth. After all, this is NOT our old stock
|
||||
qmail.
|
||||
|
||||
You can enable qmail as your default mailer executing:
|
||||
> %%PREFIX%%/scripts/enable-qmail
|
||||
|
||||
==> As you need to provide a working certificate in %%PREFIX%%/control/cert.pem :
|
||||
|
||||
# makes a self-signed certificate
|
||||
3) do "make certificate"
|
||||
|
||||
# makes a certificate request
|
||||
4) do "make certificate-req"
|
|
@ -1,22 +0,0 @@
|
|||
ATTENTION:
|
||||
|
||||
Please make sure that you read %%PREFIX%%/doc/PORT_NOTES.
|
||||
It contains important information about testing and configuring
|
||||
qmail, and finally replacing sendmail with qmail.
|
||||
|
||||
You should also add %%PREFIX%%/man to your MANPATH (see manpath(1)
|
||||
or login.conf(5)).
|
||||
|
||||
Do not forget to read %%PREFIX%%/doc/TLS.readme. After all,
|
||||
this is NOT our old stock qmail.
|
||||
|
||||
You can enable qmail as your default mailer executing:
|
||||
> %%PREFIX%%/scripts/enable-qmail
|
||||
|
||||
==> As you need to provide a working certificate in %%PREFIX%%/control/cert.pem :
|
||||
|
||||
# makes a self-signed certificate
|
||||
3) do "make certificate"
|
||||
|
||||
# makes a certificate request
|
||||
4) do "make certificate-req"
|
|
@ -1,11 +0,0 @@
|
|||
ATTENTION:
|
||||
|
||||
Please make sure that you read %%PREFIX%%/doc/PORT_NOTES.
|
||||
It contains important information about testing and configuring
|
||||
qmail, and finally replacing sendmail with qmail.
|
||||
|
||||
You should also add %%PREFIX%%/man to your MANPATH (see manpath(1)
|
||||
or login.conf(5)).
|
||||
|
||||
You can enable qmail as your default mailer executing:
|
||||
> %%PREFIX%%/scripts/enable-qmail
|
|
@ -1 +0,0 @@
|
|||
qmail-vida : qmail Virtual Domain and Authentication
|
|
@ -1,105 +0,0 @@
|
|||
@comment $FreeBSD$
|
||||
%%RCDLINK%%@unexec rm -f %%LOCALBASE%%/etc/rc.d/qmail.sh
|
||||
bin/qmail-queue
|
||||
bin/qmail-lspawn
|
||||
bin/qmail-start
|
||||
bin/qmail-getpw
|
||||
bin/qmail-local
|
||||
bin/qmail-remote
|
||||
bin/qmail-rspawn
|
||||
bin/qmail-clean
|
||||
bin/qmail-send
|
||||
bin/splogger
|
||||
bin/qmail-newu
|
||||
bin/qmail-newmrh
|
||||
bin/qmail-pw2u
|
||||
bin/qmail-inject
|
||||
bin/predate
|
||||
bin/datemail
|
||||
bin/mailsubj
|
||||
bin/qmail-showctl
|
||||
bin/qmail-qread
|
||||
bin/qmail-qstat
|
||||
bin/qmail-tcpto
|
||||
bin/qmail-tcpok
|
||||
bin/qmail-pop3d
|
||||
bin/qmail-popup
|
||||
bin/qmail-qmqpc
|
||||
bin/qmail-qmqpd
|
||||
bin/qmail-qmtpd
|
||||
bin/qmail-smtpd
|
||||
bin/qmail-smtpup
|
||||
bin/sendmail
|
||||
bin/tcp-env
|
||||
bin/qreceipt
|
||||
bin/qsmhook
|
||||
bin/qbiff
|
||||
bin/forward
|
||||
bin/preline
|
||||
bin/condredirect
|
||||
bin/bouncesaying
|
||||
bin/except
|
||||
bin/maildirmake
|
||||
bin/maildir2mbox
|
||||
bin/maildirwatch
|
||||
bin/qail
|
||||
bin/elq
|
||||
bin/pinq
|
||||
bin/checkpassword
|
||||
bin/addcr
|
||||
bin/argv0
|
||||
bin/delcr
|
||||
bin/fixcrio
|
||||
bin/mconnect-io
|
||||
bin/rblsmtpd
|
||||
bin/recordio
|
||||
bin/tcpclient
|
||||
bin/tcprules
|
||||
bin/tcprulescheck
|
||||
bin/tcpserver
|
||||
bin/date@
|
||||
bin/finger@
|
||||
bin/http@
|
||||
bin/mconnect
|
||||
bin/who@
|
||||
bin/tcpcat
|
||||
bin/vida-pwdbinit
|
||||
bin/vida-pwdbmake
|
||||
bin/vida-passwd
|
||||
bin/vida-assign
|
||||
bin/vida-maildirmake
|
||||
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
|
||||
boot/maildir
|
||||
boot/maildir+vida
|
||||
configure/install
|
||||
configure/dnsfq
|
||||
configure/hostname
|
||||
configure/dnsip
|
||||
configure/ipmeprint
|
||||
configure/dnsptr
|
||||
configure/config
|
||||
configure/config-fast
|
||||
scripts/mkaliasdir
|
||||
scripts/enable-qmail
|
||||
@dirrm boot
|
||||
@dirrm bin
|
||||
@dirrm configure
|
||||
@dirrm man/man1
|
||||
@dirrm man/man5
|
||||
@dirrm man/man7
|
||||
@dirrm man/man8
|
||||
@dirrm man
|
||||
@dirrm scripts
|
||||
@dirrm users
|
||||
@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 and qmail-vida 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. You can do it just executing 'echo sendmail_enable=\"YES\" >> /etc/rc.conf" | /usr/bin/fmt
|
Loading…
Reference in a new issue