Date: Mon, 19 Jul 2004 14:07:31 +0900 (JST) From: Toshiya SAITOH <toshiya@saitoh.nu> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/69265: Update Ports: mail/websieve (0.61h -> 0.63a) Message-ID: <20040719050731.1D57710D@ns.saitoh.nu> Resent-Message-ID: <200407190510.i6J5ARBj066477@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 69265 >Category: ports >Synopsis: Update Ports: mail/websieve (0.61h -> 0.63a) >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: Mon Jul 19 05:10:26 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Toshiya SAITOH<toshiya@saitoh.nu> >Release: FreeBSD 4.10-RELEASE-p2 i386 >Organization: >Environment: System: FreeBSD dmz.saitoh.nu 4.10-RELEASE-p2 FreeBSD 4.10-RELEASE-p2 #17: Sat Jul 3 00:16:17 JST 2004 toshiya@dmz.saitoh.nu:/usr/obj/usr/src/sys/AKAFUKU i386 >Description: Update Ports: mail/websive (0.61h -> 0.63a) I'd like to update mail/websieve to current. I attached shar file for current version. Thanks. >How-To-Repeat: shar file for websieve-0.63a >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: # # websieve # websieve/files # websieve/files/patch-websieve.conf # websieve/Makefile # websieve/distinfo # websieve/pkg-descr # websieve/pkg-message # websieve/pkg-plist # echo c - websieve mkdir -p websieve > /dev/null 2>&1 echo c - websieve/files mkdir -p websieve/files > /dev/null 2>&1 echo x - websieve/files/patch-websieve.conf sed 's/^X//' >websieve/files/patch-websieve.conf << 'END-of-websieve/files/patch-websieve.conf' X--- websieve.conf.orig Wed Jul 7 09:20:09 2004 X+++ websieve.conf Thu Jul 15 04:12:29 2004 X@@ -16,17 +16,17 @@ X # You can write you own functions to change passwords on a different auth X # mechanism such as on a MysSql server, Qualcomm poppassd server, etc. X X-#require "./custom.pl"; X+#require "/usr/local/etc/websieve/custom.pl"; X X #secret key - CHANGE THIS to some random data!!!! X $skey = "your secret key CEDEFEKJKIIEIOO***#KIKIDKKEUIULJLJKJ"; X #use RC4 algorithm for encryption instead of rot13 X $userc4=1; X #cyrus admin user id that is used for general mailbox administration X-$cyrusadminuid='admin'; X+$cyrusadminuid='cyrus'; X X # default imap server host name X-$imapserver='yourfqmailhost'; X+$imapserver='localhost'; X X #make sure you set this to your program virtual name and path X #$program_url = "/cgi-bin/websieve.pl" ; # URL for this program X@@ -39,7 +39,7 @@ X $unixhiersep='.'; X X #your mail domain X-$maildomain='yourdomain' ; X+$maildomain='example.com' ; X X #default FQHN of the mail server for use in vacation addresses X $mailhostappend="imap.$maildomain"; X@@ -63,9 +63,8 @@ X #$sieveport,$imapport,$maildomain, $imapserver and $usexxxSSL will be used instead. X X %server_hosts=( X-"yourmailhost"=>['Local Server','143','2000','domain.ca','imap.domain.ca'], X-"otherhost"=>['Some otherhost','993','2000','maildomain2','vacationhost2','ssl_imap'], X-"otherhostname"=>['other Imap Server','143','2000','other.domain.ca','vacationhost3'] X+"localhost"=>['Local Server','143','2000','example.com','example.com'], X+"127.0.0.1"=>['Secure Server','993','2000','example.com','example.com','ssl_imap'], X ); X X # show server selection option at login otherwise defaults to $imapserver X@@ -87,7 +86,7 @@ X $header1="Mail Account Management"; X X # This is the address that supports your mail server X-$problem_email="administrator\@$maildomain" ; X+$problem_email="postmaster\@$maildomain" ; X X # list of additional namespaces on IMAP server X @namespaces = ("public2"); X@@ -185,7 +184,7 @@ X X # Menu selections X $LOGOUTURL="<a href=$program_url?op=logout>[LOGOUT]</a>" if !$LOGOUTURL; X-$HOMEURL="<a href=/index.html>[HOME]</a>"; X+$HOMEURL="<a href=/>[HOME]</a>"; X $HELPURL="<a href=/mailhelp.html>[HELP]</a>"; X $VIEWRULESURL="<a href=$program_url?op=viewrules>[View/Edit Rules]</a>"; X $FORWARDALLURL="<a href=$program_url?op=forward>[Forward Mail]</a>"; END-of-websieve/files/patch-websieve.conf echo x - websieve/Makefile sed 's/^X//' >websieve/Makefile << 'END-of-websieve/Makefile' X# New ports collection makefile for: websieve X# Date created: 25 Apr 2003 X# Whom: Oliver Eikemeier <eikemeier@fillmore-labs.com> X# X# $FreeBSD: ports/mail/websieve/Makefile,v 1.5 2003/11/14 00:29:47 eik Exp $ X# X XPORTNAME= websieve XPORTVERSION= 0.63a XPORTREVISION?= 0 XCATEGORIES= mail XMASTER_SITES= ${MASTER_SITE_SOURCEFORGE} XMASTER_SITE_SUBDIR= ${PORTNAME} XDISTNAME= ${PORTNAME}-${PORTVERSION:S/.//} X XMAINTAINER= eik@FreeBSD.org XCOMMENT= Web based Cyrus IMAP user admin client X X.if defined(WITH_CYRUS_IMAPD_VER) X.if ${WITH_CYRUS_IMAPD_VER} == 22 XRUN_DEPENDS= ${CYRUS_IMAP_PM}:${PORTSDIR}/mail/cyrus-imapd22 X.elif ${WITH_CYRUS_IMAPD_VER} == 21 XRUN_DEPENDS= ${CYRUS_IMAP_PM}:${PORTSDIR}/mail/cyrus-imapd2 X.elif ${WITH_CYRUS_IMAPD_VER} == 20 XRUN_DEPENDS= ${CYRUS_IMAP_PM}:${PORTSDIR}/mail/cyrus-imapd X.else X.error WITH_CYRUS_IMAPD_VER must be 22, 21 or 20 X.endif X.else XRUN_DEPENDS= ${SITE_PERL}/IMAP/Admin.pm:${PORTSDIR}/mail/p5-IMAP-Admin \ X ${SITE_PERL}/IMAP/Sieve.pm:${PORTSDIR}/mail/p5-IMAP-Sieve X.endif X XWRKSRC= ${WRKDIR}/${DISTNAME} XPKGMESSAGE= ${WRKDIR}/pkg-message X XUSE_REINPLACE= yes XUSE_PERL5_RUN= yes X XNO_BUILD= yes X XCYRUS_IMAP_PM= ${SITE_PERL}/Cyrus/IMAP/Admin.pm X X.if defined(WITH_CYRUS_IMAPD_VER) XFUNCLIB_PL= funclib.cyrus X.else XFUNCLIB_PL= funclib.pl X.endif X X# We can not test .if exists(${CYRUS_IMAP_PM}) here X# because SITE_PERL is defined in <bsd.port.post.mk> X.if !defined(WITH_CYRUS_IMAPD_VER) Xpre-everything:: X @${ECHO} "If you want to use the Cyrus IMAP and Sieve perl modules" X @${ECHO} "hit Ctrl-C right now and use WITH_CYRUS_IMAPD_VER=22, 21 or 20" X @${ECHO} X @${ECHO} "The Cyrus perl modules do not support SSL, but better" X @${ECHO} "authentication mechanisms than cleartext PLAIN." X @${ECHO} X.endif X Xpost-configure: X @${REINPLACE_CMD} -e "s,require[ ]*'\./\([^']*\)',require '${PREFIX}/etc/websieve/\1'," \ X ${WRKSRC}/websieve.pl X Xdo-install: X ${MKDIR} ${PREFIX}/www/cgi-bin X @${INSTALL_SCRIPT} ${WRKSRC}/websieve.pl ${PREFIX}/www/cgi-bin X ${MKDIR} ${PREFIX}/etc/websieve X @${INSTALL_DATA} ${WRKSRC}/websieve.conf ${PREFIX}/etc/websieve/websieve.conf.sample X @${INSTALL_DATA} ${WRKSRC}/${FUNCLIB_PL} ${PREFIX}/etc/websieve/funclib.pl X @${INSTALL_DATA} ${WRKSRC}/ldapextras.pl ${PREFIX}/etc/websieve/ldapextras.pl X @${INSTALL_DATA} ${WRKSRC}/ldapextras.conf ${PREFIX}/etc/websieve/ldapextras.conf.sample X @${SED} 's,%%PREFIX%%,${PREFIX},g' ${.CURDIR}/pkg-message > ${PKGMESSAGE} X Xpost-install: X @${CAT} ${PKGMESSAGE} X X.include <bsd.port.mk> END-of-websieve/Makefile echo x - websieve/distinfo sed 's/^X//' >websieve/distinfo << 'END-of-websieve/distinfo' XMD5 (websieve-063a.tar.gz) = 1be93527d5f03baed35c8e8fb16eeb0f XSIZE (websieve-063a.tar.gz) = 101848 END-of-websieve/distinfo echo x - websieve/pkg-descr sed 's/^X//' >websieve/pkg-descr << 'END-of-websieve/pkg-descr' XA web based easy to use interface for creating Sieve scripts on an Cyrus XIMAP mail server as well as allowing users to set access controls, create Xnew mailboxes and view their mail quota. Also give administrators full Xadministrative capabilities. X XAuthor: Alain Turbide <aturbide@toshiba.ca> X X XWWW: http://sourceforge.net/projects/websieve END-of-websieve/pkg-descr echo x - websieve/pkg-message sed 's/^X//' >websieve/pkg-message << 'END-of-websieve/pkg-message' XWebsieve has been installed at <http://localhost/cgi-bin/websieve.pl> X XHowever, before you can use the program, you should copy the file X"websieve.conf.sample" in %%PREFIX%%/etc/websieve to "websieve.conf" Xedit it to suit your needs. Use "openssl rand -base64 39" to create Xa new secret key. END-of-websieve/pkg-message echo x - websieve/pkg-plist sed 's/^X//' >websieve/pkg-plist << 'END-of-websieve/pkg-plist' Xwww/cgi-bin/websieve.pl Xetc/websieve/websieve.conf.sample Xetc/websieve/funclib.pl Xetc/websieve/ldapextras.pl Xetc/websieve/ldapextras.conf.sample X@dirrm etc/websieve END-of-websieve/pkg-plist exit >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040719050731.1D57710D>