From owner-svn-ports-head@freebsd.org Thu Feb 28 14:42:55 2019 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 13134150A09C; Thu, 28 Feb 2019 14:42:55 +0000 (UTC) (envelope-from dvl@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A91916DD30; Thu, 28 Feb 2019 14:42:54 +0000 (UTC) (envelope-from dvl@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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 9C32C6647; Thu, 28 Feb 2019 14:42:54 +0000 (UTC) (envelope-from dvl@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x1SEgspB088876; Thu, 28 Feb 2019 14:42:54 GMT (envelope-from dvl@FreeBSD.org) Received: (from dvl@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x1SEgsN7088874; Thu, 28 Feb 2019 14:42:54 GMT (envelope-from dvl@FreeBSD.org) Message-Id: <201902281442.x1SEgsN7088874@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: dvl set sender to dvl@FreeBSD.org using -f From: Dan Langille Date: Thu, 28 Feb 2019 14:42:54 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r494153 - head/security/cyberchef X-SVN-Group: ports-head X-SVN-Commit-Author: dvl X-SVN-Commit-Paths: head/security/cyberchef X-SVN-Commit-Revision: 494153 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: A91916DD30 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.96 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_SHORT(-0.96)[-0.961,0]; NEURAL_HAM_LONG(-1.00)[-0.999,0] X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Feb 2019 14:42:55 -0000 Author: dvl Date: Thu Feb 28 14:42:53 2019 New Revision: 494153 URL: https://svnweb.freebsd.org/changeset/ports/494153 Log: Unbreak the port. Quite some time ago, the vendor code started using Node.js and I notice now that they started releasing ready-to-install files with each release. I have modified the port to download and install those two files. Modified: head/security/cyberchef/Makefile head/security/cyberchef/distinfo head/security/cyberchef/pkg-plist Modified: head/security/cyberchef/Makefile ============================================================================== --- head/security/cyberchef/Makefile Thu Feb 28 14:32:17 2019 (r494152) +++ head/security/cyberchef/Makefile Thu Feb 28 14:42:53 2019 (r494153) @@ -3,16 +3,18 @@ PORTNAME= cyberchef PORTVERSION= 8.24.2 +PORTREVISION= 1 DISTVERSIONPREFIX= v CATEGORIES= security +DISTFILES= cyberchef.htm CyberChef.js +EXTRACT_ONLY= MAINTAINER= dvl@FreeBSD.org COMMENT= Cyber operations within a web browser LICENSE= APACHE20 -LICENSE_FILE= ${WRKSRC}/LICENSE -USE_GITHUB= yes +USE_GITHUB= nodefault GH_ACCOUNT= gchq GH_PROJECT= CyberChef @@ -20,8 +22,8 @@ NO_BUILD= yes NO_ARCH= yes do-install: - (cd ${WRKSRC}/src/web/static && ${COPYTREE_SHARE} images ${STAGEDIR}${WWWDIR}/) - ${INSTALL} ${WRKSRC}/src/web/html/index.html ${STAGEDIR}${WWWDIR}/ - + ${MKDIR} ${STAGEDIR}${WWWDIR} + ${INSTALL} ${DISTDIR}/cyberchef.htm ${STAGEDIR}${WWWDIR}/ + ${INSTALL} ${DISTDIR}/CyberChef.js ${STAGEDIR}${WWWDIR}/ .include Modified: head/security/cyberchef/distinfo ============================================================================== --- head/security/cyberchef/distinfo Thu Feb 28 14:32:17 2019 (r494152) +++ head/security/cyberchef/distinfo Thu Feb 28 14:42:53 2019 (r494153) @@ -1,3 +1,5 @@ -TIMESTAMP = 1551305039 -SHA256 (gchq-CyberChef-v8.24.2_GH0.tar.gz) = 9fdd3d287810c74f0e525be1c131167e9fffc0846a43d75718dc245e069a9fd3 -SIZE (gchq-CyberChef-v8.24.2_GH0.tar.gz) = 1284638 +TIMESTAMP = 1551363155 +SHA256 (cyberchef.htm) = 9fdd3d287810c74f0e525be1c131167e9fffc0846a43d75718dc245e069a9fd3 +SIZE (cyberchef.htm) = 1284638 +SHA256 (CyberChef.js) = 9fdd3d287810c74f0e525be1c131167e9fffc0846a43d75718dc245e069a9fd3 +SIZE (CyberChef.js) = 1284638 Modified: head/security/cyberchef/pkg-plist ============================================================================== --- head/security/cyberchef/pkg-plist Thu Feb 28 14:32:17 2019 (r494152) +++ head/security/cyberchef/pkg-plist Thu Feb 28 14:42:53 2019 (r494153) @@ -1,14 +1,2 @@ -%%WWWDIR%%/images/IMAGE_LICENCES.md -%%WWWDIR%%/images/cook_female-32x32.png -%%WWWDIR%%/images/cook_male-32x32.png -%%WWWDIR%%/images/cyberchef-128x128.png -%%WWWDIR%%/images/cyberchef-256x256.png -%%WWWDIR%%/images/cyberchef-32x32.png -%%WWWDIR%%/images/cyberchef-512x512.png -%%WWWDIR%%/images/cyberchef-64x64.png -%%WWWDIR%%/images/favicon.ico -%%WWWDIR%%/images/file-128x128.png -%%WWWDIR%%/images/file-32x32.png -%%WWWDIR%%/images/fork_me.png -%%WWWDIR%%/images/gitter-badge.svg -%%WWWDIR%%/index.html +%%WWWDIR%%/CyberChef.js +%%WWWDIR%%/cyberchef.htm