reop (reasonable expectation of privacy) is a utility that creates and verifies cryptographic signatures. It supports both asymmetric and symmetric encryption.
34 lines
815 B
Makefile
34 lines
815 B
Makefile
# $OpenBSD: Makefile,v 1.1.1.1 2014/05/15 00:40:45 jturner Exp $
|
|
|
|
COMMENT = create and verify cryptographic signatures
|
|
|
|
VERSION = 1.0.0
|
|
DISTNAME = reop-${VERSION}
|
|
CATEGORIES = security sysutils
|
|
|
|
MAINTAINER = James Turner <james@calminferno.net>
|
|
|
|
HOMEPAGE = https://github.com/tedu/reop/
|
|
MASTER_SITES = https://github.com/tedu/reop/releases/download/${VERSION}/
|
|
EXTRACT_SUFX = .tgz
|
|
|
|
# ISC
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
|
|
WANTLIB = c sodium util
|
|
LIB_DEPENDS = security/libsodium>=0.5.0
|
|
|
|
ALL_TARGET = reop
|
|
MAKE_FLAGS = CC="${CC}" \
|
|
CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
|
|
LDFLAGS="-L${LOCALBASE}/lib -lutil -lsodium"
|
|
|
|
do-test:
|
|
@cd ${WRKSRC}/tests && sh test.sh
|
|
|
|
do-install:
|
|
${INSTALL_MAN} ${WRKSRC}/reop.1 ${PREFIX}/man/man1
|
|
${INSTALL_PROGRAM} ${WRKSRC}/reop ${PREFIX}/bin
|
|
|
|
.include <bsd.port.mk>
|