From owner-svn-ports-head@freebsd.org Tue Dec 29 18:06:33 2015 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6F9DBA542CF; Tue, 29 Dec 2015 18:06:33 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2F8EA1BED; Tue, 29 Dec 2015 18:06:33 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id tBTI6VvU023740; Tue, 29 Dec 2015 18:06:31 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id tBTI6VdD023734; Tue, 29 Dec 2015 18:06:31 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201512291806.tBTI6VdD023734@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Tue, 29 Dec 2015 18:06:31 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r404773 - in head/sysutils: . burp burp/files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Dec 2015 18:06:33 -0000 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@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 +# $FreeBSD$ + +PORTNAME= burp +PORTVERSION= 1.4.40 +CATEGORIES= sysutils + +MAINTAINER= loic-freebsd@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 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 +@dir %%ETCDIR%%/CA-client +@dir %%ETCDIR%%/autoupgrade/client +@dir %%ETCDIR%%/autoupgrade/server/win32/1.4.40 +@dir %%ETCDIR%%/autoupgrade/server/win64/1.4.40 +@dir /var/spool/burp