From owner-svn-ports-all@freebsd.org Fri Oct 28 14:32:55 2016 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9C38EC247C8; Fri, 28 Oct 2016 14:32:55 +0000 (UTC) (envelope-from danfe@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 68E671DA; Fri, 28 Oct 2016 14:32:55 +0000 (UTC) (envelope-from danfe@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u9SEWsmU076621; Fri, 28 Oct 2016 14:32:54 GMT (envelope-from danfe@FreeBSD.org) Received: (from danfe@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u9SEWsdT076620; Fri, 28 Oct 2016 14:32:54 GMT (envelope-from danfe@FreeBSD.org) Message-Id: <201610281432.u9SEWsdT076620@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: danfe set sender to danfe@FreeBSD.org using -f From: Alexey Dokuchaev Date: Fri, 28 Oct 2016 14:32:54 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r424854 - head/security/rhash X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Oct 2016 14:32:55 -0000 Author: danfe Date: Fri Oct 28 14:32:54 2016 New Revision: 424854 URL: https://svnweb.freebsd.org/changeset/ports/424854 Log: - Fix byte order detection to allow the build on ARM (armv6) - Enable tests, add LICENSE_FILE, optionize DOCS while here PR: 213847 Submitted by: amdmi3 Modified: head/security/rhash/Makefile Modified: head/security/rhash/Makefile ============================================================================== --- head/security/rhash/Makefile Fri Oct 28 14:22:36 2016 (r424853) +++ head/security/rhash/Makefile Fri Oct 28 14:32:54 2016 (r424854) @@ -11,6 +11,7 @@ MAINTAINER= danfe@FreeBSD.org COMMENT= Utility and library for computing and checking of file hashes LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/COPYING USE_LDCONFIG= yes @@ -18,11 +19,22 @@ WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVER PORTDOCS= ChangeLog README +OPTIONS_DEFINE= DOCS + post-patch: @${REINPLACE_CMD} -e 's,/etc/,${PREFIX}&,' ${WRKSRC}/parse_cmdline.c + @${REINPLACE_CMD} -e '/BYTE_ORDER/s,__,_,g' \ + ${WRKSRC}/librhash/byte_order.h post-install: + @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/rhash \ + ${STAGEDIR}${PREFIX}/lib/librhash.so + +post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} +do-test: + cd ${WRKSRC}/tests && ${SH} test_rhash.sh --full + .include