summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-misc/oidc-agent/files')
-rw-r--r--net-misc/oidc-agent/files/oidc-agent-4.0.2_install-perms.patch60
-rw-r--r--net-misc/oidc-agent/files/oidc-agent-4.0.2_makefile-toolchain-vars.patch43
2 files changed, 0 insertions, 103 deletions
diff --git a/net-misc/oidc-agent/files/oidc-agent-4.0.2_install-perms.patch b/net-misc/oidc-agent/files/oidc-agent-4.0.2_install-perms.patch
deleted file mode 100644
index 6184f42d9335..000000000000
--- a/net-misc/oidc-agent/files/oidc-agent-4.0.2_install-perms.patch
+++ /dev/null
@@ -1,60 +0,0 @@
---- a/Makefile
-+++ b/Makefile
-@@ -411,19 +411,19 @@
-
- ## Man pages
- $(MAN_PATH)/man1/$(AGENT).1: $(MANDIR)/$(AGENT).1 $(MAN_PATH)/man1
-- @install $< $@
-+ @install -m 644 $< $@
- $(AGENTSERVER_MAN_PATH)/man1/$(AGENTSERVER).1: $(MANDIR)/$(AGENTSERVER).1 $(AGENTSERVER_MAN_PATH)/man1
-- @install $< $@
-+ @install -m 644 $< $@
- $(MAN_PATH)/man1/$(GEN).1: $(MANDIR)/$(GEN).1 $(MAN_PATH)/man1
-- @install $< $@
-+ @install -m 644 $< $@
- $(MAN_PATH)/man1/$(ADD).1: $(MANDIR)/$(ADD).1 $(MAN_PATH)/man1
-- @install $< $@
-+ @install -m 644 $< $@
- $(MAN_PATH)/man1/$(CLIENT).1: $(MANDIR)/$(CLIENT).1 $(MAN_PATH)/man1
-- @install $< $@
-+ @install -m 644 $< $@
- $(MAN_PATH)/man1/$(KEYCHAIN).1: $(MANDIR)/$(KEYCHAIN).1 $(MAN_PATH)/man1
-- @install $< $@
-+ @install -m 644 $< $@
- $(PROMPT_MAN_PATH)/man1/$(PROMPT).1: $(MANDIR)/$(PROMPT).1 $(PROMPT_MAN_PATH)/man1
-- @install $< $@
-+ @install -m 644 $< $@
-
-
- ## Lib
-@@ -437,24 +437,24 @@
- @ln -sf $(SHARED_LIB_NAME_SO) $@
-
- $(INCLUDE_PATH)/oidc-agent/api.h: $(SRCDIR)/$(CLIENT)/api.h $(INCLUDE_PATH)/oidc-agent
-- @install $< $@
-+ @install -m 644 $< $@
-
- $(INCLUDE_PATH)/oidc-agent/ipc_values.h: $(SRCDIR)/defines/ipc_values.h $(INCLUDE_PATH)/oidc-agent
-- @install $< $@
-+ @install -m 644 $< $@
-
- $(INCLUDE_PATH)/oidc-agent/oidc_error.h: $(SRCDIR)/utils/oidc_error.h $(INCLUDE_PATH)/oidc-agent
-- @install $< $@
-+ @install -m 644 $< $@
-
- $(LIBDEV_PATH)/liboidc-agent.a: $(APILIB)/liboidc-agent.a $(LIBDEV_PATH)
-- @install $< $@
-+ @install -m 644 $< $@
-
- $(INCLUDE_PATH)/oidc-agent/export_symbols.h: $(SRCDIR)/$(CLIENT)/export_symbols.h $(INCLUDE_PATH)/oidc-agent
-- @install $< $@
-+ @install -m 644 $< $@
-
-
- ## scheme handler
- $(DESKTOP_APPLICATION_PATH)/oidc-gen.desktop: $(CONFDIR)/scheme_handler/oidc-gen.desktop
-- @install -D $< $@
-+ @install -m 644 -D $< $@
- @echo "Exec=x-terminal-emulator -e bash -c \"$(BIN_AFTER_INST_PATH)/bin/$(GEN) --codeExchange=%u; exec bash\"" >> $@
-
- ## Xsession
diff --git a/net-misc/oidc-agent/files/oidc-agent-4.0.2_makefile-toolchain-vars.patch b/net-misc/oidc-agent/files/oidc-agent-4.0.2_makefile-toolchain-vars.patch
deleted file mode 100644
index 533af1f2a6d4..000000000000
--- a/net-misc/oidc-agent/files/oidc-agent-4.0.2_makefile-toolchain-vars.patch
+++ /dev/null
@@ -1,43 +0,0 @@
---- a/Makefile
-+++ b/Makefile
-@@ -74,9 +74,9 @@
- endif
-
- # Compiler options
--CC = gcc
-+CC := $(CC)
- # compiling flags here
--CFLAGS = -g -std=c99 -I$(SRCDIR) -I$(LIBDIR) -Wall -Wextra -fno-common
-+CFLAGS := $(CFLAGS) -g -std=c99 -I$(SRCDIR) -I$(LIBDIR) -Wall -Wextra -fno-common
- ifndef MAC_OS
- ifndef NODPKG
- CFLAGS +=$(shell dpkg-buildflags --get CPPFLAGS)
-@@ -87,11 +87,11 @@
- TEST_CFLAGS = $(CFLAGS) -I.
-
- # Linker options
--LINKER = gcc
-+LINKER := $(CC)
- ifdef MAC_OS
- LFLAGS = -lsodium -largp
- else
--LFLAGS = -lsodium -lseccomp -fno-common
-+LFLAGS := $(LDFLAGS) -lsodium -lseccomp -fno-common
- ifndef NODPKG
- LFLAGS +=$(shell dpkg-buildflags --get LDFLAGS)
- endif
-@@ -112,12 +112,12 @@
- ifdef MAC_OS
- CLIENT_LFLAGS = -L$(APILIB) -largp -loidc-agent.$(LIBVERSION) -lsodium
- else
--CLIENT_LFLAGS = -L$(APILIB) -l:$(SHARED_LIB_NAME_FULL) -lsodium -lseccomp
-+CLIENT_LFLAGS := $(LDFLAGS) -L$(APILIB) -l:$(SHARED_LIB_NAME_FULL) -lsodium -lseccomp
- ifndef NODPKG
- CLIENT_LFLAGS += $(shell dpkg-buildflags --get LDFLAGS)
- endif
- endif
--LIB_LFLAGS = -lc -lsodium
-+LIB_LFLAGS := $(LDFLAGS) -lc -lsodium
- ifndef MAC_OS
- ifndef NODPKG
- LIB_FLAGS += $(shell dpkg-buildflags --get LDFLAGS)