From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Feb 25 06:20:21 2004 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4DD5916A4D1 for ; Wed, 25 Feb 2004 06:20:21 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3C7F143D1F for ; Wed, 25 Feb 2004 06:20:21 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i1PEKLbv036282 for ; Wed, 25 Feb 2004 06:20:21 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id i1PEKLku036281; Wed, 25 Feb 2004 06:20:21 -0800 (PST) (envelope-from gnats) Resent-Date: Wed, 25 Feb 2004 06:20:21 -0800 (PST) Resent-Message-Id: <200402251420.i1PEKLku036281@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Aleksandar Pejic Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F1FF116A4CE for ; Wed, 25 Feb 2004 06:18:51 -0800 (PST) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id D556243D2D for ; Wed, 25 Feb 2004 06:18:51 -0800 (PST) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.12.10/8.12.10) with ESMTP id i1PEIo72062680 for ; Wed, 25 Feb 2004 06:18:50 -0800 (PST) (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.12.10/8.12.10/Submit) id i1PEIoKH062679; Wed, 25 Feb 2004 06:18:50 -0800 (PST) (envelope-from nobody) Message-Id: <200402251418.i1PEIoKH062679@www.freebsd.org> Date: Wed, 25 Feb 2004 06:18:50 -0800 (PST) From: Aleksandar Pejic To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Subject: ports/63349: New port: mail/openwebmail-current Open WebMail is designed to manage very large mail folder files in a memory efficient way X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Feb 2004 14:20:21 -0000 >Number: 63349 >Category: ports >Synopsis: New port: mail/openwebmail-current Open WebMail is designed to manage very large mail folder files in a memory efficient way >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Feb 25 06:20:20 PST 2004 >Closed-Date: >Last-Modified: >Originator: Aleksandar Pejic >Release: 5.2 >Organization: >Environment: >Description: Open WebMail is designed to manage very large mail folder files in a memory efficient way. >How-To-Repeat: >Fix: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # openwebmail-current # openwebmail-current/Makefile # openwebmail-current/distinfo # openwebmail-current/pkg-install # openwebmail-current/pkg-deinstall # openwebmail-current/pkg-descr # openwebmail-current/pkg-plist # openwebmail-current/README.html # echo c - openwebmail-current mkdir -p openwebmail-current > /dev/null 2>&1 echo x - openwebmail-current/Makefile sed 's/^X//' >openwebmail-current/Makefile << 'END-of-openwebmail-current/Makefile' X# New ports collection makefile for: openwebmail-current X# Date created: 25 February 2004 X# Whom: Aleksandar Pejic based on Yen-Ming Lee's openwebmail port X# X XPORTNAME= openwebmail XPORTVERSION= current XCATEGORIES= mail XMASTER_SITES= http://openwebmail.com/openwebmail/download/ \ X http://turtle.ee.ncku.edu.tw/openwebmail/download/ XEXTRACT_SUFX= .tgz X XMAINTAINER= alexa@yunord.net XCOMMENT= Open WebMail is designed to manage very large mail folder files in a memory efficient way. X XRUN_DEPENDS= ${SITE_PERL}/CGI.pm:${PORTSDIR}/www/p5-CGI.pm \ X ${SITE_PERL}/Net/SMTP.pm:${PORTSDIR}/net/p5-Net \ X ${SITE_PERL}/${PERL_ARCH}/Text/Iconv.pm:${PORTSDIR}/converters/p5-Text-Iconv \ X ${SITE_PERL}/${PERL_ARCH}/MIME/Base64.pm:${PORTSDIR}/converters/p5-MIME-Base64 X X.include X XUSE_PERL5= yes XNO_BUILD= yes XNO_WRKSUBDIR= yes XOWCGIDIR= ${PREFIX}/www/cgi-bin/openwebmail XOWDATADIR= ${PREFIX}/www/data/openwebmail XPATCH_WRKSRC= ${WRKSRC}/cgi-bin/openwebmail XPATCH_STRIP= -p1 XPLIST= ${WRKDIR}/.PLIST.${PKGNAME} X X.if !defined(WITHOUT_SPEEDYCGI) XBUILD_DEPENDS+= speedy_suid:${PORTSDIR}/www/p5-CGI-SpeedyCGI XRUN_DEPENDS+= speedy_suid:${PORTSDIR}/www/p5-CGI-SpeedyCGI XEXTRA_PATCHES= ${PATCH_WRKSRC}/uty/suidperl2speedy_suid.diff X.else X_CUSTOMIZED= yes X.endif X X.if defined(WITH_PAM) XRUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Authen/PAM.pm:${PORTSDIR}/security/p5-Authen-PAM X_CUSTOMIZED= yes X.endif X X.if defined(WITH_ZLIB) XRUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Compress/Zlib.pm:${PORTSDIR}/archivers/p5-Compress-Zlib X_CUSTOMIZED= yes X.endif X X.if defined(WITH_QUOTA) XRUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Quota.pm:${PORTSDIR}/sysutils/p5-Quota X_CUSTOMIZED= yes X.endif X X.if defined(WITH_ISPELL) XRUN_DEPENDS+= ispell:${PORTSDIR}/textproc/ispell X_CUSTOMIZED= yes X.endif X X.if defined(WITH_ANTIWORD) XRUN_DEPENDS+= antiword:${PORTSDIR}/textproc/antiword X_CUSTOMIZED= yes X.endif X X.if defined(WITH_IMAGEMAGICK) XRUN_DEPENDS+= convert:${PORTSDIR}/graphics/ImageMagick X_CUSTOMIZED= yes X.endif X Xpre-fetch: X.if ${PERL_LEVEL} > 500800 X @${ECHO} "" X @${ECHO} "WARNING:" X @${ECHO} "Please make sure that your PERL is built with -DSUIDPERL_ENABLED," X @${ECHO} "otherwise please build openwebmail with WITHOUT_SPEEDYCGI=yes" X @${ECHO} "" X.endif X X @${ECHO} "" X @${ECHO} "-----------------------------------------------------------------------" X @${ECHO} "NOTICE: openwebmail-current changes frequently, so if you get a" X @${ECHO} " checksum mismatch please use NO_CHECKSUM=yes along make" X @${ECHO} "-----------------------------------------------------------------------" X @${ECHO} "" X X.if defined(WITH_PAM) X @${ECHO} "PAM support will be added." X.endif X.if defined(WITH_ZLIB) X @${ECHO} "Zlib support will be added." X.endif X.if defined(WITH_QUOTA) X @${ECHO} "Quota support will be added." X.endif X.if defined(WITH_ISPELL) X @${ECHO} "ISpell support will be added." X.endif X.if defined(WITH_ANTIWORD) X @${ECHO} "Antiword support will be added." X.endif X.if defined(WITHOUT_SPEEDYCGI) X @${ECHO} "SpeedyCGI support will NOT be added." X.endif X.if defined(WITH_IMAGEMAGICK) X @${ECHO} "ImageMagick support will be added." X.endif X.if !defined(_CUSTOMIZED) X @${ECHO} "" X @${ECHO} "Type \"make WITH_PAM=yes\" if you want PAM support." X @${ECHO} "Type \"make WITH_ZLIB=yes\" if you want Zlib support." X @${ECHO} "Type \"make WITH_QUOTA=yes\" if you want Quota support." X @${ECHO} "Type \"make WITH_ISPELL=yes\" if you want ISpell support." X @${ECHO} "Type \"make WITH_ANTIWORD=yes\" if you want Antiword support." X @${ECHO} "Type \"make WITHOUT_SPEEDYCGI=yes\" if you DONT want SpeedyCGI support." X @${ECHO} "Type \"make WITH_IMAGEMAGICK=yes\" if you want ImageMagick support." X @${ECHO} "You can use them in combinations." X @${ECHO} "" X.endif X Xpost-patch: X @${MV} ${PATCH_WRKSRC}/etc/openwebmail.conf ${PATCH_WRKSRC}/etc/openwebmail.conf-dist X @${PERL} -pi.bak -e 's,${LOCALBASE}/www/cgi-bin/openwebmail,${OWCGIDIR},g' ${PATCH_WRKSRC}/etc/openwebmail.conf-dist X @${PERL} -pi.bak -e 's,${LOCALBASE}/www/data/openwebmail,${OWDATADIR},g' ${PATCH_WRKSRC}/etc/openwebmail.conf-dist X.if !defined(WITHOUT_SPEEDYCGI) X @${ECHO} "has_savedsuid_support no" >> ${PATCH_WRKSRC}/etc/openwebmail.conf-dist X.else X @${PERL} -pi.bak -e 's,/usr/bin/suidperl,${PERL},g' ${PATCH_WRKSRC}/openwebmail*pl X.endif X Xpre-install: X @${FIND} ${WRKSRC}/*/openwebmail \( -name "*.bak" -or -name "*.orig" \) -delete X.if !exists(${PLIST}) X @${ECHO} "@unexec if cmp -s %D/www/cgi-bin/openwebmail/etc/openwebmail.conf %D/www/cgi-bin/openwebmail/etc/openwebmail.conf-dist; then ${RM} -f %D/www/cgi-bin/openwebmail/etc/openwebmail.conf; fi" > ${PLIST} X @${FIND} ${WRKSRC}/*/openwebmail -type f -o -type l | \ X ${SED} -e 's,${WRKSRC},www,g' | ${SORT} -u >> ${PLIST} X @${ECHO} "www/cgi-bin/openwebmail/etc/dbm.conf" >> ${PLIST} X.for f in b2g g2b lunar X @${ECHO} "www/cgi-bin/openwebmail/etc/${f}.db" >> ${PLIST} X.endfor X.if defined(WITHOUT_SPEEDYCGI) X @${FIND} ${WRKSRC}/*/openwebmail -name "openwebmail*pl" | \ X ${SED} -e 's,${WRKSRC},www,g' \ X -e 's,openwebmail/openwebmail,openwebmail/.openwebmail,g' \ X >> ${PLIST} X.endif X @${FIND} ${WRKSRC}/*/openwebmail -type d | ${SORT} -ur | \ X ${SED} -e 's,${WRKSRC},@dirrm www,g' >> ${PLIST} X.endif X Xdo-install: X @${MKDIR} ${OWCGIDIR} ${OWDATADIR} X @cd ${WRKSRC}/cgi-bin/openwebmail && ${FIND} . \ X | ${CPIO} -dpum -R ${BINOWN}:mail ${OWCGIDIR} X @cd ${WRKSRC}/data/openwebmail && ${FIND} . \ X | ${CPIO} -dpum -R ${SHAREOWN}:${SHAREGRP} ${OWDATADIR} X.if !exists(${OWCGIDIR}/etc/openwebmail.conf) X @${CP} ${OWCGIDIR}/etc/openwebmail.conf-dist ${OWCGIDIR}/etc/openwebmail.conf X.endif X @${PERL} ${OWCGIDIR}/uty/dbmtest.pl | ${GREP} "^dbm" > ${OWCGIDIR}/etc/dbm.conf X.if defined(WITHOUT_SPEEDYCGI) X @${PERL} ${OWCGIDIR}/uty/wrapsuid.pl ${OWCGIDIR} X.endif X @${OWCGIDIR}/openwebmail-tool.pl --init --no X Xpost-install: X @${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL X X.include END-of-openwebmail-current/Makefile echo x - openwebmail-current/distinfo sed 's/^X//' >openwebmail-current/distinfo << 'END-of-openwebmail-current/distinfo' XMD5 (openwebmail-current.tgz) = 8f6cdf7b50d16356b784b51e974e78e7 END-of-openwebmail-current/distinfo echo x - openwebmail-current/pkg-install sed 's/^X//' >openwebmail-current/pkg-install << 'END-of-openwebmail-current/pkg-install' X#!/bin/sh Xif [ "$2" != "POST-INSTALL" ]; then X exit 0 Xfi X Xchmod 0770 ${PKG_PREFIX}/www/cgi-bin/openwebmail/etc/sessions Xchmod 0700 ${PKG_PREFIX}/www/cgi-bin/openwebmail/etc/users Xchmod 4755 ${PKG_PREFIX}/www/cgi-bin/openwebmail/openwebmail*pl END-of-openwebmail-current/pkg-install echo x - openwebmail-current/pkg-deinstall sed 's/^X//' >openwebmail-current/pkg-deinstall << 'END-of-openwebmail-current/pkg-deinstall' X#!/bin/sh Xif [ "$2" != "DEINSTALL" ]; then X exit 0 Xfi X Xrm -fr ${PKG_PREFIX}/www/cgi-bin/openwebmail/etc/sessions/* END-of-openwebmail-current/pkg-deinstall echo x - openwebmail-current/pkg-descr sed 's/^X//' >openwebmail-current/pkg-descr << 'END-of-openwebmail-current/pkg-descr' XOpen WebMail is a webmail system designed to manage very large mail folder Xfiles in a memory efficient way. It also provides a range of features to help Xusers migrate smoothly from Microsoft Outlook to Open WebMail. Open WebMail Xhas the following features: multiple languages, multiple iconsets/styles, Xstrong MIME support, virtual host/login alias, PAM support, online password Xchanging, convenient folder/message operations, draft folder, confirmed Xreading support, full content search, a spelling checker, auto reply, mail Xfiltering, POP3 support, and message count previewing. X XWWW: http://www.openwebmail.com/ END-of-openwebmail-current/pkg-descr echo x - openwebmail-current/pkg-plist sed 's/^X//' >openwebmail-current/pkg-plist << 'END-of-openwebmail-current/pkg-plist' X@comment real PLIST will be generated in pre-install phase END-of-openwebmail-current/pkg-plist echo x - openwebmail-current/README.html sed 's/^X//' >openwebmail-current/README.html << 'END-of-openwebmail-current/README.html' X X The FreeBSD Ports Collection (mail/openwebmail) X

The FreeBSD Ports Collection ("mail/openwebmail")


X X X

You are now in the directory for the port "mail/openwebmail-current" (package name "openwebmail-current"). X X

This is the one-line description for this port: X X


XOpen WebMail is designed to manage very large mail folder files in a memory efficient way. X


X X

Please read the "description file" for a Xlonger description. X X

Go to the top of the ports tree for Xa summary on how to use the ports collection. X X

X X

XThis port requires package(s) "libiconv-1.8_2 p5-CGI.pm-2.89,1 p5-File-Spec-0.82 p5-MIME-Base64-2.12 p5-Net-1.11,1 p5-Text-Iconv-1.2_1 perl-5.6.1_11" to run. X X


X Go up one level X| X Go to top of ports tree X X END-of-openwebmail-current/README.html exit >Release-Note: >Audit-Trail: >Unformatted: