Hello community,

here is the log from the commit of package libcgroup for openSUSE:Factory 
checked in at 2013-05-16 11:08:00
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libcgroup (Old)
 and      /work/SRC/openSUSE:Factory/.libcgroup.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libcgroup"

Changes:
--------
--- /work/SRC/openSUSE:Factory/libcgroup/libcgroup.changes      2013-03-08 
09:15:32.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.libcgroup.new/libcgroup.changes 2013-05-16 
11:08:01.000000000 +0200
@@ -1,0 +2,6 @@
+Thu May  2 18:17:46 CEST 2013 - [email protected]
+
+- do-not-version-pam-module.patch: fix an invalid link to pam_cgroup.so.0.0.0
+  and do not build cgroup pam module as a versioned shared object (bnc#817533)
+
+-------------------------------------------------------------------

New:
----
  do-not-version-pam-module.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ libcgroup.spec ++++++
--- /var/tmp/diff_new_pack.PLIcLQ/_old  2013-05-16 11:08:01.000000000 +0200
+++ /var/tmp/diff_new_pack.PLIcLQ/_new  2013-05-16 11:08:01.000000000 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package libcgroup
 #
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -31,10 +31,14 @@
 Patch6:         initd_cgred.patch
 Patch7:         libcgroup-man_pages.patch
 Patch8:         initd_cgconfig-read-correctly-defaultcgroup.patch
+Patch9:         do-not-version-pam-module.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+BuildRequires:  autoconf
+BuildRequires:  automake
 BuildRequires:  bison
 BuildRequires:  flex
 BuildRequires:  gcc-c++
+BuildRequires:  libtool
 BuildRequires:  pam-devel
 BuildRequires:  pkg-config
 Requires:       insserv
@@ -85,6 +89,7 @@
 %patch6 -p1
 %patch7
 %patch8 -p1
+%patch9 -p1
 
 %build
 # only for GIT builds
@@ -97,6 +102,7 @@
 %endif
 # ==============
 
+autoreconf -f -i
 %configure --enable-pam-module-dir=/%{_lib}/security 
--enable-initscript-install
 export V=1
 make %{?_smp_mflags}

++++++ do-not-version-pam-module.patch ++++++
Cgroup pam module shouldn't be versioned because it is not being linked to any
binary.

Index: libcgroup-0.37.1/src/pam/Makefile.am
===================================================================
--- libcgroup-0.37.1.orig/src/pam/Makefile.am
+++ libcgroup-0.37.1/src/pam/Makefile.am
@@ -4,7 +4,7 @@ if WITH_PAM
 
 pamlib_LTLIBRARIES = pam_cgroup.la
 pam_cgroup_la_SOURCES = pam_cgroup.c
-pam_cgroup_la_LDFLAGS = -module
+pam_cgroup_la_LDFLAGS = -module -avoid-version
 pam_cgroup_la_LIBADD = $(top_builddir)/src/.libs/libcgroup.la -lpam
 
 endif
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to