Date: Fri, 21 Jul 2006 21:53:40 -0700 (PDT) From: Nick Barkas <snb@threerings.net> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/100702: Update port: devel/otrs Message-ID: <20060722045340.D6B7A662E@smtp.earth.threerings.net> Resent-Message-ID: <200607220500.k6M50W2m021399@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 100702 >Category: ports >Synopsis: Update port: devel/otrs >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: Sat Jul 22 05:00:31 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Nick Barkas >Release: FreeBSD 6.1-RELEASE-p2 i386 >Organization: Three Rings Design >Environment: System: FreeBSD extranet.luna.threerings.net 6.1-RELEASE-p2 FreeBSD 6.1-RELEASE-p2 #0: Mon Jun 26 09:06:24 UTC 2006 root@lab1.earth.threerings.net:/usr/obj/usr/src/sys/SMP i386 >Description: devel/otrs runs a script upon installation that makes $PREFIX/otrs group writeable. This directory is the otrs user's home directory. If procmail is used for filtering incoming emails for this user into the OTRS system, it will not work when this directory is group writeable. You will see log messages such as the following in /var/log/maillog: Jul 21 15:21:18 extranet procmail[36163]: Suspicious rcfile "/usr/local/otrs/.procmailrc" The first attached patch, which should be added to devel/otrs/files/, makes the bin/SetPermissions.sh script not make this directory writeable, thus making procmail happy if you use it for mail delivery into otrs. The second patch is to devel/otrs/files/pkg-message.in. This simply changes the post install information to give the user an idea of the components of otrs that need manual configuration after the port/package has been installed. >How-To-Repeat: Attempt to use a .procmailrc file to filter mail for the otrs user. >Fix: files/patch-bin-SetPermissions.sh: --- bin/SetPermissions.sh.orig Fri Jul 21 21:03:43 2006 +++ bin/SetPermissions.sh Fri Jul 21 21:07:02 2006 @@ -55,9 +55,10 @@ echo "chown -R $WEBUSER:$OTRSGROUP $OTRSDEST" chown $WEBUSER:$OTRSGROUP $OTRSDEST chown -R $WEBUSER:$OTRSGROUP $OTRSDEST -echo "chmod -R og+rw $OTRSDEST" -chmod ug+wr $OTRSDEST +echo "chmod -R og+rw $OTRSDEST/*" chmod -R ug+wr $OTRSDEST +# procmail does not like the home directory to be group writeable +chmod g-w $OTRSDEST # set the $HOME to the OTRS user echo "chown $OTRSUSER:$OTRSGROUP $OTRSDEST" patch to files/pkg-message.in: --- files/pkg-message.in.orig Fri Jul 21 21:14:02 2006 +++ files/pkg-message.in Fri Jul 21 21:19:07 2006 @@ -5,7 +5,8 @@ Please read -http://doc.otrs.org/2.0/en/html/x357.html#webserver-configuration +http://doc.otrs.org/2.0/en/html/ -and follow instructions. +for further instructions, particularly regarding configuring your web +server, database, cron scripts, and receiving emails. ========================================================================== >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060722045340.D6B7A662E>