Revert "Suppression fichiers Debian sur la branche de développement"
This reverts commit 2b12ef733c
.
This commit is contained in:
parent
2b12ef733c
commit
dec1586863
|
@ -0,0 +1 @@
|
|||
9
|
|
@ -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
|
|
@ -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
|
|
@ -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:
|
|
@ -0,0 +1 @@
|
|||
3.0 (native)
|
Loading…
Reference in New Issue