svn commit: r415584 - in head/security/vault: . files

Steve Wills swills at FreeBSD.org
Sat May 21 03:35:52 UTC 2016


Author: swills
Date: Sat May 21 03:35:50 2016
New Revision: 415584
URL: https://svnweb.freebsd.org/changeset/ports/415584

Log:
  security/vault: update to 0.5.2

Added:
  head/security/vault/files/patch-helper_mlock_mlock__linux.go   (contents, props changed)
  head/security/vault/files/patch-helper_mlock_mlock__solaris.go   (contents, props changed)
  head/security/vault/files/patch-helper_mlock_mlock__unavail.go   (contents, props changed)
  head/security/vault/files/patch-helper_mlock_mlock__unix.go   (contents, props changed)
Modified:
  head/security/vault/Makefile
  head/security/vault/distinfo

Modified: head/security/vault/Makefile
==============================================================================
--- head/security/vault/Makefile	Sat May 21 02:10:58 2016	(r415583)
+++ head/security/vault/Makefile	Sat May 21 03:35:50 2016	(r415584)
@@ -1,7 +1,7 @@
 # $FreeBSD$
 
 PORTNAME=	vault
-PORTVERSION=	0.3.0
+PORTVERSION=	0.5.2
 DISTVERSIONPREFIX=	v
 CATEGORIES=	security
 
@@ -24,13 +24,14 @@ GROUPS=		vault
 
 PLIST_FILES=	bin/${PORTNAME}
 
-post-extract:
-	@${MV} ${WRKSRC}/Godeps/_workspace/src ${WRKSRC}
+post-patch:
+	@${MV} ${WRKSRC}/vendor ${WRKSRC}/src
 	@${MKDIR} ${WRKSRC}/src/github.com/${GH_ACCOUNT}/${PORTNAME}
 	@cd ${WRKSRC} ; \
-	${MV} .gitignore .travis.yml CHANGELOG.md LICENSE Makefile README.md \
-	api audit builtin cli command helper http logical main.go main_test.go \
-	make.bat physical scripts shamir terraform test vault website \
+	${MV} .gitignore .travis.yml CHANGELOG.md CONTRIBUTING.md Godeps \
+	LICENSE Makefile README.md api audit builtin cli command helper http \
+	logical main.go main_test.go make.bat physical scripts shamir terraform \
+	vault version website \
 	src/github.com/${GH_ACCOUNT}/${PORTNAME}
 
 do-build:

Modified: head/security/vault/distinfo
==============================================================================
--- head/security/vault/distinfo	Sat May 21 02:10:58 2016	(r415583)
+++ head/security/vault/distinfo	Sat May 21 03:35:50 2016	(r415584)
@@ -1,2 +1,3 @@
-SHA256 (hashicorp-vault-v0.3.0_GH0.tar.gz) = 9c7d4016d4f6949265072efad41ba24ed7d1029a19bc57ee05b7bcb2a79e227b
-SIZE (hashicorp-vault-v0.3.0_GH0.tar.gz) = 1922377
+TIMESTAMP = 1463719469
+SHA256 (hashicorp-vault-v0.5.2_GH0.tar.gz) = f68382963a339d8e078d2b5dae55f4ce45f5637903646d842e1c99dff0108c96
+SIZE (hashicorp-vault-v0.5.2_GH0.tar.gz) = 3590947

Added: head/security/vault/files/patch-helper_mlock_mlock__linux.go
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/vault/files/patch-helper_mlock_mlock__linux.go	Sat May 21 03:35:50 2016	(r415584)
@@ -0,0 +1,17 @@
+--- helper/mlock/mlock_linux.go.orig	2016-03-16 19:48:36 UTC
++++ helper/mlock/mlock_linux.go
+@@ -1,14 +0,0 @@
+-// +build linux
+-
+-package mlock
+-
+-import "syscall"
+-
+-func init() {
+-	supported = true
+-}
+-
+-func lockMemory() error {
+-	// Mlockall prevents all current and future pages from being swapped out.
+-	return syscall.Mlockall(syscall.MCL_CURRENT | syscall.MCL_FUTURE)
+-}

Added: head/security/vault/files/patch-helper_mlock_mlock__solaris.go
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/vault/files/patch-helper_mlock_mlock__solaris.go	Sat May 21 03:35:50 2016	(r415584)
@@ -0,0 +1,20 @@
+--- helper/mlock/mlock_solaris.go.orig	2016-03-16 19:48:36 UTC
++++ helper/mlock/mlock_solaris.go
+@@ -1,17 +0,0 @@
+-// +build solaris
+-
+-package mlock
+-
+-import (
+-       "syscall"
+-       "golang.org/x/sys/unix"
+-)
+-
+-func init() {
+-       supported = true
+-}
+-
+-func lockMemory() error {
+-       // Mlockall prevents all current and future pages from being swapped out.
+-       return unix.Mlockall(syscall.MCL_CURRENT | syscall.MCL_FUTURE)
+-}

Added: head/security/vault/files/patch-helper_mlock_mlock__unavail.go
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/vault/files/patch-helper_mlock_mlock__unavail.go	Sat May 21 03:35:50 2016	(r415584)
@@ -0,0 +1,8 @@
+--- helper/mlock/mlock_unavail.go.orig	2016-03-16 19:48:36 UTC
++++ helper/mlock/mlock_unavail.go
+@@ -1,4 +1,4 @@
+-// +build windows plan9 darwin freebsd openbsd netbsd
++// +build android nacl plan9 windows
+ 
+ package mlock
+ 

Added: head/security/vault/files/patch-helper_mlock_mlock__unix.go
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/vault/files/patch-helper_mlock_mlock__unix.go	Sat May 21 03:35:50 2016	(r415584)
@@ -0,0 +1,21 @@
+--- helper/mlock/mlock_unix.go.orig	2016-04-11 17:33:59 UTC
++++ helper/mlock/mlock_unix.go
+@@ -0,0 +1,18 @@
++// +build darwin dragonfly freebsd linux netbsd openbsd solaris
++
++package mlock
++
++import (
++	"syscall"
++
++	"golang.org/x/sys/unix"
++)
++
++func init() {
++	supported = true
++}
++
++func lockMemory() error {
++	// Mlockall prevents all current and future pages from being swapped out.
++	return unix.Mlockall(syscall.MCL_CURRENT | syscall.MCL_FUTURE)
++}


More information about the svn-ports-head mailing list