Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Dec 2020 12:53:20 +0000 (UTC)
From:      Renato Botelho <garga@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r559576 - in head/net: . gitup
Message-ID:  <202012291253.0BTCrKcB097188@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: garga
Date: Tue Dec 29 12:53:20 2020
New Revision: 559576
URL: https://svnweb.freebsd.org/changeset/ports/559576

Log:
  Add gitup 0.87, minimalist, dependency-free program to clone/pull git
  repositories.
  
  PR:		252220
  Submitted by:	ed.arrakis@gmail.com
  Sponsored by:	Rubicon Communications, LLC (Netgate)

Added:
  head/net/gitup/
  head/net/gitup/Makefile   (contents, props changed)
  head/net/gitup/distinfo   (contents, props changed)
  head/net/gitup/pkg-descr   (contents, props changed)
  head/net/gitup/pkg-message   (contents, props changed)
  head/net/gitup/pkg-plist   (contents, props changed)
Modified:
  head/net/Makefile

Modified: head/net/Makefile
==============================================================================
--- head/net/Makefile	Tue Dec 29 12:36:19 2020	(r559575)
+++ head/net/Makefile	Tue Dec 29 12:53:20 2020	(r559576)
@@ -178,6 +178,7 @@
     SUBDIR += gerbera
     SUBDIR += gfbgraph
     SUBDIR += gitlab-agent
+    SUBDIR += gitup
     SUBDIR += glflow
     SUBDIR += glib-networking
     SUBDIR += glusterfs

Added: head/net/gitup/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/gitup/Makefile	Tue Dec 29 12:53:20 2020	(r559576)
@@ -0,0 +1,45 @@
+# $FreeBSD$
+
+PORTNAME=	gitup
+DISTVERSION=	0.87
+CATEGORIES=	net
+
+MAINTAINER=	ed.arrakis@gmail.com
+COMMENT=	Minimalist, dependency-free program to clone/pull git repositories
+
+LICENSE=	BSD2CLAUSE
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+USES=		ssl
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	johnmehr
+
+ALL_TARGET=	gitup
+CFLAGS+=	-I${OPENSSLINC}
+LDADD=		-lz -L${OPENSSLLIB} -lssl -lcrypto -lprivateucl
+MAKE_ARGS=	CFLAGS="${CFLAGS}" \
+		LDADD="${LDADD}"
+
+PORTDOCS=	README.md
+
+OPTIONS_DEFINE=	DOCS
+
+post-patch:
+	${REINPLACE_CMD} 's,\./gitup.conf,${PREFIX}/etc/gitup.conf,' \
+		${WRKSRC}/gitup.c
+	${REINPLACE_CMD} 's,/usr/local,${PREFIX},g' \
+		${WRKSRC}/gitup.1 ${WRKSRC}/gitup.conf.5
+
+do-install:
+	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
+	${INSTALL_MAN} ${WRKSRC}/gitup.1 ${STAGEDIR}${MANPREFIX}/man/man1
+	${INSTALL_MAN} ${WRKSRC}/gitup.conf.5  ${STAGEDIR}${MANPREFIX}/man/man5
+	${INSTALL_DATA} ${WRKSRC}/gitup.conf \
+		${STAGEDIR}${PREFIX}/etc/gitup.conf.sample
+
+do-install-DOCS-on:
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}
+
+.include <bsd.port.mk>

Added: head/net/gitup/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/gitup/distinfo	Tue Dec 29 12:53:20 2020	(r559576)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1609199079
+SHA256 (johnmehr-gitup-0.87_GH0.tar.gz) = 7d8567714a902444fac1cb1f7d3d867ed9d4cf6e01e6e694dec0a917f35196a8
+SIZE (johnmehr-gitup-0.87_GH0.tar.gz) = 20296

Added: head/net/gitup/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/gitup/pkg-descr	Tue Dec 29 12:53:20 2020	(r559576)
@@ -0,0 +1,8 @@
+A minimalist, dependency-free FreeBSD program to clone/pull git
+repositories. Intended for non-developers, gitup synchronizes local
+copies of repositories without the additional overhead that the
+official git client requires. Because gitup neither uses nor updates
+the contents of .git directories, the official git client should not
+be used on repositories cloned or modified with gitup.
+
+WWW: https://github.com/johnmehr/gitup

Added: head/net/gitup/pkg-message
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/gitup/pkg-message	Tue Dec 29 12:53:20 2020	(r559576)
@@ -0,0 +1,10 @@
+[
+{
+  type: install
+  message: <<EOM
+Currently this program is beta, so the usual caveats/warnings (don't
+use it in a production environment, make sure you've got backups, dont
+(yet) run as root) apply.
+EOM
+}
+]

Added: head/net/gitup/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/gitup/pkg-plist	Tue Dec 29 12:53:20 2020	(r559576)
@@ -0,0 +1,4 @@
+bin/gitup
+man/man1/gitup.1.gz
+man/man5/gitup.conf.5.gz
+@sample etc/gitup.conf.sample



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202012291253.0BTCrKcB097188>