Hello community,

here is the log from the commit of package tdb for openSUSE:Factory checked in 
at 2012-09-23 21:15:49
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/tdb (Old)
 and      /work/SRC/openSUSE:Factory/.tdb.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "tdb", Maintainer is ""

Changes:
--------
--- /work/SRC/openSUSE:Factory/tdb/tdb.changes  2012-07-09 13:34:35.000000000 
+0200
+++ /work/SRC/openSUSE:Factory/.tdb.new/tdb.changes     2012-09-23 
21:15:51.000000000 +0200
@@ -4 +4 @@
-- Ignore tdb run transaction expand check on ppc as well 
+- Ignore tdb run transaction expand check on ppc as well; (bnc#769268). 
@@ -14,0 +15,5 @@
+
+-------------------------------------------------------------------
+Wed Jun 13 10:23:35 UTC 2012 - [email protected]
+
+- Build and link binaries with PIE flags.

New:
----
  build_pie.patch

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

Other differences:
------------------
++++++ tdb.spec ++++++
--- /var/tmp/diff_new_pack.5LTJnd/_old  2012-09-23 21:15:51.000000000 +0200
+++ /var/tmp/diff_new_pack.5LTJnd/_new  2012-09-23 21:15:51.000000000 +0200
@@ -43,6 +43,7 @@
 Source1:        http://download.samba.org/pub/tdb/tdb-%{version}.tar.asc
 Source4:        baselibs.conf
 Patch0:         ignore-tdb1-run-transaction-expand.diff
+Patch1:         build_pie.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -118,6 +119,7 @@
 %ifarch ppc ppc64
 %patch0 -p1
 %endif
+%patch1 -p1
 
 %build
 %if 0%{?suse_version} && 0%{?suse_version} < 911

++++++ build_pie.patch ++++++
Author: David Disseldorp <[email protected]>
Date:   Wed Aug 15 18:33:08 CEST 2012

    Build and link binaries with PIE flags.

Index: tdb-1.2.10/wscript
===================================================================
--- tdb-1.2.10.orig/wscript
+++ tdb-1.2.10/wscript
@@ -94,20 +94,27 @@ def build(bld):
 
         bld.SAMBA_BINARY('tdbrestore',
                          'tools/tdbrestore.c',
-                         'tdb', manpages='manpages/tdbrestore.8')
+                         'tdb',
+                        cflags='-fPIE', ldflags='-pie',
+                        manpages='manpages/tdbrestore.8')
 
         bld.SAMBA_BINARY('tdbdump',
                          'tools/tdbdump.c',
-                         'tdb', manpages='manpages/tdbdump.8')
+                         'tdb',
+                        cflags='-fPIE', ldflags='-pie',
+                        manpages='manpages/tdbdump.8')
 
         bld.SAMBA_BINARY('tdbbackup',
                          'tools/tdbbackup.c',
                          'tdb',
+                        cflags='-fPIE', ldflags='-pie',
                          manpages='manpages/tdbbackup.8')
 
         bld.SAMBA_BINARY('tdbtool',
                          'tools/tdbtool.c',
-                         'tdb', manpages='manpages/tdbtool.8')
+                         'tdb',
+                        cflags='-fPIE', ldflags='-pie',
+                        manpages='manpages/tdbtool.8')
 
         # FIXME: This hardcoded list is stupid, stupid, stupid.
         bld.SAMBA_SUBSYSTEM('tdb-test-helpers',

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to