git: 79d8434c9bda - main - security/hashcat: update to version 6.2.0
Stefan Eßer
se at FreeBSD.org
Sat May 15 17:29:51 UTC 2021
The branch main has been updated by se:
URL: https://cgit.FreeBSD.org/ports/commit/?id=79d8434c9bda995b0613b1673af1e4f0d3462cb5
commit 79d8434c9bda995b0613b1673af1e4f0d3462cb5
Author: Stefan Eßer <se at FreeBSD.org>
AuthorDate: 2021-05-15 17:29:23 +0000
Commit: Stefan Eßer <se at FreeBSD.org>
CommitDate: 2021-05-15 17:29:23 +0000
security/hashcat: update to version 6.2.0
---
security/hashcat/files/patch-src_Makefile | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/security/hashcat/files/patch-src_Makefile b/security/hashcat/files/patch-src_Makefile
new file mode 100644
index 000000000000..718b063f5fdc
--- /dev/null
+++ b/security/hashcat/files/patch-src_Makefile
@@ -0,0 +1,26 @@
+--- src/Makefile.orig 2021-05-14 17:08:08 UTC
++++ src/Makefile
+@@ -80,7 +80,9 @@ endif
+ ifeq ($(UNAME),FreeBSD)
+ CC := cc
+ CXX := c++
+-SED := gsed
++CXXLIB := -lc++
++SED := /usr/bin/sed
++SED_IN_PLACE := -i ""
+ endif
+
+ ##
+@@ -586,10 +588,10 @@ endif
+
+ ifeq ($(SHARED),1)
+ $(HASHCAT_FRONTEND): src/main.c $(HASHCAT_LIBRARY)
+- $(CC) $(CCFLAGS) $(CFLAGS_NATIVE) $^ -o $@ $(HASHCAT_LIBRARY) $(LFLAGS_NATIVE) -DCOMPTIME=$(COMPTIME) -DVERSION_TAG=\"$(VERSION_TAG)\" -DINSTALL_FOLDER=\"$(INSTALL_FOLDER)\" -DSHARED_FOLDER=\"$(SHARED_FOLDER)\" -DDOCUMENT_FOLDER=\"$(DOCUMENT_FOLDER)\"
++ $(CC) $(CCFLAGS) $(CFLAGS_NATIVE) $^ -o $@ $(HASHCAT_LIBRARY) $(LFLAGS_NATIVE) ${CXXLIB} -DCOMPTIME=$(COMPTIME) -DVERSION_TAG=\"$(VERSION_TAG)\" -DINSTALL_FOLDER=\"$(INSTALL_FOLDER)\" -DSHARED_FOLDER=\"$(SHARED_FOLDER)\" -DDOCUMENT_FOLDER=\"$(DOCUMENT_FOLDER)\"
+ else
+ $(HASHCAT_FRONTEND): src/main.c obj/combined.NATIVE.a
+- $(CC) $(CCFLAGS) $(CFLAGS_NATIVE) $^ -o $@ $(LFLAGS_NATIVE) -DCOMPTIME=$(COMPTIME) -DVERSION_TAG=\"$(VERSION_TAG)\" -DINSTALL_FOLDER=\"$(INSTALL_FOLDER)\" -DSHARED_FOLDER=\"$(SHARED_FOLDER)\" -DDOCUMENT_FOLDER=\"$(DOCUMENT_FOLDER)\"
++ $(CC) $(CCFLAGS) $(CFLAGS_NATIVE) $^ -o $@ $(LFLAGS_NATIVE) ${CXXLIB} -DCOMPTIME=$(COMPTIME) -DVERSION_TAG=\"$(VERSION_TAG)\" -DINSTALL_FOLDER=\"$(INSTALL_FOLDER)\" -DSHARED_FOLDER=\"$(SHARED_FOLDER)\" -DDOCUMENT_FOLDER=\"$(DOCUMENT_FOLDER)\" -lc++
+ endif
+
+ ##
More information about the dev-commits-ports-all
mailing list