svn commit: r449379 - in head/security: . 1password-client op
Adam Weinberger
adamw at FreeBSD.org
Wed Sep 6 22:50:09 UTC 2017
Author: adamw
Date: Wed Sep 6 22:50:07 2017
New Revision: 449379
URL: https://svnweb.freebsd.org/changeset/ports/449379
Log:
Add the official 1Password CLI client. It is provided by AgileBits as precompiled
binaries. Its binary is named op, but this port is being called 1password-client
to avoid conflict with security/op. The binary name itself still conflicts though.
WWW: https://support.1password.com/command-line-getting-started/
Added:
head/security/1password-client/
head/security/1password-client/Makefile (contents, props changed)
head/security/1password-client/distinfo (contents, props changed)
head/security/1password-client/pkg-descr (contents, props changed)
Modified:
head/security/Makefile
head/security/op/Makefile
Added: head/security/1password-client/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/security/1password-client/Makefile Wed Sep 6 22:50:07 2017 (r449379)
@@ -0,0 +1,40 @@
+# Created by: Adam Weinberger <adamw at FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= 1password-client
+PORTVERSION= 0.1
+CATEGORIES= security
+MASTER_SITES= https://cache.agilebits.com/dist/1P/op/pkg/v${PORTVERSION}/
+
+MAINTAINER= adamw at FreeBSD.org
+COMMENT= 1Password CLI client
+
+ONLY_FOR_ARCHS= amd64 arm i386
+
+USES= zip
+NO_WRKSUBDIR= yes
+NO_BUILD= yes
+
+PLIST_FILES= bin/op
+CONFLICTS_INSTALL= security/op
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/op ${STAGEDIR}${PREFIX}/bin
+
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} == "amd64"
+DISTNAME= op_freebsd_amd64_v${PORTVERSION}
+.elif ${ARCH} == "aarch64"
+DISTNAME= op_freebsd_arm_v${PORTVERSION}
+.elif ${ARCH} == "i386"
+DISTNAME= op_freebsd_386_v${PORTVERSION}
+.endif
+
+.if ${.TARGETS} == "makesum"
+DISTFILES= op_freebsd_amd64_v${PORTVERSION}${EXTRACT_SUFX} \
+ op_freebsd_arm_v${PORTVERSION}${EXTRACT_SUFX} \
+ op_freebsd_386_v${PORTVERSION}${EXTRACT_SUFX}
+.endif
+
+.include <bsd.port.post.mk>
Added: head/security/1password-client/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/security/1password-client/distinfo Wed Sep 6 22:50:07 2017 (r449379)
@@ -0,0 +1,7 @@
+TIMESTAMP = 1504738054
+SHA256 (op_freebsd_amd64_v0.1.zip) = ea0272132580269ba515b078024f99200ebcebe039779ee104a4abc1d034a5c5
+SIZE (op_freebsd_amd64_v0.1.zip) = 2190194
+SHA256 (op_freebsd_arm_v0.1.zip) = d0155036027b83e3c2097d9fc84bfbe42abf4ce69a90a66152c969c73e5208cd
+SIZE (op_freebsd_arm_v0.1.zip) = 2044076
+SHA256 (op_freebsd_386_v0.1.zip) = 4ff645ae808aa5332a69c6e124685d6db1ac35b9f9548c2d017f8d20f7e0a7dc
+SIZE (op_freebsd_386_v0.1.zip) = 2028491
Added: head/security/1password-client/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/security/1password-client/pkg-descr Wed Sep 6 22:50:07 2017 (r449379)
@@ -0,0 +1,4 @@
+This is a command-line interface to the 1Password password management
+service.
+
+WWW: https://support.1password.com/command-line-getting-started/
Modified: head/security/Makefile
==============================================================================
--- head/security/Makefile Wed Sep 6 22:35:41 2017 (r449378)
+++ head/security/Makefile Wed Sep 6 22:50:07 2017 (r449379)
@@ -4,6 +4,7 @@
COMMENT = Security tools
SUBDIR += 0d1n
+ SUBDIR += 1password-client
SUBDIR += ADMsmb
SUBDIR += ADMsnmp
SUBDIR += R-cran-ROAuth
Modified: head/security/op/Makefile
==============================================================================
--- head/security/op/Makefile Wed Sep 6 22:35:41 2017 (r449378)
+++ head/security/op/Makefile Wed Sep 6 22:50:07 2017 (r449379)
@@ -15,6 +15,7 @@ LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/COPYING
GNU_CONFIGURE= yes
+CONFLICTS_INSTALL= security/1password-client
post-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/etc/op.d
More information about the svn-ports-head
mailing list