ports/100702: Update port: devel/otrs

Nick Barkas snb at threerings.net
Sat Jul 22 05:00:33 UTC 2006

>Number:         100702
>Category:       ports
>Synopsis:       Update port: devel/otrs
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jul 22 05:00:31 GMT 2006
>Originator:     Nick Barkas
>Release:        FreeBSD 6.1-RELEASE-p2 i386
Three Rings Design
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 at lab1.earth.threerings.net:/usr/obj/usr/src/sys/SMP i386

	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
	Attempt to use a .procmailrc file to filter mail for the otrs user.


--- 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 "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

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
-and follow instructions.
+for further instructions, particularly regarding configuring your web 
+server, database, cron scripts, and receiving emails.

More information about the freebsd-ports-bugs mailing list