Edit

IABSD.fr/ports/security/vault/Makefile

Branch :

  • Show log

    Commit

  • Author : pvk
    Date : 2026-09-08 14:47:16
    Hash : 877aee25
    Message : Update vault 2.0.3 -> 2.1.0 Changelog: https://github.com/hashicorp/vault/releases/

  • security/vault/Makefile
  • BROKEN-i386=		/usr/local/go/pkg/tool/openbsd_386/link: mapping output file failed: cannot allocate memory
    
    COMMENT=		secure secret storage
    
    VERSION=		2.1.0
    # vault-vendored distfile generated by fetching archive from
    # https://github.com/hashicorp/vault/archive/v$VERSION/vault-$VERSION.tar.gz
    # and running:
    #   go mod tidy; go mod vendor
    # UI prebuilt with:
    #   doas corepack enable; cd ui; corepack pnpm install
    #   npm rebuild node-sass @hashicorp/vault-client-typescript
    #   npx update-browserslist-db@latest; corepack pnpm run build
    #   rm -rf node_modules
    DISTNAME=		vault-vendored-${VERSION}
    PKGNAME=		vault-${VERSION}
    
    ### Vault UI
    MODGO_FLAGS=		-tags=ui
    SITES=			https://distfiles.tristero.se/
    
    CATEGORIES=		security net
    
    HOMEPAGE=		https://www.vaultproject.io/
    
    MAINTAINER=		Pavel Korovin <pvk@openbsd.org>
    
    # BSLv1.1
    PERMIT_PACKAGE=		Yes
    
    MAKE_ENV=		CGO_ENABLED=0
    
    WANTLIB+= 		c pthread
    
    MODULES=		lang/go
    
    ALL_TARGET=		github.com/hashicorp/vault
    
    post-install:
    	${INSTALL_DATA_DIR} ${PREFIX}/share/examples/vault
    	${INSTALL_DATA} ${FILESDIR}/*.hcl \
    		${PREFIX}/share/examples/vault
    
    .include <bsd.port.mk>