From 83b992174630d53aead9ad6626b546332bb37fb7 Mon Sep 17 00:00:00 2001 From: acoul Date: Wed, 23 Feb 2011 06:41:28 +0000 Subject: [PATCH] net/etherpuppet: add etherpuppe, a voodoo doll for an Ethernet interface (closes #8913) git-svn-id: svn://svn.openwrt.org/openwrt/packages@25665 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- net/etherpuppet/Makefile | 50 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 net/etherpuppet/Makefile diff --git a/net/etherpuppet/Makefile b/net/etherpuppet/Makefile new file mode 100644 index 000000000..f85f9d2d9 --- /dev/null +++ b/net/etherpuppet/Makefile @@ -0,0 +1,50 @@ +# +# Copyright (C) 2006-2011 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +include $(TOPDIR)/rules.mk + +PKG_NAME:=etherpuppet +PKG_REV:=90decf83d1d4 +PKG_VERSION:=0.3_r$(PKG_REV) +PKG_RELEASE:=1 + +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 +PKG_SOURCE_URL:=http://hg.secdev.org/etherpuppet +PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION) +PKG_SOURCE_VERSION:=$(PKG_REV) +PKG_SOURCE_PROTO:=hg + +include $(INCLUDE_DIR)/package.mk + +define Package/etherpuppet + SECTION:=net + CATEGORY:=Network + DEPENDS:=+kmod-tun + TITLE:=A voodoo doll for an Ethernet interface + URL:=http://www.secdev.org/projects/etherpuppet/ + SUBMENU:=VPN +endef + +define Package/etherpuppet/description + Etherpuppet is a small program for Linux that will create a virtual interface + (TUN/TAP) on one machine from the ethernet interface of another machine + through a TCP connection. +endef + +define Build/Configure +endef + +define Build/Compile + $(TARGET_CC) $(TARGET_CFLAGS) $(PKG_BUILD_DIR)/$(PKG_NAME).c -o $(PKG_BUILD_DIR)/$(PKG_NAME) +endef + +define Package/etherpuppet/install + $(INSTALL_DIR) $(1)/usr/bin + $(INSTALL_BIN) $(PKG_BUILD_DIR)/$(PKG_NAME) $(1)/usr/bin/ +endef + +$(eval $(call BuildPackage,etherpuppet)) -- 2.11.0