Hello community, here is the log from the commit of package libcgroup1 for openSUSE:Factory checked in at Mon Aug 17 15:31:30 CEST 2009. -------- calling whatdependson for head-i586 Old: ---- libcgroup-0.33.tar.bz2 libcgroup-man-perm.patch libcgroup-yacc.patch New: ---- libcgroup-0.34.tar.bz2 libcgroup-remove-suid.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libcgroup1.spec ++++++ --- /var/tmp/diff_new_pack.bw6M9P/_old 2009-08-17 15:31:16.000000000 +0200 +++ /var/tmp/diff_new_pack.bw6M9P/_new 2009-08-17 15:31:16.000000000 +0200 @@ -1,5 +1,5 @@ # -# spec file for package libcgroup1 (Version 0.33) +# spec file for package libcgroup1 (Version 0.34) # # Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -19,8 +19,8 @@ Name: libcgroup1 -Version: 0.33 -Release: 2 +Version: 0.34 +Release: 1 License: LGPL v2.1 only Group: System/Management AutoReqProv: on @@ -30,10 +30,9 @@ Source1: initd_cgconfig Source2: initd_cgred Source3: sysconfig.cgred -Patch: libcgroup-yacc.patch -Patch1: libcgroup-sigaction.patch -Patch2: libcgroup-pamlibdir.patch -Patch3: libcgroup-man-perm.patch +Patch0: libcgroup-sigaction.patch +Patch1: libcgroup-pamlibdir.patch +Patch2: libcgroup-remove-suid.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: bison flex gcc-c++ pam-devel Requires: insserv pam @@ -75,7 +74,6 @@ %patch0 -p1 %patch1 -p1 %patch2 -p1 -%patch3 -p1 %build autoreconf -fi @@ -84,6 +82,8 @@ %install %makeinstall +find $RPM_BUILD_ROOT -type f -name '*.la' -exec rm -f {} ';' +rm -f $RPM_BUILD_ROOT/%{_lib}/security/*.so.* mkdir -p %{buildroot}/%{_sysconfdir}/init.d/ install -m 755 %{SOURCE1} %{buildroot}/%{_sysconfdir}/init.d/cgconfig install -m 755 %{SOURCE2} %{buildroot}/%{_sysconfdir}/init.d/cgred @@ -118,7 +118,6 @@ %{_sysconfdir}/init.d/cgred %{_bindir}/cg* %{_sbindir}/cg* -%{_libdir}/libcgroup-*.so %{_libdir}/libcgroup.so.* /%{_lib}/security/pam_cgroup.so %{_localstatedir}/adm/fillup-templates/sysconfig.cgred ++++++ libcgroup-0.33.tar.bz2 -> libcgroup-0.34.tar.bz2 ++++++ ++++ 64616 lines of diff (skipped) ++++++ libcgroup-pamlibdir.patch ++++++ --- /var/tmp/diff_new_pack.bw6M9P/_old 2009-08-17 15:31:17.000000000 +0200 +++ /var/tmp/diff_new_pack.bw6M9P/_new 2009-08-17 15:31:17.000000000 +0200 @@ -1,40 +1,32 @@ --- - Makefile.in | 3 ++- - configure.in | 7 +++++++ - 2 files changed, 9 insertions(+), 1 deletion(-) + configure.in | 7 +++++++ + src/pam/Makefile.am | 2 +- + 2 files changed, 8 insertions(+), 1 deletion(-) ---- a/Makefile.in -+++ b/Makefile.in -@@ -19,6 +19,7 @@ LEX=@LEX@ - bindir=@bindir@ - sbindir=@sbindir@ - libdir=@libdir@ -+pamlibdir=@PAM_LIBDIR@ - includedir=@includedir@ - prefix=@prefix@ - exec_prefix=@exec_prefix@ -@@ -81,7 +82,7 @@ install: $(TARGETS) - $(INSTALL) -D doc/man/cgrules.conf.5 $(DESTDIR)$(mandir)/man5/cgrules.conf.5 - $(INSTALL) -D doc/man/cgconfigparser.8 $(DESTDIR)$(mandir)/man8/cgconfigparser.8 - $(INSTALL) -D doc/man/cgrulesengd.8 $(DESTDIR)$(mandir)/man8/cgrulesengd.8 -- $(INSTALL) -D pam_cgroup.so $(DESTDIR)$(libdir)/security/pam_cgroup.so -+ $(INSTALL) -D pam_cgroup.so $(DESTDIR)$(pamlibdir)/pam_cgroup.so - - uninstall: libcgroup.so - rm -f $(DESTDIR)$(includedir)/libcgroup.h --- a/configure.in +++ b/configure.in -@@ -26,6 +26,13 @@ AC_ARG_ENABLE([debug], - [Define to enable extra debugging output.])], - []) +@@ -90,6 +90,13 @@ AC_ARG_ENABLE([cgred-socket], + ], []) + AC_DEFINE_UNQUOTED([CGRULE_CGRED_SOCKET_PATH],"$socket_path", [Cgrulesengd socket path]) -+PAM_LIBDIR="/lib/security" ++pamlibdir="/lib/security" +AC_ARG_WITH([pam-module-dir], + [AC_HELP_STRING([--with-pam-module-dir=<dir>], + [directory to install PAM security module])], -+ [test -n "$withval" && PAM_LIBDIR="$withval"]) -+AC_SUBST(PAM_LIBDIR) ++ [test -n "$withval" && pamlibdir="$withval"]) ++AC_SUBST(pamlibdir) + # Checks for programs. AC_PROG_CXX AC_PROG_CC +--- a/src/pam/Makefile.am ++++ b/src/pam/Makefile.am +@@ -2,7 +2,7 @@ INCLUDES = -I $(top_srcdir)/include + + if WITH_PAM + +-lib_LTLIBRARIES = pam_cgroup.la ++pamlib_LTLIBRARIES = pam_cgroup.la + pam_cgroup_la_SOURCES = pam_cgroup.c + pam_cgroup_la_LDFLAGS = -module + pam_cgroup_la_LIBADD = $(top_srcdir)/src/.libs/libcgroup.la -lpam ++++++ libcgroup-remove-suid.patch ++++++ --- src/tools/Makefile.am | 3 --- 1 file changed, 3 deletions(-) --- a/src/tools/Makefile.am +++ b/src/tools/Makefile.am @@ -19,7 +19,4 @@ cgconfigparser_SOURCES = cgconfig.c cgclear_SOURCES = cgclear.c -install-exec-hook: - chmod u+s $(DESTDIR)$(bindir)/cgexec - endif ++++++ libcgroup-sigaction.patch ++++++ --- /var/tmp/diff_new_pack.bw6M9P/_old 2009-08-17 15:31:17.000000000 +0200 +++ /var/tmp/diff_new_pack.bw6M9P/_new 2009-08-17 15:31:17.000000000 +0200 @@ -1,10 +1,10 @@ --- - cgrulesengd.c | 1 - + src/daemon/cgrulesengd.c | 1 - 1 file changed, 1 deletion(-) ---- a/cgrulesengd.c -+++ b/cgrulesengd.c -@@ -755,7 +755,6 @@ int main(int argc, char *argv[]) +--- a/src/daemon/cgrulesengd.c ++++ b/src/daemon/cgrulesengd.c +@@ -1052,7 +1052,6 @@ int main(int argc, char *argv[]) */ sa.sa_handler = &cgre_flash_rules; sa.sa_flags = 0; ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org