imported debian/ files from gnulib 20090801-2
authorIan Beckwith <ianb@erislabs.net>
Sat, 5 Sep 2009 05:48:56 +0000 (06:48 +0100)
committerIan Beckwith <ianb@erislabs.net>
Sat, 5 Sep 2009 05:48:56 +0000 (06:48 +0100)
14 files changed:
debian/changelog [new file with mode: 0644]
debian/compat [new file with mode: 0644]
debian/control [new file with mode: 0644]
debian/copyright [new file with mode: 0644]
debian/gnulib.docs [new file with mode: 0644]
debian/gnulib.info [new file with mode: 0644]
debian/gnulib.lintian-overrides [new file with mode: 0644]
debian/gnulib.manpages [new file with mode: 0644]
debian/manpages/check-module.1 [new file with mode: 0644]
debian/manpages/gnulib-tool.1 [new file with mode: 0644]
debian/patches/01-gnulib-directory.patch [new file with mode: 0644]
debian/patches/02-shebang.patch [new file with mode: 0644]
debian/patches/series [new file with mode: 0644]
debian/rules [new file with mode: 0755]

diff --git a/debian/changelog b/debian/changelog
new file mode 100644 (file)
index 0000000..7e96585
--- /dev/null
@@ -0,0 +1,367 @@
+gnulib (20090801-2) unstable; urgency=low
+
+  * Updating package to standards version 3.8.3.
+  * Removing vcs fields.
+  * Orphaning package.
+
+ -- Daniel Baumann <daniel@debian.org>  Thu, 27 Aug 2009 07:32:01 +0200
+
+gnulib (20090801-1) unstable; urgency=low
+
+  * Merging upstream version 20090801.
+  * Minimalizing rules file.
+
+ -- Daniel Baumann <daniel@debian.org>  Mon, 03 Aug 2009 00:26:08 +0200
+
+gnulib (20090701-1) unstable; urgency=low
+
+  * Merging upstream version 20090701.
+
+ -- Daniel Baumann <daniel@debian.org>  Fri, 10 Jul 2009 12:13:50 +0200
+
+gnulib (20090601-1) UNRELEASED; urgency=low
+
+  * Merging upstream version 20090601.
+  * Updating package to standards version 3.8.2.
+  * Using correct rfc-2822 date formats in changelog.
+
+ -- Daniel Baumann <daniel@debian.org>  Fri, 10 Jul 2009 12:09:20 +0200
+
+gnulib (20090501-1) unstable; urgency=low
+
+  * Merging upstream version 20090501.
+
+ -- Daniel Baumann <daniel@debian.org>  Sun, 03 May 2009 15:21:00 +0200
+
+gnulib (20090401-1) unstable; urgency=low
+
+  * Merging upstream version 20090401.
+  * Using quilt rather than dpatch.
+  * Upgrading package to standards 3.8.1.
+  * Tidy rules file.
+
+ -- Daniel Baumann <daniel@debian.org>  Mon, 06 Apr 2009 04:01:00 +0200
+
+gnulib (20090301-1) unstable; urgency=low
+
+  * Merging upstream version 20090301.
+
+ -- Daniel Baumann <daniel@debian.org>  Sun, 01 Mar 2009 13:51:00 +0100
+
+gnulib (20090201-1) unstable; urgency=low
+
+  * Merging upstream version 20090201.
+
+ -- Daniel Baumann <daniel@debian.org>  Sun, 01 Feb 2009 15:09:00 +0100
+
+gnulib (20090101-1) unstable; urgency=low
+
+  * Merging upstream version 20090101.
+  * Correcting a couple of typos in check-module manpage, thanks to
+    Reuben Thomas <rrt@femur.dyndns.org> (Closes: #503083).
+
+ -- Daniel Baumann <daniel@debian.org>  Fri, 09 Jan 2009 13:55:00 -0500
+
+gnulib (20081201-1) unstable; urgency=low
+
+  * Replacing obsolete dh_clean -k with dh_prep.
+  * Merging upstream version 20081201.
+  * Prefixing debhelper files with package name.
+
+ -- Daniel Baumann <daniel@debian.org>  Mon, 01 Dec 2008 23:36:00 +0100
+
+gnulib (20081101-1) unstable; urgency=low
+
+  * Merging upstream version 20081101.
+
+ -- Daniel Baumann <daniel@debian.org>  Wed, 05 Nov 2008 21:17:00 +0100
+
+gnulib (20081001-1) unstable; urgency=low
+
+  * Updating vcs fields in control file.
+  * Using patch-stamp rather than patch in rules file.
+  * Merging upstream version 20081001.
+
+ -- Daniel Baumann <daniel@debian.org>  Sat, 04 Oct 2008 10:13:00 +0200
+
+gnulib (20080901-1) unstable; urgency=medium
+
+  * Merging upstream version 20080901:
+    - Fixes pipe problem in gnulib-tool (Closes: #497298).
+
+ -- Daniel Baumann <daniel@debian.org>  Mon, 01 Sep 2008 12:56:00 +0200
+
+gnulib (20080801-1) unstable; urgency=low
+
+  * Merging upstream version 20080801.
+
+ -- Daniel Baumann <daniel@debian.org>  Sun, 03 Aug 2008 20:36:00 +0200
+
+gnulib (20080701-1) unstable; urgency=low
+
+  * Merging upstream version 20080701.
+  * Updating to standards 3.8.0.
+
+ -- Daniel Baumann <daniel@debian.org>  Tue, 01 Jul 2008 14:40:00 +0200
+
+gnulib (20080601-1) unstable; urgency=low
+
+  * Merging upstream version 20080601.
+
+ -- Daniel Baumann <daniel@debian.org>  Sun, 01 Jun 2008 09:24:00 +0200
+
+gnulib (20080501-1) unstable; urgency=low
+
+  * Reordering rules file.
+  * Also removing .gitattributes in upstream target of rules.
+  * Using lintian debhelper to install lintian overrides.
+  * Adding vcs fields in control file.
+  * Updating package to debhelper 7.
+  * Merging upstream version 20080501.
+
+ -- Daniel Baumann <daniel@debian.org>  Sat, 03 May 2008 17:03:00 +0200
+
+gnulib (20080401-1) unstable; urgency=low
+
+  * New upstream snapshot.
+
+ -- Daniel Baumann <daniel@debian.org>  Thu, 10 Apr 2008 16:38:00 +0200
+
+gnulib (20080301-1) unstable; urgency=low
+
+  * New upstream snapshot.
+
+ -- Daniel Baumann <daniel@debian.org>  Sun, 02 Mar 2008 21:26:00 +0100
+
+gnulib (20080201-1) unstable; urgency=low
+
+  * New upstream snapshot.
+
+ -- Daniel Baumann <daniel@debian.org>  Fri, 01 Feb 2008 10:41:00 +0100
+
+gnulib (20080104-1) unstable; urgency=low
+
+  * New upstream snapshot:
+    - gnulib.texi doesn't have invariants anymore.
+  * Building and including the documentation (Closes: #447998).
+  * Updated lintian overrides.
+  * Added perl to suggests.
+
+ -- Daniel Baumann <daniel@debian.org>  Fri, 04 Jan 2008 08:19:00 +0100
+
+gnulib (20080101+dfsg-1) unstable; urgency=low
+
+  * New upstream snapshot.
+
+ -- Daniel Baumann <daniel@debian.org>  Wed, 02 Jan 2008 21:04:00 +0100
+
+gnulib (20071201+dfsg-2) unstable; urgency=low
+
+  * Bumping policy version.
+  * Updating lintian overrides.
+  * Fixed some permissions.
+  * Added patch to fix a local shebang.
+
+ -- Daniel Baumann <daniel@debian.org>  Sun, 23 Dec 2007 15:18:00 +0100
+
+gnulib (20071201+dfsg-1) unstable; urgency=low
+
+  * New upstream snapshot.
+
+ -- Daniel Baumann <daniel@debian.org>  Mon, 03 Dec 2007 13:12:00 +0100
+
+gnulib (20071116+dfsg-1) unstable; urgency=low
+
+  * New upstream snapshot.
+  * Adjusted upstream target in rules to follows upstream git transition
+    (Closes: #450921).
+
+ -- Daniel Baumann <daniel@debian.org>  Fri, 16 Nov 2007 12:31:00 +0100
+
+gnulib (20071101+dfsg-1) unstable; urgency=low
+
+  * New upstream snapshot.
+
+ -- Daniel Baumann <daniel@debian.org>  Thu, 01 Nov 2007 08:18:00 +0100
+
+gnulib (20071001+dfsg-1) unstable; urgency=low
+
+  * New upstream snapshot.
+
+ -- Daniel Baumann <daniel@debian.org>  Tue, 09 Oct 2007 11:25:00 +0200
+
+gnulib (20070901+dfsg-1) unstable; urgency=low
+
+  * New upstream snapshot.
+
+ -- Daniel Baumann <daniel@debian.org>  Sat, 01 Sep 2007 12:26:00 +0200
+
+gnulib (20070801+dfsg-1) unstable; urgency=low
+
+  * New upstream snapshot.
+
+ -- Daniel Baumann <daniel@debian.org>  Fri, 03 Aug 2007 08:22:00 +0200
+
+gnulib (20070701+dfsg-1) unstable; urgency=low
+
+  * New upstream snapshot.
+
+ -- Daniel Baumann <daniel@debian.org>  Sun, 01 Jul 2007 17:10:00 +0200
+
+gnulib (20070601+dfsg-1) unstable; urgency=low
+
+  * New upstream snapshot.
+
+ -- Daniel Baumann <daniel@debian.org>  Fri, 01 Jun 2007 19:04:00 +0200
+
+gnulib (20070501+dfsg-1) unstable; urgency=low
+
+  * New upstream snapshot.
+  * Added lintian overrides.
+
+ -- Daniel Baumann <daniel@debian.org>  Tue, 01 May 2007 08:55:00 +0200
+
+gnulib (20070401+dfsg-1) unstable; urgency=low
+
+  * New upstream snapshot.
+  * Including docs (Closes: #416874).
+
+ -- Daniel Baumann <daniel@debian.org>  Sun, 01 Apr 2007 09:47:00 +0200
+
+gnulib (20070301+dfsg-1) unstable; urgency=low
+
+  * New upstream snapshot.
+
+ -- Daniel Baumann <daniel@debian.org>  Sun, 04 Mar 2007 15:15:00 +0100
+
+gnulib (20070201+dfsg-1) unstable; urgency=low
+
+  * New upstream snapshot.
+
+ -- Daniel Baumann <daniel@debian.org>  Sun, 04 Feb 2007 13:54:00 +0100
+
+gnulib (20070101+dfsg-2) unstable; urgency=low
+
+  * Minor cleanups.
+
+ -- Daniel Baumann <daniel@debian.org>  Fri, 19 Jan 2007 16:18:00 +0100
+
+gnulib (20070101+dfsg-1) unstable; urgency=low
+
+  * New upstream snapshot.
+
+ -- Daniel Baumann <daniel@debian.org>  Tue, 02 Jan 2007 15:55:00 +0100
+
+gnulib (20061201+dfsg-1) unstable; urgency=low
+
+  * New upstream snapshot.
+
+ -- Daniel Baumann <daniel@debian.org>  Fri, 01 Dec 2006 01:12:00 +0100
+
+gnulib (20061101+dfsg-1) unstable; urgency=low
+
+  * New upstream snapshot.
+
+ -- Daniel Baumann <daniel@debian.org>  Sun, 01 Nov 2006 12:40:00 +0100
+
+gnulib (20061001+dfsg-1) unstable; urgency=low
+
+  * New upstream snapshot.
+
+ -- Daniel Baumann <daniel@debian.org>  Sun, 01 Oct 2006 23:40:00 +0200
+
+gnulib (20060901+dfsg-1) unstable; urgency=low
+
+  * New upstream snapshot.
+
+ -- Daniel Baumann <daniel@debian.org>  Tue, 01 Sep 2006 10:36:00 +0200
+
+gnulib (20060801+dfsg-1) unstable; urgency=low
+
+  * New upstream snapshot.
+  * Fixed upstream target in rules.
+
+ -- Daniel Baumann <daniel@debian.org>  Tue, 01 Aug 2006 11:19:00 +0200
+
+gnulib (20060701+dfsg-1) unstable; urgency=low
+
+  * New email address.
+  * New upstream snapshot.
+
+ -- Daniel Baumann <daniel@debian.org>  Tue, 04 Jul 2006 20:00:00 +0200
+
+gnulib (0.0.20060601+dfsg-2) unstable; urgency=low
+
+  * Fixed install call from a leftover subdirectory (Closes: #370377).
+  * Fixed patch list name, so the patch to fix the $gnulib_dir gets applied
+    (Closes: #370378).
+
+ -- Daniel Baumann <daniel.baumann@panthera-systems.net>  Sun, 04 Jun 2006 23:32:00 +0200
+
+gnulib (0.0.20060601+dfsg-1) unstable; urgency=low
+
+  * New maintainer.
+  * New upstream snapshot.
+  * Rebuild upstream tarball without non-free gnulib.texi, the other GFDL
+    licensed documents in doc/ are DFSG-compliant.
+  * Redone debian directory.
+  * Added manpage for gnulib-tool and check_module (Closes: #350199).
+
+ -- Daniel Baumann <daniel.baumann@panthera-systems.net>  Thu, 01 Jun 2006 00:00:00 +0200
+
+gnulib (0.0.20060317-1) unstable; urgency=low
+
+  * Update to current CVS.
+
+ -- Matthias Urlichs <smurf@debian.org>  Sat, 18 Mar 2006 03:27:48 +0100
+
+gnulib (0.0.20060121-1) unstable; urgency=low
+
+  * Current Upstram version.
+
+ -- Matthias Urlichs <smurf@debian.org>  Mon, 23 Jan 2006 15:36:27 +0100
+
+gnulib (0.0.20051110-1) unstable; urgency=low
+
+  * Current Upstram version (required for gnutls).
+
+ -- Matthias Urlichs <smurf@debian.org>  Fri, 11 Nov 2005 19:02:39 +0100
+
+gnulib (0.0.20051015-2) unstable; urgency=low
+
+  * Install the build-aux directory.
+
+ -- Matthias Urlichs <smurf@debian.org>  Tue, 18 Oct 2005 13:38:43 +0200
+
+gnulib (0.0.20051015-1) unstable; urgency=low
+
+  * New maintainer, Closes:#314667
+  * New Upstream version, Closes:#311549
+  * Upstream licensing has been fixed
+    - took the opportunity to simplify packaging. A lot.
+
+ -- Matthias Urlichs <smurf@debian.org>  Tue, 18 Oct 2005 00:35:19 +0200
+
+gnulib (0.0.20050203-1) unstable; urgency=low
+
+  * New upstream snapshot.
+    - copyright:  Add gnulib/doc/getdate.texi to list of non-free files.
+  * Replace Architecture with Cpu/System in control.in.
+
+ -- Robert Millan <rmh@debian.org>  Thu, 03 Feb 2005 22:44:44 +0100
+
+gnulib (0.0.20041014-2) unstable; urgency=low
+
+  * Automagicaly cleanup CVS directories.
+    - tarball.mk:  New.  Stolen from cdbs with patch from #280365.
+    - rules:  Set DEB_AUTO_CLEANUP_RCS=yes.
+  * Add stuff from config dir (config.rpath, mkinstalldirs, etc)
+    - install:  Add build-tree/gnulib/config.
+
+ -- Robert Millan <rmh@debian.org>  Mon, 08 Nov 2004 23:30:36 +0100
+
+gnulib (0.0.20041014-1) unstable; urgency=low
+
+  * Initial Release. (Closes: #272867)
+
+ -- Robert Millan <rmh@debian.org>  Thu, 14 Oct 2004 01:19:27 +0200
diff --git a/debian/compat b/debian/compat
new file mode 100644 (file)
index 0000000..7f8f011
--- /dev/null
@@ -0,0 +1 @@
+7
diff --git a/debian/control b/debian/control
new file mode 100644 (file)
index 0000000..0657d85
--- /dev/null
@@ -0,0 +1,15 @@
+Source: gnulib
+Section: devel
+Priority: optional
+Maintainer: Debian QA Group <packages@qa.debian.org>
+Build-Depends: debhelper (>= 7), quilt, texinfo
+Standards-Version: 3.8.3
+Homepage: http://www.gnu.org/software/gnulib/
+
+Package: gnulib
+Architecture: all
+Suggests: perl
+Description: GNU Portability Library
+ The GNU portability library is a macro system and C declarations and
+ definitions for commonly-used API elements and abstracted system behaviors. It
+ can be used to improve portability and other functionality in your programs.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644 (file)
index 0000000..f951eef
--- /dev/null
@@ -0,0 +1,22 @@
+This package was debianized by Daniel Baumann <daniel@debian.org> on
+Thu,  1 Jun 2006 00:00:00 +0200.
+
+It was downloaded from <http://www.gnu.org/software/gnulib/>.
+
+Copyright Holder: Free Software Foundation and others
+                 (sources of various origins)
+
+License:
+
+       GNULib is a collection of unrelated source files. Each source file is
+       provided under a different license (including GPL, LGPL, GFDL and
+       others) and includes a license headers stating the terms that apply to
+       that particular file.
+
+On Debian systems, the complete text of the GNU General Public License
+can be found in /usr/share/common-licenses/GPL file,
+the GNU Lesser General Public License in /usr/share/common-licenses/LGPL,
+and the GNU Free Document License in /usr/share/common-licenses/GFDL.
+
+The Debian packaging is (C) 2006-2008, Daniel Baumann <daniel@debian.org> and
+is licensed under the GPL-2, see `/usr/share/common-licenses/GPL-2'.
diff --git a/debian/gnulib.docs b/debian/gnulib.docs
new file mode 100644 (file)
index 0000000..1776ad4
--- /dev/null
@@ -0,0 +1 @@
+doc/*.html
diff --git a/debian/gnulib.info b/debian/gnulib.info
new file mode 100644 (file)
index 0000000..7b08cef
--- /dev/null
@@ -0,0 +1 @@
+doc/*.info
diff --git a/debian/gnulib.lintian-overrides b/debian/gnulib.lintian-overrides
new file mode 100644 (file)
index 0000000..d8f6981
--- /dev/null
@@ -0,0 +1,2 @@
+gnulib: extra-license-file usr/share/gnulib/doc/COPYING.LESSERv2
+gnulib: extra-license-file usr/share/gnulib/doc/COPYING.LESSERv3
diff --git a/debian/gnulib.manpages b/debian/gnulib.manpages
new file mode 100644 (file)
index 0000000..2fb19fb
--- /dev/null
@@ -0,0 +1 @@
+debian/manpages/*
diff --git a/debian/manpages/check-module.1 b/debian/manpages/check-module.1
new file mode 100644 (file)
index 0000000..5a14ecb
--- /dev/null
@@ -0,0 +1,33 @@
+.TH CHECK-MODULE 1 "2006-06-01" "0.0.20060601" "GNU Portability Library"
+
+.SH NAME
+check-module \- program to check gnulib modules.
+
+.SH SYNOPSIS
+.B check-module [OPTIONS] FILE...
+
+.SH DESCRIPTION
+The GNU portability library is a macro system and C declarations and definitions for commonly-used API elements and abstracted system behaviors. It can be used to improve portability and other functionality in your programs.
+.PP
+.B check-module
+reads a module description file and derives the set of files included directly by any .c or .h file listed in the `Files:' section. First, it takes the union of all such sets for any dependent modules. Then, it compares that set with the set derived from the names listed in the various Files: sections.
+.PP
+
+.SH OPTIONS
+.TP
+.B \-h, \-\-help
+Show summary of options.
+.TP
+.B \-v, \-\-version
+Show version of program.
+
+.SH BUGS
+Report bugs to <bug-gnulib@gnu.org>.
+
+.SH SEE ALSO
+.BR gnulib (1).
+
+.SH AUTHOR
+check-module was written by the Free Software Foundation and others (sources of various origins).
+.PP
+This manual page was written by Daniel Baumann <daniel@debian.org>, for the Debian project (but may be used by others).
diff --git a/debian/manpages/gnulib-tool.1 b/debian/manpages/gnulib-tool.1
new file mode 100644 (file)
index 0000000..6acccce
--- /dev/null
@@ -0,0 +1,182 @@
+.TH GNULIB-TOOL 1 "2006-06-01" "0.0.20060601" "GNU Portability Library"
+
+.SH NAME
+gnulib-tool \- program for authors or maintainers which want to import modules
+from gnulib into their packages.
+
+.SH SYNOPSIS
+.B gnulib
+\-\-list
+.PP
+.B gnulib-tool
+\-\-import [module1 ... moduleN]
+.PP
+.B gnulib-tool
+\-\-update
+.PP
+.B gnulib-tool
+\-\-create-testdir \-\-dir=directory module1 ... moduleN
+.PP
+.B gnulib-tool
+\-\-create-megatestdir \-\-dir=directory [module1 ... moduleN]
+.PP
+.B gnulib-tool
+\-\-test \-\-dir=directory module1 ... moduleN
+.PP
+.B gnulib-tool
+\-\-megatest \-\-dir=directory [module1 ... moduleN]
+.PP
+.B gnulib-tool
+\-\-extract-description module
+.PP
+.B gnulib-tool
+\-\-extract-filelist module
+.PP
+.B gnulib-tool
+\-\-extract-dependencies module
+.PP
+.B gnulib-tool
+\-\-extract-autoconf-snippet module
+.PP
+.B gnulib-tool
+\-\-extract-automake-snippet module
+.PP
+.B gnulib-tool
+\-\-extract-include-directive module
+.PP
+.B gnulib-tool
+\-\-extract-license module
+.PP
+.B gnulib-tool
+\-\-extract-maintainer module
+.PP
+.B gnulib-tool
+\-\-extract-tests-module module
+
+.SH DESCRIPTION
+The GNU portability library is a macro system and C declarations and definitions
+for commonly-used API elements and abstracted system behaviors. It can be used
+to improve portability and other functionality in your programs.
+.PP
+
+.SH OPTIONS
+Operation modes:
+.TP
+.B \-\-list
+print the available module names.
+.TP
+.B \-\-import
+import the given modules into the current package; if no modules are specified,
+update the current package from the current gnulib.
+.TP
+.B \-\-update
+update the current package, restore files omitted from CVS.
+.TP
+.B \-\-create-testdir
+create a scratch package with the given modules.
+.TP
+.B \-\-create-megatestdir
+create a mega scratch package with the given modules one by one and all
+together.
+.TP
+.B \-\-test
+test the combination of the given modules (recommended to use CC="gcc \-Wall"
+here).
+.TP
+.B \-\-megatest
+test the given modules one by one and all together (recommended to use CC="gcc
+\-Wall" here).
+.TP
+.B \-\-extract-description
+extract the description.
+.TP
+.B \-\-extract-filelist
+extract the list of files.
+.TP
+.B \-\-extract-dependencies
+extract the dependencies.
+.TP
+.B \-\-extract-autoconf-snippet
+extract the snippet for configure.ac.
+.TP
+.B \-\-extract-automake-snippet
+extract the snippet for lib/Makefile.am.
+.TP
+.B \-\-extract-include-directive
+extract the #include directive.
+.TP
+.B \-\-extract-license
+report the license terms of the source files under lib/.
+.TP
+.B \-\-extract-maintainer
+report the maintainer(s) inside gnulib.
+.TP
+.B \-\-extract-tests-module
+report the unit test module, if it exists.
+.PP
+
+Options:
+.TP
+.B \-\-dir=DIRECTORY
+specify the target directory. For \-\-import, this specifies where your
+configure.ac can be found. Defaults to current directory.
+.TP
+.B \-\-lib=LIBRARY
+Specify the library name. Defaults to 'libgnu'.
+.TP
+.B \-\-source-base=DIRECTORY
+Directory relative \-\-dir where source code is placed (default "lib"), for
+\-\-import.
+.TP
+.B \-\-m4-base=DIRECTORY
+Directory relative \-\-dir where *.m4 macros are placed (default "m4"), for
+\-\-import.
+.TP
+.B \-\-tests-base=DIRECTORY
+Directory relative \-\-dir where unit tests are placed (default "tests"), for
+\-\-import.
+.TP
+.B \-\-aux-dir=DIRECTORY
+Directory relative \-\-dir where auxiliary build tools are placed (default
+"build-aux").
+.TP
+.B \-\-with-tests
+Include unit tests for the included modules.
+.TP
+.B \-\-avoid=MODULE
+Avoid including the given MODULE. Useful if you have code that provides
+equivalent functionality. This option can be repeated.
+.TP
+.B \-\-lgpl
+Abort if modules aren't available under the LGPL. Also modify license template
+from GPL to LGPL.
+.TP
+.B \-\-libtool
+Use libtool rules, for \-\-import.
+.TP
+.B \-\-macro-prefix=PREFIX
+Specify the prefix of the macros 'gl_EARLY' and 'gl_INIT'. Default is 'gl'.
+.TP
+.B \-\-no-changelog
+don't update or create ChangeLog files.
+.TP
+.B \-\-dry-run
+For \-\-import, only print what would have been done.
+.TP
+.B -s, \-\-symbolic, \-\-symlink
+Make symbolic links instead of copying files.
+.PP
+.TP
+.B \-h, \-\-help
+Show summary of options.
+
+.SH BUGS
+Report bugs to <bug-gnulib@gnu.org>.
+
+.SH SEE ALSO
+.BR check-module (1).
+
+.SH AUTHOR
+gnulib was written by the Free Software Foundation and others (sources of various origins).
+.PP
+This manual page was written by Daniel Baumann <daniel@debian.org>, for the Debian project (but may be used by others).
diff --git a/debian/patches/01-gnulib-directory.patch b/debian/patches/01-gnulib-directory.patch
new file mode 100644 (file)
index 0000000..7160018
--- /dev/null
@@ -0,0 +1,15 @@
+Author: Daniel Baumann <daniel@debian.org>
+Description: Sets the gnulib directory.
+
+diff -Naurp gnulib.orig/gnulib-tool gnulib/gnulib-tool
+--- gnulib.orig/gnulib-tool    2009-04-06 01:42:00.000000000 +0000
++++ gnulib/gnulib-tool 2009-04-06 01:50:44.000000000 +0000
+@@ -366,7 +366,7 @@ func_gnulib_dir ()
+       * ) self_abspathname=`echo "$self_abspathname" | sed -e 's,/[^/]*$,,'`/"$linkval" ;;
+     esac
+   done
+-  gnulib_dir=`echo "$self_abspathname" | sed -e 's,/[^/]*$,,'`
++  gnulib_dir=/usr/share/gnulib
+ }
+ # func_tmpdir
diff --git a/debian/patches/02-shebang.patch b/debian/patches/02-shebang.patch
new file mode 100644 (file)
index 0000000..b574002
--- /dev/null
@@ -0,0 +1,12 @@
+Author: Daniel Baumann <daniel@debian.org>
+Description: Adjusts shebang.
+
+diff -Naurp gnulib.orig/lib/uniname/gen-uninames.lisp gnulib/lib/uniname/gen-uninames.lisp
+--- gnulib.orig/lib/uniname/gen-uninames.lisp  2009-04-06 01:40:05.000000000 +0000
++++ gnulib/lib/uniname/gen-uninames.lisp       2009-04-06 01:51:07.000000000 +0000
+@@ -1,4 +1,4 @@
+-#!/usr/local/bin/clisp -C
++#!/usr/bin/clisp -C
+ ;;; Creation of gnulib's uninames.h from the UnicodeData.txt table.
+ ;;; Bruno Haible 2000-12-28
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644 (file)
index 0000000..1826225
--- /dev/null
@@ -0,0 +1,2 @@
+01-gnulib-directory.patch
+02-shebang.patch
diff --git a/debian/rules b/debian/rules
new file mode 100755 (executable)
index 0000000..a5cedfc
--- /dev/null
@@ -0,0 +1,51 @@
+#!/usr/bin/make -f
+
+%:
+       dh ${@} --with quilt
+
+DATE=$(shell date +%Y%m%d)
+
+upstream:
+       # Needs: git-core
+
+       cd .. && \
+       git clone git://git.savannah.gnu.org/gnulib.git && \
+       mv gnulib gnulib-$(DATE)
+
+       rm -rf ../gnulib-$(DATE)/.git ../gnulib-$(DATE)/.gitattributes
+       find ../gnulib-$(DATE) -name .cvsignore | xargs rm -f
+       find ../gnulib-$(DATE) -name .gitignore | xargs rm -f
+
+       tar cfz ../gnulib_$(DATE).orig.tar.gz ../gnulib-$(DATE)
+
+override_dh_auto_clean:
+       $(MAKE) -C doc clean
+
+override_dh_auto_build:
+       $(MAKE) -C doc info
+       $(MAKE) -C doc html
+
+override_dh_auto_install:
+       mkdir -p debian/gnulib/usr/bin
+       cp -a check-module gnulib-tool debian/gnulib/usr/bin
+
+       mkdir -p debian/gnulib/usr/share/gnulib
+       cp -a build-aux config doc lib m4 modules tests debian/gnulib/usr/share/gnulib
+
+       # Fixing permissions
+       chmod 0755 debian/gnulib/usr/share/gnulib/build-aux/config.guess
+       chmod 0755 debian/gnulib/usr/share/gnulib/build-aux/config.sub
+       chmod 0755 debian/gnulib/usr/share/gnulib/build-aux/gendocs.sh
+       chmod 0644 debian/gnulib/usr/share/gnulib/doc/gendocs_template
+       chmod 0644 debian/gnulib/usr/share/gnulib/lib/fflush.c
+       chmod 0644 debian/gnulib/usr/share/gnulib/m4/canonicalize-lgpl.m4
+       chmod 0644 debian/gnulib/usr/share/gnulib/m4/fflush.m4
+       chmod 0644 debian/gnulib/usr/share/gnulib/modules/canonicalize-lgpl
+       chmod 0644 debian/gnulib/usr/share/gnulib/modules/fflush
+       chmod 0644 debian/gnulib/usr/share/gnulib/modules/fflush-tests
+       chmod 0644 debian/gnulib/usr/share/gnulib/tests/test-base64.c
+       chmod 0755 debian/gnulib/usr/share/gnulib/tests/test-closein.sh
+       chmod 0644 debian/gnulib/usr/share/gnulib/tests/test-fflush.c
+
+       # Removing unused files
+       rm -f debian/gnulib/usr/share/gnulib/modules/COPYING