Browse code

Update sshpass, strace, strongswan, subversion, sudo, swig, sysdig, sysstat, systemtap, tar

Change-Id: I501ae49b5dc5b8939b59f13a52211d02d4f1b5b1
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/2398
Tested-by: gerrit-photon <photon-checkins@vmware.com>
Reviewed-by: Xiaolin Li <xiaolinl@vmware.com>

Vinay Kulkarni authored on 2017/04/13 07:12:23
Showing 11 changed files
... ...
@@ -1,22 +1,25 @@
1 1
 Summary:	Noninteractive ssh password provider 
2 2
 Name:		sshpass
3
-Version:	1.05
4
-Release:	4%{?dist}
3
+Version:	1.06
4
+Release:	1%{?dist}
5 5
 License:	GPLv2+
6 6
 URL:		http://sourceforge.net/projects/sshpass/
7
-Source0:	http://downloads.sourceforge.net/project/sshpass/sshpass/1.05/sshpass-1.05.tar.gz
8
-%define sha1 sshpass=6dafec86dd74315913417829542f4023545c8fd7
7
+Source0:	http://downloads.sourceforge.net/project/sshpass/%{name}/%{version}/%{name}-%{version}.tar.gz
8
+%define sha1 sshpass=633652e2160819ac7c7e1a351327027d2faa4fd6
9 9
 Group:		Applications/Networking
10 10
 Vendor:		VMware, Inc.
11 11
 Distribution:	Photon
12 12
 Requires:       openssh
13
+
13 14
 %description
14 15
 sshpass is a utility designed for running ssh using the mode referred to as "keyboard-interactive" password authentication, but in non-interactive mode. 
15 16
 %prep
16 17
 %setup -q
18
+
17 19
 %build
18 20
 ./configure --prefix=%{_prefix} 
19 21
 make %{?_smp_mflags}
22
+
20 23
 %install
21 24
 rm -rf %{buildroot}
22 25
 make prefix=%{_prefix}	DESTDIR=%{buildroot} install
