aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/burp/Makefile
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2015-12-30 02:06:31 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2015-12-30 02:06:31 +0800
commitbda0e08691e0e5a5e5886fbed131ee9c68194b56 (patch)
treef2fc86549d6c5ce4f303494f0896b1f6a566403f /sysutils/burp/Makefile
parenta14ffda048e6e9276942c43b27184ecd4dc36451 (diff)
downloadfreebsd-ports-gnome-bda0e08691e0e5a5e5886fbed131ee9c68194b56.tar.gz
freebsd-ports-gnome-bda0e08691e0e5a5e5886fbed131ee9c68194b56.tar.zst
freebsd-ports-gnome-bda0e08691e0e5a5e5886fbed131ee9c68194b56.zip
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
Diffstat (limited to 'sysutils/burp/Makefile')
-rw-r--r--sysutils/burp/Makefile42
1 files changed, 42 insertions, 0 deletions
diff --git a/sysutils/burp/Makefile b/sysutils/burp/Makefile
new file mode 100644
index 000000000000..b7ef70773868
--- /dev/null
+++ b/sysutils/burp/Makefile
@@ -0,0 +1,42 @@
+# Created by: Loic Pefferkorn <loic-freebsd@loicp.eu>
+# $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 <bsd.port.mk>