diff options
Diffstat (limited to 'debian')
-rw-r--r-- | debian/README.source | 7 | ||||
-rw-r--r-- | debian/changelog | 91 | ||||
-rw-r--r-- | debian/control | 96 | ||||
-rw-r--r-- | debian/copyright | 110 | ||||
-rw-r--r-- | debian/libngtcp2-9.install | 1 | ||||
-rw-r--r-- | debian/libngtcp2-9.symbols | 124 | ||||
-rw-r--r-- | debian/libngtcp2-crypto-gnutls-dev.install | 4 | ||||
-rw-r--r-- | debian/libngtcp2-crypto-gnutls2.install | 1 | ||||
-rw-r--r-- | debian/libngtcp2-crypto-gnutls2.symbols | 45 | ||||
-rw-r--r-- | debian/libngtcp2-dev.install | 5 | ||||
-rw-r--r-- | debian/ngtcp2-client.install | 1 | ||||
-rw-r--r-- | debian/ngtcp2-server.install | 2 | ||||
-rw-r--r-- | debian/ngtcp2-server.ngtcp2d.service | 17 | ||||
-rwxr-xr-x | debian/rules | 23 | ||||
-rw-r--r-- | debian/source/format | 1 |
15 files changed, 528 insertions, 0 deletions
diff --git a/debian/README.source b/debian/README.source new file mode 100644 index 0000000..9fb19fc --- /dev/null +++ b/debian/README.source @@ -0,0 +1,7 @@ +The files under doc/source/_themes/sphinx_rtd_theme/static/js/ +do not comply with the DFSG, because they were not included as +preferred form of modification, instead they were minified. +Therefore the whole doc/source/_themes directory was removed, +which only contained the sphinx_rtd_theme directory. + + -- Sakirnth Nagarasa <sakirnth@gmail.com> Tue, 21 Jun 2022 00:21:03 +0200 diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..dc45b34 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,91 @@ +ngtcp2 (0.12.1+dfsg-1) sid; urgency=medium + + * Uploading to sid. + * Merging upstream version 0.12.1+dfsg. + * d/changelog: Updating entry 0.12.0+dfsg-1 (Standards-Version). + * Source-only upload to allow testing migration. + + -- Sakirnth Nagarasa <sakirnth@gmail.com> Fri, 06 Jan 2023 21:07:55 +0100 + +ngtcp2 (0.12.0+dfsg-1) experimental; urgency=medium + + * Uploading to experimental. + * Merging upstream version 0.12.0+dfsg. + * Renamed d/libngtcp2-7.install to d/libngtcp2-9.install. + * d/control: + - Updated binary packages name because of soname bump. + - Updated build-depends and depends because of soname bump. + - Updating Standards-Version. + * Removed d/libngtcp2-7.symbols. + * Added d/libngtcp2-9.symbols. + + -- Sakirnth Nagarasa <sakirnth@gmail.com> Sun, 01 Jan 2023 20:58:42 +0100 + +ngtcp2 (0.8.0+dfsg-2) sid; urgency=medium + + * Uploading to sid. + * Source-only upload to allow testing migration. + + -- Sakirnth Nagarasa <sakirnth@gmail.com> Wed, 14 Sep 2022 19:11:54 +0200 + +ngtcp2 (0.8.0+dfsg-1) experimental; urgency=medium + + * Uploading to experimental. + * Merging upstream version 0.8.0+dfsg. + * d/control: + - Updated binary packages name because of soname bump. + - Updated build-depends and depends because of soname bump. + * Removed d/libngtcp2-1.symbols and d/libngtcp2-crypto-gnutls1.symbols. + * Renamed d/libngtcp2-crypto-gnutls1.install to + d/libngtcp2-crypto-gnutls2.install. + * Renamed d/libngtcp2-1.install to d/libngtcp2-7.install. + * Added d/libngtcp2-7.symbols and d/libngtcp2-crypto-gnutls2.symbols. + * d/copyright: Updated copyright for this version. + + -- Sakirnth Nagarasa <sakirnth@gmail.com> Sat, 27 Aug 2022 20:19:16 +0200 + +ngtcp2 (0.2.1+dfsg-3) sid; urgency=medium + + * Add d/libngtcp2-1.symbols file. + * Add d/libngtcp2-crypto-gnutls1.symbols file. + * Add d/README.source to document the reason for dfsg compatible source. + + -- Sakirnth Nagarasa <sakirnth@gmail.com> Tue, 21 Jun 2022 14:26:22 +0200 + +ngtcp2 (0.2.1+dfsg-2) sid; urgency=medium + + * Uploading to sid. + * d/control: Updating Standards-Version. + + -- Sakirnth Nagarasa <sakirnth@gmail.com> Mon, 16 May 2022 11:31:37 +0200 + +ngtcp2 (0.2.1+dfsg-1) experimental; urgency=medium + + * Uploading to experimental. + * Merging upstream version 0.2.1+dfsg. + * Removed sphinx_rtd_theme non-compliant files from source. + * d/control: + - Updating binary packages name because of soname bump. + - Updating Build-Depends and Depends because of soname bump. + * d/copyright: Updating copyright for this version. + + -- Sakirnth Nagarasa <sakirnth@gmail.com> Mon, 28 Mar 2022 11:41:58 +0200 + +ngtcp2 (0.1.0+dfsg-1) sid; urgency=medium + + * Uploading to sid. + * Merging upstream version 0.1.0+dfsg. + * Removed sphinx_rtd_theme non-compliant files from source. + * d/copyright: + - Updating copyright for this version. + - Adding Files_Excluded field to exclude non-compliant files. + * d/control: Updating libnghttp3-dev Build-Depends version. + * d/rules: Changing override_dh_install to execute_before_dh_install. + + -- Sakirnth Nagarasa <sakirnth@gmail.com> Thu, 10 Feb 2022 12:47:32 +0100 + +ngtcp2 (0~20210905-1) sid; urgency=medium + + * Initial release (Closes: #932151). + + -- Sakirnth Nagarasa <sakirnth@gmail.com> Mon, 06 Sep 2021 09:38:53 +0200 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..a8309e2 --- /dev/null +++ b/debian/control @@ -0,0 +1,96 @@ +Source: ngtcp2 +Section: libs +Priority: optional +Maintainer: Sakirnth Nagarasa <sakirnth@gmail.com> +Build-Depends: + chrpath, + debhelper-compat (= 13), + libcunit1-dev, + libev-dev, + libgnutls28-dev (>= 3.7.2), + libnghttp3-dev (>= 0.8.0), + pkg-config, +Rules-Requires-Root: no +Standards-Version: 4.6.2 +Homepage: https://github.com/ngtcp2/ngtcp2 +Vcs-Browser: https://salsa.debian.org/saki/ngtcp2 +Vcs-Git: https://salsa.debian.org/saki/ngtcp2.git + +Package: libngtcp2-9 +Section: libs +Architecture: any +Multi-Arch: same +Depends: + ${misc:Depends}, + ${shlibs:Depends}, +Description: implementation of QUIC protocol (library) + ngtcp2 project is an effort to implement QUIC protocol which is + now being discussed in IETF QUICWG for its standardization. + . + This package contains the shared library. + +Package: libngtcp2-crypto-gnutls-dev +Section: libdevel +Architecture: any +Multi-Arch: same +Depends: + libngtcp2-crypto-gnutls2 (= ${binary:Version}), + ${misc:Depends}, +Description: implementation of QUIC protocol (development) + ngtcp2 project is an effort to implement QUIC protocol which is + now being discussed in IETF QUICWG for its standardization. + . + This package contains the development files. + +Package: libngtcp2-crypto-gnutls2 +Section: libs +Architecture: any +Multi-Arch: same +Depends: + ${misc:Depends}, + ${shlibs:Depends}, +Description: implementation of QUIC protocol (library) + ngtcp2 project is an effort to implement QUIC protocol which is + now being discussed in IETF QUICWG for its standardization. + . + This package contains the shared library. + +Package: libngtcp2-dev +Section: libdevel +Architecture: any +Multi-Arch: same +Depends: + libngtcp2-9 (= ${binary:Version}), + ${misc:Depends}, +Description: implementation of QUIC protocol (development) + ngtcp2 project is an effort to implement QUIC protocol which is + now being discussed in IETF QUICWG for its standardization. + . + This package contains the development files. + +Package: ngtcp2-client +Architecture: any +Multi-Arch: foreign +Depends: + libngtcp2-9 (= ${binary:Version}), + ${misc:Depends}, + ${shlibs:Depends}, +Description: implementation of QUIC protocol (development) + ngtcp2 project is an effort to implement QUIC protocol which is + now being discussed in IETF QUICWG for its standardization. + . + This package contains the ngtcp2 client. + +Package: ngtcp2-server +Architecture: any +Multi-Arch: foreign +Depends: + libngtcp2-9 (= ${binary:Version}), + ssl-cert, + ${misc:Depends}, + ${shlibs:Depends}, +Description: implementation of QUIC protocol (development) + ngtcp2 project is an effort to implement QUIC protocol which is + now being discussed in IETF QUICWG for its standardization. + . + This package contains the ngtcp server. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..d3dea87 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,110 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: ngtcp2 +Source: https://github.com/ngtcp2/ngtcp2 +Files-Excluded: doc/source/_themes + +Files: * +Copyright: 2016-2022 ngtcp2 contributors +License: MIT + +Files: doc/mkapiref.py +Copyright: 2012 Tatsuhiro Tsujikawa + 2020 ngtcp2 contributors +License: MIT + +Files: lib/ngtcp2_pq.c + lib/ngtcp2_mem.h + lib/includes/ngtcp2/ngtcp2.h + lib/ngtcp2_map.c + lib/ngtcp2_mem.c + lib/ngtcp2_pq.h + lib/ngtcp2_map.h + tests/Makefile.am + tests/ngtcp2_map_test.c + tests/main.c + tests/CMakeLists.txt + tests/ngtcp2_map_test.h + CMakeLists.txt + examples/network.h + examples/examplestest.cc + examples/util.h + examples/util.cc + examples/http.cc + examples/template.h + third-party/Makefile.am + third-party/CMakeLists.txt + configure.ac +Copyright: 2016-2022 ngtcp2 contributors + 2012-2014 nghttp2 contributors +License: MIT + +Files: m4/ax_check_compile_flag.m4 +Copyright: 2008 Guido U. Draheim <guidod@gmx.de> + 2011 Maarten Bosmans <mkbosmans@gmail.com> +License: GPL-3+ + +Files: m4/ax_cxx_compile_stdcxx.m4 +Copyright: 2008 Benjamin Kosnik <bkoz@redhat.com> + 2012 Zack Weinberg <zackw@panix.com> + 2013 Roy Stogner <roystgnr@ices.utexas.edu> + 2014, 2015 Google Inc.; contributed by Alexey Sokolov <sokolov@google.com> + 2015 Paul Norman <penorman@mac.com> + 2015 Moritz Klammler <moritz@klammler.eu> + 2016, 2018 Krzesimir Nowak <qdlacz@gmail.com> + 2019 Enji Cooper <yaneurabeya@gmail.com> + 2020 Jason Merrill <jason@redhat.com> + 2021 Jörn Heusipp <osmanx@problemloesungsmaschine.de> +License: FSFAP + +Files: third-party/http-parser/* +Copyright: Igor Sysoev + 2009-2013 Joyent, Inc. and other Node contributors + Fedor Indutny +License: MIT + +Files: debian/* +Copyright: 2021-2022 Sakirnth Nagarasa <sakirnth@gmail.com> +License: MIT + +License: FSFAP + Copying and distribution of this file, with or without modification, are + permitted in any medium without royalty provided the copyright notice + and this notice are preserved. This file is offered as-is, without any + warranty. + +License: GPL-3+ + This package 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 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 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 <https://www.gnu.org/licenses/> + . + On Debian systems, the complete text of the GNU General + Public License version 3 can be found in "/usr/share/common-licenses/GPL-3". + +License: MIT + 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. diff --git a/debian/libngtcp2-9.install b/debian/libngtcp2-9.install new file mode 100644 index 0000000..4a717e0 --- /dev/null +++ b/debian/libngtcp2-9.install @@ -0,0 +1 @@ +usr/lib/*/libngtcp2.so.* diff --git a/debian/libngtcp2-9.symbols b/debian/libngtcp2-9.symbols new file mode 100644 index 0000000..dcbf3a2 --- /dev/null +++ b/debian/libngtcp2-9.symbols @@ -0,0 +1,124 @@ +libngtcp2.so.9 libngtcp2-9 #MINVER# + ngtcp2_accept@Base 0.12.0+dfsg + ngtcp2_addr_copy_byte@Base 0.12.0+dfsg + ngtcp2_addr_init@Base 0.12.0+dfsg + ngtcp2_cid_eq@Base 0.12.0+dfsg + ngtcp2_cid_init@Base 0.12.0+dfsg + ngtcp2_conn_after_retry@Base 0.12.0+dfsg + ngtcp2_conn_client_new_versioned@Base 0.12.0+dfsg + ngtcp2_conn_decode_remote_transport_params@Base 0.12.0+dfsg + ngtcp2_conn_del@Base 0.12.0+dfsg + ngtcp2_conn_early_data_rejected@Base 0.12.0+dfsg + ngtcp2_conn_encode_local_transport_params@Base 0.12.0+dfsg + ngtcp2_conn_extend_max_offset@Base 0.12.0+dfsg + ngtcp2_conn_extend_max_stream_offset@Base 0.12.0+dfsg + ngtcp2_conn_extend_max_streams_bidi@Base 0.12.0+dfsg + ngtcp2_conn_extend_max_streams_uni@Base 0.12.0+dfsg + ngtcp2_conn_get_active_dcid@Base 0.12.0+dfsg + ngtcp2_conn_get_client_chosen_version@Base 0.12.0+dfsg + ngtcp2_conn_get_client_initial_dcid@Base 0.12.0+dfsg + ngtcp2_conn_get_conn_stat_versioned@Base 0.12.0+dfsg + ngtcp2_conn_get_connection_close_error@Base 0.12.0+dfsg + ngtcp2_conn_get_crypto_ctx@Base 0.12.0+dfsg + ngtcp2_conn_get_cwnd_left@Base 0.12.0+dfsg + ngtcp2_conn_get_dcid@Base 0.12.0+dfsg + ngtcp2_conn_get_early_crypto_ctx@Base 0.12.0+dfsg + ngtcp2_conn_get_early_data_rejected@Base 0.12.0+dfsg + ngtcp2_conn_get_expiry@Base 0.12.0+dfsg + ngtcp2_conn_get_handshake_completed@Base 0.12.0+dfsg + ngtcp2_conn_get_initial_crypto_ctx@Base 0.12.0+dfsg + ngtcp2_conn_get_local_transport_params@Base 0.12.0+dfsg + ngtcp2_conn_get_max_data_left@Base 0.12.0+dfsg + ngtcp2_conn_get_max_local_streams_uni@Base 0.12.0+dfsg + ngtcp2_conn_get_max_stream_data_left@Base 0.12.0+dfsg + ngtcp2_conn_get_max_tx_udp_payload_size@Base 0.12.0+dfsg + ngtcp2_conn_get_negotiated_version@Base 0.12.0+dfsg + ngtcp2_conn_get_num_active_dcid@Base 0.12.0+dfsg + ngtcp2_conn_get_num_scid@Base 0.12.0+dfsg + ngtcp2_conn_get_path@Base 0.12.0+dfsg + ngtcp2_conn_get_path_max_tx_udp_payload_size@Base 0.12.0+dfsg + ngtcp2_conn_get_pto@Base 0.12.0+dfsg + ngtcp2_conn_get_remote_transport_params@Base 0.12.0+dfsg + ngtcp2_conn_get_scid@Base 0.12.0+dfsg + ngtcp2_conn_get_send_quantum@Base 0.12.0+dfsg + ngtcp2_conn_get_stream_loss_count@Base 0.12.0+dfsg + ngtcp2_conn_get_streams_bidi_left@Base 0.12.0+dfsg + ngtcp2_conn_get_streams_uni_left@Base 0.12.0+dfsg + ngtcp2_conn_get_tls_alert@Base 0.12.0+dfsg + ngtcp2_conn_get_tls_error@Base 0.12.0+dfsg + ngtcp2_conn_get_tls_native_handle@Base 0.12.0+dfsg + ngtcp2_conn_handle_expiry@Base 0.12.0+dfsg + ngtcp2_conn_handshake_completed@Base 0.12.0+dfsg + ngtcp2_conn_initiate_immediate_migration@Base 0.12.0+dfsg + ngtcp2_conn_initiate_key_update@Base 0.12.0+dfsg + ngtcp2_conn_initiate_migration@Base 0.12.0+dfsg + ngtcp2_conn_install_early_key@Base 0.12.0+dfsg + ngtcp2_conn_install_initial_key@Base 0.12.0+dfsg + ngtcp2_conn_install_rx_handshake_key@Base 0.12.0+dfsg + ngtcp2_conn_install_rx_key@Base 0.12.0+dfsg + ngtcp2_conn_install_tx_handshake_key@Base 0.12.0+dfsg + ngtcp2_conn_install_tx_key@Base 0.12.0+dfsg + ngtcp2_conn_install_vneg_initial_key@Base 0.12.0+dfsg + ngtcp2_conn_is_in_closing_period@Base 0.12.0+dfsg + ngtcp2_conn_is_in_draining_period@Base 0.12.0+dfsg + ngtcp2_conn_is_local_stream@Base 0.12.0+dfsg + ngtcp2_conn_is_server@Base 0.12.0+dfsg + ngtcp2_conn_open_bidi_stream@Base 0.12.0+dfsg + ngtcp2_conn_open_uni_stream@Base 0.12.0+dfsg + ngtcp2_conn_read_pkt_versioned@Base 0.12.0+dfsg + ngtcp2_conn_server_new_versioned@Base 0.12.0+dfsg + ngtcp2_conn_set_crypto_ctx@Base 0.12.0+dfsg + ngtcp2_conn_set_early_crypto_ctx@Base 0.12.0+dfsg + ngtcp2_conn_set_early_remote_transport_params_versioned@Base 0.12.0+dfsg + ngtcp2_conn_set_initial_crypto_ctx@Base 0.12.0+dfsg + ngtcp2_conn_set_keep_alive_timeout@Base 0.12.0+dfsg + ngtcp2_conn_set_local_addr@Base 0.12.0+dfsg + ngtcp2_conn_set_local_transport_params_versioned@Base 0.12.0+dfsg + ngtcp2_conn_set_path_user_data@Base 0.12.0+dfsg + ngtcp2_conn_set_retry_aead@Base 0.12.0+dfsg + ngtcp2_conn_set_stream_user_data@Base 0.12.0+dfsg + ngtcp2_conn_set_tls_alert@Base 0.12.0+dfsg + ngtcp2_conn_set_tls_error@Base 0.12.0+dfsg + ngtcp2_conn_set_tls_native_handle@Base 0.12.0+dfsg + ngtcp2_conn_shutdown_stream@Base 0.12.0+dfsg + ngtcp2_conn_shutdown_stream_read@Base 0.12.0+dfsg + ngtcp2_conn_shutdown_stream_write@Base 0.12.0+dfsg + ngtcp2_conn_submit_crypto_data@Base 0.12.0+dfsg + ngtcp2_conn_submit_new_token@Base 0.12.0+dfsg + ngtcp2_conn_update_pkt_tx_time@Base 0.12.0+dfsg + ngtcp2_conn_write_connection_close_versioned@Base 0.12.0+dfsg + ngtcp2_conn_write_pkt_versioned@Base 0.12.0+dfsg + ngtcp2_conn_write_stream_versioned@Base 0.12.0+dfsg + ngtcp2_conn_writev_datagram_versioned@Base 0.12.0+dfsg + ngtcp2_conn_writev_stream_versioned@Base 0.12.0+dfsg + ngtcp2_connection_close_error_default@Base 0.12.0+dfsg + ngtcp2_connection_close_error_set_application_error@Base 0.12.0+dfsg + ngtcp2_connection_close_error_set_transport_error@Base 0.12.0+dfsg + ngtcp2_connection_close_error_set_transport_error_liberr@Base 0.12.0+dfsg + ngtcp2_connection_close_error_set_transport_error_tls_alert@Base 0.12.0+dfsg + ngtcp2_decode_transport_params_new@Base 0.12.0+dfsg + ngtcp2_decode_transport_params_versioned@Base 0.12.0+dfsg + ngtcp2_encode_transport_params_versioned@Base 0.12.0+dfsg + ngtcp2_err_infer_quic_transport_error_code@Base 0.12.0+dfsg + ngtcp2_err_is_fatal@Base 0.12.0+dfsg + ngtcp2_is_bidi_stream@Base 0.12.0+dfsg + ngtcp2_is_reserved_version@Base 0.12.0+dfsg + ngtcp2_is_supported_version@Base 0.12.0+dfsg + ngtcp2_mem_default@Base 0.12.0+dfsg + ngtcp2_path_copy@Base 0.12.0+dfsg + ngtcp2_path_eq@Base 0.12.0+dfsg + ngtcp2_path_storage_init@Base 0.12.0+dfsg + ngtcp2_path_storage_zero@Base 0.12.0+dfsg + ngtcp2_pkt_decode_hd_long@Base 0.12.0+dfsg + ngtcp2_pkt_decode_hd_short@Base 0.12.0+dfsg + ngtcp2_pkt_decode_version_cid@Base 0.12.0+dfsg + ngtcp2_pkt_write_connection_close@Base 0.12.0+dfsg + ngtcp2_pkt_write_retry@Base 0.12.0+dfsg + ngtcp2_pkt_write_stateless_reset@Base 0.12.0+dfsg + ngtcp2_pkt_write_version_negotiation@Base 0.12.0+dfsg + ngtcp2_select_version@Base 0.12.0+dfsg + ngtcp2_settings_default_versioned@Base 0.12.0+dfsg + ngtcp2_strerror@Base 0.12.0+dfsg + ngtcp2_transport_params_default_versioned@Base 0.12.0+dfsg + ngtcp2_transport_params_del@Base 0.12.0+dfsg + ngtcp2_version@Base 0.12.0+dfsg diff --git a/debian/libngtcp2-crypto-gnutls-dev.install b/debian/libngtcp2-crypto-gnutls-dev.install new file mode 100644 index 0000000..7c6c45f --- /dev/null +++ b/debian/libngtcp2-crypto-gnutls-dev.install @@ -0,0 +1,4 @@ +usr/include/*/*crypto* +usr/lib/*/*crypto*.a +usr/lib/*/*crypto*.so +usr/lib/*/pkgconfig/*crypto* diff --git a/debian/libngtcp2-crypto-gnutls2.install b/debian/libngtcp2-crypto-gnutls2.install new file mode 100644 index 0000000..df03769 --- /dev/null +++ b/debian/libngtcp2-crypto-gnutls2.install @@ -0,0 +1 @@ +usr/lib/*/*crypto*.so.* diff --git a/debian/libngtcp2-crypto-gnutls2.symbols b/debian/libngtcp2-crypto-gnutls2.symbols new file mode 100644 index 0000000..f76f9b3 --- /dev/null +++ b/debian/libngtcp2-crypto-gnutls2.symbols @@ -0,0 +1,45 @@ +libngtcp2_crypto_gnutls.so.2 libngtcp2-crypto-gnutls2 #MINVER# + ngtcp2_crypto_aead_ctx_decrypt_init@Base 0.8.0+dfsg + ngtcp2_crypto_aead_ctx_encrypt_init@Base 0.8.0+dfsg + ngtcp2_crypto_aead_ctx_free@Base 0.8.0+dfsg + ngtcp2_crypto_aead_keylen@Base 0.8.0+dfsg + ngtcp2_crypto_aead_noncelen@Base 0.8.0+dfsg + ngtcp2_crypto_client_initial_cb@Base 0.8.0+dfsg + ngtcp2_crypto_ctx_tls@Base 0.8.0+dfsg + ngtcp2_crypto_ctx_tls_early@Base 0.8.0+dfsg + ngtcp2_crypto_decrypt@Base 0.8.0+dfsg + ngtcp2_crypto_decrypt_cb@Base 0.8.0+dfsg + ngtcp2_crypto_delete_crypto_aead_ctx_cb@Base 0.8.0+dfsg + ngtcp2_crypto_delete_crypto_cipher_ctx_cb@Base 0.8.0+dfsg + ngtcp2_crypto_derive_and_install_rx_key@Base 0.8.0+dfsg + ngtcp2_crypto_derive_and_install_tx_key@Base 0.8.0+dfsg + ngtcp2_crypto_encrypt@Base 0.8.0+dfsg + ngtcp2_crypto_encrypt_cb@Base 0.8.0+dfsg + ngtcp2_crypto_generate_regular_token@Base 0.8.0+dfsg + ngtcp2_crypto_generate_retry_token@Base 0.8.0+dfsg + ngtcp2_crypto_generate_stateless_reset_token@Base 0.8.0+dfsg + ngtcp2_crypto_get_path_challenge_data_cb@Base 0.8.0+dfsg + ngtcp2_crypto_gnutls_configure_client_session@Base 0.8.0+dfsg + ngtcp2_crypto_gnutls_configure_server_session@Base 0.8.0+dfsg + ngtcp2_crypto_gnutls_from_gnutls_record_encryption_level@Base 0.8.0+dfsg + ngtcp2_crypto_gnutls_from_ngtcp2_level@Base 0.8.0+dfsg + ngtcp2_crypto_hkdf@Base 0.8.0+dfsg + ngtcp2_crypto_hkdf_expand@Base 0.8.0+dfsg + ngtcp2_crypto_hkdf_expand_label@Base 0.8.0+dfsg + ngtcp2_crypto_hkdf_extract@Base 0.8.0+dfsg + ngtcp2_crypto_hp_mask@Base 0.8.0+dfsg + ngtcp2_crypto_hp_mask_cb@Base 0.8.0+dfsg + ngtcp2_crypto_md_hashlen@Base 0.8.0+dfsg + ngtcp2_crypto_md_init@Base 0.8.0+dfsg + ngtcp2_crypto_packet_protection_ivlen@Base 0.8.0+dfsg + ngtcp2_crypto_read_write_crypto_data@Base 0.8.0+dfsg + ngtcp2_crypto_recv_client_initial_cb@Base 0.8.0+dfsg + ngtcp2_crypto_recv_crypto_data_cb@Base 0.8.0+dfsg + ngtcp2_crypto_recv_retry_cb@Base 0.8.0+dfsg + ngtcp2_crypto_update_key@Base 0.8.0+dfsg + ngtcp2_crypto_update_key_cb@Base 0.8.0+dfsg + ngtcp2_crypto_verify_regular_token@Base 0.8.0+dfsg + ngtcp2_crypto_verify_retry_token@Base 0.8.0+dfsg + ngtcp2_crypto_version_negotiation_cb@Base 0.8.0+dfsg + ngtcp2_crypto_write_connection_close@Base 0.8.0+dfsg + ngtcp2_crypto_write_retry@Base 0.8.0+dfsg diff --git a/debian/libngtcp2-dev.install b/debian/libngtcp2-dev.install new file mode 100644 index 0000000..09e103a --- /dev/null +++ b/debian/libngtcp2-dev.install @@ -0,0 +1,5 @@ +usr/include/*/ngtcp2.* +usr/include/*/version.* +usr/lib/*/*tcp2.a +usr/lib/*/*tcp2.so +usr/lib/*/pkgconfig/*tcp2.pc diff --git a/debian/ngtcp2-client.install b/debian/ngtcp2-client.install new file mode 100644 index 0000000..e772481 --- /dev/null +++ b/debian/ngtcp2-client.install @@ -0,0 +1 @@ +usr/bin diff --git a/debian/ngtcp2-server.install b/debian/ngtcp2-server.install new file mode 100644 index 0000000..e2523d7 --- /dev/null +++ b/debian/ngtcp2-server.install @@ -0,0 +1,2 @@ +usr/sbin +usr/share diff --git a/debian/ngtcp2-server.ngtcp2d.service b/debian/ngtcp2-server.ngtcp2d.service new file mode 100644 index 0000000..8320ad9 --- /dev/null +++ b/debian/ngtcp2-server.ngtcp2d.service @@ -0,0 +1,17 @@ +[Unit] +Description=ngtcp2 daemon +After=network.target + +[Service] +Type=simple +ExecStart=/usr/sbin/gtlsserver localhost 7777 /etc/ssl/private/ssl-cert-snakeoil.key /etc/ssl/certs/ssl-cert-snakeoil.pem +WorkingDirectory=/usr/share/ngtcp2d/html +ExecReload=/bin/kill --signal HUP $MAINPID +KillSignal=SIGQUIT +PrivateTmp=yes +ProtectHome=yes +ProtectSystem=full +Restart=always + +[Install] +WantedBy=multi-user.target diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..8975253 --- /dev/null +++ b/debian/rules @@ -0,0 +1,23 @@ +#!/usr/bin/make -f + +%: + dh ${@} + +override_dh_auto_configure: + dh_auto_configure -- \ + --with-gnutls + +execute_after_dh_prep: + chrpath -d examples/gtlsserver + chrpath -d examples/gtlsclient + +execute_before_dh_install: + mkdir -p debian/tmp/usr/sbin debian/tmp/usr/bin debian/tmp/usr/share/ngtcp2d/html + mv examples/gtlsserver debian/tmp/usr/sbin + mv examples/gtlsclient debian/tmp/usr/bin + +execute_after_dh_install: + rm -f debian/tmp/usr/lib/*/*.la + +override_dh_installsystemd: + dh_installsystemd --no-restart-after-upgrade --no-stop-on-upgrade --no-start --name ngtcp2d 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) |