Browse code

libxml2, redis, sudo: Package Version Update

Change-Id: I64b1e5e985f843782f3518228a7fc65ba37dd8bf
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/5650
Tested-by: gerrit-photon <photon-checkins@vmware.com>
Reviewed-by: Sharath George

Keerthana K authored on 2018/09/12 04:17:10
Showing 4 changed files
1 1
deleted file mode 100644
... ...
@@ -1,18 +0,0 @@
1
-diff -rup libxml2-2.9.4/python/types.c libxml2-2.9.4-new/python/types.c
2
-+++ libxml2-2.9.4-new/python/types.c	2017-10-02 14:35:58.021494879 -0700
3
-@@ -31,8 +31,12 @@ libxml_PyFileGet(PyObject *f) {
4
-     const char *mode;
5
- 
6
-     fd = PyObject_AsFileDescriptor(f);
7
--    if (!_PyVerify_fd(fd))
8
--        return(NULL);
9
-+    /*
10
-+     * https://bugzilla.gnome.org/show_bug.cgi?id=776815
11
-+     * if (!_PyVerify_fd(fd))
12
-+     *   return(NULL);
13
-+    */
14
-+
15
-     /*
16
-      * Get the flags on the fd to understand how it was opened
17
-      */
... ...
@@ -3,7 +3,7 @@
3 3
 
4 4
 Summary:        Libxml2
5 5
 Name:           libxml2
6
-Version:        2.9.7
6
+Version:        2.9.8
7 7
 Release:        1%{?dist}
8 8
 License:        MIT
9 9
 URL:            http://xmlsoft.org/
... ...
@@ -11,9 +11,7 @@ Group:          System Environment/General Libraries
11 11
 Vendor:         VMware, Inc.
12 12
 Distribution:   Photon
13 13
 Source0:        ftp://xmlsoft.org/libxml2/%{name}-%{version}.tar.gz
14
-#https://bugs.python.org/issue23524
15
-Patch0:         libxml2-2.9.4-remove-_PyVerify_fd-call.patch
16
-%define sha1    libxml2=ab3325e6cdda50ab2382fdfe0bdb6f7d1b9224a6
14
+%define sha1    libxml2=66bcefd98a6b7573427cf66f9d3841b59eb5b8c3
17 15
 Provides:       pkgconfig(libxml-2.0)
18 16
 
19 17
 %description
... ...
@@ -50,7 +48,6 @@ Static libraries and header files for the support library for libxml
50 50
 
51 51
 %prep
52 52
 %setup -q
53
-%patch0 -p1
54 53
 sed \
55 54
   -e /xmlInitializeCatalog/d \
56 55
   -e 's/((ent->checked =.*&&/(((ent->checked == 0) ||\
... ...
@@ -115,6 +112,8 @@ rm -rf %{buildroot}/*
115 115
 %{_libdir}/cmake/libxml2/libxml2-config.cmake
116 116
 
117 117
 %changelog
118
+*   Tue Sep 11 2018 Keerthana K <keerthanak@vmware.com> 2.9.8-1
119
+-   Update to version 2.9.8
118 120
 *   Mon Feb 12 2018 Xiaolin Li <xiaolinl@vmware.com> 2.9.7-1
119 121
 -   Update to version 2.9.7
120 122
 *   Wed Oct 18 2017 Xiaolin Li <xiaolinl@vmware.com> 2.9.6-1
... ...
@@ -1,18 +1,21 @@
1 1
 Summary:	advanced key-value store
2 2
 Name:		redis
3
-Version:	3.2.8
4
-Release:	5%{?dist}
3
+Version:	4.0.11
4
+Release:	1%{?dist}
5 5
 License:	BSD
6 6
 URL:		http://redis.io/
7 7
 Group:		Applications/Databases
8 8
 Vendor:		VMware, Inc.
9 9
 Distribution:   Photon
10 10
 Source0:	http://download.redis.io/releases/%{name}-%{version}.tar.gz
11
-%define sha1 redis=6780d1abb66f33a97aad0edbe020403d0a15b67f
11
+%define sha1 redis=a13ccf0f7051f82dc1c979bd94f0b9a9ba039122
12 12
 Patch0:         redis-conf.patch
13 13
 BuildRequires:  gcc
14 14
 BuildRequires:  systemd
15 15
 BuildRequires:  make
16
+BuildRequires:  which
17
+BuildRequires:  tcl
18
+BuildRequires:  tcl-devel
16 19
 Requires:	systemd
17 20
 Requires(pre):  /usr/sbin/useradd /usr/sbin/groupadd
18 21
 
... ...
@@ -51,8 +54,7 @@ WantedBy=multi-user.target
51 51
 EOF
52 52
 
53 53
 %check
54
-#check requires tcl which is not supported in Photon OS right now.
55
-
54
+make check
56 55
 
57 56
 %pre
58 57
 getent group %{name} &> /dev/null || \
... ...
@@ -81,6 +83,8 @@ exit 0
81 81
 %config(noreplace) %attr(0640, %{name}, %{name}) %{_sysconfdir}/redis.conf
82 82
 
83 83
 %changelog
84
+* Tue Sep 11 2018 Keerthana K <keerthanak@vmware.com> 4.0.11-1
85
+- Updated to version 4.0.11.
84 86
 * Thu Dec 28 2017 Divya Thaluru <dthaluru@vmware.com>  3.2.8-5
85 87
 - Fixed the log file directory structure
86 88
 * Mon Sep 18 2017 Alexey Makhalov <amakhalov@vmware.com> 3.2.8-4
... ...
@@ -1,14 +1,14 @@
1 1
 Summary:        Sudo
2 2
 Name:           sudo
3
-Version:        1.8.20p2
4
-Release:        5%{?dist}
3
+Version:        1.8.23
4
+Release:        1%{?dist}
5 5
 License:        ISC
6 6
 URL:            https://www.sudo.ws/
7 7
 Group:          System Environment/Security
8 8
 Vendor:         VMware, Inc.
9 9
 Distribution:   Photon
10 10
 Source0:        http://www.sudo.ws/sudo/dist/%{name}-%{version}.tar.gz
11
-%define sha1    sudo=7aa187518735312a82c5fcb3d253ed700cb8c68e
11
+%define sha1    sudo=8db5a01eda3a14e8b40af7ee1ed6d38660463430
12 12
 BuildRequires:  man-db
13 13
 BuildRequires:  Linux-PAM-devel
14 14
 BuildRequires:  sed
... ...
@@ -82,6 +82,7 @@ rm -rf %{buildroot}/*
82 82
 %{_libdir}/sudo/*.so
83 83
 %{_libdir}/sudo/*.so.*
84 84
 %{_sbindir}/*
85
+%{_mandir}/man1/*
85 86
 %{_mandir}/man5/*
86 87
 %{_mandir}/man8/*
87 88
 %{_docdir}/%{name}-%{version}/*
... ...
@@ -90,6 +91,8 @@ rm -rf %{buildroot}/*
90 90
 %exclude  /etc/sudoers.dist
91 91
 
92 92
 %changelog
93
+*   Tue Sep 11 2018 Keerthana K <keerthanak@vmware.com> 1.8.23-1
94
+-   Update to version 1.8.23.
93 95
 *   Thu Mar 01 2018 Anish Swaminathan <anishs@vmware.com> 1.8.20p2-5
94 96
 -   Move includedir sudoers.d to end of sudoers file
95 97
 *   Tue Oct 10 2017 Alexey Makhalov <amakhalov@vmware.com> 1.8.20p2-4