summaryrefslogtreecommitdiff
path: root/package/vtun
diff options
context:
space:
mode:
Diffstat (limited to 'package/vtun')
-rw-r--r--package/vtun/Makefile14
-rw-r--r--package/vtun/files/vtun.conffiles (renamed from package/vtun/ipkg/vtun.conffiles)0
-rw-r--r--package/vtun/ipkg/vtun.control5
3 files changed, 6 insertions, 13 deletions
diff --git a/package/vtun/Makefile b/package/vtun/Makefile
index a61fe61c6..215615074 100644
--- a/package/vtun/Makefile
+++ b/package/vtun/Makefile
@@ -9,26 +9,24 @@ PKG_NAME:= vtun
PKG_VERSION:= 3.0.1
PKG_RELEASE:= 1
PKG_MD5SUM:= c342ffe77055d4248a38f0b380f28c1b
-MASTER_SITES:= ${MASTER_SITE_SOURCEFORGE:=vtun/}
+PKG_DESCR:= A VPN tunnel daemon
+PKG_SECTION:= net
+PKG_DEPENDS:= libopenssl zlib kmod-tun
+PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=vtun/}
include ${TOPDIR}/mk/package.mk
-$(eval $(call PKG_template,VTUN,vtun,${PKG_VERSION}-${PKG_RELEASE}))
+$(eval $(call PKG_template,VTUN,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
CONFIGURE_STYLE:= gnu
CONFIGURE_ARGS+= --with-ssl-headers=$(STAGING_DIR)/usr/include/openssl \
--disable-lzo
-#CONFIGURE_ENV+= LIBS="${TLDFLAGS}" \
-# BLOWFISH_HDR_DIR="${STAGING_DIR}/usr/include/openssl" \
-# LZO_HDR_DIR="${STAGING_DIR}/usr/include/lzo" \
-# SSL_HDR_DIR="${STAGING_DIR}/usr/include/openssl"
BUILD_STYLE:= auto
ALL_TARGET:= vtund
do-install:
- ${INSTALL_DIR} ${IDIR_VTUN}/etc/
+ ${INSTALL_DIR} ${IDIR_VTUN}/usr/sbin ${IDIR_VTUN}/etc
${INSTALL_DATA} ${WRKBUILD}/vtund.conf ${IDIR_VTUN}/etc/
- ${INSTALL_DIR} ${IDIR_VTUN}/usr/sbin/
${INSTALL_BIN} ${WRKBUILD}/vtund ${IDIR_VTUN}/usr/sbin/
include ${TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/vtun/ipkg/vtun.conffiles b/package/vtun/files/vtun.conffiles
index 1195041c5..1195041c5 100644
--- a/package/vtun/ipkg/vtun.conffiles
+++ b/package/vtun/files/vtun.conffiles
diff --git a/package/vtun/ipkg/vtun.control b/package/vtun/ipkg/vtun.control
deleted file mode 100644
index 6d823de1e..000000000
--- a/package/vtun/ipkg/vtun.control
+++ /dev/null
@@ -1,5 +0,0 @@
-Package: vtun
-Priority: optional
-Section: net
-Description: A VPN tunnel daemon
-Depends: libopenssl, liblzo, zlib, kmod-tun