aboutsummaryrefslogtreecommitdiff
path: root/security/cyberchef
diff options
context:
space:
mode:
authorDan Langille <dvl@FreeBSD.org>2019-02-28 14:42:53 +0000
committerDan Langille <dvl@FreeBSD.org>2019-02-28 14:42:53 +0000
commit327204ef662095c431cf89d1e87dec1b082c25df (patch)
treeed195f33973975a5e19230c83b360cef208812dc /security/cyberchef
parentccf486033c467677a2c2c24a6f56277f1b866a0a (diff)
downloadports-327204ef662095c431cf89d1e87dec1b082c25df.tar.gz
ports-327204ef662095c431cf89d1e87dec1b082c25df.zip
Notes
Diffstat (limited to 'security/cyberchef')
-rw-r--r--security/cyberchef/Makefile12
-rw-r--r--security/cyberchef/distinfo8
-rw-r--r--security/cyberchef/pkg-plist16
3 files changed, 14 insertions, 22 deletions
diff --git a/security/cyberchef/Makefile b/security/cyberchef/Makefile
index bf16982f46eb..eca054a6946d 100644
--- a/security/cyberchef/Makefile
+++ b/security/cyberchef/Makefile
@@ -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 <bsd.port.mk>
diff --git a/security/cyberchef/distinfo b/security/cyberchef/distinfo
index 164152385441..2f9a584f583b 100644
--- a/security/cyberchef/distinfo
+++ b/security/cyberchef/distinfo
@@ -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
diff --git a/security/cyberchef/pkg-plist b/security/cyberchef/pkg-plist
index 3162221b0ac1..309a950783a3 100644
--- a/security/cyberchef/pkg-plist
+++ b/security/cyberchef/pkg-plist
@@ -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