Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (55c9414fd5e57edc6d10d19dc0360e4f858a08eb)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Vlad Glagolev <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (55c9414fd5e57edc6d10d19dc0360e4f858a08eb)
  • Date: Fri, 18 Jan 2013 11:43:43 -0600

GIT changes to master grimoire by Vlad Glagolev <stealth AT sourcemage.org>:

ChangeLog | 3 ++
archive/burp/BUILD | 8 ++++++
archive/burp/CONFIGURE | 7 ++++++
archive/burp/DEPENDS | 49
++++++++++++++++++++++++++++++++++++++++++
archive/burp/DETAILS | 37 +++++++++++++++++++++++++++++++
archive/burp/HISTORY | 3 ++
archive/burp/INSTALL | 12 ++++++++++
archive/burp/PREPARE | 2 +
archive/burp/PRE_BUILD | 12 ++++++++++
archive/burp/init.d/burp | 16 +++++++++++++
archive/burp/init.d/burp.conf | 3 ++
11 files changed, 152 insertions(+)

New commits:
commit 55c9414fd5e57edc6d10d19dc0360e4f858a08eb
Author: Vlad Glagolev <stealth AT sourcemage.org>
Commit: Vlad Glagolev <stealth AT sourcemage.org>

burp: new spell, network backup and restore program

diff --git a/ChangeLog b/ChangeLog
index 6a179b0..7cd228f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
+2013-01-18 Vlad Glagolev <stealth AT sourcemage.org>
+ * archive/burp: new spell, network backup and restore program
+
2013-01-16 Ladislav Hagara <hgr AT vabo.cz>
* video/v4l2ucp: new spell, universal control panel for V4L2 devices

