diff options
author | Suren A. Chilingaryan <csa@suren.me> | 2019-09-02 05:23:45 +0200 |
---|---|---|
committer | Suren A. Chilingaryan <csa@suren.me> | 2019-09-02 05:23:45 +0200 |
commit | 576b6208d6defe240bfa2477d6dd19f1ed83bfaf (patch) | |
tree | 7d54883f16cccc4cbd414398d7fec3c437b36b49 /sys-auth/pam_x509/files/pam_x509-ds-compile.patch | |
parent | fdd6b67a78a966f6a2131de8fe0e539316511083 (diff) | |
download | darklin4-576b6208d6defe240bfa2477d6dd19f1ed83bfaf.tar.gz darklin4-576b6208d6defe240bfa2477d6dd19f1ed83bfaf.tar.bz2 darklin4-576b6208d6defe240bfa2477d6dd19f1ed83bfaf.tar.xz darklin4-576b6208d6defe240bfa2477d6dd19f1ed83bfaf.zip |
Cleaned most of outdated stuff
Diffstat (limited to 'sys-auth/pam_x509/files/pam_x509-ds-compile.patch')
-rw-r--r-- | sys-auth/pam_x509/files/pam_x509-ds-compile.patch | 103 |
1 files changed, 0 insertions, 103 deletions
diff --git a/sys-auth/pam_x509/files/pam_x509-ds-compile.patch b/sys-auth/pam_x509/files/pam_x509-ds-compile.patch deleted file mode 100644 index 59f6e89..0000000 --- a/sys-auth/pam_x509/files/pam_x509-ds-compile.patch +++ /dev/null @@ -1,103 +0,0 @@ -diff -dPNur pam_x509-1.0.2/Makefile pam_x509-1.0.2-new/Makefile ---- pam_x509-1.0.2/Makefile 2007-04-22 12:31:55.000000000 +0200 -+++ pam_x509-1.0.2-new/Makefile 2007-04-22 12:51:15.000000000 +0200 -@@ -6,8 +6,10 @@ - - ifeq ($(BT),yes) - OBJECTS += rfcomm.o -- LIBS += -lbluetooth -lobexftp -lcobexbfb -lbfb `openobex-config --libs` -- CFLAGS += -D_BLUETOOTH `openobex-config --cflags` -+# LIBS += -lbluetooth -lobexftp -lcobexbfb -lbfb `openobex-config --libs` -+# CFLAGS += -D_BLUETOOTH `openobex-config --cflags` -+ CFLAGS += -D_BLUETOOTH -+ LIBS += -lbluetooth -lobexftp -lmulticobex -lbfb -lopenobex - endif - - pam_x509: $(OBJECTS) -diff -dPNur pam_x509-1.0.2/pam_x509.c pam_x509-1.0.2-new/pam_x509.c ---- pam_x509-1.0.2/pam_x509.c 2006-06-12 13:55:19.000000000 +0200 -+++ pam_x509-1.0.2-new/pam_x509.c 2007-04-22 12:52:42.000000000 +0200 -@@ -1,7 +1,9 @@ - #define PAM_SM_AUTH - #include <stdio.h> - #include <unistd.h> -+#include <string.h> - #include <stdarg.h> -+#include <alloca.h> - #include <sys/types.h> - #include <sys/stat.h> - -diff -dPNur pam_x509-1.0.2/pass.c pam_x509-1.0.2-new/pass.c ---- pam_x509-1.0.2/pass.c 2003-10-17 00:51:55.000000000 +0200 -+++ pam_x509-1.0.2-new/pass.c 2007-04-22 12:51:51.000000000 +0200 -@@ -1,4 +1,5 @@ - #include <stdio.h> -+#include <string.h> - - #include "sslauth.h" - -diff -dPNur pam_x509-1.0.2/rfcomm.c pam_x509-1.0.2-new/rfcomm.c ---- pam_x509-1.0.2/rfcomm.c 2006-06-12 14:24:23.000000000 +0200 -+++ pam_x509-1.0.2-new/rfcomm.c 2007-04-22 13:14:20.000000000 +0200 -@@ -17,16 +17,28 @@ - #include <bluetooth/rfcomm.h> - - #include <obexftp/client.h> --#include <cobexbfb/cobex_bfb.h> - --#ifdef obexftp_cli_connect -+#if defined(obexftp_cli_connect) -+# include <cobexbfb/cobex_bfb.h> - # define obexftp_cli_connect_wrapper(cli) obexftp_cli_connect(cli, NULL, 0) - # define obexftp_cli_open_wrapper(cb, ctrans, param) obexftp_cli_open(OBEX_TRANS_BLUETOOTH, ctrans, cb, param) - # define obexftp_setpath_wrapper(cli, path) obexftp_setpath(cli, path, 1) -+# define obexftp_cli_close_wrapper obexftp_cli_close -+# define obexftp_cli_disconnect_wrapper obexftp_cli_disconnect -+#elif defined(obexftp_connect) -+# include <multicobex/multi_cobex.h> -+# define obexftp_cli_connect_wrapper(cli) obexftp_connect(cli, NULL, 0) -+# define obexftp_cli_open_wrapper(cb, ctrans, param) obexftp_open(OBEX_TRANS_BLUETOOTH, ctrans, cb, param) -+# define obexftp_setpath_wrapper(cli, path) obexftp_setpath(cli, path, 1) -+# define obexftp_cli_close_wrapper obexftp_close -+# define obexftp_cli_disconnect_wrapper obexftp_disconnect - #else -+# include <cobexbfb/cobex_bfb.h> - # define obexftp_cli_connect_wrapper(cli) obexftp_cli_connect(cli) - # define obexftp_cli_open_wrapper(cb, ctrans, param) obexftp_cli_open(cb, ctrans, param) - # define obexftp_setpath_wrapper(cli, path) obexftp_setpath(cli, path) -+# define obexftp_cli_close_wrapper obexftp_cli_close -+# define obexftp_cli_disconnect_wrapper obexftp_cli_disconnect - #endif - - /* -@@ -75,7 +87,7 @@ - #ifdef _DEBUG - _pam_log(LOG_NOTICE,"Error connecting client over %s!",tty); - #endif -- obexftp_cli_close(cli); -+ obexftp_cli_close_wrapper(cli); - if (ctrans) cobex_free(ctrans); - return 0; - } -@@ -87,8 +99,8 @@ - #ifdef _DEBUG - _pam_log(LOG_NOTICE,"Can't get list file over %s!",tty); - #endif -- obexftp_cli_disconnect (cli); -- obexftp_cli_close(cli); -+ obexftp_cli_disconnect_wrapper (cli); -+ obexftp_cli_close_wrapper(cli); - if (ctrans) cobex_free(ctrans); - return 0; - } -@@ -121,8 +133,8 @@ - } - fclose(f); - -- obexftp_cli_disconnect (cli); -- obexftp_cli_close(cli); -+ obexftp_cli_disconnect_wrapper (cli); -+ obexftp_cli_close_wrapper(cli); - if (ctrans) cobex_free(ctrans); - return res; - } |