From 9d0489835a2930e2d574fb6fa6fdcf39dc6ea143 Mon Sep 17 00:00:00 2001 From: Benjamin Dauvergne Date: Thu, 27 Nov 2014 16:08:20 +0100 Subject: [PATCH] Initial packaging --- changelog | 5 +++++ compat | 1 + conffiles | 1 + control | 11 +++++++++++ copyright | 18 ++++++++++++++++++ cron.d | 4 ++++ dirs | 1 + install | 3 +++ postinst | 7 +++++++ rules | 4 ++++ 10 files changed, 55 insertions(+) create mode 100644 changelog create mode 100644 compat create mode 100644 conffiles create mode 100644 control create mode 100644 copyright create mode 100644 cron.d create mode 100644 dirs create mode 100644 install create mode 100644 postinst create mode 100755 rules diff --git a/changelog b/changelog new file mode 100644 index 0000000..ddffc28 --- /dev/null +++ b/changelog @@ -0,0 +1,5 @@ +authentic2-supann (0.1-0) unstable; urgency=low + + * Initial packaging + + -- Benjamin Dauvergne Mon, 27 Nov 2014 14:40:00 +0200 diff --git a/compat b/compat new file mode 100644 index 0000000..c793025 --- /dev/null +++ b/compat @@ -0,0 +1 @@ +7 \ No newline at end of file diff --git a/conffiles b/conffiles new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/conffiles @@ -0,0 +1 @@ + diff --git a/control b/control new file mode 100644 index 0000000..3e1d5c0 --- /dev/null +++ b/control @@ -0,0 +1,11 @@ +Source: authentic2-supann +Section: admin +Priority: extra +Build-Depends: debhelper +Maintainer: Benjamin Dauvergne + +Package: authentic2-supann +Architecture: all +Depends: authentic2 +Pre-Depends: postgresql +Description: adaptations and basic configuration for using authentic2 on a SUPANN directory diff --git a/copyright b/copyright new file mode 100644 index 0000000..90d6b1d --- /dev/null +++ b/copyright @@ -0,0 +1,18 @@ +This package was initiated by Benjamin Dauvergne 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 and +is licensed under the GPL, see `/usr/share/common-licenses/GPL'.7 diff --git a/cron.d b/cron.d new file mode 100644 index 0000000..c56ba16 --- /dev/null +++ b/cron.d @@ -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 + diff --git a/dirs b/dirs new file mode 100644 index 0000000..34a5010 --- /dev/null +++ b/dirs @@ -0,0 +1 @@ +/usr/lib/authentic2-supann diff --git a/install b/install new file mode 100644 index 0000000..9860159 --- /dev/null +++ b/install @@ -0,0 +1,3 @@ +config.py /etc/authentic2 +update-renater-meta.sh /usr/lib/authentic2-supann +supann.conf /etc/authentic2 diff --git a/postinst b/postinst new file mode 100644 index 0000000..a7c50fe --- /dev/null +++ b/postinst @@ -0,0 +1,7 @@ +#!/bin/sh + +if [ ! -f /etc/default/authentic2 ]; then + echo '. /etc/authentic2/supann.conf' >/etc/default/authentic2 +elif ! grep -q supann.conf /etc/default/authentic2 2>/dev/null; then + echo '. /etc/authentic2/supann.conf' >>/etc/default/authentic2 +fi diff --git a/rules b/rules new file mode 100755 index 0000000..2d33f6a --- /dev/null +++ b/rules @@ -0,0 +1,4 @@ +#!/usr/bin/make -f + +%: + dh $@