summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--debian/control27
-rw-r--r--debian/ngtcp2-client.install1
-rw-r--r--debian/ngtcp2-server.install2
-rw-r--r--debian/ngtcp2-server.ngtcp2d.service17
-rwxr-xr-xdebian/rules13
5 files changed, 2 insertions, 58 deletions
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