include $(TOPDIR)/rules.mk
PKG_NAME:=dibbler
-PKG_VERSION:=0.6.1
+PKG_VERSION:=0.7.1
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-src.tar.gz
PKG_SOURCE_URL:=@SF/$(PKG_NAME)
-PKG_MD5SUM:=220e68795ab0375cb3bc1f40c47e0bb2
+PKG_MD5SUM:=76a814d528274b2dc7ff7623bd6f6b45
include $(INCLUDE_DIR)/package.mk
URL:=http://klub.com.pl/dhcpv6/
endef
+define Package/dibbler/Default/description
+ Dibbler is a portable DHCPv6 implementation. It supports stateful (i.e.
+ IPv6 address granting) as well as stateless (i.e. option granting)
+ autoconfiguration for IPv6.
+endef
+
define Package/dibbler-client
$(call Package/dibbler/Default)
TITLE+= (client)
endef
+define Package/dibbler-client/description
+ $(call Package/dibbler/Default/description)
+ This package contains the dibbler client.
+endef
+
define Package/dibbler-relay
$(call Package/dibbler/Default)
TITLE+= (relay)
endef
+define Package/dibbler-relay/description
+ $(call Package/dibbler/Default/description)
+ This package contains the dibbler relay.
+endef
+
define Package/dibbler-server
$(call Package/dibbler/Default)
TITLE+= (server)
endef
+define Package/dibbler-server/description
+ $(call Package/dibbler/Default/description)
+ This package contains the dibbler server.
+endef
+
define Build/Configure
(cd $(PKG_BUILD_DIR)/poslib; \
$(TARGET_CONFIGURE_OPTS) \
-Index: dibbler-0.6.1/Makefile
-===================================================================
---- dibbler-0.6.1.orig/Makefile 2008-03-12 13:27:35.000000000 +0100
-+++ dibbler-0.6.1/Makefile 2008-03-12 13:27:36.000000000 +0100
-@@ -39,7 +39,7 @@
-
- $(CLIENTBIN): libposlib includes commonlibs clntlibs $(MISC)/DHCPClient.o $(CLIENT)
- @echo "[LINK ] $(SUBDIR)/$@ ($(LINKPRINT))"
-- $(CXX) $(CLNT_LDFLAGS) $(OPTS) $(CLNTLINKOPTS) -o $@ $(MISC)/DHCPClient.o $(CLIENT) \
-+ $(CXXLD) $(CLNT_LDFLAGS) $(OPTS) $(CLNTLINKOPTS) -o $@ $(MISC)/DHCPClient.o $(CLIENT) \
- -L$(MISC) -lMisc \
- -L$(ADDRMGR) -lAddrMgr \
- -L$(CLNTADDRMGR) -lClntAddrMgr \
-@@ -57,7 +57,8 @@
+--- a/Makefile
++++ b/Makefile
+@@ -61,7 +61,8 @@
-L$(MESSAGES) -lMsg \
-lClntOptions -lOptions -lLowLevel \
-L$(MISC) -lMisc \
+ -L$(POSLIB) $(CLNTPOSLIB) \
+ $(CLNT_LIBS)
- ifndef MOD_CLNT_DISABLE_DNSUPDATE
- CLNTPOSLIB=-lposlib
-@@ -67,7 +68,7 @@
+ server: $(SERVERBIN)
- $(SERVERBIN): libposlib includes commonlibs srvlibs $(MISC)/DHCPServer.o $(SERVER)
- @echo "[LINK ] $(SUBDIR)/$@ ($(LINKPRINT))"
-- $(CXX) $(SRV_LDFLAGS) $(OPTS) -I $(INCDIR) $(SRVLINKOPTS) -o $@ $(MISC)/DHCPServer.o $(SERVER) \
-+ $(CXXLD) $(SRV_LDFLAGS) $(OPTS) -I $(INCDIR) $(SRVLINKOPTS) -o $@ $(MISC)/DHCPServer.o $(SERVER) \
- -L$(SRVADDRMGR) -lSrvAddrMgr \
- -L$(ADDRMGR) -lAddrMgr \
- -L$(LOWLEVEL) \
-@@ -88,7 +89,8 @@
+@@ -93,7 +94,8 @@
-L$(MISC) -lMisc \
-L$(LOWLEVEL) -lLowLevel \
-L$(IFACEMGR) -lIfaceMgr \
+ -L$(POSLIB) $(SRVPOSLIB) \
+ $(SRV_LIBS)
- ifndef MOD_SRV_DISABLE_DNSUPDATE
- SRVPOSLIB=-lposlib
-@@ -98,7 +100,7 @@
- $(RELAYBIN): poslib-configure includes commonlibs relaylibs $(MISC)/DHCPRelay.o $(RELAY)
- @echo "[LINK ] $(SUBDIR)/$@ ($(LINKPRINT))"
-- $(CXX) $(REL_LDFLAGS) $(OPTS) -I $(INCDIR) $(SRVLINKOPTS) -o $@ $(MISC)/DHCPRelay.o $(RELAY) \
-+ $(CXXLD) $(REL_LDFLAGS) $(OPTS) -I $(INCDIR) $(SRVLINKOPTS) -o $@ $(MISC)/DHCPRelay.o $(RELAY) \
- -L$(RELTRANSMGR) -lRelTransMgr \
- -L$(RELCFGMGR) -lRelCfgMgr \
- -L$(RELIFACEMGR) -lRelIfaceMgr \
-@@ -111,7 +113,8 @@
+ relay: $(RELAYBIN)
+@@ -113,7 +115,8 @@
-L$(MESSAGES) -lMsg \
-L$(MISC) -lMisc \
-L$(OPTIONS) -lOptions \
+ -lMisc -lIfaceMgr -lLowLevel -lRelTransMgr -lRelCfgMgr -lRelMsg -lRelOptions -lOptions \
+ $(SRV_LIBS)
- objs: includes
- @for dir in $(COMMONSUBDIRS); do \
-Index: dibbler-0.6.1/Makefile.inc
-===================================================================
---- dibbler-0.6.1.orig/Makefile.inc 2008-03-12 13:27:35.000000000 +0100
-+++ dibbler-0.6.1/Makefile.inc 2008-03-12 13:27:36.000000000 +0100
-@@ -1,5 +1,6 @@
- # === used tools ===
- CXX ?= g++
-+CXXLD ?= $(CXX)
- CC ?= gcc
- FLEX = flex
- BISONPP = $(PREFIX)/bison++/bison++ -S $(PREFIX)/bison++/bison.cc -H $(PREFIX)/bison++/bison.h
+ requestor: $(REQUESTORBIN)
+ $(REQUESTORBIN): includes commonlibs Requestor $(REQUESTORDIRS)
+++ /dev/null
-Index: dibbler-0.6.1/Misc/Makefile
-===================================================================
---- dibbler-0.6.1.orig/Misc/Makefile 2008-03-12 13:27:35.000000000 +0100
-+++ dibbler-0.6.1/Misc/Makefile 2008-03-12 13:27:36.000000000 +0100
-@@ -26,9 +26,9 @@
- $(CC) $(COPTS) -std=c99 -c sha512.c
-
- # MD5 routined
--md.o: md.c md.h
-+md5.o: md5.c md5.h
- @echo "[CC ] $(SUBDIR)/$@"
-- $(CC) $(COPTS) -c md.c
-+ $(CC) $(COPTS) -c md5.c
-
- # HMAC-SHA and HMAC-MD5
- hmac-sha-md5.o: hmac-sha-md5.c hmac.h