svn commit: r494153 - head/security/cyberchef
Dan Langille
dvl at FreeBSD.org
Thu Feb 28 14:42:55 UTC 2019
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 at 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 <bsd.port.mk>
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
More information about the svn-ports-all
mailing list