aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorAntoine Brodin <antoine@FreeBSD.org>2021-01-01 19:45:05 +0800
committerAntoine Brodin <antoine@FreeBSD.org>2021-01-01 19:45:05 +0800
commit189c1e55213d2a73bf31c7d575bd79e04fc2415c (patch)
tree7d938d3c8bf3c845b5fb3b2916b09fa107eb1428 /security
parentca608702cadad1c40d26a2558ad4e81666469849 (diff)
downloadfreebsd-ports-gnome-189c1e55213d2a73bf31c7d575bd79e04fc2415c.tar.gz
freebsd-ports-gnome-189c1e55213d2a73bf31c7d575bd79e04fc2415c.tar.zst
freebsd-ports-gnome-189c1e55213d2a73bf31c7d575bd79e04fc2415c.zip
Re-apply part of r559792 (INDEX and bulk -a OK)
With hat: portmgr
Diffstat (limited to 'security')
-rw-r--r--security/Makefile2
-rw-r--r--security/py-backports.ssl_match_hostname/Makefile30
-rw-r--r--security/py-backports.ssl_match_hostname/distinfo3
-rw-r--r--security/py-backports.ssl_match_hostname/pkg-descr3
-rw-r--r--security/sandsifter/Makefile51
-rw-r--r--security/sandsifter/distinfo3
-rw-r--r--security/sandsifter/files/patch-sifter.py50
-rw-r--r--security/sandsifter/pkg-descr12
-rw-r--r--security/sandsifter/pkg-message12
-rw-r--r--security/sandsifter/pkg-plist16
10 files changed, 0 insertions, 182 deletions
diff --git a/security/Makefile b/security/Makefile
index 28d155435462..6e16bac1947e 100644
--- a/security/Makefile
+++ b/security/Makefile
@@ -848,7 +848,6 @@
SUBDIR += py-artifacts
SUBDIR += py-asyncssh
SUBDIR += py-authlib
- SUBDIR += py-backports.ssl_match_hostname
SUBDIR += py-bcrypt
SUBDIR += py-btchip-python
SUBDIR += py-cerealizer
@@ -1159,7 +1158,6 @@
SUBDIR += samhain-client
SUBDIR += samhain-server
SUBDIR += sancp
- SUBDIR += sandsifter
SUBDIR += sasp
SUBDIR += scanlogd
SUBDIR += scanssh
diff --git a/security/py-backports.ssl_match_hostname/Makefile b/security/py-backports.ssl_match_hostname/Makefile
deleted file mode 100644
index e10d76c0fa69..000000000000
--- a/security/py-backports.ssl_match_hostname/Makefile
+++ /dev/null
@@ -1,30 +0,0 @@
-# $FreeBSD$
-
-PORTNAME= backports.ssl_match_hostname
-PORTVERSION= 3.5.0.1
-PORTREVISION= 1
-CATEGORIES= security python
-MASTER_SITES= CHEESESHOP
-PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
-
-MAINTAINER= lifanov@FreeBSD.org
-COMMENT= Backport of the ssl_match_hostname function from Python 3.5
-
-LICENSE= PSFL
-
-RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}backports>0:devel/py-backports@${PY_FLAVOR}
-
-USES= python:2.7
-USE_PYTHON= autoplist distutils
-
-POST_PLIST= trim-backports-namespace
-
-post-install:
- @${RM} ${STAGEDIR}${PYTHON_SITELIBDIR}/backports/__init__.py*
- @${RM} -r ${STAGEDIR}${PYTHON_SITELIBDIR}/backports/__pycache__
-
-trim-backports-namespace:
- @${REINPLACE_CMD} '/backports\/__init__.py*/d' ${TMPPLIST}
- @${REINPLACE_CMD} '/backports\/__pycache__*/d' ${TMPPLIST}
-
-.include <bsd.port.mk>
diff --git a/security/py-backports.ssl_match_hostname/distinfo b/security/py-backports.ssl_match_hostname/distinfo
deleted file mode 100644
index cc635f67af70..000000000000
--- a/security/py-backports.ssl_match_hostname/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-TIMESTAMP = 1491854717
-SHA256 (backports.ssl_match_hostname-3.5.0.1.tar.gz) = 502ad98707319f4a51fa2ca1c677bd659008d27ded9f6380c79e8932e38dcdf2
-SIZE (backports.ssl_match_hostname-3.5.0.1.tar.gz) = 5605
diff --git a/security/py-backports.ssl_match_hostname/pkg-descr b/security/py-backports.ssl_match_hostname/pkg-descr
deleted file mode 100644
index 65949bfb0344..000000000000
--- a/security/py-backports.ssl_match_hostname/pkg-descr
+++ /dev/null
@@ -1,3 +0,0 @@
-Backport of Python 3.5's standard library function ssl.match_hostname
-
-WWW: https://bitbucket.org/brandon/backports.ssl_match_hostname
diff --git a/security/sandsifter/Makefile b/security/sandsifter/Makefile
deleted file mode 100644
index d4005a375d3a..000000000000
--- a/security/sandsifter/Makefile
+++ /dev/null
@@ -1,51 +0,0 @@
-# $FreeBSD$
-
-PORTNAME= sandsifter
-PORTVERSION= 1.04
-DISTVERSIONPREFIX=v
-PORTREVISION= 1
-CATEGORIES= security
-
-MAINTAINER= rene@FreeBSD.org
-COMMENT= Processor fuzzer for x86 CPUs
-
-LICENSE= BSD3CLAUSE
-LICENSE_FILE= ${WRKSRC}/LICENSE
-
-DEPRECATED= Uses deprecated version of python, see https://github.com/rigred/sandsifter/issues/10
-EXPIRATION_DATE= 2020-12-31
-
-ONLY_FOR_ARCHS= amd64 i386
-ONLY_FOR_ARCHS_REASON=Designed for x86
-
-BUILD_DEPENDS= ${LOCALBASE}/include/capstone/capstone.h:devel/capstone4
-RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}capstone>0:devel/py-capstone@${PY_FLAVOR}
-
-USES= gmake python:2.7 localbase shebangfix
-USE_GITHUB= yes
-GH_ACCOUNT= rigred
-
-SHEBANG_FILES= sifter.py sifter-summarize.py
-
-OPTIONS_DEFINE= DOCS
-
-PORTDOCS= references/*
-
-post-patch:
- ${REINPLACE_CMD} -e 's,/usr/sbin,${PREFIX}/sbin,' ${WRKSRC}/sifter.py
-
-do-install:
- (cd ${WRKSRC} && ${COPYTREE_SHARE} gui ${STAGEDIR}${DATADIR})
- (cd ${WRKSRC} && ${COPYTREE_SHARE} pyutil ${STAGEDIR}${DATADIR})
- ${INSTALL_PROGRAM} ${WRKSRC}/sifter-injector ${STAGEDIR}${PREFIX}/sbin
- ${INSTALL_SCRIPT} ${WRKSRC}/sifter.py ${STAGEDIR}${DATADIR}
- ${INSTALL_SCRIPT} ${WRKSRC}/sifter-summarize.py ${STAGEDIR}${DATADIR}
- ${RLN} ${STAGEDIR}${DATADIR}/sifter.py ${STAGEDIR}${PREFIX}/bin/sifter
- ${RLN} ${STAGEDIR}${DATADIR}/sifter-summarize.py ${STAGEDIR}${PREFIX}/bin/sifter-summarize
- ${MKDIR} ${STAGEDIR}${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}
-
-post-install-DOCS-on:
- ${INSTALL_DATA} ${WRKSRC}/references/* ${STAGEDIR}${DOCSDIR}
-
-.include <bsd.port.mk>
diff --git a/security/sandsifter/distinfo b/security/sandsifter/distinfo
deleted file mode 100644
index 6149dfc4ca09..000000000000
--- a/security/sandsifter/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-TIMESTAMP = 1564689727
-SHA256 (rigred-sandsifter-v1.04_GH0.tar.gz) = c62087155077190f7abe3e2646595b336b8f7f626e7fae63af5dbcc7c66f33be
-SIZE (rigred-sandsifter-v1.04_GH0.tar.gz) = 5288475
diff --git a/security/sandsifter/files/patch-sifter.py b/security/sandsifter/files/patch-sifter.py
deleted file mode 100644
index 115f52e5d8bf..000000000000
--- a/security/sandsifter/files/patch-sifter.py
+++ /dev/null
@@ -1,50 +0,0 @@
---- sifter.py.orig 2019-07-31 14:21:48 UTC
-+++ sifter.py
-@@ -59,7 +59,7 @@ class InjectorResults(Structure):
- ('signum', c_int),
- ('sicode', c_int),
- ('siaddr', c_int),
-- ]
-+ ]
-
- class Settings:
- SYNTH_MODE_RANDOM = "r"
-@@ -643,8 +643,8 @@ class Gui:
- # red. doesn't happen if using a new random string each
- # time; doesn't happen if using a constant string each
- # time. only happens with the specific implementation below.
-- #TODO: on systems with limited color settings, this
-- # makes the background look like random characters
-+ #TODO: on systems with limited color settings, this
-+ # makes the background look like random characters
- random_string = ("%02x" % random.randint(0,100)) * (raw_width-2)
- self.stdscr.addstr(top + 1 + y, left, random_string, curses.color_pair(self.BLACK))
-
-@@ -709,7 +709,7 @@ class Gui:
-
- def get_cpu_info():
- cpu_path = "/proc/cpuinfo"
-- if platform.system == "FreeBSD":
-+ if platform.system() == "FreeBSD":
- cpu_path = "/compat/linux%s" % cpu_path
- with open(cpu_path, "r") as f:
- cpu = [l.strip() for l in f.readlines()[:7]]
-@@ -790,7 +790,8 @@ def main():
- # Pick the first valid injector entry, this is not ideal but it should work fine
- INJECTOR = INJECTOR[0]
- print("Using injector from: %s" % INJECTOR)
-- print("Injector BuildID: %s" % subprocess.check_output(['eu-readelf', '-n', INJECTOR]).split()[-1])
-+ if platform.system() != "FreeBSD":
-+ print("Injector BuildID: %s" % subprocess.check_output(['eu-readelf', '-n', INJECTOR]).split()[-1])
-
-
- parser = argparse.ArgumentParser()
-@@ -851,7 +852,7 @@ def main():
- TICK = os.path.join(OUTPUT, "tick")
- LAST = os.path.join(OUTPUT, "last")
- else:
-- print("warning: no log output path (--out) specified, results will be recorded to %s \nManualy specify a (--out) output path if you want your results recorded elsewhere." % OUTPUT)
-+ print("warning: no log output path (--out) specified, results will be recorded to %s \nManualy specify a (--out) output path if you want your results recorded elsewhere." % OUTPUT)
- # Wait to show message to user.
- time.sleep(3)
- # Create /tmp directory if it does not exist already, here we use much less strict checks.
diff --git a/security/sandsifter/pkg-descr b/security/sandsifter/pkg-descr
deleted file mode 100644
index 639ced41021a..000000000000
--- a/security/sandsifter/pkg-descr
+++ /dev/null
@@ -1,12 +0,0 @@
-The sandsifter audits x86 processors for hidden instructions and
-hardware bugs, by systematically generating machine code to search
-through a processor's instruction set, and monitoring execution for
-anomalies. Sandsifter has uncovered secret processor instructions from
-every major vendor; ubiquitous software bugs in disassemblers,
-assemblers, and emulators; flaws in enterprise hypervisors; and both
-benign and security-critical hardware bugs in x86 chips.
-
-Run this program under sudo so that it will use the correct directories
-to store its data.
-
-WWW: https://github.com/rigred/sandsifter
diff --git a/security/sandsifter/pkg-message b/security/sandsifter/pkg-message
deleted file mode 100644
index ca1be8b40128..000000000000
--- a/security/sandsifter/pkg-message
+++ /dev/null
@@ -1,12 +0,0 @@
-[
-{
- message: <<EOM
-Before using this tool you should do the following as root:
-# sysctl security.bsd.map_at_zero=1
-# mount -t linprocfs linproc /compat/linux/proc
-
-Also make sure you use a 256-color capable terminal of at least 40 rows high.
-EOM
- type: install
-}
-]
diff --git a/security/sandsifter/pkg-plist b/security/sandsifter/pkg-plist
deleted file mode 100644
index 606c95e8243f..000000000000
--- a/security/sandsifter/pkg-plist
+++ /dev/null
@@ -1,16 +0,0 @@
-bin/sifter
-bin/sifter-summarize
-sbin/sifter-injector
-%%PORTDOCS%%%%DOCSDIR%%/README.md
-%%PORTDOCS%%%%DOCSDIR%%/domas_breaking_the_x86_isa.pdf
-%%PORTDOCS%%%%DOCSDIR%%/domas_breaking_the_x86_isa_wp.pdf
-%%PORTDOCS%%%%DOCSDIR%%/sandsifter.gif
-%%PORTDOCS%%%%DOCSDIR%%/screenshot.png
-%%PORTDOCS%%%%DOCSDIR%%/summarizer.png
-%%DATADIR%%/gui/__init__.py
-%%DATADIR%%/gui/gui.py
-%%DATADIR%%/pyutil/__init__.py
-%%DATADIR%%/pyutil/colors.py
-%%DATADIR%%/pyutil/progress.py
-%%DATADIR%%/sifter.py
-%%DATADIR%%/sifter-summarize.py