Revert "Suppression fichiers Debian sur la branche de développement"

This reverts commit 2b12ef733c.
This commit is contained in:
wpetit 2020-06-17 13:23:27 +02:00
parent 2b12ef733c
commit dec1586863
5 changed files with 53 additions and 0 deletions

1
debian/compat vendored Normal file
View File

@ -0,0 +1 @@
9

14
debian/control vendored Normal file
View File

@ -0,0 +1,14 @@
Source: hydra
Section: unknown
Priority: optional
Maintainer: William Petit <wpetit@cadoles.com>
Build-Depends: debhelper (>= 8.0.0), wget, ca-certificates, tar
Standards-Version: 3.9.4
Homepage: http://forge.cadoles.com/wpetit/debian-hydra
Vcs-Git: http://forge.cadoles.com/wpetit/debian-hydra.git
Vcs-Browser: http://forge.cadoles.com/wpetit/debian-hydra
Package: hydra
Architecture: amd64
Depends: ${shlibs:Depends}, ${misc:Depends}
Description: Serveur OpenID Connect

11
debian/hydra.service vendored Normal file
View File

@ -0,0 +1,11 @@
[Unit]
Description=Serveur OpenID Connect Hydra
After=network-online.target
[Service]
Type=simple
ExecStart=/usr/bin/hydra --config /etc/hydra/hydra.yml serve all
Restart=on-failure
[Install]
WantedBy=multi-user.target

26
debian/rules vendored Normal file
View File

@ -0,0 +1,26 @@
#!/usr/bin/make -f
# -*- makefile -*-
# Uncomment this to turn on verbose mode.
export DH_VERBOSE=1
HYDRA_VERSION := v1.5.1
%:
dh $@ --with systemd
override_dh_auto_build: $(GOPATH)
./script/install.sh -b bin -d $(HYDRA_VERSION)
override_dh_auto_install:
mkdir -p debian/hydra/usr/bin
mkdir -p debian/hydra/etc/hydra
cp bin/hydra debian/hydra/usr/bin/hydra
cp conf/hydra.yml debian/hydra/etc/hydra
install -d debian/hydra
override_dh_strip:
override_dh_auto_test:

1
debian/source/format vendored Normal file
View File

@ -0,0 +1 @@
3.0 (native)