Initial commit
This commit is contained in:
0
debian/.debhelper/generated/turnserverauth/installed-by-dh_installdocs
vendored
Normal file
0
debian/.debhelper/generated/turnserverauth/installed-by-dh_installdocs
vendored
Normal file
5
debian/changelog
vendored
Normal file
5
debian/changelog
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
turnserverauth (1.0-1) stable; urgency=medium
|
||||
|
||||
* Initial release.
|
||||
|
||||
-- Benoit LORAND <benoit.lorand@blorand.org> Fri, 20 Mar 2020 01:40:00 +0100
|
1
debian/compat
vendored
Normal file
1
debian/compat
vendored
Normal file
@ -0,0 +1 @@
|
||||
10
|
17
debian/control
vendored
Normal file
17
debian/control
vendored
Normal file
@ -0,0 +1,17 @@
|
||||
Source: turnserverauth
|
||||
Maintainer: Benoit LORAND <benoit.lorand@blorand.fr>
|
||||
Section: misc
|
||||
Priority: optional
|
||||
Standards-Version: 3.9.2
|
||||
Build-Depends: debhelper (>= 9)
|
||||
|
||||
Package: turnserverauth
|
||||
Architecture: all
|
||||
Depends: ${shlibs:Depends},
|
||||
${misc:Depends},
|
||||
nodejs,
|
||||
npm
|
||||
Suggests: nginx
|
||||
Section: BLORAND
|
||||
Priority: optional
|
||||
Description: WebService pour distribuer des authentifications éphémères TURN
|
0
debian/copyright
vendored
Normal file
0
debian/copyright
vendored
Normal file
28
debian/postinst
vendored
Executable file
28
debian/postinst
vendored
Executable file
@ -0,0 +1,28 @@
|
||||
#! /bin/bash
|
||||
|
||||
set -e
|
||||
|
||||
case "$1" in
|
||||
configure)
|
||||
npm --prefix /opt/turnserverauth/ install hmacsha1
|
||||
systemctl daemon-reload
|
||||
systemctl --now enable turnserverauth.service
|
||||
|
||||
;;
|
||||
|
||||
abort-upgrade|abort-remove|abort-deconfigure)
|
||||
|
||||
;;
|
||||
|
||||
*)
|
||||
echo "postinst called with unknown argument \`$1'" >&2
|
||||
exit 0
|
||||
;;
|
||||
esac
|
||||
|
||||
# dh_installdeb will replace this with shell code automatically
|
||||
# generated by other debhelper scripts.
|
||||
|
||||
|
||||
|
||||
exit 0
|
9
debian/rules
vendored
Executable file
9
debian/rules
vendored
Executable file
@ -0,0 +1,9 @@
|
||||
#!/usr/bin/make -f
|
||||
%:
|
||||
dh $@
|
||||
|
||||
override_dh_auto_install:
|
||||
install -D -m 0644 turnserverauth.js $$(pwd)/debian/turnserverauth/opt/turnserverauth/turnserverauth.js
|
||||
install -D -m 0644 turnserverauth $$(pwd)/debian/turnserverauth/etc/default/turnserverauth
|
||||
install -D -m 0644 turnserverauth.service $$(pwd)/debian/turnserverauth/lib/systemd/system/turnserverauth.service
|
||||
|
1
debian/source/format
vendored
Normal file
1
debian/source/format
vendored
Normal file
@ -0,0 +1 @@
|
||||
3.0 (quilt)
|
Reference in New Issue
Block a user