FreeBSD Bugzilla – Attachment 77178 Details for
Bug 111179
[patch] [maintainer] devel/otrs update to 2.1.6 and switch to statically assigned UID/GID
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 3.17 KB, created by
Nick Barkas
on 2007-04-03 08:50:02 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Nick Barkas
Created:
2007-04-03 08:50:02 UTC
Size:
3.17 KB
patch
obsolete
>diff -urN otrs.orig/Makefile otrs/Makefile >--- otrs.orig/Makefile Sun Feb 25 04:04:56 2007 >+++ otrs/Makefile Tue Apr 3 00:07:57 2007 >@@ -6,8 +6,7 @@ > # > > PORTNAME= otrs >-PORTVERSION= 2.1.3 >-PORTREVISION= 1 >+PORTVERSION= 2.1.6 > CATEGORIES= devel > MASTER_SITES= http://ftp.otrs.org/pub/otrs/ \ > ftp://ftp.samurai.com/pub/otrs/ \ >diff -urN otrs.orig/distinfo otrs/distinfo >--- otrs.orig/distinfo Wed Nov 22 19:26:35 2006 >+++ otrs/distinfo Tue Apr 3 00:10:06 2007 >@@ -1,3 +1,3 @@ >-MD5 (otrs-2.1.3.tar.gz) = 669b48aff1d9609520875cdc955e2101 >-SHA256 (otrs-2.1.3.tar.gz) = 296fd91f78adce211c3524c873b07bfa42b7aaef825448a2e98c7fb81bc5beda >-SIZE (otrs-2.1.3.tar.gz) = 13003457 >+MD5 (otrs-2.1.6.tar.gz) = eaa4e097c7bbcb47e834841456c2f778 >+SHA256 (otrs-2.1.6.tar.gz) = bc87c91813cf8f5b1b61abfdcde3714ed1ee2229b30a44419345b7113d06db1f >+SIZE (otrs-2.1.6.tar.gz) = 13088325 >diff -urN otrs.orig/files/patch-bin-SetPermissions.sh otrs/files/patch-bin-SetPermissions.sh >--- otrs.orig/files/patch-bin-SetPermissions.sh Thu Jul 27 11:20:46 2006 >+++ otrs/files/patch-bin-SetPermissions.sh Wed Dec 31 16:00:00 1969 >@@ -1,15 +0,0 @@ >---- 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" >diff -urN otrs.orig/files/pkg-install.in otrs/files/pkg-install.in >--- otrs.orig/files/pkg-install.in Wed Jul 5 10:15:24 2006 >+++ otrs/files/pkg-install.in Mon Apr 2 23:57:13 2007 >@@ -7,12 +7,14 @@ > WWWGRP="www" > OTRS_USER="otrs" > OTRS_GROUP="otrs" >+OTRS_UID=121 >+OTRS_GID=121 > > case $2 in > PRE-INSTALL) > > if ! pw groupshow -n ${OTRS_GROUP} >/dev/null 2>&1; then >- if pw groupadd -n ${OTRS_GROUP}; then >+ if pw groupadd -n ${OTRS_GROUP} -g ${OTRS_GID}; then > echo "Added group \"${OTRS_GROUP}\"." > else > echo "Adding group \"${OTRS_GROUP}\" failed..." >@@ -22,7 +24,7 @@ > > if ! id -u ${OTRS_USER} >/dev/null 2>&1; then > if pw useradd -n ${OTRS_USER} -g ${OTRS_GROUP} \ >- -G ${WWWGRP} -h - -s /bin/csh \ >+ -u ${OTRS_UID} -G ${WWWGRP} -h - -s /bin/csh \ > -d ${PKG_PREFIX}/otrs -c "OTRS Administrator" ; then > echo "Added user \"${OTRS_USER}\"." > else >diff -urN otrs.orig/pkg-plist otrs/pkg-plist >--- otrs.orig/pkg-plist Wed Nov 22 19:26:35 2006 >+++ otrs/pkg-plist Tue Apr 3 00:26:10 2007 >@@ -16,6 +16,7 @@ > otrs/bin/PostMasterPOP3.pl > otrs/bin/RebuildTicketIndex.pl > otrs/bin/SetPermissions.sh >+otrs/bin/StatsExportToOPM.pl > otrs/bin/UnlockTickets.pl > otrs/bin/XMLMaster.pl > otrs/bin/mkStats.pl >@@ -587,6 +588,7 @@ > otrs/Kernel/System/Ticket/Number/Random.pm > otrs/Kernel/System/Ticket/Permission/GroupCheck.pm > otrs/Kernel/System/Ticket/Permission/OwnerCheck.pm >+otrs/Kernel/System/Ticket/Permission/ResponsibleCheck.pm > otrs/Kernel/System/User/Preferences/DB.pm > otrs/Kernel/System/Web/InterfaceAgent.pm > otrs/Kernel/System/Web/InterfaceCustomer.pm
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 111179
: 77178