Skip to content

Commit

Permalink
vaultwarden: Ensure openssl is linked correctly.
Browse files Browse the repository at this point in the history
Some minor cleanups while here.
  • Loading branch information
jperkin committed Dec 5, 2024
1 parent 6af7d73 commit 03cfe4a
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions security/vaultwarden/Makefile
Original file line number Diff line number Diff line change
@@ -1,17 +1,16 @@
# $NetBSD: Makefile,v 1.8 2024/12/01 00:04:58 pin Exp $
# $NetBSD: Makefile,v 1.9 2024/12/05 14:33:00 jperkin Exp $

DISTNAME= vaultwarden-${PKGVER}
PKGVER= 1.32.5
DISTNAME= vaultwarden-1.32.5
CATEGORIES= security
MASTER_SITES= ${MASTER_SITE_GITHUB:=dani-garcia/}
EXTRACT_SUFX= .tar.gz
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}

MAINTAINER= [email protected]
HOMEPAGE= https://github.com/dani-garcia/vaultwarden
COMMENT= Bitwarden compatible backend server
LICENSE= gnu-agpl-v3

DISTFILES= ${DEFAULT_DISTFILES}

.include "cargo-depends.mk"

USE_TOOLS+= perl
Expand All @@ -20,6 +19,8 @@ DEPENDS+= daemonize>=1.7.8:../../sysutils/daemonize

MAKE_ENV+= OPENSSL_DIR=${SSLBASE:Q}

RUSTFLAGS+= -C link-arg=${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.openssl}/lib

.include "../../mk/bsd.prefs.mk"

.include "options.mk"
Expand Down Expand Up @@ -78,10 +79,8 @@ do-install:
${DESTDIR}${PREFIX}/sbin/vaultwarden

.include "../../devel/capnproto/buildlink3.mk"
.include "../../security/nettle/buildlink3.mk"
.include "../../devel/gmp/buildlink3.mk"
.include "../../security/openssl/buildlink3.mk"

.include "../../lang/rust/cargo.mk"

.include "../../security/nettle/buildlink3.mk"
.include "../../security/openssl/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

0 comments on commit 03cfe4a

Please sign in to comment.