svn commit: r387775 - in head/devel: . github-backup-utils github-backup-utils/files
Ryan Steinmetz
zi at FreeBSD.org
Thu May 28 20:50:14 UTC 2015
Author: zi
Date: Thu May 28 20:50:12 2015
New Revision: 387775
URL: https://svnweb.freebsd.org/changeset/ports/387775
Log:
New port: devel/github-backup-utils:
GitHub Enterprise Backup Utilities
Includes backup and recovery utilities for GitHub Enterprise.
WWW: https://github.com/github/backup-utils/
Added:
head/devel/github-backup-utils/
head/devel/github-backup-utils/Makefile (contents, props changed)
head/devel/github-backup-utils/distinfo (contents, props changed)
head/devel/github-backup-utils/files/
head/devel/github-backup-utils/files/pkg-message.in (contents, props changed)
head/devel/github-backup-utils/pkg-descr (contents, props changed)
head/devel/github-backup-utils/pkg-plist (contents, props changed)
Modified:
head/devel/Makefile
Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile Thu May 28 20:41:22 2015 (r387774)
+++ head/devel/Makefile Thu May 28 20:50:12 2015 (r387775)
@@ -570,6 +570,7 @@
SUBDIR += git-review
SUBDIR += git-subversion
SUBDIR += gitflow
+ SUBDIR += github-backup-utils
SUBDIR += gitg
SUBDIR += gitg0
SUBDIR += gitinspector
Added: head/devel/github-backup-utils/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/github-backup-utils/Makefile Thu May 28 20:50:12 2015 (r387775)
@@ -0,0 +1,32 @@
+# Created by: Ryan Steinmetz <zi at FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= github-backup-utils
+PORTVERSION= 2.2.0
+CATEGORIES= devel
+
+MAINTAINER= zi at FreeBSD.org
+COMMENT= GitHub Enterprise Backup Utilities
+
+RUN_DEPENDS= git>0:${PORTSDIR}/devel/git \
+ rsync>0:${PORTSDIR}/net/rsync
+
+USE_GITHUB= yes
+GH_ACCOUNT= github
+GH_PROJECT= backup-utils
+GH_TAGNAME= v${PORTVERSION}
+SUB_FILES= pkg-message
+NO_BUILD= yes
+
+post-patch:
+ ${REINPLACE_CMD} -e \
+ 's|/etc/github-backup-utils/backup.config|${PREFIX}/etc/github.backup.config|g' \
+ ${WRKSRC}/share/${PORTNAME}/ghe-backup-config
+
+do-install:
+ (cd ${WRKSRC}/bin && ${COPYTREE_BIN} . ${STAGEDIR}${PREFIX}/bin)
+ (cd ${WRKSRC}/share/${PORTNAME} && ${COPYTREE_BIN} . ${STAGEDIR}${DATADIR})
+ ${INSTALL_DATA} ${WRKSRC}/backup.config-example \
+ ${STAGEDIR}${PREFIX}/etc/github.backup.config.sample
+
+.include <bsd.port.mk>
Added: head/devel/github-backup-utils/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/github-backup-utils/distinfo Thu May 28 20:50:12 2015 (r387775)
@@ -0,0 +1,2 @@
+SHA256 (github-backup-utils-2.2.0-v2.2.0_GH0.tar.gz) = de547e9a680e467e7aa7ed6957a8f5c9ec236c36de6954c05e6d510b494d1155
+SIZE (github-backup-utils-2.2.0-v2.2.0_GH0.tar.gz) = 34348
Added: head/devel/github-backup-utils/files/pkg-message.in
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/github-backup-utils/files/pkg-message.in Thu May 28 20:50:12 2015 (r387775)
@@ -0,0 +1,3 @@
+=====================================================================
+Review and update %%PREFIX%%/etc/github.backup.config for your needs.
+=====================================================================
Added: head/devel/github-backup-utils/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/github-backup-utils/pkg-descr Thu May 28 20:50:12 2015 (r387775)
@@ -0,0 +1,5 @@
+GitHub Enterprise Backup Utilities
+
+Includes backup and recovery utilities for GitHub Enterprise.
+
+WWW: https://github.com/github/backup-utils/
Added: head/devel/github-backup-utils/pkg-plist
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/github-backup-utils/pkg-plist Thu May 28 20:50:12 2015 (r387775)
@@ -0,0 +1,32 @@
+bin/ghe-backup
+bin/ghe-host-check
+bin/ghe-restore
+ at sample etc/github.backup.config.sample
+%%DATADIR%%/ghe-backup-config
+%%DATADIR%%/ghe-backup-es-rsync
+%%DATADIR%%/ghe-backup-es-tarball
+%%DATADIR%%/ghe-backup-pages-rsync
+%%DATADIR%%/ghe-backup-pages-tarball
+%%DATADIR%%/ghe-backup-redis
+%%DATADIR%%/ghe-backup-repositories-rsync
+%%DATADIR%%/ghe-backup-repositories-tarball
+%%DATADIR%%/ghe-backup-settings
+%%DATADIR%%/ghe-backup-userdata
+%%DATADIR%%/ghe-maintenance-mode-disable
+%%DATADIR%%/ghe-maintenance-mode-enable
+%%DATADIR%%/ghe-maintenance-mode-status
+%%DATADIR%%/ghe-prune-snapshots
+%%DATADIR%%/ghe-restore-es-rsync
+%%DATADIR%%/ghe-restore-es-tarball
+%%DATADIR%%/ghe-restore-pages-rsync
+%%DATADIR%%/ghe-restore-pages-tarball
+%%DATADIR%%/ghe-restore-repositories-rsync
+%%DATADIR%%/ghe-restore-repositories-tarball
+%%DATADIR%%/ghe-restore-settings
+%%DATADIR%%/ghe-restore-snapshot-path
+%%DATADIR%%/ghe-restore-userdata
+%%DATADIR%%/ghe-rsync
+%%DATADIR%%/ghe-s3-backup
+%%DATADIR%%/ghe-s3-restore
+%%DATADIR%%/ghe-ssh
+%%DATADIR%%/version
More information about the svn-ports-head
mailing list