drop OpenWrt Makefile and files/
authorJohn Crispin <[email protected]>
Mon, 26 May 2025 09:08:52 +0000 (11:08 +0200)
committerJohn Crispin <[email protected]>
Mon, 26 May 2025 10:30:33 +0000 (12:30 +0200)
Signed-off-by: John Crispin <[email protected]>
Makefile [deleted file]
files/etc/init.d/ufp [deleted file]

diff --git a/Makefile b/Makefile
deleted file mode 100644 (file)
index a9e35f5..0000000
--- a/Makefile
+++ /dev/null
@@ -1,47 +0,0 @@
-#
-# Copyright (C) 2021 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:=ufp
-PKG_VERSION:=1
-
-PKG_LICENSE:=GPL-2.0
-PKG_MAINTAINER:=Felix Fietkau <[email protected]>
-
-HOST_BUILD_DEPENDS:=ucode/host libubox/host
-PKG_BUILD_DEPENDS:=bpf-headers ufp/host
-
-include $(INCLUDE_DIR)/host-build.mk
-include $(INCLUDE_DIR)/package.mk
-include $(INCLUDE_DIR)/cmake.mk
-
-define Package/ufp
-  SECTION:=utils
-  CATEGORY:=Utilities
-  TITLE:=Device fingerprinting daemon
-  DEPENDS:=+ucode +ucode-mod-fs +libubox
-endef
-
-define Package/ufp/conffiles
-/etc/config/ufp
-endef
-
-define Host/Prepare
-       mkdir -p $(HOST_BUILD_DIR)
-       $(CP) ./src/* $(HOST_BUILD_DIR)/
-endef
-
-define Package/ufp/install
-       $(INSTALL_DIR) $(1)/usr/lib/ucode $(1)/usr/share/ufp
-       $(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/lib/ucode/uht.so $(1)/usr/lib/ucode/
-       ucode ./scripts/convert-devices.uc $(1)/usr/share/ufp/devices.bin ./data/*.json
-       $(CP) ./files/* $(1)/
-endef
-
-$(eval $(call BuildPackage,ufp))
-$(eval $(call HostBuild))
diff --git a/files/etc/init.d/ufp b/files/etc/init.d/ufp
deleted file mode 100755 (executable)
index 4c03421..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-#!/bin/sh /etc/rc.common
-# Copyright (c) 2021 OpenWrt.org
-
-START=80
-
-USE_PROCD=1
-PROG=/usr/sbin/ufpd
-
-start_service() {
-       procd_open_instance
-       procd_set_param command "$PROG"
-       procd_set_param respawn
-       procd_close_instance
-}