From 27a7859c42394a78c16b24f0d08ca28667bb1efa Mon Sep 17 00:00:00 2001 From: Micah Anderson Date: Thu, 19 Feb 2009 12:20:44 -0500 Subject: creating a debian only branch out of what used to be a subversion repository --- etc/Makefile.am | 38 ------------------ etc/backupninja.conf.in | 88 ------------------------------------------ etc/cron.d/backupninja.in | 6 --- etc/logrotate.d/backupninja.in | 6 --- 4 files changed, 138 deletions(-) delete mode 100644 etc/Makefile.am delete mode 100644 etc/backupninja.conf.in delete mode 100644 etc/cron.d/backupninja.in delete mode 100644 etc/logrotate.d/backupninja.in (limited to 'etc') diff --git a/etc/Makefile.am b/etc/Makefile.am deleted file mode 100644 index b713892..0000000 --- a/etc/Makefile.am +++ /dev/null @@ -1,38 +0,0 @@ - -EXTRA_DIST = backupninja.conf.in cron.d/backupninja.in \ - logrotate.d/backupninja.in - -GENERATED_FILES = backupninja.conf cron.d/backupninja logrotate.d/backupninja - -CLEANFILES = $(GENERATED_FILES) - -nobase_sysconf_DATA = $(GENERATED_FILES) - -edit = sed \ - -e "s,@BASH\@,$(BASH),g" \ - -e "s,@CFGDIR\@,$(CFGDIR),g" \ - -e "s,@sysconfdir\@,$(sysconfdir),g" \ - -e "s,@localstatedir\@,$(localstatedir),g" \ - -e "s,@pkgdatadir\@,$(pkgdatadir),g" \ - -e "s,@pkglibdir\@,$(pkglibdir),g" \ - -e "s,@sbindir\@,$(sbindir),g" \ - -e "s,@exec_prefix\@,$(exec_prefix),g" \ - -e "s,@prefix\@,$(prefix),g" - -cron.d/backupninja: cron.d/backupninja.in - rm -f cron.d/backupninja - $(edit) cron.d/backupninja.in > cron.d/backupninja - chmod 644 cron.d/backupninja - -logrotate.d/backupninja: logrotate.d/backupninja.in - rm -f logrotate.d/backupninja - $(edit) logrotate.d/backupninja.in > logrotate.d/backupninja - chmod ugo+x logrotate.d/backupninja - -backupninja.conf: backupninja.conf.in - rm -f backupninja.conf - $(edit) backupninja.conf.in > backupninja.conf - -install-data-hook: - mkdir -p $(DESTDIR)/$(sysconfdir)/backup.d - chmod 0770 $(DESTDIR)/$(sysconfdir)/backup.d diff --git a/etc/backupninja.conf.in b/etc/backupninja.conf.in deleted file mode 100644 index f7668a5..0000000 --- a/etc/backupninja.conf.in +++ /dev/null @@ -1,88 +0,0 @@ -# -# |\_ -# B A C K U P N I N J A /()/ -# `\| -# main configuration file -# - -# how verbose to make the logs -# 5 -- Debugging messages (and below) -# 4 -- Informational messages (and below) -# 3 -- Warnings (and below) -# 2 -- Errors (and below) -# 1 -- Fatal errors (only) -loglevel = 4 - -# send a summary of the backup status to -# this email address: -reportemail = root - -# if set to 'yes', a report email will be generated -# even if all modules reported success. (default = yes) -reportsuccess = yes - -# if set to 'yes', a report email will be generated -# even if there was no error. (default = yes) -reportwarning = yes - -# if set to 'yes', disk space usage will be included in -# the backup email report -reportspace = no - -# where to rsync the backupninja.log to be aggregated in -# a ninjareport -reporthost = - -# what user to connect to reporthost to sync the -# backupninja.log -reportuser = ninja - -# where on the reporthost should the report go -# NOTE: the name of the log will be used in the report, -# use a globally unique name, preferably the hostname -reportdirectory = /var/lib/backupninja/reports - -# set to the administration group that is allowed to -# read/write configuration files in /etc/backup.d -admingroup = root - -####################################################### -# for most installations, the defaults below are good # -####################################################### - -# where to log: -logfile = @localstatedir@/log/backupninja.log - -# directory where all the backup configuration files live -configdirectory = @CFGDIR@/backup.d - -# where backupninja helper scripts are found -scriptdirectory = @pkgdatadir@ - -# where backupninja libs are found -libdirectory = @pkglibdir@ - -# whether to use colors in the log file -usecolors = yes - -# default value for 'when' -when = everyday at 01:00 - -# if running vservers, set to yes -vservers = no - -# programs paths -# SLAPCAT=/usr/sbin/slapcat -# LDAPSEARCH=/usr/bin/ldapsearch -# RDIFFBACKUP=/usr/bin/rdiff-backup -# CSTREAM=/usr/bin/cstream -# MYSQL=/usr/bin/mysql -# MYSQLHOTCOPY=/usr/bin/mysqlhotcopy -# MYSQLDUMP=/usr/bin/mysqldump -# PGSQLDUMP=/usr/bin/pg_dump -# PGSQLDUMPALL=/usr/bin/pg_dumpall -# GZIP=/bin/gzip -# RSYNC=/usr/bin/rsync -# VSERVERINFO=/usr/sbin/vserver-info -# VSERVER=/usr/sbin/vserver -# VROOTDIR=/var/lib/vservers diff --git a/etc/cron.d/backupninja.in b/etc/cron.d/backupninja.in deleted file mode 100644 index 5ee1b81..0000000 --- a/etc/cron.d/backupninja.in +++ /dev/null @@ -1,6 +0,0 @@ -# /etc/cron.d/backupninja -- cron tab entry for package backupninja - -PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin - -# run backupninja every hour on the hour -0 * * * * root if [ -x @sbindir@/backupninja ]; then @sbindir@/backupninja; fi diff --git a/etc/logrotate.d/backupninja.in b/etc/logrotate.d/backupninja.in deleted file mode 100644 index dfb55b1..0000000 --- a/etc/logrotate.d/backupninja.in +++ /dev/null @@ -1,6 +0,0 @@ -@localstatedir@/log/backupninja.log { - rotate 6 - monthly - compress - missingok -} -- cgit v1.2.3