Changeset 27932


Ignore:
Timestamp:
2011-08-08T15:23:35+02:00 (5 years ago)
Author:
kerneis
Message:

[package] ahcpd: upstream release 0.52

INCOMPATIBLE CHANGE: client mode configuration cannot be done in
/etc/config/network anymore (at least for this release). It will
be added back in the near future.

Location:
packages/ipv6/ahcpd
Files:
1 deleted
3 edited

Legend:

Unmodified
Added
Removed
  • packages/ipv6/ahcpd/Makefile

    r27303 r27932  
    99 
    1010PKG_NAME:=ahcpd 
    11 PKG_VERSION:=0.51 
    12 PKG_RELEASE:=4 
     11PKG_VERSION:=0.52 
     12PKG_RELEASE:=1 
    1313 
    1414PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz 
    1515PKG_SOURCE_URL:=http://www.pps.jussieu.fr/~jch/software/files/ 
    16 PKG_MD5SUM:=86b70d278dfb5a1e33cd1a1ceae9e715 
     16PKG_MD5SUM:=a354b55e775c9f7d26561de360309358 
    1717 
    1818 
  • packages/ipv6/ahcpd/files/ahcp.sh

    r27303 r27932  
    7272        local interface="$1" 
    7373        local config="$2" 
    74         local pid_file="/var/run/ahcpd-$interface.pid" 
    75         local id_file="/var/lib/ahcp-unique-id-$interface" 
    76         local log_file="/var/log/ahcpd-$interface.log" 
    77         unset args 
    7874 
    79         mkdir -p /var/lib 
    80  
    81         ahcp_config "$config" 
    82         eval "/usr/sbin/ahcpd -D -I $pid_file -i $id_file -L $log_file $args $interface" 
     75    echo "WARNING: ahcp client cannot be configured in /etc/config/network anymore." 
     76    echo "Please add $interface to /etc/config/ahcpd instead." 
    8377} 
    84  
    85 stop_interface_ahcp() { 
    86         local cfg="$1" 
    87         local interface 
    88         config_get interface "$cfg" device 
    89         local pid_file="/var/run/ahcpd-$interface.pid" 
    90         [ -f "$pid_file" ] && kill $(cat "$pid_file") 
    91 } 
  • packages/ipv6/ahcpd/files/ahcpd.config

    r21602 r27932  
    11package ahcpd 
    22 
    3 # This configuration file is used to set up ahcpd in server or forwarder 
    4 # mode.  To use ahcpd in client mode, use 'proto' 'ahcp' in 
    5 # /etc/config/network (see example below). 
    6  
    73config ahcpd 
    8         option 'mode' 'server' # or 'forwarder' but NOT 'client' 
     4        # Choose ahcp mode: client (default), server or forwarder 
     5        ## option 'mode' 'client' 
    96        # Uncomment the following lines to enable ahcpd on the desired 
    107        # interfaces. 
     
    3431        # option 'debug' '1' 
    3532 
    36 # Sample client mode configuration 
    37 # THIS MUST BE COPIED IN /etc/config/network.  Ahcpd will ignore it 
    38 # otherwise. 
    39 ## config 'interface' 'wlan' 
    40 ##      option 'ifname' 'ath0' 
    41 ##      option 'proto' 'ahcp' 
    42 ##  # The following lines are optional 
    43 ##      option 'multicast_address' 'ff02::cca6:c0f9:e182:5359' 
    44 ##      option 'port' '5359' 
    45 ##      option 'ipv4_only' 'false' 
    46 ##      option 'ipv6_only' 'false' 
    47 ##      option 'no_dns' 'false' 
    48 ##      option 'lease_time' '3666' 
    49 ##      option 'debug' '1' 
    50 ##      option 'script' '/etc/ahcp/ahcp-config.sh' 
Note: See TracChangeset for help on using the changeset viewer.