Date: Sat, 18 May 2019 21:43:45 +0000 (UTC) From: Yuri Victorovich <yuri@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r501982 - in head/misc: . hashdb Message-ID: <201905182143.x4ILhjUZ070456@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: yuri Date: Sat May 18 21:43:45 2019 New Revision: 501982 URL: https://svnweb.freebsd.org/changeset/ports/501982 Log: New port: misc/hashdb: Block hash database tool and API Added: head/misc/hashdb/ head/misc/hashdb/Makefile (contents, props changed) head/misc/hashdb/distinfo (contents, props changed) head/misc/hashdb/pkg-descr (contents, props changed) head/misc/hashdb/pkg-plist (contents, props changed) Modified: head/misc/Makefile Modified: head/misc/Makefile ============================================================================== --- head/misc/Makefile Sat May 18 21:38:06 2019 (r501981) +++ head/misc/Makefile Sat May 18 21:43:45 2019 (r501982) @@ -176,6 +176,7 @@ SUBDIR += granulate SUBDIR += grc SUBDIR += gwhich + SUBDIR += hashdb SUBDIR += hb SUBDIR += hello SUBDIR += help2man Added: head/misc/hashdb/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/misc/hashdb/Makefile Sat May 18 21:43:45 2019 (r501982) @@ -0,0 +1,40 @@ +# $FreeBSD$ + +PORTNAME= hashdb +DISTVERSIONPREFIX= v +DISTVERSION= 3.1.0-8 +DISTVERSIONSUFFIX= -g1da1b9f +CATEGORIES= misc + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Block hash database tool and API + +LICENSE= PD +LICENSE_FILE= ${WRKSRC}/COPYING + +BUILD_DEPENDS= swig3.0:devel/swig30 \ + openssl>:security/openssl +LIB_DEPENDS= libewf.so:devel/libewf +RUN_DEPENDS= openssl>:security/openssl + +USES= autoreconf gmake libtool localbase:ldflags python ssl # USES=ssl fails without openssl added to BUILD_DEPENDS/RUN_DEPENDS/LDFLAGS: see bug#237974 +GNU_CONFIGURE= yes +USE_GITHUB= yes +GH_ACCOUNT= NPS-DEEP +CONFIGURE_ARGS= --disable-static --enable-shared # this fails: https://github.com/NPS-DEEP/hashdb/issues/9 + +INSTALL_TARGET= install-strip + +CONFIGURE_ENV= PYTHON=${PYTHON_CMD} +BINARY_ALIAS= swig=${LOCALBASE}/bin/swig3.0 + +CFLAGS+= -fPIC +CXXFLAGS+= -fPIC +LDFLAGS+= ${LOCALBASE}/lib/libssl.so ${LOCALBASE}/lib/libcrypto.so + +PLIST_SUB+= PYTHON_SITELIBDIR=${PYTHONPREFIX_SITELIBDIR:S;${PREFIX}/;;} + +post-configure: + @${FIND} ${WRKSRC} -name Makefile | ${XARGS} ${REINPLACE_CMD} 's| -lstdc++ | |' + +.include <bsd.port.mk> Added: head/misc/hashdb/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/misc/hashdb/distinfo Sat May 18 21:43:45 2019 (r501982) @@ -0,0 +1,3 @@ +TIMESTAMP = 1558192369 +SHA256 (NPS-DEEP-hashdb-v3.1.0-8-g1da1b9f_GH0.tar.gz) = 14e1043c62269e577b1b417a9913b7f8abfb76aad0b7c5977b938449912eecec +SIZE (NPS-DEEP-hashdb-v3.1.0-8-g1da1b9f_GH0.tar.gz) = 747811 Added: head/misc/hashdb/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/misc/hashdb/pkg-descr Sat May 18 21:43:45 2019 (r501982) @@ -0,0 +1,11 @@ +hashdb is used for finding blacklist data in raw media by using cryptographic +hashes calculated from hash blocks. + +The hashdb tool provides commands for creating hash databases of MD5 hashes on +files aligned along hash block boundaries as well as querying hash databases, +merging hash databases, and performing hash lookups. + +hashdb provides C++ and Python interfaces for working with and scanning hashdb +databases. + +WWW: https://github.com/NPS-DEEP/hashdb Added: head/misc/hashdb/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/misc/hashdb/pkg-plist Sat May 18 21:43:45 2019 (r501982) @@ -0,0 +1,10 @@ +bin/hashdb +include/hashdb.hpp +lib/libhashdb.a +%%PYTHON_SITELIBDIR%%/__pycache__/hashdb.cpython-36.opt-1.pyc +%%PYTHON_SITELIBDIR%%/__pycache__/hashdb.cpython-36.pyc +%%PYTHON_SITELIBDIR%%/_hashdb.so +%%PYTHON_SITELIBDIR%%/_hashdb.so.0 +%%PYTHON_SITELIBDIR%%/_hashdb.so.0.0.0 +%%PYTHON_SITELIBDIR%%/hashdb.py +man/man1/hashdb.1.gz
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201905182143.x4ILhjUZ070456>