[Midnightbsd-cvs] mports [19148] trunk/devel: add github-backup-utils

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Thu May 28 20:45:18 EDT 2015


Revision: 19148
          http://svnweb.midnightbsd.org/mports/?rev=19148
Author:   laffer1
Date:     2015-05-28 20:45:18 -0400 (Thu, 28 May 2015)
Log Message:
-----------
add github-backup-utils

Modified Paths:
--------------
    trunk/devel/Makefile

Added Paths:
-----------
    trunk/devel/github-backup-utils/
    trunk/devel/github-backup-utils/Makefile
    trunk/devel/github-backup-utils/distinfo
    trunk/devel/github-backup-utils/files/
    trunk/devel/github-backup-utils/files/pkg-message.in
    trunk/devel/github-backup-utils/pkg-descr
    trunk/devel/github-backup-utils/pkg-plist

Modified: trunk/devel/Makefile
===================================================================
--- trunk/devel/Makefile	2015-05-29 00:37:32 UTC (rev 19147)
+++ trunk/devel/Makefile	2015-05-29 00:45:18 UTC (rev 19148)
@@ -97,6 +97,7 @@
 SUBDIR += gettext-runtime
 SUBDIR += gettext-tools
 SUBDIR += git
+SUBDIR += github-backup-utils
 SUBDIR += glade3
 SUBDIR += glib12
 SUBDIR += glib20

Added: trunk/devel/github-backup-utils/Makefile
===================================================================
--- trunk/devel/github-backup-utils/Makefile	                        (rev 0)
+++ trunk/devel/github-backup-utils/Makefile	2015-05-29 00:45:18 UTC (rev 19148)
@@ -0,0 +1,38 @@
+# Created by: Ryan Steinmetz <zi at FreeBSD.org>
+# $FreeBSD: head/devel/github-backup-utils/Makefile 387778 2015-05-28 22:22:59Z mat $
+# $MidnightBSD$
+
+PORTNAME=	github-backup-utils
+PORTVERSION=	2.2.0
+DISTVERSIONPREFIX=	v
+CATEGORIES=	devel
+
+MAINTAINER=	ports at MidnightBSD.org
+COMMENT=	GitHub Enterprise Backup Utilities
+
+LICENSE=	mit
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+WRKSRC=		${WRKDIR}/${GH_PROJECT}-${PORTVERSION}
+
+RUN_DEPENDS=	git>0:${PORTSDIR}/devel/git \
+		rsync>0:${PORTSDIR}/net/rsync
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	github
+GH_PROJECT=	backup-utils
+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>


Property changes on: trunk/devel/github-backup-utils/Makefile
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/devel/github-backup-utils/distinfo
===================================================================
--- trunk/devel/github-backup-utils/distinfo	                        (rev 0)
+++ trunk/devel/github-backup-utils/distinfo	2015-05-29 00:45:18 UTC (rev 19148)
@@ -0,0 +1,2 @@
+SHA256 (github-backup-utils-v2.2.0_GH0.tar.gz) = de547e9a680e467e7aa7ed6957a8f5c9ec236c36de6954c05e6d510b494d1155
+SIZE (github-backup-utils-v2.2.0_GH0.tar.gz) = 34348


Property changes on: trunk/devel/github-backup-utils/distinfo
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/devel/github-backup-utils/files/pkg-message.in
===================================================================
--- trunk/devel/github-backup-utils/files/pkg-message.in	                        (rev 0)
+++ trunk/devel/github-backup-utils/files/pkg-message.in	2015-05-29 00:45:18 UTC (rev 19148)
@@ -0,0 +1,3 @@
+=====================================================================
+Review and update %%PREFIX%%/etc/github.backup.config for your needs.
+=====================================================================


Property changes on: trunk/devel/github-backup-utils/files/pkg-message.in
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/devel/github-backup-utils/pkg-descr
===================================================================
--- trunk/devel/github-backup-utils/pkg-descr	                        (rev 0)
+++ trunk/devel/github-backup-utils/pkg-descr	2015-05-29 00:45:18 UTC (rev 19148)
@@ -0,0 +1,5 @@
+GitHub Enterprise Backup Utilities
+
+Includes backup and recovery utilities for GitHub Enterprise.
+
+WWW: https://github.com/github/backup-utils/


Property changes on: trunk/devel/github-backup-utils/pkg-descr
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/devel/github-backup-utils/pkg-plist
===================================================================
--- trunk/devel/github-backup-utils/pkg-plist	                        (rev 0)
+++ trunk/devel/github-backup-utils/pkg-plist	2015-05-29 00:45:18 UTC (rev 19148)
@@ -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


Property changes on: trunk/devel/github-backup-utils/pkg-plist
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property


More information about the Midnightbsd-cvs mailing list