Commit 8165b019 authored by Yadd's avatar Yadd
Browse files

Update debian files using Debian official changes

parent 0042a928
Pipeline #3975 failed with stages
in 6 minutes and 20 seconds
......@@ -3,7 +3,7 @@ Maintainer: Debian Perl Group <pkg-perl-maintainers@lists.alioth.debian.org>
Uploaders: Xavier Guimard <yadd@debian.org>
Section: perl
Priority: optional
Build-Depends: debhelper (>= 10),
Build-Depends: debhelper (>= 11~),
po-debconf
Build-Depends-Indep: libapache-session-perl,
libauthen-oath-perl,
......@@ -47,7 +47,7 @@ Build-Depends-Indep: libapache-session-perl,
libxml-libxslt-perl,
libxml-simple-perl,
perl
Standards-Version: 4.2.1
Standards-Version: 4.3.0
Vcs-Browser: https://salsa.debian.org/perl-team/modules/packages/lemonldap-ng
Vcs-Git: https://salsa.debian.org/perl-team/modules/packages/lemonldap-ng.git
Homepage: https://lemonldap-ng.org/
......
......@@ -6,6 +6,6 @@ Abstract: Those HTML documents contains all Lemonldap::NG documentation
Section: Web Development
Format: HTML
Index: /usr/share/doc/lemonldap-ng-doc/index.html
Files: /usr/share/doc/lemonldap-ng-doc/*.html
Index: /usr/share/doc/lemonldap-ng/index.html
Files: /usr/share/doc/lemonldap-ng/pages/documentation/current/*.html
......@@ -10,6 +10,7 @@ PIDFile=/run/llng-fastcgi-server/llng-fastcgi-server.pid
ExecStart=/usr/sbin/llng-fastcgi-server
ExecStop=-/sbin/start-stop-daemon --quiet --stop --retry QUIT/5 --pidfile ${PID}
KillMode=mixed
PrivateTmp=yes
[Install]
Alias=llng-fastcgi-server.service
......
......@@ -17,7 +17,7 @@ LMINIFILE=$(CONFDIR)/lemonldap-ng.ini
CAPTCHADIR=$(LMVARDIR)/captcha
%:
dh $@ --with systemd
dh $@
override_dh_auto_configure:
$(MAKE) configure STORAGECONFFILE=/etc/lemonldap-ng/lemonldap-ng.ini \
......
  • Hello @guimard

    Using debhelper 11 is problematic, we can't install anymore on our test server:

    coudot@llng-site:~/lemonldap-ng$ make ubuntu-install-for-nginx 
    make debian-install-for-nginx SU=sudo
    make[1]: Entering directory '/home/coudot/lemonldap-ng'
    # Stop web server
    # Clean
    removed 'lemonldap-ng_2.0.1.orig.tar.gz'
    Cleaned
    mv lemonldap-ng_`head -n1 changelog |sed -e 's/lemonldap-ng (//' -e 's/).*$//'`.orig.tar.gz /tmp/
    version=`head -n1 changelog |sed -e 's/lemonldap-ng (//' -e 's/).*$//'` && \
    cd /tmp/ && \
    rm -rf lemonldap-ng-$version && \
    tar xzf lemonldap-ng_$version.orig.tar.gz && \
    cd lemonldap-ng-$version && \
    debuild -us -uc
     dpkg-buildpackage -rfakeroot -us -uc
    dpkg-buildpackage: info: source package lemonldap-ng
    dpkg-buildpackage: info: source version 2.0.1-1
    dpkg-buildpackage: info: source distribution unstable
    dpkg-buildpackage: info: source changed by Clement OUDOT <clement@oodo.net>
     dpkg-source --before-build lemonldap-ng-2.0.1
    dpkg-buildpackage: info: host architecture amd64
    dpkg-source: warning: unknown information field 'Rules-Requires-Root' in input data in general section of control info file
    dpkg-checkbuilddeps: error: Unmet build dependencies: debhelper (>= 11~)
    dpkg-buildpackage: warning: build dependencies/conflicts unsatisfied; aborting
    dpkg-buildpackage: warning: (Use -d flag to override.)
    debuild: fatal error at line 1116:
    dpkg-buildpackage -rfakeroot -us -uc failed
    Makefile:1068: recipe for target 'debian-packages' failed
    make[1]: *** [debian-packages] Error 29
    make[1]: Leaving directory '/home/coudot/lemonldap-ng'
    Makefile:960: recipe for target 'ubuntu-install-for-nginx' failed
  • Revert done: a9971c7c and de99fdc1

Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment