summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authordsmith <dsmith>2007-08-14 15:29:40 +0000
committerdsmith <dsmith>2007-08-14 15:29:40 +0000
commit98aab4894c500fd1c387e3619dc8aa2c096a8b89 (patch)
tree907598e0f44a1796757d028a31798ccb5c60afe9 /configure.ac
parent69bf08b5a00d5095ca50b7400221b2cbedeae904 (diff)
downloadsystemtap-steved-98aab4894c500fd1c387e3619dc8aa2c096a8b89.tar.gz
systemtap-steved-98aab4894c500fd1c387e3619dc8aa2c096a8b89.tar.xz
systemtap-steved-98aab4894c500fd1c387e3619dc8aa2c096a8b89.zip
2007-08-14 David Smith <dsmith@redhat.com>
Merge from setuid-branch. Changes also by Martin Hunt <hunt@redhat.com>. * Makefile.am: Added staprun_funcs.c and cap.c to staprun_SOURCES. Added -lcap to staprun_LDADD. Removed stp_check reference. Added stapio program. Staprun is now setuid. * Makefile.in: Rebuilt. * configure.ac: Version increase to 0.6 and checks for libcap availability. Removed stp_check reference. * configure: Regenerated. * stp_check.in: Removed. * systemtap.spec.in: Version increase to 0.6-1 and added BuildReq for libcap-devl (and removed sudo requirement). Added %pre script to create new groups. Staprun is now setuid. * NEWS: Added info on new security model. * INTERNALS: Removed sudo reference. * README.security: New file. * main.cxx (main): Make sure module name isn't too long. * hash.cxx: Moved MODULE_NAME_LEN define to hash.h. * hash.h: Moved MODULE_NAME_LEN define here from hash.cxx. * buildrun.cxx (run_pass): No longer runs staprun with "sudo". * stap.1.in: Removed sudo references and added information about the stapdev/stapusr groups. * staprun.8.in: Added information about module detaching and attaching. Removed sudo references and added information about the stapdev/stapusr groups. Removed reference to staprun needing to be run as root. Removed reference to removed '-u USERNAME' option. * .cvsignore: Removed stp_check and added stapio and stap_merge.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac10
1 files changed, 7 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac
index 90d93e01..7e8526ec 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,14 +1,15 @@
dnl configure.ac --- autoconf input file for systemtap
dnl Process this file with autoconf to produce a configure script.
-AC_INIT([systemtap], 0.5.15, systemtap@sources.redhat.com, systemtap)
-dnl ^^^^^^ see also NEWS, testsuite/configure.ac
+AC_INIT([systemtap], 0.6, systemtap@sources.redhat.com, systemtap)
+dnl ^^^ see also NEWS, testsuite/configure.ac
AC_PREREQ(2.59)
AM_INIT_AUTOMAKE
AM_MAINTAINER_MODE
+AC_PROG_MKDIR_P
AC_PROG_LN_S
AC_PROG_CC
AC_PROG_CXX
@@ -104,6 +105,9 @@ AC_CHECK_HEADERS(crash/defs.h,
])
AM_CONDITIONAL(BUILD_CRASHMOD, test $build_crashmod = yes)
+AC_CHECK_HEADERS([sys/capability.h], ,
+ [AC_MSG_ERROR([cannot find required libcap header (libcap-devel may need to be installed)])])
+
mysql=false
SAVE_LDFLAGS=$LDFLAGS
@@ -167,7 +171,7 @@ esac
AC_SUBST([PROCFLAGS])
AC_CONFIG_HEADERS([config.h:config.in])
-AC_CONFIG_FILES(Makefile systemtap.spec stp_check stap.1 stapprobes.5 stapfuncs.5 stapex.5 staprun.8 lket.5 lket-b2a.1 runtime/lket/b2a/Makefile man/stapprobes.iosched.5 man/stapprobes.netdev.5 man/stapprobes.nfs.5 man/stapprobes.nfsd.5 man/stapprobes.pagefault.5 man/stapprobes.process.5 man/stapprobes.rpc.5 man/stapprobes.scsi.5 man/stapprobes.signal.5 man/stapprobes.socket.5 man/stapprobes.tcp.5 man/stapprobes.udp.5)
+AC_CONFIG_FILES(Makefile systemtap.spec stap.1 stapprobes.5 stapfuncs.5 stapex.5 staprun.8 lket.5 lket-b2a.1 runtime/lket/b2a/Makefile man/stapprobes.iosched.5 man/stapprobes.netdev.5 man/stapprobes.nfs.5 man/stapprobes.nfsd.5 man/stapprobes.pagefault.5 man/stapprobes.process.5 man/stapprobes.rpc.5 man/stapprobes.scsi.5 man/stapprobes.signal.5 man/stapprobes.socket.5 man/stapprobes.tcp.5 man/stapprobes.udp.5)
AC_CONFIG_SUBDIRS(testsuite)
AC_OUTPUT