summaryrefslogtreecommitdiffhomepage
path: root/contrib/package/freifunk-policyrouting/Makefile
diff options
context:
space:
mode:
authorHannu Nyman <hannu.nyman@iki.fi>2019-02-17 16:43:29 +0200
committerGitHub <noreply@github.com>2019-02-17 16:43:29 +0200
commit55cd0c4c6b572f5b35244927a738c46b7dd711b8 (patch)
tree57a427db406f6e0358a0dd1a1afe93c3a4139782 /contrib/package/freifunk-policyrouting/Makefile
parent7f791e9cf428b9c5347a48b6f39e20bd7f7a24e7 (diff)
parent4654ba92c3999d84b08211f05d2ccb5ea9da731b (diff)
Merge pull request #2533 from freifunk-berlin/freifunk-repo
treewide: move freifunk-related packages to separate repo
Diffstat (limited to 'contrib/package/freifunk-policyrouting/Makefile')
-rw-r--r--contrib/package/freifunk-policyrouting/Makefile47
1 files changed, 0 insertions, 47 deletions
diff --git a/contrib/package/freifunk-policyrouting/Makefile b/contrib/package/freifunk-policyrouting/Makefile
deleted file mode 100644
index a9301cef31..0000000000
--- a/contrib/package/freifunk-policyrouting/Makefile
+++ /dev/null
@@ -1,47 +0,0 @@
-# Copyright (C) 2011 Manuel Munz <freifunk at somakoma de>
-# This is free software, licensed under the Apache 2.0 license.
-
-include $(TOPDIR)/rules.mk
-
-PKG_NAME:=freifunk-policyrouting
-PKG_RELEASE:=6
-
-PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
-
-include $(INCLUDE_DIR)/package.mk
-
-define Package/freifunk-policyrouting
- SECTION:=luci
- CATEGORY:=LuCI
- SUBMENU:=9. Freifunk
- TITLE:=Freifunk policy routing addon
- DEPENDS:=+ip
-endef
-
-define Package/freifunk-policyrouting/description
- Allows you to send your own traffic via your own default gateway while sending traffic received from the mesh to a gateway in the mesh.
-endef
-
-define Build/Prepare
- mkdir -p $(PKG_BUILD_DIR)
-endef
-
-define Build/Configure
-endef
-
-define Build/Compile
-endef
-
-define Package/freifunk-policyrouting/install
- $(CP) ./files/* $(1)/
-endef
-
-define Package/freifunk-policyrouting/postinst
-#!/bin/sh
-[ -n "$${IPKG_INSTROOT}" ] || {
- /etc/init.d/freifunk-policyrouting enabled || /etc/init.d/freifunk-policyrouting enable
- exit 0
-}
-endef
-
-$(eval $(call BuildPackage,freifunk-policyrouting))