diff options
Diffstat (limited to 'package/ipsec-tools/Makefile')
-rw-r--r-- | package/ipsec-tools/Makefile | 52 |
1 files changed, 23 insertions, 29 deletions
diff --git a/package/ipsec-tools/Makefile b/package/ipsec-tools/Makefile index e40569971..e7d93e5b6 100644 --- a/package/ipsec-tools/Makefile +++ b/package/ipsec-tools/Makefile @@ -1,56 +1,50 @@ # This file is part of the OpenADK project. OpenADK is copyrighted # material, please see the LICENCE file in the top-level directory. -include ${ADK_TOPDIR}/rules.mk +include $(ADK_TOPDIR)/rules.mk PKG_NAME:= ipsec-tools -PKG_VERSION:= 0.8.0 -PKG_RELEASE:= 2 -PKG_HASH:= 2359a24aa8eda9ca7043fc47950c8e6b7f58a07c5d5ad316aa7de2bc5e3a8717 +PKG_VERSION:= 0.8.2 +PKG_RELEASE:= 1 +PKG_HASH:= 8eb6b38716e2f3a8a72f1f549c9444c2bc28d52c9536792690564c74fe722f2d PKG_DESCR:= ipsec management tools PKG_SECTION:= net/security PKG_BUILDDEP:= openssl flex PKG_DEPENDS:= libopenssl PKG_URL:= http://ipsec-tools.sourceforge.net/ -PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=ipsec-tools/} +PKG_SITES:= $(MASTER_SITE_SOURCEFORGE:=ipsec-tools/) -PKG_LIBC_DEPENDS:= uclibc glibc -PKG_CFLINE_IPSEC_TOOLS:=depends on !ADK_TOOLCHAIN_ONLY -DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2 +DISTFILES:= $(PKG_NAME)-$(PKG_VERSION).tar.bz2 PKG_FLAVOURS_IPSEC_TOOLS:= WITH_IPV6 -PKGFD_WITH_IPV6:= enable IPv6 support +PKGFD_WITH_IPV6:= enable ipv6 support -include ${ADK_TOPDIR}/mk/package.mk +include $(ADK_TOPDIR)/mk/package.mk -$(eval $(call PKG_template,IPSEC_TOOLS,ipsec-tools,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) +$(eval $(call PKG_template,IPSEC_TOOLS,ipsec-tools,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION))) -TARGET_CFLAGS:= $(filter-out -flto,$(TARGET_CFLAGS)) -CONFIGURE_ARGS+= --with-kernel-headers="${LINUX_DIR}/include" \ +CONFIGURE_ARGS+= --with-kernel-headers="$(LINUX_DIR)/include" \ --without-readline \ --disable-security-context \ - --with-openssl="${STAGING_TARGET_DIR}/usr" \ + --with-openssl="$(STAGING_TARGET_DIR)/usr" \ --without-libradius \ --without-libpam -ifneq (${ADK_PACKAGE_IPSEC_TOOLS_WITH_IPV6},) +ifneq ($(ADK_PACKAGE_IPSEC_TOOLS_WITH_IPV6),) CONFIGURE_ARGS+= --enable-ipv6 else CONFIGURE_ARGS+= --disable-ipv6 endif ipsec-tools-install: - ${INSTALL_DIR} ${IDIR_IPSEC_TOOLS}/usr/sbin ${IDIR_IPSEC_TOOLS}/usr/lib - ${INSTALL_DIR} ${IDIR_IPSEC_TOOLS}/etc - ${INSTALL_DATA} ${WRKBUILD}/src/racoon/samples/racoon.conf \ - ${IDIR_IPSEC_TOOLS}/etc/ - ${CP} ${WRKINST}/usr/lib/libipsec.so.* ${IDIR_IPSEC_TOOLS}/usr/lib - ${CP} ${WRKINST}/usr/lib/libracoon.so.* ${IDIR_IPSEC_TOOLS}/usr/lib - ${INSTALL_BIN} ${WRKINST}/usr/sbin/plainrsa-gen \ - ${IDIR_IPSEC_TOOLS}/usr/sbin/ - ${INSTALL_BIN} ${WRKINST}/usr/sbin/racoon ${IDIR_IPSEC_TOOLS}/usr/sbin - ${INSTALL_BIN} ${WRKINST}/usr/sbin/racoonctl \ - ${IDIR_IPSEC_TOOLS}/usr/sbin - ${INSTALL_BIN} ${WRKINST}/usr/sbin/setkey ${IDIR_IPSEC_TOOLS}/usr/sbin - -include ${ADK_TOPDIR}/mk/pkg-bottom.mk + $(INSTALL_DIR) $(IDIR_IPSEC_TOOLS)/etc + $(INSTALL_DIR) $(IDIR_IPSEC_TOOLS)/usr/lib + $(INSTALL_DIR) $(IDIR_IPSEC_TOOLS)/usr/sbin + $(INSTALL_DATA) $(WRKBUILD)/src/racoon/samples/racoon.conf \ + $(IDIR_IPSEC_TOOLS)/etc + $(CP) $(WRKINST)/usr/lib/lib{racoon,ipsec}.so.* \ + $(IDIR_IPSEC_TOOLS)/usr/lib + $(INSTALL_BIN) $(WRKINST)/usr/sbin/{racoon,racoonctl,setkey,plainrsa-gen} \ + $(IDIR_IPSEC_TOOLS)/usr/sbin + +include $(ADK_TOPDIR)/mk/pkg-bottom.mk |