Changeset 17605


Ignore:
Timestamp:
2009-09-19T14:11:46+02:00 (7 years ago)
Author:
acinonyx
Message:

[packages] ptunnel: Update to v0.71 (#5824)

Location:
packages/net/ptunnel
Files:
3 added
3 edited

Legend:

Unmodified
Added
Removed
  • packages/net/ptunnel/Makefile

    r15247 r17605  
    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:=ptunnel 
    11 PKG_VERSION:=0.61 
     11PKG_VERSION:=0.71 
    1212PKG_RELEASE:=1 
    1313 
    14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz 
    15 PKG_SOURCE_URL:=http://www.cti.ecp.fr/~beauxir5/ptunnel/ 
    16 PKG_MD5SUM:=b45f73875f2af48f101816672f83a5fe 
     14PKG_SOURCE:=PingTunnel-$(PKG_VERSION).tar.gz 
     15PKG_SOURCE_URL:=http://www.cs.uit.no/~daniels/PingTunnel 
     16PKG_MD5SUM:=9b04771d4fa50abc15a6af690b81c71a 
     17 
     18PKG_BUILD_DIR:=$(BUILD_DIR)/PingTunnel 
    1719 
    1820include $(INCLUDE_DIR)/package.mk 
     
    2729 
    2830define Package/ptunnel/description 
    29         ptunnel is an application that allows you to reliably tunnel TCP connections to  
    30         a remote host using ICMP echo request and reply packets, commonly known as ping  
    31         requests and replies. It acts as a proxy and can handle sockets and secured  
    32         identification. 
     31  ptunnel is an application that allows you to reliably tunnel TCP connections to  
     32  a remote host using ICMP echo request and reply packets, commonly known as ping  
     33  requests and replies. It acts as a proxy and can handle sockets and secured  
     34  identification. 
     35endef 
     36 
     37define Package/ptunnel/conffiles 
     38/etc/config/ptunnel 
    3339endef 
    3440 
    3541# uses GNU configure 
    3642 
    37 define Build/Compile     
     43define Build/Compile 
    3844        $(MAKE) -C $(PKG_BUILD_DIR) \ 
     45                CC="$(TARGET_CC)" \ 
     46                CFLAGS="$(TARGET_CFLAGS) -Wall -g -I$(STAGING_DIR)/usr/include" \ 
     47                LDOPTS="$(TARGET_LDFLAGS) -lpthread -lpcap" \ 
    3948                DESTDIR="$(PKG_INSTALL_DIR)" \ 
    4049                all install 
    4150endef 
    4251 
    43 define Package/ptunnel/install   
     52define Package/ptunnel/install 
    4453        $(INSTALL_DIR) $(1)/usr/sbin 
    4554        $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/ptunnel $(1)/usr/sbin/ 
     
    4756        $(INSTALL_BIN) ./files/ptunnel.init $(1)/etc/init.d/ptunnel 
    4857        $(INSTALL_DIR) $(1)/etc/config 
    49         $(INSTALL_DATA) ./files/ptunnel.conf $(1)/etc/config/ptunnel 
     58        $(INSTALL_CONF) ./files/ptunnel.conf $(1)/etc/config/ptunnel 
    5059endef 
    5160 
  • packages/net/ptunnel/files/ptunnel.conf

    r10160 r17605  
    11config ptunnel 
    22        option interface 'br-lan' 
    3          
  • packages/net/ptunnel/files/ptunnel.init

    r10160 r17605  
    11#!/bin/sh /etc/rc.common 
    2 # Copyright (C) 2007 OpenWrt.org 
     2# Copyright (C) 2007-2009 OpenWrt.org 
    33START=70 
    44BIN=ptunnel 
     
    2525            xargs kill 2> /dev/null 
    2626} 
    27                                                                          
Note: See TracChangeset for help on using the changeset viewer.