... ...
@@ -31,6 +34,8 @@ rm -rf %{buildroot}/*
31 31
 %{_mandir}/man1
32 32
 
33 33
 %changelog
34
+*       Wed Apr 12 2017 Vinay Kulkarni <kulkarniv@vmware.com> 1.06-1
35
+-       Update to version 1.06
34 36
 *       Mon Oct 04 2016 ChangLee <changlee@vmware.com> 1.05-4
35 37
 -       Modified %check
36 38
 *	Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 1.05-3
... ...
@@ -1,14 +1,14 @@
1 1
 Summary:	Tracks system calls that are made by a running process
2 2
 Name:		strace
3
-Version:	4.11
4
-Release:	3%{?dist}
3
+Version:	4.16
4
+Release:	1%{?dist}
5 5
 License:	BSD
6 6
 URL:		http://sourceforge.net/p/strace/code/ci/master/tree/
7 7
 Group:		Development/Debuggers
8 8
 Vendor:		VMware, Inc.
9 9
 Distribution:	Photon
10 10
 Source0:	http://downloads.sourceforge.net/project/strace/strace/%{version}/%{name}-%{version}.tar.xz
11
-%define sha1 strace=8fd717dc3c51b69fde51ce0bdb066404a678363c
11
+%define sha1 strace=b780a8cd2e60ea836cfd3468e0f81623a346d180
12 12
 BuildRequires:	libacl-devel, libaio-devel
13 13
 %global __requires_exclude ^/usr/bin/perl$
14 14
 
... ...
@@ -18,8 +18,8 @@ all the arugments and return values from the system calls. This is useful in deb
18 18
 
19 19
 %prep
20 20
 %setup -q
21
-%build
22 21
 
22
+%build
23 23
 ./configure \
24 24
 	--prefix=%{_prefix} \
25 25
 
... ...
@@ -39,7 +39,10 @@ rm -rf %{buildroot}/*
39 39
 %defattr(-,root,root)
40 40
 %{_bindir}/*
41 41
 %{_mandir}/man1/*
42
+
42 43
 %changelog
44
+*	Wed Apr 12 2017 Vinay Kulkarni <kulkarniv@vmware.com> 4.16-1
45
+-	Update to version 4.16
43 46
 *	Thu Oct 20 2016 Alexey Makhalov <amakhalov@vmware.com> 4.11-3
44 47
 -	Exclude perl dependency
45 48
 *	Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 4.11-2
... ...
@@ -1,14 +1,14 @@
1 1
 Summary:          The OpenSource IPsec-based VPN Solution
2 2
 Name:             strongswan
3
-Version:          5.5.1
3
+Version:          5.5.2
4 4
 Release:          1%{?dist}
5 5
 License:          GPLv2+
6 6
 URL:              https://www.strongswan.org/
7 7
 Group:            System Environment/Security
8 8
 Vendor:           VMware, Inc.
9 9
 Distribution:     Photon
10
-Source0:          https://download.strongswan.org/strongswan-5.5.1.tar.bz2
11
-%define sha1      strongswan=7d400eb501ac9e41eb889199891457003baa284c
10
+Source0:          https://download.strongswan.org/%{name}-%{version}.tar.bz2
11
+%define sha1      strongswan=0f181715fd25a98a9e0d3227b594c6fc8ed429c2
12 12
 
13 13
 BuildRequires:    autoconf
14 14
 
... ...
@@ -20,8 +20,8 @@ strongSwan is a complete IPsec implementation for Linux 2.6, 3.x, and 4.x kernel
20 20
 
21 21
 %build
22 22
 ./configure --prefix=%{_prefix} --sysconfdir=%{_sysconfdir}
23
-
24 23
 make %{?_smp_mflags}
24
+
25 25
 %install
26 26
 [ %{buildroot} != "/"] && rm -rf %{buildroot}/*
27 27
 make DESTDIR=%{buildroot} install
... ...
@@ -44,7 +44,8 @@ rm -rf %{buildroot}/*
44 44
 %{_mandir}/man[158]/*
45 45
 %{_datadir}/strongswan/*
46 46
 
47
-
48 47
 %changelog
48
+*   Wed Apr 12 2017 Vinay Kulkarni <kulkarniv@vmware.com> 5.5.2-1
49
+-   Update to version 5.5.2
49 50
 *   Wed Dec 21 2016 Xiaolin Li <xiaolinl@vmware.com>  5.5.1-1
50 51
 -   Initial build.
... ...
@@ -1,14 +1,14 @@
1 1
 Summary:        The Apache Subversion control system
2 2
 Name:           subversion
3
-Version:        1.9.4
4
-Release:        2%{?dist}
3
+Version:        1.9.5
4
+Release:        1%{?dist}
5 5
 License:        Apache License 2.0
6 6
 URL:            http://subversion.apache.org/
7 7
 Group:          Utilities/System
8 8
 Vendor:         VMware, Inc.
9 9
 Distribution:   Photon
10 10
 Source0:        http://archive.apache.org/dist/%{name}/%{name}-%{version}.tar.bz2
11
-%define sha1    subversion=bc7d51fdda43bea01e1272dfe9d23d0a9d6cd11c
11
+%define sha1    subversion=8bd6a44a1aed30c4c6b6b068488dafb44eaa6adf
12 12
 Requires:       apr
13 13
 Requires:       apr-util
14 14
 BuildRequires:  apr-devel
... ...
@@ -29,6 +29,7 @@ Requires:   %{name} = %{version}
29 29
 
30 30
 %prep
31 31
 %setup -q
32
+
32 33
 %build
33 34
 ./configure --prefix=%{_prefix}         \
34 35
         --disable-static                \
... ...
@@ -58,6 +59,8 @@ make  %{?_smp_mflags} check
58 58
 %exclude %{_libdir}/debug/
59 59
 
60 60
 %changelog
61
+*   Wed Apr 12 2017 Vinay Kulkarni <kulkarniv@vmware.com> 1.9.5-1
62
+-   Update to version 1.9.5
61 63
 *   Tue Dec 27 2016 Xiaolin Li <xiaolinl@vmware.com> 1.9.4-2
62 64
 -   Moved pkgconfig/*.pc to devel subpackage.
63 65
 *   Wed Nov 23 2016 Harish Udaiya Kumar <hudaiyakumar@vmware.com> 1.9.4-1
... ...
@@ -1,37 +1,39 @@
1 1
 Summary:        Sudo
2 2
 Name:           sudo
3
-Version:        1.8.18p1
4
-Release:        3%{?dist}
3
+Version:        1.8.19p2
4
+Release:        1%{?dist}
5 5
 License:        ISC
6
-URL:            https://www.kernel.org/pub/linux/libs/pam/
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=2df9c1f68b1101aa600ef428bccda1b4a3090ff3
11
+%define sha1    sudo=78868ef825e7b6db246d99160ec16fd4e4c93f3f
12 12
 BuildRequires:  man-db
13 13
 BuildRequires:  Linux-PAM-devel
14 14
 Requires:       Linux-PAM
15 15
 Requires:       shadow
16
+
16 17
 %description
17 18
 The Sudo package allows a system administrator to give certain users (or groups of users) 
18 19
 the ability to run some (or all) commands as root or another user while logging the commands and arguments.
19 20
 
20 21
 %prep
21 22
 %setup -q
22
-%build
23 23
 
24
+%build
24 25
 ./configure \
25 26
     --prefix=%{_prefix} \
26 27
     --bindir=%{_bindir} \
27 28
     --libexecdir=%{_libdir} \
28
-        --docdir=%{_docdir}/%{name}-%{version} \
29
-    --with-all-insults         \
30
-        --with-env-editor          \
31
-    --with-pam                 \
32
-        --with-passprompt="[sudo] password for %p"
29
+    --docdir=%{_docdir}/%{name}-%{version} \
30
+    --with-all-insults \
31
+    --with-env-editor \
32
+    --with-pam \
33
+    --with-passprompt="[sudo] password for %p"
33 34
 
34 35
 make %{?_smp_mflags}
36
+
35 37
 %install
36 38
 [ %{buildroot} != "/"] && rm -rf %{buildroot}/*
37 39
 make install DESTDIR=%{buildroot}
... ...
@@ -63,9 +65,12 @@ make %{?_smp_mflags} check
63 63
 if [ $1 -eq 1 ] ; then
64 64
   getent group wheel > /dev/null || groupadd wheel
65 65
 fi
66
+
66 67
 %postun -p /sbin/ldconfig
68
+
67 69
 %clean
68 70
 rm -rf %{buildroot}/*
71
+
69 72
 %files -f %{name}.lang
70 73
 %defattr(-,root,root)
71 74
 %attr(0440,root,root) %config(noreplace) %{_sysconfdir}/sudoers
... ...
@@ -80,7 +85,10 @@ rm -rf %{buildroot}/*
80 80
 %{_mandir}/man8/*
81 81
 %{_docdir}/%{name}-%{version}/*
82 82
 %{_datarootdir}/locale/*
83
+
83 84
 %changelog
85
+*   Wed Apr 12 2017 Vinay Kulkarni <kulkarniv@vmware.com> 1.8.19p2-1
86
+-   Update to version 1.8.19p2
84 87
 *   Wed Dec 07 2016 Xiaolin Li <xiaolinl@vmware.com> 1.8.18p1-3
85 88
 -   BuildRequires Linux-PAM-devel
86 89
 *   Thu Oct 20 2016 Alexey Makhalov <amakhalov@vmware.com> 1.8.18p1-2
... ...
@@ -1,11 +1,11 @@
1 1
 Summary:	Connects C/C++/Objective C to some high-level programming languages
2 2
 Name:		swig
3
-Version:	3.0.8
4
-Release:	3%{?dist}
3
+Version:	3.0.12
4
+Release:	1%{?dist}
5 5
 License:	GPLv3+ and BSD
6 6
 URL:		http://swig.sourceforge.net/
7 7
 Source0:	http://downloads.sourceforge.net/project/swig/swig/swig-%{version}/swig-%{version}.tar.gz
8
-%define sha1 swig=1f45e96219536b3423b8d4dbd03614ffccca9c33
8
+%define sha1 swig=5cc1af41d041e4cc609580b99bb3dcf720effa25
9 9
 Vendor:		VMware, Inc.
10 10
 Distribution:	Photon
11 11
 BuildRequires:	pcre-devel
... ...
@@ -51,7 +51,9 @@ make %{?_smp_mflags} check
51 51
 %{_libdir}/ccache
52 52
 
53 53
 %changelog
54
-*       Mon Oct 04 2016 ChangLee <changlee@vmware.com> 3.0.8-3
54
+*       Wed Apr 12 2017 Vinay Kulkarni <kulkarniv@vmware.com> 3.0.12-1
55
+-       Update to version 3.0.12
56
+*       Tue Oct 04 2016 ChangLee <changlee@vmware.com> 3.0.8-3
55 57
 -       Modified %check
56 58
 *	Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 3.0.8-2
57 59
 -	GA - Bump release of all rpms
... ...
@@ -1,22 +1,22 @@
1 1
 %global security_hardening none
2 2
 Summary:        Sysdig is a universal system visibility tool with native support for containers.
3 3
 Name:           sysdig
4
-Version:        0.10.1
5
-Release:        6%{?kernelsubrelease}%{?dist}
4
+Version:        0.15.1
5
+Release:        1%{?kernelsubrelease}%{?dist}
6 6
 License:        GPLv2
7 7
 URL:            http://www.sysdig.org/
8 8
 Group:          Applications/System
9 9
 Vendor:         VMware, Inc.
10 10
 Distribution:   Photon
11 11
 Source0:        https://github.com/draios/sysdig/archive/%{name}-%{version}.tar.gz
12
-%define sha1    sysdig=272b95ad02be4d194bba66d360ff935084d9c842
13
-Patch0:         sysdig_for_4.9.2.patch
12
+%define sha1    sysdig=5b1a7a4978315176412989b5400572d849691917
14 13
 BuildRequires:  cmake 
15 14
 BuildRequires:  linux-devel = %{KERNEL_VERSION}-%{KERNEL_RELEASE}
16 15
 BuildRequires:  openssl-devel
17 16
 BuildRequires:  curl-devel
18 17
 BuildRequires:  zlib-devel
19 18
 BuildRequires:  ncurses-devel
19
+BuildRequires:  wget
20 20
 Requires:       linux = %{KERNEL_VERSION}-%{KERNEL_RELEASE}
21 21
 Requires:       zlib
22 22
 Requires:       ncurses
... ...
@@ -28,7 +28,6 @@ Requires:       curl
28 28
 
29 29
 %prep
30 30
 %setup -q
31
-%patch0 -p1
32 31
 
33 32
 %build
34 33
 # fix for linux-4.9
... ...
@@ -75,6 +74,8 @@ rm -rf %{buildroot}/*
75 75
 /lib/modules/%{KERNEL_VERSION}-%{KERNEL_RELEASE}/extra/sysdig-probe.ko
76 76
 
77 77
 %changelog
78
+*   Wed Apr 12 2017 Vinay Kulkarni <kulkarniv@vmware.com> 0.15.1-1
79
+-   Update to version 0.15.1
78 80
 *   Wed Jan 11 2017 Alexey Makhalov <amakhalov@vmware.com> 0.10.1-6
79 81
 -   Fix building for linux-4.9.2
80 82
 *   Mon Dec 19 2016 Xiaolin Li <xiaolinl@vmware.com> 0.10.1-5
81 83
deleted file mode 100644
... ...
@@ -1,12 +0,0 @@
1
-diff -Naur sysdig-0.12.1_orig/driver/main.c sysdig-0.12.1/driver/main.c
2
-+++ sysdig-0.12.1/driver/main.c	2017-01-11 02:12:39.990492919 -0800
3
-@@ -1730,7 +1730,7 @@
4
- }
5
- 
6
- int __access_remote_vm(struct task_struct *t, struct mm_struct *mm, unsigned long addr,
7
--		       void *buf, int len, int write);
8
-+		       void *buf, int len, unsigned int write);
9
- 
10
- TRACEPOINT_PROBE(syscall_procexit_probe, struct task_struct *p)
11
- {
... ...
@@ -1,6 +1,6 @@
1 1
 Summary:        The Sysstat package contains utilities to monitor system performance and usage activity
2 2
 Name:           sysstat
3
-Version:        11.4.2
3
+Version:        11.4.3
4 4
 Release:        1%{?dist}
5 5
 License:        GPLv2
6 6
 URL:            http://sebastien.godard.pagesperso-orange.fr/
... ...
@@ -8,7 +8,7 @@ Group:          Development/Debuggers
8 8
 Vendor:         VMware, Inc.
9 9
 Distribution:   Photon
10 10
 Source0:        http://perso.wanadoo.fr/sebastien.godard/%{name}-%{version}.tar.xz
11
-%define sha1    sysstat=84ac7feba76049f201e203c7ce0cc750479a9d43
11
+%define sha1    sysstat=805002b2bef00cd9ab44c5037d09b29cb71a17f8
12 12
 BuildRequires:  cronie
13 13
 Requires:       cronie
14 14
 %description
... ...
@@ -51,6 +51,8 @@ rm -rf %{buildroot}/*
51 51
 
52 52
 
53 53
 %changelog
54
+*   Tue Apr 11 2017 Vinay Kulkarni <kulkarniv@vmware.com> 11.4.3-1
55
+-   Update to version 11.4.3
54 56
 *   Thu Jan 05 2017 Xiaolin Li <xiaolinl@vmware.com> 11.4.2-1
55 57
 -   Updated to version 11.4.2 and enable install cron.
56 58
 *   Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 11.2.0-3
... ...
@@ -7,15 +7,15 @@
7 7
 %define        with_sqlite    1
8 8
 
9 9
 Name:          systemtap
10
-Version:       3.0
11
-Release:       4%{?dist}
10
+Version:       3.1
11
+Release:       1%{?dist}
12 12
 Summary:       Programmable system-wide instrumentation system
13 13
 Group:         Development/System
14 14
 Vendor:	       VMware, Inc.
15 15
 Distribution:  Photon
16 16
 URL:           http://sourceware.org/systemtap/
17 17
 Source0:       http://sourceware.org/systemtap/ftp/releases/systemtap-%{version}.tar.gz
18
-%define sha1 systemtap=5ef3a2d9945b0f6bae0061e33811e25e5138f5b7
18
+%define sha1 systemtap=2927ee7e780b45e47d770798f80dfd5be62e095d
19 19
 License:       GPLv2+
20 20
 
21 21
 BuildRequires: elfutils-devel
... ...
@@ -29,6 +29,7 @@ BuildRequires: libstdc++-devel
29 29
 BuildRequires: libtirpc-devel
30 30
 BuildRequires: libxml2-devel
31 31
 BuildRequires: perl
32
+BuildRequires: python-setuptools
32 33
 BuildRequires: nss
33 34
 %if %with_boost 
34 35
 BuildRequires: boost-devel
... ...
@@ -67,6 +68,13 @@ Requires:      initscripts
67 67
 %description initscript
68 68
 Initscript for Systemtap scripts.
69 69
 
70
+%package python
71
+Group:         System/Tools
72
+Summary:       Python interface for systemtap
73
+
74
+%description python
75
+This packages has the python interface to systemtap
76
+
70 77
 %package runtime
71 78
 Group:         System/Tools
72 79
 Summary:       Instrumentation System Runtime
... ...
@@ -134,7 +142,7 @@ make
134 134
 [ "%{buildroot}" != / ] && rm -rf ""
135 135
 %makeinstall
136 136
 
137
-mv %{buildroot}%{_datadir}/doc/systemtap/examples examples
137
+mv %{buildroot}%{_datadir}/systemtap/examples examples
138 138
 
139 139
 find examples -type f -name '*.stp' -print0 | xargs -0 sed -i -r -e '1s@^#!.+stap@#!%{_bindir}/stap@'
140 140
 
... ...
@@ -154,10 +162,10 @@ mkdir -p %{buildroot}%{_localstatedir}/run/systemtap
154 154
 
155 155
 %if %with_docs
156 156
 mkdir docs.installed
157
-mv %{buildroot}%{_datadir}/doc/systemtap/*.pdf docs.installed/
158
-mv %{buildroot}%{_datadir}/doc/systemtap/tapsets docs.installed/
157
+mv %{buildroot}%{_datadir}/systemtap/*.pdf docs.installed/
158
+mv %{buildroot}%{_datadir}/systemtap/tapsets docs.installed/
159 159
 %if %with_publican
160
-mv %{buildroot}%{_datadir}/doc/systemtap/SystemTap_Beginners_Guide docs.installed/
160
+mv %{buildroot}%{_datadir}/systemtap/SystemTap_Beginners_Guide docs.installed/
161 161
 %endif
162 162
 %endif
163 163
 
... ...
@@ -296,6 +304,11 @@ fi
296 296
 %dir %{_localstatedir}/cache/systemtap
297 297
 %dir %{_localstatedir}/run/systemtap
298 298
 
299
+%files python
300
+%defattr(-,root,root)
301
+/usr/lib/python2.7/site-packages/*
302
+/usr/libexec/systemtap/python/stap-resolve-module-function.py
303
+
299 304
 %files runtime
300 305
 %defattr(-,root,root)
301 306
 %attr(4111,root,root) %{_bindir}/staprun
... ...
@@ -333,11 +346,13 @@ fi
333 333
 %{_mandir}/man8/stap-server.8*
334 334
 
335 335
 %changelog
336
+*   Tue Apr 11 2017 Vinay Kulkarni <kulkarniv@vmware.com> 3.1-1
337
+-   Update to version 3.1
336 338
 *   Mon Nov 21 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 3.0-4
337 339
 -   add shadow to requires
338 340
 *   Wed Nov 16 2016 Alexey Makhalov <amakhalov@vmware.com> 3.0-3
339 341
 -   Use sqlite-{devel,libs}
340
-*   Mon Oct 04 2016 ChangLee <changlee@vmware.com> 3.0-2
342
+*   Tue Oct 04 2016 ChangLee <changlee@vmware.com> 3.0-2
341 343
 -   Modified %check
342 344
 *   Fri Jul 22 2016 Divya Thaluru <dthaluru@vmware.com> 3.0-1 
343 345
 -   Updated version to 3.0
... ...
@@ -1,14 +1,14 @@
1 1
 Summary:	Archiving program
2 2
 Name:		tar
3
-Version:	1.28
4
-Release:	3%{?dist}
3
+Version:	1.29
4
+Release:	1%{?dist}
5 5
 License:	GPLv3+
6 6
 URL:		http://www.gnu.org/software/tar
7 7
 Group:		Applications/System
8 8
 Vendor:		VMware, Inc.
9
-Distribution: Photon
9
+Distribution: 	Photon
10 10
 Source0:	tar/%{name}-%{version}.tar.xz
11
-%define sha1 tar=40f3470a96b80749531fe48dbba99e43b6dfa7d3
11
+%define sha1 tar=03851c34c90f0656177f2dd375cd61bd1204c51d
12 12
 %description
13 13
 Contains GNU archiving program
14 14
 %prep
... ...
@@ -35,6 +35,8 @@ make  %{?_smp_mflags} check
35 35
 %{_defaultdocdir}/%{name}-%{version}/*
36 36
 %{_mandir}/*/*
37 37
 %changelog
38
+*       Tue Apr 11 2017 Vinay Kulkarni <kulkarniv@vmware.com> 1.29-1
39
+-       Update to version 1.29.
38 40
 *       Mon Oct 10 2016 ChangLee <changlee@vmware.com> 1.28-3
39 41
 -       Modified %check
40 42
 *	Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 1.28-2