parent
ebabd5efc3
commit
b1a67a0628
|
@ -1,12 +1,11 @@
|
|||
# $OpenBSD: Makefile,v 1.5 2019/07/12 20:49:01 sthen Exp $
|
||||
# $OpenBSD: Makefile,v 1.6 2020/05/30 12:09:31 jasper Exp $
|
||||
|
||||
COMMENT = DNS reconnaissance tool for locating non-contiguous IP space
|
||||
|
||||
MODPY_EGG_VERSION = 1.2.2
|
||||
MODPY_EGG_VERSION = 1.4.0
|
||||
GH_ACCOUNT = mschwager
|
||||
GH_PROJECT = fierce
|
||||
GH_TAGNAME = ${MODPY_EGG_VERSION}
|
||||
REVISION = 0
|
||||
|
||||
CATEGORIES = security
|
||||
|
||||
|
@ -22,6 +21,7 @@ MODPY_SETUPTOOLS = Yes
|
|||
RUN_DEPENDS = net/py-dnspython${MODPY_FLAVOR}
|
||||
|
||||
pre-configure:
|
||||
${SUBST_CMD} ${WRKSRC}/fierce/fierce.py
|
||||
sed -i 's,os.path.dirname(__file__),"${MODPY_SITEPKG}/fierce/",' \
|
||||
${WRKSRC}/fierce/fierce.py
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
SHA256 (fierce-1.2.2.tar.gz) = vIY0V/4i3ZNkKhyZMteo9I20dU4N1ElBTdEeo7BFszU=
|
||||
SIZE (fierce-1.2.2.tar.gz) = 113981
|
||||
SHA256 (fierce-1.4.0.tar.gz) = b/hUKOBqpx+0tS3k7vPPG268sPQ88fzwFQ9ejctnudE=
|
||||
SIZE (fierce-1.4.0.tar.gz) = 114506
|
||||
|
|
|
@ -1,14 +0,0 @@
|
|||
$OpenBSD: patch-fierce_fierce_py,v 1.1 2018/07/10 13:30:21 jasper Exp $
|
||||
|
||||
Index: fierce/fierce.py
|
||||
--- fierce/fierce.py.orig
|
||||
+++ fierce/fierce.py
|
||||
@@ -54,7 +54,7 @@ def unvisited_closure():
|
||||
def find_subdomain_list_file(filename):
|
||||
# First check the list directory relative to where we are. This
|
||||
# will typically happen if they simply cloned the Github repository
|
||||
- filename_path = os.path.join(os.path.dirname(__file__), "lists", filename)
|
||||
+ filename_path = os.path.join("${MODPY_SITEPKG}/fierce/", "lists", filename)
|
||||
if os.path.exists(filename_path):
|
||||
return os.path.abspath(filename_path)
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
@comment $OpenBSD: PLIST,v 1.2 2018/07/10 13:30:21 jasper Exp $
|
||||
@comment $OpenBSD: PLIST,v 1.3 2020/05/30 12:09:31 jasper Exp $
|
||||
bin/fierce
|
||||
lib/python${MODPY_VERSION}/site-packages/fierce/
|
||||
lib/python${MODPY_VERSION}/site-packages/fierce-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/
|
||||
|
@ -9,7 +9,7 @@ lib/python${MODPY_VERSION}/site-packages/fierce-${MODPY_EGG_VERSION}-py${MODPY_V
|
|||
lib/python${MODPY_VERSION}/site-packages/fierce-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/requires.txt
|
||||
lib/python${MODPY_VERSION}/site-packages/fierce-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/top_level.txt
|
||||
lib/python${MODPY_VERSION}/site-packages/fierce/__init__.py
|
||||
lib/python${MODPY_VERSION}/site-packages/fierce/${MODPY_PYCACHE}/
|
||||
${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/fierce/${MODPY_PYCACHE}/
|
||||
lib/python${MODPY_VERSION}/site-packages/fierce/${MODPY_PYCACHE}__init__.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/fierce/${MODPY_PYCACHE}fierce.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/fierce/fierce.py
|
||||
|
|
Loading…
Reference in New Issue
Block a user