source: packages/ipv6/ahcpd/Makefile @ 19813

Last change on this file since 19813 was 19813, checked in by kerneis, 6 years ago

[package] ahcpd: update to 0.51, fix scripts

  • Full-featured UCI configuration file (including server mode).
  • Client mode configuration in /etc/config/network (proto ahcp).
  • Launch at most one instance in server/forwarder mode, and as many instance as interfaces in client mode.
  • Add status and reload options to init script.
  • Make /etc/config/ahcpd a config file, simplify Makefile.
  • Do not check the pid file (useless).
  • 29 January 2010: ahcpd 0.51
    • Servers are now configured with a plain-text configuration file.
    • Implemented client-side support for prefix delegation (-P).
    • Made requesting state more persistent, to deal with packet loss.
    • Fixed a typo that prevented the -I option from working.
    • Fixed compilation on BSD systems.
    • Fixed a bug that could cause an expired lease to be discarded when older ones are available.

Signed-off-by: Gabriel Kerneis <kerneis@…>

  • Property svn:copyright set to Copyright (C) 2007 OpenWrt.org
File size: 1.5 KB
Line 
1#
2# Copyright (C) 2007 OpenWrt.org
3#
4# This is free software, licensed under the GNU General Public License v2.
5# See /LICENSE for more information.
6#
7
8include $(TOPDIR)/rules.mk
9
10PKG_NAME:=ahcpd
11PKG_VERSION:=0.51
12PKG_RELEASE:=1
13
14PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15PKG_SOURCE_URL:=http://www.pps.jussieu.fr/~jch/software/files/
16PKG_MD5SUM:=86b70d278dfb5a1e33cd1a1ceae9e715
17
18
19include $(INCLUDE_DIR)/package.mk
20
21define Package/ahcpd
22  SECTION:=ipv6
23  CATEGORY:=IPv6
24  TITLE:=Ad-Hoc Configuration Protocol daemon
25  URL:=http://www.pps.jussieu.fr/~jch/software/ahcp/
26  MAINTAINER:=Gabriel Kerneis <kerneis@pps.jussieu.fr>
27  DEPENDS:=+kmod-ipv6 +ip +librt
28endef
29
30define Package/ahcpd/description
31 Ahcpd is a daemon for configuring an IPv6 network using the Ad-Hoc
32 Configuration Protocol (AHCP).  AHCP is designed for wireless mesh
33 networks, where IPv6 autoconfiguration and DHCPv6 do not work, but may
34 also be used on wired networks.
35endef
36
37define Package/ahcpd/conffiles
38/etc/config/ahcpd
39endef
40
41define Package/ahcpd/install
42        $(INSTALL_DIR) $(1)/usr/bin
43        $(INSTALL_DIR) $(1)/etc/ahcp
44        $(INSTALL_BIN) $(PKG_BUILD_DIR)/ahcp-config.sh $(1)/etc/ahcp/
45        $(INSTALL_DIR) $(1)/usr/sbin
46        $(INSTALL_BIN) $(PKG_BUILD_DIR)/ahcpd $(1)/usr/sbin/
47        $(INSTALL_DIR) $(1)/etc/config
48        $(INSTALL_CONF) ./files/ahcpd.config $(1)/etc/config/ahcpd
49        $(INSTALL_DIR) $(1)/lib/network
50        $(INSTALL_BIN) ./files/ahcp.sh $(1)/lib/network/
51        $(INSTALL_DIR) $(1)/etc/init.d
52        $(INSTALL_BIN) ./files/ahcpd.init $(1)/etc/init.d/ahcpd
53endef
54
55$(eval $(call BuildPackage,ahcpd))
Note: See TracBrowser for help on using the repository browser.