Browse code

Update packages ruby,sudo,sysstat,tar,which

Change-Id: I4baf189cd68cdf20da625fb261d077ce31191314
Reviewed-on: http://photon-jenkins.eng.vmware.com/400
Tested-by: jenkins-photon <wangnan2015@hotmail.com>
Reviewed-by: suezzelur <anishs@vmware.com>

ppadmavilasom authored on 2016/01/22 16:27:26
Showing 6 changed files
... ...
@@ -1,14 +1,14 @@
1 1
 Summary:	Ruby
2 2
 Name:		ruby
3
-Version:	2.2.1
3
+Version:	2.3.0
4 4
 Release:	1%{?dist}
5 5
 License:	BSDL
6 6
 URL:		https://www.ruby-lang.org/en/
7 7
 Group:		System Environment/Security
8 8
 Vendor:		VMware, Inc.
9 9
 Distribution: Photon
10
-Source0:	http://cache.ruby-lang.org/pub/ruby/2.2/%{name}-%{version}.tar.gz
11
-%define sha1 ruby=12376b79163e02bc9bd1a39329d67c3d19ccace9
10
+Source0:	http://cache.ruby-lang.org/pub/ruby/2.3/%{name}-%{version}.tar.gz
11
+%define sha1 ruby=2dfcf7f33bda4078efca30ae28cb89cd0e36ddc4
12 12
 BuildRequires:	openssl-devel
13 13
 BuildRequires:	ca-certificates
14 14
 Requires:	ca-certificates
