Hello community,

here is the log from the commit of package cgit for openSUSE:Factory checked in 
at 2018-08-06 11:54:29
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/cgit (Old)
 and      /work/SRC/openSUSE:Factory/.cgit.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "cgit"

Mon Aug  6 11:54:29 2018 rev:31 rq:627534 version:1.2.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/cgit/cgit.changes        2017-02-21 
13:50:38.293922919 +0100
+++ /work/SRC/openSUSE:Factory/.cgit.new/cgit.changes   2018-08-06 
11:54:32.073271120 +0200
@@ -1,0 +2,11 @@
+Sun Aug  5 16:24:56 UTC 2018 - [email protected]
+
+- Update to new upstream release 1.2.1
+  * fixes CVE-2018-14912 directory traversal vulnerability
+    [boo#1103799]
+  * syntax-highlighting: replace invalid unicode with '?'
+  * ui-repolist: properly sort by age
+  * ui-patch: fix crash when using path limit
+- Remove cgit-built-with-git-v2.11.0.patch (merged upstream)
+
+-------------------------------------------------------------------

Old:
----
  cgit-1.1.tar.xz
  cgit-built-with-git-v2.11.0.patch
  git-2.11.1.tar.sign
  git-2.11.1.tar.xz

New:
----
  cgit-1.2.1.tar.xz
  git-2.18.0.tar.sign
  git-2.18.0.tar.xz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ cgit.spec ++++++
--- /var/tmp/diff_new_pack.2MBoo2/_old  2018-08-06 11:54:33.257273176 +0200
+++ /var/tmp/diff_new_pack.2MBoo2/_new  2018-08-06 11:54:33.261273183 +0200
@@ -16,9 +16,9 @@
 #
 
 
-%define git_version    2.11.1
+%define git_version    2.18.0
 Name:           cgit
-Version:        1.1
+Version:        1.2.1
 Release:        0
 Summary:        A web frontend for git repositories
 License:        GPL-2.0
@@ -30,8 +30,7 @@
 Source3:        
https://www.kernel.org/pub/software/scm/git/git-%git_version.tar.sign
 Source4:        %name.keyring
 Source9:        cgitrc
-Patch0:         cgit-optflags.diff
-Patch1:                                        
cgit-built-with-git-v2.11.0.patch
+Patch1:         cgit-optflags.diff
 # Requirements for cgitrc man page generation
 BuildRequires:  asciidoc
 # Requirements for cgit
@@ -42,26 +41,25 @@
 BuildRoot:      %_tmppath/%name-%version-build
 
 %description
-This is an attempt to create a fast web interface for the Git SCM, using a
-builtin cache to decrease server I/O pressure.
+A web interface for the Git SCM, using a built-in cache to decrease server
+I/O pressure.
 
 %prep
 %setup -qa2
-%patch0 -p1
-%patch1 -p1
+%patch -P 1 -p1
 rm -rf git
 ln -s git-%git_version git
 
 %build
+perl -i -pe 's{^#!/usr/bin/env }{#!/usr/bin/}g' filters/email-gravatar.py \
+       filters/html-converters/md2html filters/syntax-highlighting.py
 make V=1 prefix="%_prefix" %{?_smp_mflags}
 
 %install
-make install install-man DESTDIR=%buildroot prefix="%_prefix" \
+%make_install install-man prefix="%_prefix" \
        CGIT_SCRIPT_PATH="/srv/www/htdocs/cgit"
-
 mkdir -p "%buildroot/srv/www/cgi-bin/cgit/"
 mv %buildroot/srv/www/{htdocs,cgi-bin}/cgit/cgit.cgi
-
 mkdir -p "%buildroot/%_sysconfdir"
 cp %SOURCE9 "%buildroot/%_sysconfdir/cgitrc"
 

++++++ cgit-1.1.tar.xz -> cgit-1.2.1.tar.xz ++++++
++++ 3915 lines of diff (skipped)

++++++ git-2.11.1.tar.xz -> git-2.18.0.tar.xz ++++++
++++ 495152 lines of diff (skipped)


Reply via email to