From 2485733ef95b8cb95663b5133f78f67ebc5d06a0 Mon Sep 17 00:00:00 2001 From: John Crispin Date: Mon, 26 May 2025 11:08:52 +0200 Subject: [PATCH] drop OpenWrt Makefile and files/ Signed-off-by: John Crispin --- Makefile | 47 -------------------------------------------- files/etc/init.d/ufp | 14 ------------- 2 files changed, 61 deletions(-) delete mode 100644 Makefile delete mode 100755 files/etc/init.d/ufp diff --git a/Makefile b/Makefile deleted file mode 100644 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 - -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 index 4c03421..0000000 --- a/files/etc/init.d/ufp +++ /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 -} -- 2.30.2