dmake (1:4.12-2) debian-dir only changes

Summary

 debian/README.Debian                       |   21 ++
 debian/changelog                           |  266 ++++++++++++++++++++++++++++
 debian/compat                              |    1 
 debian/control                             |   40 ++++
 debian/copyright                           |  268 +++++++++++++++++++++++++++++
 debian/dmake.dirs                          |    1 
 debian/dmake.docs                          |    3 
 debian/dmake.manpages                      |    1 
 debian/intro-update.diff                   |   19 ++
 debian/patches/fix-overlapping-stcpys.diff |  233 +++++++++++++++++++++++++
 debian/rules                               |   32 +++
 debian/watch                               |    2 
 12 files changed, 887 insertions(+)

    
download this patch

Patch contents

--- dmake-4.12.orig/debian/intro-update.diff
+++ dmake-4.12/debian/intro-update.diff
@@ -0,0 +1,19 @@
+Index: intro.txt
+===================================================================
+RCS file: /cvs/tools/dmake/readme/intro.txt,v
+retrieving revision 1.2.2.1
+diff -u -u -r1.2.2.1 intro.txt
+--- intro.txt	31 Mar 2006 16:04:35 -0000	1.2.2.1
++++ intro.txt	6 Apr 2006 17:19:27 -0000
+@@ -32,9 +32,9 @@
+ 
+ Current release notes can be found in the file:
+ 
+-	NEWS
++	/usr/share/doc/dmake/NEWS.gz
+ 
+ Release notes for older dmake versions (4.1 and before) can be found in
+ the file:
+ 
+-	readme/release.txt
++	/usr/share/doc/dmake/release.txt.gz
--- dmake-4.12.orig/debian/dmake.docs
+++ dmake-4.12/debian/dmake.docs
@@ -0,0 +1,3 @@
+readme/intro.txt
+readme/release.txt
+readme/public/unix.txt
--- dmake-4.12.orig/debian/watch
+++ dmake-4.12/debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://tools.openoffice.org/dmake/dmake_(\d.\d+).zip debian uupdate
--- dmake-4.12.orig/debian/dmake.manpages
+++ dmake-4.12/debian/dmake.manpages
@@ -0,0 +1 @@
+man/dmake.tf
--- dmake-4.12.orig/debian/dmake.dirs
+++ dmake-4.12/debian/dmake.dirs
@@ -0,0 +1 @@
+usr/share/dmake/startup/linux
--- dmake-4.12.orig/debian/copyright
+++ dmake-4.12/debian/copyright
@@ -0,0 +1,268 @@
+This package was made by Chris Halls <halls@debian.org>, July 2003.
+
+It was downloaded from the Openoffice.org anonymous CVS server, because the
+upstream web page mentioned in the documentation no longer exists.
+
+The package was downloaded like this:
+cvs -z3 -d :pserver:anoncvs@anoncvs.services.openoffice.org:/cvs export -r cws_srx645_ooo111fix1 dmake
+
+Author: Dennis Vadura, dvadura@dmake.wticorp.com
+
+Copyright: GPL v1
+
+This copyright notice comes from readme/license.txt in the source.  The old FSF
+address has been removed; it is now:
+
+  Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
+  MA 02111-1307, USA.
+
+---------------------------------------------------------------------------
+
+		    GNU GENERAL PUBLIC LICENSE
+		     Version 1, February 1989
+
+ Copyright (C) 1989 Free Software Foundation, Inc.
+
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+			    Preamble
+
+  The license agreements of most software companies try to keep users
+at the mercy of those companies.  By contrast, our General Public
+License is intended to guarantee your freedom to share and change free
+software--to make sure the software is free for all its users.  The
+General Public License applies to the Free Software Foundation's
+software and to any other program whose authors commit to using it.
+You can use it for your programs, too.
+
+  When we speak of free software, we are referring to freedom, not
+price.  Specifically, the General Public License is designed to make
+sure that you have the freedom to give away or sell copies of free
+software, that you receive source code or can get it if you want it,
+that you can change the software or use pieces of it in new free
+programs; and that you know you can do these things.
+
+  To protect your rights, we need to make restrictions that forbid
+anyone to deny you these rights or to ask you to surrender the rights.
+These restrictions translate to certain responsibilities for you if you
+distribute copies of the software, or if you modify it.
+
+  For example, if you distribute copies of a such a program, whether
+gratis or for a fee, you must give the recipients all the rights that
+you have.  You must make sure that they, too, receive or can get the
+source code.  And you must tell them their rights.
+
+  We protect your rights with two steps: (1) copyright the software, and
+(2) offer you this license which gives you legal permission to copy,
+distribute and/or modify the software.
+
+  Also, for each author's protection and ours, we want to make certain
+that everyone understands that there is no warranty for this free
+software.  If the software is modified by someone else and passed on, we
+want its recipients to know that what they have is not the original, so
+that any problems introduced by others will not reflect on the original
+authors' reputations.
+
+  The precise terms and conditions for copying, distribution and
+modification follow.
+
+		    GNU GENERAL PUBLIC LICENSE
+   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
+
+  0. This License Agreement applies to any program or other work which
+contains a notice placed by the copyright holder saying it may be
+distributed under the terms of this General Public License.  The
+"Program", below, refers to any such program or work, and a "work based
+on the Program" means either the Program or any work containing the
+Program or a portion of it, either verbatim or with modifications.  Each
+licensee is addressed as "you".
+
+  1. You may copy and distribute verbatim copies of the Program's source
+code as you receive it, in any medium, provided that you conspicuously and
+appropriately publish on each copy an appropriate copyright notice and
+disclaimer of warranty; keep intact all the notices that refer to this
+General Public License and to the absence of any warranty; and give any
+other recipients of the Program a copy of this General Public License
+along with the Program.  You may charge a fee for the physical act of
+transferring a copy.
+
+  2. You may modify your copy or copies of the Program or any portion of
+it, and copy and distribute such modifications under the terms of Paragraph
+1 above, provided that you also do the following:
+
+    a) cause the modified files to carry prominent notices stating that
+    you changed the files and the date of any change; and
+
+    b) cause the whole of any work that you distribute or publish, that
+    in whole or in part contains the Program or any part thereof, either
+    with or without modifications, to be licensed at no charge to all
+    third parties under the terms of this General Public License (except
+    that you may choose to grant warranty protection to some or all
+    third parties, at your option).
+
+    c) If the modified program normally reads commands interactively when
+    run, you must cause it, when started running for such interactive use
+    in the simplest and most usual way, to print or display an
+    announcement including an appropriate copyright notice and a notice
+    that there is no warranty (or else, saying that you provide a
+    warranty) and that users may redistribute the program under these
+    conditions, and telling the user how to view a copy of this General
+    Public License.
+
+    d) You may charge a fee for the physical act of transferring a
+    copy, and you may at your option offer warranty protection in
+    exchange for a fee.
+
+Mere aggregation of another independent work with the Program (or its
+derivative) on a volume of a storage or distribution medium does not bring
+the other work under the scope of these terms.
+
+  3. You may copy and distribute the Program (or a portion or derivative of
+it, under Paragraph 2) in object code or executable form under the terms of
+Paragraphs 1 and 2 above provided that you also do one of the following:
+
+    a) accompany it with the complete corresponding machine-readable
+    source code, which must be distributed under the terms of
+    Paragraphs 1 and 2 above; or,
+
+    b) accompany it with a written offer, valid for at least three
+    years, to give any third party free (except for a nominal charge
+    for the cost of distribution) a complete machine-readable copy of the
+    corresponding source code, to be distributed under the terms of
+    Paragraphs 1 and 2 above; or,
+
+    c) accompany it with the information you received as to where the
+    corresponding source code may be obtained.  (This alternative is
+    allowed only for noncommercial distribution and only if you
+    received the program in object code or executable form alone.)
+
+Source code for a work means the preferred form of the work for making
+modifications to it.  For an executable file, complete source code means
+all the source code for all modules it contains; but, as a special
+exception, it need not include source code for modules which are standard
+libraries that accompany the operating system on which the executable
+file runs, or for standard header files or definitions files that
+accompany that operating system.
+
+  4. You may not copy, modify, sublicense, distribute or transfer the
+Program except as expressly provided under this General Public License.
+Any attempt otherwise to copy, modify, sublicense, distribute or transfer
+the Program is void, and will automatically terminate your rights to use
+the Program under this License.  However, parties who have received
+copies, or rights to use copies, from you under this General Public
+License will not have their licenses terminated so long as such parties
+remain in full compliance.
+
+  5. By copying, distributing or modifying the Program (or any work based
+on the Program) you indicate your acceptance of this license to do so,
+and all its terms and conditions.
+
+  6. Each time you redistribute the Program (or any work based on the
+Program), the recipient automatically receives a license from the original
+licensor to copy, distribute or modify the Program subject to these
+terms and conditions.  You may not impose any further restrictions on the
+recipients' exercise of the rights granted herein.
+
+  7. The Free Software Foundation may publish revised and/or new versions
+of the General Public License from time to time.  Such new versions will
+be similar in spirit to the present version, but may differ in detail to
+address new problems or concerns.
+
+Each version is given a distinguishing version number.  If the Program
+specifies a version number of the license which applies to it and "any
+later version", you have the option of following the terms and conditions
+either of that version or of any later version published by the Free
+Software Foundation.  If the Program does not specify a version number of
+the license, you may choose any version ever published by the Free Software
+Foundation.
+
+  8. If you wish to incorporate parts of the Program into other free
+programs whose distribution conditions are different, write to the author
+to ask for permission.  For software which is copyrighted by the Free
+Software Foundation, write to the Free Software Foundation; we sometimes
+make exceptions for this.  Our decision will be guided by the two goals
+of preserving the free status of all derivatives of our free software and
+of promoting the sharing and reuse of software generally.
+
+			    NO WARRANTY
+
+  9. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
+FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW.  EXCEPT WHEN
+OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
+PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
+OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK AS
+TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE
+PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
+REPAIR OR CORRECTION.
+
+  10. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
+WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
+REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
+INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
+OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
+TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
+YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
+PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
+POSSIBILITY OF SUCH DAMAGES.
+
+		     END OF TERMS AND CONDITIONS
+
+	Appendix: How to Apply These Terms to Your New Programs
+
+  If you develop a new program, and you want it to be of the greatest
+possible use to humanity, the best way to achieve this is to make it
+free software which everyone can redistribute and change under these
+terms.
+
+  To do so, attach the following notices to the program.  It is safest to
+attach them to the start of each source file to most effectively convey
+the exclusion of warranty; and each file should have at least the
+"copyright" line and a pointer to where the full notice is found.
+
+    <one line to give the program's name and a brief idea of what it does.>
+    Copyright (C) 19yy  <name of author>
+
+    This program is free software; you can redistribute it and/or modify
+    it under the terms of the GNU General Public License as published by
+    the Free Software Foundation; either version 1, or (at your option)
+    any later version.
+
+    This program is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    GNU General Public License for more details.
+
+    You should have received a copy of the GNU General Public License
+    along with this program; if not, write to the Free Software
+    Foundation
+
+Also add information on how to contact you by electronic and paper mail.
+
+If the program is interactive, make it output a short notice like this
+when it starts in an interactive mode:
+
+    Gnomovision version 69, Copyright (C) 19xx name of author
+    Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
+    This is free software, and you are welcome to redistribute it
+    under certain conditions; type `show c' for details.
+
+The hypothetical commands `show w' and `show c' should show the
+appropriate parts of the General Public License.  Of course, the
+commands you use may be called something other than `show w' and `show
+c'; they could even be mouse-clicks or menu items--whatever suits your
+program.
+
+You should also get your employer (if you work as a programmer) or your
+school, if any, to sign a "copyright disclaimer" for the program, if
+necessary.  Here a sample; alter the names:
+
+  Yoyodyne, Inc., hereby disclaims all copyright interest in the
+  program `Gnomovision' (a program to direct compilers to make passes
+  at assemblers) written by James Hacker.
+
+  <signature of Ty Coon>, 1 April 1989
+  Ty Coon, President of Vice
+
+That's all there is to it!
--- dmake-4.12.orig/debian/rules
+++ dmake-4.12/debian/rules
@@ -0,0 +1,32 @@
+#!/usr/bin/make -f 
+# Rules for dmake
+# Chris Halls <halls@debian.org>
+#
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/autotools.mk
+
+# Patches in debian/patches
+include /usr/share/cdbs/1/rules/simple-patchsys.mk
+
+# Work around bug#219451
+# dmake: error while loading shared libraries: /lib64/libc.so.6: unexpected reloc type 0x08
+ifeq ($(DEB_BUILD_ARCH),sparc)
+  CFLAGS+= -m32
+endif
+
+DEB_CONFIGURE_EXTRA_FLAGS := --datarootdir="\$${prefix}/share/dmake"
+DEB_MAKE_CHECK_TARGET = check
+
+clean::
+	# make distclean doesn't remove all generated makefiles
+	find startup -name Makefile -exec rm {} \;
+	rm -f dmakeroot.h
+	chmod u+x tests/targets-*
+
+configure/dmake::
+	chmod +x tests/targets-*[!~]
+
+binary-post-install/dmake::
+	# startup config file
+	install -p -o root -g root -m 644 unix/linux/gnu/template.mk \
+			  debian/dmake/usr/share/dmake/startup/linux/config.mk
--- dmake-4.12.orig/debian/README.Debian
+++ dmake-4.12/debian/README.Debian
@@ -0,0 +1,21 @@
+dmake for Debian
+----------------
+This package contains dmake, the tool used to compile Openoffice.org from
+source.  
+
+You can view the source here: 
+   http://tools.openoffice.org/source/browse/tools/dmake
+
+From http://tools.openoffice.org:
+---------------------------------
+The original sources were available on http://dmake.wticorp.com. This site has
+not been reachable for some time.
+
+Added features in dmake:
+
+  o smaller/greater arithmetic's: conditions like " .IF 400<=200 " are now possible
+  o Boolean expression "or" and "and":
+    for example:
+    - .IF "$(GUI)"=="UNX" || "$(GUIBASE)"=="WIN". 
+    - .IF "$(GUI)"=="UNX" && "$(COM)"=="GCC"
+    This allows to write smarter expressions.
--- dmake-4.12.orig/debian/compat
+++ dmake-4.12/debian/compat
@@ -0,0 +1 @@
+4
--- dmake-4.12.orig/debian/changelog
+++ dmake-4.12/debian/changelog
@@ -0,0 +1,266 @@
+dmake (1:4.12-2) unstable; urgency=low
+
+  * add patch from upstream i104406 to fix overlapping
+    strcpy()s failing with newe(er) compilers 
+  * add ${misc:Depends} to make lintian happier
+
+ -- Rene Engelhard <rene@debian.org>  Fri, 15 Jan 2010 17:34:28 +0100
+
+dmake (1:4.12-1) unstable; urgency=low
+
+  * new upstream release 
+
+ -- Rene Engelhard <rene@debian.org>  Mon, 10 Mar 2008 17:28:50 +0100
+
+dmake (1:4.11-2) unstable; urgency=low
+
+  * upload to unstable 
+
+ -- Rene Engelhard <rene@debian.org>  Fri, 09 Nov 2007 13:48:29 +0100
+
+dmake (1:4.11-1) experimental; urgency=low
+
+  * dmake 4.11 (cws_src680_dmake411 integrated)
+
+ -- Rene Engelhard <rene@debian.org>  Mon, 15 Oct 2007 22:36:08 +0200
+
+dmake (1:4.11~cvs20071004-3) experimental; urgency=low
+
+  * merge from Ubuntui:
+    - chmod +x tests/targets-* so that bash is willing to execute them.
+      Fixes FTBFS found by autopkgtest (LP: #135564; LP: #127196).
+      This is a workaround - it would be better if automake arranged for the
+      generated Makefile.in to do this. 
+      (closes: #444990)
+
+ -- Rene Engelhard <rene@debian.org>  Fri, 05 Oct 2007 13:45:41 +0200
+
+dmake (1:4.11~cvs20071004-2) experimental; urgency=low
+
+  * use --datarootdir 
+
+ -- Rene Engelhard <rene@debian.org>  Fri, 05 Oct 2007 13:19:44 +0200
+
+dmake (1:4.11~cvs20071004-1) experimental; urgency=low
+
+  * new upstream snapshot (cws_src680_dmake411)
+  * add debian/watch relying on http://tools.openoffice.org/dmake/ although
+    this is currently out of date...
+
+ -- Rene Engelhard <rene@debian.org>  Fri, 05 Oct 2007 11:18:54 +0200
+
+dmake (1:4.9-1) unstable; urgency=low
+
+  * new upstream release 
+
+ -- Rene Engelhard <rene@debian.org>  Tue, 03 Jul 2007 13:44:21 +0200
+
+dmake (1:4.8-1) unstable; urgency=low
+
+  * dmake 4.8 release identical to below
+  * upload to unstable
+
+ -- Rene Engelhard <rene@debian.org>  Wed, 13 Jun 2007 14:11:33 +0200
+
+dmake (1:4.8~cvs20070706-1) experimental; urgency=low
+
+  * new upstream snapshot (cws_src680_dmake48) 
+
+ -- Rene Engelhard <rene@debian.org>  Wed, 06 Jun 2007 18:02:28 +0200
+
+dmake (1:4.7-4) unstable; urgency=low
+
+  * upload to unstable 
+
+ -- Rene Engelhard <rene@debian.org>  Sun,  8 Apr 2007 13:53:37 +0200
+
+dmake (1:4.7-3) experimental; urgency=low
+
+  * use http://glibc-bsd.alioth.debian.org/patches/dmake.diff as
+    patch for GNU/kFreeBSD support
+
+ -- Rene Engelhard <rene@debian.org>  Sat, 27 Jan 2007 19:13:53 +0100
+
+dmake (1:4.7-2) experimental; urgency=low
+
+  * also patch configure.in for GNU/kFreeBSD support.
+  * rename 01_kfreebsd to 01_kfreebsd.diff to make it actually be
+    applied. DOH!
+
+ -- Rene Engelhard <rene@debian.org>  Thu, 25 Jan 2007 12:31:10 +0100
+
+dmake (1:4.7-1) experimental; urgency=low
+
+  * New upstream release
+
+ -- Rene Engelhard <rene@debian.org>  Thu, 18 Jan 2007 17:53:01 +0100
+
+dmake (1:4.6-1) unstable; urgency=low
+
+  * new upstream release
+
+ -- Rene Engelhard <rene@debian.org>  Mon, 25 Sep 2006 12:47:09 +0200
+
+dmake (1:4.5-3) unstable; urgency=low
+
+  * upload to unstable
+  * add GNU/kFreeBSD support
+  * fix spellings in package description (closes: #363257)
+
+ -- Rene Engelhard <rene@debian.org>  Sun, 10 Sep 2006 10:05:30 +0200
+
+dmake (1:4.5-2) experimental; urgency=low
+
+  * reupload dmake 4.5 to experimental
+
+ -- Rene Engelhard <rene@debian.org>  Sat, 15 Jul 2006 11:40:23 +0200
+
+dmake (1:4.4-2) unstable; urgency=low
+
+  * reupload dmake 4.4 to sid; dmake 4.5 breaks OOo 2.0.3's build
+
+ -- Rene Engelhard <rene@debian.org>  Sat, 15 Jul 2006 11:37:19 +0200
+
+dmake (4.5-1) unstable; urgency=low
+
+  * new upstream release
+
+ -- Rene Engelhard <rene@debian.org>  Wed,  5 Jul 2006 20:37:47 +0200
+
+dmake (4.4-1) unstable; urgency=low
+
+  * dmake 4.4 final release 
+
+ -- Rene Engelhard <rene@debian.org>  Thu,  6 Apr 2006 19:18:17 +0200
+
+dmake (4.3+cvs20060323-1) unstable; urgency=low
+
+  * new CVS snapshot 
+
+ -- Rene Engelhard <rene@debian.org>  Thu, 23 Mar 2006 10:04:51 +0100
+
+dmake (4.3+cvs20060104-4) unstable; urgency=low
+
+  * build-depend on autotools-dev (closes: #347587) 
+
+ -- Rene Engelhard <rene@debian.org>  Wed, 11 Jan 2006 18:09:18 +0100
+
+dmake (4.3+cvs20060104-3) unstable; urgency=low
+
+  * Upload to unstable 
+
+ -- Rene Engelhard <rene@debian.org>  Mon,  9 Jan 2006 23:27:29 +0100
+
+dmake (4.3+cvs20060104-2) experimental; urgency=low
+
+  * run make check
+
+ -- Rene Engelhard <rene@debian.org>  Sat,  7 Jan 2006 03:21:00 +0100
+
+dmake (4.3+cvs20060104-1) experimental; urgency=low
+
+  * update to cws dmake43p01, 2006-01-04
+    - fixes behaviour under screen (closes: #310107)
+
+ -- Rene Engelhard <rene@debian.org>  Fri,  6 Jan 2006 05:25:50 +0100
+
+dmake (4.3-2) unstable; urgency=high
+
+  * oops, readd dmakeroot-from-configure.diff and updated
+    run-autogen-sh.diff, still needed.
+
+ -- Rene Engelhard <rene@debian.org>  Wed,  9 Feb 2005 09:17:12 +0100
+
+dmake (4.3-1) unstable; urgency=low
+
+  * New upstream release (OpenOffice.org CVS, cws_src680_dmake43) with
+    the minor fixes from cws_src680_dmake43p01 as p01.diff
+  * s/Openoffice.org/OpenOffice.org/ and minor description fix
+    (closes: #254040)
+  * mention new && support in README.Debian
+  * Standards-Version: 3.6.1 (no changes needed)
+
+ -- Rene Engelhard <rene@debian.org>  Tue, 18 Jan 2005 01:59:22 +0100
+
+dmake (4.2+cvs20031009-5) unstable; urgency=low
+
+  * Work around libc bug#219451 by compiling with -m32 on sparc
+  * Change 'freeware' to 'public domain' in description
+    (closes: #218783)
+
+ -- Chris Halls <halls@debian.org>  Wed, 19 Nov 2003 08:44:33 +0000
+
+dmake (4.2+cvs20031009-4) unstable; urgency=low
+
+  * do not mention the tempfile vulnerability in the manpage in BUGS
+    since it is fixed. [RE]
+
+ -- Rene Engelhard <rene@debian.org>  Tue, 21 Oct 2003 16:27:42 +0200
+
+dmake (4.2+cvs20031009-3) unstable; urgency=low
+
+  * Add patch by Richard Levitte: libtarget-fix.diff 
+    from IZ#20504.  Fixes problems with targets with .LIBRARY attribute.
+
+ -- Chris Halls <halls@debian.org>  Tue, 21 Oct 2003 13:27:37 +0200
+
+dmake (4.2+cvs20031009-2) unstable; urgency=low
+
+  * add Build-Depends: on debhelper (>> 4.1.0), cdbs
+
+ -- Rene Engelhard <rene@debian.org>  Thu, 16 Oct 2003 04:01:29 +0200
+
+dmake (4.2+cvs20031009-1) unstable; urgency=low
+
+  * Upload to debian unstable, now the tempfile vulnerability bug is fixed
+    (closes:#120556)
+  * New upstream version, taken from OOo CVS, branch cws_srx645_ooo111fix1
+    - Fixes tempfile vulnerability (upstream IZ#7800)
+  * Added patches:
+    + dmakeroot-from-configure: set built in path to startup files from
+      --datadir configure flag.
+    + debversion-from-configure: Make 'dmake -V' report its version using the
+      version number in configure.in
+    + cflags-no-clobber: don't set CFLAGS in Makefile.am
+    + run-autogen-sh: generated new configure/Makefile.ins
+    + intro-update: remove obsolete information from intro.txt
+  * Remove wrapper now that tempfile and dmakeroot problems are fixed.
+  * Change maintainer to Debian OpenOffice Team with myself and
+    Rene as uploaders
+  * Use cdbs build system
+  * Standards version 3.5.10
+
+ -- Chris Halls <halls@debian.org>  Thu,  9 Oct 2003 17:57:54 +0200
+
+dmake (4.2-3) unstable; urgency=low
+
+  * Create a wrapper for dmake in /usr/bin and move binary to /usr/lib/dmake
+  * Set DMAKEROOT to /usr/share/dmake/startup if not already set
+  * Do not run if working directory if group/other write permission bits are
+    set.  Override with dmake --insecure or by defining the environment
+    variable DMAKE_INSECURE.
+  * Update README.Debian and manpage to reflect changes
+
+ -- Chris Halls <chris.halls@gmx.de>  Mon, 24 Jun 2002 18:24:51 +0200
+
+dmake (4.2-2) unstable; urgency=low
+
+  * Removed empty preinst and postrm
+  * Updated description and README.Debian with extra information from the
+    webpage
+  * debian/rules: do not fail if build is run twice
+  * Fix indentation and other problems in man page
+  * compress package changelog
+
+ -- Chris Halls <chris.halls@gmx.de>  Wed, 12 Jun 2002 14:11:31 +0200
+
+dmake (4.2-1) unstable; urgency=low
+
+  * Initial Release.
+    - remove references to old homepage
+    - run autogen.sh to update autocon
+      infrastructure
+    - fix compilation warning in dmake.c
+    - warn about use of tempnam in README.Debian
+
+ -- Chris Halls <chris.halls@gmx.de>  Thu, 25 Apr 2002 18:55:33 +0200
--- dmake-4.12.orig/debian/control
+++ dmake-4.12/debian/control
@@ -0,0 +1,40 @@
+Source: dmake
+Section: devel
+Priority: extra
+Maintainer: Debian OpenOffice Team <debian-openoffice@lists.debian.org>
+Uploaders: Chris Halls <halls@debian.org>, Rene Engelhard <rene@debian.org>
+Build-Depends: debhelper (>> 4.0.0), cdbs, autotools-dev
+Standards-Version: 3.6.1
+
+Package: dmake
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: make utility used to build OpenOffice.org
+ Dmake is a make utility similar to GNU make or the Workshop dmake.
+ .
+ This utility has an irregular syntax but is available for Linux, Solaris, and
+ Win32 and other platforms. This version of dmake is a modified version of the
+ original public domain dmake, and is used to build OpenOffice.org.
+ .
+ Dmake features:
+   * support for portable makefiles
+   * portable across many platforms
+   * significantly enhanced macro facilities
+   * sophisticated inference algorithm supporting 
+     transitive closure over the inference graph
+   * support for traversing the file system both 
+     during making of targets and during inference
+   * %-meta rules for specifying rules to be used 
+     for inferring prerequisites
+   * conditional macros
+   * local rule macro variables
+   * proper support for libraries
+   * parallel making of targets on architectures 
+     that support it
+   * attributed targets
+   * text diversions
+   * group recipes
+   * supports MKS extended argument passing 
+     convention
+   * directory caching
+   * highly configurable
--- dmake-4.12.orig/debian/patches/fix-overlapping-stcpys.diff
+++ dmake-4.12/debian/patches/fix-overlapping-stcpys.diff
@@ -0,0 +1,233 @@
+diff -ru dmake.orig/rulparse.c dmake/rulparse.c
+--- dmake.orig/rulparse.c	2009-07-29 13:31:47.000000000 +0100
++++ dmake/rulparse.c	2009-07-29 13:32:09.000000000 +0100
+@@ -897,7 +897,7 @@
+ 	 /* Handle %-targets. */
+ 	 CELLPTR cur;
+ 	 CELLPTR tpq = NIL(CELL);
+-	 CELLPTR nprq;
++	 CELLPTR nprq = NULL;
+ 
+ #ifdef DBUG
+ 	 DB_PRINT( "%", ("Handling %%-target [%s : : <prerequisites follow, maybe empty>]",
+@@ -915,7 +915,8 @@
+ 
+ 	    if( *name == '\'' && name[len-1]=='\'' ){
+ 	       name[len-1] = '\0';
+-	       strcpy(name,name+1);
++	       len = strlen(name+1)+1;
++	       memmove(name,name+1,len);
+ 	       /* add indirect prerequisite */
+ 	       _add_indirect_prereq( cur );
+ 	    }
+diff -ru dmake.orig/dag.c dmake/dag.c
+--- dmake.orig/dag.c	2009-08-07 20:18:31.000000000 +0100
++++ dmake/dag.c	2009-08-07 20:30:59.000000000 +0100
+@@ -369,14 +369,17 @@
+ 	 /* strip out any \<nl> combinations where \ is the current
+ 	  * CONTINUATION char */
+ 	 for(p=q; (p=strchr(p,CONTINUATION_CHAR))!=NIL(char); )
+-	    if( p[1] == '\n' )
+-	       strcpy( p, p+2 );
++	    if( p[1] == '\n' ) {
++	       size_t len = strlen(p+2)+1;
++	       memmove ( p, p+2, len );
++	    }
+ 	    else
+ 	       p++;
+ 
+ 	 p = DmStrSpn(q ," \t");	/* Strip white space before ... */
+ 	 if( p != q ) {
+-	    strcpy( q, p);
++	    size_t len = strlen(p)+1;
++	    memmove( q, p, len );
+ 	    p = q;
+ 	 }
+ 
+diff -ru dmake.orig/expand.c dmake/expand.c
+--- dmake.orig/expand.c	2009-08-07 20:18:34.000000000 +0100
++++ dmake/expand.c	2009-08-07 20:42:40.000000000 +0100
+@@ -230,6 +230,7 @@
+ char *tok;
+ {
+    if( strchr( "\"\\vantbrf01234567", tok[1] ) ) {
++      size_t len;
+       switch( tok[1] ) {
+ 	 case 'a' : *tok = 0x07; break;
+ 	 case 'b' : *tok = '\b'; break;
+@@ -246,13 +247,15 @@
+ 	    register int j = 0;
+ 	    for( ; i<2 && isdigit(tok[2]); i++ ) {
+ 	       j = (j << 3) + (tok[1] - '0');
+-	       strcpy( tok+1, tok+2 );
++	       len = strlen(tok+2)+1;
++	       memmove( tok+1, tok+2, len );
+ 	    }
+ 	    j = (j << 3) + (tok[1] - '0');
+ 	    *tok = j;
+ 	 }
+       }
+-      strcpy( tok+1, tok+2 );
++      len = strlen(tok+2)+1;
++      memmove( tok+1, tok+2, len );
+    }
+ }
+ 
+@@ -365,7 +368,8 @@
+       if( (e = Basename(s)) != s) {
+ 	 if( !(mod & DIRECTORY_FLAG) ) {
+ 	    /* Move the basename to the start. */
+-	    strcpy(s, e);
++	    size_t len = strlen(e)+1;
++	    memmove(s, e, len);
+ 	 }
+ 	 else
+ 	    s = e;
+@@ -382,7 +386,8 @@
+ 
+       if( !(mod & FILE_FLAG) ) {
+ 	 /* Move the suffix to the start. */
+-	 strcpy( s, e );
++	 size_t len = strlen(e)+1;
++         memmove(s, e, len);
+       }
+       else
+ 	 s = e;
+@@ -725,8 +730,10 @@
+ 	      done = !lev;
+ 	      break;
+             } else {
++              size_t len;
+ 	      s[1] = ' ';
+-	      strcpy( s, s+1 );
++              len = strlen(s+1)+1;
++	      memmove( s, s+1, len );
+ 	    }
+ 	    /*FALLTHRU*/
+ 	 case ' ':
+@@ -835,8 +842,10 @@
+        * converted them to a real space. Let's verify this. */
+       for( p=s; *p && *p != edelim && *p; p++ ) {
+ 	if( p[0] == '\\' && p[1] == '\n' ) {
++	  size_t len;
+ 	  p[1] = ' ';
+-	  strcpy( p, p+1 );
++	  len = strlen(p+1)+1;
++	  memmove( p, p+1, len );
+ 	}
+       }
+       if( !*p )
+@@ -1120,7 +1129,10 @@
+       *flag = 1;
+       res   = Expand( start );
+ 
+-      if( (t = DmStrSpn( res, " \t" )) != res ) strcpy( res, t );
++      if( (t = DmStrSpn( res, " \t" )) != res ) {
++          size_t len = strlen(t)+1;
++          memmove( res, t, len );
++      }
+    }
+ 
+    FREE( start );       /* this is ok! start is assigned a DmSubStr above */
+diff -ru dmake.orig/getinp.c dmake/getinp.c
+--- dmake.orig/getinp.c	2009-08-07 20:18:31.000000000 +0100
++++ dmake/getinp.c	2009-08-07 20:27:08.000000000 +0100
+@@ -169,7 +169,8 @@
+ 	  * text lines on input.  The maximum size of this is governened by
+ 	  * Buffer_size */
+ 	    if( q != p && q[-1] == CONTINUATION_CHAR ) {
+-	       strcpy( q, q+1 );
++	       size_t len = strlen(q+1)+1;
++	       memmove( q, q+1, len );
+ 	       q--;
+ 	       cont = FALSE;
+ 	    }
+@@ -290,7 +291,8 @@
+    while( (c = strchr(c, COMMENT_CHAR)) != NIL(char) ) {
+       if( Comment || State == NORMAL_SCAN )
+ 	 if( c != str && c[-1] == ESCAPE_CHAR ) {
+-	    strcpy( c-1, c );        /* copy it left, due to \# */
++	    size_t len = strlen(c)+1;
++	    memmove( c-1, c, len );  /* copy it left, due to \# */
+ 	    if( pend ) (*pend)--;    /* shift tail pointer left */
+ 	 }
+ 	 else {
+diff -ru dmake.orig/path.c dmake/path.c
+--- dmake.orig/path.c	2009-08-07 20:18:31.000000000 +0100
++++ dmake/path.c	2009-08-07 20:41:30.000000000 +0100
+@@ -172,6 +172,7 @@
+    char *tpath;
+    int hasdriveletter = 0;
+    int delentry;
++   size_t len;
+ 
+    DB_ENTER( "Clean_path" );
+ 
+@@ -231,14 +232,16 @@
+ 	    p++;
+ 	 }
+ 	 while( *p == *DirSepStr);
+-	 strcpy(t+1,p);
++	 len = strlen(p)+1;
++	 memmove(t+1,p,len);
+ 	 continue;
+       }
+ 
+       /* Remove './'. If OOODMAKEMODE is set do this only if it is not at
+        * the start of the path. */
+       if ( p-q == 1 && *q == '.' && (q != path || !STOBOOL(OOoDmMode)) ) {
+-	 strcpy(q,p+1);
++	 len = strlen(p+1)+1;
++	 memmove(q,p+1,len);
+ 	 q = tpath;
+ 	 continue;
+       }
+@@ -268,7 +271,8 @@
+ 	 }
+ 	 while( *t == *DirSepStr);
+ 	 /* q points to first letter of the current directory/file. */
+-	 strcpy(q,t);
++	 len = strlen(t)+1;
++	 memmove(q,t,len);
+ 	 q = tpath;
+       }
+       else
+--- dmake.orig/make.c	2009-08-08 09:56:10.000000000 +0100
++++ dmake/make.c	2009-08-08 10:00:04.000000000 +0100
+@@ -1352,8 +1352,10 @@
+        * Nothing in Expand() should be able to change dynamic macros. */
+       cmnd = Expand( rp->st_string );
+ 
+-      if( new_attr && (p = DmStrSpn(cmnd," \t\n+-@%")) != cmnd )
+-	 strcpy(cmnd,p);
++      if( new_attr && (p = DmStrSpn(cmnd," \t\n+-@%")) != cmnd ) {
++	 size_t len = strlen(p)+1;
++	 memmove(cmnd,p,len);
++      }
+ 
+       /* COMMAND macro is set to "$(CMNDNAME) $(CMNDARGS)" by default, it is
+        * possible for the user to reset it to, for example
+@@ -1381,8 +1383,10 @@
+ 	 shell  = ((l_attr & A_SHELL) != 0);
+ 
+ 	 /* clean up the attributes that we may have just added. */
+-	 if( (p = DmStrSpn(cmnd," \t\n+-@%")) != cmnd )
+-	    strcpy(cmnd,p);
++	 if( (p = DmStrSpn(cmnd," \t\n+-@%")) != cmnd ) {
++	    size_t len = strlen(p)+1;
++	    memmove(cmnd,p,len);
++	 }
+       }
+ 
+ #if defined(MSDOS)
+@@ -1477,8 +1481,9 @@
+    for( p=cmnd; *(n = DmStrPbrk(p,tmp)) != '\0'; )
+       /* Remove the \<nl> sequences. */
+       if(*n == CONTINUATION_CHAR && n[1] == '\n') {
++	 size_t len = strlen(n+2)+1;
+ 	 DB_PRINT( "make", ("fixing [%s]", p) );
+-	 strcpy( n, n+2 );
++	 memmove( n, n+2, len );
+ 	 p = n;
+       }
+       /* Look for an escape sequence and replace it by it's corresponding