Change-Id: Ic31dac7b45e4c3e3a511f49300c9e7caa7b6b3bc
Reviewed-on: http://photon-jenkins.eng.vmware.com/224
Tested-by: jenkins-photon <wangnan2015@hotmail.com>
Reviewed-by: Sharath George
1 | 1 |
new file mode 100644 |
... | ... |
@@ -0,0 +1,38 @@ |
0 |
+Summary: Utilities for block layer IO tracing |
|
1 |
+Name: blktrace |
|
2 |
+Version: 1.0.5 |
|
3 |
+Release: 1%{?dist} |
|
4 |
+License: GPLv2 |
|
5 |
+URL: http://git.kernel.org/cgit/linux/kernel/git/axboe/blktrace.git/tree/README |
|
6 |
+Group: Development/Tools/Other |
|
7 |
+Vendor: VMware, Inc. |
|
8 |
+Distribution: Photon |
|
9 |
+Source0: http://blktrace.sourcearchive.com/downloads/1.0.5-1/%{name}-%{version}.orig.tar.gz |
|
10 |
+%define sha1 blktrace=f88072fc306adb595ebc7b33cc7ed4edb08a750f |
|
11 |
+BuildRequires: libaio-devel |
|
12 |
+Requires: libaio |
|
13 |
+ |
|
14 |
+%description |
|
15 |
+ blktrace is a block layer IO tracing mechanism which provides detailed |
|
16 |
+information about request queue operations up to user space. |
|
17 |
+%prep |
|
18 |
+%setup -q |
|
19 |
+ |
|
20 |
+%build |
|
21 |
+make %{?_smp_mflags} |
|
22 |
+ |
|
23 |
+%install |
|
24 |
+make install DESTDIR=%{buildroot} prefix=%{_prefix} mandir=%{_mandir} |
|
25 |
+ |
|
26 |
+%clean |
|
27 |
+rm -rf %{buildroot}/* |
|
28 |
+ |
|
29 |
+%files |
|
30 |
+%doc README |
|
31 |
+%defattr(-,root,root) |
|
32 |
+%{_bindir} |
|
33 |
+%{_mandir} |
|
34 |
+ |
|
35 |
+%changelog |
|
36 |
+* Mon Nov 30 2015 Harish Udaiya Kumar <hudaiyakumar@vmware.com> 1.0.5-1 |
|
37 |
+- Initial build. First version |
0 | 38 |
new file mode 100644 |
... | ... |
@@ -0,0 +1,40 @@ |
0 |
+Summary: ethtool is the standard Linux utility for controlling network drivers and hardware, particularly for wired Ethernet devices. |
|
1 |
+Name: ethtool |
|
2 |
+Version: 4.2 |
|
3 |
+Release: 1%{?dist} |
|
4 |
+License: GPLv2 |
|
5 |
+URL: https://www.kernel.org/pub/software/network/ethtool/ |
|
6 |
+Group: Productivity/Networking/Diagnostic |
|
7 |
+Vendor: VMware, Inc. |
|
8 |
+Distribution: Photon |
|
9 |
+Source0: https://www.kernel.org/pub/software/network/%{name}/%{name}-%{version}.tar.gz |
|
10 |
+%define sha1 ethtool=9f680158354da45852e39a1ca0463ee26b57e97a |
|
11 |
+#BuildRequires: python2 python2-libs |
|
12 |
+ |
|
13 |
+%description |
|
14 |
+ ethtool is the standard Linux utility for controlling network drivers and hardware, particularly for wired Ethernet devices |
|
15 |
+ |
|
16 |
+%prep |
|
17 |
+%setup -q |
|
18 |
+ |
|
19 |
+%build |
|
20 |
+autoreconf -fi |
|
21 |
+#export CFLAGS="$RPM_OPT_FLAGS -W -Wall -Wstrict-prototypes -Wformat-security -Wpointer-arith" |
|
22 |
+./configure --prefix=%{_prefix} --sbindir=/sbin |
|
23 |
+make %{?_smp_mflags} |
|
24 |
+ |
|
25 |
+%install |
|
26 |
+make install DESTDIR=%{buildroot} |
|
27 |
+ |
|
28 |
+%clean |
|
29 |
+rm -rf %{buildroot}/* |
|
30 |
+ |
|
31 |
+%files |
|
32 |
+%doc AUTHORS COPYING NEWS README ChangeLog |
|
33 |
+%defattr(-,root,root) |
|
34 |
+/sbin |
|
35 |
+%{_mandir} |
|
36 |
+ |
|
37 |
+%changelog |
|
38 |
+* Mon Nov 30 2015 Harish Udaiya Kumar <hudaiyakumar@vmware.com> 4.2-1 |
|
39 |
+- Initial build. First version |
0 | 40 |
new file mode 100644 |
... | ... |
@@ -0,0 +1,44 @@ |
0 |
+Summary: Iotop is a Python program with a top like UI used to show the processes and their corresponding IO activity. |
|
1 |
+Name: iotop |
|
2 |
+Version: 0.6 |
|
3 |
+Release: 1%{?dist} |
|
4 |
+License: GPLv2 |
|
5 |
+URL: http://guichaz.free.fr/iotop/ |
|
6 |
+Group: System/Monitoring |
|
7 |
+Vendor: VMware, Inc. |
|
8 |
+Distribution: Photon |
|
9 |
+Source0: http://guichaz.free.fr/iotop/files/%{name}-%{version}.tar.gz |
|
10 |
+%define sha1 iotop=71a0e7043d83673a40d7ddc57f5b50adab7fff2a |
|
11 |
+BuildRequires: python2 python2-libs |
|
12 |
+ |
|
13 |
+%description |
|
14 |
+ Iotop is a Python program with a top like UI used to show the processes and their corresponding IO activity. |
|
15 |
+ |
|
16 |
+%prep |
|
17 |
+%setup -q |
|
18 |
+%build |
|
19 |
+ |
|
20 |
+python setup.py build |
|
21 |
+%install |
|
22 |
+ |
|
23 |
+#!/bin/bash |
|
24 |
+# http://bugs.python.org/issue644744 |
|
25 |
+python setup.py install --prefix=%{_prefix} --root=%{buildroot} --record="INSTALLED_FILES" |
|
26 |
+# 'brp-compress' gzips the man pages without distutils knowing... fix this |
|
27 |
+sed -i -e 's@man/man\([[:digit:]]\)/\(.\+\.[[:digit:]]\)$@man/man\1/\2.gz@g' "INSTALLED_FILES" |
|
28 |
+sed -i -e 's@\(.\+\)\.py$@\1.py*@' \ |
|
29 |
+ -e '/.\+\.pyc$/d' \ |
|
30 |
+ "INSTALLED_FILES" |
|
31 |
+echo "%dir %{python_sitelib}/iotop" >> INSTALLED_FILES |
|
32 |
+ |
|
33 |
+%clean |
|
34 |
+rm -rf %{buildroot}/* |
|
35 |
+ |
|
36 |
+%files -f INSTALLED_FILES |
|
37 |
+%defattr(-,root,root) |
|
38 |
+%doc COPYING NEWS THANKS |
|
39 |
+ |
|
40 |
+ |
|
41 |
+%changelog |
|
42 |
+* Mon Nov 30 2015 Harish Udaiya Kumar <hudaiyakumar@vmware.com> 0.6-1 |
|
43 |
+- Initial build. First version |
0 | 44 |
new file mode 100644 |
... | ... |
@@ -0,0 +1,42 @@ |
0 |
+Summary: ltrace intercepts and records dynamic library calls. |
|
1 |
+Name: ltrace |
|
2 |
+Version: 0.7.3 |
|
3 |
+Release: 1%{?dist} |
|
4 |
+License: GPLv2+ |
|
5 |
+URL: http://www.ltrace.org/ |
|
6 |
+Group: Development/Debuggers |
|
7 |
+Vendor: VMware, Inc. |
|
8 |
+Distribution: Photon |
|
9 |
+Source0: http://www.ltrace.org/%{name}_%{version}.orig.tar.bz2 |
|
10 |
+%define sha1 strace=8df2acc8bc135a229917de6ef814f416d38124ca |
|
11 |
+BuildRequires: elfutils-libelf-devel |
|
12 |
+Requires: elfutils-libelf |
|
13 |
+%description |
|
14 |
+ltrace intercepts and records dynamic library calls which are called by an executed process and the signals received by that process. It can also intercept and print the system calls executed by the program. |
|
15 |
+ |
|
16 |
+%prep |
|
17 |
+%setup -q |
|
18 |
+%build |
|
19 |
+ |
|
20 |
+./configure \ |
|
21 |
+ --prefix=%{_prefix} --disable-werror |
|
22 |
+ |
|
23 |
+make %{?_smp_mflags} |
|
24 |
+ |
|
25 |
+%install |
|
26 |
+make install DESTDIR=%{buildroot} |
|
27 |
+ |
|
28 |
+%check |
|
29 |
+make -k check |
|
30 |
+ |
|
31 |
+%clean |
|
32 |
+rm -rf %{buildroot}/* |
|
33 |
+ |
|
34 |
+%files |
|
35 |
+%defattr(-,root,root) |
|
36 |
+/usr/etc/ltrace.conf |
|
37 |
+%{_bindir}/* |
|
38 |
+%{_datadir} |
|
39 |
+%changelog |
|
40 |
+* Wed Nov 25 2015 Harish Udaiya Kumar <hudaiyakumar@vmware.com> 0.7.3-1 |
|
41 |
+- Initial build. First version |
0 | 42 |
new file mode 100644 |
... | ... |
@@ -0,0 +1,67 @@ |
0 |
+Summary: Net-SNMP is a suite of applications used to implement SNMP v1, SNMP v2c and SNMP v3 using both IPv4 and IPv6. |
|
1 |
+Name: net-snmp |
|
2 |
+Version: 5.7.3 |
|
3 |
+Release: 1%{?dist} |
|
4 |
+License: BSD (like) |
|
5 |
+URL: http://net-snmp.sourceforge.net/ |
|
6 |
+Group: Productivity/Networking/Other |
|
7 |
+Vendor: VMware, Inc. |
|
8 |
+Distribution: Photon |
|
9 |
+Source0: http://sourceforge.net/projects/%{name}/files/%{name}/%{version}/%{name}-%{version}.tar.gz |
|
10 |
+%define sha1 net-snmp=97dc25077257680815de44e34128d365c76bd839 |
|
11 |
+#BuildRequires: python2 python2-libs |
|
12 |
+BuildRequires: openssl-devel |
|
13 |
+%description |
|
14 |
+ Net-SNMP is a suite of applications used to implement SNMP v1, SNMP v2c and SNMP v3 using both IPv4 and IPv6. |
|
15 |
+ |
|
16 |
+%package devel |
|
17 |
+Group: Development/Libraries |
|
18 |
+Summary: The includes and static libraries from the Net-SNMP package. |
|
19 |
+Requires: net-snmp = %{version} |
|
20 |
+ |
|
21 |
+%description devel |
|
22 |
+The net-snmp-devel package contains headers and libraries for building SNMP applications. |
|
23 |
+ |
|
24 |
+%prep |
|
25 |
+%setup -q |
|
26 |
+ |
|
27 |
+%build |
|
28 |
+#autoreconf -fi |
|
29 |
+./configure --prefix=%{_prefix} \ |
|
30 |
+ --host=ia64-linux \ |
|
31 |
+ --build=i686 \ |
|
32 |
+ --target=ia64-linux \ |
|
33 |
+ --sbindir=/sbin \ |
|
34 |
+ --with-sys-location="unknown" \ |
|
35 |
+ --with-logfile=/var/log/net-snmpd.log \ |
|
36 |
+ --with-persistent-directory=/var/lib/net-snmp \ |
|
37 |
+ --with-sys-contact="root@localhost" \ |
|
38 |
+ --with-defaults \ |
|
39 |
+ --disable-static \ |
|
40 |
+ --enable-as-needed |
|
41 |
+make %{?_smp_mflags} |
|
42 |
+ |
|
43 |
+%install |
|
44 |
+make install DESTDIR=%{buildroot} |
|
45 |
+ |
|
46 |
+%clean |
|
47 |
+rm -rf %{buildroot}/* |
|
48 |
+ |
|
49 |
+%files |
|
50 |
+%doc COPYING NEWS README ChangeLog |
|
51 |
+%defattr(-,root,root) |
|
52 |
+%{_bindir} |
|
53 |
+%{_libdir}/*.so.* |
|
54 |
+/sbin/ |
|
55 |
+ |
|
56 |
+%files devel |
|
57 |
+%defattr(-,root,root) |
|
58 |
+%{_includedir} |
|
59 |
+%{_libdir}/*.la |
|
60 |
+%{_libdir}/perl5 |
|
61 |
+%{_libdir}/*.so |
|
62 |
+%{_datadir} |
|
63 |
+ |
|
64 |
+%changelog |
|
65 |
+* Mon Nov 30 2015 Harish Udaiya Kumar <hudaiyakumar@vmware.com> 5.7.3-1 |
|
66 |
+- Initial build. First version |
0 | 67 |
new file mode 100644 |
... | ... |
@@ -0,0 +1,36 @@ |
0 |
+Summary: A tool that inspect which pages of a file or files are being cached by the Linux kernel |
|
1 |
+Name: pcstat |
|
2 |
+Version: 1 |
|
3 |
+Release: 1%{?dist} |
|
4 |
+License: Apache |
|
5 |
+URL: https://github.com/tobert/pcstat |
|
6 |
+Group: Development/Debuggers |
|
7 |
+Vendor: VMware, Inc. |
|
8 |
+Distribution: Photon |
|
9 |
+Source0: https://github.com/tobert/pcstat/archive/pcstat-1.zip |
|
10 |
+%define sha1 pcstat=cd67c42d291763597dbe3fb19e8e367c54a4a898 |
|
11 |
+BuildRequires: unzip go audit git |
|
12 |
+#Requires: elfutils-libelf |
|
13 |
+%description |
|
14 |
+A tool that inspect which pages of a file or files are being cached by the Linux kernel |
|
15 |
+ |
|
16 |
+%prep |
|
17 |
+%setup -qn pcstat-master |
|
18 |
+%build |
|
19 |
+go get golang.org/x/sys/unix |
|
20 |
+go build |
|
21 |
+ |
|
22 |
+%install |
|
23 |
+mkdir -p %{buildroot}/usr/local/bin |
|
24 |
+cp -a pcstat %{buildroot}/usr/local/bin |
|
25 |
+ |
|
26 |
+%clean |
|
27 |
+rm -rf %{buildroot}/* |
|
28 |
+ |
|
29 |
+%files |
|
30 |
+%defattr(-,root,root) |
|
31 |
+/usr/local/bin |
|
32 |
+ |
|
33 |
+%changelog |
|
34 |
+* Wed Nov 25 2015 Harish Udaiya Kumar <hudaiyakumar@vmware.com> 0.7.3-1 |
|
35 |
+- Initial build. First version |
0 | 36 |
new file mode 100644 |
... | ... |
@@ -0,0 +1,48 @@ |
0 |
+Summary: Sysdig is a universal system visibility tool with native support for containers. |
|
1 |
+Name: sysdig |
|
2 |
+Version: 0.1.101 |
|
3 |
+Release: 1%{?dist} |
|
4 |
+License: GPLv2 |
|
5 |
+URL: http://www.sysdig.org/ |
|
6 |
+Group: Applications/System |
|
7 |
+Vendor: VMware, Inc. |
|
8 |
+Distribution: Photon |
|
9 |
+Source0: https://github.com/draios/sysdig//archive/sysdig-0.1.101.tar.gz |
|
10 |
+%define sha1 sysdig=767de8855fcd18d06af6c7e8197001987e70bacc |
|
11 |
+BuildRequires: cmake linux-dev |
|
12 |
+ |
|
13 |
+%description |
|
14 |
+ Sysdig is open source, system-level exploration: capture system state and activity from a running Linux instance, then save, filter and analyze. Sysdig is scriptable in Lua and includes a command line interface and a powerful interactive UI, csysdig, that runs in your terminal |
|
15 |
+ |
|
16 |
+%prep |
|
17 |
+%setup -q |
|
18 |
+ |
|
19 |
+%build |
|
20 |
+mkdir build |
|
21 |
+cd build |
|
22 |
+cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} -DBUILD_DRIVER=OFF .. |
|
23 |
+make %{?_smp_mflags} |
|
24 |
+ |
|
25 |
+%install |
|
26 |
+cd build |
|
27 |
+make install DESTDIR=%{buildroot} |
|
28 |
+ |
|
29 |
+ |
|
30 |
+mv %{buildroot}/usr/src/sysdig* %{buildroot}/usr/src/sysdig-%{version} |
|
31 |
+mkdir -p %{buildroot}/etc/ |
|
32 |
+mv %{buildroot}/usr/etc/bash_completion.d %{buildroot}/etc/ |
|
33 |
+rm -rf %{buildroot}/usr/share/zsh/ |
|
34 |
+ |
|
35 |
+%clean |
|
36 |
+rm -rf %{buildroot}/* |
|
37 |
+ |
|
38 |
+%files |
|
39 |
+%defattr(-,root,root) |
|
40 |
+/etc |
|
41 |
+%{_bindir} |
|
42 |
+/usr/src |
|
43 |
+%{_datadir} |
|
44 |
+ |
|
45 |
+%changelog |
|
46 |
+* Mon Nov 30 2015 Harish Udaiya Kumar <hudaiyakumar@vmware.com> 0.1.101-1 |
|
47 |
+- Initial build. First version |
0 | 48 |
new file mode 100644 |
... | ... |
@@ -0,0 +1,39 @@ |
0 |
+Summary: The Sysstat package contains utilities to monitor system performance and usage activity |
|
1 |
+Name: sysstat |
|
2 |
+Version: 11.1.8 |
|
3 |
+Release: 1%{?dist} |
|
4 |
+License: GPLv2 |
|
5 |
+URL: http://sebastien.godard.pagesperso-orange.fr/ |
|
6 |
+Group: Development/Debuggers |
|
7 |
+Vendor: VMware, Inc. |
|
8 |
+Distribution: Photon |
|
9 |
+Source0: http://perso.wanadoo.fr/sebastien.godard/sysstat-11.1.8.tar.xz |
|
10 |
+%define sha1 sysstat=2da5098c4d6626a85821d943ab3299b003c39f4e |
|
11 |
+ |
|
12 |
+%description |
|
13 |
+ 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. |
|
14 |
+ |
|
15 |
+%prep |
|
16 |
+%setup -q |
|
17 |
+%build |
|
18 |
+ |
|
19 |
+./configure --prefix=%{_prefix} \ |
|
20 |
+ --disable-file-attr && |
|
21 |
+make %{?_smp_mflags} |
|
22 |
+%install |
|
23 |
+make install |
|
24 |
+mv %{buildroot}/usr/lib64 %{buildroot}/%{_libdir} |
|
25 |
+ |
|
26 |
+%clean |
|
27 |
+rm -rf %{buildroot}/* |
|
28 |
+ |
|
29 |
+%files |
|
30 |
+%defattr(-,root,root) |
|
31 |
+%{_sysconfdir} |
|
32 |
+%{_bindir} |
|
33 |
+%{_datadir} |
|
34 |
+%{_libdir} |
|
35 |
+ |
|
36 |
+%changelog |
|
37 |
+* Mon Nov 30 2015 Harish Udaiya Kumar <hudaiyakumar@vmware.com> 11.1.8-1 |
|
38 |
+- Initial build. First version |
... | ... |
@@ -85,12 +85,20 @@ |
85 | 85 |
"tiptop", |
86 | 86 |
"lttng-tools", |
87 | 87 |
"userspace-rcu", |
88 |
- "mingetty", |
|
89 |
- "msr-tools", |
|
90 | 88 |
"dstat", |
91 | 89 |
"libconfig", |
92 | 90 |
"iptraf", |
93 | 91 |
"nicstat", |
94 |
- "lldpad" |
|
92 |
+ "lldpad", |
|
93 |
+ "mingetty", |
|
94 |
+ "msr-tools", |
|
95 |
+ "sysstat", |
|
96 |
+ "blktrace", |
|
97 |
+ "ethtool", |
|
98 |
+ "ltrace", |
|
99 |
+ "net-snmp", |
|
100 |
+ "pcstat", |
|
101 |
+ "sysdig", |
|
102 |
+ "iotop" |
|
95 | 103 |
] |
96 | 104 |
} |