View | Details | Raw Unified | Return to bug 111179
Collapse All | Expand All

(-)otrs/Makefile (-2 / +1 lines)
Lines 6-13 Link Here
6
#
6
#
7
7
8
PORTNAME=	otrs
8
PORTNAME=	otrs
9
PORTVERSION=	2.1.3
9
PORTVERSION=	2.1.6
10
PORTREVISION=	1
11
CATEGORIES=	devel
10
CATEGORIES=	devel
12
MASTER_SITES=	http://ftp.otrs.org/pub/otrs/ \
11
MASTER_SITES=	http://ftp.otrs.org/pub/otrs/ \
13
		ftp://ftp.samurai.com/pub/otrs/ \
12
		ftp://ftp.samurai.com/pub/otrs/ \
(-)otrs/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
MD5 (otrs-2.1.3.tar.gz) = 669b48aff1d9609520875cdc955e2101
1
MD5 (otrs-2.1.6.tar.gz) = eaa4e097c7bbcb47e834841456c2f778
2
SHA256 (otrs-2.1.3.tar.gz) = 296fd91f78adce211c3524c873b07bfa42b7aaef825448a2e98c7fb81bc5beda
2
SHA256 (otrs-2.1.6.tar.gz) = bc87c91813cf8f5b1b61abfdcde3714ed1ee2229b30a44419345b7113d06db1f
3
SIZE (otrs-2.1.3.tar.gz) = 13003457
3
SIZE (otrs-2.1.6.tar.gz) = 13088325
(-)otrs/files/patch-bin-SetPermissions.sh (-15 lines)
Lines 1-15 Link Here
1
--- bin/SetPermissions.sh.orig	Fri Jul 21 21:03:43 2006
2
+++ bin/SetPermissions.sh	Fri Jul 21 21:07:02 2006
3
@@ -55,9 +55,10 @@
4
 echo "chown -R $WEBUSER:$OTRSGROUP $OTRSDEST"
5
 chown $WEBUSER:$OTRSGROUP $OTRSDEST
6
 chown -R $WEBUSER:$OTRSGROUP $OTRSDEST
7
-echo "chmod -R og+rw $OTRSDEST"
8
-chmod ug+wr $OTRSDEST
9
+echo "chmod -R og+rw $OTRSDEST/*"
10
 chmod -R ug+wr $OTRSDEST
11
+# procmail does not like the home directory to be group writeable
12
+chmod g-w $OTRSDEST
13
 
14
 # set the $HOME to the OTRS user
15
 echo "chown $OTRSUSER:$OTRSGROUP $OTRSDEST"
(-)otrs/files/pkg-install.in (-2 / +4 lines)
Lines 7-18 Link Here
7
WWWGRP="www"
7
WWWGRP="www"
8
OTRS_USER="otrs"
8
OTRS_USER="otrs"
9
OTRS_GROUP="otrs"
9
OTRS_GROUP="otrs"
10
OTRS_UID=121
11
OTRS_GID=121
10
12
11
case $2 in
13
case $2 in
12
PRE-INSTALL)
14
PRE-INSTALL)
13
15
14
	if ! pw groupshow -n ${OTRS_GROUP} >/dev/null 2>&1; then
16
	if ! pw groupshow -n ${OTRS_GROUP} >/dev/null 2>&1; then
15
		if pw groupadd -n ${OTRS_GROUP}; then
17
		if pw groupadd -n ${OTRS_GROUP} -g ${OTRS_GID}; then
16
			echo "Added group \"${OTRS_GROUP}\"."
18
			echo "Added group \"${OTRS_GROUP}\"."
17
		else
19
		else
18
			echo "Adding group \"${OTRS_GROUP}\" failed..."
20
			echo "Adding group \"${OTRS_GROUP}\" failed..."
Lines 22-28 Link Here
22
24
23
	if ! id -u ${OTRS_USER} >/dev/null 2>&1; then
25
	if ! id -u ${OTRS_USER} >/dev/null 2>&1; then
24
		if pw useradd -n ${OTRS_USER} -g ${OTRS_GROUP} \
26
		if pw useradd -n ${OTRS_USER} -g ${OTRS_GROUP} \
25
		-G ${WWWGRP} -h - -s /bin/csh \
27
		-u ${OTRS_UID} -G ${WWWGRP} -h - -s /bin/csh \
26
		-d ${PKG_PREFIX}/otrs -c "OTRS Administrator" ; then
28
		-d ${PKG_PREFIX}/otrs -c "OTRS Administrator" ; then
27
			echo "Added user \"${OTRS_USER}\"."
29
			echo "Added user \"${OTRS_USER}\"."
28
		else
30
		else
(-)otrs/pkg-plist (+2 lines)
Lines 16-21 Link Here
16
otrs/bin/PostMasterPOP3.pl
16
otrs/bin/PostMasterPOP3.pl
17
otrs/bin/RebuildTicketIndex.pl
17
otrs/bin/RebuildTicketIndex.pl
18
otrs/bin/SetPermissions.sh
18
otrs/bin/SetPermissions.sh
19
otrs/bin/StatsExportToOPM.pl
19
otrs/bin/UnlockTickets.pl
20
otrs/bin/UnlockTickets.pl
20
otrs/bin/XMLMaster.pl
21
otrs/bin/XMLMaster.pl
21
otrs/bin/mkStats.pl
22
otrs/bin/mkStats.pl
Lines 587-592 Link Here
587
otrs/Kernel/System/Ticket/Number/Random.pm
588
otrs/Kernel/System/Ticket/Number/Random.pm
588
otrs/Kernel/System/Ticket/Permission/GroupCheck.pm
589
otrs/Kernel/System/Ticket/Permission/GroupCheck.pm
589
otrs/Kernel/System/Ticket/Permission/OwnerCheck.pm
590
otrs/Kernel/System/Ticket/Permission/OwnerCheck.pm
591
otrs/Kernel/System/Ticket/Permission/ResponsibleCheck.pm
590
otrs/Kernel/System/User/Preferences/DB.pm
592
otrs/Kernel/System/User/Preferences/DB.pm
591
otrs/Kernel/System/Web/InterfaceAgent.pm
593
otrs/Kernel/System/Web/InterfaceAgent.pm
592
otrs/Kernel/System/Web/InterfaceCustomer.pm
594
otrs/Kernel/System/Web/InterfaceCustomer.pm

Return to bug 111179