... ...
@@ -48,6 +48,8 @@ rm -rf %{buildroot}/*
48 48
 %{_docdir}/%{name}-%{version}
49 49
 %{_mandir}/man1/*
50 50
 %changelog
51
+*   Wed Jan 20 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 2.3.0-1
52
+-   Updated to 2.3.0-1
51 53
 *   Tue Apr 28 2015 Fabio Rapposelli <fabio@vmware.com> 2.2.1-2
52 54
 -   Added SSL support
53 55
 *   Mon Apr 6 2015 Mahmoud Bassiouny <mbassiouny@vmware.com> 2.2.1-1
... ...
@@ -1,14 +1,14 @@
1 1
 Summary:	Sudo
2 2
 Name:		sudo
3
-Version:	1.8.11p1
4
-Release:	5%{?dist}
3
+Version:	1.8.15
4
+Release:	1%{?dist}
5 5
 License:	ISC
6 6
 URL:		https://www.kernel.org/pub/linux/libs/pam/
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=3c442d59c0e112d4a43ffba434580e93fe1a766f
11
+%define sha1 sudo=acb5ff3f38fa9e0365f6a91a6620b9846e2ad843
12 12
 BuildRequires:	man-db
13 13
 BuildRequires:	Linux-PAM
14 14
 Requires:	Linux-PAM
... ...
@@ -38,6 +38,7 @@ make %{?_smp_mflags}
38 38
 make install DESTDIR=%{buildroot}
39 39
 install -v -dm755 %{buildroot}/%{_docdir}/%{name}-%{version}
40 40
 find %{buildroot}/%{_libdir} -name '*.la' -delete
41
+find %{buildroot}/%{_libdir} -name '*.so~' -delete
41 42
 cat >> %{buildroot}/etc/sudoers << EOF
42 43
 %wheel ALL=(ALL) ALL
43 44
 %sudo   ALL=(ALL) ALL
... ...
@@ -77,6 +78,8 @@ rm -rf %{buildroot}/*
77 77
 %{_docdir}/%{name}-%{version}/*
78 78
 %{_datarootdir}/locale/*
79 79
 %changelog
80
+*	Wed Jan 20 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 1.8.15-1
81
+-	Update to 1.8.15-1.
80 82
 *	Wed Dec 09 2015 Anish Swaminathan <anishs@vmware.com> 1.8.11p1-5
81 83
 -	Edit post script.
82 84
 *	Mon Jun 22 2015 Divya Thaluru <dthaluru@vmware.com> 1.8.11p1-4
... ...
@@ -1,14 +1,14 @@
1 1
 Summary:	The Sysstat package contains utilities to monitor system performance and usage activity
2 2
 Name:		sysstat 
3
-Version:	11.1.8
3
+Version:	11.2.0
4 4
 Release:	1%{?dist}
5 5
 License:	GPLv2 
6 6
 URL:		http://sebastien.godard.pagesperso-orange.fr/
7 7
 Group:		Development/Debuggers
8 8
 Vendor:		VMware, Inc.
9 9
 Distribution:	Photon
10
-Source0:	http://perso.wanadoo.fr/sebastien.godard/sysstat-11.1.8.tar.xz
11
-%define sha1 sysstat=2da5098c4d6626a85821d943ab3299b003c39f4e
10
+Source0:	http://perso.wanadoo.fr/sebastien.godard/sysstat-11.2.0.tar.xz
11
+%define sha1 sysstat=61b70892d864f8bac5714e2fe0a006f0fda6efba
12 12
 
13 13
 %description
14 14
  The Sysstat package contains utilities to monitor system performance and usage activity. Sysstat contains the sar utility, common to many commercial Unixes, and tools you can schedule via cron to collect and historize performance and activity data. 
... ...
@@ -35,5 +35,7 @@ rm -rf %{buildroot}/*
35 35
 %{_libdir}
36 36
 
37 37
 %changelog
38
+*	Wed Jan 20 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 11.2.0-1
39
+-	Update to 11.2.0-1.
38 40
 *	Mon Nov 30 2015 Harish Udaiya Kumar <hudaiyakumar@vmware.com> 11.1.8-1
39 41
 -	Initial build.	First version
40 42
deleted file mode 100644
... ...
@@ -1,332 +0,0 @@
1
-Submitted By:            Igor Živković <contact@igor-zivkovic.from.hr>
2
-Date:                    2013-08-31
3
-Initial Package Version: 1.26
4
-Upstream Status:         Unknown
5
-Origin:                  Debian
6
-Description:             Makes tar man page from src/tar.c
7
-                         Usage: perl tarman > /usr/share/man/man1/tar.1
8
-
9
-diff -Naur tar-1.26.orig/tarman tar-1.26/tarman
10
-+++ tar-1.26/tarman	2013-08-31 18:19:11.938351028 +0200
11
-@@ -0,0 +1,320 @@
12
-+#!/usr/bin/env perl
13
-+
14
-+use strict;
15
-+
16
-+my $t = "".localtime(time);
17
-+my $datestr = substr($t,4,3)." ".substr($t,8,2).", ".substr($t,20,4);
18
-+
19
-+@ARGV=qw(src/tar.c);
20
-+my $mode;
21
-+my @operations;
22
-+my $lastoperation;
23
-+my @options;
24
-+my @formats;
25
-+my @short;
26
-+my $examples;
27
-+my $saw_format;
28
-+my @env_vars;
29
-+while (<>) {
30
-+	my $nflag = 0;
31
-+	chomp;
32
-+# print "$mode: $_\n";
33
-+	if (/getenv.*"/) {
34
-+		next if defined($mode);
35
-+		my @c1 = split('"');
36
-+		if ($#c1 > 0) {
37
-+			push @env_vars, $c1[1];
38
-+		}
39
-+	}
40
-+	if (/Main operation mode:/) {
41
-+		$mode = 1;
42
-+		next;
43
-+	}
44
-+	if (/Operation modifiers:/) {
45
-+		$mode = 2;
46
-+		next;
47
-+	}
48
-+	if (/Examples:/) {
49
-+		$mode = 3;
50
-+		next;
51
-+	}
52
-+	if (/define GRID/) {
53
-+		$mode = 2;
54
-+	}
55
-+	if (/undef GRID/) {
56
-+		undef $lastoperation;
57
-+		undef $mode;
58
-+		next;
59
-+	}
60
-+	if ($mode == 1 || $mode == 2) {
61
-+		if (/{"/) {	# }
62
-+			my @j = split(',');
63
-+			my @c1 = split('"', $j[0]);
64
-+			if (/OPTION_ALIAS/) {
65
-+				next unless defined($lastoperation);
66
-+				push @{$$lastoperation{'alias'} }, $c1[1];
67
-+				next;
68
-+			}
69
-+			my %newhash = ();
70
-+			$lastoperation = \%newhash;
71
-+			my $name = $c1[1];
72
-+			if ($name =~ /^  /) {
73
-+				$name =~ s/^  */format=/;
74
-+				push @formats, $lastoperation;
75
-+			} elsif ($mode == 1) {
76
-+				push @operations, $lastoperation;
77
-+			} else {
78
-+				push @options, $lastoperation;
79
-+			}
80
-+			$newhash{'name'} = $name;
81
-+			if ($mode == 2 && $name eq 'format') {
82
-+				$saw_format = $lastoperation;
83
-+			}
84
-+			my @c2 = split("'", $j[1]);
85
-+			if ($#c2 > 0) {
86
-+				$newhash{'short'} = $c2[1];
87
-+				push @short, $c2[1] if ($mode == 1);
88
-+			}
89
-+			if ($j[2] =~ /N_/) {
90
-+				$nflag = 1;
91
-+			}
92
-+		}
93
-+		if (/N_/) {
94
-+			next unless defined($lastoperation);
95
-+			my $nrest = $_;
96
-+			$nrest =~ s/.*N_//;
97
-+			my @c3 = split('"', $nrest);
98
-+			if ($#c3 > 0) {
99
-+				if ($nflag) {
100
-+					$$lastoperation{'operand'} .= $c3[1];
101
-+				} else {
102
-+					$$lastoperation{'description'} .= $c3[1];
103
-+				}
104
-+			}
105
-+		}
106
-+	}
107
-+	if ($mode == 3 ) {
108
-+		my $j = $_;
109
-+		$j =~ s/\\n.*//;
110
-+		my ($c1, $c2) = split('#', $j, 2);
111
-+		$c1 =~ s/  *$//;
112
-+		$c1 =~ s/^  *//;
113
-+$c1 =~ s/-/\\-/g;
114
-+		$c2 =~ s/^  *//;
115
-+$examples .= <<".";
116
-+$c2
117
-+.Bd -literal -offset indent -compact
118
-+$c1
119
-+.Ed
120
-+.
121
-+		# (
122
-+		if (/"\)/) {
123
-+			undef $mode;
124
-+		}
125
-+	}
126
-+}
127
-+
128
-+# for my $q ( @operations) {
129
-+# 	print "\nshort=".$$q{'short'}."\n";
130
-+# 	print "name=".$$q{'name'}."\n";
131
-+# 	print "desc=".$$q{'description'}."\n";
132
-+# 	if (defined($$q{'alias'})) {
133
-+# 		print "alias=".join(',',@{ $$q{'alias'}})."\n";
134
-+# 	}
135
-+# }
136
-+
137
-+sub long2nroff {
138
-+	my $f = shift;
139
-+	if ($f !~ /^-/) {
140
-+		$f = "Fl -$f";
141
-+	}
142
-+	$f =~ s/-/\\-/g;
143
-+	return $f;
144
-+}
145
-+
146
-+sub format_options
147
-+{
148
-+	my $h = shift;
149
-+	my $r;
150
-+	for my $q ( @$h ) {
151
-+		$r .= ".It";
152
-+		my @functions;
153
-+		push @functions, " Fl ".$$q{'short'} if defined($$q{'short'});
154
-+		push @functions, " ".long2nroff($$q{'name'});
155
-+		push @functions, join(' ', '', map {long2nroff $_} @{ $$q{'alias'} })
156
-+			if defined($$q{'alias'});
157
-+		$r .= join(' ,', @functions);
158
-+		if (defined($$q{'operand'})) {
159
-+			if ($#functions > 0) {
160
-+				$r .= " ";
161
-+			} else {
162
-+				$r .= " Ns \\= Ns ";
163
-+			}
164
-+			$r .= "Ar ".$$q{'operand'};
165
-+		}
166
-+		$r .= "\n".$$q{'description'}."\n";
167
-+		$r .= $$q{'extra'};
168
-+	}
169
-+	return $r;
170
-+}
171
-+
172
-+sub optionkeyword
173
-+{
174
-+	my $h = shift;
175
-+	my $k = $$h{'short'};
176
-+	$k = $$h{'name'} if !defined($k);
177
-+	my $l = $k;
178
-+	if ($l =~ s/^no-//) {
179
-+		$l .= "-no";
180
-+	}
181
-+	return ($l,$k);
182
-+}
183
-+
184
-+sub optioncmp
185
-+{
186
-+	my ($x1, $x2) = optionkeyword($a);
187
-+	my ($y1, $y2) = optionkeyword($b);
188
-+	my $r = lc($x1) cmp lc($y1);
189
-+	return $r if $r;
190
-+	$r = $y1 cmp $x1;
191
-+	return $r if $r;
192
-+	return $x2 cmp $y2;
193
-+}
194
-+
195
-+@operations = sort optioncmp @operations;
196
-+@operations = sort optioncmp @operations;
197
-+@options = sort optioncmp @options;
198
-+@formats = sort optioncmp @formats;
199
-+
200
-+if ($#formats >= 0 && !$saw_format) {
201
-+	print STDERR "FIXME: saw --format=X but no root --format!\n";
202
-+	exit(1);
203
-+}
204
-+
205
-+my $function_letters;
206
-+my $short_letters = join('', sort @short);
207
-+my $option_letters;
208
-+my $format_letters;
209
-+my $command_string = <<".";
210
-+.Nm tar
211
-+.
212
-+$command_string .= ".Oo Fl Oc";
213
-+my $env_variables;
214
-+my %env_description = (
215
-+'SIMPLE_BACKUP_SUFFIX' => <<".",
216
-+Backup prefix to use when extracting, if
217
-+.Fl \\-suffix
218
-+is not specified.
219
-+The backup suffix defaults to `~' if neither is specified.
220
-+.
221
-+'TAPE' => <<".",
222
-+Device or file to use for the archive if 
223
-+.Fl \\-file
224
-+is not specified.
225
-+If this environment variable is unset, use stdin or stdout instead.
226
-+.
227
-+'TAR_OPTIONS' => <<".",
228
-+Options to prepend to those specified on the command line, separated by
229
-+whitespace.  Embedded backslashes may be used to escape whitespace or
230
-+backslashes within an option.
231
-+.
232
-+);
233
-+my $sep = "";
234
-+for my $q ( @operations) {
235
-+	$command_string .= " Cm";
236
-+	$command_string .= $sep;
237
-+	$command_string .= " ".$$q{'short'} if defined($$q{'short'});
238
-+	$command_string .= " ".long2nroff($$q{'name'});
239
-+	if (defined($$q{'alias'})) {
240
-+		my $t = join(' ', '', map{long2nroff $_} @{ $$q{'alias'} });
241
-+		$t =~ s/ Fl / /g;
242
-+		$command_string .= $t;
243
-+	}
244
-+	$sep = " \\||\\|";
245
-+}
246
-+$function_letters = ".Bl -tag -width flag\n";
247
-+$function_letters .= format_options(\@operations);
248
-+$function_letters .= ".El";
249
-+if ($#formats >= 0) {
250
-+	$format_letters = ".Bl -tag -width flag\n";
251
-+	$format_letters .= format_options(\@formats);
252
-+	$format_letters .= ".El\n";
253
-+	$$saw_format{'extra'} = $format_letters;
254
-+}
255
-+### Ar Cm Ic Li Nm Op Pa Va
256
-+$option_letters = ".Bl -tag -width flag\n";
257
-+$option_letters .= format_options(\@options);
258
-+$option_letters .= ".El";
259
-+$env_variables .= ".Bl -tag -width Ds\n";
260
-+for my $q ( @env_vars) {
261
-+	$env_variables .= ".It Ev $q\n";
262
-+	$env_variables .= $env_description{$q};
263
-+}
264
-+$env_variables .= ".El";
265
-+
266
-+$examples =~ s/\n$//;
267
-+$function_letters =~ s/\n$//;
268
-+$option_letters =~ s/\n$//;
269
-+$env_variables =~ s/\n$//;
270
-+print <<".";
271
-+.\\" generated by script on $t
272
-+.Dd $datestr
273
-+.Dt TAR 1
274
-+.Sh NAME
275
-+.Nm tar
276
-+.Nd The GNU version of the tar archiving utility
277
-+.Sh SYNOPSIS
278
-+$command_string
279
-+.Op Ar options
280
-+.Op Ar pathname ...
281
-+.Sh DESCRIPTION
282
-+.Nm Tar
283
-+stores and extracts files from a tape or disk archive.
284
-+.Pp
285
-+The first argument to
286
-+tar
287
-+should be a function; either one of the letters
288
-+.Cm $short_letters ,
289
-+or one of the long function names.
290
-+A function letter need not be prefixed with ``\\-'', and may be combined
291
-+with other single-letter options.
292
-+A long function name must be prefixed with
293
-+.Cm \\\\-\\\\- .
294
-+Some options take a parameter; with the single-letter form
295
-+these must be given as separate arguments.
296
-+With the long form, they may be given by appending
297
-+.Cm = Ns Ar value
298
-+to the option.
299
-+.Sh FUNCTION LETTERS
300
-+Main operation mode:
301
-+$function_letters
302
-+.Sh OTHER OPTIONS
303
-+Operation modifiers:
304
-+$option_letters
305
-+.Sh ENVIRONMENT
306
-+The behavior of tar is controlled by the following environment variables,
307
-+among others:
308
-+$env_variables
309
-+.Sh EXAMPLES
310
-+$examples
311
-+.Sh SEE ALSO
312
-+.\\" libarchive
313
-+.Xr tar 5 ,
314
-+.\\" man-pages
315
-+.Xr symlink 7 ,
316
-+.Xr rmt 8
317
-+.Sh HISTORY
318
-+The
319
-+.Nm tar
320
-+command appeared in
321
-+.At v7 .
322
-+.Sh BUGS
323
-+The GNU folks, in general, abhor man pages, and create info documents instead.
324
-+Unfortunately, the info document describing tar is licensed under the GFDL with
325
-+invariant cover texts, which makes it impossible to include any text
326
-+from that document in this man page.
327
-+Most of the text in this document was automatically extracted from the usage
328
-+text in the source.
329
-+It may not completely describe all features of the program.
330
-+.
331
-+__END__
... ...
@@ -1,6 +1,6 @@
1 1
 Summary:	Archiving program
2 2
 Name:		tar
3
-Version:	1.27.1
3
+Version:	1.28
4 4
 Release:	1%{?dist}
5 5
 License:	GPLv3+
6 6
 URL:		http://www.gnu.org/software/tar
... ...
@@ -8,13 +8,11 @@ Group:		Applications/System
8 8
 Vendor:		VMware, Inc.
9 9
 Distribution: Photon
10 10
 Source0:	tar/%{name}-%{version}.tar.xz
11
-%define sha1 tar=5ce4233e1774e990b930f3c46990267b28448962
12
-Patch0:		tar-1.27.1-manpage-1.patch
11
+%define sha1 tar=40f3470a96b80749531fe48dbba99e43b6dfa7d3
13 12
 %description
14 13
 Contains GNU archiving program
15 14
 %prep
16 15
 %setup -q
17
-%patch0 -p1
18 16
 %build
19 17
 FORCE_UNSAFE_CONFIGURE=1  ./configure \
20 18
 	--prefix=%{_prefix} \
... ...
@@ -26,7 +24,6 @@ install -vdm 755 %{buildroot}%{_sbindir}
26 26
 make DESTDIR=%{buildroot} install
27 27
 make DESTDIR=%{buildroot} -C doc install-html docdir=%{_defaultdocdir}/%{name}-%{version}
28 28
 install -vdm 755 %{buildroot}/usr/share/man/man1 
29
-perl tarman > %{buildroot}/usr/share/man/man1/tar.1
30 29
 rm -rf %{buildroot}%{_infodir}
31 30
 %find_lang %{name}
32 31
 %check
... ...
@@ -38,5 +35,7 @@ make -k check |& tee %{_specdir}/%{name}-check-log || %{nocheck}
38 38
 %{_defaultdocdir}/%{name}-%{version}/*
39 39
 %{_mandir}/*/*
40 40
 %changelog
41
+*	Wed Jan 20 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 1.28-1
42
+-	Update to 1.28-1.
41 43
 *	Wed Nov 5 2014 Divya Thaluru <dthaluru@vmware.com> 1.27.1-1
42 44
 -	Initial build.	First version
... ...
@@ -1,11 +1,11 @@
1 1
 Summary:	Program shows full path of (shell) commands
2 2
 Name:		which
3
-Version:	2.20
3
+Version:	2.21
4 4
 Release:	1%{?dist}
5 5
 License:	GPLv3+
6 6
 URL:		http://savannah.gnu.org/projects/which
7 7
 Source0:	http://ftp.gnu.org/gnu/which/%{name}-%{version}.tar.gz
8
-%define sha1 which=3bcd6d87aa5231917ba7123319eedcae90cfa0fd
8
+%define sha1 which=6b6bec3d2b3d4661c164feb81b9b1d22d1359ded
9 9
 Group:		Development/Tools
10 10
 Vendor:		VMware, Inc.
11 11
 Distribution: Photon
... ...
@@ -27,5 +27,7 @@ make -k check |& tee %{_specdir}/%{name}-check-log || %{nocheck}
27 27
 /usr/share/info/*
28 28
 %{_mandir}/man1/*
29 29
 %changelog
30
+*	Wed Jan 20 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 1.21-1
31
+-	Update to 2.21-1.
30 32
 *	Wed Oct 21 2014 Divya Thaluru <dthaluru@vmware.com> 2.20-1
31 33
 -	Initial build. First version