diff --git a/archive/burp/BUILD b/archive/burp/BUILD
new file mode 100755
index 0000000..d23a16c
--- /dev/null
+++ b/archive/burp/BUILD
@@ -0,0 +1,8 @@
+create_account burp &&
+
+OPTS="--sysconfdir=$INSTALL_ROOT/etc/burp \
+ --sbindir=$INSTALL_ROOT/usr/sbin \
+ $BURP_OPTS \
+ $OPTS" &&
+
+default_build
diff --git a/archive/burp/CONFIGURE b/archive/burp/CONFIGURE
new file mode 100755
index 0000000..f8a02a5
--- /dev/null
+++ b/archive/burp/CONFIGURE
@@ -0,0 +1,7 @@
+config_query_option BURP_OPTS "Enable installing of include files?" n \
+ "--enable-includes" \
+ "--disable-includes" &&
+
+config_query_option BURP_OPTS "Enable IPv6 support?" y \
+ "--enable-ipv6" \
+ "--disable-ipv6"
diff --git a/archive/burp/DEPENDS b/archive/burp/DEPENDS
new file mode 100755
index 0000000..4fe2fe7
--- /dev/null
+++ b/archive/burp/DEPENDS
@@ -0,0 +1,49 @@
+depends -sub CXX gcc &&
+depends librsync &&
+depends zlib &&
+
+if [[ $BURP_BRANCH == scm ]]; then
+ depends git
+fi &&
+
+# TODO: missing uthash spell in grimoire
+# optional_depends uthash "" "" "to use system uthash library" &&
+
+if spell_ok ncurses; then
+ depends ncurses
+else
+ optional_depends ncurses "" "" "to support live monitor on the server"
+fi &&
+
+optional_depends openssl \
+ "--with-openssl" \
+ "--without-openssl" \
+ "for encrypted communication" &&
+
+optional_depends openafs \
+ "--enable-afs" \
+ "--disable-afs" \
+ "for AFS support" &&
+
+optional_depends acl \
+ "--enable-acl" \
+ "--disable-acl" \
+ "for acl support" &&
+
+optional_depends attr \
+ "--enable-xattr" \
+ "--disable-xattr" \
+ "for xattr support" &&
+
+optional_depends gettext \
+ "--enable-nls" \
+ "--disable-nls" \
+ "for Native Language Support" &&
+
+optional_depends tcp_wrappers \
+ "--with-tcp-wrappers" \
+ "--without-tcp-wrappers" \
+ "for tcpwrappers support" &&
+
+suggest_depends SYSTEM-LOGGER "" "" "to use syslog for logging" &&
+suggest_depends SENDMAIL "" "" "to send notifications via e-mail"
diff --git a/archive/burp/DETAILS b/archive/burp/DETAILS
new file mode 100755
index 0000000..9b3aeb3
--- /dev/null
+++ b/archive/burp/DETAILS
@@ -0,0 +1,37 @@
+ SPELL=burp
+if [[ $BURP_BRANCH == scm ]]; then
+ if [[ $BURP_AUTOUPDATE == y ]]; then
+ VERSION=$(date +%Y%m%d)
+ else
+ VERSION=scm
+ fi
+ FORCE_DOWNLOAD=on
+ SOURCE=$SPELL-$VERSION.tar.bz2
+ SOURCE_URL[0]=git://github.com/grke/burp.git:$SPELL
+ SOURCE_IGNORE=volatile
+SOURCE_DIRECTORY="$BUILD_DIRECTORY/$SPELL-$VERSION"
+elif [[ $BURP_BRANCH == devel ]]; then
+ VERSION=1.3.22
+ SOURCE=$SPELL-$VERSION.tar.bz2
+ SOURCE_URL[0]=$SOURCEFORGE_URL/$SPELL/$SOURCE
+
SOURCE_HASH=sha512:e0cac535abd6a8aad84ad5633961b11793c0d6bd98d74ddb57f3f47721b1fa57825818d5257b066d6099b93a45333bbe03a800cb96e402e2b770ea9e502f0c7e
+SOURCE_DIRECTORY="$BUILD_DIRECTORY/$SPELL"
+else
+ VERSION=1.3.10
+ SOURCE=$SPELL-$VERSION.tar.bz2
+ SOURCE_URL[0]=$SOURCEFORGE_URL/$SPELL/$SOURCE
+
SOURCE_HASH=sha512:ed540ed4091c7c1b0aeaf62b276e7fe07f4ae1ca92c67a3eb081c431b687b7aba6d6648a0f3d7ec122ae02d39fd5ed03ed263a68285fd3423615079844e8217f
+SOURCE_DIRECTORY="$BUILD_DIRECTORY/$SPELL"
+fi
+ WEB_SITE=http://burp.grke.net/
+ ENTERED=20130118
+ LICENSE[0]=AGPL
+ KEYWORDS="archive"
+ SHORT="network backup and restore program"
+cat << EOF
+Burp is a network backup and restore program. It uses librsync in order to
save
+network traffic and to save on the amount of space that is used by each
backup.
+
+It also uses VSS (Volume Shadow Copy Service) to make snapshots when backing
up
+Windows computers.
+EOF
diff --git a/archive/burp/HISTORY b/archive/burp/HISTORY
new file mode 100644
index 0000000..10f50f2
--- /dev/null
+++ b/archive/burp/HISTORY
@@ -0,0 +1,3 @@
+2013-01-18 Vlad Glagolev <stealth AT sourcemage.org>
+ * DETAILS, DEPENDS, CONFIGURE, PREPARE, {PRE_,}BUILD, INSTALL,
+ init.d/burp{,.conf}: spell created
diff --git a/archive/burp/INSTALL b/archive/burp/INSTALL
new file mode 100755
index 0000000..2b1efd8
--- /dev/null
+++ b/archive/burp/INSTALL
@@ -0,0 +1,12 @@
+default_install &&
+
+if [[ $INIT_INSTALLED ]]; then
+ install_config_file "$SPELL_DIRECTORY/init.d/burp.conf" \
+ "$INSTALL_ROOT/etc/sysconfig/burp" &&
+
+ install -d -o burp -g burp -vm 755 "$INSTALL_ROOT/var/run/burp" &&
+
+ # change owner to root config dir (not recursively!)
+ # so startup script can generate SSL certificates
+ chown burp:burp "$INSTALL_ROOT/etc/burp"
+fi
diff --git a/archive/burp/PREPARE b/archive/burp/PREPARE
new file mode 100755
index 0000000..40600f7
--- /dev/null
+++ b/archive/burp/PREPARE
@@ -0,0 +1,2 @@
+. ${GRIMOIRE}/FUNCTIONS &&
+prepare_select_branch stable devel scm
diff --git a/archive/burp/PRE_BUILD b/archive/burp/PRE_BUILD
new file mode 100755
index 0000000..20e4394
--- /dev/null
+++ b/archive/burp/PRE_BUILD
@@ -0,0 +1,12 @@
+default_pre_build &&
+cd "$SOURCE_DIRECTORY" &&
+
+if [[ $INIT_INSTALLED ]]; then
+ sedit "s:^# user=.*:user=burp:" configs/server/burp.conf &&
+ sedit "s:^# group=.*:group=burp:" configs/server/burp.conf &&
+ sedit "s:/var/run/burp.server:/var/run/burp/server:"
configs/server/burp.conf
+fi &&
+
+if is_depends_enabled $SPELL $(get_spell_provider $SPELL SYSTEM-LOGGER); then
+ sedit "s:syslog = 0:syslog = 1:" configs/server/burp.conf
+fi
diff --git a/archive/burp/init.d/burp b/archive/burp/init.d/burp
new file mode 100755
index 0000000..bd9bdc2
--- /dev/null
+++ b/archive/burp/init.d/burp
@@ -0,0 +1,16 @@
+#!/bin/bash
+
+. /etc/sysconfig/burp
+
+PROGRAM=/usr/sbin/burp
+PIDFILE=/var/run/burp.server.pid
+ARGS="-c /etc/burp/burp-server.conf $BURP_ARGS"
+RUNLEVEL=3
+NEEDS="+network"
+
+. /etc/init.d/smgl_init
+
+stop() {
+ _stop
+ rm -f "$PIDFILE"
+}
diff --git a/archive/burp/init.d/burp.conf b/archive/burp/init.d/burp.conf
new file mode 100644
index 0000000..69725ef
--- /dev/null
+++ b/archive/burp/init.d/burp.conf
@@ -0,0 +1,3 @@
+# For the arguments and description see burp(8)
+
+BURP_ARGS=""



  • [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (55c9414fd5e57edc6d10d19dc0360e4f858a08eb), Vlad Glagolev, 01/18/2013

Archive powered by MHonArc 2.6.24.

Top of Page