diff options
Diffstat (limited to 'debian')
-rw-r--r-- | debian/changelog | 6 | ||||
-rw-r--r-- | debian/compat | 1 | ||||
-rw-r--r-- | debian/control | 47 | ||||
-rw-r--r-- | debian/control.in | 34 | ||||
-rw-r--r-- | debian/copyright | 60 | ||||
-rw-r--r-- | debian/copyright_hints | 159 | ||||
-rw-r--r-- | debian/gbp.conf | 6 | ||||
-rw-r--r-- | debian/patches/2001_cmake_ignore_git.patch | 38 | ||||
-rw-r--r-- | debian/patches/README | 3 | ||||
-rw-r--r-- | debian/patches/series | 1 | ||||
-rwxr-xr-x | debian/rules | 29 | ||||
-rw-r--r-- | debian/source/format | 1 | ||||
-rw-r--r-- | debian/source/lintian-overrides | 8 | ||||
-rw-r--r-- | debian/watch | 4 |
14 files changed, 397 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..8985617 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,6 @@ +biboumi (3.0-1) unstable; urgency=medium + + * Initial Release. + Closes: bug#841773. + + -- Vasudev Kamath <vasudev@copyninja.info> Sun, 23 Oct 2016 20:36:23 +0530 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..9d232df --- /dev/null +++ b/debian/control @@ -0,0 +1,47 @@ +Source: biboumi +Section: net +Priority: optional +Build-Depends: cdbs, + debhelper, + dh-buildinfo, + licensecheck, + cmake, + catch, + uuid-dev, + pandoc, + libexpat1-dev, + libidn11-dev, + libsystemd-dev, + libc-ares, + -dev, + libbotan1.10-dev +Maintainer: Debian VoIP Team <pkg-voip-maintainers@lists.alioth.debian.org> +Uploaders: Vasudev Kamath <vasudev@copyninja.info> + Jonas Smedegaard <dr@jones.dk> +Vcs-Git: https://anonscm.debian.org/git/pkg-voip/biboumi.git +Vcs-Browser: https://anonscm.debian.org/cgit/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..58e2fc9 --- /dev/null +++ b/debian/control.in @@ -0,0 +1,34 @@ +Source: biboumi +Section: net +Priority: optional +Build-Depends: @cdbs@ +Maintainer: Debian VoIP Team <pkg-voip-maintainers@lists.alioth.debian.org> +Uploaders: Vasudev Kamath <vasudev@copyninja.info> + Jonas Smedegaard <dr@jones.dk> +Vcs-Git: https://anonscm.debian.org/git/pkg-voip/biboumi.git +Vcs-Browser: https://anonscm.debian.org/cgit/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..7882205 --- /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, 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_hints b/debian/copyright_hints new file mode 100644 index 0000000..9d5a50a --- /dev/null +++ b/debian/copyright_hints @@ -0,0 +1,159 @@ +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 + INSTALL.rst + README.rst + biboumi.h.cmake + conf/biboumi.cfg + database/database.xml + debian/compat + debian/control + debian/control.in + debian/patches/2001_cmake_ignore_git.patch + debian/patches/README + debian/patches/series + debian/rules + debian/source/format + debian/watch + doc/biboumi.1.rst + docker/biboumi-test/debian/Dockerfile + docker/biboumi-test/fedora/Dockerfile + louloulibs/CMakeLists.txt + louloulibs/config/config.cpp + louloulibs/config/config.hpp + louloulibs/logger/logger.cpp + louloulibs/logger/logger.hpp + louloulibs/louloulibs.h.cmake + louloulibs/network/credentials_manager.cpp + louloulibs/network/credentials_manager.hpp + louloulibs/network/dns_handler.cpp + louloulibs/network/dns_handler.hpp + louloulibs/network/dns_socket_handler.cpp + louloulibs/network/dns_socket_handler.hpp + louloulibs/network/poller.cpp + louloulibs/network/poller.hpp + louloulibs/network/resolver.cpp + louloulibs/network/resolver.hpp + louloulibs/network/socket_handler.hpp + louloulibs/network/tcp_socket_handler.cpp + louloulibs/network/tcp_socket_handler.hpp + louloulibs/utils/encoding.cpp + louloulibs/utils/encoding.hpp + louloulibs/utils/revstr.cpp + louloulibs/utils/revstr.hpp + louloulibs/utils/scopeguard.hpp + louloulibs/utils/sha1.cpp + louloulibs/utils/sha1.hpp + louloulibs/utils/split.cpp + louloulibs/utils/split.hpp + louloulibs/utils/string.cpp + louloulibs/utils/string.hpp + louloulibs/utils/timed_events.cpp + louloulibs/utils/timed_events.hpp + louloulibs/utils/timed_events_manager.cpp + louloulibs/utils/tolower.cpp + louloulibs/utils/tolower.hpp + louloulibs/utils/xdg.cpp + louloulibs/utils/xdg.hpp + louloulibs/xmpp/adhoc_command.cpp + louloulibs/xmpp/adhoc_command.hpp + louloulibs/xmpp/adhoc_commands_handler.cpp + louloulibs/xmpp/adhoc_commands_handler.hpp + louloulibs/xmpp/adhoc_session.cpp + louloulibs/xmpp/adhoc_session.hpp + louloulibs/xmpp/body.hpp + louloulibs/xmpp/jid.cpp + louloulibs/xmpp/jid.hpp + louloulibs/xmpp/roster.cpp + louloulibs/xmpp/roster.hpp + louloulibs/xmpp/xmpp_component.cpp + louloulibs/xmpp/xmpp_component.hpp + louloulibs/xmpp/xmpp_parser.cpp + louloulibs/xmpp/xmpp_parser.hpp + louloulibs/xmpp/xmpp_stanza.cpp + louloulibs/xmpp/xmpp_stanza.hpp + 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/database/database.cpp + src/database/database.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/main.cpp + src/utils/empty_if_fixed_server.hpp + src/utils/reload.cpp + src/utils/reload.hpp + src/xmpp/biboumi_adhoc_commands.cpp + src/xmpp/biboumi_adhoc_commands.hpp + src/xmpp/biboumi_component.cpp + src/xmpp/biboumi_component.hpp + tests/colors.cpp + tests/config.cpp + tests/database.cpp + tests/dns.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/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/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 + FIXME + +Files: cmake/Modules/CodeCoverage.cmake +Copyright: 2012-2015, Lars Bilke +License: BSD-3-clause + 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: 2015, Florent Le Coz +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..bdbbd49 --- /dev/null +++ b/debian/patches/2001_cmake_ignore_git.patch @@ -0,0 +1,38 @@ +Description: Avoid cmake messing with git +Author: Jonas Smedegaard <dr@jones.dk> +Last-Update: 2016-12-21 + +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -198,23 +198,6 @@ + database) + endif() + +-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_custom_target(check COMMAND "test_suite" "-s" + DEPENDS test_suite biboumi) + add_custom_target(e2e COMMAND "python3" "${CMAKE_CURRENT_SOURCE_DIR}/tests/end_to_end/" +@@ -258,7 +241,6 @@ + COMMAND ${CMAKE_COMMAND} -E cmake_echo_color --cyan "${ARCHIVE_NAME}.tar.xz created." + WORKING_DIRECTORY ${CMAKE_SOURCE_DIR} + ) +-add_dependencies(dist catch) + + add_custom_target(rpm + COMMAND mkdir -p rpmbuild/{BUILD,RPMS,SOURCES,SPECS,SRPMS} 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..547a261 --- /dev/null +++ b/debian/rules @@ -0,0 +1,29 @@ +#!/usr/bin/make -f + +# Copyright 2016 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/rules/utils.mk + +include /usr/share/cdbs/1/class/cmake.mk + +dev-deps = expat1 idn11 systemd c-ares, botan1.10 +CDBS_BUILD_DEPENDS += , cmake, catch, uuid-dev, pandoc +CDBS_BUILD_DEPENDS += , $(patsubst %,$(comma) lib%-dev,$(dev-deps)) + +DEB_MAKE_CHECK_TARGET = check 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..dce4650 --- /dev/null +++ b/debian/source/lintian-overrides @@ -0,0 +1,8 @@ +# 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 + +# Debhelper 9 is satisfied even in oldstable +package-needs-versioned-debhelper-build-depends 9 diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..3fdb5ee --- /dev/null +++ b/debian/watch @@ -0,0 +1,4 @@ +# run "uscan --report" to check or "gpb import-orig --uscan" to update +version=4 +https://lab.louiz.org/louiz/biboumi/tags \ + .*/archive@ARCHIVE_EXT@\?ref=@ANY_VERSION@ |