Hello community, here is the log from the commit of package libcgroup1 for openSUSE:Factory checked in at Mon May 4 18:18:30 CEST 2009. -------- --- libcgroup1/libcgroup1.changes 2009-01-02 12:28:22.000000000 +0100 +++ /mounts/work_src_done/STABLE/libcgroup1/libcgroup1.changes 2009-05-04 14:47:31.000000000 +0200 @@ -1,0 +2,7 @@ +Mon May 4 14:51:53 CEST 2009 - jslaby@suse.de + +- update to 0.33 +- refresh patches and make them -p1 +- add pam module and manpages + +------------------------------------------------------------------- calling whatdependson for head-i586 Old: ---- libcgroup-0.32.2.tar.bz2 libcgroup-print_to_perror.patch New: ---- libcgroup-0.33.tar.bz2 libcgroup-man-perm.patch libcgroup-pamlibdir.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libcgroup1.spec ++++++ --- /var/tmp/diff_new_pack.KK8654/_old 2009-05-04 18:18:06.000000000 +0200 +++ /var/tmp/diff_new_pack.KK8654/_new 2009-05-04 18:18:06.000000000 +0200 @@ -1,5 +1,5 @@ # -# spec file for package libcgroup1 (Version 0.32.2) +# spec file for package libcgroup1 (Version 0.33) # # Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -19,7 +19,7 @@ Name: libcgroup1 -Version: 0.32.2 +Version: 0.33 Release: 1 License: LGPL v2.1 only Group: System/Management @@ -32,7 +32,8 @@ Source3: sysconfig.cgred Patch: libcgroup-yacc.patch Patch1: libcgroup-sigaction.patch -Patch2: libcgroup-print_to_perror.patch +Patch2: libcgroup-pamlibdir.patch +Patch3: libcgroup-man-perm.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: bison flex gcc-c++ pam-devel Requires: insserv pam @@ -72,12 +73,13 @@ %prep %setup -n libcgroup-%{version} %patch0 -p1 -%patch1 +%patch1 -p1 %patch2 -p1 +%patch3 -p1 %build autoreconf -fi -%configure +%configure --with-pam-module-dir=/%{_lib}/security make %install @@ -118,7 +120,9 @@ %{_sbindir}/cg* %{_libdir}/libcgroup-*.so %{_libdir}/libcgroup.so.* +/%{_lib}/security/pam_cgroup.so %{_localstatedir}/adm/fillup-templates/sysconfig.cgred +%{_mandir}/man[^3]/* %files -n libcgroup-devel %defattr(-,root,root) @@ -126,6 +130,10 @@ %{_includedir}/libcgroup.h %changelog +* Mon May 04 2009 jslaby@suse.de +- update to 0.33 +- refresh patches and make them -p1 +- add pam module and manpages * Fri Jan 02 2009 jslaby@suse.de - Update to 0.32.2 - Fix devel package group (to Development/Libraries) ++++++ libcgroup-0.32.2.tar.bz2 -> libcgroup-0.33.tar.bz2 ++++++ ++++ 6829 lines of diff (skipped) ++++++ libcgroup-man-perm.patch ++++++ --- Makefile.in | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) --- a/Makefile.in +++ b/Makefile.in @@ -75,13 +75,13 @@ install: $(TARGETS) $(INSTALL) -D cgexec $(DESTDIR)$(bindir)/cgexec $(INSTALL) -D cgclassify $(DESTDIR)$(bindir)/cgclassify $(INSTALL) -D cgrulesengd $(DESTDIR)$(bindir)/cgrulesengd - $(INSTALL) -D doc/man/cgclassify.1 $(DESTDIR)$(mandir)/man1/cgclassify.1 - $(INSTALL) -D doc/man/cgexec.1 $(DESTDIR)$(mandir)/man1/cgexec.1 - $(INSTALL) -D doc/man/cgred.conf.5 $(DESTDIR)$(mandir)/man5/cgred.conf.5 - $(INSTALL) -D doc/man/cgconfig.conf.5 $(DESTDIR)$(mandir)/man5/cgconfig.conf.5 - $(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) -m 644 -D doc/man/cgclassify.1 $(DESTDIR)$(mandir)/man1/cgclassify.1 + $(INSTALL) -m 644 -D doc/man/cgexec.1 $(DESTDIR)$(mandir)/man1/cgexec.1 + $(INSTALL) -m 644 -D doc/man/cgred.conf.5 $(DESTDIR)$(mandir)/man5/cgred.conf.5 + $(INSTALL) -m 644 -D doc/man/cgconfig.conf.5 $(DESTDIR)$(mandir)/man5/cgconfig.conf.5 + $(INSTALL) -m 644 -D doc/man/cgrules.conf.5 $(DESTDIR)$(mandir)/man5/cgrules.conf.5 + $(INSTALL) -m 644 -D doc/man/cgconfigparser.8 $(DESTDIR)$(mandir)/man8/cgconfigparser.8 + $(INSTALL) -m 644 -D doc/man/cgrulesengd.8 $(DESTDIR)$(mandir)/man8/cgrulesengd.8 $(INSTALL) -D pam_cgroup.so $(DESTDIR)$(pamlibdir)/pam_cgroup.so uninstall: libcgroup.so ++++++ libcgroup-pamlibdir.patch ++++++ --- Makefile.in | 3 ++- configure.in | 7 +++++++ 2 files changed, 9 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.])], []) +PAM_LIBDIR="/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) + # Checks for programs. AC_PROG_CXX AC_PROG_CC ++++++ libcgroup-sigaction.patch ++++++ --- /var/tmp/diff_new_pack.KK8654/_old 2009-05-04 18:18:06.000000000 +0200 +++ /var/tmp/diff_new_pack.KK8654/_new 2009-05-04 18:18:06.000000000 +0200 @@ -1,10 +1,14 @@ ---- cgrulesengd.c -+++ cgrulesengd.c -@@ -589,7 +589,6 @@ int main(int argc, char *argv[]) +--- + cgrulesengd.c | 1 - + 1 file changed, 1 deletion(-) + +--- a/cgrulesengd.c ++++ b/cgrulesengd.c +@@ -755,7 +755,6 @@ int main(int argc, char *argv[]) */ sa.sa_handler = &cgre_flash_rules; sa.sa_flags = 0; - sa.sa_restorer = NULL; sigemptyset(&sa.sa_mask); if ((ret = sigaction(SIGUSR2, &sa, NULL))) { - flog(logfile, "Failed to set up signal handler for SIGUSR2." + flog(LOG_ERR, "Failed to set up signal handler for SIGUSR2." ++++++ libcgroup-yacc.patch ++++++ --- /var/tmp/diff_new_pack.KK8654/_old 2009-05-04 18:18:06.000000000 +0200 +++ /var/tmp/diff_new_pack.KK8654/_new 2009-05-04 18:18:06.000000000 +0200 @@ -1,6 +1,10 @@ ---- libcgroup-0.32/configure.in.old 2008-10-02 00:08:37.000000000 +0200 -+++ libcgroup-0.32/configure.in 2008-10-02 00:08:51.000000000 +0200 -@@ -22,10 +22,6 @@ +--- + configure.in | 4 ---- + 1 file changed, 4 deletions(-) + +--- a/configure.in ++++ b/configure.in +@@ -30,10 +30,6 @@ AC_ARG_ENABLE([debug], AC_PROG_CXX AC_PROG_CC AC_PROG_YACC ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org