Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by David Kowis (adc7c0cf13887cc01399eef91e9e9f664aaca909)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: David Kowis <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by David Kowis (adc7c0cf13887cc01399eef91e9e9f664aaca909)
  • Date: Fri, 19 Sep 2008 16:52:59 -0500

GIT changes to master grimoire by David Kowis <dkowis AT shlrm.org>:

ChangeLog | 5 +++++
accounts | 1 +
archive/backuppc/BUILD | 1 +
archive/backuppc/CONFIGURE | 8 ++++++++
archive/backuppc/DEPENDS | 7 +++++++
archive/backuppc/DETAILS | 16 ++++++++++++++++
archive/backuppc/HISTORY | 2 ++
archive/backuppc/INSTALL | 21 +++++++++++++++++++++
archive/backuppc/bacula.gpg |binary
groups | 1 +
10 files changed, 62 insertions(+)

New commits:
commit adc7c0cf13887cc01399eef91e9e9f664aaca909
Author: David Kowis <dkowis AT shlrm.org>
Commit: David Kowis <dkowis AT shlrm.org>

backuppc: New spell, backup software

diff --git a/ChangeLog b/ChangeLog
index e34e0c4..7e16599 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-09-19 David Kowis <dkowis AT shlrm.org>
+ * archive/backuppc: New spell, supposed to be better than bacula ;)
+ * accounts: Added backuppc user
+ * groups: Added backuppc group
+
2008-09-19 Eric Sandall <sandalle AT sourcemage.org>
* e-17/entice: Removed long deprecated spell

diff --git a/accounts b/accounts
index af9eb55..e3a8e20 100755
--- a/accounts
+++ b/accounts
@@ -72,4 +72,5 @@ davfs2:158:158
dovecot:159:159
nsd:160:164
polkituser:161:165
+backuppc:161:166
nobody:65534:65534
diff --git a/archive/backuppc/BUILD b/archive/backuppc/BUILD
new file mode 100755
index 0000000..27ba77d
--- /dev/null
+++ b/archive/backuppc/BUILD
@@ -0,0 +1 @@
+true
diff --git a/archive/backuppc/CONFIGURE b/archive/backuppc/CONFIGURE
new file mode 100755
index 0000000..a46a3da
--- /dev/null
+++ b/archive/backuppc/CONFIGURE
@@ -0,0 +1,8 @@
+if [[ "${BACKUPPC_DATA_DIR}" == "" ]]; then
+ config_query BACKUPPC_DD_OK "Default data dir is okay?
(/var/backups)" y &&
+ if [[ "${BACKUPPC_DD_OK}" == "n" ]]; then
+ unset BACKUPPC_DATA_DIR
+ config_query_string BACKUPPC_DATA_DIR "Where should it be?"
"/var/backups"
+ fi
+fi &&
+config_query BACKUPPC_INIT "Install backuppc init script (this will also
activate it)" n
diff --git a/archive/backuppc/DEPENDS b/archive/backuppc/DEPENDS
new file mode 100755
index 0000000..4906c16
--- /dev/null
+++ b/archive/backuppc/DEPENDS
@@ -0,0 +1,7 @@
+depends perl &&
+depends compress-zlib &&
+depends archive-zip &&
+depends APACHE &&
+optional_depends file-rsyncp "" "" "To use rsync as a backup method" &&
+optional_depends samba "" "" "For backing up windows PCs" &&
+optional_depends tar "" "" "To backup *nix machines using tar"
diff --git a/archive/backuppc/DETAILS b/archive/backuppc/DETAILS
new file mode 100755
index 0000000..55e9a9f
--- /dev/null
+++ b/archive/backuppc/DETAILS
@@ -0,0 +1,16 @@
+ SPELL=backuppc
+ VERSION=3.1.0
+ SOURCE=BackupPC-$VERSION.tar.gz
+SOURCE_HASH=sha512:105ca61ff99d00c1faaaa9adeb09d340341271c49e7bd0689b42a85de69016182ba145ad5bcc481fe45fa796a2bf95fe12d88c033266a96cbc6275b73082d081
+ SOURCE_URL[0]=$SOURCEFORGE_URL/$SPELL/$SOURCE
+SOURCE_DIRECTORY=$BUILD_DIRECTORY/BackupPC-$VERSION
+ WEB_SITE=http://backuppc.sourceforge.net/
+ ENTERED=20080918
+ LICENSE[0]=GPL
+ KEYWORDS="archive"
+ SHORT='Network backup system'
+cat << EOF
+BackupPC is a high-performance, enterprise-grade system for backing up Unix,
+Linux, WinXX, and MacOSX PCs, desktops and laptops to a server's disk.
BackupPC
+is highly configurable and easy to install and maintain.
+EOF
diff --git a/archive/backuppc/HISTORY b/archive/backuppc/HISTORY
new file mode 100644
index 0000000..fb9df44
--- /dev/null
+++ b/archive/backuppc/HISTORY
@@ -0,0 +1,2 @@
+2008-09-19 David Kowis <dkowis AT shlrm.org>
+ * DETAILS, INSTALL, BUILD, DEPENDS, CONFIGURE: created spell
diff --git a/archive/backuppc/INSTALL b/archive/backuppc/INSTALL
new file mode 100755
index 0000000..1a4f6ca
--- /dev/null
+++ b/archive/backuppc/INSTALL
@@ -0,0 +1,21 @@
+create_group backuppc
+create_account backuppc "${BACKUPPC_DATA_DIR}" "/dev/null"
+cd $SOURCE_DIRECTORY &&
+if [[ "${BACKUPPC_DATA_DIR}" == "" || ![ -f
${BACKUPPC_DATA_DIR}/conf/config.pl ] ]]; then
+ # New batch install!
+ perl ./configure.pl --batch \
+ --cgi-dir ${INSTALL_ROOT}/usr/share/backuppc/cgi-bin \
+ --html-dir ${INSTALL_ROOT}/usr/share/backuppc/htdocs \
+ --data-dir ${INSTALL_ROOT}/var/backups \
+ --hostname `hostname` \
+ --html-dir-url /BackupPC \
+ --install-dir ${INSTALL_ROOT}/usr/backuppc
+else
+ # existing install, do upgrade
+ perl ./configure.pl --batch \
+ --config-path ${BACKUPPC_DATA_DIR}/conf/config.pl
+fi &&
+
+if [[ "${BACKUPPC_INIT}" == "y" ]]; then
+ cp init.d/src/linux-backuppc
${INSTALL_ROOT}/etc/init.d/runlevels/%3/backuppc
+fi
diff --git a/archive/backuppc/bacula.gpg b/archive/backuppc/bacula.gpg
new file mode 100644
index 0000000..bb0d177
Binary files /dev/null and b/archive/backuppc/bacula.gpg differ
diff --git a/groups b/groups
index cf05144..51db485 100755
--- a/groups
+++ b/groups
@@ -86,5 +86,6 @@ avahi:162:
vlock:163:
nsd:164:
polkituser:165:
+backuppc:166:
users:1000:
nogroup:65534:



  • [SM-Commit] GIT changes to master grimoire by David Kowis (adc7c0cf13887cc01399eef91e9e9f664aaca909), David Kowis, 09/19/2008

Archive powered by MHonArc 2.6.24.

Top of Page