public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/hydra/files/
@ 2022-09-25  1:27 Sam James
  0 siblings, 0 replies; 2+ messages in thread
From: Sam James @ 2022-09-25  1:27 UTC (permalink / raw
  To: gentoo-commits

commit:     83eeb745e14a21cf045994a56cf70f66d1945b25
Author:     Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at>
AuthorDate: Wed Sep 14 06:37:39 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Sep 25 01:27:19 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=83eeb745

net-analyzer/hydra: remove unused patch

Signed-off-by: Michael Mair-Keimberger <mmk <AT> levelnine.at>
Portage 3.0.35 / pkgdev 0.2.1 / pkgcheck 0.10.14
Closes: https://github.com/gentoo/gentoo/pull/27248
Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../files/hydra-9999999-respect-cflags-more.patch  | 31 ----------------------
 1 file changed, 31 deletions(-)

diff --git a/net-analyzer/hydra/files/hydra-9999999-respect-cflags-more.patch b/net-analyzer/hydra/files/hydra-9999999-respect-cflags-more.patch
deleted file mode 100644
index 0fe5753ec8af..000000000000
--- a/net-analyzer/hydra/files/hydra-9999999-respect-cflags-more.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-Don't inject hardening CFLAGS. We already have these by default in Gentoo.
---- a/configure
-+++ b/configure
-@@ -1380,27 +1380,6 @@ if [ -n "$CRYPTO_PATH" ]; then
-   echo "                                  ... RSA_generate_key()$RSA found"
- fi
-
--echo "Checking for secure compile option support in $CC ..."
--GCCSEC="no"
--LDSEC="no"
--GCCSECOPT="-fstack-protector-all --param ssp-buffer-size=4 -D_FORTIFY_SOURCE=2"
--echo '#include <stdio.h>' > $TMPC.c
--echo 'int main() { printf(""); return 0; }' >> $TMPC.c
--$CC -pie -fPIE $GCCSEPOPT -o $TMPC $TMPC.c > /dev/null 2> $TMPC.c.err
--test -x $TMPC && GCCSEC="yes"
--grep -q fPI $TMPC.c.err || GCCSECOPT="-pie -fPIE $GCCSECOPT"
--rm -f "$TMPC"
--$CC $GCCSECOPT -Wl,-z,now -Wl,-z,relro -o $TMPC $TMPC.c > /dev/null 2> $TMPC.c.err
--test -x $TMPC && { LDSEC="yes" ; GCCSECOPT="$GCCSECOPT -Wl,-z,now -Wl,-z,relro" ; }
--rm -f $TMPC $TMPC.c $TMPC.c.err
--echo "                                                  Compiling... $GCCSEC"
--echo "                                                  Linking... $LDSEC"
--
--echo "Checking for --allow-multiple-definition linker option ... $WALLOW"
--if [ "$WALLOW" = "yes" ]; then
--  GCCSECOPT="$GCCSECOPT -Wl,--allow-multiple-definition"
--fi
--
- echo
- XDEFINES=""
- XLIBS=""
\ No newline at end of file


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-analyzer/hydra/files/
@ 2024-03-23  6:05 Arthur Zamarin
  0 siblings, 0 replies; 2+ messages in thread
From: Arthur Zamarin @ 2024-03-23  6:05 UTC (permalink / raw
  To: gentoo-commits

commit:     3b305d92ffdaab6b7703010911dccff204b67571
Author:     Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at>
AuthorDate: Tue Mar 19 19:20:31 2024 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sat Mar 23 06:05:05 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3b305d92

net-analyzer/hydra: remove unused patch

Signed-off-by: Michael Mair-Keimberger <mmk <AT> levelnine.at>
Closes: https://github.com/gentoo/gentoo/pull/35834
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 .../hydra/files/hydra-9.4-implicit-func-decl.patch | 33 ----------------------
 1 file changed, 33 deletions(-)

diff --git a/net-analyzer/hydra/files/hydra-9.4-implicit-func-decl.patch b/net-analyzer/hydra/files/hydra-9.4-implicit-func-decl.patch
deleted file mode 100644
index bf4dd61e33ce..000000000000
--- a/net-analyzer/hydra/files/hydra-9.4-implicit-func-decl.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-https://github.com/vanhauser-thc/thc-hydra/pull/786
-
-From 613bd02264dcc989eeeb77b83603d4c2f48f0bbc Mon Sep 17 00:00:00 2001
-From: Sam James <sam@gentoo.org>
-Date: Fri, 9 Sep 2022 04:32:05 +0100
-Subject: [PATCH] Makefile.am: add -D_GNU_SOURCE for strcasestr
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-strcasestr is not a standard function and per
-the man page, needs -D_GNU_SOURCE to be visible.
-
-Fixes a build error:
-```
-hydra-rtsp.c:20:7: error: implicit declaration of function ‘strcasestr’; did you mean ‘strcasecmp’? [-Werror=implicit-function-declaration]
-   20 |   if (strcasestr(s, "401 Unauthorized") != NULL) {
-      |       ^~~~~~~~~~
-      |       strcasecmp
-```
-
-Signed-off-by: Sam James <sam@gentoo.org>
---- a/Makefile.am
-+++ b/Makefile.am
-@@ -5,6 +5,7 @@ WARN_CLANG=-Wformat-nonliteral -Wstrncat-size -Wformat-security -Wsign-conversio
- WARN_GCC=-Wformat=2 -Wformat-overflow=2 -Wformat-nonliteral -Wformat-truncation=2 -Wnull-dereference -Wstrict-overflow=2 -Wstringop-overflow=4 -Walloca-larger-than=4096 -Wtype-limits -Wconversion -Wtrampolines -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -fno-common -Wcast-align
- CFLAGS ?= -g
- OPTS=-I. -O3 $(CFLAGS) -fcommon
-+CPPFLAGS += -D_GNU_SOURCE
- # -Wall -g -pedantic
- LIBS=-lm
- DESTDIR ?=
-


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-03-23  6:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-23  6:05 [gentoo-commits] repo/gentoo:master commit in: net-analyzer/hydra/files/ Arthur Zamarin
  -- strict thread matches above, loose matches on Subject: below --
2022-09-25  1:27 Sam James

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox