commit otrs for openSUSE:Factory
Hello community, here is the log from the commit of package otrs for openSUSE:Factory checked in at 2017-10-02 16:54:18 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/otrs (Old) and /work/SRC/openSUSE:Factory/.otrs.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "otrs" Mon Oct 2 16:54:18 2017 rev:54 rq:530204 version:4.0.25 Changes: -------- --- /work/SRC/openSUSE:Factory/otrs/otrs.changes 2017-08-24 18:34:39.575329718 +0200 +++ /work/SRC/openSUSE:Factory/.otrs.new/otrs.changes 2017-10-02 16:54:29.012035121 +0200 @@ -1,0 +2,24 @@ +Sat Sep 30 21:42:39 UTC 2017 - chris@computersalat.de + +- improve itsm-update.sh to provide + * current and previous itsm packages + * exclude PreRelease packages (*x.y.9?.opm) +- replace itsm tarball so generated + +------------------------------------------------------------------- +Sun Sep 24 20:34:53 UTC 2017 - astieger@suse.com + +- fix and make universal itsm-update.sh +- replace itsm tarball so generated + +------------------------------------------------------------------- +Sat Sep 23 18:49:33 UTC 2017 - chris@computersalat.de + +- fix for boo#1059691 (CVE-2017-14635) + * Code Injection / Privilege Escalation OTRS +- Update to 4.0.25 + * Improved validation in statistic import and export. + see OSA-2017-04 (Code Injection / Privilege Escalation OTRS) + * for more info see https://www.otrs.com/release-notes-otrs-4-patch-level-25/ + +------------------------------------------------------------------- @@ -5 +29 @@ - * for mor info see https://www.otrs.com/release-notes-otrs-4-patch-level-24/ + * for more info see https://www.otrs.com/release-notes-otrs-4-patch-level-24/ Old: ---- itsm-4.0.24.tar.bz2 otrs-4.0.24.tar.bz2 New: ---- itsm-4.0.25.tar.bz2 otrs-4.0.25.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ otrs.spec ++++++ --- /var/tmp/diff_new_pack.ETpo7m/_old 2017-10-02 16:54:32.415557398 +0200 +++ /var/tmp/diff_new_pack.ETpo7m/_new 2017-10-02 16:54:32.419556836 +0200 @@ -18,8 +18,8 @@ Name: otrs -%define otrs_ver 4.0.24 -%define itsm_ver 4.0.24 +%define otrs_ver 4.0.25 +%define itsm_ver 4.0.25 %define itsm_min 4 %define otrs_root /srv/%{name} %define otrsdoc_dir_files AUTHORS* CHANGES* COPYING* CREDITS README* UPGRADING.SUSE doc ++++++ itsm-4.0.24.tar.bz2 -> itsm-4.0.25.tar.bz2 ++++++ /work/SRC/openSUSE:Factory/otrs/itsm-4.0.24.tar.bz2 /work/SRC/openSUSE:Factory/.otrs.new/itsm-4.0.25.tar.bz2 differ: char 11, line 1 ++++++ itsm-update.sh ++++++ --- /var/tmp/diff_new_pack.ETpo7m/_old 2017-10-02 16:54:32.507544486 +0200 +++ /var/tmp/diff_new_pack.ETpo7m/_new 2017-10-02 16:54:32.511543925 +0200 @@ -1,13 +1,45 @@ #!/bin/bash # This script creates a new itsm-%version.tar.bz2 -VERSION=3.3.15 -MAJ_VER=3.3 -MAJ_V_S=33 - -mkdir itsm-$VERSION/ -cd itsm-$VERSION/ -wget http://ftp.otrs.org/pub/otrs/itsm/INSTALL-$MAJ_VER.ITSM -wget -rnH --cut-dirs=3 --no-parent --reject "index.html*" http://ftp.otrs.org/pub/otrs/itsm/packages$MAJ_V_S/ +URL='ftp://ftp.otrs.org/pub/otrs/itsm' +VERSION=$(grep "%define itsm_ver" otrs.spec | cut -d' ' -f3) +MAJOR=$(echo ${VERSION} | cut -d'.' -f1) + +if [[ ${MAJOR} -eq 4 ]]; then + PMINOR='3.3' + PMINOR_PKG=33 + PREJECT="*3.2.9?.opm,*${PMINOR}.9?.opm" + REJECT="*${PMINOR}.9?.opm,*${MAJOR}.0.9?.opm" +elif [[ ${MAJOR} -eq 5 ]]; then + PMINOR=$((${MAJOR} - 1)) + PMINOR_PKG=${PMINOR} + PREJECT="*3.3.9?.opm,*${PMINOR}.0.9?.opm" + REJECT="*${PMINOR}.0.9?.opm,*${MAJOR}.0.9?.opm" +elif [[ ${MAJOR} -ge 6 ]]; then + PMINOR=$((${MAJOR} - 1)) + PMINOR_PKG=${PMINOR} + PREJECT="*((${PMINOR}-1)).0.9?.opm,*((${MAJOR}-1)).0.9?.opm" + REJECT="*${PMINOR}.0.9?.opm,*${MAJOR}.0.9?.opm" +fi + +[[ ! -d itsm-${VERSION} ]] && mkdir itsm-${VERSION} +cd itsm-${VERSION}/ + +# get INSTALL file +wget -nH --cut-dirs=3 -m \ +${URL}/INSTALL-${MAJOR}.ITSM + +# get packages of current version, exclude RC's +wget -nH --cut-dirs=3 -m \ +-R ${REJECT} \ +-R *~ \ +${URL}/packages${MAJOR}/ + +# get packages of previous version, exclude RC's +wget -nH --cut-dirs=3 -m \ +-R ${PREJECT} \ +-R *~ \ +${URL}/packages${PMINOR_PKG}/ + cd .. -tar -jcvf itsm-$VERSION.tar.bz2 itsm-$VERSION +tar cvfj itsm-${VERSION}.tar.bz2 --exclude='.listing' itsm-${VERSION} ++++++ otrs-4.0.24.tar.bz2 -> otrs-4.0.25.tar.bz2 ++++++ /work/SRC/openSUSE:Factory/otrs/otrs-4.0.24.tar.bz2 /work/SRC/openSUSE:Factory/.otrs.new/otrs-4.0.25.tar.bz2 differ: char 11, line 1
participants (1)
-
root@hilbert.suse.de