Changeset 2881

Show
Ignore:
Timestamp:
06/25/07 15:22:20 (1 year ago)
Author:
tg
Message:

fix this piece of broken shitware (as usual, the SixXS heartbeat client
sucked so much that I rewrote it from scratch in mksh, and I never even
looked at aiccu/ayiya – now I know why I don't regret that), as well as
this ugly Makefile

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/freewrt/package/aiccu/Makefile

    r2678 r2881  
    99PKG_NAME:=              aiccu 
    1010PKG_VERSION:=           20070115 
    11 PKG_RELEASE:=           5 
     11PKG_RELEASE:=           6 
    1212PKG_MD5SUM:=            c9bcc83644ed788e22a7c3f3d4021350 
    1313 
     
    2121$(eval $(call PKG_template,AICCU,aiccu,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH))) 
    2222 
    23 do-configure: 
    24         $(SED) "s,strip,$(STRIP)," $(WRKBUILD)/unix-console/Makefile 
    25  
    26 do-build: 
    27         $(MAKE) -C $(WRKBUILD) \ 
    28                 CC="$(TARGET_CC)" CFLAGS="$(TARGET_CFLAGS) -D_GNU_SOURCE" \ 
     23TCFLAGS+=       -D_REENTRANT -D_GNU_SOURCE -DAICCU_CONSOLE \ 
     24                -D_LINUX -DHAS_IFHEAD -DAICCU_TYPE=\"linux\" 
     25TLDFLAGS+=      -lpthread -lresolv 
     26BUILD_STYLE=    auto 
     27MAKE_FLAGS+=    CC='${TARGET_CC}' CFLAGS='${TCFLAGS}' LDFLAGS='${TLDFLAGS}' \ 
    2928                DEBUG=0 
    3029 
  • trunk/freewrt/package/aiccu/patches/patch-unix-console_Makefile

    r1967 r2881  
    11$FreeWRT$ 
    2  
    3  * disable SSL 
    4  * remove unportable uname check and use Linux flags by default 
    5  * add needed dns functions 
    6  * remove strange call to aiccu, if CFLAGS contains the string DEBUG 
    7  
    8 --- aiccu.orig/unix-console/Makefile    2007-01-15 12:04:27.000000000 +0100 
    9 +++ aiccu/unix-console/Makefile 2007-02-13 22:22:15.000000000 +0100 
     2--- aiccu.orig/unix-console/Makefile    Mon Jan 15 11:04:04 2007 
     3+++ aiccu/unix-console/Makefile Mon Jun 25 13:19:42 2007 
    104@@ -10,9 +10,9 @@ 
    115 #  $Date: 2007-01-15 11:04:27 $ 
     
    2014 # New features not fully implemented and thus disabled for now 
    2115 #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) 
    4716@@ -145,11 +145,6 @@ all: aiccu 
    4817