From e840bf936174096497a65202565ccdf1c06d6607 Mon Sep 17 00:00:00 2001 From: cyrus Date: Thu, 6 Nov 2014 06:15:03 +0000 Subject: [PATCH] smcroute: moved to routing-feed git-svn-id: svn://svn.openwrt.org/openwrt/packages@43192 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- net/smcroute/Makefile | 50 ---------------------------- net/smcroute/files/smcroute.init | 11 ------ net/smcroute/patches/001-socket_path.patch | 11 ------ net/smcroute/patches/002-optimize_size.patch | 12 ------- 4 files changed, 84 deletions(-) delete mode 100644 net/smcroute/Makefile delete mode 100644 net/smcroute/files/smcroute.init delete mode 100644 net/smcroute/patches/001-socket_path.patch delete mode 100644 net/smcroute/patches/002-optimize_size.patch diff --git a/net/smcroute/Makefile b/net/smcroute/Makefile deleted file mode 100644 index 8626b665b..000000000 --- a/net/smcroute/Makefile +++ /dev/null @@ -1,50 +0,0 @@ -# -# Copyright (C) 2010 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:=smcroute -PKG_VERSION:=0.92 -PKG_RELEASE:=1 - -PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tgz -PKG_SOURCE_URL:=http://www.cschill.de/smcroute -PKG_MD5SUM:=2b50e7166606ec90e09682399e69c4a6 - -include $(INCLUDE_DIR)/package.mk - -define Package/smcroute - SECTION:=net - CATEGORY:=Network - SUBMENU:=Routing and Redirection - TITLE:=Static multicast routing daemon - URL:=http://www.cschill.de/smcroute/ -endef - -define Package/smcroute/description - SMCRoute is a command line tool to manipulate the multicast routes of the Linux kernel. -endef - - -ifeq ($(HOST_OS),FreeBSD) - TARGET_CFLAGS += -fno-builtin-log - TARGET_LDFLAGS += -fno-builtin-log -endif - -define Build/Compile - $(MAKE) CC="$(TARGET_CC) $(TARGET_CFLAGS) $(TARGET_LDFLAGS)" -C $(PKG_BUILD_DIR)/src all -endef - -define Package/smcroute/install - $(INSTALL_DIR) $(1)/usr/sbin - $(INSTALL_DIR) $(1)/usr/bin - $(INSTALL_DIR) $(1)/etc/init.d/ - $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/smcroute $(1)/usr/sbin/ - $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/mcsender $(1)/usr/bin/ - $(INSTALL_BIN) ./files/smcroute.init $(1)/etc/init.d/smcroute -endef - -$(eval $(call BuildPackage,smcroute)) diff --git a/net/smcroute/files/smcroute.init b/net/smcroute/files/smcroute.init deleted file mode 100644 index 3e3627216..000000000 --- a/net/smcroute/files/smcroute.init +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/sh /etc/rc.common -# Copyright (C) 2006-2010 OpenWrt.org -START=50 - -start() { - smcroute -d -} - -stop() { - smcroute -k -} diff --git a/net/smcroute/patches/001-socket_path.patch b/net/smcroute/patches/001-socket_path.patch deleted file mode 100644 index 4b6eda0d6..000000000 --- a/net/smcroute/patches/001-socket_path.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/src/ipc.c 2002-07-07 19:38:49.000000000 +0200 -+++ b/src/ipc.c 2010-10-01 21:44:26.000000000 +0200 -@@ -24,7 +24,7 @@ - - #include "mclab.h" - --#define SOCKET_PATH "/var/lib/smcroute" -+#define SOCKET_PATH "/tmp/smcroute" - - // server's listen socket - static int ListenSock; diff --git a/net/smcroute/patches/002-optimize_size.patch b/net/smcroute/patches/002-optimize_size.patch deleted file mode 100644 index 23059fa78..000000000 --- a/net/smcroute/patches/002-optimize_size.patch +++ /dev/null @@ -1,12 +0,0 @@ ---- a/src/Makefile -+++ b/src/Makefile -@@ -1,9 +1,6 @@ - - BINDIR=../bin - --# CFLAGS=-g --CFLAGS=-O -- - default : build.h smcroute - - all : smcroute mcsender -- 2.11.0