aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authormartymac <martymac@FreeBSD.org>2013-09-04 14:39:10 +0800
committermartymac <martymac@FreeBSD.org>2013-09-04 14:39:10 +0800
commite87548f27e1158e7cddc539379e2d1e23b97574d (patch)
treecc55b23baa6f0ecd033bc77055c1b7c20bcb85be /sysutils
parentbf65bd92031aee7aec37a8cb66b162337699998a (diff)
downloadfreebsd-ports-gnome-e87548f27e1158e7cddc539379e2d1e23b97574d.tar.gz
freebsd-ports-gnome-e87548f27e1158e7cddc539379e2d1e23b97574d.tar.zst
freebsd-ports-gnome-e87548f27e1158e7cddc539379e2d1e23b97574d.zip
Add brebis, a fully automated backup checker
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/Makefile1
-rw-r--r--sysutils/brebis/Makefile37
-rw-r--r--sysutils/brebis/distinfo2
-rw-r--r--sysutils/brebis/pkg-descr4
-rw-r--r--sysutils/brebis/pkg-plist90
5 files changed, 134 insertions, 0 deletions
diff --git a/sysutils/Makefile b/sysutils/Makefile
index 81920e6cae8e..dfed9bb9b304 100644
--- a/sysutils/Makefile
+++ b/sysutils/Makefile
@@ -77,6 +77,7 @@
SUBDIR += boxbackup
SUBDIR += boxbackup-devel
SUBDIR += brasero
+ SUBDIR += brebis
SUBDIR += bsd-splash-changer
SUBDIR += bsdadminscripts
SUBDIR += bsdconfig
diff --git a/sysutils/brebis/Makefile b/sysutils/brebis/Makefile
new file mode 100644
index 000000000000..c32ca6dc4a62
--- /dev/null
+++ b/sysutils/brebis/Makefile
@@ -0,0 +1,37 @@
+# Created by: Ganael Laplanche <ganael.laplanche@martymac.org>
+# $FreeBSD$
+
+PORTNAME= brebis
+PORTVERSION= 0.6
+CATEGORIES= sysutils archivers
+MASTER_SITES= http://brebisproject.org/attachments/download/7/ \
+ LOCAL/martymac
+
+MAINTAINER= martymac@FreeBSD.org
+COMMENT= Fully automated backup checker
+
+LICENSE= GPLv3
+
+USE_PYTHON= 3.3+
+USE_PYDISTUTILS= yes
+
+PLIST_SUB+= PYTHON_SUFFIX=${PYTHON_SUFFIX}
+
+MAN1= brebis.1
+MANCOMPRESSED= no
+PORTDOCS= README
+
+.include <bsd.port.pre.mk>
+
+post-patch:
+ @${REINPLACE_CMD} "s|'share','man'|'${MANPREFIX}/man'|" ${WRKSRC}/setup.py
+
+post-install:
+.if ${PORT_OPTIONS:MDOCS}
+ ${MKDIR} ${DOCSDIR}
+.for doc in ${PORTDOCS}
+ ${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}
+.endfor
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/sysutils/brebis/distinfo b/sysutils/brebis/distinfo
new file mode 100644
index 000000000000..a26e69554cf1
--- /dev/null
+++ b/sysutils/brebis/distinfo
@@ -0,0 +1,2 @@
+SHA256 (brebis-0.6.tar.gz) = 3437b88f6b8a582e1db77b2aea0c7f68dc24d8f57d43af2b22107cf92281c70f
+SIZE (brebis-0.6.tar.gz) = 178541
diff --git a/sysutils/brebis/pkg-descr b/sysutils/brebis/pkg-descr
new file mode 100644
index 000000000000..a226ec68fbbe
--- /dev/null
+++ b/sysutils/brebis/pkg-descr
@@ -0,0 +1,4 @@
+Brebis is a fully automated backup checker that compares archives and file
+trees' contents against description files to detect errors.
+
+WWW: http://www.brebisproject.org
diff --git a/sysutils/brebis/pkg-plist b/sysutils/brebis/pkg-plist
new file mode 100644
index 000000000000..17294c9b4937
--- /dev/null
+++ b/sysutils/brebis/pkg-plist
@@ -0,0 +1,90 @@
+bin/brebis
+%%PYTHON_SITELIBDIR%%/brebis/__init__.py
+%%PYTHON_SITELIBDIR%%/brebis/applogger.py
+%%PYTHON_SITELIBDIR%%/brebis/archiveinfomsg.py
+%%PYTHON_SITELIBDIR%%/brebis/checkhashes.py
+%%PYTHON_SITELIBDIR%%/brebis/cliparse.py
+%%PYTHON_SITELIBDIR%%/brebis/configurations.py
+%%PYTHON_SITELIBDIR%%/brebis/expectedvalues.py
+%%PYTHON_SITELIBDIR%%/brebis/identifylimitations.py
+%%PYTHON_SITELIBDIR%%/brebis/listtype.py
+%%PYTHON_SITELIBDIR%%/brebis/main.py
+%%PYTHON_SITELIBDIR%%/brebis/checkbackups/__init__.py
+%%PYTHON_SITELIBDIR%%/brebis/checkbackups/checkarchive.py
+%%PYTHON_SITELIBDIR%%/brebis/checkbackups/checkbackups.py
+%%PYTHON_SITELIBDIR%%/brebis/checkbackups/checkbzip2.py
+%%PYTHON_SITELIBDIR%%/brebis/checkbackups/checkgzip.py
+%%PYTHON_SITELIBDIR%%/brebis/checkbackups/checktar.py
+%%PYTHON_SITELIBDIR%%/brebis/checkbackups/checktree.py
+%%PYTHON_SITELIBDIR%%/brebis/checkbackups/checkzip.py
+%%PYTHON_SITELIBDIR%%/brebis/checkbackups/checklzma.py
+%%PYTHON_SITELIBDIR%%/brebis/checkbackups/__pycache__/__init__.cpython-%%PYTHON_SUFFIX%%.pyc
+%%PYTHON_SITELIBDIR%%/brebis/checkbackups/__pycache__/checkarchive.cpython-%%PYTHON_SUFFIX%%.pyc
+%%PYTHON_SITELIBDIR%%/brebis/checkbackups/__pycache__/checkbackups.cpython-%%PYTHON_SUFFIX%%.pyc
+%%PYTHON_SITELIBDIR%%/brebis/checkbackups/__pycache__/checkbzip2.cpython-%%PYTHON_SUFFIX%%.pyc
+%%PYTHON_SITELIBDIR%%/brebis/checkbackups/__pycache__/checkgzip.cpython-%%PYTHON_SUFFIX%%.pyc
+%%PYTHON_SITELIBDIR%%/brebis/checkbackups/__pycache__/checktar.cpython-%%PYTHON_SUFFIX%%.pyc
+%%PYTHON_SITELIBDIR%%/brebis/checkbackups/__pycache__/checktree.cpython-%%PYTHON_SUFFIX%%.pyc
+%%PYTHON_SITELIBDIR%%/brebis/checkbackups/__pycache__/checkzip.cpython-%%PYTHON_SUFFIX%%.pyc
+%%PYTHON_SITELIBDIR%%/brebis/checkbackups/__pycache__/checklzma.cpython-%%PYTHON_SUFFIX%%.pyc
+%%PYTHON_SITELIBDIR%%/brebis/checkbackups/__pycache__/__init__.cpython-%%PYTHON_SUFFIX%%.pyo
+%%PYTHON_SITELIBDIR%%/brebis/checkbackups/__pycache__/checkarchive.cpython-%%PYTHON_SUFFIX%%.pyo
+%%PYTHON_SITELIBDIR%%/brebis/checkbackups/__pycache__/checkbackups.cpython-%%PYTHON_SUFFIX%%.pyo
+%%PYTHON_SITELIBDIR%%/brebis/checkbackups/__pycache__/checkbzip2.cpython-%%PYTHON_SUFFIX%%.pyo
+%%PYTHON_SITELIBDIR%%/brebis/checkbackups/__pycache__/checkgzip.cpython-%%PYTHON_SUFFIX%%.pyo
+%%PYTHON_SITELIBDIR%%/brebis/checkbackups/__pycache__/checktar.cpython-%%PYTHON_SUFFIX%%.pyo
+%%PYTHON_SITELIBDIR%%/brebis/checkbackups/__pycache__/checktree.cpython-%%PYTHON_SUFFIX%%.pyo
+%%PYTHON_SITELIBDIR%%/brebis/checkbackups/__pycache__/checkzip.cpython-%%PYTHON_SUFFIX%%.pyo
+%%PYTHON_SITELIBDIR%%/brebis/checkbackups/__pycache__/checklzma.cpython-%%PYTHON_SUFFIX%%.pyo
+%%PYTHON_SITELIBDIR%%/brebis/generatelist/__init__.py
+%%PYTHON_SITELIBDIR%%/brebis/generatelist/generatelist.py
+%%PYTHON_SITELIBDIR%%/brebis/generatelist/generatelistforbzip2.py
+%%PYTHON_SITELIBDIR%%/brebis/generatelist/generatelistforgzip.py
+%%PYTHON_SITELIBDIR%%/brebis/generatelist/generatelistfortar.py
+%%PYTHON_SITELIBDIR%%/brebis/generatelist/generatelistfortree.py
+%%PYTHON_SITELIBDIR%%/brebis/generatelist/generatelistforzip.py
+%%PYTHON_SITELIBDIR%%/brebis/generatelist/generatelistforlzma.py
+%%PYTHON_SITELIBDIR%%/brebis/generatelist/__pycache__/__init__.cpython-%%PYTHON_SUFFIX%%.pyc
+%%PYTHON_SITELIBDIR%%/brebis/generatelist/__pycache__/generatelist.cpython-%%PYTHON_SUFFIX%%.pyc
+%%PYTHON_SITELIBDIR%%/brebis/generatelist/__pycache__/generatelistforbzip2.cpython-%%PYTHON_SUFFIX%%.pyc
+%%PYTHON_SITELIBDIR%%/brebis/generatelist/__pycache__/generatelistforgzip.cpython-%%PYTHON_SUFFIX%%.pyc
+%%PYTHON_SITELIBDIR%%/brebis/generatelist/__pycache__/generatelistfortar.cpython-%%PYTHON_SUFFIX%%.pyc
+%%PYTHON_SITELIBDIR%%/brebis/generatelist/__pycache__/generatelistfortree.cpython-%%PYTHON_SUFFIX%%.pyc
+%%PYTHON_SITELIBDIR%%/brebis/generatelist/__pycache__/generatelistforzip.cpython-%%PYTHON_SUFFIX%%.pyc
+%%PYTHON_SITELIBDIR%%/brebis/generatelist/__pycache__/generatelistforlzma.cpython-%%PYTHON_SUFFIX%%.pyc
+%%PYTHON_SITELIBDIR%%/brebis/generatelist/__pycache__/__init__.cpython-%%PYTHON_SUFFIX%%.pyo
+%%PYTHON_SITELIBDIR%%/brebis/generatelist/__pycache__/generatelist.cpython-%%PYTHON_SUFFIX%%.pyo
+%%PYTHON_SITELIBDIR%%/brebis/generatelist/__pycache__/generatelistforbzip2.cpython-%%PYTHON_SUFFIX%%.pyo
+%%PYTHON_SITELIBDIR%%/brebis/generatelist/__pycache__/generatelistforgzip.cpython-%%PYTHON_SUFFIX%%.pyo
+%%PYTHON_SITELIBDIR%%/brebis/generatelist/__pycache__/generatelistfortar.cpython-%%PYTHON_SUFFIX%%.pyo
+%%PYTHON_SITELIBDIR%%/brebis/generatelist/__pycache__/generatelistfortree.cpython-%%PYTHON_SUFFIX%%.pyo
+%%PYTHON_SITELIBDIR%%/brebis/generatelist/__pycache__/generatelistforzip.cpython-%%PYTHON_SUFFIX%%.pyo
+%%PYTHON_SITELIBDIR%%/brebis/generatelist/__pycache__/generatelistforlzma.cpython-%%PYTHON_SUFFIX%%.pyo
+%%PYTHON_SITELIBDIR%%/brebis/__pycache__/__init__.cpython-%%PYTHON_SUFFIX%%.pyc
+%%PYTHON_SITELIBDIR%%/brebis/__pycache__/applogger.cpython-%%PYTHON_SUFFIX%%.pyc
+%%PYTHON_SITELIBDIR%%/brebis/__pycache__/archiveinfomsg.cpython-%%PYTHON_SUFFIX%%.pyc
+%%PYTHON_SITELIBDIR%%/brebis/__pycache__/checkhashes.cpython-%%PYTHON_SUFFIX%%.pyc
+%%PYTHON_SITELIBDIR%%/brebis/__pycache__/cliparse.cpython-%%PYTHON_SUFFIX%%.pyc
+%%PYTHON_SITELIBDIR%%/brebis/__pycache__/configurations.cpython-%%PYTHON_SUFFIX%%.pyc
+%%PYTHON_SITELIBDIR%%/brebis/__pycache__/expectedvalues.cpython-%%PYTHON_SUFFIX%%.pyc
+%%PYTHON_SITELIBDIR%%/brebis/__pycache__/identifylimitations.cpython-%%PYTHON_SUFFIX%%.pyc
+%%PYTHON_SITELIBDIR%%/brebis/__pycache__/listtype.cpython-%%PYTHON_SUFFIX%%.pyc
+%%PYTHON_SITELIBDIR%%/brebis/__pycache__/main.cpython-%%PYTHON_SUFFIX%%.pyc
+%%PYTHON_SITELIBDIR%%/brebis/__pycache__/__init__.cpython-%%PYTHON_SUFFIX%%.pyo
+%%PYTHON_SITELIBDIR%%/brebis/__pycache__/applogger.cpython-%%PYTHON_SUFFIX%%.pyo
+%%PYTHON_SITELIBDIR%%/brebis/__pycache__/archiveinfomsg.cpython-%%PYTHON_SUFFIX%%.pyo
+%%PYTHON_SITELIBDIR%%/brebis/__pycache__/checkhashes.cpython-%%PYTHON_SUFFIX%%.pyo
+%%PYTHON_SITELIBDIR%%/brebis/__pycache__/cliparse.cpython-%%PYTHON_SUFFIX%%.pyo
+%%PYTHON_SITELIBDIR%%/brebis/__pycache__/configurations.cpython-%%PYTHON_SUFFIX%%.pyo
+%%PYTHON_SITELIBDIR%%/brebis/__pycache__/expectedvalues.cpython-%%PYTHON_SUFFIX%%.pyo
+%%PYTHON_SITELIBDIR%%/brebis/__pycache__/identifylimitations.cpython-%%PYTHON_SUFFIX%%.pyo
+%%PYTHON_SITELIBDIR%%/brebis/__pycache__/listtype.cpython-%%PYTHON_SUFFIX%%.pyo
+%%PYTHON_SITELIBDIR%%/brebis/__pycache__/main.cpython-%%PYTHON_SUFFIX%%.pyo
+@dirrm %%PYTHON_SITELIBDIR%%/brebis/generatelist/__pycache__
+@dirrm %%PYTHON_SITELIBDIR%%/brebis/generatelist
+@dirrm %%PYTHON_SITELIBDIR%%/brebis/checkbackups/__pycache__
+@dirrm %%PYTHON_SITELIBDIR%%/brebis/checkbackups
+@dirrm %%PYTHON_SITELIBDIR%%/brebis/__pycache__
+@dirrm %%PYTHON_SITELIBDIR%%/brebis
+@dirrmtry %%PYTHON_SITELIBDIR%%
+@dirrmtry %%PYTHON_LIBDIR%%