Samuel Cabrero
879f39ba88
* Regression fix for ABI problem TDB_1_4_11 vs. TDB_1.4.11 - Update to 1.4.11 * Add tdbdump -x option to output all data as hex values * Add missing overflow check for num_values in pytdb.c * Remove Py2 related tests * Update times in tdb_transaction_commit per fd, not per name * Fix compilation with TDB_TRACE=1 * Allow tracing of internal tdb OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/tdb?expand=0&rev=120
41 lines
1.3 KiB
Diff
41 lines
1.3 KiB
Diff
Author: David Disseldorp <ddiss@samba.org>
|
|
Date: Wed Aug 15 18:33:08 CEST 2012
|
|
|
|
Build and link binaries with PIE flags.
|
|
|
|
Index: tdb-1.3.6/wscript
|
|
===================================================================
|
|
--- tdb-1.3.6.orig/wscript
|
|
+++ tdb-1.3.6/wscript
|
|
@@ -150,20 +150,27 @@ def build(bld):
|
|
|
|
bld.SAMBA_BINARY('tdbrestore',
|
|
'tools/tdbrestore.c',
|
|
- 'tdb', manpages='man/tdbrestore.8')
|
|
+ 'tdb',
|
|
+ cflags='-fPIE', ldflags='-pie',
|
|
+ manpages='man/tdbrestore.8')
|
|
|
|
bld.SAMBA_BINARY('tdbdump',
|
|
'tools/tdbdump.c',
|
|
- 'tdb', manpages='man/tdbdump.8')
|
|
+ 'tdb',
|
|
+ cflags='-fPIE', ldflags='-pie',
|
|
+ manpages='man/tdbdump.8')
|
|
|
|
bld.SAMBA_BINARY('tdbbackup',
|
|
'tools/tdbbackup.c',
|
|
'tdb',
|
|
+ cflags='-fPIE', ldflags='-pie',
|
|
manpages='man/tdbbackup.8')
|
|
|
|
bld.SAMBA_BINARY('tdbtool',
|
|
'tools/tdbtool.c',
|
|
- 'tdb', manpages='man/tdbtool.8')
|
|
+ 'tdb',
|
|
+ cflags='-fPIE', ldflags='-pie',
|
|
+ manpages='man/tdbtool.8')
|
|
|
|
if bld.env.standalone_tdb:
|
|
# FIXME: This hardcoded list is stupid, stupid, stupid.
|