Initial import.
authorFrantišek Dvořák <valtri@civ.zcu.cz>
Mon, 7 Sep 2015 11:49:35 +0000 (13:49 +0200)
committerFrantišek Dvořák <valtri@civ.zcu.cz>
Mon, 7 Sep 2015 11:49:35 +0000 (13:49 +0200)
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/liblog4c-dev.install [new file with mode: 0644]
debian/liblog4c-dev.manpages [new file with mode: 0644]
debian/liblog4c-doc.install [new file with mode: 0644]
debian/liblog4c3.install [new file with mode: 0644]
debian/liblog4c3.symbols [new file with mode: 0644]
debian/patches/12_stream_appender_hack.diff [new file with mode: 0644]
debian/patches/13_basic_layout_hack.diff [new file with mode: 0644]
debian/patches/series [new file with mode: 0644]
debian/rules [new file with mode: 0755]
debian/source/format [new file with mode: 0644]

diff --git a/debian/changelog b/debian/changelog
new file mode 100644 (file)
index 0000000..6b8ee5a
--- /dev/null
@@ -0,0 +1,60 @@
+log4c (1.2.3-1) stable; urgency=low
+
+  * new upstream release
+
+ -- František Dvořák <valtri@civ.zcu.cz>  Thu, 18 Jul 2013 19:30:00 +0200
+
+log4c (1.2.2-1+squeeze1) stable; urgency=low
+
+  * backport for Debian 6
+  * doxygen-latex --> doxygen + texlive
+
+ -- František Dvořák <valtri@civ.zcu.cz>  Wed, 10 Oct 2012 14:43:17 +0200
+
+log4c (1.2.2-1) unstable; urgency=low
+
+  * new upstream release
+  * removed m4 patch, removed dh-autoreconf dependency
+
+ -- František Dvořák <valtri@civ.zcu.cz>  Wed, 10 Oct 2012 14:43:17 +0200
+
+log4c (1.2.1-3) unstable; urgency=low
+
+  * Switch to dh usage.
+  * Bump compat/debhelper to 7.
+  * Bump Standards-Version to 3.9.2.
+  * Add libexpat1-dev build dependency.
+  * Replace gs-common build dependency with ghostscript.
+  * Replace doxygen and texlive-latex-recommended build dependencies with
+    doxygen-latex. (Closes: #616268)
+  * Add texlive-fonts-recommended build dependency. (Closes: #621943)
+  * Remove liblog4c.la file. (Closes: #622550)
+  * Add symbols file.
+
+ -- Fathi Boudra <fabo@debian.org>  Mon, 02 May 2011 16:12:10 +0300
+
+log4c (1.2.1-2) unstable; urgency=low
+
+  * Drop docdir path patch. Use an install target. (Closes: #464293)
+  * Bump compat/debhelper to 6.
+  * Remove DM upload.
+  * Update my e-mail address.
+  * Use Homepage field.
+  * Bump Standards-Version to 3.7.3.
+  * Build with --no-undefined and --as-needed linker flags.
+
+ -- Fathi Boudra <fabo@debian.org>  Thu, 07 Feb 2008 10:46:15 +0100
+
+log4c (1.2.1-1) unstable; urgency=low
+
+  * New upstream release.
+  * Allow DM upload.
+
+ -- Fathi Boudra <fboudra@free.fr>  Tue, 13 Nov 2007 10:39:01 +0100
+
+log4c (1.2.0-1) unstable; urgency=low
+
+  * Initial release. (Closes: #445255)
+
+ -- Fathi Boudra <fboudra@free.fr>  Thu, 04 Oct 2007 13:21:08 +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..94b576f
--- /dev/null
@@ -0,0 +1,48 @@
+Source: log4c
+Section: libs
+Priority: extra
+Maintainer: Fathi Boudra <fabo@debian.org>
+Build-Depends: debhelper (>= 8.0.0), doxygen-latex, ghostscript,
+ libexpat1-dev, texlive-fonts-recommended
+Standards-Version: 3.9.2
+Homepage: http://log4c.sourceforge.net
+
+Package: liblog4c-dev
+Section: libdevel
+Architecture: any
+Depends: liblog4c3 (= ${binary:Version}), ${misc:Depends}
+Description: C library for flexible logging (development)
+ Log4c is a library of C for flexible logging to files, syslog and other
+ destinations.
+ .
+ It is modeled after the Log for Java library (http://logging.apache.org),
+ staying as close to their API as is reasonable.
+ .
+ This package contains the Log4c development files.
+
+Package: liblog4c3
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: C library for flexible logging (runtime)
+ Log4c is a library of C for flexible logging to files, syslog and other
+ destinations.
+ .
+ It is modeled after the Log for Java library (http://logging.apache.org),
+ staying as close to their API as is reasonable.
+ .
+ This package contains the files necessary for running applications that
+ use the log4c library.
+
+Package: liblog4c-doc
+Section: doc
+Architecture: all
+Depends: ${misc:Depends}
+Recommends: w3m | www-browser
+Description: C library for flexible logging (documentation)
+ Log4c is a library of C for flexible logging to files, syslog and other
+ destinations.
+ .
+ It is modeled after the Log for Java library (http://logging.apache.org),
+ staying as close to their API as is reasonable.
+ .
+ This package contains the Log4c library documentation for developers.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644 (file)
index 0000000..58b8f54
--- /dev/null
@@ -0,0 +1,74 @@
+This work was packaged for Debian by:
+
+    Fathi Boudra <fboudra@free.fr> on Thu, 26 Jul 2007 09:14:41 +0200.
+
+It was downloaded from:
+
+    http://log4c.sourceforge.net
+
+Upstream Authors:
+
+    Cedric Le Goater <legoater@meiosys.com>
+    Robert Byrne  <robert.byrne@sun.com>
+
+Copyright:
+
+    Copyright (C) 2001-2004 Meiosys <www.meiosys.com>
+
+Copyright for stack, a dynamically resizing stack:
+
+    Copyright (C) 2001 Michael B. Allen <mballen@erols.com>
+
+stack source code is licensed under the MIT license:
+
+    stack - a dynamically resizing stack
+    Copyright (c) 2001 Michael B. Allen <mballen@erols.com>
+
+    The MIT License
+
+     Permission is hereby granted, free of charge, to any person obtaining a
+     copy of this software and associated documentation files (the "Software"),
+     to deal in the Software without restriction, including without limitation
+     the rights to use, copy, modify, merge, publish, distribute, sublicense,
+     and/or sell copies of the Software, and to permit persons to whom the
+     Software is furnished to do so, subject to the following conditions:
+
+     The above copyright notice and this permission notice shall be included
+     in all copies or substantial portions of the Software.
+
+     THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+     IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+     FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
+     THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
+     OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
+     ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
+     OTHER DEALINGS IN THE SOFTWARE.
+
+Log4c license:
+
+    This package is free software; you can redistribute it and/or
+    modify it under the terms of the GNU Lesser General Public
+    License as published by the Free Software Foundation; either
+    version 2 of the License, or (at your option) any later version.
+
+    This package 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
+    Lesser General Public License for more details.
+
+    You should have received a copy of the GNU Lesser General Public
+    License along with this package; if not, write to the Free Software
+    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
+
+On Debian systems, the complete text of the GNU Lesser General
+Public License can be found in :
+ - /usr/share/common-licenses/LGPL-2
+ - /usr/share/common-licenses/LGPL-2.1
+ - /usr/share/common-licenses/LGPL-3
+
+The Debian packaging is:
+
+    Copyright (C) 2007-2011 Fathi Boudra <fabo@debian.org>
+
+you can redistribute it and/or modify it under the terms of the GNU General
+Public License version 2 as published by the Free Software Foundation.
diff --git a/debian/liblog4c-dev.install b/debian/liblog4c-dev.install
new file mode 100644 (file)
index 0000000..fea9e0c
--- /dev/null
@@ -0,0 +1,29 @@
+usr/bin/log4c-config
+usr/include/log4c.h
+usr/include/log4c/appender.h
+usr/include/log4c/appender_type_mmap.h
+usr/include/log4c/appender_type_rollingfile.h
+usr/include/log4c/appender_type_stream.h
+usr/include/log4c/appender_type_stream2.h
+usr/include/log4c/appender_type_syslog.h
+usr/include/log4c/buffer.h
+usr/include/log4c/category.h
+usr/include/log4c/config-win32.h
+usr/include/log4c/defs.h
+usr/include/log4c/init.h
+usr/include/log4c/layout.h
+usr/include/log4c/layout_type_basic.h
+usr/include/log4c/layout_type_basic_r.h
+usr/include/log4c/layout_type_dated.h
+usr/include/log4c/layout_type_dated_r.h
+usr/include/log4c/location_info.h
+usr/include/log4c/logging_event.h
+usr/include/log4c/priority.h
+usr/include/log4c/rc.h
+usr/include/log4c/rollingpolicy.h
+usr/include/log4c/rollingpolicy_type_sizewin.h
+usr/include/log4c/version.h
+usr/lib/liblog4c.a
+usr/lib/liblog4c.so
+usr/lib/pkgconfig/log4c.pc
+usr/share/aclocal/log4c.m4
diff --git a/debian/liblog4c-dev.manpages b/debian/liblog4c-dev.manpages
new file mode 100644 (file)
index 0000000..0c5fdbd
--- /dev/null
@@ -0,0 +1 @@
+log4c-config.1
diff --git a/debian/liblog4c-doc.install b/debian/liblog4c-doc.install
new file mode 100644 (file)
index 0000000..a737e0a
--- /dev/null
@@ -0,0 +1,6 @@
+usr/share/doc/liblog4c-doc/AUTHORS
+usr/share/doc/liblog4c-doc/ChangeLog
+usr/share/doc/liblog4c-doc/README
+usr/share/doc/liblog4c-doc/html
+usr/share/doc/liblog4c-doc/log4c.pdf
+usr/share/man/man3/log4c_*.3
diff --git a/debian/liblog4c3.install b/debian/liblog4c3.install
new file mode 100644 (file)
index 0000000..0c463ef
--- /dev/null
@@ -0,0 +1,2 @@
+usr/lib/lib*.so.*
+usr/share/doc/liblog4c3/sample/log4crc.sample
diff --git a/debian/liblog4c3.symbols b/debian/liblog4c3.symbols
new file mode 100644 (file)
index 0000000..c5e52be
--- /dev/null
@@ -0,0 +1,208 @@
+liblog4c.so.3 liblog4c3 #MINVER#
+ __log4c_category_vlog@Base 1.2.1
+ __log4c_fini@Base 1.2.1
+ __log4c_init@Base 1.2.1
+ __log4c_reread@Base 1.2.1
+ __sd_domnode_new@Base 1.2.1
+ _sp@Base 1.2.1
+ getopt_reset@Base 1.2.1
+ log4c_appender_append@Base 1.2.1
+ log4c_appender_close@Base 1.2.1
+ log4c_appender_delete@Base 1.2.1
+ log4c_appender_factory@Base 1.2.1
+ log4c_appender_get@Base 1.2.1
+ log4c_appender_get_layout@Base 1.2.1
+ log4c_appender_get_name@Base 1.2.1
+ log4c_appender_get_type@Base 1.2.1
+ log4c_appender_get_udata@Base 1.2.1
+ log4c_appender_new@Base 1.2.1
+ log4c_appender_open@Base 1.2.1
+ log4c_appender_print@Base 1.2.1
+ log4c_appender_set_layout@Base 1.2.1
+ log4c_appender_set_type@Base 1.2.1
+ log4c_appender_set_udata@Base 1.2.1
+ log4c_appender_syslog_set_facility@Base 1.2.2
+ log4c_appender_type_get@Base 1.2.1
+ log4c_appender_type_mmap@Base 1.2.1
+ log4c_appender_type_rollingfile@Base 1.2.1
+ log4c_appender_type_set@Base 1.2.1
+ log4c_appender_type_stream2@Base 1.2.1
+ log4c_appender_type_stream@Base 1.2.1
+ log4c_appender_type_syslog@Base 1.2.1
+ log4c_appender_types_free@Base 1.2.3
+ log4c_appender_types_print@Base 1.2.1
+ log4c_category_delete@Base 1.2.1
+ log4c_category_factory@Base 1.2.1
+ log4c_category_get@Base 1.2.1
+ log4c_category_get_additivity@Base 1.2.1
+ log4c_category_get_appender@Base 1.2.1
+ log4c_category_get_chainedpriority@Base 1.2.1
+ log4c_category_get_name@Base 1.2.1
+ log4c_category_get_priority@Base 1.2.1
+ log4c_category_list@Base 1.2.1
+ log4c_category_new@Base 1.2.1
+ log4c_category_print@Base 1.2.1
+ log4c_category_set_additivity@Base 1.2.1
+ log4c_category_set_appender@Base 1.2.1
+ log4c_category_set_priority@Base 1.2.1
+ log4c_dump_all_instances@Base 1.2.1
+ log4c_dump_all_types@Base 1.2.1
+ log4c_fini@Base 1.2.1
+ log4c_init@Base 1.2.1
+ log4c_layout_delete@Base 1.2.1
+ log4c_layout_factory@Base 1.2.1
+ log4c_layout_format@Base 1.2.1
+ log4c_layout_get@Base 1.2.1
+ log4c_layout_get_name@Base 1.2.1
+ log4c_layout_get_type@Base 1.2.1
+ log4c_layout_get_udata@Base 1.2.1
+ log4c_layout_new@Base 1.2.1
+ log4c_layout_print@Base 1.2.1
+ log4c_layout_set_type@Base 1.2.1
+ log4c_layout_set_udata@Base 1.2.1
+ log4c_layout_type_basic@Base 1.2.1
+ log4c_layout_type_basic_r@Base 1.2.1
+ log4c_layout_type_dated@Base 1.2.1
+ log4c_layout_type_dated_r@Base 1.2.1
+ log4c_layout_type_get@Base 1.2.1
+ log4c_layout_type_set@Base 1.2.1
+ log4c_layout_types_free@Base 1.2.3
+ log4c_layout_types_print@Base 1.2.1
+ log4c_load@Base 1.2.1
+ log4c_logging_event_delete@Base 1.2.1
+ log4c_logging_event_new@Base 1.2.1
+ log4c_major_version@Base 1.2.1
+ log4c_micro_version@Base 1.2.1
+ log4c_minor_version@Base 1.2.1
+ log4c_priority_to_int@Base 1.2.1
+ log4c_priority_to_string@Base 1.2.1
+ log4c_rc@Base 1.2.1
+ log4c_rc_load@Base 1.2.1
+ log4c_reread@Base 1.2.1
+ log4c_rollingpolicy_delete@Base 1.2.1
+ log4c_rollingpolicy_factory@Base 1.2.1
+ log4c_rollingpolicy_fini@Base 1.2.1
+ log4c_rollingpolicy_get@Base 1.2.1
+ log4c_rollingpolicy_get_name@Base 1.2.1
+ log4c_rollingpolicy_get_rfudata@Base 1.2.1
+ log4c_rollingpolicy_get_udata@Base 1.2.1
+ log4c_rollingpolicy_init@Base 1.2.1
+ log4c_rollingpolicy_is_initialized@Base 1.2.1
+ log4c_rollingpolicy_is_triggering_event@Base 1.2.1
+ log4c_rollingpolicy_new@Base 1.2.1
+ log4c_rollingpolicy_print@Base 1.2.1
+ log4c_rollingpolicy_rollover@Base 1.2.1
+ log4c_rollingpolicy_set_type@Base 1.2.1
+ log4c_rollingpolicy_set_udata@Base 1.2.1
+ log4c_rollingpolicy_type_get@Base 1.2.1
+ log4c_rollingpolicy_type_set@Base 1.2.1
+ log4c_rollingpolicy_type_sizewin@Base 1.2.1
+ log4c_rollingpolicy_types_free@Base 1.2.3
+ log4c_rollingpolicy_types_print@Base 1.2.1
+ log4c_stream2_get_flags@Base 1.2.1
+ log4c_stream2_get_fp@Base 1.2.1
+ log4c_stream2_set_flags@Base 1.2.1
+ log4c_stream2_set_fp@Base 1.2.1
+ log4c_version@Base 1.2.1
+ rollingfile_get_current_file_size@Base 1.2.1
+ rollingfile_make_udata@Base 1.2.1
+ rollingfile_udata_get_files_prefix@Base 1.2.1
+ rollingfile_udata_get_logdir@Base 1.2.1
+ rollingfile_udata_set_files_prefix@Base 1.2.1
+ rollingfile_udata_set_logdir@Base 1.2.1
+ rollingfile_udata_set_policy@Base 1.2.1
+ sd_calloc@Base 1.2.1
+ sd_debug@Base 1.2.1
+ sd_domnode_attrs_get@Base 1.2.1
+ sd_domnode_attrs_put@Base 1.2.1
+ sd_domnode_attrs_remove@Base 1.2.1
+ sd_domnode_delete@Base 1.2.1
+ sd_domnode_fread@Base 1.2.1
+ sd_domnode_fwrite@Base 1.2.1
+ sd_domnode_load@Base 1.2.1
+ sd_domnode_new@Base 1.2.1
+ sd_domnode_read@Base 1.2.1
+ sd_domnode_search@Base 1.2.1
+ sd_domnode_store@Base 1.2.1
+ sd_error@Base 1.2.1
+ sd_factory_delete@Base 1.2.1
+ sd_factory_destroy@Base 1.2.1
+ sd_factory_get@Base 1.2.1
+ sd_factory_list@Base 1.2.1
+ sd_factory_new@Base 1.2.1
+ sd_factory_print@Base 1.2.1
+ sd_getopt@Base 1.2.1
+ sd_hash_add@Base 1.2.1
+ sd_hash_begin@Base 1.2.1
+ sd_hash_clear@Base 1.2.1
+ sd_hash_del@Base 1.2.1
+ sd_hash_delete@Base 1.2.1
+ sd_hash_end@Base 1.2.1
+ sd_hash_foreach@Base 1.2.1
+ sd_hash_get_nelem@Base 1.2.1
+ sd_hash_get_size@Base 1.2.1
+ sd_hash_hash_string@Base 1.2.1
+ sd_hash_iter_del@Base 1.2.1
+ sd_hash_iter_next@Base 1.2.1
+ sd_hash_iter_prev@Base 1.2.1
+ sd_hash_lookadd@Base 1.2.1
+ sd_hash_lookup@Base 1.2.1
+ sd_hash_new@Base 1.2.1
+ sd_list_add@Base 1.2.1
+ sd_list_append@Base 1.2.1
+ sd_list_begin@Base 1.2.1
+ sd_list_clear@Base 1.2.1
+ sd_list_del@Base 1.2.1
+ sd_list_delete@Base 1.2.1
+ sd_list_end@Base 1.2.1
+ sd_list_foreach@Base 1.2.1
+ sd_list_get_nelem@Base 1.2.1
+ sd_list_iter_del@Base 1.2.1
+ sd_list_iter_insert@Base 1.2.1
+ sd_list_iter_next@Base 1.2.1
+ sd_list_iter_prev@Base 1.2.1
+ sd_list_lookadd@Base 1.2.1
+ sd_list_lookup@Base 1.2.1
+ sd_list_new@Base 1.2.1
+ sd_list_prepend@Base 1.2.1
+ sd_list_rbegin@Base 1.2.1
+ sd_list_rend@Base 1.2.1
+ sd_list_rforeach@Base 1.2.1
+ sd_list_sortadd@Base 1.2.1
+ sd_malloc@Base 1.2.1
+ sd_malloc_set_handler@Base 1.2.1
+ sd_optarg@Base 1.2.1
+ sd_opterr@Base 1.2.1
+ sd_optind@Base 1.2.1
+ sd_optopt@Base 1.2.1
+ sd_realloc@Base 1.2.1
+ sd_sprintf@Base 1.2.1
+ sd_stack_begin@Base 1.2.1
+ sd_stack_clear@Base 1.2.1
+ sd_stack_delete@Base 1.2.1
+ sd_stack_end@Base 1.2.1
+ sd_stack_get_nelem@Base 1.2.1
+ sd_stack_new@Base 1.2.1
+ sd_stack_next@Base 1.2.1
+ sd_stack_peek@Base 1.2.1
+ sd_stack_pop@Base 1.2.1
+ sd_stack_push@Base 1.2.1
+ sd_stat_ctime@Base 1.2.1
+ sd_strdup@Base 1.2.1
+ sd_test_add@Base 1.2.1
+ sd_test_delete@Base 1.2.1
+ sd_test_err@Base 1.2.1
+ sd_test_get_name@Base 1.2.1
+ sd_test_get_udata@Base 1.2.2
+ sd_test_get_verbose@Base 1.2.1
+ sd_test_in@Base 1.2.1
+ sd_test_new@Base 1.2.1
+ sd_test_out@Base 1.2.1
+ sd_test_run@Base 1.2.1
+ sd_test_set_udata@Base 1.2.2
+ sd_test_set_verbose@Base 1.2.1
+ sd_vsprintf@Base 1.2.1
+ sizewin_make_udata@Base 1.2.1
+ sizewin_udata_set_file_maxsize@Base 1.2.1
+ sizewin_udata_set_max_num_files@Base 1.2.1
+ sizewin_udata_set_rfudata@Base 1.2.1
diff --git a/debian/patches/12_stream_appender_hack.diff b/debian/patches/12_stream_appender_hack.diff
new file mode 100644 (file)
index 0000000..8842520
--- /dev/null
@@ -0,0 +1,21 @@
+--- log4c-1.2.0.orig/src/log4c/appender_type_stream.c
++++ log4c-1.2.0/src/log4c/appender_type_stream.c
+@@ -20,7 +20,7 @@
+     if (fp)
+       return 0;
+     
+-    if ( (fp = fopen(log4c_appender_get_name(this), "w+")) == NULL)
++    if ( (fp = fopen(log4c_appender_get_name(this), "a+")) == NULL)
+       fp = stderr;
+     
+     /* unbuffered mode */
+@@ -36,8 +36,7 @@
+ {
+     FILE* fp = log4c_appender_get_udata(this);
+     
+-    return fprintf(fp, "[%s] %s", log4c_appender_get_name(this),
+-                 a_event->evt_rendered_msg);
++    return fprintf(fp, "%s", a_event->evt_rendered_msg);
+ }
+ /*******************************************************************************/
diff --git a/debian/patches/13_basic_layout_hack.diff b/debian/patches/13_basic_layout_hack.diff
new file mode 100644 (file)
index 0000000..cd16e86
--- /dev/null
@@ -0,0 +1,13 @@
+--- log4c-1.2.0.orig/src/log4c/layout_type_basic.c
++++ log4c-1.2.0/src/log4c/layout_type_basic.c
+@@ -21,9 +21,7 @@
+ {
+     static char buffer[1024];
+-    snprintf(buffer, sizeof(buffer), "%-8s %s - %s\n",
+-           log4c_priority_to_string(a_event->evt_priority),
+-           a_event->evt_category, a_event->evt_msg);
++    snprintf(buffer, sizeof(buffer), "%s \n", a_event->evt_msg);
+     
+     return buffer;
+ }
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644 (file)
index 0000000..97f364f
--- /dev/null
@@ -0,0 +1,3 @@
+#12_stream_appender_hack.diff
+#13_basic_layout_hack.diff
+
diff --git a/debian/rules b/debian/rules
new file mode 100755 (executable)
index 0000000..b30d640
--- /dev/null
@@ -0,0 +1,23 @@
+#!/usr/bin/make -f
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+upstream_version := $(shell dpkg-parsechangelog | sed -n 's/^Version: //p' | cut -f1 -d '-')
+
+%:
+       dh $@ --list-missing
+
+override_dh_auto_configure:
+       dh_auto_configure -- --disable-test --enable-doc
+       cd doc && doxygen -u
+
+override_dh_auto_install:
+       dh_auto_install
+       rm -f debian/tmp/usr/share/doc/log4c-$(upstream_version)/COPYING
+       mv debian/tmp/usr/share/doc/log4c-$(upstream_version) \
+               debian/tmp/usr/share/doc/liblog4c-doc
+       install -D -p -m0644 log4crc.sample \
+               debian/tmp/usr/share/doc/liblog4c3/sample/log4crc.sample
+       rm -rf debian/tmp/etc
+       rm -f debian/tmp/usr/lib/liblog4c.la
diff --git a/debian/source/format b/debian/source/format
new file mode 100644 (file)
index 0000000..163aaf8
--- /dev/null
@@ -0,0 +1 @@
+3.0 (quilt)