mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-04 06:15:24 +00:00
- Update to version 3.0
- Switch to GitHub - Unbreak with the recent OpenSSL - Add libsodium dependency - Fix build using clang - Unbreak on non-x86
This commit is contained in:
parent
dee9b71c6b
commit
5e9d324745
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=487067
@ -1,32 +1,21 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= hpenc
|
||||
PORTVERSION= 2.0
|
||||
PORTREVISION= 5
|
||||
PORTVERSION= 3.0
|
||||
CATEGORIES= security
|
||||
MASTER_SITES= http://highsecure.ru/distfiles/
|
||||
|
||||
MAINTAINER= vsevolod@FreeBSD.org
|
||||
COMMENT= Fast authenticated encryption CLI tool
|
||||
|
||||
LICENSE= BSD2CLAUSE
|
||||
|
||||
BROKEN_armv6= fails to build: fatal error: cpuid_flags.inc: No such file or directory
|
||||
BROKEN_armv7= fails to build: fatal error: cpuid_flags.inc: No such file or directory
|
||||
BROKEN_powerpc64= fails to build: fatal error: cpuid_flags.inc: No such file or directory
|
||||
USES= cmake compiler:c++11-lib ssl
|
||||
LIB_DEPENDS= libsodium.so:security/libsodium
|
||||
|
||||
NOT_FOR_ARCHS= aarch64 sparc64
|
||||
NOT_FOR_ARCHS_REASON= not yet ported to this architecture
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= vstakhov
|
||||
|
||||
USES= tar:xz compiler:c++11-lib gmake ssl
|
||||
PLIST_FILES= bin/hpenc man/man1/hpenc.1.gz
|
||||
|
||||
MAKE_ARGS+= "ARCH=${ARCH:S/amd64/x86/:S/i386/x86/}"
|
||||
CXXFLAGS+= -std=c++11 \
|
||||
-I${WRKSRC}/chacha-opt/app/include \
|
||||
-I${WRKSRC}/poly1305-opt/app/include \
|
||||
-I${OPENSSLINC}
|
||||
LDFLAGS+= -pthread -lcrypto -L${OPENSSLLIB}
|
||||
PLIST_FILES= bin/hpenc bin/hpenc-${PORTVERSION} man/man1/hpenc.1.gz
|
||||
|
||||
post-install:
|
||||
${INSTALL_MAN} ${WRKSRC}/doc/hpenc.1 ${STAGEDIR}${MANPREFIX}/man/man1
|
||||
|
@ -1,2 +1,3 @@
|
||||
SHA256 (hpenc-2.0.tar.xz) = 4fa26a5ee88cbc85c4117e13295f3ee9ec4b959bf6077f6f65be3fddc6f30351
|
||||
SIZE (hpenc-2.0.tar.xz) = 612404
|
||||
TIMESTAMP = 1544378133
|
||||
SHA256 (vstakhov-hpenc-3.0_GH0.tar.gz) = 70bfa24a7777ae69b689870c884da39ff6a47c9a41224ee16b7dde1b508e5d59
|
||||
SIZE (vstakhov-hpenc-3.0_GH0.tar.gz) = 527745
|
||||
|
Loading…
Reference in New Issue
Block a user