update to fierce-1.2.2

This commit is contained in:
jasper 2018-07-10 13:30:21 +00:00
parent da22f9ce4f
commit 94d53fbdd5
4 changed files with 22 additions and 23 deletions

View File

@ -1,8 +1,8 @@
# $OpenBSD: Makefile,v 1.1.1.1 2017/11/20 17:56:08 jasper Exp $
# $OpenBSD: Makefile,v 1.2 2018/07/10 13:30:21 jasper Exp $
COMMENT = DNS reconnaissance tool for locating non-contiguous IP space
MODPY_EGG_VERSION = 1.2.0
MODPY_EGG_VERSION = 1.2.2
GH_ACCOUNT = mschwager
GH_PROJECT = fierce
GH_TAGNAME = ${MODPY_EGG_VERSION}
@ -22,10 +22,6 @@ RUN_DEPENDS = net/py-dnspython${MODPY_FLAVOR}
TEST_DEPENDS = ${RUN_DEPENDS}
pre-configure:
${SUBST_CMD} ${WRKSRC}/fierce.py
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/fierce/
mv ${PREFIX}/lists ${PREFIX}/share/fierce/
${SUBST_CMD} ${WRKSRC}/fierce/fierce.py
.include <bsd.port.mk>

View File

@ -1,2 +1,2 @@
SHA256 (fierce-1.2.0.tar.gz) = eMspp6hBmwxTchBXXc+6Vs2hnv4zUgMb0nfZ0l8aD/E=
SIZE (fierce-1.2.0.tar.gz) = 112289
SHA256 (fierce-1.2.2.tar.gz) = vIY0V/4i3ZNkKhyZMteo9I20dU4N1ElBTdEeo7BFszU=
SIZE (fierce-1.2.2.tar.gz) = 113981

View File

@ -1,14 +1,14 @@
$OpenBSD: patch-fierce_py,v 1.1.1.1 2017/11/20 17:56:08 jasper Exp $
$OpenBSD: patch-fierce_fierce_py,v 1.1 2018/07/10 13:30:21 jasper Exp $
Index: fierce.py
--- fierce.py.orig
+++ fierce.py
@@ -21,7 +21,7 @@ import dns.zone
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("${PREFIX}/share/fierce", "lists", filename)
+ filename_path = os.path.join("${MODPY_SITEPKG}/fierce/", "lists", filename)
if os.path.exists(filename_path):
return os.path.abspath(filename_path)

View File

@ -1,6 +1,6 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2017/11/20 17:56:08 jasper Exp $
@comment $OpenBSD: PLIST,v 1.2 2018/07/10 13:30:21 jasper Exp $
bin/fierce
lib/python${MODPY_VERSION}/site-packages/${MODPY_PYCACHE}fierce.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/fierce/
lib/python${MODPY_VERSION}/site-packages/fierce-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/
lib/python${MODPY_VERSION}/site-packages/fierce-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/PKG-INFO
lib/python${MODPY_VERSION}/site-packages/fierce-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/SOURCES.txt
@ -8,9 +8,12 @@ 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/entry_points.txt
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.py
share/fierce/
share/fierce/lists/
share/fierce/lists/20000.txt
share/fierce/lists/5000.txt
share/fierce/lists/default.txt
lib/python${MODPY_VERSION}/site-packages/fierce/__init__.py
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
lib/python${MODPY_VERSION}/site-packages/fierce/lists/
lib/python${MODPY_VERSION}/site-packages/fierce/lists/20000.txt
lib/python${MODPY_VERSION}/site-packages/fierce/lists/5000.txt
lib/python${MODPY_VERSION}/site-packages/fierce/lists/default.txt