| 1 |
$FreeWRT$ |
| 2 |
|
| 3 |
* disable SSL |
| 4 |
* remove unportable uname check and use Linux flags by default |
| 5 |
* add needed dns functions |
| 6 |
* disable stripping |
| 7 |
|
| 8 |
--- aiccu.orig/unix-console/Makefile 2007-01-15 12:04:27.000000000 +0100 |
| 9 |
+++ aiccu/unix-console/Makefile 2007-06-26 01:52:45.000000000 +0200 |
| 10 |
@@ -10,9 +10,9 @@ |
| 11 |
# $Date: 2007-01-15 11:04:27 $ |
| 12 |
# **********************************************************/ |
| 13 |
|
| 14 |
-SRCS = main.c ../common/tun.c ../common/aiccu.c ../common/hash_md5.c ../common/hash_sha1.c ../common/common.c ../common/heartbeat.c ../common/tic.c ../common/ayiya.c ../common/aiccu_test.c ../common/resolver.c |
| 15 |
+SRCS = main.c ../common/tun.c ../common/aiccu.c ../common/hash_md5.c ../common/hash_sha1.c ../common/common.c ../common/heartbeat.c ../common/tic.c ../common/ayiya.c ../common/aiccu_test.c ../common/resolver.c ../common/dn_skipname.c |
| 16 |
INCS = ../common/tun.h ../common/aiccu.h ../common/hash_md5.h ../common/hash_sha1.h ../common/common.h ../common/heartbeat.h ../common/tic.h ../common/ayiya.h ../common/resolver.h |
| 17 |
-OBJS = main.o ../common/tun.o ../common/aiccu.o ../common/hash_md5.o ../common/hash_sha1.o ../common/common.o ../common/heartbeat.o ../common/tic.o ../common/ayiya.o ../common/aiccu_test.o ../common/resolver.o |
| 18 |
+OBJS = main.o ../common/tun.o ../common/aiccu.o ../common/hash_md5.o ../common/hash_sha1.o ../common/common.o ../common/heartbeat.o ../common/tic.o ../common/ayiya.o ../common/aiccu_test.o ../common/resolver.o ../common/dn_skipname.o |
| 19 |
|
| 20 |
# New features not fully implemented and thus disabled for now |
| 21 |
#CFLAGS += -D NEWSTUFF_TSP -D NEWSTUFF_TEEPEE |
| 22 |
@@ -40,18 +40,18 @@ CFLAGS += -D AICCU_CONSOLE |
| 23 |
# GnuTLS Support ? |
| 24 |
# Used by TIC to secure that communication |
| 25 |
# Currently defaultly builds only on Linux, but other platforms might easily also support it |
| 26 |
-ifeq ($(shell uname | grep -c "Linux"),1) |
| 27 |
-CFLAGS += -D AICCU_GNUTLS |
| 28 |
-LDFLAGS += -lgnutls |
| 29 |
-endif |
| 30 |
+#ifeq ($(shell uname | grep -c "Linux"),1) |
| 31 |
+#CFLAGS += -D AICCU_GNUTLS |
| 32 |
+#LDFLAGS += -lgnutls |
| 33 |
+#endif |
| 34 |
|
| 35 |
# Linux |
| 36 |
-ifeq ($(shell uname | grep -c "Linux"),1) |
| 37 |
+#ifeq ($(shell uname | grep -c "Linux"),1) |
| 38 |
CFLAGS += -D_LINUX -D HAS_IFHEAD -D AICCU_TYPE="\"linux\"" |
| 39 |
SRCS += ../common/aiccu_linux.c |
| 40 |
OBJS += ../common/aiccu_linux.o |
| 41 |
LDFLAGS += -lpthread -lresolv |
| 42 |
-endif |
| 43 |
+#endif |
| 44 |
|
| 45 |
# FreeBSD |
| 46 |
ifeq ($(shell uname | grep -c "FreeBSD"),1) |
| 47 |
@@ -147,7 +147,6 @@ aiccu: $(OBJS) ${SRCS} ${INCS} |
| 48 |
$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(OBJS) |
| 49 |
ifeq ($(shell echo $(CFLAGS) | grep -c "DEBUG"),0) |
| 50 |
ifeq ($(shell echo "$(RPM_OPT_FLAGS)" | wc -c),1) |
| 51 |
- strip $@ |
| 52 |
endif |
| 53 |
endif |
| 54 |
|