summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
Diffstat (limited to 'debian')
-rw-r--r--debian/changelog72
-rw-r--r--debian/compat1
-rw-r--r--debian/control47
-rw-r--r--debian/control.in35
-rw-r--r--debian/copyright60
-rwxr-xr-xdebian/copyright-check27
-rw-r--r--debian/copyright_hints202
-rw-r--r--debian/gbp.conf6
-rw-r--r--debian/patches/2001_cmake_ignore_git.patch44
-rw-r--r--debian/patches/README3
-rw-r--r--debian/patches/series1
-rwxr-xr-xdebian/rules42
-rw-r--r--debian/source/format1
-rw-r--r--debian/source/lintian-overrides5
-rw-r--r--debian/watch5
15 files changed, 551 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..4cdb1eb
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,72 @@
+biboumi (6.0-1) unstable; urgency=medium
+
+ * New upstream release
+ * Build against sqlite3, to provide all the database features that
+ were previously disabled.
+
+ -- Florent Le Coz <louiz@louiz.org> Wed, 28 Jun 2017 12:00:00 +0200
+
+biboumi (5.0-1) unstable; urgency=medium
+
+ [ upstream ]
+ * New release.
+ + Add identd server.
+ + Add persistent option for channels, to behave like an IRC bouncer.
+ + Use udns library (not c-ares) for asynchronous DNS resolution.
+ + Update MAM implementation to version 6.0 (namespace mam:2).
+ + Limit MAM to 100 messages per channel by default.
+ + Properly handle multiline topics.
+ + Support overriding configuration options by environment values.
+ + Support customizing Botan TLS policies per IRC server.
+ + IRC channel config form now available via MUC config.
+ + Notices starting with "#channel" now treated as welcome messages.
+
+ [ Jonas Smedegaard ]
+ * Declare compliance with Debian Policy 4.0.0.
+ * Modernize Vcs-Browser field:
+ + Use git (not cgit) in path.
+ * Update package relations:
+ + Build-depend on libudns-dev (not libc-ares-dev).
+ + Build-depend on libgcrypt20-dev.
+ + Stop build-depend on libbotan1.10-dev (unused: Too old).
+ * Drop patch 2002: Fixed upstream.
+ * Unfuzz patch 2001.
+
+ -- Jonas Smedegaard <dr@jones.dk> Sat, 24 Jun 2017 10:15:23 +0200
+
+biboumi (4.3-1) unstable; urgency=medium
+
+ [ upstream ]
+ * New release(s).
+ + Works with botan 2.x (not only botan 1.11.x).
+ + Fix build without LiteSQL available.
+ + Fix segmentation fault connecting to IRC server on undefined port.
+
+ [ Jonas Smedegaard ]
+ * Update watch file:
+ + Fix mangle upstream filename (lacked versioning, confusing uscan).
+ * Modernize cdbs:
+ + Do copyright-check in maintainer script (not during build).
+ + Stop build-depend on licensecheck.
+ * Drop patch cherry-picked upstream and now applied.
+ * Drop patch cherry-picked upstream but now mysteriously gone from
+ upstream master branch.
+ * Update copyright info:
+ + Extend copyright for my parts to cover current year.
+
+ -- Jonas Smedegaard <dr@jones.dk> Sun, 21 May 2017 12:03:04 +0200
+
+biboumi (4.0-2) unstable; urgency=medium
+
+ * Fix set proper group (and explicitly set user too, while at it).
+ Closes: Bug#854252. Thanks to Jonas Wielicki and Florent Le Coz.
+
+ -- Jonas Smedegaard <dr@jones.dk> Sat, 04 Mar 2017 20:37:49 +0100
+
+biboumi (4.0-1) unstable; urgency=medium
+
+ [ Vasudev Kamath & Jonas Smedegaard ]
+ * Initial Release.
+ Closes: bug#841773.
+
+ -- Jonas Smedegaard <dr@jones.dk> Sat, 07 Jan 2017 12:57:41 +0100
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..18d7fd7
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,47 @@
+Source: biboumi
+Section: net
+Priority: optional
+Build-Depends: cdbs,
+ debhelper,
+ dh-buildinfo,
+ cmake,
+ catch,
+ uuid-dev,
+ pandoc,
+ libexpat1-dev,
+ libidn11-dev,
+ libsystemd-dev,
+ libudns-dev,
+ libgcrypt20-dev,
+ libsqlite3-dev
+Maintainer: Debian VoIP Team <pkg-voip-maintainers@lists.alioth.debian.org>
+Uploaders: Jonas Smedegaard <dr@jones.dk>,
+ Vasudev Kamath <vasudev@copyninja.info>
+Standards-Version: 4.0.0
+Vcs-Git: https://anonscm.debian.org/git/pkg-voip/biboumi.git
+Vcs-Browser: https://anonscm.debian.org/git/pkg-voip/biboumi.git
+Homepage: https://lab.louiz.org/louiz/biboumi/
+
+Package: biboumi
+Architecture: any
+Depends: ${misc:Depends},
+ ${shlibs:Depends}
+Description: XMPP gateway to connect to IRC servers
+ Biboumi is an XMPP gateway that connects to IRC servers and translates
+ between the two protocols. It can be used to access IRC channels using
+ any XMPP client as if these channels were XMPP MUCs.
+ .
+ It is written in modern C++14 and makes great efforts to have as little
+ dependencies and to be as simple as possible.
+ .
+ The goal is to provide a way to access most of IRC features using any
+ XMPP client. It doesn’t however try to provide a complete mapping of
+ the features of both worlds simply because this is not useful and most
+ probably impossible. For example all IRC modes are not all
+ translatable into an XMPP features. Some of them are (like +m (mute)
+ or +o (operator) modes), but some others are IRC-specific. If IRC is
+ the limiting factor (for example you cannot have a non-ASCII nickname
+ on IRC) then biboumi doesn’t try to work around this issue: it just
+ enforces the rules of the IRC server by telling the user that he/she
+ must choose an ASCII-only nickname. An important goal is to keep the
+ software (and its code) light and simple.
diff --git a/debian/control.in b/debian/control.in
new file mode 100644
index 0000000..11feb97
--- /dev/null
+++ b/debian/control.in
@@ -0,0 +1,35 @@
+Source: biboumi
+Section: net
+Priority: optional
+Build-Depends: @cdbs@
+Maintainer: Debian VoIP Team <pkg-voip-maintainers@lists.alioth.debian.org>
+Uploaders: Jonas Smedegaard <dr@jones.dk>,
+ Vasudev Kamath <vasudev@copyninja.info>
+Standards-Version: 4.0.0
+Vcs-Git: https://anonscm.debian.org/git/pkg-voip/biboumi.git
+Vcs-Browser: https://anonscm.debian.org/git/pkg-voip/biboumi.git
+Homepage: https://lab.louiz.org/louiz/biboumi/
+
+Package: biboumi
+Architecture: any
+Depends: ${misc:Depends},
+ ${shlibs:Depends}
+Description: XMPP gateway to connect to IRC servers
+ Biboumi is an XMPP gateway that connects to IRC servers and translates
+ between the two protocols. It can be used to access IRC channels using
+ any XMPP client as if these channels were XMPP MUCs.
+ .
+ It is written in modern C++14 and makes great efforts to have as little
+ dependencies and to be as simple as possible.
+ .
+ The goal is to provide a way to access most of IRC features using any
+ XMPP client. It doesn’t however try to provide a complete mapping of
+ the features of both worlds simply because this is not useful and most
+ probably impossible. For example all IRC modes are not all
+ translatable into an XMPP features. Some of them are (like +m (mute)
+ or +o (operator) modes), but some others are IRC-specific. If IRC is
+ the limiting factor (for example you cannot have a non-ASCII nickname
+ on IRC) then biboumi doesn’t try to work around this issue: it just
+ enforces the rules of the IRC server by telling the user that he/she
+ must choose an ASCII-only nickname. An important goal is to keep the
+ software (and its code) light and simple.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..36c542a
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,60 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: biboumi
+Upstream-Contact: https://lab.louiz.org/louiz/biboumi/issues
+Source: https://lab.louiz.org/louiz/biboumi
+ https://lab.louiz.org/louiz/biboumi.git
+
+Files: *
+Copyright: 2015, Florent Le Coz (louiz’) <louiz@louiz.org>
+License-Grant:
+ Biboumi is released under the zlib license.
+ Please read the COPYING file for details.
+License: Zlib
+
+Files: cmake/Modules/CodeCoverage.cmake
+Copyright: 2012-2015, Lars Bilke
+License: BSD-3-clause
+
+Files: cmake/Modules/FindLITESQL.cmake
+ louloulibs/cmake/Modules/FindBOTAN.cmake
+ louloulibs/cmake/Modules/FindCARES.cmake
+ louloulibs/cmake/Modules/FindICONV.cmake
+ louloulibs/cmake/Modules/FindLIBIDN.cmake
+ louloulibs/cmake/Modules/FindLIBUUID.cmake
+ louloulibs/cmake/Modules/FindSYSTEMD.cmake
+Copyright: NONE
+License: public-domain
+ This file is in the public domain
+
+Files: debian/*
+Copyright: 2016, Vasudev Kamath <vasudev@copyninja.info>
+ 2016-2017, Jonas Smedegaard <dr@jones.dk>
+License-Grant:
+ 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 3, or (at your option) any
+ later version.
+License: GPL-3+
+
+License: Zlib
+ This software is provided 'as-is', without any express or implied
+ warranty. In no event will the authors be held liable for any damages
+ arising from the use of this software.
+ .
+ Permission is granted to anyone to use this software for any purpose,
+ including commercial applications, and to alter it and redistribute it
+ freely, subject to the following restrictions:
+ .
+ 1. The origin of this software must not be misrepresented; you must not
+ claim that you wrote the original software. If you use this software in
+ a product, an acknowledgment in the product documentation would be
+ appreciated but is not required.
+ .
+ 2. Altered source versions must be plainly marked as such, and must not
+ be misrepresented as being the original software.
+ .
+ 3. This notice may not be removed or altered from any source
+ distribution.
+
+License: GPL-3+
+License-Reference: /usr/share/common-licenses/GPL-3
diff --git a/debian/copyright-check b/debian/copyright-check
new file mode 100755
index 0000000..1f715d9
--- /dev/null
+++ b/debian/copyright-check
@@ -0,0 +1,27 @@
+#!/bin/sh
+# Copyright © 2016-2017 Jonas Smedegaard <dr@jones.dk>
+# Description: helper script to update copyright_hints
+#
+# 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 3, 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, see <http://www.gnu.org/licenses/>.
+
+set -eu
+
+# extract metadata from binary media files
+#export DEB_COPYRIGHT_EXTRACT_EXTS=png
+
+make -f /usr/share/cdbs/1/rules/utils.mk pre-build || true
+make -f /usr/share/cdbs/1/rules/utils.mk clean DEB_COPYRIGHT_CHECK_STRICT=1
+
+# unconditionally merge changes - safe to do with git-tracked package
+[ ! -f debian/copyright_newhints ] || mv -f debian/copyright_newhints debian/copyright_hints
diff --git a/debian/copyright_hints b/debian/copyright_hints
new file mode 100644
index 0000000..ada5b91
--- /dev/null
+++ b/debian/copyright_hints
@@ -0,0 +1,202 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: FIXME
+Upstream-Contact: FIXME
+Source: FIXME
+Disclaimer: Autogenerated by CDBS
+
+Files: CHANGELOG.rst
+ CMakeLists.txt
+ CONTRIBUTING.rst
+ INSTALL.rst
+ README.rst
+ biboumi.h.cmake
+ conf/biboumi.cfg
+ conf/irc.mozilla.org.policy.txt
+ conf/irc.ppirc.net.policy.txt
+ conf/policy.txt
+ database/database.xml
+ debian/compat
+ debian/control
+ debian/control.in
+ debian/gbp.conf
+ debian/patches/2001_cmake_ignore_git.patch
+ debian/patches/2002_fix_default_locale.patch
+ debian/patches/README
+ debian/patches/series
+ debian/source/format
+ debian/source/lintian-overrides
+ debian/watch
+ doc/biboumi.1.rst
+ doc/example.conf
+ docker/biboumi-test/alpine/Dockerfile
+ docker/biboumi-test/alpine/Dockerfile.base
+ docker/biboumi-test/archlinux/Dockerfile
+ docker/biboumi-test/debian/Dockerfile
+ docker/biboumi-test/debian/Dockerfile.base
+ docker/biboumi-test/fedora/Dockerfile
+ docker/biboumi-test/fedora/Dockerfile.base
+ docker/biboumi/Dockerfile
+ docker/biboumi/README.md
+ docker/biboumi/biboumi.cfg
+ docker/packaging/debian/Dockerfile
+ packaging/biboumi.spec.cmake
+ src/bridge/bridge.cpp
+ src/bridge/bridge.hpp
+ src/bridge/colors.cpp
+ src/bridge/colors.hpp
+ src/bridge/list_element.hpp
+ src/bridge/result_set_management.hpp
+ src/config/config.cpp
+ src/config/config.hpp
+ src/database/database.cpp
+ src/database/database.hpp
+ src/identd/identd_server.hpp
+ src/identd/identd_socket.cpp
+ src/identd/identd_socket.hpp
+ src/irc/iid.cpp
+ src/irc/iid.hpp
+ src/irc/irc_channel.cpp
+ src/irc/irc_channel.hpp
+ src/irc/irc_client.cpp
+ src/irc/irc_client.hpp
+ src/irc/irc_message.cpp
+ src/irc/irc_message.hpp
+ src/irc/irc_user.cpp
+ src/irc/irc_user.hpp
+ src/logger/logger.cpp
+ src/logger/logger.hpp
+ src/main.cpp
+ src/network/credentials_manager.cpp
+ src/network/credentials_manager.hpp
+ src/network/dns_handler.cpp
+ src/network/dns_handler.hpp
+ src/network/dns_socket_handler.cpp
+ src/network/dns_socket_handler.hpp
+ src/network/poller.cpp
+ src/network/poller.hpp
+ src/network/resolver.cpp
+ src/network/resolver.hpp
+ src/network/socket_handler.hpp
+ src/network/tcp_client_socket_handler.cpp
+ src/network/tcp_client_socket_handler.hpp
+ src/network/tcp_server_socket.hpp
+ src/network/tcp_socket_handler.cpp
+ src/network/tcp_socket_handler.hpp
+ src/network/tls_policy.cpp
+ src/network/tls_policy.hpp
+ src/utils/dirname.cpp
+ src/utils/dirname.hpp
+ src/utils/empty_if_fixed_server.hpp
+ src/utils/encoding.cpp
+ src/utils/encoding.hpp
+ src/utils/get_first_non_empty.cpp
+ src/utils/get_first_non_empty.hpp
+ src/utils/reload.cpp
+ src/utils/reload.hpp
+ src/utils/revstr.cpp
+ src/utils/revstr.hpp
+ src/utils/scopeguard.hpp
+ src/utils/sha1.cpp
+ src/utils/sha1.hpp
+ src/utils/split.cpp
+ src/utils/split.hpp
+ src/utils/string.cpp
+ src/utils/string.hpp
+ src/utils/system.cpp
+ src/utils/system.hpp
+ src/utils/time.cpp
+ src/utils/time.hpp
+ src/utils/timed_events.cpp
+ src/utils/timed_events.hpp
+ src/utils/timed_events_manager.cpp
+ src/utils/tolower.cpp
+ src/utils/tolower.hpp
+ src/utils/xdg.cpp
+ src/utils/xdg.hpp
+ src/xmpp/adhoc_command.cpp
+ src/xmpp/adhoc_command.hpp
+ src/xmpp/adhoc_commands_handler.cpp
+ src/xmpp/adhoc_commands_handler.hpp
+ src/xmpp/adhoc_session.cpp
+ src/xmpp/adhoc_session.hpp
+ src/xmpp/auth.cpp
+ src/xmpp/auth.hpp
+ src/xmpp/biboumi_adhoc_commands.cpp
+ src/xmpp/biboumi_adhoc_commands.hpp
+ src/xmpp/biboumi_component.cpp
+ src/xmpp/biboumi_component.hpp
+ src/xmpp/body.hpp
+ src/xmpp/jid.cpp
+ src/xmpp/jid.hpp
+ src/xmpp/xmpp_component.cpp
+ src/xmpp/xmpp_component.hpp
+ src/xmpp/xmpp_parser.cpp
+ src/xmpp/xmpp_parser.hpp
+ src/xmpp/xmpp_stanza.cpp
+ src/xmpp/xmpp_stanza.hpp
+ tests/colors.cpp
+ tests/config.cpp
+ tests/database.cpp
+ tests/end_to_end/__main__.py
+ tests/end_to_end/biboumi.supp
+ tests/iid.cpp
+ tests/io_tester.cpp
+ tests/io_tester.hpp
+ tests/jid.cpp
+ tests/logger.cpp
+ tests/network.cpp
+ tests/test.cpp
+ tests/timed_events.cpp
+ tests/utils.cpp
+ tests/uuid.cpp
+ tests/xmpp.cpp
+ unit/biboumi.service.cmake
+Copyright: NONE
+License: UNKNOWN
+ FIXME
+
+Files: cmake/Modules/FindBOTAN.cmake
+ cmake/Modules/FindGCRYPT.cmake
+ cmake/Modules/FindICONV.cmake
+ cmake/Modules/FindLIBIDN.cmake
+ cmake/Modules/FindLIBUUID.cmake
+ cmake/Modules/FindLITESQL.cmake
+ cmake/Modules/FindSYSTEMD.cmake
+ cmake/Modules/FindUDNS.cmake
+Copyright: NONE
+License: public-domain
+ FIXME
+
+Files: cmake/Modules/CodeCoverage.cmake
+Copyright: 2012-2015, Lars Bilke
+License: BSD-3-clause
+ FIXME
+
+Files: debian/copyright-check
+Copyright: 2016-2017, Jonas Smedegaard <dr@jones.dk>
+License: GPL-3+
+ FIXME
+
+Files: debian/rules
+Copyright: 2016, Vasudev Kamath <vasudev@copyninja.info>
+ 2016-2017, Jonas Smedegaard <dr@jones.dk>
+License: GPL-3+
+ FIXME
+
+Files: tests/encoding.cpp
+Copyright:
+License: UNKNOWN
+ FIXME
+
+Files: tests/end_to_end/ircd.conf
+Copyright: 2000-2002, Hybrid Development Team
+ 2002-2005, ircd-ratbox development team
+ 2005-2006, charybdis development team
+License: UNKNOWN
+ FIXME
+
+Files: COPYING
+Copyright: NONE
+License: Zlib
+ FIXME
+
diff --git a/debian/gbp.conf b/debian/gbp.conf
new file mode 100644
index 0000000..2a594ca
--- /dev/null
+++ b/debian/gbp.conf
@@ -0,0 +1,6 @@
+# Configuration file for git-buildpackage and friends
+
+[DEFAULT]
+pristine-tar = True
+sign-tags = True
+filter = */.git*
diff --git a/debian/patches/2001_cmake_ignore_git.patch b/debian/patches/2001_cmake_ignore_git.patch
new file mode 100644
index 0000000..eb2be01
--- /dev/null
+++ b/debian/patches/2001_cmake_ignore_git.patch
@@ -0,0 +1,44 @@
+Description: Avoid cmake messing with git
+Author: Jonas Smedegaard <dr@jones.dk>
+Last-Update: 2016-12-21
+
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -282,27 +282,6 @@
+ endforeach()
+
+ #
+-## Add a rule to download the catch unit test framework
+-#
+-include(ExternalProject)
+-ExternalProject_Add(catch
+- GIT_REPOSITORY "https://lab.louiz.org/louiz/Catch.git"
+- PREFIX "external"
+- UPDATE_COMMAND ""
+- CONFIGURE_COMMAND ""
+- BUILD_COMMAND ""
+- INSTALL_COMMAND ""
+- )
+-set_target_properties(catch PROPERTIES EXCLUDE_FROM_ALL TRUE)
+-ExternalProject_Get_Property(catch SOURCE_DIR)
+-if(NOT EXISTS ${CMAKE_SOURCE_DIR}/tests/catch.hpp)
+- target_include_directories(test_suite
+- PUBLIC "${SOURCE_DIR}/include/"
+- )
+- add_dependencies(test_suite catch)
+-endif()
+-
+-#
+ ## Add some custom rules to launch the tests
+ #
+ add_custom_target(check COMMAND "test_suite"
+@@ -362,8 +341,7 @@
+ WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
+ )
+ add_custom_target(dist
+- DEPENDS ${ARCHIVE_NAME}.tar.xz
+- DEPENDS catch)
++ DEPENDS ${ARCHIVE_NAME}.tar.xz)
+
+ add_custom_target(rpm
+ DEPENDS dist
diff --git a/debian/patches/README b/debian/patches/README
new file mode 100644
index 0000000..80c1584
--- /dev/null
+++ b/debian/patches/README
@@ -0,0 +1,3 @@
+0xxx: Grabbed from upstream development.
+1xxx: Possibly relevant for upstream adoption.
+2xxx: Only relevant for official Debian release.
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..9da3ec6
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+2001_cmake_ignore_git.patch
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..bf6dab9
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,42 @@
+#!/usr/bin/make -f
+
+# Copyright 2016-2017 Jonas Smedegaard <dr@jones.dk>
+# Copyright 2016 Vasudev Kamath <vasudev@copyninja.info>
+# Description: Main Debian packaging script for biboumi
+#
+# 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 3, 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, see <http://www.gnu.org/licenses/>.
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/cmake.mk
+
+pkg = $(DEB_SOURCE_PACKAGE)
+
+# TODO: Build-dpend on libbotan1.11-dev or libbotan2.0 when available
+dev-deps = expat1 idn11 systemd udns gcrypt20 sqlite3
+CDBS_BUILD_DEPENDS += , cmake, catch, uuid-dev, pandoc
+CDBS_BUILD_DEPENDS += , $(patsubst %,$(comma) lib%-dev,$(dev-deps))
+
+DEB_CMAKE_EXTRA_FLAGS = \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DSERVICE_USER=nobody -DSERVICE_GROUP=nogroup
+
+DEB_MAKE_CHECK_TARGET = check
+
+DEB_INSTALL_CHANGELOGS_ALL += CHANGELOG.rst
+DEB_INSTALL_DOCS_$(pkg) += README.rst CONTRIBUTING.rst
+DEB_INSTALL_EXAMPLES_$(pkg) = doc/example.conf
+
+binary-post-install/$(pkg)::
+ mkdir -p $(cdbs_curdestdir)/lib
+ mv $(cdbs_curdestdir)/usr/lib/systemd $(cdbs_curdestdir)/lib
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/source/lintian-overrides b/debian/source/lintian-overrides
new file mode 100644
index 0000000..f87ce0c
--- /dev/null
+++ b/debian/source/lintian-overrides
@@ -0,0 +1,5 @@
+# License is in License-Reference field (see bug#786450)
+missing-license-text-in-dep5-copyright
+
+# License is in License-Reference field (see bug#786450)
+missing-license-paragraph-in-dep5-copyright
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..12cf86c
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,5 @@
+# run "uscan --report" to check or "gpb import-orig --uscan" to update
+version=4
+opts="filenamemangle=s%(?:.*?)?archive\.tar\.bz2\?ref=(\d[\d.]*)%@PACKAGE@-$1.tar.bz2%" \
+https://lab.louiz.org/louiz/biboumi/tags \
+ .*/archive@ARCHIVE_EXT@\?ref=@ANY_VERSION@