From c56ca4657c82f8d57d56d9e4b7e102be44e4399e Mon Sep 17 00:00:00 2001 From: purplerain Date: Sun, 1 Oct 2023 00:44:35 +0000 Subject: [PATCH] sync ports with The Matrix --- security/gmapsapiscanner/Makefile | 36 ------------------- security/gmapsapiscanner/distinfo | 2 -- .../patches/patch-maps_api_scanner_python3_py | 29 --------------- security/gmapsapiscanner/pkg/DESCR | 2 -- security/gmapsapiscanner/pkg/MESSAGE | 3 -- security/gmapsapiscanner/pkg/PLIST | 6 ---- 6 files changed, 78 deletions(-) delete mode 100644 security/gmapsapiscanner/Makefile delete mode 100644 security/gmapsapiscanner/distinfo delete mode 100644 security/gmapsapiscanner/patches/patch-maps_api_scanner_python3_py delete mode 100644 security/gmapsapiscanner/pkg/DESCR delete mode 100644 security/gmapsapiscanner/pkg/MESSAGE delete mode 100644 security/gmapsapiscanner/pkg/PLIST diff --git a/security/gmapsapiscanner/Makefile b/security/gmapsapiscanner/Makefile deleted file mode 100644 index 995a3575e..000000000 --- a/security/gmapsapiscanner/Makefile +++ /dev/null @@ -1,36 +0,0 @@ -COMMENT= google maps API scanner - -MODPY_EGG_VERSION= 0.1 -GH_COMMIT= 0b305fc2d62150c56d3d383d36a04ff1c181964c -GH_ACCOUNT= ozguralp -GH_PROJECT= gmapsapiscanner - -DISTNAME= ${GH_PROJECT}-${MODPY_EGG_VERSION} - -CATEGORIES= security - -HOMEPAGE= https://github.com/ozguralp/gmapsapiscanner - -MAINTAINER= Purple Rain - -# MIT -PERMIT_PACKAGE= Yes - -MODULES= lang/python - -RUN_DEPENDS= www/py-requests${MODPY_FLAVOR} - -NO_BUILD= Yes - -INSTDIR= ${PREFIX}/share/gmapsapiscanner - -do-install: - cp -r ${WRKDIST} ${INSTDIR} - chmod 755 ${INSTDIR}/maps_api_scanner_python3.py - ln -s ${TRUEPREFIX}/share/gmapsapiscanner/maps_api_scanner_python3.py \ - ${PREFIX}/bin/gmapsapiscanner - -post-install: - rm -rf ${INSTDIR}/maps_api_scanner.py - -.include diff --git a/security/gmapsapiscanner/distinfo b/security/gmapsapiscanner/distinfo deleted file mode 100644 index 4a8a5bfee..000000000 --- a/security/gmapsapiscanner/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -SHA256 (gmapsapiscanner-0.1-0b305fc2.tar.gz) = N7bKCvTEqaeZ1hHIfua7Os35FM3qyf1aOgTcxJ0GRRk= -SIZE (gmapsapiscanner-0.1-0b305fc2.tar.gz) = 6776 diff --git a/security/gmapsapiscanner/patches/patch-maps_api_scanner_python3_py b/security/gmapsapiscanner/patches/patch-maps_api_scanner_python3_py deleted file mode 100644 index 505d5305e..000000000 --- a/security/gmapsapiscanner/patches/patch-maps_api_scanner_python3_py +++ /dev/null @@ -1,29 +0,0 @@ -$OpenBSD$ - -Index: maps_api_scanner_python3.py ---- maps_api_scanner_python3.py.orig -+++ maps_api_scanner_python3.py -@@ -1,3 +1,5 @@ -+#!/usr/bin/env python3 -+ - import requests - import warnings - import json -@@ -265,12 +267,12 @@ if len(sys.argv) > 1: - scan_gmaps(sys.argv[2]) - else: - print("Missing api key, aborting.") -- print("Either use --api-key as argument such \"python maps_api_scanner.py --api-key KEY\" or directly run script as \"python maps_api_scanner.py\" and supply API key via input.") -+ print("usage: $ gmapsapiscanner --api-key KEY") - elif sys.argv[1] == "--help" or sys.argv[1] == "-h": -- print("Either use --api-key as argument such \"python maps_api_scanner.py --api-key KEY\" or directly run script as \"python maps_api_scanner.py\" and supply API key via input.") -+ print("usage: $ gmapsapiscanner --api-key KEY") - else: - print("Invalid arguments, aborting.") -- print("Either use --api-key as argument such \"python maps_api_scanner.py --api-key KEY\" or directly run script as \"python maps_api_scanner.py\" and supply API key via input.") -+ print("usage: $ gmapsapiscanner --api-key KEY") - else: - apikey = input("Please enter the Google Maps API key you wanted to test: ") -- scan_gmaps(apikey) -\ No newline at end of file -+ scan_gmaps(apikey) diff --git a/security/gmapsapiscanner/pkg/DESCR b/security/gmapsapiscanner/pkg/DESCR deleted file mode 100644 index e73f46b15..000000000 --- a/security/gmapsapiscanner/pkg/DESCR +++ /dev/null @@ -1,2 +0,0 @@ -Used for determining whether a leaked/found Google Maps API Key -is vulnerable to unauthorized access by other applications or not. diff --git a/security/gmapsapiscanner/pkg/MESSAGE b/security/gmapsapiscanner/pkg/MESSAGE deleted file mode 100644 index 0fa2231c2..000000000 --- a/security/gmapsapiscanner/pkg/MESSAGE +++ /dev/null @@ -1,3 +0,0 @@ -How to use: - -$ gmapsapiscanner \ No newline at end of file diff --git a/security/gmapsapiscanner/pkg/PLIST b/security/gmapsapiscanner/pkg/PLIST deleted file mode 100644 index feeb359ec..000000000 --- a/security/gmapsapiscanner/pkg/PLIST +++ /dev/null @@ -1,6 +0,0 @@ -bin/gmapsapiscanner -share/gmapsapiscanner/ -share/gmapsapiscanner/Dockerfile -share/gmapsapiscanner/LICENSE -share/gmapsapiscanner/README.md -share/gmapsapiscanner/maps_api_scanner_python3.py