svn commit: r404773 - in head/sysutils: . burp burp/files

Dmitry Marakasov amdmi3 at FreeBSD.org
Tue Dec 29 18:06:33 UTC 2015


Author: amdmi3
Date: Tue Dec 29 18:06:31 2015
New Revision: 404773
URL: https://svnweb.freebsd.org/changeset/ports/404773

Log:
  Burp is a backup and restore program.
  It uses librsync in order 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.
  
  WWW: http://burp.grke.org/
  
  PR:		204267
  Submitted by:	loic-freebsd at loicp.eu

Added:
  head/sysutils/burp/
  head/sysutils/burp/Makefile   (contents, props changed)
  head/sysutils/burp/distinfo   (contents, props changed)
  head/sysutils/burp/files/
  head/sysutils/burp/files/burp.in   (contents, props changed)
  head/sysutils/burp/pkg-descr   (contents, props changed)
  head/sysutils/burp/pkg-plist   (contents, props changed)
Modified:
  head/sysutils/Makefile

Modified: head/sysutils/Makefile
==============================================================================
--- head/sysutils/Makefile	Tue Dec 29 17:54:31 2015	(r404772)
+++ head/sysutils/Makefile	Tue Dec 29 18:06:31 2015	(r404773)
@@ -104,6 +104,7 @@
     SUBDIR += bsdstats
     SUBDIR += btsixad
     SUBDIR += bulk_extractor
+    SUBDIR += burp
     SUBDIR += busybox
     SUBDIR += byobu
     SUBDIR += cbsd

Added: head/sysutils/burp/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/burp/Makefile	Tue Dec 29 18:06:31 2015	(r404773)
@@ -0,0 +1,42 @@
+# Created by: Loic Pefferkorn <loic-freebsd at loicp.eu>
+# $FreeBSD$
+
+PORTNAME=	burp
+PORTVERSION=	1.4.40
+CATEGORIES=	sysutils
+
+MAINTAINER=	loic-freebsd at loicp.eu
+COMMENT=	Network backup and restore program
+
+LICENSE=	AGPLv3
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+BUILD_DEPENDS=	${LOCALBASE}/include/uthash.h:${PORTSDIR}/devel/uthash
+LIB_DEPENDS=	librsync.so:${PORTSDIR}/net/librsync1
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	grke
+
+USE_RC_SUBR=	burp
+GNU_CONFIGURE=	yes
+USES=		gmake localbase
+
+CONFIGURE_ARGS=	--sbindir="${PREFIX}/sbin" \
+		--sysconfdir=${ETCDIR} \
+
+CONFIG_FILES=	configs/server/burp.conf \
+		configs/client/burp.conf \
+		configs/certs/CA/CA.cnf
+
+post-patch:
+.for f in ${CONFIG_FILES}
+	@${REINPLACE_CMD} -e 's,/etc/burp,${PREFIX}/etc/burp,g' ${WRKSRC}/${f}
+	@${REINPLACE_CMD} -e 's,/usr/sbin,${PREFIX}/sbin,g' ${WRKSRC}/${f}
+.endfor
+
+post-install:
+	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/sbin/bedup
+	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/sbin/vss_strip
+	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/sbin/burp
+
+.include <bsd.port.mk>

Added: head/sysutils/burp/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/burp/distinfo	Tue Dec 29 18:06:31 2015	(r404773)
@@ -0,0 +1,2 @@
+SHA256 (grke-burp-1.4.40_GH0.tar.gz) = 2e6a9a28453a11f3e36d0beefa185e72e7781a8718b55d3101144c9900752d6f
+SIZE (grke-burp-1.4.40_GH0.tar.gz) = 858049

Added: head/sysutils/burp/files/burp.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/burp/files/burp.in	Tue Dec 29 18:06:31 2015	(r404773)
@@ -0,0 +1,32 @@
+#!/bin/sh
+
+# $FreeBSD$
+#
+# PROVIDE: burp
+# REQUIRE: LOGIN
+# KEYWORD: shutdown
+#
+# Add these lines to /etc/rc.conf.local or /etc/rc.conf
+# to enable this service:
+#
+# burp_enable (bool):	Set to NO by default.
+#			Set it to YES to enable burp.
+# burp_config (path):	Set to %%PREFIX%%/etc/burp/burp.cf
+#			by default.
+
+. /etc/rc.subr
+
+name=burp
+rcvar=burp_enable
+
+load_rc_config $name
+
+: ${burp_enable:="NO"}
+: ${burp_config="%%PREFIX%%/etc/burp/burp-server.conf"}
+
+command=%%PREFIX%%/sbin/${name}
+pidfile=/var/run/${name}.server.pid
+
+command_args="-c $burp_config"
+
+run_rc_command "$1"

Added: head/sysutils/burp/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/burp/pkg-descr	Tue Dec 29 18:06:31 2015	(r404773)
@@ -0,0 +1,6 @@
+Burp is a backup and restore program.
+It uses librsync in order 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.
+
+WWW: http://burp.grke.org/

Added: head/sysutils/burp/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/burp/pkg-plist	Tue Dec 29 18:06:31 2015	(r404773)
@@ -0,0 +1,24 @@
+%%ETCDIR%%/autoupgrade/server/win32/script
+%%ETCDIR%%/autoupgrade/server/win64/script
+%%ETCDIR%%/burp-server.conf
+%%ETCDIR%%/burp.conf
+%%ETCDIR%%/clientconfdir/incexc/example
+%%ETCDIR%%/clientconfdir/testclient
+%%ETCDIR%%/notify_script
+%%ETCDIR%%/ssl_extra_checks_script
+%%ETCDIR%%/summary_script
+%%ETCDIR%%/timer_script
+%%ETCDIR%%/CA.cnf
+man/man8/bedup.8.gz
+man/man8/burp.8.gz
+man/man8/burp_ca.8.gz
+man/man8/vss_strip.8.gz
+sbin/bedup
+sbin/burp
+sbin/burp_ca
+sbin/vss_strip
+ at dir %%ETCDIR%%/CA-client
+ at dir %%ETCDIR%%/autoupgrade/client
+ at dir %%ETCDIR%%/autoupgrade/server/win32/1.4.40
+ at dir %%ETCDIR%%/autoupgrade/server/win64/1.4.40
+ at dir /var/spool/burp


More information about the svn-ports-head mailing list