From 2e31f9f11c0a5eb314748cd08d5eb5882ad74e11 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 28 Apr 2024 10:44:36 +0200 Subject: Building without examples (ngtcp2-client and ngtcp2-server) with need newer gcc. Signed-off-by: Daniel Baumann --- debian/control | 27 --------------------------- debian/ngtcp2-client.install | 1 - debian/ngtcp2-server.install | 2 -- debian/ngtcp2-server.ngtcp2d.service | 17 ----------------- debian/rules | 13 ++----------- 5 files changed, 2 insertions(+), 58 deletions(-) delete mode 100644 debian/ngtcp2-client.install delete mode 100644 debian/ngtcp2-server.install delete mode 100644 debian/ngtcp2-server.ngtcp2d.service diff --git a/debian/control b/debian/control index 2b64aa7..4e7571e 100644 --- a/debian/control +++ b/debian/control @@ -72,30 +72,3 @@ Description: implementation of QUIC protocol (development) 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/ngtcp2-client.install b/debian/ngtcp2-client.install deleted file mode 100644 index e772481..0000000 --- a/debian/ngtcp2-client.install +++ /dev/null @@ -1 +0,0 @@ -usr/bin diff --git a/debian/ngtcp2-server.install b/debian/ngtcp2-server.install deleted file mode 100644 index e2523d7..0000000 --- a/debian/ngtcp2-server.install +++ /dev/null @@ -1,2 +0,0 @@ -usr/sbin -usr/share diff --git a/debian/ngtcp2-server.ngtcp2d.service b/debian/ngtcp2-server.ngtcp2d.service deleted file mode 100644 index 8320ad9..0000000 --- a/debian/ngtcp2-server.ngtcp2d.service +++ /dev/null @@ -1,17 +0,0 @@ -[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 index 8975253..61e3078 100755 --- a/debian/rules +++ b/debian/rules @@ -7,17 +7,8 @@ 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_auto_install: + rm -f debian/tmp/usr/share/doc/ngtcp2/README.rst 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 -- cgit v1.2.3