--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/.hgignore Thu Jan 02 17:20:43 2014 +0100
@@ -0,0 +1,5 @@
+syntax:glob
+debian/ldap-backup/*
+debian/files
+debian/ldap-backup.debhelper.log
+debian/ldap-backup.substvars
--- a/Makefile Thu Jan 02 17:07:20 2014 +0100
+++ b/Makefile Thu Jan 02 17:20:43 2014 +0100
@@ -1,5 +1,5 @@
-prefix =${DESTDIR}/usr/local
-sbin = ${prefix}/sbin
+prefix = /usr/local
+sbin = ${DESTDIR}${prefix}/sbin
all:
--- a/debian/changelog Thu Jan 02 17:07:20 2014 +0100
+++ b/debian/changelog Thu Jan 02 17:20:43 2014 +0100
@@ -1,4 +1,4 @@
-ldap-backup (0.1) unstable; urgency=low
+ldap-backup (0.1) stable; urgency=low
* Initial Release.
--- a/debian/control Thu Jan 02 17:07:20 2014 +0100
+++ b/debian/control Thu Jan 02 17:20:43 2014 +0100
@@ -4,12 +4,11 @@
Maintainer: Heiko Schlittermann <hs@schlittermann.de>
Build-Depends: debhelper (>= 8.0.0)
Standards-Version: 3.9.3
-Homepage: <insert the upstream URL, if relevant>
-#Vcs-Git: git://git.debian.org/collab-maint/ldap-backup.git
-#Vcs-Browser: http://git.debian.org/?p=collab-maint/ldap-backup.git;a=summary
+Homepage: https://ssl.schlittermann.de/hg/ldap-backup
Package: ldap-backup
Architecture: all
-Depends: ${misc:Depends}
-Description: <insert up to 60 chars description>
- <insert long description, indented with spaces>
+Depends: bash, ${misc:Depends}
+Description: backup the current ldap databases
+ This tiny script dumps the current ldap databases via slapcat. The
+ dump includes the cn=config information.
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/debian/ldap-backup.dirs Thu Jan 02 17:20:43 2014 +0100
@@ -0,0 +1,2 @@
+/usr/sbin
+/var/backups/ldap
--- a/debian/rules Thu Jan 02 17:07:20 2014 +0100
+++ b/debian/rules Thu Jan 02 17:20:43 2014 +0100
@@ -11,3 +11,6 @@
%:
dh $@
+
+override_dh_auto_install:
+ $(MAKE) DESTDIR=./debian/ldap-backup prefix=/usr install