Hello community, here is the log from the commit of package otrs for openSUSE:Factory checked in at 2018-07-18 22:53:58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/otrs (Old) and /work/SRC/openSUSE:Factory/.otrs.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "otrs" Wed Jul 18 22:53:58 2018 rev:60 rq:622090 version:5.0.28 Changes: -------- --- /work/SRC/openSUSE:Factory/otrs/otrs.changes 2018-01-25 12:40:14.299510251 +0100 +++ /work/SRC/openSUSE:Factory/.otrs.new/otrs.changes 2018-07-18 22:54:28.874853195 +0200 @@ -1,0 +2,10 @@ +Wed Jul 11 14:07:48 UTC 2018 - [email protected] + +- Update to 5.0.28 + * Renamed 'OTRS Free' to '((OTRS)) Community Edition'. + * https://github.com/OTRS/otrs/blob/rel-5_0_28/CHANGES.md +- improve itsm-update.sh +- fix otrs.service + * remove otrs-scheduler.service from [Unit]After + +------------------------------------------------------------------- @@ -4,0 +15,10 @@ + +------------------------------------------------------------------- +Thu Dec 28 23:03:52 UTC 2017 - [email protected] + +- Update to 5.0.26 + * https://www.otrs.com/release-notes-otrs-5s-patch-level-26 + * https://www.otrs.com/release-notes-otrsitsm-module-5s-patch-level-26/ +- remove obsolete + * otrs-scheduler.service + * otrs-scheduler.init Old: ---- itsm-4.0.28.tar.bz2 otrs-4.0.28.tar.bz2 otrs-scheduler.init otrs-scheduler.service New: ---- itsm-5.0.28.tar.bz2 otrs-5.0.28.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ otrs.spec ++++++ --- /var/tmp/diff_new_pack.BffydQ/_old 2018-07-18 22:54:30.074849215 +0200 +++ /var/tmp/diff_new_pack.BffydQ/_new 2018-07-18 22:54:30.074849215 +0200 @@ -23,15 +23,15 @@ Name: otrs -%define otrs_ver 4.0.28 -%define itsm_ver 4.0.28 -%define itsm_min 4 +%define otrs_ver 5.0.28 +%define itsm_ver 5.0.28 +%define itsm_min 5 %define otrs_root /srv/%{name} %define otrsdoc_dir_files AUTHORS* CHANGES* COPYING* CREDITS README* UPGRADING.SUSE doc %define otrsdocs CHANGES* doc Summary: The Open Ticket Request System -License: AGPL-3.0 +License: AGPL-3.0-only Group: Productivity/Networking/Email/Utilities Version: %{otrs_ver} Release: 0 @@ -51,9 +51,9 @@ Source17: UPGRADING.SUSE Source20: %{name}.service Source21: %{name}.service.helper.sh -Source22: %{name}-scheduler.service +#Source22: %{name}-scheduler.service Source23: %{name}.init -Source24: %{name}-scheduler.init +#Source24: %{name}-scheduler.init # Source99: itsm-update.sh # PATCH-FIX-OPENSUSE -- VARS for conf and fix for apache >= 2.4 @@ -67,11 +67,8 @@ PreReq: grep sed PreReq: apache2 Requires(pre): permissions - -BuildRequires: pwdutils -%if 0%{?suse_version} > 1020 BuildRequires: fdupes -%endif +BuildRequires: pwdutils %if 0%{?suse_version} >= 1210 BuildRequires: systemd @@ -95,10 +92,14 @@ Requires: perl(List::Util::XS) Requires: perl(Net::DNS) >= 0.60 Requires: perl(Template) +Requires: perl(Template::Stash::XS) Requires: perl(Time::HiRes) Requires: perl(Time::Piece) Requires: perl(YAML::XS) # +Recommends: perl(Apache::DBI) +Recommends: perl(Apache2::Reload) +Recommends: perl(Authen::SASL) Recommends: perl(Crypt::Eksblowfish::Bcrypt) Recommends: perl(Crypt::SSLeay) Recommends: perl(GD) @@ -112,8 +113,11 @@ Recommends: perl(PDF::API2) >= 0.73 Recommends: perl(SOAP::Lite) Recommends: perl(Text::CSV_XS) +Recommends: perl(XML::LibXML) +Recommends: perl(XML::LibXSLT) Recommends: perl(XML::Parser) # +Suggests: perl(Authen::NTML) Suggests: perl(DBD::ODBC) Suggests: perl(DBD::Oracle) Suggests: perl(DBD::Pg) @@ -210,15 +214,14 @@ # fix old otrs_root (/opt) %__sed -i -e "s,/opt/%{name},%{otrs_root},g" \ bin/Cron.sh \ - bin/otrs.SupportBundle.pl \ i18n/otrs/otrs.*.po \ Kernel/Config/Defaults.pm \ + Kernel/Config/Files/Daemon.xml \ Kernel/Config/Files/Framework.xml \ Kernel/Config.pm.dist \ Kernel/Language/*.pm \ Kernel/Modules/AdminDynamicFieldText.pm \ - Kernel/Output/HTML/Standard/AdminGenericInterfaceTransportHTTPREST.tt \ - Kernel/Output/HTML/Standard/AdminGenericInterfaceTransportHTTPSOAP.tt \ + Kernel/Output/HTML/Templates/Standard/AdminGenericInterfaceTransportHTTPSOAP.tt \ Kernel/System/ACL/DB/ACL.pm \ Kernel/System/Environment.pm \ Kernel/System/ProcessManagement/DB/Process.pm \ @@ -234,11 +237,6 @@ # 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 @@ -291,18 +289,18 @@ %__install -D -m 0644 %{S:20} %{buildroot}%{_unitdir}/%{name}.service %__ln_s -f %{_sbindir}/service %{buildroot}%{_sbindir}/rc%{name} %__install -D -m 0755 %{S:21} %{buildroot}%{_bindir}/%{name}.service.helper.sh -%__install -D -m 0644 %{S:22} %{buildroot}%{_unitdir}/%{name}-scheduler.service -%__ln_s -f %{_sbindir}/service %{buildroot}/%{_sbindir}/rc%{name}-scheduler +#%__install -D -m 0644 %{S:22} %{buildroot}%{_unitdir}/%{name}-scheduler.service +#%__ln_s -f %{_sbindir}/service %{buildroot}/%{_sbindir}/rc%{name}-scheduler # fix @OTRS_ROOT@ %__sed -i -e "s,@OTRS_ROOT@,%{otrs_root},g" "%{buildroot}%{_unitdir}/%{name}.service" %__sed -i -e "s,@OTRS_ROOT@,%{otrs_root},g" "%{buildroot}%{_bindir}/%{name}.service.helper.sh" -%__sed -i -e "s,@OTRS_ROOT@,%{otrs_root},g" "%{buildroot}%{_unitdir}/%{name}-scheduler.service" +#%__sed -i -e "s,@OTRS_ROOT@,%{otrs_root},g" "%{buildroot}%{_unitdir}/%{name}-scheduler.service" %else #SysVinit # install sysconfig file and init script %__install -D -m 0755 %{S:23} %{buildroot}/etc/init.d/%{name} %__ln_s -f ../../etc/init.d/%{name} %{buildroot}%{_sbindir}/rc%{name} -%__install -D -m 0755 %{S:24} %{buildroot}/etc/init.d/%{name}-scheduler -%__ln_s -f ../../etc/init.d/%{name}-scheduler %{buildroot}%{_sbindir}/rc%{name}-scheduler +#%__install -D -m 0755 %{S:24} %{buildroot}/etc/init.d/%{name}-scheduler +#%__ln_s -f ../../etc/init.d/%{name}-scheduler %{buildroot}%{_sbindir}/rc%{name}-scheduler %endif otrs_apache_conf="scripts/apache2-httpd.include.conf" @@ -345,17 +343,19 @@ %{_sbindir}/usermod -c "OTRS User" -d %{otrs_root} -G %{name},www -g %{name} -u 88 %{name} 2>/dev/null fi fi +# add wwwrun to otrs group +%{_sbindir}/usermod -G %{name} wwwrun %if 0%{?has_systemd} %service_add_pre %{name}.service -%service_add_pre %{name}-scheduler.service +#%service_add_pre %{name}-scheduler.service %endif %preun %if 0%{?has_systemd} -%service_del_preun %{name}-scheduler.service +#%service_del_preun %{name}-scheduler.service %service_del_preun %{name}.service %else -%stop_on_removal otrs-scheduler +#%stop_on_removal otrs-scheduler %stop_on_removal otrs %endif @@ -363,10 +363,10 @@ %if 0%{?has_systemd} %{fillup_only -n otrs} %service_add_post %{name}.service -%service_add_post %{name}-scheduler.service +#%service_add_post %{name}-scheduler.service %else # fill otrs sysconfig file -%{fillup_and_insserv -f otrs-scheduler} +#%{fillup_and_insserv -f otrs-scheduler} %{fillup_and_insserv otrs} %endif # set permissions @@ -424,10 +424,10 @@ %postun %if 0%{?has_systemd} -%service_del_postun %{name}-scheduler.service +#%service_del_postun %{name}-scheduler.service %service_del_postun %{name}.service %else -%restart_on_update otrs-scheduler +#%restart_on_update otrs-scheduler %restart_on_update otrs %restart_on_update apache2 %insserv_cleanup @@ -438,6 +438,7 @@ %doc AUTHORS.md CHANGES.md COPYING* README* UPGRADING.SUSE %{otrs_root}/ARCHIVE %{otrs_root}/RELEASE +%{otrs_root}/.bash_completion %dir %{_sysconfdir}/apache2 %dir %{_sysconfdir}/apache2/conf.d %config(noreplace) %{_sysconfdir}/apache2/conf.d/%{name}.conf @@ -450,13 +451,13 @@ %if 0%{?has_systemd} %{_unitdir}/%{name}.service %{_bindir}/%{name}.service.helper.sh -%{_unitdir}/%{name}-scheduler.service +#%{_unitdir}/%{name}-scheduler.service %else %{_sysconfdir}/init.d/%{name} -%{_sysconfdir}/init.d/%{name}-scheduler +#%{_sysconfdir}/init.d/%{name}-scheduler %endif %{_sbindir}/rc%{name} -%{_sbindir}/rc%{name}-scheduler +#%{_sbindir}/rc%{name}-scheduler # Custom %dir %{otrs_root}/Custom @@ -480,6 +481,12 @@ # var/fonts %{otrs_root}/var/fonts +# var/processes +%{otrs_root}/var/processes + +# var/webservices +%{otrs_root}/var/webservices + ############### ## {root,www} ############### @@ -492,7 +499,6 @@ %{otrs_root}/bin/cgi-bin/*.pl %{otrs_root}/bin/Cron.sh %{otrs_root}/bin/fcgi-bin/*.pl -%exclude %{otrs_root}/bin/%{name}.GetConfig.pl %exclude %{otrs_root}/bin/%{name}.SetPermissions.pl ############### @@ -521,6 +527,9 @@ %dir %attr(0770,%{name},www) %{otrs_root}/var/log %ghost %config(noreplace) %attr(660,%{name},www) %{otrs_root}/var/log/TicketCounter.log +# var/spool +%dir %attr(0770,%{name},www) %{otrs_root}/var/spool + ############### ## {wwwrun,www} ############### @@ -551,7 +560,7 @@ # var/tmp %if 0%{?suse_version} < 1140 -%dir %attr(2770,wwwrun,www) %{otrs_root}/var/tmp +%dir %{otrs_root}/var/tmp %else %verify(not user group mode) %attr(2770,wwwrun,www) %dir %{otrs_root}/var/tmp %endif @@ -562,10 +571,9 @@ %dir %{otrs_root}/Kernel %config(noreplace) %attr(0640,wwwrun,www) %{otrs_root}/Kernel/Config.pm %{otrs_root}/Kernel/Config.pm.dist +%{otrs_root}/Kernel/Config.pod.dist %dir %{otrs_root}/Kernel/Config %{otrs_root}/Kernel/Config/Defaults.pm -%config(noreplace) %{otrs_root}/Kernel/Config/GenericAgent.pm -%{otrs_root}/Kernel/Config/GenericAgent.pm.* %dir %{otrs_root}/Kernel/Config/Files %{otrs_root}/Kernel/Config/Files/*.xml %{otrs_root}/Kernel/GenericInterface @@ -576,11 +584,9 @@ %{otrs_root}/Kernel/Modules/ %dir %{otrs_root}/Kernel/Output %dir %{otrs_root}/Kernel/Output/HTML -%dir %{otrs_root}/Kernel/Output/HTML/Standard -%config(noreplace) %{otrs_root}/Kernel/Output/HTML/Standard/*.tt -%dir %{otrs_root}/Kernel/Output/HTML/Standard/ProcessManagement -%config(noreplace) %{otrs_root}/Kernel/Output/HTML/Standard/ProcessManagement/*.tt -%{otrs_root}/Kernel/Output/HTML/*.pm +%{otrs_root}/Kernel/Output/HTML/* +%dir %{otrs_root}/Kernel/Output/PDF +%{otrs_root}/Kernel/Output/PDF/* %dir %{otrs_root}/Kernel/Output/Template %{otrs_root}/Kernel/Output/Template/* %{otrs_root}/Kernel/System/ ++++++ UPGRADING.SUSE ++++++ --- /var/tmp/diff_new_pack.BffydQ/_old 2018-07-18 22:54:30.110849097 +0200 +++ /var/tmp/diff_new_pack.BffydQ/_new 2018-07-18 22:54:30.110849097 +0200 @@ -1,18 +1,18 @@ -Upgrading OTRS from 3.3 to 4 -============================ +Upgrading OTRS from 4 to 5 +=========================== -These instructions are for people upgrading OTRS from *3.3* to *4* or from a 4 -to a later patchlevel release 4 and applies both for RPM and source code (tarball) upgrades. +These instructions are for people upgrading OTRS from 4 to 5 or from a 5 +to a later patchlevel release 5 and applies both for RPM and source code (tarball) upgrades. -If you are running a lower version of OTRS you have to follow the upgrade path to 3.3 first -(1.1->1.2->1.3->2.0->2.1->2.2->2.3->2.4->3.0->3.1->3.2->3.3)! You need to perform a full -upgrade to every version in between, including database changes and the upgrading perl script. +If you are running a lower version of OTRS you have to follow the upgrade path to 4 first +(1.1->1.2->1.3->2.0->2.1->2.2->2.3->2.4->3.0->3.1->3.2->3.3->4)! You need to perform a full +upgrade to every version in between, including database changes and the upgrading Perl script. Please note that if you upgrade from OTRS 2.2 or earlier, you have to take an extra step. Within a single minor version you can skip patch level releases if you want to upgrade. -For instance you can upgrade directly from OTRS 4 patchlevel 2 to version 4 patchlevel 6. -If you need to do such a "patch level upgrade", you should skip steps 6, 11, 13 and 14. +For instance you can upgrade directly from OTRS 5 patchlevel 2 to version 5 patchlevel 6. +If you need to do such a "patch level upgrade", you should skip steps 6, 11, 13 and 14. It is highly recommended to perform a test update on a separate testing machine first. @@ -102,34 +102,23 @@ Run the migration script (as user `otrs`, NOT as `root`): - shell> scripts/DBUpdate-to-4.pl + shell> scripts/DBUpdate-to-5.pl Do not continue the upgrading process if this script did not work properly for you. Otherwise data loss may occur. -7. Own themes -------------- - -Note: The OTRS themes of 3.3 are NOT compatible with OTRS 4, so don't use your old themes! - -Themes are located under `@OTRS_ROOT@/Kernel/Output/HTML/*/*.tt` (default: `OTRS_ROOT=@OTRS_ROOT@`) - -Please note that OTRS 4 comes with a new templating engine based on Template::Toolkit. -All customized templates must be converted from DTL to the new format. Please see the -development manual for detailed instructions. - - -8. Refresh the configuration cache and delete caches +7. Refresh the configuration cache and delete caches ----------------------------------------------------- Please run (as user `otrs`, NOT as `root`): - shell> bin/otrs.RebuildConfig.pl - shell> bin/otrs.DeleteCache.pl + shell> cd /opt/otrs/ + shell> bin/otrs.Console.pl Maint::Config::Rebuild + shell> bin/otrs.Console.pl Maint::Cache::Delete -9. Restart your services +8. Restart your services ------------------------- e. g. (depends on used services): @@ -141,62 +130,158 @@ Now you can log into your system. -10. Check installed packages +9. Check installed packages ---------------------------- -Note: The OTRS packages of 3.3 are NOT compatible with OTRS 4, so you have to perform a package upgrade! +Note: The OTRS packages of 4 are NOT compatible with OTRS 5, so you have to perform a package upgrade! The following packages are automatically uninstalled after the upgrade process (if they where installed before): -- OTRSGenericInterfaceREST -- OTRSMyServices -- OTRSStatsRestrictionByDateTimeDF -- Support +- OTRSGenericInterfaceMappingXSLT -11. Check GenericAgent jobs ---------------------------- -If you have any GenericAgent jobs (or even any custom developments) that automatically -set ProcessID or ActivityID dynamic fields, you need to update these to set the fields -to the new long EntityIDs that were generated by DBUpdate-to-4.pl. +10. Configure NodeIDs (only for multi-frontend clustered setups) +----------------------------------------------------------------- +Note: This step is only needed if you have a clustered setup with several frontend machines. -12. Update and activate cronjobs --------------------------------- +From OTRS 5 on, every frontend server needs to have its own unique NodeID. +This defaults to 1 and thus does not need to be configured for single-frontend +setups. If you have more than one machine, each machine needs to have this +value set to a unique value between 1 and 999. This configuration needs to be +done in the file Kernel/Config.pm: + +$Self->{'NodeID'} = '2'; # assign a unique value for every frontend server -There are several OTRS default cronjobs in $OTRS_HOME/var/cron/*.dist. -They can be activated by copying them without the ".dist" filename extension. -Do this to make sure you get the latest versions of the cronjobs and new cronjobs -as well. - shell> cd var/cron +11. Update and activate cronjobs +--------------------------------- + +There are two default OTRS cron files in /opt/otrs/var/cron/*.dist, and their +purpose is to make sure that the OTRS Daemon is running. They need to be +activated by copying them without the ".dist" filename extension. + + shell> cd /opt/otrs/var/cron shell> for foo in *.dist; do cp $foo `basename $foo .dist`; done + -Please check the copied files and re-apply any customizations that you might have made. +To schedule these cron jobs on your system, you can use the script Cron.sh with the otrs user. -Note: From OTRS 3.3.7 OTRS Scheduler uses a cronjob to start-up and keep alive. Please make sure -that scheduler_watchdog cronjob is activated. + shell> /opt/otrs/bin/Cron.sh start + +Please note that if you had any custom cron jobs, you should consider moving +them to SysConfig (Daemon -> Daemon::SchedulerCronTaskManager::Task) to have +them executed by the OTRS daemon as well. You might also need to adapt your +custom scripts, because now most OTRS commands are managed by +bin/otrs.Console.pl instead of single scripts. -13: Update Customer database configuration ------------------------------------------- +Note: The console command Dev::Code::Generate::ConsoleCommand can help to +create new console commands for your custom scripts. This command creates a +template where the script logic and its parameters can be adapted. -If you're using an external customer database and this database does NOT provide the OTRS -specific fields create_time, create_by, change_time and change_by, please set ForeignDB => 1 -for $Self->{CustomerUser} and $Self->{CustomerCompany} (see Kernel/Config/Defaults.pm). +12: Review your ticket notifications +------------------------------------- -14: Rebuild Ticket index ------------------------- +With OTRS 5 ticket notifications are configured differently than in previous +versions. They are now part of the "Event Notifications" that were previously +available as well (now called just "Ticket Notifications"). Your existing +ticket notifications have been migrated into the list of ticket notifications, +but deactivated. You have also received the new default ticket notifications, +active by default. -Please run +In case you did not modify the old ticket notifications you don't have to do +anything. If you have made local modifications or translations, you have two +choices: a) you can migrate your modifications to the new ticket notifications +(recommended) or b) you can deactivate the new notifications and activate the +old notifications again. - shell> bin/otrs.RebuildTicketIndex.pl +Please also review the escalation notification recipient settings and see if +they match with your expectations (agents who have the ticket in one of their +custom queues vs. all agents with read permissions). This was configured via a +setting in the file Kernel/Config/GenericAgent.pm (now obsolete) previously and +can now be controlled via the GUI for each notification separately. + + +13: Update system registration (optional) +------------------------------------------ -to regenerate the ticket index. This can be done in the background to calculate the ticket -numbers for the queue view screens. You can already use your system. +If the system is already registered with OTRS Group, it is strongly recommended +to update the registration information at this time. This will update the +registered version of the system (among other changes) in the OTRS Group +records, in order to get much accurate information from the cloud services. + +If you don't update the registration information manually, it will be done +automatically on a regular basis, but this could happen some hours or days +after. During this period it might be possible to get wrong information from +cloud services like OTRS Business Solution™ updates. + + shell> cd /opt/otrs/ + shell> bin/otrs.Console.pl Maint::Registration::UpdateSend --force + shell> bin/otrs.Console.pl Maint::Cache::Delete + + +14: Migrate custom Perl based GenericAgent jobs (optional) +----------------------------------------------------------- + +This is only relevant if you had any custom GenericAgent jobs in Perl OTRS 4 +configuration files such as Kernel/Config/GenericAgent.pm that cannot be handled +with the regular ticket notifications. Such jobs now need to be registered as +OTRS Daemon cron tasks in the SysConfig + (Daemon -> Daemon::SchedulerCronTaskManager::Task), +in order to be executed on a regular basis. + +There are 5 settings in the SysConfig prepared for this purpose + (Daemon::SchedulerCronTaskManager::Task###GenericAgentFile1 to + Daemon::SchedulerCronTaskManager::Task###GenericAgentFile5). +If more settings are needed they can be added in a custom SysConfig setting file. + +Please replace "<ModuleName>" with the file that contains the custom +GenericAgent jobs configuration, e.g. Kernel::Config::GenericAgent for the file: +Kernel/Config/GenericAgent.pm, set the schedule to match the periodicity as it +was executed before, mark the setting as active and save the changes. +Note + +To get more information about other parameters that can be used while running +the GenericAgent jobs, please execute: + + shell> bin/otrs.Console.pl Maint::GenericAgent::Run --help + + +15: Setup bash autocompletion (optional) +----------------------------------------- + +All regular OTRS command line operations now happen via the OTRS Console +interface bin/otrs.Console.pl. This provides an auto completion for the bash +shell which makes finding the right command and options much easier. + +You can activate the bash autocompletion by installing the package bash-completion. +It will automatically detect and load the file /opt/otrs/.bash_completion for the otrs user. + +After restarting your shell, you can just type bin/otrs.Console.pl followed by TAB, +and it will list all available commands. If you type a few characters of the +command name, TAB will show all matching commands. After typing a complete command, +all possible options and arguments will be shown by pressing TAB. +Step 18: Review ticket action screen configurations (optional) + +Some ticket action screens like "Note" had default subjects in OTRS 4 +(configurable via SysConfig, Ticket::Frontend::AgentTicketNote###Subject in this case). +These default subjects have been removed to reduce the amount of potentially +redundant/meaningless data. You might want to re-add them if they are mandatory for you. + + +16: Review Ticket Event Module Configurations +---------------------------------------------- + +Because of a bugfix in OTRS 5s, configuration names for a few ticket event modules had +to be changed. Any possible customizations need to be re-applied. Please review your +settings in SysConfig -> Ticket -> Core::Ticket and check all settings that start with +Ticket::EventModulePost to see if your custiomizations have to be re-applied. This could +be the case if you had activated and configured the event handler to save customer data +in ticket dynamic fields, for example. -15: Well done! +17: Well done! -------------- ++++++ ZZZAuto.pm ++++++ --- /var/tmp/diff_new_pack.BffydQ/_old 2018-07-18 22:54:30.118849070 +0200 +++ /var/tmp/diff_new_pack.BffydQ/_new 2018-07-18 22:54:30.118849070 +0200 @@ -9,10 +9,10 @@ $Self->{'DefaultLanguage'} = 'de'; $Self->{'LogModule'} = 'Kernel::System::Log::File'; $Self->{'Package::RepositoryList'} = { - 'file://@OTRS_ROOT@/itsm/packages33/' => '[--OTRS::ITSM 3.3 local repo]', - 'http://ftp.otrs.org/pub/otrs/itsm/packages33/' => '[--OTRS::ITSM 3.3 Master--] http://ftp.otrs.org/', 'file://@OTRS_ROOT@/itsm/packages4/' => '[--OTRS::ITSM 4 local repo]', - 'http://ftp.otrs.org/pub/otrs/itsm/packages4/' => '[--OTRS::ITSM 4 Master--] http://ftp.otrs.org/' + 'http://ftp.otrs.org/pub/otrs/itsm/packages4/' => '[--OTRS::ITSM 4 Master--] http://ftp.otrs.org/', + 'file://@OTRS_ROOT@/itsm/packages5/' => '[--OTRS::ITSM 5 local repo]', + 'http://ftp.otrs.org/pub/otrs/itsm/packages5/' => '[--OTRS::ITSM 5 Master--] http://ftp.otrs.org/' }; $Self->{'Package::RepositoryAccessRegExp'} = '127\\.0\\.0\\.1'; } ++++++ itsm-4.0.28.tar.bz2 -> itsm-5.0.28.tar.bz2 ++++++ /work/SRC/openSUSE:Factory/otrs/itsm-4.0.28.tar.bz2 /work/SRC/openSUSE:Factory/.otrs.new/itsm-5.0.28.tar.bz2 differ: char 11, line 1 ++++++ itsm-update.sh ++++++ --- /var/tmp/diff_new_pack.BffydQ/_old 2018-07-18 22:54:30.138849003 +0200 +++ /var/tmp/diff_new_pack.BffydQ/_new 2018-07-18 22:54:30.138849003 +0200 @@ -27,8 +27,12 @@ if [[ ! -d itsm-${VERSION} ]]; then if [[ ! -d itsm-${MAJOR}.${MINOR}.${PPATCH} ]]; then - tar xvfpj itsm-${MAJOR}.${MINOR}.${PPATCH}.tar.bz2 - mv itsm-${MAJOR}.${MINOR}.${PPATCH} itsm-${VERSION} + if [[ -f itsm-${MAJOR}.${MINOR}.${PPATCH}.tar.bz2 ]]; then + tar xvfpj itsm-${MAJOR}.${MINOR}.${PPATCH}.tar.bz2 + mv itsm-${MAJOR}.${MINOR}.${PPATCH} itsm-${VERSION} + else + mkdir -p itsm-${VERSION} + fi fi fi cd itsm-${VERSION}/ ++++++ otrs-4.0.28.tar.bz2 -> otrs-5.0.28.tar.bz2 ++++++ /work/SRC/openSUSE:Factory/otrs/otrs-4.0.28.tar.bz2 /work/SRC/openSUSE:Factory/.otrs.new/otrs-5.0.28.tar.bz2 differ: char 11, line 1 ++++++ otrs-httpd_conf.patch ++++++ --- /var/tmp/diff_new_pack.BffydQ/_old 2018-07-18 22:54:30.170848898 +0200 +++ /var/tmp/diff_new_pack.BffydQ/_new 2018-07-18 22:54:30.170848898 +0200 @@ -165,8 +165,8 @@ <IfModule mod_filter.c> <IfModule mod_deflate.c> -@@ -105,33 +140,35 @@ Alias /otrs-web/ "/opt/otrs/var/httpd/ht - </Directory> +@@ -123,33 +158,35 @@ Alias /otrs-web/ "/opt/otrs/var/httpd/ht + # </Location> <IfModule mod_headers.c> + ++++++ otrs-perm_test.patch ++++++ --- /var/tmp/diff_new_pack.BffydQ/_old 2018-07-18 22:54:30.174848884 +0200 +++ /var/tmp/diff_new_pack.BffydQ/_new 2018-07-18 22:54:30.178848871 +0200 @@ -2,7 +2,7 @@ =================================================================== --- Kernel/System/Package.pm.orig +++ Kernel/System/Package.pm -@@ -3654,7 +3654,7 @@ sub _FileSystemCheck { +@@ -3738,7 +3738,7 @@ sub _FileSystemCheck { # create test files in following directories for my $Filepath ( ++++++ otrs.service ++++++ --- /var/tmp/diff_new_pack.BffydQ/_old 2018-07-18 22:54:30.230848699 +0200 +++ /var/tmp/diff_new_pack.BffydQ/_new 2018-07-18 22:54:30.230848699 +0200 @@ -1,19 +1,20 @@ # Copyright (c) 2017 Scorpio IT, Deidesheim, Germany [Unit] -# Open-source Ticket Request System, Copyright (C) 2001-2012 OTRS AG +# Copyright (C) 2001-2017 OTRS AG, http://otrs.com/ Description=OTRS Documentation=https://otrs.github.io/doc/manual/admin/stable/en/html/ -After=crond.service apache2.service mysql.service otrs-scheduler.service +After=crond.service apache2.service mysql.service [Service] +User=otrs Type=oneshot RemainAfterExit=yes EnvironmentFile=/etc/sysconfig/otrs -ExecStartPre=/usr/bin/chmod 755 @OTRS_ROOT@/bin/otrs.PostMaster.pl -ExecStartPre=/usr/bin/otrs.service.helper.sh -ExecStart=/usr/bin/crontab -u otrs @OTRS_ROOT@/var/tmp/cron -ExecStop=/usr/bin/chmod 644 @OTRS_ROOT@/bin/otrs.PostMaster.pl -ExecStopPost=/usr/bin/crontab -u otrs -r +#ExecStartPre=/usr/bin/chmod 755 @OTRS_ROOT@/bin/otrs.PostMaster.pl +#ExecStartPre=/usr/bin/otrs.service.helper.sh +ExecStart=@OTRS_ROOT@/bin/otrs.Daemon.pl start +#ExecStop=/usr/bin/chmod 644 @OTRS_ROOT@/bin/otrs.PostMaster.pl +#ExecStopPost=/usr/bin/crontab -u otrs -r [Install] WantedBy=multi-user.target
