From 961588fd58020a7c21e4a9c0c50bc5a5f26e4790 Mon Sep 17 00:00:00 2001 From: Dave Brolley Date: Fri, 18 Dec 2009 16:22:01 -0500 Subject: PR 10247 10276 10905: Infrastructure for moving underlying client/server tools to libexec. --- systemtap.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'systemtap.spec') diff --git a/systemtap.spec b/systemtap.spec index 25ab905b..b33626f5 100644 --- a/systemtap.spec +++ b/systemtap.spec @@ -406,10 +406,10 @@ exit 0 %defattr(-,root,root) %attr(4111,root,root) %{_bindir}/staprun %{_bindir}/stap-report -%{_bindir}/stap-env %{_bindir}/stap-authorize-cert %{_bindir}/stap-authorize-signing-cert %{_libexecdir}/%{name} +%{_libexecdir}/%{name}/stap-env %{_mandir}/man8/staprun.8* %{_mandir}/man8/stap-authorize-signing-cert.8* -- cgit From edecda6cff1304fca4c47034b7064dcd51bcc33d Mon Sep 17 00:00:00 2001 From: Dave Brolley Date: Mon, 21 Dec 2009 11:26:05 -0500 Subject: PR 10247, 10276, 10905: Move remaining client/server tools to libexec. --- systemtap.spec | 29 +++++++++++++---------------- 1 file changed, 13 insertions(+), 16 deletions(-) (limited to 'systemtap.spec') diff --git a/systemtap.spec b/systemtap.spec index b33626f5..c9a8fbfb 100644 --- a/systemtap.spec +++ b/systemtap.spec @@ -316,7 +316,7 @@ test -e /usr/share/systemtap/runtime/uprobes || mkdir -p /usr/share/systemtap/ru chgrp stap-server /usr/share/systemtap/runtime/uprobes chmod 775 /usr/share/systemtap/runtime/uprobes # As stap-server, generate the certificate used for signing and for ssl. -runuser -s /bin/sh - stap-server -c %{_bindir}/stap-gen-cert >/dev/null +runuser -s /bin/sh - stap-server -c %{_libexecdir}/%{name%}/stap-gen-cert >/dev/null # Authorize the certificate as a trusted ssl peer and as a trusted signer # local host. %{_bindir}/stap-authorize-server-cert %{_localstatedir}/lib/stap-server/.systemtap/ssl/server/stap.cert @@ -406,10 +406,10 @@ exit 0 %defattr(-,root,root) %attr(4111,root,root) %{_bindir}/staprun %{_bindir}/stap-report -%{_bindir}/stap-authorize-cert %{_bindir}/stap-authorize-signing-cert %{_libexecdir}/%{name} %{_libexecdir}/%{name}/stap-env +%{_libexecdir}/%{name}/stap-authorize-cert %{_mandir}/man8/staprun.8* %{_mandir}/man8/stap-authorize-signing-cert.8* @@ -422,29 +422,26 @@ exit 0 %files client %defattr(-,root,root) %{_bindir}/stap-client -%{_bindir}/stap-find-servers %{_bindir}/stap-authorize-server-cert -%{_bindir}/stap-client-connect +%{_libexecdir}/%{name}/stap-find-servers +%{_libexecdir}/%{name}/stap-client-connect %{_mandir}/man8/stap-client.8* %{_mandir}/man8/stap-authorize-server-cert.8* %files server %defattr(-,root,root) -%{_bindir}/stap-server -%{_bindir}/stap-serverd -%{_bindir}/stap-start-server -%{_bindir}/stap-find-servers -%{_bindir}/stap-find-or-start-server -%{_bindir}/stap-stop-server -%{_bindir}/stap-gen-cert -%{_bindir}/stap-authorize-cert %{_bindir}/stap-authorize-server-cert -%{_bindir}/stap-authorize-signing-cert -%{_bindir}/stap-server-connect -%{_bindir}/stap-sign-module +%{_libexecdir}/%{name}/stap-server +%{_libexecdir}/%{name}/stap-serverd +%{_libexecdir}/%{name}/stap-start-server +%{_libexecdir}/%{name}/stap-find-servers +%{_libexecdir}/%{name}/stap-find-or-start-server +%{_libexecdir}/%{name}/stap-stop-server +%{_libexecdir}/%{name}/stap-gen-cert +%{_libexecdir}/%{name}/stap-server-connect +%{_libexecdir}/%{name}/stap-sign-module %{_mandir}/man8/stap-server.8* %{_mandir}/man8/stap-authorize-server-cert.8* -%{_mandir}/man8/stap-authorize-signing-cert.8* %{_sysconfdir}/rc.d/init.d/stap-server %dir %{_sysconfdir}/stap-server %dir %{_sysconfdir}/stap-server/conf.d -- cgit From 633a25387c83baca709fdbf55ae958416a0382bc Mon Sep 17 00:00:00 2001 From: Dave Brolley Date: Mon, 21 Dec 2009 11:41:45 -0500 Subject: Don't install the entire %{libexecdir}/%{name} directory. --- systemtap.spec | 1 - 1 file changed, 1 deletion(-) (limited to 'systemtap.spec') diff --git a/systemtap.spec b/systemtap.spec index c9a8fbfb..45336b52 100644 --- a/systemtap.spec +++ b/systemtap.spec @@ -407,7 +407,6 @@ exit 0 %attr(4111,root,root) %{_bindir}/staprun %{_bindir}/stap-report %{_bindir}/stap-authorize-signing-cert -%{_libexecdir}/%{name} %{_libexecdir}/%{name}/stap-env %{_libexecdir}/%{name}/stap-authorize-cert %{_mandir}/man8/staprun.8* -- cgit From 43a03765d0b6f03f2af8f45424e67a7f90d028c0 Mon Sep 17 00:00:00 2001 From: Dave Brolley Date: Mon, 21 Dec 2009 11:49:52 -0500 Subject: Install %{libexecdir}/%{name}/stapio explicitely. --- systemtap.spec | 1 + 1 file changed, 1 insertion(+) (limited to 'systemtap.spec') diff --git a/systemtap.spec b/systemtap.spec index 45336b52..2494f516 100644 --- a/systemtap.spec +++ b/systemtap.spec @@ -407,6 +407,7 @@ exit 0 %attr(4111,root,root) %{_bindir}/staprun %{_bindir}/stap-report %{_bindir}/stap-authorize-signing-cert +%{_libexecdir}/%{name}/stapio %{_libexecdir}/%{name}/stap-env %{_libexecdir}/%{name}/stap-authorize-cert %{_mandir}/man8/staprun.8* -- cgit From e4168d7878d50b98aa2df491dd0ba20dad05e475 Mon Sep 17 00:00:00 2001 From: Dave Brolley Date: Mon, 21 Dec 2009 12:19:15 -0500 Subject: Typos in install and rpm spec. o add / suffix to stap_pkglibexecdir o typo: %{name%} -> %{name} --- systemtap.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'systemtap.spec') diff --git a/systemtap.spec b/systemtap.spec index 2494f516..6a9a17bd 100644 --- a/systemtap.spec +++ b/systemtap.spec @@ -316,7 +316,7 @@ test -e /usr/share/systemtap/runtime/uprobes || mkdir -p /usr/share/systemtap/ru chgrp stap-server /usr/share/systemtap/runtime/uprobes chmod 775 /usr/share/systemtap/runtime/uprobes # As stap-server, generate the certificate used for signing and for ssl. -runuser -s /bin/sh - stap-server -c %{_libexecdir}/%{name%}/stap-gen-cert >/dev/null +runuser -s /bin/sh - stap-server -c %{_libexecdir}/%{name}/stap-gen-cert >/dev/null # Authorize the certificate as a trusted ssl peer and as a trusted signer # local host. %{_bindir}/stap-authorize-server-cert %{_localstatedir}/lib/stap-server/.systemtap/ssl/server/stap.cert -- cgit From 600450900a5e98404c91104d2cb20cddce42838e Mon Sep 17 00:00:00 2001 From: Dave Brolley Date: Mon, 21 Dec 2009 19:26:16 -0500 Subject: PR 10905: initscript improvements. Make the stap-server initscript available as $bindir/stap-server Reimplement the stap-server initscript as a thin wrapper around $bindir/stap-server. --- systemtap.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'systemtap.spec') diff --git a/systemtap.spec b/systemtap.spec index 6a9a17bd..74ec47b3 100644 --- a/systemtap.spec +++ b/systemtap.spec @@ -431,7 +431,7 @@ exit 0 %files server %defattr(-,root,root) %{_bindir}/stap-authorize-server-cert -%{_libexecdir}/%{name}/stap-server +%{_bindir}/stap-server %{_libexecdir}/%{name}/stap-serverd %{_libexecdir}/%{name}/stap-start-server %{_libexecdir}/%{name}/stap-find-servers @@ -439,6 +439,7 @@ exit 0 %{_libexecdir}/%{name}/stap-stop-server %{_libexecdir}/%{name}/stap-gen-cert %{_libexecdir}/%{name}/stap-server-connect +%{_libexecdir}/%{name}/stap-server-request %{_libexecdir}/%{name}/stap-sign-module %{_mandir}/man8/stap-server.8* %{_mandir}/man8/stap-authorize-server-cert.8* -- cgit From 0710d8505ae1760d0908f0215a4a90c60aa64484 Mon Sep 17 00:00:00 2001 From: David Smith Date: Mon, 21 Dec 2009 21:10:25 -0600 Subject: Incremented version number for release 1.1. * NEWS: Set version number. * configure.ac: Incremented version number. * systemtap.spec: Incremented version number and added changelog entry. * testsuite/configure.ac: Ditto. * Makefile.in: Regenerated. * aclocal.m4: Ditto. * configure: Ditto. * doc/Makefile.in: Ditto. * doc/SystemTap_Tapset_Reference/Makefile.in: Ditto. * grapher/Makefile.in: Ditto. * testsuite/Makefile.in: Ditto. * testsuite/aclocal.m4: Ditto. * testsuite/configure: Ditto. --- systemtap.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'systemtap.spec') diff --git a/systemtap.spec b/systemtap.spec index 74ec47b3..4a60b00b 100644 --- a/systemtap.spec +++ b/systemtap.spec @@ -9,7 +9,7 @@ %{!?with_boost: %define with_boost 0} Name: systemtap -Version: 1.0 +Version: 1.1 Release: 1%{?dist} # for version, see also configure.ac Summary: Instrumentation System @@ -475,6 +475,9 @@ exit 0 %changelog +* Mon Dec 21 2009 David Smith - 1.1-1 +- Upstream release. + * Tue Sep 22 2009 Josh Stone - 1.0-1 - Upstream release. -- cgit