aboutsummaryrefslogtreecommitdiffstats
path: root/databases/tdb/files
diff options
context:
space:
mode:
authortimur <timur@FreeBSD.org>2011-08-02 04:05:57 +0800
committertimur <timur@FreeBSD.org>2011-08-02 04:05:57 +0800
commit39c5925d55128f91a05952d2f9eacf1a17b42473 (patch)
tree4c69cfbf66c2a762ac187b87d5c42fc9d95c3232 /databases/tdb/files
parent12d20004ce1d268f76d43b7430f25c3b2a3a7d57 (diff)
downloadfreebsd-ports-gnome-39c5925d55128f91a05952d2f9eacf1a17b42473.tar.gz
freebsd-ports-gnome-39c5925d55128f91a05952d2f9eacf1a17b42473.tar.zst
freebsd-ports-gnome-39c5925d55128f91a05952d2f9eacf1a17b42473.zip
Update to version 1.2.9
Diffstat (limited to 'databases/tdb/files')
-rw-r--r--databases/tdb/files/patch-buildtools__wafsamba__samba_install.py11
-rw-r--r--databases/tdb/files/patch-tdb.mk68
-rw-r--r--databases/tdb/files/patch-wscript11
-rw-r--r--databases/tdb/files/tdbbackup.84
-rw-r--r--databases/tdb/files/tdbdump.84
-rw-r--r--databases/tdb/files/tdbrestore.845
-rw-r--r--databases/tdb/files/tdbtool.84
7 files changed, 73 insertions, 74 deletions
diff --git a/databases/tdb/files/patch-buildtools__wafsamba__samba_install.py b/databases/tdb/files/patch-buildtools__wafsamba__samba_install.py
new file mode 100644
index 000000000000..db564bd2376c
--- /dev/null
+++ b/databases/tdb/files/patch-buildtools__wafsamba__samba_install.py
@@ -0,0 +1,11 @@
+--- buildtools/wafsamba/samba_install.py.orig 2010-12-21 02:00:02.000000000 +0100
++++ buildtools/wafsamba/samba_install.py 2011-06-21 11:46:28.000000000 +0200
+@@ -109,7 +109,7 @@
+ inst_name = bld.make_libname(t.target)
+ elif self.vnum:
+ vnum_base = self.vnum.split('.')[0]
+- install_name = bld.make_libname(target_name, version=self.vnum)
++ install_name = bld.make_libname(target_name, version=vnum_base)
+ install_link = bld.make_libname(target_name, version=vnum_base)
+ inst_name = bld.make_libname(t.target)
+ if not self.private_library:
diff --git a/databases/tdb/files/patch-tdb.mk b/databases/tdb/files/patch-tdb.mk
deleted file mode 100644
index 889f4479c372..000000000000
--- a/databases/tdb/files/patch-tdb.mk
+++ /dev/null
@@ -1,68 +0,0 @@
---- tdb.mk.orig 2010-02-08 16:12:57.000000000 +0100
-+++ tdb.mk 2010-10-29 14:36:26.000000000 +0200
-@@ -5,8 +5,7 @@
- PROGS_NOINSTALL = bin/tdbtest$(EXEEXT) bin/tdbtorture$(EXEEXT)
- ALL_PROGS = $(PROGS) $(PROGS_NOINSTALL)
-
--TDB_SONAME = libtdb.$(SHLIBEXT).1
--TDB_SOLIB = libtdb.$(SHLIBEXT).$(PACKAGE_VERSION)
-+TDB_SOLIB = libtdb.$(SHLIBEXT).1
- TDB_STLIB = libtdb.a
-
- TDB_LIB = $(TDB_STLIB)
-@@ -28,7 +27,7 @@
-
- test:: abi_checks
-
--test:: bin/tdbtorture$(EXEEXT) $(TDB_SONAME)
-+test:: bin/tdbtorture$(EXEEXT) $(TDB_SOLIB)
- $(LIB_PATH_VAR)=. bin/tdbtorture$(EXEEXT)
-
- abi_checks::
-@@ -37,7 +36,7 @@
-
- clean::
- rm -f test.db test.tdb torture.tdb test.gdbm
-- rm -f $(TDB_SONAME) $(TDB_SOLIB) $(TDB_STLIB) libtdb.$(SHLIBEXT)
-+ rm -f $(TDB_SOLIB) $(TDB_STLIB) libtdb.$(SHLIBEXT)
- rm -f $(ALL_PROGS) tdb.pc
- rm -f tdb.exports.sort tdb.exports.check tdb.exports.check.sort
- rm -f tdb.signatures.sort tdb.signatures.check tdb.signatures.check.sort
-@@ -70,7 +69,7 @@
- mkdir -p $(DESTDIR)`$(PYTHON) -c "import distutils.sysconfig; print distutils.sysconfig.get_python_lib(1, prefix='$(prefix)')"`
- cp tdb.$(SHLIBEXT) $(DESTDIR)`$(PYTHON) -c "import distutils.sysconfig; print distutils.sysconfig.get_python_lib(1, prefix='$(prefix)')"`
-
--check-python:: build-python $(TDB_SONAME)
-+check-python:: build-python $(TDB_SOLIB)
- $(LIB_PATH_VAR)=. PYTHONPATH=".:$(tdbdir)" $(PYTHON) $(tdbdir)/python/tests/simple.py
-
- clean::
-@@ -80,7 +79,7 @@
- mkdir -p $(DESTDIR)$(bindir)
- mkdir -p $(DESTDIR)$(includedir)
- mkdir -p $(DESTDIR)$(libdir)
-- mkdir -p $(DESTDIR)$(libdir)/pkgconfig
-+ mkdir -p $(DESTDIR)$(prefix)/libdata/pkgconfig
-
- installbin:: all installdirs
- cp $(PROGS) $(DESTDIR)$(bindir)
-@@ -89,18 +88,13 @@
- cp $(srcdir)/include/tdb.h $(DESTDIR)$(includedir)
-
- installlibs:: all installdirs
-- cp tdb.pc $(DESTDIR)$(libdir)/pkgconfig
-+ cp tdb.pc $(DESTDIR)$(prefix)/libdata/pkgconfig
- cp $(TDB_STLIB) $(TDB_SOLIB) $(DESTDIR)$(libdir)
- rm -f $(DESTDIR)$(libdir)/libtdb.$(SHLIBEXT)
- ln -s $(TDB_SOLIB) $(DESTDIR)$(libdir)/libtdb.$(SHLIBEXT)
-- rm -f $(DESTDIR)$(libdir)/$(TDB_SONAME)
-- ln -s $(TDB_SOLIB) $(DESTDIR)$(libdir)/$(TDB_SONAME)
-
- $(TDB_STLIB): $(TDB_OBJ)
- ar -rv $(TDB_STLIB) $(TDB_OBJ)
-
- libtdb.$(SHLIBEXT): $(TDB_SOLIB)
- ln -fs $< $@
--
--$(TDB_SONAME): $(TDB_SOLIB)
-- ln -fs $< $@
diff --git a/databases/tdb/files/patch-wscript b/databases/tdb/files/patch-wscript
new file mode 100644
index 000000000000..562ac55ec282
--- /dev/null
+++ b/databases/tdb/files/patch-wscript
@@ -0,0 +1,11 @@
+--- ./wscript.orig 2011-04-05 03:59:59.000000000 +0200
++++ ./wscript 2011-04-05 04:00:57.000000000 +0200
+@@ -63,7 +63,7 @@
+ io.c open.c transaction.c hash.c summary.c''')
+
+ if bld.env.standalone_tdb:
+- bld.env.PKGCONFIGDIR = '${LIBDIR}/pkgconfig'
++ bld.env.PKGCONFIGDIR = '%%PKGCONFIGDIR%%'
+ bld.PKG_CONFIG_FILES('tdb.pc', vnum=VERSION)
+ bld.INSTALL_FILES('${INCLUDEDIR}', 'include/tdb.h', flat=True)
+ private_library = False
diff --git a/databases/tdb/files/tdbbackup.8 b/databases/tdb/files/tdbbackup.8
index fc554c80de1d..c378bb1288d9 100644
--- a/databases/tdb/files/tdbbackup.8
+++ b/databases/tdb/files/tdbbackup.8
@@ -2,12 +2,12 @@
.\" Title: tdbbackup
.\" Author: [see the "AUTHOR" section]
.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
-.\" Date: 10/26/2010
+.\" Date: 03/29/2011
.\" Manual: System Administration tools
.\" Source: Samba 3.6
.\" Language: English
.\"
-.TH "TDBBACKUP" "8" "10/26/2010" "Samba 3\&.6" "System Administration tools"
+.TH "TDBBACKUP" "8" "03/29/2011" "Samba 3\&.6" "System Administration tools"
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
diff --git a/databases/tdb/files/tdbdump.8 b/databases/tdb/files/tdbdump.8
index 59c11edb5308..e62e261b88cd 100644
--- a/databases/tdb/files/tdbdump.8
+++ b/databases/tdb/files/tdbdump.8
@@ -2,12 +2,12 @@
.\" Title: tdbdump
.\" Author: [see the "AUTHOR" section]
.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
-.\" Date: 10/26/2010
+.\" Date: 03/29/2011
.\" Manual: System Administration tools
.\" Source: Samba 3.6
.\" Language: English
.\"
-.TH "TDBDUMP" "8" "10/26/2010" "Samba 3\&.6" "System Administration tools"
+.TH "TDBDUMP" "8" "03/29/2011" "Samba 3\&.6" "System Administration tools"
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
diff --git a/databases/tdb/files/tdbrestore.8 b/databases/tdb/files/tdbrestore.8
new file mode 100644
index 000000000000..152172482509
--- /dev/null
+++ b/databases/tdb/files/tdbrestore.8
@@ -0,0 +1,45 @@
+'\" t
+.\" Title: tdbrestore
+.\" Author: [see the "AUTHOR" section]
+.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
+.\" Date: 03/29/2011
+.\" Manual: System Administration tools
+.\" Source: Samba 3.6
+.\" Language: English
+.\"
+.TH "TDBRESTORE" "8" "03/29/2011" "Samba 3\&.6" "System Administration tools"
+.\" -----------------------------------------------------------------
+.\" * set default formatting
+.\" -----------------------------------------------------------------
+.\" disable hyphenation
+.nh
+.\" disable justification (adjust text to left margin only)
+.ad l
+.\" -----------------------------------------------------------------
+.\" * MAIN CONTENT STARTS HERE *
+.\" -----------------------------------------------------------------
+.SH "NAME"
+tdbrestore \- tool for creating a TDB file out of a tdbdump output
+.SH "SYNOPSIS"
+.HP \w'\fBtdbrestore\fR\ 'u
+\fBtdbrestore\fR {tdbfilename}
+.SH "DESCRIPTION"
+.PP
+This tool is part of the
+\fBsamba\fR(1)
+suite\&.
+.PP
+\fBtdbrestore\fR
+is a very simple utility that \'restores\' the contents of dump file into TDB (Trivial DataBase) file\&. The dump file is obtained from the tdbdump command\&.
+.PP
+This tool wait on the standard input for the content of the dump and will write the tdb in the tdbfilename parameter\&.
+.PP
+This tool can be used for unpacking the content of tdb as backup mean\&.
+.SH "VERSION"
+.PP
+This man page is correct for version 3 of the Samba suite\&.
+.SH "AUTHOR"
+.PP
+The original Samba software and related utilities were created by Andrew Tridgell\&. Samba is now developed by the Samba Team as an Open Source project similar to the way the Linux kernel is developed\&. This tool was initially written by Volker Lendecke based on an idea by Simon McVittie\&.
+.PP
+The tdbrestore man page was written by Matthieu Patou\&.
diff --git a/databases/tdb/files/tdbtool.8 b/databases/tdb/files/tdbtool.8
index 91944321a5ca..dcb40fcf52c5 100644
--- a/databases/tdb/files/tdbtool.8
+++ b/databases/tdb/files/tdbtool.8
@@ -2,12 +2,12 @@
.\" Title: tdbtool
.\" Author: [see the "AUTHOR" section]
.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
-.\" Date: 10/26/2010
+.\" Date: 03/29/2011
.\" Manual: System Administration tools
.\" Source: Samba 3.6
.\" Language: English
.\"
-.TH "TDBTOOL" "8" "10/26/2010" "Samba 3\&.6" "System Administration tools"
+.TH "TDBTOOL" "8" "03/29/2011" "Samba 3\&.6" "System Administration tools"
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------