Changeset 15461


Ignore:
Timestamp:
2009-04-28T00:59:50+02:00 (9 years ago)
Author:
nico
Message:

[packages] icmptx: update to v0.2, switched to git for source retrieval

Location:
packages/net/icmptx
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • packages/net/icmptx/Makefile

    r15247 r15461  
    11#  
    2 # Copyright (C) 2006 OpenWrt.org 
     2# Copyright (C) 2006-2009 OpenWrt.org 
    33# 
    44# This is free software, licensed under the GNU General Public License v2. 
     
    99 
    1010PKG_NAME:=icmptx 
    11 PKG_VERSION:=0.01 
     11PKG_VERSION:=0.2 
    1212PKG_RELEASE:=1 
    1313 
    14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz 
    15 PKG_SOURCE_URL:=http://thomer.com/icmptx/ 
    16 PKG_MD5SUM:=f83d1d7789a1b100abcc00d1a56ee95d 
    17  
    18 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) 
     14PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 
     15PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION) 
     16PKG_SOURCE_PROTO:=git 
     17PKG_SOURCE_URL:=git://github.com/jakkarth/icmptx.git 
     18PKG_SOURCE_VERSION:=33e0b826f99df290ee792f6aa587af273d674309 
    1919 
    2020include $(INCLUDE_DIR)/package.mk 
     
    2323  SECTION:=net 
    2424  CATEGORY:=Network 
    25   TITLE:=allows you to pass IP packets via ICMP queries  
    26   URL:=http://thomer.com/icmptx/ 
     25  TITLE:=IP-over-ICMP tunnel  
     26  URL:=http://github.com/jakkarth/icmptx 
    2727endef 
    2828 
     
    3131 
    3232define Build/Compile 
    33         $(MAKE) -C $(PKG_BUILD_DIR) CC="$(TARGET_CC)" 
     33        $(MAKE) -C $(PKG_BUILD_DIR) \ 
     34                CC="$(TARGET_CC)" \ 
     35                OPT_FLAGS="$(TARGET_CFLAGS)" \ 
     36                icmptx 
    3437endef 
    3538 
  • packages/net/icmptx/patches/001-cross_compile.patch

    r6526 r15461  
    1 diff -urN icmptx-0.01/Makefile icmptx-0.01.new/Makefile 
    2 --- icmptx-0.01/Makefile        2005-12-20 09:09:34.000000000 +0100 
    3 +++ icmptx-0.01.new/Makefile    2007-01-21 16:48:36.000000000 +0100 
    4 @@ -3,16 +3,16 @@ 
     1--- a/Makefile 
     2+++ b/Makefile 
     3@@ -1,15 +1,17 @@ 
     4-flags=-g3 -Wall -ansi -pedantic -D_GNU_SOURCE 
     5+OPT_FLAGS=-g3 
     6+ 
     7+flags=$(OPT_FLAGS) -Wall -ansi -pedantic -D_GNU_SOURCE 
     8  
    59 all: icmptx 
    610  
    7  icmptx: it.o icmptx.o tun_dev.o 
    8 -       gcc $(flags) -o icmptx icmptx.o it.o tun_dev.o 
    9 +       $(CC) -o icmptx icmptx.o it.o tun_dev.o 
     11 icmptx: it.o icmptx.c tun_dev.o 
     12-       gcc $(flags) -o icmptx icmptx.c it.o tun_dev.o 
     13+       $(CC) $(flags) -o icmptx icmptx.c it.o tun_dev.o 
    1014  
    11  it.o: it.c 
     15 it.o: it.c tun_dev.h 
    1216-       gcc $(flags) -c it.c 
    13 +       $(CC) -c it.c 
    14   
    15  icmptx.o: icmptx.c 
    16 -       gcc $(flags) -c icmptx.c 
    17 +       $(CC) -c icmptx.c 
     17+       $(CC) $(flags) -c it.c 
    1818  
    1919 tun_dev.o: tun_dev.c 
    2020-       gcc $(flags) -c tun_dev.c 
    21 +       $(CC) -c tun_dev.c 
     21+       $(CC) $(flags) -c tun_dev.c 
    2222  
    2323 clean: 
    24         rm -f tun_dev.o it.o icmptx.o icmptx 
     24        rm -f tun_dev.o it.o icmptx 
Note: See TracChangeset for help on using the changeset viewer.