Hello community, here is the log from the commit of package otrs.1118 for openSUSE:12.1:Update checked in at 2012-12-07 10:48:18 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:12.1:Update/otrs.1118 (Old) and /work/SRC/openSUSE:12.1:Update/.otrs.1118.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "otrs.1118", Maintainer is "" Changes: -------- New Changes file: --- /dev/null 2012-11-30 12:21:47.308011256 +0100 +++ /work/SRC/openSUSE:12.1:Update/.otrs.1118.new/otrs.changes 2012-12-07 10:48:21.000000000 +0100 @@ -0,0 +1,1519 @@ +------------------------------------------------------------------- +Fri Nov 23 10:46:58 UTC 2012 - ch...@computersalat.de + +- fix for bnc#791014 (CVE-2012-4751) +- update to 3.0.17 + ( fix for OSA-2012-03, http://otrs.org/advisory/) + * 2012-09-13 Improved HTML security filter to better find javascript + source URLs. + +------------------------------------------------------------------- +Mon Sep 10 13:57:05 UTC 2012 - ch...@computersalat.de + +- fix for bnc#778655 (CVE-2012-4600) +- update to 3.0.16 + (fix for OSA-2012-02, http://otrs.org/advisory/) + * Improved HTML security filter to detect tag nesting. + * Bug#8611 - Ticket count is wrong in QueueView. + +------------------------------------------------------------------- +Wed Aug 22 17:02:47 UTC 2012 - ch...@computersalat.de + +- fix for bnc#776966 (CVE-2012-2582) + * OSA-2012-1, http://otrs.org/advisory/ +- update to 3.0.15 +- update OTRS::ITSM to 3.0.6 +- fix License: AGPL-3.0 -> AGPL-3.0+ + +------------------------------------------------------------------- +Fri Sep 2 14:25:50 UTC 2011 - ch...@computersalat.de + +- update to 3.0.10 + o several OTRS bug fixes (http://bugs.otrs.org/) + for more info please see CHANGES file + http://otrs.org/releases/3.0.10/ +- update OTRS::ITSM to 3.0.5 + o for more info please see + http://lists.otrs.org/pipermail/itsm-announce/2011/subject.html +- rpmlint: + * incorrect-fsf-address, http://www.fsf.org/about/contact/ + +------------------------------------------------------------------- +Sat Jul 16 18:33:39 UTC 2011 - ch...@computersalat.de + +- fix fdupes + o not on Kernel dir, cause of config files + +------------------------------------------------------------------- +Sat Jul 9 17:40:18 UTC 2011 - ch...@computersalat.de + +- update to 3.0.9 + o several OTRS bug fixes (http://bugs.otrs.org/) + for more info please see CHANGES file + http://otrs.org/releases/3.0.9/ +- update OTRS::ITSM to 3.0.4 + o for more info please see + http://lists.otrs.org/pipermail/itsm-announce/2011/subject.html +- rebase httpd_conf patch +- fix rpmlint (Files listed twice) +- update description (License: AGPL) + +------------------------------------------------------------------- +Sun Jun 19 19:11:13 UTC 2011 - ch...@computersalat.de + +- update to 3.0.8 + o several OTRS bug fixes (http://bugs.otrs.org/) + for more info please see CHANGES file + http://otrs.org/releases/3.0.8/ + +------------------------------------------------------------------- +Sun May 22 16:47:15 UTC 2011 - ch...@computersalat.de + +- update to 3.0.7 + o several OTRS bug fixes (http://bugs.otrs.org/) + for more info please see CHANGES file +- update OTRS::ITSM to 3.0.3 + o for more info please see + http://lists.otrs.org/pipermail/itsm-announce/2011/subject.html +- reworked init patch + o removed 2.4.7-init + o added 3.0.7-init +- move /opt to /srv + o add 3.0.7-httpd_conf patch + o updated + - ZZZAuto.pm + - sysconfig.otrs + - itsm.README.{de,en} +- spec mods + o add macro {otrs_root} + o macro usage + o wrong-file-end-of-line-encoding + INSTALL-3.0.ITSM +- do not overwrite Kernel/Config.pm* on update +- rework dir/file permissions + o remove sbits from var/{article,log} + o add 3.0.7-perm patch (no check_permission on /bin/) + +------------------------------------------------------------------- +Sat May 7 10:28:02 UTC 2011 - ch...@computersalat.de + +- update to 2.4.10 + (fix for OSA-2011-01, http://otrs.org/advisory/OSA-2011-01-en/) + - 2011-03-23 Updated Brazilian Portugese translation, thanks to + Murilo Moreira de Oliveira! + - 2011-03-18 Added required settings for oracle databases in + apache2-httpd-new.include.conf. + - 2011-03-07 Fixed bug#6014 - Printed pdf tickets are not searchable. + - 2011-02-17 Fixed bug#6906 - Vendor URL points to Basename+URL + instead of URL. + - 2011-01-25 Event Based notification - respect "Include Attachments + to Notification". + - 2010-12-17 Fixed bug#6510 - Signature ID missing. + - 2010-12-14 Fixed bug#6532 - With multiple inline images, only + first one is preserved when replying. + - 2010-12-13 Fixed bug#6520 - backup.pl doesn't backup with strong + password. + - 2010-12-09 Fixed bug#6488 - otrs.ArticleStorageSwitch.pl creating + wrong files. + - 2010-12-09 Fixed bug#3984 - HTML Notifications - Links to + ticketsystem are not clickable. + - 2010-12-02 Fixed bug#6366 - gnupg signatures not working correct + for partly signed messages. + - 2010-11-29 Fixed bug#5981 - Warnings from TransfromDateSelection() + in AgentTicketMove. + - 2010-11-23 Fixed bug#6131 - Lack of warning for revoked and expired + PGP keys in email compose screens. + - 2010-11-04 Fixed bug#6211 - Wrong TicketFreeText-value in ticket + creation by using event notifications. + - 2010-11-02 Email.ticket: wrong signature is shown. + - 2010-10-26 Improved German translation, thanks to Stelios Gikas! + - 2010-10-13 Fixed some Perl "uninitialized value" warnings. + - 2010-10-12 Fixed bug#6087 - Search template name is broken if + & or ; is used. +- update OTRS::ITSM to 2.1.3 + - ENHANCEMENTS + * Added persian translation for Change Management, thanks to Masoud + Ramezani <masoud.ramez...@gmail.com> + - SELECTED BUG FIXES ( http://bugs.otrs.org/) + * Bug# 6908 - Uninstalling the Change Management module and + installing it again does not delete the cache. + * Bug# 6918 - Search for changes between 12.2. and 13.2. does not + find changes terminated for the 12.2. at 00:00. + * Bug# 6989 - Missing condition check while Workorder deletion if + condition is not valid. + * Bug# 7067 - Condition Edit screen does not store the number zero + 0 for value fields. + * Bug# 7069 - Condition Operator "Less Than" recognizes equal + values as less than. + * Bug# 7068 - Can not use number zero 0 or numbers with a decimal + point in condition expressions with compare operator "less than" + or "greater than". + * Bug# 7070 - Can not use negative numbers in condition expressions + with compare operator "less than" or "greater than". + * Bug# 7131 - Limiting CI classes is not fully respected when + linking CIs. + * Bug# 7065 - !ConfigItemDelete function doesn't delete link + relations before deleting CIs. + * Bug# 7196 - Not possible to set the workorder agent to "empty" + in an action. + +------------------------------------------------------------------- +Thu Mar 3 14:37:02 UTC 2011 - ch...@computersalat.de + +- update OTRS::ITSM to Version 2.1.2 + - ENHANCEMENTS + * Added persian translation for Change Management, thanks to + Masoud Ramezani <masoud.ramezani at gmail.com> + - BUG FIXES + * Bug# 6164 - Change and Workorder actual start time is not reset + when a template has been used. + * Bug# 6148 - Link of FreeText fields in Change Management not working. + * Bug# 6074 - Change print does not translate states in HTML output. + * Bug# 6534 - Calculated current incident state of a service is + not reset if a link to a CI is removed. + * Bug# 6571 - Conditions are executed before history entry is written. + * Bug# 6632 - Unittest shows error log message: Argument + "\x{35}\x{2c}..." isn't numeric in numeric eq (==). + * Bug# 6161 - Can't locate object method "EventHandlerInit" issues + on mod_perl environments. +- cleanup spec + o removed (obsolete) version from header + o updated (c) 2011 + o removed norootforbuild + +------------------------------------------------------------------- +Tue Dec 14 07:33:46 UTC 2010 - ch...@computersalat.de + +- update to 2.4.9 + - 2010-09-30 Fixed bug#6016 - AgentTicketZoom is vunerable to XSS + attacks from HTML e-mails. (OSA-2010-03) + - 2010-09-22 Fixed bug#5903 - E-mail notification links don't + contain <a href... tags. + - 2010-09-29 Fixed bug#6030 - Event notifications get's fired + several times on event "TicketFreeTextUpdate". + - 2010-09-22 Fixed bug#5941 - Error in Apache log when no tickets + and/or customers in dashboard. + - 2010-09-14 Fixed bug#5541 - Dashboard Chart generates error in + webserver log. ++++ 1322 more lines (skipped) ++++ between /dev/null ++++ and /work/SRC/openSUSE:12.1:Update/.otrs.1118.new/otrs.changes New: ---- ZZZAuto.pm itsm-3.0.6.tar.bz2 itsm.README.de itsm.README.en otrs-3.0.11-init.patch otrs-3.0.17.tar.bz2 otrs-3.0.7-perm.patch otrs-3.0.9-httpd_conf.patch otrs.README.de otrs.README.en otrs.changes otrs.rpmlintrc otrs.spec sysconfig.otrs ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ otrs.spec ++++++ # # spec file for package otrs # # Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # %define otrs_ver 3.0.17 %define itsm_ver 3.0.6 %define itsm_min 3.0 %define otrs_root /srv %define otrsdoc_dir_files CHANGES COPYING* CREDITS INSTALL README* TODO UPGRADING doc %define otrsdocs CHANGES CREDITS doc Name: otrs Summary: The Open Ticket Request System License: AGPL-3.0+ Group: Productivity/Networking/Email/Utilities Version: %{otrs_ver} Release: 0 Url: http://otrs.org/ AutoReqProv: off Source: ftp://ftp.otrs.org/pub/otrs/%{name}-%{otrs_ver}.tar.bz2 Source1: itsm-%{itsm_ver}.tar.bz2 Source2: %{name}.rpmlintrc Source11: sysconfig.%{name} Source12: %{name}.README.en Source13: %{name}.README.de Source14: itsm.README.en Source15: itsm.README.de Source16: ZZZAuto.pm Patch0: %{name}-3.0.11-init.patch Patch1: %{name}-3.0.9-httpd_conf.patch Patch2: %{name}-3.0.7-perm.patch BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build PreReq: %insserv_prereq %fillup_prereq PreReq: coreutils mktemp net-tools pwdutils # /usr/bin/getent PreReq: grep sed PreReq: apache2 #PreReq: permissions BuildRequires: pwdutils %if 0%{?suse_version} > 1020 BuildRequires: fdupes %endif Requires: apache2-mod_perl Requires: fetchmail Requires: mysql Requires: mysql-client Requires: perl Requires: procmail Requires: perl(DBD::mysql) Requires: perl(DBI) Requires: perl(Digest::MD5) Requires: perl(GD) Requires: perl(GD::Graph) Requires: perl(GD::Text) Requires: perl(Net::DNS) Requires: perl(PDF::API2) # Recommends: perl(Encode::HanExtra) Recommends: perl(IO::Socket::SSL) Recommends: perl(SOAP::Lite) %if "%_vendor" == "suse" %define VENDOR SUSE %else %define VENDOR %_vendor %endif %description OTRS is an Open source Ticket Request System with many features to manage customer telephone calls and e-mails. It is distributed under the GNU AFFERO General Public License (AGPL) and tested on Linux, Solaris, AIX, Windows, FreeBSD, OpenBSD and Mac OS 10.x. Do you receive many e-mails and want to answer them with a team of agents? You're going to love OTRS! Feature list: see README Authors list: see CREDITS %package doc Summary: OTRS Documentation Group: Documentation/Other %description doc This package contains the README, Changes and docs for OTRS Authors list: see CREDITS %package -n otrs-itsm Summary: ITIL (R) focused IT service management Group: Productivity/Networking/Email/Utilities Version: %{itsm_ver} Release: 0 Requires: %{name} >= 3.0.10 Provides: OTRS::ITSM Provides: itsm %description itsm OTRS::ITSM implements ITIL (R) focused IT service management. You need a OTRS %{otrs_ver} (http://otrs.org/) installation. Make sure your database accepts packages over 5 MB in size. A MySQL database for example accepts packages up to 1 MB by default. In this case, the value for max_allowed_packet must be increased. The recommended maximum size accepted is 20 MB. for INSTALL see INSTALL-%{itsm_min}.ITSM please see README.itsm for further details, which comes with otrs package Required OTRS::ITSM modules can be found under %{otrs_root}/%{name}/itsm Authors list: see CREDITS %prep %setup -q -n %{name}-%{otrs_ver} -a 1 %patch0 %patch1 %patch2 ##### rpmlint #### incorrect-fsf-address ### http://www.fsf.org/about/contact/ for sdir in bin scripts; do find ./${sdir} -type f -exec perl -p -i -e 's|^# Foundation.*|# Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110-1335, USA|' {} \; done find -name ".cvsignore" -type f | xargs rm -fv find -name ".htaccess" -type f | xargs rm -fv pushd Kernel/Config/Files %__cp %{S:16} . %__sed -i -e "s,@OTRS_ROOT@,%{otrs_root},g"\ ZZZAuto.pm ../../../scripts/apache2-httpd.include.conf popd # fix old otrs_root (/opt) %__sed -i -e "s,/opt/%{name},%{otrs_root}/%{name},g" \ bin/otrs.SetPermissions.pl \ Kernel/Config/Files/Framework.xml \ Kernel/Config/Defaults.pm \ Kernel/Config.pm.dist \ README \ scripts/apache2-perl-startup.pl \ scripts/restore.pl ## rpmlint: # wrong-file-end-of-line-encoding %{__perl} -p -i -e "s|\r\n|\n|" itsm-%{itsm_ver}/INSTALL-%{itsm_min}.ITSM %build %{_sbindir}/groupadd -g 88 -r %{name} 2>/dev/null || : %{_sbindir}/useradd -c "OTRS User" -d %{otrs_root}/%{name} -G %{name},www -g %{name} \ -u 88 -r -s /bin/false %{name} 2>/dev/null || : # copy config file %__cp -a Kernel/Config.pm.dist Kernel/Config.pm cd Kernel/Config/ for file in *.dist do %__cp -a $file `basename $file .dist` done cd ../../ # copy all crontab dist files for file in var/cron/*.dist do %__mv $file var/cron/`basename $file .dist` done %__rm INSTALL{,.RedHat,.SuSE} #%__mv INSTALL.SuSE INSTALL %install export DESTROOT="%{otrs_root}/%{name}/" %__install -d ${RPM_BUILD_ROOT}${DESTROOT} %__install -d ${RPM_BUILD_ROOT}%{_sbindir} %__cp -a . ${RPM_BUILD_ROOT}/${DESTROOT} for configFile in .fetchmailrc .mailfilter .procmailrc; do touch ${RPM_BUILD_ROOT}/${DESTROOT}/${configFile} done touch $RPM_BUILD_ROOT${DESTROOT}var/log/TicketCounter.log # add ghost file 'otrs.NagiosCheck.pl' # otherwise module 'SystemMonitoring' won't install touch ${RPM_BUILD_ROOT}${DESTROOT}/bin/%{name}.NagiosCheck.pl # otherwise module 'Survey' won't install touch ${RPM_BUILD_ROOT}${DESTROOT}/bin/%{name}.SurveyTriggerSendRequests.pl # install README for lang in en de; do %__cp -p "${RPM_SOURCE_DIR}/%{name}.README.${lang}" "README.%{VENDOR}.${lang}" %__cp -p "${RPM_SOURCE_DIR}/itsm.README.${lang}" "README.itsm.%{VENDOR}.${lang}" done # fix @OTRS_ROOT@ in itsm.README.* for r in $(ls -1 README.itsm.*); do %__sed -i -e "s,@OTRS_ROOT@,%{otrs_root},g" $r done # remove files that are part of the docdir pushd ${RPM_BUILD_ROOT}/${DESTROOT} %__rm -rf %{otrsdoc_dir_files} %__install -d doc popd # remove unneeded files from scripts pushd ${RPM_BUILD_ROOT}/${DESTROOT}/scripts %__rm -rf apache{,2}*.conf auto_build* auto_docbuild.sh redhat-* suse-* *.spec test/* tool popd # install sysconfig file and init script %__install -D -m0644 ${RPM_SOURCE_DIR}/sysconfig.%{name} $RPM_BUILD_ROOT/%{_var}/adm/fillup-templates/sysconfig.%{name} %__install -D -m0755 scripts/suse-rc%{name} ${RPM_BUILD_ROOT}/etc/init.d/%{name} %__ln_s -f ../../etc/init.d/%{name} ${RPM_BUILD_ROOT}/%{_sbindir}/rc%{name} ## FIXME - nochown patch obsolete, cause script complete changed #${RPM_BUILD_ROOT}%{otrs_root}/%{name}/bin/SetPermissions.sh ${RPM_BUILD_ROOT}%{otrs_root}/%{name} %{name} wwwrun %{name} www echo otrs_apache_conf="scripts/apache2-httpd.include.conf" %__install -D -m0644 ${otrs_apache_conf} ${RPM_BUILD_ROOT}/etc/apache2/conf.d/%{name}.conf # OTRS::ITSM # rename itsm-%{itsm_ver} to itsm pushd ${RPM_BUILD_ROOT}/${DESTROOT} %__mv itsm-%{itsm_ver} itsm popd %if 0%{?suse_version} > 1020 %fdupes ${RPM_BUILD_ROOT}/%{otrs_root}/%{name}/var %fdupes ${RPM_BUILD_ROOT}/%{otrs_root}/%{name}/Kernel/cpan-lib %endif %preun %stop_on_removal otrs : %pre # on `rpm -ivh` PARAM is 1 # on `rpm -Uvh` PARAM is 2 if [ -z "`%{_bindir}/getent group %{name} 2>/dev/null`" ]; then %{_sbindir}/groupadd -g 88 -r %{name} 2>/dev/null else if [ `%{_bindir}/id -g %{name}` != 88 ]; then %{_sbindir}/groupmod -g 88 %{name} 2>/dev/null fi fi if [ -z "`%{_bindir}/getent passwd %{name} 2>/dev/null`" ]; then %{_sbindir}/useradd -c "OTRS User" -d %{otrs_root}/%{name} -G %{name},www -g %{name} -u 88 -r -s /bin/false %{name} 2>/dev/null else if [ `%{_bindir}/id -u %{name}` != 88 ]; then %{_sbindir}/usermod -G %{name},www -g %{name} -u 88 %{name} 2>/dev/null fi fi %post # fill otrs sysconfig file %{fillup_and_insserv otrs} /usr/sbin/a2enmod perl >/dev/null # if rpm is not in update mode # Update ? if [ ${1:-0} -gt 1 ]; then # OTRS_ROOT changed from /opt to /srv if [ -f /opt/%{name}/Kernel/Config.pm.rpmsave ]; then %__mv /opt/%{name}/Kernel/Config.pm.rpmsave %{otrs_root}/%{name}/Kernel/ fi %{_sbindir}/usermod -d %{otrs_root}/%{name} %{name} #update sysconfig %__sed -i -e "s,/opt/%{name},%{otrs_root}/%{name},g" /etc/sysconfig/%{name} fi if ! [ ${FIRST_ARG:-0} -gt 1 ]; then if [ -z "${YAST_IS_RUNNING}" ]; then for lang in LC_ALL LC_MESSAGE LANG; do test "${!lang}" && break done echo case "${!lang}" in de_*) echo "Hinweise zur Erstkonfiguration von OTRS finden Sie in" echo "/usr/share/doc/packages/otrs/README.%{VENDOR}.de" ;; *) echo "About the initial setup of OTRS, please read" echo "/usr/share/doc/packages/otrs/README.%{VENDOR}.en" ;; esac echo fi fi exit 0 %postun %restart_on_update otrs %restart_on_update apache2 %insserv_cleanup %clean %{__rm} -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc COPYING* README{,.database,.webserver} README.SUSE.* UPGRADING %dir /etc/apache2 %dir /etc/apache2/conf.d %config(noreplace) /etc/apache2/conf.d/%{name}.conf /etc/init.d/%{name} /usr/sbin/rc%{name} %{_var}/adm/fillup-templates/sysconfig.%{name} ############### ## {root,www} ############### %defattr(0750,root,www,0755) # bin %{otrs_root}/%{name}/bin #exclude %{otrs_root}/%{name}/bin/%{name}.DeleteSessionIDs.pl #exclude %{otrs_root}/%{name}/bin/%{name}.UnlockTickets.pl %exclude %{otrs_root}/%{name}/bin/%{name}.GetConfig.pl %exclude %{otrs_root}/%{name}/bin/%{name}.SetPermissions.pl #%attr(0700,%{name},%{name}) %{otrs_root}/%{name}/bin/%{name}.DeleteSessionIDs.pl #%attr(0700,%{name},%{name}) %{otrs_root}/%{name}/bin/%{name}.UnlockTickets.pl #%attr(0700,%{name},%{name}) %{otrs_root}/%{name}/bin/%{name}.GetConfig.pl # add ghost file 'otrs.NagiosCheck.pl' # otherwise module 'SystemMonitoring' won't install %attr(0750,wwwrun,www) %{otrs_root}/%{name}/bin/%{name}.NagiosCheck.pl # otherwise module 'Survey' won't install %attr(0750,wwwrun,www) %{otrs_root}/%{name}/bin/%{name}.SurveyTriggerSendRequests.pl ############### ## {otrs,otrs} ############### # otrs HOME %defattr(-,%{name},%{name}) %dir %{otrs_root}/%{name} %ghost %config(noreplace) %{otrs_root}/%{name}/.fetchmailrc %ghost %config(noreplace) %{otrs_root}/%{name}/.mailfilter %ghost %config(noreplace) %{otrs_root}/%{name}/.procmailrc %{otrs_root}/%{name}/.fetchmailrc.dist %{otrs_root}/%{name}/.mailfilter.dist %{otrs_root}/%{name}/.procmailrc.dist %{otrs_root}/%{name}/ARCHIVE %{otrs_root}/%{name}/RELEASE # scripts %{otrs_root}/%{name}/scripts/*.php %{otrs_root}/%{name}/scripts/*.pl %{otrs_root}/%{name}/scripts/*.pm %{otrs_root}/%{name}/scripts/*.sql %{otrs_root}/%{name}/scripts/database %{otrs_root}/%{name}/scripts/tools #%defattr(0755,wwwrun,%{name},0755) # var/httpd %dir %{otrs_root}/%{name}/var/httpd ############### ## {otrs,www} ############### %defattr(0744,%{name},www,0775) # doc and scripts %dir %{otrs_root}/%{name}/doc %dir %{otrs_root}/%{name}/scripts %dir %{otrs_root}/%{name}/scripts/test # var %dir %{otrs_root}/%{name}/var %{otrs_root}/%{name}/var/logo-%{name}.png # var/cron %dir %{otrs_root}/%{name}/var/cron %config(noreplace) %{otrs_root}/%{name}/var/cron/* # var/{packages,spool} %{otrs_root}/%{name}/var/packages %dir %{otrs_root}/%{name}/var/spool # var/{article,log,tmp} #defattr(0644,%{name},www,2775) %dir %{otrs_root}/%{name}/var/article %ghost %config(noreplace) %attr(660,%{name},www) %{otrs_root}/%{name}/var/log/TicketCounter.log %defattr(0644,%{name},www,2775) %dir %{otrs_root}/%{name}/var/tmp %defattr(0660,%{name},www,2775) %dir %{otrs_root}/%{name}/var/log #%dir %{otrs_root}/%{name}/var/httpd/htdocs/js #%dir %{otrs_root}/%{name}/var/httpd/htdocs/js/js-cache #%{otrs_root}/%{name}/var/httpd/htdocs/skins/Agent/default #%{otrs_root}/%{name}/var/httpd/htdocs/skins/Customer/default ############### ## {wwwrun,www} ############### # var/tmp/Cache %defattr(0644,wwwrun,www,0755) %dir %{otrs_root}/%{name}/var/tmp/Cache # var/fonts %{otrs_root}/%{name}/var/fonts # var/httpd/htdocs %{otrs_root}/%{name}/var/httpd/htdocs # var/{session,stats} %dir %{otrs_root}/%{name}/var/sessions %dir %{otrs_root}/%{name}/var/stats %{otrs_root}/%{name}/var/stats/* # Custom DIR #defattr(0644,wwwrun,www,0755) %dir %{otrs_root}/%{name}/Custom %{otrs_root}/%{name}/Custom/README # Kernel DIR #defattr(0644,wwwrun,www,0755) %dir %{otrs_root}/%{name}/Kernel %config(noreplace) %attr(0640,wwwrun,www) %{otrs_root}/%{name}/Kernel/Config.pm %{otrs_root}/%{name}/Kernel/Config.pm.dist %dir %{otrs_root}/%{name}/Kernel/Config %{otrs_root}/%{name}/Kernel/Config/Defaults.pm %config(noreplace) %{otrs_root}/%{name}/Kernel/Config/GenericAgent.pm %{otrs_root}/%{name}/Kernel/Config/GenericAgent.pm.* %dir %{otrs_root}/%{name}/Kernel/Config/Files %{otrs_root}/%{name}/Kernel/Config/Files/Framework.xml %{otrs_root}/%{name}/Kernel/Config/Files/Ticket.xml %{otrs_root}/%{name}/Kernel/cpan-lib %{otrs_root}/%{name}/Kernel/Language.pm %dir %{otrs_root}/%{name}/Kernel/Language %config(noreplace) %{otrs_root}/%{name}/Kernel/Language/*.pm %{otrs_root}/%{name}/Kernel/Modules/ %config(noreplace) %{otrs_root}/%{name}/Kernel/Output/HTML/Standard/*.dtl #config(noreplace) %{otrs_root}/%{name}/Kernel/Output/HTML/Lite/*.dtl %dir %{otrs_root}/%{name}/Kernel/Output %dir %{otrs_root}/%{name}/Kernel/Output/HTML #dir %{otrs_root}/%{name}/Kernel/Output/HTML/Lite %dir %{otrs_root}/%{name}/Kernel/Output/HTML/Standard %{otrs_root}/%{name}/Kernel/Output/HTML/*.pm %{otrs_root}/%{name}/Kernel/System/ %files doc %defattr(-,root,root) %doc %{otrsdocs} %files itsm %defattr(-,root,root) %doc COPYING* %doc README.itsm* %doc itsm-%{itsm_ver}/INSTALL-%{itsm_min}.ITSM #%{otrs_root}/%{name}/itsm-%{itsm_ver} %{otrs_root}/%{name}/itsm %config %attr(0644,wwwrun,www) %{otrs_root}/%{name}/Kernel/Config/Files/ZZZAuto.pm %changelog ++++++ ZZZAuto.pm ++++++ # OTRS config file (automaticaly generated!) # VERSION:1.1 package Kernel::Config::Files::ZZZAuto; use utf8; sub Load { my ($File, $Self) = @_; $Self->{'SecureMode'} = 1; $Self->{'DefaultCharset'} = 'utf-8'; $Self->{'DefaultLanguage'} = 'de'; $Self->{'LogModule'} = 'Kernel::System::Log::File'; $Self->{'Package::RepositoryList'} = { 'file://@OTRS_ROOT@/otrs/itsm/packages30/' => '[--OTRS::ITSM local repo]', 'http://ftp.otrs.org/pub/otrs/itsm/packages21/' => '[--OTRS::ITSM 2.1 Master--] http://ftp.otrs.org/', 'http://ftp.otrs.org/pub/otrs/itsm/packages30/' => '[--OTRS::ITSM 3.0 Master--] http://ftp.otrs.org/' }; $Self->{'Package::RepositoryAccessRegExp'} = '127\\.0\\.0\\.1'; } 1; ++++++ itsm.README.de ++++++ README Datei für OTRS::ITSM Das Paket otrs-itsm enhält alle notwendigen Module, um Ihre OTRS Installation mit ITSM zu erweitern. Hierbei sollten sie folgendes beachten: - mit der Installation dieses Pakets wird die Datei @OTRS_ROOT@/otrs/Kernel/Config/Files/ZZZAuto.pm hinzugefügt, welches ein lokales Repository zur Installation von OTRS::ITSM Modulen zur Verfügung stellt. Somit muß das OTRS System nicht zwingend eine Verbindung zum Internet haben. - Falls sie OTRS bereits schon länger in Verwendung haben und auch Anpassungen vorgenommen haben,dann sollten Sie das lokale Repository via SysConfig hinzufügen. -> gehen SIe in den Admin Bereich: -> wählen Sie SysConfig -> wählen Sie bei der Gruppenauswahl "Framework (324)" -> im erscheinenden Ergebnis wählen Sie "Core::Package" -> Config Einstellungen: Framework -> Core::Package o aktivieren Sie "Package::RepositoryAccessRegExp:" und belassen Sie den (Default: 127\.0\.0\.1) Wert o fügen Sie bei "Package::RepositoryList:" ein neues Repository hinzu Schlüssel: file://@OTRS_ROOT@/otrs/itsm/packages21/ Inhalt: [--OTRS::ITSM local repo] -> klicken Sie auf Aktualisieren Sie können nun in der "Paket Verwaltung" als Quelle "[--OTRS::ITSM local repo]" auswählen, um OTRS::ITSM zu installieren. Viel Spaß mit OTRS::ITSM ++++++ itsm.README.en ++++++ README File for OTRS::ITSM This package holds all needed modules to extend your OTRS with ITSM You should take care of the following info - with installing this package, there will be @OTRS_ROOT/otrs/Kernel/Config/Files/ZZZAuto.pm added, which provides a local repo for installing all needed ITSM modules. So your OTRS System does not need to have internet access. - If you were using your OTRS and you already have done many mods, then you should add the local repo by hand. -> go to Admin section -> choose SysConfig -> on groups select "Framework (324)" -> on the results choose "Core::Package" -> Config settings: Framework -> Core::Package o activate "Package::RepositoryAccessRegExp:" and leave (Default: 127\.0\.0\.1) value as is. o on "Package::RepositoryList:" add a new repo Key: file://@OTRS_ROOT/otrs/itsm/packages21/ Value: [--OTRS::ITSM local repo] -> click refresh Now you are able to select Source "[--OTRS::ITSM local repo]" in package management and can install OTRS::ITSM modules. Have fun with OTRS::ITSM ++++++ otrs-3.0.11-init.patch ++++++ Index: scripts/suse-rcotrs =================================================================== --- scripts/suse-rcotrs.orig +++ scripts/suse-rcotrs @@ -12,25 +12,57 @@ ### BEGIN INIT INFO # Provides: otrs -# Required-Start: mysql apache -# Required-Stop: +# Required-Start: apache2 +# Should-Start: mysql +# Required-Stop: apache2 +# Should-Stop: mysql # Default-Start: 3 5 # Default-Stop: 0 1 2 6 -# Description: Open Ticket Request System +# Short-Description: start OTRS +# Description: start OTRS (Open Ticket Request System) ### END INIT INFO export LANG=POSIX PATH="/bin:/usr/bin:/sbin:/usr/sbin" -# -# load the configuration -# -CONFIGFILE="rcconfig file not found!" -test -r /etc/rc.config && . /etc/rc.config +# Check for existence of needed config file and read it +OTRS_SYSCONFIG=/etc/sysconfig/otrs +test -r $OTRS_SYSCONFIG || { echo "$OTRS_SYSCONFIG not existing"; + if [ "$1" = "stop" ]; then exit 0; + else exit 6; fi; } + +# Read config +. $OTRS_SYSCONFIG + +if [ -z $OTRS_ROOT ]; then + echo "OTRS_ROOT not set"; + echo "check config: $OTRS_SYSCONFIG"; + exit 6; +fi + +if [ -z $OTRS_POSTMASTER ]; then + echo "OTRS_POSTMASTER not set"; + echo "check config: $OTRS_SYSCONFIG"; + exit 6; +fi -test -r /etc/rc.config.d/otrs && . /etc/rc.config.d/otrs && CONFIGFILE=/etc/rc.config.d/otrs +if [ -z $OTRS_CHECKDB ]; then + echo "OTRS_CHECKDB not set"; + echo "check config: $OTRS_SYSCONFIG"; + exit 6; +fi -test -r /etc/sysconfig/otrs && . /etc/sysconfig/otrs && CONFIGFILE=/etc/sysconfig/otrs +if [ -z $OTRS_CLEANUP ]; then + echo "OTRS_CLEANUP not set"; + echo "check config: $OTRS_SYSCONFIG"; + exit 6; +fi + +if [ -z $OTRS_SPOOLDIR ]; then + echo "OTRS_SPOOLDIR not set"; + echo "check config: $OTRS_SYSCONFIG"; + exit 6; +fi # Shell functions sourced from /etc/rc.status: # rc_check check and set local and overall rc status @@ -41,64 +73,22 @@ test -r /etc/sysconfig/otrs && . /etc/sy # rc_failed <num> set local and overall rc status to <num> # rc_reset clear local rc status (overall remains) # rc_exit exit appropriate to overall rc status -test -s /etc/rc.status && . /etc/rc.status - -# -# check needed variable -# -if ! test $OTRS_ROOT; then - echo "Error: Corrupt config file ($CONFIGFILE)! OTRS_ROOT not found! Please check your /etc/sysconfig/otrs - maybe it wasn't changed by rpm!" - exit 5 -fi -if ! test $OTRS_POSTMASTER; then - echo "Error: Corrupt config file ($CONFIGFILE)! OTRS_POSTMASTER not found! Please check your /etc/sysconfig/otrs - maybe it wasn't changed by rpm!" - exit 5 -fi -if ! test $OTRS_SPOOLDIR; then - echo "Error: Corrupt config file ($CONFIGFILE)! OTRS_SPOOLDIR not found! Please check your /etc/sysconfig/otrs - maybe it wasn't changed by rpm!" - exit 5 -fi -# -# check needed files -# -if ! test -r $OTRS_ROOT; then - echo "Error: $OTRS_ROOT not found!" - exit 5 -fi - -if ! test -r $OTRS_POSTMASTER; then - echo "Error: $OTRS_POSTMASTER not found!" - exit 5 -fi - -if ! test -d $OTRS_SPOOLDIR; then - echo "Error: $OTRS_SPOOLDIR not found!" - exit 5 -fi - -if ! test -r $OTRS_CHECKDB; then - echo "Error: $OTRS_CHECKDB not found!" - exit 5 -fi - -if test $OTRS_CLEANUP; then - if ! test -r $OTRS_CLEANUP; then - echo "Error: $OTRS_CLEANUP not found!" - exit 5 - fi -fi +. /etc/rc.status -# reset status of this service +# Reset status of this service rc_reset -# -# The echo return value for success (defined in /etc/rc.config). -# -return=$rc_done - -# -# main part -# +# Return values acc. to LSB for all commands but status: +# 0 - success +# 1 - generic or unspecified error +# 2 - invalid or excess argument(s) +# 3 - unimplemented feature (e.g. "reload") +# 4 - user had insufficient privileges +# 5 - program is not installed +# 6 - program is not configured +# 7 - program is not running +# 8--199 - reserved (8--99 LSB, 100--149 distrib, 150--199 appl) + case "$1" in # ------------------------------------------------------ # start @@ -394,6 +384,16 @@ case "$1" in rc_status ;; # ------------------------------------------------------ + # reload + # ------------------------------------------------------ + reload) + ## OTRS does not support reload: + rc_failed 3 + + # Remember status and be verbose + rc_status -v + ;; + # ------------------------------------------------------ # cleanup # ------------------------------------------------------ cleanup) ++++++ otrs-3.0.7-perm.patch ++++++ Index: Kernel/System/Package.pm =================================================================== --- Kernel/System/Package.pm.orig +++ Kernel/System/Package.pm @@ -2497,7 +2497,7 @@ sub _FileSystemCheck { } # create test files in following directories - for (qw(/bin/ /Kernel/ /Kernel/System/ /Kernel/Output/ /Kernel/Output/HTML/ /Kernel/Modules/)) { + for (qw(/Kernel/ /Kernel/System/ /Kernel/Output/ /Kernel/Output/HTML/ /Kernel/Modules/)) { my $Location = "$Home/$_/check_permissons.$$"; my $Content = 'test'; ++++++ otrs-3.0.9-httpd_conf.patch ++++++ Index: scripts/apache2-httpd.include.conf =================================================================== --- scripts/apache2-httpd.include.conf.orig +++ scripts/apache2-httpd.include.conf @@ -4,8 +4,8 @@ # -- # agent, admin and customer frontend -ScriptAlias /otrs/ "/opt/otrs/bin/cgi-bin/" -Alias /otrs-web/ "/opt/otrs/var/httpd/htdocs/" +ScriptAlias /otrs/ "@OTRS_ROOT@/otrs/bin/cgi-bin/" +Alias /otrs-web/ "@OTRS_ROOT@/otrs/var/httpd/htdocs/" # activate this if you are using an Oracle database #SetEnv ORACLE_HOME /path/to/your/oracle/ @@ -17,7 +17,7 @@ Alias /otrs-web/ "/opt/otrs/var/httpd/ht <IfModule mod_perl.c> # load all otrs modules - Perlrequire /opt/otrs/scripts/apache2-perl-startup.pl + Perlrequire @OTRS_ROOT@/otrs/scripts/apache2-perl-startup.pl # Apache::Reload - Reload Perl Modules when Changed on Disk PerlModule Apache2::Reload @@ -40,26 +40,53 @@ Alias /otrs-web/ "/opt/otrs/var/httpd/ht </IfModule> # directory settings -<Directory "/opt/otrs/bin/cgi-bin/"> +<Directory "@OTRS_ROOT@/otrs/bin/cgi-bin/"> AllowOverride None Options +ExecCGI -Includes Order allow,deny Allow from all </Directory> -<Directory "/opt/otrs/var/httpd/htdocs/"> +<Directory "@OTRS_ROOT@/otrs/var/httpd/htdocs/"> + Options +FollowSymlinks AllowOverride None Order allow,deny Allow from all </Directory> +<Directory "@OTRS_ROOT@/otrs/var/httpd/htdocs/js/thirdparty/ckeditor-3.4.2/"> + # + # Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved. + # For licensing, see LICENSE.html or http://ckeditor.com/license + # + + # + # On some specific Linux installations you could face problems with Firefox. + # It could give you errors when loading the editor saying that some illegal + # characters were found (three strange chars in the beginning of the file). + # This could happen if you map the .js or .css files to PHP, for example. + # + # Those characters are the Byte Order Mask (BOM) of the Unicode encoded files. + # All FCKeditor files are Unicode encoded. + # + + AddType application/x-javascript .js + AddType text/css .css + + # + # If PHP is mapped to handle XML files, you could have some issues. The + # following will disable it. + # + + AddType text/xml .xml +</Directory> <IfModule mod_headers.c> - <Directory "/opt/otrs/var/httpd/htdocs/skins/*/*/css-cache"> + <Directory "@OTRS_ROOT@/otrs/var/httpd/htdocs/skins/*/*/css-cache"> <FilesMatch "\.(css|CSS)$"> Header set Cache-Control "max-age=2592000 must-revalidate" </FilesMatch> </Directory> - <Directory "/opt/otrs/var/httpd/htdocs/js/js-cache"> + <Directory "@OTRS_ROOT@/otrs/var/httpd/htdocs/js/js-cache"> <FilesMatch "\.(js|JS)$"> Header set Cache-Control "max-age=2592000 must-revalidate" </FilesMatch> ++++++ otrs.README.de ++++++ Hallo, hier eine Schnellübersicht, wie Sie das OTRS auf Ihrem SUSE Linux zum Laufen bringen. Prüfen Sie bitte den "max_allow_packets" Wert in Ihrer MySQL config (my.cnf). Dieser sollte auf jeden Fall > 1MB sein. Ich empfehle einen Wert von 8MB oder 16MB. 1) Starten Sie Apache und MySQL mittels rcapache2 restart && rcmysql restart 2) Rufen Sie http://localhost/otrs/installer.pl in einem web browser auf und folgen Sie den Anweisungen. 3) Wenn Sie Ihr System neu starten müssen, stellen Sie sicher, dass alle für OTRS erforderlichen Dienste gestartet werden. Sie gewährleisten dies durch Aktivieren der Dienste apache2, mysql und otrs mit dem YaST Runlevel-Editor oder auf der Kommandozeile mittels insserv apache2 insserv mysql insserv otrs 4) Remember to have fun! Für weitergehende Fragen besuchen Sie doch unter http://www.otrs.org die OTRS web-Seiten. Insoweit Sie professionelle Unterstützung oder Beratung benötigen, wird ein solcher Dienst durch ((otrs)) unter http://www.otrs.com seitens des OTRS-Kernteams angeboten. ++++++ otrs.README.en ++++++ Hello, here is a quick overview, what you have to do, to get the OTRS running on SUSE Linux. Please check settings of "max_allow_packets" in your MySQL config (my.cnf). The value should be > 1MB in any case. I recommend a value of 8MB or 16MB. 1) Start Apache and MySQL with rcapache2 restart && rcmysql restart 2) Load http://localhost/otrs/installer.pl with a web browser and follow the instructions. 3) If you reboot the system, make sure, all services are available. You can achieve this with the YaST runlevel editor and activating the services apache2, mysql, and otrs or on the command line with insserv apache2 insserv mysql insserv otrs 4) Remember to have fun! For further questions take a look at the http://www.otrs.org website. Or if you are searching for professional support or consulting regarding OTRS, take a look at ((otrs)) http://www.otrs.com where the OTRS coreteam offers these services. ++++++ otrs.rpmlintrc ++++++ addFilter('hidden-file-or-dir') addFilter('macro-in-comment') addFilter('non-etc-or-var-file-marked-as-conffile') addFilter('non-executable-script') addFilter('zero-length') ++++++ sysconfig.otrs ++++++ ## Path: Network/Mail/OTRS ## Description: Open source Ticket Request System configuration ## Type: string ## Default: OTRS # # program name # OTRS_PROG="OTRS" ## Type: string ## Default: /srv/otrs # # OTRS home (root) directory # OTRS_ROOT="/srv/otrs" ## Type: string(0,1) ## Default: 1 # # The OTRS database is on this host? 1=yes, 0=no # OTRS_DB_RUNNING="1" ## Type: string(0,1) ## Default: 1 # # The OTRS web server is on this host? 1=yes, 0=no # OTRS_HTTP_RUNNING="1" ## Type: string(0,1) ## Default: 1 # # The OTRS cron jobs run on this host? 1=yes, 0=no # OTRS_CRON_RUNNING="1" ## Type: string(MySQL,PostgreSQL) ## Default: MySQL ## ServiceRestart: otrs # # Used database. # Note: Take care, that you have changed the Config.pm database settings! # OTRS_USED_DB="MySQL" ## Type: string(rcmysql,rcpostgresql) ## Default: rcmysql ## ServiceRestart: otrs # # Init script to control database. # OTRS_USED_DB_RCSCRIPT="rcmysql" ## Type: string ## Default: apache ## ServiceRestart: otrs # # Used webserver # OTRS_USED_WEBSERVER="Apache" ## Type: string ## Default: rcapache2 ## ServiceRestart: otrs # # Init script to control the webserver # OTRS_USED_WEBSERVER_RCSCRIPT="rcapache2" ## Type: string ## Default: $OTRS_ROOT/var/cron # # Location of the cron jobs # OTRS_CRON_DIR="$OTRS_ROOT/var/cron" ## Type: string ## Default: $OTRS_ROOT/var/tmp/cron # # Location of the temporary cron files # OTRS_CRON_TMP_FILE="$OTRS_ROOT/var/tmp/cron" ## Type: string ## Default: " -u otrs " # # Cron job user option # OTRS_CRON_USER=" -u otrs " ## Type: string ## Default: $( hostname -f) # # Command to get the systems hostname # OTRS_HOST="$( hostname -f)" ## Type: string ## Default: otrs # # OTRS location - means http://host/$OTRS_HTTP_LOCATION/index.pl # OTRS_HTTP_LOCATION="otrs" ## Type: string ## Default: $OTRS_ROOT/bin/otrs.PostMaster.pl # # Location of the PostMaster.pl script. # OTRS_POSTMASTER="$OTRS_ROOT/bin/otrs.PostMaster.pl" ## Type: string ## Default: $OTRS_ROOT/bin/otrs.CheckDB.pl # # Location of the CheckDB.pl script. # OTRS_CHECKDB="$OTRS_ROOT/bin/otrs.CheckDB.pl" ## Type: string ## Default: $OTRS_ROOT/bin/otrs.CleanUp.pl # # Location of the CleanUp.pl script. # OTRS_CLEANUP="$OTRS_ROOT/bin/otrs.CleanUp.pl" ## Type: string ## Default: $OTRS_ROOT/var/spool # # Location of the OTRS spool directory. # OTRS_SPOOLDIR="$OTRS_ROOT/var/spool" -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org