ksymoops: remove package, it has been obsolete and useless for a long time
ksymoops: remove package, it has been obsolete and useless for a long time

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/packages@44626 3c298f89-4303-0410-b956-a3cf2f4a3e73

file:a/devel/ksymoops/Makefile (deleted)
--- a/devel/ksymoops/Makefile
+++ /dev/null
@@ -1,59 +1,1 @@
-#
-# Copyright (C) 2009 OpenWrt.org
-#
-# This is free software, licensed under the GNU General Public License v2.
-# See /LICENSE for more information.
-#
 
-include $(TOPDIR)/rules.mk
-include $(INCLUDE_DIR)/kernel.mk
-
-PKG_NAME:=ksymoops
-PKG_VERSION:=2.4.11
-PKG_RELEASE:=1
-
-PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
-PKG_SOURCE_URL:=@KERNEL/linux/utils/kernel/ksymoops/v2.4/
-PKG_MD5SUM:=4a8249e182a5dbc75e566d162e9f3314
-
-PKG_BUILD_DEPENDS:=binutils
-
-include $(INCLUDE_DIR)/package.mk
-
-define Package/ksymoops
-  SECTION:=utils
-  CATEGORY:=Utilities
-  DEPENDS:=@mips||mipsel||m68k||i386 +zlib
-  TITLE:=Interpret oops of the kernel
-  URL:=http://www.kernel.org/pub/linux/utils/kernel/ksymoops/v2.4/
-  MENU:=1
-endef
-
-define Package/kexec-tools/description
-endef
-
-define Build/Configure
-endef
-
-TARGET=$(strip $(shell echo $(TARGET_CFLAGS) | cut -d- -f4 | cut -d= -f2))
-
-define Build/Compile
-	$(MAKE) -C $(PKG_BUILD_DIR) \
-		CC="$(TARGET_CC)" \
-		BFD_PREFIX="$(STAGING_DIR)/usr" \
-		DEF_TARGET='\"$(TARGET)\"' \
-		DEF_ARCH='\"$(ARCH)\"' \
-		DEF_MAP='\"$(LINUX_DIR)/System.map\"' \
-		CROSS="$(TARGET_CROSS)" \
-		INSTALL_PREFIX="$(PKG_INSTALL_DIR)" \
-		LDFLAGS="-lz" \
-		all install
-endef
-
-define Package/ksymoops/install
-	$(INSTALL_DIR) $(1)/bin
-	$(INSTALL_BIN) $(PKG_INSTALL_DIR)/bin/$(TARGET_CROSS)ksymoops $(1)/bin/ksymoops
-endef
-
-$(eval $(call BuildPackage,ksymoops))
-

--- a/net/vpnc-scripts/Makefile
+++ /dev/null
@@ -1,57 +1,1 @@
-#
-# Copyright (C) 2006 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:=vpnc-scripts
-PKG_VERSION:=20120423
-PKG_RELEASE:=1
-
-PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
-PKG_SOURCE_URL:=ftp://ftp.infradead.org/pub/vpnc-scripts/
-PKG_MD5SUM:=3265dc7fe57ae9b4c905961a28699c4c
-
-include $(INCLUDE_DIR)/package.mk
-
-define Package/vpnc-scripts
-  SECTION:=net
-  CATEGORY:=Network
-  DEPENDS:=+ip
-  TITLE:=VPN configuration script for vpnc and OpenConnect
-  URL:=http://www.infradead.org/openconnect/vpnc-script.html
-  SUBMENU:=VPN
-endef
-
-define Package/vpnc/vpnc-scripts
-	This package contains the vpnc-script which is used by vpnc
-	and OpenConnect to configure the tunnel interface.
-endef
-
-define Package/vpnc-scripts/conffiles
-/etc/vpnc/connect.d/
-/etc/vpnc/post-connect.d/
-/etc/vpnc/disconnect.d/
-/etc/vpnc/post-connect.d/
-/etc/vpnc/reconnect.d/
-endef
-
-define Build/Compile
-endef
-
-define Package/vpnc-scripts/install
-	$(INSTALL_DIR) $(1)/etc/vpnc
-	$(INSTALL_DIR) $(1)/etc/vpnc/connect.d
-	$(INSTALL_DIR) $(1)/etc/vpnc/post-connect.d
-	$(INSTALL_DIR) $(1)/etc/vpnc/disconnect.d
-	$(INSTALL_DIR) $(1)/etc/vpnc/post-disconnect.d
-	$(INSTALL_DIR) $(1)/etc/vpnc/reconnect.d
-	$(INSTALL_BIN) ./files/etc/vpnc/connect.d/ifstate $(1)/etc/vpnc/connect.d/
-	$(INSTALL_BIN) $(PKG_BUILD_DIR)/vpnc-script $(1)/etc/vpnc/
-endef
-
-$(eval $(call BuildPackage,vpnc-scripts))
-

