svn commit: r487067 - head/security/hpenc
Vsevolod Stakhov
vsevolod at FreeBSD.org
Sun Dec 9 17:59:01 UTC 2018
Author: vsevolod
Date: Sun Dec 9 17:59:00 2018
New Revision: 487067
URL: https://svnweb.freebsd.org/changeset/ports/487067
Log:
- Update to version 3.0
- Switch to GitHub
- Unbreak with the recent OpenSSL
- Add libsodium dependency
- Fix build using clang
- Unbreak on non-x86
Modified:
head/security/hpenc/Makefile
head/security/hpenc/distinfo
Modified: head/security/hpenc/Makefile
==============================================================================
--- head/security/hpenc/Makefile Sun Dec 9 17:46:14 2018 (r487066)
+++ head/security/hpenc/Makefile Sun Dec 9 17:59:00 2018 (r487067)
@@ -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 at 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
Modified: head/security/hpenc/distinfo
==============================================================================
--- head/security/hpenc/distinfo Sun Dec 9 17:46:14 2018 (r487066)
+++ head/security/hpenc/distinfo Sun Dec 9 17:59:00 2018 (r487067)
@@ -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
More information about the svn-ports-all
mailing list