Browse code

Updating haproxy and initscripts

Change-Id: I48a7d748d93932e6f529709fea876ab2c0c98084
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/2275
Tested-by: gerrit-photon <photon-checkins@vmware.com>
Reviewed-by: Divya Thaluru <dthaluru@vmware.com>

DheerajSShetty authored on 2017/04/05 07:24:40
Showing 3 changed files
... ...
@@ -1,6 +1,6 @@
1 1
 Summary:        A fast, reliable HA, load balancing, and proxy solution.
2 2
 Name:           haproxy
3
-Version:        1.6.10
3
+Version:        1.6.12
4 4
 Release:        1%{?dist}
5 5
 License:        GPL
6 6
 URL:            http://www.haproxy.org
... ...
@@ -8,7 +8,7 @@ Group:          Applications/System
8 8
 Vendor:         VMware, Inc.
9 9
 Distribution:   Photon
10 10
 Source0:        http://www.haproxy.org/download/1.6/src/%{name}-%{version}.tar.gz
11
-%define sha1 haproxy=633a0391314388ebfbbaa4742840f09a27e71afe
11
+%define sha1 haproxy=7a8b05adbb405d8ca280b25b82f6a6b2da6e2622
12 12
 BuildRequires:  openssl-devel
13 13
 BuildRequires:  pcre-devel
14 14
 BuildRequires:  lua-devel
... ...
@@ -58,6 +58,8 @@ install -vDm644 examples/transparent_proxy.cfg  %{buildroot}/%{_sysconfdir}/hapr
58 58
 %{_mandir}/*
59 59
 
60 60
 %changelog
61
+*   Tue Apr 04 2017 Dheeraj Shetty <dheerajs@vmware.com> 1.6.12-1
62
+-   Updated to version 1.6.12
61 63
 *   Sun Nov 27 2016 Vinay Kulkarni <kulkarniv@vmware.com> 1.6.10-1
62 64
 -   Upgrade to 1.6.10 to address CVE-2016-5360
63 65
 *   Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 1.6.3-3
... ...
@@ -1,12 +1,12 @@
1 1
 Summary:	Scripts to bring up network interfaces and legacy utilities
2 2
 Name:		initscripts
3
-Version:	9.65
3
+Version:	9.70
4 4
 License:	GPLv2
5 5
 Group:		System Environment/Base
6
-Release:	2%{?dist}
7
-URL:		http://fedorahosted.org/releases/i/n/initscripts/
8
-Source0:	https://fedorahosted.org/releases/i/n/initscripts/initscripts-9.65.tar.bz2
9
-%define sha1 initscripts=0a231ab94ce7ef050a7c2c35a5183450abe58a39
6
+Release:	1%{?dist}
7
+URL:		https://github.com/fedora-sysv/initscripts
8
+Source0:	https://github.com/fedora-sysv/initscripts/archive/%{name}-%{version}.tar.gz
9
+%define sha1 initscripts=6e2ba0946fa2f175f576614d9374ad00266aec66
10 10
 Patch0:     service.patch
11 11
 Vendor:     	VMware, Inc.
12 12
 Distribution:   Photon
... ...
@@ -160,6 +160,8 @@ rm -rf %{buildroot}%{_prefix}/lib/systemd
160 160
 %{_sysconfdir}/profile.d/debug*
161 161
 
162 162
 %changelog
163
+*   Mon Apr 3 2017 Dheeraj Shetty <dheerajs@vmware.com> 9.70-1
164
+-   Updated to version 9.70
163 165
 *	Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 9.65-2
164 166
 -	GA - Bump release of all rpms
165 167
 * Fri Feb 12 2016 Divya Thaluru <dthaluru@vmware.com> 9.65-2
... ...
@@ -1,6 +1,7 @@
1
-+++ b/service	2016-02-12 18:09:12.617492818 -0800
2
-@@ -70,7 +70,9 @@
1
+diff -dupr a/service b/service
2
+--- a/service	2017-02-27 06:56:05.000000000 -0800
3
+@@ -70,7 +70,9 @@ while [ $# -gt 0 ]; do
3 4
     esac
4 5
  done
5 6
  
... ...
@@ -11,13 +12,14 @@
11 11
     # LSB daemons that dies abnormally in systemd looks alive in systemd's eyes due to RemainAfterExit=yes
12 12
     # lets reap them before next start
13 13
     if [ "${ACTION}" = "start" ] && \
14
-@@ -81,9 +83,6 @@
14
+@@ -81,10 +83,6 @@ if [ -f "${SERVICEDIR}/${SERVICE}" ]; th
15 15
     env -i PATH="$PATH" TERM="$TERM" SYSTEMCTL_IGNORE_DEPENDENCIES=${SYSTEMCTL_IGNORE_DEPENDENCIES} SYSTEMCTL_SKIP_REDIRECT=${SYSTEMCTL_SKIP_REDIRECT} "${SERVICEDIR}/${SERVICE}" ${ACTION} ${OPTIONS}
16 16
  elif [ -x "${ACTIONDIR}/${SERVICE}/${ACTION}" -a -n "${ACTION}" ]; then
17 17
     env -i PATH="$PATH" TERM="$TERM" SYSTEMCTL_IGNORE_DEPENDENCIES=${SYSTEMCTL_IGNORE_DEPENDENCIES} SYSTEMCTL_SKIP_REDIRECT=${SYSTEMCTL_SKIP_REDIRECT} "${ACTIONDIR}/${SERVICE}/${ACTION}" ${OPTIONS}
18 18
 -elif `echo $ACTION | egrep -qw "start|stop|restart|try-restart|reload|force-reload|status|condrestart"` ; then
19
--   echo $"Redirecting to /bin/systemctl ${ACTION} ${OPTIONS} ${SERVICE}.service" >&2
20
--   exec /bin/systemctl ${ACTION} ${OPTIONS} ${SERVICE}.service
19
+-   SERVICE_MANGLED=$(/usr/bin/systemd-escape --mangle ${SERVICE})
20
+-   echo $"Redirecting to /bin/systemctl ${ACTION}${OPTIONS:+ }${OPTIONS} ${SERVICE_MANGLED}" >&2
21
+-   exec /bin/systemctl ${ACTION} ${OPTIONS} ${SERVICE_MANGLED}
21 22
  else
22 23
     echo $"The service command supports only basic LSB actions (start, stop, restart, try-restart, reload, force-reload, status). For other actions, please try to use systemctl." >&2
23 24
     exit 2