403Webshell
Server IP : 82.208.35.60  /  Your IP : 216.73.216.168
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/net/tinyldap/files/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/ports/net/tinyldap/files/patch-Makefile
--- Makefile.orig	2017-03-19 11:47:19 UTC
+++ Makefile
@@ -43,20 +43,23 @@ tls_cipherprio.o fmt_tls_alert_pkt.o fmt
 fmt_tls_handshake_certs_header.o fmt_tls_serverhellodone.o \
 tls_accept.o tls_connect.o tls_doread.o tls_dowrite.o
 
-DIET=/opt/diet/bin/diet -Os
+DIET=
 CROSS=
 #CROSS=i686-mingw32-
-CC=$(CROSS)gcc
-CFLAGS=-pipe -I. -Wall -W -Wextra
+CC?=$(CROSS)gcc
+CFLAGS?=-pipe -I. -Wall -W -Wextra
 ifneq ($(DEBUG),)
-DIET=/opt/diet/bin/diet
-CFLAGS=-pipe -I. -Wall -W -Wextra -g -fstack-protector
+DIET=
+CFLAGS?=-pipe -I. -Wall -W -Wextra -g -fstack-protector
 endif
 ifeq ($(COVERAGE),1)
 DIET=
-CFLAGS=-pipe -I. -g -fprofile-arcs -ftest-coverage
+CFLAGS?=-pipe -I. -g -fprofile-arcs -ftest-coverage
 endif
 
+CFLAGS+=-I. -I${LOCALBASE}/include/libowfat -Os
+LDFLAGS+=-L${LOCALBASE}/lib
+
 ifneq ($(DIET),)
 LIBS+=-llatin1
 else
@@ -97,7 +100,7 @@ tinyldap_debug: tinyldap.c
 	$(DIET) $(CC) $(CFLAGS) -DSTANDALONE -DDEBUG -o $@ $^ $(LDFLAGS) -lowfat $(LIBS)
 
 acl: acl.c ldap.a asn1.a
-	$(DIET) $(CC) $(CFLAGS) -o acl acl.c -I. ldap.a asn1.a -lowfat $(LIBS)
+	$(DIET) $(CC) $(CFLAGS) -o acl acl.c -I. ldap.a asn1.a $(LDFLAGS) -lowfat $(LIBS)
 
 .PHONY: test
 test: test/bind test/ebind

Youez - 2016 - github.com/yon3zu
LinuXploit