Add 'debian/' from commit 'e5323f579f7b3707c06395adb32095e4982f9b10'

git-subtree-dir: debian
git-subtree-mainline: 8796d961f0
git-subtree-split: e5323f579f
This commit is contained in:
Benjamin Dauvergne 2015-04-02 19:26:41 +02:00
commit c6bc5a60d0
10 changed files with 88 additions and 0 deletions

5
debian/changelog vendored Normal file
View File

@ -0,0 +1,5 @@
authentic2-supann (0.1-0) unstable; urgency=low
* Initial packaging
-- Benjamin Dauvergne <bdauvergne@entrouvert.com> Mon, 27 Nov 2014 14:40:00 +0200

1
debian/compat vendored Normal file
View File

@ -0,0 +1 @@
7

2
debian/conffiles vendored Normal file
View File

@ -0,0 +1,2 @@
/etc/authentic2/supann.conf
/etc/authentic2/config.py

11
debian/control vendored Normal file
View File

@ -0,0 +1,11 @@
Source: authentic2-supann
Section: admin
Priority: extra
Build-Depends: debhelper
Maintainer: Benjamin Dauvergne <bdauvergne@entrouvert.com>
Package: authentic2-supann
Architecture: all
Depends: authentic2, apache2, wget, libxml2-utils, xmlsec1
Pre-Depends: postgresql
Description: adaptations and basic configuration for using authentic2 on a SUPANN directory

18
debian/copyright vendored Normal file
View File

@ -0,0 +1,18 @@
This package was initiated by Benjamin Dauvergne <bdauvergne@entrouvert.com> on
Tue, 24 Nov 2014 22:35:12 +0200.
Copyright:
ldapsaisie is copyright (C) 2014 Entr'ouvert
This software is issued from GNU GENERAL PUBLIC LICENSE Version 2
License:
You can use it under GNU GENERAL PUBLIC LICENSE Version 2 policy
For more information on GNU GENERAL PUBLIC LICENSE Version 2 policy,
please refer to COPYING.
The Debian packaging is (C) 2014, Benjamin Dauvergne <bdauvergne@entrouvert.com> and
is licensed under the GPL, see `/usr/share/common-licenses/GPL'.7

4
debian/cron.d vendored Normal file
View File

@ -0,0 +1,4 @@
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
*/30 * * * * authentic /usr/lib/authentic2-supann/update-renater-meta.sh

2
debian/dirs vendored Normal file
View File

@ -0,0 +1,2 @@
/usr/lib/authentic2-supann
/etc/apache2/sites-available

4
debian/install vendored Normal file
View File

@ -0,0 +1,4 @@
config.py /etc/authentic2
update-renater-meta.sh /usr/lib/authentic2-supann
supann.conf /etc/authentic2
authentic2-supann.conf /etc/apache2/sites-available

37
debian/postinst vendored Normal file
View File

@ -0,0 +1,37 @@
#!/bin/sh
#
# Postinst script for authentic2-supann
#
add_supann_in_default() {
cat << EODEFAULT >> /etc/default/authentic2
if [ -r /etc/authentic2/supann.conf ]; then
. /etc/authentic2/supann.conf
fi
EODEFAULT
}
case "$1" in
configure|reconfigure)
if [ ! -f /etc/default/authentic2 ]; then
add_supann_in_default
elif ! grep -q supann.conf /etc/default/authentic2 2> /dev/null; then
add_supann_in_default
fi
invoke-rc.d authentic2 restart
;;
abort-upgrade|abort-remove|abort-deconfigure)
;;
*)
echo "postinst called with unknown argument \`$1'" >&2
exit 1
;;
esac
# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.
#DEBHELPER#
exit 0

4
debian/rules vendored Executable file
View File

@ -0,0 +1,4 @@
#!/usr/bin/make -f
%:
dh $@