2008-10-21 17:03:18 +00:00
|
|
|
#
|
2009-04-29 12:56:17 +00:00
|
|
|
# Copyright (C) 2008-2009 OpenWrt.org
|
2008-10-21 17:03:18 +00:00
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=send
|
2009-11-08 11:36:24 +00:00
|
|
|
PKG_VERSION:=0.2-5.4
|
2013-11-17 16:26:50 +00:00
|
|
|
PKG_RELEASE:=3
|
2008-10-21 17:03:18 +00:00
|
|
|
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)d_$(PKG_VERSION).tar.gz
|
2008-10-28 10:59:46 +00:00
|
|
|
PKG_SOURCE_URL:=http://mobisend.org/debian-mobisend/pool/main/s/sendd/
|
2009-11-08 11:36:24 +00:00
|
|
|
PKG_MD5SUM:=99c18e5d965e57d580f146d00145251a
|
2008-10-21 17:03:18 +00:00
|
|
|
PKG_BUILD_DIR:=$(BUILD_DIR)/sendd-0.2
|
|
|
|
|
2010-10-16 18:43:37 +00:00
|
|
|
PKG_BUILD_PARALLEL:=0
|
2010-10-15 17:41:59 +00:00
|
|
|
|
2008-10-21 17:03:18 +00:00
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
|
|
|
define Package/send
|
2013-05-14 15:02:57 +00:00
|
|
|
SECTION:=net
|
|
|
|
CATEGORY:=Network
|
2008-10-21 17:03:18 +00:00
|
|
|
TITLE:=Secure Neighbor Discovery implementation
|
2008-10-28 10:59:46 +00:00
|
|
|
URL:=http://mobisend.org/debian-mobisend.html
|
2008-10-21 17:03:18 +00:00
|
|
|
DEPENDS:=+kmod-ipv6 +ip6tables +libnetfilter-queue +libopenssl +libreadline +libncurses
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/send/description
|
|
|
|
DoCoMo's Open Source SEND project provides an implementation of RFC 3971
|
|
|
|
Secure Neighbor Discovery (SEND). SEND cryptographically secures the
|
|
|
|
IPv6 neighbor discovery protocol, countering the threats discussed in
|
|
|
|
RFC 3756 (IPv6 Neighbor Discovery (ND) Trust Models and Threats).
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/send/conffiles
|
|
|
|
/etc/sendd/sendd.conf
|
|
|
|
/etc/sendd/params.conf
|
|
|
|
endef
|
|
|
|
|
2010-11-03 22:15:44 +00:00
|
|
|
TARGET_CPPFLAGS+=-D_GNU_SOURCE
|
|
|
|
|
2008-10-21 17:03:18 +00:00
|
|
|
MAKE_FLAGS += \
|
|
|
|
CC="$(TARGET_CC)" \
|
2009-04-29 12:56:17 +00:00
|
|
|
CFLAGS="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include/libnetfilter_queue $(TARGET_CPPFLAGS)" \
|
2008-10-21 17:03:18 +00:00
|
|
|
LDFLAGS="$(TARGET_LDFLAGS) -lnfnetlink" \
|
|
|
|
|
|
|
|
define Package/send/install
|
|
|
|
$(INSTALL_DIR) $(1)/usr/sbin
|
|
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/sendd/sendd $(1)/usr/sbin/
|
|
|
|
$(INSTALL_DIR) $(1)/etc/sendd/
|
|
|
|
$(INSTALL_CONF) $(PKG_BUILD_DIR)/examples/sendd.conf $(1)/etc/sendd/
|
|
|
|
$(INSTALL_CONF) $(PKG_BUILD_DIR)/examples/params.conf $(1)/etc/sendd/
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call BuildPackage,send))
|