--- a/net/vpnc-scripts/files/etc/vpnc/connect.d/ifstate
+++ /dev/null
@@ -1,8 +1,1 @@
-if [ -r /etc/openwrt_release ] && [ -n "$OPENWRT_INTERFACE" ]; then
-    uci_set_state network "$OPENWRT_INTERFACE" banner "$CISCO_BANNER"
-    uci_set_state network "$OPENWRT_INTERFACE" ifname "$TUNDEV"
-    [ -n "$INTERNAL_IP4_ADDRESS" ] && uci_set_state network "$OPENWRT_INTERFACE" ipaddr "$INTERNAL_IP4_ADDRESS"
-    [ -n "$INTERNAL_IP6_NETMASK" ] && uci_set_state network "$OPENWRT_INTERFACE" ip6addr "$INTERNAL_IP6_NETMASK"
-    env -i ACTION="ifup" INTERFACE="$OPENWRT_INTERFACE" DEVICE="$TUNDEV" PROTO=openconnect /sbin/hotplug-call "iface"
-fi
 

file:a/net/vpnc/Makefile (deleted)
--- a/net/vpnc/Makefile
+++ /dev/null
@@ -1,62 +1,1 @@
-#
-# Copyright (C) 2006-2012 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:=vpnc
-PKG_VERSION:=0.5.3
-PKG_RELEASE:=3
-
-PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
-PKG_SOURCE_URL:=http://www.unix-ag.uni-kl.de/~massar/vpnc/
-PKG_MD5SUM:=4378f9551d5b077e1770bbe09995afb3
-
-include $(INCLUDE_DIR)/package.mk
-
-define Package/vpnc
-  SECTION:=net
-  CATEGORY:=Network
-  DEPENDS:=+libgpg-error +libgcrypt +kmod-tun +vpnc-scripts
-  TITLE:=VPN client for Cisco EasyVPN
-  URL:=http://www.unix-ag.uni-kl.de/~massar/vpnc/
-  SUBMENU:=VPN
-endef
-
-define Package/vpnc/description
-	A VPN client compatible with Cisco's EasyVPN equipment.
-
-	Supports IPSec (ESP) with Mode Configuration and Xauth.  Supports only
-	shared-secret IPSec authentication with Xauth, AES (256, 192, 128),
-	3DES, 1DES, MD5, SHA1, DH1/2/5 and IP tunneling.
-endef
-
-define Package/vpnc/conffiles
-/etc/vpnc/default.conf
-endef
-
-define Build/Compile
-	$(call Build/Compile/Default, \
-		OFLAGS="$(TARGET_CFLAGS)" \
-		OS="Linux" \
-		STAGING_DIR="$(STAGING_DIR)" \
-		DESTDIR="$(PKG_INSTALL_DIR)" \
-		PREFIX=/usr \
-		all install \
-	)
-endef
-
-define Package/vpnc/install
-	$(INSTALL_DIR) $(1)/usr/sbin
-	$(CP)	$(PKG_INSTALL_DIR)/usr/sbin/vpnc \
-		$(PKG_INSTALL_DIR)/usr/sbin/vpnc-disconnect \
-		$(1)/usr/sbin/
-	$(INSTALL_DIR) $(1)/etc/vpnc
-	$(INSTALL_CONF) $(PKG_INSTALL_DIR)/etc/vpnc/default.conf $(1)/etc/vpnc/
-endef
-
-$(eval $(call BuildPackage,vpnc))
-

