summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--changelog5
-rw-r--r--compat1
-rw-r--r--conffiles1
-rw-r--r--control11
-rw-r--r--copyright18
-rw-r--r--cron.d4
-rw-r--r--dirs1
-rw-r--r--install3
-rw-r--r--postinst7
-rwxr-xr-xrules4
10 files changed, 55 insertions, 0 deletions
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 <bdauvergne@entrouvert.com> 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 <bdauvergne@entrouvert.com>
+
+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 <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
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 $@