aboutsummaryrefslogtreecommitdiff
path: root/security/cyberchef
diff options
context:
space:
mode:
authorDan Langille <dvl@FreeBSD.org>2019-02-28 17:29:01 +0000
committerDan Langille <dvl@FreeBSD.org>2019-02-28 17:29:01 +0000
commit402c40fb8997c5311a442ac385a8c36b62183a87 (patch)
tree95e4becc09831d3ea01365a902a9e1093ec32348 /security/cyberchef
parentf084a84c39c71b0a6c1d2994e080c0bd849e0b02 (diff)
downloadports-402c40fb8997c5311a442ac385a8c36b62183a87.tar.gz
ports-402c40fb8997c5311a442ac385a8c36b62183a87.zip
Attempt #2 at fetching non-tarballs.
I think I have this right now.
Notes
Notes: svn path=/head/; revision=494166
Diffstat (limited to 'security/cyberchef')
-rw-r--r--security/cyberchef/Makefile10
-rw-r--r--security/cyberchef/distinfo8
-rw-r--r--security/cyberchef/pkg-plist3
3 files changed, 9 insertions, 12 deletions
diff --git a/security/cyberchef/Makefile b/security/cyberchef/Makefile
index eca054a6946d..371c57096993 100644
--- a/security/cyberchef/Makefile
+++ b/security/cyberchef/Makefile
@@ -3,17 +3,18 @@
PORTNAME= cyberchef
PORTVERSION= 8.24.2
-PORTREVISION= 1
+PORTREVISION= 2
DISTVERSIONPREFIX= v
CATEGORIES= security
-DISTFILES= cyberchef.htm CyberChef.js
-EXTRACT_ONLY=
+DISTFILES= cyberchef.htm
+EXTRACT_ONLY= # none
MAINTAINER= dvl@FreeBSD.org
COMMENT= Cyber operations within a web browser
LICENSE= APACHE20
+MASTER_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/releases/download/${GH_TAGNAME}/
USE_GITHUB= nodefault
GH_ACCOUNT= gchq
GH_PROJECT= CyberChef
@@ -23,7 +24,6 @@ NO_ARCH= yes
do-install:
${MKDIR} ${STAGEDIR}${WWWDIR}
- ${INSTALL} ${DISTDIR}/cyberchef.htm ${STAGEDIR}${WWWDIR}/
- ${INSTALL} ${DISTDIR}/CyberChef.js ${STAGEDIR}${WWWDIR}/
+ ${INSTALL} ${DISTDIR}/cyberchef.htm ${STAGEDIR}${WWWDIR}/index.html
.include <bsd.port.mk>
diff --git a/security/cyberchef/distinfo b/security/cyberchef/distinfo
index 2f9a584f583b..287a5e0ede21 100644
--- a/security/cyberchef/distinfo
+++ b/security/cyberchef/distinfo
@@ -1,5 +1,3 @@
-TIMESTAMP = 1551363155
-SHA256 (cyberchef.htm) = 9fdd3d287810c74f0e525be1c131167e9fffc0846a43d75718dc245e069a9fd3
-SIZE (cyberchef.htm) = 1284638
-SHA256 (CyberChef.js) = 9fdd3d287810c74f0e525be1c131167e9fffc0846a43d75718dc245e069a9fd3
-SIZE (CyberChef.js) = 1284638
+TIMESTAMP = 1551374789
+SHA256 (cyberchef.htm) = cdc1a608d1af21fd9d9b673fd35c603daccaa5ab62fb9ea05617d2c76f6be000
+SIZE (cyberchef.htm) = 11937259
diff --git a/security/cyberchef/pkg-plist b/security/cyberchef/pkg-plist
index 309a950783a3..6f232237f9b1 100644
--- a/security/cyberchef/pkg-plist
+++ b/security/cyberchef/pkg-plist
@@ -1,2 +1 @@
-%%WWWDIR%%/CyberChef.js
-%%WWWDIR%%/cyberchef.htm
+%%WWWDIR%%/index.html