debian/0000755000000000000000000000000012230005536007162 5ustar debian/ldap-git-backup.examples0000644000000000000000000000002612026116736013674 0ustar examples/migrate-ldif debian/compat0000644000000000000000000000000212207712557010374 0ustar 9 debian/watch0000644000000000000000000000025012071304115010206 0ustar version=3 https://github.com/elmar/ldap-git-backup/tags .*/([\d\.]*)\.(?:tgz|tar\.(?:gz|bz2|xz)|zip) # Bart Martens Thu, 15 Nov 2012 13:16:55 +0000 debian/changelog0000644000000000000000000000551012230000517011027 0ustar ldap-git-backup (1.0.6-2) unstable; urgency=low * Bump Standards-Version to 3.9.4 (no changes) * Remove override for dh_installchangelogs. Was only necessary for one day due to a bug in debhelper. See #711131. * Use dh_autoreconf, update build-dependencies accordingly. * Bump debhelper compatibility to 9 + Gets rid of the dh_pysupport deprecation warning. + Update versioned debhelper build-dependency accordingly * Update authors and years in debian/copyright * Also check for executable /usr/sbin/slapcat in default cron-job. * Use "if [ … ]; then …; fi" instead of "[ … ] && …" in cron-job. -- Axel Beckert Thu, 17 Oct 2013 17:25:03 +0200 ldap-git-backup (1.0.6-1) unstable; urgency=low * added option --no-gc to suppress git garbage collection -- Elmar S. Heeb Thu, 02 May 2013 14:06:34 +0200 ldap-git-backup (1.0.5-1) unstable; urgency=low * issue warning for world read/writable backup directory -- Elmar S. Heeb Wed, 30 Jan 2013 17:57:33 +0000 ldap-git-backup (1.0.4-1) unstable; urgency=low * create backup directory with default mode of 0700 fixes CVE-2013-1425 (local information disclosure) Thanks to Hans Spaans (Closes: #699227) -- Elmar S. Heeb Mon, 28 Jan 2013 19:05:13 +0000 ldap-git-backup (1.0.3-2) unstable; urgency=low * clean up of Depends and Build-Depends -- Elmar S. Heeb Thu, 03 Jan 2013 15:07:33 +0100 ldap-git-backup (1.0.3-1) unstable; urgency=low * fixed autoconf directory variables * better watch file. Thanks to Bart Martens. * mention co-maintainer in debian/control * mention people/thanks in README * use .mdown file ending for README -- Elmar S. Heeb Sun, 16 Dec 2012 15:11:46 +0100 ldap-git-backup (1.0.2-1) unstable; urgency=low * remove option to use Modern::Perl (Closes: #689290) * fixed watch file to include final slash -- Elmar S. Heeb Mon, 01 Oct 2012 15:03:12 +0200 ldap-git-backup (1.0.1-1) unstable; urgency=low * allow extra files to go into Git repo and be untouched by backups -- Elmar S. Heeb Tue, 18 Sep 2012 18:20:21 +0200 ldap-git-backup (1.0-3) unstable; urgency=low * dependency on git (build + package) * document installation from source -- Elmar S. Heeb Thu, 05 Jul 2012 11:00:52 +0200 ldap-git-backup (1.0-2) unstable; urgency=low * fix typo backup vs. backups in default settings * add reference to upstream ChangeLog * make check, make distcheck, and tests in debuild should all work properly -- Elmar S. Heeb Wed, 04 Jul 2012 12:16:33 +0200 ldap-git-backup (1.0-1) unstable; urgency=low * Initial release (Closes: #678980) -- Elmar S. Heeb Mon, 25 Jun 2012 14:08:13 +0200 debian/copyright0000644000000000000000000000217312207720437011130 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: ldap-git-backup Source: https://github.com/elmar/ldap-git-backup Files: * Copyright: 2012-2013 Elmar S. Heeb License: GPL-3+ Files: debian/* Copyright: 2012-2013 Elmar S. Heeb 2012-2013 Axel Beckert License: GPL-3+ License: GPL-3+ This package is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. . This package is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . You should have received a copy of the GNU General Public License along with this program. If not, see . On Debian systems, the complete text of the GNU General Public License version 3 can be found in "/usr/share/common-licenses/GPL-3". debian/ldap-git-backup.cron.d0000644000000000000000000000031412227774554013254 0ustar # # Regular cron jobs for the ldap-git-backup package # 0 4 * * * root if [ -x /usr/sbin/ldap-git-backup -a -x /usr/sbin/slapcat ]; then /usr/sbin/ldap-git-backup --commit-msg 'daily backup via cron'; fi debian/control0000644000000000000000000000211612207712557010601 0ustar Source: ldap-git-backup Section: admin Priority: optional Maintainer: Elmar S. Heeb Uploaders: Axel Beckert Build-Depends: debhelper (>= 9~), dh-autoreconf, git, libipc-run-perl, perl-doc Standards-Version: 3.9.4 Homepage: https://github.com/elmar/ldap-git-backup Vcs-Git: git://github.com/elmar/ldap-git-backup.git Vcs-Browser: https://github.com/elmar/ldap-git-backup Package: ldap-git-backup Architecture: all Depends: git, perl, perl-doc, ${misc:Depends} Suggests: slapd Enhances: slapd Description: Back up LDAP database in an Git repository ldap-git-backup (creates and) updates a Git repository which contains the current LDIF dump of an LDAP directory. Given that writes are rare in an LDAP directory and confined to a few entries for each write Git will store the entire history of an LDAP directory in a space efficient way. . By default the backups are done with slapcat from OpenLDAP but can be done with any command that dumps the current contents of an LDAP directory in LDIF format. debian/source/0000755000000000000000000000000012026116736010472 5ustar debian/source/format0000644000000000000000000000001412026116736011700 0ustar 3.0 (quilt) debian/rules0000755000000000000000000000071212227776147010265 0ustar #!/usr/bin/make -f # -*- makefile -*- # Sample debian/rules that uses debhelper. # This file was originally written by Joey Hess and Craig Small. # As a special exception, when this file is copied by dh-make into a # dh-make output file, you may use that output file without restriction. # This special exception was added by Craig Small in version 0.37 of dh-make. # Uncomment this to turn on verbose mode. export DH_VERBOSE=1 %: dh $@ --with autoreconf