From owner-svn-ports-head@freebsd.org Sat May 21 03:35:52 2016 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A1C52B44838; Sat, 21 May 2016 03:35:52 +0000 (UTC) (envelope-from swills@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 5E77A1ADD; Sat, 21 May 2016 03:35:52 +0000 (UTC) (envelope-from swills@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u4L3ZpHM070726; Sat, 21 May 2016 03:35:51 GMT (envelope-from swills@FreeBSD.org) Received: (from swills@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u4L3ZpEj070720; Sat, 21 May 2016 03:35:51 GMT (envelope-from swills@FreeBSD.org) Message-Id: <201605210335.u4L3ZpEj070720@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: swills set sender to swills@FreeBSD.org using -f From: Steve Wills Date: Sat, 21 May 2016 03:35:51 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r415584 - in head/security/vault: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 May 2016 03:35:52 -0000 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) ++}