diff options
author | vsevolod <vsevolod@FreeBSD.org> | 2018-12-10 01:59:00 +0800 |
---|---|---|
committer | vsevolod <vsevolod@FreeBSD.org> | 2018-12-10 01:59:00 +0800 |
commit | eb69a86e8eb2e9063cc6dbe0804f4edde92698cb (patch) | |
tree | d7fac9d398f65bbb68c9e7af36dc3f6caceb34c6 /security | |
parent | 85ada56b2995a773bae20e0f934692e941afebb1 (diff) | |
download | freebsd-ports-gnome-eb69a86e8eb2e9063cc6dbe0804f4edde92698cb.tar.gz freebsd-ports-gnome-eb69a86e8eb2e9063cc6dbe0804f4edde92698cb.tar.zst freebsd-ports-gnome-eb69a86e8eb2e9063cc6dbe0804f4edde92698cb.zip |
- Update to version 3.0
- Switch to GitHub
- Unbreak with the recent OpenSSL
- Add libsodium dependency
- Fix build using clang
- Unbreak on non-x86
Diffstat (limited to 'security')
-rw-r--r-- | security/hpenc/Makefile | 23 | ||||
-rw-r--r-- | security/hpenc/distinfo | 5 |
2 files changed, 9 insertions, 19 deletions
diff --git a/security/hpenc/Makefile b/security/hpenc/Makefile index eee1f36f23c7..0c2bb782af51 100644 --- a/security/hpenc/Makefile +++ b/security/hpenc/Makefile @@ -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 diff --git a/security/hpenc/distinfo b/security/hpenc/distinfo index 6fd4d06d9418..188dd2dd6586 100644 --- a/security/hpenc/distinfo +++ b/security/hpenc/distinfo @@ -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 |