Index: head/mail/Makefile =================================================================== --- head/mail/Makefile (revision 185691) +++ head/mail/Makefile (revision 185692) @@ -1,649 +1,650 @@ # $FreeBSD$ # COMMENT = Electronic mail utilities SUBDIR += abook SUBDIR += adcomplain SUBDIR += addresses SUBDIR += addresses-goodies SUBDIR += akpop3d SUBDIR += altermime SUBDIR += althea SUBDIR += annoyance-filter SUBDIR += anomy-sanitizer SUBDIR += antivirus-milter SUBDIR += anubis SUBDIR += archivemail SUBDIR += archmbox SUBDIR += ask SUBDIR += asmail SUBDIR += assp SUBDIR += autorespond SUBDIR += autosig SUBDIR += avenger SUBDIR += balsa SUBDIR += bayespam SUBDIR += bbmail SUBDIR += biabam SUBDIR += biffer SUBDIR += bincimap SUBDIR += bmf SUBDIR += bogofilter SUBDIR += bogofilter-qdbm SUBDIR += bogofilter-sqlite SUBDIR += bsfilter SUBDIR += bsmtp SUBDIR += bulk_mailer SUBDIR += c-sig SUBDIR += cclient SUBDIR += chk4mail SUBDIR += clamfilter SUBDIR += claws-mail SUBDIR += claws-mail-att_remover SUBDIR += claws-mail-cachesaver SUBDIR += claws-mail-etpan_privacy SUBDIR += claws-mail-fetchinfo SUBDIR += claws-mail-gtkhtml2_viewer SUBDIR += claws-mail-maildir SUBDIR += claws-mail-mailmbox SUBDIR += claws-mail-newmail SUBDIR += claws-mail-notification SUBDIR += claws-mail-perl SUBDIR += claws-mail-rssyl SUBDIR += claws-mail-smime SUBDIR += claws-mail-synce SUBDIR += claws-mail-vcalendar SUBDIR += cmail SUBDIR += cone SUBDIR += contact-lookup-applet SUBDIR += coolmail SUBDIR += courier SUBDIR += courier-authlib-vchkpw SUBDIR += courier-imap SUBDIR += courier-pythonfilter SUBDIR += couriergraph SUBDIR += crashecho SUBDIR += crm114 SUBDIR += cucipop SUBDIR += cvsmail SUBDIR += cyrus-imapd2 SUBDIR += cyrus-imapd22 SUBDIR += cyrus-imapd23 SUBDIR += cyrus2courier SUBDIR += dbmail SUBDIR += dbmail20 SUBDIR += dbmail21 SUBDIR += dcc-dccd SUBDIR += delatt SUBDIR += demime SUBDIR += dk-milter SUBDIR += dkfilter SUBDIR += dkim-milter SUBDIR += dkimap4 SUBDIR += dkimproxy SUBDIR += dovecot SUBDIR += dovecot-sieve SUBDIR += drac SUBDIR += drbl SUBDIR += dsbl-testers SUBDIR += dspam SUBDIR += dspam-devel SUBDIR += ecartis SUBDIR += elm SUBDIR += elm+ME SUBDIR += elmo SUBDIR += elmo-devel SUBDIR += emh SUBDIR += emh-emacs20 SUBDIR += emh-xemacs21-mule SUBDIR += emil SUBDIR += enigmail SUBDIR += enigmail-seamonkey SUBDIR += enigmail-thunderbird SUBDIR += eps SUBDIR += epstools SUBDIR += esmtp SUBDIR += evolution SUBDIR += evolution-exchange SUBDIR += evolution-sharp SUBDIR += exact SUBDIR += exilog SUBDIR += exim SUBDIR += exim-doc-html SUBDIR += exim-doc-info SUBDIR += exim-doc-pdf SUBDIR += exim-doc-postscript SUBDIR += exim-ldap2 SUBDIR += exim-monitor SUBDIR += exim-mysql SUBDIR += exim-postgresql SUBDIR += exim-sa-exim SUBDIR += exim-sqlite SUBDIR += exipick SUBDIR += exmh2 SUBDIR += extmail SUBDIR += ezmlm SUBDIR += ezmlm-idx SUBDIR += ezmlm-web SUBDIR += faces SUBDIR += fdm SUBDIR += fetchmail SUBDIR += fetchyahoo SUBDIR += filtermail SUBDIR += firemime SUBDIR += firepay SUBDIR += freepops SUBDIR += ftrack SUBDIR += gbuffy SUBDIR += gensig SUBDIR += getmail SUBDIR += gkrellmmailwatch SUBDIR += gkrellmmailwatch2 SUBDIR += glbiff SUBDIR += gld SUBDIR += gmail-notify SUBDIR += gmime SUBDIR += gmime2 SUBDIR += gmime2-sharp SUBDIR += gnarwl SUBDIR += gnubiff SUBDIR += gnumail SUBDIR += gotmail SUBDIR += grepmail SUBDIR += gtray SUBDIR += gubby SUBDIR += hashcash SUBDIR += hbiff SUBDIR += heirloom-mailx SUBDIR += hotwayd SUBDIR += ifile SUBDIR += ilohamail SUBDIR += im SUBDIR += imap-uw SUBDIR += imapfilter SUBDIR += imapsync SUBDIR += imp SUBDIR += ingo SUBDIR += isoqlog SUBDIR += isync SUBDIR += itraxp SUBDIR += jamlib SUBDIR += jboss-mailservices SUBDIR += junkfilter SUBDIR += kavmilter SUBDIR += kbiff SUBDIR += kiltdown SUBDIR += kshowmail SUBDIR += lbdb SUBDIR += lens SUBDIR += libdomainkeys SUBDIR += libesmtp SUBDIR += libetpan SUBDIR += libnewmail SUBDIR += libpst SUBDIR += librfc822 SUBDIR += libsieve SUBDIR += libspf SUBDIR += libspf-alt SUBDIR += libspf2 SUBDIR += libspf2-10 SUBDIR += libsrs SUBDIR += libsrs2 SUBDIR += libsrs_alt SUBDIR += libvmime SUBDIR += lightning SUBDIR += linux-thunderbird SUBDIR += listmanager SUBDIR += lmtp2nntp SUBDIR += lmtpd SUBDIR += lookout SUBDIR += mahogany SUBDIR += mail-notification SUBDIR += mail2procmailrc SUBDIR += mail2sms SUBDIR += mailagent SUBDIR += mailcrypt SUBDIR += maildirsync SUBDIR += maildrop SUBDIR += mailfmt SUBDIR += mailfront SUBDIR += mailgraph SUBDIR += mailman SUBDIR += mailmgr SUBDIR += mailrep SUBDIR += mailscanner SUBDIR += mailscanner-devel SUBDIR += mailscanner-mrtg SUBDIR += mailsync SUBDIR += mailx SUBDIR += mairix SUBDIR += majorcool SUBDIR += majordomo SUBDIR += masqmail SUBDIR += mavbiff SUBDIR += mb2md SUBDIR += mbox2mdir SUBDIR += mboxcheck-applet SUBDIR += mboxgrep SUBDIR += mboxstats SUBDIR += mbx2mbox SUBDIR += mdpop3d SUBDIR += mess822 SUBDIR += messagewall SUBDIR += metamail SUBDIR += mew SUBDIR += mew-emacs20 SUBDIR += mew2 SUBDIR += mew2-emacs20 SUBDIR += mew3 SUBDIR += mew3-emacs20 SUBDIR += milter-bogom SUBDIR += milter-greylist SUBDIR += milter-greylist-devel SUBDIR += milter-regex SUBDIR += milter-skem SUBDIR += mimedefang + SUBDIR += mimp SUBDIR += mini_sendmail SUBDIR += minimalist SUBDIR += missey SUBDIR += mixmaster SUBDIR += mixminion SUBDIR += ml SUBDIR += mlmmj SUBDIR += mls SUBDIR += mmc SUBDIR += mmr SUBDIR += movemail SUBDIR += moztraybiff SUBDIR += mreport SUBDIR += msgconvert SUBDIR += msmtp SUBDIR += msmtpqueue SUBDIR += mulberry SUBDIR += mutt SUBDIR += mutt-devel SUBDIR += mutt-devel-lite SUBDIR += mutt-lite SUBDIR += mutt-ng SUBDIR += mutt_vc_query SUBDIR += muttzilla SUBDIR += nbsmtp SUBDIR += newmail SUBDIR += nmh SUBDIR += nmzmail SUBDIR += noattach SUBDIR += nocc SUBDIR += nohtml SUBDIR += normalizemime SUBDIR += nullmailer SUBDIR += nullpop SUBDIR += offlineimap SUBDIR += openwebmail SUBDIR += p3scan SUBDIR += p5-Email-Abstract SUBDIR += p5-Email-Address SUBDIR += p5-Email-Date SUBDIR += p5-Email-Delete SUBDIR += p5-Email-Filter SUBDIR += p5-Email-Find SUBDIR += p5-Email-Folder SUBDIR += p5-Email-Folder-IMAP SUBDIR += p5-Email-Folder-IMAPS SUBDIR += p5-Email-Folder-POP3 SUBDIR += p5-Email-FolderType SUBDIR += p5-Email-FolderType-Net SUBDIR += p5-Email-LocalDelivery SUBDIR += p5-Email-LocalDelivery-Ezmlm SUBDIR += p5-Email-MIME SUBDIR += p5-Email-MIME-Attachment-Stripper SUBDIR += p5-Email-MIME-ContentType SUBDIR += p5-Email-MIME-Creator SUBDIR += p5-Email-MIME-Encodings SUBDIR += p5-Email-MIME-Modifier SUBDIR += p5-Email-MessageID SUBDIR += p5-Email-Reply SUBDIR += p5-Email-Send SUBDIR += p5-Email-Simple SUBDIR += p5-Email-Simple-Creator SUBDIR += p5-Email-Valid SUBDIR += p5-Email-Valid-Loose SUBDIR += p5-FuzzyOcr SUBDIR += p5-FuzzyOcr-devel SUBDIR += p5-IMAP-Admin SUBDIR += p5-IMAP-Client SUBDIR += p5-IMAP-Sieve SUBDIR += p5-LMAP-CID2SPF SUBDIR += p5-Log-Procmail SUBDIR += p5-MIME-Explode SUBDIR += p5-MIME-Fast SUBDIR += p5-MIME-Lite SUBDIR += p5-MIME-Lite-HTML SUBDIR += p5-MIME-Tools SUBDIR += p5-MIME-Types SUBDIR += p5-Mail-Address-MobileJp SUBDIR += p5-Mail-Alias SUBDIR += p5-Mail-Audit SUBDIR += p5-Mail-Audit-Attach SUBDIR += p5-Mail-Box SUBDIR += p5-Mail-Box-Parser-C SUBDIR += p5-Mail-Box1 SUBDIR += p5-Mail-Bulkmail SUBDIR += p5-Mail-CClient SUBDIR += p5-Mail-CheckUser SUBDIR += p5-Mail-ClamAV SUBDIR += p5-Mail-DKIM SUBDIR += p5-Mail-DeliveryStatus-BounceParser SUBDIR += p5-Mail-DomainKeys SUBDIR += p5-Mail-Ezmlm SUBDIR += p5-Mail-Field-Received SUBDIR += p5-Mail-FilterXML SUBDIR += p5-Mail-Folder SUBDIR += p5-Mail-Freshmeat SUBDIR += p5-Mail-GnuPG SUBDIR += p5-Mail-Graph SUBDIR += p5-Mail-IMAPClient SUBDIR += p5-Mail-IMAPTalk SUBDIR += p5-Mail-ListDetector SUBDIR += p5-Mail-MailStats SUBDIR += p5-Mail-Mbox-MessageParser SUBDIR += p5-Mail-MboxParser SUBDIR += p5-Mail-OpenRelay-Simple SUBDIR += p5-Mail-POP3Client SUBDIR += p5-Mail-Procmail SUBDIR += p5-Mail-Procmailrc SUBDIR += p5-Mail-QuoteWrap SUBDIR += p5-Mail-RBL SUBDIR += p5-Mail-RFC822-Address SUBDIR += p5-Mail-SPF SUBDIR += p5-Mail-SPF-Query SUBDIR += p5-Mail-SRS SUBDIR += p5-Mail-SendEasy SUBDIR += p5-Mail-Sender SUBDIR += p5-Mail-Sendmail SUBDIR += p5-Mail-SpamAssassin SUBDIR += p5-Mail-Spool SUBDIR += p5-Mail-Tools SUBDIR += p5-Mail-Transport-Dbx SUBDIR += p5-Mail-Verify SUBDIR += p5-Mail-Verp SUBDIR += p5-Mail-Webmail-Gmail SUBDIR += p5-Net-IMAP-Simple SUBDIR += p5-Net-IMAP-Simple-SSL SUBDIR += p5-Net-QMTP SUBDIR += p5-Net-SMTP-Server SUBDIR += p5-Net-SMTP-TLS SUBDIR += p5-Net-SMTP_auth SUBDIR += p5-Net-Server-Mail SUBDIR += p5-POE-Component-Client-POP3 SUBDIR += p5-POE-Component-Client-SMTP SUBDIR += p5-POE-Component-SMTP SUBDIR += p5-Parse-Syslog-Mail SUBDIR += p5-Qmail-Envelope SUBDIR += p5-Sendmail-AccessDB SUBDIR += p5-Sendmail-Milter SUBDIR += p5-URI-imap SUBDIR += p5-URI-imaps SUBDIR += p5-WWW-GMail SUBDIR += p5-WWW-Hotmail SUBDIR += p5-qpsmtpd SUBDIR += p5-vpopmail SUBDIR += pantomime SUBDIR += pathalias SUBDIR += pear-Contact_Vcard_Build SUBDIR += pear-Contact_Vcard_Parse SUBDIR += pear-MIME_Type SUBDIR += pear-Mail SUBDIR += pear-Mail_Mbox SUBDIR += pear-Mail_Mime SUBDIR += pear-Mail_Queue SUBDIR += pear-Net_Cyrus SUBDIR += pear-Net_IMAP SUBDIR += pear-Net_LMTP SUBDIR += pecl-esmtp SUBDIR += pecl-mailparse SUBDIR += perdition SUBDIR += pflogstats SUBDIR += pflogsumm SUBDIR += pfqueue SUBDIR += pgen SUBDIR += pgpsendmail SUBDIR += php4-imap SUBDIR += php5-imap SUBDIR += pine-pgp-filters SUBDIR += pine4 SUBDIR += pm-lib SUBDIR += pmail SUBDIR += pop-before-smtp SUBDIR += pop3gwd SUBDIR += pop3lite SUBDIR += pop3proxy SUBDIR += pop3vscan SUBDIR += popa3d SUBDIR += popa3d-before-sendmail SUBDIR += popcheck SUBDIR += popd SUBDIR += popfile SUBDIR += poppassd SUBDIR += popper SUBDIR += poppwd SUBDIR += poppy SUBDIR += popular SUBDIR += postfinger SUBDIR += postfix SUBDIR += postfix-current SUBDIR += postfix-gps SUBDIR += postfix-gps-devel SUBDIR += postfix-policyd-sf SUBDIR += postfix-policyd-spf SUBDIR += postfix-policyd-weight SUBDIR += postfix1 SUBDIR += postfix21 SUBDIR += postfix22 SUBDIR += postfixadmin SUBDIR += postgrey SUBDIR += postilion SUBDIR += prayer SUBDIR += premail SUBDIR += procmail SUBDIR += prom-wl SUBDIR += pronto SUBDIR += proxsmtp SUBDIR += py-cyruslib SUBDIR += py-email SUBDIR += py-libgmail SUBDIR += py-milter SUBDIR += py-spambayes SUBDIR += py-spf SUBDIR += py-turbomail SUBDIR += py-twistedMail SUBDIR += pygmy SUBDIR += pymsgauth SUBDIR += pyzor SUBDIR += qconfirm SUBDIR += qmHandle SUBDIR += qmail SUBDIR += qmail-activedir SUBDIR += qmail-auditor SUBDIR += qmail-autoresponder SUBDIR += qmail-conf SUBDIR += qmail-contrib SUBDIR += qmail-dk SUBDIR += qmail-ldap SUBDIR += qmail-mysql SUBDIR += qmail-notify SUBDIR += qmail-qfilter SUBDIR += qmail-rblchk SUBDIR += qmail-remove SUBDIR += qmail-scanner SUBDIR += qmail-spamcontrol SUBDIR += qmail-tls SUBDIR += qmail-vida SUBDIR += qmailadmin SUBDIR += qmailanalog SUBDIR += qmailmrtg7 SUBDIR += qmqtool SUBDIR += qmrtg SUBDIR += qpopper SUBDIR += qscan SUBDIR += qsf SUBDIR += qsheff SUBDIR += qtools SUBDIR += queue-fix SUBDIR += queue-repair SUBDIR += quickml SUBDIR += rabl_client SUBDIR += rabl_server SUBDIR += raysfilter SUBDIR += razor-agents SUBDIR += rbl-milter SUBDIR += rblcheck SUBDIR += regm SUBDIR += relay-ctrl SUBDIR += relaydb SUBDIR += renattach SUBDIR += reply-o-matic SUBDIR += rftp SUBDIR += ricochet SUBDIR += ripmime SUBDIR += rlytest SUBDIR += rmime SUBDIR += roundcube SUBDIR += ruby-rfilter SUBDIR += ruby-rmail SUBDIR += ruby-tmail SUBDIR += rubygem-actionmailer SUBDIR += sccmilter SUBDIR += scmail SUBDIR += sendmail SUBDIR += sendmail-ldap SUBDIR += sendmail-sasl SUBDIR += sendok SUBDIR += sentinel SUBDIR += serialmail SUBDIR += sid-milter SUBDIR += sigit SUBDIR += sigrot SUBDIR += silkymail SUBDIR += simscan SUBDIR += sma SUBDIR += smail SUBDIR += smc-milter SUBDIR += smtp-gated SUBDIR += smtpclient SUBDIR += smtpd SUBDIR += smtpfeed SUBDIR += smtpmail SUBDIR += smtpproxy SUBDIR += smtprc SUBDIR += smtptrapd SUBDIR += smx SUBDIR += softfail SUBDIR += solidpop3d SUBDIR += sortmail SUBDIR += spamass-milter SUBDIR += spamass-rules SUBDIR += spamass-rules_du_jour SUBDIR += spambnc SUBDIR += spamcup SUBDIR += spamd SUBDIR += spamguard SUBDIR += spamilter SUBDIR += spamoracle SUBDIR += spampd SUBDIR += spamprobe SUBDIR += spamstats SUBDIR += spfval SUBDIR += spruce SUBDIR += sqlgrey SUBDIR += squirrelmail SUBDIR += squirrelmail-change_ldappass-plugin SUBDIR += squirrelmail-compatibility-plugin SUBDIR += squirrelmail-compatibility-plugin1 SUBDIR += squirrelmail-devel SUBDIR += squirrelmail-email_footer-plugin SUBDIR += squirrelmail-login_auth-plugin SUBDIR += squirrelmail-login_notes-plugin SUBDIR += squirrelmail-multilogin-plugin SUBDIR += squirrelmail-newuser_wiz-plugin SUBDIR += squirrelmail-notes-plugin SUBDIR += squirrelmail-notify-plugin SUBDIR += squirrelmail-password_forget-plugin SUBDIR += squirrelmail-pupdate-plugin SUBDIR += squirrelmail-qmailadmin_login-plugin SUBDIR += squirrelmail-quota_usage-plugin SUBDIR += squirrelmail-sasql-plugin SUBDIR += squirrelmail-secure_login-plugin SUBDIR += squirrelmail-timeout_user-plugin SUBDIR += squirrelmail-tmda-plugin SUBDIR += squirrelmail-vlogin-plugin SUBDIR += squirrelmail-websearch-plugin SUBDIR += squirrelmail-wetteronline-plugin SUBDIR += squirreloutlook SUBDIR += sqwebmail SUBDIR += ssmtp SUBDIR += surblhost SUBDIR += svnmailer SUBDIR += swaks SUBDIR += sylpheed SUBDIR += sylpheed2 SUBDIR += sylpheed2-devel SUBDIR += sympa SUBDIR += sympa-elixus SUBDIR += sympa5 SUBDIR += synonym SUBDIR += t-prot SUBDIR += teapop SUBDIR += teapop-devel SUBDIR += thunderbird SUBDIR += thunderbird-dictionaries SUBDIR += thunderbird-i18n SUBDIR += tkrat2 SUBDIR += tlb SUBDIR += tmda SUBDIR += tpop3d SUBDIR += tumgreyspf SUBDIR += turba SUBDIR += uebimiau SUBDIR += up-imapproxy SUBDIR += usendmail SUBDIR += vbsfilter SUBDIR += vexim SUBDIR += vm SUBDIR += vm-pop3d SUBDIR += vmailmgr SUBDIR += vodmr SUBDIR += vpopmail SUBDIR += vpopmail-devel SUBDIR += vqadmin SUBDIR += vqregister SUBDIR += vrfy SUBDIR += wanderlust SUBDIR += wanderlust-emacs20 SUBDIR += wanderlust-xemacs21-mule SUBDIR += wbl SUBDIR += websieve SUBDIR += whoson SUBDIR += wmbiff SUBDIR += wmmail SUBDIR += wmmaiload SUBDIR += wmmultipop3 SUBDIR += wmpop3 SUBDIR += wmymail SUBDIR += xbuffy SUBDIR += xc-mail SUBDIR += xfaces SUBDIR += xfce4-mailwatch-plugin SUBDIR += xfmail SUBDIR += xlbiff SUBDIR += xmail SUBDIR += xmailbox SUBDIR += xmailwatcher SUBDIR += xpbiff SUBDIR += xpi-displayquota SUBDIR += yuzu SUBDIR += zabit SUBDIR += zmailer # SUBDIR += mailman-devel .include Property changes on: head/mail/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.834 \ No newline at end of property +1.835 \ No newline at end of property Index: head/mail/horde-mimp/Makefile =================================================================== --- head/mail/horde-mimp/Makefile (nonexistent) +++ head/mail/horde-mimp/Makefile (revision 185692) @@ -0,0 +1,184 @@ +# Ports collection makefile for: mimp3 +# Date created: Mon Feb 05, 2007 +# Whom: Beech Rintoul () +# +# $FreeBSD$ +# + +PORTNAME= mimp +PORTVERSION= 1.0 +CATEGORIES= mail www +MASTER_SITES= HORDE +DISTNAME= ${PORTNAME}-h3-${PORTVERSION} + +MAINTAINER= beech@alaskaparadise.com +COMMENT= A mobile webmail system which uses the horde framework + +#----------------------------------------------------------------------- +# You may define these options: +# +# - WITHOUT_LDAP if you do not need OpenLDAP; +# +# - WITHOUT_SMIME disable S/MIME; +# +# - WITHOUT_SUPPORTED_DB if you run a database not in the ports tree; +# +# - NOCRYPT if crypto is restricted in your country; +# +# - WITHOUT_SSL if you have not installed c-client WITH_SSL; +# +# - WITH_VALID_CERT if you own a valid SSL certificate; +# +# - WITH_IMAPSERVER if you want to depend on an IMAP server; +# +# or you can select to work with one of these servers: +# +# - WITH_CYRUS-IMAPD MIMP will work with cyrus-imapd; +# +# - WITH_IMAP-UW MIMP will work with imap-uw; +# +# - WITH_DOVECOT MIMP will work with dovecot; +# +# - WITH_COURIER-IMAP MIMP will work with courier-imap. +# +# These choices are mutually exclusive, and imap-uw is the default. +# +#----------------------------------------------------------------------- + +RUN_DEPENDS+= ${PEARDIR}/Auth/SASL.php:${PORTSDIR}/security/pear-Auth_SASL + +USE_PHP= imap +. if !defined(WITHOUT_LDAP) +USE_PHP+= ldap +. endif + +RUN_DEPENDS+= ${LOCALBASE}/${LHORDEDIR}/rpc.php:${PORTSDIR}/www/horde + +.if !defined(WITHOUT_SMIME) +USE_PHP+= openssl +.endif + +.if !defined(NOCRYPT) +RUN_DEPENDS+= ${LOCALBASE}/bin/gpgv:${PORTSDIR}/security/gnupg1 +.endif + +NO_BUILD= yes +USE_APACHE= 1.3+ # needed to test APACHE_VERSION +USE_GETTEXT= yes +REINPLACE_ARGS= -i.beforeMIMP + +DOCS= COPYING README docs/CHANGES docs/CREDITS docs/INSTALL \ + docs/RELEASE_NOTES +CONFFILE= filter.txt header.php menu.php mime_drivers.php motd.php \ + prefs.php servers.php trailer.txt conf.xml .htaccess +SUB_DIRS= config lib locale po templates themes + +LHORDEDIR?= www/horde +LMIMPDIR= ${LHORDEDIR}/mimp +PEARDIR?= ${LOCALBASE}/share/pear + +PLIST_SUB= MIMPDIR=${LMIMPDIR} HORDE_INC=${HORDE_INC:S|^${LOCALBASE}/||} +PKGMESSAGE= ${WRKDIR}/pkg-message +PKGDEINSTALL= ${WRKDIR}/pkg-deinstall +SUB_FILES= pkg-message pkg-install pkg-deinstall +SUB_LIST= MIMPDIR=${MIMPDIR} PORTSDIR=${PORTSDIR} CONFDIR=${CONFDIR} + +MIMPDIR= ${PREFIX}/${LMIMPDIR} +CONFDIR= ${MIMPDIR}/config + +HOSTNAME?= `/bin/hostname` +SERVOS?= ${OPSYS}-${OSREL} + +PORTREV_H?= ${LOCALBASE}/include/c-client/portrevision.h + +PATCH2RM= prefs.php.dist.orig servers.php.dist.orig + +.include + +.if defined(WITH_IMAPSERVER) +. if defined(WITH_IMAP-UW) || exists(${LOCALBASE}/libexec/imapd) +RUN_DEPENDS+= ${LOCALBASE}/libexec/imapd:${PORTSDIR}/mail/imap-uw +. elif defined(WITH_CYRUS-IMAPD) || exists(${LOCALBASE}/lib/libacap.a) +RUN_DEPENDS+= ${LOCALBASE}/lib/libacap.a:${PORTSDIR}/mail/cyrus-imapd2 +. elif defined(WITH_COURIER-IMAP) || exists(${LOCALBASE}/bin/deliverquota) +RUN_DEPENDS+= ${LOCALBASE}/bin/deliverquota:${PORTSDIR}/mail/courier-imap +. elif defined(WITH_DOVECOT) || exists(${LOCALBASE}/libexec/dovecot/imap) +RUN_DEPENDS+= ${LOCALBASE}/libexec/dovecot/imap:${PORTSDIR}/mail/dovecot +. else +RUN_DEPENDS+= ${LOCALBASE}/libexec/imapd:${PORTSDIR}/mail/imap-uw +. endif +.endif + +.if ${APACHE_VERSION} >= 20 +HORDE_INC= ${LOCALBASE}/etc/apache${APACHE_VERSION:S/20/2/}/Includes/ +.else +HORDE_INC= ${LOCALBASE}/etc/horde/ +.endif + +pre-configure: + @${REINPLACE_CMD} -e "s:/usr/local:${LOCALBASE}:" ${WRKSRC}/config/conf.xml +.if !defined(NOCRYPT) + @${REINPLACE_CMD} -e "s:%%GPG%%:${LOCALBASE}/bin/gpg:" \ + ${WRKSRC}/config/conf.xml +.else + @${REINPLACE_CMD} -e "s:%%GPG%%::" ${WRKSRC}/config/conf.xml +.endif + @${REINPLACE_CMD} -e "s:MIMP_VERSION:MIMP_VERSION . ' / ${SERVOS}':" \ + ${WRKSRC}/lib/MIME/Headers.php + @${REINPLACE_CMD} -e "s:example.com:${HOSTNAME}:g" \ + ${WRKSRC}/config/servers.php.dist +.if defined(WITHOUT_SSL) + @${REINPLACE_CMD} -e "s:%%PROTOCOL%%:imap/notls:;s:%%IMAPPORT%%:143:" +\ + ${WRKSRC}/config/servers.php.dist +.else + @${REINPLACE_CMD} -e "s:%%IMAPPORT%%:993:" ${WRKSRC}/config/servers.php.dist +. if defined(WITH_VALID_CERT) + @${REINPLACE_CMD} -e "s:%%PROTOCOL%%:imap/ssl:" ${WRKSRC}/config/servers.php.dist +. else + @${REINPLACE_CMD} -e "s:%%PROTOCOL%%:imap/ssl/novalidate-cert:" \ + ${WRKSRC}/config/servers.php.dist +. endif +.endif + @${SED} -e "s:/home/httpd/html/horde/mimp:${MIMPDIR}:" \ + ${FILESDIR}/httpd.conf.mimp > ${WRKDIR}/httpd-mimp.conf + +pre-install: +.if !defined(BATCH) && !defined(WITHOUT_SSL) + @if ! ${GREP} -q -e 'CCLIENT_SSLENABLED "yes"' ${PORTREV_H}; then \ + ${ECHO_MSG} "" ; \ + ${ECHO_MSG} "Please configure c-client with SSL support." ; \ + ${ECHO_MSG} "" ; \ + ${FALSE} ; \ + fi +.endif +.for fc in ${PATCH2RM} + @${RM} ${WRKSRC}/config/${fc} +.endfor + +do-install: + @${MKDIR} ${MIMPDIR} +.for REP in ${SUB_DIRS} + @${CP} -Rp ${WRKSRC}/${REP} ${MIMPDIR}/ +.endfor + @${CP} -p ${WRKSRC}/*.php ${MIMPDIR}/ + @${INSTALL_DATA} ${WRKSRC}/config/conf.xml ${CONFDIR}/ + @${INSTALL_DATA} ${WRKDIR}/httpd-mimp.conf ${HORDE_INC}/ + @${CHOWN} -R ${WWWOWN}:${WWWGRP} ${MIMPDIR}/ + @${CHMOD} -R o-rwx ${CONFDIR}/ + +.if !defined(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} +.for FILE in ${DOCS} + @${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR}/ +.endfor + @${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}." +.endif + +post-install: + @${SETENV} ${SCRIPTS_ENV} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL + @${ECHO_MSG} + @${CAT} ${PKGMESSAGE} + @${ECHO_MSG} + +.include Property changes on: head/mail/horde-mimp/Makefile ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property Index: head/mail/horde-mimp/distinfo =================================================================== --- head/mail/horde-mimp/distinfo (nonexistent) +++ head/mail/horde-mimp/distinfo (revision 185692) @@ -0,0 +1,3 @@ +MD5 (mimp-h3-1.0.tar.gz) = 5fd92232cbc7008563c7200c72a7a6e7 +SHA256 (mimp-h3-1.0.tar.gz) = c71b3e9af46bbd1ad1caf54cf02ce99e01d5e762b982c6f0ac218e684fc94757 +SIZE (mimp-h3-1.0.tar.gz) = 491972 Property changes on: head/mail/horde-mimp/distinfo ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Index: head/mail/horde-mimp/files/httpd.conf.mimp =================================================================== --- head/mail/horde-mimp/files/httpd.conf.mimp (nonexistent) +++ head/mail/horde-mimp/files/httpd.conf.mimp (revision 185692) @@ -0,0 +1,31 @@ +# This is included in Apache's httpd.conf for MIMP +# +# For security, don't serve pages from the MIMP configuration and +# library directories. +# + + order deny,allow + deny from all + + + order deny,allow + deny from all + + + order deny,allow + deny from all + + + order deny,allow + deny from all + + + order deny,allow + deny from all + + + order deny,allow + deny from all + +# End of MIMP configuration ================ + Property changes on: head/mail/horde-mimp/files/httpd.conf.mimp ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Index: head/mail/horde-mimp/files/patch-config-prefs.php.dist =================================================================== --- head/mail/horde-mimp/files/patch-config-prefs.php.dist (nonexistent) +++ head/mail/horde-mimp/files/patch-config-prefs.php.dist (revision 185692) @@ -0,0 +1,11 @@ +--- config/prefs.php.dist.orig Fri Oct 29 19:04:12 2004 ++++ config/prefs.php.dist Thu Nov 11 21:49:05 2004 +@@ -1071,7 +1071,7 @@ + // 'value' => "source_one\tsource_two" + // refer to turba/config/sources.php for possible source values + $_prefs['search_sources'] = array( +- 'value' => "", ++ 'value' => 'localsql', + 'locked' => false, + 'shared' => false, + 'type' => 'implicit'); Property changes on: head/mail/horde-mimp/files/patch-config-prefs.php.dist ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Index: head/mail/horde-mimp/files/patch-config-servers.php.dist =================================================================== --- head/mail/horde-mimp/files/patch-config-servers.php.dist (nonexistent) +++ head/mail/horde-mimp/files/patch-config-servers.php.dist (revision 185692) @@ -0,0 +1,19 @@ +--- config/servers.php.dist.orig Wed Feb 22 08:16:36 2006 ++++ config/servers.php.dist Mon Feb 5 13:14:52 2007 +@@ -159,11 +159,12 @@ + + $servers['imap'] = array( + 'name' => 'IMAP Server', +- 'server' => 'imap.example.com', +- 'protocol' => 'imap/notls', +- 'port' => 143, ++ 'server' => 'localhost', ++ 'hordeauth' => false, ++ 'protocol' => '%%PROTOCOL%%', ++ 'port' => %%IMAPPORT%%, + 'maildomain' => 'example.com', +- 'smtphost' => 'smtp.example.com', ++ 'smtphost' => 'localhost', + 'smtpport' => 25, + 'realm' => '', + 'preferred' => '', Property changes on: head/mail/horde-mimp/files/patch-config-servers.php.dist ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Index: head/mail/horde-mimp/files/pkg-deinstall.in =================================================================== --- head/mail/horde-mimp/files/pkg-deinstall.in (nonexistent) +++ head/mail/horde-mimp/files/pkg-deinstall.in (revision 185692) @@ -0,0 +1,23 @@ +#!/bin/sh +# +# $FreeBSD: +# + +if [ x$2 != xDEINSTALL ]; then + exit +fi + +if [ -z "${PACKAGE_BUILDING}" ]; then + for cf in `ls %%MIMPDIR%%/config/*php %%MIMPDIR%%/config/*txt`; do + diff -bBqw $cf $cf.dist >/dev/null 2>&1 + case $? in + 0) # original config file, delete it + rm -f $cf + ;; + 1) # config file has been updated, leave it alone + ;; + *) # not found? + ;; + esac + done +fi Property changes on: head/mail/horde-mimp/files/pkg-deinstall.in ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Index: head/mail/horde-mimp/files/pkg-install.in =================================================================== --- head/mail/horde-mimp/files/pkg-install.in (nonexistent) +++ head/mail/horde-mimp/files/pkg-install.in (revision 185692) @@ -0,0 +1,23 @@ +#!/bin/sh +# +# $FreeBSD: +# + +PATH=/usr/sbin:/usr/bin:/bin ; export PATH + +case $2 in + PRE-INSTALL) + ;; + + POST-INSTALL) + if [ -z "${PACKAGE_BUILDING}" ]; then + # Copy over sample config files unless they already exist + + for cf in `ls %%MIMPDIR%%/config/*.dist | sed -e 's/\.dist//g'`; do + if [ ! -f $cf ]; then + cp -p $cf.dist $cf + fi + done + fi + ;; +esac Property changes on: head/mail/horde-mimp/files/pkg-install.in ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Index: head/mail/horde-mimp/files/pkg-message.in =================================================================== --- head/mail/horde-mimp/files/pkg-message.in (nonexistent) +++ head/mail/horde-mimp/files/pkg-message.in (revision 185692) @@ -0,0 +1,20 @@ +************************************************************************ +MIMP has been installed in %%MIMPDIR%% with your blank +configuration files. + +Horde must be configured and the tables created; if not, see +`pkg_info -D -x horde'. + +Then, you might have to tune the configuration files located in +%%CONFDIR%%/, specially the file servers.php. + +Then, you must login to Horde as a Horde Administrator to finish the +configuration. Please read %%DOCSDIR%%/INSTALL. + +To protect your configuration files, you have to restart your webserver. + +To secure your installation, it is at least recommended that you change +the default database password used by horde and imp. +Then, you might change the 'session.save_path' setting in php.ini to a +directory only readable and writeable by your webserver. +************************************************************************ Property changes on: head/mail/horde-mimp/files/pkg-message.in ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Index: head/mail/horde-mimp/pkg-descr =================================================================== --- head/mail/horde-mimp/pkg-descr (nonexistent) +++ head/mail/horde-mimp/pkg-descr (revision 185692) @@ -0,0 +1,6 @@ +MIMP is a version of HORDE IMP suitable for mobile devices such as WAP phones or +PDAs. Basic IMP functionality is implemented including mailbox viewing and +paging, viewing messages, deleting, replying, forwarding, and composing new +messages. + +WWW: http://www.horde.org/mimp/ Property changes on: head/mail/horde-mimp/pkg-descr ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Index: head/mail/horde-mimp/pkg-plist =================================================================== --- head/mail/horde-mimp/pkg-plist (nonexistent) +++ head/mail/horde-mimp/pkg-plist (revision 185692) @@ -0,0 +1,115 @@ +%%PORTDOCS%%%%DOCSDIR%%/CHANGES +%%PORTDOCS%%%%DOCSDIR%%/CREDITS +%%PORTDOCS%%%%DOCSDIR%%/INSTALL +%%PORTDOCS%%%%DOCSDIR%%/README +%%PORTDOCS%%%%DOCSDIR%%/COPYING +%%PORTDOCS%%%%DOCSDIR%%/RELEASE_NOTES +%%MIMPDIR%%/compose.php +%%MIMPDIR%%/config/.htaccess +%%MIMPDIR%%/config/conf.xml +%%MIMPDIR%%/config/filter.txt.dist +%%MIMPDIR%%/config/header.php.dist +%%MIMPDIR%%/config/menu.php.dist +%%MIMPDIR%%/config/mime_drivers.php.dist +%%MIMPDIR%%/config/motd.php.dist +%%MIMPDIR%%/config/prefs.php.dist +%%MIMPDIR%%/config/servers.php.dist +%%MIMPDIR%%/config/trailer.txt.dist +%%MIMPDIR%%/config/conf.xml.beforeMIMP +%%MIMPDIR%%/config/servers.php.dist.beforeMIMP +%%MIMPDIR%%/folders.php +%%MIMPDIR%%/index.php +%%MIMPDIR%%/lib/Auth/mimp.php +%%MIMPDIR%%/lib/base.php +%%MIMPDIR%%/lib/Compose.php +%%MIMPDIR%%/lib/Folder.php +%%MIMPDIR%%/lib/IMAP.php +%%MIMPDIR%%/lib/IMAP/Client.php +%%MIMPDIR%%/lib/IMAP/Sort.php +%%MIMPDIR%%/lib/IMAP/Tree.php +%%MIMPDIR%%/lib/Identity/mimp.php +%%MIMPDIR%%/lib/MIME/Contents.php +%%MIMPDIR%%/lib/MIME/Headers.php +%%MIMPDIR%%/lib/MIME/Viewer/alternative.php +%%MIMPDIR%%/lib/MIME/Viewer/html.php +%%MIMPDIR%%/lib/MIME/Viewer/multipart.php +%%MIMPDIR%%/lib/MIME/Viewer/plain.php +%%MIMPDIR%%/lib/MIME/Viewer/related.php +%%MIMPDIR%%/lib/MIME/Headers.php.beforeMIMP +%%MIMPDIR%%/lib/Mailbox.php +%%MIMPDIR%%/lib/Message.php +%%MIMPDIR%%/lib/MIMP.php +%%MIMPDIR%%/lib/Session.php +%%MIMPDIR%%/lib/api.php +%%MIMPDIR%%/lib/prefs.php +%%MIMPDIR%%/lib/version.php +%%MIMPDIR%%/locale/de_DE/LC_MESSAGES/mimp.mo +%%MIMPDIR%%/locale/es_ES/LC_MESSAGES/mimp.mo +%%MIMPDIR%%/locale/fi_FI/LC_MESSAGES/mimp.mo +%%MIMPDIR%%/locale/fr_FR/LC_MESSAGES/mimp.mo +%%MIMPDIR%%/locale/hu_HU/LC_MESSAGES/mimp.mo +%%MIMPDIR%%/locale/it_IT/LC_MESSAGES/mimp.mo +%%MIMPDIR%%/locale/lt_LT/LC_MESSAGES/mimp.mo +%%MIMPDIR%%/locale/ro_RO/LC_MESSAGES/mimp.mo +%%MIMPDIR%%/login.php +%%MIMPDIR%%/mailbox.php +%%MIMPDIR%%/message.php +%%MIMPDIR%%/po/README +%%MIMPDIR%%/po/mimp.pot +%%MIMPDIR%%/po/de_DE.po +%%MIMPDIR%%/po/es_ES.po +%%MIMPDIR%%/po/fi_FI.po +%%MIMPDIR%%/po/fr_FR.po +%%MIMPDIR%%/po/hu_HU.po +%%MIMPDIR%%/po/it_IT.po +%%MIMPDIR%%/po/lt_LT.po +%%MIMPDIR%%/po/ro_RO.po +%%MIMPDIR%%/redirect.php +%%MIMPDIR%%/templates/common-header.inc +%%MIMPDIR%%/templates/compose/compose.inc +%%MIMPDIR%%/templates/compose/redirect.inc +%%MIMPDIR%%/templates/index/notconfigured.inc +%%MIMPDIR%%/templates/login/login.inc +%%MIMPDIR%%/templates/mailbox/mailbox.inc +%%MIMPDIR%%/templates/prefs/sentmailselect.inc +%%MIMPDIR%%/test.php +%%MIMPDIR%%/themes/graphics/favicon.ico +%%MIMPDIR%%/themes/graphics/mimp.png +%%MIMPDIR%%/themes/graphics/horde-power2.png +%%MIMPDIR%%/themes/graphics/horde-power2.wbmp +%%PORTDOCS%%@dirrm %%DOCSDIR%% +%%HORDE_INC%%httpd-mimp.conf +@dirrm %%MIMPDIR%%/themes/graphics +@dirrm %%MIMPDIR%%/themes +@dirrm %%MIMPDIR%%/templates/prefs +@dirrm %%MIMPDIR%%/templates/mailbox +@dirrm %%MIMPDIR%%/templates/login +@dirrm %%MIMPDIR%%/templates/index +@dirrm %%MIMPDIR%%/templates/compose +@dirrm %%MIMPDIR%%/templates +@dirrm %%MIMPDIR%%/po +@dirrm %%MIMPDIR%%/locale/ro_RO/LC_MESSAGES +@dirrm %%MIMPDIR%%/locale/ro_RO +@dirrm %%MIMPDIR%%/locale/lt_LT/LC_MESSAGES +@dirrm %%MIMPDIR%%/locale/lt_LT +@dirrm %%MIMPDIR%%/locale/it_IT/LC_MESSAGES +@dirrm %%MIMPDIR%%/locale/it_IT +@dirrm %%MIMPDIR%%/locale/hu_HU/LC_MESSAGES +@dirrm %%MIMPDIR%%/locale/hu_HU +@dirrm %%MIMPDIR%%/locale/fr_FR/LC_MESSAGES +@dirrm %%MIMPDIR%%/locale/fr_FR +@dirrm %%MIMPDIR%%/locale/fi_FI/LC_MESSAGES +@dirrm %%MIMPDIR%%/locale/fi_FI +@dirrm %%MIMPDIR%%/locale/es_ES/LC_MESSAGES +@dirrm %%MIMPDIR%%/locale/es_ES +@dirrm %%MIMPDIR%%/locale/de_DE/LC_MESSAGES +@dirrm %%MIMPDIR%%/locale/de_DE +@dirrm %%MIMPDIR%%/locale +@dirrm %%MIMPDIR%%/lib/MIME/Viewer +@dirrm %%MIMPDIR%%/lib/MIME +@dirrm %%MIMPDIR%%/lib/Identity +@dirrm %%MIMPDIR%%/lib/IMAP +@dirrm %%MIMPDIR%%/lib/Auth +@dirrm %%MIMPDIR%%/lib +@dirrmtry %%MIMPDIR%%/config +@dirrmtry %%MIMPDIR%% Property changes on: head/mail/horde-mimp/pkg-plist ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Index: head/mail/mimp/Makefile =================================================================== --- head/mail/mimp/Makefile (nonexistent) +++ head/mail/mimp/Makefile (revision 185692) @@ -0,0 +1,184 @@ +# Ports collection makefile for: mimp3 +# Date created: Mon Feb 05, 2007 +# Whom: Beech Rintoul () +# +# $FreeBSD$ +# + +PORTNAME= mimp +PORTVERSION= 1.0 +CATEGORIES= mail www +MASTER_SITES= HORDE +DISTNAME= ${PORTNAME}-h3-${PORTVERSION} + +MAINTAINER= beech@alaskaparadise.com +COMMENT= A mobile webmail system which uses the horde framework + +#----------------------------------------------------------------------- +# You may define these options: +# +# - WITHOUT_LDAP if you do not need OpenLDAP; +# +# - WITHOUT_SMIME disable S/MIME; +# +# - WITHOUT_SUPPORTED_DB if you run a database not in the ports tree; +# +# - NOCRYPT if crypto is restricted in your country; +# +# - WITHOUT_SSL if you have not installed c-client WITH_SSL; +# +# - WITH_VALID_CERT if you own a valid SSL certificate; +# +# - WITH_IMAPSERVER if you want to depend on an IMAP server; +# +# or you can select to work with one of these servers: +# +# - WITH_CYRUS-IMAPD MIMP will work with cyrus-imapd; +# +# - WITH_IMAP-UW MIMP will work with imap-uw; +# +# - WITH_DOVECOT MIMP will work with dovecot; +# +# - WITH_COURIER-IMAP MIMP will work with courier-imap. +# +# These choices are mutually exclusive, and imap-uw is the default. +# +#----------------------------------------------------------------------- + +RUN_DEPENDS+= ${PEARDIR}/Auth/SASL.php:${PORTSDIR}/security/pear-Auth_SASL + +USE_PHP= imap +. if !defined(WITHOUT_LDAP) +USE_PHP+= ldap +. endif + +RUN_DEPENDS+= ${LOCALBASE}/${LHORDEDIR}/rpc.php:${PORTSDIR}/www/horde + +.if !defined(WITHOUT_SMIME) +USE_PHP+= openssl +.endif + +.if !defined(NOCRYPT) +RUN_DEPENDS+= ${LOCALBASE}/bin/gpgv:${PORTSDIR}/security/gnupg1 +.endif + +NO_BUILD= yes +USE_APACHE= 1.3+ # needed to test APACHE_VERSION +USE_GETTEXT= yes +REINPLACE_ARGS= -i.beforeMIMP + +DOCS= COPYING README docs/CHANGES docs/CREDITS docs/INSTALL \ + docs/RELEASE_NOTES +CONFFILE= filter.txt header.php menu.php mime_drivers.php motd.php \ + prefs.php servers.php trailer.txt conf.xml .htaccess +SUB_DIRS= config lib locale po templates themes + +LHORDEDIR?= www/horde +LMIMPDIR= ${LHORDEDIR}/mimp +PEARDIR?= ${LOCALBASE}/share/pear + +PLIST_SUB= MIMPDIR=${LMIMPDIR} HORDE_INC=${HORDE_INC:S|^${LOCALBASE}/||} +PKGMESSAGE= ${WRKDIR}/pkg-message +PKGDEINSTALL= ${WRKDIR}/pkg-deinstall +SUB_FILES= pkg-message pkg-install pkg-deinstall +SUB_LIST= MIMPDIR=${MIMPDIR} PORTSDIR=${PORTSDIR} CONFDIR=${CONFDIR} + +MIMPDIR= ${PREFIX}/${LMIMPDIR} +CONFDIR= ${MIMPDIR}/config + +HOSTNAME?= `/bin/hostname` +SERVOS?= ${OPSYS}-${OSREL} + +PORTREV_H?= ${LOCALBASE}/include/c-client/portrevision.h + +PATCH2RM= prefs.php.dist.orig servers.php.dist.orig + +.include + +.if defined(WITH_IMAPSERVER) +. if defined(WITH_IMAP-UW) || exists(${LOCALBASE}/libexec/imapd) +RUN_DEPENDS+= ${LOCALBASE}/libexec/imapd:${PORTSDIR}/mail/imap-uw +. elif defined(WITH_CYRUS-IMAPD) || exists(${LOCALBASE}/lib/libacap.a) +RUN_DEPENDS+= ${LOCALBASE}/lib/libacap.a:${PORTSDIR}/mail/cyrus-imapd2 +. elif defined(WITH_COURIER-IMAP) || exists(${LOCALBASE}/bin/deliverquota) +RUN_DEPENDS+= ${LOCALBASE}/bin/deliverquota:${PORTSDIR}/mail/courier-imap +. elif defined(WITH_DOVECOT) || exists(${LOCALBASE}/libexec/dovecot/imap) +RUN_DEPENDS+= ${LOCALBASE}/libexec/dovecot/imap:${PORTSDIR}/mail/dovecot +. else +RUN_DEPENDS+= ${LOCALBASE}/libexec/imapd:${PORTSDIR}/mail/imap-uw +. endif +.endif + +.if ${APACHE_VERSION} >= 20 +HORDE_INC= ${LOCALBASE}/etc/apache${APACHE_VERSION:S/20/2/}/Includes/ +.else +HORDE_INC= ${LOCALBASE}/etc/horde/ +.endif + +pre-configure: + @${REINPLACE_CMD} -e "s:/usr/local:${LOCALBASE}:" ${WRKSRC}/config/conf.xml +.if !defined(NOCRYPT) + @${REINPLACE_CMD} -e "s:%%GPG%%:${LOCALBASE}/bin/gpg:" \ + ${WRKSRC}/config/conf.xml +.else + @${REINPLACE_CMD} -e "s:%%GPG%%::" ${WRKSRC}/config/conf.xml +.endif + @${REINPLACE_CMD} -e "s:MIMP_VERSION:MIMP_VERSION . ' / ${SERVOS}':" \ + ${WRKSRC}/lib/MIME/Headers.php + @${REINPLACE_CMD} -e "s:example.com:${HOSTNAME}:g" \ + ${WRKSRC}/config/servers.php.dist +.if defined(WITHOUT_SSL) + @${REINPLACE_CMD} -e "s:%%PROTOCOL%%:imap/notls:;s:%%IMAPPORT%%:143:" +\ + ${WRKSRC}/config/servers.php.dist +.else + @${REINPLACE_CMD} -e "s:%%IMAPPORT%%:993:" ${WRKSRC}/config/servers.php.dist +. if defined(WITH_VALID_CERT) + @${REINPLACE_CMD} -e "s:%%PROTOCOL%%:imap/ssl:" ${WRKSRC}/config/servers.php.dist +. else + @${REINPLACE_CMD} -e "s:%%PROTOCOL%%:imap/ssl/novalidate-cert:" \ + ${WRKSRC}/config/servers.php.dist +. endif +.endif + @${SED} -e "s:/home/httpd/html/horde/mimp:${MIMPDIR}:" \ + ${FILESDIR}/httpd.conf.mimp > ${WRKDIR}/httpd-mimp.conf + +pre-install: +.if !defined(BATCH) && !defined(WITHOUT_SSL) + @if ! ${GREP} -q -e 'CCLIENT_SSLENABLED "yes"' ${PORTREV_H}; then \ + ${ECHO_MSG} "" ; \ + ${ECHO_MSG} "Please configure c-client with SSL support." ; \ + ${ECHO_MSG} "" ; \ + ${FALSE} ; \ + fi +.endif +.for fc in ${PATCH2RM} + @${RM} ${WRKSRC}/config/${fc} +.endfor + +do-install: + @${MKDIR} ${MIMPDIR} +.for REP in ${SUB_DIRS} + @${CP} -Rp ${WRKSRC}/${REP} ${MIMPDIR}/ +.endfor + @${CP} -p ${WRKSRC}/*.php ${MIMPDIR}/ + @${INSTALL_DATA} ${WRKSRC}/config/conf.xml ${CONFDIR}/ + @${INSTALL_DATA} ${WRKDIR}/httpd-mimp.conf ${HORDE_INC}/ + @${CHOWN} -R ${WWWOWN}:${WWWGRP} ${MIMPDIR}/ + @${CHMOD} -R o-rwx ${CONFDIR}/ + +.if !defined(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} +.for FILE in ${DOCS} + @${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR}/ +.endfor + @${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}." +.endif + +post-install: + @${SETENV} ${SCRIPTS_ENV} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL + @${ECHO_MSG} + @${CAT} ${PKGMESSAGE} + @${ECHO_MSG} + +.include Property changes on: head/mail/mimp/Makefile ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property Index: head/mail/mimp/distinfo =================================================================== --- head/mail/mimp/distinfo (nonexistent) +++ head/mail/mimp/distinfo (revision 185692) @@ -0,0 +1,3 @@ +MD5 (mimp-h3-1.0.tar.gz) = 5fd92232cbc7008563c7200c72a7a6e7 +SHA256 (mimp-h3-1.0.tar.gz) = c71b3e9af46bbd1ad1caf54cf02ce99e01d5e762b982c6f0ac218e684fc94757 +SIZE (mimp-h3-1.0.tar.gz) = 491972 Property changes on: head/mail/mimp/distinfo ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Index: head/mail/mimp/files/httpd.conf.mimp =================================================================== --- head/mail/mimp/files/httpd.conf.mimp (nonexistent) +++ head/mail/mimp/files/httpd.conf.mimp (revision 185692) @@ -0,0 +1,31 @@ +# This is included in Apache's httpd.conf for MIMP +# +# For security, don't serve pages from the MIMP configuration and +# library directories. +# + + order deny,allow + deny from all + + + order deny,allow + deny from all + + + order deny,allow + deny from all + + + order deny,allow + deny from all + + + order deny,allow + deny from all + + + order deny,allow + deny from all + +# End of MIMP configuration ================ + Property changes on: head/mail/mimp/files/httpd.conf.mimp ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Index: head/mail/mimp/files/patch-config-prefs.php.dist =================================================================== --- head/mail/mimp/files/patch-config-prefs.php.dist (nonexistent) +++ head/mail/mimp/files/patch-config-prefs.php.dist (revision 185692) @@ -0,0 +1,11 @@ +--- config/prefs.php.dist.orig Fri Oct 29 19:04:12 2004 ++++ config/prefs.php.dist Thu Nov 11 21:49:05 2004 +@@ -1071,7 +1071,7 @@ + // 'value' => "source_one\tsource_two" + // refer to turba/config/sources.php for possible source values + $_prefs['search_sources'] = array( +- 'value' => "", ++ 'value' => 'localsql', + 'locked' => false, + 'shared' => false, + 'type' => 'implicit'); Property changes on: head/mail/mimp/files/patch-config-prefs.php.dist ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Index: head/mail/mimp/files/patch-config-servers.php.dist =================================================================== --- head/mail/mimp/files/patch-config-servers.php.dist (nonexistent) +++ head/mail/mimp/files/patch-config-servers.php.dist (revision 185692) @@ -0,0 +1,19 @@ +--- config/servers.php.dist.orig Wed Feb 22 08:16:36 2006 ++++ config/servers.php.dist Mon Feb 5 13:14:52 2007 +@@ -159,11 +159,12 @@ + + $servers['imap'] = array( + 'name' => 'IMAP Server', +- 'server' => 'imap.example.com', +- 'protocol' => 'imap/notls', +- 'port' => 143, ++ 'server' => 'localhost', ++ 'hordeauth' => false, ++ 'protocol' => '%%PROTOCOL%%', ++ 'port' => %%IMAPPORT%%, + 'maildomain' => 'example.com', +- 'smtphost' => 'smtp.example.com', ++ 'smtphost' => 'localhost', + 'smtpport' => 25, + 'realm' => '', + 'preferred' => '', Property changes on: head/mail/mimp/files/patch-config-servers.php.dist ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Index: head/mail/mimp/files/pkg-deinstall.in =================================================================== --- head/mail/mimp/files/pkg-deinstall.in (nonexistent) +++ head/mail/mimp/files/pkg-deinstall.in (revision 185692) @@ -0,0 +1,23 @@ +#!/bin/sh +# +# $FreeBSD: +# + +if [ x$2 != xDEINSTALL ]; then + exit +fi + +if [ -z "${PACKAGE_BUILDING}" ]; then + for cf in `ls %%MIMPDIR%%/config/*php %%MIMPDIR%%/config/*txt`; do + diff -bBqw $cf $cf.dist >/dev/null 2>&1 + case $? in + 0) # original config file, delete it + rm -f $cf + ;; + 1) # config file has been updated, leave it alone + ;; + *) # not found? + ;; + esac + done +fi Property changes on: head/mail/mimp/files/pkg-deinstall.in ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Index: head/mail/mimp/files/pkg-install.in =================================================================== --- head/mail/mimp/files/pkg-install.in (nonexistent) +++ head/mail/mimp/files/pkg-install.in (revision 185692) @@ -0,0 +1,23 @@ +#!/bin/sh +# +# $FreeBSD: +# + +PATH=/usr/sbin:/usr/bin:/bin ; export PATH + +case $2 in + PRE-INSTALL) + ;; + + POST-INSTALL) + if [ -z "${PACKAGE_BUILDING}" ]; then + # Copy over sample config files unless they already exist + + for cf in `ls %%MIMPDIR%%/config/*.dist | sed -e 's/\.dist//g'`; do + if [ ! -f $cf ]; then + cp -p $cf.dist $cf + fi + done + fi + ;; +esac Property changes on: head/mail/mimp/files/pkg-install.in ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Index: head/mail/mimp/files/pkg-message.in =================================================================== --- head/mail/mimp/files/pkg-message.in (nonexistent) +++ head/mail/mimp/files/pkg-message.in (revision 185692) @@ -0,0 +1,20 @@ +************************************************************************ +MIMP has been installed in %%MIMPDIR%% with your blank +configuration files. + +Horde must be configured and the tables created; if not, see +`pkg_info -D -x horde'. + +Then, you might have to tune the configuration files located in +%%CONFDIR%%/, specially the file servers.php. + +Then, you must login to Horde as a Horde Administrator to finish the +configuration. Please read %%DOCSDIR%%/INSTALL. + +To protect your configuration files, you have to restart your webserver. + +To secure your installation, it is at least recommended that you change +the default database password used by horde and imp. +Then, you might change the 'session.save_path' setting in php.ini to a +directory only readable and writeable by your webserver. +************************************************************************ Property changes on: head/mail/mimp/files/pkg-message.in ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Index: head/mail/mimp/pkg-descr =================================================================== --- head/mail/mimp/pkg-descr (nonexistent) +++ head/mail/mimp/pkg-descr (revision 185692) @@ -0,0 +1,6 @@ +MIMP is a version of HORDE IMP suitable for mobile devices such as WAP phones or +PDAs. Basic IMP functionality is implemented including mailbox viewing and +paging, viewing messages, deleting, replying, forwarding, and composing new +messages. + +WWW: http://www.horde.org/mimp/ Property changes on: head/mail/mimp/pkg-descr ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Index: head/mail/mimp/pkg-plist =================================================================== --- head/mail/mimp/pkg-plist (nonexistent) +++ head/mail/mimp/pkg-plist (revision 185692) @@ -0,0 +1,115 @@ +%%PORTDOCS%%%%DOCSDIR%%/CHANGES +%%PORTDOCS%%%%DOCSDIR%%/CREDITS +%%PORTDOCS%%%%DOCSDIR%%/INSTALL +%%PORTDOCS%%%%DOCSDIR%%/README +%%PORTDOCS%%%%DOCSDIR%%/COPYING +%%PORTDOCS%%%%DOCSDIR%%/RELEASE_NOTES +%%MIMPDIR%%/compose.php +%%MIMPDIR%%/config/.htaccess +%%MIMPDIR%%/config/conf.xml +%%MIMPDIR%%/config/filter.txt.dist +%%MIMPDIR%%/config/header.php.dist +%%MIMPDIR%%/config/menu.php.dist +%%MIMPDIR%%/config/mime_drivers.php.dist +%%MIMPDIR%%/config/motd.php.dist +%%MIMPDIR%%/config/prefs.php.dist +%%MIMPDIR%%/config/servers.php.dist +%%MIMPDIR%%/config/trailer.txt.dist +%%MIMPDIR%%/config/conf.xml.beforeMIMP +%%MIMPDIR%%/config/servers.php.dist.beforeMIMP +%%MIMPDIR%%/folders.php +%%MIMPDIR%%/index.php +%%MIMPDIR%%/lib/Auth/mimp.php +%%MIMPDIR%%/lib/base.php +%%MIMPDIR%%/lib/Compose.php +%%MIMPDIR%%/lib/Folder.php +%%MIMPDIR%%/lib/IMAP.php +%%MIMPDIR%%/lib/IMAP/Client.php +%%MIMPDIR%%/lib/IMAP/Sort.php +%%MIMPDIR%%/lib/IMAP/Tree.php +%%MIMPDIR%%/lib/Identity/mimp.php +%%MIMPDIR%%/lib/MIME/Contents.php +%%MIMPDIR%%/lib/MIME/Headers.php +%%MIMPDIR%%/lib/MIME/Viewer/alternative.php +%%MIMPDIR%%/lib/MIME/Viewer/html.php +%%MIMPDIR%%/lib/MIME/Viewer/multipart.php +%%MIMPDIR%%/lib/MIME/Viewer/plain.php +%%MIMPDIR%%/lib/MIME/Viewer/related.php +%%MIMPDIR%%/lib/MIME/Headers.php.beforeMIMP +%%MIMPDIR%%/lib/Mailbox.php +%%MIMPDIR%%/lib/Message.php +%%MIMPDIR%%/lib/MIMP.php +%%MIMPDIR%%/lib/Session.php +%%MIMPDIR%%/lib/api.php +%%MIMPDIR%%/lib/prefs.php +%%MIMPDIR%%/lib/version.php +%%MIMPDIR%%/locale/de_DE/LC_MESSAGES/mimp.mo +%%MIMPDIR%%/locale/es_ES/LC_MESSAGES/mimp.mo +%%MIMPDIR%%/locale/fi_FI/LC_MESSAGES/mimp.mo +%%MIMPDIR%%/locale/fr_FR/LC_MESSAGES/mimp.mo +%%MIMPDIR%%/locale/hu_HU/LC_MESSAGES/mimp.mo +%%MIMPDIR%%/locale/it_IT/LC_MESSAGES/mimp.mo +%%MIMPDIR%%/locale/lt_LT/LC_MESSAGES/mimp.mo +%%MIMPDIR%%/locale/ro_RO/LC_MESSAGES/mimp.mo +%%MIMPDIR%%/login.php +%%MIMPDIR%%/mailbox.php +%%MIMPDIR%%/message.php +%%MIMPDIR%%/po/README +%%MIMPDIR%%/po/mimp.pot +%%MIMPDIR%%/po/de_DE.po +%%MIMPDIR%%/po/es_ES.po +%%MIMPDIR%%/po/fi_FI.po +%%MIMPDIR%%/po/fr_FR.po +%%MIMPDIR%%/po/hu_HU.po +%%MIMPDIR%%/po/it_IT.po +%%MIMPDIR%%/po/lt_LT.po +%%MIMPDIR%%/po/ro_RO.po +%%MIMPDIR%%/redirect.php +%%MIMPDIR%%/templates/common-header.inc +%%MIMPDIR%%/templates/compose/compose.inc +%%MIMPDIR%%/templates/compose/redirect.inc +%%MIMPDIR%%/templates/index/notconfigured.inc +%%MIMPDIR%%/templates/login/login.inc +%%MIMPDIR%%/templates/mailbox/mailbox.inc +%%MIMPDIR%%/templates/prefs/sentmailselect.inc +%%MIMPDIR%%/test.php +%%MIMPDIR%%/themes/graphics/favicon.ico +%%MIMPDIR%%/themes/graphics/mimp.png +%%MIMPDIR%%/themes/graphics/horde-power2.png +%%MIMPDIR%%/themes/graphics/horde-power2.wbmp +%%PORTDOCS%%@dirrm %%DOCSDIR%% +%%HORDE_INC%%httpd-mimp.conf +@dirrm %%MIMPDIR%%/themes/graphics +@dirrm %%MIMPDIR%%/themes +@dirrm %%MIMPDIR%%/templates/prefs +@dirrm %%MIMPDIR%%/templates/mailbox +@dirrm %%MIMPDIR%%/templates/login +@dirrm %%MIMPDIR%%/templates/index +@dirrm %%MIMPDIR%%/templates/compose +@dirrm %%MIMPDIR%%/templates +@dirrm %%MIMPDIR%%/po +@dirrm %%MIMPDIR%%/locale/ro_RO/LC_MESSAGES +@dirrm %%MIMPDIR%%/locale/ro_RO +@dirrm %%MIMPDIR%%/locale/lt_LT/LC_MESSAGES +@dirrm %%MIMPDIR%%/locale/lt_LT +@dirrm %%MIMPDIR%%/locale/it_IT/LC_MESSAGES +@dirrm %%MIMPDIR%%/locale/it_IT +@dirrm %%MIMPDIR%%/locale/hu_HU/LC_MESSAGES +@dirrm %%MIMPDIR%%/locale/hu_HU +@dirrm %%MIMPDIR%%/locale/fr_FR/LC_MESSAGES +@dirrm %%MIMPDIR%%/locale/fr_FR +@dirrm %%MIMPDIR%%/locale/fi_FI/LC_MESSAGES +@dirrm %%MIMPDIR%%/locale/fi_FI +@dirrm %%MIMPDIR%%/locale/es_ES/LC_MESSAGES +@dirrm %%MIMPDIR%%/locale/es_ES +@dirrm %%MIMPDIR%%/locale/de_DE/LC_MESSAGES +@dirrm %%MIMPDIR%%/locale/de_DE +@dirrm %%MIMPDIR%%/locale +@dirrm %%MIMPDIR%%/lib/MIME/Viewer +@dirrm %%MIMPDIR%%/lib/MIME +@dirrm %%MIMPDIR%%/lib/Identity +@dirrm %%MIMPDIR%%/lib/IMAP +@dirrm %%MIMPDIR%%/lib/Auth +@dirrm %%MIMPDIR%%/lib +@dirrmtry %%MIMPDIR%%/config +@dirrmtry %%MIMPDIR%% Property changes on: head/mail/mimp/pkg-plist ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property