diff options
Diffstat (limited to 'mail')
47 files changed, 0 insertions, 1221 deletions
diff --git a/mail/Makefile b/mail/Makefile index 45f988db336f..82cbf86f4e5f 100644 --- a/mail/Makefile +++ b/mail/Makefile @@ -6,7 +6,6 @@ SUBDIR += abook SUBDIR += adcomplain SUBDIR += addresses - SUBDIR += aileron SUBDIR += akpop3d SUBDIR += altermime SUBDIR += althea @@ -47,7 +46,6 @@ SUBDIR += crm114 SUBDIR += cucipop SUBDIR += cvsmail - SUBDIR += cyrus-imapd SUBDIR += cyrus-imapd2 SUBDIR += cyrus-imapd22 SUBDIR += dbmail @@ -432,7 +430,6 @@ SUBDIR += silkymail SUBDIR += sma SUBDIR += smail - SUBDIR += smtp-vilter SUBDIR += smtpclient SUBDIR += smtpd SUBDIR += smtpfeed diff --git a/mail/aileron/Makefile b/mail/aileron/Makefile deleted file mode 100644 index ac4f14c5ece1..000000000000 --- a/mail/aileron/Makefile +++ /dev/null @@ -1,28 +0,0 @@ -# New ports collection makefile for: Aileron -# Date created: 3 Sep 2002 -# Whom: Alexey Dokuchaev <danfe@regency.nsu.ru> -# -# $FreeBSD$ -# - -PORTNAME= aileron -PORTVERSION= 0.1.3 -PORTREVISION= 1 -CATEGORIES= mail -MASTER_SITES= http://ucsu.colorado.edu/~nwanua/Aileron/ -DISTNAME= Aileron-${PORTVERSION} - -MAINTAINER= ports@FreeBSD.org -COMMENT= WINGs mail client - -BROKEN= "Does not build with new version of windowmaker" -EXPIRATION_DATE=2005-02-18 -DEPRECATED= ${BROKEN} - -LIB_DEPENDS= c-client4.8:${PORTSDIR}/mail/cclient -BUILD_DEPENDS= ${X11BASE}/bin/get-wings-flags:${PORTSDIR}/x11-wm/windowmaker - -USE_X_PREFIX= yes -USE_XPM= yes - -.include <bsd.port.mk> diff --git a/mail/aileron/distinfo b/mail/aileron/distinfo deleted file mode 100644 index 033824715c19..000000000000 --- a/mail/aileron/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -MD5 (Aileron-0.1.3.tar.gz) = 33b31db4bc4098367c89cb2ba67cb4ee -SIZE (Aileron-0.1.3.tar.gz) = 154765 diff --git a/mail/aileron/files/patch-Makefile b/mail/aileron/files/patch-Makefile deleted file mode 100644 index 9a9001da0c4f..000000000000 --- a/mail/aileron/files/patch-Makefile +++ /dev/null @@ -1,64 +0,0 @@ ---- Makefile.orig Fri Nov 23 02:53:00 2001 -+++ Makefile Wed Aug 28 13:38:08 2002 -@@ -1,45 +1,35 @@ -- -- --SHELL = /bin/sh --CC = gcc --INSTALL = /bin/cp -r --INSTALLDIR = $(DESTDIR)/usr/lib/GNUstep/Apps/Aileron.app -+CC ?= gcc -+INSTALL = /bin/cp -+INSTALLDIR = ${X11BASE}/GNUstep/Apps/Aileron.app - IMAGES = images - MISCFILES = AUTHORS.html - -+TARGET = Aileron - --TARGET=Aileron -- --CFLAGS= `get-wings-flags --cflags` -I. -I/usr/include/c-client -Wall \ --#-Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wconversion \ --#-Werror -+CFLAGS += `get-wings-flags --cflags` -I. -I${LOCALBASE}/include/c-client -Wall - -+LDFLAGS = `get-wings-flags --ldflags` -L${X11BASE}/lib - -- --LDFLAGS=`get-wings-flags --ldflags` -L/usr/X11R6/lib -- --LIBS= `get-wings-flags --libs` -lWMaker -lc-client -lcrypt --#-lefence -+LIBS= `get-wings-flags --libs` -lWMaker -lc-client4 -lcrypt - - MODULES = Addresses.o Aileron.o Composer.o Find.o HTMLParser.o Info.o \ - MailBox.o Mailboxes.o Menu.o Preferences.o TimeStamp.o HTMLWriter.o - --all: $(TARGET) -+all: ${TARGET} - - install: -- strip $(TARGET) -- mkdir -p $(INSTALLDIR) -- $(INSTALL) $(TARGET) $(MISCFILES) $(IMAGES) $(INSTALLDIR) -+ strip ${TARGET} -+ mkdir -p ${INSTALLDIR} -+ ${INSTALL} -R ${TARGET} ${MISCFILES} ${IMAGES} ${INSTALLDIR} - - clean: -- rm -f $(MODULES) $(TARGET) core *~ -+ rm -f ${MODULES} ${TARGET} core *~ - - distclean: -- rm -f $(MODULES) $(TARGET) core -+ rm -f ${MODULES} ${TARGET} core - --$(TARGET): $(MODULES) Aileron.h -- $(CC) -g -o $(TARGET) $(MODULES) $(LIBS) $(LDFLAGS) -+${TARGET}: ${MODULES} Aileron.h -+ ${CC} -o ${TARGET} ${MODULES} ${LIBS} ${LDFLAGS} - - .c.o: -- $(CC) $(CFLAGS) -g -c $< -o $@ -- -+ ${CC} ${CFLAGS} -c $< -o $@ diff --git a/mail/aileron/files/patch-aa b/mail/aileron/files/patch-aa deleted file mode 100644 index 4ba12a5e73d3..000000000000 --- a/mail/aileron/files/patch-aa +++ /dev/null @@ -1,13 +0,0 @@ ---- Mailboxes.c.orig Sat Aug 30 18:08:05 2003 -+++ Mailboxes.c Sat Aug 30 18:10:00 2003 -@@ -1713,8 +1713,8 @@ - WMButton *b; - char *path; - --printf("\n\ndelet NM does not... add severl nm's at once breaks: -- WMGetPLDictionaryKeys (pl=0x40ae5fe0) at getting.c:354 -+printf("\n\ndelet NM does not... add severl nm's at once breaks:\n\ -+ WMGetPLDictionaryKeys (pl=0x40ae5fe0) at getting.c:354\n\ - 354 getting.c: No such file or directory.\n\n\n"); - - if (!WMGetUDStringForKey(Aileron.defaultsDB, "MailDir")) { diff --git a/mail/aileron/files/patch-ab b/mail/aileron/files/patch-ab deleted file mode 100644 index 66f33ac7f43d..000000000000 --- a/mail/aileron/files/patch-ab +++ /dev/null @@ -1,11 +0,0 @@ ---- Info.c.orig Sat Aug 30 18:05:45 2003 -+++ Info.c Sat Aug 30 18:07:29 2003 -@@ -163,7 +163,7 @@ - { - WMAppendTextStream(tPtr, - "<htmL><p><i><b>Aileron</b></i> is a WINGs email client that has been \ --designed for speed, simplicity, and above all, beauty -+designed for speed, simplicity, and above all, beauty \ - copyright (C) 1999 - 2001 : <u>nwanua@windowmaker.org</u> <html>"); - } - diff --git a/mail/aileron/pkg-descr b/mail/aileron/pkg-descr deleted file mode 100644 index 21ece275ab9a..000000000000 --- a/mail/aileron/pkg-descr +++ /dev/null @@ -1,9 +0,0 @@ -Aileron is an email client written for the WindowMaker window manager. -It is based on the WINGs widget library. The philosophy behind Aileron -is to be as similar to NeXTSTEP's Mail.app as possible, right down to -the menu keybindings. Aileron will play nice with pine, elm, or whatever -other mbox mail reader you use. There will be a few deviations from the -original Mail.app, most of which the average WindowMaker user will -appreciate. - -WWW: http://ucsu.colorado.edu/~nwanua/Aileron/ diff --git a/mail/aileron/pkg-plist b/mail/aileron/pkg-plist deleted file mode 100644 index ab042d998383..000000000000 --- a/mail/aileron/pkg-plist +++ /dev/null @@ -1,46 +0,0 @@ -GNUstep/Apps/Aileron.app/AUTHORS.html -GNUstep/Apps/Aileron.app/Aileron -GNUstep/Apps/Aileron.app/images/filetypes/AUTHOR -GNUstep/Apps/Aileron.app/images/filetypes/file-dot-jpg.tif -GNUstep/Apps/Aileron.app/images/filetypes/file-dot-mov.tif -GNUstep/Apps/Aileron.app/images/filetypes/file-generic-gnustep.tif -GNUstep/Apps/Aileron.app/images/filetypes/generic-sound.tif -GNUstep/Apps/Aileron.app/images/filetypes/generic-text.tif -GNUstep/Apps/Aileron.app/images/icon/numbers.xpm -GNUstep/Apps/Aileron.app/images/icon/mailboxes.xpm -GNUstep/Apps/Aileron.app/images/icon/mailboxesfull.xpm -GNUstep/Apps/Aileron.app/images/icon/mailboxesmask.xbm -GNUstep/Apps/Aileron.app/images/icon/mailboxesmask.xpm -GNUstep/Apps/Aileron.app/images/icon/newmail.xpm -GNUstep/Apps/Aileron.app/images/icon/no_newmail.xpm -GNUstep/Apps/Aileron.app/images/icon/Mail2.xpm -GNUstep/Apps/Aileron.app/images/infopanel/info-image.tif -GNUstep/Apps/Aileron.app/images/infopanel/info-title.tif -GNUstep/Apps/Aileron.app/images/timestamp/date.xpm -GNUstep/Apps/Aileron.app/images/timestamp/clk.xpm -GNUstep/Apps/Aileron.app/images/timestamp/month.xpm -GNUstep/Apps/Aileron.app/images/timestamp/led.xpm -GNUstep/Apps/Aileron.app/images/timestamp/weekday.xpm -GNUstep/Apps/Aileron.app/images/win/upbtn.xpm -GNUstep/Apps/Aileron.app/images/win/answered-flag.tif -GNUstep/Apps/Aileron.app/images/win/clip.tif -GNUstep/Apps/Aileron.app/images/win/compose.tif -GNUstep/Apps/Aileron.app/images/win/delete.tif -GNUstep/Apps/Aileron.app/images/win/deliver.tif -GNUstep/Apps/Aileron.app/images/win/downbtn.xpm -GNUstep/Apps/Aileron.app/images/win/face.xpm -GNUstep/Apps/Aileron.app/images/win/find.tif -GNUstep/Apps/Aileron.app/images/win/forward.tif -GNUstep/Apps/Aileron.app/images/win/mailboxes.tif -GNUstep/Apps/Aileron.app/images/win/mime-flag.tif -GNUstep/Apps/Aileron.app/images/win/new-flag.tif -GNUstep/Apps/Aileron.app/images/win/newmail.tif -GNUstep/Apps/Aileron.app/images/win/reply.tif -GNUstep/Apps/Aileron.app/images/win/addresses.tif -@dirrm GNUstep/Apps/Aileron.app/images/filetypes -@dirrm GNUstep/Apps/Aileron.app/images/infopanel -@dirrm GNUstep/Apps/Aileron.app/images/icon -@dirrm GNUstep/Apps/Aileron.app/images/timestamp -@dirrm GNUstep/Apps/Aileron.app/images/win -@dirrm GNUstep/Apps/Aileron.app/images -@dirrm GNUstep/Apps/Aileron.app diff --git a/mail/cyrus-imapd/Makefile b/mail/cyrus-imapd/Makefile deleted file mode 100644 index d30c42e2b83a..000000000000 --- a/mail/cyrus-imapd/Makefile +++ /dev/null @@ -1,134 +0,0 @@ -# New ports collection makefile for: cyrus-imapd -# Date created: Jan 4th 2001 -# Whom: ume@FreeBSD.org -# -# $FreeBSD$ -# - -PORTNAME= cyrus-imapd -PORTVERSION= 2.0.17 -PORTREVISION= 1 -CATEGORIES= mail ipv6 -MASTER_SITES= ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/ \ - ftp://ftp.hanse.de/sites/transit/mirror/ftp.andrew.cmu.edu/pub/cyrus-mail/ \ - ${MASTER_SITE_RINGSERVER:S,%SUBDIR%,net/mail/cyrus-mail/&,} - -PATCH_SITES= http://www.imasy.or.jp/~ume/ipv6/ \ - http://home.jp.FreeBSD.org/~ume/ipv6/ -PATCHFILES= ${DISTNAME}-ipv6-20021205.diff.gz - -MAINTAINER= ume@FreeBSD.org -COMMENT= The cyrus mail server, supporting POP3 and IMAP4 protocols - -FORBIDDEN= http://vuxml.freebsd.org/114d70f3-3d16-11d9-8818-008088034841.html \ - http://vuxml.freebsd.org/c0a269d5-3d16-11d9-8818-008088034841.html \ - '(security)' -DEPRECATED= ${FORBIDDEN} -EXPIRATION_DATE=2005-02-08 - -CONFLICTS= cyrus-1.* cyrus-imapd-2.[^0].* - -LIB_DEPENDS= sasl.8:${PORTSDIR}/security/cyrus-sasl \ - db3.3:${PORTSDIR}/databases/db3 -BUILD_DEPENDS= makedepend:${PORTSDIR}/devel/makedepend \ - ${LOCALBASE}/sbin/pwcheck:${PORTSDIR}/security/cyrus-sasl - -USE_OPENSSL= yes -USE_PERL5= yes -USE_REINPLACE= YES -GNU_CONFIGURE= YES -CONFIGURE_ARGS= --with-cyrus-prefix=${PREFIX}/cyrus \ - --with-cyrus-group=cyrus \ - --with-sasl=${LOCALBASE} \ - --with-dbdir=${LOCALBASE} \ - --with-auth=unix \ - --with-com_err \ - --with-openssl=${OPENSSLBASE} \ - --with-perl=${PERL5} - -.if defined(WITH_SNMP) -# It seems not compilable due to lack of auto_nlist_value() in libucdagent. -CONFIGURE_ENV= LIBS=-lkvm -.else -CONFIGURE_ARGS+=--with-ucdsnmp=no -.endif - -MAN1= cyradm.1 imtest.1 installsieve.1 -MAN3= imclient.3 -MAN5= cyrus.conf.5 imapd.conf.5 krb.equiv.5 -CYRUS_MAN3= Cyrus::IMAP.3 Cyrus::IMAP::Admin.3 Cyrus::IMAP::IMSP.3 \ - Cyrus::IMAP::Shell.3 Cyrus::SIEVE::acap.3 \ - Cyrus::SIEVE::managesieve.3 -CYRUS_MAN8= arbitron.8 collectnews.8 ctl_deliver.8 ctl_mboxlist.8 \ - deliver.8 fud.8 idled.8 imapd.8 ipurge.8 lmtpd.8 \ - master.8 mbpath.8 pop3d.8 quota.8 reconstruct.8 rmnews.8 \ - syncnews.8 timsieved.8 - -DOCS= HEY-YOU-WITH-THE-EDITOR README acl-extension anoncvs bugs \ - changes copyrights feedback index install install-admin-mb \ - install-compile install-configure install-murder install-perf \ - install-prereq install-sieve install-snmpmon install-testing \ - install-upgrade mailing-list notes os overview questions \ - quota-extension readme server-design sieve sieve-protocol -HTDOCS= anoncvs bugs changes faq feedback index install-admin-mb \ - install-auth install-compile install-configure install-murder \ - install-perf install-prereq install-sieve install-snmpmon \ - install-testing install-upgrade install mailing-list man \ - notes os overview questions readme sieve-protocol sieve specs - -.include <bsd.port.pre.mk> - -post-patch: - @${REINPLACE_CMD} -e "s|/etc/|${PREFIX}/etc/|" \ - ${WRKSRC}/tools/mkimap - -post-install: -.for file in ${CYRUS_MAN3} - @${GZIP_CMD} ${PREFIX}/lib/perl5/${PERL_VERSION}/man/man3/${file} - @${ECHO_CMD} lib/perl5/${PERL_VERSION}/man/man3/${file}.gz \ - >>${TMPPLIST} -.endfor -.for file in ${CYRUS_MAN8} - @${GZIP_CMD} ${PREFIX}/cyrus/man/man8/${file} - @${ECHO_CMD} cyrus/man/man8/${file}.gz >>${TMPPLIST} -.endfor - @${ECHO_CMD} "@dirrm cyrus/man/man8" >>${TMPPLIST} - @${ECHO_CMD} "@dirrm cyrus/man" >>${TMPPLIST} - @${ECHO_CMD} "@dirrm cyrus" >>${TMPPLIST} -.if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR}/man - @${MKDIR} ${DOCSDIR}/text -.for file in ${HTDOCS} - @${INSTALL_DATA} ${WRKSRC}/doc/${file}.html ${DOCSDIR} - @${ECHO_CMD} share/doc/${PORTNAME}/${file}.html >>${TMPPLIST} -.endfor -.for file in ${MAN1} ${MAN3} ${MAN5} ${CYRUS_MAN8} - @if [ -f ${WRKSRC}/doc/man/${file}.html ]; then \ - ${INSTALL_DATA} ${WRKSRC}/doc/man/${file}.html \ - ${DOCSDIR}/man/${file}.html; \ - ${ECHO_CMD} share/doc/${PORTNAME}/man/${file}.html \ - >>${TMPPLIST}; \ - fi -.endfor - @${INSTALL_DATA} ${WRKSRC}/doc/cyrusv2.mc ${DOCSDIR} - @${ECHO_CMD} share/doc/${PORTNAME}/cyrusv2.mc >>${TMPPLIST} -.for file in ${DOCS} - @${INSTALL_DATA} ${WRKSRC}/doc/text/${file} ${DOCSDIR}/text - @${ECHO_CMD} share/doc/${PORTNAME}/text/${file} >>${TMPPLIST} -.endfor - @${ECHO_CMD} "@dirrm share/doc/${PORTNAME}/text" >>${TMPPLIST} - @${ECHO_CMD} "@dirrm share/doc/${PORTNAME}/man" >>${TMPPLIST} - @${ECHO_CMD} "@dirrm share/doc/${PORTNAME}" >>${TMPPLIST} -.endif - @${INSTALL_SCRIPT} ${FILESDIR}/imapd.sh \ - ${PREFIX}/etc/rc.d/imapd.sh.sample - @${INSTALL_DATA} ${FILESDIR}/imapd.conf \ - ${PREFIX}/etc/imapd.conf.dist - @${INSTALL_DATA} ${WRKSRC}/master/conf/normal.conf \ - ${PREFIX}/etc/cyrus.conf.dist - @${INSTALL_SCRIPT} ${WRKSRC}/tools/mkimap \ - ${PREFIX}/cyrus/bin/mkimap - @PKG_PREFIX=${PREFIX} ${PKGINSTALL} ${PKGNAME} POST-INSTALL - @${CAT} ${PKGMESSAGE} - -.include <bsd.port.post.mk> diff --git a/mail/cyrus-imapd/distinfo b/mail/cyrus-imapd/distinfo deleted file mode 100644 index 95764a5fd41d..000000000000 --- a/mail/cyrus-imapd/distinfo +++ /dev/null @@ -1,4 +0,0 @@ -MD5 (cyrus-imapd-2.0.17.tar.gz) = 21a666e8bf41be5169ede375309f6e94 -SIZE (cyrus-imapd-2.0.17.tar.gz) = 1387695 -MD5 (cyrus-imapd-2.0.17-ipv6-20021205.diff.gz) = bad40a1e045f54ee82b5595e5753340a -SIZE (cyrus-imapd-2.0.17-ipv6-20021205.diff.gz) = 21602 diff --git a/mail/cyrus-imapd/files/imapd.conf b/mail/cyrus-imapd/files/imapd.conf deleted file mode 100644 index c9de5a5a31b4..000000000000 --- a/mail/cyrus-imapd/files/imapd.conf +++ /dev/null @@ -1,144 +0,0 @@ -# -# $FreeBSD$ -# -# Sample configurations file for Cyrus IMAPd -# Most lines in this file are commented; in this case the default is used. -# The commented lines (usually) contain the default value - -# The pathname of the IMAP configuration directory -# -configdirectory: /var/imap - -# The partition name used by default for new mailboxes -# -#defaultpartition: default - -# The directory for the different partitions -# -partition-default: /var/spool/imap - -# The umask value used by various Cyrus IMAP programs -# -#umask: 077 - -# Whether to allow anonymous logins -# -#allowanonymouslogin: no - -# The percent of quota utilization over which the server generates -# warnings. -# -#quotawarn: 90 - -# The length of the IMAP server's inactivity autologout timer, in minutes. -# The minimum value is 30, the default. -# -#timeout: 30 - -# Set the length of the POP server's inactivity autologout timer, in -# minutes. The minimum value is 10, the default. -# -#poptimeout: 10 - -# Set the minimum amount of time the server forces users to wait between -# successive POP logins, in minutes. The default is 0. -# -#popminpoll: 0 - -# The list of userids with administrative rights. Separate each userid -# with a space. We recommend that administrator userids be separate from -# standard userids. Sites using Kerberos authentication may use separate -# "admin" instances. -# -#admins: <none> - -# The list of the host names of the mail domain's IMSP servers. Separate each -# host name with a space. The Kerberos identities of these servers may login -# as any user in order to perform commands by proxy. -# -#imspservers: <none> - -# The Access Control List (ACL) placed on a newly-created (non-user) -# mailbox that does not have a parent mailbox. -# -#defaultacl: anyone lrs - -# The pathname of the news spool directory. Only used if the partition-news -# configuration option is set. -# -#newsspool: <no default> - -# Prefix to be prepended to newsgroup names to make the corresponding IMAP -# mailbox names. -# -#newsprefix: <none> - -# If nonzero, normal users may create their own IMAP accounts by creating -# the mailbox INBOX. The user's quota is set to the value if it is positive, -# otherwise the user has unlimited quota. -# -#autocreatequota: 0 - -# Include notations in the protocol telemetry logs indicating the number -# of seconds since the last command or response. -# -#logtimestamps: no - -# Number of seconds to pause after a successful plaintext login. For systems -# that support strong authentication, this permits users to perceive a cost -# of using plaintext passwords. -# -#plaintextloginpause: 0 - -# The pathname of srvtab file containing the server's private key. This -# option is only used when the server is compiled with Kerberos -# authentication. -# -#srvtab: /etc/srvtab - -# The list of remote realms whose users may log in using cross-realm -# authentications. Seperate each realm name by a space. This option is -# only used when the server is compiled with Kerberos authentication. -# -#loginrealms: <none> - -# If enabled, any authentication identity which has a rights on a user's -# INBOX may log in as that user. This option is only used when the server -# is compiled with Kerberos authentication. -# -#loginuseacl: no - -# If enabled, deliver wil look for Sieve scripts in user's home directories: -# ~user/.sieve. -# -sieveusehomedir: false - -# If sieveusehomedir is false, this directory is searched for Sieve scripts. -# The active Sieve script is s called "default", placed in the users sieve -# sieve directory (ie. /var/imap/sieve/u/user). -# -sievedir: /var/imap/sieve - -# If enabled, the partitions will also be hashed, in addition to the hashing -# done on configuration directories. This is recommended if one partition has -# a very bushy mailbox tree. -# -#hashimapspool: false - -# The mechanism used by the server to verify plaintext passwords. Possible -# values also include "PAM", "sasldb", "kerberos_v4", "passwd", and "shadow" -# -sasl_pwcheck_method: pwcheck - -# If enabled, the SASL library will automatically create authentication -# secrets when given a plaintext password. See the SASL documentation. -# -#sasl_auto_transition: no - -# If you wish to enable TLS/SSL, put CERT into following place, then -# uncomment this. -#tls_cert_file: /var/imap/server.pem -#tls_key_file: /var/imap/server.pem - -# -# EOF diff --git a/mail/cyrus-imapd/files/imapd.sh b/mail/cyrus-imapd/files/imapd.sh deleted file mode 100644 index 5230d76473ae..000000000000 --- a/mail/cyrus-imapd/files/imapd.sh +++ /dev/null @@ -1,23 +0,0 @@ -#!/bin/sh - -# Start or stop cyrus-imapd -# $FreeBSD$ - -case "$1" in -start) - if [ -x /usr/local/cyrus/bin/master -a \ - -f /usr/local/etc/cyrus.conf -a \ - -f /usr/local/etc/imapd.conf ]; then - /usr/local/cyrus/bin/master & - echo -n ' imapd' - fi - ;; -stop) - kill `ps -U cyrus | awk '/master/ {print $1}'` && echo -n ' imapd' - ;; -*) - echo "Usage: `basename $0` {start|stop}" >&2 - ;; -esac - -exit 0 diff --git a/mail/cyrus-imapd/files/patch-Makefile.in b/mail/cyrus-imapd/files/patch-Makefile.in deleted file mode 100644 index 7be201b26cf4..000000000000 --- a/mail/cyrus-imapd/files/patch-Makefile.in +++ /dev/null @@ -1,13 +0,0 @@ -Index: Makefile.in -diff -u Makefile.in.orig Makefile.in ---- Makefile.in.orig Wed Dec 4 07:21:09 2002 -+++ Makefile.in Sat Apr 3 03:40:04 2004 -@@ -98,7 +98,7 @@ - $(srcdir)/install-sh -d ${DESTDIR}$(prefix)/man/man1 - $(srcdir)/install-sh -d ${DESTDIR}$(prefix)/man/man3 - $(srcdir)/install-sh -d ${DESTDIR}$(prefix)/man/man5 -- $(srcdir)/install-sh -d ${DESTDIR}$(prefix)/man/man8 -+ $(srcdir)/install-sh -d ${DESTDIR}$(cyrus_prefix)/man/man8 - @for d in $(SUBDIRS); \ - do \ - (cd $$d; echo "### Making" install "in" `pwd`; \ diff --git a/mail/cyrus-imapd/files/patch-aa b/mail/cyrus-imapd/files/patch-aa deleted file mode 100644 index b0cd5872b141..000000000000 --- a/mail/cyrus-imapd/files/patch-aa +++ /dev/null @@ -1,13 +0,0 @@ -Index: man/Makefile.in -diff -u man/Makefile.in.orig man/Makefile.in ---- man/Makefile.in.orig Mon Jul 16 03:08:15 2001 -+++ man/Makefile.in Sat Apr 3 03:40:33 2004 -@@ -89,7 +89,7 @@ - done - for file in $(MAN8); \ - do \ -- $(INSTALL) -m 644 $$file $(DESTDIR)$(prefix)/man/man8 || exit 1; \ -+ $(INSTALL) -m 644 $$file $(DESTDIR)$(cyrus_prefix)/man/man8 || exit 1; \ - done - - .c.o: diff --git a/mail/cyrus-imapd/files/patch-ac b/mail/cyrus-imapd/files/patch-ac deleted file mode 100644 index e3f73dd1f2d8..000000000000 --- a/mail/cyrus-imapd/files/patch-ac +++ /dev/null @@ -1,30 +0,0 @@ -Index: configure -diff -u configure.orig configure ---- configure.orig Mon Mar 8 02:25:08 2004 -+++ configure Mon Mar 8 02:26:39 2004 -@@ -2286,6 +2286,8 @@ - else - EXTRA_SUBDIRS="${EXTRA_SUBDIRS} perl" - PERL_SUBDIRS="imap" -+ eval `${PERL} -V:cccdlflags` -+ PERL_CCCDLFLAGS="$cccdlflags" - fi - - if test "$sievedir" != "no"; then -@@ -4187,7 +4189,7 @@ - cmu_saved_LIBS=$LIBS - if test -d ${with_sasl}; then - ac_cv_sasl_where_lib=${with_sasl}/lib -- ac_cv_sasl_where_inc=${with_sasl}/include -+ ac_cv_sasl_where_inc=${with_sasl}/include/sasl1 - - SASLFLAGS="-I$ac_cv_sasl_where_inc" - LIB_SASL="-L$ac_cv_sasl_where_lib" -@@ -5300,6 +5302,7 @@ - s%@LEX@%$LEX%g - s%@LEXLIB@%$LEXLIB%g - s%@PERL@%$PERL%g -+s%@PERL_CCCDLFLAGS@%$PERL_CCCDLFLAGS%g - s%@WITH_NONBLOCK@%$WITH_NONBLOCK%g - s%@WITH_GMTOFF@%$WITH_GMTOFF%g - s%@WITH_MAP@%$WITH_MAP%g diff --git a/mail/cyrus-imapd/files/patch-acap::Makefile.in b/mail/cyrus-imapd/files/patch-acap::Makefile.in deleted file mode 100644 index 4015013eb362..000000000000 --- a/mail/cyrus-imapd/files/patch-acap::Makefile.in +++ /dev/null @@ -1,13 +0,0 @@ -Index: acap/Makefile.in -diff -u acap/Makefile.in.orig acap/Makefile.in ---- acap/Makefile.in.orig Mon Jul 14 00:04:56 2003 -+++ acap/Makefile.in Mon Mar 8 02:10:58 2004 -@@ -54,7 +54,7 @@ - CPPFLAGS = @CPPFLAGS@ @SASLFLAGS@ -I. -I.. -I$(srcdir) -I$(srcdir)/../lib - LIBS = @LIBS@ - --CFLAGS = @CFLAGS@ -+CFLAGS = @CFLAGS@ @PERL_CCCDLFLAGS@ - LDFLAGS = @LDFLAGS@ - - SHELL = /bin/sh diff --git a/mail/cyrus-imapd/files/patch-af b/mail/cyrus-imapd/files/patch-af deleted file mode 100644 index 0a8d78f88d0c..000000000000 --- a/mail/cyrus-imapd/files/patch-af +++ /dev/null @@ -1,13 +0,0 @@ -Index: imap/lmtpd.c -diff -u imap/lmtpd.c.orig imap/lmtpd.c ---- imap/lmtpd.c.orig Wed Dec 20 04:31:41 2000 -+++ imap/lmtpd.c Thu Jan 4 23:26:22 2001 -@@ -407,7 +407,7 @@ - } - } - --#define DEFAULT_SENDMAIL ("/usr/lib/sendmail") -+#define DEFAULT_SENDMAIL ("/usr/sbin/sendmail") - #define DEFAULT_POSTMASTER ("postmaster") - - #define SENDMAIL (config_getstring("sendmail", DEFAULT_SENDMAIL)) diff --git a/mail/cyrus-imapd/files/patch-ag b/mail/cyrus-imapd/files/patch-ag deleted file mode 100644 index d22ee0d59350..000000000000 --- a/mail/cyrus-imapd/files/patch-ag +++ /dev/null @@ -1,13 +0,0 @@ -Index: imap/lmtpproxyd.c -diff -u imap/lmtpproxyd.c.orig imap/lmtpproxyd.c ---- imap/lmtpproxyd.c.orig Wed Dec 20 04:31:41 2000 -+++ imap/lmtpproxyd.c Thu Jan 4 23:26:48 2001 -@@ -398,7 +398,7 @@ - } - } - --#define DEFAULT_SENDMAIL ("/usr/lib/sendmail") -+#define DEFAULT_SENDMAIL ("/usr/sbin/sendmail") - #define DEFAULT_POSTMASTER ("postmaster") - - #define SENDMAIL (config_getstring("sendmail", DEFAULT_SENDMAIL)) diff --git a/mail/cyrus-imapd/files/patch-bc b/mail/cyrus-imapd/files/patch-bc deleted file mode 100644 index f31ed31d722f..000000000000 --- a/mail/cyrus-imapd/files/patch-bc +++ /dev/null @@ -1,13 +0,0 @@ -Index: imap/Makefile.in -diff -u imap/Makefile.in.orig imap/Makefile.in ---- imap/Makefile.in.orig Tue Dec 19 05:27:14 2000 -+++ imap/Makefile.in Thu Jan 4 23:30:15 2001 -@@ -64,7 +64,7 @@ - CYRUS_USER=@cyrus_user@ - CYRUS_GROUP=@cyrus_group@ - --DEFS = @DEFS@ @LOCALDEFS@ -+DEFS = @DEFS@ @LOCALDEFS@ -DCONFIG_FILENAME=\"$(prefix)/etc/imapd.conf\" - CPPFLAGS = -I. -I.. -I../sieve -I$(srcdir) -I$(srcdir)/../lib -I$(srcdir)/../acap -I../acap @COM_ERR_CPPFLAGS@ @SIEVE_CPPFLAGS@ @CPPFLAGS@ @ZEPHYR_CPPFLAGS@ @SASLFLAGS@ - IMAP_LIBS = @IMAP_LIBS@ - SIEVE_LIBS = @SIEVE_LIBS@ diff --git a/mail/cyrus-imapd/files/patch-bd b/mail/cyrus-imapd/files/patch-bd deleted file mode 100644 index 83a7d53f4c40..000000000000 --- a/mail/cyrus-imapd/files/patch-bd +++ /dev/null @@ -1,14 +0,0 @@ -*** imap/config.c.orig Thu Mar 9 19:07:14 2000 ---- imap/config.c Thu Mar 9 19:06:48 2000 -*************** -*** 39,45 **** ---- 39,47 ---- - - extern int errno; - -+ #if !defined(CONFIG_FILENAME) - #define CONFIG_FILENAME "/etc/imapd.conf" -+ #endif - - struct configlist { - char *key; diff --git a/mail/cyrus-imapd/files/patch-be b/mail/cyrus-imapd/files/patch-be deleted file mode 100644 index 707298b92662..000000000000 --- a/mail/cyrus-imapd/files/patch-be +++ /dev/null @@ -1,13 +0,0 @@ ---- imap/krbck.c.orig Sat Dec 21 02:08:21 1996 -+++ imap/krbck.c Wed Oct 8 13:56:58 1997 -@@ -29,7 +29,9 @@ - - #define EXIT_CHOKE (int) 10 - --#define CONFIG_FILENAME "/etc/imapd.conf" -+#if !defined(CONFIG_FILENAME) -+ #define CONFIG_FILENAME "/etc/imapd.conf" -+#endif - #define MAX_FILENAME_LEN 255 - - int errno; diff --git a/mail/cyrus-imapd/files/patch-dc b/mail/cyrus-imapd/files/patch-dc deleted file mode 100644 index c913dc4f35ee..000000000000 --- a/mail/cyrus-imapd/files/patch-dc +++ /dev/null @@ -1,13 +0,0 @@ -Index: master/Makefile.in -diff -u master/Makefile.in.orig master/Makefile.in ---- master/Makefile.in.orig Fri Dec 15 04:26:50 2000 -+++ master/Makefile.in Sat Jan 6 06:08:21 2001 -@@ -52,7 +52,7 @@ - CYRUS_USER=@cyrus_user@ - CYRUS_GROUP=@cyrus_group@ - --DEFS = @DEFS@ @LOCALDEFS@ -+DEFS = @DEFS@ @LOCALDEFS@ -DCONFIG_FILENAME=\"$(prefix)/etc/cyrus.conf\" - CPPFLAGS = -I. -I.. -I$(srcdir) @CPPFLAGS@ @COM_ERR_CPPFLAGS@ - DEPLIBS = @DEPLIBS@ - diff --git a/mail/cyrus-imapd/files/patch-dd b/mail/cyrus-imapd/files/patch-dd deleted file mode 100644 index 94c0d694fa90..000000000000 --- a/mail/cyrus-imapd/files/patch-dd +++ /dev/null @@ -1,14 +0,0 @@ -Index: master/masterconf.c -diff -u master/masterconf.c.orig master/masterconf.c ---- master/masterconf.c.orig Wed May 24 05:56:30 2000 -+++ master/masterconf.c Sat Jan 6 06:07:22 2001 -@@ -60,7 +60,9 @@ - - extern int errno; - -+#if !defined(CONFIG_FILENAME) - #define CONFIG_FILENAME "/etc/cyrus.conf" -+#endif - - struct configlist { - char *key; diff --git a/mail/cyrus-imapd/files/patch-df b/mail/cyrus-imapd/files/patch-df deleted file mode 100644 index 69a0841343ee..000000000000 --- a/mail/cyrus-imapd/files/patch-df +++ /dev/null @@ -1,14 +0,0 @@ -Index: master/service.c -diff -u master/service.c.orig master/service.c ---- master/service.c.orig Wed Jan 22 22:52:36 2003 -+++ master/service.c Wed Jan 22 22:57:20 2003 -@@ -102,6 +102,9 @@ - struct sockaddr_storage sin; - socklen_t len = sizeof(sin); - -+ /* XXX: old FreeBSD didn't fill sockaddr correctly against AF_UNIX */ -+ sin.ss_family = AF_UNIX; -+ - /* is this a connection from the local host? */ - if (getpeername(fd, (struct sockaddr *) &sin, &len) == 0) { - if (((struct sockaddr *)&sin)->sa_family == AF_UNIX) { diff --git a/mail/cyrus-imapd/files/patch-dg b/mail/cyrus-imapd/files/patch-dg deleted file mode 100644 index 94682461fa25..000000000000 --- a/mail/cyrus-imapd/files/patch-dg +++ /dev/null @@ -1,29 +0,0 @@ -Index: tools/mkimap -diff -u tools/mkimap.orig tools/mkimap ---- tools/mkimap.orig Thu Jan 25 06:26:51 2001 -+++ tools/mkimap Sat Apr 7 05:42:24 2001 -@@ -119,6 +119,8 @@ - mkdir "deliverdb", 0755; - mkdir "deliverdb/db", 0755; - -+system "/usr/sbin/chown -R cyrus:cyrus ."; -+ - # create the sieve stuff - if (!$nosievedir) { - print "creating $sievedir...\n"; -@@ -127,6 +129,7 @@ - if (chdir $sievedir) { - foreach $i ("a".."z") { mkdir "$i", 0755; } - } -+ system "/usr/sbin/chown -R cyrus:cyrus $sievedir"; - } - - $flag = 0; -@@ -138,6 +141,7 @@ - chdir $part or die "couldn't change to partition $part"; - mkdir "stage.", 0755; - if ($hashispool) { foreach $i ("a".."z") { mkdir $i, 0755; } } -+ system "/usr/sbin/chown -R cyrus:cyrus $part"; - } - - print "done\n"; diff --git a/mail/cyrus-imapd/files/patch-et::com_err.c b/mail/cyrus-imapd/files/patch-et::com_err.c deleted file mode 100644 index e4e933edd936..000000000000 --- a/mail/cyrus-imapd/files/patch-et::com_err.c +++ /dev/null @@ -1,14 +0,0 @@ -Index: et/com_err.c -diff -u et/com_err.c.orig et/com_err.c ---- et/com_err.c.orig Wed May 24 05:52:06 2000 -+++ et/com_err.c Sat Jul 19 23:22:43 2003 -@@ -48,6 +48,9 @@ - #include <string.h> - #include "mit-sipb-copyright.h" - -+#ifdef __STDC__ -+#define HAVE_STDARG_H 1 -+#endif - #if defined(HAVE_STDARG_H) || defined(_WINDOWS) - #include <stdarg.h> - #else diff --git a/mail/cyrus-imapd/files/patch-imtest::imtest.c b/mail/cyrus-imapd/files/patch-imtest::imtest.c deleted file mode 100644 index a2b5529e7c2f..000000000000 --- a/mail/cyrus-imapd/files/patch-imtest::imtest.c +++ /dev/null @@ -1,15 +0,0 @@ -Index: imtest/imtest.c -diff -u imtest/imtest.c.orig imtest/imtest.c ---- imtest/imtest.c.orig Sun May 11 17:48:08 2003 -+++ imtest/imtest.c Sun May 11 17:50:04 2003 -@@ -291,8 +291,8 @@ - } - - --char *var_tls_CAfile=""; --char *var_tls_CApath=""; -+static char *var_tls_CAfile=""; -+static char *var_tls_CApath=""; - /* - * This is the setup routine for the SSL client. - * diff --git a/mail/cyrus-imapd/files/patch-lib::Makefile.in b/mail/cyrus-imapd/files/patch-lib::Makefile.in deleted file mode 100644 index 8243d414d431..000000000000 --- a/mail/cyrus-imapd/files/patch-lib::Makefile.in +++ /dev/null @@ -1,13 +0,0 @@ -Index: lib/Makefile.in -diff -u lib/Makefile.in.orig lib/Makefile.in ---- lib/Makefile.in.orig Sun Jan 4 00:16:44 2004 -+++ lib/Makefile.in Sun Mar 7 23:44:51 2004 -@@ -60,7 +60,7 @@ - CPPFLAGS = -I.. @CPPFLAGS@ @COM_ERR_CPPFLAGS@ @SASLFLAGS@ - LIBS = @LIBS@ - --CFLAGS = @CFLAGS@ -+CFLAGS = @CFLAGS@ @PERL_CCCDLFLAGS@ - LDFLAGS = @LDFLAGS@ - - SHELL = /bin/sh diff --git a/mail/cyrus-imapd/files/patch-lib::imclient.c b/mail/cyrus-imapd/files/patch-lib::imclient.c deleted file mode 100644 index 003b57a50f55..000000000000 --- a/mail/cyrus-imapd/files/patch-lib::imclient.c +++ /dev/null @@ -1,12 +0,0 @@ -Index: lib/imclient.c -diff -u lib/imclient.c.orig lib/imclient.c ---- lib/imclient.c.orig Sat Jul 28 08:30:37 2001 -+++ lib/imclient.c Sat Aug 17 16:48:58 2002 -@@ -1154,6 +1154,7 @@ - t->result = xstrdup(user); - } else { - printf("%s: ", t->prompt); -+ fflush(stdout); - if (t->id == SASL_CB_PASS) { - char *ptr = getpass(""); - strncpy(result, ptr, sizeof(result)); diff --git a/mail/cyrus-imapd/files/patch-perl::imap::Makefile.PL b/mail/cyrus-imapd/files/patch-perl::imap::Makefile.PL deleted file mode 100644 index 66140bf53219..000000000000 --- a/mail/cyrus-imapd/files/patch-perl::imap::Makefile.PL +++ /dev/null @@ -1,15 +0,0 @@ -Index: perl/imap/Makefile.PL -diff -u perl/imap/Makefile.PL.orig perl/imap/Makefile.PL ---- perl/imap/Makefile.PL.orig Thu Oct 23 03:50:18 2003 -+++ perl/imap/Makefile.PL Sun Dec 12 04:20:10 2004 -@@ -70,3 +70,10 @@ - 'INC' => "-I../../lib $SASL_INC $OPENSSL_INC", - 'EXE_FILES' => [cyradm], - ); -+ -+package MY; -+sub install { -+ my $inherited = shift->SUPER::install(@_); -+ $inherited =~ s/(install :: all pure_install) doc_install/$1/; -+ $inherited; -+} diff --git a/mail/cyrus-imapd/files/patch-perl::sieve::acap::Makefile.PL b/mail/cyrus-imapd/files/patch-perl::sieve::acap::Makefile.PL deleted file mode 100644 index 48d3041d2809..000000000000 --- a/mail/cyrus-imapd/files/patch-perl::sieve::acap::Makefile.PL +++ /dev/null @@ -1,15 +0,0 @@ -Index: perl/sieve/acap/Makefile.PL -diff -u perl/sieve/acap/Makefile.PL.orig perl/sieve/acap/Makefile.PL ---- perl/sieve/acap/Makefile.PL.orig Wed Jun 14 05:32:21 2000 -+++ perl/sieve/acap/Makefile.PL Mon Dec 20 00:37:38 2004 -@@ -51,3 +51,10 @@ - 'DEFINE' => '-DPERL_POLLUTE', # e.g., '-DHAVE_SOMETHING' - 'INC' => "-I../../../acap/ $SASL_INC", # e.g., '-I/usr/include/other' - ); -+ -+package MY; -+sub install { -+ my $inherited = shift->SUPER::install(@_); -+ $inherited =~ s/(install :: all pure_install) doc_install/$1/; -+ $inherited; -+} diff --git a/mail/cyrus-imapd/files/patch-perl::sieve::lib::Makefile.in b/mail/cyrus-imapd/files/patch-perl::sieve::lib::Makefile.in deleted file mode 100644 index 28d4c44df294..000000000000 --- a/mail/cyrus-imapd/files/patch-perl::sieve::lib::Makefile.in +++ /dev/null @@ -1,13 +0,0 @@ -Index: perl/sieve/lib/Makefile.in -diff -u perl/sieve/lib/Makefile.in.orig perl/sieve/lib/Makefile.in ---- perl/sieve/lib/Makefile.in.orig Sun Jan 4 00:16:45 2004 -+++ perl/sieve/lib/Makefile.in Sun Mar 7 23:42:37 2004 -@@ -55,7 +55,7 @@ - IMAP_LIBS = @IMAP_LIBS@ - DEPLIBS = ../../../lib/libcyrus.a ../../../lib/libcyrus_min.a @DEPLIBS@ - --CFLAGS = -g -+CFLAGS = -g @PERL_CCCDLFLAGS@ - LDFLAGS = -g @LDFLAGS@ - - SHELL = /bin/sh diff --git a/mail/cyrus-imapd/files/patch-perl::sieve::managesieve::Makefile.PL b/mail/cyrus-imapd/files/patch-perl::sieve::managesieve::Makefile.PL deleted file mode 100644 index dfe74a066f49..000000000000 --- a/mail/cyrus-imapd/files/patch-perl::sieve::managesieve::Makefile.PL +++ /dev/null @@ -1,15 +0,0 @@ -Index: perl/sieve/managesieve/Makefile.PL -diff -u perl/sieve/managesieve/Makefile.PL.orig perl/sieve/managesieve/Makefile.PL ---- perl/sieve/managesieve/Makefile.PL.orig Thu Oct 23 03:50:27 2003 -+++ perl/sieve/managesieve/Makefile.PL Sun Dec 12 04:21:55 2004 -@@ -64,3 +64,10 @@ - 'DEFINE' => '-DPERL_POLLUTE', # e.g., '-DHAVE_SOMETHING' - 'INC' => "-I../lib/ -I../../../lib/ $SASL_INC", - ); -+ -+package MY; -+sub install { -+ my $inherited = shift->SUPER::install(@_); -+ $inherited =~ s/(install :: all pure_install) doc_install/$1/; -+ $inherited; -+} diff --git a/mail/cyrus-imapd/files/patch-sieve::Makefile.in b/mail/cyrus-imapd/files/patch-sieve::Makefile.in deleted file mode 100644 index 75245207c3a4..000000000000 --- a/mail/cyrus-imapd/files/patch-sieve::Makefile.in +++ /dev/null @@ -1,13 +0,0 @@ -Index: sieve/Makefile.in -diff -u sieve/Makefile.in.orig sieve/Makefile.in ---- sieve/Makefile.in.orig Sun Jul 13 23:40:05 2003 -+++ sieve/Makefile.in Mon Mar 8 01:38:00 2004 -@@ -35,7 +35,7 @@ - - DEFS = @DEFS@ - CPPFLAGS = -I. -I.. -I$(srcdir) -I$(srcdir)/../lib @COM_ERR_CPPFLAGS@ @CPPFLAGS@ @SASLFLAGS@ --CFLAGS = @CFLAGS@ -+CFLAGS = @CFLAGS@ @PERL_CCCDLFLAGS@ - LDFLAGS = @LDFLAGS@ - - MAKEDEPEND = @MAKEDEPEND@ diff --git a/mail/cyrus-imapd/pkg-deinstall b/mail/cyrus-imapd/pkg-deinstall deleted file mode 100644 index 308f2d5e49a3..000000000000 --- a/mail/cyrus-imapd/pkg-deinstall +++ /dev/null @@ -1,72 +0,0 @@ -#!/bin/sh -# -# $FreeBSD$ -# -# Created by: hetzels@westbend.net - -#set -vx - -PKG_BATCH=${BATCH:=NO} - -PKG_PREFIX=${PKG_PREFIX:=/usr/local} - -checkfile() { - diff -bBqw $1 $1.dist >/dev/null 2>&1 - case $? in - 0) # config file exists, but is the same - rm $1 - ;; - 1) # config file exists and differs - ;; - *) # no config file exists - ;; - esac -} - -# Uninstall timseived's Cyrus.conf file. - -cyrus_conf() { - if [ -f ${PKG_PREFIX}/lib/sasl/Cyrus.conf ]; then - echo "pwcheck_method: pwcheck" > ${PKG_PREFIX}/lib/sasl/Cyrus.conf.tmp - if cmp -s ${PKG_PREFIX}/lib/sasl/Cyrus.conf ${PKG_PREFIX}/lib/sasl/Cyrus.conf.tmp; then - rm -f ${PKG_PREFIX}/lib/sasl/Cyrus.conf - fi - rm -f ${PKG_PREFIX}/lib/sasl/Cyrus.conf.tmp - fi -} - -# -# Modify the 'cyrus' user created from the cyrus-sasl port -# - -modify_cyrus_user() { - USER=cyrus - PW=/usr/sbin/pw - if [ -x /usr/sbin/nologin ]; then - shell=/usr/sbin/nologin - elif [ -x /sbin/nologin ]; then - shell=/sbin/nologin - else - shell=/nonexistent - fi - uhome=/nonexistent - - if ! ${PW} mod user ${USER} -d "${uhome}" -s "${shell}"; then - echo "*** Failed to update user \`${USER}'." - else - echo "*** Updated user \`${USER}'." - fi -} - -case $2 in - DEINSTALL) - cd ${PKG_PREFIX} - cyrus_conf - checkfile ${PKG_PREIFX}/etc/imapd.conf - checkfile ${PKG_PREIFX}/etc/cyrus.conf - ;; - POST-DEINSTALL) - modify_cyrus_user - ;; - -esac diff --git a/mail/cyrus-imapd/pkg-descr b/mail/cyrus-imapd/pkg-descr deleted file mode 100644 index 79d06da9dd9b..000000000000 --- a/mail/cyrus-imapd/pkg-descr +++ /dev/null @@ -1,21 +0,0 @@ -The Cyrus IMAP (Internet Message Access Protocol) server provides access to -personal mail and system-wide bulletin boards through the IMAP protocol. -The Cyrus IMAP server is a scaleable enterprise mail system designed for use -from small to large enterprise environments using standards-based -technologies. - -A full Cyrus IMAP implementation allows a seamless mail and bulletin board -environment to be set up across multiple servers. It differs from other -IMAP server implementations in that it is run on "sealed" servers, where -users are not normally permitted to log in. The mailbox database is stored -in parts of the filesystem that are private to the Cyrus IMAP system. All -user access to mail is through software using the IMAP, POP3, or KPOP -protocols. - -The private mailbox database design gives the server large advantages in -efficiency, scalability, and administratability. Multiple concurrent -read/write connections to the same mailbox are permitted. The server -supports access control lists on mailboxes and storage quotas on mailbox -hierarchies. - -WWW: http://asg.web.cmu.edu/cyrus/ diff --git a/mail/cyrus-imapd/pkg-install b/mail/cyrus-imapd/pkg-install deleted file mode 100644 index 65cc1470e3d1..000000000000 --- a/mail/cyrus-imapd/pkg-install +++ /dev/null @@ -1,69 +0,0 @@ -#!/bin/sh - -#set -vx - -PKG_BATCH=${BATCH:=NO} - -PKG_PREFIX=${PKG_PREFIX:=/usr/local} - -# -# Modify the 'cyrus' user created from the cyrus-sasl port -# - -modify_cyrus_user() { - USER=cyrus - PW=/usr/sbin/pw - shell=/bin/csh - uhome=${PKG_PREFIX}/cyrus - - if ! ${PW} mod user ${USER} -d "${uhome}" -s "${shell}"; then - echo "*** Failed to update user \`${USER}'." - else - echo "*** Updated user \`${USER}'." - fi -} - - -checkfile() { - diff -bBqw $1 $1.dist >/dev/null 2>&1 - case $? in - 0) # config file exists, but is the same - ;; - 1) # config file exists and differs - echo "** Make sure $1 is in sync with this version"; - echo " of the port. See $1.dist for details."; - ;; - *) # no config file exists, copy it - install -c -m 644 $1.dist $1 - ;; - esac -} - -# Install timseived's Cyrus.conf file - -cyrus_conf() { - if [ ! -f ${PKG_PREFIX}/lib/sasl/Cyrus.conf ]; then - echo "pwcheck_method: pwcheck" > ${PKG_PREFIX}/lib/sasl/Cyrus.conf - fi -} - -case $2 in - PRE-INSTALL) - ;; - - POST-INSTALL) - modify_cyrus_user - cd ${PKG_PREFIX} - cyrus_conf - checkfile ${PKG_PREFIX}/etc/imapd.conf - checkfile ${PKG_PREFIX}/etc/cyrus.conf - if grep 'sieve' /etc/services; then - echo - else - echo - echo "** Please add an entry for the sieve protocol (2000/tcp)" - echo " to /etc/services" - echo - fi - ;; -esac diff --git a/mail/cyrus-imapd/pkg-message b/mail/cyrus-imapd/pkg-message deleted file mode 100644 index e4429259e376..000000000000 --- a/mail/cyrus-imapd/pkg-message +++ /dev/null @@ -1,6 +0,0 @@ -**************************************************************************** - -To setup mail spool, modify /usr/local/etc/imapd.conf appropriately, -then run /usr/local/cyrus/bin/mkimap. - -**************************************************************************** diff --git a/mail/cyrus-imapd/pkg-plist b/mail/cyrus-imapd/pkg-plist deleted file mode 100644 index 9e031ed9f1ea..000000000000 --- a/mail/cyrus-imapd/pkg-plist +++ /dev/null @@ -1,80 +0,0 @@ -bin/cyradm -bin/imtest -bin/installsieve -bin/sieveshell -cyrus/bin/ctl_deliver -cyrus/bin/ctl_mboxlist -cyrus/bin/cyrdump -cyrus/bin/deliver -cyrus/bin/feedcyrus -cyrus/bin/fud -cyrus/bin/imapd -cyrus/bin/ipurge -cyrus/bin/lmtpd -cyrus/bin/master -cyrus/bin/mbpath -cyrus/bin/mkimap -cyrus/bin/pop3d -cyrus/bin/quota -cyrus/bin/reconstruct -cyrus/bin/timsieved -@unexec if cmp -s %D/etc/cyrus.conf %D/etc/cyrus.conf.dist; then rm -f %D/etc/cyrus.conf; fi -etc/cyrus.conf.dist -@exec [ -f %B/cyrus.conf ] || cp %B/%f %B/cyrus.conf -@unexec if cmp -s %D/etc/imapd.conf %D/etc/imapd.conf.dist; then rm -f %D/etc/imapd.conf; fi -etc/imapd.conf.dist -@exec [ -f %B/imapd.conf ] || cp %B/%f %B/imapd.conf -etc/rc.d/imapd.sh.sample -include/cyrus/acap.h -include/cyrus/acl.h -include/cyrus/assert.h -include/cyrus/auth.h -include/cyrus/bsearch.h -include/cyrus/charset.h -include/cyrus/cyrusdb.h -include/cyrus/glob.h -include/cyrus/gmtoff.h -include/cyrus/hash.h -include/cyrus/imapurl.h -include/cyrus/imclient.h -include/cyrus/imparse.h -include/cyrus/lock.h -include/cyrus/lsort.h -include/cyrus/map.h -include/cyrus/mkgmtime.h -include/cyrus/nonblock.h -include/cyrus/parseaddr.h -include/cyrus/prot.h -include/cyrus/retry.h -include/cyrus/rfc822date.h -include/cyrus/stristr.h -include/cyrus/sysexits.h -include/cyrus/util.h -include/cyrus/xmalloc.h -lib/libacap.a -lib/libcyrus.a -%%SITE_PERL%%/%%PERL_ARCH%%/Cyrus/IMAP/Admin.pm -%%SITE_PERL%%/%%PERL_ARCH%%/Cyrus/IMAP/IMSP.pm -%%SITE_PERL%%/%%PERL_ARCH%%/Cyrus/IMAP/Shell.pm -%%SITE_PERL%%/%%PERL_ARCH%%/Cyrus/IMAP.pm -%%SITE_PERL%%/%%PERL_ARCH%%/Cyrus/SIEVE/acap.pm -%%SITE_PERL%%/%%PERL_ARCH%%/Cyrus/SIEVE/managesieve.pm -%%SITE_PERL%%/%%PERL_ARCH%%/auto/Cyrus/IMAP/.packlist -%%SITE_PERL%%/%%PERL_ARCH%%/auto/Cyrus/IMAP/IMAP.bs -%%SITE_PERL%%/%%PERL_ARCH%%/auto/Cyrus/IMAP/IMAP.so -%%SITE_PERL%%/%%PERL_ARCH%%/auto/Cyrus/SIEVE/acap/.packlist -%%SITE_PERL%%/%%PERL_ARCH%%/auto/Cyrus/SIEVE/acap/acap.bs -%%SITE_PERL%%/%%PERL_ARCH%%/auto/Cyrus/SIEVE/acap/acap.so -%%SITE_PERL%%/%%PERL_ARCH%%/auto/Cyrus/SIEVE/managesieve/.packlist -%%SITE_PERL%%/%%PERL_ARCH%%/auto/Cyrus/SIEVE/managesieve/managesieve.bs -%%SITE_PERL%%/%%PERL_ARCH%%/auto/Cyrus/SIEVE/managesieve/managesieve.so -@dirrm cyrus/bin -@dirrm include/cyrus -@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/Cyrus/IMAP -@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/Cyrus/SIEVE -@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/Cyrus -@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Cyrus/IMAP -@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Cyrus/SIEVE/acap -@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Cyrus/SIEVE/managesieve -@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Cyrus/SIEVE -@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Cyrus diff --git a/mail/smtp-vilter/Makefile b/mail/smtp-vilter/Makefile deleted file mode 100644 index 7aeb7ae0ccdb..000000000000 --- a/mail/smtp-vilter/Makefile +++ /dev/null @@ -1,30 +0,0 @@ -# ex:ts=8 -# Ports collection makefile for: smtp-vilter -# Date created: 17.1.2004 -# Whom: Danuel Mueller + Martin Blapp, ImproWare AG -# -# $FreeBSD$ -# - -PORTNAME= smtp-vilter -PORTVERSION= 1.1.4 -CATEGORIES= mail -MASTER_SITES= http://www.etc.msys.ch/software/smtp-vilter/ -DISTFILES= ${DISTNAME}${EXTRACT_SUFX} - -MAINTAINER?= ports@FreeBSD.org -COMMENT?= spam/virus filter infrastructure - -BROKEN= "Checksum mismatch" -EXPIRATION_DATE=2005-02-18 -DEPRECATED= ${BROKEN} - -MAKEFILE= Makefile.freebsd - -WRKSRC= ${WRKDIR}/${PORTNAME} -CONFIGURE_TARGET=${ARCH}-portbld-freebsd${OSREL} -LDFLAGS+= -L${LOCALBASE}/lib -CONFIGURE_ENV= CC="${CC} -I${LOCALBASE}/include" LDFLAGS="${LDFLAGS}" -CONFIGURE_ARGS= - -.include <bsd.port.mk> diff --git a/mail/smtp-vilter/distinfo b/mail/smtp-vilter/distinfo deleted file mode 100644 index f92e8ea58a40..000000000000 --- a/mail/smtp-vilter/distinfo +++ /dev/null @@ -1 +0,0 @@ -MD5 (smtp-vilter-1.1.4.tar.gz) = a1d5c9ec13cb038c9e08d965854f3eab diff --git a/mail/smtp-vilter/files/patch-Makefile.freebsd b/mail/smtp-vilter/files/patch-Makefile.freebsd deleted file mode 100644 index 9fe5c91d38fa..000000000000 --- a/mail/smtp-vilter/files/patch-Makefile.freebsd +++ /dev/null @@ -1,30 +0,0 @@ ---- Makefile.freebsd.orig Sun Dec 14 19:10:24 2003 -+++ Makefile.freebsd Sat Jan 17 16:33:52 2004 -@@ -10,12 +10,14 @@ - ####### Files - - LIB_NAME = clamd savse spamd --LIB_VER = 2.1 -+LIB_VER = 2 - BIN_NAME = conf socket smtp-vilter - - TARGET = smtp-vilter --MAN = smtp-vilter.8 --MANDIR = /usr/local/man/man8 -+MAN5 = smtp-vilter.conf.5 -+MANDIR5 = /usr/local/man/man5 -+MAN8 = smtp-vilter.8 -+MANDIR8 = /usr/local/man/man8 - - BINOWN = root - BINMOD = 0555 -@@ -44,7 +46,8 @@ - ln -s /usr/local/lib/libvilter-$$libname.so.$(LIB_VER) /usr/local/lib/libvilter-$$libname.so ; \ - done ; - install -s -o $(BINOWN) -m $(BINMOD) $(BASEDIR)/bin/$(TARGET)/$(TARGET) $(BINDIR) -- install $(BASEDIR)/bin/$(TARGET)/$(MAN) $(MANDIR) -+ install $(BASEDIR)/bin/$(TARGET)/$(MAN5) $(MANDIR5) -+ install $(BASEDIR)/bin/$(TARGET)/$(MAN8) $(MANDIR8) - - clean: - -find $(BASEDIR) -name "*.o" -print -delete diff --git a/mail/smtp-vilter/files/patch-backend+vilter-clamd+Makefile.freebsd b/mail/smtp-vilter/files/patch-backend+vilter-clamd+Makefile.freebsd deleted file mode 100644 index cdd0d1b67743..000000000000 --- a/mail/smtp-vilter/files/patch-backend+vilter-clamd+Makefile.freebsd +++ /dev/null @@ -1,23 +0,0 @@ ---- /dev/null Sat Jan 17 04:16:32 2004 -+++ backend/vilter-clamd/Makefile.freebsd Sat Jan 17 16:12:21 2004 -@@ -0,0 +1,20 @@ -+LIB= vilter-clamd -+SRCS= vilter-clamd.c -+OBJS= vilter-clamd.o -+ -+MAJOR= 2 -+ -+CFLAGS+= -O2 -Wall -DLINUX -pipe -I../../include -+ -+all: libvilter-clamd.so.${MAJOR} -+ -+libvilter-clamd.so.${MAJOR}: ${OBJS} -+ ${CC} -shared -o libvilter-clamd.so.${MAJOR} ${OBJS} ${LFLAGS} -+ -+install: libvilter-clamd.so.${MAJOR} -+ install -o root -m 0755 libvilter-clamd.so.${MAJOR} /usr/local/lib/libvilter-clamd.so.${MAJOR} -+ rm -f /usr/local/lib/libvilter-clamd.so -+ ln -s /usr/local/lib/libvilter-clamd.so.${MAJOR} /usr/local/lib/libvilter-clamd.so -+ -+clean: -+ rm -f *.o *.a core libvilter-clamd.* diff --git a/mail/smtp-vilter/files/patch-bin+smtp-vilter+smtp-vilter.c b/mail/smtp-vilter/files/patch-bin+smtp-vilter+smtp-vilter.c deleted file mode 100644 index 3d649fb09a09..000000000000 --- a/mail/smtp-vilter/files/patch-bin+smtp-vilter+smtp-vilter.c +++ /dev/null @@ -1,52 +0,0 @@ ---- bin/smtp-vilter/smtp-vilter.c.orig Wed Dec 24 16:14:20 2003 -+++ bin/smtp-vilter/smtp-vilter.c Sat Jan 17 16:28:34 2004 -@@ -1008,7 +1008,7 @@ - /* Load the backends */ - - for (n = 0; n < nbe; n++) { -- snprintf(libname, sizeof(libname), "lib%s.so.%d.%d", be[n].name, MAJOR, MINOR); -+ snprintf(libname, sizeof(libname), "lib%s.so.%d", be[n].name, MAJOR); - - if ((be[n].dlhandle = dlopen(libname, RTLD_LAZY)) == NULL) - errx(1, "error loading backend %s (%s), %s", be[n].name, libname, dlerror()); -@@ -1114,14 +1114,6 @@ - err(1, "can't chdir to / after chroot to %s", chrootdir); - } - -- /* Change the user and group id */ -- -- setgid(gid); -- setuid(uid); -- -- if (!getuid() || !getgid()) -- errx(1, "must not be run as root"); -- - syslog(LOG_INFO, "dropped privileges, running as %d:%d", uid, gid); - - /* Initialize sendmail milter */ -@@ -1150,8 +1142,6 @@ - if (smfi_register(desc) == MI_FAILURE) - errx(1, "failed to register with sendmail"); - -- smfi_setconn(port); -- - if (!stat(pidfile, &statbuf)) - errx(1, "pid file %s exists, another copy running?", pidfile); - -@@ -1167,6 +1157,16 @@ - err(1, "can't write pid to pidfile %s", pidfile); - if (fclose(fp)) - err(1, "error closing pidfile %s", pidfile); -+ -+ /* Change the user and group id */ -+ -+ setgid(gid); -+ setuid(uid); -+ -+ smfi_setconn(port); -+ -+ if (!getuid() || !getgid()) -+ errx(1, "must not be run as root"); - - if (smfi_main() == MI_FAILURE) - syslog(LOG_ERR, "failed to establish a connection on port %s", port); diff --git a/mail/smtp-vilter/files/patch-include+smtp-vilter.h b/mail/smtp-vilter/files/patch-include+smtp-vilter.h deleted file mode 100644 index 95c3638d1cc1..000000000000 --- a/mail/smtp-vilter/files/patch-include+smtp-vilter.h +++ /dev/null @@ -1,12 +0,0 @@ ---- include/smtp-vilter.h.orig Sat Jan 17 16:20:47 2004 -+++ include/smtp-vilter.h Sat Jan 17 16:21:10 2004 -@@ -41,8 +41,7 @@ - - #define VERSION "1.1.4" - --#define MAJOR 3 /* Major and minor version number */ --#define MINOR 0 /* of shared libs (backends) */ -+#define MAJOR 2 /* Major and minor version number */ - - #define SCAN_OK 0 - #define SCAN_VIRUS 1 /* These two values are also used */ diff --git a/mail/smtp-vilter/pkg-descr b/mail/smtp-vilter/pkg-descr deleted file mode 100644 index 3fb3c597923f..000000000000 --- a/mail/smtp-vilter/pkg-descr +++ /dev/null @@ -1,5 +0,0 @@ -Smtp-vilter is a high performance content filter for sendmail -with backends to various virus scanning engines. Author of this -excellent milter filter is Marc Balmer from Msys Software. - -WWW: http://www.etc.msys.ch/software/smtp-vilter diff --git a/mail/smtp-vilter/pkg-plist b/mail/smtp-vilter/pkg-plist deleted file mode 100644 index 21289b5b89af..000000000000 --- a/mail/smtp-vilter/pkg-plist +++ /dev/null @@ -1,9 +0,0 @@ -lib/libvilter-clamd.so.2 -lib/libvilter-clamd.so -lib/libvilter-savse.so.2 -lib/libvilter-savse.so -lib/libvilter-spamd.so.2 -lib/libvilter-spamd.so -man/man5/smtp-vilter.conf.5 -man/man8/smtp-vilter.8 -sbin/smtp-vilter |