Browse Source

Retour des fichiers Debian sur la branche de développement

dist/ubuntu/bionic/staging
wpetit 2 months ago
parent
commit
2ac7580a1d
5 changed files with 53 additions and 0 deletions
  1. +1
    -0
      debian/compat
  2. +14
    -0
      debian/control
  3. +11
    -0
      debian/hydra.service
  4. +26
    -0
      debian/rules
  5. +1
    -0
      debian/source/format

+ 1
- 0
debian/compat View File

@ -0,0 +1 @@
9

+ 14
- 0
debian/control 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
- 0
debian/hydra.service 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
- 0
debian/rules 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
- 0
debian/source/format View File

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

Loading…
Cancel
Save