security/node-sqlcipher: Restrict to amd64 and aarch64

The only consumer of this port is signal-desktop which only
works on amd64 and aarch64.

While here remove an extra '\'
This commit is contained in:
Mikael Urankar
2025-04-13 10:18:00 +02:00
parent 4bd4a4e185
commit e705bd87ad
+3 -1
View File
@@ -4,7 +4,7 @@ CATEGORIES= security
MASTER_SITES= https://github.com/signalapp/node-sqlcipher/archive/refs/tags/v${DISTVERSION}/:sqlcipher \
LOCAL/mikael/signal-desktop/:npm
DISTFILES= node-sqlcipher-${DISTVERSION}.tar.gz:sqlcipher \
node-sqlcipher-${DISTVERSION}-npm-cache.tar.gz:npm \
node-sqlcipher-${DISTVERSION}-npm-cache.tar.gz:npm
MAINTAINER= mikael@FreeBSD.org
COMMENT= Fast N-API-based Node.js addon wrapping sqlcipher and FTS5 segmenting APIs
@@ -13,6 +13,8 @@ WWW= https://github.com/signalapp/node-sqlcipher
LICENSE= AGPLv3
LICENSE_FILE= ${WRKSRC}/LICENSE
ONLY_FOR_ARCHS= aarch64 amd64
BUILD_DEPENDS= ${LOCALBASE}/lib/libsignal_sqlcipher_extension.a:devel/signal-sqlcipher-extension \
npm:www/npm${NODEJS_SUFFIX}