--- a/net/vpnc/patches/001-cross.patch
+++ /dev/null
@@ -1,30 +1,1 @@
---- a/Makefile
-+++ b/Makefile
-@@ -20,7 +20,7 @@
- # $Id: Makefile 312 2008-06-15 18:09:42Z Joerg Mayer $
- 
- DESTDIR=
--PREFIX=/usr/local
-+PREFIX=/usr
- ETCDIR=/etc/vpnc
- BINDIR=$(PREFIX)/bin
- SBINDIR=$(PREFIX)/sbin
-@@ -51,14 +51,11 @@ RELEASE_VERSION := $(shell cat VERSION)
- #OPENSSLLIBS = -lcrypto
- 
- CC=gcc
--CFLAGS ?= -O3 -g
--CFLAGS += -W -Wall -Wmissing-declarations -Wwrite-strings
--CFLAGS +=  $(shell libgcrypt-config --cflags)
-+CFLAGS += -W -Wall -Wmissing-declarations -Wwrite-strings -I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include $(OFLAGS) '-DVERSION="$(shell cat VERSION)"'
- CPPFLAGS += -DVERSION=\"$(VERSION)\" $(OPENSSL_GPL_VIOLATION)
--LDFLAGS ?= -g
--LDFLAGS += $(shell libgcrypt-config --libs) $(OPENSSLLIBS)
-+LDFLAGS = -L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib -lgcrypt -lgpg-error
- 
--ifeq ($(shell uname -s), SunOS)
-+ifeq ($(OS), SunOS)
- LDFLAGS += -lnsl -lresolv -lsocket
- endif
- ifneq (,$(findstring Apple,$(shell $(CC) --version)))
 

--- a/net/vpnc/patches/002-vpn_script.patch
+++ /dev/null
@@ -1,42 +1,1 @@
---- a/vpnc-script.in
-+++ b/vpnc-script.in
-@@ -97,7 +97,7 @@ do_ifconfig() {
- 	fi
- 
- 	# Point to point interface require a netmask of 255.255.255.255 on some systems
--	ifconfig "$TUNDEV" inet "$INTERNAL_IP4_ADDRESS" $ifconfig_syntax_ptp "$INTERNAL_IP4_ADDRESS" netmask 255.255.255.255 mtu ${MTU} up
-+	ifconfig "$TUNDEV" "$INTERNAL_IP4_ADDRESS" $ifconfig_syntax_ptp "$INTERNAL_IP4_ADDRESS" netmask 255.255.255.255 mtu ${MTU} up
- 
- 	if [ -n "$INTERNAL_IP4_NETMASK" ]; then
- 		set_network_route $INTERNAL_IP4_NETADDR $INTERNAL_IP4_NETMASK $INTERNAL_IP4_NETMASKLEN
-@@ -503,6 +503,18 @@ do_disconnect() {
- 	destroy_tun_device
- }
- 
-+start_vpn_nat() {
-+	iptables -A forwarding_rule -o $TUNDEV -j ACCEPT
-+	iptables -A forwarding_rule -i $TUNDEV -j ACCEPT
-+	iptables -t nat -A postrouting_rule -o $TUNDEV -j MASQUERADE
-+}
-+
-+stop_vpn_nat() {
-+	iptables -t nat -D postrouting_rule -o $TUNDEV -j MASQUERADE
-+	iptables -D forwarding_rule -i $TUNDEV -j ACCEPT
-+	iptables -D forwarding_rule -o $TUNDEV -j ACCEPT
-+}
-+
- #### Main
- 
- if [ -z "$reason" ]; then
-@@ -516,8 +528,10 @@ case "$reason" in
- 		;;
- 	connect)
- 		do_connect
-+		start_vpn_nat
- 		;;
- 	disconnect)
-+		stop_vpn_nat
- 		do_disconnect
- 		;;
- 	*)
 

--- a/net/vpnc/patches/003-no_makeman.patch
+++ /dev/null
@@ -1,12 +1,1 @@
---- a/Makefile
-+++ b/Makefile
-@@ -69,7 +69,7 @@ vpnc : $(OBJS) vpnc.o
- 	$(CC) -o $@ $^ $(LDFLAGS)
- 
- vpnc.8 : vpnc.8.template makeman.pl vpnc
--	./makeman.pl
-+	touch vpnc.8
- 
- vpnc-script : vpnc-script.in
- 	sed -e 's,@''PREFIX''@,$(PREFIX),g' $< > $@ && chmod 755 $@
 

comments