summaryrefslogtreecommitdiff
path: root/package/openswan/openswan.mk
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2010-02-08 17:20:41 +0100
committerPeter Korsgaard <jacmet@sunsite.dk>2010-02-08 17:26:16 +0100
commit5223447b8bfb49607ab8b1374e4ec01d6f8e6dc2 (patch)
tree21c7ca0c8bcd56e3666991d7c85add78283ea62a /package/openswan/openswan.mk
parent7dd0591183e4f92b760ec87d8139ec596d78ac27 (diff)
package: remove openswan
As noticed back when it was marked as broken 1 year ago. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/openswan/openswan.mk')
-rw-r--r--package/openswan/openswan.mk66
1 files changed, 0 insertions, 66 deletions
diff --git a/package/openswan/openswan.mk b/package/openswan/openswan.mk
deleted file mode 100644
index 8fcaeec2e..000000000
--- a/package/openswan/openswan.mk
+++ /dev/null
@@ -1,66 +0,0 @@
-#############################################################
-#
-# openswan
-#
-# NOTE: Uses start-stop-daemon in init script, so be sure
-# to enable that within busybox
-#
-#############################################################
-OPENSWAN_VERSION:=2.4.9
-OPENSWAN_SOURCE:=openswan-$(OPENSWAN_VERSION).tar.gz
-OPENSWAN_SITE:=http://www.openswan.org/download/old/
-OPENSWAN_DIR:=$(BUILD_DIR)/openswan-$(OPENSWAN_VERSION)
-OPENSWAN_CAT:=$(ZCAT)
-OPENSWAN_BINARY:=programs/pluto/pluto
-OPENSWAN_TARGET_BINARY:=usr/sbin/ipsec
-
-ifneq ($(BR2_PACKAGE_OPENSWAN_DEBUGGING),y)
-OPENSWAN_CFLAGS=-UDEBUG -DNO_DEBUG -ULEAK_DETECTIVE
-endif
-
-$(DL_DIR)/$(OPENSWAN_SOURCE):
- $(call DOWNLOAD,$(OPENSWAN_SITE),$(OPENSWAN_SOURCE))
-
-openswan-source: $(DL_DIR)/$(OPENSWAN_SOURCE)
-
-$(OPENSWAN_DIR)/.unpacked: $(DL_DIR)/$(OPENSWAN_SOURCE)
- $(OPENSWAN_CAT) $(DL_DIR)/$(OPENSWAN_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
- toolchain/patch-kernel.sh $(OPENSWAN_DIR) package/openswan/ openswan\*.patch
- touch $(OPENSWAN_DIR)/.unpacked
-
-$(OPENSWAN_DIR)/$(OPENSWAN_BINARY): $(OPENSWAN_DIR)/.unpacked
- @echo "using kernel $(LINUX_KERNEL)"
- $(TARGET_CONFIGURE_OPTS) \
- $(MAKE) -C $(OPENSWAN_DIR) \
- CC="$(TARGET_CC)" LD="$(TARGET_LD)" \
- LDFLAGS="$(TARGET_LDFLAGS) $(BR2_SYSROOT)" \
- LD_LIBRARY_PATH= \
- KERNELSRC=$(LINUX_DIR) DESTDIR=$(TARGET_DIR) INC_USRLOCAL=/usr \
- USERCOMPILE="$(OPENSWAN_CFLAGS) $(TARGET_CFLAGS) $(BR2_ISYSROOT) -I$(TARGET_DIR)/usr/include" programs
-
-$(TARGET_DIR)/$(OPENSWAN_TARGET_BINARY): $(OPENSWAN_DIR)/$(OPENSWAN_BINARY)
- $(TARGET_CONFIGURE_OPTS) \
- $(MAKE) -C $(OPENSWAN_DIR) \
- CC=$(TARGET_CC) LD=$(TARGET_LD) \
- KERNELSRC=$(LINUX_DIR) DESTDIR=$(TARGET_DIR) INC_USRLOCAL=/usr \
- USERCOMPILE="$(OPENSWAN_CFLAGS) $(TARGET_CFLAGS) -I$(TARGET_DIR)/usr/include" install
- rm -rf $(TARGET_DIR)/share/locale $(TARGET_DIR)/usr/info \
- $(TARGET_DIR)/usr/man $(TARGET_DIR)/usr/share/doc
-
-openswan: libgmp kernel-headers $(TARGET_DIR)/$(OPENSWAN_TARGET_BINARY)
-
-openswan-clean:
- $(MAKE) DESTDIR=$(TARGET_DIR) -C $(OPENSWAN_DIR) uninstall
- -$(MAKE) -C $(OPENSWAN_DIR) clean
-
-openswan-dirclean:
- rm -rf $(OPENSWAN_DIR)
-
-#############################################################
-#
-# Toplevel Makefile options
-#
-#############################################################
-ifeq ($(BR2_PACKAGE_OPENSWAN),y)
-TARGETS+=openswan
-endif